Help for this page

Select Code to Download


  1. or download this
    select ... from the_table 
     where id = 
         (select min(id) from the_table where id > $last_id)
    
  2. or download this
    select ... from the_table where id > $last_id order by id LIMIT 1