Task: Text to Code
Input (English): What are all the movies rated as R? List the titles.
Output (English): SELECT title FROM film WHERE rating  =  'R'