Table: judy_ann_santos_filmography
Columns: year
title
role
producer
director

Question: What title has a producer of MAQ and Anna as a role?
SQL: SELECT "title" FROM judy_ann_santos_filmography WHERE "producer" = 'maq' AND "role" = 'anna'

Question: How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema?
SQL: SELECT COUNT("year") FROM judy_ann_santos_filmography WHERE "producer" = 'star cinema' AND "director" = 'rory quintos' AND "title" = 'kay tagal kang hinintay'

Question: Which title was directed by Joyce Bernal?
SQL: SELECT "title" FROM judy_ann_santos_filmography WHERE "director" = 'joyce bernal'