SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select FORMAT(rental_date, 'MM-yyyy') from customer join rental using (customer_id) join inventory using (inventory_id) join film using(film_id) where first_name = "DOROTHY" and last_name = "TAYLOR" # and FORMAT(rental_date, 'MM-yyyy') = "2005-08" # month(rental_date) = 05 and year(rental_date) = 2005 limit 10

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear