CREATE ALGORITHM=UNDEFINED DEFINER=`u613719974_thsms`@`mysql.hostinger.in.th` SQL SECURITY DEFINER VIEW `thaipostsms`.`history_vw1` AS select `thaipostsms`.`history`.`history_id` AS `history_id`,`thaipostsms`.`object`.`obj_id` AS `obj_id`,`thaipostsms`.`object`.`cus_send` AS `cus_send`,`thaipostsms`.`object`.`cus_id` AS `cus_id`,`thaipostsms`.`object`.`cus_name` AS `cus_name`,`thaipostsms`.`object`.`cus_surname` AS `cus_surname`,`thaipostsms`.`object`.`cus_address` AS `cus_address`,`thaipostsms`.`object`.`obj_name` AS `obj_name`,`thaipostsms`.`history`.`history_date` AS `history_date`,`thaipostsms`.`history`.`history_status` AS `history_status` from (`thaipostsms`.`history` join `thaipostsms`.`object` on((`thaipostsms`.`object`.`obj_id` = `thaipostsms`.`history`.`obj_id`)));