Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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';
 
PREVIOUS NEXT
Tagged: #select #query #mysql
ADD COMMENT
Topic
Name
8+7 =