JavaScript is required to use this application. Please enable JavaScript in your browser settings or disable any extensions that may be blocking scripts.
Real questions from top companies in SQL · easy
Write SQL query to find names starting with 'R' and ending with 't', sorted by first_name descending
Write SQL query to replace specific patterns in a string column.
Write a Merge Statement for SCD Type 2.
Write a SQL query to find distinct IDs from a table where the count is more than 1 and greater than 200.
Write a query for second-highest salary using LIMIT, OFFSET, or ROW_NUMBER()
Write a query that identifies numbers appearing at least three times consecutively without interruption
Write a query to find minimum age.
Write a query to find the first number repeating consecutively three times in a sequence.
Get the complete 1,800+ question library with detailed, expert-level answers covering SQL, Spark, System Design, Python, Cloud, and Behavioral topics.