460 likes | 592 Views
select * from reg. create table reg. (. login varchar(30)not null,. cpassword varchar(30)not null,. email varchar(30)not null,. taste varchar(30)not null,. address varchar(30)not null,. phone varchar(30)null,. ). alter table reg add constraint pklogin primary key clustered (login).
E N D
alter table reg add constraint pklogin primary key clustered (login)
insert into reg values('vidhyashank.m','sar','vidhyashankar.m@gmail.com','pop','20,radak street,ch-24','044-22334353')
alter table admin add constraint plogin primary key clustered (login)
alter table songs add constraint pksong_id primary key clustered (song_id)
insert into songs values('001','dhool','muniyamma','cinema','5')
insert into message values('pop','hi folks a new pop album by Mike Jackson is d latest on the site')
insert into message values('cinema','hi folks a new song by Mano is awaiting to b heared by u ')
insert into message values('classical','hi folks a new carnatic album by Nithyashree Mahadevan is d latest on the site')