DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPacksBlog
ProLogin

Interview Questions

Real questions from top companies in SQL

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

What strategies and technologies would you consider when designing a data warehouse architecture for efficient data storage and retrieval?

SQLhardjoinoptimizationpartition3.6 min read
Amazon
β†’
422

What strategies would you use to manage dynamic partitions efficiently?

SQLmediumpartition0.6 min read
Capco
β†’
423

What technologies are you most comfortable with?

SQLhardairflowbigquerylakehouse0.5 min read
Fragma Data Systems
β†’
424

What types of columns support PARTITION_BY in BigQuery?

SQLmediumbigquerypartition0.4 min read
Aarete
β†’
425

What's the role of surrogate keys in dimensional modeling?

SQLhardetljoin0.5 min read
Microsoft
β†’
426

When can you start if selected?

SQLeasy0.4 min read
Thoughtworks
β†’
427

When would you choose partitioning over bucketing, or vice versa?

SQLmediumjoinpartition0.5 min read
EPAM
β†’
428

Where is the PARTITION_BY option in the BigQuery UI?

SQLmediumbigquerypartition0.4 min read
Aarete
β†’
429

Where to store secret keys?

SQLeasyairflow0.4 min read
Deloitte
β†’
430

Why is HAVING clause used only after GROUP BY?

SQLmedium0.4 min read
Fossil Group
β†’
431

Why not use ROW_NUMBER() instead? Discuss pros and cons.

SQLmediumpartition0.4 min read
Bitwise
β†’
432

Why star schema? Compared with snowflake schema and normalized approaches.

SQLmediumjoinsnowflake0.5 min read
Daniel Wellington
β†’
433

Window Functions: ROW_NUMBER(), RANK(), PARTITION BY - produce output using dataset

SQLmediumpartitionwindow0.4 min read
Wolters Kluwer
β†’
434

Write SQL query for sum of marks grouped by student.

SQLeasysql0.2 min read
Gartner
β†’
435

Write SQL query to find names starting with 'R' and ending with 't', sorted by first_name descending

SQLeasysql0.2 min read
Presidio
β†’
436

Write SQL query to replace specific patterns in a string column.

SQLeasybigquerysql0.2 min read
Incedo
β†’
437

Write SQL to identify employees whose salary is higher than their manager's.

SQLmediumjoinsql0.3 min read
Incedo
β†’
438

Write a Merge Statement for SCD Type 2.

SQLeasysnowflakesql0.4 min read
EY
β†’
439

Write a PySpark job to find the top 3 employees of each department, where Age < 30 and Salary > department average salary.

SQLmediumjoinpartitionspark0.3 min read
Freight Tiger
β†’
440

Write a SQL query leveraging window functions and timestamps to identify updates over time

SQLmediumpartitionsqlwindow0.3 min read
Myntra
β†’

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...202122232425Next
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