Chapter 6- Basic SQL Questions With Answers
Question 1.
database management system(DBMS)
Correct Answer: software that handles the storage, retrieval, and updating of
data in a computer system
Question 2.
Relational Database Management System(RDBMS)
Correct Answer: a DBMS that manages data as a collection of tables in which all
relationships are represented by common values in related tables
Question 3.
Structured Query LAnguage (SQL)
Correct Answer: a special-purpose programming language designed for
managing data in RDBMS
Question 4.
Data Definition Language (DDL)
Correct Answer: commands that define a databse, including creating, altering,
and dropping tables, and establishing constraints
CREATE
Question 5.
Data Manipulation Language (DML)
Correct Answer: commands that maintain and query a database
INSERT, UPDATE, SELECT
Question 6.
Data Control Language (DCL)
Correct Answer: commands that control a database, including administering
privileges and committing data
Question 7.
Text
Correct Answer: char(n)
stores string/text characters; fixed length
ex: Char(2)
varchar(n)
stores string/text characters; variable length ex: varchar(255)
Question 1.
database management system(DBMS)
Correct Answer: software that handles the storage, retrieval, and updating of
data in a computer system
Question 2.
Relational Database Management System(RDBMS)
Correct Answer: a DBMS that manages data as a collection of tables in which all
relationships are represented by common values in related tables
Question 3.
Structured Query LAnguage (SQL)
Correct Answer: a special-purpose programming language designed for
managing data in RDBMS
Question 4.
Data Definition Language (DDL)
Correct Answer: commands that define a databse, including creating, altering,
and dropping tables, and establishing constraints
CREATE
Question 5.
Data Manipulation Language (DML)
Correct Answer: commands that maintain and query a database
INSERT, UPDATE, SELECT
Question 6.
Data Control Language (DCL)
Correct Answer: commands that control a database, including administering
privileges and committing data
Question 7.
Text
Correct Answer: char(n)
stores string/text characters; fixed length
ex: Char(2)
varchar(n)
stores string/text characters; variable length ex: varchar(255)