SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for tbl_test
-- ----------------------------
DROP TABLE IF EXISTS `tbl_test`;
CREATE TABLE `tbl_test` (
`id` int(11) NOT NULL auto_increment,
`username` text NOT NULL,
`password` text NOT NULL,
`name` text NOT NULL,
`lastname` text NOT NULL,
`address` text NOT NULL,
`status` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tbl_test
-- ----------------------------
select [f11] as [f1] , [f12] as [f2] from [t1]
union
select [f21] as [f1] , [f22] as [f2] from [t2]
union
select [f31] as [f1] , [f32] as [f2] from [t3]