I have a database query that I'm trying to build. Within this query I have 2 columns (Amongst many).
Column X is 3 statuses (O, I, E).
Column Y is 2 options (W, W/O)
I'm trying to build a report that counts the variations. Ultimately I'd like a simple table output (Where ###'s are counts of the variations):
W W/O
O ### ###
I ### ###
E ### ###
Or some similar output.
I'd prefer to do this with a SQL query (instead of programatically). I've seen some lightweight queries that can do counts, but not the level I'm wanting.