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
How about this instead:
SELECT user.* FROM user JOIN userType on user.code = userType.code AND user.userType = userType.userType