How do you demand a salary rise?

Just resign..they'll try to retain you to reduce their atrition rate and u get the hike you want.