..
The CREATE TABLE statement of 'SQL DDL creates a physical table, the accompanying fields, their types of data and other properties.
The syntax is as follows:
CREATE TABLE table_name
(
field_name datatype obbligatorio_si_no
)
Basically you specify below the field name, data type and specify whether it is mandatory or not with the NULL keyword and / or NOT NULL.
CREATE TABLE books
(
id autoincrement,
rif_autore Integer
title text NOT NULL,
Currency prices
)
The list of fields can also be written on one line, separating them with commas.
| |
MS Access (Advanced)
Learn how to create and manage databases quickly and easily. Starting from 29 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
SQL and Database (Course)
Create and manage relational databases. From 39 €. |