SQL: Fix example INFORMATION_SCHEMA query. (#4017)

This commit is contained in:
Gian Merlino 2017-03-06 16:07:47 -08:00 committed by Jonathan Wei
parent 4ca5270e88
commit 960769c583
1 changed files with 1 additions and 1 deletions

View File

@ -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.