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

SQL MAX.... quite limiting! 1

Status
Not open for further replies.

fenneraj

Programmer
Jul 29, 2003
21
SE
Hi, I have created a View (MAX_LIST) that shows an output like below.

FB_SN | MAX_CALLS
1 3
2 7
3 6

I am trying to write an SQL query that will output the the max from max calls and its corresponding FB_SN. Using the MAX in the select just presents me with the MAX Max_Calls value.

IDEAL OUTPUT:

FB_SN | MAX_CALLS
2 7

If anyone can help with this, i would be most grateful!

Regards
Andy Fenner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top