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

java - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -