Say I have columns \'a\' and \'b\'. A record is deemed \'ready\' if !a || b. How can I sort by this ready condition? I\'m really rusty with SQL and I can\'t reca
!a || b
order by case when !a || b then 0 else 1 end