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
NmWTfs85lXusaybq
.
Toggle Highlighting
SQL
/* select * from logging join actor on actor_id = log_actor where log_namespace = 0 and log_title in ('社', 'She_(Chinese_character)') */ /* select page_title from page where page_namespace = 0 and page_is_redirect = 0 and page_title rlike '^[\\p{Han}]+(_\\(disambiguation\\))?$^[\\d\\p{Han}]*[\\p{Han}][\\d\\p{Han}]*(_\\(disambiguation\\))?$' collate utf8_general_ci and page_id in ( select cl_from from categorylinks where cl_to in ("All_disambiguation_pages") and cl_type = 'page' ) and page_id not in ( select cl_from from categorylinks where cl_to in ("Disambiguation_pages_with_Chinese_character_titles") and cl_type = 'page' ) */ /* select p2.page_title, group_concat(p1.page_title separator ','), count(p1.page_title) from redirect join page p1 on p1.page_id = rd_from and p1.page_namespace = 0 join page p2 on p2.page_title = rd_title and p2.page_namespace = 0 where rd_namespace = 0 and p1.page_is_redirect = 1 and p1.page_title rlike '^[\\p{Han}]+(_\\(disambiguation\\))?$' collate utf8_general_ci and p2.page_title not rlike '^[\\p{Han}]+(_\\(disambiguation\\))?$' collate utf8_general_ci and p2.page_id in ( select cl_from from categorylinks where cl_to in ("All_disambiguation_pages") and cl_type = 'page' ) group by p2.page_title order by count(p1.page_title) desc */ /* select page_title from page where page_namespace = 0 and page_is_redirect = 0 and page_title not rlike '^[\\p{Han}]+(_\\(disambiguation\\))?$' collate utf8_general_ci and page_title rlike '^[\\d\\p{Han}]*[\\p{Han}][\\d\\p{Han}]*(_\\(disambiguation\\))?$' collate utf8_general_ci */ /* select p1.page_title from page p1 where p1.page_namespace = 0 and p1.page_is_redirect = 0 and p1.page_id in ( select cl_from from categorylinks where cl_to in ("Disambiguation_pages_with_Chinese_character_titles") and cl_type = 'page' ) and exists ( select 1 from page p2 where p2.page_namespace = 4 and p2.page_is_redirect = 0 and substring(p2.page_title, 1, length(p1.page_title) + length('Articles_for_deletion/')) = concat('Articles_for_deletion/', p1.page_title) regexp_substr(p2.page_title, 'Articles_for_deletion/.*') ) */ select p2.page_title, p1.page_title, substring(p2.page_title, length('Articles_for_deletion/')+1, length('Articles_for_deletion/')+1+length(p1.page_title)) from page p2 join page p1 on p1.page_namespace = 0 and p1.page_is_redirect = 0 -- and substring(p2.page_title, length('Articles_for_deletion/')+1, length('Articles_for_deletion/')+1+length(p1.page_title)) = p1.page_title where p2.page_namespace = 4 and p2.page_is_redirect = 0 and p2.page_title like 'Articles_for_deletion/%' and p1.page_id in ( select cl_from from categorylinks where cl_to in ("Disambiguation_pages_with_Chinese_character_titles") and cl_type = 'page' ) limit 1 /* select count(*) from page where page_namespace = 0 and page_is_redirect = 0 and page_title like '%\_(film)'; select count(*) from page where page_namespace = 0 and page_is_redirect = 0 and page_title like '%\_(movie)'; select count(*) from page where page_namespace = 0 and page_is_redirect = 0 and page_title like '%\_(TV\_series)'; select count(*) from page where page_namespace = 0 and page_is_redirect = 0 and page_title like '%\_(television\_series)'; select count(*) from page where page_namespace = 0 and page_is_redirect = 0 and page_title like '%\_(upcoming\_film)'; select page_title from page where page_namespace = 0 and page_is_redirect = 0 and page_title like '%\_(movie)'; select page_title from page where page_namespace = 0 and page_is_redirect = 0 and page_title like '%\_(television\_series)'; */ -- show variables like 'char%' -- show variables like 'collation%' -- show create database enwiki_p -- show create table page -- set @@character_set_connection=utf8mb4
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...