Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How many likes were received on all the posts made by friends on the day before today in a dataset that includes two tables: one
How many likes were received on all the posts made by friends on the day before today in a dataset that includes two tables: one containing information about the date, postid relationship e g friend, group, page and interaction e g like, share, etc. and another table containing postid and the ID of the person who posted them?
Assume today as the day you are solving the Problem.
Tables Schema as Below:
postinteractions
columnName dataType
interactionid INT
postid INT
interactiontype VARCHAR
interactiondate DATE
relationshiptype VARCHAR
posts
columnName dataType
postid INT
authorid INT
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started