Darshan Belani
0
Newbie Poster
Recommended Answers
Jump to PostShow your table structure. What have you tried so far?
Jump to PostPresuming your table is currently in ascendning mode from an id (the primary, auto incrementing key), you can query your table to order the id to descending mode, and then limit the result set to just one tuple/row:
SELECT * FROM table_name ORDER BY id DESC LIMIT …
All 5 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
tpunt
0
Newbie Poster
Icone
-1
Junior Poster in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Icone
-1
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.