SQL IN Operator with Select -


i want use in operator in sql select statement following error "cannot perform aggregate function on expression containing aggregate or subquery."

the code using looks follows:

select * table id in (select units table2) 

you have use when instead of where

select * `table` `id` in (select `units` `table2`) 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -