DIFFERENCE B/W TWO colums

prabhu

Registered User.
Local time
Today, 17:55
Joined
Apr 21, 2010
Messages
54
Please look into the attachment...

My table contains the data like this and i want to filter out the datas where colums G & H are not matching...

how to get this...
 

Attachments

Select .. from yourtable where Column1 <> Column2
??
 
Thank you...

I got another question, when i use < symbol to find out the dates less than today, its giving me all the values, including dates greater than Today also. What is the problem in my approach?
 
Make sure the field your comparing to is a date field, not a text string.
 

Users who are viewing this thread

Back
Top Bottom