CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`v_price_fixed_group` AS SELECT `pf`.`warehouse_id` AS `warehouse_id`, `pf`.`item_id` AS `item_id`, `pf`.`rate_0` AS `rate_0`, `pf`.`rate_1` AS `rate_1`, `pf`.`rate_2` AS `rate_2`, `pf`.`rate_3` AS `rate_3`, `pf`.`date_start` AS `date_start`, `pf`.`date_end` AS `date_end`, `pf`.`bonus` AS `bonus`, `pf`.`grouping` AS `grouping`, `pf`.`Packing` AS `Packing`, `pf`.`caja` AS `caja` FROM `vn2008`.`v_price_fixed` `pf` GROUP BY `pf`.`warehouse_id`, `pf`.`item_id`, `pf`.`date_start`, `pf`.`date_end`