От: | Аноним | ||
Дата: | 27.10.13 18:19 | ||
Оценка: | 4 (1) |
select count(*) as y0_ from item_templates this_ where this_.id in
(select this_.item_id as y0_ from item_prop_values this_
inner join item_properties propname1_ on this_.item_property_id=propname1_.id where this_.value=? and propname1_.alias=?)