mysql - finding values between given inputs using sql -


am curious there way extract specific elements database in specified range based on 2 inputs. ex: select books minimum price = 10 , maximum price = 35, using mysql?

you can use select find rows values in ranges. example:

select * books  price >= 10 , price <= 20; 

or may use between instead:

select * books  price between 10 , 20; 

both queries above return rows price between 10 , 20.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -