SELECT count(girl_id) as num FROM fp2_m_girl WHERE girl_id = AND show_flag = 0 [nativecode=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 'AND show_flag = 0' at line 1]