sql query with not equal to condition

I want to create sql query with not equal to condition. Actually i want to pick those records which are not in class 5th. Hope you will understand my question.
Posted by Prince Mahajan 5/4/2014 5:11:12 PM
Total Answers : 1
Answer 1
You can write sql query something like this for your requirement :
Select * from tablename where class <> '5th'
This query will fetch all the records of the student which are not in 5th class
Posted by StepCoder Team 5/18/2014 12:35:57 PM
Post your answer
Sign in to your account
Your Email : 
Password :   
Forgot your password
Don't have StepCoder account ?
Create a new account
Follow me on twitter
About Me
Harpreet Singh
I began programming with C++ when i was 17. Then at the middle of my study .NET came. Then I began to read C# and VB.NET. By the time i learnt SQL and ASP.NET, and developed some websites such as news portals that are active now. Currently i am running my own Software company.
Answer these questions! If you know the answer.