mysql - Annual salary Between 2000 and 6000 to display -
i have query
select employeeid, sum( salary *12 ) annual_salary employee group salary limit 0 , 30
it displays annual salary want display annual salary between 2000 , 6000 within advance
select employeeid, sum( salary *12 ) annual_salary employee group salary having sum( salary *12 ) between 2000 , 6000 limit 0 , 30
Comments
Post a Comment