Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

to be solved step by step please there is 5 questions highlited in yelow thank you Social Network Website Database Project 15% A social network

to be solved step by step please there is 5 questions highlited in yelow thank you
image text in transcribed
image text in transcribed
Social Network Website Database Project 15% A social network website allows different users to interact, share certain information with each other and post to general audience. The two basic features or modules in the social network website are the profile management and friends' organization. Each user can create a profile the profile must include his name, contact information, date created, login details, profile picture and other features. A user can follow other users and can be followed by them or not. A user can send messages to other users and the messages must be stored and contain the date and time sent. The user can post small text posts. The other users can see the posts if they follow the post owner. The viewed times is also stored for each post. The other users can also agree or disagree (like or dislike) the post and add comments on it. The user can create or join a group. The group must have a name, category and an administrator. Each user can join many groups. I Steps to be done Step 1: Data Modeling - Create an ER diagram. Step 2: Map ER diagram into a relational model. Step 3. Put the tables which you have mapped in the 3rd normal form. Step 4: Create the tables and fill them with few records. Step 5: SQLQueries Database Systems SQL Queries 1. List the posts added by a certain user in a certain year. 2. List all the comment(s) on a certain post. 3. Give the number of views of a certain post. 4. Give the number of agrees and disagrees of a certain post. 5. Give the number of followers and followed users of a certain user. 6. List the names of followers of a certain user. 7. List the names of followed users of a certain user. 8. List the last ten messages. 9. For two certain users List all the messages history. 10. For each user list the name of joined groups ordered by date joined. 11. For each group list the name of all its members. I Write 5 additional queries that you find useful for this application. The queries should be complex queries easy (include union, intersection, difference)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions

Question

6. What are the newest developments in human relations?

Answered: 1 week ago