1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
select customer_name as name, customer_phone as phone from customer where p_imported = 1 union ALL select driver_name, driver_phone from driver where p_imported = 1 union ALL select vendor_name venor_phone from customer where p_imported = 1