Commit 86c17c72 authored by Muhammad Usman's avatar Muhammad Usman

first commit

parent b34e4124
1. create database nisum;
2. use nisum;
3.
CREATE TABLE users (
id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
firstname VARCHAR(30) NOT NULL,
lastname VARCHAR(30) NOT NULL,
email VARCHAR(50),
reg_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
4. insert into users (firstname,lastname,email) values ('muhammad','usman','usmanm@nisum.com');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment