5. Counting the Number of Rows and Columns
Counting the Number of Rows and Columns
Task #1: Counting Rows
To begin our exploration of the dataset, a fundamental step is to understand its size. Knowing the number of rows helps in assessing the dataset's scale and informs subsequent data analysis processes.
Objective: The aim is to count the total number of rows in the dataset, which represents the number of records or entries.
Expected Result: The execution of this query should reveal that the dataset contains 9,994 rows.
Data Source:
dataacademykz.superstore.sales
Task #2: Counting Columns
After establishing the number of rows in our dataset, the next step in our initial exploration is to determine the number of columns. This information is crucial as it gives us an insight into the dataset's complexity and the variety of data points available for analysis.
Objective: Ascertain the total number of columns in a specific table of our dataset.
Expected Result: The query is expected to show that there are 21 columns in the 'sales' table of the 'superstore' dataset.
Data Source:
dataacademykz.superstore.sales