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

Code Example 1

select [all/distinct] <COL1>, <COL2>, <COL3>
from <TABLE_NAME>
[join <JOIN_CONDITION>]
[where <CONDITION>]
[group by <COLUMN_NAME>]
[having <SEARCH_CONDITION>]
[order by <SORT_SPECIFICATION>]


/*
Specifically for SQL -> Oracle

LEGEND: 
[...]   :   optional entries
<...>   :   your specific entry
*/

Code Example 2

SELECT column1, column2, ...

FROM table_name;

Code Example 3

SELECT * FROM table_name;

Code Example 4

SELECT * FROM table_name;

--or

SELECT column1, column2
FROM table_name;

Code Example 5

Everything in brackets is optional.
SELECT [all/distinct] <COL1>, <COL2>, <COL3>
FROM <TABLE_NAME>
[JOIN <JOIN_CONDITION>]
[WHERE <CONDITION>]
[GROUP BY <COLUMN_NAME>]
[HAVING <SEARCH_CONDITION>]
[ORDER BY <SORT_SPECIFICATION>]

Code Example 6

SELECT * FROM TABLE_NAME;

Learn ReactJs, React Native from akashmittal.com