Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to create a table in mysql

-- 'CREATE TABLE' followed by the name of the table. 
-- In round brackets, define the columns.
CREATE TABLE `test_table` 
(
  id INT(10) PRIMARY KEY,			
  username VARCHAR(50) NOT NULL
);
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #create #table #mysql
ADD COMMENT
Topic
Name
7+2 =