1
+ CREATE DATABASE hyf_node_week3_warmup ;
2
+
3
+ USE hyf_node_week3_warmup;
4
+
5
+ CREATE TABLE `contacts ` (
6
+ ` id` int unsigned NOT NULL AUTO_INCREMENT,
7
+ ` first_name` varchar (255 ) NOT NULL ,
8
+ ` last_name` varchar (255 ) NOT NULL ,
9
+ ` email` varchar (255 ) DEFAULT NULL ,
10
+ ` phone` varchar (255 ) DEFAULT NULL ,
11
+ PRIMARY KEY (` id` )
12
+ ) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4;
13
+
14
+ -- Sample data
15
+ insert into contacts (id, first_name, last_name, email, phone)
values (
1 ,
' Selig' ,
' Matussov' ,
' [email protected] ' ,
' 176-630-4577' );
16
+ insert into contacts (id, first_name, last_name, email, phone) values (2 , ' Kenny' , ' Yerrington' , null , null );
17
+ insert into contacts (id, first_name, last_name, email, phone) values (3 , ' Emilie' , ' Gaitskell' , null , null );
18
+ insert into contacts (id, first_name, last_name, email, phone) values (4 , ' Jordon' , ' Tokell' , null , null );
19
+ insert into contacts (id, first_name, last_name, email, phone)
values (
5 ,
' Sallyann' ,
' Persse' ,
' [email protected] ' ,
' 219-157-2368' );
20
+ insert into contacts (id, first_name, last_name, email, phone) values (6 , ' Berri' , ' Bulter' , null , null );
21
+ insert into contacts (id, first_name, last_name, email, phone)
values (
7 ,
' Lanni' ,
' Ivanilov' ,
' [email protected] ' ,
null );
22
+ insert into contacts (id, first_name, last_name, email, phone) values (8 , ' Dagny' , ' Milnthorpe' , null , null );
23
+ insert into contacts (id, first_name, last_name, email, phone) values (9 , ' Annadiane' , ' Bansal' , null , null );
24
+ insert into contacts (id, first_name, last_name, email, phone) values (10 , ' Tawsha' , ' Hackley' , null , null );
25
+ insert into contacts (id, first_name, last_name, email, phone) values (11 , ' Rubetta' , ' Ozelton' , null , null );
26
+ insert into contacts (id, first_name, last_name, email, phone)
values (
12 ,
' Charles' ,
' Boughey' ,
' [email protected] ' ,
' 605-358-5664' );
27
+ insert into contacts (id, first_name, last_name, email, phone) values (13 , ' Shantee' , ' Robbe' , null , null );
28
+ insert into contacts (id, first_name, last_name, email, phone) values (14 , ' Gleda' , ' Peat' , null , null );
29
+ insert into contacts (id, first_name, last_name, email, phone)
values (
15 ,
' Arlinda' ,
' Ethersey' ,
' [email protected] ' ,
' 916-139-1300' );
30
+ insert into contacts (id, first_name, last_name, email, phone)
values (
16 ,
' Armando' ,
' Meachem' ,
' [email protected] ' ,
' 631-442-5339' );
31
+ insert into contacts (id, first_name, last_name, email, phone) values (17 , ' Codi' , ' Redhouse' , null , ' 401-953-6897' );
32
+ insert into contacts (id, first_name, last_name, email, phone)
values (
18 ,
' Ann' ,
' Buncombe' ,
' [email protected] ' ,
' 210-338-0748' );
33
+ insert into contacts (id, first_name, last_name, email, phone)
values (
19 ,
' Louis' ,
' Matzkaitis' ,
' [email protected] ' ,
' 583-996-6979' );
34
+ insert into contacts (id, first_name, last_name, email, phone) values (20 , ' Jessey' , ' Pala' , null , null );
35
+ insert into contacts (id, first_name, last_name, email, phone)
values (
21 ,
' Archy' ,
' Scipsey' ,
' [email protected] ' ,
' 420-983-2426' );
36
+ insert into contacts (id, first_name, last_name, email, phone)
values (
22 ,
' Benoit' ,
' Mould' ,
' [email protected] ' ,
' 271-217-9218' );
37
+ insert into contacts (id, first_name, last_name, email, phone)
values (
23 ,
' Sherm' ,
' Girardey' ,
' [email protected] ' ,
' 916-999-2957' );
38
+ insert into contacts (id, first_name, last_name, email, phone)
values (
24 ,
' Raquel' ,
' Mudge' ,
' [email protected] ' ,
' 789-830-7473' );
39
+ insert into contacts (id, first_name, last_name, email, phone) values (25 , ' Tabor' , ' Reavey' , null , null );
0 commit comments