title stringlengths 1 212 | description stringlengths 1 4.39k ⌀ | query stringlengths 1 65.5k ⌀ | extra_info stringlengths 18 31.6k | wikidb stringlengths 4 26 ⌀ |
|---|---|---|---|---|
Exists a page "A (B)" but do not exists a page "A" | null | USE elwiki_p;
SELECT CONCAT ('# [[',REPLACE(MID(Target.page_title,1,LOCATE('(',Target.page_title)-2),'_',' '),']] [[',REPLACE(Target.page_title,'_',' '),']]')
FROM page AS Target
WHERE Target.page_namespace = 0
AND Target.page_is_redirect = 0
AND Target.page_title LIKE "%(%"
AND Target.page_title NOT LIKE "(%"
#AND Tar... | {"resultsets": [{"rowcount": 41, "headers": ["page_title"]}], "runningtime": "9.66"} | null |
Wanted categories nowiki | null | use nowiki_p;
select cl_to from categorylinks left join page on page_title = cl_to and page_namespace=14 where page_title is null limit 1000; | {"connection_id": 15259112} | null |
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী | ২৮ জানু ২০২০ | USE bnwiki_p;
SELECT
CONCAT("[[ব্যবহারকারী:",actor_name,"|",actor_name,"]]") AS ব্যবহারকারী_নাম,
COUNT(rev_id) AS মোট_নিবন্ধ
FROM actor INNER JOIN revision
ON revision.rev_actor = actor.actor_id
JOIN page
ON page.page_id = revision.rev_page
WHERE page_is_redirect = 0
AND rev_parent_id = 0
AND page_namespace = 0
AND rev... | {"resultsets": [{"rowcount": 9, "headers": ["CONCAT('File:', p.page_title)"]}], "runningtime": "63.78"} | null |
مقالات غير مراجعة حسب التصنيف | null | use arwiki_p;
select
CONCAT('# [[',page.page_title,']]') AS "المقالة", page.page_len AS "الحجم"
from page
where page_namespace = 0
and page_is_redirect = 0
and page_id in (select tl_from from templatelinks where tl_title = 'مقالة_غير_مراجعة')
and page_id in (select cl_from from categorylinks where cl_to ='لاعبو... | {"resultsets": [{"rowcount": 30, "headers": ["page_title"]}], "runningtime": "26.81"} | null |
Articles without any statements in Wikidata (arwiki) | null | use wikidatawiki_p;
SELECT *
FROM wb_items_per_site,page_props,page
WHERE ips_site_id IN ('arwiki')
AND page_namespace=0 AND ips_item_id=substr(page_title,2)*1 AND page_id=pp_page AND pp_propname='wb-claims' AND pp_sortkey=0 | {"runningtime": "107.87", "resultsets": [{"headers": ["\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0\u0995\u09be\u09b0\u09c0_\u09a8\u09be\u09ae", "\u09ae\u09cb\u099f_\u09a8\u09bf\u09ac\u09a8\u09cd\u09a7"], "rowcount": 1000}]} | null |
COVID-19 Task-force Articles (arwiki) | null | USE arwiki_p;
SELECT
CONCAT('# [[:',article.page_title,']]') as "المقالة"
FROM revision
inner join actor
on actor_id = rev_actor
INNER JOIN page article ON
article.page_id = rev_page AND
article.page_namespace = 0
INNER JOIN page talk ON
talk.page_title = article.page_title AND
talk.page_namespace = 1
INN... | {"resultsets": [{"rowcount": 21, "headers": ["ar_id", "ar_namespace", "ar_title", "ar_text", "ar_comment_id", "ar_actor", "ar_timestamp", "ar_minor_edit", "ar_flags", "ar_rev_id", "ar_text_id", "ar_deleted", "ar_len", "ar_page_id", "ar_parent_id", "ar_sha1", "ar_content_model", "ar_content_format"]}], "runningtime": "0... | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"resultsets": [{"rowcount": 200, "headers": ["blocked user", "times", "dates"]}], "runningtime": "9.57"} | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"resultsets": [{"rowcount": 10, "headers": ["ct_id", "ct_rc_id", "ct_log_id", "ct_rev_id", "ct_params", "ct_tag_id", "log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"]}], "runningtime": "60.88"} | null |
Ønskede kategorier | null | use arwiki_p;
select
DISTINCT replace( cl_to, "_", " " )
, concat( "[http://ar.wikipedia.org/wiki/Category:", cl_to, "?action=edit&preload=Template:WantedCat&summary=Oppretter_etterspurt_kategori", " create]" )
, count(cl_from)
from categorylinks left join page on page_title = cl_to and page_namespace=14 w... | {"resultsets": [{"rowcount": 7, "headers": ["eu_entity_id", "page_title"]}, {"rowcount": 1, "headers": ["number of pages linked to Wikidata as sitelinks"]}, {"rowcount": 1, "headers": ["number of pages not linked to Wikidata as sitelinks"]}], "runningtime": "0.28"} | null |
Weiterleitungen mit PD ohne Mann/Frau-Kategorie | null | USE dewiki_p;
SELECT page_title
FROM page, templatelinks
WHERE page_is_redirect = 1 /* Nur Weiterleitungen */
AND page_namespace = 0 /* im ANR */
AND page_id = tl_from
AND tl_from_namespace = 0 /* Link aus ANR, ev. unnötig, aber vielleicht optimiert die Datenbank besser? */
AND tl_namespace = 10 /* Vorla... | {"runningtime": "18.12", "resultsets": [{"headers": ["page_title"], "rowcount": 5677}]} | null |
Weiterleitungen mit PD ohne Mann/Frau-Kategorie | null | USE dewiki_p;
SELECT page_title
FROM page, templatelinks
WHERE page_is_redirect = 1 /* Nur Weiterleitungen */
AND page_namespace = 0 /* im ANR */
AND page_id = tl_from
AND tl_from_namespace = 0 /* Link aus ANR, ev. unnötig, aber vielleicht optimiert die Datenbank besser? */
AND tl_namespace = 10 /* Vorla... | {"runningtime": "4.75", "resultsets": [{"headers": ["ss_total_edits"], "rowcount": 1}, {"headers": ["SUM(user_editcount)"], "rowcount": 1}, {"headers": ["userid", "name", "editcount", "admin", "bot"], "rowcount": 803}]} | null |
Definitionless gerunds on plwiktionary | null | use plwiktionary_p;
select
page_title, rev_timestamp
from
page
inner join templatelinks
on page_id = tl_from
inner join revision
on page_id = rev_page and
rev_parent_id = 0
where
tl_from_namespace = 0 and
tl_namespace = 10 and
tl_title = 'odczasownikowy_od' and
rev_timestamp ... | {"resultsets": [{"rowcount": 12, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 4, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 7, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "2.31"} | null |
Weiterleitungen mit PD ohne Mann/Frau-Kategorie | null | USE dewiki_p;
SELECT page_title
FROM page, templatelinks
WHERE page_is_redirect = 0 /* keine Weiterleitungen */
AND page_namespace = 0 /* im ANR */
AND page_id = tl_from
AND tl_from_namespace = 0 /* Link aus ANR, ev. unnötig, aber vielleicht optimiert die Datenbank besser? */
AND tl_namespace = 10 /* Vor... | {"runningtime": "96.07", "resultsets": [{"headers": ["reviews", "actor_name", "accept", "decline", "reject", "accept %", "decline %", "reject %"], "rowcount": 155}]} | null |
Wanted categories nowiki | null | USE nowiki_p;
SELECT
DISTINCT REPLACE( cl_to, "_", " " ), CONCAT( "[http://no.wikipedia.org/wiki/Category:", cl_to, "?action=edit§ion=new&preload=Template:WantedCat&summary=Oppretter_etterspurt_kategori", " create]" )
FROM categorylinks LEFT JOIN page ON page_title = cl_to AND page_namespace=14 WHERE page_titl... | {"runningtime": "0.87", "resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 11}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 4}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 6}]} | null |
Wanted categories nowiki | null | USE nowiki_p;
SELECT cl_to FROM categorylinks LEFT JOIN page ON page_title = cl_to AND page_namespace=14 WHERE page_title IS null LIMIT 1000; | {"resultsets": [{"rowcount": 0, "headers": ["en_baslik", "tr_baslik", "tr_kategori"]}], "runningtime": "0.11"} | null |
Wanted categories nowiki | null | USE nowiki_p;
SELECT
DISTINCT REPLACE( cl_to, "_", " " ), CONCAT( "[http://no.wikipedia.org/wiki/Category:", cl_to, "?action=edit§ion=new&preload=Template:WantedCat&summary=Oppretter_etterspurt_kategori", " create]" )
FROM categorylinks LEFT JOIN page ON page_title = cl_to AND page_namespace=14 WHERE page_titl... | {"resultsets": [{"rowcount": 204, "headers": ["en_baslik", "tr_baslik", "tr_kategori"]}], "runningtime": "2.02"} | null |
find pagelinks title LIKE '%ttp%' | null | USE commonswiki_p;
SELECT CONCAT ("Talk:",page_title,"")
#LEFT JOIN page as page ON page_id=cat_id
FROM page AS page
WHERE page_namespace =1
#AND page_title LIKE "K%"
#cat_title LIKE '%by_quantity%'
AND page_len >0
#AND cat_title NOT LIKE "Images_from_the_Geograph_British_Isles_project_needing_categories%"
#(cat_ti... | {"runningtime": "43.43", "resultsets": [{"headers": ["count(rev_id)"], "rowcount": 1}]} | null |
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী | ২৮ জানু ২০২০ | USE bnwiki_p;
SELECT
CONCAT("[[ব্যবহারকারী:",actor_name,"|",actor_name,"]]") AS ব্যবহারকারী_নাম,
COUNT(rev_id) AS মোট_নিবন্ধ
FROM actor INNER JOIN revision
ON revision.rev_actor = actor.actor_id
JOIN page
ON page.page_id = revision.rev_page
WHERE page_is_redirect = 0
AND rev_parent_id = 0
AND page_namespace = 0
AND rev... | {"runningtime": "2.31", "resultsets": [{"headers": ["pl_from"], "rowcount": 0}]} | null |
CEE 2020 article candidates | null | use lvwiki_p;
select rev_timestamp, orig.page_title,
(SELECT GROUP_CONCAT(cl_to SEPARATOR '|') FROM categorylinks cl where cl.cl_from=orig.page_id) as cats,
(SELECT GROUP_CONCAT(tl_title SEPARATOR '|') FROM templatelinks
WHERE tl_namespace = 10 and tl_from=orig.page_id) as box,
(SELECT GROUP_CON... | {"connection_id": 17268064} | null |
Find all revisions of a page that match given revision | null | SELECT CONCAT("Special:Diff/", rev_id) AS diff, actor_name AS editor, DATE_FORMAT(rev_timestamp, '%Y-%m-%d %H:%i:%s') AS timestamp
FROM revision
JOIN page ON rev_page = page_id
JOIN actor_revision ON actor_id = rev_actor
WHERE page_title = 'MusikAnimal/sandbox' /* Title of page, without namespace, underscores instead o... | {"connection_id": 27699687} | null |
Find all revisions of a page that match given revision | null | SELECT CONCAT("Special:Diff/", rev_id) AS diff, actor_name AS editor, DATE_FORMAT(rev_timestamp, '%Y-%m-%d %H:%i:%s') AS timestamp
FROM revision
JOIN page ON rev_page = page_id
JOIN actor_revision ON actor_id = rev_actor
WHERE page_title = 'Mahira_Khan' /* Title of page, without namespace, underscores instead of spaces... | {"connection_id": 17430476} | null |
Newcomers who have contributed to [[en:Wikipedia talk:WikiProject COVID-19]] | <100 edits, or account created in the last week | SELECT user_name, user_editcount, COUNT(*) AS page_edits
FROM enwiki_p.revision JOIN enwiki_p.actor ON actor_id=rev_actor JOIN enwiki_p.user ON user_id=actor_user
WHERE rev_page=(SELECT page_id FROM enwiki_p.page WHERE page_namespace=5 AND page_title='WikiProject_COVID-19')
AND (user_editcount < 100 OR user_registratio... | {"connection_id": 17448179} | null |
Hewiki fair use unused pictures 1 | null | use hewiki_p; select concat('# [[:קובץ:', replace(page_title, "_", " "), ']]') as Suspicious_file_title from page as p1 join image on exists
(select * from categorylinks as cl1 where cl_from = page_id and (cl_to = "ויקיפדיה_-_תמונות_שימוש_הוגן" or exists (select * from page as
p2 where p2.page_namespace = 14 and p2.pag... | {"resultsets": [{"rowcount": 1, "headers": ["\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645", "recent_user_editcount", "user_editcount"]}], "runningtime": "3.37"} | null |
Subcategories of all categories in Category:Stub categories | null | select replace(cl_to, '_', ' ') as Category, replace(page_title, '_', ' ') as Subcategory
from enwiki_p.categorylinks join enwiki_p.page
on cl_from = page_id
where cl_to in (SELECT page_title from enwiki_p.categorylinks join enwiki_p.page
on cl_from = page_id
where cl_to = 'Stub_categori... | {"runningtime": "0.54", "resultsets": [{"headers": ["pl_title"], "rowcount": 38}]} | null |
dewiki_p ns0 redirect=0 | null | USE dewiki_p;
SELECT count(page_id)
FROM page
WHERE page_is_redirect = 0
AND page_namespace = 0 | {"resultsets": [{"rowcount": 0, "headers": ["\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645", "recent_user_editcount", "user_editcount"]}], "runningtime": "78.13"} | null |
dewiki_p ns0 redirect=1 | null | USE dewiki_p;
SELECT count(page_id)
FROM page
WHERE page_is_redirect = 1
AND page_namespace = 0 | {"connection_id": 27827507} | null |
dewiki_p ns0 | null | USE dewiki_p;
SELECT count(page_id)
FROM page
WHERE page_namespace = 0 | {"connection_id": 17524683} | null |
پر ویرایشترین کاربران با ابزار اشتباهیاب | null | USE fawiki_p;
SELECT concat('[[user:',rev_user_text,']]') as user_name, COUNT(rev_timestamp) AS revisions
FROM revision join page
WHERE page_id=rev_page and page_namespace=0
and rev_comment LIKE '%[[وپ:اشتباه|اشتباهیاب]]%' GROUP BY rev_user_text order by 2 DESC; | {"connection_id": 17529819} | null |
پر ویرایشترین کاربران با ابزار اشتباهیاب | null | USE fawiki_p;
SELECT concat('[[user:',rev_user_text,']]') as user_name, COUNT(rev_timestamp) AS revisions
FROM revision join page
WHERE page_id=rev_page and page_namespace=0
and rev_comment LIKE '%[[وپ:اشتباه|اشتباهیاب]]%' GROUP BY rev_user_text order by 2 DESC; | {"connection_id": 27837450} | null |
sortkey prefix صفحات_توضيح_بها_وصلات_لتحويلات | null | use arwiki_p;
select page_title, cl_sortkey_prefix, COUNT(*)
#page_namespace, page_title, cl_sortkey_prefix, COUNT(*)
from categorylinks join page
on cl_from = page_id
where cl_to = "صفحات_توضيح_بها_وصلات_لتحويلات"
group by cl_sortkey_prefix having count(*) > 1
ORDER BY COUNT(*) DESC
#imit 100
; | {"runningtime": "0.13", "resultsets": [{"headers": ["page_id", "page_title", "page_restrictions", "page_is_redirect", "page_latest", "page_lang"], "rowcount": 10}]} | null |
sortkey prefix صفحات_توضيح_بها_وصلات_حمراء | null | use arwiki_p;
select page_title, cl_sortkey_prefix, COUNT(*)
#page_namespace, page_title, cl_sortkey_prefix, COUNT(*)
from categorylinks join page
on cl_from = page_id
where cl_to = "صفحات_توضيح_بها_وصلات_حمراء"
group by cl_sortkey_prefix having count(*) > 1
ORDER BY COUNT(*) DESC
#imit 100
; | {"resultsets": [{"rowcount": 2, "headers": ["day", "revisions"]}], "runningtime": "187.66"} | null |
find pagelinks title LIKE '%ttp%' | null | USE enwiki_p;
SELECT CONCAT ("draft:",page_title,"")
FROM page AS page
LEFT JOIN pagelinks as pl ON page_id=pl_from
WHERE page_namespace =118
AND pl_title LIKE "Estonia"
#cat_title LIKE '%by_quantity%'
#AND page_len >0
#AND cat_title NOT LIKE "Images_from_the_Geograph_British_Isles_project_needing_categories%"
#(ca... | {"resultsets": [{"rowcount": 10, "headers": ["page_id", "page_title", "page_restrictions", "page_is_redirect", "page_latest", "page_lang", "cl_to", "cl_timestamp", "cl_type", "cat_pages"]}], "runningtime": "0.18"} | null |
redirect table count | null | USE zhwiki_p;
SELECT rd_namespace, COUNT(*) AS `count`
FROM redirect
GROUP BY rd_namespace | {"resultsets": [{"rowcount": 1, "headers": ["user_id", "user_name", "user_real_name", "user_password", "user_newpassword", "user_email", "user_options", "user_touched", "user_token", "user_email_authenticated", "user_email_token", "user_email_token_expires", "user_registration", "user_newpass_time", "user_editcount", "... | null |
T55539 | null | use enwiki_p;
select count(*) num, page_id, page_title, page_namespace from page, geo_tags
where gt_page_id=page_id and gt_primary=1
group by page_id having num>1 order by num desc; | {"resultsets": [{"rowcount": 10, "headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"]}], "runningtime": "0.10"} | null |
pl.wiki Coronavirus pages editing stats | null | USE plwiki_p;
SELECT COUNT(*),page_title,LEFT(rev_timestamp,8) FROM revision JOIN page ON rev_page=page_id
WHERE page_title in ('Pandemia_wirusa_SARS-CoV-2_w_Polsce','Koronawirusy','COVID-19')
GROUP BY page_title,LEFT(rev_timestamp,8); | {"runningtime": "0.32", "resultsets": [{"headers": ["page_title"], "rowcount": 23}]} | null |
dewiki Subpage | null | USE dewiki_p;
SELECT page_title
FROM page, templatelinks
WHERE page_namespace = 14
AND page_id = tl_from
AND tl_namespace = 10
AND tl_from_namespace = 14
AND tl_title = 'Subpage'
AND page_title NOT REGEXP '^(Wikipedia:|!Hauptkategorie)' | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "COUNT(p.page_title)"]}], "runningtime": "0.33"} | null |
dewiki ns14 tl Wikiquote | null | USE dewiki_p;
SELECT page_title
FROM page, templatelinks
WHERE page_namespace = 14
AND page_id = tl_from
AND tl_namespace = 10
AND tl_from_namespace = 14
AND tl_title = 'Wikiquote' | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "rev_id", "COUNT(*)"]}], "runningtime": "0.38"} | null |
dewiki ns14 tl Wiktionary | null | USE dewiki_p;
SELECT page_title
FROM page, templatelinks
WHERE page_namespace = 14
AND page_id = tl_from
AND tl_namespace = 10
AND tl_from_namespace = 14
AND tl_title = 'Wiktionary' | {"resultsets": [{"rowcount": 11, "headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang", "rev_id", "rev_page", "rev_text_id", "rev_comment_id", "rev_a... | null |
dewiki ns14 tl Wikisource | null | USE dewiki_p;
SELECT page_title
FROM page, templatelinks
WHERE page_namespace = 14
AND page_id = tl_from
AND tl_namespace = 10
AND tl_from_namespace = 14
AND tl_title = 'Wikisource' | {"runningtime": "0.58", "resultsets": [{"headers": ["page_title"], "rowcount": 11}]} | null |
dewiki ns14 tl any | null | USE dewiki_p;
SELECT tl_title, count(page_id) as qty
FROM page, templatelinks
WHERE page_namespace = 14
AND page_id = tl_from
AND tl_namespace = 10
AND tl_from_namespace = 14
GROUP BY tl_title
ORDER BY qty DESC | {"resultsets": [{"rowcount": 11, "headers": ["page_title"]}], "runningtime": "0.32"} | null |
draft topic for ptwikipedia | null | USE ptwiki_p;
SELECT * FROM logging
WHERE log_type = "delete"
LIMIT 10; | {"runningtime": "0.58", "resultsets": [{"headers": ["Page title", "Date", "Edit count"], "rowcount": 2}]} | null |
draftquality_variables.sql | null | SELECT
page_title,
rev_id,
rev_timestamp AS creation_timestamp,
FALSE AS archived,
"OK" AS draft_quality
FROM revision
INNER JOIN page ON
rev_page = page_id WHERE
rev_timestamp BETWEEN @start AND @end AND
rev_parent_id = 0 AND
page_namespace = 0
LIMIT 10
UNION ALL
SELECT
ar_title AS page_title,
... | {"runningtime": "0.45", "resultsets": [{"headers": ["Page title", "Date", "Edit count"], "rowcount": 2}]} | null |
(temp for the moment), fork | null | use wikidatawiki_p;
SELECT
'label',
wbxl_language as term_language,
count(*)
FROM wbt_item_terms
INNER JOIN wbt_term_in_lang ON wbit_term_in_lang_id = wbtl_id # E
INNER JOIN wbt_text_in_lang ON wbtl_text_in_lang_id = wbxl_id # C
INNER JOIN wbt_text ON wbxl_text_id = wbx_id # D
WHERE wbxl_language in (
... | {"resultsets": [{"rowcount": 1, "headers": ["Page title", "Date", "Edit count"]}], "runningtime": "0.66"} | null |
Query for Sunfyre | null | use fawiki_p;
SELECT
page_title,
STR_TO_DATE(LEFT(rev_timestamp, 8), '%Y%m%d')
FROM page
JOIN revision
ON page_latest = rev_id
WHERE
page_namespace = 0
AND page_is_redirect = 0
AND rev_timestamp < '20130101000000' | {"resultsets": [{"rowcount": 15579, "headers": ["pp_value", "page_title", "tl_namespace", "tl_title"]}], "runningtime": "1018.47"} | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"runningtime": "145.18", "resultsets": [{"headers": ["page_namespace", "page_title", "pl_title", "ips_site_page"], "rowcount": 5000}]} | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"connection_id": 18332000} | null |
(temp for the moment) | null | use wikidatawiki_p;
# stat1007 73 rows in set (4 min 15.96 sec)
SELECT
wby_name as term_type,
term_language,
terms
FROM (
SELECT
wbtl_type_id as term_type_id,
wbxl_language as term_language,
count(*) as terms
FROM wbt_item_terms
INNER JOIN wbt_term_in_lang ON wbit_term_in_lang_id = wbtl_i... | {"resultsets": [{"rowcount": 1, "headers": ["Page title", "Date", "Edit count"]}], "runningtime": "0.31"} | null |
(temp for the moment) | null | use wikidatawiki_p;
# First run....
# as, Executed in 787.56 seconds as of Tue Mar 24 2020.
# bn, Executed in 1809.17 seconds as of Tue Mar 24 2020.
SELECT
wby_name as term_type,
term_language,
terms
FROM (
SELECT
wbtl_type_id as term_type_id,
wbxl_language as term_language,
count(*) as terms... | {"resultsets": [{"rowcount": 11, "headers": ["time", "user", "Namespace", "page", "comment"]}], "runningtime": "355.19"} | null |
Random sample of 10k edits to Portuguese Wikipedia | null | USE ptwiki_p;
SELECT rev_id
FROM revision
WHERE
rev_timestamp BETWEEN "20160524" AND "20170524"
ORDER BY RAND()
LIMIT 10000; | {"resultsets": [{"rowcount": 34, "headers": ["concat('* [[:\u0646\u0642\u0627\u0634_\u0627\u0644\u062a\u0635\u0646\u064a\u0641:',page_title,']]')"]}], "runningtime": "6.15"} | null |
pt wiki query: part 1 | null | USE ptwiki_p;
SELECT
page_title,
rev_id,
rev_timestamp as creation_timestamp,
FALSE as archived,
"Ok" as draft_quality
FROM revision
INNER JOIN page ON rev_page = page_id
WHERE
rev_parent_id = 0 AND page_namespace = 0
LIMIT 100; | {"resultsets": [{"rowcount": 0, "headers": ["page_title", "Comment", "Date"]}], "runningtime": "2.94"} | null |
Hewiki fair use unused pictures 1 | null | use hewiki_p; select concat('# [[:קובץ:', replace(page_title, "_", " "), ']]') as Suspicious_file_title from page as p1 join image on exists
(select * from categorylinks as cl1 where cl_from = page_id and (cl_to = "ויקיפדיה_-_תמונות_שימוש_הוגן" or exists (select * from page as
p2 where p2.page_namespace = 14 and p2.pag... | {"runningtime": "3.01", "resultsets": [{"headers": ["page_title", "Comment", "Date"], "rowcount": 15}]} | null |
table comment in ptwiki_p | null | USE ptwiki_p;
SELECT * from logging
WHERE log_type LIKE 'delete'
LIMIT 10; | {"resultsets": [{"rowcount": 33, "headers": ["page_title"]}], "runningtime": "6.29"} | null |
pt wiki query: part 2 | null | USE ptwiki_p;
SELECT * FROM archive
LEFT JOIN logging speedy_delete ON
log_namespace = ar_namespace AND
log_title = ar_title AND
log_type = 'delete' AND
log_action = 'delete' AND
log_timestamp > ar_timestamp
LIMIT 10; | {"resultsets": [{"rowcount": 13, "headers": ["Field", "Type", "Null", "Key", "Default", "Extra"]}], "runningtime": "0.13"} | null |
Hewiki fair use unused pictures 1 | null | use hewiki_p; select concat('# [[:קובץ:', replace(page_title, "_", " "), ']]') as Suspicious_file_title from page as p1 join image on exists
(select * from categorylinks as cl1 where cl_from = page_id and (cl_to = "ויקיפדיה_-_תמונות_שימוש_הוגן" or exists (select * from page as
p2 where p2.page_namespace = 14 and p2.pag... | {"connection_id": 19121741} | null |
Validated-Fathima-தனித்_தமிழ்க்_கிளர்ச்சி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.15"} | null |
Validated-Fathima_kaniyam-தாய்லாந்து | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"runningtime": "0.10", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 1}]} | null |
Validated-Fathima_kaniyam-தாய்லாந்து | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.12"} | null |
Validated-Deepa_arul_kaniyam-பலம்_தரும்_பத்து_நிமிடப்_பயிற்சிகள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.13"} | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"runningtime": "0.09", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 1}]} | null |
أكثر المستخدمين تعديلًا في مشروع ويكي طب | null | use arwiki_p;
select actor_name, count(rev_id)
from revision
inner join actor
on actor_id = rev_actor
inner join page p1
on p1.page_id = rev_page
where (select p2.page_id from page p2
where p2.page_title = p1.page_title
and p2.page_namespace = (p1.page_namespace+1)
and p2.page_is_redirect = 0) ... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.08"} | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.12"} | null |
test | null | USE dewiki_p;
SELECT pl.pl_title AS title, COUNT(pl.pl_from) AS count
FROM pagelinks pl INNER JOIN page p ON (p.page_title = pl.pl_title AND p.page_namespace = pl.pl_namespace)
INNER JOIN categorylinks cl ON (cl.cl_from = p.page_id AND cl.cl_to = 'Begriffsklärung')
WHERE pl.pl_namespace = 0
AND pl.pl_from_namespa... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.11"} | null |
Liczba edycji w plwiktionary od 2017 | null | USE plwiktionary_p;
SET @w:=0;
SELECT @w:=@w+1 AS 'Lp',`Użytkownik`,`Liczba edycji`
FROM (SELECT user_name AS 'Użytkownik', COUNT(*) AS 'Liczba edycji'
FROM actor JOIN revision ON rev_actor=actor_id JOIN user ON actor_user=user_id JOIN page ON rev_page=page_id
WHERE rev_timestamp >= '20170101000000' AND
... | {"resultsets": [{"rowcount": 1562, "headers": ["rc_title", "rc_this_oldid", "min_fr_rev_id", "first_fr_rev_id", "rc_timestamp", "ct"]}], "runningtime": "6.18"} | null |
Liczba edycji w plwikisource od 2017 | null | USE plwikisource_p;
SET @w:=0;
SELECT @w:=@w+1 AS 'Lp',`Użytkownik`,`Liczba edycji`
FROM (SELECT user_name AS 'Użytkownik', COUNT(*) AS 'Liczba edycji'
FROM actor JOIN revision ON rev_actor=actor_id JOIN user ON actor_user=user_id JOIN page ON rev_page=page_id
WHERE rev_timestamp >= '20170101000000' AND
... | {"resultsets": [{"rowcount": 12, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 4, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 6, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "3.28"} | null |
Pages created by Content Translation in Lithuanian Wikipedia | null | use ltwiki_p;
set @change_tag_id = (
select
ctd_id
from
change_tag_def
where
ctd_name = 'contenttranslation'
);
select
distinct(rev_page),
page_title
from
revision,
page
where
rev_page = page_id and
page_namespace = 0 and
rev_id in (
select ct_rev_id
from change_tag
w... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.11"} | null |
USA links | null | SELECT
pl_title AS title,
COUNT(1) AS count
FROM
pagelinks
WHERE
pl_title = "United_States"
OR pl_title = "'merica"
OR pl_title = "'murica"
OR pl_title = "(US)"
OR pl_title = "(USA)"
OR pl_title = "Amarica"
OR pl_title = "Amercia"
OR pl_title = "America"
OR pl_title = "America,_United_S... | {"resultsets": [{"rowcount": 12, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 4, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 7, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "1.70"} | null |
Deleted pages by deletion reason ptwiki - 2020 | null | USE ptwiki_p;
SELECT
SUM(comment_text REGEXP "WP:ER#ER[0-9]+\\|") as speedy_deleted_articles,
SUM(comment_text REGEXP "WP:ER#ER20\\|") as unsuitable_articles,
SUM(comment_text REGEXP "WP:ER#ER6\\|") as spam_articles,
COUNT(*) as deleted_articles
FROM archive
LEFT JOIN logging speedy_delete ON
log_namespace =... | {"runningtime": "0.65", "resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 11}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 4}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 6}]} | null |
ER6 | null | USE ptwiki_p;
SELECT
ar_title AS page_title,
ar_rev_id AS rev_id,
ar_timestamp AS creation_timestamp,
True AS archived,
IF(comment_text REGEXP "WP:ER#ER20\\|", "unsuitable",
IF(comment_text REGEXP "WP:ER#ER6\\|", "spam", "OK")) AS draft_quality
FROM archive
INNER JOIN logging speedy_delete ON
log_n... | {"resultsets": [{"rowcount": 11, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 4, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 6, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "0.72"} | null |
ER20 | null | USE ptwiki_p;
SELECT
ar_title AS page_title,
ar_rev_id AS rev_id,
ar_timestamp AS creation_timestamp,
TRUE AS archived,
IF(comment_text REGEXP "WP:ER#ER20\\|", "unsuitable",
IF(comment_text REGEXP "WP:ER#ER6\\|", "spam", "OK")) AS draft_quality
FROM archive
INNER JOIN logging speedy_delete ON
log_n... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.12"} | null |
WikiGap 2020 New | List of articles created for the Investigative Journalism Week on UkWiki | USE ukwiki_p;
SET SESSION group_concat_max_len = 10000;
SELECT @rownum := @rownum + 1 AS rank,
IFNULL(actor_name, 'Всього'),
created,
total_len,
articles
FROM
(
SELECT
CONCAT('[[Користувач:', actor_name, '|', actor_name, ']]') as actor_name,
COUNT(1) AS created,
SUM(article.page_len) as... | {"resultsets": [{"rowcount": 17, "headers": ["Menesis", "Raksti"]}], "runningtime": "7.99"} | null |
Wikidata items without Latvian label [new] | null | select now();
use wikidatawiki_p;
select ips_item_id, ips_site_page, (select term_text from wb_terms where concat('Q',i.ips_item_id) = term_full_entity_id and term_language='en' and term_type='label' limit 1) as 'en'
from wb_items_per_site i
#join wb_terms on ips_item_id = term_entity_id and term_type = "label"
where... | {"runningtime": "0.78", "resultsets": [{"headers": ["el_to", "page_title"], "rowcount": 154}]} | null |
Articles in certain category by their size | null | SELECT P.page_title, P.page_len
FROM ukwiki_p.page P
JOIN ukwiki_p.page PT ON P.page_title=PT.page_title
JOIN ukwiki_p.categorylinks CL ON PT.page_id=CL.cl_from
WHERE P.page_namespace=0 AND PT.page_namespace=1
AND CL.cl_to="Статті_WikiGap_2020"
ORDER BY P.page_len DESC | {"resultsets": [{"rowcount": 1, "headers": ["ss_total_edits"]}, {"rowcount": 1, "headers": ["SUM(user_editcount)"]}, {"rowcount": 804, "headers": ["userid", "name", "editcount", "admin", "bot"]}], "runningtime": "5.54"} | null |
Wikidata - tables - wb_terms - describe table, sample data | null | use wikidatawiki_p;
SELECT CURRENT_DATE;
DESCRIBE wb_terms;
SELECT DISTINCT term_entity_type from wb_terms;
SELECT * from wb_terms WHERE term_entity_id = 5 AND term_language = 'en' LIMIT 10;
# SELECT term_entity_type, count(*) FROM wb_terms GROUP BY term_entity_type;
SELECT term_type, count(*) FROM wb_terms... | {"resultsets": [{"rowcount": 870, "headers": ["user_name", "user_editcount"]}, {"rowcount": 191, "headers": ["Name"]}], "runningtime": "1092.38"} | null |
990101 mp1 # of DAB pages with direct link (pages) | null | USE fawiki_p;
SELECT COUNT(DISTINCT(page_title))
FROM pagelinks JOIN page
WHERE page_is_redirect=0
AND page_namespace=0
AND page_id IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation')
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redirect=0)
AND pl_title=page_title
AND pl_nam... | {"runningtime": "0.49", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 2}]} | null |
990101 mp1 # of direct links to DAB pages (pages) | null | USE fawiki_p;
SELECT COUNT(page_id)
FROM pagelinks JOIN page
WHERE page_is_redirect=0
AND page_namespace=0
AND page_id IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation'
)
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redirect=0
)
AND pl_title=page_title
AND pl_namespace ... | {"resultsets": [{"rowcount": 2, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.54"} | null |
990101 mp1 # of DAB pages | null | USE fawiki_p;
SELECT COUNT(page_title)
FROM page
WHERE page_id IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation'); | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.09"} | null |
990101 mp1 # of redirected links to DAB pages (pages) | null | USE fawiki_p;
SELECT COUNT(pl_title)
FROM pagelinks
LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title
LEFT JOIN redirect ON page_id = rd_from
WHERE page_is_redirect = 1
AND page_namespace = 0
AND rd_namespace = 0
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redirect=0
AND ... | {"resultsets": [{"rowcount": 3, "headers": ["pl_from", "page_title"]}], "runningtime": "4.78"} | null |
990101 mp1 # of DAB pages with redirected link (pages) | null | USE fawiki_p;
SELECT COUNT(DISTINCT(page_title))
FROM pagelinks
LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title
LEFT JOIN redirect ON page_id = rd_from
WHERE page_is_redirect = 1
AND page_namespace = 0
AND rd_namespace = 0
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redir... | {"resultsets": [{"rowcount": 2, "headers": ["page_title", "page_namespace"]}], "runningtime": "0.19"} | null |
990101 owp1 All orphan articles | null | USE fawiki_p;
SELECT concat('# [[',p1.page_title,']]')
FROM page AS p1
WHERE p1.page_is_redirect = 0
AND p1.page_namespace = 0
# not a DAB page
AND p1.page_id NOT IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation'
)
# not receiving direct link
AND NOT (
p1.page_title IN (
SELECT pl1.... | {"runningtime": "0.10", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 1}]} | null |
990101 # of fa articles | null | USE fawiki_p;
SELECT COUNT(page_id)
FROM page
WHERE page_is_redirect = 0
AND page_namespace = 0; | {"resultsets": [{"rowcount": 0, "headers": ["Page title", "Date", "Edit count"]}], "runningtime": "0.53"} | null |
Links to [[WP:Sockpuppet investigations/Osatmusic]] | null | select page_namespace, page_title
from pagelinks, page
where
pl_namespace = 4
and pl_title = 'Sockpuppet_investigations/Osatmusic'
and pl_from = page_id
;
| {"resultsets": [{"rowcount": 130, "headers": ["pl_title", "page_id"]}], "runningtime": "0.43"} | null |
Wikipedian viimeisimmät "rvv"-muokkaukset | null | use fiwiki_p;
SELECT
comment_text
FROM
revision,
comment_revision
WHERE
rev_comment_id=comment_id
AND comment_text LIKE "%rvv%"
LIMIT 972
| {"runningtime": "0.10", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 1}]} | null |
Proofread-DeepaArulKaniyam-book2-கலீலியோவின்_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 639, "headers": ["page_title"]}], "runningtime": "19.50"} | null |
Proofread-DeepaArulKaniyam-book2-கலீலியோவின்_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"runningtime": "20.69", "resultsets": [{"headers": ["page_title"], "rowcount": 30}]} | null |
Proofread-shobia-பலம்_தரும்_பத்து_நிமிடப்_பயிற்சிகள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 100, "headers": ["page_title", "page_count"]}], "runningtime": "74.44"} | null |
Proofread-Iswarya kaniyam-ஆல்பர்ட்_ஐன்ஸ்டைனின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 32, "headers": ["user_id", "user_name", "user_real_name", "user_password", "user_newpassword", "user_email", "user_options", "user_touched", "user_token", "user_email_authenticated", "user_email_token", "user_email_token_expires", "user_registration", "user_newpass_time", "user_editcount", ... | null |
Proofread-Iswarya kaniyam-இயல்_தமிழ்_இன்பம் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"runningtime": "0.10", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 1}]} | null |
Validated-Fathima-தனித்_தமிழ்க்_கிளர்ச்சி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"runningtime": "0.14", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 1}]} | null |
Validated-Deepa_arul_kaniyam-பலம்_தரும்_பத்து_நிமிடப்_பயிற்சிகள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"runningtime": "0.10", "resultsets": [{"headers": ["page_title", "page_namespace"], "rowcount": 1}]} | null |
Validated-Deepa_arul_kaniyam- கவியரசர்_இரவீந்திரநாத்_தாகூர் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"runningtime": "22.30", "resultsets": [{"headers": ["pl_from", "page_title"], "rowcount": 2}]} | null |
Validated-Deepa_arul_kaniyam- ஆல்பர்ட்_ஐன்ஸ்டைனின்_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"resultsets": [{"rowcount": 0, "headers": ["pl_from", "page_title"]}], "runningtime": "8.09"} | null |
fr | null | USE frwiki_p;
SELECT CONCAT('[[:fr:',pl_title,'|',pl_title,"]]") as "p" , COUNT(*) AS articles
FROM pagelinks , page
WHERE pl_from_namespace = 0
AND pl_namespace = 100
and page_namespace = 100
and page_title = pl_title
and page_id not in (
select ll_from from langlinks
where ll_lang = "ar"
and ll_... | {"resultsets": [{"rowcount": 97, "headers": ["CONCAT('*{{lf|', REPLACE(REPLACE(p.page_title, '\"', '**DOUBLEQUOTE**'), '_', ' '), '}}')"]}], "runningtime": "58.29"} | null |
Large statement removals on Wikidata | null | USE wikidatawiki_p;
SELECT rc_timestamp, rc_namespace, rc_title, rc_this_oldid, rc_old_len, rc_new_len, actor_name, comment_text
FROM recentchanges
JOIN comment_recentchanges ON comment_id = rc_comment_id
JOIN actor_recentchanges ON rc_actor = actor_id
WHERE rc_old_len > 1000 AND rc_old_len - 1000 > rc_new_len
AND rc_n... | {"resultsets": [{"rowcount": 50, "headers": ["ar_id", "ar_namespace", "ar_title", "ar_text", "ar_comment_id", "ar_actor", "ar_timestamp", "ar_minor_edit", "ar_flags", "ar_rev_id", "ar_text_id", "ar_deleted", "ar_len", "ar_page_id", "ar_parent_id", "ar_sha1", "ar_content_model", "ar_content_format", "actor_id", "actor_u... | null |
sortkey prefix صفحات_توضيح_بها_وصلات_لتحويلات | null | use arwiki_p;
select page_title, cl_sortkey_prefix, COUNT(*)
#page_namespace, page_title, cl_sortkey_prefix, COUNT(*)
from categorylinks join page
on cl_from = page_id
where cl_to = "صفحات_توضيح_بها_وصلات_لتحويلات"
group by cl_sortkey_prefix having count(*) > 1
ORDER BY COUNT(*) DESC
#imit 100
; | {"runningtime": "0.92", "resultsets": [{"headers": ["page_title"], "rowcount": 328}]} | null |
sortkey prefix صفحات_توضيح_بها_وصلات_حمراء | null | use arwiki_p;
select page_title, cl_sortkey_prefix, COUNT(*)
#page_namespace, page_title, cl_sortkey_prefix, COUNT(*)
from categorylinks join page
on cl_from = page_id
where cl_to = "صفحات_توضيح_بها_وصلات_حمراء"
group by cl_sortkey_prefix having count(*) > 1
ORDER BY COUNT(*) DESC
#imit 100
; | {"resultsets": [{"rowcount": 331, "headers": ["page_title"]}], "runningtime": "1.07"} | null |
Validated-Deepa_arul_kaniyam- ஆல்பர்ட்_ஐன்ஸ்டைனின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"connection_id": 20223671} | null |
Validated-Fathima_kaniyam-கலீலியோவின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"resultsets": [{"rowcount": 1, "headers": ["actor_name", "edits"]}], "runningtime": "0.74"} | null |
Validated-Fathima_kaniyam-தாய்லாந்து | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"runningtime": "41.75", "resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_page_id"], "rowcount": 1646}]} | null |
BASIC TEST | null | SELECT page_namespace, page_is_new, COUNT(*)
FROM revision
JOIN actor ON actor_id = rev_actor
JOIN page ON rev_page = page_id AND page_namespace IN (0,1) AND page_is_redirect = 1
JOIN centralauth_p.globaluser ON gu_name = actor_name
WHERE gu_home_db = 'enwiki' AND rev_len > '2000' AND actor_name LIKE 'Ada%'
GROUP BY pa... | {"resultsets": [{"rowcount": 17, "headers": ["img_name"]}], "runningtime": "13.13"} | null |
Pages edited by a cohort | ...during a specified time period. Last run November 26, 2014.
See comments (marked with a "#") for customization instructions | #to customize your query, follow the numbers to the instructions
#listed below the query. contact jmorgan@wikimedia.org if you need help.
SELECT DISTINCT(page_id), page_title
#1
FROM wikidatawiki_p.page p JOIN
#2
wikidatawiki_p.revision r
ON p.page_id = r.rev_page
WHERE p.page_namespace IN ('0')
AND r.rev_user_text ... | {"runningtime": "0.43", "resultsets": [{"headers": ["Page title", "Date", "Edit count"], "rowcount": 1}]} | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.