CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`workerLabour` AS SELECT `b`.`id` AS `businessFk`, `b`.`workerFk` AS `workerFk`, `b`.`workcenterFk` AS `workCenterFk`, `b`.`started` AS `started`, `b`.`ended` AS `ended`, `b`.`departmentFk` AS `departmentFk`, `b`.`payedHolidays` AS `payedHolidays` FROM `vn`.`business` `b` ORDER BY `b`.`started` DESC