Request:select,ap_sets.pic,ap_sets.folder,ap_model.folder as mfolder, as mid, as mname,ap_model.bdate,ap_model.bplace,ap_model.occup,ap_model.nation FROM ap_model,ap_sets where ap_sets.appr=1 and (ap_sets.view+0)<=20160629 and and ap_sets.pic>0 and between132 and 139 order by
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between132 and 139 order by' at line 1