[sql:1:6d48420dc4]create table nazwa (
id int not null auto_increment,
temat varchar(255) not null,
id_temat int not null,
unique id (id),
primary key id (id)
)[/sql:1:6d48420dc4]
Dwie mozliwosci dodawania rekordu:
1. Dodaje w polu 'id_temat' jest wartosc '0'
2. Dodaje a pole 'id_temat' ma taka wartosc jak 'id' (z tego samego wiersza)
Jak zrobic zeby podczas dodawania rekordu znac juz wartosc 'id' i wstawic ja do 'id_temat'
