Answers for "when do you create a new table in sql"

SQL
9

create table sql

CREATE TABLE table_name(
  	id INT AUTO_INCREMENT PRIMARY KEY,  
  	name VARCHAR(255), # String 255 chars max
  	date DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
  	longtext BLOB
);
Posted by: Guest on July-14-2020
0

create table

CREATE TABLE fact (
id SERIAL PRIMARY KEY NOT NULL,
type VARCHAR(255),
text TEXT
);
Posted by: Guest on November-17-2020

Code answers related to "when do you create a new table in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language