PDE • Practice Test 22
Free PDE practice test — 15 questions with explanations. Set 22. No signup required.
You have a BigQuery table `sales` with columns `order_id`, `customer_id`, `order_date` (DATE), and `amount` (NUMERIC). You need to create a new table that contains, for each customer, the total sales amount and the date of their most recent order. The result should include `customer_id`, `total_amount`, and `last_order_date`. Which SQL query achieves this correctly?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.