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!

selecting related data into groups

Status
Not open for further replies.

iamready

Programmer
May 7, 2004
13
US
Dear All,
I have a bunch of entries (numeric) in a database,each row is related to one other row( all the entries in that row differ by +- 0.5 from one other row in the database, somewhat like almost similar values with minor differences ) how do i write a SQL query to identify the related rows and display them in a group, i.e to display the row followed by the related row.

thank you in advance
regards
harsha
 
And what about the ORDER BY clause ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top