SQL: ORDER BY two columns intermixed, not priority based

前端 未结 4 1402
一整个雨季
一整个雨季 2021-01-13 11:13

I\'m using mySQL. I have to order names of Contacts by Lastname but in the case that there is no last name, I order by firstname.

This looks like:

OR         


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