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
Kekavigi
.
Toggle Highlighting
SQL
SELECT DISTINCT talk.page_title AS title_en, ( # hitung banyaknya halaman SELECT COUNT(_cl.cl_from) FROM page AS talk_inlink INNER JOIN categorylinks AS _cl ON _cl.cl_from = talk_inlink.page_id WHERE talk_inlink.page_title = main_inlink.page_title AND talk_inlink.page_namespace = 1 AND _cl.cl_from = 'Top-priority_mathematics_articles' ) AS total_inlink_top # berangkat dari halaman pembicaraan FROM page AS talk # fokus ke halaman pembicaraan yang punya kategori prioritas matematika INNER JOIN categorylinks AS cl ON cl.cl_from = talk.page_id AND cl.cl_to IN ( 'Top-priority_mathematics_articles') #'High-priority_mathematics_articles', #'Mid-priority_mathematics_articles') #'Low-priority_mathematics_articles' #'NA-priority_mathematics_articles', #'Unknown-priority_mathematics_articles') # linktarget mencatat target dari pranala. simpul B dari hubungan A=>B # dapatkan data linktarget halaman utama dari nama halaman pembicaraan INNER JOIN linktarget AS lt ON lt.lt_title = talk.page_title AND lt.lt_namespace = 0 # pagelinks mencatat asal dan target pranala. kita gunakan untuk mencari # simpul A dari hubungan A=>B. mari fokus ke halaman A yang berada di # ruang nama utama INNER JOIN pagelinks as pl ON pl.pl_target_id = lt.lt_id AND pl.pl_from_namespace = 0 # recap: pl.pl_from mencatat id halaman, dan kita saat ini mau membuat # jembatan untuk mendapatkan nama semua artikel di main yang merujuk # halaman berjudul page_title. inner join lagi dengan table page INNER JOIN page AS main_inlink ON main_inlink.page_id = pl.pl_from LIMIT 10;
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...