My simple WHERE query is not working. It says column "Exception" does not exist, but the column it type, that is only a value.
SQL Query:
select * from logs
where type = "Exception"
As S-Man commented the answer is:
"
characters are for column names. You have to use '
characters.
Try this one:
SELECT *
FROM
logs
WHERE
type = 'Exception'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With