SQL: How to keep rows order with DISTINCT?

前端 未结 0 329
小蘑菇
小蘑菇 2020-12-18 00:15

The following SQL query:

SELECT messages.id, messages.created_at, comments.created_at FROM messages
LEFT JOIN comments ON comments.message_id = messages.id          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题