SQL nonsence - SELECT * FROM pac_h2h WHERE h2h_p1 = AND h2h_p2 = 2173 AND h2h_status != 3