MySQL Forums
Forum List  »  Newbie

Re: Is it collect?
Posted by: Phillip Ward
Date: January 04, 2022 04:13AM

Correlated Subqueries can be "problematic".
Better to use joins between the tables.

select *
from table1 t1 
inner join table2 t2 on = 
where = 'John'

Regards, Phill W.

Options: ReplyQuote

Written By
December 26, 2021 07:39PM
December 26, 2021 07:44PM
Re: Is it collect?
January 04, 2022 04:13AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.