SQL is not equal to < > select * from tblConcludingApplication where States <> 2 and tblInternShipsId=” + sid + ”