MySQL coalesce two nullable BITs gives result =48

后端 未结 0 1229
花落未央
花落未央 2021-01-24 07:04

I have a query with two nullable bit flag columns and I would like to coalesce those in result set into single flag:

COALESCE(flagA, flagB) as FlagAB
相关标签:
回答
  • 消灭零回复
提交回复
热议问题