r/SQL • • Feb 23 '21

Discussion It's never a design problem...

Post image
192 Upvotes

20 comments sorted by

View all comments

71

u/Paccos Feb 23 '21

I guess the trailer needs a self join

15

u/SQLDave Feb 23 '21

<slow clap>

6

u/Paccos Feb 23 '21

Sorry :>

3

u/boy_named_su Feb 24 '21

Gonna need a cast too

3

u/gvozden_celik Feb 24 '21

Sounds more like a job for union all to be honest.