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
1281

Write a SQL query to find the top 5 most ordered dishes in the last 30 days.

SQLmediumjoinsql0.2 min read
Swiggy
β†’
1282

Write a SQL query to find the top 5 products by sales per region.

SQLmediumpartitionsql0.2 min read
Fragma Data Systems
β†’
1283

Write a SQL query to find users to recommend specific artists

SQLmediumjoinsql0.3 min read
media.net
β†’
1284

Write a SQL query to rank shows by daily viewership across different regions

SQLmediumjoinpartitionsql0.2 min read
Netflix
β†’
1285

Write a SQL query to remove duplicates from a table.

SQLmediumpartitionsql0.4 min read
Incedo
β†’
1286

Write a query for second-highest salary using LIMIT, OFFSET, or ROW_NUMBER()

SQLeasy0.3 min read
Nihilent
β†’
1287

Write a query that identifies numbers appearing at least three times consecutively without interruption

SQLeasy0.3 min read
JP Morgan
β†’
1288

Write a query that ranks users by their total order amount within each region.

SQLmediumpartition0.2 min read
Cognizant
β†’
1289

Write a query to calculate Monthly Active Users (MAUs) for July 2022

SQLmediumpartition0.2 min read
NASDAQ
β†’
1290

Write a query to calculate the day's difference between the 1st and 3rd sales of the CustomerName = 'Alice Johnson'.

SQLmediumpartition0.3 min read
Grover
β†’
1291

Write a query to calculate the total revenue generated by each product category.

SQLmediumjoin0.2 min read
Adidas
β†’
1292

Write a query to find employees in the same department as 'John'.

SQLmediumjoin0.3 min read
Incedo
β†’
1293

Write a query to find minimum age.

SQLeasy0.1 min read
Altimetrik
β†’
1294

Write a query to find the 5th highest salary in an employee table and calculate the number of employees whose salary is greater than that of their manager.

SQLmediumjoin0.3 min read
S&P Global
β†’
1295

Write a query to find the first number repeating consecutively three times in a sequence.

SQLeasy0.3 min read
American Express
β†’
1296

Write a query to find the median salary of employees in a table.

SQLeasybigquery0.2 min read
Goldman Sachs
β†’
1297

Write a query to find the top 5 most-sold Adidas products in the last month.

SQLmediumjoin0.2 min read
Adidas
β†’
1298

Write a query to find the top three customers by total revenue within each region.

SQLmediumpartition0.2 min read
Uber
β†’
1299

Write a query to find the total number of rides per driver in the last 30 days.

SQLmedium0.2 min read
Uber
β†’
1300

Write a query to generate the specified output using advanced SQL skills with joins, aggregations, and window functions.

SQLhardjoinpartitionsql0.4 min read
Carelon
β†’

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