ComeçarComece de graça

Counting records

You've explored the customers table before. Now your manager is asking about the size of the customer database for planning purposes. Instead of exploring individual records, you need to provide a summary count. Start by understanding the size of your data.

To get the right result, you'll need to guide the AI with a clear prompt.

Este exercício faz parte do curso

Introduction to SQL with AI

Ver curso

Instruções do exercício

  • Ask the AI to count the records in the customers table.
  • Label the result with the alias total_count.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

SELECT *
FROM customers;
Editar e executar o código