MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/shlogx/can_i_write_this_better/hv3adfs/?context=3
r/badcode • u/mplaczek99 • Feb 01 '22
20 comments sorted by
View all comments
Show parent comment
8
Inner are better than left if you can use them. There's really nothing you can do about it other than making sure you have indexes on the join fields. Which you will have if they are primary keys.
View all comments
Show parent comment
8
u/yetzederixx Feb 01 '22
Inner are better than left if you can use them. There's really nothing you can do about it other than making sure you have indexes on the join fields. Which you will have if they are primary keys.