 |
| Code of DDL |
Hello again, today we are gonna learn about DDL. Data Definition Language (DDL) is used to define the structure of database and table. The syntaxt contain four kind : CREATE, DROP, ALTER. The syntaks will be written in Sql tab, besides Structure tab, in MySql. Actually we can write the code in this section, but MySql has give us an easy way to create, delete, the database or table, but sometimes, we still need to write the code and run it, because not all function of Sql is provided by MySql. We will learn it one by one.
To make a new database, table, index, or procedure, for example :