Академический Документы
Профессиональный Документы
Культура Документы
Answers
a. create database customer;
b. show databases;
c. select * from tab;
STUDENT TABLE -
STUDENT11 TABLE -
ENROLLEDIN TABLE -
SUBJECT TABLE -
Table created.
insert into employee values(10,’anita’,’cs’,9000);
insert into employee values(11,’akash’,’cs’,8000);
insert into employee values(13,’vivek’,’physics’,7000);
10 anita cs 9000
13 vivek cs 8000
(c) creating table with constraints primary key and foreign key
(d). creating table with constraints primary key and foreign key
update employee
set salary=25000
where emp_id=10;
1 row(s) updated.