Class 12 Computer Science Chapter 4 Structured Query Language (Sql) Quiz 6 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. What does the SQL statement 'INSERT INTO world (name, capital, population) VALUES ('Ours', 'Emerald City', 1000000)' do?
2. Write a code for the following:Return the names and imdb ..... ratings of all movies with 'day' in the name.
3. What is the command used to delete entire tables in SQL?
4. How can you select records from a table where the name starts with 'A' and the population is greater than 1 million?
5. .... ensure database integrity .
6. A column of type CHAR cannot be indexed.
7. Which statement allows us to add a record to a table?
8. You're creating a table for a pizza delivery app.Which column might allow NULL values?
9. Which SQL command is used to insert new records into a table?
10. Identify the SQL command use to add price column into PRODUCT table.
11. Yang manakah BUKAN fungsi agregat SQL?Apakah penyataan SQL untuk memilih semua attribut dari Jadual Designer?
12. Pernyataan SELECT digunakan untuk mencapai data-data daripada jadual dalam pangkalan data. SELECT terdiri daripada tiga pernyataan asas KECUALI:
13. Which command is used to retrieve all records from the table?
14. What does the SQL statement 'UPDATE world SET population = 2000000, name = 'Wonderland' WHERE capital = 'Emerald City" do?
15. Return all dramas made after 2004.
16. Identify if there is an error in the SQL statement below in deleting a record:DELETE WHERE Employee ..... details WHERE Employee ..... details.ID = 10;
17. Berikut menunjukkan pernyataan SQL untuk mengemaskini stok barangan. Jika stok kurang daripada 20 unit, sebanyak lima unit barang akan ditambah.1 ..... A ..... BARANG2 ..... B ..... Kuantiti = Kuantiti + 53 ..... C ..... Kuantiti < 20
18. Which of the following statements is true about a relational database?
19. Which clause allows you to SORT data?
20. In creating a table named "Students2024" . Can you identify which is missing or error in the statement below:CREATE Students2024(Employee ..... ID INTEGER, LASTNAME TEXT (50), FIRSTNAME TEXT (50))
21. It is a DML command that is used to display record.
22. WHICH QUERY?defines the list of fields to be displayed
23. DDL stands for .....
24. The original version of SQL was developed at .....
25. Which of the following is true about SQL joins?