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

group by help

Status
Not open for further replies.

luisve

Programmer
Jun 24, 2005
29
US
hi! i have this table:

column 1
910054180
813054179
812054178

i would like to group the or order them, the desire result will be:

812(054178)
813(054179)
910(054180)

i just want to sort by the number inside() not the first 3 digits., tahnks !!
 
Order by Right(<col>, 6)

You may need to convert to and int if it is not a numeric column
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top