- A DDL is used to retrieve data from the database.
- B DDL is used to define and modify the structure of the database objects.
- C DDL is used to perform mathematical calculations on the data.
- D DDL is used to filter and sort the data in the database.
Answer:
B
DDL in MySQL is used to define and modify the structure of database objects such as tables, views, indexes, and constraints. It includes statements like CREATE, ALTER, and DROP to create, modify, or delete the database objects.