I have a question about Vertica DB's query that I want to run. I have a table with 5 columns, and each column can get values of 1 or 0, I want to return all the Id of which I have combination of '1' in more than one column. I added a pic for demonstration and I want to return all the ID of the marked rows, regards
p.s. the value of the table can be 1/0/2, what is not allowed are that in the same row to get '1' in two rules.