r/learnSQL • • Mar 14 '26

How do i start SQL?

I m not from IT background..tried looking some youtube tutorials, everything goes up from my head..

I tried SQL basic exercise but damn, what the hell is this.. Select * From column??? Huh?? What to select..why to select? Plz give me some advice !

20 Upvotes

36 comments sorted by

View all comments

Show parent comment

3

u/cspinelive Mar 14 '26

A sql query is how you ask for data from a database. 

FROM: which table in the database do you want the data from? books for example

WHERE: which rows do you want from that table? published < 2020

SELECT: which columns do you want from those rows? Title, published

Put it all together

Select title, published From books Where published < 2020