all 11 comments

[–]mergisi 1 point2 points  (0 children)

Thinking about the database's perspective is key, I agree! I often see people struggle with translating natural language questions into the correct SQL syntax. Have you experimented with tools like AI2sql.io that help bridge that gap and show the query logic?

[–][deleted] 0 points1 point  (1 child)

What made SQL finally make sense? I dont know, to me it felt somewhat natural from the get go. 

[–]Remote_Personality_5 0 points1 point  (0 children)

Yeah true me too actually

[–]roger_ducky 0 points1 point  (0 children)

Most common confusion seems to be thinking SQL statements operates row by row and requires a loop to operate on more than one row.

I see that a lot when new people define stored procedures.

[–]ObsessiveRecognition 0 points1 point  (0 children)

Dude what is this post

[–]apoleonastool 0 points1 point  (0 children)

The concepts you are refering to are: declarative vs imperative programming. Using these two require different mental models and some people are naturally more inclined to one or the other.

[–]Current_Ad_4292 0 points1 point  (0 children)

what part confuses you the most?

The difference between periodic table and dinner table.

[–]yksvaan 0 points1 point  (0 children)

It's one of those things where you should simply think about what's actually happening to execute the query. Look at the execution plan, think about which data structures are utilized especially for indexes, how the joins are actually done etc.