I need to automate the date range of my monthly queries using Legacy SQL language.
With this code, Google Bigquery doesn't storage data tables from start to the end of the month (1st May to 31th May).
FROM TABLE_DATE_RANGE([99999999.ga_sessions_],
DATE_ADD(CURRENT_TIMESTAMP(),-30,'DAY'),
DATE_ADD(CURRENT_TIMESTAMP(),-1,'DAY'))