Question Bank
Filter real, curated interview questions by topic, difficulty, and type. Open any question to practice and rate your confidence.
Filter by company and topic2 active
RecentMost viewed
5 questions
- Write a SQL query to find the second highest salary from an Employee table, and explain your approach.IntermediateSql· sql queryFreeReported frequent at Cognizant+1
- Explain a self join and a cross join in SQL, with an example where each is useful.BeginnerSql· comparisonFree
- What is the difference between DDL and DML commands in SQL? Where do COMMIT and ROLLBACK fit?BeginnerSql· comparisonFree
- What is the difference between DELETE, TRUNCATE and DROP in SQL?BeginnerSql· comparisonFree
- What are subqueries in SQL? Explain correlated vs non-correlated subqueries with examples.IntermediateSql· sql queryFree