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 rd_namespace, rd_title, rd_from from redirect join page p1 on rd_from=p1.page_id left join page p2 on rd_namespace=p2.page_namespace and rd_title=p2.page_title where rd_namespace >= 0 and rd_interwiki IS NULL and p2.page_namespace IS NULL /* SELECT CONCAT('* [[:Attēls:',e.img_name,']]') as "LV WIKI", CONCAT('— [[:c:File:',e.img_name,']]') as "Commons" FROM image e INNER JOIN commonswiki_p.image c ON c.img_name = e.img_name AND c.img_sha1 != e.img_sha1 JOIN page pp on pp.page_title=e.img_name JOIN imagelinks fv on pp.page_id=fv.il_to WHERE cl.cl_from IS NULL */
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...