select `year`,`dnum` from `spt_hk649` where `year` in ('106') and `dnum` in ('106123','106122','106121','106120','106119','106118','106117','106116','106115','106114','106113','106112','106111','106110','106109','106108','106107','106106','106105','106104') select `year`,`dnum` from `spt_tw638` where `year` in ('106') and `dnum` in ('106085','106084','106083','106082','106081','106080','106079','106078','106077','106076') select `year`,`dnum` from `spt_tw649` where `year` in ('106') and `dnum` in ('106088','106087','106086','106085','106084','106083','106082','106081','106080','106079') select `year`,`dnum` from `spt_tw539` where `year` in ('106') and `dnum` in ('106253','106252','106251','106250','106249','106248','106247','106246','106245','106244') INSERT INTO `spt_tw539` VALUES ('','106','106253','106.10.23','25','03','30','11','36') Array ( [year] => Array ( [0] => 106 [1] => 106 [2] => 106 [3] => 106 [4] => 106 [5] => 106 [6] => 106 [7] => 106 [8] => 106 ) [dnum] => Array ( [0] => 106244 [1] => 106245 [2] => 106246 [3] => 106247 [4] => 106248 [5] => 106249 [6] => 106250 [7] => 106251 [8] => 106252 ) )