Jun-11-2020, 09:15 AM
what DB do you use? try to execute the statement outside python
also, I think the statement should be
i.e. params/values enclosed in single quotes
also, I think the statement should be
"Select * from Cars where (Car_brand like '%s') or (Car_brand like '%s') order by car_id"
i.e. params/values enclosed in single quotes
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs