CREATE TABLE cinema (name VARCHAR2, cinema_id VARCHAR2)
CREATE TABLE schedule (show_times_per_day NUMBER, cinema_id VARCHAR2)

What is total number of show times per dat for each cinema?
SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id
SELECT "T2"."name", SUM("T1"."show_times_per_day") FROM "schedule" "T1" JOIN "cinema" "T2" ON "T1"."cinema_id" = "T2"."cinema_id" GROUP BY "T1"."cinema_id"