You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I need to build a subquery statement which mysql. I want to build a sql like this
select*from (
selecta.id, group_concat(b.id) as b_ids
from a left join b ona.id=b.aidwhere SOME_STATEMENTS group bya.id
) c where find_in_set(sone_b_id1, c.b_ids) !=0and find_in_set(sone_b_id2 c.b_ids) !=0
And currently subQuery only supported in where clauses