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
Herzi Pinki
.
Toggle Highlighting
SQL
use dewiki_p; select gt_lat, gt_lon, gt_page_id, gt_name, ( @p:=(cast (@pt:=concat('<a href="https://de.wikipedia.org/wiki/', @pt:=(select page_title from page where page_id = gt_page_id), '">', @pt, '</a>')) as char) #replace(replace(replace(@p, '<', '<' ), '>', '>' ), '_', ' ') ) as title, gt_country, gt_region from geo_tags where gt_country='AR' and gt_region not in ('A','B','C','D','E','F','G','H','J','K','L','M','N','P','Q','R','S','T','U','V','W','X','Y','Z') OR gt_country='BS' and gt_region not in ('AK','BI','BP','BY','CE','CI','CK','CO','CS','EG','EX','FC','FP','GC','HI','HT','IN','LI','MC','MG','MI','NE','NO','NS','RC','RI','SA','SE','SO','SS','SW','WG') /* concat('<a href="https://de.wikipedia.org/wiki/',@pt:=(select page_title from page where page_id = gt_page_id),'">',@pt,'</a>') set @body = cast( @p:= replace(replace( replace( @p, '<', '<' ), '>', '>' ), '_', ' ') ( #for xml path( 'tr' ), type ) as char ) */ #set @body = replace( replace( @body, '<', '<' ), '>', '>' ) #print @body
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...