sql select id code example
Example 1: sql query for getting details by id
SQL> SELECT * FROM CUSTOMERS WHERE SALARY=2000;
Example 2: sql query for getting details by id
SQL> SELECT * FROM CUSTOMERS;
SQL> SELECT * FROM CUSTOMERS WHERE SALARY=2000;
SQL> SELECT * FROM CUSTOMERS;