SQL
AخA
use commonswiki_p;
SELECT DISTINCT categorylinks.cl_to, page.page_id FROM categorylinks WHERE categorylinks.cl_from IN
(
SELECT page.page_id
FROM categorylinks
INNER JOIN page ON categorylinks.cl_from = page.page_id
WHERE categorylinks.cl_to = "Roses_at_Roseraie_de_Bagatelle"
AND page.page_namespace = 6
)
INNER JOIN page ON categorylinks.cl_from = page.page_id
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.