select syntax mysql code example
Example 1: select query in mysql
SELECT * FROM `table_name`;
SELECT `col1`,`col2` FROM `table_name`;
SELECT `col1 as name`,`col2 as email` FROM `table_name`;
SELECT * FROM `table_name` WHERE id = '1';
Example 2: MySQL SELECT
SELECT select_list
FROM table_name;