SQL TRAINER
192 tasks, one editor
Every task runs on a real schema in your browser. Filter by difficulty, topic or company, then submit your query.
Your progress 0/192
Saved in this browser192 tasks
#1Names of all peopleAir travels#2Names of all airlinesAir travels#3Trips from MoscowAir travels#4Names ending in "man"Air travels#5Number of trips on TU-134Air travels#6Companies that flew on BoeingAir travels#7Planes to MoscowAir travels#8Flights from ParisAir travels#9Companies with flights from VladivostokAir travels#10Departures at a specific timeAir travels#11Passengers with the longest nameAir travels#12Number of passengers on flightsAir travels#13Full namesakesAir travels#14Cities Bruce Willis visitedAir travels#15Steve Martin's arrival in LondonAir travels#16Passengers by number of flightsAir travels#17Family expenses in 2005Family#18The oldest personFamily#19Who bought potatoesFamily#20Spending on entertainmentFamily#21Products bought more than onceFamily#22Names of all mothersFamily#23Most expensive delicacyFamily#24Who spent how much in June 2005Family#25Goods not purchased in 2005Family#26Groups of goods not purchased in 2005Family#27Spending by product group in 2005Family#28Flights from Rostov to MoscowAir travels#29Names of passengers flying to MoscowAir travels#30Flight loadAir travels#31Quincey family membersFamily#32Average age of peopleFamily#33Average price of caviarFamily#34Number of 10th gradesSchedule#35Classrooms used on September 2, 2019Schedule#36Students living on Pushkin streetSchedule#37Age of the youngest studentSchedule#38Number of students named AnnaSchedule#39Number of students in 10 B gradeSchedule#40Subjects of Romashkin P.P.Schedule#41Start of the fourth lessonSchedule#42Time at school from 2nd to 4th subjectSchedule#43Physical Culture teachersSchedule#44Maximum age in 10th gradesSchedule#45Most used classroomsSchedule#46Classes of teacher KrauzeSchedule#47Krauze's classes on August 30, 2019Schedule#48Class occupancySchedule#49Percentage of students in 10 ASchedule#50Percentage of students born in 2000Schedule#51Add product "Cheese"Family#52Add product type "auto"Family#53Change name to "Andie Anthony"Family#54Delete Quincey family membersFamily#55Delete companies with the fewest flightsAir travels#56Delete flights from MoscowAir travels#57Reschedule for 30 minutesSchedule#58Add a review from George ClooneyAirbnb#59Users with a Belarusian numberAirbnb#60Teachers of 11th gradesSchedule#61Rooms reserved on the 12th week of 2020Airbnb#62Popularity of 2nd level domainsAirbnb#63Sorting by student namesSchedule#64Number of bookings by monthAirbnb#65Rating of rented roomsAirbnb#66Rooms with all amenitiesAirbnb#67Departure and arrival timeAir travels#68Last room tenantAirbnb#69Earnings of room ownersAirbnb#70Categorization of housing by priceAirbnb#71Percentage of active usersAirbnb#72Average booking priceAirbnb#73Rooms rented an odd number of timesAirbnb#74Internet availability in the roomAirbnb#75Students born in MaySchedule#76User status: owner/tenantAirbnb#77Create "People" viewSchedule#78Users with hotmail.com emailAirbnb#79Price with 10% discountAirbnb#80Create "Verified_Users" viewAirbnb#93Average age of Smartwatch buyersAlfa-Bank#94Buyers of Laptop and Monitor in MarchAlfa-Bank#95Clients with a purchase amount greater than 9200Alfa-Bank#97Operating warehouses by citySamokat#99Income from female audienceVK#100Number of male usersVK#101User's first orderVK#102Average number of transactions in 72 hoursVK#103Salary higher than the manager'sSberbank#104Maximum salary in the departmentSberbank#105Employees without a manager in the departmentSberbank#109Country of the city of SalzburgDomClick#110Cities in the Bavaria regionDomClick#111Population of each regionDomClick#112Average spending in HamburgDomClick#114Second pilots to New YorkT-Bank#115Pilots over 45 on cargo planesT-Bank#116Top 3 pilots by number of passengersT-Bank#123Number of tasks for an employeeFinstar Financial Group#125Works published more than 5 timesCian#126Copies not linked to any editionCian#127User last 3 borrowed works and total times takenCian#128Create index on priceAirbnb#129Contract numbers for companies with SBER in nameGlowByte#130Number of contracts per companyGlowByte#131Number of orders by each registered customerFacebook#139Big CountriesAmazon#144Composite index on home_type and priceAirbnb#145Composite index with sortingSchedule#146Functional index on subjectSchedule#147Expand reservation date rangesAirbnb#153Most Active ReviewerSAP#154Top Consultant by Average Rating in FebruarySAP#155License Utilization OverflowSAP#156Monthly Average Product RatingZalando#157Average Items Per OrderZalando#158Inventory State BreakdownZalando#159Top Category by Monthly RevenueZalando#160Top-5 Customers in Last 30 DaysDelivery Hero#161Average Delivery Time per CityDelivery Hero#162Monthly Avg Delivery Time (window functions)Delivery Hero#163Loyal Berlin Pizza CustomersDelivery Hero#164Average Response Time per ApplicationDynatrace APM#165CPU Sample with Daily Server BaselinesDynatrace APM#166Server Risk Score Under Peak LoadDynatrace APM#167Active Annual SubscriptionsDynatrace Subscriptions#168Average Bet per Betting TypeEntain / Bwin#169Top-10 PC Gamers by Total Bet SpendEntain / Bwin#170Average Bet and Total Wins per Active PlayerEntain / Bwin#171Weekly Bet Dynamics (LAG)Entain / Bwin#172Spending by Merchant CategoryN26#173Monthly Active Users (MAU)N26#174Churn-Risk CustomersN26#175Running Balance over TransactionsN26#176Top-10 Spenders by Total Purchase AmountKlarna#177Top-3 Spenders per RegionKlarna#179Revenue per CityBooking.com#180Average Length of Stay per Property TypeBooking.com#181Cancellation Rate per CityBooking.com#184VIP Users by Transaction CountKaspi — transactions#189Nations with the Most BattlesWargaming — player battles#190Player Cohorts by Battle CountWargaming — player battles#191Players Active on Two Consecutive DaysWargaming — player battles#192Search-to-View Conversion: Filtered vs NotKolesa — listings funnel#193View-to-Contact Conversion by CategoryKolesa — listings funnel#194The report lost employees without ordersCompany#195The dashboard overstates department headcountCompany#196The list of employees without subordinates came out emptyCompany#197The salary review list picked up extra peopleCompany#198The whole department headcount is counted instead of the needed partCompany#199Two people on the boundary dropped out of the bonus listCompany#200Customers with no purchases disappeared from the reportCompany#201The wrong employees ended up among department leadersCompany#202Departments repeat in the listCompany#203A user was credited with someone else's bookingsAirbnb#204The February report lost a bookingAirbnb#205Department shares add up to 94%Company#206The raise list is missing peopleCompany#207Two departments split the whole company revenueCompany#208The falling sales report picked up extra rowsCompany#209Delivery Peak HoursGlovo#210Late Delivery Rate by CityGlovo#211Courier Distance in MarchGlovo#212Peak Hour in Each CityGlovo#213Surge-Priced RidesCabify#214Cancellation Rate by CityCabify#215Driver UtilizationCabify#216Rides Without a Matching DriverCabify#217Card Spending by Category in MarchBBVA#218Customers With No Activity in JuneBBVA#219Account Statement: Cards and TransfersBBVA#220Balance by Product TypeBBVA#221Accounts Over Their Overdraft LimitSantander#222Second-Largest Charge per CustomerSantander#223Rolling 7-Day ChargesSantander#224Month-over-Month Change in ChargesSantander#225Q1 Sales by CategoryInditex#226Stores Below TargetInditex#227Sell-Through by CategoryInditex#228Products Not Sold in a RegionInditex#229Busiest RoutesAmadeus#230Average Departure Delay per AirlineAmadeus#231Daily Cancellation Rate per AirlineAmadeus#232Highest Average Booking Price per MonthAmadeus#233Revenue by MarketeDreams ODIGEO#234A/B Test ConversioneDreams ODIGEO#235Booking Funnel by MarketeDreams ODIGEO#236Repeat CustomerseDreams ODIGEO#237Sold Within a WeekWallapop#238Repeat Sellers by CityWallapop#239Median Time to Sell by CategoryWallapop#240Chat-to-Sale ConversionWallapop