SQL DEVELOPER INTERNSHIP
Task 4: Aggregate Functions and Grouping
Objective:Use aggregate functions and grouping to summarize data
Tools :DB Browser for SQLite / MySQL Workbench
Deliverables:SQL queries using SUM, COUNT, AVG, GROUP BY
Hints/Mini Guide:
1. Apply aggregate functions on numeric columns
2. Use GROUP BY to categorize
3. Filter groups using HAVING
Outcome: Ability to summarize and analyze tabular data
Interview Questions:
1. What is GROUP BY?
2. Difference between WHERE and HAVING?
3. How does COUNT(*) differ from COUNT(column)?
4. Can you group by multiple columns?
5. What is ROUND() used for?
6. How do you find the highest salary by department?
7. What is the default behavior of GROUP BY?
8. Explain AVG and SUM.
9. How to count distinct values?
10. What is an aggregate function?
Key Concepts: Aggregation, Grouping
📤 Submit Here:
After completing the task, paste your GitHub repo link and submit it using the link below:
👉 [Submission Link ]
📌 Task Submission Guidelines
⏰ Time Window:
You can complete the task anytime between 10:00 AM to 10:00 PM on the given day. Submission link closes at
10 :00 PM
🔍 Self-Research Allowed:
You are free to explore, Google, or refer to tutorials to understand concepts and complete the task effectively.
🛠 Debug Yourself:
Try to resolve all errors by yourself. This helps you learn problem-solving and ensures you don’t face the same
issues in future tasks.
💸 No Paid Tools:
If the task involves any paid software/tools, do not purchase anything. Just learn the process or find free
alternatives.
📁 GitHub Submission:
Create a new GitHub repository for each task.
Add everything you used for the task — code, datasets, screenshots (if any), and a short [Link] explaining
what you did.
📤 Submit Here:
After completing the task, paste your GitHub repo link and submit it using the link below:
👉 [Submission Link ]