.* ORDER BY description DESC NULLS LAST, popularity DESC`
它将首先对描述进行排序,将所有带有null描述的行放在末尾,然后应用流行排序。但是我想要的只是将带空描述的行放在最后,而不是对描述字符串中的结果进行排序,然后根据受欢迎程度对结果进行<e
我想按id asc,date asc排序,但在有NULL的情况下,我想把这些值放在最后。所以在下面的例子中,我真的想要1. order by id,2. order by date asc where value is not null,然后3) order by date asc,最后列出值为id date valueA12 6/15/2012 NULLC12 4