This query is marked as a draft This query has been published by Vahurzpu.

SQL

AخA
 
SELECT DISTINCT page.page_title# , iwlinks.iwl_prefix, iwlinks.iwl_title
FROM page
INNER JOIN iwlinks ON page.page_id = iwlinks.iwl_from
WHERE page.page_namespace = 0
AND iwlinks.iwl_prefix = "wikia"
AND page.page_id NOT IN (SELECT tl_from FROM templatelinks WHERE tl_title = "Wikia_content" OR tl_title = "Stargate")
ORDER BY page.page_title
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...