How can I ORDER BY according to some boolean logic?

后端 未结 3 920
感动是毒
感动是毒 2021-01-26 07:17

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

3条回答
提交回复
热议问题