Select column value if not null else use another column value

后端 未结 3 621
心在旅途
心在旅途 2021-02-13 04:01

I have 2 columns in mysql table: a and b. a is allways string value and b is sometimes a string value and sometimes it is null.

How to construct a mysql SELECT so that t

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