Forming a query in MySQL
Forming a query in MySQL
Some of the commonly used MySQL queries, operators, and functions are as follows:
1. SHOW DATABASES
Output:
2. USE database_name
This sets the database as the current database in the MySQL server.
SELECT DATABASE();
3. DESCRIBE table_name
4. SHOW TABLES
6. SELECT NOW()