Hey i was wondering this following query: ```WHERE...
# sql
s
Hey i was wondering this following query:
Copy code
WHERE U.id IN (SELECT ids from another table with some criteria)
Does this execute the SELECT id just once? Is it better then join? What about a query which matches id with some other value like
Copy code
WHERE U.id = (SELECT id from another table with some criteria)
Does this run the SELECT id for every U.id in U for every row?