Professional Documents
Culture Documents
RDBMS Notes 2
RDBMS Notes 2
RDBMS Notes 2
UNIT – 4 RDBMS
[CH- 2 CREATE & EDIT TABLES USING WIZARDS & SQL COMMANDS]
TOTAL MARKS – 12
1. Fill – ups –
By default all the fields will have Text [VARCHAR] data type.
4. What are the Data Types? Name the data types available in OpenOffice Base.
Ans. Datatypes are used to identify which type of data (value) we are going to store in the database.
Fields themselves can be of different types depending on the data they contain. Data types in OpenOffice
base are broadly classified into five categories listed below.
• Numeric Types • Date time
• Alphanumeric Types • Other Variable types.
• Binary Types
5. What are Numeric Data Types? List datatypes available in numeric datatype.
Ans. Numeric Types: Numeric data types are used for describing numeric values for the field used in the
table of a database. Numeric data types in a database can be used for storing information such as mobile
number, roll number, door number, year of school admission, true or false statements, statistical values,
etc. The different types of numeric data types available are listed here-
6. What are the alphanumeric data types? List the datatypes available in alphanumeric
datatypes.
Ans: alphanumeric data types are used for describing alphabets and numeric values for the field used in
the table of a database. Alphanumeric datatypes inn a database can be used for storing information such
as Name, Address etc. The different types of alphanumeric data types available listed here :
7. What are date and time data types? List datatypes available in date and time datatype.
Ans. Date time data types are used for describing date and time values for the field used in the table of a
database.it is used for storing information such as date of admission, date of birth, date of product sale
etc. The different types of date time data types in available are listed here –
Name Description
Date Stores month, day and year of information.
Time Stores hour, minute and second information
Timestamp Stores date and time information.
8. What is the difference between DDL and DML commands? Give some examples of DDL and
DML commands.
DATA DEFINITION / DESCRIPTION LANGUAGE: - It is a standard for commands that define
the different structures in a database. DDL statements create, modify and remove database
objects such as tables, indexes and users. Common DDL Statements are:-
1. Create: - Used to create database objects.
2. Alter: - Used to modify database objects.
3. Drop: - Used to delete database objects.