HackerRank SQL Solution - Basic Select - Higher Than 75 Marks

  • Query the Name of any student in STUDENTS who scored higher than 75 Marks. Order your output by the last three characters of each name. If two or more students both have names ending in the same last three characters (i.e.: Bobby, Robby, etc.), secondary sort them by ascending ID.
Input Format:
  • The STUDENTS table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 12

  • Query the list of CITY names from STATION that does not start with vowels and do not end with vowels. Your result cannot contain duplicates.
Input Format:
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 11

  • Query the list of CITY names from STATION that either does not start with vowels or do not end with vowels. Your result cannot contain duplicates.
Input Format:
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 10

  • Query the list of CITY names from STATION that does not end with vowels. Your result cannot contain duplicates.
Input Format:
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 9

  • Query the list of CITY names from STATION that does not start with vowels. Your result cannot contain duplicates.
Input Format:
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 8

  • Query the list of CITY names from STATION which has vowels (i.e., a, e, i, o, and u) as both their first and last characters. Your result cannot contain duplicates.
Input Format:
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 7

  • Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates.
Input Format:
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 6

  • Query the list of CITY names starting with vowels (i.e., a, e, i, o, or u) from STATION.
  • Your result cannot contain duplicates.
Input Format:
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 5

  • Query the two cities in STATION with the shortest and longest CITY names, as well as their respective lengths (i.e.: number of characters in the name). If there is more than one smallest or largest city, choose the one that comes first when ordered alphabetically.
  • The STATION table is described as follows:

HackerRank SQL Solution - Basic Select - Weather Observation Station 4

  • Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table.
  • The STATION table is described as follows:

You might also like

Deploy your Django web app to Azure Web App using App Service - F1 free plan

In this post, we will look at how we can deploy our Django app using the Microsoft Azure app service - a free plan. You need an Azure accoun...