Professional Documents
Culture Documents
Dbms 8
Dbms 8
Write a query to create view “Communi es” consis ng of Name, Loctaion and
Comm_Category
Ini ally, the table “Event_Audit” is empty, a er upda ng a row in the Event table, the data in
Table is displayed and following is the result
Before inser on, the Community Table has the following contents
A er Inser ng a new row in the Par cipates table
INSERT INTO PARTICIPATES VALUES ('sid@email.com', 4);
The value inserted in the Par cipates Table (Par cipant_ID, Event_ID) is (‘sid@email.com’, 4),
the par cipant par cipated in the event with ID 4 which is posted in the Community ID 2,
a er inser on the value of No_Par cipants in the Community table got incremented by 1, as
a new par cipant enrolled in an event posted in the Community with ID 2