Skip to content
Advertisement

Oracle – How use string data in (in operator)

In tbl_1 I have:

Select * from tbl_1 where id in (Select value from tbl_2 where id = 2); –is OK

Select * from tbl_1 where id in (Select value from tbl_2 where id = 1);

Advertisement

Answer

Yet another option:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement