CREATE TABLE Participants_in_Events (Event_ID NUMBER, Participant_ID NUMBER)
CREATE TABLE Participants (Participant_ID NUMBER, Participant_Type_Code CHAR, Participant_Details VARCHAR2)
CREATE TABLE Events (Event_ID NUMBER, Service_ID NUMBER, Event_Details VARCHAR2)
CREATE TABLE Services (Service_ID NUMBER, Service_Type_Code CHAR)

What is the ratio of success and failure of the event details? Show me the result with a pie chart.
SELECT Event_Details, COUNT(Event_Details) FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY Event_Details
SELECT "Event_Details", COUNT("Event_Details") FROM "Events" "T1" JOIN "Participants_in_Events" "T2" ON "T1"."Event_ID" = "T2"."Event_ID" GROUP BY "Event_Details"