Database Auditing & VerificationSQL Queries & Backend
SQL Queries & Backend
Interview Prep Portal
Master robust backend validation. Study deep-dive concepts covering ACID properties, complex multi-table JOINs, Common Table Expressions (CTEs), and dynamic window functions for real-world enterprise QA audits.
SQL ConstraintsAdvanced JOINsCTEs & Window FunctionsDatabase Normalization
PROGRESS0 / 58 Mastered
0%
Filter Level:
SQL QueriesBeginnerQ1
What is SQL?
SQL QueriesBeginnerQ2
What is a database?
SQL QueriesBeginnerQ3
What is a primary key?
SQL QueriesBeginnerQ4
What is a foreign key?
SQL QueriesIntermediateQ5
What is the difference between a primary key and a unique key?
SQL QueriesIntermediateQ6
What is normalization?
SQL QueriesAdvancedQ7
What are the different types of normalization?
SQL QueriesBeginnerQ8
What is a join in SQL?
SQL QueriesIntermediateQ9
What is the difference between DELETE and TRUNCATE in SQL?
SQL QueriesIntermediateQ10
What is the difference between UNION and UNION ALL?
SQL QueriesIntermediateQ11
What is the difference between the HAVING clause and the WHERE clause?
SQL QueriesIntermediateQ12
What is a transaction in SQL?
SQL QueriesAdvancedQ13
What is the difference between a clustered and a non-clustered index?
SQL QueriesAdvancedQ14
What is ACID in the context of database transactions?
SQL QueriesAdvancedQ15
What is a deadlock?
SQL QueriesIntermediateQ16
What is the difference between a database and a schema?
SQL QueriesAdvancedQ17
What is the difference between a temporary table and a table variable?
SQL QueriesBeginnerQ18
What is the purpose of the GROUP BY clause?
SQL QueriesBeginnerQ19
What is the difference between CHAR and VARCHAR data types?
SQL QueriesIntermediateQ20
What is a stored procedure?
SQL QueriesBeginnerQ21
What is a subquery?
SQL QueriesIntermediateQ22
What is a view?
SQL QueriesIntermediateQ23
What is the difference between a cross join and an inner join?
SQL QueriesBeginnerQ24
What is the purpose of the COMMIT statement?
SQL QueriesIntermediateQ25
What is the purpose of the ROLLBACK statement?
SQL QueriesBeginnerQ26
What is the purpose of the NULL value in SQL?
SQL QueriesAdvancedQ27
What is the difference between a view and a materialized view?
SQL QueriesAdvancedQ28
What is a correlated subquery?
SQL QueriesBeginnerQ29
What is the purpose of the DISTINCT keyword?
SQL QueriesIntermediateQ30
What is the difference between the CHAR and VARCHAR data types?
SQL QueriesAdvancedQ31
What is the difference between the IN and EXISTS operators?
SQL QueriesAdvancedQ32
What is the purpose of the TRIGGER statement?
SQL QueriesAdvancedQ33
What is the difference between a unique constraint and a unique index?
SQL QueriesBeginnerQ34
What is the purpose of the TOP or LIMIT clause?
SQL QueriesBeginnerQ35
What is the difference between the UNION and JOIN operators?
SQL QueriesIntermediateQ36
What is a data warehouse?
SQL QueriesIntermediateQ37
What is the difference between a primary key and a candidate key?
SQL QueriesBeginnerQ38
What is the purpose of the GRANT statement?
SQL QueriesAdvancedQ39
What is a correlated update?
SQL QueriesBeginnerQ40
What is the purpose of the CASE statement?
SQL QueriesBeginnerQ41
What is the purpose of the COALESCE function?
SQL QueriesIntermediateQ42
What is the purpose of the ROW_NUMBER() function?
SQL QueriesIntermediateQ43
What is the difference between a natural join and an inner join?
SQL QueriesIntermediateQ44
What is the purpose of the CASCADE DELETE constraint?
SQL QueriesAdvancedQ45
What is the purpose of the ALL keyword in SQL?
SQL QueriesIntermediateQ46
What is the difference between the EXISTS and NOT EXISTS operators?
SQL QueriesAdvancedQ47
What is the purpose of the CROSS APPLY operator?
SQL QueriesIntermediateQ48
What is a self-join?
SQL QueriesIntermediateQ49
What is an ALIAS command?
SQL QueriesIntermediateQ50
Why are SQL functions used?
SQL QueriesIntermediateQ51
How do you identify duplicate rows in a database table that lacks primary keys or unique constraints?
SQL QueriesAdvancedQ52
How do you delete duplicate rows from a database table while preserving the record with the lowest ID?
SQL QueriesIntermediateQ53
Write a SQL query using LEFT JOIN to identify customers who have registered in the database but have never completed a transaction.
SQL QueriesAdvancedQ54
Write a SQL query using LEAD() or LAG() window functions to calculate the time difference in minutes between consecutive transactions completed by the same customer.
SQL QueriesIntermediateQ55
Write a SQL query using JOINs to verify that a customer's checking balance decreased and their savings balance increased by the exact transaction amount after a Transfer event.
SQL QueriesAdvancedQ56
Write a SQL query using window functions (like DENSE_RANK or ROW_NUMBER) to identify the top 3 largest transactions completed by every single customer in the last 30 days.
SQL QueriesAdvancedQ57
Write a SQL query using GROUP BY and HAVING to identify e-commerce accounts that have performed more than 5 checkout transactions within a single hour, which may indicate automated bot attacks or double-billing failures.
SQL QueriesAdvancedQ58