SELECT
statement to choose the distinct titles from the Content
table.Content
table with the TVProgram
table on the content_id
field using an INNER JOIN
.WHERE
clause to filter for kid-friendly content by checking Kids_content = 'Y'
.content_type = 'Movies'
.MONTH()
and YEAR()
functions to filter the program_date
to June 2020.erDiagram TVProgram { date program_date int content_id varchar channel } Content { varchar content_id varchar title enum Kids_content varchar content_type } TVProgram ||--o{ Content : ""