I have two tables here:
ITEMS
ID| DETAILS| .....| OWNER
USERS:
ID| NAME|....
Where ITEMS.OWNER = USERS.ID
I list items with my owner names. To do this, I could use a join on both tables, or I could select all ITEMS and skip them by creating a sql query to get a tuple of this itmes owner. Here's how:
1 sql with JOIN vs 1x20 queries in one sql table
What would be better if you consider the speed? Thanks
source
share