Check out example codes for "sql selet". It will help you in understanding the concepts better.

Code Example 1

SELECT * FROM TABLE_NAME;

Code Example 2

SELECT *
FROM table
WHERE condition
GROUP BY expression
HAVING condition
{ UNION | INTERSECT | EXCEPT }
ORDER BY expression
LIMIT count
OFFSET start

Learn ReactJs, React Native from akashmittal.com