How do I query the database name in Oracle SQL Developer? I have tried the following and they all fail:
SELECT DB_NAME();
SELECT DATABASE(
DESCRIBE DATABASE NAME; you need to specify the name of the database and the results will include the data type of each attribute.