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
RoJan94
.
Toggle Highlighting
SQL
prepare com from 'select case when c7.cl_to is not null then ? end as page_id, c7.cl_to, count(*) from categorylinks c7 join (select p7.page_id from page p7 join (select c6.cl_to from categorylinks c6 join (select p6.page_id from page p6 join (select c5.cl_to from categorylinks c5 join (select p5.page_id from page p5 join (select c4.cl_to from categorylinks c4 join (select p4.page_id from page p4 join (select c3.cl_to from categorylinks c3 join (select p3.page_id from page p3 join (select c2.cl_to from categorylinks c2 join (select p2.page_id from page p2 join (select c1.cl_to from categorylinks c1 join (select p1.page_id from page p1 join (select cl_to from categorylinks where cl_from = ?) t1 on p1.page_title = t1.cl_to where p1.page_namespace = 14) t2 on c1.cl_from = t2.page_id) t3 on p2.page_title = t3.cl_to where p2.page_namespace = 14) t4 on c2.cl_from = t4.page_id) t5 on p3.page_title = t5.cl_to where p3.page_namespace = 14) t6 on c3.cl_from = t6.page_id) t7 on p4.page_title = t7.cl_to where p4.page_namespace = 14) t8 on c4.cl_from = t8.page_id) t9 on p5.page_title = t9.cl_to where p5.page_namespace = 14) t10 on c5.cl_from = t10.page_id) t11 on p6.page_title = t11.cl_to where p6.page_namespace = 14) t12 on c6.cl_from = t12.page_id) t13 on p7.page_title = t13.cl_to where p7.page_namespace = 14) t14 on c7.cl_from = t14.page_id group by c7.cl_to having c7.cl_to like "Academic_disciplines" or c7.cl_to like "Business" or c7.cl_to like "Communication" or c7.cl_to like "Concepts" or c7.cl_to like "Culture" or c7.cl_to like "Economy" or c7.cl_to like "Education" or c7.cl_to like "Energy" or c7.cl_to like "Engineering" or c7.cl_to like "Entertainment" or c7.cl_to like "Entities" or c7.cl_to like "Ethics" or c7.cl_to like "Food_and_drink" or c7.cl_to like "Geography" or c7.cl_to like "Government" or c7.cl_to like "Health" or c7.cl_to like "History" or c7.cl_to like "Human_behavior" or c7.cl_to like "Humanities" or c7.cl_to like "Information" or c7.cl_to like "Internet" or c7.cl_to like "Knowledge" or c7.cl_to like "Language" or c7.cl_to like "Law" or c7.cl_to like "Life" or c7.cl_to like "Mass_media" or c7.cl_to like "Mathematics" or c7.cl_to like "Military" or c7.cl_to like "Nature" or c7.cl_to like "People" or c7.cl_to like "Philosophy" or c7.cl_to like "Politics" or c7.cl_to like "Religion" or c7.cl_to like "Science" or c7.cl_to like "Society" or c7.cl_to like "Sports" or c7.cl_to like "Technology" or c7.cl_to like "Time" or c7.cl_to like "Universe" order by c7.cl_to'; set @num1 := 3277; set @num2 := 3277; execute com using @num1, @num2; set @num1 := 3292; set @num2 := 3292; execute com using @num1, @num2; set @num1 := 3333; set @num2 := 3333; execute com using @num1, @num2; set @num1 := 3335; set @num2 := 3335; execute com using @num1, @num2; set @num1 := 3338; set @num2 := 3338; execute com using @num1, @num2; set @num1 := 3343; set @num2 := 3343; execute com using @num1, @num2; set @num1 := 3352; set @num2 := 3352; execute com using @num1, @num2; set @num1 := 3354; set @num2 := 3354; execute com using @num1, @num2; set @num1 := 3356; set @num2 := 3356; execute com using @num1, @num2; set @num1 := 3359; set @num2 := 3359; execute com using @num1, @num2; set @num1 := 3363; set @num2 := 3363; execute com using @num1, @num2; set @num1 := 3364; set @num2 := 3364; execute com using @num1, @num2; set @num1 := 3365; set @num2 := 3365; execute com using @num1, @num2; set @num1 := 3370; set @num2 := 3370; execute com using @num1, @num2; set @num1 := 3374; set @num2 := 3374; execute com using @num1, @num2; set @num1 := 3375; set @num2 := 3375; execute com using @num1, @num2; set @num1 := 3376; set @num2 := 3376; execute com using @num1, @num2; set @num1 := 3378; set @num2 := 3378; execute com using @num1, @num2; set @num1 := 3382; set @num2 := 3382; execute com using @num1, @num2; set @num1 := 3383; set @num2 := 3383; execute com using @num1, @num2; set @num1 := 3385; set @num2 := 3385; execute com using @num1, @num2; set @num1 := 3386; set @num2 := 3386; execute com using @num1, @num2; set @num1 := 3390; set @num2 := 3390; execute com using @num1, @num2; set @num1 := 3392; set @num2 := 3392; execute com using @num1, @num2; set @num1 := 3395; set @num2 := 3395; execute com using @num1, @num2; set @num1 := 3397; set @num2 := 3397; execute com using @num1, @num2; set @num1 := 3402; set @num2 := 3402; execute com using @num1, @num2; set @num1 := 3408; set @num2 := 3408; execute com using @num1, @num2; set @num1 := 3410; set @num2 := 3410; execute com using @num1, @num2; set @num1 := 3411; set @num2 := 3411; execute com using @num1, @num2; set @num1 := 3415; set @num2 := 3415; execute com using @num1, @num2; set @num1 := 3416; set @num2 := 3416; execute com using @num1, @num2; set @num1 := 3427; set @num2 := 3427; execute com using @num1, @num2; set @num1 := 3430; set @num2 := 3430; execute com using @num1, @num2; set @num1 := 3436; set @num2 := 3436; execute com using @num1, @num2; set @num1 := 3447; set @num2 := 3447; execute com using @num1, @num2; set @num1 := 3451; set @num2 := 3451; execute com using @num1, @num2; set @num1 := 3453; set @num2 := 3453; execute com using @num1, @num2; set @num1 := 3454; set @num2 := 3454; execute com using @num1, @num2; set @num1 := 3455; set @num2 := 3455; execute com using @num1, @num2; set @num1 := 3457; set @num2 := 3457; execute com using @num1, @num2; set @num1 := 3458; set @num2 := 3458; execute com using @num1, @num2; set @num1 := 3459; set @num2 := 3459; execute com using @num1, @num2; set @num1 := 3460; set @num2 := 3460; execute com using @num1, @num2; set @num1 := 3462; set @num2 := 3462; execute com using @num1, @num2; set @num1 := 3463; set @num2 := 3463; execute com using @num1, @num2; set @num1 := 3464; set @num2 := 3464; execute com using @num1, @num2; set @num1 := 3466; set @num2 := 3466; execute com using @num1, @num2; set @num1 := 3469; set @num2 := 3469; execute com using @num1, @num2; set @num1 := 3470; set @num2 := 3470; execute com using @num1, @num2;
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...