I'm trying to nest this query, but I am getting the error: invalid input syntax for type boolean: "%malfunction%".
select *
from (
select column_one, column_two
from table
group by column_one, column_two
) as new_table
where column_two like '%false%' or '%malfunction%' or '%accidental%' or '%mistaken%'
order by column_one
Column_two is not boolean but it's identifying it as one. I feel like I'm missing something small, but I can't find it. Help!
where column_two like '%false%' or column_two like '%malfunction%' or column_two like '%accidental%' or column_two like '%mistaken%'