SELECT`property_group_option`.`id`FROM`property_group_option`LEFT JOIN`property_group_option_translation``property_group_option.translations`ON`property_group_option`.`id`=`property_group_option.translations`.`property_group_option_id`WHERE (`property_group_option`.`property_group_id`=?AND`property_group_option.translations`.`name`=?) GROUP BY`property_group_option`.`id`LIMIT500
SELECTCOUNT(*) FROM (SELECT`property_group_option`.`id`FROM`property_group_option`LEFT JOIN`property_group_option_translation``property_group_option.translations`ON`property_group_option`.`id`=`property_group_option.translations`.`property_group_option_id`WHERE (`property_group_option`.`property_group_id`=?AND`property_group_option.translations`.`name`=?) GROUP BY`property_group_option`.`id`) total
SELECTCOUNT(*)
FROM
(
SELECT`property_group_option`.`id`FROM`property_group_option`LEFT JOIN`property_group_option_translation``property_group_option.translations`ON`property_group_option`.`id`=`property_group_option.translations`.`property_group_option_id`WHERE
(
`property_group_option`.`property_group_id`=?AND`property_group_option.translations`.`name`=?
)
GROUP BY`property_group_option`.`id`
) total
SELECTCOUNT(*) FROM (SELECT`property_group_option`.`id`FROM`property_group_option`LEFT JOIN`property_group_option_translation``property_group_option.translations`ON`property_group_option`.`id`=`property_group_option.translations`.`property_group_option_id`WHERE (`property_group_option`.`property_group_id`=0x88FA6CC7238B422C8390574F7C9FD4F7AND`property_group_option.translations`.`name`='80,0 x100,0') GROUP BY`property_group_option`.`id`) total;