Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create table konta(id_konta int PRIMARY KEY not null auto_increment, login text(20), haslo text(20));
- create table uzytkownicy(id_uzytkownicy int PRIMARY KEY not null auto_increment, imie text(20), nazwisko text(20), adres text(20), telefon text(20));
- insert into uzytkownicy values(null,'Jan','Nowak','Warszawa, Kopernika 4','608111222');
- insert into konta values(null,'JanNowak','qwerty');
- select imie,nazwisko from uzytwkownicy;
- select adres from uzytkownicy where id_uzytkownicy=1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement