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 := 5488; set @num2 := 5488; execute com using @num1, @num2; set @num1 := 5489; set @num2 := 5489; execute com using @num1, @num2; set @num1 := 5490; set @num2 := 5490; execute com using @num1, @num2; set @num1 := 5500; set @num2 := 5500; execute com using @num1, @num2; set @num1 := 5510; set @num2 := 5510; execute com using @num1, @num2; set @num1 := 5520; set @num2 := 5520; execute com using @num1, @num2; set @num1 := 5530; set @num2 := 5530; execute com using @num1, @num2; set @num1 := 5551; set @num2 := 5551; execute com using @num1, @num2; set @num1 := 5553; set @num2 := 5553; execute com using @num1, @num2; set @num1 := 5554; set @num2 := 5554; execute com using @num1, @num2; set @num1 := 5556; set @num2 := 5556; execute com using @num1, @num2; set @num1 := 5561; set @num2 := 5561; execute com using @num1, @num2; set @num1 := 5565; set @num2 := 5565; execute com using @num1, @num2; set @num1 := 5573; set @num2 := 5573; execute com using @num1, @num2; set @num1 := 5578; set @num2 := 5578; execute com using @num1, @num2; set @num1 := 5581; set @num2 := 5581; execute com using @num1, @num2; set @num1 := 5582; set @num2 := 5582; execute com using @num1, @num2; set @num1 := 5584; set @num2 := 5584; execute com using @num1, @num2; set @num1 := 5588; set @num2 := 5588; execute com using @num1, @num2; set @num1 := 5590; set @num2 := 5590; execute com using @num1, @num2; set @num1 := 5593; set @num2 := 5593; execute com using @num1, @num2; set @num1 := 5595; set @num2 := 5595; execute com using @num1, @num2; set @num1 := 5597; set @num2 := 5597; execute com using @num1, @num2; set @num1 := 5615; set @num2 := 5615; execute com using @num1, @num2; set @num1 := 5617; set @num2 := 5617; execute com using @num1, @num2; set @num1 := 5622; set @num2 := 5622; execute com using @num1, @num2; set @num1 := 5626; set @num2 := 5626; execute com using @num1, @num2; set @num1 := 5630; set @num2 := 5630; execute com using @num1, @num2; set @num1 := 5635; set @num2 := 5635; execute com using @num1, @num2; set @num1 := 5637; set @num2 := 5637; execute com using @num1, @num2; set @num1 := 5638; set @num2 := 5638; execute com using @num1, @num2; set @num1 := 5639; set @num2 := 5639; execute com using @num1, @num2; set @num1 := 5641; set @num2 := 5641; execute com using @num1, @num2; set @num1 := 5642; set @num2 := 5642; execute com using @num1, @num2; set @num1 := 5643; set @num2 := 5643; execute com using @num1, @num2; set @num1 := 5644; set @num2 := 5644; execute com using @num1, @num2; set @num1 := 5645; set @num2 := 5645; execute com using @num1, @num2; set @num1 := 5646; set @num2 := 5646; execute com using @num1, @num2; set @num1 := 5647; set @num2 := 5647; execute com using @num1, @num2; set @num1 := 5648; set @num2 := 5648; execute com using @num1, @num2; set @num1 := 5649; set @num2 := 5649; execute com using @num1, @num2; set @num1 := 5654; set @num2 := 5654; execute com using @num1, @num2; set @num1 := 5655; set @num2 := 5655; execute com using @num1, @num2; set @num1 := 5657; set @num2 := 5657; execute com using @num1, @num2; set @num1 := 5658; set @num2 := 5658; execute com using @num1, @num2; set @num1 := 5659; set @num2 := 5659; execute com using @num1, @num2; set @num1 := 5664; set @num2 := 5664; execute com using @num1, @num2; set @num1 := 5665; set @num2 := 5665; execute com using @num1, @num2; set @num1 := 5666; set @num2 := 5666; execute com using @num1, @num2; set @num1 := 5667; set @num2 := 5667; execute com using @num1, @num2; set @num1 := 5668; set @num2 := 5668; execute com using @num1, @num2; set @num1 := 5669; set @num2 := 5669; execute com using @num1, @num2; set @num1 := 5672; set @num2 := 5672; execute com using @num1, @num2; set @num1 := 5675; set @num2 := 5675; execute com using @num1, @num2; set @num1 := 5676; set @num2 := 5676; execute com using @num1, @num2; set @num1 := 5679; set @num2 := 5679; execute com using @num1, @num2; set @num1 := 5681; set @num2 := 5681; execute com using @num1, @num2; set @num1 := 5685; set @num2 := 5685; execute com using @num1, @num2; set @num1 := 5686; set @num2 := 5686; execute com using @num1, @num2; set @num1 := 5688; set @num2 := 5688; execute com using @num1, @num2; set @num1 := 5689; set @num2 := 5689; execute com using @num1, @num2; set @num1 := 5691; set @num2 := 5691; execute com using @num1, @num2; set @num1 := 5693; set @num2 := 5693; execute com using @num1, @num2; set @num1 := 5695; set @num2 := 5695; execute com using @num1, @num2; set @num1 := 5696; set @num2 := 5696; execute com using @num1, @num2; set @num1 := 5697; set @num2 := 5697; execute com using @num1, @num2; set @num1 := 5698; set @num2 := 5698; execute com using @num1, @num2; set @num1 := 5700; set @num2 := 5700; execute com using @num1, @num2; set @num1 := 5702; set @num2 := 5702; execute com using @num1, @num2; set @num1 := 5703; set @num2 := 5703; execute com using @num1, @num2; set @num1 := 5706; set @num2 := 5706; execute com using @num1, @num2; set @num1 := 5708; set @num2 := 5708; execute com using @num1, @num2; set @num1 := 5711; set @num2 := 5711; execute com using @num1, @num2; set @num1 := 5714; set @num2 := 5714; execute com using @num1, @num2; set @num1 := 5717; set @num2 := 5717; execute com using @num1, @num2; set @num1 := 5718; set @num2 := 5718; execute com using @num1, @num2; set @num1 := 5719; set @num2 := 5719; execute com using @num1, @num2; set @num1 := 5721; set @num2 := 5721; execute com using @num1, @num2; set @num1 := 5722; set @num2 := 5722; execute com using @num1, @num2; set @num1 := 5724; set @num2 := 5724; execute com using @num1, @num2; set @num1 := 5729; set @num2 := 5729; execute com using @num1, @num2; set @num1 := 5734; set @num2 := 5734; execute com using @num1, @num2; set @num1 := 5735; set @num2 := 5735; execute com using @num1, @num2; set @num1 := 5738; set @num2 := 5738; execute com using @num1, @num2; set @num1 := 5739; set @num2 := 5739; execute com using @num1, @num2; set @num1 := 5742; set @num2 := 5742; execute com using @num1, @num2; set @num1 := 5750; set @num2 := 5750; execute com using @num1, @num2; set @num1 := 5751; set @num2 := 5751; execute com using @num1, @num2; set @num1 := 5760; set @num2 := 5760; execute com using @num1, @num2; set @num1 := 5762; set @num2 := 5762; execute com using @num1, @num2; set @num1 := 5763; set @num2 := 5763; execute com using @num1, @num2; set @num1 := 5765; set @num2 := 5765; execute com using @num1, @num2; set @num1 := 5766; set @num2 := 5766; execute com using @num1, @num2; set @num1 := 5768; set @num2 := 5768; execute com using @num1, @num2; set @num1 := 5769; set @num2 := 5769; execute com using @num1, @num2; set @num1 := 5771; set @num2 := 5771; execute com using @num1, @num2; set @num1 := 5772; set @num2 := 5772; execute com using @num1, @num2; set @num1 := 5776; set @num2 := 5776; execute com using @num1, @num2; set @num1 := 5778; set @num2 := 5778; execute com using @num1, @num2; set @num1 := 5783; set @num2 := 5783; 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...