Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
546 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
This page lists the 19 exercises about Derived tables and CTEs in SQL on our website:
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Relatively easy |
Exercise: | Create an expression in a common table expression, and group by this in a query using the CTE. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Relatively easy |
Exercise: | Use a Common Table Expression in a SQL query to categorise music albums according to sales certifications. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Relatively easy |
Exercise: | Use a Common Table Expression to write a complex query in two distinct parts. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Relatively easy |
Exercise: | Use a CTE to group a query by a CASE expression without including it twice. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Relatively easy |
Exercise: | Use a derived table subquery in SQL Server to categorise a list of venues by size. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Average difficulty |
Exercise: | Create a CTE to show - amazingly easily - events containing the words THIS and THAT, in this order. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Average difficulty |
Exercise: | Show enemies appearing in chosen episodes, using a Common Table Expression (CTE). |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Average difficulty |
Exercise: | Use a basic CTE to hold filtered data before joining onto another table. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Average difficulty |
Exercise: | Use a common table expression (CTE) in a SQL query to aggregate information about tracks on albums. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Average difficulty |
Exercise: | Use a derived table subquery in SQL Server to display details of venues and statistics for concerts. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Average difficulty |
Exercise: | Use a derived table to hold a select statement. Then join another table on. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Average difficulty |
Exercise: | Use linked CTEs to show continents having many countries but few events. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Harder than average |
Exercise: | Create a CTE - common table expression - to display breadcrumbs using recursion. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Harder than average |
Exercise: | Cretae two CTEs to hold data before joining them together. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Harder than average |
Exercise: | For each combination of the top 3 categories and top 3 countries, count the number of events using CTEs. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Harder than average |
Exercise: | Use a series of CTEs to show categories for countries for events not containing the letters OWL. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Harder than average |
Exercise: | Use common table expressions, subqueries or any other technique to solve a complex query. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Harder than average |
Exercise: | Use CTEs in a SQL query to return details of venues and statistics of shows held at them. |
Software: | SQL |
Topic: | Derived tables and CTEs |
Level: | Harder than average |
Exercise: | Use derived table subqueries in SQL Server to merge the results of different grouping queries into a single result set. |
You can search our full list of SQL exercises here. Or why not learn to do them the right way on one of our SQL training courses? You can attend our online training classes wherever you are in the world!
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.