Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create database sql

CREATE TABLE example (
    id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
    username VARCHAR(50) NOT NULL UNIQUE,
    password VARCHAR(255) NOT NULL,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP

);
Source by www.cockroachlabs.com #
 
PREVIOUS NEXT
Tagged: #create #database #sql
ADD COMMENT
Topic
Name
6+9 =