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
.
globalimagelinks use commonswiki_p; SELECT * FROM externallinks join page on page_id=el_from and page_namespace=6 where el_to like "http://saraksts.mantojums.lv/lv/piemineklu-saraksts%" limit 20; use commonswiki_p; select * from globalimagelinks where gil_wiki="lvwiki" and gil_page_namespace_id=0 and gil_page_title like "Valsts_aizsargājamie_kultūras_pieminekļi_%" #and gil_to= limit 100;
Toggle Highlighting
SQL
use commonswiki_p; SELECT * FROM externallinks join page on page_id=el_from and page_namespace=6 where el_to like "http://saraksts.mantojums.lv/lv/piemineklu-saraksts%" and not exists (select * from globalimagelinks where gil_wiki="lvwiki" and gil_page_namespace_id=0 and gil_page_title like "Valsts_aizsargājamie_kultūras_pieminekļi_%" and gil_to=page_title and page_namespace=6 ) group by el_from having count(el_index)=1;
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...