Why is select in (select) querying a

mysql select * from table in (select id from table)

Mar.15,2021

select * from TBL where field in (select statement result set)


query statement is incomplete, Only the last half of the execution


select id from table returns a string
SQL is equivalent to
mysql select * from table in ("a br c")
expects:
mysql select * from table in ("a", "b", "c")
so the query will have a problem

Menu