Login   Register  
PHP Classes
elePHPant
Icontem

File: finance.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Suneel Kanuri  >  class.database  >  finance.sql  >  Download  
File: finance.sql
Role: Auxiliary data
Content type: text/plain
Description: Sample SQL file
Class: class.database
Build and execute MySQL database queries
Author: By
Last change:
Date: 9 years ago
Size: 844 bytes
 

Contents

Class file image Download
CREATE TABLE `finance` (
  `id` int(6) unsigned NOT NULL auto_increment,
  `datetime` datetime NOT NULL default '0000-00-00 00:00:00',
  `type` char(1) NOT NULL default 'w',
  `entity` text NOT NULL,
  `amount` decimal(10,2) NOT NULL default '0.00',
  `fkCategoryID` int(11) NOT NULL default '0',
  `fkSubCategoryID` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `datetime` (`datetime`)
) TYPE=MyISAM AUTO_INCREMENT=152 ;

INSERT INTO `finance` VALUES (128, '2005-05-06 00:00:00', 'b', 'Chevron: 4.459 @ 2.15', 9.63, 5, 3);
INSERT INTO `finance` VALUES (129, '2005-05-06 00:00:00', 'w', 'Cracker Barell', 1.53, 4, 2);
INSERT INTO `finance` VALUES (130, '2005-05-05 00:00:00', 'b', 'BP: 5.052 @ 2.129', 10.76, 5, 3);
INSERT INTO `finance` VALUES (131, '2005-05-06 00:00:00', 'd', 'Rockery Amoco, NO', 4.75, 4, 2);