title stringlengths 1 212 | description stringlengths 1 4.39k ⌀ | query stringlengths 1 65.5k ⌀ | extra_info stringlengths 18 31.6k | wikidb stringlengths 4 26 ⌀ |
|---|---|---|---|---|
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী | ১৫-০২-২০১৯ অনুসারে | USE bnwiki_p;
SELECT
CONCAT("[[ব্যবহারকারী:",user_name,"|",user_name,"]]") AS user_name,
COUNT(rev_id) AS মোট_নিবন্ধ
FROM user INNER JOIN revision
ON revision.rev_user = user.user_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_timestamp <... | {"connection_id": 62808943} | null |
Mobile edits per month on bnwiki | null | USE plwiki_p;
SELECT LEFT(rev_timestamp, 6) AS month, COUNT(*) AS counting
FROM revision_userindex
INNER JOIN tag_summary
ON ts_rev_id = rev_id AND ts_tags LIKE '%mobile%'
GROUP BY month; | {"runningtime": "0.22", "resultsets": [{"rowcount": 1, "headers": ["ctd_id"]}]} | null |
Pages edited by a user | Useful to evaluate usefulness of contributions from pageviews pov | use tewiki_p;
SELECT
page_title,
actor_name,
MAX(revision.rev_timestamp) as last_edit,
COUNT(*) as Edits
FROM page
LEFT JOIN revision
ON page_id = rev_page
LEFT JOIN revision_actor_temp
ON revactor_rev=revision.rev_id
LEFT JOIN actor
ON revactor_actor = actor.actor_id
WHERE page_namespace=0 AN... | {"connection_id": 62877194} | 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": "491.47", "resultsets": [{"rowcount": 25, "headers": ["page_title", "el_to"]}]} | 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": 68262172} | 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": "13.48", "resultsets": [{"rowcount": 1, "headers": ["count(distinct(cl_to))"]}]} | null |
Oldest users on sqwiki | null | USE sqwiki_p;
SELECT user_name, user_id FROM user ORDER BY user_id; | {"connection_id": 68962775} | null |
WikiDaheim users 2019 (by first revision, by uploader) | null | USE commonswiki_p;
SELECT /* SLOW_OK */ DISTINCT actor_name AS user, COUNT(image.img_name) as img_count
FROM actor, revision, image, page, categorylinks
WHERE page.page_id=categorylinks.cl_from
AND actor.actor_id = revision.rev_actor
AND image.img_name = page.page_title
and revision.r... | {"runningtime": "99.02", "resultsets": [{"rowcount": 28884, "headers": ["sortie"]}]} | 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": "178.16", "resultsets": [{"rowcount": 51, "headers": ["page_title"]}]} | null |
Hewiki multiwiki missing articles | null | use ruwiki_p;
select (select count(ll_lang) from langlinks
where ll_from = page_id) + 1 as "number", (select ll_title from langlinks where ll_from = page_id and ll_lang = "en") as "name"
from page
where page_namespace = 0
and (select count(ll_lang) from langlinks where ll_from = page_id) > 29
and exists (select... | {"connection_id": 71277995} | null |
externallinks to tools.wmflabs.org | null | select count(distinct el_from, el_to) from externallinks where el_to like '%tools.wmflabs.org%' | {"connection_id": 71530177} | null |
Список ботів за кількістю започаткованих статей | null | USE ukwiki_p;
SELECT @rownum := @rownum + 1 AS rank,
user_name,
created,
percents
FROM
(
SELECT
CONCAT('[[Користувач:', rev_user_text, '|]]') as user_name,
COUNT(1) AS created,
CONCAT(
ROUND(
COUNT(1) /
(SELECT COUNT(1)
FROM page
... | {"runningtime": "0.18", "resultsets": [{"rowcount": 23, "headers": ["page_title", "user_name", "Edits"]}]} | null |
Validated-theEmployeeKaniyam-book9-ArivuKanigal | 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.34", "resultsets": [{"rowcount": 0, "headers": ["user", "img_count"]}]} | null |
Proofread-Divya-ஔவைதுரைசாமிப்பிள்ளை | 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": 75306174} | null |
Proofread-Abirami-ஔவைதுரைசாமிப்பிள்ளை | 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": 75412586} | null |
Proofread-MuthulakshmiKaniyam-கல்கிமுதல்அகிலன்வரை | 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": 75465283} | null |
Proofread-The employee 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": "10.62", "resultsets": [{"rowcount": 10, "headers": ["rd_from", "rd_title", "ptrp_page_id", "ptrp_reviewed", "page_id", "page_title", "page_namespace"]}]} | null |
Proofread-The employee 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": "29.12", "resultsets": [{"rowcount": 10, "headers": ["rd_from", "rd_title", "ptrp_page_id", "ptrp_reviewed", "page_id", "page_title", "page_namespace"]}]} | null |
Proofread--கல்கிமுதல்அகிலன்வரை | 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": "28.03", "resultsets": [{"rowcount": 5099, "headers": ["Source page_id", "Source page_title", "Target"]}]} | null |
Proofread-Arun-இந்தியப் பெருங்கடல் | 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": "62.75", "resultsets": [{"rowcount": 5093, "headers": ["Source page_id", "Source page_title", "Target"]}]} | null |
Proofread-Divya-இதழியல்கலைஅன்றும்இன்றும் | 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": "5.76", "resultsets": [{"rowcount": 1643, "headers": ["CONCAT ('Fail:',page_title,'')"]}]} | null |
Validated-TheEmployeeKaniyam-இதழியல்கலைஅன்றும்இன்றும் | 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.07", "resultsets": [{"rowcount": 0, "headers": ["CONCAT ('Fail:',page_title,'')"]}]} | null |
Validated-DeepaArul-அந்த நாய்க்குட்டி எங்கே | 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": "443.44", "resultsets": [{"rowcount": 1157, "headers": ["sortie"]}]} | null |
Proofread-TheEmployeeKaniyam-அந்த நாய்க்குட்டி எங்கே | 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.12", "resultsets": [{"rowcount": 0, "headers": ["TimedText", "File"]}]} | null |
মোট সম্পাদনার সংখ্যা | ০২-০৯-২০১৮ | USE bnwiki_p;
SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount
FROM user
WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot')
AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)"
ORDER BY user_editcount DESC... | {"connection_id": 77240160} | null |
rowiki users having over 625 edits + all bots, sorted by edit count | This takes into account bots that don't have official bot status, but are nonetheless members of Categorie:Roboți Wikipedia. It also tells whether an account is an admin or a bot. | USE rowiki_p;
SELECT ss_total_edits FROM site_stats;
SELECT SUM(user_editcount) FROM user AS u
WHERE user_editcount <= 625;
SELECT *
FROM (
SELECT fi.id AS userid, fi.name AS name, fi.edits AS editcount,
CASE
WHEN fi.admin=1 OR se.admin=1 THEN 1
ELSE 0
END AS admin,
CASE
WHEN (fi.bot=1 AND fi.bot IS NOT... | {"connection_id": 77256223} | null |
GA/FA and GAN/FAC linked from July 31 | GA/FA and GAN/FAC linked from July 31 | SELECT
page_title #Faster than just selecting the page title and id, but only those are needed
FROM
page pg1
WHERE
pg1.page_namespace = 0 #Only care about articles
AND pg1.page_title IN ( #Where page is linked from a specified other page
SELECT
pl_title
FROM
pagelinks
WHERE
pl_from... | {"runningtime": "0.45", "resultsets": [{"rowcount": 1, "headers": ["user_name"]}]} | null |
Number of rangeblocks placed per sysop | null | select
count(*) as rangeblocks,
actor_name as sysop
from
ipblocks
join actor on ipb_by_actor = actor_id
where
ipb_user = 0
and ipb_address like "%/%"
group by
actor_name
order by
count(*) desc; | {"connection_id": 84654064} | null |
etwiki NS0 the sum of articles, average size | https://hu.wikipedia.org/wiki/Szerkesztő:Samat/A_magyar_Wikipédia_mérete | USE etwiki_p;
SELECT NOW() AS date, SUM(page_len)/(1024*1024) AS 'total (MB)', COUNT(page_id) AS articles, AVG(page_len) AS 'average (bait)'
FROM page
WHERE page_namespace = 0 AND page_is_redirect = 0; | {"runningtime": "0.83", "resultsets": [{"rowcount": 200, "headers": ["rev_timestamp", "rev_actor"]}]} | null |
find pagelinks title LIKE '%ttp%' | null | USE etwiki_p;
SELECT page_namespace, page_title, pl_namespace, pl_title
FROM pagelinks AS pl
JOIN page ON page_id = pl_from
WHERE pl_title LIKE '%http%'
OR pl_title LIKE '%Http%'
LIMIT 100; | {"runningtime": "17.70", "resultsets": [{"rowcount": 892, "headers": ["actor_name", "log_namespace", "cnt"]}]} | null |
Cryllic Script in Article Titles | null | USE etwiki_p;
select page_title from page where
page_namespace=0
and page_is_redirect=0
and (page_title like "%ɑ%"
or page_title like "%А%"
or page_title like "%Б%"
or page_title like "%В%"
or page_title like "%в%"
or page_title like "%Г%"
or page_title l... | {"runningtime": "0.65", "resultsets": [{"rowcount": 149, "headers": ["page_title"]}]} | null |
GA/FA and GAN/FAC linked from August 1 | GA/FA and GAN/FAC linked from August 1 | SELECT
page_title #Faster than just selecting the page title and id, but only those are needed
FROM
page pg1
WHERE
pg1.page_namespace = 0 #Only care about articles
AND pg1.page_title IN ( #Where page is linked from a specified other page
SELECT
pl_title
FROM
pagelinks
WHERE
pl_from... | {"runningtime": "0.50", "resultsets": [{"rowcount": 110, "headers": ["Tables_in_enwiki_p"]}]} | null |
Proofread-Arun-வரலாற்றுக்கு முன் வடக்கும் தெற்கும் | 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": "3.98", "resultsets": [{"rowcount": 5, "headers": ["rc_title", "rc_timestamp", "rc_this_oldid", "rc_last_oldid", "rc_actor", "rc_comment", "rc_old_len", "rc_new_len", "rc_new_len-rc_old_len"]}]} | null |
Proofread-Arun-வ. உ. .சி. முற்போக்கு இயக்கங்களின் முன்னோடி | 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": "1.04", "resultsets": [{"rowcount": 110, "headers": ["Tables_in_enwiki_p"]}]} | null |
Validated-TheEmployeeKaniyam-அறிவுக்_கனிகள் | 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": "14.31", "resultsets": [{"rowcount": 1, "headers": ["lang", "timestamp", "count"]}]} | null |
Proofread-Arun-ஆறுமுகமான_பொருள் | 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.23", "resultsets": [{"rowcount": 10, "headers": ["content_id", "content_size", "content_sha1", "content_model", "content_address"]}]} | null |
Pagine "A (B)" di cui non esiste la pagina "A" | null | USE etwiki_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 Targ... | {"connection_id": 90605066} | null |
Proofread-Muthulakshmi-சான்றோர்தமிழ் | 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.15", "resultsets": [{"rowcount": 10, "headers": ["table1_title", "table2_title"]}]} | null |
Validated-TheEmployeeKaniyam-மகாபாரதம்அறத்தின்குரல் | 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": "584.36", "resultsets": [{"rowcount": 154965, "headers": ["sortie"]}]} | null |
Disambigue linkate da un template | null | USE etwiki_p;
SELECT CONCAT('# [[', page_title, ']] (', COUNT(*), ')')
FROM page, pagelinks
WHERE pl_title = page_title
AND page_namespace = 0
AND page_is_redirect = 0
AND pl_namespace = 0
AND page_id IN
(SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation'
AND page_namespace = 0
AND page_is_redirect = 0... | {"runningtime": "750.66", "resultsets": [{"rowcount": 154965, "headers": ["sortie"]}]} | null |
Validated-TheEmployeeKaniyam-திருமுருகாற்றுப்படை-மூலம்உரை | 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.20", "resultsets": [{"rowcount": 3, "headers": ["page_title"]}]} | null |
Redirects connected to Wikidata on plwiki | null | USE etwiki_p;
SELECT page_title/*, pp_value*/
FROM (SELECT * FROM page WHERE page_is_redirect = 1) AS page
JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props
ON pp_page = page_id
WHERE page_namespace = 0
ORDER BY page_title, pp_value
LIMIT 99; | {"connection_id": 90990570} | null |
Validated-pavithra-பாரதியின்இலக்கியப்பார்வை | 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.37", "resultsets": [{"rowcount": 90, "headers": ["Tables_in_frwikiquote_p"]}]} | null |
(iswiki) Redirects to deleted pages | null | use etwiki_p;
SELECT page_title, rd_title, rd_namespace FROM redirect
JOIN page on page_id = rd_from
JOIN logging on rd_title = log_title AND log_type = 'delete'
WHERE rd_title NOT IN (
SELECT page_title FROM page
)
GROUP BY rd_from
LIMIT 99; | {"runningtime": "0.35", "resultsets": [{"rowcount": 3, "headers": ["Field", "Type", "Null", "Key", "Default", "Extra"]}]} | null |
Validated-Divya-பாரதியின்இலக்கியப்பார்வை | 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.21", "resultsets": [{"rowcount": 13, "headers": ["Field", "Type", "Null", "Key", "Default", "Extra"]}]} | null |
Count of WLM-UA Photo Competition participants 2012-2018 | WLM-UA Photo Competition participants 2012-2018
| use commonswiki_p;
SELECT count(distinct actor_name)
FROM revision r_prev
join categorylinks on rev_page = cl_from
join actor on rev_actor = actor_id and actor_user is not null
WHERE rev_parent_id = 0
and cl_to IN (
"Images_from_Wiki_Loves_Monuments_2012_in_Ukraine",
"Images_from_Wiki_Loves_Monuments_2013_in_Ukrai... | {"runningtime": "0.29", "resultsets": [{"rowcount": 0, "headers": ["pl_title"]}]} | 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": "5.63", "resultsets": [{"rowcount": 100, "headers": ["pl_title"]}]} | null |
Ümbersuunamised, mis sisaldavad punaseid linke | null | USE etwiki_p;
SELECT
CONCAT('* [[{{ns:', pg2.page_namespace, '}}:', pg2.page_title, ']]') AS redirect,
CONCAT('-> [[{{ns:', pl_namespace, '}}:', pl_title, ']]') AS redlink
FROM pagelinks
LEFT JOIN page AS pg1
ON pl_namespace = pg1.page_namespace
AND pl_title = pg1.page_title
LEFT JOIN page AS pg2
ON pl_from = pg2.p... | {"runningtime": "3.50", "resultsets": [{"rowcount": 1000, "headers": ["pl_from", "pl_title"]}]} | null |
Project Pages of a main category's direct subcategories | Find pages in a upper level category , Examples villages in a district, with sub category of mandal | use tewiki_p;
SELECT
CONCAT("[[",page_title,"]]") as page, cl_to as category
FROM page p
JOIN categorylinks cl
ON p.page_namespace = 4 -- Wikipedia name space
AND cl.cl_from = p.page_id
AND cl.cl_to in (
SELECT
page_title as subcat
FROM page p
JOIN categorylinks cl
ON p.page_namespace = 14 -- Optional name... | {"runningtime": "0.22", "resultsets": [{"rowcount": 19, "headers": ["page_title", "tl_from", "tl_namespace", "tl_title", "tl_from_namespace"]}]} | null |
Project Pages of a main category's direct subcategories | Find pages in a upper level category , Examples villages in a district, with sub category of mandal | use tewiki_p;
SELECT
CONCAT("[[",page_title,"]]") as page
FROM page p
WHERE p.page_title LIKE "వికీప్రాజెక్టు/%" and p.page_namespace=4;
| {"connection_id": 92432646} | null |
মোট সম্পাদনার সংখ্যা | ০২-০৯-২০১৮ | USE bnwiki_p;
SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount
FROM user
WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot')
AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)"
ORDER BY user_editcount DESC... | {"connection_id": 93189794} | null |
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী | ১৫-০২-২০১৯ অনুসারে | USE bnwiki_p;
SELECT
CONCAT("[[ব্যবহারকারী:",user_name,"|",user_name,"]]") AS user_name,
COUNT(rev_id) AS মোট_নিবন্ধ
FROM user INNER JOIN revision
ON revision.rev_user = user.user_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_timestamp <... | {"runningtime": "0.39", "resultsets": [{"rowcount": 100, "headers": ["page_title"]}]} | null |
Przekierowania filmowe | $tytuł (film) do "$tytuł (film $rok)", [[w:pl:Special:Diff/52629194]] | use etwiki_p;
select p.page_title AS from_page, r.rd_title AS to_page
from redirect AS r, page AS p
where p.page_title LIKE '%(film)' AND r.rd_title LIKE '%\_(film\_____)' AND p.page_id = r.rd_from
LIMIT 99; | {"connection_id": 93724643} | null |
Entity ids in item descriptions | To resolve task https://phabricator.wikimedia.org/T103836 | USE wikidatawiki_p;
SELECT descriptions.term_full_entity_id AS item, #english.term_text AS english_label,
labels.term_text AS label, descriptions.term_language AS lang, descriptions.term_text AS description
FROM wb_terms AS descriptions
LEFT JOIN wb_terms AS labels USING (term_full_entity_id, term_language)
#LEFT J... | {"connection_id": 93737225} | 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": 93740708} | null |
Images >10MB | null | use commonswiki_p;
select count(*) from image
where img_size > 10000000
and img_media_type = 'BITMAP'; | {"connection_id": 93752045} | null |
Number of revision deletions while we collected | null | SELECT COUNT(*)
FROM logging
WHERE log_type="delete"
AND log_action="revision"
AND log_namespace IN (0, 1, 2, 3)
AND log_timestamp >= 20190424182500
AND log_timestamp < 20190730180000; | {"runningtime": "7.77", "resultsets": [{"rowcount": 2098, "headers": ["CONCAT('[[User:', page_title, ']]')"]}]} | null |
GA/FA and GAN/FAC linked from August 2 | GA/FA and GAN/FAC linked from August 2 | SELECT
page_title #Faster than just selecting the page title and id, but only those are needed
FROM
page pg1
WHERE
pg1.page_namespace = 0 #Only care about articles
AND pg1.page_title IN ( #Where page is linked from a specified other page
SELECT
pl_title
FROM
pagelinks
WHERE
pl_from... | {"runningtime": "0.64", "resultsets": [{"rowcount": 1, "headers": ["no_translations"]}]} | null |
Validated-theEmployeeKaniyam-சின்னஞ்சிறுபாடல்கள் | 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.89", "resultsets": [{"rowcount": 1, "headers": ["no_translations"]}]} | null |
Validated-Arun-சின்னஞ்சிறுபாடல்கள் | 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": "5.29", "resultsets": [{"rowcount": 1018, "headers": ["page_title", "page_random"]}]} | null |
Proofread-Arun-சின்னஞ்சிறுபாடல்கள் | 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": "84.80", "resultsets": [{"rowcount": 706, "headers": ["user", "language", "no_translations", "url"]}]} | null |
Proofread-Arun-நல்லநண்பர்கள் | 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": "4.72", "resultsets": [{"rowcount": 1018, "headers": ["page_title", "page_len", "page_random"]}]} | null |
Proofread-Arun-தைப்பாவாய் | 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": "24.37", "resultsets": [{"rowcount": 1018, "headers": ["page_title", "page_restrictions", "page_len"]}]} | null |
Articles without DEFAULTSORT in lvwiki by number of same sortkeys | null | USE etwiki_p;
SELECT page_title, cl_sortkey_prefix, COUNT(*)
FROM categorylinks
JOIN (SELECT * FROM page WHERE page_namespace = 0) AS pages
ON page_id = cl_from
LEFT JOIN (SELECT * FROM page_props WHERE pp_propname = 'defaultsort') AS sorted
ON pp_page = cl_from
WHERE cl_sortkey_prefix LIKE '%, %'
AND pp_value I... | {"runningtime": "24.50", "resultsets": [{"rowcount": 1018, "headers": ["page_title", "page_restrictions", "page_len", "page_random"]}]} | null |
Validated-theEmployeeKaniyam-தைபாவாய் | 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": "24.52", "resultsets": [{"rowcount": 1018, "headers": ["page_title", "page_restrictions", "page_len"]}]} | null |
Pages categorized in red-linked categories | null | USE etwiki_p;
SELECT
page_title,
cl_to
FROM page
JOIN
(SELECT
cl_to,
cl_from
FROM categorylinks
LEFT JOIN page ON cl_to = page_title
AND page_namespace = 14
WHERE page_title IS NULL) AS cattmp
ON cattmp.cl_from = page_id
WHERE page_namespace = 0
LIMIT 99;
| {"connection_id": 94684417} | null |
Red link cats with incoming links | Red link cats with incoming links | use etwiki_p;
SELECT
COUNT(*)
FROM categorylinks
JOIN pagelinks ON pl_title = cl_to AND pl_namespace = 14
JOIN page AS p1 ON pl_from = p1.page_id AND p1.page_namespace IN (0, 6, 10, 12, 14, 100)
LEFT JOIN page AS p2 ON cl_to = p2.page_title AND p2.page_namespace = 14
... | {"runningtime": "23.57", "resultsets": [{"rowcount": 1018, "headers": ["page_title", "page_restrictions", "page_len"]}]} | null |
meta: abusefilter list | null | USE metawiki_p;
SELECT af_id, af_enabled, af_public_comments, af_hidden, af_hit_count, af_deleted, af_actions, af_global
FROM abuse_filter
| {"runningtime": "0.43", "resultsets": [{"rowcount": 132, "headers": ["pl_from", "pl_title"]}]} | null |
Bad links from dewiki to Commons: disambigs | pages linking to disambigs | USE etwiki_p;
SELECT now() AS timestamp;
#interwikilinks pointing to disambiguations
(SELECT CONCAT ('# [[', REPLACE (wp.page_title, '_', ' '), ']]') AS wpage,
CONCAT('→ [[:c:', REPLACE (iwl_title, '_', ' '), ']]') AS commonscat
FROM iwlinks
INNER JOIN page wp
ON wp.page_id = iwl_from
AND wp.page_namespace = 0
... | {"connection_id": 95003782} | null |
Bad links from dewiki to Commons: broken | empty & broken links | USE etwiki_p;
SELECT now() AS timestamp;
#empty links, no target given
(SELECT CONCAT ('# [[', REPLACE (wp.page_title, '_', ' '), ']]') AS wpage,
CONCAT('→ [[:c:', REPLACE (iwl_title, '_', ' '), ']]') AS commonscat
FROM iwlinks
INNER JOIN page wp
ON wp.page_id = iwl_from
AND wp.page_namespace = 0
WHERE iwl_pref... | {"runningtime": "0.04", "resultsets": []} | null |
Yearwise edits of Project Pages | To be grouped at the closest leaf corresponding to project | use tewiki_p;
SET @count:=0;
SELECT
(@count:=@count+1) AS sl_no,
p.page_namespace as namespace,
page_title as project_page,
-- page_title as project_page,
-- rev_timestamp
LEFT(rev_timestamp,4) as edityear,
COUNT(*) as Edits
FROM page p
INNER JOIN revision ON revis... | {"connection_id": 95234743} | null |
broken links to commons categories | null | USE etwiki_p;
select page_title, substr(iwl_title, 10)
from iwlinks
inner join page AS p
on p.page_id=iwl_from
where
iwl_prefix='commons' and length(iwl_title)>0
and iwl_title like 'Category:%' and p.page_namespace =0
and not exists(select * from commonswiki_p.page cp
where cp.page_tit... | {"connection_id": 95382089} | null |
Articles with red link images(missing) in Kannada Wikipedia | Articles with red link images(missing) in Kannada Wikipedia | USE etwiki_p;
SELECT
page_title,
il_to
FROM page
JOIN imagelinks
ON page_id = il_from
WHERE (NOT EXISTS(
SELECT
1
FROM image
WHERE img_name = il_to))
AND (NOT EXISTS(
SELECT
1
FROM commonswiki_p.page
WHERE page_title = il_to
AND page_namespace = 6))
AND page_namespace = 0
LIMIT 10; | {"connection_id": 95412708} | null |
Pages of a main category's depth2 subcategories | Find pages in a upper level category , Examples villages in a state with district then mandal sub categories | use tewiki_p;
SELECT
CONCAT("[[",page_title,"]]") as page, cl_to as category
FROM page p
JOIN categorylinks cl
ON p.page_namespace = 0 -- main page
AND cl.cl_from = p.page_id
AND cl.cl_to in (
SELECT
page_title
FROM page p
JOIN categorylinks cl
ON p.page_namespace = 14 -- Optional namespace check. 14 - ca... | {"runningtime": "570.49", "resultsets": [{"rowcount": 1, "headers": ["rc_namespace", "rc_title", "rc_cur_id"]}]} | null |
Edits of Pages of a main category's depth2 subcategories | Year wise edits of pages in category with depth of 2 subcategories | use tewiki_p;
SELECT
LEFT(rev_timestamp,4) as year,
COUNT(*) as edits
from page
JOIN revision on rev_page=page_id
WHERE page_title in (
SELECT
page_title
from page
JOIN categorylinks cl
ON page_namespace = 0 -- main page
AND cl.cl_from = page_id
AND cl.cl_to in (
SELECT
page_title
FROM page p... | {"runningtime": "5.65", "resultsets": [{"rowcount": 1, "headers": ["@min := MIN(rev_id)", "@max := MAX(rev_id)"]}, {"rowcount": 100, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", ... | 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": "5.69", "resultsets": [{"rowcount": 1, "headers": ["@min := MIN(rev_id)", "@max := MAX(rev_id)"]}, {"rowcount": 93, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "... | null |
Number of revisions while we collected | null | SELECT COUNT(*) FROM revision
JOIN page ON page.page_id = revision.rev_page
WHERE rev_timestamp >= 20190424182500 AND rev_timestamp < 20190730180000
AND page_namespace IN (0, 1, 2, 3); | {"connection_id": 97130619} | null |
Proofread-Muthulakshmi-என்தமிழ்ப்பணி | 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": 97387567} | null |
Errors in French labels | null | USE wikidatawiki_p;
SELECT term_full_entity_id, term_text
FROM wb_terms
WHERE term_type='description'
AND term_language='et'
AND term_text LIKE '% %'
LIMIT 10; | {"connection_id": 97387591} | null |
Pages of a main category's depth2 subcategories | Find pages in a upper level category , Examples villages in a state with district then mandal sub categories | use commonswiki_p;
SELECT
CONCAT("[[",page_title,"]]") as page, cl_to as category
FROM page p
INNER JOIN categorylinks cl
ON p.page_namespace = 0 -- main page
AND cl.cl_from = p.page_id
AND cl.cl_to in (
SELECT
page_title
FROM page p
INNER JOIN categorylinks cl
ON p.page_namespace = 14 -- Optional namespa... | {"connection_id": 97390694} | null |
FA, FL, GA, B class WP:M articles | null | SELECT DISTINCT page2.page_id, CONCAT('https://en.wikipedia.org/?curid=',page2.page_id) url, page2.page_title, categorylinks.cl_to
FROM page
INNER JOIN page page2
ON page.page_title=page2.page_title
INNER JOIN categorylinks ON cl_from = page.page_id
AND categorylinks.cl_to IN (
'FA-Class_medicine_articles',
'FL-Clas... | {"connection_id": 97417059} | null |
GA/FA and GAN/FAC linked from August 3 | GA/FA and GAN/FAC linked from August 3 | SELECT
page_title #Faster than just selecting the page title and id, but only those are needed
FROM
page pg1
WHERE
pg1.page_namespace = 0 #Only care about articles
AND pg1.page_title IN ( #Where page is linked from a specified other page
SELECT
pl_title
FROM
pagelinks
WHERE
pl_from... | {"runningtime": "0.23", "resultsets": [{"rowcount": 0, "headers": ["page_title"]}]} | 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": 97560157} | null |
AP Village pages | Year wise edits of pages in category with depth of 2 subcategories | use tewiki_p;
SELECT DISTINCT
page_title
from page
WHERE page_title in (
SELECT
page_title
from page
JOIN categorylinks cl
ON page_namespace = 0 -- main page
AND cl.cl_from = page_id
AND cl.cl_to in (
SELECT
page_title
FROM page p
JOIN categorylinks cl
ON p.page_namespace = 14 -- Optional namespace... | {"runningtime": "0.10", "resultsets": [{"rowcount": 0, "headers": ["page_title", "ll_lang", "ll_title", "pp_value"]}]} | null |
Ownerless pages in the user space in eswiki | null | USE eswiki_p;
SELECT
page_namespace,
page_title,
page_len
FROM page
LEFT JOIN `user`
ON user_name = REPLACE(page_title, '_', ' ')
WHERE page_namespace IN (2,3)
AND page_is_redirect = 0
AND page_title NOT LIKE "%/%"
AND page_title NOT RLIKE "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0... | {"runningtime": "288.09", "resultsets": [{"rowcount": 688, "headers": ["page_id", "page_title", "page_namespace"]}]} | null |
Get nlwiki page schema | null | DESCRIBE eswiki_p.pagelinks; | {"connection_id": 97667395} | null |
Find certain edits | null | USE zhwiki_p;
SELECT * FROM revision
WHERE rev_timestamp >= 20190801070400 AND rev_timestamp <= 20190801070500; | {"runningtime": "1842.54", "resultsets": [{"rowcount": 1, "headers": ["@min := MIN(rev_id)", "@max := MAX(rev_id)"]}, {"rowcount": 10000, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redire... | null |
মোট সম্পাদনার সংখ্যা | ০২-০৯-২০১৮ | USE bnwiki_p;
SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount
FROM user
WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot')
AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)"
ORDER BY user_editcount DESC... | {"runningtime": "0.21", "resultsets": [{"rowcount": 10, "headers": ["rc_id", "rc_timestamp", "rc_actor", "rc_namespace", "rc_title", "rc_comment_id", "rc_minor", "rc_bot", "rc_new", "rc_cur_id", "rc_this_oldid", "rc_last_oldid", "rc_type", "rc_source", "rc_patrolled", "rc_ip", "rc_old_len", "rc_new_len", "rc_deleted", ... | null |
count of ext links by top level domain for pages in WP:M | count of ext links by top level domain for pages in WP:M | -- count of ext links by top level domain for pages in WP:M
SET @tld_regex = '.+(\\.[^\\.]+)$';
SET @hostname_regex = '^([^:/?#]+:)?(\/+([^/?#:]*))?([^\?#]*)\?.*';
SELECT
LOWER(REGEXP_REPLACE(LOWER(REGEXP_REPLACE(el_to, @hostname_regex, '\\3')), @tld_regex, '\\1')) as tld,
count(distinct el_from, el_to) as num_links... | {"connection_id": 101693281} | null |
মোট সম্পাদনার সংখ্যা | ০২-০৯-২০১৮ | USE bnwiki_p;
SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount
FROM user
WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot')
AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)"
ORDER BY user_editcount DESC... | {"runningtime": "0.25", "resultsets": [{"rowcount": 1, "headers": ["actor_id", "actor_user", "actor_name"]}]} | null |
GA/FA and GAN/FAC linked from August 4 | GA/FA and GAN/FAC linked from August 4 | SELECT
page_title #Faster than just selecting the page title and id, but only those are needed
FROM
page pg1
WHERE
pg1.page_namespace = 0 #Only care about articles
AND pg1.page_title IN ( #Where page is linked from a specified other page
SELECT
pl_title
FROM
pagelinks
WHERE
pl_from... | {"connection_id": 27256638} | null |
Levels of revision deletion (2) | null | #SELECT @min := MIN(rev_id), @max := MAX(rev_id) FROM revision;
SELECT rev_deleted, count(*) FROM revision
GROUP BY rev_deleted; | {"connection_id": 28667181} | null |
Edits after citation edits | null | SELECT r.rev_timestamp, r.rev_id, a.actor_name, c.comment_text
FROM revision_userindex s
JOIN revision r
ON s.rev_id = r.rev_parent_id
JOIN comment c
ON r.rev_comment_id = c.comment_id
JOIN actor_revision a
ON a.actor_id = r.rev_actor
JOIN page p
ON s.rev_page = p.page_id
AND p.page_namespace = 0
WHERE s.rev_actor = 53... | {"runningtime": "0.40", "resultsets": [{"rowcount": 10, "headers": ["term_text"]}]} | null |
2019-05 Nemo photos | null | USE commonswiki_p;
SELECT img_name, img_timestamp, img_sha1
FROM image
JOIN actor_image
ON img_actor = actor_id
AND actor_name = "Nemo bis"
AND img_timestamp LIKE "201905%"; | {"runningtime": "0.42", "resultsets": [{"rowcount": 1, "headers": ["rev_id", "rev_page", "rev_text_id", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "rev_content_model", "rev_content_format"]}, {"rowcount": 2, "headers": ["ar_id", "ar_namespace... | null |
longest el_to @etwiki | null | use etwiki_p;
select replace(page_title, "_", " ") as article, el_to as address from page join externallinks on page_id = el_from
where page_namespace = 0
AND (el_to RLIKE "[a-zA-Z0-9]{200}"
OR el_to RLIKE "[a-zA-Z0-9]{151}"
OR el_to RLIKE "[a-zA-Z0-9]{152}"
OR el_to RLIKE "[a-zA-Z0-9]{153}"
OR el_to RLIKE "[a-z... | {"connection_id": 34596089} | null |
Hewiki google links | null | use etwiki_p;
select replace(page_title, "_", " ") as article, el_to as address from page join externallinks on page_id = el_from where page_namespace = 0
and ((el_to like "%.google.%" and el_to like "http%http%" and not el_to like "%translate.google%" and el_to like "%?%"
and not ((el_to like "http://www.google.co.il/... | {"connection_id": 34597025} | null |
Τα πλέον χρησιμοποιούμενα πρότυπα στο elwiki | null | USE elwiki_p;
SELECT
tl_title,
COUNT(*)
FROM templatelinks
WHERE tl_namespace = 10
GROUP BY tl_title
ORDER BY COUNT(*) DESC
LIMIT 3000; | {"runningtime": "21.39", "resultsets": [{"rowcount": 9, "headers": ["page_title"]}]} | 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": "0.19", "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_tim... | null |
Wikidata items with Turkish labels and without English labels | null | use wikidatawiki_p;
select now();
select concat("www.wikidata.org/wiki/Q", ww.term_entity_id) as url, ww.term_text, max(ww.term_weight), count(*)
from wb_terms ww
WHERE ww.term_entity_type = 'item'
AND ww.term_type = 'label' # 'label', 'description', 'alias'
AND ww.term_language = 'te'
AND not exi... | {"connection_id": 38180006} | null |
Ümbersuunamiste arutelulehed | Redirects with standalone talkpages | USE etwiki_p;
SELECT CONCAT('* [[Arutelu:', talk.page_title, ']]') as talkpage, talk.page_len
FROM page AS talk
JOIN page AS art ON talk.page_title = art.page_title
WHERE art.page_is_redirect = 1
AND art.page_namespace = 0
AND talk.page_namespace = 1
AND talk.page_is_redirect = 0
ORDER BY talk.page_len ASC
LIMIT 999; | {"runningtime": "451.51", "resultsets": [{"rowcount": 2, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount": 102, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount": ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.