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
Fenakhay
.
Toggle Highlighting
SQL
USE enwiktionary_p; -- Ensure you are using the correct database SELECT DISTINCT p.page_id, p.page_title FROM page p JOIN categorylinks cl1 ON p.page_id = cl1.cl_from LEFT JOIN categorylinks cl2 ON p.page_id = cl2.cl_from JOIN revision r ON p.page_id = r.rev_page JOIN text t ON r.rev_text_id = t.old_id WHERE cl1.cl_to = 'Portuguese_non-lemma_forms' AND (cl2.cl_to IS NULL OR cl2.cl_to != 'Portuguese_forms_superseded_in_1945') AND p.page_namespace = 0 AND t.old_text NOT LIKE '%{{pt-verb form of%' AND t.old_text NOT LIKE '%{{plural of|pt%' AND t.old_text NOT LIKE '%{{adj form of|pt%' AND t.old_text NOT LIKE '%{{feminine singular of|pt%' AND t.old_text NOT LIKE '%{{feminine plural of|pt%' AND t.old_text NOT LIKE '%{{masculine plural of|pt%' AND r.rev_id = p.page_latest;
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...