20) Which data type will you use to store the date of admission?
a) Database
c) Date
b) Information
d) None of the above
Answers
Text data type will be used to store the data of admission.
Answer:
c) None of these
Hope it helps u,
Date data type will be used to store the date of admission.
c) Date
Let's correct the question
Which data type will you use to store the date of admission?
a) Database
b) Information
c) Date
d) None of the above
Extra Information
Database
The database is stored in the computer system which has structured information in organized collections.
There are various types of databases such as
1) Centralized Database
2) Distributed Database
3) Relational Database
4) NoSQL Database
5) Cloud Database
6) Object-oriented Databases
7) Hierarchical Databases
8) Network Databases
Example
-- creating a table
CREATE TABLE STUDENTS (
ID INT,
NAME VARCHAR (20),
AGE INT,
DATE_OF_ADMISSION DATE,
);
-- inserting values in the table
INSERT INTO students VALUES (1, 'Ryan', 21, "2004-04-01");
--fetching values from table
SELECT * FROM students;
In the whole SQL query, a table STUDENTS is created and data is entered and displayed.