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
Solidest
.
Toggle Highlighting
SQL
SELECT lt.lt_title, CASE WHEN p2.page_id IS NULL THEN 'красная' ELSE 'синяя' END as link_type FROM page p JOIN pagelinks pl ON pl.pl_from = p.page_id JOIN linktarget lt ON lt.lt_id = pl.pl_target_id LEFT JOIN page p2 ON p2.page_namespace = lt.lt_namespace AND p2.page_title = lt.lt_title WHERE p.page_title = 'Студия_Квартал-95' AND p.page_namespace = 10 AND lt.lt_namespace = 0 ORDER BY link_type;
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...