-
Notifications
You must be signed in to change notification settings - Fork 0
/
insert_data_mt.sql
83 lines (69 loc) · 949 Bytes
/
insert_data_mt.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--insert data into customer
insert into customer(
customer_id,
first_name,
last_name,
address,
payment_info
) values (
1,
'Namjoon',
'Kim',
'23 SorryforalltheBTSreferences Dr, Hot Springs, AR 06137',
'5555-5555-5555-5555 555 05/25'
);
--insert ticket inventory data
insert into movie_tickets (
upc,
ticket_amount
) values (
1,
100.00
);
--insert concession inventory data
insert into concession_inventory (
con_upc,
concession_amount
) values (
1,
100.00
);
--Movie Data Creation
insert into movie(
movie_id,
price,
movie_title,
upc
) values (
1,
25.00,
'Incredible Journey to the Center of Nic Cages Ego',
1
);
--Concession Data Creation
insert into concessions(
con_id,
con_price,
con_name,
con_upc
) values (
1,
475.00,
'small popcorn',
1
);
--payment data
insert into payment (
order_id,
sub_total,
total_cost,
upc,
con_upc
) values (
1,
425.00,
428.50,
1,
1
);
select * from payment