sql 查询id最大的数据记录

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

posted @ 2013-04-10 18:08  J. Lingear  阅读(938)  评论(0编辑  收藏  举报