Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sorting multiple columns

 
Shiv Sidhaarth
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How do i sort multiple columns in Oracle using lower? ie. When i say, lower(Name), result is like this :
Anand
ananthu
Bright
babu
I want to give first Name as well as last name in sorting with lower. Hope i am clear.
Thanks,
Sankar
 
prabhat kumar
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
order by tolower(colname)
 
Leslie Chaim
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
order by lower(first_name || last_name)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic