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
Edgars2007
.
Toggle Highlighting
SQL
USE lvwiki_p; SELECT i.img_name FROM image i INNER JOIN page p ON p.page_title = i.img_name AND p.page_namespace = 6 INNER JOIN categorylinks c ON c.cl_from = p.page_id AND (c.cl_to = "Aizsargāti_attēli" OR c.cl_to = "Aizsargāti_logo" OR c.cl_to = "Aizsargātas_pastmarkas" OR c.cl_to = "Aizsargāti_filmu plakāti" OR c.cl_to = "Aizsargāti_grāmatu vāki" OR c.cl_to = "Aizsargāti_skaņas faili" OR c.cl_to = "Albuma_vāka_attēli" OR c.cl_to = "Pastmarkas") WHERE i.img_width * i.img_height > 1e+7 /* use lvwiki_p; select p.page_title, count(c.cl_from) from categorylinks c, page p LEFT JOIN page ON c.cl_from=p.page_id GROUP BY c.cl_from limit 2; use lvwiki_p; select p.page_title, count(c.cl_from) from categorylinks c, page p where c.cl_to="Nozīmju_atdalīšana" and c.cl_from=p.page_id and p.page_title<>"Nozīmju_atdalīšana" Group by c.cl_from ORDER BY c.cl_from desc limit 2; use lvwiki_p; select * from page where page_id=18119 limit 2; */
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...