SQL: Duplicate Emails, Second Highest Salary & Schemas
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.
CitiPremium lesson · Coding round
The 3 Citi problems are below.
- A Premium questionCoding · Easy · Frequently asked
- A Premium questionCoding · Easy
- 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 guideKnow what Citi asks before you walk in.
26 coding · 6 system design · 20 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.