Class 12 Computer Science Chapter 4 Structured Query Language (Sql) Quiz 3 (37 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. You're creating a table for a pizza delivery app.Which column might allow NULL values?
2. Which SQL command is used to insert new records into a table?
3. Identify the SQL command use to add price column into PRODUCT table.
4. Yang manakah BUKAN fungsi agregat SQL?Apakah penyataan SQL untuk memilih semua attribut dari Jadual Designer?
5. Pernyataan SELECT digunakan untuk mencapai data-data daripada jadual dalam pangkalan data. SELECT terdiri daripada tiga pernyataan asas KECUALI:
6. Which command is used to retrieve all records from the table?
7. What does the SQL statement 'UPDATE world SET population = 2000000, name = 'Wonderland' WHERE capital = 'Emerald City" do?
8. 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
9. Which of the following statements is true about a relational database?
10. Which clause allows you to SORT data?
11. 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))
12. It is a DML command that is used to display record.
13. WHICH QUERY?defines the list of fields to be displayed
14. DDL stands for .....
15. The original version of SQL was developed at .....
16. Which of the following is true about SQL joins?
17. What does the SQL statement 'DROP TABLE employee' do?
18. An UNSIGNED int can be a negative number.
19. Which of the following best describes a foreign key?
20. Which SQL command is used to modify data in a table?
21. Pilih penyataan SQL yang digunakan untuk mengemaskini Pangkalan Data
22. You realize your CREATE TABLE statement forgot to add a column for "favorite ..... movie" . What's the best way to fix this?
23. When might one prefer the CHAR column type over VARCHAR?
24. Which statement is true to delete the table "Employee ..... list ..... V1" from the database.
25. .... command remove all records from a table, also release the space occupied by those records
26. Which command is used to insert new records into a database table?
27. What is a relationship in the context of databases?
28. AVG, COUNT, MAX, MIN and SUM are known as what?
29. Write the code for the following:Return all movies with the word love.
30. Apakah penyataan SQL yang digunakan untuk membina Jadual Database bertajuk 'Customers'?
31. WHICH QUERY?defines the way in which the data will appeare.g ..... age DESC
32. .... are the values given to make the clause complete.
33. Which character returns all the data found in a table?
34. SQL commands are divided into ..... categories.
35. Which keyword will cause the results of the query to be displayed in sorted order?
36. .... constraint ensures that no two rows have the same value in the specified columns.
37. What is the primary value add of relational databases over flat files?