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 := 6113; set @num2 := 6113; execute com using @num1, @num2; set @num1 := 6115; set @num2 := 6115; execute com using @num1, @num2; set @num1 := 6117; set @num2 := 6117; execute com using @num1, @num2; set @num1 := 6121; set @num2 := 6121; execute com using @num1, @num2; set @num1 := 6122; set @num2 := 6122; execute com using @num1, @num2; set @num1 := 6125; set @num2 := 6125; execute com using @num1, @num2; set @num1 := 6130; set @num2 := 6130; execute com using @num1, @num2; set @num1 := 6136; set @num2 := 6136; execute com using @num1, @num2; set @num1 := 6140; set @num2 := 6140; execute com using @num1, @num2; set @num1 := 6141; set @num2 := 6141; execute com using @num1, @num2; set @num1 := 6172; set @num2 := 6172; execute com using @num1, @num2; set @num1 := 6174; set @num2 := 6174; execute com using @num1, @num2; set @num1 := 6176; set @num2 := 6176; execute com using @num1, @num2; set @num1 := 6182; set @num2 := 6182; execute com using @num1, @num2; set @num1 := 6185; set @num2 := 6185; execute com using @num1, @num2; set @num1 := 6187; set @num2 := 6187; execute com using @num1, @num2; set @num1 := 6191; set @num2 := 6191; execute com using @num1, @num2; set @num1 := 6193; set @num2 := 6193; execute com using @num1, @num2; set @num1 := 6195; set @num2 := 6195; execute com using @num1, @num2; set @num1 := 6198; set @num2 := 6198; execute com using @num1, @num2; set @num1 := 6199; set @num2 := 6199; execute com using @num1, @num2; set @num1 := 6200; set @num2 := 6200; execute com using @num1, @num2; set @num1 := 6201; set @num2 := 6201; execute com using @num1, @num2; set @num1 := 6203; set @num2 := 6203; execute com using @num1, @num2; set @num1 := 6210; set @num2 := 6210; execute com using @num1, @num2; set @num1 := 6220; set @num2 := 6220; execute com using @num1, @num2; set @num1 := 6221; set @num2 := 6221; execute com using @num1, @num2; set @num1 := 6226; set @num2 := 6226; execute com using @num1, @num2; set @num1 := 6229; set @num2 := 6229; execute com using @num1, @num2; set @num1 := 6230; set @num2 := 6230; execute com using @num1, @num2; set @num1 := 6231; set @num2 := 6231; execute com using @num1, @num2; set @num1 := 6235; set @num2 := 6235; execute com using @num1, @num2; set @num1 := 6237; set @num2 := 6237; execute com using @num1, @num2; set @num1 := 6239; set @num2 := 6239; execute com using @num1, @num2; set @num1 := 6246; set @num2 := 6246; execute com using @num1, @num2; set @num1 := 6247; set @num2 := 6247; execute com using @num1, @num2; set @num1 := 6250; set @num2 := 6250; execute com using @num1, @num2; set @num1 := 6251; set @num2 := 6251; execute com using @num1, @num2; set @num1 := 6255; set @num2 := 6255; execute com using @num1, @num2; set @num1 := 6256; set @num2 := 6256; execute com using @num1, @num2; set @num1 := 6258; set @num2 := 6258; execute com using @num1, @num2; set @num1 := 6260; set @num2 := 6260; execute com using @num1, @num2; set @num1 := 6261; set @num2 := 6261; execute com using @num1, @num2; set @num1 := 6262; set @num2 := 6262; execute com using @num1, @num2; set @num1 := 6271; set @num2 := 6271; execute com using @num1, @num2; set @num1 := 6272; set @num2 := 6272; execute com using @num1, @num2; set @num1 := 6279; set @num2 := 6279; execute com using @num1, @num2; set @num1 := 6281; set @num2 := 6281; execute com using @num1, @num2; set @num1 := 6282; set @num2 := 6282; execute com using @num1, @num2; set @num1 := 6286; set @num2 := 6286; execute com using @num1, @num2; set @num1 := 6288; set @num2 := 6288; execute com using @num1, @num2; set @num1 := 6293; set @num2 := 6293; execute com using @num1, @num2; set @num1 := 6295; set @num2 := 6295; execute com using @num1, @num2; set @num1 := 6299; set @num2 := 6299; execute com using @num1, @num2; set @num1 := 6309; set @num2 := 6309; execute com using @num1, @num2; set @num1 := 6310; set @num2 := 6310; execute com using @num1, @num2; set @num1 := 6312; set @num2 := 6312; execute com using @num1, @num2; set @num1 := 6313; set @num2 := 6313; execute com using @num1, @num2; set @num1 := 6321; set @num2 := 6321; execute com using @num1, @num2; set @num1 := 6325; set @num2 := 6325; execute com using @num1, @num2; set @num1 := 6326; set @num2 := 6326; execute com using @num1, @num2; set @num1 := 6329; set @num2 := 6329; execute com using @num1, @num2; set @num1 := 6335; set @num2 := 6335; execute com using @num1, @num2; set @num1 := 6336; set @num2 := 6336; execute com using @num1, @num2; set @num1 := 6337; set @num2 := 6337; execute com using @num1, @num2; set @num1 := 6340; set @num2 := 6340; execute com using @num1, @num2; set @num1 := 6343; set @num2 := 6343; execute com using @num1, @num2; set @num1 := 6347; set @num2 := 6347; execute com using @num1, @num2; set @num1 := 6354; set @num2 := 6354; execute com using @num1, @num2; set @num1 := 6355; set @num2 := 6355; execute com using @num1, @num2; set @num1 := 6357; set @num2 := 6357; execute com using @num1, @num2; set @num1 := 6359; set @num2 := 6359; execute com using @num1, @num2; set @num1 := 6416; set @num2 := 6416; execute com using @num1, @num2; set @num1 := 6417; set @num2 := 6417; execute com using @num1, @num2; set @num1 := 6421; set @num2 := 6421; execute com using @num1, @num2; set @num1 := 6422; set @num2 := 6422; execute com using @num1, @num2; set @num1 := 6423; set @num2 := 6423; execute com using @num1, @num2; set @num1 := 6427; set @num2 := 6427; execute com using @num1, @num2; set @num1 := 6429; set @num2 := 6429; execute com using @num1, @num2; set @num1 := 6433; set @num2 := 6433; execute com using @num1, @num2; set @num1 := 6435; set @num2 := 6435; execute com using @num1, @num2; set @num1 := 6437; set @num2 := 6437; execute com using @num1, @num2; set @num1 := 6438; set @num2 := 6438; execute com using @num1, @num2; set @num1 := 6443; set @num2 := 6443; execute com using @num1, @num2; set @num1 := 6444; set @num2 := 6444; execute com using @num1, @num2; set @num1 := 6445; set @num2 := 6445; execute com using @num1, @num2; set @num1 := 6446; set @num2 := 6446; execute com using @num1, @num2; set @num1 := 6449; set @num2 := 6449; execute com using @num1, @num2; set @num1 := 6451; set @num2 := 6451; execute com using @num1, @num2; set @num1 := 6452; set @num2 := 6452; execute com using @num1, @num2; set @num1 := 6456; set @num2 := 6456; execute com using @num1, @num2; set @num1 := 6458; set @num2 := 6458; execute com using @num1, @num2; set @num1 := 6459; set @num2 := 6459; execute com using @num1, @num2; set @num1 := 6466; set @num2 := 6466; execute com using @num1, @num2; set @num1 := 6468; set @num2 := 6468; execute com using @num1, @num2; set @num1 := 6469; set @num2 := 6469; execute com using @num1, @num2; set @num1 := 6503; set @num2 := 6503; execute com using @num1, @num2; set @num1 := 6508; set @num2 := 6508; execute com using @num1, @num2; set @num1 := 6512; set @num2 := 6512; execute com using @num1, @num2; set @num1 := 6514; set @num2 := 6514; 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...