You are on page 1of 1

use mis ; create database mis ; create table depts (deptid varchar (4), deptname varchar (20)) ; show

tables ; describe depts ;

insert into depts values ('BA', 'Business Administration') ;

insert into depts values ('CSE', 'Computer science and engineering') ;

select * from depts ; create table students (studentid numeric (10), studname varchar (40), dept varch ar (4)) ;

describe depts ;

insert into students values (2012395001, 'Alok', 'BA') ;

select * from students ;

.......................................... extra command : delete from students ; drop table students ;

You might also like