In your query, where the criteria box just enter "A" Or "B".
If you use the 'like' operand you need to have a wildcard, such as like "%A" or "%B".
and to make it easy for you, here's two example with like and just common where in sql-view.
select * from mytable
where yourcolumn = '%A%' or...