All questions

SELECT

Select all

Very Easy

Select specific columns I

Very Easy

Select specific columns II

Very Easy

Select values without a table I

Easy

Select values without a table II

Easy

Rename columns I

Premium πŸ”’

Very Easy

Rename columns II

Premium πŸ”’

Very Easy

Specify column order I

Premium πŸ”’

Very Easy

Specify column order II

Premium πŸ”’

Very Easy

WHERE

Filter students by name I

Very Easy

Filter students by name II

Very Easy

Filter students by name III

Easy

Filter by age

Easy

Count rows which meet a condition I

Easy

Show all students with long first names

Very Easy

Filter students by year group

Medium

Find all navy products

Premium πŸ”’

Easy

Count rows which meet a condition II

Premium πŸ”’

Easy

Filter with a list I

Premium πŸ”’

Very Easy

Filter with a list II

Premium πŸ”’

Easy

Wildcards I

Easy

Wildcards II

Premium πŸ”’

Easy

Wildcards III

Premium πŸ”’

Easy

Combining filters I

Premium πŸ”’

Easy

Math (COUNT, SUM, AVG, etc.)

Count entries in a table

Very Easy

Calculate average age

Very Easy

Count unique names

Very Easy

Count length of names

Easy

Convert test scores to percentages

Premium πŸ”’

Medium

Find average age of M users

Premium πŸ”’

Easy

Calculate profit for each product

Premium πŸ”’

Easy

Total sales of all products

Premium πŸ”’

Very Easy

Calculate total orders

Premium πŸ”’

Easy

Calculate total revenue

Premium πŸ”’

Medium

Calculate revenue

Premium πŸ”’

Easy

International book sales

Premium πŸ”’

Easy

Calculate net hours worked

Premium πŸ”’

Very Easy

Daily temperature range

Premium πŸ”’

Easy

Calculate average expense

Premium πŸ”’

Easy

Employee productivity

Premium πŸ”’

Medium

Allocate rest days I

Premium πŸ”’

Easy

ORDER BY

Order students by id (ascending)

Very Easy

Order students by id (descending)

Very Easy

Order by multiple columns I

Premium πŸ”’

Very Easy

Order by multiple columns II

Premium πŸ”’

Very Easy

LIMIT and OFFSET

Find oldest student

Easy

Find youngest students

Easy

Find the third youngest student

Premium πŸ”’

Easy

Find the third most expensive product

Premium πŸ”’

Easy

Find second youngest user

Premium πŸ”’

Easy

Find 13th and 14th most expensive produc

Premium πŸ”’

Easy

Find the 19th cheapest product

Premium πŸ”’

Easy

First 2 rows

Premium πŸ”’

Very Easy

First 20 rows

Premium πŸ”’

Very Easy

Strings

Concatenate names I

Premium πŸ”’

Very Easy

Concatenate names II

Premium πŸ”’

Easy

Reverse names

Premium πŸ”’

Very Easy

Find Gmail users

Premium πŸ”’

Easy

Find unique year-groups

Premium πŸ”’

Easy

GROUP BY

Count occurrences of each last name

Easy

Count students by year group

Easy

Find the second-least popular test

Premium πŸ”’

Medium

Find duplicate emails

Premium πŸ”’

Easy

Count users by country

Premium πŸ”’

Easy

Count orders by status

Premium πŸ”’

Easy

Average price per product category

Premium πŸ”’

Easy

Average cost per brand

Premium πŸ”’

Easy

Count products by department

Premium πŸ”’

Easy

Count students by class

Premium πŸ”’

Easy

Count students by class and age

Premium πŸ”’

Medium

Count products by brand and department

Premium πŸ”’

Medium

Find min and max prices

Premium πŸ”’

Easy

Calculate average age per class

Premium πŸ”’

Easy

Total sales by product

Premium πŸ”’

Easy

Sum orders by category

Premium πŸ”’

Easy

Calculate revenue by product category

Premium πŸ”’

Medium

Window functions

Show the student with the highest score

Medium

Rank students by test score

Medium

Calculate average grade per test

Premium πŸ”’

Medium

Calculate min and max grade per test

Premium πŸ”’

Medium

Find lagged test scores

Premium πŸ”’

Medium

Rank products by price

Premium πŸ”’

Medium

Age vs. average age

Premium πŸ”’

Medium

Cumulative ages

Premium πŸ”’

Medium

Average percentage scores

Premium πŸ”’

Medium

Dense rank students by score

Premium πŸ”’

Medium

Assign row numbers to tests table

Premium πŸ”’

Easy

Assign row numbers based on partitions

Premium πŸ”’

Medium

Cumulative sum of test scores

Premium πŸ”’

Medium

Calculate moving average number of order

Premium πŸ”’

Hard

Average price per category window functi

Premium πŸ”’

Easy

Average cost per brand window function

Premium πŸ”’

Easy

CREATE TABLE

Create table I

Very Easy

Create table II

Very Easy

Create table III

Premium πŸ”’

Easy

Create table IV

Premium πŸ”’

Easy

Create table V

Premium πŸ”’

Easy

Create table VI

Premium πŸ”’

Easy

Create table VII

Premium πŸ”’

Easy

Create table VIII

Premium πŸ”’

Easy

Create table clone I

Premium πŸ”’

Easy

Create table clone II

Premium πŸ”’

Easy

Create table clone III

Premium πŸ”’

Easy

Create table clone IV

Premium πŸ”’

Medium

Create table clone V

Premium πŸ”’

Medium

ALTER TABLE

Alter table I

Easy

Alter table II

Easy

Alter table III

Premium πŸ”’

Easy

Alter table IV

Premium πŸ”’

Easy

Arrays

Show each student's subjects

Premium πŸ”’

Hard

Show each subject's tests

Premium πŸ”’

Medium

Put student details into an array

Premium πŸ”’

Medium

Put order items into an array

Premium πŸ”’

Easy

Create array of all classes in each year

Premium πŸ”’

Medium

Find Completed/Processing orders for eac

Premium πŸ”’

Hard

CASE

Categorise students’ ages

Premium πŸ”’

Easy

Flag users from Brazil and China

Premium πŸ”’

Easy

Allocate rest days II

Premium πŸ”’

Medium

Semi joins

Semi joins I

Premium πŸ”’

Easy

Semi joins II

Premium πŸ”’

Medium

Semi joins III

Premium πŸ”’

Medium

Find orgs with no user visits

Premium πŸ”’

Hard

Get more questions

To access more questions and track your progress, please log in or create an account.