Vidyalelo
MySQL · Q1092

MySQL

Programming · MySQL · question 1092

Q1092

Which are the two languages used in Mysql?

A.
DML/DDL
Answer
B.
DDL/DCL
C.
DML/DDM
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
This question is about the different types of languages used in MySQL. MySQL uses two main languages:

DML (Data Manipulation Language) is used for manipulating data in your database. This includes commands like:
* INSERT: To add new data.
* UPDATE: To change existing data.
* DELETE: To remove data.
* SELECT: To retrieve data.

DDL (Data Definition Language) is used for defining the structure of your database. This includes commands like:
* CREATE: To create tables, databases, and other objects.
* ALTER: To modify the structure of existing tables.
* DROP: To delete tables, databases, and other objects.

So, the answer is Option A: DML/DDL.