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

what are the event details of the services that have the type code 'Marriage', and count them by a bar chart, I want to rank by the x axis in ascending.
SELECT Event_Details, COUNT(Event_Details) FROM Events AS T1 JOIN Services AS T2 ON T1.Service_ID = T2.Service_ID WHERE T2.Service_Type_Code = 'Marriage' GROUP BY Event_Details ORDER BY Event_Details
SELECT "Event_Details", COUNT("Event_Details") FROM "Events" AS "T1" JOIN "Services" AS "T2" ON "T1"."Service_ID" = "T2"."Service_ID" AND "T2"."Service_Type_Code" = 'Marriage' GROUP BY "Event_Details" ORDER BY "Event_Details" NULLS FIRST