Essential cookies keep authentication working. With your permission, we also use analytics cookies to understand and improve the product. Read our Privacy Policy

DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPricingBlog
ProLogin

Interview Questions

Real questions from top companies in SQL

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

Write an SQL query to find duplicate emails in a users table.

SQLmediumpartitionsqlwindow0.5 min read
Daniel WellingtonGoldman SachsSwiggy
β†’
42

Triggers in ADF, especially tumbling window triggers.

SQLmediumpartitionwindow0.5 min read
AccentureYash Technologies
β†’
43

What is a CTE (Common Table Expression)? What are its uses?

SQLeasybigquerysnowflake0.6 min read
Fossil GroupKaseya
β†’
44

What is a window function? Explain with an example.

SQLmediumjoinpartitionwindow0.5 min read
CitiFreecharge
β†’
45

What is the difference between OLTP and OLAP?

SQLmediumbigquerysnowflake2 min read
ChryselysEY
β†’
46

Write a SQL query to find top 3 earners in each department.

SQLmediumpartitionsql2 min read
FedEx DataworksIncedo
β†’
47

Write a query to find the top three highest-paid employees in each department using window functions.

SQLmediumpartitionwindow2 min read
Bristol Myers SquibbWipro
β†’
48

Write complex SQL queries involving multiple joins, subqueries, and data aggregation logic.

SQLmediumjoinpartitionsql0.7 min read
AppleTiger Analytics
β†’
49

Are you comfortable with the variable pay structure, and what are your expectations for the base salary?

SQLeasy0.5 min read
Nielsen
β†’
50

CSV Without Column Names/Schema - how to read

SQLeasyspark2 min read
LTIMindtree
β†’
51

Cloud Architecture - explain

SQLhardjoinoptimizationpartition3.6 min read
Nagarro
β†’
52

Compare Airflow's @daily vs once trigger scheduling.

SQLmediumairflow0.6 min read
Google
β†’
53

Compare OLTP and OLAP systems in the context of financial transactions.

SQLmediumbigqueryetlpartition0.5 min read
Goldman Sachs
β†’
54

Compare PostgreSQL vs Snowflake. How do they handle duplicate record errors?

SQLmediumpartitionsnowflakesql0.6 min read
Gartner
β†’
55

Compare Redshift, BigQuery, and Snowflake in terms of cost, performance, and scalability.

SQLeasybigquerysnowflake0.5 min read
BCG
β†’
56

Compare the star schema and snowflake schema. Which one would you use for reporting at Swiggy, and why?

SQLmediumjoinsnowflake0.5 min read
Swiggy
β†’
57

Connecting BigQuery with Linux

SQLmediumairflowbigquerypartition0.5 min read
Verizon
β†’
58

Consolidate hotel reviews and create a dashboard. Design a data model for the reviews.

SQLhardjoinoptimizationpartition3.6 min read
Expedia
β†’
59

Converting SCD0 to SCD3

SQLeasysql0.6 min read
Nagarro
β†’
60

Create Spark Session, read CSV, join, and write as table. Provide example code.

SQLhardetljoinoptimization0.3 min read
FedEx Dataworks
β†’

Reading isn't practice. Get AI feedback on your answers.

Type or paste your answer to any of these questions and our AI Coach scores it, highlights gaps, and rewrites it at FAANG quality. Free to try.

Try AI Answer Coach β€” FreeStart a Mock Interview
Previous12345...8Next
Categories
All QuestionsSQLSpark / Big DataPython / CodingSystem DesignCloud / ToolsBehavioral
By Company
AmazonGoogleDatabricksSnowflakeAWSAzureMicrosoftNetflixUberTCS
Interview Guides
All GuidesTop SQL QuestionsTop Spark QuestionsPySpark QuestionsTop Python QuestionsTop System DesignKafka QuestionsAirflow QuestionsSQL Window FunctionsETL QuestionsData Modeling
Products
AI Interview CoachAnswer AnalyzerSQL PlaygroundResume AnalyzerAnswer Vault PDFsPricing
Company
About & Editorial PolicyContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
Β© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer