Interview questions · medium
Discuss differences between ROW_NUMBER(), RANK(), and DENSE_RANK(), and provide examples from your projects.
Describe a time when you had to optimize a slow SQL query. What steps did you take?
What is the difference between SQL and NoSQL databases?
Explain SQL Window Functions with examples.
Explain the use of the MERGE statement in SQL.
How do you handle NULL values in SQL? Mention functions like COALESCE and ISNULL.
How would you handle duplicate records in an SQL table?
Describe the use of side inputs in Dataflow.
Explain the key components of Apache Beam in the context of Google Dataflow.
Calculate the total sales amount for customers born between 1998-01-15 and 2000-01-15.
Identify the top 5 customers with the highest purchases in the last quarter.
Can you modify a partitioned table into a non-partitioned one and vice-versa? How?
Describe how Dataproc integrates with BigQuery for processing large datasets.
Given a table with 10 records and another with 4 records, how many records result from a cross join?
How to merge two tables with identical structures into one?
List the different types of joins in SQL.
What is the difference between UNION and UNION ALL? Which one is faster and why?
What types of columns support PARTITION_BY in BigQuery?
Where is the PARTITION_BY option in the BigQuery UI?
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.