MySQL Tutorial/Information Functions/SCHEMA
SCHEMA() is a synonym for DATABASE().
mysql>
mysql> select SCHEMA();
+----------+
| SCHEMA() |
+----------+
| test |
+----------+
1 row in set (0.00 sec)
mysql>
mysql> select SCHEMA();
+----------+
| SCHEMA() |
+----------+
| test |
+----------+
1 row in set (0.00 sec)