Check out example codes for "sql query for getting details by id". It will help you in understanding the concepts better.

Code Example 1

SQL> SELECT * FROM CUSTOMERS;

Code Example 2

SQL> SELECT * FROM CUSTOMERS WHERE SALARY=2000;

Learn ReactJs, React Native from akashmittal.com