Social Media SQL Database
Social Media SQL Database
first name;
name;
date of birth;
place of birth;
email address;
username;
a short CV;
a photo.
For statuses / statuses, the information about the title, content and date of publication of the status
must be stored, so the respective status must also be marked.
Users can become friends, an activity that, of course, needs to be noted somewhere. We must also save
the user who is our user's friend, when they became friends and what is the state of friendship (pending,
accepted, rejected).
To help with this assignment, you can use the example of a relationship in Lesson 2.3. - Primary and
foreign keys.
A database must be created for such a system, but you must also create the EER diagram of entities and
relationships. It doesn't matter if you start with a model and then create a database or vice versa, but it
is certainly recommended to create a model first, because it is more realistic to first create a plan
(sketch, respectively a model) and then transform that model in a real database.
Send the base as a script (.sql) and the model as a .jpg or .png image together in a .zip archive.