Exercise in the textbook:
1. 2.7 in page 61 (20 points)
2. 2.14 in page 63 (20 points)
3. 2.15 in page 63 (20 points)
Practice with real dataset
4. Write SQL commands to create tables for Yelp data: (20 points)
- Get Yelp dataset at: https://www.yelp.com/dataset_challenge
- Take a look at the JSON files: business.json, checkin.json, review.json, tip.json, user.json
- Design relation schemas for the data
- Write SQL commands to create tables
5. Import the sample dataset into MySQL on any database server you can access (20 points)
- Go to the link: https://dev.mysql.com/doc/employee/en/
- Follow the instructions and import the Employees Sample Database into MySQL on the database server.
- Capture any screen that shows the tables and how many data are imported.
Submission:
You have to submit the followings to D2L:
MS word file
- Solutions for Q.1, 2, and 3
- SQL commands for Q.4
- Captured screen for Q.5
Exercise in the textbook: Abraham Silberschatz, Henry Korth and S. Sudarshan, Database System Concepts McGraw-Hill Science/Engineering/Math ; 7/e , ISBN 9780078022159, 2019 Online Material 1. 2.7 in page 61 2. 2.14 in page 63 3. 2.15 in page 63 Practice with real dataset 4. Write SQL commands to create tables for Yelp data: - Get Yelp dataset at: https://www.yelp.com/dataset_challenge - Take a look at the JSON files: business.json, checkin.json, review.json, tip.json, user.json - Design relation schemas for the data - Write SQL commands to create tables 5. Import the sample dataset into MySQL on any database server you can access (20 points) - Go to the link: https://dev.mysql.com/doc/employee/en/ - Follow the instructions and import the Employees Sample Database into MySQL on the database server. - Capture any screen that shows the tables and how many data are imported.