Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. For each situation where TA X reviews TA Y, and TA Y reviews different TA Z, return the result in following format X reviews
3. For each situation where TA X reviews TA Y, and TA Y reviews different TA Z, return the result in following format X reviews Y, and Y reviews Z, and rename the column as Message. Message Ananna reviews Chandra, and Chandra reviews Gazi Gonesh reviews Alamin, and Alamin reviews Kashfia 4. Return the average number of friends per TA? (Your result should be just one number.) Hint: Read the description of FRIEND table again to find out the mutual status. AVG Friend 2.5000 5. Find all TAs' who do not appear in the review_ta table (as a TA who likes or is liked) and return their names and grades. Sort by gpa, then by name. gpa Jahid 3.36 name 2 Laila 3.66 Tania 3.66 6. Find the number of TAs who are either friends with Chandra or are friends of friends of Chandra. (Do not count Chandra, even though technically she is a friend of a friend). COUNT(*) 7 3. For each situation where TA X reviews TA Y, and TA Y reviews different TA Z, return the result in following format X reviews Y, and Y reviews Z, and rename the column as Message. Message Ananna reviews Chandra, and Chandra reviews Gazi Gonesh reviews Alamin, and Alamin reviews Kashfia 4. Return the average number of friends per TA? (Your result should be just one number.) Hint: Read the description of FRIEND table again to find out the mutual status. AVG Friend 2.5000 5. Find all TAs' who do not appear in the review_ta table (as a TA who likes or is liked) and return their names and grades. Sort by gpa, then by name. gpa Jahid 3.36 name 2 Laila 3.66 Tania 3.66 6. Find the number of TAs who are either friends with Chandra or are friends of friends of Chandra. (Do not count Chandra, even though technically she is a friend of a friend). COUNT(*) 7
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