CommencerCommencer gratuitement

Iterating on queries

You're exploring customer data and used the AI assistant to help find out where your customers are from.

Without the schema information, it assumed that the table included some city information. You need to iterate on this with the AI assistant to correct the query to look at country instead.

Cet exercice fait partie du cours

Introduction to SQL with AI

Afficher le cours

Instructions

  • Fix the query by replacing the incorrect field name with the correct one.

Exercice interactif pratique

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

SELECT city
FROM customers;
Modifier et exécuter le code