I want to get the values in the mysql table which are not default values. is there any way to use only sql query without using php?
Share
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.
Use
DEFAULT(col_name).e.g.
If you want all rows where at least one column is not the default use
OR:Or if you want all rows where all the columns are not the default use
AND.