In MYSQL db, I need to UPDATE table “people” with a random number between 8 and 120, but if the value is between 103 and 109, I want it to become 110.
How would I do such a query?
UPDATE people SET column1 = '________random expression_________'
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven’t tested, but perhaps it should work.