From 960769c583a8effc93e368580763141be8d1d9c3 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Mon, 6 Mar 2017 16:07:47 -0800 Subject: [PATCH] SQL: Fix example INFORMATION_SCHEMA query. (#4017) --- docs/content/querying/sql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.