Mark's Tech Stuff
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Friday, July 08, 2011
MySQL Create Table Syntax Example
Quick one:
CREATE TABLE mytable
(
myid INT NOT NULL AUTO_INCREMENT,
unique_name VARCHAR(255),
full_name VARCHAR(255),
phone_number VARCHAR(255),
loyalty_points INT,
PRIMARY KEY(myid,full_name)
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment