Command
SELECTExplanation
Retrieve data from MySQL tables using SELECT statements.
Examples
Select all from table
SELECT * FROM users;Select with condition
SELECT name, email FROM users WHERE age > 18;Count records
SELECT COUNT(*) FROM users;SELECTRetrieve data from MySQL tables using SELECT statements.
Select all from table
SELECT * FROM users;Select with condition
SELECT name, email FROM users WHERE age > 18;Count records
SELECT COUNT(*) FROM users;