EXERCISE TOPIC▼
SQL EXERCISES▼
SQL EXERCISES▼
- Simple Queries (4)
- Setting criteria using WHERE (5)
- Calculations (7)
- Calculations using dates (4)
- Basic joins (8)
- More exotic joins (2)
- Aggregation and grouping (8)
- Views (5)
- Subqueries (5)
- Stored procedures (5)
- Variables (8)
- Parameters and return values (11)
- Testing conditions (1)
- Looping (3)
- Scalar functions (6)
- Transactions (5)
- Creating tables (5)
- Temporary tables and table variables (9)
- Table-valued functions (6)
- Derived tables and CTEs (13)
- Dynamic SQL (4)
- Pivots (2)
- Triggers (2)
- Archived (70)
SQL exercises on AGGREGATION AND GROUPING
This page lists the 8 exercises about Aggregation and grouping in SQL on our website: p >
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Relatively easy |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Use grouping to show how many episodes each Doctor Who author wrote. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Relatively easy |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Use GROUP BY and COUNT to report on the number of events for each category. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Relatively easy |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Use COUNT, MAX and MIN to show statistics about the rows in the events table. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Average difficulty |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Use SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY to list non-European busy countries. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Average difficulty |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Group by 2 fields and use HAVING clause to show popular combinations. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Harder than average |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Use lots of grouping and criteria to list out year/doctor episode counts. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Harder than average |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Combine CAST, AVG, COUNT, LEN, UPPER and LEFT to show the average length of event names by category initial. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Aggregation and grouping |
Level: | Harder than average |
Courses: | Introduction to SQLFast-track SQL |
Exercise: | Use a complex CASE statement to show the number of events for each century, including the CUBE function. |
You can search our full list of SQL exercises here, or why not have a look at our other SQL training resources?
This page has 0 threads
Add post