SQL Questions

0 votes, 0 avg
319

SQL Questions

1 / 15

1. Which keyword is used to delete all the rows from the table?

2 / 15

2. Which among the following are the correct definitions for “NULL” in Mysql?

3 / 15

3. CREATE VIEW xyz (abc) AS SELECT a FROM t;

4 / 15

4. What is xyz in the following MySQL statement?CREATE VIEW xyz AS SELECT a, b FROM t;

5 / 15

5.

Will the following SQL command produce any error? INSERT INTO person
(person_id, fname,lname)
VALUES (1,’S’,’U’),
VALUES (1,’T’,’U’);
/* where person_id is a primary key */

6 / 15

6. Which keyword in the UPDATE statement is used to assign values to columns?

7 / 15

7. Which of the following is not a valid aggregate function?

8 / 15

8. Which statement is TRUE about the GROUP BY Clause?

9 / 15

9. Full form of DML is –

10 / 15

10. Which of the following is not Constraint in SQL?

11 / 15

11. Command that comes under DML is/are –

12 / 15

12. Which datatype can store unstructured data in a column?

13 / 15

13. UPDATE statement is a DML statement. What does DML stand for?

14 / 15

14. Which clause is used to retrieve a unique element from the table?

15 / 15

15. Which operator is used to compare a value to a specified list of values?

Your score is

The average score is 58%

0%