MySQL: Most efficient way to query most recent record by type

前端 未结 0 1808
梦如初夏
梦如初夏 2021-02-05 01:21

I have two queries looking for most recent type (1 result):

-- MOST_RECENT_TYPE_A
                SELECT @MOST_RECENT_TYPE_A := type AS most_recent_type_a
                


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