Back to course home
0% completed
Vote For New Content
2. Second Degree Follower
Problem
Table: Follow
+-------------+---------+
| Column Name | Type |
+-------------+---------+
| followee | varchar |
| follower | varchar |
+-------------+---------+
(followee, follower) is the primary key (combination of columns with unique values) for this table.
Each row of this table indicates that the user follower follows the user followee on a social network.
There will not be a user following themself.
Problem Definition
A second-degree follower is a user who:
- follows at least one user, and
- is followed by at least one user.
.....
.....
.....
Like the course? Get enrolled and start learning!
On this page