The document contains a set of 20 multiple-choice questions (MCQs) focused on Relational Database Management Systems (RDBMS) and SQL commands. Each question includes four options with the correct answer indicated. Topics covered include SQL keywords, data manipulation language (DML), data definition language (DDL), and various SQL clauses and functions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
10 views
Additional 20 MCQs on RDBMS Tool
The document contains a set of 20 multiple-choice questions (MCQs) focused on Relational Database Management Systems (RDBMS) and SQL commands. Each question includes four options with the correct answer indicated. Topics covered include SQL keywords, data manipulation language (DML), data definition language (DDL), and various SQL clauses and functions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
Additional 20 MCQs on RDBMS Tool
31. Which SQL keyword is used to remove rows from a table?
a) ERASE b) REMOVE c) DELETE d) DROP ✅ Answer: c) DELETE 32. Which SQL clause is used to limit the number of records returned? a) TOP b) LIMIT c) COUNT d) RANGE ✅ Answer: b) LIMIT 33. Which of the following is a DML command? a) SELECT b) CREATE c) DROP d) GRANT ✅ Answer: a) SELECT 34. Which command is used to create a table in SQL? a) MAKE TABLE b) CREATE TABLE c) NEW TABLE d) INIT TABLE ✅ Answer: b) CREATE TABLE 35. Which SQL clause is used to rename a column temporarily? a) CHANGE b) ALIAS c) AS d) RENAME ✅ Answer: c) AS 36. Which type of key can accept null values? a) Primary Key b) Unique Key c) Foreign Key d) Composite Key ✅ Answer: c) Foreign Key 37. Which SQL clause is used to filter grouped data? a) WHERE b) ORDER BY c) HAVING d) GROUP BY ✅ Answer: c) HAVING 38. Which command is used to create a relationship between two tables? a) CREATE RELATION b) ASSIGN FOREIGN c) ADD REFERENCE d) FOREIGN KEY ✅ Answer: d) FOREIGN KEY 39. Which SQL command is used to change the name of a table? a) RENAME b) CHANGE NAME c) ALTER TABLE d) UPDATE ✅ Answer: a) RENAME 40. Which of the following is used to define the structure of a database? a) DML b) DDL c) TCL d) DCL ✅ Answer: b) DDL 41. Which of the following is not a valid SQL data type? a) VARCHAR b) INTEGER c) TEXT d) ALPHA ✅ Answer: d) ALPHA 42. What does a NULL value represent in a database? a) 0 b) Empty string c) No value d) Zero length ✅ Answer: c) No value 43. Which keyword is used to eliminate duplicate rows in the result set? a) UNIQUE b) DISTINCT c) FILTER d) REMOVE ✅ Answer: b) DISTINCT 44. Which of the following commands adds a new column to an existing table? a) UPDATE b) ALTER TABLE c) MODIFY d) ADD COLUMN ✅ Answer: b) ALTER TABLE 45. Which of these is used to grant permissions to users? a) PERMIT b) GRANT c) ALLOW d) GIVE ✅ Answer: b) GRANT 46. Which function gives the highest value in a column? a) MAX() b) HIGH() c) TOP() d) UPPER() ✅ Answer: a) MAX() 47. What is the default sorting order in SQL when using ORDER BY? a) Descending b) Ascending c) Random d) Grouped ✅ Answer: b) Ascending 48. Which constraint ensures that a column cannot have NULL values? a) PRIMARY b) UNIQUE c) NOT NULL d) DEFAULT ✅ Answer: c) NOT NULL 49. Which clause is used to define conditions when using the SELECT command? a) GROUP BY b) WHERE c) ORDER BY d) AS ✅ Answer: b) WHERE 50. Which SQL clause is used to join two or more tables? a) GROUP BY b) UNION c) JOIN d) COMBINE ✅ Answer: c) JOIN