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 := 9353; set @num2 := 9353; execute com using @num1, @num2; set @num1 := 9354; set @num2 := 9354; execute com using @num1, @num2; set @num1 := 9356; set @num2 := 9356; execute com using @num1, @num2; set @num1 := 9366; set @num2 := 9366; execute com using @num1, @num2; set @num1 := 9367; set @num2 := 9367; execute com using @num1, @num2; set @num1 := 9374; set @num2 := 9374; execute com using @num1, @num2; set @num1 := 9405; set @num2 := 9405; execute com using @num1, @num2; set @num1 := 9417; set @num2 := 9417; execute com using @num1, @num2; set @num1 := 9418; set @num2 := 9418; execute com using @num1, @num2; set @num1 := 9419; set @num2 := 9419; execute com using @num1, @num2; set @num1 := 9421; set @num2 := 9421; execute com using @num1, @num2; set @num1 := 9424; set @num2 := 9424; execute com using @num1, @num2; set @num1 := 9425; set @num2 := 9425; execute com using @num1, @num2; set @num1 := 9426; set @num2 := 9426; execute com using @num1, @num2; set @num1 := 9428; set @num2 := 9428; execute com using @num1, @num2; set @num1 := 9441; set @num2 := 9441; execute com using @num1, @num2; set @num1 := 9447; set @num2 := 9447; execute com using @num1, @num2; set @num1 := 9451; set @num2 := 9451; execute com using @num1, @num2; set @num1 := 9455; set @num2 := 9455; execute com using @num1, @num2; set @num1 := 9457; set @num2 := 9457; execute com using @num1, @num2; set @num1 := 9467; set @num2 := 9467; execute com using @num1, @num2; set @num1 := 9469; set @num2 := 9469; execute com using @num1, @num2; set @num1 := 9471; set @num2 := 9471; execute com using @num1, @num2; set @num1 := 9472; set @num2 := 9472; execute com using @num1, @num2; set @num1 := 9474; set @num2 := 9474; execute com using @num1, @num2; set @num1 := 9476; set @num2 := 9476; execute com using @num1, @num2; set @num1 := 9477; set @num2 := 9477; execute com using @num1, @num2; set @num1 := 9479; set @num2 := 9479; execute com using @num1, @num2; set @num1 := 9480; set @num2 := 9480; execute com using @num1, @num2; set @num1 := 9481; set @num2 := 9481; execute com using @num1, @num2; set @num1 := 9482; set @num2 := 9482; execute com using @num1, @num2; set @num1 := 9483; set @num2 := 9483; execute com using @num1, @num2; set @num1 := 9486; set @num2 := 9486; execute com using @num1, @num2; set @num1 := 9487; set @num2 := 9487; execute com using @num1, @num2; set @num1 := 9488; set @num2 := 9488; execute com using @num1, @num2; set @num1 := 9491; set @num2 := 9491; execute com using @num1, @num2; set @num1 := 9499; set @num2 := 9499; execute com using @num1, @num2; set @num1 := 9505; set @num2 := 9505; execute com using @num1, @num2; set @num1 := 9506; set @num2 := 9506; execute com using @num1, @num2; set @num1 := 9508; set @num2 := 9508; execute com using @num1, @num2; set @num1 := 9510; set @num2 := 9510; execute com using @num1, @num2; set @num1 := 9514; set @num2 := 9514; execute com using @num1, @num2; set @num1 := 9515; set @num2 := 9515; execute com using @num1, @num2; set @num1 := 9516; set @num2 := 9516; execute com using @num1, @num2; set @num1 := 9518; set @num2 := 9518; execute com using @num1, @num2; set @num1 := 9532; set @num2 := 9532; execute com using @num1, @num2; set @num1 := 9534; set @num2 := 9534; execute com using @num1, @num2; set @num1 := 9536; set @num2 := 9536; execute com using @num1, @num2; set @num1 := 9541; set @num2 := 9541; execute com using @num1, @num2; set @num1 := 9545; set @num2 := 9545; execute com using @num1, @num2; set @num1 := 9549; set @num2 := 9549; execute com using @num1, @num2; set @num1 := 9574; set @num2 := 9574; execute com using @num1, @num2; set @num1 := 9581; set @num2 := 9581; execute com using @num1, @num2; set @num1 := 9582; set @num2 := 9582; execute com using @num1, @num2; set @num1 := 9587; set @num2 := 9587; execute com using @num1, @num2; set @num1 := 9588; set @num2 := 9588; execute com using @num1, @num2; set @num1 := 9591; set @num2 := 9591; execute com using @num1, @num2; set @num1 := 9592; set @num2 := 9592; execute com using @num1, @num2; set @num1 := 9593; set @num2 := 9593; execute com using @num1, @num2; set @num1 := 9596; set @num2 := 9596; execute com using @num1, @num2; set @num1 := 9597; set @num2 := 9597; execute com using @num1, @num2; set @num1 := 9598; set @num2 := 9598; execute com using @num1, @num2; set @num1 := 9601; set @num2 := 9601; execute com using @num1, @num2; set @num1 := 9602; set @num2 := 9602; execute com using @num1, @num2; set @num1 := 9603; set @num2 := 9603; execute com using @num1, @num2; set @num1 := 9611; set @num2 := 9611; execute com using @num1, @num2; set @num1 := 9615; set @num2 := 9615; execute com using @num1, @num2; set @num1 := 9619; set @num2 := 9619; execute com using @num1, @num2; set @num1 := 9620; set @num2 := 9620; execute com using @num1, @num2; set @num1 := 9623; set @num2 := 9623; execute com using @num1, @num2; set @num1 := 9627; set @num2 := 9627; execute com using @num1, @num2; set @num1 := 9628; set @num2 := 9628; execute com using @num1, @num2; set @num1 := 9630; set @num2 := 9630; execute com using @num1, @num2; set @num1 := 9632; set @num2 := 9632; execute com using @num1, @num2; set @num1 := 9633; set @num2 := 9633; execute com using @num1, @num2; set @num1 := 9637; set @num2 := 9637; execute com using @num1, @num2; set @num1 := 9640; set @num2 := 9640; execute com using @num1, @num2; set @num1 := 9645; set @num2 := 9645; execute com using @num1, @num2; set @num1 := 9646; set @num2 := 9646; execute com using @num1, @num2; set @num1 := 9649; set @num2 := 9649; execute com using @num1, @num2; set @num1 := 9653; set @num2 := 9653; execute com using @num1, @num2; set @num1 := 9656; set @num2 := 9656; execute com using @num1, @num2; set @num1 := 9658; set @num2 := 9658; execute com using @num1, @num2; set @num1 := 9662; set @num2 := 9662; execute com using @num1, @num2; set @num1 := 9664; set @num2 := 9664; execute com using @num1, @num2; set @num1 := 9668; set @num2 := 9668; execute com using @num1, @num2; set @num1 := 9670; set @num2 := 9670; execute com using @num1, @num2; set @num1 := 9674; set @num2 := 9674; execute com using @num1, @num2; set @num1 := 9675; set @num2 := 9675; execute com using @num1, @num2; set @num1 := 9678; set @num2 := 9678; execute com using @num1, @num2; set @num1 := 9679; set @num2 := 9679; execute com using @num1, @num2; set @num1 := 9683; set @num2 := 9683; execute com using @num1, @num2; set @num1 := 9688; set @num2 := 9688; execute com using @num1, @num2; set @num1 := 9689; set @num2 := 9689; execute com using @num1, @num2; set @num1 := 9695; set @num2 := 9695; execute com using @num1, @num2; set @num1 := 9696; set @num2 := 9696; execute com using @num1, @num2; set @num1 := 9703; set @num2 := 9703; execute com using @num1, @num2; set @num1 := 9705; set @num2 := 9705; execute com using @num1, @num2; set @num1 := 9706; set @num2 := 9706; execute com using @num1, @num2; set @num1 := 9707; set @num2 := 9707; 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...