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