Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Bri
.
Toggle Highlighting
SQL
SET @json_document = '[ { "id": 0, "namespace": ":"}, { "id": 1, "namespace": "Talk:"}, { "id": 2, "namespace": "User:"}, { "id": 3, "namespace": "User talk:"}, { "id": 4, "namespace": "Wikipedia:"}, { "id": 5, "namespace": "Wikipedia Talk:"}, { "id": 6, "namespace": "File:"}, { "id": 7, "namespace": "File talk:"}, { "id": 8, "namespace": "MediaWiki:"}, { "id": 9, "namespace": "MediaWiki talk:"}, { "id": 10, "namespace": "Template:"}, { "id": 11, "namespace": "Template talk:"}, { "id": 12, "namespace": "Help:"}, { "id": 13, "namespace": "Help talk:"}, { "id": 14, "namespace": "Category:"}, { "id": 15, "namespace": "Category talk:"} ]'; SELECT * FROM JSON_TABLE(@json_document, '$[*]' COLUMNS ( id INT PATH '$.id', namespace VARCHAR(50) PATH '$.namespace' ) ) AS json_table WHERE json_table.id > 8 ;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...