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
Gwleibniz
.
Toggle Highlighting
SQL
USE dewiktionary_p; SELECT p1.page_title, p1.page_id, p1.page_namespace, c1.cl_from, c1.cl_to, # As soon as I include one of the following fields, # the query does not finish within 5 minutes, # reason unclear. #p2.page_title, #p2.page_id, #p2.page_namespace, #c2.cl_from, #c2.cl_to, 'Dummy' FROM page p1 JOIN categorylinks c1 ON c1.cl_from = p1.page_id and c1.cl_to = 'Grundformeintrag_(Deutsch)' join page p2 on p2.page_namespace = 0 and p2.page_is_redirect = 0 # With this, query is not finished after 5 minutes, unclear why: #and p2.page_title in(concat(lower(mid(p1.page_title,2,1)), mid(p1.page_title,3)), # concat(upper(mid(p1.page_title,2,1)), mid(p1.page_title,3))) AND ( p2.page_title = mid(p1.page_title,2) or p2.page_title = concat(upper(mid(p1.page_title, 2, 1)), mid(p1.page_title, 3)) ) JOIN categorylinks c2 ON c2.cl_from = p2.page_id and c2.cl_to = 'Grundformeintrag_(Deutsch)' where p1.page_namespace = 0 AND p1.page_is_redirect = 0 #AND p1.page_title REGEXP '^[FVfv][[:lower:]]{5,5}$'; #AND p1.page_title REGEXP '^N[[:lower:]]{5,5}$'; and p1.page_title regexp '^[Nn][[:alpha:]]{3,8}$'
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...