Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git] / examples / grid-filtering / grid-demo.sql
1 CREATE DATABASE IF NOT EXISTS GridfiltersDemo;
2 USE GridfiltersDemo;
3
4 --
5 -- Definition of table `demo`
6 --
7
8 DROP TABLE IF EXISTS `demo`;
9 CREATE TABLE `demo` (
10   `id` int(10) unsigned NOT NULL auto_increment,
11   `price` float NOT NULL,
12   `company` varchar(255) NOT NULL,
13   `date` datetime NOT NULL,
14   `size` varchar(45) NOT NULL,
15   `visible` tinyint(1) NOT NULL,
16   PRIMARY KEY  (`id`)
17 ) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;
18
19 --
20 -- Dumping data for table `demo`
21 --
22
23 INSERT INTO `demo` (`id`,`price`,`company`,`date`,`size`,`visible`) VALUES 
24  (1,71.72,'3m Co','2007-09-01 00:00:00','large',1),
25  (2,29.01,'Aloca Inc','2007-08-01 00:00:00','medium',0),
26  (3,83.81,'Altria Group Inc','2007-08-03 00:00:00','large',0),
27  (4,52.55,'American Express Company','2008-01-04 00:00:00','extra large',1),
28  (5,64.13,'American International Group Inc.','2008-03-04 00:00:00','small',1),
29  (6,31.61,'AT&T Inc.','2008-02-01 00:00:00','extra large',0),
30  (7,75.43,'Boeing Co.','2008-01-01 00:00:00','large',1),
31  (8,67.27,'Caterpillar Inc.','2007-12-03 00:00:00','medium',1),
32  (9,49.37,'Citigroup, Inc.','2007-11-24 00:00:00','large',1),
33  (10,40.48,'E.I. du Pont de Nemours and Company','2007-05-09 00:00:00','extra large',0),
34  (11,68.1,'Exxon Mobile Corp','2007-12-12 00:00:00','large',1),
35  (12,34.14,'General Electric Company','2008-06-16 00:00:00','extra large',1),
36  (13,30.27,'General Motors Corporation','2006-12-07 00:00:00','medium',1),
37  (14,36.53,'Hewlett-Packard Co.','2007-05-13 00:00:00','large',1),
38  (15,38.77,'Honweywell Intl Inc','2006-11-07 00:00:00','medium',0),
39  (16,19.88,'Intel Corporation','2007-01-09 00:00:00','small',1),
40  (17,81.41,'International Business Machines','2005-01-21 00:00:00','extra large',1),
41  (18,64.72,'Johnson & Johnson','2008-01-10 00:00:00','extra large',1),
42  (19,45.73,'JP Morgan & Chase & Co','2008-02-20 00:00:00','large',0),
43  (20,36.76,'McDonald\'s Corporation','2007-06-12 00:00:00','large',1),
44  (21,27.96,'Pfizer Inc','2007-12-30 00:00:00','small',0),
45  (22,45.07,'The Coca-Cola Company','2007-01-30 00:00:00','medium',0),
46  (23,34.64,'The Home Depot, Inc','2006-12-31 00:00:00','small',1),
47  (24,61.91,'The Procter & Gamble Company','2007-04-08 00:00:00','extra large',1),
48  (25,63.26,'United Technologies Corporation','2006-06-04 00:00:00','medium',1),
49  (26,35.57,'Verizon Communications','2005-07-09 00:00:00','small',0),
50  (27,45.45,'Wal-Mart Stores, Inc','2006-09-09 00:00:00','large',1);