WISE OWL EXERCISES
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 CALCULATIONS
This page lists the 7 exercises about Calculations in SQL on our website: p >
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Calculations |
Level: | Relatively easy |
Course: | Introduction to SQL |
Exercise: | List for each event the number of characters in its name. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Calculations |
Level: | Average difficulty |
Course: | Introduction to SQL |
Exercise: | Cast numbers as text to allow you to concatenate them together with strings. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Calculations |
Level: | Average difficulty |
Course: | Introduction to SQL |
Exercise: | Use IsNull, Coalesce and/or CASE WHEN to replace nulls with values. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Calculations |
Level: | Average difficulty |
Course: | Introduction to SQL |
Exercise: | Write a CASE WHEN expression to assign countries to different groups. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Calculations |
Level: | Harder than average |
Course: | Introduction to SQL |
Exercise: | Use the % modulus operator and a lot of ingenuity to show how big each country is relative to Wales. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Calculations |
Level: | Harder than average |
Course: | Introduction to SQL |
Exercise: | Use the CHARINDEX function multiple times to show the number of characters between two words in a text string. |
Software: | SQL |
Version: | Any version of SQL Server |
Topic: | Calculations |
Level: | Harder than average |
Course: | Introduction to SQL |
Exercise: | Divide events according to whether their first/last letters are the same or vowels. |
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