Informatics Practices

Which command shows the list of database in MySQL?

  1. desc databases;
  2. show tables;
  3. show databases;
  4. describe databases;

SQL Queries

2 Likes

Answer

show databases;

Reason — The SHOW DATABASES; command lists all the databases managed by the MySQL server.

Answered By

3 Likes


Related Questions