Write a trigger that updates the attribute “avg_rating” automatically whenever a new
tuple is inserted into Watch. Please put your trigger at the end of the provided testbed and
insert more tuples into the Watch relation to test your trigger (make sure you add select
statements to show the output).
The post Write the following queries in SQL appeared first on learnedprofessors.