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
Alexcdot
.
Toggle Highlighting
SQL
SELECT -- number of pages linking Treccani ( SELECT COUNT(*) FROM ( SELECT * FROM externallinks WHERE el_index LIKE -- note: this is actually 'https://treccani.it' but it's reverse indexed 'https://it.treccani.%' OR 'http://it.treccani.%' GROUP BY el_from ) AS to_make_mysql_happy_this_is_unuseful_asd ) AS number_of_pages_linking_treccani, -- total links to Treccani -- same as above but without GROUP BY el_from ( SELECT COUNT(*) FROM ( SELECT * FROM externallinks WHERE el_index LIKE -- note: this is actually 'https://treccani.it' but it's reverse indexed 'https://it.treccani.%' OR 'http://it.treccani.%' ) AS to_make_mysql_happy_this_is_unuseful_asd ) AS total_links_to_treccani
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...