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 := 13815; set @num2 := 13815; execute com using @num1, @num2; set @num1 := 13820; set @num2 := 13820; execute com using @num1, @num2; set @num1 := 13824; set @num2 := 13824; execute com using @num1, @num2; set @num1 := 13826; set @num2 := 13826; execute com using @num1, @num2; set @num1 := 13828; set @num2 := 13828; execute com using @num1, @num2; set @num1 := 13830; set @num2 := 13830; execute com using @num1, @num2; set @num1 := 13831; set @num2 := 13831; execute com using @num1, @num2; set @num1 := 13833; set @num2 := 13833; execute com using @num1, @num2; set @num1 := 13839; set @num2 := 13839; execute com using @num1, @num2; set @num1 := 13846; set @num2 := 13846; execute com using @num1, @num2; set @num1 := 13850; set @num2 := 13850; execute com using @num1, @num2; set @num1 := 13851; set @num2 := 13851; execute com using @num1, @num2; set @num1 := 13854; set @num2 := 13854; execute com using @num1, @num2; set @num1 := 13855; set @num2 := 13855; execute com using @num1, @num2; set @num1 := 13859; set @num2 := 13859; execute com using @num1, @num2; set @num1 := 13861; set @num2 := 13861; execute com using @num1, @num2; set @num1 := 13862; set @num2 := 13862; execute com using @num1, @num2; set @num1 := 13864; set @num2 := 13864; execute com using @num1, @num2; set @num1 := 13867; set @num2 := 13867; execute com using @num1, @num2; set @num1 := 13869; set @num2 := 13869; execute com using @num1, @num2; set @num1 := 13870; set @num2 := 13870; execute com using @num1, @num2; set @num1 := 13871; set @num2 := 13871; execute com using @num1, @num2; set @num1 := 13873; set @num2 := 13873; execute com using @num1, @num2; set @num1 := 13876; set @num2 := 13876; execute com using @num1, @num2; set @num1 := 13877; set @num2 := 13877; execute com using @num1, @num2; set @num1 := 13879; set @num2 := 13879; execute com using @num1, @num2; set @num1 := 13881; set @num2 := 13881; execute com using @num1, @num2; set @num1 := 13885; set @num2 := 13885; execute com using @num1, @num2; set @num1 := 13887; set @num2 := 13887; execute com using @num1, @num2; set @num1 := 13890; set @num2 := 13890; execute com using @num1, @num2; set @num1 := 13891; set @num2 := 13891; execute com using @num1, @num2; set @num1 := 13894; set @num2 := 13894; execute com using @num1, @num2; set @num1 := 13895; set @num2 := 13895; execute com using @num1, @num2; set @num1 := 13901; set @num2 := 13901; execute com using @num1, @num2; set @num1 := 13904; set @num2 := 13904; execute com using @num1, @num2; set @num1 := 13911; set @num2 := 13911; execute com using @num1, @num2; set @num1 := 13912; set @num2 := 13912; execute com using @num1, @num2; set @num1 := 13913; set @num2 := 13913; execute com using @num1, @num2; set @num1 := 13914; set @num2 := 13914; execute com using @num1, @num2; set @num1 := 13919; set @num2 := 13919; execute com using @num1, @num2; set @num1 := 13924; set @num2 := 13924; execute com using @num1, @num2; set @num1 := 13926; set @num2 := 13926; execute com using @num1, @num2; set @num1 := 13929; set @num2 := 13929; execute com using @num1, @num2; set @num1 := 13930; set @num2 := 13930; execute com using @num1, @num2; set @num1 := 13937; set @num2 := 13937; execute com using @num1, @num2; set @num1 := 13942; set @num2 := 13942; execute com using @num1, @num2; set @num1 := 13948; set @num2 := 13948; execute com using @num1, @num2; set @num1 := 13956; set @num2 := 13956; execute com using @num1, @num2; set @num1 := 13957; set @num2 := 13957; execute com using @num1, @num2; set @num1 := 13959; set @num2 := 13959; execute com using @num1, @num2; set @num1 := 13961; set @num2 := 13961; execute com using @num1, @num2; set @num1 := 13964; set @num2 := 13964; execute com using @num1, @num2; set @num1 := 13966; set @num2 := 13966; execute com using @num1, @num2; set @num1 := 13969; set @num2 := 13969; execute com using @num1, @num2; set @num1 := 13971; set @num2 := 13971; execute com using @num1, @num2; set @num1 := 13972; set @num2 := 13972; execute com using @num1, @num2; set @num1 := 13976; set @num2 := 13976; execute com using @num1, @num2; set @num1 := 13980; set @num2 := 13980; execute com using @num1, @num2; set @num1 := 13981; set @num2 := 13981; execute com using @num1, @num2; set @num1 := 13983; set @num2 := 13983; execute com using @num1, @num2; set @num1 := 13986; set @num2 := 13986; execute com using @num1, @num2; set @num1 := 13991; set @num2 := 13991; execute com using @num1, @num2; set @num1 := 13994; set @num2 := 13994; execute com using @num1, @num2; set @num1 := 13995; set @num2 := 13995; execute com using @num1, @num2; set @num1 := 13996; set @num2 := 13996; execute com using @num1, @num2; set @num1 := 13998; set @num2 := 13998; execute com using @num1, @num2; set @num1 := 14005; set @num2 := 14005; execute com using @num1, @num2; set @num1 := 14006; set @num2 := 14006; execute com using @num1, @num2; set @num1 := 14008; set @num2 := 14008; execute com using @num1, @num2; set @num1 := 14009; set @num2 := 14009; execute com using @num1, @num2; set @num1 := 14011; set @num2 := 14011; execute com using @num1, @num2; set @num1 := 14012; set @num2 := 14012; execute com using @num1, @num2; set @num1 := 14013; set @num2 := 14013; execute com using @num1, @num2; set @num1 := 14017; set @num2 := 14017; execute com using @num1, @num2; set @num1 := 14018; set @num2 := 14018; execute com using @num1, @num2; set @num1 := 14019; set @num2 := 14019; execute com using @num1, @num2; set @num1 := 14020; set @num2 := 14020; execute com using @num1, @num2; set @num1 := 14022; set @num2 := 14022; execute com using @num1, @num2; set @num1 := 14023; set @num2 := 14023; execute com using @num1, @num2; set @num1 := 14033; set @num2 := 14033; execute com using @num1, @num2; set @num1 := 14034; set @num2 := 14034; execute com using @num1, @num2; set @num1 := 14036; set @num2 := 14036; execute com using @num1, @num2; set @num1 := 14045; set @num2 := 14045; execute com using @num1, @num2; set @num1 := 14051; set @num2 := 14051; execute com using @num1, @num2; set @num1 := 14055; set @num2 := 14055; execute com using @num1, @num2; set @num1 := 14056; set @num2 := 14056; execute com using @num1, @num2; set @num1 := 14059; set @num2 := 14059; execute com using @num1, @num2; set @num1 := 14064; set @num2 := 14064; execute com using @num1, @num2; set @num1 := 14072; set @num2 := 14072; execute com using @num1, @num2; set @num1 := 14073; set @num2 := 14073; execute com using @num1, @num2; set @num1 := 14084; set @num2 := 14084; execute com using @num1, @num2; set @num1 := 14090; set @num2 := 14090; execute com using @num1, @num2; set @num1 := 14091; set @num2 := 14091; execute com using @num1, @num2; set @num1 := 14092; set @num2 := 14092; execute com using @num1, @num2; set @num1 := 14094; set @num2 := 14094; execute com using @num1, @num2; set @num1 := 14097; set @num2 := 14097; execute com using @num1, @num2; set @num1 := 14098; set @num2 := 14098; execute com using @num1, @num2; set @num1 := 14099; set @num2 := 14099; execute com using @num1, @num2; set @num1 := 14104; set @num2 := 14104; execute com using @num1, @num2; set @num1 := 14109; set @num2 := 14109; execute com using @num1, @num2; set @num1 := 14115; set @num2 := 14115; execute com using @num1, @num2; set @num1 := 14117; set @num2 := 14117; execute com using @num1, @num2; set @num1 := 14121; set @num2 := 14121; execute com using @num1, @num2; set @num1 := 14127; set @num2 := 14127; execute com using @num1, @num2; set @num1 := 14128; set @num2 := 14128; execute com using @num1, @num2; set @num1 := 14131; set @num2 := 14131; execute com using @num1, @num2; set @num1 := 14133; set @num2 := 14133; execute com using @num1, @num2; set @num1 := 14135; set @num2 := 14135; execute com using @num1, @num2; set @num1 := 14144; set @num2 := 14144; execute com using @num1, @num2; set @num1 := 14148; set @num2 := 14148; execute com using @num1, @num2; set @num1 := 14149; set @num2 := 14149; execute com using @num1, @num2; set @num1 := 14162; set @num2 := 14162; execute com using @num1, @num2; set @num1 := 14170; set @num2 := 14170; execute com using @num1, @num2; set @num1 := 14179; set @num2 := 14179; execute com using @num1, @num2; set @num1 := 14183; set @num2 := 14183; execute com using @num1, @num2; set @num1 := 14186; set @num2 := 14186; execute com using @num1, @num2; set @num1 := 14187; set @num2 := 14187; execute com using @num1, @num2; set @num1 := 14189; set @num2 := 14189; execute com using @num1, @num2; set @num1 := 14190; set @num2 := 14190; execute com using @num1, @num2; set @num1 := 14193; set @num2 := 14193; execute com using @num1, @num2; set @num1 := 14194; set @num2 := 14194; execute com using @num1, @num2; set @num1 := 14199; set @num2 := 14199; execute com using @num1, @num2; set @num1 := 14201; set @num2 := 14201; execute com using @num1, @num2; set @num1 := 14205; set @num2 := 14205; execute com using @num1, @num2; set @num1 := 14207; set @num2 := 14207; execute com using @num1, @num2; set @num1 := 14208; set @num2 := 14208; execute com using @num1, @num2; set @num1 := 14216; set @num2 := 14216; execute com using @num1, @num2; set @num1 := 14220; set @num2 := 14220; execute com using @num1, @num2; set @num1 := 14227; set @num2 := 14227; execute com using @num1, @num2; set @num1 := 14229; set @num2 := 14229; execute com using @num1, @num2; set @num1 := 14233; set @num2 := 14233; execute com using @num1, @num2; set @num1 := 14236; set @num2 := 14236; execute com using @num1, @num2; set @num1 := 14240; set @num2 := 14240; execute com using @num1, @num2; set @num1 := 14245; set @num2 := 14245; execute com using @num1, @num2; set @num1 := 14246; set @num2 := 14246; execute com using @num1, @num2; set @num1 := 14251; set @num2 := 14251; execute com using @num1, @num2; set @num1 := 14254; set @num2 := 14254; execute com using @num1, @num2; set @num1 := 14260; set @num2 := 14260; execute com using @num1, @num2; set @num1 := 14276; set @num2 := 14276; execute com using @num1, @num2; set @num1 := 14279; set @num2 := 14279; execute com using @num1, @num2; set @num1 := 14280; set @num2 := 14280; execute com using @num1, @num2; set @num1 := 14282; set @num2 := 14282; execute com using @num1, @num2; set @num1 := 14283; set @num2 := 14283; execute com using @num1, @num2; set @num1 := 14286; set @num2 := 14286; execute com using @num1, @num2; set @num1 := 14288; set @num2 := 14288; execute com using @num1, @num2; set @num1 := 14297; set @num2 := 14297; execute com using @num1, @num2; set @num1 := 14298; set @num2 := 14298; execute com using @num1, @num2; set @num1 := 14299; set @num2 := 14299; execute com using @num1, @num2; set @num1 := 14300; set @num2 := 14300; execute com using @num1, @num2; set @num1 := 14306; set @num2 := 14306; execute com using @num1, @num2; set @num1 := 14308; set @num2 := 14308; execute com using @num1, @num2; set @num1 := 14311; set @num2 := 14311; execute com using @num1, @num2; set @num1 := 14312; set @num2 := 14312; execute com using @num1, @num2; set @num1 := 14313; set @num2 := 14313; execute com using @num1, @num2; set @num1 := 14314; set @num2 := 14314; execute com using @num1, @num2; set @num1 := 14317; set @num2 := 14317; execute com using @num1, @num2; set @num1 := 14320; set @num2 := 14320; execute com using @num1, @num2; set @num1 := 14321; set @num2 := 14321; execute com using @num1, @num2; set @num1 := 14322; set @num2 := 14322; execute com using @num1, @num2; set @num1 := 14325; set @num2 := 14325; execute com using @num1, @num2; set @num1 := 14328; set @num2 := 14328; execute com using @num1, @num2; set @num1 := 14330; set @num2 := 14330; execute com using @num1, @num2; set @num1 := 14331; set @num2 := 14331; execute com using @num1, @num2; set @num1 := 14336; set @num2 := 14336; execute com using @num1, @num2; set @num1 := 14337; set @num2 := 14337; execute com using @num1, @num2; set @num1 := 14347; set @num2 := 14347; execute com using @num1, @num2; set @num1 := 14348; set @num2 := 14348; execute com using @num1, @num2; set @num1 := 14349; set @num2 := 14349; execute com using @num1, @num2; set @num1 := 14352; set @num2 := 14352; execute com using @num1, @num2; set @num1 := 14355; set @num2 := 14355; execute com using @num1, @num2; set @num1 := 14356; set @num2 := 14356; execute com using @num1, @num2; set @num1 := 14358; set @num2 := 14358; execute com using @num1, @num2; set @num1 := 14361; set @num2 := 14361; execute com using @num1, @num2; set @num1 := 14365; set @num2 := 14365; execute com using @num1, @num2; set @num1 := 14369; set @num2 := 14369; execute com using @num1, @num2; set @num1 := 14372; set @num2 := 14372; execute com using @num1, @num2; set @num1 := 14376; set @num2 := 14376; execute com using @num1, @num2; set @num1 := 14378; set @num2 := 14378; execute com using @num1, @num2; set @num1 := 14379; set @num2 := 14379; execute com using @num1, @num2; set @num1 := 14380; set @num2 := 14380; execute com using @num1, @num2; set @num1 := 14382; set @num2 := 14382; execute com using @num1, @num2; set @num1 := 14384; set @num2 := 14384; execute com using @num1, @num2; set @num1 := 14385; set @num2 := 14385; execute com using @num1, @num2; set @num1 := 14388; set @num2 := 14388; execute com using @num1, @num2; set @num1 := 14395; set @num2 := 14395; execute com using @num1, @num2; set @num1 := 14396; set @num2 := 14396; execute com using @num1, @num2; set @num1 := 14400; set @num2 := 14400; execute com using @num1, @num2; set @num1 := 14403; set @num2 := 14403; execute com using @num1, @num2; set @num1 := 14404; set @num2 := 14404; execute com using @num1, @num2; set @num1 := 14405; set @num2 := 14405; execute com using @num1, @num2; set @num1 := 14410; set @num2 := 14410; execute com using @num1, @num2; set @num1 := 14412; set @num2 := 14412; execute com using @num1, @num2; set @num1 := 14415; set @num2 := 14415; execute com using @num1, @num2; set @num1 := 14417; set @num2 := 14417; execute com using @num1, @num2; set @num1 := 14429; set @num2 := 14429; execute com using @num1, @num2; set @num1 := 14436; set @num2 := 14436; execute com using @num1, @num2; set @num1 := 14445; set @num2 := 14445; execute com using @num1, @num2; set @num1 := 14446; set @num2 := 14446; execute com using @num1, @num2; set @num1 := 14454; set @num2 := 14454; execute com using @num1, @num2; set @num1 := 14457; set @num2 := 14457; 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...