Collections:
CREATE TABLE Statement in MySQL
How To Create a New Table in MySQL?
✍: FYIcenter.com
If you want to create a new table, you can use the "CREATE TABLE" statement. The following tutorial script shows you how to create a table called "tip":
mysql> CREATE TABLE tip (id INTEGER PRIMARY KEY, subject VARCHAR(80) NOT NULL, description VARCHAR(256) NOT NULL, create_date DATE NULL); Query OK, 0 rows affected (0.08 sec)
This scripts creates a testing table called "tip" with 4 columns in the current database.
⇒ CREATE Command Denied Error in MySQL
⇐ What Are DDL Statements in MySQL
2018-03-10, 2168🔥, 0💬
Popular Posts:
What Are Date and Time Functions in MySQL? MySQL offers a number of functions for date and time valu...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
How to connect SQL Server Management Studio Express to SQL Server 2005 Express in SQL Server? Once y...
How to set the current database in SQL Server? Once you are connected to the SQL Server, you should ...
What Are Out-of-Range Errors with DATETIME values in SQL Server Transact-SQL? When you enter DATETIM...