CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`expeditionScan_Monitor` AS SELECT `et`.`id` AS `truckFk`, `et`.`eta` AS `ETD`, `et`.`description` AS `description`, `ep`.`id` AS `palletFk`, `ep`.`position` AS `position`, `ep`.`built` AS `built`, `es`.`id` AS `scanFk`, `es`.`expeditionFk` AS `expeditionFk`, `es`.`scanned` AS `scanned` FROM ( ( `vn`.`expeditionTruck` `et` LEFT JOIN `vn`.`expeditionPallet` `ep` ON(`ep`.`truckFk` = `et`.`id`) ) LEFT JOIN `vn`.`expeditionScan` `es` ON(`es`.`palletFk` = `ep`.`id`) )