Exercise 9: Using Diffierent Data Models for Internet Scale Apps

Pick your favorite internet or other data-intensive application (eg. Facebook, Snapchat, Twitter, Youtube, Uber/Lyft, Amazon, etc.)

1) Design the relational data model for the application.

2) Write at least two SQL queries that the application will need.

3) Design a non-relational data model for the application.

4) Write the same SQL queries using the query language for the chosen non-relational data model (pseudocode is fine for certain query models).