Chapter 13
Introduction to MySQL
1
|
What is MYSQL? By which company was MYSQL developed?
|
||||||||||||||||||||
Ans.
|
MYSQL is a free, open-source Relational Database Management System. MySQL was developed by
MySQL AB a
company based
in Sweden.
|
||||||||||||||||||||
2
|
What are the
various key features of MYSQL?
|
||||||||||||||||||||
Ans.
|
ü Speed
ü Ease of use
ü Query language supported
ü Portability
ü Security
|
||||||||||||||||||||
3
|
What is MYSQL server?
|
||||||||||||||||||||
Ans.
|
MySQL server
listens for client requests coming in over the network and accesses database contents according to those requests and provides that to the
clients.
|
||||||||||||||||||||
4
|
What is MYSQL client?
|
||||||||||||||||||||
Ans.
|
MySQL clients are programs that connect to the MySQL server and
issue queries in a pre-specified
format.
MySQL is
compatible with the standards based
SQL.
The client program
may contact the server programmatically
or manually.
|
||||||||||||||||||||
5
|
Which company created MYSQL?
|
||||||||||||||||||||
Ans.
|
MySQL is created
and supported by MySQL AB, a company
based in Sweden.
|
||||||||||||||||||||
6
|
Which open source enterprise
environment is MYSQL part of?
|
||||||||||||||||||||
Ans.
|
MySQL is a part LINUX operating
system is open source environment.
|
||||||||||||||||||||
7
|
What is SQL? What are the different categories of SQL commands?
|
||||||||||||||||||||
Ans.
|
SQL is the set of commands that is recognized
by nearly all RDBMSs.
SQL commands
can be divided
into following
categories:
1. Data definition Language (DDL) commands.
2. Data Manipulation Language (DML) Commands.
3. Transaction Control Language (TCL) Commands.
4. Session Control Commands.
5. System Control Commands.
|
||||||||||||||||||||
8
|
What types of commands are
used
in the following categories?
(i)DDL (ii)DML (iii)TCL
(iv)Session Control Commands
(v)
System Control Commands.
|
||||||||||||||||||||
Ans.
|
(i) DDL –CREATE, ALTER, DROP
(ii) DML – SELECT,DELETE,INSERT INTO,UPDATE
(iii) TCL –COMMIT,ROLLBACK, SAVEPOINT, SET TRANSACTION
(iv) Session Control Commands – ALTER SESSION and SET ROLE (v) System Control Command -
ALTER SYSTEM
|
||||||||||||||||||||
9
|
What does the
Data Dictionary consists of?
|
||||||||||||||||||||
Ans.
|
Data Dictionary consists of metadata i.e., data
about data.
|