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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -