AlphaPress Publishing
P.O. Box 5942 Albany, NY 12205
Tel: 518-250-3890

Click to buy this book from Amazon

Section Menu 


Pindaro is now working on a comprehensive book on SQL Server 2014.  For any comments you can email the author at




The "<>" inequality predicate with number data

To contact the author click here

This article is from the book "Access 2007 Pure SQL

To download the sample database click here

The "<>" inequality predicate with number data

Find orders for which the shipping cost is not equal to $35


The "<>" inequality predicate means "not equal to". This time we want to find shipping costs different from the amount of $35 per order.  Notice that we do not use quotes or other symbols to enclose numerical data as criteria.  In addition, we can use the inequality predicate efficiently with date and text data.    


SELECT OrderID,  OrderDate, ShippedDate, ShippingCost

FROM Orders

WHERE ShippingCost <> 35

ORDER BY ShippingCost DESC