This query is marked as a draft This query has been published by Vahurzpu.

SQL

AخA
 
use commonswiki_p;
SELECT DISTINCT categorylinks.cl_to, page_props.pp_value
FROM categorylinks
INNER JOIN page ON categorylinks.cl_to = page.page_title
INNER JOIN page_props ON page_props.pp_page = page.page_id
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
)
AND categorylinks.cl_to LIKE "Rosa_'%"
AND page_props.pp_propname = "wikibase_item"
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.

Checking query status...