lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Actually I am importing tables from previous boot, all these tables adding
> at the end than in the beginning, I want to know by passing another
> parameter to query (INSERT INTO table VALUE), this query adds tables at the
> end of the table, by passing some arguement for the above query, can I
> insert in the beginning?

For databases you should *not* rely on raw orders of the record.
Instead you should define an index for your table and all records will
be sort on insert.

So again, "It's likely that you will need to study relational
databases and SQL a
little before asking this question."