Mysql – Select one row per ID based on two columns
This is probably really simple, but I've been trying to figure this out for a while, maybe a fresh pair of eyes will/could help. http://sqlfiddle.com/#!9/557e5a/1 I have this table wherein I need to prioritize selecting Accounts that are Chequing first,…