CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to BigQuery

Afficher le cours

Instructions

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

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

-- Write the most efficient query that uses only the required data
SELECT ___, ___
FROM ecommerce.ecomm_payments
LIMIT 10;
Modifier et exécuter le code