Commit a3eb8f8f authored by Sorrel Harriet's avatar Sorrel Harriet
Browse files

Merge branch 'master' of gitlab.doc.gold.ac.uk:data-networks-web/lab-exercises

parents b1522806 60848796
......@@ -20,10 +20,10 @@ Here's a reminder of the topics covered in each lab session. Please note, topics
- Basic querying (SELECT)
### Lab 3: SQL sequel! (Advanced querying) (20/21 Oct)
- Sorting
- Sorting (ORDER BY)
- Table joins
- Aggregate functions
- Equivalent relational expressions
- Comparison operators
### Lab 4: Security and integrity! (27/28 Oct)
- Data normalisation
......@@ -49,4 +49,4 @@ Here's a reminder of the topics covered in each lab session. Please note, topics
### Lab 9: Introduction to MongoDB (non-assessed) (8/9 Dec)
- Document structure
- Creating a collection
- MongoDB CRUD operations
- MongoDB CRUD operations
\ No newline at end of file
......@@ -50,13 +50,18 @@ VALUES
INSERT INTO Customer (username, email_address, password, first_name, last_name, address_1, address_2, postcode)
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)
VALUES
(1, 'next working day');
(1, 'next working day'),
(1, 'first class'),
(2, 'second class');
INSERT INTO LineItem (trans_id, album_upc, quantity)
VALUES
(1, '018273727287', 1),
(2, '018273727287', 1),
(3, '491827364626', 1),
(1, '018274372722', 2);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment