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