DataEngPrep.tech
QuestionsBlogStore
Get PDF BundlePDF Bundle

Interview Questions

Real questions from top companies

700+ Easy450+ Medium650+ Hard
All CategoriesBehavioralSpark/Big DataSQLPython/CodingSystem Design/ArchitectureCloud/ToolsGeneral/Othereasymediumhard
1

Write a query to get the latest rule_id and rule_status.

SQLmedium
2

Write a query to get the names of all employees who are managers with five or more direct reports.

SQLmedium
3

Write a query to identify duplicate customer entries based on email and phone number.

SQLmedium
4

Write a query to identify unique user sessions.

SQLmedium
5

Write a query to remove duplicate records from a table while retaining the earliest entry.

SQLmedium
6

Write a query to retain only the latest record and delete others in case of duplicates.

SQLmedium
7

Write a query to select the latest record based on a time_of_insertion column.

SQLmedium
8

Write a query to switch values in the Gender column (M to F and F to M).

SQLeasy

+20 More Questions with Expert Answers

Get the complete 1,800+ question library with detailed, expert-level answers covering SQL, Spark, System Design, Python, Cloud, and Behavioral topics.

Get PDF Bundle - from $21Try Free Sample
Previous1...6465666768...94Next