UCSF

Parameters Provided:

ring.id = 148296
filter.purchasability = all
catalog.collection = building-blocks
page.num = 1

Structural Results Found: (before additional filtering)

SQL Query Was

SELECT DISTINCT(ci.sub_id_fk) AS sub_id FROM catalog_item AS ci INNER JOIN catalog AS c ON ci.cat_id_fk=c.cat_id INNER JOIN hasring AS hr ON ci.sub_id_fk=hr.sub_id_fk INNER JOIN rings AS r ON hr.rings_fk=r.rings_id  WHERE r.rings_id = 148296 AND c.free = 1 AND ci.cat_id_fk IN (116,58,278,289,297,302,304,306,311,317,326,328,332,334,336,343,347,362,368,370,372,374,389,391,446,447,496,497,499,599,503,531) AND ci.sub_id_fk IN (SELECT ci.sub_id_fk AS sub_id FROM catalog_item AS ci INNER JOIN catalog AS c ON ci.cat_id_fk=c.cat_id  WHERE c.free = 1   )    LIMIT 50

Permalink

Embed Link to Results