Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comparing two fields

Status
Not open for further replies.

Roper7

Technical User
Aug 23, 2001
4
0
0
US
I need to run a query that will compare the values of two fields, but I can't figure out how to work this. Basically what I want to do is this: I have two numeric fields, COB and Normal Benefit. If the amount in the Normal field is equal to or less than the amount in the COB field, I want to pull those records. What's the best way to do this? Lee
 
Try:

SELECT *
FROM MyTable
WHERE MyTable.Normal <= MyTable.COB Terry M. Hoey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top