InterviewLegend

SQL: Duplicate Emails, Second Highest Salary & Schemas

Alex Chen30 min readGuide updated 60 real interview reports

SQL turns up in two places in a Citi loop. It's one of the rapid knowledge questions in the Karat hour, asked between Java and Spring, and it closes out some technical interviews after the coding. The queries are short.

The second highest salary has the longest run. A Pune senior Java developer got it in the knowledge part of a June 2026 Karat first round, as "one simple SQL question" on an employee table. An India campus interview asked it in August 2020. In September 2021 another campus interviewer wanted the third lowest salary, then the same query for any N.

The other two are recent. Duplicate emails came up in September 2026, in a Chennai intern interview that followed an easy-to-medium online assessment. A January 2026 Pune Java round ended with SQL questions and a request to design the database schema for a library.

SQL also appears without a named query. A Mississauga full stack candidate got SQL among the Karat knowledge questions in July 2025, and a Toronto team round in December 2025 asked about SQL indexing.

The Citi angle
Answer at the speed of a knowledge question. In the Karat hour these share a 10 to 15 minute block of quick questions, and a sentence or two per answer is the pace. Say the query first. Then add one line on what it returns for ties and for a table with a single salary.

CitiPremium lesson · Coding round

The 3 Citi problems are below.

  1. A Premium questionCoding · Easy · Frequently asked
  2. A Premium questionCoding · Easy
  3. A Premium questionCoding · Medium

Each with hints, the follow-up and a tested solution.

Get the Citi questions

$49 a year · all 108 companies · instant access

20,000+ candidate reports

Citi interview guide

Know what Citi asks before you walk in.

26 coding · 6 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Citi interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.