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

Code Example 1

SELECT * FROM table_name;

--or

SELECT column1, column2
FROM table_name;

Code Example 2

SELECT select_list
FROM table_name;

Code Example 3

$sql = "SELECT * FROM Orders LIMIT 30";

Learn ReactJs, React Native from akashmittal.com