PCDE Design and implement database schemas • Set 4
PCDE Design and implement database schemas Practice Test 4 — 15 questions with explanations. Free, no signup.
You have a Cloud Spanner table 'Orders' with columns: OrderId, CustomerId, OrderDate, Status. You need to support a query that finds all orders for a customer in the last 30 days, sorted by OrderDate descending, with strong consistency. Using only indexes, what is the best approach?