How do I combine these two SQL Blackboard queries into a single query ("AND") to run on console to list all TESTROLE1 with TESTROLE2 secondary role?
select user_id from users where institution_roles_pk1 = (select pk1 from institution_roles where role_name = 'TESTROLE1');
select user_id from users where pk1 IN (select users_pk1 from user_roles where institution_roles_pk1 = (select pk1 from institution_roles where role_name = 'TESTROLE2'));