DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPacksBlog
ProLogin

Interview Questions

Real questions from top companies

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

Difference between where and having clause with examples.

SQLmedium0.6 min read
PresidioSwiggy
β†’
82

Explain Common Table Expressions (CTEs) and their benefits.

SQLeasybigquery0.5 min read
AareteDunnhumbyIncedo
β†’
83

Explain SQL Window Functions with examples.

SQLmediumjoinpartitionsql0.5 min read
AareteDunnhumbyIncedo
β†’
84

Explain the difference between UNION and UNION ALL.

SQLeasy0.4 min read
PresidioSwiggy
β†’
85

Explain the use of the MERGE statement in SQL.

SQLmediumbigqueryjoinpartition0.5 min read
AareteDunnhumbyIncedo
β†’
86

How do you handle NULL values in SQL? Mention functions like COALESCE and ISNULL.

SQLmediumjoinsql0.5 min read
AareteDunnhumbyIncedo
β†’
87

How do you optimize a long-running SQL query?

SQLhardjoinoptimizationpartition0.6 min read
AareteDunnhumbyIncedo
β†’
88

How would you handle duplicate records in an SQL table?

SQLmediumpartitionsql0.6 min read
AareteDunnhumbyIncedo
β†’
89

Implement a query to find the top 5 customers by total sales amount.

SQLmediumpartitionwindow0.5 min read
Daniel WellingtonGoldman SachsSwiggy
β†’
90

SQL query to find the second highest salary from each department.

SQLmediumpartitionsqlwindow0.4 min read
AccentureYash Technologies
β†’
91

What are primary keys and foreign keys? Why are they important?

SQLmediumjoin0.4 min read
PresidioSwiggy
β†’
92

What is a self-join, and when would you use it?

SQLmediumjoin0.4 min read
PresidioSwiggy
β†’
93

What is normalization and denormalization? When would you use each?

SQLmediumetljoin0.4 min read
PresidioSwiggy
β†’
94

What is the difference between a clustered and non-clustered index?

SQLeasybigquerysql0.4 min read
PresidioSwiggy
β†’
95

What is the difference between a view and a materialized view?

SQLmedium0.4 min read
PresidioSwiggy
β†’
96

What is the difference between DELETE and TRUNCATE?

SQLeasy0.4 min read
PresidioSwiggy
β†’
97

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

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

Triggers in ADF, especially tumbling window triggers.

SQLmediumpartitionwindow0.5 min read
AccentureYash Technologies
β†’
99

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

SQLeasybigquerysnowflake0.6 min read
Fossil GroupKaseya
β†’
100

What is a window function? Explain with an example.

SQLmediumjoinpartitionwindow0.5 min read
CitiFreecharge
β†’

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
Previous1...34567...94Next
Categories
All QuestionsSQLSpark / Big DataPython / CodingSystem DesignCloud / ToolsBehavioral
By Company
AmazonGoogleDatabricksSnowflakeMicrosoftNetflixUberTCS
Interview Guides
All GuidesTop SQL QuestionsTop Spark QuestionsTop Python QuestionsTop System DesignSQL Window FunctionsETL QuestionsData Modeling
Products
AI Interview CoachAnswer AnalyzerSQL PlaygroundResume AnalyzerInterview PacksPricing
Company
About UsContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
Β© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer