Is it possible to include in a IN clause multiple fields? Something like the following:
IN
select * from user where code, userType in ( select code
I don't think that query is quite portable,it would be safer to use something like
select * from user where code in ( select code from userType ) and userType in (select userType from userType)