Loading lesson path
Concept visual
Start at both ends
Return the name of the current (default) database:
SELECT DATABASE();The DATABASE() function returns the name of the current database. If there is no current database, this function returns NULL or "".
From MySQL 4.0
❮ MySQL Functions