Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started
SQL Starts With 'A'
00:00
5 left

SQL Starts With 'A'

EasySQL · PostgreSQL

Problem

Finastra maintains employee records supporting products such as FusionFabric.cloud. Write a PostgreSQL query to identify employees whose names start with the uppercase letter A.

Requirements

  1. Return each matching employee_name exactly once.
  2. Exclude NULL names and names beginning with other letters.
  3. Sort the results alphabetically by employee_name.

Schema

employees
ColumnTypeDescription
employee_idPKINTEGERUnique employee identifier
employee_nameVARCHAR(120)Employee's full name
departmentVARCHAR(80)Employee's department
Tablesemployees
Interviewer

Your question is SQL Starts With 'A'. Start with the requirements and the one table in the Question tab.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.
CodePostgreSQL
You need to log in / sign up to run or submit.Ln 1
Run your query to see results here.