giovedì 15 aprile 2010

Lezione 15 aprile 2010

create table ristorante (id int, nome varchar(30), indirizzo varchar(30), primary key(id))
insert into ristorante values(1,"calimero", "via pulcino nero n34")
insert into ristorante values(2, "osteria del Ghiottone", "via del sorcio morto 22")
select * from ristorante where id=1;
uptade ristorante set indirizzo="via del sorcio vivo 22" where id=2;
delete from ristorante where id=1;

Nessun commento: