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.
Diese Übung ist Teil des Kurses
Introduction to SQL with AI
Anleitung zur Übung
- Ask the AI to count the records in the customers table.
- Label the result with the alias
total_count
.
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
SELECT *
FROM customers;