I have a table \'answers\' with an indexed \'problem_id\' integer column, a \'times_chosen\' integer column, and an \'option\' column that\'s a varchar. Currently the only v
You can join against a virtual table of sorts:
SELECT * FROM answers JOIN (VALUES (4509, 'B'), (622, 'C'), (1066, 'D'), (4059, 'A'), (4740, 'A')) AS t (p,o) ON p = problem_id AND o = option
You can do something similar with UPDATE.