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

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.

SQLeasy2 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.

SQLmediumpartitionsqlwindow2 min read
AccentureYash Technologies
β†’
91

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

SQLmediumjoin2 min read
PresidioSwiggy
β†’
92

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

SQLmediumjoin2 min read
PresidioSwiggy
β†’
93

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

SQLmediumetljoin2 min read
PresidioSwiggy
β†’
94

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

SQLeasybigquerysql2 min read
PresidioSwiggy
β†’
95

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

SQLmedium2 min read
PresidioSwiggy
β†’
96

What is the difference between DELETE and TRUNCATE?

SQLeasy2 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...40Next
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