SQL

A visually appealing image depicting a city skyline made of SQL code, with vibrant colors and a futuristic feel, representing data and technology.

Master Your SQL Skills: Take the Quiz

Test your knowledge of SQL with our comprehensive quiz designed for both beginners and seasoned developers. Challenge yourself with a variety of questions that cover fundamental concepts and advanced topics.

Key Features:

  • 10 engaging multiple-choice questions
  • Instant feedback on your answers
  • Improve your SQL coding skills
10 Questions2 MinutesCreated by QueryMaster256
1. Point out the wrong statement :
A) SQL injection vulnerabilities occur whenever input is used in the construction of an SQL query without being adequately constrained or sanitized
B) SQL injection allows an attacker to access the SQL servers and execute SQL code under the privileges of the user used to connect to the database
C) The use of PL-SQL opens the door to these vulnerabilities
D) None of the mentioned
2. Which of the following is not a limitation of view?
A) ORDER BY Does Not Work
B) Index Created on View Used Often
C) Cross Database Queries Not Allowed in Indexed View
D) Adding Column is Expensive by Joining Table Outside View
3. Which of the following is one of the basic approaches for joining tables?
A) Subqueries
B) Union Join
C) Natural join
D) All of the Mentioned
4. A Boolean data type that can take values true, false, and ____________
A) 1
B) 0
C) Null
D) Unknown
5. The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T?
A) Equi-join
B) Cartesian join
C) Outer join
D) Natural join
 
7. Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70.
A) SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ OR temperature > 70
B) SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ OR temperature > 70
C) SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ AND temperature > 70
D) SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ AND temperature > 70
8. Which of the following FORWARD ONLY Cursor is populated at the time of creation ?
A) KEYSET
B) FORWARD_ONLY STATIC
C) FAST_FORWARD
D) All of the mentioned
9. Which of the following functions are similar ?
A) RANK and NTILE
B) RANK and DENSE_RANK
C) DENSE_RANK and NTILE
D) None of the mentioned
10. LAST_VALUE comes in the category of :
A) Ranking window function
B) Associate window function
C) Analytic window functions
D) All of the mentioned
{"name":"SQL", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of SQL with our comprehensive quiz designed for both beginners and seasoned developers. Challenge yourself with a variety of questions that cover fundamental concepts and advanced topics.Key Features:10 engaging multiple-choice questionsInstant feedback on your answersImprove your SQL coding skills","img":"https:/images/course1.png"}
Powered by: Quiz Maker