View difference between Paste ID: ut7P1BuG and ZsZQJsR2
SHOW: | | - or go back to the newest paste.
1-
SELECT billing_address,
1+
SELECT title
2-
       billing_city
2+
FROM movie
3-
FROM invoice
3+
WHERE rental_duration > 6 
4-
WHERE total > 2
4+
    AND rental_rate <= 2
5-
  AND (CAST(invoice_date AS date) BETWEEN '2009-09-01' AND '2009-10-01')
5+
    AND NOT (rating = 'PG' 
6-
  AND NOT (billing_country = 'USA'
6+
    OR rating = 'PG-13')