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 ejercicio forma parte del curso
Introduction to SQL with AI
Instrucciones del ejercicio
- Ask the AI to count the records in the customers table.
- Label the result with the alias
total_count.
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
SELECT *
FROM customers;