Cir 106 Lab Manual - Update 2
Cir 106 Lab Manual - Update 2
COMPUTER SCIENCE
YEAR 1 SEMESTER 2
LAB MANUAL
1
Read MySQL programming pdf notes I sent you.
2
productCode char(3) not null default ‘ ‘ ,
);
3
LAB 2A: Adding more data in a database table
Add ten more records of your choice in the product table
4
phone varchar(15) not null,
primary key (supplierID)
);
5
LAB 2K: Adding values to supplierID field of product table
1. Type:
Update product set supplierID = 102;
2. This command sets the entire column of supplierID in product table to be 102
Type:
Select * From unit ; to view the data entered,
7
Type:
Select * From student ; To view data entered into student tables.
8
Type:
Select * From student ; to view the content of student table after placing values of Age field.