The document contains SQL code to create two database tables - an AGENT table with fields for agent details and a CUSTOMER table with fields for customer details including a foreign key to link customers to agents. It also includes INSERT statements to populate the tables with sample data.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
46 views2 pages
Ch02 InsureCo MySQL
The document contains SQL code to create two database tables - an AGENT table with fields for agent details and a CUSTOMER table with fields for customer details including a foreign key to link customers to agents. It also includes INSERT statements to populate the tables with sample data.
INSERT INTO AGENT VALUES('501','Alby','Alex','B','713',
'228-1249','123 Pleasant View Dr.','Nashville','TN','37119', '2000-11-1','26566.24','6641.56','2125.3','132735.75','3'); INSERT INTO AGENT VALUES('502','Hahn','Leah','F','615', '882-1244','334 East Main Street','Louisville','KY','25246', '1986-5-23','32213.76','8053.44','2577.1','138967.35','0'); INSERT INTO AGENT VALUES('503',' Okon','John','T','615', '123-5589','452 Technology Circle','Oak Ridge','TN','36155', '2005-6-15','23198.29','5799.57','1855.86','127093.45','2');