create table PLPDF_DEMO_ORDERS (
	ORDER_ID INT,
	CUSTOMER_ID INT,
	ORDER_TOTAL INT,
	ORDER_DATE DATE
);
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (1, 18, null, to_date('24-05-2016 15:17:18', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (2, 2, null, to_date('01-05-2016 11:14:25', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (3, 13, null, to_date('18-05-2016 16:56:49', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (4, 6, null, to_date('06-05-2016 22:18:21', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (5, 3, null, to_date('02-05-2016 15:31:36', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (6, 8, null, to_date('13-05-2016 14:11:41', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (7, 17, null, to_date('13-05-2016 11:49:49', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (8, 19, null, to_date('02-05-2016 18:58:12', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (9, 15, null, to_date('16-05-2016 08:03:36', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (10, 18, null, to_date('18-05-2016 12:52:12', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (11, 5, null, to_date('10-05-2016 16:45:25', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (12, 2, null, to_date('07-05-2016 23:02:48', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (13, 13, null, to_date('14-05-2016 12:08:36', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (14, 3, null, to_date('30-05-2016 07:38:52', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (15, 3, null, to_date('26-05-2016 05:35:26', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (16, 3, null, to_date('15-05-2016 14:14:41', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (17, 4, null, to_date('30-05-2016 09:52:06', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (18, 12, null, to_date('24-05-2016 09:24:55', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (19, 16, null, to_date('23-05-2016 11:57:27', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (20, 18, null, to_date('14-05-2016 16:59:30', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (21, 12, null, to_date('05-05-2016 19:01:41', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (22, 13, null, to_date('18-05-2016 19:19:18', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (23, 17, null, to_date('12-05-2016 11:38:49', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (24, 19, null, to_date('26-05-2016 23:37:31', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (25, 19, null, to_date('26-05-2016 05:40:55', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (26, 3, null, to_date('09-05-2016 12:32:21', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (27, 7, null, to_date('14-05-2016 23:54:32', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (28, 19, null, to_date('01-05-2016 13:39:34', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (29, 2, null, to_date('24-05-2016 16:03:49', 'dd-mm-yyyy hh24:mi:ss'));
insert into PLPDF_DEMO_ORDERS (ORDER_ID, CUSTOMER_ID, ORDER_TOTAL, ORDER_DATE) values (30, 15, null, to_date('10-05-2016 10:50:41', 'dd-mm-yyyy hh24:mi:ss'));

alter table PLPDF_DEMO_ORDERS add constraint PLPDF_DEMO_ORDER_PK primary key (ORDER_ID);