SQL Lab1: Create a Database Table for DayCare
1: Create a Database Table for DayCare sol : CREATE TABLE dc_kids ( kid_id INT NOT NULL AUTO_INCREMENT, kid_fname VARCHAR(30) NOT NULL, kid_lname VARCHAR(30) NOT NULL, kid_gender CHAR(1) NOT NULL, kid_age SMALLINT UNSIGNED NOT NULL, kid_address TEXT NOT NULL, kid_dob DATETIME NOT NULL, kid_father VARCHAR(30) NOT NULL, kid_mother VARCHAR(30) NOT NULL, kid_emgcontact VARCHAR(15) NOT NULL, PRIMARY KEY (kid_id) ) ENGINE=INNODB; // Inserting data to Table... INSERT INTO dc_kids (kid_fname, kid_lname, kid_gender, kid_age, kid_address, kid_dob, kid_father, kid_mother, kid_emgcontact) VALUES ('Deep', 'Bhati', 'M', '3', '21st Jump Street', '1996-12-06 05:18:01', 'Mahesh', 'Megha', '987654321'), ('Scarlett', 'Johansson', 'F', '4', '21B Baker Street', '1992-11-06 06:19:02', 'Bruce',