Get startedGet started for free

Limiting the amount of data

First, you will need to find the correct way to optimize this simple query by using only the required columns you need.

This exercise is part of the course

Introduction to BigQuery

View Course

Exercise instructions

  • Reduce the amount of data being queried in the final query to include only the order_id and payment_type.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

-- Write the most efficient query that uses only the required data
SELECT ___, ___
FROM ecommerce.ecomm_payments
LIMIT 10;
Edit and Run Code