where id in sql code example
Example 1: where id is in list sql
select * from table where id in (id1,id2.........long list)
Example 2: sql query for getting details by id
SQL> SELECT * FROM CUSTOMERS WHERE SALARY=2000;
select * from table where id in (id1,id2.........long list)
SQL> SELECT * FROM CUSTOMERS WHERE SALARY=2000;