table1 has 10 columns E1--- E5 & P1-- P5 with data
if any column from table1 ie E1-- E5 then skip the blank column rest data to be inserted in table2 having columns EMAIL & PASS EMAIL coulmn will contain data from column E1--E5 & pass will contain data P1---P5
if the E1 data already exists tehn update/delete existing ELSE iNSERT i hope its clear x,z,c was the data from columns E