DataEngPrep.tech
QuestionsBlogStore
Get PDF Bundle

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
→
Previous1...34567...94Next