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
I.ilnytskyi
.
Toggle Highlighting
SQL
use ukwiki_p; select pl.pl_from as from_id , p1.page_title as from_title , p.page_id as to_id , p.page_title as to_title , case when p.page_title is null then 'red' else 'blue' end as link_type from pagelinks as pl left join page p on p.page_title = pl.pl_title join page p1 on p1.page_id = pl.pl_from
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...