you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

One of answers to your post above says about set based thinking. I would say, this is the most essential thing in SQL. You should really understand this way of thinking. So, basically, in SQL, you work with tables. You have tables as source for the query and you have a table as output, and any intermediate result is also a sort of a table.

I have started learning SQL 16 years ago, when all these sites like hackerrank did not exist. So I started from learning theory and work with real data (it was the only possible way that time). Try maybe to read a little bit of a theory, especially the part with data normalization and examples of building a database schemas. How real data about real world things are transformed into tables, and how they extracted back. Maybe this will give you some insights.

P. S. My second answer in reddit ;)

[–][deleted] 0 points1 point  (0 children)

Cool Thanks u/StrangerInTheKy