The document contains SQL commands to create and populate three tables: TEACHER, Garment, and BOOKS, along with an ISSUED table for tracking book issues. Each table includes various fields such as IDs, names, descriptions, prices, and other relevant attributes. The INSERT statements provide sample data for each table, although some entries have syntax errors that need correction.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
5 views5 pages
Database Prac 01
The document contains SQL commands to create and populate three tables: TEACHER, Garment, and BOOKS, along with an ISSUED table for tracking book issues. Each table includes various fields such as IDs, names, descriptions, prices, and other relevant attributes. The INSERT statements provide sample data for each table, although some entries have syntax errors that need correction.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5
QUESTION 01
CREATE TABLE `TEACHER` (
`T_ID` INT NULL, `NAME` TEXT NULL, `AGE` INT NULL DEFAULT NULL, `DEPARTMENT` TEXT NULL, `DATE_OF_JOIN` TEXT NULL, `SALARY` INT NULL DEFAULT NULL, `GENDER` TEXT NULL );
INSERT INTO `db admini`.`teacher` (`T_ID`, `NAME`, `AGE`, `DEPARTMENT`,