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

within

Status
Not open for further replies.

SMAlvarez

Programmer
Dec 4, 2005
27
0
0
US
I have the problem:

"List all details about software records. Sort the output by package ID within tag number."

I'm a little confused about what they mean "within tag number"

Is the following sql right or wrong, if wrong can you help me fix it? Thanks.


Select * from software
order by PACKID in(TAGNUM);
 
I'd use this:
order by TAGNUM,PACKID

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
PHV is correct.
Sort the output by package ID within tag number

This is common terminology, meaning tag number is the major sort filed, followed by as many others as needed.

Ever notice how fast Windows runs? Me neither.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top