# MySQL dump 8.2 # # Host: localhost Database: contacts #-------------------------------------------------------- # Server version 3.22.34-shareware-debug
# # Table structure for table 'address' #
CREATE TABLE address ( contact_id smallint(6) DEFAULT '0' NOT NULL, StreetAddress char(50), City char(20), State char(20), Zip char(10), Country char(20), PRIMARY KEY (contact_id) );
# # Dumping data for table 'address' #
INSERT INTO address VALUES (1,'300 Yamila Ave.','Los Angeles','CA','300012','USA'); INSERT INTO address VALUES (2,'4000 Nikki St.','Boca Raton','FL','500034','USA'); INSERT INTO address VALUES (3,'404 Tia Blvd.','New York','NY','10011','USA');
# # Table structure for table 'company_details' #
CREATE TABLE company_details ( contact_id smallint(6) DEFAULT '0' NOT NULL, CompanyName char(25), Designation char(20), PRIMARY KEY (contact_id) );
# # Dumping data for table 'company_details' #
INSERT INTO company_details VALUES (1,'Xerox','New Business Manager'); INSERT INTO company_details VALUES (2,'Cabletron','Customer Support Eng'); INSERT INTO company_details VALUES (3,'Apple','Sales Manager');
# # Table structure for table 'email' #
CREATE TABLE email ( contact_id smallint(6) DEFAULT '0' NOT NULL, Email char(20), PRIMARY KEY (contact_id) );
# # Dumping data for table 'email' #
INSERT INTO email VALUES (1,'yamila@yamila.com'); INSERT INTO email VALUES (2,'nikki@nikki.com'); INSERT INTO email VALUES (3,'tia@tia.com');
# # Table structure for table 'names' #
CREATE TABLE names ( contact_id smallint(6) DEFAULT '0' NOT NULL auto_increment, FirstName char(20), LastName char(20), BirthDate date, PRIMARY KEY (contact_id) );
# # Dumping data for table 'names' #
INSERT INTO names VALUES (3,'Tia','Carrera','1975-09-18'); INSERT INTO names VALUES (2,'Nikki','Taylor','1972-03-04'); INSERT INTO names VALUES (1,'Yamila','Diaz','1974-10-13');
# # Table structure for table 'telephones' #
CREATE TABLE telephones ( contact_id smallint(6) DEFAULT '0' NOT NULL, TelephoneHome char(20), TelephoneWork char(20), PRIMARY KEY (contact_id) );
# # Dumping data for table 'telephones' #
INSERT INTO telephones VALUES (1,'333-50000','333-60000'); INSERT INTO telephones VALUES (2,'444-70000','444-80000'); INSERT INTO telephones VALUES (3,'555-30000','555-40000');
|