0% found this document useful (0 votes)
6 views2 pages

2

Uploaded by

Ashish Behera
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
6 views2 pages

2

Uploaded by

Ashish Behera
Copyright
© © All Rights Reserved
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/ 2

Day-12 Interview Questions

1. What is MySQL?

MySQL is a relational database management system based on SQL (Structured Query


Language). It is an open source software owned by Oracle and can run on various
platforms. Most websites or web applications are developed using MySQL.

2.What is a database?

A database is a structured repository of data stored electronically in a computer system


and organized in a way that data can be quickly searched and information rapidly
retrieved. A database is generally controlled by a database management system.

3. What does 'MySQL' stand for?

'My' in MySQL represents the first name of its co-founder, Michael Widenius' daughter,
My Widenius. SQL is an abbreviation for the term "Structured Query Language". SQL is
also used in databases like Oracle and Microsoft SQL Server.

4. How to check the MySQL version?

The command 'MySQL -v' can be used to check MySQL version .

5.What does a MySQL database contain?

A MySQL database contains one or many tables, with each table containing several
records or rows. Within these rows, data is contained in various columns or fields.

6. List the ways to interact with MySQL?

There are 3 main ways users can interact with MySQL:


● Using a command line
● Through a web interface
● Using a programming language

7. What are MySQL Database Queries?


A query is a request for data or information from a database. Users can query a
database for specific information, and the resultant record/records are returned by
MySQL.
8. How to create a database in MySQL?

The CREATE DATABASE command can be used to create a new database.

9. How many NULL values are allowed in a PRIMARY KEY column?

No NULL Value is allowed in the PRIMARY KEY column. In fact, a Primary Key cannot
be created on a nullable column.

10. How do you connect to a MySQL database using the command line?
You can connect to a MySQL database using the following command:

mysql -u username -p

11. What is a table in MySQL?


A table in MySQL is a structured data storage unit that consists of rows and columns. It
is used to store data in a structured format.

You might also like