Complete the code to query data as it was at a specific time.
SELECT * FROM sales_data AT(TIMESTAMP => [1]);The AT(TIMESTAMP =>) clause lets you query the table as it was at a specific timestamp. You need to provide a valid timestamp string.
Complete the code to query data as it was before a certain time.
SELECT * FROM sales_data BEFORE(TIMESTAMP => [1]);AT instead of BEFORE.The BEFORE(TIMESTAMP =>) clause returns data as it was before the given timestamp.
Fix the error in the query to correctly use the time travel feature.
SELECT * FROM sales_data [1](TIMESTAMP => '2023-01-10 08:00:00');
The correct syntax to query data at a specific time is AT(TIMESTAMP =>) followed by the timestamp.
Fill both blanks to query data before a certain timestamp and order by date.
SELECT * FROM sales_data [1](TIMESTAMP => [2]) ORDER BY sale_date;
Use BEFORE(TIMESTAMP =>) followed by the timestamp to get data before that time.
Fill all three blanks to query data at a specific time, filter by region, and order by amount.
SELECT * FROM sales_data [1](TIMESTAMP => [2]) WHERE region = [3] ORDER BY amount DESC;
Use AT(TIMESTAMP =>) with the timestamp, then filter by region with quotes around the string.