diff --git a/docs/content/querying/sql.md b/docs/content/querying/sql.md index 93fe8ec037c..6b27486bdc1 100644 --- a/docs/content/querying/sql.md +++ b/docs/content/querying/sql.md @@ -93,7 +93,7 @@ This cached metadata is queryable through "INFORMATION_SCHEMA" tables. For examp datasource "foo", use the query: ```sql -SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE SCHEMA_NAME = 'druid' AND TABLE_NAME = 'foo' +SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'druid' AND TABLE_NAME = 'foo' ``` See the [INFORMATION_SCHEMA tables](#information_schema-tables) section below for details on the available metadata.