πŸͺ

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

DDataEngPrep.tech
Home
PricingBlog
Sign InStart Free→

Interview Questions

Real questions from top companies in SQL Β· medium

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

What are BigQuery Slots?

SQLmediumbigquerypartition0.6 min read
EY
β†’
82

What are Slowly Changing Dimensions (SCD), and how would you implement them for tracking customer data changes?

SQLmediumpartitionsparksql0.7 min read
Swiggy
β†’
83

What are partitioning strategies in Redshift?

SQLmediumjoinpartition0.6 min read
Persistent Systems
β†’
84

What are some best practices for writing efficient SQL queries?

SQLmediumjoinpartitionsql0.6 min read
Freecharge
β†’
85

What are the differences between normalization and denormalization? When would you use a denormalized structure?

SQLmediumjoin0.5 min read
McKinsey
β†’
86

What challenges arise with duplicate records, and how do you address them?

SQLmediumjoinpartition0.6 min read
EPAM
β†’
87

What factors determine the optimal number of partitions for a large file?

SQLmediumpartitionspark0.6 min read
TCS
β†’
88

What is Left Anti Join and its use case?

SQLmediumjoin0.6 min read
Altimetrik
β†’
89

What is Redshift Spectrum, and how does it differ from standard Redshift queries?

SQLmediumpartitionsql0.6 min read
Daniel Wellington
β†’
90

What is UNNEST and provide a query example?

SQLmediumbigqueryjoinsql0.5 min read
EY
β†’
91

What is a Kafka topic, and how do you choose the number of partitions for it?

SQLmediumpartition0.5 min read
Citi
β†’
92

What is a cross-join?

SQLmediumjoin0.6 min read
Altimetrik
β†’
93

What is a semi-join?

SQLmediumjoin0.6 min read
Altimetrik
β†’
94

What is dynamic partition pruning, and how does it optimize query execution?

SQLmediumjoinpartitionspark0.6 min read
TCS
β†’
95

What is the difference between UNION and UNION ALL? Which one is faster and why?

SQLmediumjoin0.5 min read
Aarete
β†’
96

What is the difference between static and dynamic partitioning in Hive?

SQLmediumpartition0.5 min read
Dunnhumby
β†’
97

What strategies would you use to manage dynamic partitions efficiently?

SQLmediumpartition0.6 min read
Capco
β†’
98

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

SQLmediumjoinpartition0.5 min read
EPAM
β†’
99

Write a SQL query to find departments with more than 10 employees.

SQLmediumjoinsql1 min read
Incedo
β†’
100

Write a SQL query to find house with Avg(score) > 70.

SQLmediumjoinsql2 min read
HCL
β†’

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...3456Next
Topic Hubs
All Topic Hubs (12 Competencies) β†’All 1,863+ QuestionsSQL Interview QuestionsApache Spark QuestionsPySpark QuestionsPython for Data EngineersSystem Design InterviewData Modeling & WarehousingStreaming (Kafka/Flink)SQL Window FunctionsETL Pipeline Design
Company Hubs
All Company Hubs (100+ Companies) β†’AmazonGoogleMetaDatabricksSnowflakeNetflixUberStripeMicrosoftAppleGoldman SachsAWS Engineering
Academies & Guides
All Guides & ArticlesData Engineering AcademyForward Deployed AI AcademyClient Simulation StudioApache Airflow QuestionsAzure Data EngineerBehavioral & STAR MethodCloud & Distributed Tools
AI Tools & Products
Answer Analyzer (Free)AI Mock InterviewsSQL PlaygroundATS Resume AnalyzerOffline PDF Answer VaultsMembership & Pricing
Company
About & Editorial PolicyContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
Β© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer