Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

table users

CREATE TABLE users(
   id INT AUTO_INCREMENT,
   first_name VARCHAR(100),
   last_name VARCHAR(100),
   email VARCHAR(50),
   password VARCHAR(20),
   location VARCHAR(100),
   dept VARCHAR(100),
   is_admin TINYINT(1),
   register_date DATETIME,
   PRIMARY KEY(id)
);
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #table #users
ADD COMMENT
Topic
Name
6+1 =