Login   Register  
PHP Classes
elePHPant
Icontem

File: example.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nemanja Avramovic  >  Simple MySQL dump  >  example.sql  >  Download  
File: example.sql
Role: Auxiliary data
Content type: text/plain
Description: Example SQL file
Class: Simple MySQL dump
Dump a MySQL database as SQL statements
Author: By
Last change: added another table for you to test
Date: 5 years ago
Size: 358 bytes
 

Contents

Class file image Download
CREATE TABLE `example_table` (
`id` INT NOT NULL AUTO_INCREMENT ,
`name` TINYTEXT NOT NULL ,
`generator` TINYTEXT NOT NULL ,
`price` INT NOT NULL ,
PRIMARY KEY ( `id` )
);

CREATE TABLE `second_table` (
`id` INT NOT NULL AUTO_INCREMENT ,
`firstname` TINYTEXT NOT NULL ,
`latname` TINYTEXT NOT NULL ,
`age` INT NOT NULL ,
PRIMARY KEY ( `id` )
);