CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)
CREATE TABLE schedule (show_times_per_day INT, cinema_id VARCHAR)

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" AS "T1" JOIN "cinema" AS "T2" ON "T1"."cinema_id" = "T2"."cinema_id" GROUP BY "T1"."cinema_id"