+ 1

how can i get the salary according to rank and arrange the salary into the ascending order

21st Jun 2016, 5:41 PM
Abhishek singh
Abhishek singh - avatar
8 odpowiedzi
+ 1
select salary from table group by rank order by asc
21st Jun 2016, 11:04 PM
Sarfaraj Ahmad
Sarfaraj Ahmad - avatar
0
use group by
21st Jun 2016, 7:40 PM
Soumya
Soumya - avatar
0
how can get max salary
21st Jun 2016, 8:10 PM
Abhishek singh
Abhishek singh - avatar
0
select salary from tablename orderby salary desc this will give you result of hhighest salary drawn first to the lowest salary drawn
22nd Jun 2016, 3:44 AM
Alfahad Mahimi
Alfahad Mahimi - avatar
0
how can get top salary
22nd Jun 2016, 9:43 AM
mohan
0
To get max salary select max(salary) from tablename
22nd Jun 2016, 7:41 PM
Grant Bentley
Grant Bentley - avatar
0
SELECT salary FROM salary_table ORDER BY asc
24th Jun 2016, 3:44 AM
Alex Hoy
Alex Hoy - avatar
0
select max (salary),rank from salary_table groupby rank
25th Jun 2016, 12:23 PM
Vinodm Tengli
Vinodm Tengli - avatar