Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to create a table in sql

#create a table and name it
CREATE TABLE test_name(
  #create some vars in the table like id, name, age and etc.
  id INT NOT NULL, 
  name VARCHAR,
  age FLOAT NOT NULL
  PRIMARY KEY(id) #define the primary key of the table(primary key is a var that will never be the same in each column in the table it will be "unique" rise up for each column
);
 
PREVIOUS NEXT
Tagged: #create #table #sql
ADD COMMENT
Topic
Name
5+4 =