Possible Duplicate:
Increment value of a table ID for each INSERT
I need to set DEFAULT VALUE on one table,
with structure:
column1 | column2 | column3
-----------+-----------------+-------------
10001 | chair | 23
10002 | lamp | 10
where If I
INSERT INTO column2 and column3 values (vase, 30), column1 will be autoincremented with value 10003 and each time with +1 value.
Can somebody help me with that?