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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Top Value Query

Status
Not open for further replies.

imsco

Technical User
Joined
Aug 31, 2005
Messages
4
Location
US
I need to have the Top Value of a query actually be an equation:

TopValue=LeadsDelivered-Leadbalance

Any Ideas?

imsco
 
By "Top Value" do you mean the record where "TopValue" in your calculation is maximum? minimum? the latest one? the earliest one?
 
Or do you mean:

SELECT TOP 3 ......

where 3 is a calculation of LeadsDelivered - LeadBalance

Leslie

Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual

Essential reading for anyone working with databases: The Fundamentals of Relational Database Design
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top