Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一张桌子temp(sid integer, sname varchar, adress varchar)
temp(sid integer, sname varchar, adress varchar)
此表包含我需要检索最新插入记录的 10 条记录
一个简单的选择语句应该可以做到
SELECT * from temp ORDER BY sid DESC LIMIT 1