Question: THE TABLE IS NOT THE ANSWER TO THE QUESTION! PLEASE WRITE OUT THE SQL QUERY TO THESE QUESTIONS BASED ON WHAT YOU SEE FROM THE

THE TABLE IS NOT THE ANSWER TO THE QUESTION! PLEASE WRITE OUT THE SQL QUERY TO THESE QUESTIONS BASED ON WHAT YOU SEE FROM THE TABLE

1. Table: facebook_reactions, facebook_posts

a) Find all posts which were reacted to with a heart

THE TABLE IS NOT THE ANSWER TO THE QUESTION!

THE TABLE IS NOT THE ANSWER TO THE QUESTION!

facebook posts post_id poster post_text post_keywords post_date 0 2 The Lakers game from last night was great. [basketball,lakers,nba] 2019-1-1 1 1 Lebron James is top class. [basketball,lebron_james,nba] 2019-1-2 2 2 Asparagus tastes OK. [asparagus,food] 2019-1-1 3 1 Spaghetti is an Italian food. [spaghetti, food] 2019-1-2 4 3 User 3 is not sharing interests [#spam#] 2019-1-1 5 3 User 3 posts SPAM content a lot [#spam#] 2019-1-2 facebook reactions poster friend reaction date_day post_id 2 1 like 1 0 2 6 like 1 0 1 2 like 1 1 1 3 heart 1 1 1 4 like 1 1 1 5 heart 1 1 1 6 like 1 1 2 1 like 2 2 2 6 like 2 2 1 2 like 2 3 1 3 like 2 3 1 4 like 2 3 1 5 like 2 3 1 6 like 2 3 2 1 laugh 1 0 2 6 laugh 1 1 1 2 laugh 1 0 1 3 laugh 1 3 1 4 laugh 1 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!