mysql get biggest id value from mysql Posted on May 16, 2016 by coder SELECT id FROM my_table ORDER BY id DESC LIMIT 1 SELECT MAX(id) FROM my_table 123 SELECT id FROM my_table ORDER BY id DESC LIMIT 1 SELECT MAX(id) FROM my_table