SQL
AخA
USE itwiki_p;
SELECT DISTINCT page_title
FROM page
WHERE page_namespace = 0
AND page_is_redirect = 0
AND page_id IN (
SELECT DISTINCT pl_from
FROM pagelinks
WHERE pl_from_namespace = 0
AND pl_title LIKE 'Promozione%200%'
OR pl_title LIKE 'Promozione%201%'
OR pl_title LIKE 'Promozione%1991-%'
OR pl_title LIKE 'Promozione%1992-%'
OR pl_title LIKE 'Promozione%1993-%'
OR pl_title LIKE 'Promozione%1994-%'
OR pl_title LIKE 'Promozione%1995-%'
OR pl_title LIKE 'Promozione%1996-%'
OR pl_title LIKE 'Promozione%1997-%'
OR pl_title LIKE 'Promozione%1998-%'
OR pl_title LIKE 'Promozione%1999-%'
)
LIMIT 5;
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.