Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Larske
.
Toggle Highlighting
SQL
USE svwiki_p; /* SET sql_mode='PIPES_AS_CONCAT'; select '- [['||pl_title||']] <!--'|| c ||' Links-->' as output from (select pl_title , count(*) as c , pl_namespace from pagelinks where pl_from_namespace=0 and pl_namespace=0 group by pl_title, pl_namespace having count(*)>100) as pl left join page on (pl_title=page_title and page_namespace= pl_namespace) where page_id is null order by c desc */ /* SELECT rc_user_text AS Användare, COUNT(rc_id) AS Redigeringar, MAX(rc_timestamp) AS Senaste FROM recentchanges WHERE rc_bot=0 AND rc_type < 5 GROUP BY rc_user_text HAVING Redigeringar > 19 ORDER BY Redigeringar DESC; */ /* SELECT user_name, user_editcount from user ORDER BY user_editcount DESC LIMIT 100; */ DESCRIBE geo_tags; SELECT gt_lat, gt_lon, rc_title FROM recentchanges INNER JOIN geo_tags ON gt_page_id = rc_cur_id WHERE rc_user_text='Larske' ORDER BY rc_timestamp ASC LIMIT 100; /* SELECT MID(rc_timestamp,1,10) AS timme, COUNT(DISTINCT rc_user_text) FROM recentchanges WHERE rc_namespace LIKE '0' AND rc_timestamp > '20170603120000' AND rc_timestamp < '20170604000000' AND rc_bot LIKE '0' AND (rc_type LIKE '0' OR rc_type LIKE '1') GROUP BY timme ORDER BY timme LIMIT 1000; USE trwiki_p; SELECT MID(rc_timestamp,1,10) AS timme, COUNT(DISTINCT rc_user_text) FROM recentchanges WHERE rc_namespace LIKE '0' AND rc_timestamp > '20170603120000' AND rc_timestamp < '20170604000000' AND rc_bot LIKE '0' AND (rc_type LIKE '0' OR rc_type LIKE '1') GROUP BY timme ORDER BY timme LIMIT 1000 */ /* USE svwiki_p; SELECT MID(rc_timestamp,1,8) AS dygn, COUNT(DISTINCT rc_user_text) FROM recentchanges WHERE rc_namespace LIKE '0' AND rc_timestamp > '20170422000000' AND rc_timestamp < '2017050600000' AND rc_bot LIKE '0' AND (rc_type LIKE '0' OR rc_type LIKE '1') GROUP BY dygn ORDER BY dygn LIMIT 1000; USE trwiki_p; SELECT MID(rc_timestamp,1,8) AS dygn, COUNT(DISTINCT rc_user_text) FROM recentchanges WHERE rc_namespace LIKE '0' AND rc_timestamp > '20170422000000' AND rc_timestamp < '20170506000000' AND rc_bot LIKE '0' AND (rc_type LIKE '0' OR rc_type LIKE '1') GROUP BY dygn ORDER BY dygn LIMIT 1000 */
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...