Is it possible to have Having and Or Where to function like where field = 'text' or field2 = 'text'
Basically I'm trying to create a function to be used to filter all the columns on a html table. For the data using SUM() I need to use HAVING if I filter using all columns the where clause will be like where name like '%asdf%' or age like '%asdf%' or having SUM(quantity) like '%asdf%' group by id