Posted by Mule veera, July 17, 2024, 8:19 a.m.
Write a query to return the total movie rental revenue for each month. For Postgres: you can use EXTRACT(MONTH FROM colname) and EXTRACT(YEAR FROM colname) to extract month and year from a timestamp c
- Write a query to return the total movie rental revenue for each month.
- For Postgres: you can use
EXTRACT(MONTH FROM colname)andEXTRACT(YEAR FROM colname)to extract month and year from a timestamp column.