i have a table like this.
cityno cityname mails
1 BANGALORE 8KM
2 HSR LAYOUT 20KM
3 MEJISTIC 30KM
4 JAYADEVA 55KM
5 ITPL 80KM
6 HEBBAL 115KM
I HAVE DATA LIKE THIS
I WANT O/P LIKE THIS
DISTANCE NO.OFCITY
0-50KM 3
51-100KM 2
101-150KM 4
AND SO ON
pls give me answer. i want urgent
Post New Answer View All Answers
differentiate between float and double. : Sql dba
Why join is faster than subquery?
How do you delete data from a table?
What jobs use sql?
What is embedded sql in db2?
What does the hierarchical profiler does?
What is the function that is used to transfer a pl/sql table log to a database table?
How will you distinguish a global variable with a local variable in pl/sql?
What is sp_helptext?
Write an sql query to select all records from the table?
What is raid? How does it help storage of databases?
What does pl sql stand for?
How many sql statements are used? Define them.
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
What is group by in sql?