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
EqJjgOa8rVvsRmZL
.
Toggle Highlighting
SQL
select p1.page_title, REGEXP_SUBSTR(p1.page_title, ".*?(?=\_\(.*\)|?=,\_.*)") from page p1 where p1.page_namespace = 0 and (p1.page_title like '%\_(%)' or p1.page_title like '%,\_%') /* and not exists ( select 1 from page p2 where p2.page_namespace = 0 and length(p1.page_title) > length(p2.page_title) and substring(p1.page_title, 1, length(p2.page_title)) = p2.page_title -- and (p1.page_title like CONCAT(p2.page_title, '\_(%)') or p1.page_title like CONCAT(p2.page_title, ',\_%')) and p1.page_title like CONCAT(p2.page_title, '\_(%)') ) */ limit 100
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...