how to query sql database to select specific ids 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;
select * from table where id in (id1,id2.........long list)
SQL> SELECT * FROM CUSTOMERS;