How to select all entries of a MySQL table except the last one? -
how select entries last 1 in mysql? tried following statement:
select * table name order id select id lot_master `id auto increment` order id decs limit 1
how can achieve this?
select name shopping_cart id<>(select max(id) shopping_cart);
Comments
Post a Comment