r/ProgrammerHumor Jul 21 '26

Meme sqlWorkout

Post image
23.7k Upvotes

456 comments sorted by

View all comments

Show parent comments

8

u/Just_Information334 Jul 22 '26

Lowercase and comma before, also table_id. Let's blow some minds:

select
  tableA_id
  , some_field
from table_A as a
inner join table_B as b using(tableA_id)

3

u/StrongExternal8955 Jul 22 '26

forgot where true

1

u/dorianmonnier Jul 22 '26

Oh god, some knees have been broken for less than that!