SQL

Create an illustration of a computer screen displaying SQL code and database schema, with a person (diverse ethnicity) engaging with the screen in a modern office setting, colorful and educational in style.

Master Your SQL Skills

Test your knowledge of SQL with our engaging quiz designed for enthusiasts and professionals alike. This quiz covers essential topics such as SQL functions, subqueries, and DML statements.

Whether you're preparing for a certification exam, brushing up on your database knowledge, or just looking for a fun challenge, this quiz is perfect for you!

  • 10 challenging questions
  • Immediate feedback on your answers
  • Sharpen your SQL skills!
10 Questions2 MinutesCreated by CodingGuru274
Q 1- What is returned by TRUNC(789.8389, 2)?
A - 789.84
B - 789.83
C - 78
D - 789.00 Show Answer
Q 2- Which of the following is true about Cartesian Products?
A - A Cartesian product is formed when a join condition is omitted.
B - A Cartesian product is formed when a join condition is valid.
C - Some rows in the first table are joined to all rows in the second table
D - All rows in the first table are joined to some rows in the second table.
Q 3 - Which of the following is not true about single-row subqueries?
A - Single row subqueries return one row from the inner SELECT statement.
B - Single row subqueries return one row from the outer SELECT statement.
C - Single row subqueries use single-row comparison operators.
D - All of the above
Q 4 - In which of the following cases a DML statement is executed?
A - When new rows are added to a table.
B - When a table is created.
C - When a transaction is committed.
D - None of the above.
Q 5- Which of the following is not true about creating constraints?
A - Constraints are defined using the CREATE CONSTRAINT statement.
B - They are created at the same time when the table is created.
C - They could be created after the table is created.
D - All the constraints are stored in data dictionary.
Q 6- Which of the following is not true about the Pseudocolumns that return the sequence values?
A - NEXTVAL returns the next available sequence value.
B - CURRVAL gets the current sequence value.
C - PREVVAL gets the previous sequence value.
D - None of the above.
Q 7 - Which of the following is not a developer’s privilege?
A - CREATE USER
B - CREATE TABLE
C - CREATE VIEW
D - CREATE SEQUENCE
Q 8- The command to remove rows from a table 'CUSTOMER' is:
A. REMOVE FROM CUSTOMER ...
B. DROP FROM CUSTOMER ...
C. DELETE FROM CUSTOMER WHERE ...
D. UPDATE FROM CUSTOMER ...
Q 9- The SQL WHERE clause:
A. Limits the column data that are returned.
B. Limits the row data are returned.
C. Both A and B are correct.
D. Neither A nor B are correct.
Q 10- Which of the following is the original purpose of SQL?
A. An exact match is necessary in a SELECT statement.
B. An exact match is not possible in a SELECT statement.
C. An exact match is necessary in a CREATE statement.
D. An exact match is not possible in a CREATE statement.
{"name":"SQL", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of SQL with our engaging quiz designed for enthusiasts and professionals alike. This quiz covers essential topics such as SQL functions, subqueries, and DML statements.Whether you're preparing for a certification exam, brushing up on your database knowledge, or just looking for a fun challenge, this quiz is perfect for you!10 challenging questionsImmediate feedback on your answersSharpen your SQL skills!","img":"https:/images/course2.png"}
Powered by: Quiz Maker