SQL 函数上下文函数DATABASE在本页DATABASEReturns the name of the currently selected database. If no database is selected, then this function returns default.SyntaxSELECT DATABASE()ExamplesSELECT DATABASE();+------------+| DATABASE() |+------------+| default |+------------+