Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ifrah Shahid
lab-exercises
Commits
66134da1
Commit
66134da1
authored
Oct 16, 2016
by
Sorrel Harriet
Browse files
dummy_data.sql update
parent
c3dc8998
Changes
1
Hide whitespace changes
Inline
Side-by-side
lab-3/music-store-app/sql/dummy_data.sql
View file @
66134da1
...
@@ -50,13 +50,18 @@ VALUES
...
@@ -50,13 +50,18 @@ VALUES
INSERT
INTO
Customer
(
username
,
email_address
,
password
,
first_name
,
last_name
,
address_1
,
address_2
,
postcode
)
INSERT
INTO
Customer
(
username
,
email_address
,
password
,
first_name
,
last_name
,
address_1
,
address_2
,
postcode
)
VALUES
VALUES
(
'sharr003'
,
's.harriet@gold.ac.uk'
,
'SOME_HASHED_VALUE'
,
'Sorrel'
,
'Harriet'
,
'12 Fake Street'
,
'London'
,
'SE140PL'
);
(
'sharr003'
,
's.harriet@gold.ac.uk'
,
'SOME_HASHED_VALUE'
,
'Sorrel'
,
'Harriet'
,
'12 Fake Street'
,
'London'
,
'SE140PL'
),
(
'ktack001'
,
'k.tackie@hotmail.com'
,
'SOME_HASHED_VALUE'
,
'Kobi'
,
'Tackie'
,
'12 Fake Street'
,
'London'
,
'SE140PL'
);
INSERT
INTO
Transaction
(
customer_id
,
delivery
)
INSERT
INTO
Transaction
(
customer_id
,
delivery
)
VALUES
VALUES
(
1
,
'next working day'
);
(
1
,
'next working day'
),
(
1
,
'first class'
),
(
2
,
'second class'
);
INSERT
INTO
LineItem
(
trans_id
,
album_upc
,
quantity
)
INSERT
INTO
LineItem
(
trans_id
,
album_upc
,
quantity
)
VALUES
VALUES
(
1
,
'018273727287'
,
1
),
(
1
,
'018273727287'
,
1
),
(
2
,
'018273727287'
,
1
),
(
3
,
'491827364626'
,
1
),
(
1
,
'018274372722'
,
2
);
(
1
,
'018274372722'
,
2
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment