diff options
author | Indieteq <admin@indieteq.com> | 2012-11-12 14:17:05 +0100 |
---|---|---|
committer | Indieteq <admin@indieteq.com> | 2012-11-12 14:17:05 +0100 |
commit | 6b98954b8040ec4cae63a2be9d79ac9bc18cd903 (patch) | |
tree | b43ed3bc72794ff0e6279628326da670578bbefe /SQL dump/testdb.sql | |
parent | 6691618d2b2b8c93790938e80ae94c503610950f (diff) | |
download | php-mysql-pdo-database-class-6b98954b8040ec4cae63a2be9d79ac9bc18cd903.zip php-mysql-pdo-database-class-6b98954b8040ec4cae63a2be9d79ac9bc18cd903.tar.gz php-mysql-pdo-database-class-6b98954b8040ec4cae63a2be9d79ac9bc18cd903.tar.bz2 |
SQL dump and Example PHP file
Diffstat (limited to 'SQL dump/testdb.sql')
-rw-r--r-- | SQL dump/testdb.sql | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/SQL dump/testdb.sql b/SQL dump/testdb.sql new file mode 100644 index 0000000..eadf3fb --- /dev/null +++ b/SQL dump/testdb.sql @@ -0,0 +1,38 @@ +/* +Navicat MySQL Data Transfer + +Source Server : localhost_3306 +Source Server Version : 50527 +Source Host : localhost:3306 +Source Database : testdb + +Target Server Type : MYSQL +Target Server Version : 50527 +File Encoding : 65001 + +Date: 2012-11-12 14:07:39 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for `persons` +-- ---------------------------- +DROP TABLE IF EXISTS `persons`; +CREATE TABLE `persons` ( + `Id` int(11) NOT NULL AUTO_INCREMENT, + `Firstname` varchar(32) DEFAULT NULL, + `Lastname` varchar(32) DEFAULT NULL, + `Sex` char(1) DEFAULT NULL, + `Age` tinyint(3) DEFAULT NULL, + PRIMARY KEY (`Id`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Records of persons +-- ---------------------------- +INSERT INTO `persons` VALUES ('1', 'John', 'Doe', 'M', '19'); +INSERT INTO `persons` VALUES ('2', 'Bob', 'Black', 'M', '40'); +INSERT INTO `persons` VALUES ('3', 'Zoe', 'Chan', 'F', '21'); +INSERT INTO `persons` VALUES ('4', 'Sekito', 'Khan', 'M', '19'); +INSERT INTO `persons` VALUES ('5', 'Kader', 'Khan', 'M', '56'); |