The correct answer is 'B. select'.

Here's why:

  • DDL (Data Definition Language) commands are used to define the structure of a database. They create, modify, and delete database objects like tables, views, indexes, etc.

  • Create: Used to create new database objects.

  • Alter: Used to modify existing database objects.

  • Truncate: Used to delete all data from a table, but the table structure remains intact.

  • Select: Used to retrieve data from a database, which falls under DML (Data Manipulation Language).

Which is NOT a DDL Command: SQL Basics Explained

原文地址: https://www.cveoy.top/t/topic/nwQM 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录