sql 查询id最大的数据记录

SELECT money, consume_type, business_id transaction_log_id FROM account_consume_records where id=(select max(id) from account_consume_records);

转载于:https://www.cnblogs.com/lingear/archive/2013/04/10/3012874.html

    原文作者:weixin_30339457
    原文地址: https://blog.csdn.net/weixin_30339457/article/details/99563390
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞