text
stringlengths
6
9.38M
create database jewel; use jewel; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) DEFAULT NULL, `password` varchar(50) DEFAULT NULL, PRIMARY KEY (`id`) ) default charset=utf8; create table code_type ( `type` int auto_increment primary key comment '类型', `name` varchar(100) comment '名称', `remark` varchar(200) comment '备注', `valid` int comment '有效 0:无效 1:有效' ) default charset=utf8 comment '代码类型'; create table code_value ( `id` int auto_increment primary key comment 'id', `type` int comment '类型', `value` int comment '值', `name` varchar(100) comment '名称', `order` int comment '顺序', `remark` varchar(200) comment '备注', `valid` int comment '有效 0:无效 1:有效' ) default charset=utf8 comment '代码值'; create table fun_invest ( `id` int auto_increment primary key comment 'id', `type` int comment '类型', `fun_team` int comment 'fun_team', `role` int comment 'role', `pre_concept` decimal(15,4) default 0 comment '', `concept` decimal(15,4) default 0 comment '', `plan` decimal(15,4) default 0 comment '', `dev` decimal(15,4) default 0 comment '', `sdv` decimal(15,4) default 0 comment '', `sit` decimal(15,4) default 0 comment '', `svt` decimal(15,4) default 0 comment '', `valid` int default 0 comment '有效' ) default charset=utf8 comment 'fun-incest'; create table project_type ( `id` int auto_increment primary key comment 'id', `name` varchar(100) comment '类型', `remark` varchar(200) comment '备注', `valid` int default 0 comment '有效 0 无效 1有效' ) default charset=utf8 comment 'project type';
-- This command below can be run under dos to execute SQL in a file. -- "C:\Program Files (x86)\IBM\SQLLIB\bin\db2cmd" /c /w /i db2 -tf C:\LocalWAS\test\select.sql > C:\LocalWAS\test\result_select.txt connect to tdb2 user RXXXJ using RREGION ; select CLNT_ID || ',' || DIV_ID || ',' || CLAS_ID || ', ,' || '' FROM RVSP011.PRD4119T where EFF_END_DT is null fetch first 20000 rows only with UR;
/* Создание таблицы заданий */ CREATE TABLE /*PREFIX*/TASKS ( TASK_ID VARCHAR(32) NOT NULL, APPLICATION_ID VARCHAR(32) NOT NULL, ACCOUNT_ID VARCHAR(32), INTERFACE_ID VARCHAR(32), NAME VARCHAR(100) NOT NULL, DESCRIPTION VARCHAR(250), DATE_BEGIN TIMESTAMP NOT NULL, DATE_END TIMESTAMP, SCHEDULE INTEGER NOT NULL, PRIORITY INTEGER NOT NULL, ENABLED INTEGER NOT NULL, PROC_NAME VARCHAR(100), COMMAND_STRING VARCHAR(250), REPEAT_ENABLED INTEGER NOT NULL, REPEAT_TYPE INTEGER, REPEAT_VALUE INTEGER, REPEAT_COUNT INTEGER, DAY_FREQUENCY INTEGER, WEEK_FREQUENCY INTEGER, MONDAY INTEGER NOT NULL, TUESDAY INTEGER NOT NULL, WEDNESDAY INTEGER NOT NULL, THURSDAY INTEGER NOT NULL, FRIDAY INTEGER NOT NULL, SATURDAY INTEGER NOT NULL, SUNDAY INTEGER NOT NULL, MONTH_DAY INTEGER, JANUARY INTEGER NOT NULL, FEBRUARY INTEGER NOT NULL, MARCH INTEGER NOT NULL, APRIL INTEGER NOT NULL, MAY INTEGER NOT NULL, JUNE INTEGER NOT NULL, JULY INTEGER NOT NULL, AUGUST INTEGER NOT NULL, SEPTEMBER INTEGER NOT NULL, OCTOBER INTEGER NOT NULL, NOVEMBER INTEGER NOT NULL, DECEMBER INTEGER NOT NULL, DATE_EXECUTE TIMESTAMP, RESULT_STRING VARCHAR(250), PRIMARY KEY (TASK_ID), FOREIGN KEY (APPLICATION_ID) REFERENCES /*PREFIX*/APPLICATIONS (APPLICATION_ID), FOREIGN KEY (ACCOUNT_ID) REFERENCES /*PREFIX*/ACCOUNTS (ACCOUNT_ID), FOREIGN KEY (INTERFACE_ID) REFERENCES /*PREFIX*/INTERFACES (INTERFACE_ID) ) -- /* Создание просмотра таблицы заданий */ CREATE VIEW /*PREFIX*/S_TASKS ( TASK_ID, APPLICATION_ID, ACCOUNT_ID, INTERFACE_ID, NAME, DESCRIPTION, DATE_BEGIN, DATE_END, SCHEDULE, PRIORITY, ENABLED, PROC_NAME, COMMAND_STRING, REPEAT_ENABLED, REPEAT_TYPE, REPEAT_VALUE, REPEAT_COUNT, DAY_FREQUENCY, WEEK_FREQUENCY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY, MONTH_DAY, JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER, DATE_EXECUTE, RESULT_STRING, APPLICATION_NAME, USER_NAME, INTERFACE_NAME ) AS SELECT T.*, A.NAME AS APPLICATION_NAME, AC.USER_NAME, I.NAME AS INTERFACE_NAME FROM /*PREFIX*/TASKS T JOIN /*PREFIX*/APPLICATIONS A ON A.APPLICATION_ID=T.APPLICATION_ID LEFT JOIN /*PREFIX*/ACCOUNTS AC ON AC.ACCOUNT_ID=T.ACCOUNT_ID LEFT JOIN /*PREFIX*/INTERFACES I ON I.INTERFACE_ID=T.INTERFACE_ID -- /* Создание процедуры добавления задания */ CREATE OR ALTER PROCEDURE /*PREFIX*/I_TASK ( TASK_ID VARCHAR(32), APPLICATION_ID VARCHAR(32), ACCOUNT_ID VARCHAR(32), INTERFACE_ID VARCHAR(32), NAME VARCHAR(100), DESCRIPTION VARCHAR(250), DATE_BEGIN TIMESTAMP, DATE_END TIMESTAMP, SCHEDULE INTEGER, PRIORITY INTEGER, ENABLED INTEGER, PROC_NAME VARCHAR(100), COMMAND_STRING VARCHAR(250), REPEAT_ENABLED INTEGER, REPEAT_TYPE INTEGER, REPEAT_VALUE INTEGER, REPEAT_COUNT INTEGER, DAY_FREQUENCY INTEGER, WEEK_FREQUENCY INTEGER, MONDAY INTEGER, TUESDAY INTEGER, WEDNESDAY INTEGER, THURSDAY INTEGER, FRIDAY INTEGER, SATURDAY INTEGER, SUNDAY INTEGER, MONTH_DAY INTEGER, JANUARY INTEGER, FEBRUARY INTEGER, MARCH INTEGER, APRIL INTEGER, MAY INTEGER, JUNE INTEGER, JULY INTEGER, AUGUST INTEGER, SEPTEMBER INTEGER, OCTOBER INTEGER, NOVEMBER INTEGER, DECEMBER INTEGER, DATE_EXECUTE TIMESTAMP, RESULT_STRING VARCHAR(250) ) AS BEGIN INSERT INTO /*PREFIX*/TASKS (TASK_ID,APPLICATION_ID,ACCOUNT_ID,INTERFACE_ID,NAME,DESCRIPTION,DATE_BEGIN, DATE_END,SCHEDULE,PRIORITY,ENABLED,PROC_NAME,COMMAND_STRING,REPEAT_ENABLED, REPEAT_TYPE,REPEAT_VALUE,REPEAT_COUNT,DAY_FREQUENCY,WEEK_FREQUENCY, MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY,MONTH_DAY, JANUARY,FEBRUARY,MARCH,APRIL,MAY,JUNE,JULY,AUGUST,SEPTEMBER,OCTOBER,NOVEMBER,DECEMBER, DATE_EXECUTE,RESULT_STRING) VALUES (:TASK_ID,:APPLICATION_ID,:ACCOUNT_ID,:INTERFACE_ID,:NAME,:DESCRIPTION,:DATE_BEGIN, :DATE_END,:SCHEDULE,:PRIORITY,:ENABLED,:PROC_NAME,:COMMAND_STRING,:REPEAT_ENABLED, :REPEAT_TYPE,:REPEAT_VALUE,:REPEAT_COUNT,:DAY_FREQUENCY,:WEEK_FREQUENCY, :MONDAY,:TUESDAY,:WEDNESDAY,:THURSDAY,:FRIDAY,:SATURDAY,:SUNDAY,:MONTH_DAY, :JANUARY,:FEBRUARY,:MARCH,:APRIL,:MAY,:JUNE,:JULY,:AUGUST,:SEPTEMBER,:OCTOBER,:NOVEMBER,:DECEMBER, :DATE_EXECUTE,:RESULT_STRING); END; -- /* Создание процедуры изменения задания */ CREATE OR ALTER PROCEDURE /*PREFIX*/U_TASK ( TASK_ID VARCHAR(32), APPLICATION_ID VARCHAR(32), ACCOUNT_ID VARCHAR(32), INTERFACE_ID VARCHAR(32), NAME VARCHAR(100), DESCRIPTION VARCHAR(250), DATE_BEGIN TIMESTAMP, DATE_END TIMESTAMP, SCHEDULE INTEGER, PRIORITY INTEGER, ENABLED INTEGER, PROC_NAME VARCHAR(100), COMMAND_STRING VARCHAR(250), REPEAT_ENABLED INTEGER, REPEAT_TYPE INTEGER, REPEAT_VALUE INTEGER, REPEAT_COUNT INTEGER, DAY_FREQUENCY INTEGER, WEEK_FREQUENCY INTEGER, MONDAY INTEGER, TUESDAY INTEGER, WEDNESDAY INTEGER, THURSDAY INTEGER, FRIDAY INTEGER, SATURDAY INTEGER, SUNDAY INTEGER, MONTH_DAY INTEGER, JANUARY INTEGER, FEBRUARY INTEGER, MARCH INTEGER, APRIL INTEGER, MAY INTEGER, JUNE INTEGER, JULY INTEGER, AUGUST INTEGER, SEPTEMBER INTEGER, OCTOBER INTEGER, NOVEMBER INTEGER, DECEMBER INTEGER, DATE_EXECUTE TIMESTAMP, RESULT_STRING VARCHAR(250), OLD_TASK_ID VARCHAR(32) ) AS BEGIN UPDATE /*PREFIX*/TASKS SET TASK_ID=:TASK_ID, APPLICATION_ID=:APPLICATION_ID, ACCOUNT_ID=:ACCOUNT_ID, INTERFACE_ID=:INTERFACE_ID, NAME=:NAME, DESCRIPTION=:DESCRIPTION, DATE_BEGIN=:DATE_BEGIN, DATE_END=:DATE_END, SCHEDULE=:SCHEDULE, PRIORITY=:PRIORITY, ENABLED=:ENABLED, PROC_NAME=:PROC_NAME, COMMAND_STRING=:COMMAND_STRING, REPEAT_ENABLED=:REPEAT_ENABLED, REPEAT_TYPE=:REPEAT_TYPE, REPEAT_VALUE=:REPEAT_VALUE, REPEAT_COUNT=:REPEAT_COUNT, DAY_FREQUENCY=:DAY_FREQUENCY, WEEK_FREQUENCY=:WEEK_FREQUENCY, MONDAY=:MONDAY, TUESDAY=:TUESDAY, WEDNESDAY=:WEDNESDAY, THURSDAY=:THURSDAY, FRIDAY=:FRIDAY, SATURDAY=:SATURDAY, SUNDAY=:SUNDAY, MONTH_DAY=:MONTH_DAY, JANUARY=:JANUARY, FEBRUARY=:FEBRUARY, MARCH=:MARCH, APRIL=:APRIL, MAY=:MAY, JUNE=:JUNE, JULY=:JULY, AUGUST=:AUGUST, SEPTEMBER=:SEPTEMBER, OCTOBER=:OCTOBER, NOVEMBER=:NOVEMBER, DECEMBER=:DECEMBER, DATE_EXECUTE=:DATE_EXECUTE, RESULT_STRING=:RESULT_STRING WHERE TASK_ID=:OLD_TASK_ID; END; -- /* Создание процедуры удаления задания */ CREATE OR ALTER PROCEDURE /*PREFIX*/D_TASK ( OLD_TASK_ID VARCHAR(32) ) AS BEGIN DELETE FROM /*PREFIX*/TASKS WHERE TASK_ID=:OLD_TASK_ID; END; -- /* Создание таблицы обмена */ CREATE TABLE /*PREFIX*/EXCHANGES ( EXCHANGE_ID VARCHAR(32) NOT NULL, NAME VARCHAR(100) NOT NULL, DESCRIPTION VARCHAR(250), SCRIPT BLOB, SOURCE VARCHAR(100) NOT NULL, SOURCE_BEFORE BLOB, SOURCE_AFTER BLOB, DESTINATION VARCHAR(100) NOT NULL, DESTINATION_BEFORE BLOB, DESTINATION_AFTER BLOB, PRIORITY INTEGER, ENABLED INTEGER NOT NULL, PRIMARY KEY (EXCHANGE_ID) ) -- /* Создание просмотра таблицы обмена */ CREATE VIEW /*PREFIX*/S_EXCHANGES AS SELECT * FROM /*PREFIX*/EXCHANGES -- /* Создание процедуры добавления обмена */ CREATE OR ALTER PROCEDURE /*PREFIX*/I_EXCHANGE ( EXCHANGE_ID VARCHAR(32), NAME VARCHAR(100), DESCRIPTION VARCHAR(250), SCRIPT BLOB, SOURCE VARCHAR(100), SOURCE_BEFORE BLOB, SOURCE_AFTER BLOB, DESTINATION VARCHAR(100), DESTINATION_BEFORE BLOB, DESTINATION_AFTER BLOB, PRIORITY INTEGER, ENABLED INTEGER ) AS BEGIN INSERT INTO /*PREFIX*/EXCHANGES (EXCHANGE_ID,NAME,DESCRIPTION,SCRIPT, SOURCE,SOURCE_BEFORE,SOURCE_AFTER, DESTINATION,DESTINATION_BEFORE,DESTINATION_AFTER, PRIORITY,ENABLED) VALUES (:EXCHANGE_ID,:NAME,:DESCRIPTION,:SCRIPT, :SOURCE,:SOURCE_BEFORE,:SOURCE_AFTER, :DESTINATION,:DESTINATION_BEFORE,:DESTINATION_AFTER, :PRIORITY,:ENABLED); END; -- /* Создание процедуры изменения обмена */ CREATE OR ALTER PROCEDURE /*PREFIX*/U_EXCHANGE ( EXCHANGE_ID VARCHAR(32), NAME VARCHAR(100), DESCRIPTION VARCHAR(250), SCRIPT BLOB, SOURCE VARCHAR(100), SOURCE_BEFORE BLOB, SOURCE_AFTER BLOB, DESTINATION VARCHAR(100), DESTINATION_BEFORE BLOB, DESTINATION_AFTER BLOB, PRIORITY INTEGER, ENABLED INTEGER, OLD_EXCHANGE_ID VARCHAR(32) ) AS BEGIN UPDATE /*PREFIX*/EXCHANGES SET EXCHANGE_ID=:EXCHANGE_ID, NAME=:NAME, DESCRIPTION=:DESCRIPTION, SCRIPT=:SCRIPT, SOURCE=:SOURCE, SOURCE_BEFORE=:SOURCE_BEFORE, SOURCE_AFTER=:SOURCE_AFTER, DESTINATION=:DESTINATION, DESTINATION_BEFORE=:DESTINATION_BEFORE, DESTINATION_AFTER=:DESTINATION_AFTER, PRIORITY=:PRIORITY, ENABLED=:ENABLED WHERE EXCHANGE_ID=:OLD_EXCHANGE_ID; END; -- /* Создание процедуры удаления обмена */ CREATE OR ALTER PROCEDURE /*PREFIX*/D_EXCHANGE ( OLD_EXCHANGE_ID VARCHAR(32) ) AS BEGIN DELETE FROM /*PREFIX*/EXCHANGES WHERE EXCHANGE_ID=:OLD_EXCHANGE_ID; END; -- /* Создание процедуры получения статистики по розыгрышу */ CREATE OR ALTER PROCEDURE /*PREFIX*/GET_LOTTERY_STATISTICS ( TIRAGE_ID VARCHAR(32) ) RETURNS ( ALL_COUNT INTEGER, USED_COUNT INTEGER, NOT_USED_COUNT INTEGER, PRIZE_SUM NUMERIC(15,2), JACKPOT_SUM NUMERIC(15,2), FIRST_ROUND_SUM NUMERIC(15,2), SECOND_ROUND_SUM NUMERIC(15,2), THIRD_ROUND_SUM NUMERIC(15,2), FOURTH_ROUND_SUM NUMERIC(15,2) ) AS DECLARE TICKET_COST NUMERIC(15,2); DECLARE PRIZE_PERCENT NUMERIC(4,2); DECLARE JACKPOT_PERCENT NUMERIC(4,2); DECLARE FIRST_ROUND_PERCENT NUMERIC(4,2); DECLARE TEMP_SUM NUMERIC(15,2); BEGIN SELECT TICKET_COST, PRIZE_PERCENT, JACKPOT_PERCENT, FIRST_ROUND_PERCENT, THIRD_ROUND_SUM, FOURTH_ROUND_SUM FROM /*PREFIX*/TIRAGES WHERE TIRAGE_ID=:TIRAGE_ID INTO :TICKET_COST, :PRIZE_PERCENT, :JACKPOT_PERCENT, :FIRST_ROUND_PERCENT, :THIRD_ROUND_SUM, :FOURTH_ROUND_SUM; SELECT COUNT(*) FROM /*PREFIX*/TICKETS WHERE TIRAGE_ID=:TIRAGE_ID INTO :ALL_COUNT; SELECT COUNT(*) FROM /*PREFIX*/TICKETS WHERE TIRAGE_ID=:TIRAGE_ID AND NOT_USED=1 INTO :NOT_USED_COUNT; USED_COUNT=ALL_COUNT-NOT_USED_COUNT; PRIZE_SUM=(TICKET_COST*USED_COUNT)*PRIZE_PERCENT/100; JACKPOT_SUM=PRIZE_SUM*JACKPOT_PERCENT/100; IF (FOURTH_ROUND_SUM IS NULL) THEN FOURTH_ROUND_SUM=0.0; TEMP_SUM=PRIZE_SUM-FOURTH_ROUND_SUM; FIRST_ROUND_SUM=TEMP_SUM*FIRST_ROUND_PERCENT/100; SECOND_ROUND_SUM=TEMP_SUM-FIRST_ROUND_SUM-THIRD_ROUND_SUM; END; -- /* Создание процедуры получения статистики по тиражу */ CREATE OR ALTER PROCEDURE GET_TIRAGE_STATISTICS ( TIRAGE_ID VARCHAR(32), TICKET_COST NUMERIC(15,2), PRIZE_PERCENT NUMERIC(4,2), JACKPOT_PERCENT NUMERIC(4,2), FIRST_ROUND_PERCENT NUMERIC(4,2), THIRD_ROUND_SUM NUMERIC(15,2), FOURTH_ROUND_SUM NUMERIC(15,2) ) RETURNS ( ALL_COUNT INTEGER, USED_COUNT INTEGER, NOT_USED_COUNT INTEGER, PRIZE_SUM NUMERIC(15,2), JACKPOT_SUM NUMERIC(15,2), FIRST_ROUND_SUM NUMERIC(15,2), SECOND_ROUND_SUM NUMERIC(15,2) ) AS DECLARE VARIABLE TEMP_SUM NUMERIC(15,2); BEGIN SELECT COUNT(*) FROM /*PREFIX*/TICKETS WHERE TIRAGE_ID=:TIRAGE_ID INTO :ALL_COUNT; SELECT COUNT(*) FROM /*PREFIX*/TICKETS WHERE TIRAGE_ID=:TIRAGE_ID AND NOT_USED=1 INTO :NOT_USED_COUNT; USED_COUNT=ALL_COUNT-NOT_USED_COUNT; PRIZE_SUM=(TICKET_COST*USED_COUNT)*PRIZE_PERCENT/100; JACKPOT_SUM=PRIZE_SUM*JACKPOT_PERCENT/100; IF (FOURTH_ROUND_SUM IS NULL) THEN FOURTH_ROUND_SUM=0.0; TEMP_SUM=PRIZE_SUM-FOURTH_ROUND_SUM; FIRST_ROUND_SUM=TEMP_SUM*FIRST_ROUND_PERCENT/100; SECOND_ROUND_SUM=TEMP_SUM-FIRST_ROUND_SUM-THIRD_ROUND_SUM; END; -- /* Создание процедуры получения протокола розыгрыша */ CREATE OR ALTER PROCEDURE /*PREFIX*/GET_PROTOCOL ( TIRAGE_ID VARCHAR(32) ) RETURNS ( TICKET_ID VARCHAR(32), ROUND_NUM INTEGER, NUM VARCHAR(8), SERIES VARCHAR(5), PRIZE_ID VARCHAR(32), PRIZE_NAME VARCHAR(40), PRIZE_COST NUMERIC(15,2), SURNAME VARCHAR(100), NAME VARCHAR(100), PATRONYMIC VARCHAR(100), ADDRESS VARCHAR(250), PHONE VARCHAR(100) ) AS DECLARE ALL_COUNT INTEGER; DECLARE USED_COUNT INTEGER; DECLARE NOT_USED_COUNT INTEGER; DECLARE PRIZE_SUM NUMERIC(15,2); DECLARE JACKPOT_SUM NUMERIC(15,2); DECLARE FIRST_ROUND_SUM NUMERIC(15,2); DECLARE SECOND_ROUND_SUM NUMERIC(15,2); DECLARE THIRD_ROUND_SUM NUMERIC(15,2); DECLARE FOURTH_ROUND_SUM NUMERIC(15,2); DECLARE TICKET_COUNT INTEGER; BEGIN EXECUTE PROCEDURE /*PREFIX*/GET_LOTTERY_STATISTICS(:TIRAGE_ID) RETURNING_VALUES :ALL_COUNT,:USED_COUNT,:NOT_USED_COUNT,:PRIZE_SUM, :JACKPOT_SUM,:FIRST_ROUND_SUM,:SECOND_ROUND_SUM, :THIRD_ROUND_SUM,:FOURTH_ROUND_SUM; SELECT COUNT(*) FROM /*PREFIX*/GET_TICKET_LINES(:TIRAGE_ID,NULL,1,1) INTO :TICKET_COUNT; IF (TICKET_COUNT=0) THEN TICKET_COUNT=1; PRIZE_NAME='Денежный приз'; PRIZE_COST=FIRST_ROUND_SUM/TICKET_COUNT; PRIZE_COST=CAST(PRIZE_COST AS NUMERIC(15,0)); FOR SELECT TL.TICKET_ID,1,T.NUM,T.SERIES, NULL,:PRIZE_NAME,:PRIZE_COST, T.SURNAME,T.NAME,T.PATRONYMIC,T.ADDRESS,T.PHONE FROM /*PREFIX*/GET_TICKET_LINES(:TIRAGE_ID,NULL,1,1) TL JOIN /*PREFIX*/TICKETS T ON T.TICKET_ID=TL.TICKET_ID INTO :TICKET_ID,:ROUND_NUM,:NUM,:SERIES, :PRIZE_ID,:PRIZE_NAME,:PRIZE_COST, :SURNAME,:NAME,:PATRONYMIC,:ADDRESS,:PHONE DO BEGIN SUSPEND; END SELECT COUNT(*) FROM /*PREFIX*/GET_TICKET_LINE_COUNT(:TIRAGE_ID,NULL,2,1) WHERE LINE_COUNT>3 INTO :TICKET_COUNT; IF (TICKET_COUNT=0) THEN TICKET_COUNT=1; PRIZE_NAME='Денежный приз'; PRIZE_COST=SECOND_ROUND_SUM/TICKET_COUNT; PRIZE_COST=CAST(PRIZE_COST AS NUMERIC(15,0)); FOR SELECT TL.TICKET_ID,2,T.NUM,T.SERIES, NULL,:PRIZE_NAME,:PRIZE_COST, T.SURNAME,T.NAME,T.PATRONYMIC,T.ADDRESS,T.PHONE FROM /*PREFIX*/GET_TICKET_LINE_COUNT(:TIRAGE_ID,NULL,2,1) TL JOIN /*PREFIX*/TICKETS T ON T.TICKET_ID=TL.TICKET_ID WHERE TL.LINE_COUNT>3 INTO :TICKET_ID,:ROUND_NUM,:NUM,:SERIES, :PRIZE_ID,:PRIZE_NAME,:PRIZE_COST, :SURNAME,:NAME,:PATRONYMIC,:ADDRESS,:PHONE DO BEGIN SUSPEND; END FOR SELECT PRIZE_ID, NAME, COST FROM /*PREFIX*/PRIZES WHERE TIRAGE_ID=:TIRAGE_ID AND ROUND_NUM=3 ORDER BY PRIORITY INTO :PRIZE_ID,:PRIZE_NAME,:PRIZE_COST DO BEGIN SELECT COUNT(*) FROM /*PREFIX*/GET_TICKET_SERIES(:TIRAGE_ID,:PRIZE_ID,3) INTO :TICKET_COUNT; IF (TICKET_COUNT=0) THEN TICKET_COUNT=1; PRIZE_COST=PRIZE_COST/TICKET_COUNT; PRIZE_COST=CAST(PRIZE_COST AS NUMERIC(15,0)); FOR SELECT TL.TICKET_ID,3,T.NUM,T.SERIES, :PRIZE_ID,:PRIZE_NAME,:PRIZE_COST, T.SURNAME,T.NAME,T.PATRONYMIC,T.ADDRESS,T.PHONE FROM /*PREFIX*/GET_TICKET_SERIES(:TIRAGE_ID,:PRIZE_ID,3) TL JOIN /*PREFIX*/TICKETS T ON T.TICKET_ID=TL.TICKET_ID INTO :TICKET_ID,:ROUND_NUM,:NUM,:SERIES, :PRIZE_ID,:PRIZE_NAME,:PRIZE_COST, :SURNAME,:NAME,:PATRONYMIC,:ADDRESS,:PHONE DO BEGIN SUSPEND; END END SELECT COUNT(*) FROM /*PREFIX*/GET_TICKET_NUM(:TIRAGE_ID,NULL,4) INTO :TICKET_COUNT; IF (TICKET_COUNT=0) THEN TICKET_COUNT=1; PRIZE_NAME='Квартира'; PRIZE_COST=FOURTH_ROUND_SUM/TICKET_COUNT; PRIZE_COST=CAST(PRIZE_COST AS NUMERIC(15,0)); FOR SELECT TL.TICKET_ID,4,T.NUM,T.SERIES, NULL,:PRIZE_NAME,:PRIZE_COST, T.SURNAME,T.NAME,T.PATRONYMIC,T.ADDRESS,T.PHONE FROM /*PREFIX*/GET_TICKET_NUM(:TIRAGE_ID,NULL,4) TL JOIN /*PREFIX*/TICKETS T ON T.TICKET_ID=TL.TICKET_ID INTO :TICKET_ID,:ROUND_NUM,:NUM,:SERIES, :PRIZE_ID,:PRIZE_NAME,:PRIZE_COST, :SURNAME,:NAME,:PATRONYMIC,:ADDRESS,:PHONE DO BEGIN SUSPEND; END END; -- /* Фиксация изменений */ COMMIT
-- phpMyAdmin SQL Dump -- version 5.1.0 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Tempo de geração: 14-Jun-2021 às 00:09 -- Versão do servidor: 10.4.18-MariaDB -- versão do PHP: 8.0.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Banco de dados: `contas` -- DROP DATABASE IF EXISTS `contas`; CREATE DATABASE IF NOT EXISTS `contas` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; USE `contas`; -- -------------------------------------------------------- -- -- Estrutura da tabela `contas` -- DROP TABLE IF EXISTS `contas`; CREATE TABLE `contas` ( `IdContas` int(11) NOT NULL, `tipo` varchar(80) COLLATE utf8mb4_unicode_520_ci NOT NULL, `compra` varchar(80) COLLATE utf8mb4_unicode_520_ci NOT NULL, `valor` decimal(10,2) DEFAULT NULL, `pago` varchar(80) COLLATE utf8mb4_unicode_520_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -- -- Extraindo dados da tabela `contas` -- INSERT INTO `contas` (`IdContas`, `tipo`, `compra`, `valor`, `pago`) VALUES (105, 'Fixa', 'Energia', '50.00', 'Sim'), (106, 'Fixa', 'Agua', '40.00', 'Sim'), (108, 'Fixa', 'Sapato', '50.00', 'Sim'), (109, 'Variável', 'Short', '30.00', 'Sim'); -- -------------------------------------------------------- -- -- Estrutura da tabela `login` -- DROP TABLE IF EXISTS `login`; CREATE TABLE `login` ( `IdLogin` int(11) NOT NULL, `user` varchar(50) NOT NULL, `senha` varchar(128) NOT NULL, `Nome` varchar(80) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Extraindo dados da tabela `login` -- INSERT INTO `login` (`IdLogin`, `user`, `senha`, `Nome`) VALUES (87, 'a', 'a', 'a'), (88, 'sil', 'sil', 'Sil'); -- -------------------------------------------------------- -- -- Estrutura da tabela `logincontas` -- DROP TABLE IF EXISTS `logincontas`; CREATE TABLE `logincontas` ( `IdLogin` int(11) NOT NULL, `IdContas` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Índices para tabelas despejadas -- -- -- Índices para tabela `contas` -- ALTER TABLE `contas` ADD PRIMARY KEY (`IdContas`); -- -- Índices para tabela `login` -- ALTER TABLE `login` ADD PRIMARY KEY (`IdLogin`); -- -- Índices para tabela `logincontas` -- ALTER TABLE `logincontas` ADD UNIQUE KEY `idloginContasFK` (`IdLogin`), ADD UNIQUE KEY `idContasloginFK` (`IdContas`); -- -- AUTO_INCREMENT de tabelas despejadas -- -- -- AUTO_INCREMENT de tabela `contas` -- ALTER TABLE `contas` MODIFY `IdContas` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=112; -- -- AUTO_INCREMENT de tabela `login` -- ALTER TABLE `login` MODIFY `IdLogin` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=89; -- -- Restrições para despejos de tabelas -- -- -- Limitadores para a tabela `logincontas` -- ALTER TABLE `logincontas` ADD CONSTRAINT `IdContasloginFK` FOREIGN KEY (`IdContas`) REFERENCES `contas` (`IdContas`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `IdloginContasFK` FOREIGN KEY (`IdLogin`) REFERENCES `login` (`IdLogin`) ON DELETE NO ACTION ON UPDATE NO ACTION; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
select * from population_years LIMIT 10; select * from countries LIMIT 10; select distinct name from countries WHERE continent LIKE '%Africa%' LIMIT 10; -- #################### 3 select distinct count(name) from countries WHERE continent LIKE '%Africa%'; -- #################### 4 select SUM(population) from population_years INNER JOIN countries ON countries.id = population_years.id WHERE year = 2005 AND continent = 'Oceania'; -- #################### 5 select AVG(population) from population_years INNER JOIN countries ON countries.id = population_years.id WHERE year = 2003 AND continent = 'South America'; -- #################### 6 select name,country_id,MIN(population) from population_years INNER JOIN countries ON countries.id = population_years.id WHERE year = 2007; -- #################### 7 select country_id,name,AVG(population) from population_years INNER JOIN countries ON countries.id = population_years.country_id WHERE name = 'Poland'; - #################### 8 select count(name) from countries WHERE name LIKE '%The%'; -- what is it? select name from countries WHERE name LIKE '%The%'; SELECT SUM(population) AS SUM ,continent FROM population_years INNER JOIN countries ON countries.id = population_years.country_id WHERE year = 2010 GROUP BY continent;
SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for t_qrtz_blob_triggers -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_blob_triggers`; CREATE TABLE `t_qrtz_blob_triggers` ( `sched_name` varchar(120) NOT NULL, `trigger_name` varchar(190) NOT NULL, `trigger_group` varchar(190) NOT NULL, `blob_data` blob NULL, PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE, INDEX `sched_name`(`sched_name`, `trigger_name`, `trigger_group`) USING BTREE, CONSTRAINT `t_qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `t_qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`) ON DELETE RESTRICT ON UPDATE RESTRICT ); -- ---------------------------- -- Records of t_qrtz_blob_triggers -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_calendars -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_calendars`; CREATE TABLE `t_qrtz_calendars` ( `sched_name` varchar(120) NOT NULL, `calendar_name` varchar(190) NOT NULL, `calendar` blob NOT NULL, PRIMARY KEY (`sched_name`, `calendar_name`) USING BTREE ); -- ---------------------------- -- Records of t_qrtz_calendars -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_cron_triggers -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_cron_triggers`; CREATE TABLE `t_qrtz_cron_triggers` ( `sched_name` varchar(120) NOT NULL, `trigger_name` varchar(190) NOT NULL, `trigger_group` varchar(190) NOT NULL, `cron_expression` varchar(120) NOT NULL, `time_zone_id` varchar(80) NULL DEFAULT NULL, PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE, CONSTRAINT `t_qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `t_qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`) ON DELETE RESTRICT ON UPDATE RESTRICT ); -- ---------------------------- -- Records of t_qrtz_cron_triggers -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_fired_triggers -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_fired_triggers`; CREATE TABLE `t_qrtz_fired_triggers` ( `sched_name` varchar(120) NOT NULL, `entry_id` varchar(95) NOT NULL, `trigger_name` varchar(190) NOT NULL, `trigger_group` varchar(190) NOT NULL, `instance_name` varchar(190) NOT NULL, `fired_time` bigint(0) NOT NULL, `sched_time` bigint(0) NOT NULL, `priority` int(0) NOT NULL, `state` varchar(16) NOT NULL, `job_name` varchar(190) NULL DEFAULT NULL, `job_group` varchar(190) NULL DEFAULT NULL, `is_nonconcurrent` varchar(1) NULL DEFAULT NULL, `requests_recovery` varchar(1) NULL DEFAULT NULL, PRIMARY KEY (`sched_name`, `entry_id`) USING BTREE, INDEX `idx_qrtz_ft_trig_inst_name`(`sched_name`, `instance_name`) USING BTREE, INDEX `idx_qrtz_ft_inst_job_req_rcvry`(`sched_name`, `instance_name`, `requests_recovery`) USING BTREE, INDEX `idx_qrtz_ft_j_g`(`sched_name`, `job_name`, `job_group`) USING BTREE, INDEX `idx_qrtz_ft_jg`(`sched_name`, `job_group`) USING BTREE, INDEX `idx_qrtz_ft_t_g`(`sched_name`, `trigger_name`, `trigger_group`) USING BTREE, INDEX `idx_qrtz_ft_tg`(`sched_name`, `trigger_group`) USING BTREE ); -- ---------------------------- -- Records of t_qrtz_fired_triggers -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_job_details -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_job_details`; CREATE TABLE `t_qrtz_job_details` ( `sched_name` varchar(120) NOT NULL, `job_name` varchar(190) NOT NULL, `job_group` varchar(190) NOT NULL, `description` varchar(250) NULL DEFAULT NULL, `job_class_name` varchar(250) NOT NULL, `is_durable` varchar(1) NOT NULL, `is_nonconcurrent` varchar(1) NOT NULL, `is_update_data` varchar(1) NOT NULL, `requests_recovery` varchar(1) NOT NULL, `job_data` blob NULL, PRIMARY KEY (`sched_name`, `job_name`, `job_group`) USING BTREE, INDEX `idx_qrtz_j_req_recovery`(`sched_name`, `requests_recovery`) USING BTREE, INDEX `idx_qrtz_j_grp`(`sched_name`, `job_group`) USING BTREE ); -- ---------------------------- -- Records of t_qrtz_job_details -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_locks -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_locks`; CREATE TABLE `t_qrtz_locks` ( `sched_name` varchar(120) NOT NULL, `lock_name` varchar(40) NOT NULL, PRIMARY KEY (`sched_name`, `lock_name`) USING BTREE ); -- ---------------------------- -- Records of t_qrtz_locks -- ---------------------------- INSERT INTO `t_qrtz_locks` VALUES ('clusteredScheduler', 'STATE_ACCESS'); INSERT INTO `t_qrtz_locks` VALUES ('clusteredScheduler', 'TRIGGER_ACCESS'); -- ---------------------------- -- Table structure for t_qrtz_paused_trigger_grps -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_paused_trigger_grps`; CREATE TABLE `t_qrtz_paused_trigger_grps` ( `sched_name` varchar(120) NOT NULL, `trigger_group` varchar(190) NOT NULL, PRIMARY KEY (`sched_name`, `trigger_group`) USING BTREE ); -- ---------------------------- -- Records of t_qrtz_paused_trigger_grps -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_scheduler_state -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_scheduler_state`; CREATE TABLE `t_qrtz_scheduler_state` ( `sched_name` varchar(120) NOT NULL, `instance_name` varchar(190) NOT NULL, `last_checkin_time` bigint(0) NOT NULL, `checkin_interval` bigint(0) NOT NULL, PRIMARY KEY (`sched_name`, `instance_name`) USING BTREE ); -- ---------------------------- -- Records of t_qrtz_scheduler_state -- ---------------------------- INSERT INTO `t_qrtz_scheduler_state` VALUES ('clusteredScheduler', 'C3Stones-PC', 1600918524362, 10000); -- ---------------------------- -- Table structure for t_qrtz_simple_triggers -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_simple_triggers`; CREATE TABLE `t_qrtz_simple_triggers` ( `sched_name` varchar(120) NOT NULL, `trigger_name` varchar(190) NOT NULL, `trigger_group` varchar(190) NOT NULL, `repeat_count` bigint(0) NOT NULL, `repeat_interval` bigint(0) NOT NULL, `times_triggered` bigint(0) NOT NULL, PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE, CONSTRAINT `t_qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `t_qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`) ON DELETE RESTRICT ON UPDATE RESTRICT ); -- ---------------------------- -- Records of t_qrtz_simple_triggers -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_simprop_triggers -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_simprop_triggers`; CREATE TABLE `t_qrtz_simprop_triggers` ( `sched_name` varchar(120) NOT NULL, `trigger_name` varchar(190) NOT NULL, `trigger_group` varchar(190) NOT NULL, `str_prop_1` varchar(512) NULL DEFAULT NULL, `str_prop_2` varchar(512) NULL DEFAULT NULL, `str_prop_3` varchar(512) NULL DEFAULT NULL, `int_prop_1` int(0) NULL DEFAULT NULL, `int_prop_2` int(0) NULL DEFAULT NULL, `long_prop_1` bigint(0) NULL DEFAULT NULL, `long_prop_2` bigint(0) NULL DEFAULT NULL, `dec_prop_1` decimal(13, 4) NULL DEFAULT NULL, `dec_prop_2` decimal(13, 4) NULL DEFAULT NULL, `bool_prop_1` varchar(1) NULL DEFAULT NULL, `bool_prop_2` varchar(1) NULL DEFAULT NULL, PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE, CONSTRAINT `t_qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `t_qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`) ON DELETE RESTRICT ON UPDATE RESTRICT ); -- ---------------------------- -- Records of t_qrtz_simprop_triggers -- ---------------------------- -- ---------------------------- -- Table structure for t_qrtz_triggers -- ---------------------------- DROP TABLE IF EXISTS `t_qrtz_triggers`; CREATE TABLE `t_qrtz_triggers` ( `sched_name` varchar(120) NOT NULL, `trigger_name` varchar(190) NOT NULL, `trigger_group` varchar(190) NOT NULL, `job_name` varchar(190) NOT NULL, `job_group` varchar(190) NOT NULL, `description` varchar(250) NULL DEFAULT NULL, `next_fire_time` bigint(0) NULL DEFAULT NULL, `prev_fire_time` bigint(0) NULL DEFAULT NULL, `priority` int(0) NULL DEFAULT NULL, `trigger_state` varchar(16) NOT NULL, `trigger_type` varchar(8) NOT NULL, `start_time` bigint(0) NOT NULL, `end_time` bigint(0) NULL DEFAULT NULL, `calendar_name` varchar(190) NULL DEFAULT NULL, `misfire_instr` smallint(0) NULL DEFAULT NULL, `job_data` blob NULL, PRIMARY KEY (`sched_name`, `trigger_name`, `trigger_group`) USING BTREE, INDEX `idx_qrtz_t_j`(`sched_name`, `job_name`, `job_group`) USING BTREE, INDEX `idx_qrtz_t_jg`(`sched_name`, `job_group`) USING BTREE, INDEX `idx_qrtz_t_c`(`sched_name`, `calendar_name`) USING BTREE, INDEX `idx_qrtz_t_g`(`sched_name`, `trigger_group`) USING BTREE, INDEX `idx_qrtz_t_state`(`sched_name`, `trigger_state`) USING BTREE, INDEX `idx_qrtz_t_n_state`(`sched_name`, `trigger_name`, `trigger_group`, `trigger_state`) USING BTREE, INDEX `idx_qrtz_t_n_g_state`(`sched_name`, `trigger_group`, `trigger_state`) USING BTREE, INDEX `idx_qrtz_t_next_fire_time`(`sched_name`, `next_fire_time`) USING BTREE, INDEX `idx_qrtz_t_nft_st`(`sched_name`, `trigger_state`, `next_fire_time`) USING BTREE, INDEX `idx_qrtz_t_nft_misfire`(`sched_name`, `misfire_instr`, `next_fire_time`) USING BTREE, INDEX `idx_qrtz_t_nft_st_misfire`(`sched_name`, `misfire_instr`, `next_fire_time`, `trigger_state`) USING BTREE, INDEX `idx_qrtz_t_nft_st_misfire_grp`(`sched_name`, `misfire_instr`, `next_fire_time`, `trigger_group`, `trigger_state`) USING BTREE, CONSTRAINT `t_qrtz_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `job_name`, `job_group`) REFERENCES `t_qrtz_job_details` (`sched_name`, `job_name`, `job_group`) ON DELETE RESTRICT ON UPDATE RESTRICT ); -- ---------------------------- -- Records of t_qrtz_triggers -- ---------------------------- -- ---------------------------- -- Table structure for t_sys_job -- ---------------------------- DROP TABLE IF EXISTS `t_sys_job`; CREATE TABLE `t_sys_job` ( `id` int(0) NOT NULL AUTO_INCREMENT COMMENT 'ID', `job_name` varchar(100) NULL DEFAULT NULL COMMENT '任务名称', `cron_expression` varchar(255) NULL DEFAULT NULL COMMENT 'cron表达式', `bean_class` varchar(255) NULL DEFAULT NULL COMMENT '任务执行类(包名+类名)', `status` varchar(10) NULL DEFAULT NULL COMMENT '任务状态', `job_group` varchar(50) NULL DEFAULT NULL COMMENT '任务分组', `job_data_map` varchar(1000) NULL DEFAULT NULL COMMENT '参数', `create_user_id` int(0) NULL DEFAULT NULL COMMENT '创建人ID', `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', `update_user_id` int(0) NULL DEFAULT NULL COMMENT '更新人ID', `update_date` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', `remarks` varchar(255) NULL DEFAULT NULL COMMENT '描述', PRIMARY KEY (`id`) USING BTREE ) AUTO_INCREMENT = 3 COMMENT = '定时任务'; -- ---------------------------- -- Records of t_sys_job -- ---------------------------- INSERT INTO `t_sys_job` VALUES (1, 'TestJob', '0/5 * * * * ?', 'com.c3stones.job.biz.TestJob', 'NONE', 'default', '{\"username\":\"zhangsan\", \"age\":18}', 1, '2020-09-25 15:22:32', 1, '2020-09-25 15:22:32', '测试定时任务1'); INSERT INTO `t_sys_job` VALUES (2, 'Test2Job', '0 * * * * ?', 'com.c3stones.job.biz.Test2Job', 'NONE', 'default', '{\"username\":\"lisi\", \"age\":20}', 1, '2020-09-25 15:22:54', 1, '2020-09-25 15:22:54', '测试定时任务2'); -- ---------------------------- -- Table structure for t_sys_user -- ---------------------------- DROP TABLE IF EXISTS `t_sys_user`; CREATE TABLE `t_sys_user` ( `id` int(0) NOT NULL AUTO_INCREMENT COMMENT 'ID', `username` varchar(50) NULL DEFAULT NULL COMMENT '用户名称', `nickname` varchar(100) NULL DEFAULT NULL COMMENT '用户昵称', `password` varchar(255) NULL DEFAULT NULL COMMENT '用户密码', PRIMARY KEY (`id`) USING BTREE )AUTO_INCREMENT = 3 COMMENT = '系统用户'; -- ---------------------------- -- Records of t_sys_user -- ---------------------------- INSERT INTO `t_sys_user` VALUES (1, 'user', 'C3Stones', '$2a$10$WXEPqxjMwY6d6A0hkeBtGu.acRRWUOJmX7oLUuYMHF1VWWUm4EqOC'); INSERT INTO `t_sys_user` VALUES (2, 'system', '管理员', '$2a$10$dmO7Uk9/lo1D5d1SvCGgWuB050a0E2uuBDNITEpWFiIfCg.3UbA8y'); SET FOREIGN_KEY_CHECKS = 1;
# Write your MySQL query statement below SELECT distinct(Salary) as SecondHighestSalary FROM Employee UNION SELECT NULL ORDER BY SecondHighestSalary DESC LIMIT 1, 1; # Success # Details # Runtime: 313 ms, faster than 64.10% of MySQL online submissions for Second Highest Salary. # Memory Usage: 0B, less than 100.00% of MySQL online submissions for Second Highest Salary.
create database db_ecommerce; use db_ecommerce; create table tb_categoria ( id bigint auto_increment not null, nome varchar (70) not null, tipo varchar (70) not null, primary key (id) ); use db_ecommerce; create table tb_produto ( id bigint auto_increment not null, produto varchar (500) not null, codigo bigint not null unique, marca varchar (50) not null, preco decimal (9,2) not null, estoque bigint, primary key (id), categoria_id bigint not null, foreign key (categoria_id) references tb_categoria (id) ); insert into tb_categoria (nome, tipo) values ('Smartphones', 'Eletrônico'); insert into tb_categoria (nome, tipo) values ('Fraldas', 'Bebês'); insert into tb_categoria (nome, tipo) values ('Camiseta', 'Vestuário'); insert into tb_categoria (nome, tipo) values ('E-Reader', 'Eletrônico'); alter table tb_categoria modify column nome varchar (200) not null; insert into tb_produto (produto, codigo, marca, preco, estoque, categoria_id) values ('Smartphone Motorola One Vision XT1970-1 Bronze 128GB, 4GB RAM, Tela de 6.3", Câmera Traseira Dupla, Octa-Core, Leitor Digital, Android 9.0', '598659', 'Motorola', '1599.00', '1191', '1'); insert into tb_produto (produto, codigo, marca, preco, estoque, categoria_id) values ('Fralda Pampers Confort Sec Mega P - Kit com 200 Unidades', '885656', 'Pampers', '155.60', '51224', '2'); insert into tb_produto (produto, codigo, marca, preco, estoque, categoria_id) values ('Kindle Paperwhite Preto com 8GB, Tela de 6”, Wi-Fi, Iluminação Embutida e À Prova de água - 10ª Geração', '68785', 'Amazon', '589.90', '2123', '4'); insert into tb_produto (produto, codigo, marca, preco, estoque, categoria_id) values ('Camiseta manga longa feminina com proteção UV Selene Preta', '23423', 'Selene', '60.59', '563', '3'); select * from tb_produto where preco > 2000; select * from tb_produto where preco between 1000.00 and 2000.00; select * from tb_produto where nome like "%C%";
CREATE TABLE SMS_TO_SEND( FK_USER INTEGER NOT NULL, MESSAGE VARCHAR(3000) NOT NULL, REQUESTDATE DATETIME NULL, RECEIVERS VARCHAR(3000) NOT NULL, SEND_DATE DATETIME NULL ); ALTER TABLE SMS_TO_SEND add column ID INTEGER NOT NULL AUTO_INCREMENT, ADD PRIMARY KEY (ID);
/* Navicat MySQL Data Transfer Source Server : gg Source Server Version : 50714 Source Host : localhost:3306 Source Database : ostp Target Server Type : MYSQL Target Server Version : 50714 File Encoding : 65001 Date: 2016-11-19 12:34:29 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for basicequiptype -- ---------------------------- DROP TABLE IF EXISTS `basicequiptype`; CREATE TABLE `basicequiptype` ( `EquipTypeID` char(32) NOT NULL COMMENT '装备功能分类编号', `EquipTypeName` varchar(20) NOT NULL COMMENT '装备功能分类名称', `Note` varchar(20) NOT NULL COMMENT '备注', `create_by` varchar(64) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `update_by` varchar(64) DEFAULT NULL, `update_date` datetime DEFAULT NULL, PRIMARY KEY (`EquipTypeID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='基础数据管理:装备功能类型'; -- ---------------------------- -- Records of basicequiptype -- ---------------------------- INSERT INTO `basicequiptype` VALUES ('4994769b5c1b44bf84d6efeea5f6771e', '看你', '', 'admin', '2016-11-08 14:49:00', 'admin', '2016-11-08 14:49:00'); INSERT INTO `basicequiptype` VALUES ('4ae53e2643f54b6cba6fe1c94632b341', '454554', '', 'admin', '2016-11-08 14:50:40', 'admin', '2016-11-08 14:50:40'); INSERT INTO `basicequiptype` VALUES ('96522fa2a8e940f6b3a008ab05c2cc59', 'fz', '', 'admin', '2016-11-08 14:59:06', 'admin', '2016-11-08 14:59:06'); INSERT INTO `basicequiptype` VALUES ('9bf98b6c01a346bfbd51d5206f6284e5', '他的', '', 'admin', '2016-11-08 14:48:47', 'admin', '2016-11-08 14:48:47'); INSERT INTO `basicequiptype` VALUES ('af1adfc3395548c89f509d92d44c8945', 'dad333', '3123', 'admin', '2016-11-08 14:54:58', 'admin', '2016-11-08 14:54:58'); INSERT INTO `basicequiptype` VALUES ('afc1c51e20294329ab36539ecd5f1439', 'dad1', '13123123', 'admin', '2016-11-08 14:46:17', 'admin', '2016-11-08 14:46:17'); INSERT INTO `basicequiptype` VALUES ('ba25f44ad54041f4975f1f86b67acecf', '12121212', '123123123', 'admin', '2016-11-08 14:38:46', 'admin', '2016-11-08 14:38:46'); INSERT INTO `basicequiptype` VALUES ('d465f39e2e1e4583a51027093c78d317', '343111', '', 'admin', '2016-11-08 14:54:37', 'admin', '2016-11-08 14:54:37'); INSERT INTO `basicequiptype` VALUES ('d4dda97f9e7e4e1babec3ebb89b85b88', '313123', '131232131231231231', 'admin', '2016-11-07 19:12:21', 'admin', '2016-11-08 14:38:55'); INSERT INTO `basicequiptype` VALUES ('e6e03f4aa2fb467a805e30c10c29517e', '个ihb', '', 'admin', '2016-11-08 14:51:58', 'admin', '2016-11-08 14:51:58'); -- ---------------------------- -- Table structure for basicinfo -- ---------------------------- DROP TABLE IF EXISTS `basicinfo`; CREATE TABLE `basicinfo` ( `InfoID` char(32) NOT NULL COMMENT '资讯标识', `Author` varchar(20) NOT NULL COMMENT '作者', `Title` varchar(20) NOT NULL COMMENT '资讯标题', `FirstLevelInfoTypeID` char(32) NOT NULL COMMENT '资讯一级类型标识', `SecondLevelInfoTypeID` char(32) NOT NULL COMMENT '资讯二级类型标识', `SportTypeID` char(32) NOT NULL COMMENT '运动类型', `CopyFrom` varchar(50) DEFAULT NULL COMMENT '文章来源', `KeyWords` varchar(50) NOT NULL COMMENT '关键字', `Content` varchar(5000) NOT NULL COMMENT '文本内容', `ImgUrl` varchar(255) DEFAULT NULL COMMENT '列表图片', `CreateTime` date DEFAULT NULL COMMENT '创建时间', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`InfoID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='资讯:资讯'; -- ---------------------------- -- Records of basicinfo -- ---------------------------- INSERT INTO `basicinfo` VALUES ('1', '1', '1', '3', '11', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/14724482344385.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('10', '10', '10', '3', '11', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/14724482344385.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('11', '11', '11', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('12', '12', '12', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('13', '13', '13', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('14', '14', '14', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('1478066127397', 'test', 'test', '1', '1', '0eda8503087f4af6bb73a2111b28596f', 'test', 'test', '<p>资讯内容sdfsdfsdf</p>\r\n', null, '2016-11-02', null); INSERT INTO `basicinfo` VALUES ('1478066331398', 'asdasd', 'asdasd', '1', '1', '0eda8503087f4af6bb73a2111b28596f', 'sadas', 'dasd', '<p>资讯内容sadsad</p>\r\n', null, '2016-03-01', null); INSERT INTO `basicinfo` VALUES ('1478067050003', 'sdfsdf', 'dsfsdf', '1', '1', '0eda8503087f4af6bb73a2111b28596f', 'sdfds', 'fsdfs', '<p>资讯内容fsdfsdf</p>\r\n', null, '2016-11-01', null); INSERT INTO `basicinfo` VALUES ('1478067130866', 'asdas', 'asdasd', '1', '1', '0eda8503087f4af6bb73a2111b28596f', 'asdasd', 'asdasd', '<p>资讯内容sadasdasd</p>\r\n', null, '2016-11-02', null); INSERT INTO `basicinfo` VALUES ('1478068316631', 'fdg', 'sadad', '1', '1', '0eda8503087f4af6bb73a2111b28596f', 'asdas', 'dasd', '<p>资讯内容asdasdasd</p>\r\n', null, '2016-11-02', null); INSERT INTO `basicinfo` VALUES ('1478068592051', 'sdfds', 'dsfsdf', '1', '1', '0eda8503087f4af6bb73a2111b28596f', 'sdasdsa', 'sdffdsf', '<p>资讯内容asdasdfddfg</p>\r\n', null, '2016-11-02', null); INSERT INTO `basicinfo` VALUES ('1478686049750', '111111111111', '1111111111111111', '1', '1', '096ba9a32831459a8b7e9e30151fd097', '1111111111111111111111', '1111111111111', '<p>测试测试测试测试</p>', null, '2016-11-17', null); INSERT INTO `basicinfo` VALUES ('1478686096714', 'asfadssfafafas', 'afasdfsada', '2', '7', 'd0970a1210534f33a1f73ba896ec1840', 'dsfsafsd', 'afsdafsadfsda', '<p>资讯内容cdcddcdcdcdcdcdcdcdc</p>', null, '2016-11-09', null); INSERT INTO `basicinfo` VALUES ('15', '14', '15', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('16', '15', '16', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('2', '2', '2', '3', '11', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/14724482344385.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('3', '3', '3', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('4', '4', '4', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('5', '5', '5', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('6', '6', '6', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('7', '7', '7', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('8', '8', '8', '2', '5', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/1472448337312203fb80e7bec54e73b5a5c59b9389b504ec26ac6.jpg', '2016-08-29', null); INSERT INTO `basicinfo` VALUES ('9', '9', '9', '3', '11', '237cc0875a7044e7a6fba96075b190c4', '八卦新闻', 'love', '资讯内容', 'resources/upload/14724482344385.jpg', '2016-08-29', null); -- ---------------------------- -- Table structure for basicphotostyle -- ---------------------------- DROP TABLE IF EXISTS `basicphotostyle`; CREATE TABLE `basicphotostyle` ( `PhotoStyleID` char(32) NOT NULL COMMENT '图像风格类型编号', `PhotoStyleName` varchar(20) NOT NULL COMMENT '图像风格类型名称', `Note` varchar(20) NOT NULL COMMENT '备注', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', `create_by` varchar(64) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `update_by` varchar(64) DEFAULT NULL, `update_date` datetime DEFAULT NULL, PRIMARY KEY (`PhotoStyleID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='基础数据管理:图像风格类型'; -- ---------------------------- -- Records of basicphotostyle -- ---------------------------- INSERT INTO `basicphotostyle` VALUES ('15876182e60e4d29b9e065b3372d88af', '人物', '帅哥美女', null, 'admin', '2016-11-09 20:07:01', 'admin', '2016-11-09 20:07:01'); INSERT INTO `basicphotostyle` VALUES ('1caf09a793c44ccf8f10f04207c9d36d', 'fzs', 'fsz', null, 'admin', '2016-11-08 14:59:19', 'admin', '2016-11-08 14:59:19'); INSERT INTO `basicphotostyle` VALUES ('5a944e3ed8fa4bfb9202f02f5be2af4d', '动物', '自然界动物', null, 'admin', '2016-11-09 20:07:24', 'admin', '2016-11-09 20:07:24'); INSERT INTO `basicphotostyle` VALUES ('5be20b23916d47f490d4079682b8638c', '风景', '自然风景', null, 'admin', '2016-11-09 20:06:35', 'admin', '2016-11-09 20:06:35'); INSERT INTO `basicphotostyle` VALUES ('c24c1150c66e472b889f48e3535b73bf', '5f', 'ga', null, 'admin', '2016-11-07 19:39:51', 'admin', '2016-11-07 19:39:51'); INSERT INTO `basicphotostyle` VALUES ('e00900cef2a94488bba1c53d2e296d6d', 'ghdx', 'hd', null, 'admin', '2016-11-07 19:35:12', 'admin', '2016-11-07 19:35:12'); -- ---------------------------- -- Table structure for basicsport -- ---------------------------- DROP TABLE IF EXISTS `basicsport`; CREATE TABLE `basicsport` ( `SportID` char(32) NOT NULL COMMENT '户外运动编号', `SportTypeID` char(32) NOT NULL COMMENT '户外运动类型分类编号', `SportName` varchar(20) NOT NULL DEFAULT '' COMMENT '户外运动名称', `SportKeywords` varchar(50) NOT NULL DEFAULT '' COMMENT '户外运动搜索用关键词', `SportNote` varchar(100) DEFAULT '' COMMENT '备注', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', `create_by` varchar(64) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `update_by` varchar(64) DEFAULT NULL, `update_date` datetime DEFAULT NULL, PRIMARY KEY (`SportID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='基础数据管理:户外运动'; -- ---------------------------- -- Records of basicsport -- ---------------------------- INSERT INTO `basicsport` VALUES ('135a58b28d254c339e4ee07be460024a', '46c8dfd3a7cf443e96507698e0495c43', '喜马拉雅一月游', '喜马拉雅', '活动买好保险', null, 'admin', '2016-11-09 20:00:13', 'admin', '2016-11-09 20:00:13'); INSERT INTO `basicsport` VALUES ('36783aa724034a2f811fa8fa4987e3a3', '56a3c9dc48a840afb0b8daefe3bb14e0', '北冰洋花式游泳', '北冰洋', '带好比基尼', null, 'admin', '2016-11-09 20:02:38', 'admin', '2016-11-09 20:02:38'); INSERT INTO `basicsport` VALUES ('5d8886f487fc464da87f7be7890784f6', '48d1d2dac7ff403d8869182eaa18200c', '黄河漂流记', '黄河', '带好衣服', null, 'admin', '2016-11-09 20:00:49', 'admin', '2016-11-09 20:00:49'); INSERT INTO `basicsport` VALUES ('7e6eb1d05ab04f62b341d09447d31610', '6e9584816d2e4c06ad026a1c45462109', '南海潜水', '南海', '潜水设备自带', null, 'admin', '2016-11-09 20:03:29', 'admin', '2016-11-09 20:03:29'); INSERT INTO `basicsport` VALUES ('ada2af2eba91458288b104b643554fcb', '4fdff762b5494bd4b1763c7c0b7d7e5a', '梅岭一日游', '梅岭', '穿好运动鞋', null, 'admin', '2016-11-09 20:01:47', 'admin', '2016-11-09 20:01:47'); INSERT INTO `basicsport` VALUES ('af45a568d3cf4dbbafd7df2bad0df2bc', 'ac2d020280294dd099074faa96d9b793', '南昌马拉松', '南昌', '自带饮料', null, 'admin', '2016-11-09 20:05:37', 'admin', '2016-11-09 20:05:37'); INSERT INTO `basicsport` VALUES ('bcb1e6f4588e447a89fb869588a0ccaf', '42daec416efd4a71a1557dc035d6818f', '川藏骑行', '骑行', '人数不限', null, 'admin', '2016-11-09 19:59:19', 'admin', '2016-11-09 19:59:19'); INSERT INTO `basicsport` VALUES ('c1ac48456f1f43f98168720a06325324', '973ce5e6815f4cf483bbb53dc04a38f6', '孔目湖钓鱼比赛', '交大孔目湖', '自带渔具', null, 'admin', '2016-11-09 20:05:01', 'admin', '2016-11-09 20:05:01'); INSERT INTO `basicsport` VALUES ('ffa09a4b7a7b43b5bb5b19d9860af36c', '943376c32ec44247aa12def538355304', '张家界攀岩', '张家界', '带好装备', null, 'admin', '2016-11-09 20:04:11', 'admin', '2016-11-09 20:04:11'); -- ---------------------------- -- Table structure for basicsporttype -- ---------------------------- DROP TABLE IF EXISTS `basicsporttype`; CREATE TABLE `basicsporttype` ( `SportTypeID` char(32) NOT NULL COMMENT '户外运动类型分类编号', `SportTypeName` varchar(20) NOT NULL DEFAULT '' COMMENT '户外运动类型分类名称', `Note` varchar(20) DEFAULT '' COMMENT '备注', `create_by` varchar(64) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `update_by` varchar(64) DEFAULT NULL, `update_date` datetime DEFAULT NULL, PRIMARY KEY (`SportTypeID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='基础数据管理:户外运动类型'; -- ---------------------------- -- Records of basicsporttype -- ---------------------------- INSERT INTO `basicsporttype` VALUES ('42daec416efd4a71a1557dc035d6818f', '骑行', 'ridding', 'admin', '2016-11-09 19:55:46', 'admin', '2016-11-09 19:55:46'); INSERT INTO `basicsporttype` VALUES ('46c8dfd3a7cf443e96507698e0495c43', '登山', 'climb mountain', 'admin', '2016-11-09 19:55:06', 'admin', '2016-11-09 19:55:06'); INSERT INTO `basicsporttype` VALUES ('48d1d2dac7ff403d8869182eaa18200c', '漂流', 'piaoliu', 'admin', '2016-11-09 19:56:03', 'admin', '2016-11-09 19:56:03'); INSERT INTO `basicsporttype` VALUES ('4fdff762b5494bd4b1763c7c0b7d7e5a', '徒步', 'foot', 'admin', '2016-11-09 19:56:25', 'admin', '2016-11-09 19:56:25'); INSERT INTO `basicsporttype` VALUES ('56a3c9dc48a840afb0b8daefe3bb14e0', '游泳', 'swimming', 'admin', '2016-11-09 19:53:14', 'admin', '2016-11-09 19:53:14'); INSERT INTO `basicsporttype` VALUES ('6e9584816d2e4c06ad026a1c45462109', '潜水', 'diving', 'admin', '2016-11-09 19:54:03', 'admin', '2016-11-09 19:54:03'); INSERT INTO `basicsporttype` VALUES ('943376c32ec44247aa12def538355304', '攀岩', 'panyan', 'admin', '2016-11-09 19:55:23', 'admin', '2016-11-09 19:55:23'); INSERT INTO `basicsporttype` VALUES ('973ce5e6815f4cf483bbb53dc04a38f6', '钓鱼', 'fishing', 'admin', '2016-11-09 19:56:41', 'admin', '2016-11-09 19:56:41'); INSERT INTO `basicsporttype` VALUES ('ac2d020280294dd099074faa96d9b793', '跑步', 'running', 'admin', '2016-11-09 19:54:23', 'admin', '2016-11-09 19:54:23'); -- ---------------------------- -- Table structure for communityanswerinfo -- ---------------------------- DROP TABLE IF EXISTS `communityanswerinfo`; CREATE TABLE `communityanswerinfo` ( `AnsID` int(20) NOT NULL COMMENT '答案的唯一标识', `AnsAuthor` varchar(20) NOT NULL COMMENT '答案的作者', `AnsTime` datetime NOT NULL COMMENT '答案发布的时间', `AnsAttention` varchar(10) NOT NULL COMMENT '答案的关注数', `QuestionID` varchar(20) NOT NULL COMMENT '问题的id', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`AnsID`), UNIQUE KEY `AnsID_UNIQUE` (`AnsID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='社区:回答表'; -- ---------------------------- -- Records of communityanswerinfo -- ---------------------------- -- ---------------------------- -- Table structure for communityquestioninfo -- ---------------------------- DROP TABLE IF EXISTS `communityquestioninfo`; CREATE TABLE `communityquestioninfo` ( `QuestionID` int(6) NOT NULL COMMENT '问题唯一标识', `QuestionTitle` varchar(20) NOT NULL COMMENT '问题的标题', `QuestionContent` varchar(20) NOT NULL COMMENT '问题内容', `QuestionAuthor` varchar(20) NOT NULL COMMENT '问题的发布者', `QuestionAttention` varchar(10) NOT NULL COMMENT '问题的关注度', `QuestionTime` datetime NOT NULL COMMENT '问题的发布时间', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`QuestionID`), UNIQUE KEY `QuestionID_UNIQUE` (`QuestionID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='社区:问题表'; -- ---------------------------- -- Records of communityquestioninfo -- ---------------------------- -- ---------------------------- -- Table structure for courseinfo -- ---------------------------- DROP TABLE IF EXISTS `courseinfo`; CREATE TABLE `courseinfo` ( `CourseID` char(32) NOT NULL COMMENT '文化类别的id', `CourseTitle` varchar(20) NOT NULL COMMENT '文化类的教程标题', `CourseAuthor` varchar(20) DEFAULT NULL COMMENT '文化类文章的作者', `UpdateTime` datetime DEFAULT NULL COMMENT '教程上传时间', `Content` varchar(5000) NOT NULL COMMENT '教程的文本内容', `CoverPicture` varchar(500) DEFAULT NULL COMMENT '教程封面图片', `SportTypeID` char(32) NOT NULL COMMENT '户外运动类型编号', `ClickTimes` char(32) DEFAULT NULL COMMENT '本教程的点击量', `Keywords` varchar(100) NOT NULL COMMENT '关键字', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', `CreateTime` datetime NOT NULL COMMENT '课程创建时间', `CreateBy` varchar(255) NOT NULL COMMENT '课程创建者', `UpdateBy` varchar(20) DEFAULT NULL COMMENT '课程更新者', PRIMARY KEY (`CourseID`), UNIQUE KEY `CourseID_UNIQUE` (`CourseID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='教程:教程信息'; -- ---------------------------- -- Records of courseinfo -- ---------------------------- INSERT INTO `courseinfo` VALUES ('1648c57fe6804ee481c2c2ae58e75541', '游泳', 'kenel', '2016-11-19 11:18:47', '', '', '42daec416efd4a71a1557dc035d6818f', '10000', 'k', 'T', '2016-11-19 11:18:47', 'admin', null); INSERT INTO `courseinfo` VALUES ('369007720f584c5a9069518b2f2720d7', '攀爬', 'frak', '2016-11-19 11:47:40', '<p>f&#39;s&#39;da&#39;f</p>\r\n', '', '42daec416efd4a71a1557dc035d6818f', '1000000000', 'f', 'T', '2016-11-19 11:47:13', 'admin', 'admin'); -- ---------------------------- -- Table structure for coursetype -- ---------------------------- DROP TABLE IF EXISTS `coursetype`; CREATE TABLE `coursetype` ( `CourseTypeID` char(32) NOT NULL COMMENT '教程类型编号', `CourseTypeName` varchar(20) NOT NULL COMMENT '运动详细类别的名称', `Note` int(5) NOT NULL COMMENT '运动所属的大分类id', PRIMARY KEY (`CourseTypeID`), UNIQUE KEY `CourseTypeID_UNIQUE` (`CourseTypeID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='教程:教程分类信息'; -- ---------------------------- -- Records of coursetype -- ---------------------------- -- ---------------------------- -- Table structure for equip -- ---------------------------- DROP TABLE IF EXISTS `equip`; CREATE TABLE `equip` ( `EquipID` char(32) NOT NULL COMMENT '装备唯一标识', `EquipName` varchar(20) NOT NULL COMMENT '装备名字', `EquipPrice` varchar(20) NOT NULL COMMENT '装备价格', `EquipParam` varchar(20) NOT NULL COMMENT '装备参数', `EquipRecommend` char(1) DEFAULT NULL COMMENT '推荐', `SportTypeID` char(32) DEFAULT NULL COMMENT '运动类型', `EquipTypeID` char(32) DEFAULT NULL COMMENT '装备功能类型', `Note` varchar(200) DEFAULT NULL COMMENT '备注', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', `UpdateDate` datetime DEFAULT NULL COMMENT '更新时间', `CreateDate` datetime DEFAULT NULL COMMENT '创建时间', `UpdateBy` varchar(255) DEFAULT NULL COMMENT '更新者', `CreateBy` varchar(255) DEFAULT NULL COMMENT '创建者', `EquipImage` varchar(255) DEFAULT NULL COMMENT '封面图片', PRIMARY KEY (`EquipID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='装备:装备'; -- ---------------------------- -- Records of equip -- ---------------------------- INSERT INTO `equip` VALUES ('119AC153DF224AD48189034945AA03E5', '头盔2', '200', '无', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', null, '1', '2016-11-19 12:00:14', '2016-11-12 17:56:04', 'admin', 'admin', ''); INSERT INTO `equip` VALUES ('23AEE5468A6648B0B3710FCB59F7F409', '321tt', '312', '312', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', null, '1', '2016-11-18 22:44:48', '2016-11-18 22:44:32', 'admin', 'admin', '/ostp/userfiles/images/111_jpg.jpg'); INSERT INTO `equip` VALUES ('366FF6D11604431ABCF174835D584CA6', '1', '1', '1', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', '<p>1</p>\r\n', '1', '2016-11-19 11:56:38', '2016-11-19 11:56:38', 'admin', 'admin', ''); INSERT INTO `equip` VALUES ('6AFCBDAE11D14491A1D142030BC74A2D', '111', '11', '11', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', '<p><img alt=\"\" src=\"/ostp/userfiles/images/1.JPG\" /></p>\n', '1', null, '2016-11-13 15:30:30', null, 'admin', null); INSERT INTO `equip` VALUES ('7B0BCEEDDA9C4E758A3B371811098E97', '321tt321321', '321', '3213', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', '<p>321</p>\r\n', '1', '2016-11-18 23:42:51', '2016-11-18 23:42:51', 'admin', 'admin', '/ostp/userfiles/images/t01f607aaebdab49126(1).jpg'); INSERT INTO `equip` VALUES ('89A8F31CCE944E07A9B09AFA9AD6F56D', '2', '2', '2', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', '<p>2</p>\r\n', '1', '2016-11-19 11:56:59', '2016-11-19 11:56:59', 'admin', 'admin', ''); INSERT INTO `equip` VALUES ('A746AB785C57446898C519F6E2F34021', 'rwedddd', '32311', 'fds', '0', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', null, '0', '2016-11-18 23:22:31', null, 'admin', null, '/ostp/userfiles/files/t0132376249b987a37e.jpg'); INSERT INTO `equip` VALUES ('BD4EA26DD04947918377CA834EB86C53', 'rwe', '121', 'rwe', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', null, '1', '2016-11-18 23:22:21', null, 'admin', null, '/ostp/userfiles/files/t0132376249b987a37e.jpg'); INSERT INTO `equip` VALUES ('BEC1EFACED0243F4ABA66F231CF7D212', 'gsdfg', 'gsfdg', 'gsdfg', '1', '1', '1', 'gsdfg', '1', null, '2016-11-06 14:02:20', null, 'admin', null); INSERT INTO `equip` VALUES ('C3B1AA29123449B69CAD505FEC2AF61A', '111hfdghfgh', '312', '312', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', '<p>yrty</p>\r\n', '1', null, '2016-11-18 23:40:54', null, 'admin', '/ostp/userfiles/images/111_jpg.jpg'); INSERT INTO `equip` VALUES ('CB66E203325A4A94BC93D6D73C481C12', '1122', '11', '222', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', ' <p>3333</p>\n\n ', '1', '2016-11-13 15:26:23', '2016-11-13 15:26:13', 'admin', 'admin', null); INSERT INTO `equip` VALUES ('CC3B869F301A405B9DC3F9E6631952BA', '321', '321', '312', '1', '1', '1', '312', '1', null, '2016-11-02 16:59:57', null, 'admin', null); INSERT INTO `equip` VALUES ('D543AE53234542F7B46A326B3D5B085D', '11', '23.11', '31', '1', '6a0dd31de8a24eb0ae72c6e803d2f45d', '4994769b5c1b44bf84d6efeea5f6771e', '3213', '1', null, '2016-11-08 21:41:41', null, 'admin', null); INSERT INTO `equip` VALUES ('E8AD442E4E1640278FFAC4B5048D0914', '321tt', '312', '312', '1', '42daec416efd4a71a1557dc035d6818f', '4994769b5c1b44bf84d6efeea5f6771e', '<p>vnm,mbn,</p>\r\n', '1', null, '2016-11-18 23:39:22', null, 'admin', '/ostp/userfiles/files/t0132376249b987a37e.jpg'); -- ---------------------------- -- Table structure for equipevaluate -- ---------------------------- DROP TABLE IF EXISTS `equipevaluate`; CREATE TABLE `equipevaluate` ( `EvaluteID` char(32) NOT NULL COMMENT '评测唯一标识', `Title` varchar(20) NOT NULL COMMENT '测评标题', `Author` varchar(20) NOT NULL COMMENT '作者', `PublishTime` varchar(20) NOT NULL COMMENT '发布时间', `Origin` varchar(20) NOT NULL COMMENT '来源', `EquipID` char(32) NOT NULL COMMENT '关联装备编号', `Content` varchar(5000) DEFAULT NULL COMMENT '内容', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`EvaluteID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='装备:测评'; -- ---------------------------- -- Records of equipevaluate -- ---------------------------- -- ---------------------------- -- Table structure for infofirstleveltype -- ---------------------------- DROP TABLE IF EXISTS `infofirstleveltype`; CREATE TABLE `infofirstleveltype` ( `FirstLevelInfoTypeID` char(32) NOT NULL COMMENT '资讯一级类型标识', `FirstLevelInfoTypeName` varchar(20) NOT NULL COMMENT '咨讯一级分类名称', `Note` varchar(100) DEFAULT NULL COMMENT '备注', PRIMARY KEY (`FirstLevelInfoTypeID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='资讯:资讯一级类型'; -- ---------------------------- -- Records of infofirstleveltype -- ---------------------------- INSERT INTO `infofirstleveltype` VALUES ('1', '户外知识', null); INSERT INTO `infofirstleveltype` VALUES ('2', '装备资讯', null); INSERT INTO `infofirstleveltype` VALUES ('3', '专题活动', null); INSERT INTO `infofirstleveltype` VALUES ('4', '赛事新闻', null); INSERT INTO `infofirstleveltype` VALUES ('5', '专栏专访', null); -- ---------------------------- -- Table structure for infosecondleveltype -- ---------------------------- DROP TABLE IF EXISTS `infosecondleveltype`; CREATE TABLE `infosecondleveltype` ( `SecondLevelInfoTypeID` char(32) NOT NULL COMMENT '资讯二级类型标识', `SecondLevelInfoTypeName` varchar(20) NOT NULL COMMENT '咨讯二级分类名称', `FirstLevelInfoTypeID` char(32) NOT NULL COMMENT '关联一级资讯', `Note` varchar(100) DEFAULT NULL COMMENT '备注', PRIMARY KEY (`SecondLevelInfoTypeID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='资讯:资讯二级类型'; -- ---------------------------- -- Records of infosecondleveltype -- ---------------------------- INSERT INTO `infosecondleveltype` VALUES ('1', '户外常识', '1', null); INSERT INTO `infosecondleveltype` VALUES ('10', '撸哇撸', '3', null); INSERT INTO `infosecondleveltype` VALUES ('11', '噢噢噢噢', '3', null); INSERT INTO `infosecondleveltype` VALUES ('12', '啦啦啦啦', '3', null); INSERT INTO `infosecondleveltype` VALUES ('13', '国内新闻', '4', null); INSERT INTO `infosecondleveltype` VALUES ('14', '国外新闻', '4', null); INSERT INTO `infosecondleveltype` VALUES ('15', '小道消息', '4', null); INSERT INTO `infosecondleveltype` VALUES ('16', '关注热点', '4', null); INSERT INTO `infosecondleveltype` VALUES ('17', '达人专访', '5', null); INSERT INTO `infosecondleveltype` VALUES ('18', '品牌专访', '5', null); INSERT INTO `infosecondleveltype` VALUES ('19', '极限挑战', '5', null); INSERT INTO `infosecondleveltype` VALUES ('2', '安全知识', '1', null); INSERT INTO `infosecondleveltype` VALUES ('3', '户外公开课', '1', null); INSERT INTO `infosecondleveltype` VALUES ('4', '领队培训', '1', null); INSERT INTO `infosecondleveltype` VALUES ('5', '新品报道', '2', null); INSERT INTO `infosecondleveltype` VALUES ('6', '装备评测', '2', null); INSERT INTO `infosecondleveltype` VALUES ('7', '装备品牌', '2', null); INSERT INTO `infosecondleveltype` VALUES ('8', '装备行情', '2', null); INSERT INTO `infosecondleveltype` VALUES ('9', '你造吗?', '3', null); -- ---------------------------- -- Table structure for menu -- ---------------------------- DROP TABLE IF EXISTS `menu`; CREATE TABLE `menu` ( `id` bigint(32) NOT NULL AUTO_INCREMENT, `menuName` varchar(100) DEFAULT NULL, `parentId` bigint(32) DEFAULT NULL COMMENT '父节点ID', `href` varchar(2000) DEFAULT NULL, `menuClass` varchar(100) DEFAULT NULL COMMENT '链接类型(_blank...)', `icon` varchar(255) DEFAULT NULL, `sequence` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2236 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of menu -- ---------------------------- INSERT INTO `menu` VALUES ('1000', '系统管理', '0', '', '', 'icon-cog', '1'); INSERT INTO `menu` VALUES ('1001', '基础数据管理', '0', null, null, 'icon-folder-open-alt', '0'); INSERT INTO `menu` VALUES ('1002', '资讯管理', '0', null, null, 'icon-dashboard', '2'); INSERT INTO `menu` VALUES ('1003', '装备管理', '0', '', '', 'icon-flag', '3'); INSERT INTO `menu` VALUES ('1004', '摄影管理', '0', '', '', 'icon-camera-retro', '4'); INSERT INTO `menu` VALUES ('1005', '位置管理', '0', null, null, 'icon-adjust', '5'); INSERT INTO `menu` VALUES ('1006', '教程管理', '0', null, null, 'icon-headphones', '6'); INSERT INTO `menu` VALUES ('1007', '行程管理', '0', null, null, 'icon-eye-open', '7'); INSERT INTO `menu` VALUES ('1008', '社区管理', '0', null, null, 'icon-comments', '8'); INSERT INTO `menu` VALUES ('2000', '权限管理', '1000', 'admin/system-authority', null, 'icon-eye-open', '9'); INSERT INTO `menu` VALUES ('2001', '系统用户', '1000', 'admin/system-user', null, null, null); INSERT INTO `menu` VALUES ('2002', '角色授权管理', '1000', 'admin/system-role', '', '', '0'); INSERT INTO `menu` VALUES ('2003', '户外运动类型', '1001', 'admin/outdoorSportType-list', null, null, null); INSERT INTO `menu` VALUES ('2004', '户外运动', '1001', 'admin/outdoorSport-list', null, null, null); INSERT INTO `menu` VALUES ('2005', '装备功能类型', '1001', 'admin/equipType-list', null, null, null); INSERT INTO `menu` VALUES ('2006', '图像风格类型', '1001', 'admin/pictureStyleType-list', null, null, null); INSERT INTO `menu` VALUES ('2007', '位置类型类型', '1001', 'admin/positionType-list', null, null, null); INSERT INTO `menu` VALUES ('2008', '资讯列表', '1002', 'admin/info-list', null, null, null); INSERT INTO `menu` VALUES ('2009', '资讯添加', '1002', 'admin/info-add', null, null, null); INSERT INTO `menu` VALUES ('2010', '装备列表', '1003', 'admin/equip-list', null, null, null); INSERT INTO `menu` VALUES ('2011', '装备添加', '1003', 'admin/equip-add', null, null, null); INSERT INTO `menu` VALUES ('2012', '摄影列表', '1004', 'admin/photography-list', null, null, null); INSERT INTO `menu` VALUES ('2013', '摄影添加', '1004', 'admin/photography-add', null, null, null); INSERT INTO `menu` VALUES ('2014', '位置列表', '1005', 'admin/position-list', null, null, null); INSERT INTO `menu` VALUES ('2015', '位置添加', '1005', 'admin/position-add', null, null, null); INSERT INTO `menu` VALUES ('2016', '教程列表', '1006', 'admin/course-list', null, null, null); INSERT INTO `menu` VALUES ('2017', '教程添加', '1006', 'admin/course-add', null, null, null); INSERT INTO `menu` VALUES ('2018', '行程列表', '1007', 'admin/travel-list', null, null, null); INSERT INTO `menu` VALUES ('2019', '行程添加', '1007', 'admin/travel-add', null, null, null); INSERT INTO `menu` VALUES ('2020', '社区列表', '1008', 'admin/community_list', null, null, null); INSERT INTO `menu` VALUES ('2021', '社区添加', '1008', 'admin/community_add', null, null, null); INSERT INTO `menu` VALUES ('2022', '菜单管理', '1000', 'admin/system-menu', '', '', '0'); INSERT INTO `menu` VALUES ('2200', 'xxxx', '2000', 'xxx', null, 'icon-eye-open', null); INSERT INTO `menu` VALUES ('2222', 'tttt', '2200', 'tttt', null, 'icon-eye-open', null); INSERT INTO `menu` VALUES ('2223', 'test', '1000', 'test', 'test', 'test', '1'); INSERT INTO `menu` VALUES ('2226', 'tttt1', '2222', 'test', '', '', '0'); INSERT INTO `menu` VALUES ('2227', 'tttt2', '2226', 'fff', '', '', '1'); INSERT INTO `menu` VALUES ('2231', '一级菜单测试', '0', '', '', 'icon-tag', '12'); INSERT INTO `menu` VALUES ('2232', '二级菜单测试', '2231', '', '', '', '0'); INSERT INTO `menu` VALUES ('2234', '用户管理', '1000', '', '', '', '0'); INSERT INTO `menu` VALUES ('2235', '23432', '2000', '', '', '', '0'); -- ---------------------------- -- Table structure for photophotography -- ---------------------------- DROP TABLE IF EXISTS `photophotography`; CREATE TABLE `photophotography` ( `PictureID` char(32) NOT NULL COMMENT '照片唯一标识', `Title` varchar(20) NOT NULL COMMENT '照片标题', `Author` varchar(20) NOT NULL COMMENT '作者', `PublishTime` varchar(20) NOT NULL COMMENT '发布时间', `Origin` varchar(20) DEFAULT NULL COMMENT '来源', `SportTypeID` char(32) DEFAULT NULL COMMENT '运动类型编号', `StyleTypeID` char(32) DEFAULT NULL COMMENT '风格类型编号', `LevelType` char(2) DEFAULT NULL COMMENT '等级(1是精品、0是普通)', `PhotoParam` varchar(2000) DEFAULT NULL COMMENT '照片参数', `Introduction` varchar(300) DEFAULT NULL COMMENT '照片感言', `CurrentLikeTimes` char(32) DEFAULT NULL COMMENT '当日点赞数', `TotalLikeTimes` char(32) DEFAULT NULL COMMENT '总点赞数', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`PictureID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='摄影:摄影'; -- ---------------------------- -- Records of photophotography -- ---------------------------- -- ---------------------------- -- Table structure for positiondetailinfo -- ---------------------------- DROP TABLE IF EXISTS `positiondetailinfo`; CREATE TABLE `positiondetailinfo` ( `PositionID` char(32) NOT NULL COMMENT '位置ID', `PositionTypeID` char(32) NOT NULL COMMENT '位置类型', `SportTypeID` char(32) NOT NULL COMMENT '运动类型(攀岩,潜水)', `PositionName` varchar(20) NOT NULL COMMENT '具体位置名称', `PositionCoordinate` varchar(50) NOT NULL COMMENT '位置坐标', `PositionPicture` varchar(100) DEFAULT NULL COMMENT '位置图片', `PositionThumbnailPicture` varchar(100) DEFAULT NULL COMMENT '缩略图路径', `PositionDescribe` varchar(5000) DEFAULT NULL COMMENT '位置详细介绍', `PositionTime` varchar(20) NOT NULL COMMENT '位置适宜去的时间', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`PositionID`), UNIQUE KEY `PositionID_UNIQUE` (`PositionID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='位置:位置详细信息'; -- ---------------------------- -- Records of positiondetailinfo -- ---------------------------- INSERT INTO `positiondetailinfo` VALUES ('0A84A02479D54268A6A72FBAAB25618B', '6', '7ea93c9bb7ab4ab28820f59782be582e', '文件', '90。99', 'resources/upload/1477204045426IMG_20161002_104136.jpg', 'resources/THUMBNAIL/1477204045426IMG_20161002_104136.jpg', '<p>位置内容文件</p>\r\n', '2016-10-05', null); INSERT INTO `positiondetailinfo` VALUES ('0E918C5C0366489EAD582C7971FF49B5', '1', '436b4fad991b477eae20c668feb62cc8', '怕怕', '99.21', null, null, '<p>位置内容</p>\r\n', '2016-10-24', null); INSERT INTO `positiondetailinfo` VALUES ('2850C41CCE3E42B9A45DD13F240197DF', '5', '436b4fad991b477eae20c668feb62cc8', '文件', '20.666', 'resources/upload/1477203783450IMG_20161002_104136.jpg', 'resources/THUMBNAIL/1477203783450IMG_20161002_104136.jpg', '<p>位置内容wenjian</p>\r\n', '2016-10-24', null); INSERT INTO `positiondetailinfo` VALUES ('3425325A54844BCBA459B76AC87182E2', '2', '46c8dfd3a7cf443e96507698e0495c43', 'asdd', '2343', 'resources/upload/14789364304711689972489-1A3425-0202-009D-01A4-05-0780-0438-05.jpg', 'resources/THUMBNAIL/14789364304711689972489-1A3425-0202-009D-01A4-05-0780-0438-05.jpg', '<p>位置内容adsd</p>', '2016-11-15', null); INSERT INTO `positiondetailinfo` VALUES ('5BDBAF8A8DB741BA83184D6682E40612', '3', '42daec416efd4a71a1557dc035d6818f', 'ggg', 'eeee', 'resources/upload/1478937044039rBABE1G7VTbBVmWPAAQ7iTKiU3w935.jpg', 'resources/THUMBNAIL/1478937044039rBABE1G7VTbBVmWPAAQ7iTKiU3w935.jpg', '<p>位置内容asdf</p>', '2016-11-09', null); INSERT INTO `positiondetailinfo` VALUES ('933AF299C7A0435AA81CD2633F9D3BE6', '2', '4fdff762b5494bd4b1763c7c0b7d7e5a', 'eafdfads', 'brfbt', 'resources/upload/14789363414671689972489-1A3425-0202-009D-01A4-05-0780-0438-05.jpg', 'resources/THUMBNAIL/14789363414671689972489-1A3425-0202-009D-01A4-05-0780-0438-05.jpg', '<p>位置内容afad</p>', '2016-11-15', null); INSERT INTO `positiondetailinfo` VALUES ('C455CA57FC3147839DFCBC77B2C50412', '4', '56a3c9dc48a840afb0b8daefe3bb14e0', '孔目湖', '123', 'resources/upload/147894406157313458566346BT6.jpg', 'resources/THUMBNAIL/147894406157313458566346BT6.jpg', '<p>位置内容啊啊啊啊啊</p>', '2016-11-12', null); INSERT INTO `positiondetailinfo` VALUES ('E621B4B1828C4A72AB46AFFECD3B40C2', '4', '0eda8503087f4af6bb73a2111b28596f', '阿斯顿分', '20.10', '', null, '<p>位置内容</p>\r\n', '2016-10-05', null); -- ---------------------------- -- Table structure for positiontypeinfo -- ---------------------------- DROP TABLE IF EXISTS `positiontypeinfo`; CREATE TABLE `positiontypeinfo` ( `PositionTypeID` char(32) NOT NULL COMMENT '位置分类编号', `PositionTypeName` varchar(20) NOT NULL COMMENT '位置类型名称(住宿、餐饮、火车站、机场等)', `Note` varchar(20) NOT NULL COMMENT '备注', `create_by` varchar(64) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `update_by` varchar(64) DEFAULT NULL, `update_date` datetime DEFAULT NULL, PRIMARY KEY (`PositionTypeID`), UNIQUE KEY `PositionTypeID_UNIQUE` (`PositionTypeID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='位置:位置类型详细信息'; -- ---------------------------- -- Records of positiontypeinfo -- ---------------------------- INSERT INTO `positiontypeinfo` VALUES ('1', '南昌火车站', '', null, null, null, null); INSERT INTO `positiontypeinfo` VALUES ('11366a6605f548f49498c8c430a30a58', 'gdsb', 'bdb', 'admin', '2016-11-16 22:57:11', 'admin', '2016-11-16 22:57:17'); INSERT INTO `positiontypeinfo` VALUES ('2', '地铁口', '', null, null, null, null); INSERT INTO `positiontypeinfo` VALUES ('3', '下罗', '', null, null, 'admin', '2016-11-16 22:46:42'); INSERT INTO `positiontypeinfo` VALUES ('4', '农大生活区', '', null, null, null, null); INSERT INTO `positiontypeinfo` VALUES ('5', '仪器厂', '', null, null, null, null); INSERT INTO `positiontypeinfo` VALUES ('6', '双港东路口', '', null, null, 'admin', '2016-11-16 22:46:50'); -- ---------------------------- -- Table structure for role -- ---------------------------- DROP TABLE IF EXISTS `role`; CREATE TABLE `role` ( `id` char(32) NOT NULL COMMENT '角色id', `authority` varchar(20) NOT NULL COMMENT '角色权限', `name` varchar(20) NOT NULL COMMENT '角色名称', `code` varchar(20) NOT NULL COMMENT '角色代码', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='角色表'; -- ---------------------------- -- Records of role -- ---------------------------- INSERT INTO `role` VALUES ('5AF110E0E7984175B657328C227A9AC1', 'ROLE_PHOTOADMIN', '摄影管理员', 'photoadmin'); INSERT INTO `role` VALUES ('5AF110E0E7984175B657328C227A9AC2', 'ROLE_COURSEADMIN', '教程管理员', 'courseadmin'); INSERT INTO `role` VALUES ('5AF110E0E7984175B657328C227A9AC3', 'ROLE_POSITIONADMIN', '位置管理员', 'positionadmin'); INSERT INTO `role` VALUES ('5AF110E0E7984175B657328C227A9AC4', 'ROLE_BASICADMIN', '基础数据管理员', 'basicadmin'); INSERT INTO `role` VALUES ('5AF110E0E7984175B657328C227A9AC5', 'ROLE_INFOADMIN', '资讯管理员', 'infoadmin'); INSERT INTO `role` VALUES ('5AF110E0E7984175B657328C227A9AC6', 'ROLE_ADMIN', '超级管理员', 'admin'); INSERT INTO `role` VALUES ('70427E5323C44AF78C4C9420130E73A6', 'ROLE_EQUIPADMIN', '装备管理员', 'equipadmin'); INSERT INTO `role` VALUES ('8E6D42C9D257403DA132DAD9CE34CA6A', 'ROLE_TEST', '测试', '测试'); INSERT INTO `role` VALUES ('91F40D4325AE47EC9F5C51806528162D', 'ROLE_TRAVELADMIN', '行程管理员', 'traveladmin'); -- ---------------------------- -- Table structure for rolemenu -- ---------------------------- DROP TABLE IF EXISTS `rolemenu`; CREATE TABLE `rolemenu` ( `id` bigint(32) NOT NULL AUTO_INCREMENT, `roleId` char(32) DEFAULT NULL, `menuId` bigint(32) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1406 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of rolemenu -- ---------------------------- INSERT INTO `rolemenu` VALUES ('498', '5AF110E0E7984175B657328C227A9AC2', '1006'); INSERT INTO `rolemenu` VALUES ('499', '5AF110E0E7984175B657328C227A9AC2', '2016'); INSERT INTO `rolemenu` VALUES ('500', '5AF110E0E7984175B657328C227A9AC2', '2017'); INSERT INTO `rolemenu` VALUES ('501', '5AF110E0E7984175B657328C227A9AC3', '1005'); INSERT INTO `rolemenu` VALUES ('502', '5AF110E0E7984175B657328C227A9AC3', '2014'); INSERT INTO `rolemenu` VALUES ('503', '5AF110E0E7984175B657328C227A9AC3', '2015'); INSERT INTO `rolemenu` VALUES ('920', '026E3A5AE4C94A13B72500B93E6FAE54', '2231'); INSERT INTO `rolemenu` VALUES ('921', '026E3A5AE4C94A13B72500B93E6FAE54', '2232'); INSERT INTO `rolemenu` VALUES ('1206', '5AF110E0E7984175B657328C227A9AC5', '1002'); INSERT INTO `rolemenu` VALUES ('1207', '5AF110E0E7984175B657328C227A9AC5', '2008'); INSERT INTO `rolemenu` VALUES ('1208', '5AF110E0E7984175B657328C227A9AC5', '2009'); INSERT INTO `rolemenu` VALUES ('1289', '37DE53149A864A5D8BECA7A99B37094E', '1005'); INSERT INTO `rolemenu` VALUES ('1290', '37DE53149A864A5D8BECA7A99B37094E', '2014'); INSERT INTO `rolemenu` VALUES ('1291', '37DE53149A864A5D8BECA7A99B37094E', '2015'); INSERT INTO `rolemenu` VALUES ('1297', '5AF110E0E7984175B657328C227A9AC1', '1004'); INSERT INTO `rolemenu` VALUES ('1298', '5AF110E0E7984175B657328C227A9AC1', '2012'); INSERT INTO `rolemenu` VALUES ('1299', '5AF110E0E7984175B657328C227A9AC1', '2013'); INSERT INTO `rolemenu` VALUES ('1316', '8E6D42C9D257403DA132DAD9CE34CA6A', '2231'); INSERT INTO `rolemenu` VALUES ('1317', '8E6D42C9D257403DA132DAD9CE34CA6A', '2232'); INSERT INTO `rolemenu` VALUES ('1318', '5AF110E0E7984175B657328C227A9AC4', '1000'); INSERT INTO `rolemenu` VALUES ('1319', '5AF110E0E7984175B657328C227A9AC4', '2000'); INSERT INTO `rolemenu` VALUES ('1320', '5AF110E0E7984175B657328C227A9AC4', '2200'); INSERT INTO `rolemenu` VALUES ('1321', '5AF110E0E7984175B657328C227A9AC4', '2222'); INSERT INTO `rolemenu` VALUES ('1322', '5AF110E0E7984175B657328C227A9AC4', '2226'); INSERT INTO `rolemenu` VALUES ('1323', '5AF110E0E7984175B657328C227A9AC4', '2227'); INSERT INTO `rolemenu` VALUES ('1324', '5AF110E0E7984175B657328C227A9AC4', '2235'); INSERT INTO `rolemenu` VALUES ('1325', '5AF110E0E7984175B657328C227A9AC4', '2001'); INSERT INTO `rolemenu` VALUES ('1326', '5AF110E0E7984175B657328C227A9AC4', '2002'); INSERT INTO `rolemenu` VALUES ('1327', '5AF110E0E7984175B657328C227A9AC4', '2022'); INSERT INTO `rolemenu` VALUES ('1328', '5AF110E0E7984175B657328C227A9AC4', '2223'); INSERT INTO `rolemenu` VALUES ('1329', '5AF110E0E7984175B657328C227A9AC4', '2234'); INSERT INTO `rolemenu` VALUES ('1330', '5AF110E0E7984175B657328C227A9AC4', '1001'); INSERT INTO `rolemenu` VALUES ('1331', '5AF110E0E7984175B657328C227A9AC4', '2003'); INSERT INTO `rolemenu` VALUES ('1332', '5AF110E0E7984175B657328C227A9AC4', '2004'); INSERT INTO `rolemenu` VALUES ('1333', '5AF110E0E7984175B657328C227A9AC4', '2005'); INSERT INTO `rolemenu` VALUES ('1334', '5AF110E0E7984175B657328C227A9AC4', '2006'); INSERT INTO `rolemenu` VALUES ('1335', '5AF110E0E7984175B657328C227A9AC4', '2007'); INSERT INTO `rolemenu` VALUES ('1369', '5AF110E0E7984175B657328C227A9AC6', '1000'); INSERT INTO `rolemenu` VALUES ('1370', '5AF110E0E7984175B657328C227A9AC6', '2001'); INSERT INTO `rolemenu` VALUES ('1371', '5AF110E0E7984175B657328C227A9AC6', '2002'); INSERT INTO `rolemenu` VALUES ('1372', '5AF110E0E7984175B657328C227A9AC6', '2022'); INSERT INTO `rolemenu` VALUES ('1373', '5AF110E0E7984175B657328C227A9AC6', '1001'); INSERT INTO `rolemenu` VALUES ('1374', '5AF110E0E7984175B657328C227A9AC6', '2003'); INSERT INTO `rolemenu` VALUES ('1375', '5AF110E0E7984175B657328C227A9AC6', '2004'); INSERT INTO `rolemenu` VALUES ('1376', '5AF110E0E7984175B657328C227A9AC6', '2005'); INSERT INTO `rolemenu` VALUES ('1377', '5AF110E0E7984175B657328C227A9AC6', '2006'); INSERT INTO `rolemenu` VALUES ('1378', '5AF110E0E7984175B657328C227A9AC6', '2007'); INSERT INTO `rolemenu` VALUES ('1379', '5AF110E0E7984175B657328C227A9AC6', '1002'); INSERT INTO `rolemenu` VALUES ('1380', '5AF110E0E7984175B657328C227A9AC6', '2008'); INSERT INTO `rolemenu` VALUES ('1381', '5AF110E0E7984175B657328C227A9AC6', '2009'); INSERT INTO `rolemenu` VALUES ('1382', '5AF110E0E7984175B657328C227A9AC6', '1003'); INSERT INTO `rolemenu` VALUES ('1383', '5AF110E0E7984175B657328C227A9AC6', '2010'); INSERT INTO `rolemenu` VALUES ('1384', '5AF110E0E7984175B657328C227A9AC6', '2011'); INSERT INTO `rolemenu` VALUES ('1385', '5AF110E0E7984175B657328C227A9AC6', '1004'); INSERT INTO `rolemenu` VALUES ('1386', '5AF110E0E7984175B657328C227A9AC6', '2012'); INSERT INTO `rolemenu` VALUES ('1387', '5AF110E0E7984175B657328C227A9AC6', '2013'); INSERT INTO `rolemenu` VALUES ('1388', '5AF110E0E7984175B657328C227A9AC6', '1005'); INSERT INTO `rolemenu` VALUES ('1389', '5AF110E0E7984175B657328C227A9AC6', '2014'); INSERT INTO `rolemenu` VALUES ('1390', '5AF110E0E7984175B657328C227A9AC6', '2015'); INSERT INTO `rolemenu` VALUES ('1391', '5AF110E0E7984175B657328C227A9AC6', '1006'); INSERT INTO `rolemenu` VALUES ('1392', '5AF110E0E7984175B657328C227A9AC6', '2016'); INSERT INTO `rolemenu` VALUES ('1393', '5AF110E0E7984175B657328C227A9AC6', '2017'); INSERT INTO `rolemenu` VALUES ('1394', '5AF110E0E7984175B657328C227A9AC6', '1007'); INSERT INTO `rolemenu` VALUES ('1395', '5AF110E0E7984175B657328C227A9AC6', '2018'); INSERT INTO `rolemenu` VALUES ('1396', '5AF110E0E7984175B657328C227A9AC6', '2019'); INSERT INTO `rolemenu` VALUES ('1397', '5AF110E0E7984175B657328C227A9AC6', '1008'); INSERT INTO `rolemenu` VALUES ('1398', '5AF110E0E7984175B657328C227A9AC6', '2020'); INSERT INTO `rolemenu` VALUES ('1399', '5AF110E0E7984175B657328C227A9AC6', '2021'); INSERT INTO `rolemenu` VALUES ('1400', '91F40D4325AE47EC9F5C51806528162D', '1007'); INSERT INTO `rolemenu` VALUES ('1401', '91F40D4325AE47EC9F5C51806528162D', '2018'); INSERT INTO `rolemenu` VALUES ('1402', '91F40D4325AE47EC9F5C51806528162D', '2019'); INSERT INTO `rolemenu` VALUES ('1403', '70427E5323C44AF78C4C9420130E73A6', '1003'); INSERT INTO `rolemenu` VALUES ('1404', '70427E5323C44AF78C4C9420130E73A6', '2010'); INSERT INTO `rolemenu` VALUES ('1405', '70427E5323C44AF78C4C9420130E73A6', '2011'); -- ---------------------------- -- Table structure for triptravelinfo -- ---------------------------- DROP TABLE IF EXISTS `triptravelinfo`; CREATE TABLE `triptravelinfo` ( `TravelID` char(32) NOT NULL COMMENT '行程编号', `TravelName` varchar(100) NOT NULL COMMENT '行程名称', `SportTypeID` char(32) NOT NULL COMMENT '运动分类编号', `Attention` varchar(2000) DEFAULT NULL COMMENT '注意事项', `KeyWord` varchar(100) DEFAULT NULL, `Guide` varchar(5000) NOT NULL COMMENT '攻略', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`TravelID`), UNIQUE KEY `TravelID_UNIQUE` (`TravelID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='行程:行程信息'; -- ---------------------------- -- Records of triptravelinfo -- ---------------------------- INSERT INTO `triptravelinfo` VALUES ('0525852D68AC4BE6B2A215A5F3C33E2F', 'adfasdf', '48d1d2dac7ff403d8869182eaa18200c', '<p>adfsad</p>', 'hgef', '<p>请在这里输入行程攻略。。。。。。</p>\r\n\r\n<p>asdd</p>\r\n\r\n<p>eafdfads</p>\r\n\r\n<p>ggg</p>', null); INSERT INTO `triptravelinfo` VALUES ('4', '户外运动', 'bb70e44b22ef4ba89a4770a671ce30b6', '阿斯蒂芬啊', '范文芳', '阿斯蒂芬', null); INSERT INTO `triptravelinfo` VALUES ('5', '狗狗', 'bb70e44b22ef4ba89a4770a671ce30b6', '撒地方微软', '啊是低功耗', '阿瑟夫人', null); INSERT INTO `triptravelinfo` VALUES ('6B1DE90C09E942CAB00B8BE986218079', '酷狗ttt', '436b4fad991b477eae20c668feb62cc8', '<p>asdfgggggg</p>\r\n', 'dfdf', '<p>1.阿斯顿分<br />\r\n2.阿斯顿分</p>\r\n\r\n<p>阿斯顿分<br />\r\n怕怕</p>\r\n', null); INSERT INTO `triptravelinfo` VALUES ('C697EF549C0E4B06A7C83A45DE6E2D09', '李詩椿', '436b4fad991b477eae20c668feb62cc8', '<p>sdfasdf</p>\r\n', 'sd', '<p>请在这里输入行程攻略。。。。。。</p>\r\n\r\n<p>阿斯顿分<br />\r\n阿斯顿分<br />\r\n阿斯顿分<br />\r\n阿斯顿分</p>\r\n', null); INSERT INTO `triptravelinfo` VALUES ('EBCB86D1CC65446985003CE39FED8AD8', 'adf', '48d1d2dac7ff403d8869182eaa18200c', '<p>afdadf</p>', 'gg', '<p>请在这里输入行程攻略。。。。。。</p>\r\n\r\n<p>刚刚</p>\r\n\r\n<p>刚刚</p>\r\n\r\n<p>刚刚</p>\r\n\r\n<p>刚刚</p>', null); -- ---------------------------- -- Table structure for triptravelpath -- ---------------------------- DROP TABLE IF EXISTS `triptravelpath`; CREATE TABLE `triptravelpath` ( `TravelID` char(32) NOT NULL COMMENT '交通路线编号', `PositionID` varchar(100) NOT NULL COMMENT '行程编号', `Enabled` char(1) DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`TravelID`), UNIQUE KEY `TravelID_UNIQUE` (`TravelID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='行程:交通和线路'; -- ---------------------------- -- Records of triptravelpath -- ---------------------------- -- ---------------------------- -- Table structure for t_c3p0 -- ---------------------------- DROP TABLE IF EXISTS `t_c3p0`; CREATE TABLE `t_c3p0` ( `a` char(1) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of t_c3p0 -- ---------------------------- -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `UserID` char(32) NOT NULL COMMENT '用户唯一标识', `UserName` varchar(20) NOT NULL COMMENT '用户昵称', `UserSex` char(1) NOT NULL COMMENT '用户性别', `UserEmail` varchar(50) NOT NULL COMMENT '用户邮箱', `UserPhone` varchar(20) NOT NULL COMMENT '用户手机', `UserAuthority` varchar(20) NOT NULL COMMENT '用户权限', `UserDesc` varchar(300) NOT NULL COMMENT '用户介绍', `UserPsw` char(40) NOT NULL COMMENT '用户密码', `UserHobby` varchar(20) DEFAULT NULL COMMENT '兴趣爱好', `UserJob` varchar(20) DEFAULT NULL COMMENT '职业', `UserEdu` varchar(20) DEFAULT NULL COMMENT '教育程度', `UserTag` varchar(20) DEFAULT NULL COMMENT '个人标签', `Enabled` char(1) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '逻辑删除标志', PRIMARY KEY (`UserID`), UNIQUE KEY `UserID_UNIQUE` (`UserID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='社区:用户表'; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES ('0822AA871DD84C55BCB66862E01B81BF', 'admin', '1', '123@sina.com', '13812345678', 'ROLE_ADMIN', '超级管理员', 'ec557bf547043802ef3d625d28f63a92166f03d1', '读书,看电影,听音乐 ', '教师 ', '博士后', '愤青', '1'); INSERT INTO `user` VALUES ('099705B71DFE4BD8B9A92E6050A67208', 'poadmin', '1', '21422@qq.com', '123123124', 'ROLE_PHOTOADMIN', '摄影管理员', '7f591beaa5f0b0d6930bb7b563ebfe57ba671a35', '', '', '博士后', '', '1'); INSERT INTO `user` VALUES ('0B6563A073F749F7A6CDA79D27CF1A60', 'aaa', '0', '222122@qq.com', 'aaa', 'ROLE_POSITONADMIN', '位置管理员', '781545e463efd2357963e98650dd7d839ff25f0b', null, null, null, null, '1'); INSERT INTO `user` VALUES ('4B8F791B00AC44F6A4C6D2AA24DACB63', 'padmin', '0', '222122@qq.com', '123123123', 'ROLE_POSITONADMIN', '位置管理员', '7f36d5e56dc447b5bbd88e84bd8eb3d716f86b4c', ' \r\n ', ' \r\n ', '', '', '1'); INSERT INTO `user` VALUES ('6EA8F60C45CF415C99D795684E111B0E', 'badmin', '1', '222@qq.com', '12312312', 'ROLE_BASICADMIN', '基础数据管理员', '58dd02dc2bc8f75e50852c2c9635e02bf054f608', '', '', '无', '', '1'); INSERT INTO `user` VALUES ('74E2A7B78126454FB4B550E7E7D7C6E7', 'cadmin', '0', '222@qq.com', '145345345', 'ROLE_COURSEADMIN', '教程管理员', '4ef1cc14b3adaf5e6775024f2ab73887039095b2', ' \r\n ', ' \r\n ', '小学', '', '1'); INSERT INTO `user` VALUES ('99BC7271C1D94E7B9555D6D10333BF01', 'iadmin', '0', '2qw22@qq.com', '122q321232', 'ROLE_INFOADMIN', '资讯管理员', 'c26e551a52a1c64d266b931fd369b6073a8340b1', '', '', '无', '', '1'); INSERT INTO `user` VALUES ('C6282DC7D9CB4968A5B9AE010746C324', 'tadmin', '0', 'a@qq.com', '1231312124', 'ROLE_TRAVELADMIN', '行程管理员', 'fc19592f74a7d2d2ea69b11e3beb2c1827da184b', null, null, null, null, '1'); INSERT INTO `user` VALUES ('D5864B6B77774C2490ADFBE2B3B5A46B', 'eadmin', '0', '222@qq.com', '123123123123', 'ROLE_EQUIPADMIN', '装备管理员', 'f2cb2645460b4e1d4fddaa7ec014f488427c1924', null, null, null, null, '1'); -- ---------------------------- -- Table structure for userrole -- ---------------------------- DROP TABLE IF EXISTS `userrole`; CREATE TABLE `userrole` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `RoleID` varchar(32) NOT NULL COMMENT '角色ID', `UserID` varchar(32) NOT NULL COMMENT '用户ID', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 COMMENT='用户---角色'; -- ---------------------------- -- Records of userrole -- ---------------------------- INSERT INTO `userrole` VALUES ('12', '5AF110E0E7984175B657328C227A9AC6', '0822AA871DD84C55BCB66862E01B81BF'); INSERT INTO `userrole` VALUES ('16', '5AF110E0E7984175B657328C227A9AC4', '6EA8F60C45CF415C99D795684E111B0E'); INSERT INTO `userrole` VALUES ('17', '5AF110E0E7984175B657328C227A9AC5', '99BC7271C1D94E7B9555D6D10333BF01'); INSERT INTO `userrole` VALUES ('18', '5AF110E0E7984175B657328C227A9AC3', '4B8F791B00AC44F6A4C6D2AA24DACB63'); INSERT INTO `userrole` VALUES ('19', '5AF110E0E7984175B657328C227A9AC1', '099705B71DFE4BD8B9A92E6050A67208'); INSERT INTO `userrole` VALUES ('20', '5AF110E0E7984175B657328C227A9AC2', '74E2A7B78126454FB4B550E7E7D7C6E7'); INSERT INTO `userrole` VALUES ('22', '5AF110E0E7984175B657328C227A9AC3', '0B6563A073F749F7A6CDA79D27CF1A60'); INSERT INTO `userrole` VALUES ('23', '70427E5323C44AF78C4C9420130E73A6', 'D5864B6B77774C2490ADFBE2B3B5A46B'); INSERT INTO `userrole` VALUES ('24', '91F40D4325AE47EC9F5C51806528162D', 'C6282DC7D9CB4968A5B9AE010746C324');
CREATE TABLE Course ( id int, name varchar(50), imageUrl varchar(255), price double, age int, description varchar(255), PRIMARY KEY (id) );
----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- TYPE DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_type_db.type_lov ( id int auto_increment, name varchar(20) not null, /* currency, duration, weight, distance, gender, shipping, laundry, enterprise, subscription, tax, discount, clothing-type, material, role, permission, address, consent, verification, load, wash, iron, dry-clean, mildness, medium, temperature, pickup, delivery, payment, adjustment */ description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_type_lov primary key (id), index idx_type_lov_name (name) ); create table if not exists lms_type_db.type_model ( id int auto_increment, type_lov_id int not null, name varchar(20) not null, /* currency-inr, currency-usd, duration-month(s), duration-day(s), weight-kg, weight-lb, distance-km, distance-mile, gender-male, gender-female, gender-other, shipping-pickup, shipping-delivery, laundry-wash, laundry-iron, laundry-dry-clean, enterprise-small, enterprise-medium, enterprise-large, temperature-celsius, temperature-fahrenheit subscription-basic, subscription-premium, tax-cgst, tax-gst, tax-sales-tax, discount-subscription, discount-deal, discount-coupon, address-home, address-work, address-other clothing-type-household, clothing-type-garment, material-silk, material-cotton, material-rayon, material-jute, role-customer, role-agent, role-partner, role-employee, permission-order, permission-pickup, permission-wash, permission-iron, permission-dry-clean, permission-deliver, permission-manage, permission-operate, consent-customer, consent-agent, consent-partner, consent-employee, verification-basic, verification-intermediate, verification-advanced, load-weighted, load-individual, wash-machine, wash-hand, iron-machine, iron-box, iron-none, dry-clean-hcs, dry-clean-pce, mildness-professional, mildness-normmal, mildness-gentle, mildness-very-gentle, medium-steam, medium-water, pickup-same-day, pickup-standard, pickup-scheduled, delivery-same-day, delivery-standard, delivery-scheduled, payment-card, payment-cash, payment-upi, payment-net-banking adjustment-discount, adjustment-deal, adjustment-subscription, adjustment-tax, adjustment-pickup, adjustment-delivery */ description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_type_model primary key (id), constraint fk_type_model_type_lov_id foreign key (type_lov_id) references lms_type_db.type_lov(id), index idx_type_model_name (name), index idx_type_model_type_lov_id (type_lov_id) ); ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------- TAX DB ---------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_tax_db.tax_lov ( -- cgst, gst, sales tax, vat, etc. id int auto_increment, name varchar(20) not null, -- discount, cashback description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_tax_lov primary key (id), constraint uq_tax_lov_name unique (name), index idx_tax_lov_id (id), index idx_tax_lov_name (name) ); create table if not exists lms_tax_db.tax_model ( id int auto_increment, tax_lov_id int not null, currency_type_model_id int not null, rate float not null, currency_name varchar(10) not null, name varchar(50) not null, -- gst-inr, cgst-inr description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_tax_model primary key (id), constraint fk_tax_model_tax_lov_id foreign key (coupon_lov_id) references lms_tax_db.tax_lov(id), constraint uq_tax_model_id_tax_lov_id_currency_type_model_id unique (id, tax_lov_id, currency_type_model_id), constraint chk_tax_model_rate check (rate > 0), index idx_tax_model_tax_lov_id (tax_lov_id), index idx_tax_model_currency_type_model_id (currency_type_model_id), index idx_tax_model_currency_name (currency_name) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- DISCOUNT DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_discount_db.discount_status_lov ( id int auto_increment, name varchar(20) not null, -- draft, active, expired description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_status_lov primary key (id) ); /*create table if not exists lms_discount_db.discount_status_reason ( id int auto_increment, discount_status_lov_id int not null, text varchar(255), -- other, reason 1, reason 2 created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_status_reason primary key (id), constraint fk_discount_status_reason_discount_status_lov foreign key (discount_status_lov_id) references lms_discount_db.discount_status_lov(id) );*/ create table if not exists lms_discount_db.discount_model ( id int auto_increment, discount_type_model_id int not null, name varchar(20) not null, description varchar(100), subscription_level_sw bigint default 0, priority int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_model primary key (id), constraint chk_discount_model_priority check (priority > 0), index idx_discount_model_discount_type_model_id (discount_type_model_id), index idx_discount_model_name (name), index idx_discount_model_prority (priority) ); /*create table if not exists lms_discount_db.discount_rate ( id int auto_increment, discount_model_id int not null, value float not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_rate primary key (id), constraint fk_discount_rate_discount_model foreign key (discount_model_id) references lms_discount_db.discount_model(id), constraint chk_discount_rate_value check (value > 0), index idx_discount_rate_discount_model_id (discount_model_id) );*/ create table if not exists lms_discount_db.discount_rate ( id int auto_increment, discount_model_id int not null, value float not null, minimum_value float not null, maximum_value float not null, currency_type_model_id int not null, currency_name varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_rate primary key (id), constraint fk_discount_rate_discount_model foreign key (discount_model_id) references lms_discount_db.discount_model(id), constraint chk_discount_rate_value check (value > 0), constraint chk_discount_rate_minimum_value check (minimum_value >= 0), constraint chk_discount_rate_maximum_value check (maximum_value >= 0), constraint uq_discount_rate_discount_model_id_currency_type_model_id unique (discount_model_id, currency_type_model_id), index idx_discount_rate_discount_model_id (discount_model_id), index idx_discount_rate_currency_type_model_id (currency_type_model_id) ); /*create table if not exists lms_discount_db.discount_percentage ( id int auto_increment, discount_rate_id int not null, minimum_value float not null, maximum_value float not null, currency_type_model_id int not null, currency_name varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_percentage primary key (id), constraint fk_discount_percentage_discount_rate foreign key (discount_rate_id) references lms_discount_db.discount_rate(id), constraint chk_discount_percentage_minimum_value check (minimum_value >= 0), constraint chk_discount_percentage_maximum_value check (maximum_value >= 0), index idx_discount_percentage_discount_rate_id (discount_rate_id) ); create table if not exists lms_discount_db.discount_amount ( id int auto_increment, discount_rate_id int not null, minimum_value float not null, currency varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_amount primary key (id), constraint fk_discount_amount_discount_rate foreign key (discount_rate_id) references lms_discount_db.discount_rate(id), constraint chk_discount_amount_minimum_value check (minimum_value >= 0), index idx_discount_percentage_discount_rate_id (discount_rate_id) );*/ ----------------------------------------------------------------------------------------------------------------- --------------------------------------------------- COUPON DB --------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_coupon_db.coupon_lov ( -- discount, cashback id int auto_increment, name varchar(20) not null, -- discount, cashback description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_coupon_lov primary key (id), constraint uq_coupon_lov_name unique (name), index idx_coupon_lov_id (id), index idx_coupon_lov_name (name) ); create table if not exists lms_coupon_db.coupon_model ( -- true = 5 % upto 50, false = unlimited 2 %, false = 100 id int auto_increment, coupon_lov_id int not null, code varchar(100) not null, description varchar(100), rate float not null, threshold float not null, constraints varchar(255), rate_sw bigint default 1, threshold_sw bigint default 1, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_coupon_model primary key (id), constraint fk_coupon_model_coupon_lov_id foreign key (coupon_lov_id) references lms_coupon_db.coupon_lov(id), constraint uq_coupon_model_id_coupon_lov_id_code unique (id, coupon_lov_id, code), index idx_coupon_model_id (id), index idx_coupon_model_code (code), index idx_coupon_model_coupon_lov_id (coupon_lov_id) ); create table if not exists lms_coupon_db.validity_constraints ( id int auto_increment, coupon_model_id int not null, valid_from timestamp not null, valid_till_days int not null, maximum_usage_limit int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_validity_constraints primary key (id), constraint fk_validity_constraints_coupon_model_id foreign key (coupon_model_id) references lms_coupon_db.coupon_model(id), constraint uq_validity_constraints_id_coupon_model_valid_from_till_maximum_usage unique (id, coupon_model_id, valid_from, valid_till_days, maximum_usage_limit), index idx_validity_constraints_id (id), index idx_validity_constraints_coupon_model_id (coupon_model_id) ); create table if not exists lms_coupon_db.eligibility_constraints ( id int auto_increment, coupon_model_id int not null, service_type_model_id int not null, minimum_value_of_service float not null, -- value of selected service maximum_value_of_service float not null, -- value of selected service minimum_items_in_service int not null, -- items to be serviced maximum_items_in_service int not null, -- items to be serviced created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_eligibility_constraints primary key (id), constraint fk_eligibility_constraints_coupon_model_id foreign key (coupon_model_id) references lms_coupon_db.coupon_model(id), constraint uq_eligibility_constraints_id_coupon_model_id_service_min_max_value_item unique (id, coupon_model_id, service_type_model_id, minimum_value_of_service, maximum_value_of_service, minimum_items_in_service, maximum_items_in_service), index idx_eligibility_constraints_id (id), index idx_eligibility_constraints_coupon_model_id (coupon_model_id), index idx_eligibility_constraints_service_type_model_id (service_type_model_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- CLOTHING DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_clothing_db.material_type ( id int auto_increment auto_increment, name varchar(20) not null, -- cotton, silk, rayon, wool, etc. description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_material_type primary key (id), constraint uq_material_type_name unique (name), index idx_material_type_id (id), index idx_material_type_name (name) ); create table if not exists lms_clothing_db.material_model ( id int auto_increment auto_increment, material_type_id int not null, minimum_temperature float not null, maximum_tempertaure float not null, temeprature_type_model_id varchar(10) not null, washing_sw bigint default 0, ironing_sw bigint default 0, folding_sw bigint default 0, dry_cleaning_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_material_model primary key (id), constraint uq_material_model_mt_id_min_temp_max_temp_tt_model_id unique (material_type_id, minimum_temperature, maximum_tempertaure, temeprature_type_model_id), index idx_material_model_material_type_id (material_type_id), index idx_material_model_temeprature_type_model_id (temeprature_type_model_id) ); create table if not exists lms_clothing_db.clothing_model ( id int auto_increment auto_increment, material_model_id int not null, clothing_type_model_id int not null, description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_clothing_model primary key (id), constraint fk_clothing_model_material_id foreign key (material_model_id) references lms_clothing_db.material_model(id), constraint uq_clothing_model_clothing_type_model_id_material_id unique (clothing_type_model_id, material_model_id), index idx_clothing_model_clothing_type_model_id (clothing_type_model_id), index idx_clothing_model_material_model_id (material_model_id) ); create table if not exists lms_clothing_db.clothing_item ( id int auto_increment, clothing_model_id int not null, name varchar(50) not null, -- shirt, pant, saree, curtain, towel, t shirt, top, jeans, all description varchar(100), colour_conscious_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_clothing_item_lov primary key (id), constraint fk_clothing_item_clothing_model foreign key (clothing_model_id) references lms_clothing_db.clothing_model(id), index idx_clothing_item_clothing_model_id (clothing_model_id), index idx_clothing_item_name (name) ); ----------------------------------------------------------------------------------------------------------------- ------------------------------------------------- ACCESS DB ----------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_access_db.resource_lov ( -- type, tax, access, discount, user, etc. id int auto_increment, name varchar(20) not null, description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_resource_lov primary key (id), constraint uq_resource_lov_name unique (name), index idx_resource_lov_id (id), index idx_resource_lov_name (name) ); create table if not exists lms_access_db.operation_lov ( -- create, read, use, edit, all, none id int auto_increment, name varchar(20) not null, description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_operation_lov primary key (id), constraint uq_operation_lov_name unique (name), index idx_operation_lov_id (id), index idx_operation_lov_name (name) ); create table if not exists lms_access_db.permission_model ( id int auto_increment, resource_lov_id int not null, operation_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_permission_model primary key (id), constraint fk_permission_model_resource_lov_id foreign key (resource_lov_id) references lms_access_db.resource_lov(id), constraint fk_permission_model_operation_lov_id foreign key (operation_lov_id) references lms_access_db.operation_lov(id), constraint uq_permission_model_resource_lov_id_operation_lov_id unique (resource_lov_id, operation_lov_id), index idx_permission_model_resource_lov_id (resource_lov_id), index idx_permission_model_operation_lov_id (operation_lov_id) ); create table if not exists lms_access_db.user_lov ( -- internal - employee; external - 3rd party; registered - customer, partner; anonymous - guest id int auto_increment, name varchar(20) not null, description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_user_lov primary key (id), constraint uq_user_lov_name unique (name), index idx_user_lov_id (id), index idx_user_lov_name (name) ); create table if not exists lms_access_db.role_lov ( -- employee - admin, manager, operator; external - pickup, delivery; customer - basic, premium; partner - wash, iron, dry-clean; guest - freelook id int auto_increment, name varchar(20) not null, description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_role_lov primary key (id), constraint uq_role_lov_name unique (name), index idx_role_lov_id (id), index idx_role_lov_name (name) ); create table if not exists lms_access_db.user_role_model ( id int auto_increment, user_lov_id int not null, role_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_user_role_model primary key (id), constraint fk_user_role_model_user_lov_id foreign key (user_lov_id) references lms_access_db.user_lov(id), constraint fk_user_role_model_role_lov_id foreign key (role_lov_id) references lms_access_db.role_lov(id), constraint uq_user_role_model_user_lov_id_role_lov_id unique (user_lov_id, role_lov_id), index idx_user_role_model_user_lov_id (user_lov_id), index idx_user_role_model_role_lov_id (role_lov_id) ); create table if not exists lms_access_db.role_permission_model ( id int auto_increment, role_lov_id int not null, permission_model_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_role_permission_model primary key (id), constraint fk_role_permission_model_role_lov_id foreign key (role_lov_id) references lms_access_db.role_lov(id), constraint fk_role_permission_model_permission_model_id foreign key (permission_model_id) references lms_access_db.permission_model(id), constraint uq_role_permission_model_role_lov_id_permission_model_id unique (role_lov_id, permission_model_id), index idx_role_permission_model_role_lov_id (role_lov_id), index idx_role_permission_model_permission_model_id (permission_model_id) ); create table if not exists lms_access_db.security_question_lov ( -- favourite color, mother's maiden name, etc. id int auto_increment, name varchar(255) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_security_question_lov primary key (id), constraint uq_security_question_lov_name unique (name), index idx_security_question_lov_id (id), index idx_security_question_lov_name (name) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- USER DB ------------------------------------------------------ ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_user_db.user_profile ( id int auto_increment, user_model_id int not null, gender_type_model_id int not null, first_name varchar(50) not null, middle_name varchar(50), last_name varchar(50), date_of_birth datetime not null, email_id varchar(100), phone_number varchar(15) not null, lock_sw bigint default 1, verified_sw bigint default 0, suspend_sw bigint default 1, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_user_profile primary key (id), constraint uq_user_profile_phone_email unique (phone_number, email_id), index idx_user_profile_user_model_id (user_model_id), index idx_user_profile_phone_number (phone_number), index idx_user_profile_email_id (email_id) ); create table if not exists lms_user_db.user_security_question ( id int auto_increment, user_profile_id int not null, security_question_model_id int not null, answer varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_user_security_question primary key (id), constraint fk_user_security_question_user_profile_id foreign key (user_profile_id) references lms_user_db.user_profile(id), constraint uq_user_security_question_user_profile_id_security_question_model_id unique (user_profile_id, security_question_model_id), index idx_user_profile_user_profile_id (user_profile_id), index idx_user_profile_user_profile_id_security_question_model_id (user_profile_id, security_question_model_id) ); create table if not exists lms_user_db.user_password_history ( id int not null auto_increment, user_profile_id int not null, password_hash varchar(255) not null, expires_on timestamp not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_user_password_history primary key (id), constraint fk_user_password_history_user_profile foreign key (user_profile_id) references lms_user_db.user_profile(id), constraint uq_user_password_history_user_profile_id_password_hash unique (user_profile_id, password_hash), index idx_user_password_history_user_profile_id (user_profile_id), index idx_user_password_history_password_hash (password_hash), index idx_user_password_history_user_profile_id_password_hash (user_profile_id, password_hash) ); create table if not exists lms_user_db.user_preferences( id int not null auto_increment, user_profile_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_user_preferences_history primary key (id), constraint fk_user_preferences_history_user_profile foreign key (user_profile_id) references lms_user_db.user_profile(id), index idx_user_preferences_history_user_profile_id (user_profile_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- ADDRESS DB --------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_address_db.address_lov ( -- home, work, facility, other id int auto_increment, name varchar(20) not null, -- discount, cashback description varchar(100), customer_sw bigint default 1, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_address_lov primary key (id), constraint uq_address_lov_name unique (name), index idx_address_lov_id (id), index idx_address_lov_name (name) ); create table if not exists lms_address_db.user_address ( id int auto_increment, address_lov_id int not null, user_profile_id int not null, shipping_sw bigint default 0, billing_sw bigint default 0, name varchar(100) not null, house_number varchar(100), floor varchar(100), street_name varchar(100), locality varchar(100) not null, additional_line_1 varchar(255), additional_line_2 varchar(255), city varchar(100) not null, district varchar(100), sub_division varchar(100), pin_code varchar(100) not null, state varchar(100) not null, country varchar(100) not null, latitude double, longitude double, default_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_user_address primary key (id), constraint uq_user_address_address_lov_id_user_profile_id_name unique (address_lov_id, user_profile_id, name), index idx_user_address_user_profile (user_profile_id), index idx_user_address_address_lov_id (address_lov_id), index idx_user_address_name (name), index idx_user_address_locality (locality), index idx_user_address_pin_code (pin_code), index idx_user_address_city (city), index idx_user_address_state (state), index idx_user_address_country (country) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- RESET DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_reset_db.password_reset_status_lov ( id int auto_increment, name varchar(20) not null, -- draft, active, expired, hold, aborted, cancelled description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_discount_status_lov primary key (id) ); create table if not exists lms_reset_db.password_reset_status_reason ( id int auto_increment, password_reset_status_lov_id int not null, text varchar(255), -- other, reason 1, reason 2 created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_password_reset_status_reason primary key (id), constraint fk_password_reset_status_reason_pr_status_lov foreign key (password_reset_status_lov_id) references lms_reset_db.password_reset_status_lov(id) ); create table if not exists lms_reset_db.password_reset_request ( id int auto_increment, user_detail_id int not null, code_hash varchar(128) not null, fulfilled_sw bigint default 0, expired_sw bigint default 0, hold_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_password_reset_request primary key (id), index idx_password_reset_request_user_detail_id (user_detail_id) ); create table if not exists lms_reset_db.password_reset_request_history ( id int auto_increment, password_reset_request_id int not null, password_reset_status_lov_id int not null, password_reset_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_password_reset_request_history primary key (id), constraint fk_password_reset_request_history_password_reset_request foreign key (password_reset_request_id) references lms_reset_db.password_reset_request(id), constraint fk_password_reset_request_history_password_reset_status_lov foreign key (password_reset_status_lov_id) references lms_reset_db.password_reset_status_lov(id), constraint fk_password_reset_request_history_password_reset_status_reason foreign key (password_reset_status_reason_id) references lms_reset_db.password_reset_status_reason(id), index idx_password_reset_request_history_pr_request_id (password_reset_request_id), index idx_password_reset_request_history_pr_status_lov_id (password_reset_status_lov_id), index idx_password_reset_request_history_pr_status_reason_id (password_reset_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- CUSTOMER DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- /*create table if not exists lms_customer_db.customer_detail ( id int auto_increment, user_detail_id int not null, first_name varchar(50) not null, last_name varchar(50) not null, gender_id int not null, dob date not null, verified_sw bigint default 0, consent_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_customer_detail primary key (id), index idx_customer_detail_user_detail_id (user_detail_id), index idx_customer_detail_full_name (first_name, last_name) ); create table if not exists lms_customer_db.customer_address ( id int auto_increment, address_type_model_id int not null, customer_detail_id int not null, name varchar(100) not null, house_number varchar(100) not null, floor varchar(100) not null, street_name varchar(100), locality varchar(100) not null, additional_line_1 varchar(100) not null, additional_line_2 varchar(100) not null, city varchar(100) not null, district varchar(100) not null, pin_code varchar(100) not null, state varchar(100) not null, country varchar(100) not null, latitude double not null, longitude double not null, default_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_customer_address primary key (id), constraint fk_customer_address_customer_detail foreign key (customer_detail_id) references lms_customer_db.customer_detail(id), index idx_customer_address_user_detail_id (customer_detail_id), index idx_customer_address_address_type_model_id (address_type_model_id), index idx_customer_address_locality (locality), index idx_customer_address_pin_code (pin_code), index idx_customer_address_district (district), index idx_customer_address_city (city), index idx_customer_address_state (state), index idx_customer_address_country (country), index idx_customer_address_coordinates (latitude, longitude) );*/ ----------------------------------------------------------------------------------------------------------------- ---------------------------------------------- SUBSCRIPTION DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_subscription_db.subscription_status_lov ( id int auto_increment, name varchar(50) not null, -- draft, active, expired, hold, cancelled created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_subscription_level_lov primary key (id) ); create table if not exists lms_subscription_db.subscription_status_reason ( id int auto_increment, subscription_status_lov_id int not null, text varchar(255), -- other, reason 1, reason 2 created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_subscription_status_reason primary key (id), constraint uq_subscription_status_reason_subscription_status_lov foreign key (subscription_status_lov_id) references lms_subscription_db.subscription_status_lov(id), index idx_subscription_status_reason_ss_lov_id (subscription_status_lov_id) ); create table if not exists lms_subscription_db.subscription_model ( id int auto_increment, subscription_type_model_id int not null, per_unit_of_duration int not null, duration_type_lov_id int not null, free_logistics_sw bigint not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_subscription_model primary key (id), constraint chk_subscription_model_per_unit_of_duration check (per_unit_of_duration > 0), index idx_subscription_model_subscription_type_model_id (subscription_type_model_id) ); create table if not exists lms_subscription_db.subscription_tracker ( id int auto_increment, subscription_model_id int not null, customer_detail_id int not null, subscribed_on timestamp not null, expires_on timestamp not null, expired_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_subscription_tracker primary key (id), constraint fk_subscription_tracker_subscription_model foreign key (subscription_model_id) references lms_subscription_db.subscription_model(id), constraint uq_subscription_tracker_sm_id_cd_id_so_dt unique (subscription_model_id, customer_detail_id, subscribed_on), constraint chk_subscription_tracker_subscription_before_expiry check (subscribed_on < expires_on), index idx_subscription_tracker_subscription_model_id (subscription_model_id), index idx_subscription_tracker_customer_detail_id (customer_detail_id) ); create table if not exists lms_subscription_db.subscription_tracking_history ( id int auto_increment, subscription_tracker_id int not null, subscription_status_lov_id int not null, subscription_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_subscription_tracking_history primary key (id), constraint fk_subscription_tracking_history_subscription_tracker foreign key (subscription_tracker_id) references lms_subscription_db.subscription_tracker(id), constraint fk_subscription_tracking_history_subscription_status_lov foreign key (subscription_status_lov_id) references lms_subscription_db.subscription_status_lov(id), constraint fk_subscription_tracking_history_subscription_status_reason foreign key (subscription_status_reason_id) references lms_subscription_db.subscription_status_reason(id), index idx_subscription_tracking_history_subscription_tracker_id (subscription_tracker_id), index idx_subscription_tracking_history_subscription_status_lov_id (subscription_status_lov_id), index idx_subscription_tracking_history_subscription_status_reason_id (subscription_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- EMPLOYEE DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_employee_db.employee_detail ( id int auto_increment, number varchar(64) not null, user_detail_id int not null, first_name varchar(50) not null, last_name varchar(50) not null, gender_id int not null, tax_number varchar(50) not null, dob date not null, verified_sw bigint default 0, consent_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_customer_detail primary key (id), index idx_employee_detail_user_detail_id (user_detail_id), index idx_employee_detail_full_name (first_name, last_name) ); create table if not exists lms_employee_db.employee_address ( id int auto_increment, employee_detail_id int not null, house_number varchar(100) not null, floor varchar(100) not null, street_name varchar(100), locality varchar(100) not null, additional_line_1 varchar(100) not null, additional_line_2 varchar(100) not null, city varchar(100) not null, district varchar(100) not null, pin_code varchar(100) not null, state varchar(100) not null, country varchar(100) not null, latitude double not null, longitude double not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_employee_address primary key (id), constraint fk_employee_address_employee_detail foreign key (employee_detail_id) references lms_employee_db.employee_detail(id), index idx_employee_address_employee_detail_id (employee_detail_id), index idx_employee_address_locality (locality), index idx_employee_address_pin_code (pin_code), index idx_employee_address_district (district), index idx_employee_address_city (city), index idx_employee_address_state (state), index idx_employee_address_country (country), index idx_employee_address_coordinates (latitude, longitude) ); create table if not exists lms_employee_db.employee_emergency_contact ( id int auto_increment, employee_detail_id int not null, name varchar(100) not null, phone_number varchar(20) not null, email_id varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_employee_emergency_contact primary key (id), constraint fk_employee_emergency_contact_employee_detail foreign key (employee_detail_id) references lms_employee_db.employee_detail(id), index idx_employee_address_employee_detail_id (employee_detail_id), index idx_employee_emergency_contact_name (name), index idx_employee_emergency_contact_phone_number (phone_number) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- AGENT DB ----------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_agent_db.agent_model ( id int auto_increment, enterprise_type_model_id int not null, user_detail_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_agent_model primary key (id), constraint uq_agent_model_enterprise_type_model_id_user_detail_id unique (enterprise_type_model_id, user_detail_id), index idx_agent_model_user_detail_id (user_detail_id), index idx_agent_model_enterprise_type_model_id (enterprise_type_model_id) ); create table if not exists lms_agent_db.agent_detail ( id int auto_increment, agent_model_id int not null, point_of_contact_name varchar(50) not null, point_of_contact_email_id varchar(50) not null, point_of_contact_phone_number varchar(20) not null, tax_number varchar(50) not null, facility_sw bigint default 0, verified_sw bigint default 0, consent_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_agent_detail primary key (id), constraint fk_agent_detail_agent_model foreign key (agent_model_id) references lms_agent_db.agent_model(id), index idx_agent_detail_agent_model_id (agent_model_id), index idx_agent_detail_poc_name (point_of_contact_name), index idx_agent_detail_poc_email_id (point_of_contact_email_id), index idx_agent_detail_poc_phone_number (point_of_contact_phone_number), index idx_agent_detail_tax_number (tax_number) ); create table if not exists lms_agent_db.agent_service ( id int auto_increment, shipping_type_model_id int not null, agent_detail_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_agent_service primary key (id), constraint fk_agent_service_agent_detail foreign key (agent_detail_id) references lms_agent_db.agent_detail(id), constraint uq_agent_service_logistic_type_model_id_agent_detail_id unique (shipping_type_model_id, agent_detail_id), index idx_agent_service_agent_detail_id (agent_detail_id), index idx_agent_service_shipping_type_model_id (shipping_type_model_id) ); create table if not exists lms_agent_db.agent_address ( id int auto_increment, agent_detail_id int not null, name varchar(100) not null, house_number varchar(100) not null, floor varchar(100) not null, street_name varchar(100), locality varchar(100) not null, additional_line_1 varchar(100) not null, additional_line_2 varchar(100) not null, city varchar(100) not null, district varchar(100) not null, pin_code varchar(100) not null, state varchar(100) not null, country varchar(100) not null, latitude double not null, longitude double not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_agent_address primary key (id), constraint fk_agent_address_agent_detail foreign key (agent_detail_id) references lms_agent_db.agent_detail(id), index idx_agent_address_partner_detail_id (agent_detail_id), index idx_agent_address_locality (locality), index idx_agent_address_pin_code (pin_code), index idx_agent_address_district (district), index idx_agent_address_city (city), index idx_agent_address_state (state), index idx_agent_address_country (country), index idx_agent_address_coordinates (latitude, longitude) ); create table if not exists lms_agent_db.agent_facility ( id int auto_increment, agent_detail_id int not null, name varchar(128) not null, establishment_registration_number varchar(50), multi_facility_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_agent_facility primary key (id), constraint fk_agent_facility_partner_detail foreign key (agent_detail_id) references lms_agent_db.agent_detail(id), index idx_agent_facility_establishment_registration_number (establishment_registration_number), index idx_agent_facility_agent_detail_id (agent_detail_id) ); create table if not exists lms_agent_db.agent_facility_service ( id int auto_increment, shipping_type_model_id int not null, agent_facility_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_agent_facility_service primary key (id), constraint fk_agent_facility_service_agent_facility foreign key (agent_facility_id) references lms_agent_db.agent_facility(id), constraint uq_agent_facility_service_lt_model_id_af_id unique (shipping_type_model_id, agent_facility_id), index idx_agent_facility_service_agent_facility_id (agent_facility_id), index idx_agent_facility_service_shipping_type_model_id (shipping_type_model_id) ); create table if not exists lms_agent_db.agent_facility_address ( id int auto_increment, agent_facility_id int not null, name varchar(100) not null, house_number varchar(100) not null, floor varchar(100) not null, street_name varchar(100), locality varchar(100) not null, additional_line_1 varchar(100) not null, additional_line_2 varchar(100) not null, city varchar(100) not null, district varchar(100) not null, pin_code varchar(100) not null, state varchar(100) not null, country varchar(100) not null, latitude double not null, longitude double not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_agent_facility_address primary key (id), constraint fk_agent_facility_address_agent_facility foreign key (agent_facility_id) references lms_agent_db.agent_facility(id), index idx_agent_facility_agent_facility_id (agent_facility_id), index idx_agent_facility_address_locality (locality), index idx_agent_facility_address_pin_code (pin_code), index idx_agent_facility_address_district (district), index idx_agent_facility_address_city (city), index idx_agent_facility_address_state (state), index idx_agent_facility_address_country (country), index idx_agent_facility_address_coordinates (latitude, longitude) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- PARTNER DB --------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_partner_db.partner_model ( id int auto_increment, enterprise_type_model_id int not null, user_detail_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_partner_model primary key (id), constraint uq_partner_model_enterprise_type_model_id_user_detail_id unique (enterprise_type_model_id, user_detail_id), index idx_partner_model_user_detail_id (user_detail_id), index idx_partner_model_enterprise_type_model_id (enterprise_type_model_id) ); create table if not exists lms_partner_db.partner_detail ( id int auto_increment, partner_model_id int not null, point_of_contact_name varchar(50) not null, point_of_contact_email_id varchar(50) not null, point_of_contact_phone_number varchar(20) not null, tax_number varchar(50) not null, facility_sw bigint default 0, verified_sw bigint default 0, consent_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_partner_detail primary key (id), constraint fk_partner_detail_partner_model foreign key (partner_model_id) references lms_partner_db.partner_model(id), index idx_partner_detail_partner_model_id (partner_model_id), index idx_partner_detail_poc_name (point_of_contact_name), index idx_partner_detail_poc_email_id (point_of_contact_email_id), index idx_partner_detail_poc_phone_number (point_of_contact_phone_number), index idx_partner_detail_tax_number (tax_number) ); create table if not exists lms_partner_db.partner_service ( id int auto_increment, laundry_type_model_id int not null, partner_detail_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_partner_services primary key (id), constraint fk_partner_services_partner_detail foreign key (partner_detail_id) references lms_partner_db.partner_detail(id), constraint uq_partner_services_laundry_type_model_id_partner_detail_id unique (laundry_type_model_id, partner_detail_id), index idx_partner_service_partner_detail_id (partner_detail_id), index idx_partner_service_laundry_type_model_id (laundry_type_model_id) ); create table if not exists lms_partner_db.partner_address ( id int auto_increment, partner_detail_id int not null, name varchar(100) not null, house_number varchar(100) not null, floor varchar(100) not null, street_name varchar(100), locality varchar(100) not null, additional_line_1 varchar(100) not null, additional_line_2 varchar(100) not null, city varchar(100) not null, district varchar(100) not null, pin_code varchar(100) not null, state varchar(100) not null, country varchar(100) not null, latitude double not null, longitude double not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_partner_address primary key (id), constraint fk_partner_address_partner_detail foreign key (partner_detail_id) references lms_partner_db.partner_detail(id), index idx_partner_address_partner_detail_id (partner_detail_id), index idx_partner_address_locality (locality), index idx_partner_address_pin_code (pin_code), index idx_partner_address_district (district), index idx_partner_address_city (city), index idx_partner_address_state (state), index idx_partner_address_country (country), index idx_partner_address_coordinates (latitude, longitude) ); create table if not exists lms_partner_db.partner_facility ( id int auto_increment, partner_detail_id int not null, name varchar(128) not null, establishment_registration_number varchar(50), multi_facility_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_partner_facility primary key (id), constraint fk_partner_facility_partner_detail foreign key (partner_detail_id) references lms_partner_db.partner_detail(id), index idx_partner_facility_establishment_registration_number (establishment_registration_number), index idx_partner_facility_partner_detail_id (partner_detail_id) ); create table if not exists lms_partner_db.partner_facility_service ( id int auto_increment, laundry_type_model_id int not null, partner_facility_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_partner_facility_service primary key (id), constraint fk_partner_facility_service_partner_facility foreign key (partner_facility_id) references lms_partner_db.partner_facility(id), constraint uq_partner_facility_service_lt_model_id_pf_id unique (laundry_type_model_id, partner_facility_id), index idx_partner_facility_service_partner_facility_id (partner_facility_id), index idx_partner_facility_service_laundry_type_model_id (laundry_type_model_id) ); create table if not exists lms_partner_db.partner_facility_address ( id int auto_increment, partner_facility_id int not null, name varchar(100) not null, house_number varchar(100) not null, floor varchar(100) not null, street_name varchar(100), locality varchar(100) not null, additional_line_1 varchar(100) not null, additional_line_2 varchar(100) not null, city varchar(100) not null, district varchar(100) not null, pin_code varchar(100) not null, state varchar(100) not null, country varchar(100) not null, latitude double not null, longitude double not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_partner_facility_address primary key (id), constraint fk_partner_facility_address_partner_facility foreign key (partner_facility_id) references lms_partner_db.partner_facility(id), index idx_partner_facility_partner_facility_id (partner_facility_id), index idx_partner_facility_address_locality (locality), index idx_partner_facility_address_pin_code (pin_code), index idx_partner_facility_address_district (district), index idx_partner_facility_address_city (city), index idx_partner_facility_address_state (state), index idx_partner_facility_address_country (country), index idx_partner_facility_address_coordinates (latitude, longitude) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- CONSENT DB --------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_consent_db.consent_status_lov ( id int auto_increment, name varchar(20) not null, -- waiting, accepted, declined, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_consent_type_lov primary key (id), index idx_consent_type_lov_name (name) ); create table if not exists lms_consent_db.consent_status_reason ( id int auto_increment, consent_status_lov_id int not null, text varchar(255), -- other, reason 1, reason 2 created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_consent_status_reason primary key (id), constraint fk_consent_status_reason_consent_status_lov foreign key (consent_status_lov_id) references lms_consent_db.consent_status_lov(id), index idx_consent_status_reason_consent_status_lov_id (consent_status_lov_id) ); create table if not exists lms_consent_db.consent_model ( id int auto_increment, consent_type_model_id int not null, policy_introduction varchar(255) not null, policy_introduction_extension varchar(255), policy_introduction_supplementary varchar(255), policy_body varchar(255) not null, policy_body_extension varchar(255), policy_body_supplementary varchar(255), policy_conclusion varchar(255) not null, policy_conclusion_extension varchar(255), policy_conclusion_supplementary varchar(255), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_consent_model primary key (id), index idx_consent_model_consent_type_model_id (consent_type_model_id) ); create table if not exists lms_consent_db.consent_tracker ( id int auto_increment, consent_model_id int not null, user_detail_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_consent_tracker primary key (id), constraint fk_consent_tracker_consent_model foreign key (consent_model_id) references lms_consent_db.consent_model(id), constraint uq_consent_tracker_consent_model_id_user_detail_id unique (consent_model_id, user_detail_id), index idx_consent_tracker_consent_model_id (consent_model_id), index idx_consent_tracker_user_model_id (user_detail_id) ); create table if not exists lms_consent_db.consent_tracker_history ( id int auto_increment, consent_tracker_id int not null, consent_status_lov_id int not null, consent_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_consent_tracker_history primary key (id), constraint fk_consent_tracker_history_consent_tracker foreign key (consent_tracker_id) references lms_consent_db.consent_tracker(id), constraint fk_consent_tracker_history_consent_status_lov foreign key (consent_status_lov_id) references lms_consent_db.consent_status_lov(id), constraint fk_consent_tracker_history_consent_status_reason foreign key (consent_status_reason_id) references lms_consent_db.consent_status_reason(id), index idx_consent_tracker_history_consent_tracker_id (consent_tracker_id), index idx_consent_tracker_history_consent_status_lov_id (consent_status_lov_id), index idx_consent_tracker_history_consent_status_reason_id (consent_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- VERIFICATION DB ---------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_verification_db.verification_status_lov ( id int auto_increment, name varchar(20) not null, -- pending, completed, aborted, failed, hold created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_verification_status_lov primary key (id) ); create table if not exists lms_verification_db.verification_status_reason ( id int auto_increment, verification_status_lov_id int not null, text varchar(255), -- other, reason 1, reason 2 created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_verification_status_reason primary key (id), constraint uq_verification_status_reason_verification_status_lov foreign key (verification_status_lov_id) references lms_verification_db.verification_status_lov(id) ); create table if not exists lms_verification_db.verification_model ( /*v verification-basic-customer, verification-intermediate-customer, verification-basic-agent, verification-intermediate-agent, verification-advanced-agent, verification-basic-partner, verification-intermediate-partner, verification-advanced-partner, verification-basic-employee, verification-intermediate-employee */ id int auto_increment, verification_type_model_id int not null, role_type_model_id int not null, requires_basic_verification_sw bigint default 0, requires_intermediate_verification_sw bigint default 1, requires_advanced_verification_sw bigint default 1, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_verification_model primary key (id), constraint uq_verification_model_vt_model_id_rt_model_id unique (verification_type_model_id, role_type_model_id), index idx_verification_model_verification_type_model_id (verification_type_model_id), index idx_verification_model_role_type_model_id (role_type_model_id) ); create table if not exists lms_verification_db.basic_verification_model ( id int auto_increment, verification_model_id int not null, phone_number_verification_sw bigint default 0, email_id_verification_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_basic_verification_model primary key (id), constraint fk_basic_verification_model_verification_model foreign key (verification_model_id) references lms_verification_db.verification_model(id), index idx_basic_verification_model_verification_model_id (verification_model_id) ); create table if not exists lms_verification_db.intermediate_verification_model ( id int auto_increment, basic_verification_model_id int not null, tax_number_verification_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_intermediate_verification_model primary key (id), constraint fk_intermediate_verification_model_basic_verification_model foreign key (basic_verification_model_id) references lms_verification_db.basic_verification_model(id), index idx_intermediate_verification_model_bv_model_id (basic_verification_model_id) ); create table if not exists lms_verification_db.advanced_verification_model ( id int auto_increment, intermediate_verification_model_id int not null, establishment_registration_number_verification_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_advanced_verification_model primary key (id), constraint fk_advanced_verification_model_im_model foreign key (intermediate_verification_model_id ) references lms_verification_db.intermediate_verification_model(id), index idx_advanced_verification_model_im_model_id (intermediate_verification_model_id) ); create table if not exists lms_verification_db.verification_tracker ( id int auto_increment, verification_model_id int not null, user_detail_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_verification_tracker primary key (id), constraint fk_verification_tracker_verification_model foreign key (verification_model_id) references lms_verification_db.verification_model(id), constraint uq_verification_tracker_verification_model_user_detail unique (verification_model_id, user_detail_id), index idx_verification_tracker_verification_model_id (verification_model_id), index idx_verification_tracker_user_model_id (user_detail_id) ); create table if not exists lms_verification_db.verification_tracker_history ( id int auto_increment, verification_tracker_id int not null, verification_status_lov_id int not null, verification_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_verification_tracker_history primary key (id), constraint fk_verification_tracker_history_verification_tracker foreign key (verification_tracker_id) references lms_verification_db.verification_tracker(id), constraint fk_verification_tracker_history_verification_status_lov foreign key (verification_status_lov_id) references lms_verification_db.verification_status_lov(id), constraint fk_verification_tracker_history_verification_status_reason foreign key (verification_status_reason_id) references lms_verification_db.verification_status_reason(id), index idx_verification_tracker_history_verification_tracker_id (verification_tracker_id), index idx_verification_tracker_history_verification_status_lov_id (verification_status_lov_id), index idx_verification_tracker_history_vs_reason_id (verification_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- WASH DB ------------------------------------------------------ ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_wash_db.washing_model ( id int auto_increment, wash_type_model_id int not null, load_type_model_id int not null, partner_id int not null, name varchar(50) not null, -- wash-machine-load-weighted-partner1, wash-machine-load-individual-partner1, wash-hand-load-individual-partner2 description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_washing_model primary key (id), constraint uq_washing_model_wash_type_model_id_lt_model_id_partner_id unique (wash_type_model_id, load_type_model_id, partner_id), index idx_washing_model_wash_type_model_id (wash_type_model_id), index idx_washing_model_load_type_model_id (load_type_model_id), index idx_washing_model_partner_id (partner_id) ); create table if not exists lms_wash_db.weighted_washing_model ( id int auto_increment, washing_model_id int not null, clothing_type_model_id int not null, name varchar(50) not null, /* wash-machine-load-weighted-partner1-household, wash-machine-load-individual-partner1-garment, wash-hand-load-individual-partner2-garment */ description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_model primary key (id), constraint fk_weighted_washing_model_washing_model_id foreign key (washing_model_id) references lms_wash_db.washing_model(id), constraint uq_weighted_washing_model_washing_model_id_ct_model_id unique (washing_model_id, clothing_type_model_id), index idx_weighted_washing_model_washing_model_id (washing_model_id), index idx_weighted_washing_model_clothing_type_model_id (clothing_type_model_id) ); create table if not exists lms_wash_db.individual_washing_model ( id int auto_increment, washing_model_id int not null, clothing_item_id int not null, name varchar(50) not null, /* wash-machine-load-weighted-household-partner1-curtain, wash-machine-load-individual-partner1-shirt, wash-hand-load-individual-partner2-saree */ description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_model primary key (id), constraint fk_individual_washing_model_washing_model_id foreign key (washing_model_id) references lms_wash_db.washing_model(id), constraint uq_individual_washing_model_washing_model_id_ci_id unique (washing_model_id, clothing_item_id), index idx_individual_washing_model_washing_model_id (washing_model_id), index idx_individual_washing_model_clothing_item_id (clothing_item_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- WASH PRICING DB --------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_wash_pricing_db.washing_price_rule ( id int auto_increment, washing_model_id int not null, name varchar(50) not null, /* wash-machine-load-weighted-partner1-N-inr, wash-machine-load-individual-partner1-K-inr, wash-hand-load-individual-partner2-L-inr */ description varchar(100), per_unit_price float not null, price_currency varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_washing_price_rule primary key (id), constraint uq_washing_price_rule_washing_model_id_pu_price_p_currency unique (washing_model_id, per_unit_price, price_currency), constraint chk_washing_price_rule_per_unit_price check (per_unit_price > 0), index idx_washing_price_rule_washing_model_id (washing_model_id) ); create table if not exists lms_wash_pricing_db.weighted_washing_rate ( id int auto_increment, washing_price_rule_id int not null, weighted_washing_model_id int not null, /* wash-machine-load-weighted-partner1-N-inr-household-1-kg, wash-machine-load-weighted-partner1-M-inr-garment-1-kg */ name varchar(50) not null, description varchar(100), per_unit_weight float not null, weight_unit varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_rate primary key (id), constraint fk_weighted_washing_rate_washing_price_rule foreign key (washing_price_rule_id) references lms_wash_pricing_db.washing_price_rule(id), constraint uq_weighted_washing_rate_washing_price_rule_id_ww_model_id unique (washing_price_rule_id, weighted_washing_model_id), constraint chk_weighted_washing_rate_per_unit_weight check (per_unit_weight > 0), index idx_weighted_washing_rate_washing_price_rule_id (washing_price_rule_id), index idx_weighted_washing_rate_weighted_washing_model_id (weighted_washing_model_id) ); create table if not exists lms_wash_pricing_db.individual_washing_rate ( id int auto_increment, washing_price_rule_id int not null, individual_washing_model_id int not null, /* wash-machine-load-individual-partner1-K-inr-1-shirt, wash-machine-load-individual-partner1-L-inr-1-curtain, wash-hand-load-individual-partner2-L-inr-1-saree, wash-hand-load-individual-partner2-M-inr-1-towel */ name varchar(50) not null, description varchar(100), per_unit_count int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_rate primary key (id), constraint fk_individual_washing_rate_washing_price_rule foreign key (washing_price_rule_id) references lms_wash_pricing_db.washing_price_rule(id), constraint uq_individual_washing_rate_washing_price_rule_id_iw_model_id unique (washing_price_rule_id, individual_washing_model_id), constraint chk_individual_washing_rate_per_unit_count check (per_unit_count > 0), index idx_individual_washing_rate_washing_price_rule_id (washing_price_rule_id), index idx_individual_washing_rate_individual_washing_model_id (individual_washing_model_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- WASH DISCOUNT DB --------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_wash_discount_db.weighted_washing_discount_model ( id int auto_increment, weighted_washing_model_id int not null, discount_model_id int not null, partner_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_discount_model primary key (id), constraint uq_weighted_washing_discount_model_ww_model_id_discount_model_id unique (weighted_washing_model_id, discount_model_id), index idx_weighted_washing_discount_model_weighted_washing_model_id (weighted_washing_model_id), index idx_weighted_washing_discount_model_discount_model_id (discount_model_id) ); create table if not exists lms_wash_discount_db.weighted_washing_discount_rate ( id int auto_increment, weighted_washing_discount_model_id int not null, name varchar(50) not null, -- subscription-basic-10, subscription-premium-15, deal-flat-100-less, deal-machine-weighted-household-30-off, deal-machine-weighted-garment-5-less, deal-machine-weighted-garments-free-shipping description varchar(100), discount_value float not null, minimum_expected_value float not null, maximum_allowed_value float not null, free_logistics_sw bigint not null, starts_on timestamp not null, expires_on timestamp not null, expired_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_discount_rate primary key (id), constraint fk_ww_discount_rate_ww_discount_model foreign key (weighted_washing_discount_model_id) references lms_wash_discount_db.weighted_washing_discount_model(id), constraint uq_weighted_washing_discount_rate_name unique (weighted_washing_discount_model_id, name), constraint chk_weighted_washing_discount_rate_discount_value check (discount_value > 0), constraint chk_weighted_washing_discount_rate_minimum_expected_value check (minimum_expected_value > 0), constraint chk_weighted_washing_discount_rate_maximum_allowed_value check (maximum_allowed_value > 0), constraint chk_weighted_washing_discount_rate_start_before_expiry check (starts_on < expires_on), index idx_weighted_washing_discount_rate_ww_discount_model_id (weighted_washing_discount_model_id) ); create table if not exists lms_wash_discount_db.weighted_washing_discount_shipping ( id int auto_increment, weighted_washing_discount_rate_id int not null, free_pickup_sw bigint default 0, free_delivery_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_discount_shipping primary key (id), constraint fk_ww_discount_shipping_ww_discount_rate foreign key (weighted_washing_discount_rate_id) references lms_wash_discount_db.weighted_washing_discount_rate(id), constraint uq_ww_discount_shipping_rate_pickup_delivery unique (weighted_washing_discount_rate_id, free_pickup_sw, free_delivery_sw), index idx_weighted_washing_discount_shipping_ww_discount_rate_id (weighted_washing_discount_rate_id) ); create table if not exists lms_wash_discount_db.weighted_washing_discount_rate_currency ( id int auto_increment, weighted_washing_discount_rate_id int not null, currency_type_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_discount_rate_currency primary key (id), constraint fk_ww_discount_rate_currency_ww_discount_rate foreign key (weighted_washing_discount_rate_id) references lms_wash_discount_db.weighted_washing_discount_rate(id), constraint uq_weighted_washing_discount_rate_currency_ww_dr_id_ct_lov_id unique (weighted_washing_discount_rate_id, currency_type_lov_id), index idx_weighted_washing_discount_rate_currency_ww_dr_id (weighted_washing_discount_rate_id), index idx_weighted_washing_discount_rate_currency_ct_lov_id (currency_type_lov_id) ); create table if not exists lms_wash_discount_db.weighted_washing_discount_rate_history ( id int auto_increment, weighted_washing_discount_rate_id int not null, discount_status_lov_id int not null, discount_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_discount_rate_history primary key (id), constraint fk_ww_discount_rate_history_ww_discount_rate foreign key (weighted_washing_discount_rate_id) references lms_wash_discount_db.weighted_washing_discount_rate(id), index idx_weighted_washing_discount_rate_history_ww_discount_rate_id (weighted_washing_discount_rate_id), index idx_weighted_washing_discount_rate_history_ds_lov_id (discount_status_lov_id), index idx_weighted_washing_discount_rate_history_ds_reason_id (discount_status_reason_id) ); create table if not exists lms_wash_discount_db.weighted_washing_discount_coupon ( id int auto_increment, weighted_washing_discount_rate_id int not null, code_hash varchar(128) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_weighted_washing_discount_coupon primary key (id), constraint fk_ww_discount_coupon_ww_discount_rate foreign key (weighted_washing_discount_rate_id) references lms_wash_discount_db.weighted_washing_discount_rate(id), constraint uq_weighted_washing_discount_coupon_ww_dr_id_code_hash unique (weighted_washing_discount_rate_id, code_hash), index idx_weighted_washing_discount_coupon_ww_discount_rate_id (weighted_washing_discount_rate_id), index idx_weighted_washing_discount_coupon_code_hash (code_hash) ); create table if not exists lms_wash_discount_db.individual_washing_discount_model ( id int auto_increment, individual_washing_model_id int not null, discount_model_id int not null, partner_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_discount_model primary key (id), constraint uq_individual_washing_discount_model_iw_model_id_dm_id unique (individual_washing_model_id, discount_model_id), index idx_individual_washing_discount_model_ww_model_id (individual_washing_model_id), index idx_individual_washing_discount_model_discount_model_id (discount_model_id) ); create table if not exists lms_wash_discount_db.individual_washing_discount_rate ( id int auto_increment, individual_washing_discount_model_id int not null, name varchar(50) not null, -- subscription-basic-10, subscription-premium-15, deal-flat-100-less, deal-machine-weighted-household-30-off, deal-machine-weighted-garment-5-less, deal-machine-weighted-garments-free-shipping description varchar(100), discount_value float not null, minimum_expected_value float not null, maximum_allowed_value float not null, free_logistics_sw bigint not null, starts_on timestamp not null, expires_on timestamp not null, expired_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_discount_rate primary key (id), constraint fk_iw_discount_rate_iw_discount_model foreign key (individual_washing_discount_model_id) references lms_wash_discount_db.individual_washing_discount_model(id), constraint uq_individual_washing_discount_rate_name unique (individual_washing_discount_model_id, name), constraint chk_individual_washing_discount_rate_discount_value check (discount_value > 0), constraint chk_individual_washing_discount_rate_minimum_expected_value check (minimum_expected_value > 0), constraint chk_individual_washing_discount_rate_maximum_allowed_value check (maximum_allowed_value > 0), constraint chk_individual_washing_discount_rate_start_before_expiry check (starts_on < expires_on), index idx_individual_washing_discount_rate_iw_dm_id (individual_washing_discount_model_id) ); create table if not exists lms_wash_discount_db.individual_washing_discount_shipping ( id int auto_increment, individual_washing_discount_rate_id int not null, free_pickup_sw bigint default 0, free_delivery_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_discount_shipping primary key (id), constraint fk_iw_discount_shipping_iw_discount_rate foreign key (individual_washing_discount_rate_id) references lms_wash_discount_db.individual_washing_discount_rate(id), constraint uq_individual_washing_discount_shipping_rate_pickup_delivery unique (individual_washing_discount_rate_id, free_pickup_sw, free_delivery_sw), index idx_individual_washing_discount_shipping_iw_dr_id (individual_washing_discount_rate_id) ); create table if not exists lms_wash_discount_db.individual_washing_discount_rate_currency ( id int auto_increment, individual_washing_discount_rate_id int not null, currency_type_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_discount_rate_currency primary key (id), constraint fk_iw_discount_rate_currency_iw_discount_rate foreign key (individual_washing_discount_rate_id) references lms_wash_discount_db.individual_washing_discount_rate(id), constraint uq_individual_washing_discount_rate_currency_iw_dr_id_ct_lov_id unique (individual_washing_discount_rate_id, currency_type_lov_id), index idx_individual_washing_discount_rate_currency_iw_dr_id (individual_washing_discount_rate_id), index idx_individual_washing_discount_rate_currency_ct_lov_id (currency_type_lov_id) ); create table if not exists lms_wash_discount_db.individual_washing_discount_rate_history ( id int auto_increment, individual_washing_discount_rate_id int not null, discount_status_lov_id int not null, discount_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_discount_rate_history primary key (id), constraint fk_iw_discount_rate_history_iw_discount_rate foreign key (individual_washing_discount_rate_id) references lms_wash_discount_db.individual_washing_discount_rate(id), index idx_individual_washing_discount_rate_history_iw_dr_id (individual_washing_discount_rate_id), index idx_individual_washing_discount_rate_history_ds_lov_id (discount_status_lov_id), index idx_individual_washing_discount_rate_history_ds_reason_id (discount_status_reason_id) ); create table if not exists lms_wash_discount_db.individual_washing_discount_coupon ( id int auto_increment, individual_washing_discount_rate_id int not null, code_hash varchar(128) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_individual_washing_discount_coupon primary key (id), constraint fk_iw_discount_coupon_iw_discount_rate foreign key (individual_washing_discount_rate_id) references lms_wash_discount_db.individual_washing_discount_rate(id), constraint uq_individual_washing_discount_coupon_iw_dr_id_code_hash unique (individual_washing_discount_rate_id, code_hash), index idx_individual_washing_discount_coupon_iw_dr_id (individual_washing_discount_rate_id), index idx_individual_washing_discount_coupon_code_hash (code_hash) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- WASH TRACKING DB --------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_wash_tracking_db.wash_status_lov ( id int auto_increment, name varchar(50) not null, -- draft, inspecting, washing, drying, folding, ready, cancelled, failed, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_wash_status_lov primary key (id) ); create table if not exists lms_wash_tracking_db.wash_status_reason ( id int auto_increment, text varchar(255), -- other, reason 1, reason 2, payment completed, wash_status_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_wash_status_reason primary key (id), index idx_wash_status_reason_wash_status_lov_id (wash_status_lov_id) ); create table if not exists lms_wash_tracking_db.washable_item_tracker ( id int auto_increment, order_number varchar(128) not null, order_line_id int not null, sequence int not null, tag_id varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_washable_item_tracker primary key (id), constraint uq_washable_item_tracker_order_number_order_line_id_seq_tag_id unique (order_number, order_line_id, sequence, tag_id), constraint chk_washable_item_tracker_sequence check (sequence > 0), index idx_washable_item_tracker_order_number (order_number), index idx_washable_item_tracker_order_line_id (order_line_id), index idx_washable_item_tracker_tag_id (tag_id) ); create table if not exists lms_wash_tracking_db.washable_item_tracking_history ( id int auto_increment, washable_item_tracker_id int not null, wash_status_lov_id int not null, wash_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_washable_item_tracking_history primary key (id), constraint fk_washable_item_tracking_history_washable_item_tracker foreign key (washable_item_tracker_id) references lms_wash_tracking_db.washable_item_tracker(id), constraint fk_washable_item_tracking_history_wash_status_lov foreign key (wash_status_lov_id) references lms_wash_tracking_db.wash_status_lov(id), constraint fk_washable_item_tracking_history_wash_status_reason foreign key (wash_status_reason_id) references lms_wash_tracking_db.wash_status_reason(id), index idx_washable_item_tracking_history_washable_item_tracker_id (washable_item_tracker_id), index idx_washable_item_tracking_history_wash_status_lov_id (wash_status_lov_id), index idx_washable_item_tracking_history_wash_status_reason_id (wash_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- IRON DB ------------------------------------------------------ ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_iron_db.ironing_model ( id int auto_increment, iron_type_lov_id int not null, partner_id int not null, name varchar(50) not null, -- iron-machine-steam-partner1, iron-machine-water-partner1, iron-machine-steam-partner2, iron-box-water-partner3 description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_model primary key (id), index idx_ironing_model_iron_type_lov_id (iron_type_lov_id), index idx_ironing_model_partner_id (partner_id) ); create table if not exists lms_iron_db.ironable_item_model ( id int auto_increment, ironing_model_id int not null, clothing_item_id int not null, name varchar(50) not null, /* iron-machine-steam-partner1-shirt, iron-machine-steam-partner1-pant, iron-machine-steam-partner1-saree, iron-machine-steam-partner1-suit, iron-machine-water-partner1-shirt, iron-machine-water-partner1-pant, iron-machine-water-partner1-saree, iron-machine-steam-partner2-shirt, iron-machine-steam-partner2-pant, iron-machine-steam-partner2-saree, iron-machine-steam-partner2-suit, iron-box-water-partner3-shirt, iron-box-water-partner3-pant, iron-box-water-partner3-saree */ description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_model primary key (id), constraint fk_ironable_item_model_ironing_model_id foreign key (ironing_model_id) references lms_iron_db.ironing_model(id), constraint uq_ironable_item_model_ironing_model_id_clothing_item_id unique (ironing_model_id, clothing_item_id), index idx_ironing_model_ironing_model_id (ironing_model_id), index idx_ironing_model_clothing_item_id (clothing_item_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- IRON PRICING DB ---------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_iron_pricing_db.ironing_price_rule ( id int auto_increment, ironable_item_model_id int not null, name varchar(50) not null, /* iron-machine-steam-partner1-shirt-N-inr, iron-machine-steam-partner1-pant-A-inr, iron-machine-steam-partner1-saree-E-inr, iron-machine-steam-partner1-suit-Q-inr, iron-machine-water-partner1-shirt-M-inr, iron-machine-water-partner1-pant-B-inr, iron-machine-water-partner1-saree-F-inr, iron-machine-steam-partner2-shirt-O-inr, iron-machine-steam-partner2-pant-C-inr, iron-machine-steam-partner2-saree-G-inr, iron-machine-steam-partner2-suit-R-inr, iron-box-water-partner3-shirt-P-inr, iron-box-water-partner3-pant-D-inr, iron-box-water-partner3-saree-H-inr */ description varchar(100), per_unit_price float not null, price_currency varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_price_rule primary key (id), constraint uq_ironing_price_rule_ii_model_id_pu_price_p_currency unique (ironable_item_model_id, per_unit_price, price_currency), constraint chk_ironing_price_rule_per_unit_price check (per_unit_price > 0), index idx_ironing_price_rule_ironable_item_model_id (ironable_item_model_id) ); create table if not exists lms_iron_pricing_db.ironing_rate ( id int auto_increment, ironing_price_rule_id int not null, name varchar(50) not null, description varchar(100), /* iron-machine-steam-partner1-shirt-N-inr-1-piece, iron-machine-steam-partner1-pant-A-inr-1-piece, iron-machine-steam-partner1-saree-E-inr-1-piece, iron-machine-steam-partner1-suit-Q-inr-1-piece, iron-machine-water-partner1-shirt-M-inr-2-piece, iron-machine-water-partner1-pant-B-inr-2-piece, iron-machine-water-partner1-saree-F-inr-2-piece, iron-machine-steam-partner2-shirt-O-inr-1-piece, iron-machine-steam-partner2-pant-C-inr-1-piece, iron-machine-steam-partner2-saree-G-inr, iron-machine-steam-partner2-suit-R-inr-1-piece, iron-box-water-partner3-shirt-P-inr-1-piece, iron-box-water-partner3-pant-D-inr-1-piece, iron-box-water-partner3-saree-H-inr-1-piece */ per_unit_count int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_rate primary key (id), constraint fk_ironing_rate_ironing_price_rule foreign key (ironing_price_rule_id) references lms_iron_pricing_db.ironing_price_rule(id), constraint uq_ironing_rate_ironing_price_rule_id_per_unit_count unique (ironing_price_rule_id, per_unit_count), constraint chk_ironing_rate_per_unit_count check (per_unit_count > 0) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- IRON DISCOUNT DB --------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_iron_discount_db.ironing_discount_model ( id int auto_increment, ironing_model_id int not null, discount_model_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_discount_model primary key (id), index idx_ironing_discount_model_ironing_model_id (ironing_model_id), index idx_ironing_discount_model_discount_model_id (discount_model_id) ); create table if not exists lms_iron_discount_db.ironing_discount_rate ( id int auto_increment, ironing_discount_model_id int not null, name varchar(50) not null, -- subscription-basic-10, subscription-premium-15, deal-flat-100-less, deal-machine-weighted-household-30-off, deal-machine-weighted-garment-5-less, deal-machine-weighted-garments-free-shipping description varchar(100), discount_value float not null, minimum_expected_value float not null, maximum_allowed_value float not null, free_logistics_sw bigint not null, starts_on timestamp not null, expires_on timestamp not null, expired_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_discount_rate primary key (id), constraint fk_ironing_discount_rate_ironing_discount_model foreign key (ironing_discount_model_id) references lms_iron_discount_db.ironing_discount_model(id), constraint uq_ironing_discount_rate_name unique (ironing_discount_model_id, name), constraint chk_ironing_discount_rate_discount_value check (discount_value > 0), constraint chk_ironing_discount_rate_minimum_expected_value check (minimum_expected_value > 0), constraint chk_ironing_discount_rate_maximum_allowed_value check (maximum_allowed_value > 0), constraint chk_ironing_discount_rate_start_before_expiry check (starts_on < expires_on), index idx_ironing_discount_rate_ironing_discount_model_id (ironing_discount_model_id) ); create table if not exists lms_iron_discount_db.ironing_discount_shipping ( id int auto_increment, ironing_discount_rate_id int not null, free_pickup_sw bigint default 0, free_delivery_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_discount_shipping primary key (id), constraint fk_iw_discount_shipping_iw_discount_rate foreign key (ironing_discount_rate_id) references lms_iron_discount_db.ironing_discount_rate(id), constraint uq_ironing_discount_shipping_rate_pickup_delivery unique (ironing_discount_rate_id, free_pickup_sw, free_delivery_sw), index idx_ironing_discount_shipping_ironing_discount_rate_id (ironing_discount_rate_id) ); create table if not exists lms_iron_discount_db.ironing_discount_rate_currency ( id int auto_increment, ironing_discount_rate_id int not null, currency_type_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_discount_rate_currency primary key (id), constraint fk_ironing_discount_rate_currency_ironing_discount_rate foreign key (ironing_discount_rate_id) references lms_iron_discount_db.ironing_discount_rate(id), constraint uq_ironing_discount_rate_currency_id_rate_id_ct_lov_id unique (ironing_discount_rate_id, currency_type_lov_id), index idx_weighted_washing_discount_rate_currency_id_rate_id (ironing_discount_rate_id), index idx_weighted_washing_discount_rate_ct_lov_id (currency_type_lov_id) ); create table if not exists lms_iron_discount_db.ironing_discount_rate_history ( id int auto_increment, ironing_discount_rate_id int not null, discount_status_lov_id int not null, discount_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_discount_rate_history primary key (id), constraint fk_ironing_discount_rate_history_ironing_discount_rate foreign key (ironing_discount_rate_id) references lms_iron_discount_db.ironing_discount_rate(id), index idx_ironing_discount_rate_history_ironing_discount_rate_id (ironing_discount_rate_id), index idx_ironing_discount_rate_history_discount_status_lov_id (discount_status_lov_id), index idx_ironing_discount_rate_history_discount_status_reason_id (discount_status_reason_id) ); create table if not exists lms_iron_discount_db.ironing_discount_coupon ( id int auto_increment, ironing_discount_rate_id int not null, code_hash varchar(128) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironing_discount_coupon primary key (id), constraint fk_ironing_discount_coupon_ironing_discount_rate foreign key (ironing_discount_rate_id) references lms_iron_discount_db.ironing_discount_rate(id), constraint uq_ironing_discount_coupon_ironing_discount_rate_id_code_hash unique (ironing_discount_rate_id, code_hash), index idx_ironing_discount_coupon_ironing_discount_rate_id (ironing_discount_rate_id), index idx_ironing_discount_coupon_code_hash (code_hash) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- IRON TRACKING DB --------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_iron_tracking_db.iron_status_lov ( id int auto_increment, name varchar(50) not null, -- new, inspecting, ironing, folding, ready, failed, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_wash_status_lov primary key (id) ); create table if not exists lms_iron_tracking_db.iron_status_reason ( id int auto_increment, text varchar(255), -- other, reason 1, reason 2 iron_status_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, version int default 0, active_sw bigint default 1, constraint pk_iron_status_reason primary key (id), constraint fk_iron_status_reason_iron_status_lov_id foreign key (iron_status_lov_id) references lms_iron_tracking_db.iron_status_lov(id), index idx_iron_status_reason_iron_status_lov_id (iron_status_lov_id) ); create table if not exists lms_iron_tracking_db.ironable_item_tracker ( id int auto_increment, order_number varchar(128) not null, order_line_id int not null, sequence int not null, tag_id varchar(100) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironable_item_tracker primary key (id), constraint uq_ironable_item_tracker_order_number_order_line_id_seq_tag_id unique (order_number, order_line_id, sequence, tag_id), constraint chk_ironable_item_tracker_sequence check (sequence > 0), index idx_ironable_item_tracker_order_number (order_number), index idx_ironable_item_tracker_order_line_id (order_line_id), index idx_ironable_item_tracker_tag_id (tag_id) ); create table if not exists lms_iron_tracking_db.ironable_item_tracking_history ( id int auto_increment, ironable_item_tracker_id int not null, iron_status_lov_id int not null, iron_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_ironable_item_tracking_history primary key (id), constraint fk_ironable_item_tracking_history_ironable_item_tracker foreign key (ironable_item_tracker_id) references lms_iron_tracking_db.ironable_item_tracker(id), constraint fk_ironable_item_tracking_history_iron_status_lov foreign key (iron_status_lov_id) references lms_iron_tracking_db.iron_status_lov(id), constraint fk_ironable_item_tracking_history_iron_status_reason foreign key (iron_status_reason_id) references lms_iron_tracking_db.iron_status_reason(id), index idx_ironable_item_tracking_history_ironable_item_tracker_id (ironable_item_tracker_id), index idx_ironable_item_tracking_history_iron_status_lov_id (iron_status_lov_id), index idx_ironable_item_tracking_history_iron_status_reason_id (iron_status_reason_id) ); ------------------------------------------------------------------------------------------------------------------ -------------------------------------------------- DRY CLEAN DB -------------------------------------------------- ------------------------------------------------------------------------------------------------------------------ create table if not exists lms_dry_clean_db.dry_cleaning_model ( id int auto_increment, dry_clean_type_model_id int not null, mildness_type_model_id int not null, partner_id int not null, name varchar(50) not null, /* dry-clean-hcs-professional-partner3, dry-clean-pce-professional-partner3, dry-clean-hcs-normal-partner1, dry-clean-hcs-gentle-partner1, dry-clean-hcs-very-gentle-partner1, dry-clean-pce-normal-partner2, dry-clean-pce-gentle-partner2, dry-clean-pce-very-gentle-partner2 */ description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_washing_model primary key (id), constraint uq_washing_model_dc_model_id_wt_model_id_partner_id unique (dry_clean_type_model_id, mildness_type_model_id, partner_id), index idx_washing_model_dry_clean_type_model_id (dry_clean_type_model_id), index idx_washing_model_mildness_type_model_id (mildness_type_model_id), index idx_washing_model_partner_id (partner_id) ); create table if not exists lms_dry_clean_db.dry_cleanable_item_model ( id int auto_increment, dry_cleaning_model_id int not null, clothing_item_id int not null, name varchar(50) not null, /* dry-clean-hcs-professional-partner1-shirt, dry-clean-hcs-professional-partner1-pant, dry-clean-pce-professional-partner2-carpet, dry-clean-pce-professional-partner2-saree, dry-clean-hcs-normal-partner1-shirt, dry-clean-hcs-normal-partner1-carpet, dry-clean-hcs-normal-partner1-suit, dry-clean-hcs-normal-partner1-saree dry-clean-hcs-gentle-partner1-shirt, dry-clean-hcs-gentle-partner1-carpet, dry-clean-hcs-gentle-partner1-suit, dry-clean-hcs-gentle-partner1-saree dry-clean-pce-very-gentle-partner1-shirt, dry-clean-hcs-very-gentle-partner1-carpet, dry-clean-hcs-very-gentle-partner1-suit, dry-clean-hcs-very-gentle-partner1-saree dry-clean-pce-normal-partner2-shirt, dry-clean-pce-normal-partner2-carpet, dry-clean-pce-normal-partner2-suit, dry-clean-pce-normal-partner2-saree dry-clean-pce-gentle-partner2-shirt, dry-clean-pce-gentle-partner2-carpet, dry-clean-pce-gentle-partner2-suit, dry-clean-pce-gentle-partner2-saree dry-clean-pce-very-gentle-partner2-shirt, dry-clean-pce-very-gentle-partner2-carpet, dry-clean-pce-very-gentle-partner2-suit, dry-clean-pce-very-gentle-partner2-saree */ description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleanable_item_model primary key (id), constraint fk_dry_cleanable_item_model_dry_cleaning_model foreign key (dry_cleaning_model_id) references lms_dry_clean_db.dry_cleaning_model(id), constraint uq_dry_cleanable_item_model_dc_model_id_ci_id unique (dry_cleaning_model_id, clothing_item_id), index idx_dry_cleanable_item_model_dry_cleaning_model_id (dry_cleaning_model_id), index idx_dry_cleanable_item_model_clothing_item_id (clothing_item_id) ); ------------------------------------------------------------------------------------------------------------------ -------------------------------------------------- DRY CLEAN PRICING DB -------------------------------------------- ------------------------------------------------------------------------------------------------------------------ create table if not exists lms_dry_clean_pricing_db.dry_cleaning_price_rule ( id int auto_increment, dry_cleanable_item_model_id int not null, name varchar(50) not null, /* dry-clean-hcs-professional-partner1-shirt-A-inr, dry-clean-hcs-professional-partner1-pant-I-inr, dry-clean-pce-professional-partner2-carpet-B-inr, dry-clean-pce-professional-partner2-saree-J-inr, dry-clean-hcs-normal-partner1-shirt-C-inr, dry-clean-hcs-normal-partner1-carpet-K-inr, dry-clean-hcs-normal-partner1-suit-Q-inr, dry-clean-hcs-normal-partner1-saree-W-inr dry-clean-hcs-gentle-partner1-shirt-D-inr, dry-clean-hcs-gentle-partner1-carpet-L-inr, dry-clean-hcs-gentle-partner1-suit-R-inr, dry-clean-hcs-gentle-partner1-saree-X-inr dry-clean-pce-very-gentle-partner1-shirt-E-inr, dry-clean-hcs-very-gentle-partner1-carpet-M-inr, dry-clean-hcs-very-gentle-partner1-suit-S-inr, dry-clean-hcs-very-gentle-partner1-saree-Y-inr dry-clean-pce-normal-partner2-shirt-F-inr, dry-clean-pce-normal-partner2-carpet-N-inr, dry-clean-pce-normal-partner2-suit-T-inr, dry-clean-pce-normal-partner2-saree-Z-inr dry-clean-pce-gentle-partner2-shirt-G-inr, dry-clean-pce-gentle-partner2-carpet-O-inr, dry-clean-pce-gentle-partner2-suit-U-inr, dry-clean-pce-gentle-partner2-saree-AA-inr dry-clean-pce-very-gentle-partner2-shirt-H-inr, dry-clean-pce-very-gentle-partner2-carpet-P-inr, dry-clean-pce-very-gentle-partner2-suit-V-inr, dry-clean-pce-very-gentle-partner2-saree-AB-inr */ description varchar(100), per_unit_price float not null, price_currency varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_price_rule primary key (id), constraint uq_dry_cleaning_price_rule_dc_im_id_pu_price_p_currency unique (dry_cleanable_item_model_id, per_unit_price, price_currency), constraint chk_dry_cleaning_price_rule_per_unit_price check (per_unit_price > 0), index idx_dry_cleaning_price_rule_dry_cleanable_item_model_id (dry_cleanable_item_model_id) ); create table if not exists lms_dry_clean_pricing_db.dry_cleaning_rate ( id int auto_increment, dry_cleaning_price_rule_id int not null, name varchar(50) not null, /* dry-clean-hcs-professional-partner1-shirt-A-inr-1-piece, dry-clean-hcs-professional-partner1-pant-I-inr-1-piece, dry-clean-pce-professional-partner2-carpet-B-inr-1-piece, dry-clean-pce-professional-partner2-saree-J-inr-1-piece, dry-clean-hcs-normal-partner1-shirt-C-inr-1-piece, dry-clean-hcs-normal-partner1-carpet-K-inr-1-piece, dry-clean-hcs-normal-partner1-suit-Q-inr-1-piece, dry-clean-hcs-normal-partner1-saree-W-inr-1-piece dry-clean-hcs-gentle-partner1-shirt-D-inr-1-piece, dry-clean-hcs-gentle-partner1-carpet-L-inr-1-piece, dry-clean-hcs-gentle-partner1-suit-R-inr-1-piece, dry-clean-hcs-gentle-partner1-saree-X-inr-1-piece dry-clean-pce-very-gentle-partner1-shirt-E-inr-1-piece, dry-clean-hcs-very-gentle-partner1-carpet-M-inr-1-piece, dry-clean-hcs-very-gentle-partner1-suit-S-inr-1-piece, dry-clean-hcs-very-gentle-partner1-saree-Y-inr-1-piece dry-clean-pce-normal-partner2-shirt-F-inr-1-piece, dry-clean-pce-normal-partner2-carpet-N-inr-1-piece, dry-clean-pce-normal-partner2-suit-T-inr-1-piece, dry-clean-pce-normal-partner2-saree-Z-inr-1-piece dry-clean-pce-gentle-partner2-shirt-G-inr-1-piece, dry-clean-pce-gentle-partner2-carpet-O-inr-1-piece, dry-clean-pce-gentle-partner2-suit-U-inr-1-piece, dry-clean-pce-gentle-partner2-saree-AA-inr-1-piece dry-clean-pce-very-gentle-partner2-shirt-H-inr-1-piece, dry-clean-pce-very-gentle-partner2-carpet-P-inr-1-piece, dry-clean-pce-very-gentle-partner2-suit-V-inr-1-piece, dry-clean-pce-very-gentle-partner2-saree-AB-inr-1-piece */ description varchar(100), per_unit_count int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_rate primary key (id), constraint fk_dry_cleaning_rate_dry_cleaning_price_rule foreign key (dry_cleaning_price_rule_id) references lms_dry_clean_pricing_db.dry_cleaning_price_rule(id), constraint uq_dry_cleaning_rate_dc_pr_id_per_unit_count unique (dry_cleaning_price_rule_id, per_unit_count), constraint chk_dry_cleaning_rate_per_unit_count check (per_unit_count > 0) ); ----------------------------------------------------------------------------------------------------------------- --------------------------------------------- DRY CLEAN DISCOUNT DB --------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_dry_clean_discount_db.dry_cleaning_discount_model ( id int auto_increment, dry_cleaning_model_id int not null, discount_model_id int not null, partner_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_discount_model primary key (id), index idx_dry_cleaning_discount_model_dc_model_id (dry_cleaning_model_id), index idx_dry_cleaning_discount_model_dm_id (discount_model_id) ); create table if not exists lms_dry_clean_discount_db.dry_cleaning_discount_rate ( id int auto_increment, dry_cleaning_discount_model_id int not null, name varchar(50) not null, -- subscription-basic-10, subscription-premium-15, deal-flat-100-less, deal-machine-weighted-household-30-off, deal-machine-weighted-garment-5-less, deal-machine-weighted-garments-free-shipping description varchar(100), discount_value float not null, minimum_expected_value float not null, maximum_allowed_value float not null, free_logistics_sw bigint not null, starts_on timestamp not null, expires_on timestamp not null, expired_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_discount_rate primary key (id), constraint fk_dry_cleaning_discount_rate_ironing_discount_model foreign key (dry_cleaning_discount_model_id) references lms_dry_clean_discount_db.dry_cleaning_discount_model(id), constraint uq_dry_cleaning_discount_rate_name unique (dry_cleaning_discount_model_id, name), constraint chk_dry_cleaning_discount_rate_discount_value check (discount_value > 0), constraint chk_dry_cleaning_discount_rate_minimum_expected_value check (minimum_expected_value > 0), constraint chk_dry_cleaning_discount_rate_maximum_allowed_value check (maximum_allowed_value > 0), constraint chk_dry_cleaning_discount_rate_start_before_expiry check (starts_on < expires_on), index idx_dry_cleaning_discount_rate_dc_discount_model_id (dry_cleaning_discount_model_id) ); create table if not exists lms_dry_clean_discount_db.dry_cleaning_discount_shipping ( id int auto_increment, dry_cleaning_discount_rate_id int not null, free_pickup_sw bigint default 0, free_delivery_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_discount_shipping primary key (id), constraint fk_dc_discount_shipping_dc_discount_rate foreign key (dry_cleaning_discount_rate_id) references lms_dry_clean_discount_db.dry_cleaning_discount_rate(id), constraint uq_dry_cleaning_discount_shipping_rate_pickup_delivery unique (dry_cleaning_discount_rate_id, free_pickup_sw, free_delivery_sw), index idx_dry_cleaning_discount_shipping_dc_discount_rate_id (dry_cleaning_discount_rate_id) ); create table if not exists lms_dry_clean_discount_db.dry_cleaning_discount_rate_currency ( id int auto_increment, dry_cleaning_discount_rate_id int not null, currency_type_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_discount_rate_currency primary key (id), constraint fk_dc_discount_rate_currency_dc_discount_rate foreign key (dry_cleaning_discount_rate_id) references lms_dry_clean_discount_db.dry_cleaning_discount_rate(id), constraint uq_dry_cleaning_discount_rate_currency_dc_dr_id_ct_lov_id unique (dry_cleaning_discount_rate_id, currency_type_lov_id), index idx_dry_cleaning_discount_rate_currency_dc_discount_rate_id (dry_cleaning_discount_rate_id), index idx_dry_cleaning_discount_rate_currency_type_lov_id (currency_type_lov_id) ); create table if not exists lms_dry_clean_discount_db.dry_cleaning_discount_rate_history ( id int auto_increment, dry_cleaning_discount_rate_id int not null, discount_status_lov_id int not null, discount_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_discount_rate_history primary key (id), constraint fk_dc_discount_rate_history_dc_discount_rate foreign key (dry_cleaning_discount_rate_id) references lms_dry_clean_discount_db.dry_cleaning_discount_rate(id), index idx_ironing_discount_rate_history_dry_cleaning_discount_rate_id (dry_cleaning_discount_rate_id), index idx_ironing_discount_rate_history_discount_status_lov_id (discount_status_lov_id), index idx_ironing_discount_rate_history_discount_status_reason_id (discount_status_reason_id) ); create table if not exists lms_dry_clean_discount_db.dry_cleaning_discount_coupon ( id int auto_increment, dry_cleaning_discount_rate_id int not null, code_hash varchar(128) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_discount_coupon primary key (id), constraint fk_dc_discount_coupon_dc_discount_rate foreign key (dry_cleaning_discount_rate_id) references lms_dry_clean_discount_db.dry_cleaning_discount_rate(id), constraint uq_dry_cleaning_discount_coupon_dc_dr_id_code_hash unique (dry_cleaning_discount_rate_id, code_hash), index idx_dry_cleaning_discount_coupon_dc_dr_id (dry_cleaning_discount_rate_id), index idx_dry_cleaning_discount_coupon_code_hash (code_hash) ); ------------------------------------------------------------------------------------------------------------------ -------------------------------------------------- DRY CLEAN TRACKING DB -------------------------------------------- ------------------------------------------------------------------------------------------------------------------ create table if not exists lms_dry_clean_tracking_db.dry_cleaning_status_lov ( id int auto_increment, name varchar(50) not null, -- new, inspecting, cleaning, rinsing, drying, folding, ready, failed, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_status_lov primary key (id) ); create table if not exists lms_dry_clean_tracking_db.dry_cleaning_status_reason ( id int auto_increment, text varchar(255), -- other, reason 1, reason 2 dry_cleaning_status_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleaning_status_reason primary key (id), constraint fk_dry_cleaning_status_reason_dc_status_lov_id foreign key (dry_cleaning_status_lov_id) references lms_dry_clean_tracking_db.dry_cleaning_status_lov(id), index idx_dry_cleaning_status_reason_dc_status_lov_id (dry_cleaning_status_lov_id) ); create table if not exists lms_dry_clean_tracking_db.dry_cleanable_item_tracker ( id int auto_increment, order_number varchar(128) not null, order_line_id int not null, sequence int not null, tag_id varchar(100) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleanable_item_tracker primary key (id), constraint uq_dry_cleanable_item_tracker_on_ol_id_seq_tag_id unique (order_number, order_line_id, sequence, tag_id), constraint chk_dry_cleanable_item_tracker_sequence check (sequence > 0), index idx_dry_cleanable_item_tracker_order_number (order_number), index idx_dry_cleanable_item_tracker_order_line_id (order_line_id), index idx_dry_cleanable_item_tracker_tag_id (tag_id) ); create table if not exists lms_dry_clean_tracking_db.dry_cleanable_item_tracking_history ( id int auto_increment, dry_cleanable_item_tracker_id int not null, dry_cleaning_status_lov_id int not null, dry_cleaning_status_reason_id int not null, additional_reason varchar(128), reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_dry_cleanable_item_tracking_history primary key (id), constraint fk_dryc_item_tracking_history_dryc_item_tracker foreign key (dry_cleanable_item_tracker_id) references lms_dry_clean_tracking_db.dry_cleanable_item_tracker(id), constraint fk_dryc_item_tracking_history_dryc_status_lov foreign key (dry_cleaning_status_lov_id) references lms_dry_clean_tracking_db.dry_cleaning_status_lov(id), constraint fk_dryc_item_tracking_history_dryc_status_reason foreign key (dry_cleaning_status_reason_id) references lms_dry_clean_tracking_db.dry_cleaning_status_reason(id), index ix_dry_cleanable_item_tracking_history_dc_item_tracker_id (dry_cleanable_item_tracker_id), index idx_dry_cleanable_item_tracking_history_dc_status_lov_id (dry_cleaning_status_lov_id), index idx_dry_cleanable_item_tracking_history_dc_status_reason_id (dry_cleaning_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- PICKUP DB ---------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_pickup_db.pickup_model ( id int auto_increment, pickup_type_model_id int not null, agent_id int not null, /* pickup-scheduled-partner1, pickup-same-day-partner1, pickup-standard-partner1, pickup-scheduled-partner2, pickup-same-day-partner2, pickup-standard-partner2 */ created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_model primary key (id), constraint uq_pickup_model_pickup_type_model_id_agent_id unique (pickup_type_model_id, agent_id), index idx_pickup_model_pickup_type_model_id (pickup_type_model_id), index idx_pickup_model_pickup_type_agent_id (agent_id) ); ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------- PICKUP PRICE DB ------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_pickup_pricing_db.pickup_price_rule ( id int auto_increment, pickup_model_id int not null, name varchar(50) not null, /* pickup-scheduled-partner1-A-inr, pickup-same-day-partner1-C-inr, pickup-standard-partner1-E-inr, pickup-scheduled-partner2-B-inr, pickup-same-day-partner2-D-inr, pickup-standard-partner2-F-inr */ description varchar(100), per_unit_price float not null, price_currency varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_price_rule primary key (id), constraint uq_pickup_price_rule_pickup_model_id_pu_price_p_currency unique (pickup_model_id, per_unit_price, price_currency), constraint chk_pickup_price_rule_per_unit_price check (per_unit_price > 0), index idx_pickup_price_rule_pickup_model_id (pickup_model_id) ); create table if not exists lms_pickup_db.pickup_rate ( id int auto_increment, pickup_price_rule_id int not null, name varchar(50) not null, /* pickup-scheduled-partner1-A-inr-Q-km, pickup-same-day-partner1-C-inr-E-km, pickup-standard-partner1-E-inr-T-km, pickup-scheduled-partner2-B-inr-W-km, pickup-same-day-partner2-D-inr-R-km, pickup-standard-partner2-F-inr-Y-km */ description varchar(100), per_unit_distance float not null, distance_unit varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_rate primary key (id), constraint fk_pickup_rate_pickup_price_rule foreign key (pickup_price_rule_id) references lms_pickup_pricing_db.pickup_price_rule(id), constraint uq_pickup_rate_pickup_price_rule_id_pu_distance_du unique (pickup_price_rule_id, per_unit_distance, distance_unit), constraint chk_pickup_rate_per_unit_distance check (per_unit_distance > 0), index idx_pickup_rate_pickup_price_rule_id (pickup_price_rule_id) ); ----------------------------------------------------------------------------------------------------------------- --------------------------------------------------- PICKUP TRACKING DB ------------------------------------------ ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_pickup_tracking_db.pickup_status_lov ( id int auto_increment, name varchar(50) not null, -- pending, initiated, picked-up, aborted, completed, failed, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_status_lov primary key (id) ); create table if not exists lms_pickup_tracking_db.pickup_status_reason ( id int auto_increment, text varchar(255), -- other, reason 1, reason 2 pickup_status_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_status_reason primary key (id), constraint fk_pickup_status_reason_pickup_status_lov foreign key (pickup_status_lov_id) references lms_pickup_tracking_db.pickup_status_lov(id), index idx_pickup_status_reason_pickup_status_lov_id (pickup_status_lov_id) ); create table if not exists lms_pickup_tracking_db.pickup_detail ( id int auto_increment, order_number varchar(128) not null, pickup_rate_id int not null, distance float not null, distance_unit varchar(10) not null, successful_sw bigint, hold_sw bigint, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_detail primary key (id), constraint uq_pickup_detail_order_number_pickup_rate_id unique (order_number, pickup_rate_id), constraint chk_pickup_detail_distance check (distance > 0), index idx_pickup_detail_order_number (order_number), index idx_pickup_detail_pickup_rate_id (pickup_rate_id) ); create table if not exists lms_pickup_tracking_db.pickup_from_customer ( id int auto_increment, pickup_detail_id int not null, customer_id int not null, customer_address_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_from_customer primary key (id), constraint fk_pickup_from_customer_pickup_detail foreign key (pickup_detail_id) references lms_pickup_tracking_db.pickup_detail(id), constraint uq_pickup_from_customer_pickup_detail_id_c_id_ca_id unique (pickup_detail_id, customer_id, customer_address_id), index idx_pickup_from_customer_pickup_detail_id (pickup_detail_id), index idx_pickup_from_customer_customer_id (customer_id), index idx_pickup_from_customer_customer_address_id (customer_address_id) ); create table if not exists lms_pickup_tracking_db.pickup_to_partner ( id int auto_increment, pickup_detail_id int not null, partner_id int not null, partner_address_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_to_partner primary key (id), constraint fk_pickup_to_partner_pickup_detail foreign key (pickup_detail_id) references lms_pickup_tracking_db.pickup_detail(id), constraint uq_pickup_to_partner_pickup_detail_id_p_id_pa_id unique (pickup_detail_id, partner_id, partner_address_id), index idx_pickup_to_partner_pickup_detail_id (pickup_detail_id), index idx_pickup_to_partner_partner_id (partner_id), index idx_pickup_to_partner_partner_address_id (partner_address_id) ); create table if not exists lms_pickup_tracking_db.pickup_agent_assignment ( id int auto_increment, pickup_detail_id int not null, by_agent_id int not null, agent_job_reference_number varchar(128), agent_contact_person varchar(50) not null, agent_contact_phone_number varchar(50) not null, pin_hash varchar(128) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_agent_assignment primary key (id), constraint fk_pickup_agent_assignment_pickup_detail foreign key (pickup_detail_id) references lms_pickup_tracking_db.pickup_detail(id), constraint uq_pickup_agent_assignment_pickup_detail_id_by_agent_id unique (pickup_detail_id, by_agent_id), index idx_pickup_agent_assignment_pickup_detail_id (pickup_detail_id), index idx_pickup_agent_assignment_by_agent_id (by_agent_id) ); create table if not exists lms_pickup_tracking_db.pickup_schedule ( id int auto_increment, pickup_detail_id int not null, expected_from datetime not null, expected_to datetime not null, picked_up_at timestamp, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_schedule primary key (id), constraint fk_pickup_schedule_pickup_detail foreign key (pickup_detail_id) references lms_pickup_tracking_db.pickup_detail(id), constraint uq_pickup_schedule_expected_from_expected_to unique (pickup_detail_id, expected_from, expected_to), index idx_pickup_schedule_pickup_detail_id (pickup_detail_id) ); create table if not exists lms_pickup_tracking_db.pickup_transit_history ( id int auto_increment, pickup_detail_id int not null, pickup_status_lov_id int not null, pickup_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_transit_history primary key (id), constraint fk_pickup_transit_history_pickup_detail foreign key (pickup_detail_id) references lms_pickup_tracking_db.pickup_detail(id), constraint fk_pickup_transit_history_pickup_status_lov foreign key (pickup_status_lov_id) references lms_pickup_tracking_db.pickup_status_lov(id), constraint fk_pickup_transit_history_pickup_status_reason foreign key (pickup_status_reason_id) references lms_pickup_tracking_db.pickup_status_reason(id), index idx_pickup_transit_history_pickup_detail_id (pickup_detail_id), index idx_pickup_transit_history_pickup_status_lov_id (pickup_status_lov_id), index idx_pickup_transit_history_pickup_status_reason_id (pickup_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- DELIVERY DB -------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_delivery_db.delivery_model ( id int auto_increment, delivery_type_model_id int not null, agent_id int not null, /* delivery-scheduled-partner1, delivery-same-day-partner1, delivery-standard-partner1, delivery-scheduled-partner2, delivery-same-day-partner2, delivery-standard-partner2 */ created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_model primary key (id), constraint uq_delivery_model_delivery_type_model_id_agent_id unique (delivery_type_model_id, agent_id), index idx_delivery_model_delivery_type_model_id (delivery_type_model_id), index idx_delivery_model_delivery_type_agent_id (agent_id) ); ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------- DELIVERY PRICE DB ----------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_delivery_pricing_db.delivery_price_rule ( id int auto_increment, delivery_model_id int not null, name varchar(50) not null, /* delivery-scheduled-partner1-A-inr, delivery-same-day-partner1-C-inr, delivery-standard-partner1-E-inr, delivery-scheduled-partner2-B-inr, delivery-same-day-partner2-D-inr, delivery-standard-partner2-F-inr */ description varchar(100), per_unit_price float not null, price_currency varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_price_rule primary key (id), constraint uq_delivery_price_rule_delivery_model_id_pu_price_p_currency unique (delivery_model_id, per_unit_price, price_currency), constraint chk_delivery_price_rule_per_unit_price check (per_unit_price > 0), index idx_delivery_price_rule_delivery_model_id (delivery_model_id) ); create table if not exists lms_delivery_pricing_db.delivery_rate ( id int auto_increment, delivery_price_rule_id int not null, name varchar(50) not null, /* delivery-scheduled-partner1-A-inr-Q-km, delivery-same-day-partner1-C-inr-E-km, delivery-standard-partner1-E-inr-T-km, delivery-scheduled-partner2-B-inr-W-km, delivery-same-day-partner2-D-inr-R-km, delivery-standard-partner2-F-inr-Y-km */ description varchar(100), per_unit_distance float not null, distance_unit varchar(10) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_rate primary key (id), constraint fk_delivery_rate_delivery_price_rule foreign key (delivery_price_rule_id) references lms_delivery_pricing_db.delivery_price_rule(id), constraint uq_delivery_rate_delivery_price_rule_id_pu_distance_du unique (delivery_price_rule_id, per_unit_distance, distance_unit), constraint chk_delivery_rate_per_unit_distance check (per_unit_distance > 0), index idx_delivery_rate_delivery_price_rule_id (delivery_price_rule_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- DELIVERY TRACKING DB ----------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_delivery_tracking_db.delivery_status_lov ( id int auto_increment, name varchar(50) not null, -- pending, initiated, in-transit, completed, aborted, failure, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_status_lov primary key (id) ); create table if not exists lms_delivery_tracking_db.delivery_status_reason ( id int auto_increment, text varchar(255), -- other, reason 1, reason 2 delivery_status_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_status_reason primary key (id), constraint fk_delivery_status_reason_pickup_status_lov foreign key (delivery_status_lov_id) references lms_delivery_tracking_db.delivery_status_lov(id), index idx_delivery_status_reason_delivery_status_lov_id (delivery_status_lov_id) ); create table if not exists lms_delivery_tracking_db.delivery_detail ( id int auto_increment, order_number varchar(128) not null, delivery_rate_id int not null, distance float not null, distance_unit varchar(10) not null, successful_sw bigint, hold_sw bigint, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_detail primary key (id), constraint uq_delivery_detail_order_number_delivery_rate_id unique (order_number, delivery_rate_id), constraint chk_delivery_detail_distance check (distance > 0), index idx_delivery_detail_order_number (order_number), index idx_delivery_detail_delivery_rate_id (delivery_rate_id) ); create table if not exists lms_delivery_tracking_db.delivery_from_partner ( id int auto_increment, delivery_detail_id int not null, partner_id int not null, partner_address_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_pickup_from_partner primary key (id), constraint fk_pickup_from_partner_delivery_detail foreign key (delivery_detail_id) references lms_delivery_tracking_db.delivery_detail(id), constraint uq_pickup_from_partner_delivery_detail_id_p_id_pa_id unique (delivery_detail_id, partner_id, partner_address_id), index idx_pickup_from_partner_delivery_detail_id (delivery_detail_id), index idx_pickup_from_partner_partner_id (partner_id), index idx_pickup_from_partner_partner_address_id (partner_address_id) ); create table if not exists lms_delivery_tracking_db.deliver_to_customer ( id int auto_increment, delivery_detail_id int not null, customer_id int not null, customer_address_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_deliver_to_customer primary key (id), constraint fk_deliver_to_customer_delivery_detail foreign key (delivery_detail_id) references lms_delivery_tracking_db.delivery_detail(id), constraint uq_deliver_to_customer_delivery_detail_id_c_id_ca_id unique (delivery_detail_id, customer_id, customer_address_id), index idx_deliver_to_customer_delivery_detail_id (delivery_detail_id), index idx_deliver_to_customer_customer_id (customer_id), index idx_deliver_to_customer_customer_address_id (customer_address_id) ); create table if not exists lms_delivery_tracking_db.delivery_agent_assignment ( id int auto_increment, delivery_detail_id int not null, by_agent_id int not null, agent_job_reference_number varchar(128), agent_contact_person varchar(50) not null, agent_contact_phone_number varchar(50) not null, pin_hash varchar(128) not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_agent_assignment primary key (id), constraint fk_delivery_agent_assignment_delivery_detail foreign key (delivery_detail_id) references lms_delivery_tracking_db.delivery_detail(id), constraint uq_delivery_agent_assignment_delivery_detail_id_by_agent_id unique (delivery_detail_id, by_agent_id), index idx_delivery_agent_assignment_delivery_detail_id (delivery_detail_id), index idx_delivery_agent_assignment_by_agent_id (by_agent_id) ); create table if not exists lms_delivery_tracking_db.delivery_schedule ( id int auto_increment, delivery_detail_id int not null, expected_from datetime not null, expected_to datetime not null, delivered_at timestamp, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_schedule primary key (id), constraint fk_delivery_schedule_delivery_detail foreign key (delivery_detail_id) references lms_delivery_tracking_db.delivery_detail(id), constraint uq_delivery_schedule_expected_from_expected_to unique (delivery_detail_id, expected_from, expected_to), index idx_delivery_schedule_delivery_detail_id (delivery_detail_id) ); create table if not exists lms_delivery_tracking_db.delivery_transit_history ( id int auto_increment, delivery_detail_id int not null, delivery_status_lov_id int not null, delivery_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_delivery_transit_history primary key (id), constraint fk_delivery_transit_history_delivery_detail foreign key (delivery_detail_id) references lms_delivery_tracking_db.delivery_detail(id), constraint fk_delivery_transit_history_delivery_status_lov foreign key (delivery_status_lov_id) references lms_delivery_tracking_db.delivery_status_lov(id), constraint fk_delivery_transit_history_delivery_status_reason foreign key (delivery_status_reason_id) references lms_delivery_tracking_db.delivery_status_reason(id), index idx_delivery_transit_history_delivery_detail_id (delivery_detail_id), index idx_delivery_transit_history_delivery_status_lov_id (delivery_status_lov_id), index idx_delivery_transit_history_delivery_status_reason_id (delivery_status_reason_id) ); ----------------------------------------------------------------------------------------------------------------- ------------------------------------------------- ADJUSTMENT DB ------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- /* adjustment-discount, adjustment-deal, adjustment-subscription, adjustment-tax, adjustment-pickup, adjustment-delivery */ create table if not exists lms_adjustment_db.adjustment_model ( id int auto_increment, adjustment_type_model_id int not null, adjustment_nature enum('ADDITIVE', 'DEDUCTIVE') not null, name varchar(20) not null, -- adjustment-deductive-discount, adjustment-deductive-deal, adjustment-deductive-subscription, adjustment-additive-tax, adjustment-additive-pickup, adjustment-additive-delivery description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_adjustment_model primary key (id), constraint uq_adjustment_model_at_model_id_adjustment_nature unique (adjustment_type_model_id, adjustment_nature), index idx_adjustment_model_adjustment_type_model_id (adjustment_type_model_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- ORDER DB ----------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_order_db.order_status_lov ( id int auto_increment, name varchar(20) not null, -- new, processing, ready, completed, cancelled, failed, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_status_lov primary key (id) ); create table if not exists lms_order_db.order_status_reason ( id int auto_increment, text varchar(255), -- other, reason 1, reason 2 order_status_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_status_reason primary key (id), constraint fk_order_status_reason_order_status_lov foreign key (order_status_lov_id) references lms_order_db.order_status_lov(id), index idx_order_status_reason_order_status_lov_id (order_status_lov_id) ); create table if not exists lms_order_db.order_header ( id int auto_increment, user_id int not null, enterprise_id int not null, number varchar(128) not null, opened_on timestamp, closed_on timestamp, comment varchar(255), sub_total float not null, total_deductions float default 0, total_additives float default 0, currency varchar(10) not null, payment_sw bigint default 0, hold_sw bigint default 0, self_pickup_sw bigint default 1, self_deliver_sw bigint default 1, created_on timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_header primary key (id), constraint uq_order_header_user_id_enterprise_id_number unique (user_id, enterprise_id, number), constraint chk_order_header_sub_total check (sub_total >= 0), constraint chk_order_header_total_deductions check (total_deductions >= 0), constraint chk_order_header_total_additives check (total_additives >= 0), index idx_order_header_user_id (user_id), index idx_order_header_enterprise_id (enterprise_id), index idx_order_header_number (number) ); /* adjustment-deductive-discount, adjustment-deductive-deal, adjustment-deductive-subscription, adjustment-additive-tax, adjustment-additive-pickup, adjustment-additive-delivery */ create table if not exists lms_order_db.order_adjustment_deduction ( id int auto_increment, order_header_id int not null, adjustment_model_id int not null, deduction_name varchar(50) not null, deducted_amount float not null, created_on timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_adjustment_deduction primary key (id), constraint fk_order_adjustment_deduction_order_header foreign key (order_header_id) references lms_order_db.order_header(id), constraint chk_order_adjustment_deduction_deducted_amount check (deducted_amount >= 0), constraint uq_order_adjustment_deduction_oh_am_id_deduction_name unique (order_header_id, adjustment_model_id, deduction_name), index idx_order_adjustment_deduction_order_header_id (order_header_id), index idx_order_adjustment_deduction_adjustment_model_id (adjustment_model_id), index idx_order_adjustment_deduction_deduction_name (deduction_name) ); create table if not exists lms_order_db.order_adjustment_addition ( id int auto_increment, order_header_id int not null, adjustment_model_id int not null, addition_name varchar(50) not null, added_amount float not null, created_on timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_adjustment_addition primary key (id), constraint fk_order_adjustment_addition_order_header foreign key (order_header_id) references lms_order_db.order_header(id), constraint chk_order_adjustment_addition_added_amount check (added_amount >= 0), constraint uq_order_adjustment_addition_oh_am_id_addition_name unique (order_header_id, adjustment_model_id, addition_name), index idx_order_adjustment_addition_order_header_id (order_header_id), index idx_order_adjustment_addition_adjustment_model_id (adjustment_model_id), index idx_order_adjustment_addition_adjustment_name (addition_name) ); create table if not exists lms_order_db.order_status_history ( id int auto_increment, order_header_id int not null, order_status_lov_id int not null, order_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_status_history primary key (id), constraint fk_order_status_history_order_header foreign key (order_header_id) references lms_order_db.order_header(id), constraint fk_order_status_history_order_status_lov foreign key (order_status_lov_id) references lms_order_db.order_status_lov(id), constraint fk_order_status_history_order_status_reason foreign key (order_status_reason_id) references lms_order_db.order_status_reason(id), index idx_order_status_history_order_header_id (order_header_id), index idx_order_status_history_order_status_lov_id (order_status_lov_id), index idx_order_status_history_order_status_reason_id (order_status_reason_id) ); create table if not exists lms_order_db.order_line ( id int auto_increment, order_header_id int not null, lanudry_type_model_id int not null, sequence int not null, comment varchar(255), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_line primary key (id), constraint fk_order_line_order_header foreign key (order_header_id) references lms_order_db.order_header(id), constraint uq_order_line_order_header_id_lt_model_id_sequence unique (order_header_id, lanudry_type_model_id, sequence), constraint chk_order_line_sequence check (sequence > 0), index idx_order_line_order_header_id (order_header_id), index idx_order_line_lanudry_type_model_id (lanudry_type_model_id) ); create table if not exists lms_order_db.order_line_detail ( id int auto_increment, order_line_id int not null, clothing_item_id int not null, sequence int not null, quantity float not null, rate float not null, -- quanity per unit / price per unit, instruction varchar(255), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_order_line_detail primary key (id), constraint fk_order_line_detail_order_line foreign key (order_line_id) references lms_order_db.order_line(id), constraint uq_order_line_detail_ol_id_ci_id_sequence unique (order_line_id, clothing_item_id, sequence), constraint chk_order_line_detail_sequence check (sequence > 0), constraint chk_order_line_detail_quantity check (quantity > 0), constraint chk_order_line_detail_rate check (rate > 0), index idx_order_line_detail_order_line_id (order_line_id), index idx_order_line_detail_clothing_item_id (clothing_item_id) ); ----------------------------------------------------------------------------------------------------------------- -------------------------------------------------- TRANSACTION DB --------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- create table if not exists lms_transaction_db.transaction_status_lov ( id int auto_increment, name varchar(50) not null, -- new, in-progress, finished, aborted, failure, hold description varchar(100), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_transaction_status_lov primary key (id) ); create table if not exists lms_transaction_db.transaction_status_reason ( id int auto_increment, text varchar(255), -- other, reason 1, reason 2 transaction_status_lov_id int not null, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_transaction_status_reason primary key (id), constraint fk_transaction_status_reason_transaction_status_lov foreign key (transaction_status_lov_id) references lms_transaction_db.transaction_status_lov(id), index idx_transaction_status_reason_transaction_status_lov_id (transaction_status_lov_id) ); create table if not exists lms_transaction_db.transaction_detail ( id int auto_increment, payment_type_model_id int not null, order_number int not null, number varchar(128) not null, payment_reference_number varchar(128), amount float not null, currency varchar(10) not null, started_on timestamp not null, finished_on timestamp, payment_sw bigint default 0, successful_sw bigint default 0, hold_sw bigint default 0, created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_transaction_detail primary key (id), constraint uq_transaction_detail_pt_model_id_on_number unique (payment_type_model_id, order_number, number), constraint chk_transaction_detail_amount check (amount > 0), index idx_transaction_detail_payment_type_model_id (payment_type_model_id), index idx_transaction_detail_order_number (order_number), index idx_transaction_detail_number (number) ); create table if not exists lms_transaction_db.transaction_movement_history ( id int auto_increment, transaction_detail_id int not null, transaction_status_lov_id int not null, transaction_status_reason_id int not null, additional_reason varchar(128), created_on timestamp default current_timestamp, created_by int not null, modified_on timestamp default current_timestamp, modified_by int, active_sw bigint default 1, version int default 0, constraint pk_transaction_movement_history primary key (id), constraint fk_transaction_movement_history_transaction_detail foreign key (transaction_detail_id) references lms_transaction_db.transaction_detail(id), constraint fk_transaction_movement_history_ts_lov foreign key (transaction_status_lov_id) references lms_transaction_db.transaction_status_lov(id), constraint fk_transaction_movement_history_ts_reason foreign key (transaction_status_reason_id) references lms_transaction_db.transaction_status_reason(id), index idx_transaction_movement_history_transaction_detail_id (transaction_detail_id), index idx_transaction_movement_history_ts_lov_id (transaction_status_lov_id), index idx_transaction_movement_history_ts_reason_id (transaction_status_reason_id) );
SELECT MIN(ABS(p1.x-p2.x)) AS shortest FROM point p1, point p2 WHERE p1.x!=p2.x;
#create a table named Products CREATE TABLE Products ( prod_id CHAR(10) NOT NULL, vend_id CHAR(10) NOT NULL, prod_name CHAR(254) NOT NULL, prod_price DECIMAL(8, 2) NOT NULL, prod_desc VARCHAR(1000) NULL ); #create a table named Orders CREATE TABLE Orders ( order_num INTEGER NOT NULL, order_data DATETIME NOT NULL, cust_id CHAR(10) NOT NULL ); #create a table named Vendors CREATE TABLE Vendors ( vend_id CHAR(10) NOT NULL, vend_name CHAR(50) NOT NULL, vend_address CHAR(50) , vend_city CHAR(50) , vend_state CHAR(5) , vend_zip CHAR(10) , vend_country CHAR(50) ); #create a table named OrderItems CREATE TABLE OrderItems ( order_num INTEGER NOT NULL, order_item INTEGER NOT NULL, prod_id CHAR(10) NOT NULL, quality INTEGER NOT NULL DEFAULT 1, item_price DECIMAL(8, 2) NOT NULL );OrderItems
/*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; /*Table structure for table `users` */ DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `password` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `status` tinyint(1) DEFAULT '0', `avatar` varchar(255) DEFAULT NULL, `verif_token` varchar(255) DEFAULT NULL, `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NULL DEFAULT NULL, `deleted_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; /*Data for the table `users` */ insert into `users`(`id`,`name`,`password`,`email`,`status`,`avatar`,`verif_token`,`created_at`,`updated_at`,`deleted_at`) values (1,'rizuki','$2a$10$RRqAQNFwYWjKgXF9KrWv0uWRo.HHhLLw5Hyf6M76n/ScLJ4A5KgCi','rizukiichirou@gmail.com',1,NULL,NULL,'2021-08-07 23:13:53',NULL,NULL); /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- phpMyAdmin SQL Dump -- version 5.1.1 -- https://www.phpmyadmin.net/ -- -- Hôte : localhost -- Généré le : mar. 13 juil. 2021 à 04:42 -- Version du serveur : 10.4.19-MariaDB -- Version de PHP : 8.0.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de données : `mycms` -- -- -------------------------------------------------------- -- -- Structure de la table `article` -- CREATE TABLE `article` ( `Art_intitule` varchar(20) NOT NULL, `Art_lien` varchar(50) NOT NULL, `Login` varchar(25) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Structure de la table `cours` -- CREATE TABLE `cours` ( `Cintitule` varchar(100) NOT NULL, `Cdescription` varchar(255) NOT NULL, `Crepertoire` varchar(200) NOT NULL, `Login` varchar(25) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Structure de la table `cv` -- CREATE TABLE `cv` ( `cv_repertoire` varchar(100) NOT NULL, `Login` varchar(20) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Structure de la table `image` -- CREATE TABLE `image` ( `Imnom` varchar(100) NOT NULL, `Imtype` varchar(20) NOT NULL, `Login` varchar(25) NOT NULL, `Imrepertoire` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Structure de la table `utilisateur` -- CREATE TABLE `utilisateur` ( `Login` varchar(25) NOT NULL, `Nom` varchar(40) NOT NULL, `Prenom` varchar(25) NOT NULL, `Mdp` varchar(100) NOT NULL, `Email` varchar(255) DEFAULT NULL, `Description` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Index pour les tables déchargées -- -- -- Index pour la table `article` -- ALTER TABLE `article` ADD PRIMARY KEY (`Art_intitule`), ADD KEY `INDEX` (`Login`); -- -- Index pour la table `cours` -- ALTER TABLE `cours` ADD PRIMARY KEY (`Cintitule`), ADD KEY `IDEX` (`Login`); -- -- Index pour la table `cv` -- ALTER TABLE `cv` ADD PRIMARY KEY (`cv_repertoire`), ADD KEY `Login` (`Login`); -- -- Index pour la table `image` -- ALTER TABLE `image` ADD PRIMARY KEY (`Imnom`), ADD KEY `INDEX` (`Login`); -- -- Index pour la table `utilisateur` -- ALTER TABLE `utilisateur` ADD PRIMARY KEY (`Login`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
.system echo "Inside script <create_customer_orders_products.sql>" .system echo "Dropping then creating Customer_orders_products.sql" DROP TABLE IF EXISTS Customers_Orders_Products; CREATE TABLE Customers_Orders_Products( order_id INT, product_id INT, quantity INT );
if OBJECT_ID('productosvendidos') is not null drop table productosvendidos; create table productosvendidos( id_productos_vendidos int identity, id_producto int, id_venta varchar(25), costo_venta money primary key(id_producto, id_venta, id_productos_vendidos) --foreign key (id_producto) references producto(id_producto) --on update cascade --on delete cascade, --foreign key (id_venta) references ventas(id_venta) --on update cascade --on delete cascade );
DROP TABLE Booking CASCADE CONSTRAINTS; DROP TABLE Room CASCADE CONSTRAINTS; DROP TABLE Guest CASCADE CONSTRAINTS; DROP TABLE Hotel CASCADE CONSTRAINTS; create table Hotel ( HOTELNO varchar2 (10), HOTELNAME varchar2 (30), CITY varchar2 (30), PRIMARY KEY (HOTELNO) ); create table Room ( ROOMNO number (10), HOTELNO varchar2 (10), TYPE varchar2 (20), PRICE number (10,2), PRIMARY KEY (ROOMNO, HOTELNO), FOREIGN KEY (HOTELNO) REFERENCES Hotel ); create table Guest ( GUESTNO number (10), GUESTNAME varchar2 (50), ADDRESS varchar2 (50), PRIMARY KEY (GUESTNO) ); create table Booking ( HOTELNO varchar2 (10), GUESTNO number (10), CHECKINDATE DATE, CHECKOUTDATE DATE, ROOMNO number(10), PRIMARY KEY (HOTELNO,GUESTNO,CHECKINDATE), FOREIGN KEY (ROOMNO, HOTELNO) REFERENCES Room, FOREIGN KEY (GUESTNO) REFERENCES Guest ); INSERT INTO Hotel (HOTELNO, HOTELNAME, CITY) VALUES ('fb01','Grosvenor','London'); INSERT INTO Hotel (HOTELNO, HOTELNAME, CITY) VALUES ('fb02','Watergate','Paris'); INSERT INTO Hotel (HOTELNO, HOTELNAME, CITY) VALUES ('ch01','Omni Shoreham','London'); INSERT INTO Hotel (HOTELNO, HOTELNAME, CITY) VALUES ('ch02','Phoenix Park','London'); INSERT INTO Hotel (HOTELNO, HOTELNAME, CITY) VALUES ('dc01','Latham','Berlin'); Insert into Room values(501, 'fb01', 'single', 19); Insert into Room values(601, 'fb01', 'double', 29); Insert into Room values(701, 'fb01', 'family', 39); Insert into Room values(1001, 'fb02', 'single', 58); Insert into Room values(1101, 'fb02', 'double', 86); Insert into Room values(1001, 'ch01', 'single', 29.99); Insert into Room values(1101, 'ch01', 'family', 59.99); Insert into Room values(701, 'ch02', 'single', 10); Insert into Room values(801, 'ch02', 'double', 15); Insert into Room values(901, 'dc01', 'single', 18); Insert into Room values(1001, 'dc01', 'double', 30); Insert into Room values(1101, 'dc01', 'family', 35); Insert into Guest values(10001, 'John Kay', '56 High St, London'); Insert into Guest values(10002, 'Mike Ritchie', '18 Tain St, London'); Insert into Guest values(10003, 'Mary Tregear', '5 Tarbot Rd, Aberdeen'); Insert into Guest values(10004, 'Joe Keogh', '2 Fergus Dr, Aberdeen'); Insert into Guest values(10005, 'Carol Farrel', '6 Achray St, Glasgow'); Insert into Guest values(10006, 'Tina Murphy', '63 Well St, Glasgow'); Insert into Guest values(10007, 'Tony Shaw', '12 Park Pl, Glasgow'); Insert into Booking values('fb01', 10001, '1-Apr-2014', '8-Apr-2014', 501); Insert into Booking values('fb01', 10004, '15-Apr-2015', '16-Apr-2015', 601); Insert into Booking values('fb02', 10003, '13-May-2016', '15-May-2016', 1001); Insert into Booking values('fb02', 10005, '19-Oct-2016', '24-Oct-2016', 1101); Insert into Booking values('ch01', 10006, '06-Jan-2017', '', 1101); Insert into Booking values('ch02', 10002, '07-Feb-2016', '01-May-2016', 801); Insert into Booking values('dc01', 10003, '12-Mar-2017', '', 1001); select * from hotel; select * from hotel where City = 'Paris' or City = 'Berlin'; select g.guestname, g.address from Guest g where g.address like '%Glas%' order by 1; select * from Room r where (r.type = 'double' or r.type = 'family') and r.price < 40 order by r.price asc; select * from booking b where b.checkoutdate is null; update room set price = 45 where roomno = '1101' and hotelno = 'dc01'; update booking set checkoutdate = '07-April-17' where guestno = '10006'; delete from guest where guestno = '10007'; insert into booking values ('fb01', '10007', '10-April-17'); alter table hotel add Website varchar2 (30); update Hotel set website = 'www.Grosvenor.co.uk' where hotelno = 'fb01'; update Hotel set website = 'www.WaterGate.fr' where hotelno = 'fb02'; update Hotel set website = 'www.Omni-Shoreham.co.uk' where hotelno = 'ch01'; update Hotel set website = 'www.PhoenixPark.co.uk' where hotelno = 'ch02'; update Hotel set website = 'www.Latham.de' where hotelno = 'dc01'; select * from hotel; select * from room r where r.price = (select min(r.price) from room r); select * from room r where r.price = (select max(r.price) from room r); select count (*) from room; delete from hotel where city = 'Berlin'; delete from room where roomno = '1101' and hotelno = 'fb02';
CREATE TABLE users ( user_pk serial primary key, username varchar(16), password varchar(64), active boolean DEFAULT TRUE ); /* Chose to also have a numeric primary key because serial makes it really easy to do that and chose the password length as 64 because longer is generally better with passwords -- sure, they're stored in plaintext, but at least they can be longer and therefore harder to guess */ CREATE TABLE roles ( role_pk serial primary key, role_name varchar(32) ); INSERT INTO roles (role_name) VALUES ('Logistics Officer'); INSERT INTO roles (role_name) VALUES ('Facilities Officer'); CREATE TABLE user_is ( role_fk integer REFERENCES roles (role_pk), user_fk integer REFERENCES users (user_pk) ); /* I am using a user_is table -- a many-to-many relation -- to represent my roles. I am doing this because it is the best future-proofing option in my opinion. */ CREATE TABLE assets ( asset_pk serial primary key, asset_tag varchar(16), description text, intake_dt timestamp, disposed_dt timestamp DEFAULT NULL ); /* The assets table now stores intake date as well as disposed date -- this makes for easier exporting of data */ CREATE TABLE facilities ( facility_pk serial primary key, facility_common_name varchar(32), facility_fcode varchar(6) ); CREATE TABLE asset_at ( asset_fk integer REFERENCES assets (asset_pk), facility_fk integer REFERENCES facilities (facility_pk), arrive_dt timestamp, depart_dt timestamp ); /* I am using an asset_at table for history purposes. This could get very large if there is a lot of movement of assets going on, but I think that is an acceptable issue for this point in the project. */ CREATE TABLE transfer_requests ( request_pk serial primary key, requester_fk integer REFERENCES users (user_pk), request_dt timestamp, source_fk integer REFERENCES facilities (facility_pk), dest_fk integer REFERENCES facilities (facility_pk), asset_fk integer REFERENCES assets (asset_pk), approver_fk integer REFERENCES users (user_pk), approval_dt timestamp ); /* Minimal implementation here, apart from the request_pk unique identifier. */ CREATE TABLE transfers ( asset_fk integer REFERENCES assets (asset_pk), request_fk integer REFERENCES transfer_requests (request_pk), load_dt timestamp, unload_dt timestamp ); /* Here I decided to relate the transfers table to the requests table so the source_fk and dest_fk are there instead of here. */
CREATE ROLE [PASComplianceFinances]
select city, count(*) as n_records from test_dbt.public.stg_customers where city is not null group by city having count(*) > 1
PRAGMA foreign_keys = TRUE ; CREATE TABLE IF NOT EXISTS main ( id VARCHAR(40) PRIMARY KEY, stype VARCHAR(10) NOT NULL ); CREATE TABLE IF NOT EXISTS fields ( id VARCHAR(40), value TEXT, FOREIGN KEY (id) REFERENCES main(id) ON DELETE CASCADE, PRIMARY KEY (id) ); CREATE TABLE IF NOT EXISTS arrays ( id VARCHAR(40) NOT NULL, idx INTEGER NOT NULL, value TEXT, FOREIGN KEY (id) REFERENCES main(id) ON DELETE CASCADE, PRIMARY KEY (id, idx) ); CREATE TABLE IF NOT EXISTS waves ( id VARCHAR(40) NOT NULL, plotname VARCHAR(40) NOT NULL, idx INTEGER NOT NULL, value TEXT, FOREIGN KEY (id) REFERENCES main(id) ON DELETE CASCADE, PRIMARY KEY (id, plotname, idx) ); CREATE TABLE IF NOT EXISTS lambdas ( id VARCHAR(40) NOT NULL, rettype VARCHAR(10) NOT NULL, value TEXT NOT NULL, FOREIGN KEY (id) REFERENCES main(id) ON DELETE CASCADE, PRIMARY KEY (id) );
INSERT INTO product (id,description) VALUES (1, 'Cesna 120'), (2, 'DC-6 Twin Otter'), (3, 'Piper M600'), (4, 'Art Boom 6500');
CREATE TABLE IF NOT EXISTS `av` ( `av_id` BIGINT(20) unsigned NOT NULL, `time` VARCHAR(60), `mid` BIGINT(24) unsigned, `duration` BIGINT(30) unsigned, PRIMARY KEY(`av_id`) ) ENGINE = InnoDB DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `detail` ( `t_id` BIGINT(30) unsigned not null auto_increment, `av_id` BIGINT(20) unsigned not null, `view` BIGINT(24) unsigned, `danmaku` BIGINT(20) unsigned, `favorite` BIGINT(20) unsigned, `coin` BIGINT(24) unsigned, `share` BIGINT(20) unsigned, `now_rank` BIGINT(20) unsigned, `his_rank` BIGINT(20) unsigned, PRIMARY KEY(`t_id`), foreign key(`av_id`) references av(`av_id`) ) ENGINE = InnoDB DEFAULT CHARSET=utf8; alter table detail add index av_id(av_id); alter table detail add index view(view); alter table detail add index danmaku(danmaku); alter table detail add index now_rank(now_rank); alter table detail add index his_rank(his_rank); alter table detail add index coin(coin); alter table detail add index favorite(favorite); alter table detail add index share(share); alter table av add index av_id(av_id);
CREATE procedure sp_ser_dropcategoryitems(@PersonnelID nvarchar(50), @Productcode nvarchar(4000),@Mode Int) as If @Mode =1 Begin Create Table #TempPersonnelItems (Itemcode nvarchar(15) null) Insert #TempPersonnelItems(Itemcode) exec sp_ser_SqlSplit @Productcode ,',' Delete Personnel_Item_Category Where PersonnelID = @PersonnelID and Product_Code not in (select Itemcode from #TempPersonnelItems) drop table #TempPersonnelItems End Else if @Mode =2 Begin Delete Personnel_Item_Category Where PersonnelID = @PersonnelID End
--Get First and second name for a single student select SPR_FNM1,SPR_SURN from INS_SPR where SPR_CODE='50200036'
-- phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Client : 127.0.0.1 -- Généré le : Lun 22 Juin 2015 à 15:10 -- Version du serveur : 5.6.17 -- Version de PHP : 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de données : `coaching` -- -- -------------------------------------------------------- -- -- Structure de la table `coaching` -- CREATE TABLE IF NOT EXISTS `coaching` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `teacher_id` bigint(20) NOT NULL, `student_id` bigint(20) NOT NULL, `start_date` date NOT NULL, `end_date` date NOT NULL, `status` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `comment` -- CREATE TABLE IF NOT EXISTS `comment` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `author_id` bigint(20) NOT NULL, `receptor_id` bigint(20) NOT NULL, `coaching_id` bigint(20) NOT NULL, `grade` int(11) NOT NULL, `content` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `message` -- CREATE TABLE IF NOT EXISTS `message` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `author_id` bigint(20) NOT NULL, `thread_id` bigint(20) NOT NULL, `content` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `thread` -- CREATE TABLE IF NOT EXISTS `thread` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `creator_id` bigint(20) NOT NULL, `interlocutor_id` bigint(20) NOT NULL, `subject` varchar(100) DEFAULT NULL, `date` datetime NOT NULL, `coaching_id` bigint(20) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `username` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `email` varchar(50) NOT NULL, `idriot` varchar(50) NOT NULL, `skype` varchar(50) DEFAULT NULL, `mumble` varchar(50) DEFAULT NULL, `twitter` varchar(50) DEFAULT NULL, `teamspeak` varchar(50) DEFAULT NULL, `twitch` varchar(50) DEFAULT NULL, `league` varchar(50) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `username` (`username`,`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
create table shopUser ( id bigint unsigned auto_increment primary key, login varchar(15) unique, password varchar(65), name varchar(15), role enum('USER', 'ADMINISTRATOR'), active boolean default true ); create table tag ( id bigint unsigned auto_increment primary key, name varchar(15) unique, active boolean default true); create table certificate ( id bigint unsigned auto_increment primary key, name varchar(15), description varchar(255), price decimal(6,2), create_date timestamp(3), update_date timestamp(3), duration int, active boolean default true); create table purchase ( id bigint unsigned auto_increment primary key, user_id bigint unsigned, certificate_id bigint unsigned, price decimal(6,2), buyTime timestamp(3), foreign key(user_id) references shopUser(id), foreign key(certificate_id) references certificate(id) ); create table assign ( certificate_id bigint unsigned, tag_id bigint unsigned, foreign key (tag_id) references tag (id) on delete cascade, foreign key (certificate_id) references certificate (id) on delete cascade, unique key (tag_id, certificate_id) );
CREATE TABLE board( no int AUTO_INCREMENT, title varchar(100), content varchar(500), author varchar(100), nal varchar(10), readCount int(3), primary key(no) ) insert into BOARD(title,content,author,nal,readCount) values('Á¦¸ñ1','³»¿ë1','kh','2020.11.12',0) select no,title,content,author,nal,readCount from board drop table board
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1:3306 -- Время создания: Дек 06 2020 г., 13:41 -- Версия сервера: 5.6.47 -- Версия PHP: 7.2.29 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- База данных: `tlight` -- -- -------------------------------------------------------- -- -- Структура таблицы `logs` -- CREATE TABLE `logs` ( `id` int(11) NOT NULL, `time` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `imgUrl` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Дамп данных таблицы `logs` -- INSERT INTO `logs` (`id`, `time`, `imgUrl`, `title`) VALUES (20, '2020-12-06 12:14:23', '/web/uploads/2020-12-06-14.14.09.jpg', '2020-12-06 12:14:23'); -- -------------------------------------------------------- -- -- Структура таблицы `user` -- CREATE TABLE `user` ( `id` int(11) NOT NULL, `name` text COLLATE utf8_unicode_ci NOT NULL, `surname` text COLLATE utf8_unicode_ci NOT NULL, `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `auth_key` varchar(255) CHARACTER SET utf8 NOT NULL, `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `role` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` smallint(6) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Дамп данных таблицы `user` -- INSERT INTO `user` (`id`, `name`, `surname`, `username`, `auth_key`, `password`, `role`, `token`, `email`, `status`) VALUES (2, 'Uktam', 'Kasimov', 'seller', '3LY8XzuiuenTEU2xwsuMYfGOnZqFbYJP', '$2y$13$4WGc4dwkyy0tKMFoQGqlwOgxofHF1Yw2/z4.zDoxpSPN1sOdpvm3G', 'seller', '', 'ukasimov@yandex.ru', 1), (12, 'Anvar', 'Abdullajonov', 'mr.anvar', 'VL9ckLRfy8aNLQ8JHlVMX1OEam4jVHCA', '$2y$13$xs5mLlv1xi/kdtb9VRu4IOk7T1keYlggfFi4DjGc8eFQZDvuZ0s9G', 'admin', '185f12a8d837e376cc5ba1d5684a14b0ce43110e', 'anvar0142@yandex.ru', 1), (41, 'Abror', 'Mirzayev', 'abror', '', '$2y$13$f1beVv6m05AtKIQLsoVArO2ZjnVBi9MHmd/n4hPgHKFP3vf4GVZpO', 'customer', '80ded2ff226b2339d23ad48f66c3f059d8b818d8', 'acodeuz@gmail.com', 1); -- -- Индексы сохранённых таблиц -- -- -- Индексы таблицы `logs` -- ALTER TABLE `logs` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `username` (`username`), ADD UNIQUE KEY `email` (`email`), ADD UNIQUE KEY `password_reset_token` (`token`); -- -- AUTO_INCREMENT для сохранённых таблиц -- -- -- AUTO_INCREMENT для таблицы `logs` -- ALTER TABLE `logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; -- -- AUTO_INCREMENT для таблицы `user` -- ALTER TABLE `user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE DATABASE papelaria; use papelaria; CREATE TABLE `produtos` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nome` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `codigo_barra` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `descricao` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `categoria` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `quantidade` int(11) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` datetime default current_timestamp, `updated_at` datetime default current_timestamp, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- SPDX-License-Identifier: Apache-2.0 -- Copyright Contributors to the ODPi Egeria project. create database "EmployeeDatabase" Encoding 'UTF8'; \c "EmployeeDatabase" ; drop table IF EXISTS "Dept" ; CREATE TABLE "Dept" ( "DEPCODE" INT NOT NULL, "DEPNAME" VARCHAR(40) NOT NULL, "MANAGER" INT ) ; \copy "Dept" from '../EmployeeDatabase-Dept.csv' csv header DELIMITER ';' ;
INSERT INTO paciente VALUES (NULL,'Paciente 1','gramos'); INSERT INTO paciente VALUES (NULL,'Paciente 2','gramos'); INSERT INTO paciente VALUES (NULL,'Paciente 3','gramos'); INSERT INTO paciente VALUES (NULL,'Paciente 4','gramos'); INSERT INTO paciente VALUES (NULL,'Paciente 5','gramos'); INSERT INTO paciente VALUES (NULL,'Paciente 6','gramos');
#average monthly departure delay SELECT MONTH, AVG(DEP_DELAY) AS AVG_DELAY FROM airline GROUP BY MONTH ORDER BY MONTH;
--蒲勇军 --2013-02-26 18:12:24 --删除多余菜单 DELETE FROM BT_SYS_RES WHERE RES_NAME = '预警策略查询' AND SYS_CODE = 'fwg' AND RES_CODE NOT IN (SELECT MAX(RES_CODE) FROM BT_SYS_RES WHERE RES_NAME = '预警策略查询' AND SYS_CODE = 'fwg' ) ; COMMIT;
-- How can you produce a list of the start times for bookings for tennis courts, for the date '2012-09-21'? Return a list of start time and facility name pairings, ordered by the time. select book.starttime as start, fac.name from cd.bookings book inner join cd.facilities fac on book.facid = fac.facid where book.starttime >= '2012-09-21' and book.starttime < '2012-09-22' and fac.name like '%Tennis Court%' order by book.starttime select bks.starttime as start, facs.name as name from cd.facilities facs inner join cd.bookings bks on facs.facid = bks.facid where facs.facid in (0,1) and bks.starttime >= '2012-09-21' and bks.starttime < '2012-09-22' order by bks.starttime;
SELECT count(*) as number_fo_employees FROM employees
-- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Apr 09, 2017 at 03:13 PM -- Server version: 10.1.21-MariaDB -- PHP Version: 5.6.30 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `studyinsane` -- -- -------------------------------------------------------- -- -- Table structure for table `adsentry` -- CREATE TABLE `adsentry` ( `adtitle` varchar(100) NOT NULL, `uid` varchar(40) NOT NULL, `price` int(10) NOT NULL, `description` varchar(250) NOT NULL, `category` varchar(30) NOT NULL DEFAULT 'Others', `ad_no` int(11) NOT NULL, `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `views` int(11) NOT NULL DEFAULT '0', `status` tinyint(1) NOT NULL DEFAULT '1' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `adsentry` -- INSERT INTO `adsentry` (`adtitle`, `uid`, `price`, `description`, `category`, `ad_no`, `time`, `views`, `status`) VALUES ('kumbhojkar', 'iamdheerajjha@gmail.com', 42, 'asdffas', 'Calculator', 10, '2017-04-09 13:08:32', 0, 1), ('kumbhojkar', 'iamdheerajjha@gmail.com', 42, 'asdffas', 'Calculator', 11, '2017-04-09 13:08:48', 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `ad_count` -- CREATE TABLE `ad_count` ( `ad_count` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `ad_count` -- INSERT INTO `ad_count` (`ad_count`) VALUES (12); -- -------------------------------------------------------- -- -- Table structure for table `category` -- CREATE TABLE `category` ( `category` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `category` -- INSERT INTO `category` (`category`) VALUES ('Calculator'), ('Engineering Drawing Tools'), ('Workshop Tools'), ('Books'), ('Others'); -- -------------------------------------------------------- -- -- Table structure for table `college` -- CREATE TABLE `college` ( `college` varchar(40) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `college` -- INSERT INTO `college` (`college`) VALUES ('SPIT'), (''), ('RGIT'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `uid` varchar(100) NOT NULL, `name` varchar(100) NOT NULL, `pass` varchar(20) NOT NULL, `ph` varchar(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`uid`, `name`, `pass`, `ph`) VALUES ('iamdheerajjha@gmail.com', 'baba', 'password', '8655348450'); -- -- Indexes for dumped tables -- -- -- Indexes for table `adsentry` -- ALTER TABLE `adsentry` ADD UNIQUE KEY `ad_no` (`ad_no`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jun 08, 2019 at 05:51 PM -- Server version: 10.1.38-MariaDB -- PHP Version: 7.3.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `pizzaapp` -- CREATE DATABASE IF NOT EXISTS `pizzaapp` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; USE `pizzaapp`; -- -------------------------------------------------------- -- -- Table structure for table `pizzas` -- CREATE TABLE `pizzas` ( `id` int(11) NOT NULL, `title` varchar(50) NOT NULL, `ingredients` varchar(100) NOT NULL, `email` varchar(50) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `pizzas` -- INSERT INTO `pizzas` (`id`, `title`, `ingredients`, `email`, `created_at`) VALUES (1, 'Capricciosa', 'mozzarella cheese, Italian baked ham, mushroom, artichoke, tomato', 'email@email.com', '2019-06-08 15:47:20'), (2, 'Margherita', 'San Marzano tomatoes, mozzarella cheese, fresh basil, salt, olive oil', 'test@gmail.com', '2019-06-08 15:48:38'); -- -- Indexes for dumped tables -- -- -- Indexes for table `pizzas` -- ALTER TABLE `pizzas` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `pizzas` -- ALTER TABLE `pizzas` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE TABLE IF NOT EXISTS `logs` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `time` int(10) unsigned NOT NULL, `level` int(11) NOT NULL, `body` text NOT NULL, `trace` text NOT NULL, `file` varchar(255) NOT NULL, `line` int(10) unsigned NOT NULL, `class` varchar(255) NOT NULL, `function` varchar(255) DEFAULT NULL, `additional` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET NAMES utf8; INSERT INTO `base_user` (`id`, `username`, `username_canonical`, `email`, `email_canonical`, `enabled`, `salt`, `password`, `last_login`, `locked`, `expired`, `expires_at`, `confirmation_token`, `password_requested_at`, `roles`, `credentials_expired`, `credentials_expire_at`, `firstname`, `lastname`, `gender`, `country`, `path`, `discr`) VALUES (1, 'admin.studywork@studywork.fr', 'admin.studywork@studywork.fr', 'admin.studywork@studywork.fr', 'admin.studywork@studywork.fr', 1, 'd8wp0vvvwoow0kssccsw8ksko0cgcgs', '+RWb8JJRkKNHe7LiQNPMjdnh8DOBvGZ2ebDGrUaczMJV6znskVPzSxsL68dTheb84N0+bQs4UM3g7FXOVULZGw==', '2013-11-27 10:01:11', 0, 0, NULL, NULL, NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'admin', 'studywork', 'f', 'France', NULL, 'company_admin'), (2, 'ce.pidancet@studywork.fr', 'ce.pidancet@studywork.fr', 'ce.pidancet@studywork.fr', 'ce.pidancet@studywork.fr', 1, 'eo3pkj8oh3k8s8g0s84okc4okcg4wsg', 'maDEy46ScLAz1x8jTP7mfyXfA8FPhMIh8vZrHCRgaZkorQetJyxgLpGJa+iA75MRP839cC54O6GTQ4UKO+o9mw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Charles-Elie', 'PIDANCET', 'm', 'FR', 'Photo_Charles_Elie_Pidancet.jpg', 'professional'), (3, 'd.leserre@studywork.fr', 'd.leserre@studywork.fr', 'd.leserre@studywork.fr', 'd.leserre@studywork.fr', 1, 'lb05cy7w0i88gco4wc0wco4k8ckokk8', '/FY6LdwFOCQOtJfM2hCCLvEqj8p6q3ngZO37vVQy39AXejLTZTtO5nis9mhXBEbncN5Wn2ai+YH3gQa3au6NHg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Delphine', 'Le Serre', 'f', 'FR', 'Photo_portrait_ISTEC.jpg', 'professional'), (4, 'e.baltzli@studywork.fr', 'e.baltzli@studywork.fr', 'e.baltzli@studywork.fr', 'e.baltzli@studywork.fr', 1, 'a18j3o7v82og4s00048k48k08wwc4og', 'ZaewAdquUC7A5AwJtf8fIAjwl2SSzoMQHjcT5XLp+FvkHZyio7kiQm6E+msxAVJHp2Kb6/y/01LQTONJZlsbEQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Elsa', 'BALTZLI', 'f', 'FR', 'Photo_Elsa.jpg', 'professional'), (5, 's.vergnory@studywork.fr', 's.vergnory@studywork.fr', 's.vergnory@studywork.fr', 's.vergnory@studywork.fr', 1, '1a0sicexw5a84g4go0skwk04w00kgg4', 'JQ0bzFssb2yMiVki53eO6nQ+xHZIlPXsC3dDVml5zBncHly+HaPOUazC4vEvfNJQh9QRulyxazfNxThV0IRhyQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Sandrine', 'VERGNORY-MION', 'f', 'FR', 'photo_Sandrine.jpg', 'professional'), (6, 'n.valette@studywork.fr', 'n.valette@studywork.fr', 'n.valette@studywork.fr', 'n.valette@studywork.fr', 1, 'hrk063sl6o008ocw40ggo44ssc8cgkg', 'kej9U96pX3+MZGpD7cuh1uPQ0hOVVchvGO27OT0nwnwhfLUgKHDR0lWpDwOp4nLAZSqAeC57Onf8BL+AyypsXw==', '2013-11-17 18:50:50', 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Nathalie', 'VALETTE', 'f', 'FR', 'Photo_Nathalie.png', 'professional'), (12, 'u.zusakinarugo@gmail.com', 'u.zusakinarugo@gmail.com', 'u.zusakinarugo@gmail.com', 'u.zusakinarugo@gmail.com', 1, '1qmgh2yntxz4wg000gcc4o0g440swww', 'QHBv+0WHxkeATXC/XoXKKBGT5k4qTEx+fAJZHuAio3TxlrDxWsO9KjFgiWxBIOaLR9ZLw4WEW8XWdkMpIZi6Mw==', '2013-11-14 16:49:26', 0, 0, NULL, 'AOkU56ajJzrhoiZQ18t8myBRo7d53Dh1ykBikzsPBlk', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Sylvie', 'Durant', 'f', 'FR', NULL, 'company_admin'), (13, 'e.baltzli@gmail.com', 'e.baltzli@gmail.com', 'e.baltzli@gmail.com', 'e.baltzli@gmail.com', 1, 'bexm6oidgo8o8g4kokgwcs8wsog4s88', '7JWy/cHmJJaZUbFARN5EjpTREN4q7vlDoJjcWhDvbiaqlbq4qpm2/wTKJXZgggKMLq2PpeG7saj9fnUuZ2lDuQ==', '2013-11-14 14:41:30', 0, 0, NULL, 'l_94KZovryChRF6CQdTt2ORApIBkHnnWDWTz00ijin8', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Martine', 'GRENEL', 'f', 'FR', NULL, 'company_admin'), (14, 'e.b.a.l.t.zli@gmail.com', 'e.b.a.l.t.zli@gmail.com', 'e.b.a.l.t.zli@gmail.com', 'e.b.a.l.t.zli@gmail.com', 1, 'a4qwtz5kmo84s0cgsgwkcggkcwsg84c', 'zFktJ5CgnUulWhGpwjoTRZsWscuEFs9fD2Kh44fUkjOp3xf/XwcfGvkQ5dlNTfLd7DVlp6cKjU3c6mC8GHbQnA==', '2013-11-14 15:28:38', 0, 0, NULL, 'xdo8jnt8YA5yGuSULI_zQ5TRHdHFPSsV61MIrM2E9co', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Laura', 'FABERT', 'f', 'FR', NULL, 'company_admin'), (15, 'uzusa.kinarugo@gmail.com', 'uzusa.kinarugo@gmail.com', 'uzusa.kinarugo@gmail.com', 'uzusa.kinarugo@gmail.com', 1, 'aez4bna21lsgwg8gksogccgww04ckog', 'ME4VVHUFpwh7h9ELMpwTTLmTJz8Vh1Sql2ruoIiwNVk8A2H3IcjdwxfI5G1p4IsvyqUOspGokNjWjzEcl91T8Q==', '2013-11-14 16:52:12', 0, 0, NULL, '37YnGtL5t5FPMGbEoOIcDOwVx_ygUXF4TrALzjrz5xw', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Steeve', 'Dupont', NULL, 'FR', NULL, 'company_admin'), (16, 'uz.usakinarugo@gmail.com', 'uz.usakinarugo@gmail.com', 'uz.usakinarugo@gmail.com', 'uz.usakinarugo@gmail.com', 1, 't4w3nhne5cg8kgg40k4wgwc84ckocos', 'x5pkgNVjGeA8FYcHbBGWWSrUQOLDnKXW0kdmn/N5oYb9jzFz1CR8UoIq3drpsH/+RsWCxytm4IwJ4mU2fidOFg==', '2013-11-14 16:53:57', 0, 0, NULL, '2_RNLwHrh7E3BSMZhZsw6rMDPkDmwTnkzfXpVK0llVs', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Marc', 'Duplont', 'm', 'FR', NULL, 'company_admin'), (18, 'delphineleserre32@gmail.com', 'delphineleserre32@gmail.com', 'delphineleserre32@gmail.com', 'delphineleserre32@gmail.com', 1, '17o4pcjpz528c4c4gwcs80kowc0k0cc', 'Kh6PKKok954teCnPmOGOsgnVwZITh9VYAAeSuLh21EvQHj78t630c76/Ypkicvorfqu7mPoFOVxfV/Z/UYwW3w==', '2013-11-17 16:33:21', 0, 0, NULL, '_Xenl3_U3nT3THzITwg0jW0dTJEQPjWnxpcstkSClhE', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Martine', 'LEGENDRE', NULL, 'FR', NULL, 'company_admin'), (19, 'd.elphineleserre32@gmail.com', 'd.elphineleserre32@gmail.com', 'd.elphineleserre32@gmail.com', 'd.elphineleserre32@gmail.com', 1, '2brxryns4kyskgk8so48k8wc4cs0s0o', 'nVrvNPR9v6mtvOfj5zqLOVkG1bHm9zl34y5HZRypWG5cbL8sWhK8LcrX+8GPK51VUYAPexE3L6QPbSfHx5j6Xw==', '2013-11-14 15:38:36', 0, 0, NULL, 'HymajxEh-Pe5o5dJvCrGrv3Y7Olzmw8F3r0s8s8CG2I', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Patrick', 'DURANT', 'm', 'FR', NULL, 'company_admin'), (20, 'de.lphineleserre32@gmail.com', 'de.lphineleserre32@gmail.com', 'de.lphineleserre32@gmail.com', 'de.lphineleserre32@gmail.com', 1, '4ft185bmhwqo4080s04kss8o8kkwc4o', 'WJVYR7kJ9nf8n2oKDDpi8dbzGA6Ytn06C2amYE2cRVr+k1SciOrpq70ozMFx+wfrHPlRszo9j3W1oTkCiPYhsg==', '2013-11-14 17:03:00', 0, 0, NULL, 'X6Jz9gde4peGsGL0H2ys5n0JAGupcTeVVE1H-FZnwSM', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Jean', 'HEURET', 'm', 'DE', NULL, 'company_admin'), (21, 'eb.altzli@gmail.com', 'eb.altzli@gmail.com', 'eb.altzli@gmail.com', 'eb.altzli@gmail.com', 1, 'chc3j16jwd4cckwwoocs0kw48s8s40g', 'swWLAgdZUY7dn8oNVbmRf3RpFqeDOK1g7/xSKLWTs+bONCLibBBRDE/Hv9OAh5XuSop4OuZ88jqczFpfT4OsqA==', '2013-11-14 15:44:15', 0, 0, NULL, 'I9EH7E5PygGsQYDwIO0IiwRv04rke98daewWe0Q9dnQ', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Fabien', 'DRUEL', 'm', 'FR', NULL, 'company_admin'), (22, 'uzusakina.ru.go@gmail.com', 'uzusakina.ru.go@gmail.com', 'uzusakina.ru.go@gmail.com', 'uzusakina.ru.go@gmail.com', 1, 'i09we9wqbdc84kokgwcw044gsg4ccos', 'mkdD5gvcsC15lHPXN9HlhBGBlCjwDnG1xaY7PbHJ07fdrJBmyNt2JFU/Qke6ZWvs2/lMH5agzpfZum9mnfvyUQ==', '2013-11-14 15:53:36', 0, 0, NULL, 'R-3Tj3g1esWi4UIwei530ncXEYRnwlFmBHT52OffI3g', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Maria', 'Pierre-Curie', NULL, 'GB', NULL, 'company_admin'), (23, 'uzu.sakinarugo@gmail.com', 'uzu.sakinarugo@gmail.com', 'uzu.sakinarugo@gmail.com', 'uzu.sakinarugo@gmail.com', 1, '93rv6kth8zs48s0k40ooww0o00skw48', '/pvsY54DpafUhsFMOETJIAUMj3JEkMWmh5y1iUpr4AYpgvmPd2Ka3Gjr5SLuZRbxjz5SWDIDQHdeZrl3DR3myQ==', NULL, 0, 0, NULL, 'gBr2qZx5KdfxX88DlcVcG2KJd-5XVGfIg_Byn2m4Db8', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Prosper', 'Randut', 'm', 'FR', NULL, 'company_admin'), (24, 'del.phineleserre32@gmail.com', 'del.phineleserre32@gmail.com', 'del.phineleserre32@gmail.com', 'del.phineleserre32@gmail.com', 1, 'o4ghd8w6wpc8wsk80o4o0swk4gk88gg', 'AARauCLU3g6gA1oOhhttoq99yn2pchkg9LmzVay3/stEdzTk9CB7qIb3WwlFGcbnJZ442PETkwINtvKfFV+e7A==', '2013-11-14 17:17:46', 0, 0, NULL, 'NvtyrSF_ZvjFyb6dn9mbwuO9CCmw7nOFVCDUbKO9Oaw', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Beatrice', 'GILLE', 'f', 'FR', NULL, 'company_admin'), (25, 'eba.ltzli@gmail.com', 'eba.ltzli@gmail.com', 'eba.ltzli@gmail.com', 'eba.ltzli@gmail.com', 1, 'o9g1ivj0nxw84o4k48o0cok48sos0wo', 'dN0S1CQyfOrUMFN455HkbSy/UULB//srznHixgp4iaUQBkKhaEW7Qg0ihzehrj+HbWbeYyYBkoAYq4RzCX1GFw==', NULL, 0, 0, NULL, 'G18llMB1q5KE-Ppp86nhVAVo64S9llmx2WYQUvtwITg', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Christophe', 'GASTONIER', 'm', 'DE', NULL, 'company_admin'), (26, 'delp.hineleserre32@gmail.com', 'delp.hineleserre32@gmail.com', 'delp.hineleserre32@gmail.com', 'delp.hineleserre32@gmail.com', 1, 'jcybqaf8ycgkk0goc88cksg4wswg0sc', 'laPtRxsCztQU5AmmrU5X/Ofo/FotoTXBqGTS47/Xv/ipYajCupgi472KlugFrJF+dq4/rNw6VTYYF9P7UdPIoA==', '2013-11-14 17:30:07', 0, 0, NULL, 'KlAH2F9feyR4lC-h94r3JZLvXk3FnJAVz5cN1maz8XU', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Philippe', 'JENTET', 'm', 'FR', NULL, 'company_admin'), (27, 'ebal.t.zli@gmail.com', 'ebal.t.zli@gmail.com', 'ebal.t.zli@gmail.com', 'ebal.t.zli@gmail.com', 1, '18xddl4zm81wgk88osksww4ow4ggcok', 'reFbqINaaFxs4F3d1HVpzl4aoUrTXRca6TqxNZldZu0WVDm2hqzk96zqDORnhQLg94SBq9/J6nol+hJ1fY/CNw==', NULL, 0, 0, NULL, 'SEqKIj6fJYrApNkfal1LXeYspVfBpcs0urDKhLdWjzI', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Paul', 'POLAS', 'm', 'CA', NULL, 'company_admin'), (28, 'u..zusakinarugo@gmail.com', 'u..zusakinarugo@gmail.com', 'u..zusakinarugo@gmail.com', 'u..zusakinarugo@gmail.com', 1, 'gqxpkv80qog8w0cws0gkskos48go4g8', 'oq8q4ese2/zYf7du/7Q4F2ciasOD2ji5cCOoiGnv6smzurIxGh9kEMF8aE2j8D5YaZjbjMuoEqj4Sd2530rl8Q==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Jean', 'DUPONT', 'm', 'FR', 'Amb_Metiers_H7.jpg', 'professional'), (29, 'e.b.altzli@gmail.com', 'e.b.altzli@gmail.com', 'e.b.altzli@gmail.com', 'e.b.altzli@gmail.com', 1, 'pshkv1j2m9coc8sooco4880sog4g04g', 'j/atPYiRirjCqZ7eYQilBDILslFzO9b+oaxe1656KuHNzMaaYYtrK50FEXye0NlsaXBm0KQfMUdKg4hOieOKvw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Pierre', 'REYNAUD', 'm', 'FR', '1210450_17583979.jpg', 'professional'), (30, 'uzusaki.narugo@gmail.com', 'uzusaki.narugo@gmail.com', 'uzusaki.narugo@gmail.com', 'uzusaki.narugo@gmail.com', 1, 't54zdb6xzzkskgwccsc4g8cwg0swgww', 'jf3b5nWGHkpgdOjFcJyo5/3YTXyxOhQ8JjpDOD/+ZKLsM5Ax9X1xTcC41A070yws0Q47QXPw8RPIJEc1JvLfrg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Nadine', 'DURIANT', 'f', 'FR', 'Amb_Metiers_F7.jpg', 'professional'), (33, 'uzu.s.akinarugo@gmail.com', 'uzu.s.akinarugo@gmail.com', 'uzu.s.akinarugo@gmail.com', 'uzu.s.akinarugo@gmail.com', 1, 'dfqirv8k2qoggkswo0c8s4gw4w008kw', 'erP6rPMhUMaHt23RC7+iAwuo1EkPSSvR+drmF4ZsB8gUOGoby5VO+YXRgdRuaEBxa+H0Xxoy/+FJTMGIZP0Fiw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Tina', 'POIREZ', 'f', 'FR', 'Photo_carree_manager_F1.jpg', 'professional'), (34, 'e.b.a.ltzli@gmail.com', 'e.b.a.ltzli@gmail.com', 'e.b.a.ltzli@gmail.com', 'e.b.a.ltzli@gmail.com', 1, 'a5j677w6x68ss8888ggw0o0cscwk8wc', 'yXYZPnaGIsjU9cW74Np8BIOpbKq6DHimijy85p/ONlZJGd2h8OBMZCeaf/DEdONJ8GRHiIec9GZ6LAIc5puEMg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Sandrine', 'GROULE', 'f', 'FR', 'Amb_Metiers_F6.jpg', 'professional'), (35, 'uzusaki..narugo@gmail.com', 'uzusaki..narugo@gmail.com', 'uzusaki..narugo@gmail.com', 'uzusaki..narugo@gmail.com', 1, 'cmo6v67k014owow8s80wocs444s084w', '3DFb5MvFKhCXNn7HEXDEYIt19JUZWUzjofqHjnFgOspUDMIaN4z5A06xIKDRCremn1UTngeSgNxKIfOVSGR4uQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Jenifer', 'DUPANT', 'f', 'FR', 'photo_carree_manager_F3.jpg', 'professional'), (36, 'e.b.a.l.tzli@gmail.com', 'e.b.a.l.tzli@gmail.com', 'e.b.a.l.tzli@gmail.com', 'e.b.a.l.tzli@gmail.com', 1, '7z1kqdrotp0c0ccssgw8ckw4css0s8o', '/+UbV0MRUyW6794SUPPnX3wp+FmUzJH4cI0m52+L6EEUYypudyhC7K7N7+MO2jJblACaJk8zCplY5HAiOgXDWg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Philippe', 'BORGOT', 'm', 'FR', 'Amb_Metiers_H6.jpg', 'professional'), (37, 'delph.ineleserre32@gmail.com', 'delph.ineleserre32@gmail.com', 'delph.ineleserre32@gmail.com', 'delph.ineleserre32@gmail.com', 1, '4ydy5lh9ae4gg48gs00sw044scgog4w', 'rgQ++pcUBQfA49nS+ztRJCjQqw5QfEQJgtljhLSrvqzN+nGWN3Tj/E7RyO/lOP9XijxViPeJ3oGCbpCCSGIuvQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Pierre', 'HERAULT', 'm', 'FR', 'Photo_carree_manager_H1.jpg', 'professional'), (38, 'uzusakina.rugo@gmail.com', 'uzusakina.rugo@gmail.com', 'uzusakina.rugo@gmail.com', 'uzusakina.rugo@gmail.com', 1, 'iznov95ansgswog0og4k48ocgcco4s8', '8530NvJ5BGdyBmizhzTff0okFC14SWkA1dbVQfD2Ob9Ia1v043GYZJngjzq6pq8EUgvRATL7tob7L1SDKlAUOg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Jacques', 'MARINOTO', 'm', 'FR', 'Photo_carree_manager_H4.jpg', 'professional'), (39, 'delphi.neleserre32@gmail.com', 'delphi.neleserre32@gmail.com', 'delphi.neleserre32@gmail.com', 'delphi.neleserre32@gmail.com', 1, '59lbc55v0ug4kwowo0ckw0s40cgcgs8', '0zheuCG8k34y6B8akdcAKe/M9TA1+WosK/m6cRJGJi+qnBEc57b+hbnlgbJO8ZlDyT/z2UImglPedI5kSgOicQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Patricia', 'TRAULO', 'f', 'FR', 'Amb_Metiers_F7.jpg', 'professional'), (40, 'uzusakinru.go@gmail.com', 'uzusakinru.go@gmail.com', 'uzusakinru.go@gmail.com', 'uzusakinru.go@gmail.com', 1, 'i5ve5gj4pi8ggcskc8s8cg8kgoswsc8', 'HK3JRcVXYoauosAGN4EqWO9sh11tHGcQG+RCtFmkKi9La1Ld+l7kWGqoHg3UDzZRJzUZH4jUKWiW6hAHMxlBWQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Amine', 'DUCONTE', 'm', 'FR', 'Photo_carree_manager_H3.jpg', 'professional'), (41, 'e.b.a.l.t.z.li@gmail.com', 'e.b.a.l.t.z.li@gmail.com', 'e.b.a.l.t.z.li@gmail.com', 'e.b.a.l.t.z.li@gmail.com', 1, 'k5ukx98tk9wwcs8gc88oc00kow4gg8g', '/MnpFqN+zjIq/BDRHqGWW3NywRB2NPbWBAHT3ZPmishLquuivaqZRB/CO3OCSnMQ8oqUqJW/LT+12/inyO2AKQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Corinne', 'MARTINEZ', 'f', 'FR', 'photo_carree_manager_F3.jpg', 'professional'), (42, 'delphin.eleserre32@gmail.com', 'delphin.eleserre32@gmail.com', 'delphin.eleserre32@gmail.com', 'delphin.eleserre32@gmail.com', 1, 'hbppi8w767sw8gsgg4gsgs88kww08g0', '+OXb5a5uxrlqC4Bi0bHWmWzFAOjdQWVF8obZqqsQ3nz5AVYlzsLV9R0amStjt/XA4lZsgxx/8unpTxjYi5AhOA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Emeline', 'TISSOT', 'f', 'FR', 'Amb_Metiers_F6.jpg', 'professional'), (43, 'uzusakin.arugo@gmail.com', 'uzusakin.arugo@gmail.com', 'uzusakin.arugo@gmail.com', 'uzusakin.arugo@gmail.com', 1, 'jup5ncidlj4wgs0o484gwos4g48cw0g', 's5SMdwYnUDLoMrJ7wTxjd5g6j3WrRgL5LmEE5ULKXhtAD9QiVP5X7K5bdBFwfSmVS2awNUprb9O5TZtdtCIrrw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Emmanuel', 'VALDREUX', 'm', 'FR', 'Photo_carree_manager_H1.jpg', 'professional'), (44, 'e.b.a.l.t.z.l.i@gmail.com', 'e.b.a.l.t.z.l.i@gmail.com', 'e.b.a.l.t.z.l.i@gmail.com', 'e.b.a.l.t.z.l.i@gmail.com', 1, '4mjq72c879q8kow8ccw4cogcokcg4ss', 'Akn6xSbr85vLMqezgeCqUA6hFduSO3s8yqa7MZfYcoZGjN/ePi46TYUYPv9PQEaBO9ASIqno6YNqjKrB3TBoRw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Sabrina', 'HAZIZO', 'f', 'FR', 'Photo_carree_manager_F2.jpg', 'professional'), (45, 'delphine.leserre32@gmail.com', 'delphine.leserre32@gmail.com', 'delphine.leserre32@gmail.com', 'delphine.leserre32@gmail.com', 1, 'on7r5yjyg34s4g4s88g4880sg4cc0so', 'wvuuKAqYMTijyXXEA0z8vzF55nYDYbrbd/u1lVLegT336aQAy8tDGqpyHkX/jVhjf/ONZ8c9HrFM3dRjnukHvw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Marc', 'DUTREUIL', 'm', 'FR', 'Photo_carree_manager_H2.jpg', 'professional'), (46, 'eb.a.l.t.zli@gmail.com', 'eb.a.l.t.zli@gmail.com', 'eb.a.l.t.zli@gmail.com', 'eb.a.l.t.zli@gmail.com', 1, 'r8se3gg2jiockg44cccsoo00gc0gscw', 's4Ce74/Os5NlSLu3r/7UPTalDD2UW+7KKNHC3XGAEjrWoIknJabnH5Pv2McB7KCSZN8rwGQ8FUQaYCmhJsvx3g==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Xavier', 'PRUNEL', 'm', 'FR', 'Amb_Metiers_H7.jpg', 'professional'), (47, 'uzusak.inarugo@gmail.com', 'uzusak.inarugo@gmail.com', 'uzusak.inarugo@gmail.com', 'uzusak.inarugo@gmail.com', 1, 'lgt12klfyhwwskkow8s404woccskg4s', 'yPYArLMwFrtvU8zTi0BfG3Nj8mnkimrwE/5VCR70IGnC4/61FYhs0oplfKsi2XzpLUqMDUEqaZsGwF155186uA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Sarah', 'WATAME', 'f', 'FR', 'Photo_carree_manager_F4.jpg', 'professional'), (48, 'delphinel.eserre32@gmail.com', 'delphinel.eserre32@gmail.com', 'delphinel.eserre32@gmail.com', 'delphinel.eserre32@gmail.com', 1, '2dxhvs4tjlxco8gg0ogc0cwk0k4ok4k', 'oBoGrsvOQEksVeGKz6WuAGFmHPQxlksla6FiCuPDXfGPElvRjQewXeYaGBNZBRXCoqMzzJGIkr744Od3AgMVlg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Céline', 'BASTIEN', 'f', 'FR', 'Photo_carree_manager_F4.jpg', 'professional'), (49, 'eb.a.ltzli@gmail.com', 'eb.a.ltzli@gmail.com', 'eb.a.ltzli@gmail.com', 'eb.a.ltzli@gmail.com', 1, '79r91s9xj98goksocgwoo4kw888k88o', 'e/zgnlB/3Lzxq494fdmgagcyxV07OgBdgmOnZe5hcaTVEhSpQVivy/ipl3MjZRlLQ7t1dk+UoTR1rqPE+EOzWw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Rose', 'GERTE', 'f', 'FR', 'Photo_carree_manager_F1.jpg', 'professional'), (50, 'delphinele.serre32@gmail.com', 'delphinele.serre32@gmail.com', 'delphinele.serre32@gmail.com', 'delphinele.serre32@gmail.com', 1, 'p0fn0ddvgj4sko08osw40sks0g88c8g', '3gZBZ+fENEBDkmBeqkngMHJ6+prJOe72JOhus6q8EAcVRBVsJmwIEtUHhR8zqBGdRsyMRv0FgBXHMGAOCFBfuw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Séverin', 'TRUFFAUT', 'm', 'FR', 'Amb_Metiers_H7.jpg', 'professional'), (51, 'uzus.akinarugo@gmail.com', 'uzus.akinarugo@gmail.com', 'uzus.akinarugo@gmail.com', 'uzus.akinarugo@gmail.com', 1, '9iiby3tvdvk080oc8kc4cksskgscwkw', 'Ss66uqI/0xO9tS9yFXYGdbyQbeBa9z8qhL/e9UGk/XP+7Ub32WWe6PzxvC/MpMTGua8kOiE2VF8s8G0SR7ESlw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Lindana', 'MARIA', 'f', 'FR', 'Photo_carree_manager_F2.jpg', 'professional'), (52, 'eb.a.l.tzli@gmail.com', 'eb.a.l.tzli@gmail.com', 'eb.a.l.tzli@gmail.com', 'eb.a.l.tzli@gmail.com', 1, 'bhpl4i3drlwgogwsw0w0g4w0ssk4o0k', 'e+ZwduArVtybl711qmQmi927bzb2DasjDsYc6mmAkXSCaFEa8AlwIaOggwzIFwJ2L1FBEpvNzK1ChwpI8vLEOA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Gaston', 'MENOR', 'm', 'FR', 'Photo_carree_manager_H1.jpg', 'professional'), (53, 'eb.a.l.t.z.li@gmail.com', 'eb.a.l.t.z.li@gmail.com', 'eb.a.l.t.z.li@gmail.com', 'eb.a.l.t.z.li@gmail.com', 1, '6nhueqx5tickgwkkkk08gw88448c000', 'r8acCNn9fE6XNvpRL7ioMeYXEIzvPTJbrF2HiqF49+you6eWqgJ0IScvl+WIw3LfZN6rMIAHgoPaAHoFIdWjdA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Marine', 'JOULE', 'f', 'FR', 'Photo_carree_manager_F4.jpg', 'professional'), (54, 'uzusakinar.ugo@gmail.com', 'uzusakinar.ugo@gmail.com', 'uzusakinar.ugo@gmail.com', 'uzusakinar.ugo@gmail.com', 1, 'q5bja387b3kswkssskc04c4g80gsgsk', 'GhFJcI/g6bLUYoBNtZQYNNgOhtd35T6zHZO/c8v4WgfXVmOcv+i6mpNNyeHLx7doUV/yJE9k1jxGg7CkB94+sg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Laurent', 'MOREDEZ', 'm', 'GB', 'Amb_Metiers_H6.jpg', 'professional'), (55, 'uzusakinaru..go@gmail.com', 'uzusakinaru..go@gmail.com', 'uzusakinaru..go@gmail.com', 'uzusakinaru..go@gmail.com', 1, '4b6w1ev91ewwo44c8sk84048o40g4gs', 'ZL2Erwxvy0LPbx7rMTEswMUoGOwhwWtNlIX7HL7g+DUOG+/vD70gQs5H0l/IE6laaJ//C9F2ekXSGy6YJrIV+w==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Henri', 'RACKBURRY', 'm', 'GB', 'Photo_carree_manager_H2.jpg', 'professional'), (56, 'uzusakinarug.o@gmail.com', 'uzusakinarug.o@gmail.com', 'uzusakinarug.o@gmail.com', 'uzusakinarug.o@gmail.com', 1, '8r1jevuo89440484gokgokgwk4o0cks', '0v7TLG+OgNNo4l3CMvt1dDPUNFWwcgPqdd/X1lBakwHk6wr8L9hTABMcdwXGlm0m6X4zu0tvss8yExV6eJkM6Q==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Nina', 'DIRMAN', 'f', 'GB', 'Photo_carree_manager_F1.jpg', 'professional'), (57, 'uz.us.akinarugo@gmail.com', 'uz.us.akinarugo@gmail.com', 'uz.us.akinarugo@gmail.com', 'uz.us.akinarugo@gmail.com', 1, 'j6liusqh89w0googgsws80cgkkcgsgo', 'sFE80SvgQXTtOfC3B0g0bUcQxDvrPCyxitPwHi/+BNZ4LsEmjM5qZX4w5KLpphhDz8gtaBs521PJOsH7OLKShg==', '2013-11-14 17:41:11', 0, 0, NULL, 'kTA8tWNcLZfKj8GV2DihUpwJKaDuaw0ArvDEzEMWw-k', '2013-11-14 16:42:18', 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'Pierre', 'MARTINO', 'm', 'FR', NULL, 'company_admin'), (58, 'de.lphineleserre@gmail.com', 'de.lphineleserre@gmail.com', 'de.lphineleserre@gmail.com', 'de.lphineleserre@gmail.com', 0, 'kcnoc05ob7k4kkwog8ocgc400k84ggw', 'Fi4CeVmF9HkFOE5tGfv7JNZtoMauMVrDsYopgrtHiS6XPauomWP/u2M5Fr5ehs0pUSjLlT4EWEiVRDQhPN53nQ==', NULL, 0, 0, NULL, 'JRsy3dBvYGTI6X9WF0zG-xgDD-ghob07pLZBkd8muBU', NULL, 'a:1:{i:0;s:18:"ROLE_COMPANY_ADMIN";}', 0, NULL, 'PORTORE', 'Elsa', 'f', 'FR', NULL, 'company_admin'), (66, 'del..phineleserre32@gmail.com', 'del..phineleserre32@gmail.com', 'del..phineleserre32@gmail.com', 'del..phineleserre32@gmail.com', 0, 'h5ti7ecev7cwc00woso404gkwwow4kk', 'cSzWRn+yZzg6vXEYHud5zd9+yrFAIteV8ya0klTbAcFfmQ1Ua3UAIUp5/TA6CIp6NwEXHKM0AbcXdcqKPSof2g==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Mariane', 'PORTITA', 'f', 'DE', 'photo_carree_manager_F3.jpg', 'professional'), (67, 'de.phineleserre32@gmail.com', 'de.phineleserre32@gmail.com', 'de.phineleserre32@gmail.com', 'de.phineleserre32@gmail.com', 0, '4unx5f758zggoowgckgkgcokgggwg4w', '3LM4zBh4ubZaG6Vzl/6FEr5/W/nmOYdfow2LKf+hyYPniRGrVLUsLIyey0jxuSLoSA9nTDvXsFEvxRX9YTnCMA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Torina', 'DIMA', 'f', 'DE', 'Photo_carree_manager_F4.jpg', 'professional'), (68, 'de...lphineleserre32@gmail.com', 'de...lphineleserre32@gmail.com', 'de...lphineleserre32@gmail.com', 'de...lphineleserre32@gmail.com', 0, 'lpeehadi7eo0so8ssgcs00gcck08cok', '6MovqR3nLYv/YZNfHQ6HqJEvO8z09Mqc2fzSZO1l41CMr533NCO4zd2EQXaxYwZuCpdcYf1xz7jUr2t5lhJ0Qw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Alf', 'Norbü', 'm', 'DE', 'Photo_carree_manager_H4.jpg', 'professional'), (70, 'del.p.hineleserre32@gmail.com', 'del.p.hineleserre32@gmail.com', 'del.p.hineleserre32@gmail.com', 'del.p.hineleserre32@gmail.com', 0, 'hg7xvo2qvnk0o88c4wws4gksc4ko0kg', 'C8qhgDfIPr8FmjSsW5JDqIEHYNVZaNVxA0MqwxF6+HUgKOK2CRMiB8C0iyNWCrUNhNRt5xipD5JPH3kXz6rLmA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Diana', 'MARKS', 'f', 'FR', 'Photo_carree_manager_F2.jpg', 'professional'), (71, 'del...phineleserre32@gmail.com', 'del...phineleserre32@gmail.com', 'del...phineleserre32@gmail.com', 'del...phineleserre32@gmail.com', 0, 'qroo7ks9hpwc48cwwgo440ck8w00s0s', 'IhHhzD1fUj35EDTGKIpgFDpQ/A7jCAem+i/FnOCfrAsY9kClehHGrdJqeKrmpn4dp/8oblb2QxPnQjUvobRzAA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Jules', 'Durant', 'm', 'FR', 'Photo_carree_manager_H2.jpg', 'professional'), (72, 'del.phi.neleserre32@gmail.com', 'del.phi.neleserre32@gmail.com', 'del.phi.neleserre32@gmail.com', 'del.phi.neleserre32@gmail.com', 0, 'bt8n6heu0psg0o8sc8cko444kg4skkc', 'n7T+t6F9DDWq8q2cc2K8LiqJiG73yDLGkrdJUeJU6ZHkKrqqV7cJr2wm7G5Dqw+lcx8QMllTV9WuKS5KP6wWdw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Farid', 'ADEL', 'm', 'FR', 'Photo_carree_manager_H3.jpg', 'professional'), (73, 'delp..hineleserre32@gmail.com', 'delp..hineleserre32@gmail.com', 'delp..hineleserre32@gmail.com', 'delp..hineleserre32@gmail.com', 0, 'fsf981moxy8gosk88k88co8oocs04cc', '3+MI7cXsL4bCV+10n2LAOG20YfJl757DrZZgHUZgtHtbGhI85tBt+Q+9mWESgoFHLR6IhlEVuH+dIjruWeI0nA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Rosa', 'ERINAUX', 'f', 'FR', 'Photo_carree_manager_F1.jpg', 'professional'), (74, 'delp.h.ineleserre32@gmail.com', 'delp.h.ineleserre32@gmail.com', 'delp.h.ineleserre32@gmail.com', 'delp.h.ineleserre32@gmail.com', 0, 'rq318yj41e88w8ksowkg4cc4ko4g8c8', '9pHO+o1vQBjG7/MBixQ+g3Zx9Udt+YwEyNj6kwMesngSNl3+UrbZ6THyyzJe4H6BQLOH8mQg+3oamNaHiyFHlg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Laura', 'MARIANA', 'f', 'FR', 'photo_carree_manager_F3.jpg', 'professional'), (76, 'del.p..hineleserre32@gmail.com', 'del.p..hineleserre32@gmail.com', 'del.p..hineleserre32@gmail.com', 'del.p..hineleserre32@gmail.com', 0, 'fiqgz60hi4o4k084ksw8k8s0so40kw8', 'zP4QdP/2wnJOajWK2/Cqe1BiLSYPkEibJ95JvTiX+AGDNCsbJx+r4Dkv47oTiFUjH3Tub0Zk+dmlBBFiDo5kDQ==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Tony', 'RAPHAELE', 'm', 'FR', 'Photo_carree_manager_H2.jpg', 'professional'), (77, 'uz..u.sakinarugo@gmail.com', 'uz..u.sakinarugo@gmail.com', 'uz..u.sakinarugo@gmail.com', 'uz..u.sakinarugo@gmail.com', 0, 'i23c7tstfk000cw0g8ckc444cwc480s', 'u95llNt5trUMcwsJWsbL5/JjGo66JHIx0Q302A9TGTGGQA8mSKhUmC1JLKTtat0EzVC3PIY384wIxP4t2IyAOg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Fatima', 'NARABU', 'f', 'FR', 'Photo_carree_manager_F2.jpg', 'professional'), (78, 'uz.u..sakinarugo@gmail.com', 'uz.u..sakinarugo@gmail.com', 'uz.u..sakinarugo@gmail.com', 'uz.u..sakinarugo@gmail.com', 0, 'ptky0nllxsgcgwokc4socgscggwsgkc', 'tc2u6nx7Z7qEJvwen3+ksheUGOItVt+LDDoOq3RYOePnKbFyWbWLj91a7K2J6ewLdIDJxIMpp/CAytkIaNwFNw==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Lamine', 'RATAM', 'm', 'FR', 'Photo_carree_manager_H3.jpg', 'professional'), (79, 'uz.u...sakinarugo@gmail.com', 'uz.u...sakinarugo@gmail.com', 'uz.u...sakinarugo@gmail.com', 'uz.u...sakinarugo@gmail.com', 0, 'mg4xtg54pxwoosg80wcgsowokkcwwsc', 'o1o7ch/i4loFJ3vxCiw+2MrLTbLCN++3LjNVO2CFO04BmbEg/sHmCJ0GV4r5sAv0PmU17/hT6swAasX6L+5tnA==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Chantal', 'DUMARAU', 'f', 'FR', 'Amb_Metiers_F6.jpg', 'professional'), (80, 'm.minvielle@studywork.fr', 'm.minvielle@studywork.fr', 'm.minvielle@studywork.fr', 'm.minvielle@studywork.fr', 0, '1m7d5w0gypj444cc4gwks0swo4kocgk', 'Ejd/hTLN2JZiMqYg/nQHPUTlqiSJWLqisnBvxqCXvWHCJ7K/mFOljiasLLnvUeEqZ1JKgWS5nF9Ohq218WKyLg==', NULL, 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, 'Morgane', 'MINVIELLE', 'f', 'FR', NULL, 'professional'), (81, 'delphine.leserre@wanadoo.fr', 'delphine.leserre@wanadoo.fr', 'delphine.leserre@wanadoo.fr', 'delphine.leserre@wanadoo.fr', 0, '2h0nhxqmto6c8oows4swo8s0sgok48w', 'GOL8CL4PBCHDAVmChTPLVn61Onsc+mKmIQoI26BdL2FM12l/0H7cAuaPgvhZuMAsF885e5LoI8+AABYJdsfdPQ==', NULL, 0, 0, NULL, '8JbL6N7i1_WhK4XSpnHv_x7KVxqe1ue2VEomFWGtMNQ', NULL, 'a:0:{}', 0, NULL, 'delphine', 'le serre', NULL, NULL, NULL, 'user'); INSERT INTO `Company` (`id`, `name`, `type`, `sector`) VALUES (1, 'StudyWork', 'startup', 'Web'), (2, 'PharmaPlus', 'TPE', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (3, 'Labo et Croissance', 'PME', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (4, 'ChimiePro', 'PME', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (5, 'MOINSPRIX', 'TPE', 'Commerce / Distribution'), (6, 'Daciat', 'TPE', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (7, 'lool', 'Entreprise Individuelle', 'Agroalimentaire'), (8, 'ASFO', 'Grand Groupe', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (9, 'PECHINEF', 'Grand Groupe', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (10, 'DISTRIPLUS', 'Grand Groupe', 'Commerce / Distribution'), (11, 'Aux Halles', 'PME', 'Commerce / Distribution'), (12, 'ExaChimie', 'TPE', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (13, 'MGK-Conseil', 'TPE', 'Audit / Conseils'), (14, 'Vauto', 'Grand Groupe', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (15, 'PG Auto', 'PME', 'Industrie (pharmaceutique, chimique, pétrolifère, automobile, textile, mécanique)'), (16, 'Conseils et Management', 'Grand Groupe', 'Audit / Conseils'), (17, 'International Consulting', 'PME', 'Audit / Conseils'), (18, 'MGK-Conseil', 'TPE', 'Audit / Conseils'), (19, 'DRITIPLUS', 'Grand Groupe', 'Commerce / Distribution'); INSERT INTO `admin_company` (`id`, `company_id`) VALUES (1, 1), (12, 2), (13, 3), (14, 4), (15, 5), (16, 6), (18, 8), (19, 9), (20, 10), (21, 11), (22, 12), (23, 13), (24, 14), (25, 15), (26, 16), (27, 17), (57, 18), (58, 19); INSERT INTO `ambassador` (`id`, `slug`, `city`, `bac`, `degree_id`) VALUES (2, 'charles-elie-pidancet', 'Paris', NULL, NULL), (3, 'delphine-le-serre', 'Paris', 'S', NULL), (4, 'fakepro-fake', 'Paris', 'S', NULL), (5, 'fake2pro-fake2', 'Paris', 'S', NULL), (6, 'fake3pro-fake3', 'Paris', 'ES', NULL), (28, 'jean-dupont', 'Arceuil', 'STG', NULL), (29, 'pierre-reynaud', 'Lyon', 'S', NULL), (30, 'nadine-durian', 'Villepinte', 'S', NULL), (33, 'tina-poirez', 'Gousainville', 'S', NULL), (34, 'sandrine-groule', 'Lyon', 'S', NULL), (35, 'jenifer-dupant', 'Marseille', 'STG', NULL), (36, 'philippe-borgot', 'Lyon', 'ES', NULL), (37, 'pierre-herault', 'Paris', 'S', NULL), (38, 'jacques-marinauto', 'Besançon', 'ES', NULL), (39, 'patricia-traulo', 'Paris', 'ES', NULL), (40, 'amine-duconte', 'Montreuil', 'ES', NULL), (41, 'corinne-martinez', 'Paris', 'S', NULL), (42, 'emeline-tissot', 'Paris', 'S', NULL), (43, 'emmanuel-valdreux', 'Paris', 'S', NULL), (44, 'sabrina-hazizo', 'Paris', 'S', NULL), (45, 'marc-dutreuil', 'Lyon', 'ES', NULL), (46, 'xavier-prunel', 'Paris', 'ES', NULL), (47, 'sarah-watame', 'Noisy-le-sec', 'STG', NULL), (48, 'celine-bastien', 'Lyon', 'ES', NULL), (49, 'rose-gerte', 'Marseille', 'ES', NULL), (50, 'severin-truffaut', 'Lyon', 'S', NULL), (51, 'lindana-maria', 'Paris', 'ES', NULL), (52, 'gaston-menor', 'Marseille', 'ES', NULL), (53, 'marine-joule', 'Marseille', 'ES', NULL), (54, 'laurent-moredez', 'Londres', 'S', NULL), (55, 'henri-rackburry', 'Kent', 'STG', NULL), (56, 'nina-dirman', 'Cambridge', 'ES', NULL), (66, 'mariane-portita', 'Berlin', 'ES', NULL), (67, 'torina-dima', 'Berlin', 'STG', NULL), (68, 'alf-norbu', 'Berlin', 'STG', NULL), (70, 'diana-marks', 'Paris', 'S', NULL), (71, 'jules-durant', 'Paris', 'STI', NULL), (72, 'farid-adel', 'Montreuil', 'ES', NULL), (73, 'rosa-erinaux', 'Paris', 'ES', NULL), (74, 'laura-mariana', 'Paris', 'L', NULL), (76, 'tony-raphaele', 'Paris', 'ES', NULL), (77, 'fatima-narabu', 'Paris', 'L', NULL), (78, 'lamine-ratam', 'Paris', 'ES', NULL), (79, 'chantal-dumarau', 'Rambouillet', 'STG', NULL), (80, 'morgane-minvielle', 'Paris', 'S', NULL); INSERT INTO `ambassador_professional` (`id`, `company_id`, `job`, `job_experience_years`, `job_international_dimension`, `job_and_personal_life`, `total_experience_years`, `job_like`, `head_project`) VALUES (2, 1, 'CTO', 1, 'Pas de déplacements à l’étranger', 'Arrive à concilier les deux en faisant des concessions', 6, 'Apprendre quelque chose de nouveau tous les jours', 'Plannifier le développement d''applications'), (3, 1, 'CEO & Co-Fondatrice', 2, 'Pas de déplacements à l’étranger', 'Arrive à concilier les deux en faisant des concessions', 10, 'le fait d''améliorer l''orientation des jeunes', 'La création de cette entreprise'), (4, 1, 'Responsable Communication', 1, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 3, 'La créativité et la diversité des missions.', 'L''organisation du Colloque de l''Orientation'), (5, 1, 'Co-Fondatrice', 2, 'En Europe', 'Arrive à concilier les deux en faisant des concessions', 19, 'Le conseil en stratégie', 'La création et le lancement de StudyWork'), (6, 1, 'Chargée du Développement Entreprises - Consultante Senior', 1, 'Pas de déplacements à l’étranger', 'Arrive à concilier les deux en faisant des concessions', 25, 'la mise en relation de mes futurs clients ayant des intérêts communs', 'le développement de portefeuilles clients internationaux'), (28, 2, 'Responsable Commercial', 6, 'En Europe', 'Arrive à concilier les deux en faisant des concessions', 10, 'La vie et le mouvement ainsi que la relation avec la clientèle', 'Développent de marketing de réseau au Brésil.'), (29, 3, 'Ingénieur bureau d''études', 2, 'En Europe', 'Arrive facilement à concilier les deux', 4, 'la diversité du travail', 'travail sur le principe actif de la nouvelle molécule anti-âge'), (30, 2, 'Chercheur en chimie fine', 3, 'En Amérique du Nord', 'Conciliation difficile, métier extrêmement prenant', 6, 'La découverte, la et l''énergie mis dans mes recherches', 'Travail sur la molécule aséto-paramonique'), (33, 2, 'Ingénieur bureau d''études', 2, 'En Asie', 'Arrive facilement à concilier les deux', 5, 'L''activité et l''énergie déployé dans les projets', 'Etude du plan d''action commercial pour un produit'), (34, 3, 'Chercheur', 4, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 7, 'Découvrir de nouvelles possibilités, ne pas avoir de limites', 'Recherche d''une molécule pour la repousse des cheveux.'), (35, 5, 'Responsable Marketing', 4, 'Partout dans le monde', 'Arrive facilement à concilier les deux', 7, 'Innovation, collaboration en équipe et création', 'Plan marketing d''un prodruit'), (36, 3, 'Responsable Commercial', 7, 'Partout dans le monde', 'Conciliation difficile, métier extrêmement prenant', 7, 'Rencontrer des cultures différentes, le challenge au quotidien', 'La commercialisation d''un produit ultra innovant'), (37, 8, 'Ingénieur Chimiste', 3, 'En Europe', 'Arrive facilement à concilier les deux', 9, 'travailler sur des projets qui aboutissent à des innovations', 'la conception d''une biotechnologie innovante pour la synthèse de nos molécules spécifiques'), (38, 5, 'Directeur de magasin', 4, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 10, 'Gestion, Relation clientèle, travail pour l''amélioration des services', 'Mise en place du magasins pour les fêtes de fin d''année'), (39, 8, 'Responsable Commercial', 3, 'Partout dans le monde', 'Arrive à concilier les deux en faisant des concessions', 8, 'identifier de nouveaux besoins sur de nouveaux marchés', 'La mise sur le marché d''un de nos produits phares qui permet de lutter contre Alzeimer'), (40, 5, 'Commercial', 1, 'Pas de déplacements à l’étranger', 'Arrive à concilier les deux en faisant des concessions', 2, 'Bouger, être souvent sur la route et vendre', 'Mise en place de la liaison Paris-Marseille'), (41, 4, 'Ingénieur bureau d''études', 8, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 11, 'Trouver les solutions aux problèmes rencontrés, trouver de nouveaux produits toujours plus performants', 'La conception des installations pour un nouveau produit innovant'), (42, 8, 'Chercheur', 3, 'En Europe', 'Arrive à concilier les deux en faisant des concessions', 5, 'la dimension expérimentale', 'le projet de recherche européen sur les molécules intelligentes'), (43, 6, 'Chef de projet', 3, 'En Europe', 'Arrive facilement à concilier les deux', 5, 'Travail en équipe, création et innovation', 'Développement du nouveau système embarqué du dernier concept car'), (44, 4, 'Chercheur', 5, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 7, 'Travailler en laboratoire', 'L''application d''une nouvelle molécule pour une peinture séchage instantané'), (45, 9, 'Responsable Achats', 5, 'Partout dans le monde', 'Arrive à concilier les deux en faisant des concessions', 11, 'La rencontre avec nos fournisseurs et la recherche de solution de solution d''optimisation', 'L''optimisation des achats sur un projet France-Chine'), (46, 4, 'Responsable Commercial', 7, 'En Europe', 'Conciliation difficile, métier extrêmement prenant', 7, 'La négociation des contrats', 'La négociation d''un important contrat'), (47, 6, 'Commerciale', 3, 'Pas de déplacements à l’étranger', 'Arrive à concilier les deux en faisant des concessions', 4, 'La relation avec le client, vendre les produits plus leur mis en valeur', 'Vente du dernier concept car au grands groupe automobile'), (48, 9, 'Responsable du Développement Zone Europe', 7, 'En Europe', 'Arrive à concilier les deux en faisant des concessions', 7, 'La dimension internationale', 'Le développement de nos offres sur les marchés Pologne - Autriche'), (49, 11, 'Acheteur', 2, 'En Amérique du Nord', 'Arrive à concilier les deux en faisant des concessions', 4, 'Obtenir les meilleures marchandises aux meilleurs prix', 'La prospection et la négociation en achat international'), (50, 9, 'Responsable Logistique et Transport', 5, 'En Europe', 'Arrive facilement à concilier les deux', 9, 'la recherche de nouvelle solutions qui combinent les attentes de tous nos partenaires', 'L''organisation logistique du démantèlement puis de la reconstruction de l''usine de Hong Kong'), (51, 6, 'DRH', 2, 'En Europe', 'Arrive facilement à concilier les deux', 4, 'Rencontre de nouvelle graines potentiel pour l''entreprise et gérer les emploi', 'aucun'), (52, 11, 'Chef de rayon', 8, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 12, 'Mon autonomie pour l''organisation des rayons', 'La refonte totale de mon rayon'), (53, 11, 'Commercial', 5, 'En Europe', 'Conciliation difficile, métier extrêmement prenant', 5, 'Toujours être au courant des nouvelles tendance du marché', 'La négociation d''un contrat à l''international'), (54, 12, 'Ingénieur chimiste', 3, 'En Europe', 'Arrive facilement à concilier les deux', 5, 'La recherche, la patience et les trouvailles', 'Travail sur la molécule décudéno-acide'), (55, 12, 'Responsable vente', 5, 'En Europe', 'Arrive à concilier les deux en faisant des concessions', 8, 'Faire tout mon possible pour vendre les produits, et faire aimer nos produits a nos clients', 'La vente du pharmacop'), (56, 12, 'Responsable d''achat', 3, 'En Europe', 'Arrive à concilier les deux en faisant des concessions', 5, 'Vérifier et chercher les bonnes matières pour nos produits', 'aucun'), (66, 10, 'Responsable de supermarché', 4, 'En Europe', 'Arrive facilement à concilier les deux', 6, 'Organiser, manager mes équipes', 'Les fêtes de fin d''année'), (67, 10, 'Responsable d''Achat', 3, 'Pas de déplacements à l’étranger', 'Arrive à concilier les deux en faisant des concessions', 5, 'Choisir avec précision les matières pour nos magasins', 'Achat des shamppoing'), (68, 10, 'Responsable Logistique', 6, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 10, 'Organiser, gérer les choses', 'Fêtes de fin d''année'), (70, 14, 'Ingénieur qualité', 3, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 5, 'Regarder si tout est correct et conforme', 'aucun'), (71, 14, 'Ingénieur bureau d''études', 3, 'Pas de déplacements à l’étranger', 'Conciliation difficile, métier extrêmement prenant', 7, 'Planifier, et mettre en place', 'Le dernier concept car'), (72, 14, 'Responsable de gamme', 2, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 3, 'Surveiller l''évolution de la gamme et la valoriser', 'La gamme Alpha Edira'), (73, 16, 'Conseiller junior', 3, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 5, 'Encadrer, rassurer et mettre en place avec mes clients', 'La société Olphorat'), (74, 16, 'Conseiller Senior', 3, 'En Europe', 'Conciliation difficile, métier extrêmement prenant', 9, 'Encadrer, conseiller', 'Le projet Rarup'), (76, 16, 'Conseiller en Développement Durable', 4, 'Aux Emirats Arabes Unis', 'Arrive facilement à concilier les deux', 10, 'Mettre en place, conseiller', 'La tour Ranima'), (77, 18, 'Responsable audit clientèle', 3, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 6, 'Travailler avec les clients dans mon domaine', 'L''entreprise Tactico'), (78, 18, 'Conseiller Junior', 3, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 5, 'Conseiller mon client vers la meilleure solution', 'Le projet TPEX'), (79, 18, 'Conseiller qualité et services', 5, 'En Afrique', 'Arrive facilement à concilier les deux', 10, 'Conseiller les entreprises a adopter la bonne solution pour eux', 'Le TPE et PME en Afrique'), (80, 1, 'Chargée des Concours', 1, 'Pas de déplacements à l’étranger', 'Arrive facilement à concilier les deux', 1, 'le travail en équipe', 'la collaboration pour notre solution sur une plateforme de crowdfunding'); INSERT INTO `resume` (`id`, `start`, `end`, `address`, `discr`) VALUES (1, '2004', '2006', 'Dijon, France', 'student'), (2, '2006', '2007', 'Dijon, France', 'student'), (3, '2011', 'maintenant', 'Paris 11e, France', 'professional'), (4, '2011', NULL, 'Levallois-Perret, France', 'professional'), (5, '1999', '2004', 'Paris', 'student'), (6, '2000', '2005', 'Paris', 'student'), (7, '2000', '2003', 'Marseille', 'student'), (8, '2004', '2006', 'Lyon', 'student'), (9, '1999', '2004', 'Paris', 'student'), (10, '1999', '2001', 'La Rochelle', 'student'), (11, '2000', '2005', 'Paris', 'student'), (12, '2005', '2010', 'Paris', 'student'), (13, '1999', '2003', 'Paris', 'student'), (14, '2004', '2007', 'Paris', 'student'), (15, '2008', '2010', 'Paris', 'professional'), (16, '2010', 'maintenant', 'Paris', 'professional'), (17, '2000', '2005', 'Montreuil', 'student'), (18, '2001', '2006', 'Paris', 'student'), (19, '1999', '2002', 'Rennes', 'student'), (20, '2006', '2009', 'Saint-Denis', 'student'), (21, '2001', '2006', 'Nantes', 'student'), (22, '2004', '2009', 'Marseille', 'student'), (23, '2004', '2008', 'Paris', 'professional'), (24, '2001', '2004', 'Le Havre', 'student'), (25, '1999', '2001', 'Marseille', 'student'), (26, '2002', '2007', 'Caen', 'student'), (27, '2000', '2003', 'Londres', 'student'), (28, '2001', '2004', 'Londres', 'student'), (29, '2001', '2005', 'Heidelberg', 'student'), (30, '1999', '2001', 'Berlin', 'student'), (31, '2001', '2006', 'LaSalle Beauvais', 'student'), (32, '2004', '2009', 'Paris', 'student'), (33, '2003', '2006', 'Montreuil', 'student'), (34, '1999', '2003', 'Paris', 'student'), (35, '2002', '2005', 'Grenoble', 'student'), (36, '2004', '2007', 'Montreuil', 'student'), (37, '1999', '2002', 'Lonwgy', 'student'), (38, '2007', '2012', 'Paris', 'student'), (39, '2003', '2005', 'Lyon', 'professional'), (40, '2005', '2007', 'Nantes', 'professional'), (41, '2000', '2003', 'Grenoble', 'student'), (42, '2007', '2010', 'Rennes', 'student'), (43, '2002', '2002', 'Fontainebleau', 'student'), (44, '2004', '2007', 'Paris', 'professional'), (45, '2007', '2010', 'Paris', 'professional'), (46, '2005', '2007', 'Nantes', 'professional'), (47, '2007', '2010', 'Nantes', 'professional'), (48, '2001', '2004', 'Paris', 'student'), (49, '2006', '2011', 'Paris', 'student'), (50, '2007', 'maintenant', '8 rue Halévy 75009 Paris', 'professional'), (51, '1999', '2001', 'La Défense', 'professional'), (52, '2003', '2007', 'La Défense', 'professional'), (53, '2012', 'maintenant', 'Paris', 'professional'), (54, '2011', '2012', 'Rennes', 'student'), (55, '2013', 'maintenant', 'Rennes', 'student'), (56, '2011', '2012', 'Ile de France', 'professional'), (57, '2010', '2011', 'Ile de France', 'professional'); INSERT INTO `resume_professional` (`id`, `ambassador_id`, `job`, `company`) VALUES (3, 2, 'Lead Dev', 'ABA Education'), (4, 2, 'Développeur web', 'ma-résidence.fr'), (15, 42, 'Chercheur Assistante', 'Lorealo'), (16, 42, 'Chercheur', 'ASFO'), (23, 50, 'Chargé de la Logistique', 'PLASTICOMNIUMM'), (39, 3, 'Market Manager IS', 'Cegelec'), (40, 3, 'Directrice d''Unité de Production', 'SNCF'), (44, 37, 'Ingénieur Bureau d''Etudes', 'Chimie Conseils'), (45, 37, 'Ingénieur Chimiste', 'GoChimie'), (46, 39, 'Assistante Commerciale', 'Cege2A'), (47, 39, 'Chef de Produit', 'Cege2A'), (50, 5, 'Directeur Banque d''Investissement', 'LD&A Jupiter'), (51, 5, 'Management Consulting', 'IBM France'), (52, 5, 'Corporate Development', 'IBM EMEA'), (53, 80, 'Professeur Vacataire de Marketing', 'ISTEC'), (56, 4, 'Consultante en Accompagnement du Changement', 'IBM'), (57, 4, 'Assistante Marketing', 'Firmenich'); INSERT INTO `resume_student` (`id`, `ambassador_id`, `formationName`, `institution`) VALUES (1, 2, 'BTS IRIS', 'Lycée Eiffel'), (2, 2, 'license informatique', 'Université de Bourgogne'), (5, 28, 'Commerce Internationnal', 'HEC'), (6, 30, 'Chimiste', 'ENSCP'), (7, 35, 'Marketing', 'Euromed'), (8, 36, 'BTS commercial', 'AGRACOM'), (9, 37, 'Diplôme d''Ingénieur', 'Ecole Nationale de Chimie de Paris'), (10, 38, 'Management', 'ESC'), (11, 39, 'Diplôme d''Ecole de Commerce', 'Ecole Supérieure de Commerce de Paris'), (12, 40, 'Ecole de Commerce', 'EM Normandie'), (13, 41, 'Ingenieur', 'ENSC'), (14, 42, 'Doctorat', 'Ecole Nationale de Chimie de Paris'), (17, 43, 'Informaticien', 'EISI'), (18, 44, 'Master Chimie', 'CHIMITECH'), (19, 45, 'Master Gestion des Entreprises', 'Institut d''Adminsitration des Entreprises de Rennes'), (20, 47, 'Technique Commercial', 'IUT Saint-Denis'), (21, 48, 'Diplôme d''Ecole de Commerce', 'Audencia Nantes'), (22, 49, 'Master Commerce', 'ISTEG'), (24, 51, 'Ressources Humaines', 'EM Normandie'), (25, 52, 'BTS commercial', 'COMAPRO'), (26, 54, 'Ingénieur Chimiste', 'ENSICAEN'), (27, 55, 'Commerce', 'INSEEC Londres'), (28, 56, 'Commerce', 'ECE'), (29, 67, 'Commerce', 'SIU'), (30, 68, 'Logistique', 'ESCP Europe'), (31, 71, 'Bureau d''études', 'Polytech'), (32, 72, 'Marketing', 'WIBS Paris'), (33, 73, 'Management', 'IUT Montreuil'), (34, 74, 'Management', 'ISC Paris'), (35, 77, 'Audit', 'IUT 1 Grenoble'), (36, 78, 'Management', 'IUT Montreuil'), (37, 79, 'Management', 'IUT Lonwgy'), (38, 4, 'Diplôme d''Ecole de Commerce', 'ISTEC'), (41, 3, 'Diplôme d''Ingénieur', 'ENSPG'), (42, 3, 'Doctorat en Marketing', 'IAE de Rennes'), (43, 5, 'MBA', 'INSEAD'), (48, 42, 'Diplôme d''Ingénieur Chilmiste', 'Ecole Nationale de Chimie de Paris'), (49, 80, 'Diplôme Ecole de Commerce', 'ISTEC'), (54, 80, 'M2 Recherche en Marketing', 'Université de Rennes 1, IGR-IAE'), (55, 80, 'Doctorat de Marketing', 'Université de Rennes 1'); INSERT INTO `users_languages` (`user_id`, `language_id`) VALUES (2, 1), (3, 1), (3, 2), (3, 4), (3, 6), (4, 1), (4, 2), (5, 1), (5, 2), (5, 4), (6, 1), (6, 2), (28, 1), (28, 2), (29, 1), (29, 2), (30, 1), (30, 2), (33, 1), (33, 4), (34, 1), (34, 2), (35, 1), (35, 3), (36, 1), (36, 2), (36, 5), (37, 1), (37, 2), (38, 1), (39, 1), (39, 2), (39, 3), (40, 1), (40, 7), (41, 1), (42, 1), (42, 2), (43, 1), (43, 2), (43, 6), (44, 1), (45, 1), (45, 2), (45, 5), (46, 1), (46, 2), (46, 4), (47, 1), (47, 2), (48, 1), (48, 2), (48, 4), (48, 5), (49, 1), (49, 2), (50, 1), (50, 2), (51, 1), (52, 1), (53, 1), (53, 2), (53, 5), (54, 1), (54, 2), (55, 2), (55, 6), (56, 2), (56, 5), (66, 2), (66, 4), (67, 2), (68, 1), (68, 4), (70, 1), (70, 2), (71, 1), (71, 3), (71, 5), (72, 1), (72, 2), (72, 7), (73, 1), (73, 2), (73, 6), (76, 1), (76, 2), (77, 1), (77, 7), (78, 1), (79, 1), (79, 2), (80, 1), (80, 2);
Create Procedure sp_get_CustQuotations_Item(@CustCode as nVarchar(50),@ItemCode as nVarchar(255)) As -- Multiple Quotation not handled Select Top 1 QAbs.QuotationId From QuotationAbstract QAbs, QuotationCustomers QCust,QuotationItems QItem Where QCust.CustomerID = @CustCode And Active = 1 and QAbs.QuotationID = QItem.QuotationID and QItem.Product_Code=@Itemcode And Getdate() Between ValidFromDate and ValidToDate And QAbs.QuotationId = QCust.QuotationId
CREATE TABLE revista( id int not null primary key auto_increment, nome varchar(100), ano int(4), mes varchar(15), qtdpagina int(4) )ENGINE=InnoDB;
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 30-06-2016 a las 01:48:10 -- Versión del servidor: 10.1.13-MariaDB -- Versión de PHP: 5.6.21 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de datos: `inigo` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `admin` -- CREATE TABLE `admin` ( `id` int(10) NOT NULL, `user` varchar(20) NOT NULL, `password` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `admin` -- INSERT INTO `admin` (`id`, `user`, `password`) VALUES (1, 'juanperez', 'hola'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `areas` -- CREATE TABLE `areas` ( `id` int(10) NOT NULL, `user` varchar(11) NOT NULL, `password` varchar(20) NOT NULL, `nombre_area` varchar(20) NOT NULL, `descripcion` text NOT NULL, `jefe_area` varchar(40) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `areas` -- INSERT INTO `areas` (`id`, `user`, `password`, `nombre_area`, `descripcion`, `jefe_area`) VALUES (1, 'juan', '321', 'Ninguna', 'prueba de areas', 'Jose Robles'), (2, 'MER-2016-01', 'holaA-=', 'Mercadotecnia', 'Encargado de satisfacen sus necesidades al crear e intercambiar bienes y servicios', 'Luis Anibal'), (3, 'PRO-1998-01', 'Axd09./', 'Produccion', 'Se encarga de manejar os productos de la empresa', 'Jose Bernardo'), (4, 'FIN-2016-02', '13123AS-[', 'Finanzas', 'Encargado de manejar el estado económico, gastos e ingresos de la empresa', 'Rosa Beltran'), (5, 'REH-2014-01', '1', 'Recursos Humanos', 'Esta area se encarga de organizar a los empleados en general', 'Rodrigo Begazo'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `asistencia` -- CREATE TABLE `asistencia` ( `id` int(10) NOT NULL, `user_id` int(10) NOT NULL, `area_id` int(10) NOT NULL, `fecha` date NOT NULL, `asistencia` tinyint(1) NOT NULL, `registro_asistencia` varchar(14) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `empleados` -- CREATE TABLE `empleados` ( `id` int(10) NOT NULL, `codigo` varchar(17) NOT NULL, `user` varchar(17) NOT NULL, `nombre` varchar(40) NOT NULL, `password` varchar(20) NOT NULL, `fecha_nacimiento` date NOT NULL, `dni` varchar(8) NOT NULL, `ingreso` year(4) NOT NULL, `email` varchar(30) NOT NULL, `telefono` varchar(13) NOT NULL, `celular` varchar(13) NOT NULL, `area_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `empleados` -- INSERT INTO `empleados` (`id`, `codigo`, `user`, `nombre`, `password`, `fecha_nacimiento`, `dni`, `ingreso`, `email`, `telefono`, `celular`, `area_id`) VALUES (1, '123', '', '', '', '1988-06-29', '0', 0000, '', '0', '0', 0), (2, '123', '', '', '', '1990-10-12', '0', 0000, '', '0', '0', 0), (3, '312', '312', '312', '312', '1995-07-30', '312', 0000, '312', '312', '312', 0), (4, 'MER-45628-2016-01', 'MER-45628-2016-01', 'Pancho Rodriguez', 'ale123A-&gt;', '1989-01-13', '71440896', 2006, 'pancho@inigo.com', '54272222', '978767562', 5), (5, 'PRO-98264-2016-01', 'PRO-98264-2016-01', 'Rodrigo Alendro', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 2), (6, 'FIN-82736-2016-01', 'FIN-82736-2016-01', 'Raul Loyola', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (7, 'REH-28356-2016-01', 'REH-28356-2016-01', 'Alejandro Valdivia', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4), (8, 'MER-28374-2016-01', 'MER-28374-2016-01', 'Natalia Guitierrez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (9, 'MER-19260-2016-01', 'MER-19260-2016-01', 'Lucia Maraniego', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (10, 'MER-01723-2016-01', 'MER-01723-2016-01', 'Bruno Sandres', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (11, 'PRO-28374-2016-01', 'PRO-28374-2016-01', 'Ignacio Bustinza', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 2), (12, 'PRO-27364-2016-01', 'PRO-27364-2016-01', 'Patricio Valderrama', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 2), (13, 'PRO-36472-2016-01', 'PRO-36472-2016-01', 'Ana Lucia Rondon', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 2), (14, 'FIN-19273-2016-01', 'FIN-19273-2016-01', 'Jimena Albarado', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (15, 'FIN-10254-2016-01', 'FIN-10254-2016-01', 'Sandra Zegarra', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (16, 'FIN-15351-2016-01', 'FIN-15351-2016-01', 'Samuel Carpio', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (17, 'FIN-11428-2016-01', 'FIN-11428-2016-01', 'David Jimenez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (18, 'REH-10259-2016-01', 'REH-10259-2016-01', 'Daniela Bustos', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4), (19, 'REH-12321-2016-01', 'REH-12321-2016-01', 'Gabriela Hernandez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4), (20, 'REH-10323-2016-01', 'REH-10323-2016-01', 'Juan Fernandez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4), (21, 'MER-11972-2016-01', 'MER-11972-2016-01', 'Michell Gomez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (22, 'MER-02642-2016-01', 'MER-02642-2016-01', 'Luisa Bedoya', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (23, 'MER-11923-2016-01', 'MER-11923-2016-01', 'Anabel Lazo', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (24, 'REH-12321-2016-01', 'REH-12321-2016-01', 'Ramiro Guitierrez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4), (25, 'REH-12325-2016-01', 'REH-12325-2016-01', 'Hernan Salvador', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4), (26, 'PRO-10982-2016-01', 'PRO-10982-2016-01', 'Susana Alatrista', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 2), (27, 'PRO-10442-2016-01', 'PRO-10442-2016-01', 'Milagros Moscozo', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 2), (28, 'MER-98524-2016-01', 'MER-98524-2016-01', 'Robert Alaya', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (29, 'MER-97523-2016-01', 'MER-97523-2016-01', 'Carlos Lindo', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (30, 'MER-76232-2016-01', 'MER-76232-2016-01', 'Luis Sanchez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (31, 'MER-89654-2016-01', 'MER-89654-2016-01', 'Manuel Bejarano', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 5), (32, 'FIN-27364-2016-01', 'FIN-27364-2016-01', 'Isabel Quiroz', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (33, 'FIN-86374-2016-01', 'FIN-86374-2016-01', 'Rodrigo Juarez', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (34, 'FIN-28462-2016-01', 'FIN-28462-2016-01', 'Juan Beltran', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 3), (35, 'REH-28646-2016-01', 'REH-28646-2016-01', 'Angel Cano', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4), (36, 'REH-28309-2016-01', 'REH-28309-2016-01', 'Jose Talavera', 'asdhQ-;', '1993-10-13', '23231231', 2006, 'c2089930@trbvn.com', '54272798', '976782309', 4); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `admin` -- ALTER TABLE `admin` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `areas` -- ALTER TABLE `areas` ADD PRIMARY KEY (`id`), ADD KEY `id` (`id`), ADD KEY `id_2` (`id`); -- -- Indices de la tabla `asistencia` -- ALTER TABLE `asistencia` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `empleados` -- ALTER TABLE `empleados` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `admin` -- ALTER TABLE `admin` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `areas` -- ALTER TABLE `areas` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT de la tabla `asistencia` -- ALTER TABLE `asistencia` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `empleados` -- ALTER TABLE `empleados` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- echo Building demo tables. Please wait. DROP TABLE Student; DROP TABLE Class_Lookup; DROP TABLE Tutor; DROP TABLE Grade; DROP TABLE EMP CASCADE CONSTRAINTS; DROP TABLE DEPT; DROP TABLE SALGRADE; DROP TABLE Prod CASCADE CONSTRAINTS; DROP TABLE Vend; CREATE TABLE Student ( ID NUMBER(1) NOT NULL, Name CHAR(10), YR NUMBER(1), CONSTRAINT Student_PRIM_KEY PRIMARY KEY (ID)); INSERT INTO Student VALUES (0, 'Bill Brown', 2); INSERT INTO Student VALUES (1, 'Xi Jin', 4); INSERT INTO Student VALUES (2, 'Carlos Lee', 3); INSERT INTO Student VALUES (3, 'Karim J', 4); INSERT INTO Student VALUES (4, 'Sue James', 3); INSERT INTO Student VALUES (5, 'Jan Ruud', 3); CREATE TABLE Class_Lookup ( ID NUMBER(1), Name CHAR(5), CONSTRAINT Class_Lookup_PRIM_KEY PRIMARY KEY (ID)); INSERT INTO Class_Lookup VALUES (0, 'IE499'); INSERT INTO Class_Lookup VALUES (1, 'IE543'); INSERT INTO Class_Lookup VALUES (2, 'IE552'); INSERT INTO Class_Lookup VALUES (3, 'IE486'); CREATE TABLE Tutor ( ID NUMBER(1), Name CHAR(10), Class_LU NUMBER(1), CONSTRAINT Tutor_PRIM_KEY PRIMARY KEY (ID)); INSERT INTO Tutor VALUES (0, 'Ron Ott', 0); INSERT INTO Tutor VALUES (1, 'Ron Ott', 3); INSERT INTO Tutor VALUES (2, 'Xi Jin', 2); INSERT INTO Tutor VALUES (3, 'Raul Tomas', 1); INSERT INTO Tutor VALUES (4, 'Raul Tomas', 2); CREATE TABLE Grade ( Student_ID NUMBER(1), Class_LU NUMBER(1), Score NUMBER(3), CONSTRAINT Grade_FOREIGN_KEY FOREIGN KEY (Class_LU) REFERENCES Class_Lookup (ID)); INSERT INTO Grade VALUES (0, 0, 87); INSERT INTO Grade VALUES (0, 3, 92); INSERT INTO Grade VALUES (0, 1, 94); INSERT INTO Grade VALUES (1, 1, 100); INSERT INTO Grade VALUES (2, 0, 76); INSERT INTO Grade VALUES (2, 1, 80); INSERT INTO Grade VALUES (2, 2, 88); INSERT INTO Grade VALUES (2, 3, 89); INSERT INTO Grade VALUES (3, 1, 94); INSERT INTO Grade VALUES (3, 2, 87); INSERT INTO Grade VALUES (4, 0, 82); INSERT INTO Grade VALUES (4, 3, 92); INSERT INTO Grade VALUES (5, 1, 79); INSERT INTO Grade VALUES (5, 2, 91); CREATE TABLE DEPT ( DEPTNO NUMBER(2) NOT NULL, DNAME CHAR(14), LOC CHAR(13), CONSTRAINT DEPT_PRIMARY_KEY PRIMARY KEY (DEPTNO)); INSERT INTO DEPT VALUES (10,'ACCOUNTING','NEW YORK'); INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS'); INSERT INTO DEPT VALUES (30,'SALES','CHICAGO'); INSERT INTO DEPT VALUES (40,'OPERATIONS','BOSTON'); CREATE TABLE EMP ( EMPNO NUMBER(4) NOT NULL, ENAME CHAR(10), JOB CHAR(9), MGR NUMBER(4) CONSTRAINT EMP_SELF_KEY REFERENCES EMP (EMPNO), HIREDATE DATE, SAL NUMBER(7,2), COMM NUMBER(7,2), DEPTNO NUMBER(2) NOT NULL, CONSTRAINT EMP_FOREIGN_KEY FOREIGN KEY (DEPTNO) REFERENCES DEPT (DEPTNO), CONSTRAINT EMP_PRIM_KEY PRIMARY KEY (EMPNO)); -- INSERT INTO EMP VALUES (1234, 'WOLF', 'OPERATOR', 7839, '25-JUN-1982', 2000, 400, 40); -- INSERT INTO EMP VALUES (2345, 'SORE', 'OPERATOR', 7839, '27-JUN-1982', 1500, 300, 40); INSERT INTO EMP VALUES (7839,'KING','PRESIDENT',NULL,'17-NOV-1981',5000,NULL,10); INSERT INTO EMP VALUES (7698,'BLAKE','MANAGER',7839,'1-MAY-1981',2850,NULL,30); INSERT INTO EMP VALUES (7782,'CLARK','MANAGER',7839,'9-JUN-1981',2450,NULL,10); INSERT INTO EMP VALUES (7566,'JONES','MANAGER',7839,'2-APR-1981',2975,NULL,20); INSERT INTO EMP VALUES (7654,'MARTIN','SALESMAN',7698,'28-SEP-1981',1250,1400,30); INSERT INTO EMP VALUES (7499,'ALLEN','SALESMAN',7698,'20-FEB-1981',1600,300,30); INSERT INTO EMP VALUES (7844,'TURNER','SALESMAN',7698,'8-SEP-1981',1500,0,30); INSERT INTO EMP VALUES (7900,'JAMES','CLERK',7698,'3-DEC-1981',950,NULL,30); INSERT INTO EMP VALUES (7521,'WARD','SALESMAN',7698,'22-FEB-1981',1250,500,30); INSERT INTO EMP VALUES (7902,'FORD','ANALYST',7566,'3-DEC-1981',3000,NULL,20); INSERT INTO EMP VALUES (7369,'SMITH','CLERK',7902,'17-DEC-1980',800,NULL,20); INSERT INTO EMP VALUES (7788,'SCOTT','ANALYST',7566,'09-DEC-1982',3000,NULL,20); INSERT INTO EMP VALUES (7876,'ADAMS','CLERK',7788,'12-JAN-1983',1100,NULL,20); INSERT INTO EMP VALUES (7934,'MILLER','CLERK',7782,'23-JAN-1982',1300,NULL,10); CREATE TABLE SALGRADE ( GRADE NUMBER, LOSAL NUMBER, HISAL NUMBER); INSERT INTO SALGRADE VALUES (1,700,1200); INSERT INTO SALGRADE VALUES (2,1201,1400); INSERT INTO SALGRADE VALUES (3,1401,2000); INSERT INTO SALGRADE VALUES (4,2001,3000); INSERT INTO SALGRADE VALUES (5,3001,9999); CREATE TABLE Prod ( ProdNo NUMBER(4) NOT NULL, PName CHAR(10), Type CHAR(4), Family NUMBER(4), Price NUMBER(7,2), Disc NUMBER(3,1), IntroDate DATE, VendNo NUMBER(4), Inv NUMBER(3), PRIMARY KEY (ProdNo)); INSERT INTO Prod VALUES ( 4186, 'Lotus 123', 'SPSH', 2215, 399.95, 25, '08-MAY-1990' ,26, 35); INSERT INTO Prod VALUES ( 2215, 'Windows', 'OS', 7224, 129, 40, '15-JUN-1990' ,12, 123); INSERT INTO Prod VALUES ( 6240, 'AmiPro', 'WP', 2215, 295.5, 33.3, '01-JUN-1990' ,26, 17); INSERT INTO Prod VALUES ( 7224, 'MS-DOS', 'OS', NULL, 99.95, 30, '03-MAR-1991' ,12, 88); INSERT INTO Prod VALUES ( 3055, 'Lotus 123', 'SPSH', 3088, 399.95, 0, '18-OCT-1990' ,26, 12); INSERT INTO Prod VALUES ( 3088, 'Macintosh', 'OS', NULL, 149.95, NULL, '12-DEC-1989' ,41, 142); INSERT INTO Prod VALUES ( 1108, 'Finance', 'BUS', 4186, 99.95, NULL, '22-APR-1991' ,82, 16); INSERT INTO Prod VALUES ( 9167, 'Lotus 123', 'SPSH', 7224, 399.95, 35, '26-FEB-1989' ,26, 71); INSERT INTO Prod VALUES ( 4925, 'Paradox', 'DBMS', 7224, 345, 25, '21-SEP-1989' ,55, 64); INSERT INTO Prod VALUES ( 1067, 'Finance', 'BUS', 9167, 99.95, NULL, '07-MAR-1989' ,82, 0); INSERT INTO Prod VALUES ( 6482, 'BusPlan', 'BUS', 4186, 54.5, 10, '05-JAN-1991' ,82, 41); INSERT INTO Prod VALUES ( 7190, 'BusPlan', 'BUS', 9167, 54.5, 10, '14-FEB-1989' ,82, NULL); INSERT INTO Prod VALUES ( 6888, 'BusPlan', 'BUS', 3055, 54.5, 0, '14-FEB-1989' ,82, 26); INSERT INTO Prod VALUES ( 3981, 'SQL*Report', 'DBMS', 5476, 149.5, 0, '22-SEP-1990' ,58, 12); INSERT INTO Prod VALUES ( 9482, 'Quattro', 'SPSH', 7224, 199.95, 30, '24-AUG-1990' ,55, 53); INSERT INTO Prod VALUES ( 5476, 'Oracle', 'DBMS', 7224, 895, 5, '12-SEP-1990' ,58, 38); INSERT INTO Prod VALUES ( 3007, 'Finance', 'BUS', 9482, 99.95, NULL, '06-NOV-1990' ,82, 17); INSERT INTO Prod VALUES ( 8120, 'Inventory', 'BUS', 9482, 199.5, 10, '06-NOV-1990' ,82, 0); INSERT INTO Prod VALUES ( 1830, 'SQL*Plus', 'DBMS', 5476, 199.5, 5, '06-OCT-1990' ,58, 19); CREATE TABLE Vend ( VName CHAR(10), VState CHAR(2), VendNo NUMBER(2) NOT NULL, Acct CHAR(5), PRIMARY KEY (VendNo)); INSERT INTO Vend VALUES ( 'Apple', 'CA', 41, 'COD'); INSERT INTO Vend VALUES ( 'Oracle', 'CA', 58, '30'); INSERT INTO Vend VALUES ( 'Lotus', 'UT', 26, '30'); INSERT INTO Vend VALUES ( 'Microsoft', 'WA', 12, '10'); INSERT INTO Vend VALUES ( 'Acme', 'UT', 82, 'COD'); INSERT INTO Vend VALUES ( 'Borland', 'CA', 55, '30'); INSERT INTO Vend VALUES ( 'Ace', 'OR', 67, '30'); COMMIT;
update webutility.wzde_files set checksum = :checksum where path = :path and filename = :filename;
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 12, 2021 at 10:17 AM -- Server version: 10.3.16-MariaDB -- PHP Version: 7.4.19 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `trash_separator` -- -- -------------------------------------------------------- -- -- Table structure for table `capacities` -- CREATE TABLE `capacities` ( `id` int(11) NOT NULL, `trash_can_id` int(11) NOT NULL, `plastic_capacity` double NOT NULL, `metal_capacity` double NOT NULL, `glass_capacity` double NOT NULL, `timestamp` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `capacities` -- INSERT INTO `capacities` (`id`, `trash_can_id`, `plastic_capacity`, `metal_capacity`, `glass_capacity`, `timestamp`) VALUES (1, 1, 5, 5, 2, NULL); -- -------------------------------------------------------- -- -- Table structure for table `logs` -- CREATE TABLE `logs` ( `id` int(11) NOT NULL, `trash_can_id` int(11) NOT NULL, `type` varchar(255) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `logs` -- INSERT INTO `logs` (`id`, `trash_can_id`, `type`, `timestamp`) VALUES (1, 1, 'plastic', '2021-09-12 09:02:36'), (2, 1, 'plastic', '2021-09-12 09:03:04'), (3, 1, 'metal', '2021-09-12 09:08:50'), (4, 1, 'metal', '2021-09-12 09:11:59'), (5, 1, 'glass', '2021-09-12 09:13:03'); -- -------------------------------------------------------- -- -- Table structure for table `trash_cans` -- CREATE TABLE `trash_cans` ( `id` int(11) NOT NULL, `location` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `trash_cans` -- INSERT INTO `trash_cans` (`id`, `location`) VALUES (1, 'UMN'); -- -------------------------------------------------------- -- -- Table structure for table `types` -- CREATE TABLE `types` ( `id` int(11) NOT NULL, `type_name` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `types` -- INSERT INTO `types` (`id`, `type_name`) VALUES (1, 'plastic'), (2, 'metal'), (3, 'glass'); -- -- Indexes for dumped tables -- -- -- Indexes for table `capacities` -- ALTER TABLE `capacities` ADD PRIMARY KEY (`id`), ADD KEY `trash_can_id` (`trash_can_id`); -- -- Indexes for table `logs` -- ALTER TABLE `logs` ADD PRIMARY KEY (`id`), ADD KEY `trash_can_id` (`trash_can_id`); -- -- Indexes for table `trash_cans` -- ALTER TABLE `trash_cans` ADD PRIMARY KEY (`id`); -- -- Indexes for table `types` -- ALTER TABLE `types` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `capacities` -- ALTER TABLE `capacities` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `logs` -- ALTER TABLE `logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `trash_cans` -- ALTER TABLE `trash_cans` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `types` -- ALTER TABLE `types` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- Constraints for dumped tables -- -- -- Constraints for table `capacities` -- ALTER TABLE `capacities` ADD CONSTRAINT `capacities_ibfk_1` FOREIGN KEY (`trash_can_id`) REFERENCES `trash_cans` (`id`); -- -- Constraints for table `logs` -- ALTER TABLE `logs` ADD CONSTRAINT `logs_ibfk_1` FOREIGN KEY (`trash_can_id`) REFERENCES `trash_cans` (`id`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- phpMyAdmin SQL Dump -- version 4.7.0 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 17, 2017 at 06:03 AM -- Server version: 10.1.25-MariaDB -- PHP Version: 5.6.31 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `db_balepustaka` -- -- -------------------------------------------------------- -- -- Table structure for table `anggota` -- CREATE TABLE `anggota` ( `kode_anggota` varchar(5) COLLATE latin1_general_ci NOT NULL, `nama` varchar(30) COLLATE latin1_general_ci NOT NULL, `tanggal_lahir` date NOT NULL, `jenis_kelamin` char(1) COLLATE latin1_general_ci NOT NULL, `alamat` text COLLATE latin1_general_ci NOT NULL, `tanggal_daftar` date NOT NULL, `telepon` varchar(13) COLLATE latin1_general_ci NOT NULL, `paroki` varchar(30) COLLATE latin1_general_ci NOT NULL, `email` varchar(30) COLLATE latin1_general_ci NOT NULL, `image` varchar(100) COLLATE latin1_general_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `anggota` -- INSERT INTO `anggota` (`kode_anggota`, `nama`, `tanggal_lahir`, `jenis_kelamin`, `alamat`, `tanggal_daftar`, `telepon`, `paroki`, `email`, `image`) VALUES ('ID001', 'Hadi Firmansyah', '1995-01-08', 'L', 'Jl. Sindang Sari 1 No 30 Bandung', '2017-10-31', '08112288856', '-', 'hadifirmans@ymail.com', '1.jpg'), ('ID002', 'Abdul Azis A', '1996-04-11', 'L', 'Jl. Kosar No 10 Cijambe', '2017-11-15', '08911223123', '-', 'abdultjk18@gmail.com', ''), ('ID003', 'Ishal Jaya', '1995-03-09', 'L', 'Jl. Rancaekek 20 No 100 Kab. Bandung', '2016-09-17', '081672631233', '-', 'isjay2020@gmail.com', ''), ('ID005', 'Muhammad Albaihaqi', '1996-11-14', 'L', 'Jl. Kopo Indah No 200 Bandung', '2017-11-22', '085243112111', '-', 'alfikahfi100@gmail.com', ''), ('ID006', 'Sigit Stepanus Sitepu', '1996-04-20', 'L', 'Jl. Cinunuk Permai No 10 Kab. Bandung', '2017-11-22', '081321221123', '-', 'asssigit@gmail.com', ''), ('ID007', 'Abdillah Maliq F', '1997-05-17', 'L', 'Jl. Ciganitri No 10 Bandung', '2017-11-22', '081654261212', '-', 'abdillahmaliq@gmail.com', ''), ('ID008', 'Bobby Bhakti R', '1997-03-14', 'L', 'Jl. Geger Tali No 200 Cimahi', '2016-09-17', '081231233367', '-', 'bobbybhakti10@gmail.com', ''), ('ID009', 'Jihad Baddarudin', '1997-03-18', 'L', 'Jl. Jurang No 30 Setiabudhi Bandung', '2016-09-17', '0811152526112', '-', 'jihadbddr@gmail.com', ''), ('ID010', 'Nurul Aini Priatna', '2016-10-19', 'P', 'Jl. Mawar Indah No 30 Cijambe Bandung', '2016-09-17', '0877555213412', '-', 'nurulainiprtn@gmail.com', ''), ('ID012', 'Ade Mughni R', '1997-06-12', 'L', 'Jl. Logam 2 No 20 Bandung', '2016-09-22', '082211231222', '-', 'ademug@gmail.com', ''), ('ID013', 'Dwi Satrio', '1993-03-04', 'L', 'Buah Batu - Bandung', '2016-09-22', '08976489712', '-', 'dwisatrio@gmail.com', ''), ('ID014', 'Ichsan Agung', '1997-02-05', 'L', 'Bandung', '2016-10-06', '08767621662', '-', 'ichsan@gmail.com', '11112.PNG'), ('ID015', 'Tri Zaenal', '2016-10-04', 'L', 'Bandung', '2016-10-13', '08721212122', '-', 'tri@gmail.com', 'photo03.jpg'), ('ID016', 'Pratama', '1998-11-28', 'L', 'Bandung CIbiru', '2017-11-15', '085659122410', '-', 'pratama@gmail.com', '25EDA313B1B14E9BB59E790817B67E0C.jpg'), ('ID017', 'depi', '2017-11-03', 'P', 'bandug', '2017-11-22', '085659122410', '-', 'rizkysp07@gmail.com', 'BQkryWtCUAAf1Cv.jpg'); -- -------------------------------------------------------- -- -- Table structure for table `buku` -- CREATE TABLE `buku` ( `kode_buku` char(8) COLLATE latin1_general_ci NOT NULL, `judul_buku` varchar(50) COLLATE latin1_general_ci NOT NULL, `penulis` varchar(30) COLLATE latin1_general_ci NOT NULL, `penerbit` varchar(30) COLLATE latin1_general_ci NOT NULL, `tahun` char(4) COLLATE latin1_general_ci NOT NULL, `klasifikasi` varchar(7) COLLATE latin1_general_ci NOT NULL, `no_rak` int(11) NOT NULL, `stock` int(11) NOT NULL DEFAULT '1', `tanggal` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `buku` -- INSERT INTO `buku` (`kode_buku`, `judul_buku`, `penulis`, `penerbit`, `tahun`, `klasifikasi`, `no_rak`, `stock`, `tanggal`) VALUES ('16AA297', 'Cijambe Teriak', 'Abdul Azis Agung R', 'Gunung', '2010', '297', 4, 4, '2016-08-17'), ('16ACD188', 'Sherlock Holmes - Study In Scarlet', 'Arthur Conan Doyle', 'Gramedia', '1995', '188', 3, 1, '2016-08-09'), ('16ADE001', 'Narnia', 'Ade Mugni', 'Mizan', '2000', '200', 2, 3, '2016-10-13'), ('16DL200', 'Merangkak Dalam Duka', 'Abdillah', 'Gramedia', '2001', '200', 3, 1, '2016-09-17'), ('16JKR202', 'Harry Potter and The Chamber of Secret', 'JK. Rowling', 'Gramedia', '1990', '202', 3, 2, '2016-09-17'), ('16JKR203', 'Harry Potter and The Order of Phoenix', 'JK. Rowling', 'Gramedia', '1998', '203', 3, 0, '2016-09-17'), ('16KUI198', 'Menikah Muda', 'Ishal Jaya', 'Mizan', '2009', '198', 3, 2, '2016-09-17'), ('16MAK100', 'Tugas? Ada Abdul', 'M Alfi Kahfi', 'Gugus', '2001', '100', 3, 3, '2016-09-17'), ('16MAK202', 'Jomblo Sampe Halal bi Halal', 'M Aditya Kartun', 'Jones', '2009', '200', 4, 4, '2016-09-17'), ('16RD209', 'Marmut Merah Jambu', 'Raditya Dika', 'Gramedia', '2000', '209', 3, 2, '2016-09-17'), ('16UI288', 'Ghazi', 'Felix', 'Mizan', '2007', '288', 4, 1, '2016-09-17'), ('16YU200', 'Dikejar Deadline', 'Dwi Satrio', 'Kribo', '2014', '109', 3, 1, '2016-09-27'), ('17TER001', 'Tere Liye', 'Terajana', 'Terabit', '2016', '177', 9, 5, '2017-11-01'), ('17TER002', 'test', 'Terajana', 'Terabit', '1902', '177', 4, 12, '2017-11-22'); -- -------------------------------------------------------- -- -- Table structure for table `detail_kas` -- CREATE TABLE `detail_kas` ( `kode_transaksi` char(10) COLLATE latin1_general_ci NOT NULL, `uraian` varchar(50) COLLATE latin1_general_ci NOT NULL, `jenis` varchar(6) COLLATE latin1_general_ci NOT NULL, `nominal` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `detail_peminjaman` -- CREATE TABLE `detail_peminjaman` ( `kode_peminjaman` char(10) COLLATE latin1_general_ci NOT NULL, `kode_buku` char(8) COLLATE latin1_general_ci NOT NULL, `kode_dvd` char(8) COLLATE latin1_general_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `detail_peminjaman` -- INSERT INTO `detail_peminjaman` (`kode_peminjaman`, `kode_buku`, `kode_dvd`) VALUES ('BP16102501', '16JKR202', ''), ('BP16102502', '16ADE001', ''), ('BP16102503', '16ADE001', ''), ('BP16102504', '16KUI198', ''), ('BP16102505', '16MAK100', ''), ('BP16102506', '16KUI198', ''), ('BP16102601', '16ADE001', ''), ('BP16102602', '16MAK202', ''), ('BP16102603', '16MAK202', ''), ('BP16102604', '16MAK202', ''), ('BP16102605', '16MAK202', ''), ('BP16102606', '16RD209', ''), ('BP16102607', '16RD209', ''), ('BP16102608', '16ADE001', ''), ('BP16102609', '16JKR202', ''), ('BP16102610', '16JKR202', ''), ('BP16102611', '16MAK100', ''), ('BP16102612', '16ADE001', ''), ('BP16102612', '16JKR202', ''), ('BP16102612', '16MAK202', ''), ('BP16102612', '', 'DVD16006'), ('BP16102612', '', 'DVD16008'), ('BP16102613', '16ADE001', ''), ('BP16102614', '16JKR202', ''), ('BP17103101', '16ADE001', ''), ('BP17112201', '16JKR202', ''), ('BP17112202', '16ADE001', ''), ('BP17112203', '16ADE001', ''); -- -------------------------------------------------------- -- -- Table structure for table `detail_rak` -- CREATE TABLE `detail_rak` ( `no_rak` int(11) NOT NULL, `sisi` char(1) COLLATE latin1_general_ci NOT NULL, `klasifikasi` varchar(7) COLLATE latin1_general_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `dvd` -- CREATE TABLE `dvd` ( `kode_dvd` char(8) COLLATE latin1_general_ci NOT NULL, `judul_dvd` varchar(30) COLLATE latin1_general_ci NOT NULL, `tahun` char(4) COLLATE latin1_general_ci NOT NULL, `stock` int(11) NOT NULL DEFAULT '1', `tanggal` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `dvd` -- INSERT INTO `dvd` (`kode_dvd`, `judul_dvd`, `tahun`, `stock`, `tanggal`) VALUES ('DVD16001', 'Sherlock Holmes- Study Scarlet', '1998', 1, '2016-09-17'), ('DVD16002', 'The Chronicles Of Narnia', '2000', 4, '2016-09-17'), ('DVD16003', 'The Amazing Spider Man 2', '1998', 2, '2016-09-17'), ('DVD16004', 'Cinta Fitri 7', '2006', 0, '2016-09-17'), ('DVD16005', 'Manusia Setengah Kodok', '2008', 0, '2016-09-17'), ('DVD16006', 'Kebelet Kawin', '2000', 1, '2016-09-17'), ('DVD16007', 'Avatar - The Legend Of Aang', '2006', 1, '2016-09-17'), ('DVD16008', 'Batman - Dawn Of Justice', '2010', 1, '2016-09-17'), ('DVD16009', 'I\'m Legend', '2007', 1, '2016-09-17'), ('DVD16010', 'Gerakan Seribu Kaki', '2001', 1, '2016-09-17'); -- -------------------------------------------------------- -- -- Table structure for table `head_kas` -- CREATE TABLE `head_kas` ( `kode_transaksi` char(10) COLLATE latin1_general_ci NOT NULL, `tanggal` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `head_peminjaman` -- CREATE TABLE `head_peminjaman` ( `kode_peminjaman` char(10) COLLATE latin1_general_ci NOT NULL, `kode_petugas` char(5) COLLATE latin1_general_ci NOT NULL, `kode_anggota` char(5) COLLATE latin1_general_ci NOT NULL, `tanggal` date NOT NULL, `tanggal_kembali` date NOT NULL, `keterangan` varchar(15) COLLATE latin1_general_ci NOT NULL DEFAULT 'Belum Kembali' ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `head_peminjaman` -- INSERT INTO `head_peminjaman` (`kode_peminjaman`, `kode_petugas`, `kode_anggota`, `tanggal`, `tanggal_kembali`, `keterangan`) VALUES ('BP16102501', 'PT001', 'ID002', '2016-10-25', '2016-11-08', 'Sudah Kembali'), ('BP16102604', 'PT001', 'ID013', '2016-10-26', '2016-11-09', 'Sudah Kembali'), ('BP16102608', 'PT001', 'ID003', '2016-10-26', '2016-11-09', 'Sudah Kembali'), ('BP16102611', 'PT001', 'ID006', '2016-10-26', '2016-11-09', 'Sudah Kembali'), ('BP16102614', 'PT001', 'ID005', '2016-10-26', '2016-11-09', 'Sudah Kembali'), ('BP17112201', 'PT001', 'ID001', '2017-11-22', '2017-12-06', 'Sudah Kembali'), ('BP17112202', 'PT001', 'ID002', '2017-11-22', '2017-12-06', 'Belum Kembali'), ('BP17112203', 'PT001', 'ID005', '2017-11-22', '2017-12-06', 'Belum Kembali'); -- -------------------------------------------------------- -- -- Table structure for table `head_rak` -- CREATE TABLE `head_rak` ( `no_rak` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `operasional` -- CREATE TABLE `operasional` ( `id` int(11) NOT NULL, `denda` int(11) NOT NULL, `lama_peminjaman` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `operasional` -- INSERT INTO `operasional` (`id`, `denda`, `lama_peminjaman`) VALUES (1, 1000, 14); -- -------------------------------------------------------- -- -- Table structure for table `pengembalian` -- CREATE TABLE `pengembalian` ( `kode_pengembalian` char(10) COLLATE latin1_general_ci NOT NULL, `kode_peminjaman` char(10) COLLATE latin1_general_ci NOT NULL, `kode_petugas` char(5) COLLATE latin1_general_ci NOT NULL, `tanggal` date NOT NULL, `denda` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `pengembalian` -- INSERT INTO `pengembalian` (`kode_pengembalian`, `kode_peminjaman`, `kode_petugas`, `tanggal`, `denda`) VALUES ('BK16102601', 'BP16102602', 'PT001', '2016-10-26', 0), ('BK16102602', 'BP16102606', 'PT001', '2016-10-26', 0), ('BK16102603', 'BP16102607', 'PT001', '2016-10-26', 0), ('BK16102604', 'BP16102605', 'PT001', '2016-10-26', 0), ('BK16102605', 'BP16102501', 'PT001', '2016-10-26', 0), ('BK16102606', 'BP16102502', 'PT001', '2016-10-26', 0), ('BK16102607', 'BP16102503', 'PT001', '2016-10-26', 0), ('BK16102608', 'BP16102504', 'PT001', '2016-10-26', 0), ('BK16102609', 'BP16102505', 'PT001', '2016-10-26', 0), ('BK16102610', 'BP16102506', 'PT001', '2016-10-26', 0), ('BK16102611', 'BP16102601', 'PT001', '2016-10-26', 0), ('BK16102612', 'BP16102609', 'PT001', '2016-10-26', 0), ('BK16102613', 'BP16102610', 'PT001', '2016-10-26', 0), ('BK16102614', 'BP16102612', 'PT001', '2016-10-26', 0), ('BK17103101', 'BP17103101', 'PT001', '2017-10-31', 0), ('BK17110101', 'BP16102603', 'PT001', '2017-11-01', 357000), ('BK17112201', 'BP16102613', 'PT001', '2017-11-22', 378000), ('BK17112202', 'BP16102604', 'PT001', '2017-11-22', 378000), ('BK17112203', 'BP16102608', 'PT001', '2017-11-22', 378000), ('BK17112204', 'BP16102611', 'PT001', '2017-11-22', 378000), ('BK17112205', 'BP16102614', 'PT001', '2017-11-22', 378000), ('BK17112206', 'BP17112201', 'PT001', '2017-11-22', 0); -- -- Triggers `pengembalian` -- DELIMITER $$ CREATE TRIGGER `update_status` AFTER INSERT ON `pengembalian` FOR EACH ROW UPDATE head_peminjaman set keterangan='Sudah Kembali' where kode_peminjaman=new.kode_peminjaman $$ DELIMITER ; -- -------------------------------------------------------- -- -- Table structure for table `petugas` -- CREATE TABLE `petugas` ( `kode_petugas` char(5) COLLATE latin1_general_ci NOT NULL, `nama` varchar(30) COLLATE latin1_general_ci NOT NULL, `tanggal_lahir` date NOT NULL, `jenis_kelamin` char(1) COLLATE latin1_general_ci NOT NULL, `alamat` varchar(50) COLLATE latin1_general_ci NOT NULL, `telepon` varchar(13) COLLATE latin1_general_ci NOT NULL, `username` varchar(30) COLLATE latin1_general_ci NOT NULL, `password` varchar(30) COLLATE latin1_general_ci NOT NULL, `status` varchar(6) COLLATE latin1_general_ci NOT NULL DEFAULT 'user', `image` varchar(100) COLLATE latin1_general_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table `petugas` -- INSERT INTO `petugas` (`kode_petugas`, `nama`, `tanggal_lahir`, `jenis_kelamin`, `alamat`, `telepon`, `username`, `password`, `status`, `image`) VALUES ('PT001', 'Rizky Sam Pratama', '1995-01-08', 'L', ' Jl. Sindang Sari 1 No 30 Bandung ', '0811228880', 'admin', 'admin', 'admin', 'admin.jpg'), ('US002', 'Devi Vitria', '1997-04-09', 'P', 'Jl. Manisi Kostan Mandiri no 15', '087213331288', 'vitria', '1234', 'user', 'IMG_14021.JPG'), ('US003', 'Devi Novita', '1994-03-11', 'P', 'Bandung', '082177728772', 'novita', 'user', 'user', 'dummy1.jpg'), ('US004', 'Irfan Hamid', '1998-11-28', 'L', 'Bandung', '085659122410', 'irfan', 'user', 'user', 'dummy.jpg'), ('US005', 'syam', '1998-11-28', 'P', 'Bandung', '085659122410', 'user', 'user', 'user', 'i_am_iron_man___avengers_by_ynnck-d64onyc.png'), ('US006', 'ujang', '1990-01-01', 'L', 'Bandung', '085659122410', 'qwerty', 'qwerty', 'user', 'i_am_iron_man___avengers_by_ynnck-d64onyc3.png'); -- -------------------------------------------------------- -- -- Table structure for table `tmp_buku` -- CREATE TABLE `tmp_buku` ( `kode_buku` char(8) COLLATE latin1_general_ci NOT NULL, `judul_buku` varchar(50) COLLATE latin1_general_ci NOT NULL, `penulis` varchar(30) COLLATE latin1_general_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `tmp_dvd` -- CREATE TABLE `tmp_dvd` ( `kode_dvd` char(8) COLLATE latin1_general_ci NOT NULL, `judul_dvd` varchar(50) COLLATE latin1_general_ci NOT NULL, `tahun` char(4) COLLATE latin1_general_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `anggota` -- ALTER TABLE `anggota` ADD PRIMARY KEY (`kode_anggota`); -- -- Indexes for table `buku` -- ALTER TABLE `buku` ADD PRIMARY KEY (`kode_buku`); -- -- Indexes for table `detail_peminjaman` -- ALTER TABLE `detail_peminjaman` ADD KEY `kode_peminjaman` (`kode_peminjaman`); -- -- Indexes for table `dvd` -- ALTER TABLE `dvd` ADD PRIMARY KEY (`kode_dvd`); -- -- Indexes for table `head_kas` -- ALTER TABLE `head_kas` ADD PRIMARY KEY (`kode_transaksi`); -- -- Indexes for table `head_peminjaman` -- ALTER TABLE `head_peminjaman` ADD PRIMARY KEY (`kode_peminjaman`); -- -- Indexes for table `head_rak` -- ALTER TABLE `head_rak` ADD PRIMARY KEY (`no_rak`); -- -- Indexes for table `operasional` -- ALTER TABLE `operasional` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pengembalian` -- ALTER TABLE `pengembalian` ADD PRIMARY KEY (`kode_pengembalian`); -- -- Indexes for table `petugas` -- ALTER TABLE `petugas` ADD PRIMARY KEY (`kode_petugas`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `head_rak` -- ALTER TABLE `head_rak` MODIFY `no_rak` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `operasional` -- ALTER TABLE `operasional` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
create database ScottyTest CHARACTER SET utf8 COLLATE utf8_bin; use ScottyTest; create table Items (id int not null auto_increment, name varchar(300), price decimal (10, 2), count decimal (10, 2), primary key (id)); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290); insert into Items (name, count, price) values ('Cheese', 100, 290);
-- ********************************************** -- IT2351 Assignment 6 Part 3 - Abimael Rivera -- Creating an event that would run once a year to determine any products that haven't been ordered. -- ********************************************** DROP EVENT IF EXISTS undelivered_products; DELIMITER // CREATE EVENT undelivered_products ON SCHEDULE AT NOW() + INTERVAL 1 YEAR Do Begin Select Product_id, Product_name From products group by product_id having sum(sold_quantity) = 0; End // SET GLOBAL event_scheduler = ON
-- TITLE1: -- TITLE2:Determining the Source Queue and Destination Queue for Each Propagation -- DESC: COLUMN PROPAGATION_NAME HEADING 'Propagation|Name' FORMAT A20 COLUMN SOURCE_QUEUE_OWNER HEADING 'Source|Queue|Owner' FORMAT A10 COLUMN 'Source Queue' HEADING 'Source|Queue' FORMAT A15 COLUMN DESTINATION_QUEUE_OWNER HEADING 'Dest|Queue|Owner' FORMAT A10 COLUMN 'Destination Queue' HEADING 'Destination|Queue' FORMAT A15 SELECT p.PROPAGATION_NAME, p.SOURCE_QUEUE_OWNER, p.SOURCE_QUEUE_NAME ||'@'|| g.GLOBAL_NAME "Source Queue", p.DESTINATION_QUEUE_OWNER, p.DESTINATION_QUEUE_NAME ||'@'|| p.DESTINATION_DBLINK "Destination Queue" FROM DBA_PROPAGATION p, GLOBAL_NAME g;
-------------------------------------------------------- -- DDL for Table STATE -------------------------------------------------------- CREATE TABLE "PASSPORT"."STATE" ( "STATEID" VARCHAR2(5 BYTE), "STATENAME" VARCHAR2(50 BYTE) ) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "USERS" ; -------------------------------------------------------- -- DDL for Index STATE_PK -------------------------------------------------------- CREATE UNIQUE INDEX "PASSPORT"."STATE_PK" ON "PASSPORT"."STATE" ("STATEID") PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "USERS" ; -------------------------------------------------------- -- Constraints for Table STATE -------------------------------------------------------- ALTER TABLE "PASSPORT"."STATE" MODIFY ("STATEID" NOT NULL ENABLE); ALTER TABLE "PASSPORT"."STATE" MODIFY ("STATENAME" NOT NULL ENABLE); ALTER TABLE "PASSPORT"."STATE" ADD CONSTRAINT "STATE_PK" PRIMARY KEY ("STATEID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "USERS" ENABLE;
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Hôte : 127.0.0.1 -- Généré le : mer. 16 sep. 2020 à 09:07 -- Version du serveur : 10.4.14-MariaDB -- Version de PHP : 7.4.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de données : `netflix` -- -- -------------------------------------------------------- -- -- Structure de la table `user` -- CREATE TABLE `user` ( `id_user` int(11) NOT NULL, `mail` varchar(50) DEFAULT NULL, `password` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Déchargement des données de la table `user` -- INSERT INTO `user` (`id_user`, `mail`, `password`) VALUES (1, 'wallerflorian@yahoo.fr', '654'), (2, 'luposkorp@gmail.com', '987'), (3, 'florian.waller@stagiaire-elan.fr', '123'), (4, 'liloudie@liloudie.fr', '7c4a8d09ca3762af61e59520943dc26494f8941b'), (5, 'gillou@lalicorne.fr', '9cf95dacd226dcf43da376cdb6cbba7035218921'); -- -- Index pour les tables déchargées -- -- -- Index pour la table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id_user`); -- -- AUTO_INCREMENT pour les tables déchargées -- -- -- AUTO_INCREMENT pour la table `user` -- ALTER TABLE `user` MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
INSERT INTO fxCourseOperations (Name, Description, CanBeDelegated) VALUES ('Add', 'Add new Course', 1); INSERT INTO fxCourseOperations (Name, Description, CanBeDelegated) VALUES ('Edit', 'Edit Course', 1); INSERT INTO fxCourseOperations (Name, Description, CanBeDelegated) VALUES ('View', 'View Course', 1); INSERT INTO fxCourseOperations (Name, Description, CanBeDelegated) VALUES ('Delete', 'Delete Course', 1); INSERT INTO fxCurriculumOperations (Name, Description, CanBeDelegated) VALUES ('Add', 'Add new Curriculum', 1); INSERT INTO fxCurriculumOperations (Name, Description, CanBeDelegated) VALUES ('Edit', 'Edit Curriculum', 1); INSERT INTO fxCurriculumOperations (Name, Description, CanBeDelegated) VALUES ('View', 'View Curriculum', 1); INSERT INTO fxCurriculumOperations (Name, Description, CanBeDelegated) VALUES ('Delete', 'Delete Curriculum', 1); INSERT INTO fxPageOperations (Name, Description, CanBeDelegated) VALUES ('Add', 'Add new Page', 1); INSERT INTO fxPageOperations (Name, Description, CanBeDelegated) VALUES ('Edit', 'Edit Page', 1); INSERT INTO fxPageOperations (Name, Description, CanBeDelegated) VALUES ('View', 'View Page', 1); INSERT INTO fxPageOperations (Name, Description, CanBeDelegated) VALUES ('Delete', 'Delete Page', 1); INSERT INTO fxStageOperations (Name, Description, CanBeDelegated) VALUES ('Add', 'Add new Stage', 1); INSERT INTO fxStageOperations (Name, Description, CanBeDelegated) VALUES ('Edit', 'Edit Stage', 1); INSERT INTO fxStageOperations (Name, Description, CanBeDelegated) VALUES ('View', 'View Stage', 1); INSERT INTO fxStageOperations (Name, Description, CanBeDelegated) VALUES ('Delete', 'Delete Stage', 1); INSERT INTO fxThemeOperations (Name, Description, CanBeDelegated) VALUES ('Add', 'Add new Theme', 1); INSERT INTO fxThemeOperations (Name, Description, CanBeDelegated) VALUES ('Edit', 'Edit Theme', 1); INSERT INTO fxThemeOperations (Name, Description, CanBeDelegated) VALUES ('View', 'View Theme', 1); INSERT INTO fxThemeOperations (Name, Description, CanBeDelegated) VALUES ('Delete', 'Delete Theme', 1);
-- phpMyAdmin SQL Dump -- version 3.4.9 -- http://www.phpmyadmin.net -- -- Servidor: localhost -- Tiempo de generación: 18-01-2012 a las 10:28:44 -- Versión del servidor: 5.1.60 -- Versión de PHP: 5.2.17 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de datos: `alexgame_oldparr` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `admins` -- DROP TABLE IF EXISTS `admins`; CREATE TABLE IF NOT EXISTS `admins` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` char(50) COLLATE utf8_unicode_ci DEFAULT NULL, `password` char(40) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `alogs` -- DROP TABLE IF EXISTS `alogs`; CREATE TABLE IF NOT EXISTS `alogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `ip` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `created` datetime DEFAULT NULL, `post_data` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=92 ; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `elogs` -- DROP TABLE IF EXISTS `elogs`; CREATE TABLE IF NOT EXISTS `elogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `post_data` text COLLATE utf8_unicode_ci, `ip` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `created` datetime DEFAULT NULL, `reason` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=26 ; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `referrers` -- DROP TABLE IF EXISTS `referrers`; CREATE TABLE IF NOT EXISTS `referrers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `total_friends` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `facebookid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `current_city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `sex` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `birth_date` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `created` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
select count(*) over pos_win `count`, sum(salary) over pos_win `sum`, row_number() over pos_win `row_number`, rank() over pos_win `rank`, dense_rank() over pos_win `dense_rank`, cume_dist() over pos_win `cume_dist`, percent_rank() over pos_win `percent_rank` from dfs.`window/%s` window pos_win as %s
-- SQL that only loads 2 clients delete from client; insert into client (user_name,first_name,last_name,bank_account) values ('elcata98','Francisco','Martinez Posadas','123456789'); insert into client (user_name,first_name,last_name,bank_account) values ('other','Francisco','Martinez Posadas','123456789');
--DDL --Database CREATE DATABASE curso2015_gisdb WITH OWNER = postgres ENCODING = 'UTF8' TABLESPACE = pg_default LC_COLLATE = 'es_ES.UTF-8' LC_CTYPE = 'es_ES.UTF-8' CONNECTION LIMIT = -1; --Adding PostGIS CREATE EXTENSION postgis; --Schema CREATE SCHEMA worlddata AUTHORIZATION postgres; --Tables --Countries boundaries table CREATE TABLE worlddata.ne_10m_admin_0_countries ( id serial NOT NULL, geom geometry(MultiPolygon,4326), scalerank integer, featurecla character varying(30), labelrank double precision, sovereignt character varying(32), sov_a3 character varying(3), adm0_dif double precision, level double precision, type character varying(17), admin character varying(40), adm0_a3 character varying(3), geou_dif double precision, geounit character varying(40), gu_a3 character varying(3), su_dif double precision, subunit character varying(40), su_a3 character varying(3), brk_diff double precision, name character varying(36), name_long character varying(40), brk_a3 character varying(3), brk_name character varying(36), brk_group character varying(30), abbrev character varying(13), postal character varying(4), formal_en character varying(52), formal_fr character varying(35), note_adm0 character varying(22), note_brk character varying(164), name_sort character varying(36), name_alt character varying(38), mapcolor7 double precision, mapcolor8 double precision, mapcolor9 double precision, mapcolor13 double precision, pop_est double precision, gdp_md_est double precision, pop_year double precision, lastcensus double precision, gdp_year double precision, economy character varying(26), income_grp character varying(23), wikipedia double precision, fips_10_ character varying(3), iso_a2 character varying(5), iso_a3 character varying(3), iso_n3 character varying(3), un_a3 character varying(4), wb_a2 character varying(3), wb_a3 character varying(3), woe_id double precision, woe_id_eh double precision, woe_note character varying(190), adm0_a3_is character varying(3), adm0_a3_us character varying(3), adm0_a3_un double precision, adm0_a3_wb double precision, continent character varying(23), region_un character varying(23), subregion character varying(25), region_wb character varying(26), name_len double precision, long_len double precision, abbrev_len double precision, tiny double precision, homepart double precision, CONSTRAINT ne_10m_admin_0_countries_pkey PRIMARY KEY (id) ) WITH ( OIDS=FALSE ); ALTER TABLE worlddata.ne_10m_admin_0_countries OWNER TO postgres; CREATE INDEX sidx_ne_10m_admin_0_countries_geom ON worlddata.ne_10m_admin_0_countries USING gist (geom); --Rivers table CREATE TABLE worlddata.ne_10m_rivers_lake_centerlines ( id serial NOT NULL, geom geometry(MultiLineString,4326), dissolve character varying(100), scalerank double precision, featurecla character varying(32), name character varying(254), name_alt character varying(254), rivernum integer, note character varying(200), CONSTRAINT ne_10m_rivers_lake_centerlines_pkey PRIMARY KEY (id) ) WITH ( OIDS=FALSE ); ALTER TABLE worlddata.ne_10m_rivers_lake_centerlines OWNER TO postgres; CREATE INDEX sidx_ne_10m_rivers_lake_centerlines_geom ON worlddata.ne_10m_rivers_lake_centerlines USING gist (geom); --WDPA table CREATE TABLE worlddata."WDPA_July2015_MAR_poly" ( id serial NOT NULL, geom geometry(MultiPolygon,4326), wdpaid integer, wdpa_pid integer, pa_def character varying(80), name character varying(80), orig_name character varying(80), desig character varying(80), desig_eng character varying(80), desig_type character varying(80), iucn_cat character varying(80), int_crit character varying(80), marine character varying(80), rep_m_area numeric, gis_m_area numeric, rep_area numeric, gis_area numeric, no_take character varying(80), no_tk_area numeric, status character varying(80), status_yr integer, gov_type character varying(80), own_type character varying(80), mang_auth character varying(87), mang_plan character varying(80), verif character varying(80), metadataid integer, sub_loc character varying(80), parent_iso character varying(80), iso3 character varying(80), CONSTRAINT "WDPA_July2015_MAR_poly_pkey" PRIMARY KEY (id) ) WITH ( OIDS=FALSE ); ALTER TABLE worlddata."WDPA_July2015_MAR_poly" OWNER TO postgres; CREATE INDEX "sidx_WDPA_July2015_MAR_poly_geom" ON worlddata."WDPA_July2015_MAR_poly" USING gist (geom);
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; USE `nest`; -- -- Table structure for table `bookings` -- DROP TABLE IF EXISTS `bookings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `bookings` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `hotel_id` int(11) NOT NULL, `enquiry_source` varchar(32) DEFAULT NULL, `booking_source` varchar(32) DEFAULT NULL, `booking_ref` varchar(16) DEFAULT NULL, `non_booking_calls` varchar(48) DEFAULT NULL, `non_booking_reason` varchar(32) DEFAULT NULL, `currency` char(3) DEFAULT NULL, `value` varchar(32) DEFAULT NULL, `date_from` date DEFAULT NULL, `date_to` date DEFAULT NULL, `date` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`,`hotel_id`,`enquiry_source`,`booking_source`,`booking_ref`,`non_booking_calls`,`non_booking_reason`,`value`,`date_from`,`date_to`) ) ENGINE=InnoDB AUTO_INCREMENT=90906 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `hotels` -- DROP TABLE IF EXISTS `hotels`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hotels` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varbinary(128) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Temporary table structure for view `reports` -- DROP TABLE IF EXISTS `reports`; /*!50001 DROP VIEW IF EXISTS `reports`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `reports` ( `id` int(11), `name` varbinary(128), `username` varchar(32), `user_id` int(11), `hotel_id` int(11), `booking_ref` varchar(16), `value` varchar(32), `enquiry_source` varchar(32), `booking_source` varchar(32), `non_booking_calls` varchar(48), `non_booking_reason` varchar(32), `date_from` date, `date_to` date, `date` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Table structure for table `sources` -- DROP TABLE IF EXISTS `sources`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sources` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(128) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(32) DEFAULT NULL, `password` varchar(32) DEFAULT NULL, `is_admin` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Final view structure for view `reports` -- /*!50001 DROP TABLE IF EXISTS `reports`*/; /*!50001 DROP VIEW IF EXISTS `reports`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = latin1 */; /*!50001 SET character_set_results = latin1 */; /*!50001 SET collation_connection = latin1_swedish_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `reports` AS (select `h`.`id` AS `id`,`h`.`name` AS `name`,`u`.`username` AS `username`,`b`.`user_id` AS `user_id`,`b`.`hotel_id` AS `hotel_id`,`b`.`booking_ref` AS `booking_ref`,`b`.`value` AS `value`,`b`.`enquiry_source` AS `enquiry_source`,`b`.`booking_source` AS `booking_source`,`b`.`non_booking_calls` AS `non_booking_calls`,`b`.`non_booking_reason` AS `non_booking_reason`,`b`.`date_from` AS `date_from`,`b`.`date_to` AS `date_to`,`b`.`date` AS `date` from ((`bookings` `b` join `hotels` `h`) join `users` `u`) where ((`b`.`user_id` = `u`.`id`) and (`b`.`hotel_id` = `h`.`id`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2014-05-13 18:29:37
--// First migration. -- Migration SQL that makes the change goes here. CREATE TABLE test2 ( ID NUMERIC(20,0) NOT NULL, ); --//@UNDO DROP TABLE test2;
use CatalogoJogos
--* BUSIT 103 Assignment #1 DUE DATE: Consult course calendar /***** You are to develop SQL statements for each task listed. You should type your SQL statements under each task. The fields' names are written as if a person is asking you for the report. You will need to look at the data and understand that list price is in the ListPrice field, for example. Add comments to describe your reasoning when you are in doubt about something. To find the tables that contain the fields that are requested, consider creating a Database Diagram that includes only the tables from the SalesLT schema and referring to it. *****/ /*** Chris Moroney ***/ /***** Do not remove the USE statement. *****/ USE AdventureWorksLT2012; --1. Write a SQL statement that pulls all of the records from the AdventureWorksLT Products table. SELECT * FROM [SalesLT].[Product] --2. Write a SQL statement that pulls all of the records from the AdventureWorksLT Products table -- but show only the ProductID, Name, ProductNumber, and ListPrice. SELECT ProductID, Name, ProductNumber, ListPrice FROM [SalesLT].[Product] --3. Write a SQL statement that pulls all of the records from the AdventureWorksLT Products table, -- but show only the ProductID, Name, ProductNumber, and ListPrice, -- and sort by Name in ascending order. SELECT ProductID, Name, ProductNumber, ListPrice FROM [SalesLT].[Product] ORDER BY Name ASC --4. Write a SQL statement that pulls all of the records from the AdventureWorksLT Products table, -- but show only the ProductID, Name, ProductNumber, and ListPrice, -- and sort by ListPrice in descending order. SELECT ProductID, Name, ProductNumber, ListPrice FROM [SalesLT].[Product] ORDER BY Name ASC --5a. Write a SQL statement that pulls all of the records from the AdventureWorksLT ProductCategory table. SELECT * FROM [SalesLT].[ProductCategory] --5b. Explain how records 1-4 in the table differ from the other records, and explain their purpose: -- Include your explanation below inside the multi-line comment symbols /* and */ /*************************** Records 1-4 are categories where other products would fit inside of. For instances, Mountain Bikes, Road Bikes, and Touring Bikes are all forms of Bikes, which is product category number 1. Records 1-4 are known as parents and they can be used to help sort certain products from one another. ***************************/ --6a. Write a SQL statement that pulls all of the records from the AdventureWorksLT SalesOrderHeader table. SELECT * FROM [SalesLT].[SalesOrderHeader] --6b. Write a SQL statement that pulls all of the records from the AdventureWorksLT SalesOrderDetail table. SELECT * FROM [SalesLT].[SalesOrderDetail] --6c. Explain how you would add records to the AdventureWorksLT database for the following scenario: -- An existing customer places an order for 3 distinct existing products, -- (i.e. not a quantity of 3 of one single product). -- In your explanation, indicate which tables would require new records, and the number of records. /*************************** The tables that would require new records would be the SalesOrderDetail and SalesOrderHeader. Because the customer is already EXISTING, there is no need to create a new record for the buyer, which means Customer and CustomerAddress do not need any new records. We do not need to worry about Address, Product, ProductCategory, ProductDescription, ProductModel, or ProductModelProductDescription because purchasing a product from a store wouldn’t require a new entry or a product or location. Since the customer is buying three new products that are all distinct, we need 3 new records in the SalesOrderDetail in order to keep track of what was bought and give it a label from the products. We then take these three sales give them a SINGLE ID (because the sale happened with only one customer), and put only one additional record in the Header table. Since the Header mainly keeps track of purchase and deliveries to CUSTOMERS instead of keeping track of PRODUCTS, we only add one record. Altogether, we are adding one record to the SalesOrderHeader, and three to the SalesOrderDetail. ***************************/
-- phpMyAdmin SQL Dump -- version 4.7.7 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Feb 28, 2020 at 01:20 PM -- Server version: 5.6.38 -- PHP Version: 7.2.1 SET FOREIGN_KEY_CHECKS=0; SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `proiect` -- -- -------------------------------------------------------- -- -- Table structure for table `categories` -- CREATE TABLE `categories` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `categories` -- INSERT INTO `categories` (`id`, `name`) VALUES (2, 'test'); -- -------------------------------------------------------- -- -- Table structure for table `manufacturers` -- CREATE TABLE `manufacturers` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `manufacturers` -- INSERT INTO `manufacturers` (`id`, `name`) VALUES (1, 'Sony'), (2, 'LG'), (4, 'Samsung'), (5, 'Xiaomi'); -- -------------------------------------------------------- -- -- Table structure for table `products` -- CREATE TABLE `products` ( `id` int(10) UNSIGNED NOT NULL, `manufacturer_id` int(10) UNSIGNED NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `description` text COLLATE utf8mb4_unicode_ci NOT NULL, `price` float UNSIGNED NOT NULL, `price_special` float UNSIGNED NOT NULL, `product_photo_id` int(10) UNSIGNED ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `products` -- INSERT INTO `products` (`id`, `manufacturer_id`, `name`, `description`, `price`, `price_special`) VALUES (1, 1, 'Televizor', 'Televizor 4k smart', 2000, 0), (3, 0, 'Laptop Asus', '500gb ssd 64gb ram', 5000, 0), (5, 1, 'adaugat din formulat', 'descriere produs', 1550, 1400), (6, 4, 'asdasd', 'wdsad', 123, 123), (8, 2, 'asdsadasdasd', 'adsasdasdad', 111, 111); -- -------------------------------------------------------- -- -- Table structure for table `products_categories` -- CREATE TABLE `products_categories` ( `product_id` int(10) UNSIGNED NOT NULL, `category_id` int(10) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `product_photos` -- CREATE TABLE `product_photos` ( `id` int(10) UNSIGNED NOT NULL, `product_id` int(10) UNSIGNED NOT NULL, `filename` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `product_photos` -- INSERT INTO `product_photos` (`id`, `product_id`, `filename`) VALUES (4, 8, '20180528_095654.jpg'), (7, 8, '20859836_1423387467748309_7828656045420445696_n.gif'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `username` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `password`) VALUES (1, 'admin', 'd033e22ae348aeb5660fc2140aec35850c4da997'); -- -- Indexes for dumped tables -- -- -- Indexes for table `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Indexes for table `manufacturers` -- ALTER TABLE `manufacturers` ADD PRIMARY KEY (`id`); -- -- Indexes for table `products` -- ALTER TABLE `products` ADD PRIMARY KEY (`id`), ADD KEY `manufacturer_id` (`manufacturer_id`); -- -- Indexes for table `product_photos` -- ALTER TABLE `product_photos` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `username` (`username`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `categories` -- ALTER TABLE `categories` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `manufacturers` -- ALTER TABLE `manufacturers` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `products` -- ALTER TABLE `products` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `product_photos` -- ALTER TABLE `product_photos` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; SET FOREIGN_KEY_CHECKS=1; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE PROCEDURE sp_acc_Save_Setup_Bunge (@COMPANYID NVARCHAR (50), @COMPANYNAME NVARCHAR (255), @BILLINGADDRESS NVARCHAR (255), @SHIPPINGADDRESS NVARCHAR (255), @TELEPHONE NVARCHAR (50), @FISCALYEAR INT, @VOUCHERSTART INT, @STREGN nvarchar(50), @STLABEL nvarchar(50), @CTREGN nvarchar(50), @CTLABEL nvarchar(50), @DL20 nvarchar(50), @DL21 nvarchar(50), @ORGANISATIONTYPE INT = NULL, @NUMBEROFPARTNERS INT = NULL, @DRAWINGACCOUNTFLAG INT = NULL, @AUTHORISATIONCAPITAL DECIMAL(18,6) = NULL, @REGISTRATIONDATE DATETIME = NULL, @BUSINESSCOMDATE DATETIME = NULL, @TINNUMBER nvarchar(20) = N'', @SALESPORTAL nvarchar(100) = N'', @LOCALIZEDNAME nVarchar(255) = N'', @InstallationType Int =0, @CompanyId_FXS nVarchar(2000) = N'', @STATEINFO Int = 0) AS IF EXISTS (SELECT TOP 1 RegisteredOwner FROM Setup WHERE RegisteredOwner = @CompanyID) BEGIN EXEC sp_acc_update_setup_Bunge @COMPANYID, @COMPANYNAME, @BILLINGADDRESS, @SHIPPINGADDRESS, @TELEPHONE, @FISCALYEAR, @VOUCHERSTART, @STREGN, @STLABEL, @CTREGN, @CTLABEL, @DL20, @DL21, @ORGANISATIONTYPE, @NUMBEROFPARTNERS, @DRAWINGACCOUNTFLAG, @AUTHORISATIONCAPITAL, @REGISTRATIONDATE, @BUSINESSCOMDATE, @TINNUMBER, @SALESPORTAL, @LOCALIZEDNAME, @InstallationType, @CompanyId_FXS, @STATEINFO END ELSE BEGIN EXEC sp_acc_insert_Setup_Bunge @COMPANYID, @COMPANYNAME, @BILLINGADDRESS, @SHIPPINGADDRESS, @TELEPHONE, @FISCALYEAR, @VOUCHERSTART, @STREGN, @STLABEL, @CTREGN, @CTLABEL, @DL20, @DL21, @ORGANISATIONTYPE, @NUMBEROFPARTNERS, @DRAWINGACCOUNTFLAG, @AUTHORISATIONCAPITAL, @REGISTRATIONDATE, @BUSINESSCOMDATE, @TINNUMBER, @SALESPORTAL, @LOCALIZEDNAME, @InstallationType, @CompanyId_FXS, @STATEINFO END
select * from guser.gsct_sql_info where upper(sql_stmt) like 'AUSER.ALOT_LOAN_ONLN_PAY' ; select * from guser.gsct_prgm where sc_path like '%PayProcSC%'; select * from guser.gsct_prgm where sc_path like '%PayBC%'; --BC_NO --ALOMA_PAYBC --EACPA_PAYMNGBC
use BIGGYM; drop function if exists prettify; delimiter $$ create function prettify (inputStringList varchar(1024), inputDelimiter varchar(10)) returns varchar(2048) begin -- Initialise .. declare fieldStart char(1) default '<'; declare fieldEnd char(1) default '>'; -- Process .. return concat(fieldStart, replace(inputStringList, inputDelimiter, concat(fieldEnd, inputDelimiter, fieldStart)), fieldEnd); end $$ delimiter ; /* Sample Usage: set @list='NAME=PULLUPS,BODY_PART=ARMS'; select prettify(@list, ','); set @list='NAME=PULLUPS, BODY_PART= ARMS'; select prettify(@list, ','); */
use sakila; #2a_________________________________________________ SELECT actor_id, first_name, last_name FROM actor WHERE first_name = 'Joe'; #2b__________________________________________________ SELECT * FROM actor WHERE last_name LIKE '%gen%'; #2c__________________________________________________ SELECT last_name, first_name FROM actor WHERE last_name LIKE '%li%' ORDER BY last_name , first_name; #2d____________________________________________________ SELECT country_id, country FROM country WHERE country IN ('Afghanistan' , 'Bangladesh', 'China');
---------------------------------------------------------------------------- -- Zadanie 1 -- -- Klienci AirHelp składają wnioski za pośrednictwem różnych kanałów komunikacji. -- Jakie są możliwe kanały komunikacji? select distinct kanal from wnioski; -- Ile wniosków złożono z użyciem poszczególnych kanałów? select kanal, count(id) from wnioski group by kanal; -- Podaj listę klientów (email), którzy kontaktowali się za pośrednictwem więcej -- niż jednego kanału. with email_kanal as ( select distinct kl.email, w.kanal from klienci kl join wnioski w ON kl.id_wniosku = w.id group by kl.email, w.kanal ) select email from email_kanal group by email having count(1) > 1; -- *** Podaj listę klientów (email), których kanał ostatnio utworzonego wniosku, -- różni się od ich pierwszego kanału komunikacji -- -- wyjaśnienie odnośnie parametrów range: -- https://www.postgresql.org/docs/9.3/functions-window.html (komentarz pod tabelką). with moje_dane as ( select distinct kl.email, first_value(w.kanal) over(PARTITION BY kl.email order by w.data_utworzenia asc range between unbounded preceding and unbounded following) pierwszy_kanal, last_value(w.kanal) over(PARTITION BY kl.email order by w.data_utworzenia asc range between unbounded preceding and unbounded following) ostatni_kanal from klienci kl join wnioski w ON kl.id_wniosku = w.id ) select * from moje_dane where pierwszy_kanal <> ostatni_kanal; ---------------------------------------------------------------------------- -- Zadanie 2 -- -- Wypiszmy listę tras z największą liczbą wniosków. -- Wykluczamy wnioski, które mają przypisane więcej niż jedną podróż. -- -- Stwórz listę wniosków (id) wraz z miejscem wylotu i miejscem docelowym podróży with interesujace_id_wniosku as ( select id_wniosku, count(1) from szczegoly_podrozy sz, podroze p where sz.id_podrozy = p.id group by id_wniosku having count(1) = 1 ) select i.id_wniosku, s.kod_wyjazdu, s.kod_przyjazdu from interesujace_id_wniosku i join podroze p on p.id_wniosku=i.id_wniosku join szczegoly_podrozy s on p.id = s.id_podrozy order by 1; -- Stwórz listę najpopularniejszych par miejsce-wylotu i miejsce-docelowe. with interesujace_id_wniosku as ( select id_wniosku, count(1) from szczegoly_podrozy sz, podroze p where sz.id_podrozy = p.id group by id_wniosku having count(1) = 1 ), dane_wnioski as ( select i.id_wniosku, s.kod_wyjazdu, s.kod_przyjazdu from interesujace_id_wniosku i join podroze p on p.id_wniosku=i.id_wniosku join szczegoly_podrozy s on p.id = s.id_podrozy ) select kod_wyjazdu, kod_przyjazdu, count(1) from dane_wnioski group by kod_wyjazdu, kod_przyjazdu order by 3 desc; --- *** Zrób listę najpopularniejszych tras, biorąc pod uwagę również wnioski -- z kilkoma podróżami. with dane_wnioski as ( select distinct p.id_wniosku as id_wniosku, first_value(s.kod_wyjazdu) over(partition by id_wniosku order by s.data_wyjazdu, s.data_utworzenia, s.data_aktualizacji range between unbounded preceding and unbounded following) miejsce_wyjazdu, last_value(s.kod_przyjazdu) over(partition by id_wniosku order by s.data_wyjazdu, s.data_utworzenia, s.data_aktualizacji range between unbounded preceding and unbounded following) miejsce_przyjazdu from podroze p join szczegoly_podrozy s on p.id = s.id_podrozy order by 1 ) select miejsce_wyjazdu, miejsce_przyjazdu, count(1) from dane_wnioski group by miejsce_wyjazdu, miejsce_przyjazdu order by 3 desc; ---------------------------------------------------------------------------- -- Zadanie 3 -- -- (Aby poniższe zapytania działały, należy zaimportować plik -- z danymi gapminder!) -- -- Wypisz dane dla roku 2015 z tabeli gapminder select * from gapminder where year = 2015; -- Wypisz dane odnośnie średniej długości życia, średniego przychodu -- oraz sumaryczną populację dla regionów w roku 2015 select region, avg(life), avg(income), sum(population) from gapminder where year = 2015 group by region; -- Wypisz dane dla Polski, wzbogaconą o zmianę procentową w przychodzie YearOverYear -- (dla wszystkich lat) with data_poland as ( select year, life, population, income, lag(income) over() as last_year_income from gapminder where country = 'Poland' order by year ) select *, round((income-last_year_income)/last_year_income,2) as YoY_income_change from data_poland order by year; ---------------------------------------------------------------------------- -- Zadanie 4 -- -- (Aby poniższe zapytania działały, należy zaimportować plik -- z danymi gapminder!) -- -- Wypisz dane dla roku 2015 dla krajów z regionu Europa … select * from gapminder where lower(region) like 'europe%' and year = 2015 order by country asc; -- Wypisz dane dla 2015 r. wzbogacone o informację o bieżącym procentowym -- przyroście oczekiwanej długości życia (life) oraz przychodu -- rok do roku (income) (Year Over Year) with zmiany_gapminder as ( select country, life, income, year, (life - lag(life) over (partition by country order by year)) / lag(life) over (partition by country order by year) as yoy_life, (income - lag(income) over (partition by country order by year)) / lag(income) over (partition by country order by year) as yoy_income from gapminder where lower(region) like 'europe%' order by year ) select country, life, income, yoy_life as YoY_life_2015, yoy_income as YoY_income_2015 from zmiany_gapminder where year = 2015 order by country asc;
UPDATE bpk_account_credit_detail SET pordered_by_department = bpkget_department_description_by_spid(pverify_spid) WHERE fix_visit_type_id='0' AND verify_date BETWEEN '$P!{FromDate}' AND '$P!{FromDate}'
set SERVEROUTPUT on; DECLARE V_CITY EVENTS.CITY%TYPE; V_LANGUAGE EVENTS.LANGUAGE%TYPE; BEGIN V_CITY := '&CITY'; V_LANGUAGE := '&LANGUAGE'; P_SHOW_EVENT_DETAILS(V_CITY, V_LANGUAGE); END; /
-- phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Client : 127.0.0.1 -- Généré le : Lun 22 Décembre 2014 à 16:32 -- Version du serveur : 5.6.17-log -- Version de PHP : 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de données : `compta_onape` -- -- -------------------------------------------------------- -- -- Structure de la table `agence` -- CREATE TABLE IF NOT EXISTS `agence` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ville` int(11) NOT NULL COMMENT 'id Ville', `agence` varchar(25) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ; -- -- Contenu de la table `agence` -- INSERT INTO `agence` (`id`, `ville`, `agence`) VALUES (1, 3, 'Direction Générale'), (2, 3, 'Diguel'), (3, 3, 'Farcha'), (4, 3, 'Waliah'), (5, 3, 'Direction Immigration'), (6, 0, 'Bongor'), (7, 0, 'Pala'), (8, 0, 'Laï'), (9, 0, 'Moundou'), (10, 0, 'Doba'), (11, 0, 'Sarh'), (12, 0, 'Mongo'), (13, 0, 'Moussoro'), (14, 0, 'Abéché'); -- -------------------------------------------------------- -- -- Structure de la table `annotation` -- CREATE TABLE IF NOT EXISTS `annotation` ( `id` int(11) NOT NULL AUTO_INCREMENT, `message` text, `app` varchar(15) DEFAULT NULL, `usrid` int(11) DEFAULT NULL, `dat` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `artid` int(11) DEFAULT NULL, `logg` int(11) DEFAULT '0', `spe` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `archive` -- CREATE TABLE IF NOT EXISTS `archive` ( `id` int(11) NOT NULL AUTO_INCREMENT, `doc` varchar(120) DEFAULT NULL, `titr` varchar(300) DEFAULT NULL, `modul` int(11) NOT NULL, `idm` int(11) NOT NULL COMMENT 'ID pour Module', `addby` int(11) NOT NULL, `service` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Table Archives' AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `article` -- CREATE TABLE IF NOT EXISTS `article` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'identifiant article', `id_chapitre` varchar(40) NOT NULL COMMENT 'identifiant chapitre (table chapitre)', `titre` varchar(50) NOT NULL, `montant` int(11) NOT NULL COMMENT 'Montant Global', `mont_use` int(11) NOT NULL COMMENT 'Montant utilisé', `mont_disp` int(11) NOT NULL COMMENT 'Montant disponible', `addby` int(11) NOT NULL COMMENT 'Ajouté par', `datinsert` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date d''insértion', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Contenu de la table `article` -- INSERT INTO `article` (`id`, `id_chapitre`, `titre`, `montant`, `mont_use`, `mont_disp`, `addby`, `datinsert`) VALUES (4, '1', 'Art 1', 1000, 300, 700, 0, '2014-12-20 22:14:50'), (5, '1', 'Art 2', 0, 0, 0, 0, '2014-12-20 22:15:28'); -- -------------------------------------------------------- -- -- Structure de la table `avance_salaire` -- CREATE TABLE IF NOT EXISTS `avance_salaire` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_salarie` int(11) NOT NULL, `montant_global` int(11) NOT NULL, `duree` int(11) NOT NULL, `montant_echiance` int(11) NOT NULL, `resta_a_payer` int(11) NOT NULL, `montant_payer` int(11) NOT NULL, `etat` int(11) NOT NULL, `date` date NOT NULL, `remarque` text NOT NULL, `addby` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Contenu de la table `avance_salaire` -- INSERT INTO `avance_salaire` (`id`, `id_salarie`, `montant_global`, `duree`, `montant_echiance`, `resta_a_payer`, `montant_payer`, `etat`, `date`, `remarque`, `addby`) VALUES (1, 1, 1000000, 10, 100000, 1000000, 0, 0, '2014-12-18', 'Prest rentrée scolaire', 45), (2, 4, 200, 3, 67, 66, 134, 0, '2014-12-18', 'Avance 200', 45), (3, 23, 50, 5, 10, 50, 0, 0, '2014-12-22', 'Avance scolarité', 45); -- -------------------------------------------------------- -- -- Structure de la table `chapitre` -- CREATE TABLE IF NOT EXISTS `chapitre` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'identifiant du chapitre', `titre` varchar(40) NOT NULL, `montant` int(11) NOT NULL COMMENT 'Montant Global', `mont_use` int(11) NOT NULL COMMENT 'Montant utilisé', `mont_disp` int(11) NOT NULL COMMENT 'Montant disponible', `etat` int(11) NOT NULL DEFAULT '0' COMMENT 'Etat de chapitre', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Contenu de la table `chapitre` -- INSERT INTO `chapitre` (`id`, `titre`, `montant`, `mont_use`, `mont_disp`, `etat`) VALUES (1, 'Personnel', 1000, 300, 700, 1), (2, 'Biens et Services', 0, 0, 0, 0), (3, 'Contribution et Participation', 0, 0, 0, 0), (4, 'Micro Crédit', 0, 0, 0, 0), (5, 'Équipement et Investissement ', 0, 0, 0, 0); -- -------------------------------------------------------- -- -- Structure de la table `collecte` -- CREATE TABLE IF NOT EXISTS `collecte` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_location` int(11) NOT NULL, `prix_mensuel` int(11) NOT NULL, `mode_paiement` varchar(255) NOT NULL, `piece_jointe` int(11) NOT NULL, `datinsert` datetime NOT NULL, `addby` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=28 ; -- -- Contenu de la table `collecte` -- INSERT INTO `collecte` (`id`, `id_location`, `prix_mensuel`, `mode_paiement`, `piece_jointe`, `datinsert`, `addby`) VALUES (24, 62, 5000, 'chèque', 387, '2015-01-22 00:00:00', 45), (25, 62, 5000, 'espèces', 388, '2015-02-22 00:00:00', 45), (27, 62, 2000, 'espèces', 390, '2014-12-22 00:00:00', 45); -- -------------------------------------------------------- -- -- Structure de la table `compte` -- CREATE TABLE IF NOT EXISTS `compte` ( `id` int(11) NOT NULL AUTO_INCREMENT, `libelle` varchar(255) NOT NULL, `rib` bigint(255) NOT NULL, `numero` bigint(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Contenu de la table `compte` -- INSERT INTO `compte` (`id`, `libelle`, `rib`, `numero`) VALUES (1, 'BMCI', 12345678909876, 34565543897), (2, 'Banque Populaire', 12324566889765, 45434543212); -- -------------------------------------------------------- -- -- Structure de la table `contrat_location_villa` -- CREATE TABLE IF NOT EXISTS `contrat_location_villa` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nomlocataire` varchar(60) NOT NULL, `nomresponsable` varchar(55) NOT NULL, `adresse` text NOT NULL, `tel` bigint(11) NOT NULL, `mail` varchar(50) NOT NULL, `idvilla` int(11) NOT NULL, `date_debut` datetime NOT NULL, `date_fin` datetime NOT NULL, `montant` int(11) NOT NULL, `depot_garantie` int(11) NOT NULL, `type_paiement` varchar(20) NOT NULL, `pj` int(11) NOT NULL, `addby` int(11) DEFAULT NULL, `etat` varchar(55) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=64 ; -- -- Contenu de la table `contrat_location_villa` -- INSERT INTO `contrat_location_villa` (`id`, `nomlocataire`, `nomresponsable`, `adresse`, `tel`, `mail`, `idvilla`, `date_debut`, `date_fin`, `montant`, `depot_garantie`, `type_paiement`, `pj`, `addby`, `etat`) VALUES (60, 'CGA', 'bel macha', '', 545678932434, 'bel@gmail.com', 1, '2014-12-22 00:00:00', '2015-11-26 00:00:00', 5000, 2000, 'virement', 385, 45, 'acheve'), (62, 'CBT', 'mala', '', 556778899, '0', 1, '2014-12-22 00:00:00', '2016-05-20 00:00:00', 5000, 3000, 'espèces', 386, 45, 'en cours'), (63, 'Ana', 'Rachid', '', 22222222222, '0', 9, '2015-01-01 00:00:00', '2015-12-31 00:00:00', 7000, 60000, 'chèque', 485, 45, 'en cours'); -- -------------------------------------------------------- -- -- Structure de la table `depense` -- CREATE TABLE IF NOT EXISTS `depense` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Référence', `dat_val` date NOT NULL COMMENT 'Date de valeur', `chapitre` int(11) NOT NULL COMMENT 'Chapitre', `article` int(11) NOT NULL COMMENT 'Article', `paragraphe` int(11) NOT NULL COMMENT 'Paragraphe', `nature_dep` varchar(200) NOT NULL COMMENT 'Nature de Depense', `nbr_lignes` int(11) NOT NULL COMMENT 'Nombre de lignes', `montant` int(11) NOT NULL COMMENT 'Montant Global ', `pj` int(11) DEFAULT NULL COMMENT 'Pièce Jointe', `fiche_depense` int(11) NOT NULL COMMENT 'La fiche de dépense', `datinsert` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date de système', `addby` int(11) NOT NULL COMMENT 'Ajouté par', `etat` int(11) NOT NULL DEFAULT '0' COMMENT 'Etat de dossier', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='La tables des depenses' AUTO_INCREMENT=5 ; -- -- Contenu de la table `depense` -- INSERT INTO `depense` (`id`, `dat_val`, `chapitre`, `article`, `paragraphe`, `nature_dep`, `nbr_lignes`, `montant`, `pj`, `fiche_depense`, `datinsert`, `addby`, `etat`) VALUES (4, '2014-12-20', 1, 4, 6, 'Titre New Depense', 1, 300, NULL, 482, '2014-12-20 22:52:54', 45, 0); -- -------------------------------------------------------- -- -- Structure de la table `depense_lines` -- CREATE TABLE IF NOT EXISTS `depense_lines` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Référence', `id_depense` int(11) NOT NULL COMMENT 'ID fiche depense', `nature_dep` varchar(200) NOT NULL COMMENT 'Nature de Depense', `montant` int(11) NOT NULL COMMENT 'Montant Global ', `dat_val` date NOT NULL COMMENT 'Date Valeur', `datinsert` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date de système', `addby` int(11) NOT NULL COMMENT 'Ajouté par', `etat` int(11) NOT NULL DEFAULT '0' COMMENT 'Etat de dossier', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='La tables des depenses' AUTO_INCREMENT=5 ; -- -- Contenu de la table `depense_lines` -- INSERT INTO `depense_lines` (`id`, `id_depense`, `nature_dep`, `montant`, `dat_val`, `datinsert`, `addby`, `etat`) VALUES (1, 1, 'AchatOurdinateur Portable', 500, '2014-12-19', '2014-12-20 22:29:03', 45, 0), (2, 4, 'Achat Equipements', 300, '2014-12-20', '2014-12-20 22:52:54', 45, 0), (3, 5, 'Achat 1', 300, '2014-12-21', '2014-12-20 22:57:02', 45, 0), (4, 5, 'Achat 2', 200, '2014-12-21', '2014-12-20 22:57:02', 45, 0); -- -------------------------------------------------------- -- -- Structure de la table `etat_paiement` -- CREATE TABLE IF NOT EXISTS `etat_paiement` ( `id` int(11) NOT NULL AUTO_INCREMENT, `mois` int(11) NOT NULL, `annee` int(11) NOT NULL, `montant_global` int(11) NOT NULL, `nbr_effectif` int(11) NOT NULL, `date_debut` date NOT NULL, `date_fin` date NOT NULL, `addby` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ; -- -- Contenu de la table `etat_paiement` -- INSERT INTO `etat_paiement` (`id`, `mois`, `annee`, `montant_global`, `nbr_effectif`, `date_debut`, `date_fin`, `addby`) VALUES (15, 12, 2014, 0, 0, '2014-12-01', '2014-12-31', 45); -- -------------------------------------------------------- -- -- Structure de la table `forgot` -- CREATE TABLE IF NOT EXISTS `forgot` ( `token` varchar(32) NOT NULL, `user` int(2) NOT NULL, `etat` int(11) NOT NULL, `dat` datetime NOT NULL, `expir` datetime NOT NULL, `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Id demande Forgot', `ip` varchar(16) DEFAULT NULL COMMENT 'Ip Demande', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Table recovery MDP user' AUTO_INCREMENT=23 ; -- -- Contenu de la table `forgot` -- INSERT INTO `forgot` (`token`, `user`, `etat`, `dat`, `expir`, `id`, `ip`) VALUES ('1b131686234452546e0c2d59f2d5cfb7', 45, 1, '2014-06-20 16:41:17', '2014-06-22 16:41:17', 1, '::1'), ('cf34de51bca2fbf542cdcfa3a0f22700', 58, 0, '2014-08-15 20:45:09', '2014-08-17 20:45:09', 2, '::1'), ('cf34de51bca2fbf542cdcfa3a0f22700', 58, 0, '2014-08-15 20:45:16', '2014-08-17 20:45:16', 3, '::1'), ('75a97daaccb45babec366ca91b3e84b7', 58, 0, '2014-08-15 20:47:42', '2014-08-17 20:47:42', 4, '::1'), ('1bd058e1066066ada179535d2b0aafe9', 58, 1, '2014-08-15 20:50:34', '2014-08-17 20:50:34', 5, '::1'), ('2c9802089c27f3d27bafdab06e1663aa', 62, 0, '2014-10-01 14:10:13', '2014-10-03 14:10:13', 6, '::1'), ('2c9802089c27f3d27bafdab06e1663aa', 62, 0, '2014-10-01 14:14:51', '2014-10-03 14:14:51', 7, '::1'), ('2c9802089c27f3d27bafdab06e1663aa', 62, 0, '2014-10-01 14:15:49', '2014-10-03 14:15:49', 8, '::1'), ('81feb0759be4ea07cff4a1824d055e41', 60, 0, '2014-10-01 14:17:30', '2014-10-03 14:17:30', 9, '::1'), ('81feb0759be4ea07cff4a1824d055e41', 60, 0, '2014-10-01 14:19:26', '2014-10-03 14:19:26', 10, '::1'), ('81feb0759be4ea07cff4a1824d055e41', 60, 0, '2014-10-01 14:19:52', '2014-10-03 14:19:52', 11, '::1'), ('3440934c7ac07643bb638b1fd89b1f00', 62, 0, '2014-10-02 08:09:26', '2014-10-04 08:09:26', 12, '::1'), ('3440934c7ac07643bb638b1fd89b1f00', 60, 0, '2014-10-02 08:10:24', '2014-10-04 08:10:24', 13, '::1'), ('3440934c7ac07643bb638b1fd89b1f00', 60, 0, '2014-10-02 08:18:27', '2014-10-04 08:18:27', 14, '::1'), ('4379625c42fc1b125b6280fa14ca03a8', 60, 0, '2014-10-02 08:21:10', '2014-10-04 08:21:10', 15, '::1'), ('c8f0a4e0abb6b82e600b262cbdd4a5f3', 60, 0, '2014-10-02 08:22:02', '2014-10-04 08:22:02', 16, '::1'), ('6df0ef775c8c8af0cd0c193cb9abdd4b', 60, 0, '2014-10-02 08:30:05', '2014-10-04 08:30:05', 17, '::1'), ('cf22200f3a443ae6452e1456d0a50395', 60, 0, '2014-10-02 08:32:24', '2014-10-04 08:32:24', 18, '::1'), ('0dfa34f157bbfcf4bdb850165286d969', 45, 0, '2014-12-19 14:28:52', '2014-12-21 14:28:52', 19, '::1'), ('3c337d25557e436e6d219e74a1c2e662', 45, 0, '2014-12-19 14:31:21', '2014-12-21 14:31:21', 20, '::1'), ('927af254fc172dac0654a69c09b5df04', 45, 0, '2014-12-19 14:32:29', '2014-12-21 14:32:29', 21, '::1'), ('927af254fc172dac0654a69c09b5df04', 45, 0, '2014-12-19 14:33:54', '2014-12-21 14:33:54', 22, '::1'); -- -------------------------------------------------------- -- -- Structure de la table `historique` -- CREATE TABLE IF NOT EXISTS `historique` ( `id` int(11) NOT NULL AUTO_INCREMENT, `iddemploi` int(11) DEFAULT NULL, `idoffre` int(11) DEFAULT NULL, `nom` varchar(60) DEFAULT NULL, `prenom` varchar(60) DEFAULT NULL, `tel` varchar(25) DEFAULT NULL, `mail` varchar(60) DEFAULT NULL, `photo` varchar(80) DEFAULT NULL, `diplome` varchar(60) DEFAULT NULL, `dat` date DEFAULT NULL, `etat` int(11) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Contenu de la table `historique` -- INSERT INTO `historique` (`id`, `iddemploi`, `idoffre`, `nom`, `prenom`, `tel`, `mail`, `photo`, `diplome`, `dat`, `etat`) VALUES (4, 21, 5, 'dad', 'dddaaf', '0', '0', '0', 'Bac + 2', '2014-05-22', 0), (5, 40, 32, 'Aicha', 'Hammaze', '66666666', '0', '0', 'Baccalauréat', '2014-05-22', 2); -- -------------------------------------------------------- -- -- Structure de la table `info_salarie` -- CREATE TABLE IF NOT EXISTS `info_salarie` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nom` varchar(50) NOT NULL, `prenom` varchar(50) NOT NULL, `situation_familiale` varchar(10) NOT NULL, `nbr_enfant` int(11) NOT NULL, `fonction` varchar(50) NOT NULL, `date_embauche` date NOT NULL, `agence` int(11) NOT NULL, `service` int(11) NOT NULL, `photo` varchar(20) NOT NULL, `matricule` varchar(10) NOT NULL, `status` varchar(20) NOT NULL, `addby` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=24 ; -- -- Contenu de la table `info_salarie` -- INSERT INTO `info_salarie` (`id`, `nom`, `prenom`, `situation_familiale`, `nbr_enfant`, `fonction`, `date_embauche`, `agence`, `service`, `photo`, `matricule`, `status`, `addby`) VALUES (1, 'HAMMAZE', 'AICHA', '2', 0, '4000', '2014-12-16', 1, 1, '', 'BBBB', '1', 45), (2, 'HAMMAZE2', 'AICHA4', '2', 0, '4000', '2014-12-16', 1, 1, '', 'BBBB', '1', 45), (3, 'jhj', 'jhjh', 'C', 0, 'hh', '2014-12-02', 1, 1, '0', 'hh', 'ContratActuel', 45), (4, 'jhj', 'jhjh', 'C', 0, 'hh', '2014-12-02', 1, 1, '0', 'hh', 'ContratActuel', 45), (5, 'jkh', 'jkhjk', 'C', 0, 'j', '2014-12-03', 1, 1, '0', 'j', 'ContratActuel', 45), (6, 'jkh', 'jkhjk', 'C', 0, 'j', '2014-12-03', 1, 1, '0', 'j', 'ContratActuel', 45), (7, 'AAA', 'AAA', 'C', 1, 'HH', '2014-12-03', 1, 1, 'photo_7.jpg', 'HH', 'ContratActuel', 45), (8, 'AAA', 'AAA', 'C', 1, 'HH', '2014-12-03', 1, 1, 'photo_8.jpg', 'HH', 'ContratActuel', 45), (9, 'AAA', 'AAA', 'C', 1, 'HH', '2014-12-03', 1, 1, 'photo_9.jpg', 'HH', 'ContratActuel', 45), (10, 'J', 'J', 'C', 0, 'J', '2014-12-11', 1, 1, '0', 'J', 'ContratActuel', 45), (11, 'jj', 'jj', 'C', 0, 'j', '2014-12-20', 1, 1, '0', 'j', 'ContratActuel', 45), (12, 'J', 'J', 'C', 0, 'J', '2014-12-11', 1, 1, '0', 'J', 'ContratActuel', 45), (13, 'h', 'h', 'C', 0, 'h', '2014-12-20', 1, 1, '0', 'h', 'ContratActuel', 45), (14, 'JH', 'JH', 'C', 0, 'JH', '2014-12-20', 1, 1, '0', 'JH', 'ContratActuel', 45), (15, 'JH', 'JH', 'C', 0, 'JH', '2014-12-20', 1, 1, '0', 'JH', 'ContratActuel', 45), (16, 'J', 'J', 'C', 0, 'J', '2014-12-20', 1, 1, '0', 'J', 'ContratActuel', 45), (17, 'KJ', 'H', 'C', 0, 'KK', '2014-12-20', 1, 1, '0', 'KK', 'ContratActuel', 45), (18, 'JH', 'JJ', 'C', 0, 'J', '2014-12-20', 1, 1, '0', 'J', 'ContratActuel', 45), (19, 'JH', 'JH', 'C', 0, 'JH', '2014-12-20', 1, 1, '0', 'HH', 'ContratActuel', 45), (20, 'JH', 'JH', 'C', 0, 'JH', '2014-12-20', 1, 1, '0', 'HH', 'ContratActuel', 45), (21, 'H', 'J', 'C', 0, 'J', '2014-12-20', 1, 1, '0', 'J', 'ContratActuel', 45), (22, 'JH', 'JH', 'C', 0, 'J', '2014-12-20', 1, 1, '0', 'J', 'ContratActuel', 45), (23, 'Maria', 'Karmen', 'C', 0, 'Sécritaire ', '2009-12-22', 1, 1, 'photo_23.jpg', 'AB12345', 'ContratActuel', 45); -- -------------------------------------------------------- -- -- Structure de la table `info_salarie_budgetaire` -- CREATE TABLE IF NOT EXISTS `info_salarie_budgetaire` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_salarie` int(11) NOT NULL, `salaire_de_base` int(11) NOT NULL, `nouveau_salaire` int(11) NOT NULL, `nom_banque` varchar(30) NOT NULL, `numero_compte` varchar(30) NOT NULL, `taux_anciennete` int(11) NOT NULL, `INDEM` int(11) NOT NULL, `indem_logement` int(11) NOT NULL, `indem_caisse` int(11) NOT NULL, `indem_risque` int(11) NOT NULL, `indem_responsabilite` int(11) NOT NULL, `idem_telephone` int(11) NOT NULL, `indem_domisticite` int(11) NOT NULL, `idem_eau_electrique` int(11) NOT NULL, `addby` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; -- -- Contenu de la table `info_salarie_budgetaire` -- INSERT INTO `info_salarie_budgetaire` (`id`, `id_salarie`, `salaire_de_base`, `nouveau_salaire`, `nom_banque`, `numero_compte`, `taux_anciennete`, `INDEM`, `indem_logement`, `indem_caisse`, `indem_risque`, `indem_responsabilite`, `idem_telephone`, `indem_domisticite`, `idem_eau_electrique`, `addby`) VALUES (1, 1, 0, 9, '88', '77', 77, 77, 77, 78, 88, 99, 87, 87, 99, 45), (2, 1, 0, 9, '88', '77', 77, 77, 77, 78, 88, 99, 87, 87, 99, 45), (3, 14, 8, 8, '8', '8', 8, 56, 8, 8, 8, 8, 8, 8, 8, 45), (4, 19, 8, 8, '8', '8', 8, 56, 8, 8, 8, 8, 8, 8, 8, 45), (5, 20, 8, 8, '8', '8', 8, 56, 8, 8, 8, 8, 8, 8, 8, 45), (6, 21, 8, 8, '8', '8', 8, 56, 8, 8, 8, 8, 8, 8, 8, 45), (7, 22, 98, 98, '98', '98', 98, 7, 1, 1, 1, 1, 1, 1, 1, 45), (8, 23, 100, 200, 'Societé Général', '123456789', 3, 84, 50, 4, 10, 20, 0, 0, 0, 45); -- -------------------------------------------------------- -- -- Structure de la table `location_villa` -- CREATE TABLE IF NOT EXISTS `location_villa` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nomlocataire` varchar(60) NOT NULL, `prenomlocataire` varchar(60) NOT NULL, `adresse` text NOT NULL, `tel` int(11) NOT NULL, `mail` varchar(50) NOT NULL, `idvilla` int(11) NOT NULL, `date_debut` date NOT NULL, `date_fin` date NOT NULL, `montant` int(11) NOT NULL, `arrhes` int(11) NOT NULL, `depot_garantie` int(11) NOT NULL, `type_paiement` varchar(20) NOT NULL, `pj` int(11) NOT NULL, `addby` int(11) DEFAULT NULL, `cin` varchar(55) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Contenu de la table `location_villa` -- INSERT INTO `location_villa` (`id`, `nomlocataire`, `prenomlocataire`, `adresse`, `tel`, `mail`, `idvilla`, `date_debut`, `date_fin`, `montant`, `arrhes`, `depot_garantie`, `type_paiement`, `pj`, `addby`, `cin`) VALUES (1, 'nom', 'prenom', 'adresse ', 9373737, 'mail', 2, '2014-12-05', '2014-12-25', 9000, 8000, 177, '0', 315, 45, NULL); -- -------------------------------------------------------- -- -- Structure de la table `maj_sys` -- CREATE TABLE IF NOT EXISTS `maj_sys` ( `id` int(11) NOT NULL AUTO_INCREMENT, `dat` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `nbrreq` int(11) NOT NULL, `user` varchar(16) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `messages` -- CREATE TABLE IF NOT EXISTS `messages` ( `id` int(11) NOT NULL AUTO_INCREMENT, `objet` text, `message` text, `pj` text, `sender` varchar(100) DEFAULT NULL, `recip` varchar(100) DEFAULT NULL, `stat` int(11) DEFAULT '0', `dat` timestamp NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `nation` -- CREATE TABLE IF NOT EXISTS `nation` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nation` varchar(100) NOT NULL, `pays` varchar(100) NOT NULL, `prefixe` char(2) NOT NULL, `continent` varchar(100) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `noteservice` -- CREATE TABLE IF NOT EXISTS `noteservice` ( `id` int(11) NOT NULL AUTO_INCREMENT, `objet` text NOT NULL, `dat` datetime NOT NULL, `file` text NOT NULL, `datinsert` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date d''Insértion', `addby` int(11) DEFAULT NULL COMMENT 'Enregistré par', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `offre_select` -- CREATE TABLE IF NOT EXISTS `offre_select` ( `id` int(11) NOT NULL AUTO_INCREMENT, `iddemploi` int(11) DEFAULT NULL, `idoffre` int(11) DEFAULT NULL, `nom` varchar(60) DEFAULT NULL, `prenom` varchar(60) DEFAULT NULL, `tel` varchar(25) DEFAULT NULL, `mail` varchar(60) DEFAULT NULL, `photo` varchar(80) DEFAULT NULL, `metier` varchar(60) DEFAULT NULL, `dat` date DEFAULT NULL, `etat` int(11) DEFAULT '0', `addby` int(11) NOT NULL COMMENT 'Ajouté par', `datinsert` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date d''insértion', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ; -- -- Contenu de la table `offre_select` -- INSERT INTO `offre_select` (`id`, `iddemploi`, `idoffre`, `nom`, `prenom`, `tel`, `mail`, `photo`, `metier`, `dat`, `etat`, `addby`, `datinsert`) VALUES (4, 21, 5, 'dad', 'dddaaf', '0', '0', '0', 'Bac + 2', '2014-05-22', 0, 0, '2014-11-11 13:15:29'), (5, 40, 32, 'Aicha', 'Hammaze', '66666666', '0', '0', 'Baccalauréat', '2014-05-22', 2, 0, '2014-11-11 13:15:29'), (6, 11, 1, 'ali', 'khalil', '002354878458', '0', '0', '190', '2014-11-05', 0, 0, '2014-11-11 13:15:29'), (7, 13, 1, 'ali ', 'mim', '002358847844788', 'jiji_hobi@live.com', '0', '190', '2014-11-05', 0, 0, '2014-11-11 13:15:29'), (17, 12, 80, 'd', 'd', '66666666', '0', '0', '8', '2014-11-11', 0, 108, '2014-11-11 13:39:15'), (20, 13, 80, 'ali ', 'mim', '002358847844788', 'jiji_hobi@live.com', '0', '8', '2014-11-11', 0, 108, '2014-11-11 13:53:45'); -- -------------------------------------------------------- -- -- Structure de la table `parafer` -- CREATE TABLE IF NOT EXISTS `parafer` ( `id` int(11) NOT NULL AUTO_INCREMENT, `dat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `usrid` int(11) NOT NULL, `app` int(11) NOT NULL, `descrip` varchar(30) DEFAULT NULL, UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=53 ; -- -- Contenu de la table `parafer` -- INSERT INTO `parafer` (`id`, `dat`, `usrid`, `app`, `descrip`) VALUES (7, '2014-10-13 12:57:30', 95, 46, 'Entreprises'), (9, '2014-10-13 12:59:41', 96, 44, 'Autorisation d''Emploi'), (10, '2014-10-13 12:59:41', 96, 46, 'Entreprises'), (12, '2014-10-13 13:13:25', 45, 100, 'Auto-Emploi'), (13, '2014-10-13 13:13:25', 45, 44, 'Autorisation d''Emploi'), (14, '2014-10-13 13:13:25', 45, 80, 'Contrat de Travail'), (15, '2014-10-13 13:13:25', 45, 61, 'Demandeurs d''Emploi'), (16, '2014-10-13 13:13:25', 45, 46, 'Entreprises'), (17, '2014-10-13 13:13:25', 45, 73, 'Offres d''Emploi'), (18, '2014-10-13 13:13:42', 1, 100, 'Auto-Emploi'), (19, '2014-10-13 13:13:42', 1, 44, 'Autorisation d''Emploi'), (20, '2014-10-13 13:13:42', 1, 80, 'Contrat de Travail'), (21, '2014-10-13 13:13:42', 1, 61, 'Demandeurs d''Emploi'), (22, '2014-10-13 13:13:42', 1, 46, 'Entreprises'), (23, '2014-10-13 13:13:42', 1, 73, 'Offres d''Emploi'), (24, '2014-10-13 13:20:44', 97, 44, 'Autorisation d''Emploi'), (25, '2014-10-13 13:20:44', 97, 46, 'Entreprises'), (26, '2014-10-13 13:20:44', 97, 80, 'Contrat de Travail'), (27, '2014-10-13 14:14:52', 98, 46, 'Entreprises'), (28, '2014-10-13 14:14:52', 98, 80, 'Contrat de Travail'), (30, '2014-10-13 14:22:57', 99, 44, 'Autorisation d''Emploi'), (31, '2014-10-13 14:50:10', 103, 44, 'Autorisation d''Emploi'), (32, '2014-10-13 14:50:10', 103, 46, 'Entreprises'), (34, '2014-10-13 15:09:51', 104, 44, 'Autorisation d''Emploi'), (35, '2014-10-13 15:57:10', 98, 44, 'Autorisation d''Emploi'), (36, '2014-10-13 16:00:00', 102, 44, 'Autorisation d''Emploi'), (37, '2014-10-13 16:11:17', 100, 44, 'Autorisation d''Emploi'), (38, '2014-10-16 11:07:34', 105, 44, 'Autorisation d''Emploi'), (39, '2014-10-19 21:24:52', 106, 80, 'Contrat de Travail'), (40, '2014-10-28 09:42:56', 107, 44, 'Autorisation d''Emploi'), (41, '2014-10-28 09:42:56', 107, 61, 'Demandeurs d''Emploi'), (42, '2014-10-31 09:14:13', 108, 61, 'Demandeurs d''Emploi'), (43, '2014-11-04 14:55:11', 108, 73, 'Offres d''Emploi'), (44, '2014-11-11 12:29:52', 107, 73, 'Offres d''Emploi'), (45, '2014-11-11 12:30:40', 109, 80, 'Contrat de Travail'), (46, '2014-11-11 12:30:40', 109, 61, 'Demandeurs d''Emploi'), (47, '2014-11-11 12:30:40', 109, 73, 'Offres d''Emploi'), (48, '2014-11-11 18:55:16', 108, 80, 'Contrat de Travail'), (49, '2014-11-14 17:21:54', 110, 80, 'Liste Contrat de Travail'), (50, '2014-11-14 18:32:26', 110, 100, 'Auto-Emploi'), (51, '2014-12-04 22:01:20', 45, 167, 'villa'), (52, '2014-12-11 13:24:06', 1, 167, 'villa'); -- -------------------------------------------------------- -- -- Structure de la table `paragraphe` -- CREATE TABLE IF NOT EXISTS `paragraphe` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'identifiant paragraphe', `id_article` int(11) NOT NULL COMMENT 'identifiant article(table article)', `titre` varchar(40) NOT NULL, `montant` int(11) NOT NULL, `mont_use` int(11) NOT NULL DEFAULT '0' COMMENT 'Montant utilisé', `mont_disp` int(11) NOT NULL DEFAULT '0' COMMENT 'Montant disponible', `addby` int(11) DEFAULT NULL COMMENT 'Enregistré par', `datinsert` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date d''insértion', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Contenu de la table `paragraphe` -- INSERT INTO `paragraphe` (`id`, `id_article`, `titre`, `montant`, `mont_use`, `mont_disp`, `addby`, `datinsert`) VALUES (6, 4, 'Parag 1 for Art 1', 1000, 300, 700, NULL, '2014-12-20 22:26:19'); -- -------------------------------------------------------- -- -- Structure de la table `pays1` -- CREATE TABLE IF NOT EXISTS `pays1` ( `ref` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL, `pays` varchar(50) DEFAULT NULL, `nation` varchar(50) DEFAULT NULL, `alpha` varchar(2) DEFAULT NULL, PRIMARY KEY (`ref`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=242 ; -- -- Contenu de la table `pays1` -- INSERT INTO `pays1` (`ref`, `id`, `pays`, `nation`, `alpha`) VALUES (1, 1, 'Afghanistan', '0', 'AF'), (2, 2, 'Albanie', 'Albanaise', 'AL'), (3, 3, 'Antarctique', '0', 'AQ'), (4, 4, 'Algérie', 'Algérienne', 'DZ'), (5, 5, 'Samoa Américaines', '0', 'AS'), (6, 6, 'Andorre', '0', 'AD'), (7, 7, 'Angola', 'angolaise', 'AO'), (8, 8, 'Antigua-et-Barbuda', '0', 'AG'), (9, 9, 'Azerbaïdjan', 'Azerbaïdjanaise', 'AZ'), (10, 10, 'Argentine', '0', 'AR'), (11, 11, 'Australie', 'Australienne', 'AU'), (12, 12, 'Autriche', 'Autrichienne', 'AT'), (13, 13, 'Bahamas', '0', 'BS'), (14, 14, 'Bahreïn', '0', 'BH'), (15, 15, 'Bangladesh', 'Bangladesh', 'BD'), (16, 16, 'Arménie', 'Arménienne', 'AM'), (17, 17, 'Barbade', '0', 'BB'), (18, 18, 'Belgique', 'Belge', 'BE'), (19, 19, 'Bermudes', '0', 'BM'), (20, 20, 'Bhoutan', '0', 'BT'), (21, 21, 'Bolivie', '0', 'BO'), (22, 22, 'Bosnie-Herzégovine', '0', 'BA'), (23, 23, 'Botswana', '0', 'BW'), (24, 24, 'ÃŽle Bouvet', '0', 'BV'), (25, 25, 'Brésil', 'Brésilienne', 'BR'), (26, 26, 'Belize', '0', 'BZ'), (27, 27, 'Territoire Britannique de l''Océan Indien', '0', 'IO'), (28, 28, 'ÃŽles Salomon', '0', 'SB'), (29, 29, 'ÃŽles Vierges Britanniques', '0', 'VG'), (30, 30, 'Brunéi Darussalam', '0', 'BN'), (31, 31, 'Bulgarie', 'Bulgare', 'BG'), (32, 32, 'Myanmar', '0', 'MM'), (33, 33, 'Burundi', 'Burundaise', 'BI'), (34, 34, 'Bélarus', '0', 'BY'), (35, 35, 'Cambodge', '0', 'KH'), (36, 36, 'Cameroun', 'Camerounaise', 'CM'), (37, 37, 'Canada', 'Canadienne', 'CA'), (38, 38, 'Cap-vert', '0', 'CV'), (39, 39, 'ÃŽles Caïmanes', '0', 'KY'), (40, 40, 'République Centrafricaine', 'Centre africaine', 'CF'), (41, 41, 'Sri Lanka', '0', 'LK'), (42, 42, 'Tchad', '0', 'TD'), (43, 43, 'Chili', '0', 'CL'), (44, 44, 'Chine', 'Chinoise', 'CN'), (45, 45, 'Taïwan', 'Taiwanaise', 'TW'), (46, 46, 'ÃŽle Christmas', '0', 'CX'), (47, 47, 'ÃŽles Cocos (Keeling)', '0', 'CC'), (48, 48, 'Colombie', 'Colombienne', 'CO'), (49, 49, 'Comores', '0', 'KM'), (50, 50, 'Mayotte', '0', 'YT'), (51, 51, 'République du Congo', '0', 'CG'), (52, 52, 'République Démocratique du Congo', 'Congolaise', 'CD'), (53, 53, 'ÃŽles Cook', '0', 'CK'), (54, 54, 'Costa Rica', '0', 'CR'), (55, 55, 'Croatie', '0', 'HR'), (56, 56, 'Cuba', '0', 'CU'), (57, 57, 'Chypre', '0', 'CY'), (58, 58, 'République Tchèque', '0', 'CZ'), (59, 59, 'Bénin', 'Beninoise', 'BJ'), (60, 60, 'Danemark', '0', 'DK'), (61, 61, 'Dominique', '0', 'DM'), (62, 62, 'République Dominicaine', '0', 'DO'), (63, 63, 'Équateur', '0', 'EC'), (64, 64, 'El Salvador', '0', 'SV'), (65, 65, 'Guinée Équatoriale', 'Equato-guineenne', 'GQ'), (66, 66, 'Éthiopie', 'Ethiopienne', 'ET'), (67, 67, 'Érythrée', '0', 'ER'), (68, 68, 'Estonie', '0', 'EE'), (69, 69, 'ÃŽles Féroé', '0', 'FO'), (70, 70, 'ÃŽles (malvinas) Falkland', '0', 'FK'), (71, 71, 'Géorgie du Sud et les ÃŽles Sandwich du Sud', '0', 'GS'), (72, 72, 'Fidji', '0', 'FJ'), (73, 73, 'Finlande', 'Finlandaise', 'FI'), (74, 74, 'ÃŽles Ã…land', '0', 'AX'), (75, 75, 'France', 'Française', 'FR'), (76, 76, 'Guyane Française', '0', 'GF'), (77, 77, 'Polynésie Française', '0', 'PF'), (78, 78, 'Terres Australes Françaises', '0', 'TF'), (79, 79, 'Djibouti', '0', 'DJ'), (80, 80, 'Gabon', 'Gabonaise', 'GA'), (81, 81, 'Géorgie', 'Géorgienne', 'GE'), (82, 82, 'Gambie', '0', 'GM'), (83, 83, 'Territoire Palestinien Occupé', '0', 'PS'), (84, 84, 'Allemagne', 'Allemande', 'DE'), (85, 85, 'Ghana', 'Ghanéenne', 'GH'), (86, 86, 'Gibraltar', '0', 'GI'), (87, 87, 'Kiribati', '0', 'KI'), (88, 88, 'Grèce', 'Hellenique', 'GR'), (89, 89, 'Groenland', '0', 'GL'), (90, 90, 'Grenade', '0', 'GD'), (91, 91, 'Guadeloupe', '0', 'GP'), (92, 92, 'Guam', '0', 'GU'), (93, 93, 'Guatemala', '0', 'GT'), (94, 94, 'Guinée', 'Guinéenne', 'GN'), (95, 95, 'Guyana', '0', 'GY'), (96, 96, 'Haïti', '0', 'HT'), (97, 97, 'ÃŽles Heard et Mcdonald', '0', 'HM'), (98, 98, 'Saint-Siège (état de la Cité du Vatican)', '0', 'VA'), (99, 99, 'Honduras', '0', 'HN'), (100, 100, 'Hong-Kong', '0', 'HK'), (101, 101, 'Hongrie', 'Hongroise', 'HU'), (102, 102, 'Islande', '0', 'IS'), (103, 103, 'Inde', 'Indienne', 'IN'), (104, 104, 'Indonésie', 'Indonesienne', 'ID'), (105, 105, 'République Islamique d''Iran', '0', 'IR'), (106, 106, 'Iraq', 'irakienne', 'IQ'), (107, 107, 'Irlande', 'Irlandaise', 'IE'), (108, 108, 'Israël', 'Israelienne', 'IL'), (109, 109, 'Italie', 'Italienne', 'IT'), (110, 110, 'Côte d''Ivoire', 'Ivoirienne', 'CI'), (111, 111, 'Jamaïque', '0', 'JM'), (112, 112, 'Japon', '0', 'JP'), (113, 113, 'Kazakhstan', '0', 'KZ'), (114, 114, 'Jordanie', 'Jordanienne', 'JO'), (115, 115, 'Kenya', 'Kenyanne', 'KE'), (116, 116, 'République Populaire Démocratique de Corée', '0', 'KP'), (117, 117, 'République de Corée', 'Coréenne', 'KR'), (118, 118, 'Koweït', '0', 'KW'), (119, 119, 'Kirghizistan', '0', 'KG'), (120, 120, 'République Démocratique Populaire Lao', '0', 'LA'), (121, 121, 'Liban', 'Libanaise', 'LB'), (122, 122, 'Lesotho', '0', 'LS'), (123, 123, 'Lettonie', '0', 'LV'), (124, 124, 'Libéria', '0', 'LR'), (125, 125, 'Jamahiriya Arabe Libyenne', 'Libyenne', 'LY'), (126, 126, 'Liechtenstein', '0', 'LI'), (127, 127, 'Lituanie', 'Lituanienne', 'LT'), (128, 128, 'Luxembourg', '0', 'LU'), (129, 129, 'Macao', '0', 'MO'), (130, 130, 'Madagascar', 'Malgache', 'MG'), (131, 131, 'Malawi', '0', 'MW'), (132, 132, 'Malaisie', 'Malaisienne', 'MY'), (133, 133, 'Maldives', '0', 'MV'), (134, 134, 'Mali', 'Malienne', 'ML'), (135, 135, 'Malte', '0', 'MT'), (136, 136, 'Martinique', '0', 'MQ'), (137, 137, 'Mauritanie', 'Mauritanienne', 'MR'), (138, 138, 'Maurice', 'Mauricienne', 'MU'), (139, 139, 'Mexique', 'Mexicaine', 'MX'), (140, 140, 'Monaco', '0', 'MC'), (141, 141, 'Mongolie', '0', 'MN'), (142, 142, 'République de Moldova', 'Moldave', 'MD'), (143, 143, 'Montserrat', '0', 'MS'), (144, 144, 'Maroc', 'Marocaine', 'MA'), (145, 145, 'Mozambique', 'Mozambicaine', 'MZ'), (146, 146, 'Oman', '0', 'OM'), (147, 147, 'Namibie', '0', 'NA'), (148, 148, 'Nauru', '0', 'NR'), (149, 149, 'Népal', 'Népalaise', 'NP'), (150, 150, 'Pays-Bas', 'Hollandaise', 'NL'), (151, 151, 'Antilles Néerlandaises', '0', 'AN'), (152, 152, 'Aruba', '0', 'AW'), (153, 153, 'Nouvelle-Calédonie', '0', 'NC'), (154, 154, 'Vanuatu', '0', 'VU'), (155, 155, 'Nouvelle-Zélande', 'New zelandaise', 'NZ'), (156, 156, 'Nicaragua', '0', 'NI'), (157, 157, 'Niger', '0', 'NE'), (158, 158, 'Nigéria', 'Nigérienne', 'NG'), (159, 159, 'Niué', '0', 'NU'), (160, 160, 'ÃŽle Norfolk', '0', 'NF'), (161, 161, 'Norvège', 'Norvégienne', 'NO'), (162, 162, 'ÃŽles Mariannes du Nord', '0', 'MP'), (163, 163, 'ÃŽles Mineures Éloignées des États-Unis', '0', 'UM'), (164, 164, 'États Fédérés de Micronésie', '0', 'FM'), (165, 165, 'ÃŽles Marshall', '0', 'MH'), (166, 166, 'Palaos', '0', 'PW'), (167, 167, 'Pakistan', 'Pakistanaise', 'PK'), (168, 168, 'Panama', '0', 'PA'), (169, 169, 'Papouasie-Nouvelle-Guinée', '0', 'PG'), (170, 170, 'Paraguay', '0', 'PY'), (171, 171, 'Pérou', 'Péruvienne', 'PE'), (172, 172, 'Philippines', 'Philippine', 'PH'), (173, 173, 'Pitcairn', '0', 'PN'), (174, 174, 'Pologne', 'Polonaise', 'PL'), (175, 175, 'Portugal', 'Portugaise', 'PT'), (176, 176, 'Guinée-Bissau', '0', 'GW'), (177, 177, 'Timor-Leste', '0', 'TL'), (178, 178, 'Porto Rico', '0', 'PR'), (179, 179, 'Qatar', '0', 'QA'), (180, 180, 'Réunion', '0', 'RE'), (181, 181, 'Roumanie', 'Roumaine', 'RO'), (182, 182, 'Fédération de Russie', 'Russe', 'RU'), (183, 183, 'Rwanda', '0', 'RW'), (184, 184, 'Sainte-Hélène', '0', 'SH'), (185, 185, 'Saint-Kitts-et-Nevis', '0', 'KN'), (186, 186, 'Anguilla', '0', 'AI'), (187, 187, 'Sainte-Lucie', '0', 'LC'), (188, 188, 'Saint-Pierre-et-Miquelon', '0', 'PM'), (189, 189, 'Saint-Vincent-et-les Grenadines', '0', 'VC'), (190, 190, 'Saint-Marin', '0', 'SM'), (191, 191, 'Sao Tomé-et-Principe', '0', 'ST'), (192, 192, 'Arabie Saoudite', 'Saoudienne', 'SA'), (193, 193, 'Sénégal', 'Sénégalaise', 'SN'), (194, 194, 'Seychelles', '0', 'SC'), (195, 195, 'Sierra Leone', '0', 'SL'), (196, 196, 'Singapour', '0', 'SG'), (197, 197, 'Slovaquie', 'Slovaque', 'SK'), (198, 198, 'Viet Nam', '0', 'VN'), (199, 199, 'Slovénie', '0', 'SI'), (200, 200, 'Somalie', '0', 'SO'), (201, 201, 'Afrique du Sud', 'Sud africaine', 'ZA'), (202, 202, 'Zimbabwe', '0', 'ZW'), (203, 203, 'Espagne', 'Espagnole', 'ES'), (204, 205, 'Soudan', 'Soudanaise', 'SD'), (205, 206, 'Suriname', '0', 'SR'), (206, 207, 'Svalbard etÃŽle Jan Mayen', '0', 'SJ'), (207, 208, 'Swaziland', '0', 'SZ'), (208, 209, 'Suède', 'Suédoise', 'SE'), (209, 210, 'Suisse', '0', 'CH'), (210, 211, 'République Arabe Syrienne', 'Syrienne', 'SY'), (211, 212, 'Tadjikistan', '0', 'TJ'), (212, 213, 'Thaïlande', '0', 'TH'), (213, 214, 'Togo', 'Togolaise', 'TG'), (214, 215, 'Tokelau', '0', 'TK'), (215, 216, 'Tonga', '0', 'TO'), (216, 217, 'Trinité-et-Tobago', 'Trinidad', 'TT'), (217, 218, 'Émirats Arabes Unis', '0', 'AE'), (218, 219, 'Tunisie', 'Tunisienne', 'TN'), (219, 220, 'Turquie', 'Turque', 'TR'), (220, 221, 'Turkménistan', '0', 'TM'), (221, 222, 'ÃŽles Turks et Caïques', '0', 'TC'), (222, 223, 'Tuvalu', '0', 'TV'), (223, 224, 'Ouganda', 'Ougandaise', 'UG'), (224, 225, 'Ukraine', 'Ukrainienne', 'UA'), (225, 226, 'L''ex-République Yougoslave de Macédoine', 'Macedonienne', 'MK'), (226, 227, 'égypte', 'Egyptienne', 'EG'), (227, 228, 'Royaume-Uni', 'Britannique', 'GB'), (228, 229, 'ÃŽle de Man', '0', 'IM'), (229, 230, 'République-Unie de Tanzanie', '0', 'TZ'), (230, 231, 'États-Unis', 'Americaine', 'US'), (231, 232, 'ÃŽles Vierges des États-Unis', '0', 'VI'), (232, 233, 'Burkina Faso', 'Burkinabaise', 'BF'), (233, 234, 'Uruguay', '0', 'UY'), (234, 235, 'Ouzbékistan', '0', 'UZ'), (235, 236, 'Venezuela', 'Vénézuélienne', 'VE'), (236, 237, 'Wallis et Futuna', '0', 'WF'), (237, 238, 'Samoa', '0', 'WS'), (238, 239, 'Yémen', 'Yemenite', 'YE'), (239, 240, 'Serbie-et-Monténégro', 'Serbe', 'CS'), (240, 241, 'Zambie', '0', 'ZM'), (241, 242, 'Tchad', 'Tchadienne', 'TD'); -- -------------------------------------------------------- -- -- Structure de la table `permission_users` -- CREATE TABLE IF NOT EXISTS `permission_users` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID Perm_user', `userid` int(25) NOT NULL, `appid` varchar(25) NOT NULL, `perm` int(11) NOT NULL, `appname` varchar(25) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Permission des utilisateur pour les application' AUTO_INCREMENT=4274 ; -- -- Contenu de la table `permission_users` -- INSERT INTO `permission_users` (`id`, `userid`, `appid`, `perm`, `appname`) VALUES (2117, 99, '8', 1, 'Utilisateurs'), (2118, 99, '9', 1, 'Ajouter Utilisateur'), (2119, 99, '11', 1, 'Mon Compte'), (2120, 99, '44', 1, 'Autorisation d''Emploi'), (2121, 99, '45', 1, 'Ajouter une Autorisation '), (2122, 99, '50', 1, 'Modifier une Autorisation'), (2123, 99, '51', 1, 'Générer recipicie Autor'), (2124, 99, '64', 1, 'Permissions'), (2125, 99, '65', 1, 'Générer Autorisation d'''), (2126, 99, '66', 1, 'Statistiques Autorisation'), (2127, 99, '69', 1, 'Etude d''autorisation d''Em'), (2128, 99, '123', 1, 'Secteur d''Activités'), (2129, 99, '124', 1, 'Ajouter Secteur'), (2130, 99, '125', 1, 'Répertoire métiers'), (2131, 99, '126', 1, 'Ajouter métier'), (2147, 104, '8', 1, 'Utilisateurs'), (2148, 104, '9', 1, 'Ajouter Utilisateur'), (2149, 104, '11', 1, 'Mon Compte'), (2150, 104, '44', 1, 'Autorisation d''Emploi'), (2151, 104, '45', 1, 'Ajouter une Autorisation '), (2152, 104, '50', 1, 'Modifier une Autorisation'), (2153, 104, '64', 1, 'Permissions'), (2154, 98, '69', 1, 'Etude d''autorisation d''Em'), (2155, 98, '65', 1, 'Générer Autorisation d'''), (2156, 98, '51', 1, 'Générer recipicie Autor'), (2157, 98, '44', 1, 'Autorisation d''Emploi'), (2158, 98, '80', 1, 'Contrat de Travail'), (2159, 98, '86', 1, 'liste des Contrats de Tra'), (2160, 98, '82', 1, 'Editer Contrat de Travail'), (2161, 98, '81', 1, 'Ajouter Contrat de Travai'), (2162, 98, '47', 1, 'Editer Entreprise'), (2163, 98, '46', 1, 'Entreprises'), (2164, 98, '48', 1, 'Ajouter Entreprise'), (2166, 100, '44', 1, 'Autorisation d''Emploi'), (2167, 102, '51', 1, 'Générer recipicie Autor'), (2168, 102, '44', 1, 'Autorisation d''Emploi'), (2169, 97, '69', 1, 'Etude d''autorisation d''Em'), (2170, 97, '44', 1, 'Autorisation d''Emploi'), (2171, 97, '80', 1, 'Contrat de Travail'), (2172, 97, '86', 1, 'liste des Contrats de Tra'), (2173, 97, '82', 1, 'Editer Contrat de Travail'), (2174, 97, '81', 1, 'Ajouter Contrat de Travai'), (2175, 97, '47', 1, 'Editer Entreprise'), (2176, 97, '46', 1, 'Entreprises'), (2177, 97, '48', 1, 'Ajouter Entreprise'), (2178, 103, '45', 1, 'Ajouter une Autorisation '), (2179, 103, '50', 1, 'Modifier une Autorisation'), (2180, 103, '44', 1, 'Autorisation d''Emploi'), (2181, 103, '47', 1, 'Editer Entreprise'), (2182, 103, '46', 1, 'Entreprises'), (2183, 103, '48', 1, 'Ajouter Entreprise'), (2184, 103, '12', 1, 'Notes de service'), (2185, 103, '14', 1, 'Editer Note de Service'), (2186, 103, '13', 1, 'Ajouter Note de Service'), (2187, 105, '8', 1, 'Utilisateurs'), (2188, 105, '9', 1, 'Ajouter Utilisateur'), (2189, 105, '11', 1, 'Mon Compte'), (2190, 105, '44', 1, 'Autorisation d''Emploi'), (2191, 105, '45', 1, 'Ajouter une Autorisation '), (2192, 105, '50', 1, 'Modifier une Autorisation'), (2193, 105, '51', 1, 'Générer recipicie Autor'), (2194, 105, '64', 1, 'Permissions'), (2195, 105, '65', 1, 'Générer Autorisation d'''), (2196, 105, '66', 1, 'Statistiques Autorisation'), (2197, 105, '69', 1, 'Etude d''autorisation d''Em'), (2198, 105, '123', 1, 'Secteur d''Activités'), (2199, 105, '124', 1, 'Ajouter Secteur'), (2200, 105, '125', 1, 'Répertoire métiers'), (2201, 105, '126', 1, 'Ajouter métier'), (2205, 106, '80', 1, 'Contrat de Travail'), (2206, 106, '86', 1, 'liste des Contrats de Tra'), (2207, 106, '82', 1, 'Editer Contrat de Travail'), (2208, 106, '81', 1, 'Ajouter Contrat de Travai'), (2450, 107, '148', 1, 'Billan Demploi'), (2451, 107, '139', 1, 'Ajouter Emploi Rechercher'), (2452, 107, '132', 1, 'Entretien avec demandeur '), (2453, 107, '149', 1, 'Modifier Billan Demploi'), (2454, 107, '98', 1, 'Entretien'), (2455, 107, '113', 1, 'Ajouter Langue pour deman'), (2456, 107, '61', 1, 'Demandeurs d''Emploi'), (2457, 107, '62', 1, 'Editer Demandeur d''Emploi'), (2458, 107, '112', 1, 'Ajouter Expérience pour '), (2459, 107, '114', 1, 'Editer profil Demandeur d'), (2460, 107, '71', 1, 'Evaluer Demandeur d''Emplo'), (2461, 107, '110', 1, 'Ajouter Demandeur d''Emplo'), (2462, 107, '109', 1, 'Premier Entretien'), (2463, 107, '111', 1, 'Ajouter Formation pour de'), (2464, 107, '152', 1, 'Statistiques Demmandeur d'), (2465, 107, '73', 1, 'Offres d''Emploi'), (2466, 107, '74', 1, 'Ajouter Offre d''Emploi'), (2467, 107, '79', 1, 'Editer Offre d''Emploi'), (2468, 107, '94', 1, 'Afficher Offre d''emploi'), (2469, 107, '95', 1, 'Liste Condidats'), (2470, 107, '96', 1, 'Editer offre d''emploi'), (2471, 107, '97', 1, 'liste des Offres recherch'), (2472, 109, '151', 1, 'Statistiques Contrat du t'), (2473, 109, '82', 1, 'Editer Contrat de Travail'), (2474, 109, '80', 1, 'Contrat de Travail'), (2475, 109, '86', 1, 'liste des Contrats de Tra'), (2476, 109, '81', 1, 'Ajouter Contrat de Travai'), (2477, 109, '148', 1, 'Billan Demploi'), (2478, 109, '139', 1, 'Ajouter Emploi Rechercher'), (2479, 109, '132', 1, 'Entretien avec demandeur '), (2480, 109, '149', 1, 'Modifier Billan Demploi'), (2481, 109, '98', 1, 'Entretien'), (2482, 109, '113', 1, 'Ajouter Langue pour deman'), (2483, 109, '61', 1, 'Demandeurs d''Emploi'), (2484, 109, '62', 1, 'Editer Demandeur d''Emploi'), (2485, 109, '112', 1, 'Ajouter Expérience pour '), (2486, 109, '114', 1, 'Editer profil Demandeur d'), (2487, 109, '71', 1, 'Evaluer Demandeur d''Emplo'), (2488, 109, '110', 1, 'Ajouter Demandeur d''Emplo'), (2489, 109, '109', 1, 'Premier Entretien'), (2490, 109, '111', 1, 'Ajouter Formation pour de'), (2491, 109, '152', 1, 'Statistiques Demmandeur d'), (2492, 109, '73', 1, 'Offres d''Emploi'), (2493, 109, '74', 1, 'Ajouter Offre d''Emploi'), (2494, 109, '79', 1, 'Editer Offre d''Emploi'), (2495, 109, '94', 1, 'Afficher Offre d''emploi'), (2496, 109, '95', 1, 'Liste Condidats'), (2497, 109, '96', 1, 'Editer offre d''emploi'), (2498, 109, '97', 1, 'liste des Offres recherch'), (2499, 108, '151', 1, 'Statistiques Contrat du t'), (2500, 108, '82', 1, 'Editer Contrat de Travail'), (2501, 108, '80', 1, 'Contrat de Travail'), (2502, 108, '86', 1, 'liste des Contrats de Tra'), (2503, 108, '81', 1, 'Ajouter Contrat de Travai'), (2504, 108, '148', 1, 'Billan Demploi'), (2505, 108, '139', 1, 'Ajouter Emploi Rechercher'), (2506, 108, '132', 1, 'Entretien avec demandeur '), (2507, 108, '149', 1, 'Modifier Billan Demploi'), (2508, 108, '98', 1, 'Entretien'), (2509, 108, '113', 1, 'Ajouter Langue pour deman'), (2510, 108, '61', 1, 'Demandeurs d''Emploi'), (2511, 108, '62', 1, 'Editer Demandeur d''Emploi'), (2512, 108, '112', 1, 'Ajouter Expérience pour '), (2513, 108, '114', 1, 'Editer profil Demandeur d'), (2514, 108, '71', 1, 'Evaluer Demandeur d''Emplo'), (2515, 108, '110', 1, 'Ajouter Demandeur d''Emplo'), (2516, 108, '109', 1, 'Premier Entretien'), (2517, 108, '111', 1, 'Ajouter Formation pour de'), (2518, 108, '73', 1, 'Offres d''Emploi'), (2519, 108, '74', 1, 'Ajouter Offre d''Emploi'), (2520, 108, '79', 1, 'Editer Offre d''Emploi'), (2521, 108, '94', 1, 'Afficher Offre d''emploi'), (2522, 108, '95', 1, 'Liste Condidats'), (2523, 108, '96', 1, 'Editer offre d''emploi'), (2524, 108, '97', 1, 'liste des Offres recherch'), (3603, 110, '100', 1, 'Auto-Emploi'), (3604, 110, '108', 1, 'Paiement Projet Auto-Empl'), (3605, 110, '107', 1, 'Ajout Montant accordé po'), (3606, 110, '106', 1, 'Liste de Projet Auto-Empl'), (3607, 110, '103', 1, 'Ajouter Montant Demandé '), (3608, 110, '105', 1, 'Editer Projet Auto-Emplo'), (3609, 110, '159', 1, 'Validation Chef Devision'), (3610, 110, '102', 1, 'Suivi de Projet Auto-Empl'), (3611, 110, '101', 1, 'Ajouter Demande Projet Au'), (3612, 110, '155', 1, 'Paiement Projet Auto-Empl'), (3613, 110, '156', 1, 'Ajouter Projet Auto-Emplo'), (3614, 110, '158', 1, 'Fiche Synoptique DAE'), (3898, 1, '163', 1, 'Ajout Paragraphe'), (3899, 1, '161', 1, 'Ajouter Article'), (3900, 1, '162', 1, 'Paragraphes'), (3901, 1, '160', 1, 'Articles'), (3902, 1, '165', 1, 'Ajouter Depense'), (3903, 1, '164', 1, 'Gestion Depenses'), (3904, 1, '12', 1, 'Notes de service'), (3905, 1, '14', 1, 'Editer Note de Service'), (3906, 1, '13', 1, 'Ajouter Note de Service'), (3907, 1, '175', 1, 'quote part patronal'), (3908, 1, '174', 1, 'ajouter quote part patron'), (3909, 1, '171', 1, 'List Location Villa'), (3910, 1, '166', 1, 'Ajout Location Villa'), (3911, 1, '170', 1, 'List Produit Reform'), (3912, 1, '169', 1, 'Ajout Produit Reform'), (3913, 1, '172', 1, 'Gestion Salaire'), (3914, 1, '173', 1, 'Ajouter Nouveau Salarie'), (3915, 1, '176', 1, 'Ajouter Avance Salarie'), (3916, 1, '3', 1, 'Tableau de bord'), (3917, 1, '99', 1, 'Editer compte utilisateur'), (3918, 1, '147', 1, 'Utilisateur Connecter'), (3919, 1, '8', 1, 'Utilisateurs'), (3920, 1, '9', 1, 'Ajouter Utilisateur'), (3921, 1, '11', 1, 'Mon Compte'), (3922, 1, '64', 1, 'Permissions'), (3923, 1, '168', 1, 'Ajouter Villa'), (3924, 1, '167', 1, 'villa'), (4229, 45, '178', 1, 'ajouter collecte'), (4230, 45, '163', 1, 'Ajout Paragraphe'), (4231, 45, '181', 1, 'Gestion Budget'), (4232, 45, '191', 1, 'Amenagement Budget'), (4233, 45, '183', 1, 'Editer Article'), (4234, 45, '190', 1, 'Ajouter Article Modal'), (4235, 45, '182', 1, 'Editer Paragraphe'), (4236, 45, '162', 1, 'Paragraphes'), (4237, 45, '161', 1, 'Ajouter Article'), (4238, 45, '160', 1, 'Articles'), (4239, 45, '165', 1, 'Ajouter Depense'), (4240, 45, '164', 1, 'Gestion Depenses'), (4241, 45, '192', 1, 'Gestion Villa'), (4242, 45, '198', 1, 'Editer Villa'), (4243, 45, '200', 1, 'Afficher les collectes '), (4244, 45, '193', 1, 'Contrat Location Villa'), (4245, 45, '202', 1, 'Ajouter une villa'), (4246, 45, '196', 1, 'Ajouter contrat Location '), (4247, 45, '194', 1, 'editer contrat location v'), (4248, 45, '195', 1, 'paiement location villa'), (4249, 45, '199', 1, 'Details Contrat'), (4250, 45, '197', 1, 'Details Villa'), (4251, 45, '201', 1, 'Editer Collecte'), (4252, 45, '175', 1, 'quote part patronal'), (4253, 45, '174', 1, 'ajouter quote part patron'), (4254, 45, '170', 1, 'List Produit Reform'), (4255, 45, '169', 1, 'Ajout Produit Reform'), (4256, 45, '188', 1, 'Ajout Nouvelle etat de Pa'), (4257, 45, '187', 1, 'Liste Etat de Salaire'), (4258, 45, '186', 1, 'Ajout Nouvelle etat de Pa'), (4259, 45, '185', 1, 'List etat de Paiement'), (4260, 45, '172', 1, 'Gestion Salaire'), (4261, 45, '173', 1, 'Ajouter Nouveau Salarie'), (4262, 45, '176', 1, 'Ajouter Avance Salarie'), (4263, 45, '184', 1, 'Profil Salarie'), (4264, 45, '189', 1, 'Ajouter Salaire Montiel'), (4265, 45, '3', 1, 'Tableau de bord'), (4266, 45, '179', 1, 'Tresorie ONAPE'), (4267, 45, '180', 1, 'Ajouter Tresorie ONAPE'), (4268, 45, '99', 1, 'Editer compte utilisateur'), (4269, 45, '147', 1, 'Utilisateur Connecter'), (4270, 45, '64', 1, 'Permissions'), (4271, 45, '11', 1, 'Mon Compte'), (4272, 45, '9', 1, 'Ajouter Utilisateur'), (4273, 45, '8', 1, 'Utilisateurs'); -- -------------------------------------------------------- -- -- Structure de la table `produit_reform` -- CREATE TABLE IF NOT EXISTS `produit_reform` ( `id` int(11) NOT NULL AUTO_INCREMENT, `titre` varchar(60) NOT NULL, `description` text NOT NULL, `montant` int(11) NOT NULL, `date_operation` date NOT NULL, `pj` int(11) NOT NULL, `addby` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Contenu de la table `produit_reform` -- INSERT INTO `produit_reform` (`id`, `titre`, `description`, `montant`, `date_operation`, `pj`, `addby`) VALUES (1, 'jjjh', 'jkhkh<span class="Apple-tab-span" style="white-space:pre"> </span>', 9898, '2014-12-05', 0, 45), (2, 'JHJKH', 'HKJH<span class="Apple-tab-span" style="white-space:pre"> </span>', 788, '2014-12-05', 317, 45), (3, 'Vente Immobilier agence Farcha', 'Opération vente de Imobbilier Farcha pour achat de renouvellement équipements, ', 12000000, '2014-12-06', 0, 45), (4, 'Titre Rachid', 'Test ', 145687, '2014-12-05', 316, 45); -- -------------------------------------------------------- -- -- Structure de la table `quotpatronal` -- CREATE TABLE IF NOT EXISTS `quotpatronal` ( `id` int(11) NOT NULL AUTO_INCREMENT, `montant` int(11) NOT NULL, `piece_jointe` int(11) NOT NULL, `datinsert` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Contenu de la table `quotpatronal` -- INSERT INTO `quotpatronal` (`id`, `montant`, `piece_jointe`, `datinsert`) VALUES (1, 6000, 344, '2014-12-08 14:18:02'), (2, 8590, 331, '2014-12-08 14:27:52'), (5, 5443545, 336, '2014-12-08 17:34:23'), (6, 6778888, 337, '2014-12-08 17:35:13'); -- -------------------------------------------------------- -- -- Structure de la table `rules` -- CREATE TABLE IF NOT EXISTS `rules` ( `id` int(11) NOT NULL AUTO_INCREMENT, `app` varchar(15) NOT NULL, `service` int(11) NOT NULL, `etat` int(11) DEFAULT NULL, `action1` text, `codeact1` text, `action2` text, `codeact2` text, `action3` text, `codact3` text, `classe` text NOT NULL, `statut` text NOT NULL, `notif` int(11) DEFAULT '0', `active` int(11) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Contenu de la table `rules` -- INSERT INTO `rules` (`id`, `app`, `service`, `etat`, `action1`, `codeact1`, `action2`, `codeact2`, `action3`, `codact3`, `classe`, `statut`, `notif`, `active`) VALUES (1, 'depense', 1, 0, 'Valider Par DG', '<li><a href="#" class="tryit" onclick="valid(''Valider par Chef Service des Dépenses.'', {''confirm'':true},%id%,1);"><i class="icon-check"></i> Valider par C.S.D</a></li>', NULL, NULL, NULL, NULL, 'label-warning', 'Attente Validation C.S.D', 0, 1); -- -------------------------------------------------------- -- -- Structure de la table `salaire` -- CREATE TABLE IF NOT EXISTS `salaire` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_salarie` int(11) NOT NULL, `id_etat_paiement` int(11) NOT NULL, `salaire_de_base` int(11) NOT NULL, `nouveau_salaire` int(11) NOT NULL, `prime` int(11) NOT NULL, `indem` int(11) NOT NULL, `cnps` int(11) NOT NULL, `cnrt` int(11) NOT NULL, `irpp` int(11) NOT NULL, `fir` int(11) NOT NULL, `redevance` int(11) NOT NULL, `net_a_payer` int(11) NOT NULL, `numero_compte` varchar(30) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; -- -- Contenu de la table `salaire` -- INSERT INTO `salaire` (`id`, `id_salarie`, `id_etat_paiement`, `salaire_de_base`, `nouveau_salaire`, `prime`, `indem`, `cnps`, `cnrt`, `irpp`, `fir`, `redevance`, `net_a_payer`, `numero_compte`) VALUES (1, 1, 1, 100, 0, 15, 0, 0, 0, 1, 0, 0, 14, '123456789'), (2, 2, 1, 2333, 0, 87, 0, 0, 0, 0, 0, 0, 87, 'JGJDHG'), (3, 3, 1, 4000, 0, 12, 0, 0, 0, 1, 0, 0, 11, 'BD2392'), (4, 1, 2, 100, 0, 15, 0, 0, 0, 1, 0, 0, 14, '123456789'), (5, 2, 2, 2333, 0, 87, 0, 0, 0, 0, 0, 0, 87, 'JGJDHG'), (6, 3, 2, 4000, 0, 12, 0, 0, 0, 1, 0, 0, 11, 'BD2392'), (7, 4, 2, 100, 120, 24, 0, 5, 0, 15, 40, 67, 18, '123456789'), (8, 4, 2, 100, 120, 24, 0, 5, 0, 15, 40, 67, 18, '123456789'); -- -------------------------------------------------------- -- -- Structure de la table `salarie` -- CREATE TABLE IF NOT EXISTS `salarie` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nom` varchar(50) NOT NULL, `prenom` varchar(50) NOT NULL, `situation_familiale` varchar(10) NOT NULL, `nbr_enfant` int(11) NOT NULL, `fonction` varchar(50) NOT NULL, `salaire_de_base` int(11) NOT NULL, `nouveau_salaire` int(11) NOT NULL, `INDEM` int(11) NOT NULL, `date_embauche` date NOT NULL, `agence` int(11) NOT NULL, `service` int(11) NOT NULL, `photo` varchar(20) NOT NULL, `nom_banque` varchar(30) NOT NULL, `numero_compte` varchar(20) NOT NULL, `matricule` varchar(10) NOT NULL, `taux_anciennete` int(11) NOT NULL, `status` varchar(20) NOT NULL, `addby` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Contenu de la table `salarie` -- INSERT INTO `salarie` (`id`, `nom`, `prenom`, `situation_familiale`, `nbr_enfant`, `fonction`, `salaire_de_base`, `nouveau_salaire`, `INDEM`, `date_embauche`, `agence`, `service`, `photo`, `nom_banque`, `numero_compte`, `matricule`, `taux_anciennete`, `status`, `addby`) VALUES (1, 'Rachid', 'Kada', '', 0, 'Technicien', 100, 0, 0, '2000-02-01', 1, 12, 'photo_1.jpg', 'BP', '123456789', '1236', 15, 'ContratActuel', 45), (2, 'hammaze', 'aicha', '', 0, 'developpeur', 2333, 0, 0, '2014-12-11', 1, 1, 'photo_2.jpg', 'HJKEJH', 'JGJDHG', 'HG778', 87, 'ContratActuel', 45), (3, 'TIJANI', 'imane', 'M', 3, 'DEVELOPPEUSE', 4000, 0, 0, '2014-12-25', 6, 17, 'photo_3.jpg', 'BMCI', 'BD2392', 'BB91207', 12, 'ContratFonctionnel', 45), (4, 'Abba', 'Netti', 'C', 0, 'Technicien', 100, 120, 0, '2014-12-17', 1, 1, '0', 'BP', '123456789', '12456', 17, 'ContratActuel', 45); -- -------------------------------------------------------- -- -- Structure de la table `services` -- CREATE TABLE IF NOT EXISTS `services` ( `service` varchar(150) NOT NULL COMMENT 'Nom de Service', `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID Service', `division` int(11) NOT NULL COMMENT 'ID Division', `sign` int(11) NOT NULL DEFAULT '0' COMMENT 'demande Signature', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=32 ; -- -- Contenu de la table `services` -- INSERT INTO `services` (`service`, `id`, `division`, `sign`) VALUES ('Directeur Général', 1, 2, 1), ('Secrétariat DG', 2, 2, 1), ('Services de la relation avec les Enterprise et organisation de formation', 3, 3, 1), ('Service de VISA', 4, 3, 1), ('Service de l''Information sur le Marché du Travail', 5, 4, 1), ('Service d’Intermédiation', 6, 4, 1), ('Chef Service Conseil et Insertion Professionnelle (SCOIP)', 7, 4, 1), ('Service du Développement de l''Emploi Rural et du Suivi des Projets', 8, 5, 1), ('Service Formation et Reconversion Professionnelle', 9, 5, 1), ('Service Auto-Emploi', 10, 5, 1), ('Service Comptabilité', 11, 6, 1), ('Services Généraux', 12, 6, 1), ('Service des Ressources Humaines', 13, 6, 1), ('Service Juridique', 14, 6, 1), ('Service Informatique', 15, 7, 1), ('Service Communication', 16, 7, 1), ('Service Pré-Emploi', 17, 8, 1), ('Service Suivi des Stagiaires ', 18, 8, 1), ('DG Immigration / Émigration', 19, 9, 1), ('DGA Immigration / Émigration', 20, 9, 1), ('Chef de Division de la Coopération et des Relations avec l’Environnement et Professionnel', 21, 3, 0), ('Chef de Division de l’Orientation, de l’Intermédiation et des Etudes', 22, 4, 0), ('Chef de Division du Perfectionnement, de l’Auto-emploi et d’Appui à l’Emploi Rural', 23, 5, 0), ('Chef de Division Administrative et Financière', 24, 6, 0), ('Chef de Division Informatique et Communication', 25, 7, 0), ('Chef de Division d’Appui aux Diplômés sans Expérience', 26, 8, 0), ('Agent Service Conseil et Insertion Professionnelle (SCOIP)', 27, 4, 1), ('Service des Etudes et des Recherches', 28, 4, 1), ('Chef de Bureau', 29, 2, 1), ('Agent Service VISA', 30, 3, 1), ('Service Comptabilite Auto Emploi', 31, 5, 1); -- -------------------------------------------------------- -- -- Structure de la table `session` -- CREATE TABLE IF NOT EXISTS `session` ( `id_sys` int(11) NOT NULL AUTO_INCREMENT, `id` varchar(32) NOT NULL, `user` varchar(20) NOT NULL, `dat` datetime NOT NULL, `expir` datetime DEFAULT NULL, PRIMARY KEY (`id_sys`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `task` -- CREATE TABLE IF NOT EXISTS `task` ( `app` varchar(15) NOT NULL, `id` int(11) NOT NULL AUTO_INCREMENT, `modul` varchar(40) DEFAULT NULL COMMENT 'Module', `file` varchar(30) NOT NULL, `rep` varchar(21) DEFAULT NULL, `session` int(11) NOT NULL COMMENT 'Need session =1 else 0', `dscrip` varchar(50) DEFAULT NULL, `service` varchar(50) NOT NULL, `tdbclass` varchar(25) NOT NULL, `sbclass` varchar(25) DEFAULT NULL, `stdb` int(11) NOT NULL, `priv` int(11) DEFAULT '0', `ajax` int(11) DEFAULT '0', `parafer` int(11) NOT NULL COMMENT 'demande un Parfeur', `app_sys` int(11) NOT NULL DEFAULT '0' COMMENT 'Application Système', `app_set` int(11) NOT NULL DEFAULT '0' COMMENT 'Application de parmétrage', PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=203 ; -- -- Contenu de la table `task` -- INSERT INTO `task` (`app`, `id`, `modul`, `file`, `rep`, `session`, `dscrip`, `service`, `tdbclass`, `sbclass`, `stdb`, `priv`, `ajax`, `parafer`, `app_sys`, `app_set`) VALUES ('login', 1, 'Connexion', 'login', 'login', 0, 'Connexion', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('forgot', 2, 'Connexion', 'forgot', 'login', 0, 'Mot de passe oublie', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('tdb', 3, 'Tableau de bord', 'tdb', 'tdb', 1, 'Tableau de bord', '0', '', NULL, 0, 0, 0, 0, 0, 0), ('logout', 4, 'Connexion', 'logout', 'login', 1, 'Déconnexion', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('recovery', 5, 'Connexion', 'recovery', 'login', 0, 'réinitialisation', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('user', 8, 'Utilisateurs', 'user', 'admin', 1, 'Utilisateurs', '-1-15-', 'icon-group', 'icon-group', 0, 0, 1, 0, 0, 1), ('adduser', 9, 'Utilisateurs', 'adduser', 'admin', 1, 'Ajouter Utilisateur', '-1-15-', '', NULL, 0, 0, 1, 0, 0, 0), ('editprofile', 11, 'Utilisateurs', 'editprofile', 'admin', 1, 'Mon Compte', '-1-15-', '', NULL, 0, 0, 1, 0, 0, 0), ('loadenselect', 21, NULL, 'loadenselect', 'ajax', 0, 'remplir select', '0', '', NULL, 0, 1, 1, 0, 1, 0), ('check', 43, NULL, 'check', 'ajax', 1, 'Check All', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('annotation', 49, NULL, 'annotation', 'ajax', 1, 'annotation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('shano', 56, NULL, 'shano', 'ajax', 1, 'Show Message Annotation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('shopdf', 57, NULL, 'shopdf', 'ajax', 1, 'PDF Viewer', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('loadautocomplet', 58, NULL, 'loadautocomplet', 'ajax', 0, 'remplir Autocomplet', '0', '', NULL, 0, 1, 1, 0, 1, 0), ('notifier', 59, NULL, 'notifier', 'ajax', 1, 'Sys Notification', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('rule', 64, 'Utilisateurs', 'rule', 'admin', 1, 'Permissions', '-1-15-', '', NULL, 0, 0, 1, 0, 0, 0), ('setup', 70, NULL, 'setup', 'ajax', 1, 'Setup Application', '0', '', NULL, 0, 1, 1, 0, 1, 0), ('edituser', 99, 'Utilisateur', 'edituser', 'admin', 1, 'Editer compte utilisateur', '0', '', NULL, 0, 0, 1, 0, 0, 0), ('sync', 130, NULL, 'sync', 'ajax', 1, 'Synchronisation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('lastactiv', 138, NULL, 'lastactiv', 'ajax', 1, 'Last Activity', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('onligne', 147, 'Utilisateur Connecter', 'onligne', 'onligne', 1, 'Utilisateur Connecter', '0', 'issue_sl', 'create_write', 0, 0, 1, 0, 0, 0), ('tooltip', 157, NULL, 'tooltip', 'ajax', 1, 'annotation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('article', 160, 'Gestion Budget', 'article', 'budget', 1, 'Articles', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addarticle', 161, 'Gestion Budget', 'addarticle', 'budget', 1, 'Ajouter Article', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('paragraphe', 162, 'Gestion Budget', 'paragraphe', 'budget', 1, 'Paragraphes', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addparagraphe', 163, 'Gestion Budget', 'addparagraphe', 'budget', 1, 'Ajout Paragraphe', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('depense', 164, 'Gestion Depenses', 'depense', 'depense', 1, 'Gestion Depenses', '-1-15-', 'customers_sl', 'icon-external-link ', 0, 0, 1, 0, 0, 1), ('adddepense', 165, 'Gestion Depenses', 'add_depense', 'depense', 1, 'Ajouter Depense', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addreform', 169, 'reform', 'addreform', 'reform', 1, 'Ajout Produit Reform', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('reform', 170, 'reform', 'reform', 'reform', 1, 'List Produit Reform', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('salarie', 172, 'salarie', 'salarie', 'salarie', 1, 'Gestion Salaire', '-1-15-', 'customers_sl', 'users', 1, 0, 1, 0, 0, 0), ('addsalarie', 173, 'salarie', 'addsalarie', 'salarie', 1, 'Ajouter Nouveau Salarie', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addquotpatronal', 174, 'quotpatronal', 'addquotpatronal', 'quotpatronal', 1, 'ajouter quote part patronal', '', 'issue_sl', 'v_card', 0, 0, 1, 0, 0, 0), ('quotpatronal', 175, 'quote part patronal', 'quotpatronal', 'quotpatronal', 1, 'quote part patronal', '', 'issue_sl', 'v_card', 0, 0, 1, 0, 0, 0), ('addavance', 176, 'salarie', 'addavance', 'salarie', 1, 'Ajouter Avance Salarie', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addcollecte', 178, 'collecte', 'addcollecte', 'collecte', 1, 'ajouter collecte', '', '', 'v_card', 0, 0, 1, 0, 0, 0), ('tresorieonape', 179, 'Tresorie ONAPE', 'tresorieonape', 'tresorieonape', 1, 'Tresorie ONAPE', '', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addtresorionape', 180, 'tresorieonape', 'addtresorionape', 'tresorieonape', 1, 'Ajouter Tresorie ONAPE', '', '', NULL, 0, 0, 1, 0, 0, 0), ('budget', 181, 'Gestion Budget', 'budget', 'budget', 1, 'Gestion Budget', '-1-15-', 'customers_sl', 'icon-exchange', 1, 0, 1, 0, 0, 0), ('editparagraphe', 182, 'Gestion Budget', 'editparagraphe', 'budget', 1, 'Editer Paragraphe', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('editarticle', 183, 'Gestion Budget', 'editarticle', 'budget', 1, 'Editer Article', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('profil', 184, 'salarie', 'profil', 'salarie', 1, 'Profil Salarie', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('salaire', 185, 'salaire', 'salaire', 'salaire', 1, 'List etat de Paiement', '-1-15-', 'icon-briefcase', 'icon-briefcase', 0, 0, 1, 0, 0, 1), ('addetat', 186, 'salaire', 'addetat', 'salaire', 1, 'Ajout Nouvelle etat de Paiement', '-1-15-', 'icon-briefcase', 'icon-briefcase', 0, 0, 1, 0, 0, 0), ('lstsalaire', 187, 'salaire', 'lstsalaire', 'salaire', 1, 'Liste Etat de Salaire', '-1-15-', 'icon-briefcase', 'icon-briefcase', 0, 0, 1, 0, 0, 0), ('addetat', 188, 'salaire', 'addetat', 'salaire', 1, 'Ajout Nouvelle etat de Paiement', '-1-15-', 'icon-briefcase', 'icon-briefcase', 0, 0, 1, 0, 0, 0), ('addsalaire', 189, 'salarie', 'addsalaire', 'salarie', 1, 'Ajouter Salaire Montiel', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('modalarticle', 190, 'Gestion Budget', 'addarticle_modal', 'budget', 1, 'Ajouter Article Modal', '-1-15-', '', '', 0, 0, 1, 0, 0, 0), ('amenagement', 191, 'Gestion Budget', 'amenagement', 'budget', 1, 'Amenagement Budget', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('gestionvilla', 192, 'Gestion Villa', 'gestionvilla', 'gestionvilla', 1, 'Gestion Villa', '', 'Default', 'Default', 0, 0, 1, 0, 0, 1), ('contralocatvila', 193, 'gestionvilla', 'contralocatvila', 'gestionvilla', 1, 'Contrat Location Villa', '', '', NULL, 0, 0, 1, 0, 0, 0), ('editcontravila', 194, 'gestionvilla', 'editcontravila', 'gestionvilla', 1, 'editer contrat location villa', '', '', NULL, 0, 0, 1, 0, 0, 0), ('paiementlocat', 195, 'gestionvilla', 'paiementlocat', 'gestionvilla', 1, 'paiement location villa', '', '', NULL, 0, 0, 1, 0, 0, 0), ('addcontrat', 196, 'gestionvilla', 'addcontrat', 'gestionvilla', 1, 'Ajouter contrat Location Villa', '', '', NULL, 0, 0, 0, 0, 0, 0), ('detailvilla', 197, 'gestionvilla', 'detailvilla', 'gestionvilla', 1, 'Details Villa', '', '', NULL, 0, 0, 1, 0, 0, 0), ('editvilla', 198, 'gestionvilla', 'editvilla', 'gestionvilla', 1, 'Editer Villa', '', '', NULL, 0, 0, 0, 0, 0, 0), ('detailcontrat', 199, 'gestionvilla', 'detailcontrat', 'gestionvilla', 1, 'Details Contrat', '', '', NULL, 0, 0, 0, 0, 0, 0), ('collectes', 200, 'gestionvilla', 'collectes', 'gestionvilla', 1, 'Afficher les collectes ', '', '', NULL, 0, 0, 0, 0, 0, 0), ('editcollecte', 201, 'gestionvilla', 'editcollecte', 'gestionvilla', 1, 'Editer Collecte', '', '', NULL, 0, 0, 0, 0, 0, 0), ('addvilla', 202, 'gestionvilla', 'addvilla', 'gestionvilla', 1, 'Ajouter une villa', '', '', NULL, 0, 0, 1, 0, 0, 0); -- -------------------------------------------------------- -- -- Structure de la table `task-old` -- CREATE TABLE IF NOT EXISTS `task-old` ( `app` varchar(15) NOT NULL, `id` int(11) NOT NULL AUTO_INCREMENT, `modul` varchar(40) DEFAULT NULL COMMENT 'Module', `file` varchar(30) NOT NULL, `rep` varchar(21) DEFAULT NULL, `session` int(11) NOT NULL COMMENT 'Need session =1 else 0', `dscrip` varchar(50) DEFAULT NULL, `service` varchar(50) NOT NULL, `tdbclass` varchar(25) NOT NULL, `sbclass` varchar(25) DEFAULT NULL, `stdb` int(11) NOT NULL, `priv` int(11) DEFAULT '0', `ajax` int(11) DEFAULT '0', `parafer` int(11) NOT NULL COMMENT 'demande un Parfeur', `app_sys` int(11) NOT NULL DEFAULT '0' COMMENT 'Application Système', `app_set` int(11) NOT NULL DEFAULT '0' COMMENT 'Application de parmétrage', PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=182 ; -- -- Contenu de la table `task-old` -- INSERT INTO `task-old` (`app`, `id`, `modul`, `file`, `rep`, `session`, `dscrip`, `service`, `tdbclass`, `sbclass`, `stdb`, `priv`, `ajax`, `parafer`, `app_sys`, `app_set`) VALUES ('login', 1, 'Connexion', 'login', 'login', 0, 'Connexion', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('forgot', 2, 'Connexion', 'forgot', 'login', 0, 'Mot de passe oublie', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('tdb', 3, 'Tableau de bord', 'tdb', 'tdb', 1, 'Tableau de bord', '0', '', NULL, 0, 0, 0, 0, 0, 0), ('logout', 4, 'Connexion', 'logout', 'login', 1, 'Déconnexion', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('recovery', 5, 'Connexion', 'recovery', 'login', 0, 'réinitialisation', '0', '', NULL, 0, 0, 0, 0, 1, 0), ('user', 8, 'Utilisateurs', 'user', 'admin', 1, 'Utilisateurs', '-1-15-', 'icon-group', 'icon-group', 0, 0, 1, 0, 0, 1), ('adduser', 9, 'Utilisateurs', 'adduser', 'admin', 1, 'Ajouter Utilisateur', '-1-15-', '', NULL, 0, 0, 1, 0, 0, 0), ('editprofile', 11, 'Utilisateurs', 'editprofile', 'admin', 1, 'Mon Compte', '-1-15-', '', NULL, 0, 0, 1, 0, 0, 0), ('loadenselect', 21, NULL, 'loadenselect', 'ajax', 0, 'remplir select', '0', '', NULL, 0, 1, 1, 0, 1, 0), ('check', 43, NULL, 'check', 'ajax', 1, 'Check All', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('annotation', 49, NULL, 'annotation', 'ajax', 1, 'annotation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('shano', 56, NULL, 'shano', 'ajax', 1, 'Show Message Annotation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('shopdf', 57, NULL, 'shopdf', 'ajax', 1, 'PDF Viewer', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('loadautocomplet', 58, NULL, 'loadautocomplet', 'ajax', 0, 'remplir Autocomplet', '0', '', NULL, 0, 1, 1, 0, 1, 0), ('notifier', 59, NULL, 'notifier', 'ajax', 1, 'Sys Notification', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('rule', 64, 'Utilisateurs', 'rule', 'admin', 1, 'Permissions', '-1-15-', '', NULL, 0, 0, 1, 0, 0, 0), ('setup', 70, NULL, 'setup', 'ajax', 1, 'Setup Application', '0', '', NULL, 0, 1, 1, 0, 1, 0), ('edituser', 99, 'Utilisateur', 'edituser', 'admin', 1, 'Editer compte utilisateur', '0', '', NULL, 0, 0, 1, 0, 0, 0), ('sync', 130, NULL, 'sync', 'ajax', 1, 'Synchronisation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('lastactiv', 138, NULL, 'lastactiv', 'ajax', 1, 'Last Activity', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('onligne', 147, 'Utilisateur Connecter', 'onligne', 'onligne', 1, 'Utilisateur Connecter', '0', 'issue_sl', 'create_write', 0, 0, 1, 0, 0, 0), ('tooltip', 157, NULL, 'tooltip', 'ajax', 1, 'annotation', '0', '', NULL, 0, 0, 1, 0, 1, 0), ('article', 160, 'Gestion Budget', 'article', 'budget', 1, 'Articles', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addarticle', 161, 'Gestion Budget', 'addarticle', 'budget', 1, 'Ajouter Article', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('paragraphe', 162, 'Gestion Budget', 'paragraphe', 'budget', 1, 'Paragraphes', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addparagraphe', 163, 'Gestion Budget', 'addparagraphe', 'budget', 1, 'Ajout Paragraphe', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('depense', 164, 'Gestion Depenses', 'depense', 'depense', 1, 'Gestion Depenses', '-1-15-', 'customers_sl', 'icon-external-link ', 0, 0, 1, 0, 0, 1), ('adddepense', 165, 'Gestion Depenses', 'add_depense', 'depense', 1, 'Ajouter Depense', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addlocation', 166, 'recette', 'addlocation', 'recette', 1, 'Ajout Location Villa', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 1), ('villa', 167, 'villa', 'villa', 'villa', 1, 'villa', '', 'issue_sl', 'v_card', 1, 0, 1, 1, 0, 0), ('addvilla', 168, 'villa', 'addvilla', 'villa', 1, 'Ajouter Villa', '', '', NULL, 0, 0, 0, 0, 0, 0), ('addreform', 169, 'reform', 'addreform', 'reform', 1, 'Ajout Produit Reform', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 1), ('reform', 170, 'reform', 'reform', 'reform', 1, 'List Produit Reform', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 1), ('locationvilla', 171, 'recette', 'locationvilla', 'recette', 1, 'List Location Villa', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 1), ('salarie', 172, 'salarie', 'salarie', 'salarie', 1, 'Gestion Salaire', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 1), ('addsalarie', 173, 'salarie', 'addsalarie', 'salarie', 1, 'Ajouter Nouveau Salarie', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('addquotpatronal', 174, 'quotpatronal', 'addquotpatronal', 'quotpatronal', 1, 'ajouter quote part patronal', '', 'issue_sl', 'v_card', 0, 0, 1, 0, 0, 0), ('quotpatronal', 175, 'quote part patronal', 'quotpatronal', 'quotpatronal', 1, 'quote part patronal', '', 'issue_sl', 'v_card', 0, 0, 1, 0, 0, 1), ('addavance', 176, 'salarie', 'addavance', 'salarie', 1, 'Ajouter Avance Salarie', '-1-15-', 'customers_sl', 'users', 0, 0, 1, 0, 0, 0), ('collecte', 177, 'collecte', 'collecte', 'collecte', 1, 'collecte', '', 'issue_sl', 'v_card', 0, 0, 1, 0, 0, 1), ('addcollecte', 178, 'collecte', 'addcollecte', 'collecte', 1, 'ajouter collecte', '', '', 'v_card', 0, 0, 1, 0, 0, 0), ('tresorieonape', 179, 'Tresorie ONAPE', 'tresorieonape', 'tresorieonape', 1, 'Tresorie ONAPE', '', 'customers_sl', 'users', 0, 0, 1, 0, 0, 1), ('addtresorionape', 180, 'tresorieonape', 'addtresorionape', 'tresorieonape', 1, 'Ajouter Tresorie ONAPE', '', '', NULL, 0, 0, 1, 0, 0, 0), ('budget', 181, 'Gestion Budget', 'budget', 'budget', 1, 'Budget', '-1-15-', 'customers_sl', 'icon-exchange', 1, 0, 1, 0, 0, 0); -- -------------------------------------------------------- -- -- Structure de la table `temprequet` -- CREATE TABLE IF NOT EXISTS `temprequet` ( `id` int(11) NOT NULL AUTO_INCREMENT, `req` text NOT NULL, `stat` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `token` -- CREATE TABLE IF NOT EXISTS `token` ( `id` int(11) NOT NULL AUTO_INCREMENT, `token` varchar(32) NOT NULL, `dattime` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `tresori_onape` -- CREATE TABLE IF NOT EXISTS `tresori_onape` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_compte` int(11) NOT NULL, `date_releve` date NOT NULL, `montant` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=47 ; -- -- Contenu de la table `tresori_onape` -- INSERT INTO `tresori_onape` (`id`, `id_compte`, `date_releve`, `montant`) VALUES (1, 1, '2014-12-09', 9800), (42, 2, '2014-09-17', 8000), (43, 1, '2014-12-11', 3), (44, 2, '2014-12-11', 55), (45, 1, '2010-12-11', 3), (46, 1, '2009-12-11', 3000); -- -------------------------------------------------------- -- -- Structure de la table `users_sys` -- CREATE TABLE IF NOT EXISTS `users_sys` ( `nom` text NOT NULL, `fnom` varchar(20) DEFAULT NULL, `lnom` varchar(20) DEFAULT NULL, `pass` text NOT NULL, `mail` text NOT NULL, `id` int(11) NOT NULL AUTO_INCREMENT, `servic` text NOT NULL, `active` int(11) NOT NULL, `tel` varchar(15) DEFAULT NULL, `sa` int(11) DEFAULT NULL, `signe` int(11) NOT NULL, `signature` text, `defapp` int(11) DEFAULT NULL, `agence` int(11) DEFAULT NULL, `ctc` int(11) NOT NULL DEFAULT '0' COMMENT 'Compteur tentative de connexion', `lastactive` datetime DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=149 ; -- -- Contenu de la table `users_sys` -- INSERT INTO `users_sys` (`nom`, `fnom`, `lnom`, `pass`, `mail`, `id`, `servic`, `active`, `tel`, `sa`, `signe`, `signature`, `defapp`, `agence`, `ctc`, `lastactive`) VALUES ('admin', 'Administrateur', 'Système', '091ab4cdee691dd1557587e3d6b46dc0', 'admin@onape.td', 1, '15', 1, '00212677126683', NULL, 1, 'signature_1.jpg', 3, 1, 2, '2014-10-10 20:16:02'), ('dg', 'Mahamat', 'Oumar', '091ab4cdee691dd1557587e3d6b46dc0', 'rachid@atelsolution.com', 45, '1', 1, '6544545454', NULL, 0, 'signature_45.png', 3, 1, 0, '2014-12-22 11:04:50'), ('SREOF', 'service', 'entreprise', '091ab4cdee691dd1557587e3d6b46dc0', 'sreof@onape.td', 97, '4', 1, '0000999888', NULL, 0, 'signature_97.png', 3, 1, 0, '2014-11-21 11:41:38'), ('DCREP', 'DREOF', 'DREOF', '091ab4cdee691dd1557587e3d6b46dc0', 'dcrep@onape.td', 98, '21', 1, '0000999888', NULL, 0, 'signature_98.png', 3, 1, 0, '2014-11-21 11:47:31'), ('directiong', 'direction', 'general', '091ab4cdee691dd1557587e3d6b46dc0', 'dg@onape.td', 99, '1', 1, '0000999888', NULL, 0, 'signature_99.png', 3, 1, 0, '2014-10-14 04:49:02'), ('dgi', 'directeur', 'immigration', '091ab4cdee691dd1557587e3d6b46dc0', 'dgi@onape.td', 100, '19', 1, '0000999888', NULL, 0, 'signature_100.png', 44, 1, 0, '2014-11-21 12:11:32'), ('dga', 'adjoint directeur', 'immigration', '091ab4cdee691dd1557587e3d6b46dc0', 'dga@onape.td', 101, '20', 1, '0000999888', NULL, 0, 'signature_101.jpg', 44, 1, 0, NULL), ('comptable', 'service', 'comptabilité', '091ab4cdee691dd1557587e3d6b46dc0', 'comptable@onape.td', 102, '11', 1, '0000999888', NULL, 0, 'signature_102.png', 3, 1, 0, '2014-11-17 12:28:02'), ('sdg', 'secrétariat', 'direction générale', '091ab4cdee691dd1557587e3d6b46dc0', 'sdg@onape.td', 103, '2', 1, '0000999888', NULL, 0, 'signature_103.PNG', 3, 1, 0, '2014-11-21 11:40:51'), ('sinfo', 'service', 'informatique', '091ab4cdee691dd1557587e3d6b46dc0', 'sinfo@onape.td', 104, '15', 1, '0000999888', NULL, 0, 'signature_104.png', 3, 1, 0, NULL), ('dd', 'dd', 'dd', '338d811d532553557ca33be45b6bde55', 'rachid@dctchad.com', 105, '1', 1, '55555545', NULL, 0, 'signature_105.gif', 3, 1, 0, NULL), ('contrat', 'contrat', 'contrat', '091ab4cdee691dd1557587e3d6b46dc0', '55555@mail.coopz', 106, '3', 1, '6666666666', NULL, 0, 'signature_106.PNG', 3, 1, 0, '2014-11-11 18:54:23'), ('doie', 'chef division', 'DOIE', '091ab4cdee691dd1557587e3d6b46dc0', 'doie@onape.td', 107, '22', 1, '666666666', NULL, 0, 'signature_107.PNG', 3, 1, 0, '2014-12-15 11:06:16'), ('scoip', 'SCOIP', 'SCOIP', '091ab4cdee691dd1557587e3d6b46dc0', 'ascoip1@onape.td', 108, '27', 1, '66666666', NULL, 0, 'signature_108.jpg', 3, 1, 0, '2014-11-11 22:57:43'), ('c.buro', 'Chef Bureau', 'Annexe', '091ab4cdee691dd1557587e3d6b46dc0', 'c.buro@onape.td', 109, '29', 1, '666666666', NULL, 0, 'signature_109.PNG', 3, 2, 0, '2014-11-12 00:02:33'), ('dae', 'DAE', 'DAE', '091ab4cdee691dd1557587e3d6b46dc0', 'dae@onape.td', 110, '10', 1, '66666666', NULL, 0, 'signature_110.png', 3, 4, 0, '2014-12-02 16:39:00'), ('0', NULL, NULL, '', '0', 111, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 112, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 113, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 114, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 115, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 116, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 117, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 118, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 119, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 120, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 121, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 122, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 123, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 124, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 125, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 126, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 127, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 128, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 129, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 130, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 131, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 132, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 133, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 134, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 135, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 136, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 137, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 138, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 139, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 140, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 141, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 142, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 143, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 144, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 145, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 146, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 147, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL), ('0', NULL, NULL, '', '0', 148, '', 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL); -- -------------------------------------------------------- -- -- Structure de la table `villa` -- CREATE TABLE IF NOT EXISTS `villa` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nom` varchar(55) NOT NULL, `adresse` varchar(255) NOT NULL, `prix_mensuel_alocation` int(11) NOT NULL, `addby` int(11) NOT NULL, `contrat` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Contenu de la table `villa` -- INSERT INTO `villa` (`id`, `nom`, `adresse`, `prix_mensuel_alocation`, `addby`, `contrat`) VALUES (1, 'Novotel ', 'BP 1200 | On The Bank Of The Chari River, N''Djamena, Tchad', 60000, 45, 1), (8, 'villa maarif', 'tchad', 5000, 45, 0), (9, 'Villa Mourssal', 'Quartier Mourssal N''djamena', 1000000, 0, 1); -- -------------------------------------------------------- -- -- Structure de la table `ville` -- CREATE TABLE IF NOT EXISTS `ville` ( `id` int(11) NOT NULL AUTO_INCREMENT, `villefr` text NOT NULL, `ville` varchar(20) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=44 ; -- -- Contenu de la table `ville` -- INSERT INTO `ville` (`id`, `villefr`, `ville`) VALUES (1, 'Batha', 'Batha'), (2, 'Ati', 'Ati'), (3, 'Chari-Baguirmi', 'Chari-Baguirmi'), (4, 'Massenya', 'Massenya'), (5, 'Hadjer-Lamis', 'Hadjer-Lamis'), (6, 'Massakory', 'Massakory'), (7, 'Wadi-Fira', 'Wadi-Fira'), (8, 'Beltine', 'Beltine'), (9, 'Bahr El Gazal', 'Bahr El Gazal'), (10, 'Moussoro', 'Moussoro'), (11, 'Borko', 'Borko'), (12, 'Faya-Largeau', 'Faya-Largeau'), (13, 'Ennedi', 'Ennedi'), (14, 'Fada', 'Fada'), (15, 'Guéra', 'Guéra'), (16, 'Mongo', 'Mongo'), (17, 'Kanem', 'Kanem'), (18, 'Mao', 'Mao'), (19, 'Lac Tchad', 'Lac Tchad'), (20, 'Bol', 'Bol'), (21, 'Logone Occidental', 'Logone Occidental'), (22, 'Moundou', 'Moundou'), (23, 'Logone Oriental', 'Logone Oriental'), (24, 'Doba', 'Doba'), (25, 'Mandoul', 'Mandoul'), (26, 'Koumra', 'Koumra'), (27, 'Mayo-Kebbi Est', 'Mayo-Kebbi Est'), (28, 'Bongor', 'Bongor'), (29, 'Mayo-Kebbi Ouest', 'Mayo-Kebbi Ouest'), (30, 'Pala', 'Pala'), (31, 'Moyen-Chari', 'Moyen-Chari'), (32, 'Sarh', 'Sarh'), (33, 'Ouaddaï', 'Ouaddaï'), (34, 'Abéché', 'Abéché'), (35, 'Salamat', 'Salamat'), (36, 'Am-Timan', 'Am-Timan'), (37, 'Sila', 'Sila'), (38, 'Goz Beïda', 'Goz Beïda'), (39, 'Tandjilé', 'Tandjilé'), (40, 'Laï', 'Laï'), (41, 'Tibesti', 'Tibesti'), (42, 'Bardaï', 'Bardaï'), (43, 'N''djamena', 'N''djamena'); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- org_person_student_retention with year_id and year_name added CREATE OR REPLACE ALGORITHM = MERGE DEFINER = `synapsemaster`@`%` SQL SECURITY INVOKER VIEW `org_person_student_retention_view` AS SELECT opsr.organization_id, opsr.person_id, oay.year_id AS year_id, oay.name AS year_name, opsr.is_enrolled_beginning_year, opsr.is_enrolled_midyear, opsr.is_degree_completed FROM org_person_student_retention opsr INNER JOIN org_academic_year oay ON opsr.org_academic_year_id = oay.id WHERE opsr.deleted_at IS NULL AND oay.deleted_at IS NULL;
INSERT INTO PRODUKT (id, sags_type, prod_besk, prod_nummer, risiko_flag, faciltet_type, prod_opret) VALUES ('8b1dfad3-d833-47ca-a496-574db96739b5', 'REMORTGAGE', 'description1', 50000, NULL, 'PANT_I_LAANESAGSKTO', TRUE); INSERT INTO PRODUKT (id, sags_type, prod_besk, risiko_flag, prod_nummer, faciltet_type, prod_opret) VALUES ('19875d32-555d-40ee-b7db-26a9b61534ba', 'REMORTGAGE', 'description2', 50000, NULL, 'TABSGARANTI', TRUE); INSERT INTO PRODUKT (id, sags_type, prod_besk, risiko_flag, prod_nummer, faciltet_type, prod_opret) VALUES ('2e4071b8-a856-4b2b-98ae-f2f4efc89d0f', 'REMORTGAGE', 'description3', 50000, NULL, 'MODREGNINGSRET_I', TRUE); INSERT INTO PRODUKT (id, sags_type, prod_besk, risiko_flag, prod_nummer, faciltet_type, prod_opret) VALUES ('406cd241-5800-43a7-bb38-0cf76a76adf1', 'REMORTGAGE', 'description4', 50000, NULL, 'INDTRAEDELSESRET', TRUE); INSERT INTO PRODUKT (id, sags_type, prod_besk, risiko_flag, prod_nummer, faciltet_type, prod_opret) VALUES ('6380272d-0207-4b7e-8cad-2cba3d395a59', 'REMORTGAGE', 'description5', 50000, NULL, 'LAANESAGSKONTO', TRUE); INSERT INTO PRODUKT (id, sags_type, prod_besk, risiko_flag, prod_nummer, faciltet_type, prod_opret) VALUES ('6380272d-0207-4b7e-8cad-2cba3d395a79', 'OTHER', 'description5', 50000, NULL, 'LAANESAGSKONTO', TRUE);
■問題 以下は書籍情報テーブル(books)からtitle列、publish列を取り出す為のSQL命令ですが、2点誤りがあります。誤りを指摘してください。 SELECTS title publish FROM books ; ■実行文 誤り1:「SELECTS」は誤り、「SELECT」が正しい。 誤り2:「title」と「publish」の間に「,」が必要。 # title列、publish列を取り出す SELECT title, publish # 書籍情報テーブルから取得 FROM books ; ■返却値 mysql> SELECT -> title, -> publish -> FROM -> books -> ; +------------------+--------------+ | title | publish | +------------------+--------------+ | ハムスターの観察 | 山田出版 | | PHPドリル | 山田出版 | | フェレットの観察 | 山田出版 | | らくだの観察日記 | 山田出版 | | あひるの観察日記 | 山田出版 | | かえるの観察日記 | 山田出版 | | SQL入門 | 山田出版 | | JSPリファレンス | 秀和システム | | PHP5サンプル集 | 秀和システム | | XML辞典 | 翔泳社 | | PEAR入門 | 翔泳社 | | SQLリファレンス | 日経BP | | SQLプチブック | 日経BP | | XMLリファレンス | 日経BP | +------------------+--------------+ 14 rows in set (0.00 sec)
create table addrob( actstatus Int8 comment '0 - Статус последней исторической записи в жизненном цикле адресного объекта: 0 – Не последняя, 1 - Последняя', -- : 1 aoguid UUID comment '1 - Глобальный уникальный идентификатор адресного объекта', -- : '1ac46b49-3209-4814-b7bf-a509ea1aecd9' aoid UUID comment '2 - Уникальный идентификатор записи. Ключевое поле.', -- : '1a8430ad-dcc9-43d9-81ea-948b90a25d8b' aolevel Int8 comment '3 - Уровень адресного объекта', -- : 1 areacode FixedString(3) comment '4 - Код района', -- : '000' autocode FixedString(1) comment '5 - Код автономии', -- : '0' centstatus Int8 comment '6 - Статус центра', -- : 0 citycode FixedString(3) comment '7 - Код города', -- : '000' code String comment '8 - Код адресного элемента одной строкой с признаком актуальности из классификационного кода', -- : '5400000000000' currstatus Int8 comment '9 - Статус актуальности КЛАДР 4 (последние две цифры в коде)', -- : 0 enddate Date comment '10 - Окончание действия записи', -- : datetime.date(2079, 6, 6) formalname String comment '11 - Формализованное наименование', -- : 'Новосибирская' ifnsfl FixedString(4) comment '12 - Код ИФНС ФЛ', -- : '5400' ifnsul FixedString(4) comment '13 - Код ИФНС ЮЛ', -- : '5400' nextid UUID comment '14 - Идентификатор записи связывания с последующей исторической записью', -- : ' ' offname String comment '15 - Официальное наименование', -- : 'Новосибирская' okato String comment '16 - ОКАТО', -- : '50000000000' oktmo String comment '17 - ОКТМО', -- : ' ' operstatus Int8 comment '18 - Статус действия над записью – причина появления записи (см. OperationStatuses )', -- : 1 parentguid UUID comment '19 - Идентификатор родительского объекта', -- : ' ' placecode FixedString(3) comment '20 - Код населенного пункта', -- : '000' plaincode String comment '21 - Код адресного элемента одной строкой без признака актуальности (последних двух цифр)', -- : '54000000000' postalcode String comment '22 - Почтовый индекс', -- : ' ' previd UUID comment '23 - Идентификатор записи связывания с предыдушей исторической записью', -- : ' ' regioncode FixedString(2) comment '24 - Код региона', -- : '54' shortname String comment '25 - Краткое наименование типа объекта', -- : 'обл ' startdate Date comment '26 - Начало действия записи', -- : datetime.date(1900, 1, 1) streetcode FixedString(4) comment '27 - Код улицы', -- : '0000' terrifnsfl String comment '28 - Код территориального участка ИФНС ФЛ', -- : ' ' terrifnsul String comment '29 - Код территориального участка ИФНС ЮЛ', -- : ' ' updatedate Date comment '30 - Дата внесения (обновления) записи', -- : datetime.date(2015, 9, 15) ctarcode FixedString(3) comment '31 - Код внутригородского района', -- : '000' extrcode FixedString(4) comment '32 - Код дополнительного адресообразующего элемента', -- : '0000' sextcode FixedString(3) comment '33 - Код подчиненного дополнительного адресообразующего элемента', -- : '000' livestatus Int8 comment '34 - Статус актуальности адресного объекта ФИАС на текущую дату: 0 – Не актуальный, 1 - Актуальный', -- : 1 normdoc UUID comment '35 - Внешний ключ на нормативный документ', -- : ' ' plancode FixedString(4) comment '36 - Код элемента планировочной структуры', -- : '0000' cadnum String comment '37 - Кадастровый номер', -- : ' ' divtype Int8 comment '38 - Тип деления: 0 – не определено, 1 – муниципальное, 2 – административное', -- : 0 name String comment 'Наименование UPPER' -- : 'НОВОСИБИРСКАЯ' ) ENGINE = MergeTree() order by (aoguid); create table house( aoguid UUID comment '0 - Guid записи родительского объекта (улицы, города, населенного пункта и т.п.)', -- : 'b12be701-c8a2-4493-8469-046721dd7aa9' buildnum String comment '1 - Номер корпуса', -- : ' ' enddate Date comment '2 - Окончание действия записи', -- : datetime.date(2079, 6, 6) eststatus Int8 comment '3 - Признак владения', -- : 3 houseguid UUID comment '4 - Глобальный уникальный идентификатор дома', -- : '22bcb5be-abba-4529-8c36-4970b8e39428' houseid UUID comment '5 - Уникальный идентификатор записи дома', -- : 'dc87e43c-c3f3-4c8b-889a-0000a5470fb7' housenum String comment '6 - Номер дома', -- : '42 ' statstatus Int8 comment '7 - Состояние дома', -- : 0 ifnsfl FixedString(4) comment '8 - Код ИФНС ФЛ', -- : '0105' ifnsul FixedString(4) comment '9 - Код ИФНС ЮЛ', -- : '0105' okato String comment '10 - ОКАТО', -- : '79222000017' oktmo String comment '11 - ОКTMO', -- : '79622457101' postalcode String comment '12 - Почтовый индекс', -- : '385751' startdate Date comment '13 - Начало действия записи', -- : datetime.date(2017, 3, 23) strucnum String comment '14 - Номер строения', -- : ' ' strstatus Int8 comment '15 - Признак строения', -- : 0 terrifnsfl String comment '16 - Код территориального участка ИФНС ФЛ', -- : '0104' terrifnsul String comment '17 - Код территориального участка ИФНС ЮЛ', -- : '0104' updatedate Date comment '18 - Дата время внесения (обновления) записи', -- : datetime.date(2017, 4, 4) normdoc UUID comment '19 - Внешний ключ на нормативный документ', -- : 'd73fe747-cd9d-4800-8fd3-46a39841b503' counter Int8 comment '20 - Счетчик записей зданий, сооружений для формирования классификационного кода', -- : 26 cadnum String comment '21 - Кадастровый номер', -- : ' ' divtype Int8 comment '22 - Тип деления: 0 – не определено, 1 – муниципальное, 2 – административное', -- : 0 house String comment 'Номер дома UPPER' -- : '42 ' ) ENGINE = MergeTree() order by (houseguid); create table room( roomid UUID comment '0 - Уникальный идентификатор записи помещения', -- : '27820501-5978-494e-929d-3df0f572f522' roomguid UUID comment '1 - Глобальный уникальный идентификатор помещения', -- : '27820501-5978-494e-929d-3df0f572f522' houseguid UUID comment '2 - Глобальный уникальный идентификатор родительского объекта (дома)', -- : '1664a030-1b73-4e38-ac17-ed4a32a009e1' regioncode FixedString(2) comment '3 - Код региона', -- : '54' flatnumber String comment '4 - Номер квартиры, офиса и прочего', -- : '2 ' flattype Int8 comment '5 - Тип квартиры', -- : 2 roomnumber String comment '6 - Номер комнаты или помещения', -- : ' ' roomtype String comment '7 - Тип комнаты', -- : '0 ' cadnum String comment '8 - Кадастровый номер', -- : ' ' roomcadnum String comment '9 - ???', -- : ' ' postalcode String comment '10 - Почтовый индекс', -- : '630532' updatedate Date comment '11 - Дата время внесения (обновления) записи', -- : datetime.date(2017, 1, 10) previd UUID comment '12 - Идентификатор записи связывания с предыдущей исторической записью', -- : ' ' nextid UUID comment '13 - Идентификатор записи связывания с последующей исторической записью', -- : ' ' operstatus Int8 comment '14 - Статус действия над записью – причина появления записи (см. OperationStatuses )', -- : 10 startdate Date comment '15 - Начало действия записи', -- : datetime.date(1900, 1, 1) enddate Date comment '16 - Окончание действия записи', -- : datetime.date(2079, 6, 6) livestatus Int8 comment '17 - Статус актуальности адресного объекта ФИАС на текущую дату: 0 – Не актуальный, 1 - Актуальный', -- : 1 normdoc UUID comment '18 - Внешний ключ на нормативный документ', flat String comment 'Номер квартиры UPPER' ) ENGINE = MergeTree() order by (roomguid);
--liquibase formatted sql --changeset huangzd:20201119-0 --comment '表project_info没有数据的时候插入测试数据' --preconditions onFail:MARK_RAN onError:HALT validCheckSum:ANY --precondition-sql-check expectedResult:0 select count(1) from project_info insert into project_info (project_id,project_name) values("1","admin");
CREATE TABLE ACCOUNT ( ID BIGINT IDENTITY PRIMARY KEY, NAME VARCHAR(255), BALANCE NUMERIC(19, 2) ); ALTER TABLE ACCOUNT ALTER COLUMN BALANCE SET DEFAULT 0.0;
-- Usando o EXISTS na tabela books_lent e books , exiba o id e título dos -- livros que ainda não foram emprestados. SELECT Id, Title FROM hotel.Books AS b WHERE NOT EXISTS( SELECT * FROM hotel.Books_Lent WHERE b.Id = book_id ); -- 1 3 5 // 6 7 SELECT Id AS ID, Title AS Tituto FROM hotel.Books AS B WHERE EXISTS ( SELECT * FROM hotel.Books_Lent WHERE book_id = B.Id AND returned = 0 ); -- Usando o EXISTS na tabela books_lent e books , exiba o id e título dos -- livros estão atualmente emprestados e que contêm a palavra "lost" no título. SELECT * FROM hotel.Books_Lent; SELECT * FROM hotel.Books; SELECT Id, Title AS Tituto FROM hotel.Books AS B WHERE EXISTS ( SELECT * FROM hotel.Books_Lent WHERE book_id = B.Id AND returned = 0 ) AND Title LIKE '%lost%'; SELECT Id, Title FROM hotel.Books b WHERE EXISTS( SELECT * FROM hotel.Books_Lent WHERE b.Id = book_id AND b.Title like '%lost%' ); -- Usando a tabela carsales e customers , exiba apenas o nome dos clientes -- que ainda não compraram um carro. SELECT Name FROM hotel.Customers AS C WHERE EXISTS( SELECT * FROM hotel.CarSales WHERE CustomerID = C.CustomerId); -- Usando o comando EXISTS em conjunto com JOIN e as tabelas cars , customers -- e carsales , exiba o nome do cliente e o modelo do carro de todos os -- clientes que fizeram compras de carros. SELECT * FROM hotel.Car; SELECT * FROM hotel.CarSales; SELECT * FROM hotel.Customers; SELECT CUS.name, CAR.name FROM hotel.Cars CAR INNER JOIN hotel.Customers CUS WHERE EXISTS( SELECT * FROM hotel.CarSales WHERE CustomerID = CUS.CustomerId AND carID = CAR.ID);
create index IX_642B95D1 on syllabus_manager_Course (courseTypeId); create unique index IX_73BB44EE on syllabus_manager_Course (subjectId, courseTypeId); create unique index IX_BD604FE0 on syllabus_manager_CourseType (typeName[$COLUMN_LENGTH:10000$]); create unique index IX_E4600909 on syllabus_manager_Curriculum (curriculumCode[$COLUMN_LENGTH:10000$]); create unique index IX_1BC84D19 on syllabus_manager_Lecturer (lecturerName[$COLUMN_LENGTH:10000$]); create index IX_778D417F on syllabus_manager_Lecturers_TimetableCourses (companyId); create index IX_85E3EF2C on syllabus_manager_Lecturers_TimetableCourses (lecturerId); create index IX_B79891E on syllabus_manager_Lecturers_TimetableCourses (timetableCourseId); create unique index IX_939C5EDD on syllabus_manager_Semester (beginYear, endYear, division); create unique index IX_BF019899 on syllabus_manager_Subject (curriculumId, subjectCode[$COLUMN_LENGTH:10000$]); create index IX_8A395C70 on syllabus_manager_Syllabus (timetableCourseId); create index IX_D76E5F2B on syllabus_manager_Syllabus (uuid_[$COLUMN_LENGTH:75$], companyId); create unique index IX_18CAB46D on syllabus_manager_Syllabus (uuid_[$COLUMN_LENGTH:75$], groupId); create unique index IX_D8B8A584 on syllabus_manager_TimetableCourse (courseId, semesterId, timetableCourseCode[$COLUMN_LENGTH:10000$], subjectType[$COLUMN_LENGTH:10000$]); create index IX_C16E847D on syllabus_manager_TimetableCourse (semesterId);
/* SQLyog Community v12.15 (64 bit) MySQL - 5.6.14 : Database - training ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`training` /*!40100 DEFAULT CHARACTER SET latin1 */; USE `training`; /*Table structure for table `tbl_cadangan_devisa` */ DROP TABLE IF EXISTS `tbl_cadangan_devisa`; CREATE TABLE `tbl_cadangan_devisa` ( `tahun` bigint(20) DEFAULT NULL, `bulan` varchar(255) DEFAULT NULL, `keterangan` varchar(255) DEFAULT NULL, `nilai_cadangan_devisa` double DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_cadangan_devisa` */ insert into `tbl_cadangan_devisa`(`tahun`,`bulan`,`keterangan`,`nilai_cadangan_devisa`) values (2000,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',20386), (2000,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6008.8), (2000,'Juni','Reserve Position in the Fund (RPF)',194.4), (2000,'Juni','Special Drawing Rights (SDRs)',136.3), (2000,'Juni','Emas Moneter',805), (2000,'Juni','Tagihan lainnya',0), (2000,'Juni','Jumlah',27530.5), (2000,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',20396.8), (2000,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5903.8), (2000,'Juli','Reserve Position in the Fund (RPF)',191.5), (2000,'Juli','Special Drawing Rights (SDRs)',141.1), (2000,'Juli','Emas Moneter',771.1), (2000,'Juli','Tagihan lainnya',0), (2000,'Juli','Jumlah',27404.3), (2000,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',20782.2), (2000,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5719.4), (2000,'Agustus','Reserve Position in the Fund (RPF)',189.4), (2000,'Agustus','Special Drawing Rights (SDRs)',1.4), (2000,'Agustus','Emas Moneter',758.7), (2000,'Agustus','Tagihan lainnya',0), (2000,'Agustus','Jumlah',27451.1), (2000,'September','Cadangan dalam Valuta Asing - Surat Berharga',21290.2), (2000,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5663.8), (2000,'September','Reserve Position in the Fund (RPF)',189.1), (2000,'September','Special Drawing Rights (SDRs)',183), (2000,'September','Emas Moneter',768), (2000,'September','Tagihan lainnya',0), (2000,'September','Jumlah',28094.1), (2000,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',21785.2), (2000,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5848.5), (2000,'Oktober','Reserve Position in the Fund (RPF)',187), (2000,'Oktober','Special Drawing Rights (SDRs)',180.9), (2000,'Oktober','Emas Moneter',734.1), (2000,'Oktober','Tagihan lainnya',0), (2000,'Oktober','Jumlah',28735.7), (2000,'November','Cadangan dalam Valuta Asing - Surat Berharga',22292.6), (2000,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5766.6), (2000,'November','Reserve Position in the Fund (RPF)',186.5), (2000,'November','Special Drawing Rights (SDRs)',31.4), (2000,'November','Emas Moneter',746.4), (2000,'November','Tagihan lainnya',0), (2000,'November','Jumlah',29023.5), (2000,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',22522.5), (2000,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5888), (2000,'Desember','Reserve Position in the Fund (RPF)',189.5), (2000,'Desember','Special Drawing Rights (SDRs)',31.9), (2000,'Desember','Emas Moneter',761.8), (2000,'Desember','Tagihan lainnya',0), (2000,'Desember','Jumlah',29393.7), (2001,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',22389), (2001,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5914.2), (2001,'Januari','Reserve Position in the Fund (RPF)',187.9), (2001,'Januari','Special Drawing Rights (SDRs)',31.6), (2001,'Januari','Emas Moneter',734.1), (2001,'Januari','Tagihan lainnya',0), (2001,'Januari','Jumlah',29256.8), (2001,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',22124), (2001,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6029.7), (2001,'Februari','Reserve Position in the Fund (RPF)',187.6), (2001,'Februari','Special Drawing Rights (SDRs)',6.5), (2001,'Februari','Emas Moneter',743.3), (2001,'Februari','Tagihan lainnya',0), (2001,'Februari','Jumlah',29091.1), (2001,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',21840.4), (2001,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5919.9), (2001,'Maret','Reserve Position in the Fund (RPF)',184.3), (2001,'Maret','Special Drawing Rights (SDRs)',6.4), (2001,'Maret','Emas Moneter',721.7), (2001,'Maret','Tagihan lainnya',0), (2001,'Maret','Jumlah',28672.7), (2001,'April','Cadangan dalam Valuta Asing - Surat Berharga',21677.5), (2001,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5979.8), (2001,'April','Reserve Position in the Fund (RPF)',185.1), (2001,'April','Special Drawing Rights (SDRs)',136.9), (2001,'April','Emas Moneter',734.1), (2001,'April','Tagihan lainnya',0), (2001,'April','Jumlah',28713.4), (2001,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',21641), (2001,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6006.1), (2001,'Mei','Reserve Position in the Fund (RPF)',182.7), (2001,'Mei','Special Drawing Rights (SDRs)',11.5), (2001,'Mei','Emas Moneter',752.6), (2001,'Mei','Tagihan lainnya',0), (2001,'Mei','Jumlah',28593.9), (2001,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',21604.9), (2001,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6091), (2001,'Juni','Reserve Position in the Fund (RPF)',181.5), (2001,'Juni','Special Drawing Rights (SDRs)',11.4), (2001,'Juni','Emas Moneter',749.5), (2001,'Juni','Tagihan lainnya',0), (2001,'Juni','Jumlah',28638.3), (2001,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',21885.4), (2001,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6118), (2001,'Juli','Reserve Position in the Fund (RPF)',182.9), (2001,'Juli','Special Drawing Rights (SDRs)',11.5), (2001,'Juli','Emas Moneter',740.2), (2001,'Juli','Tagihan lainnya',0), (2001,'Juli','Jumlah',28938), (2001,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',21355.9), (2001,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6152.8), (2001,'Agustus','Reserve Position in the Fund (RPF)',186.6), (2001,'Agustus','Special Drawing Rights (SDRs)',104.1), (2001,'Agustus','Emas Moneter',755.6), (2001,'Agustus','Tagihan lainnya',0), (2001,'Agustus','Jumlah',28555), (2001,'September','Cadangan dalam Valuta Asing - Surat Berharga',21688.8), (2001,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6272.1), (2001,'September','Reserve Position in the Fund (RPF)',187.7), (2001,'September','Special Drawing Rights (SDRs)',3.5), (2001,'September','Emas Moneter',805), (2001,'September','Tagihan lainnya',0), (2001,'September','Jumlah',28957.1), (2001,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',21002.5), (2001,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6521.9), (2001,'Oktober','Reserve Position in the Fund (RPF)',186), (2001,'Oktober','Special Drawing Rights (SDRs)',108.3), (2001,'Oktober','Emas Moneter',777.2), (2001,'Oktober','Tagihan lainnya',0), (2001,'Oktober','Jumlah',28595.9), (2001,'November','Cadangan dalam Valuta Asing - Surat Berharga',20501), (2001,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6557.2), (2001,'November','Reserve Position in the Fund (RPF)',184.3), (2001,'November','Special Drawing Rights (SDRs)',17.8), (2001,'November','Emas Moneter',761.8), (2001,'November','Tagihan lainnya',0), (2001,'November','Jumlah',28022.1), (2001,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',20497.1), (2001,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6550.3), (2001,'Desember','Reserve Position in the Fund (RPF)',182.7), (2001,'Desember','Special Drawing Rights (SDRs)',17.7), (2001,'Desember','Emas Moneter',768), (2001,'Desember','Tagihan lainnya',0), (2001,'Desember','Jumlah',28015.8), (2002,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',20363.7), (2002,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6428.9), (2002,'Januari','Reserve Position in the Fund (RPF)',181), (2002,'Januari','Special Drawing Rights (SDRs)',17.5), (2002,'Januari','Emas Moneter',780.3), (2002,'Januari','Tagihan lainnya',0), (2002,'Januari','Jumlah',27771.4), (2002,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',20432.2), (2002,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6471.9), (2002,'Februari','Reserve Position in the Fund (RPF)',180.5), (2002,'Februari','Special Drawing Rights (SDRs)',25.8), (2002,'Februari','Emas Moneter',826.6), (2002,'Februari','Tagihan lainnya',0), (2002,'Februari','Jumlah',27937), (2002,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',20421.1), (2002,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6545.1), (2002,'Maret','Reserve Position in the Fund (RPF)',181.6), (2002,'Maret','Special Drawing Rights (SDRs)',26), (2002,'Maret','Emas Moneter',829.7), (2002,'Maret','Tagihan lainnya',0), (2002,'Maret','Jumlah',28003.5), (2002,'April','Cadangan dalam Valuta Asing - Surat Berharga',20624.4), (2002,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6455.1), (2002,'April','Reserve Position in the Fund (RPF)',184.8), (2002,'April','Special Drawing Rights (SDRs)',26.4), (2002,'April','Emas Moneter',860.5), (2002,'April','Tagihan lainnya',0), (2002,'April','Jumlah',28151.2), (2002,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',21161.3), (2002,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6431.2), (2002,'Mei','Reserve Position in the Fund (RPF)',187.6), (2002,'Mei','Special Drawing Rights (SDRs)',72.2), (2002,'Mei','Emas Moneter',903.7), (2002,'Mei','Tagihan lainnya',0), (2002,'Mei','Jumlah',28756), (2002,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',21735.8), (2002,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6391.6), (2002,'Juni','Reserve Position in the Fund (RPF)',192.1), (2002,'Juni','Special Drawing Rights (SDRs)',74), (2002,'Juni','Emas Moneter',885.2), (2002,'Juni','Tagihan lainnya',0), (2002,'Juni','Jumlah',29278.7), (2002,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',22482.4), (2002,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6646.5), (2002,'Juli','Reserve Position in the Fund (RPF)',192.8), (2002,'Juli','Special Drawing Rights (SDRs)',153.8), (2002,'Juli','Emas Moneter',848.2), (2002,'Juli','Tagihan lainnya',0), (2002,'Juli','Jumlah',30323.7), (2002,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',22766.6), (2002,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6176.2), (2002,'Agustus','Reserve Position in the Fund (RPF)',193), (2002,'Agustus','Special Drawing Rights (SDRs)',153.9), (2002,'Agustus','Emas Moneter',866.7), (2002,'Agustus','Tagihan lainnya',0), (2002,'Agustus','Jumlah',30156.4), (2002,'September','Cadangan dalam Valuta Asing - Surat Berharga',22583.6), (2002,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6224.2), (2002,'September','Reserve Position in the Fund (RPF)',191.8), (2002,'September','Special Drawing Rights (SDRs)',152.9), (2002,'September','Emas Moneter',888.3), (2002,'September','Tagihan lainnya',0), (2002,'September','Jumlah',30040.8), (2002,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',22548.9), (2002,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6192.8), (2002,'Oktober','Reserve Position in the Fund (RPF)',192), (2002,'Oktober','Special Drawing Rights (SDRs)',84.2), (2002,'Oktober','Emas Moneter',879), (2002,'Oktober','Tagihan lainnya',0), (2002,'Oktober','Jumlah',29896.9), (2002,'November','Cadangan dalam Valuta Asing - Surat Berharga',22873.8), (2002,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5930.6), (2002,'November','Reserve Position in the Fund (RPF)',192.7), (2002,'November','Special Drawing Rights (SDRs)',17.8), (2002,'November','Emas Moneter',979.6), (2002,'November','Tagihan lainnya',0), (2002,'November','Jumlah',29994.5), (2002,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',24455.2), (2002,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6299.2), (2002,'Desember','Reserve Position in the Fund (RPF)',197.1), (2002,'Desember','Special Drawing Rights (SDRs)',16.4), (2002,'Desember','Emas Moneter',1071), (2002,'Desember','Tagihan lainnya',0), (2002,'Desember','Jumlah',32038.8), (2003,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',24502.6), (2003,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6327), (2003,'Januari','Reserve Position in the Fund (RPF)',199.7), (2003,'Januari','Special Drawing Rights (SDRs)',18.8), (2003,'Januari','Emas Moneter',1133.8), (2003,'Januari','Tagihan lainnya',0), (2003,'Januari','Jumlah',32181.9), (2003,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',24770.5), (2003,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6155.9), (2003,'Februari','Reserve Position in the Fund (RPF)',199.8), (2003,'Februari','Special Drawing Rights (SDRs)',8.2), (2003,'Februari','Emas Moneter',1083.5), (2003,'Februari','Tagihan lainnya',0), (2003,'Februari','Jumlah',32217.8), (2003,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',24703.3), (2003,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6647.4), (2003,'Maret','Reserve Position in the Fund (RPF)',198.3), (2003,'Maret','Special Drawing Rights (SDRs)',8.1), (2003,'Maret','Emas Moneter',1021), (2003,'Maret','Tagihan lainnya',0), (2003,'Maret','Jumlah',32578.2), (2003,'April','Cadangan dalam Valuta Asing - Surat Berharga',25770), (2003,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6578.5), (2003,'April','Reserve Position in the Fund (RPF)',200.2), (2003,'April','Special Drawing Rights (SDRs)',55.6), (2003,'April','Emas Moneter',1022.2), (2003,'April','Tagihan lainnya',0), (2003,'April','Jumlah',33626.4), (2003,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',26673.9), (2003,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6169.2), (2003,'Mei','Reserve Position in the Fund (RPF)',205.9), (2003,'Mei','Special Drawing Rights (SDRs)',4.3), (2003,'Mei','Emas Moneter',1108.9), (2003,'Mei','Tagihan lainnya',0), (2003,'Mei','Jumlah',34162.2), (2003,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',25825.6), (2003,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6892.2), (2003,'Juni','Reserve Position in the Fund (RPF)',204), (2003,'Juni','Special Drawing Rights (SDRs)',69.1), (2003,'Juni','Emas Moneter',1065.8), (2003,'Juni','Tagihan lainnya',0), (2003,'Juni','Jumlah',34056.6), (2003,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',25974.2), (2003,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6333.7), (2003,'Juli','Reserve Position in the Fund (RPF)',203.6), (2003,'Juli','Special Drawing Rights (SDRs)',68.2), (2003,'Juli','Emas Moneter',1103.7), (2003,'Juli','Tagihan lainnya',50), (2003,'Juli','Jumlah',33733.4), (2003,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',25703.6), (2003,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6428.1), (2003,'Agustus','Reserve Position in the Fund (RPF)',199.5), (2003,'Agustus','Special Drawing Rights (SDRs)',17.7), (2003,'Agustus','Emas Moneter',1140.7), (2003,'Agustus','Tagihan lainnya',50), (2003,'Agustus','Jumlah',33539.6), (2003,'September','Cadangan dalam Valuta Asing - Surat Berharga',26295.3), (2003,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6319.9), (2003,'September','Reserve Position in the Fund (RPF)',205.6), (2003,'September','Special Drawing Rights (SDRs)',18.2), (2003,'September','Emas Moneter',1178.4), (2003,'September','Tagihan lainnya',50), (2003,'September','Jumlah',34067.6), (2003,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',27047.3), (2003,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6287.3), (2003,'Oktober','Reserve Position in the Fund (RPF)',209.2), (2003,'Oktober','Special Drawing Rights (SDRs)',55.2), (2003,'Oktober','Emas Moneter',1192.5), (2003,'Oktober','Tagihan lainnya',50), (2003,'Oktober','Jumlah',34841.4), (2003,'November','Cadangan dalam Valuta Asing - Surat Berharga',26857.5), (2003,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6775.1), (2003,'November','Reserve Position in the Fund (RPF)',210.3), (2003,'November','Special Drawing Rights (SDRs)',4.4), (2003,'November','Emas Moneter',1216.6), (2003,'November','Tagihan lainnya',50.2), (2003,'November','Jumlah',35114.1), (2003,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',28011.1), (2003,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6731.2), (2003,'Desember','Reserve Position in the Fund (RPF)',215.4), (2003,'Desember','Special Drawing Rights (SDRs)',3.7), (2003,'Desember','Emas Moneter',1284.3), (2003,'Desember','Tagihan lainnya',50), (2003,'Desember','Jumlah',36295.7), (2004,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',27549), (2004,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6844.4), (2004,'Januari','Reserve Position in the Fund (RPF)',216.4), (2004,'Januari','Special Drawing Rights (SDRs)',63.2), (2004,'Januari','Emas Moneter',1251.8), (2004,'Januari','Tagihan lainnya',50.6), (2004,'Januari','Jumlah',35975.4), (2004,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',27268.2), (2004,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',7245.4), (2004,'Februari','Reserve Position in the Fund (RPF)',215.4), (2004,'Februari','Special Drawing Rights (SDRs)',7.6), (2004,'Februari','Emas Moneter',1213.5), (2004,'Februari','Tagihan lainnya',50.7), (2004,'Februari','Jumlah',36000.7), (2004,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',28897.1), (2004,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6953.4), (2004,'Maret','Reserve Position in the Fund (RPF)',214.6), (2004,'Maret','Special Drawing Rights (SDRs)',7.2), (2004,'Maret','Emas Moneter',1295.6), (2004,'Maret','Tagihan lainnya',51.2), (2004,'Maret','Jumlah',37419.2), (2004,'April','Cadangan dalam Valuta Asing - Surat Berharga',29056.1), (2004,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6507.9), (2004,'April','Reserve Position in the Fund (RPF)',209.9), (2004,'April','Special Drawing Rights (SDRs)',64.8), (2004,'April','Emas Moneter',1190.8), (2004,'April','Tagihan lainnya',51.2), (2004,'April','Jumlah',37080.7), (2004,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',28375.8), (2004,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6631.3), (2004,'Mei','Reserve Position in the Fund (RPF)',213.7), (2004,'Mei','Special Drawing Rights (SDRs)',10.7), (2004,'Mei','Emas Moneter',1187.9), (2004,'Mei','Tagihan lainnya',50.2), (2004,'Mei','Jumlah',36469.6), (2004,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',27471.6), (2004,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5913.5), (2004,'Juni','Reserve Position in the Fund (RPF)',213.5), (2004,'Juni','Special Drawing Rights (SDRs)',10.7), (2004,'Juni','Emas Moneter',1191.5), (2004,'Juni','Tagihan lainnya',50.2), (2004,'Juni','Jumlah',34851), (2004,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',27109.6), (2004,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6197.4), (2004,'Juli','Reserve Position in the Fund (RPF)',211.7), (2004,'Juli','Special Drawing Rights (SDRs)',71.7), (2004,'Juli','Emas Moneter',1170.1), (2004,'Juli','Tagihan lainnya',50), (2004,'Juli','Jumlah',34810.5), (2004,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',27295.5), (2004,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6037.5), (2004,'Agustus','Reserve Position in the Fund (RPF)',212.1), (2004,'Agustus','Special Drawing Rights (SDRs)',2.2), (2004,'Agustus','Emas Moneter',1223.9), (2004,'Agustus','Tagihan lainnya',50.6), (2004,'Agustus','Jumlah',34821.9), (2004,'September','Cadangan dalam Valuta Asing - Surat Berharga',27069.5), (2004,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6217), (2004,'September','Reserve Position in the Fund (RPF)',213.7), (2004,'September','Special Drawing Rights (SDRs)',2.3), (2004,'September','Emas Moneter',1247.7), (2004,'September','Tagihan lainnya',52), (2004,'September','Jumlah',34802.2), (2004,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',27164), (2004,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6557.8), (2004,'Oktober','Reserve Position in the Fund (RPF)',217.3), (2004,'Oktober','Special Drawing Rights (SDRs)',80), (2004,'Oktober','Emas Moneter',1281.7), (2004,'Oktober','Tagihan lainnya',52.4), (2004,'Oktober','Jumlah',35353.2), (2004,'November','Cadangan dalam Valuta Asing - Surat Berharga',27933.1), (2004,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6352.5), (2004,'November','Reserve Position in the Fund (RPF)',222.9), (2004,'November','Special Drawing Rights (SDRs)',2.4), (2004,'November','Emas Moneter',1363.5), (2004,'November','Tagihan lainnya',52.9), (2004,'November','Jumlah',35927.4), (2004,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',27476.2), (2004,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',7247.9), (2004,'Desember','Reserve Position in the Fund (RPF)',225.2), (2004,'Desember','Special Drawing Rights (SDRs)',2.4), (2004,'Desember','Emas Moneter',1316.3), (2004,'Desember','Tagihan lainnya',52.4), (2004,'Desember','Jumlah',36320.5), (2005,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',27812.2), (2005,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6657.2), (2005,'Januari','Reserve Position in the Fund (RPF)',221.3), (2005,'Januari','Special Drawing Rights (SDRs)',86), (2005,'Januari','Emas Moneter',1262.5), (2005,'Januari','Tagihan lainnya',52.8), (2005,'Januari','Jumlah',36092.2), (2005,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',27575.3), (2005,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',7341.7), (2005,'Februari','Reserve Position in the Fund (RPF)',221.8), (2005,'Februari','Special Drawing Rights (SDRs)',10), (2005,'Februari','Emas Moneter',1340.1), (2005,'Februari','Tagihan lainnya',53.2), (2005,'Februari','Jumlah',36542.1), (2005,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',27102.2), (2005,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',7279.8), (2005,'Maret','Reserve Position in the Fund (RPF)',219.5), (2005,'Maret','Special Drawing Rights (SDRs)',9.9), (2005,'Maret','Emas Moneter',1315.6), (2005,'Maret','Tagihan lainnya',103.1), (2005,'Maret','Jumlah',36030.1), (2005,'April','Cadangan dalam Valuta Asing - Surat Berharga',27598.5), (2005,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',7030.6), (2005,'April','Reserve Position in the Fund (RPF)',220.2), (2005,'April','Special Drawing Rights (SDRs)',93.2), (2005,'April','Emas Moneter',1334.3), (2005,'April','Tagihan lainnya',151.9), (2005,'April','Jumlah',36428.8), (2005,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',25971.1), (2005,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6966.2), (2005,'Mei','Reserve Position in the Fund (RPF)',216.1), (2005,'Mei','Special Drawing Rights (SDRs)',15), (2005,'Mei','Emas Moneter',1290.3), (2005,'Mei','Tagihan lainnya',154), (2005,'Mei','Jumlah',34612.6), (2005,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',25754.3), (2005,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6457.8), (2005,'Juni','Reserve Position in the Fund (RPF)',212.3), (2005,'Juni','Special Drawing Rights (SDRs)',23.3), (2005,'Juni','Emas Moneter',1263.5), (2005,'Juni','Tagihan lainnya',154.2), (2005,'Juni','Jumlah',33865.4), (2005,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',25237.5), (2005,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5277), (2005,'Juli','Reserve Position in the Fund (RPF)',211), (2005,'Juli','Special Drawing Rights (SDRs)',92.8), (2005,'Juli','Emas Moneter',1236.4), (2005,'Juli','Tagihan lainnya',153.7), (2005,'Juli','Jumlah',32208.4), (2005,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',24518.6), (2005,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',4955.4), (2005,'Agustus','Reserve Position in the Fund (RPF)',212.4), (2005,'Agustus','Special Drawing Rights (SDRs)',11.1), (2005,'Agustus','Emas Moneter',1329), (2005,'Agustus','Tagihan lainnya',153.8), (2005,'Agustus','Jumlah',31180.3), (2005,'September','Cadangan dalam Valuta Asing - Surat Berharga',24291.9), (2005,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',4193.7), (2005,'September','Reserve Position in the Fund (RPF)',211.1), (2005,'September','Special Drawing Rights (SDRs)',11.1), (2005,'September','Emas Moneter',1457.8), (2005,'September','Tagihan lainnya',152.7), (2005,'September','Jumlah',30318.3), (2005,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',25760.8), (2005,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',4977.5), (2005,'Oktober','Reserve Position in the Fund (RPF)',211.3), (2005,'Oktober','Special Drawing Rights (SDRs)',91), (2005,'Oktober','Emas Moneter',1452.8), (2005,'Oktober','Tagihan lainnya',152.7), (2005,'Oktober','Jumlah',32646.1), (2005,'November','Cadangan dalam Valuta Asing - Surat Berharga',25982.7), (2005,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5359.1), (2005,'November','Reserve Position in the Fund (RPF)',207.6), (2005,'November','Special Drawing Rights (SDRs)',7), (2005,'November','Emas Moneter',1530.8), (2005,'November','Tagihan lainnya',152.6), (2005,'November','Jumlah',33239.8), (2005,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',26867.8), (2005,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5906.4), (2005,'Desember','Reserve Position in the Fund (RPF)',207.9), (2005,'Desember','Special Drawing Rights (SDRs)',7), (2005,'Desember','Emas Moneter',1583.2), (2005,'Desember','Tagihan lainnya',151.3), (2005,'Desember','Jumlah',34723.7), (2006,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',27589), (2006,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5295), (2006,'Januari','Reserve Position in the Fund (RPF)',211), (2006,'Januari','Special Drawing Rights (SDRs)',94), (2006,'Januari','Emas Moneter',1734), (2006,'Januari','Tagihan lainnya',155), (2006,'Januari','Jumlah',35077), (2006,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',28168), (2006,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5278), (2006,'Februari','Reserve Position in the Fund (RPF)',209), (2006,'Februari','Special Drawing Rights (SDRs)',6), (2006,'Februari','Emas Moneter',1707), (2006,'Februari','Tagihan lainnya',158), (2006,'Februari','Jumlah',35525), (2006,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',31453), (2006,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6504), (2006,'Maret','Reserve Position in the Fund (RPF)',210), (2006,'Maret','Special Drawing Rights (SDRs)',6), (2006,'Maret','Emas Moneter',1751), (2006,'Maret','Tagihan lainnya',158), (2006,'Maret','Jumlah',40082), (2006,'April','Cadangan dalam Valuta Asing - Surat Berharga',33439), (2006,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6925), (2006,'April','Reserve Position in the Fund (RPF)',213), (2006,'April','Special Drawing Rights (SDRs)',109), (2006,'April','Emas Moneter',1969), (2006,'April','Tagihan lainnya',158), (2006,'April','Jumlah',42812), (2006,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',34852), (2006,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',7009), (2006,'Mei','Reserve Position in the Fund (RPF)',217), (2006,'Mei','Special Drawing Rights (SDRs)',17), (2006,'Mei','Emas Moneter',2038), (2006,'Mei','Tagihan lainnya',160), (2006,'Mei','Jumlah',44294), (2006,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',32008), (2006,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6088), (2006,'Juni','Reserve Position in the Fund (RPF)',214), (2006,'Juni','Special Drawing Rights (SDRs)',17), (2006,'Juni','Emas Moneter',1621), (2006,'Juni','Tagihan lainnya',160), (2006,'Juni','Jumlah',40107), (2006,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',32932), (2006,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',5968), (2006,'Juli','Reserve Position in the Fund (RPF)',215), (2006,'Juli','Special Drawing Rights (SDRs)',98), (2006,'Juli','Emas Moneter',1752), (2006,'Juli','Tagihan lainnya',160), (2006,'Juli','Jumlah',41126), (2006,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',25234), (2006,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14802), (2006,'Agustus','Reserve Position in the Fund (RPF)',216), (2006,'Agustus','Special Drawing Rights (SDRs)',19), (2006,'Agustus','Emas Moneter',1565), (2006,'Agustus','Tagihan lainnya',159), (2006,'Agustus','Jumlah',41995), (2006,'September','Cadangan dalam Valuta Asing - Surat Berharga',26410), (2006,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14018), (2006,'September','Reserve Position in the Fund (RPF)',215), (2006,'September','Special Drawing Rights (SDRs)',18), (2006,'September','Emas Moneter',1528), (2006,'September','Tagihan lainnya',163), (2006,'September','Jumlah',42353), (2006,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',23098), (2006,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14819), (2006,'Oktober','Reserve Position in the Fund (RPF)',216), (2006,'Oktober','Special Drawing Rights (SDRs)',56), (2006,'Oktober','Emas Moneter',1542), (2006,'Oktober','Tagihan lainnya',165), (2006,'Oktober','Jumlah',39895), (2006,'November','Cadangan dalam Valuta Asing - Surat Berharga',23860), (2006,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15818), (2006,'November','Reserve Position in the Fund (RPF)',219), (2006,'November','Special Drawing Rights (SDRs)',18), (2006,'November','Emas Moneter',1496), (2006,'November','Tagihan lainnya',167), (2006,'November','Jumlah',41579), (2006,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',25577), (2006,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15119), (2006,'Desember','Reserve Position in the Fund (RPF)',219), (2006,'Desember','Special Drawing Rights (SDRs)',18), (2006,'Desember','Emas Moneter',1483), (2006,'Desember','Tagihan lainnya',169), (2006,'Desember','Jumlah',42586), (2007,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',25270), (2007,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16075), (2007,'Januari','Reserve Position in the Fund (RPF)',217), (2007,'Januari','Special Drawing Rights (SDRs)',18), (2007,'Januari','Emas Moneter',1514), (2007,'Januari','Tagihan lainnya',172), (2007,'Januari','Jumlah',43266), (2007,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',28247), (2007,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15449), (2007,'Februari','Reserve Position in the Fund (RPF)',219), (2007,'Februari','Special Drawing Rights (SDRs)',16), (2007,'Februari','Emas Moneter',1587), (2007,'Februari','Tagihan lainnya',172), (2007,'Februari','Jumlah',45690), (2007,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',29136), (2007,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16125), (2007,'Maret','Reserve Position in the Fund (RPF)',220), (2007,'Maret','Special Drawing Rights (SDRs)',16), (2007,'Maret','Emas Moneter',1551), (2007,'Maret','Tagihan lainnya',172), (2007,'Maret','Jumlah',47221), (2007,'April','Cadangan dalam Valuta Asing - Surat Berharga',31279), (2007,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16027), (2007,'April','Reserve Position in the Fund (RPF)',222), (2007,'April','Special Drawing Rights (SDRs)',16), (2007,'April','Emas Moneter',1590), (2007,'April','Tagihan lainnya',175), (2007,'April','Jumlah',49309), (2007,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',32242), (2007,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15929), (2007,'Mei','Reserve Position in the Fund (RPF)',220), (2007,'Mei','Special Drawing Rights (SDRs)',14), (2007,'Mei','Emas Moneter',1532), (2007,'Mei','Tagihan lainnya',176), (2007,'Mei','Jumlah',50113), (2007,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',33124), (2007,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15871), (2007,'Juni','Reserve Position in the Fund (RPF)',220), (2007,'Juni','Special Drawing Rights (SDRs)',14), (2007,'Juni','Emas Moneter',1519), (2007,'Juni','Tagihan lainnya',176), (2007,'Juni','Jumlah',50924), (2007,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',33754), (2007,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16163), (2007,'Juli','Reserve Position in the Fund (RPF)',223), (2007,'Juli','Special Drawing Rights (SDRs)',14), (2007,'Juli','Emas Moneter',1553), (2007,'Juli','Tagihan lainnya',174), (2007,'Juli','Jumlah',51880), (2007,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',33511), (2007,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15944), (2007,'Agustus','Reserve Position in the Fund (RPF)',223), (2007,'Agustus','Special Drawing Rights (SDRs)',11), (2007,'Agustus','Emas Moneter',1563), (2007,'Agustus','Tagihan lainnya',174), (2007,'Agustus','Jumlah',51426), (2007,'September','Cadangan dalam Valuta Asing - Surat Berharga',36376), (2007,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14369), (2007,'September','Reserve Position in the Fund (RPF)',226), (2007,'September','Special Drawing Rights (SDRs)',12), (2007,'September','Emas Moneter',1717), (2007,'September','Tagihan lainnya',175), (2007,'September','Jumlah',52875), (2007,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',37645), (2007,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14256), (2007,'Oktober','Reserve Position in the Fund (RPF)',228), (2007,'Oktober','Special Drawing Rights (SDRs)',12), (2007,'Oktober','Emas Moneter',1838), (2007,'Oktober','Tagihan lainnya',175), (2007,'Oktober','Jumlah',54154), (2007,'November','Cadangan dalam Valuta Asing - Surat Berharga',38394), (2007,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14219), (2007,'November','Reserve Position in the Fund (RPF)',231), (2007,'November','Special Drawing Rights (SDRs)',9), (2007,'November','Emas Moneter',1865), (2007,'November','Tagihan lainnya',178), (2007,'November','Jumlah',54897), (2007,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',32688), (2007,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',21868), (2007,'Desember','Reserve Position in the Fund (RPF)',228), (2007,'Desember','Special Drawing Rights (SDRs)',9), (2007,'Desember','Emas Moneter',1946), (2007,'Desember','Tagihan lainnya',182), (2007,'Desember','Jumlah',56920), (2008,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',37117), (2008,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16302), (2008,'Januari','Reserve Position in the Fund (RPF)',232), (2008,'Januari','Special Drawing Rights (SDRs)',9), (2008,'Januari','Emas Moneter',2157), (2008,'Januari','Tagihan lainnya',182), (2008,'Januari','Jumlah',55999), (2008,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',40122), (2008,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14322), (2008,'Februari','Reserve Position in the Fund (RPF)',233), (2008,'Februari','Special Drawing Rights (SDRs)',7), (2008,'Februari','Emas Moneter',2253), (2008,'Februari','Tagihan lainnya',188), (2008,'Februari','Jumlah',57125), (2008,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',41722), (2008,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14638), (2008,'Maret','Reserve Position in the Fund (RPF)',240), (2008,'Maret','Special Drawing Rights (SDRs)',7), (2008,'Maret','Emas Moneter',2193), (2008,'Maret','Tagihan lainnya',188), (2008,'Maret','Jumlah',58987), (2008,'April','Cadangan dalam Valuta Asing - Surat Berharga',41545), (2008,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14694), (2008,'April','Reserve Position in the Fund (RPF)',237), (2008,'April','Special Drawing Rights (SDRs)',40), (2008,'April','Emas Moneter',2065), (2008,'April','Tagihan lainnya',189), (2008,'April','Jumlah',58770), (2008,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',42434), (2008,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',12496), (2008,'Mei','Reserve Position in the Fund (RPF)',236), (2008,'Mei','Special Drawing Rights (SDRs)',39), (2008,'Mei','Emas Moneter',2072), (2008,'Mei','Tagihan lainnya',188), (2008,'Mei','Jumlah',57464), (2008,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',43923), (2008,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',12908), (2008,'Juni','Reserve Position in the Fund (RPF)',237), (2008,'Juni','Special Drawing Rights (SDRs)',39), (2008,'Juni','Emas Moneter',2158), (2008,'Juni','Tagihan lainnya',188), (2008,'Juni','Jumlah',59453), (2008,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',41166), (2008,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16833), (2008,'Juli','Reserve Position in the Fund (RPF)',236), (2008,'Juli','Special Drawing Rights (SDRs)',39), (2008,'Juli','Emas Moneter',2106), (2008,'Juli','Tagihan lainnya',184), (2008,'Juli','Jumlah',60563), (2008,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',39419), (2008,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16521), (2008,'Agustus','Reserve Position in the Fund (RPF)',229), (2008,'Agustus','Special Drawing Rights (SDRs)',36), (2008,'Agustus','Emas Moneter',1967), (2008,'Agustus','Tagihan lainnya',185), (2008,'Agustus','Jumlah',58356), (2008,'September','Cadangan dalam Valuta Asing - Surat Berharga',41031), (2008,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',13541), (2008,'September','Reserve Position in the Fund (RPF)',229), (2008,'September','Special Drawing Rights (SDRs)',36), (2008,'September','Emas Moneter',2085), (2008,'September','Tagihan lainnya',185), (2008,'September','Jumlah',57108), (2008,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',34334), (2008,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14039), (2008,'Oktober','Reserve Position in the Fund (RPF)',219), (2008,'Oktober','Special Drawing Rights (SDRs)',34), (2008,'Oktober','Emas Moneter',1773), (2008,'Oktober','Tagihan lainnya',181), (2008,'Oktober','Jumlah',50580), (2008,'November','Cadangan dalam Valuta Asing - Surat Berharga',33709), (2008,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14140), (2008,'November','Reserve Position in the Fund (RPF)',217), (2008,'November','Special Drawing Rights (SDRs)',33), (2008,'November','Emas Moneter',1911), (2008,'November','Tagihan lainnya',172), (2008,'November','Jumlah',50182), (2008,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',45476), (2008,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',3687), (2008,'Desember','Reserve Position in the Fund (RPF)',225), (2008,'Desember','Special Drawing Rights (SDRs)',34), (2008,'Desember','Emas Moneter',2041), (2008,'Desember','Tagihan lainnya',175), (2008,'Desember','Jumlah',51639), (2009,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',45382), (2009,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2954), (2009,'Januari','Reserve Position in the Fund (RPF)',219), (2009,'Januari','Special Drawing Rights (SDRs)',33), (2009,'Januari','Emas Moneter',2094), (2009,'Januari','Tagihan lainnya',187), (2009,'Januari','Jumlah',50870), (2009,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',46406), (2009,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',1527), (2009,'Februari','Reserve Position in the Fund (RPF)',214), (2009,'Februari','Special Drawing Rights (SDRs)',32), (2009,'Februari','Emas Moneter',2198), (2009,'Februari','Tagihan lainnya',187), (2009,'Februari','Jumlah',50564), (2009,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',50774), (2009,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',1461), (2009,'Maret','Reserve Position in the Fund (RPF)',217), (2009,'Maret','Special Drawing Rights (SDRs)',32), (2009,'Maret','Emas Moneter',2178), (2009,'Maret','Tagihan lainnya',179), (2009,'Maret','Jumlah',54840), (2009,'April','Cadangan dalam Valuta Asing - Surat Berharga',51695), (2009,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2329), (2009,'April','Reserve Position in the Fund (RPF)',218), (2009,'April','Special Drawing Rights (SDRs)',32), (2009,'April','Emas Moneter',2108), (2009,'April','Tagihan lainnya',183), (2009,'April','Jumlah',56566), (2009,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',52964), (2009,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2283), (2009,'Mei','Reserve Position in the Fund (RPF)',223), (2009,'Mei','Special Drawing Rights (SDRs)',33), (2009,'Mei','Emas Moneter',2248), (2009,'Mei','Tagihan lainnya',183), (2009,'Mei','Jumlah',57934), (2009,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',52571), (2009,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2359), (2009,'Juni','Reserve Position in the Fund (RPF)',226), (2009,'Juni','Special Drawing Rights (SDRs)',33), (2009,'Juni','Emas Moneter',2196), (2009,'Juni','Tagihan lainnya',191), (2009,'Juni','Jumlah',57576), (2009,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',52427), (2009,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2352), (2009,'Juli','Reserve Position in the Fund (RPF)',226), (2009,'Juli','Special Drawing Rights (SDRs)',33), (2009,'Juli','Emas Moneter',2189), (2009,'Juli','Tagihan lainnya',191), (2009,'Juli','Jumlah',57418), (2009,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',52860), (2009,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2386), (2009,'Agustus','Reserve Position in the Fund (RPF)',228), (2009,'Agustus','Special Drawing Rights (SDRs)',33), (2009,'Agustus','Emas Moneter',2243), (2009,'Agustus','Tagihan lainnya',194), (2009,'Agustus','Jumlah',57943), (2009,'September','Cadangan dalam Valuta Asing - Surat Berharga',53350), (2009,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',3410), (2009,'September','Reserve Position in the Fund (RPF)',230), (2009,'September','Special Drawing Rights (SDRs)',2781), (2009,'September','Emas Moneter',2322), (2009,'September','Tagihan lainnya',195), (2009,'September','Jumlah',62287), (2009,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',57440), (2009,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',1423), (2009,'Oktober','Reserve Position in the Fund (RPF)',231), (2009,'Oktober','Special Drawing Rights (SDRs)',2798), (2009,'Oktober','Emas Moneter',2442), (2009,'Oktober','Tagihan lainnya',195), (2009,'Oktober','Jumlah',64528), (2009,'November','Cadangan dalam Valuta Asing - Surat Berharga',56985), (2009,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2848), (2009,'November','Reserve Position in the Fund (RPF)',234), (2009,'November','Special Drawing Rights (SDRs)',2839), (2009,'November','Emas Moneter',2738), (2009,'November','Tagihan lainnya',200), (2009,'November','Jumlah',65844), (2009,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',57100), (2009,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',3269), (2009,'Desember','Reserve Position in the Fund (RPF)',227), (2009,'Desember','Special Drawing Rights (SDRs)',2753), (2009,'Desember','Emas Moneter',2552), (2009,'Desember','Tagihan lainnya',203), (2009,'Desember','Jumlah',66105), (2010,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',62323.7), (2010,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',1513.4), (2010,'Januari','Reserve Position in the Fund (RPF)',226.5), (2010,'Januari','Special Drawing Rights (SDRs)',2743.6), (2010,'Januari','Emas Moneter',2553.6), (2010,'Januari','Tagihan lainnya',201.7), (2010,'Januari','Jumlah',69562.5), (2010,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',61520.6), (2010,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2497.5), (2010,'Februari','Reserve Position in the Fund (RPF)',222.8), (2010,'Februari','Special Drawing Rights (SDRs)',2699.2), (2010,'Februari','Emas Moneter',2588.8), (2010,'Februari','Tagihan lainnya',201.7), (2010,'Februari','Jumlah',69730.6), (2010,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',63514.4), (2010,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2609.6), (2010,'Maret','Reserve Position in the Fund (RPF)',221.1), (2010,'Maret','Special Drawing Rights (SDRs)',2678.2), (2010,'Maret','Emas Moneter',2598.2), (2010,'Maret','Tagihan lainnya',201.7), (2010,'Maret','Jumlah',71823.2), (2010,'April','Cadangan dalam Valuta Asing - Surat Berharga',69150.1), (2010,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',3609), (2010,'April','Reserve Position in the Fund (RPF)',219.5), (2010,'April','Special Drawing Rights (SDRs)',2658.5), (2010,'April','Emas Moneter',2738.4), (2010,'April','Tagihan lainnya',207.3), (2010,'April','Jumlah',78582.8), (2010,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',66207.1), (2010,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',2522.5), (2010,'Mei','Reserve Position in the Fund (RPF)',214.5), (2010,'Mei','Special Drawing Rights (SDRs)',2598.4), (2010,'Mei','Emas Moneter',2834.1), (2010,'Mei','Tagihan lainnya',210.7), (2010,'Mei','Jumlah',74587.3), (2010,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',67233), (2010,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',3168), (2010,'Juni','Reserve Position in the Fund (RPF)',214.6), (2010,'Juni','Special Drawing Rights (SDRs)',2599.8), (2010,'Juni','Emas Moneter',2897.4), (2010,'Juni','Tagihan lainnya',208.5), (2010,'Juni','Jumlah',76321.3), (2010,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',69263.2), (2010,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',3688.8), (2010,'Juli','Reserve Position in the Fund (RPF)',221.4), (2010,'Juli','Special Drawing Rights (SDRs)',2681.8), (2010,'Juli','Emas Moneter',2728.4), (2010,'Juli','Tagihan lainnya',210.4), (2010,'Juli','Jumlah',78794.1), (2010,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',70485.7), (2010,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',4839.4), (2010,'Agustus','Reserve Position in the Fund (RPF)',219.6), (2010,'Agustus','Special Drawing Rights (SDRs)',2659.6), (2010,'Agustus','Emas Moneter',2898.6), (2010,'Agustus','Tagihan lainnya',214.4), (2010,'Agustus','Jumlah',81317.2), (2010,'September','Cadangan dalam Valuta Asing - Surat Berharga',75738.2), (2010,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',4564.7), (2010,'September','Reserve Position in the Fund (RPF)',225.9), (2010,'September','Special Drawing Rights (SDRs)',2735.6), (2010,'September','Emas Moneter',3068.8), (2010,'September','Tagihan lainnya',217.5), (2010,'September','Jumlah',86550.6), (2010,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',79326), (2010,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6126.5), (2010,'Oktober','Reserve Position in the Fund (RPF)',228.4), (2010,'Oktober','Special Drawing Rights (SDRs)',2766), (2010,'Oktober','Emas Moneter',3129.8), (2010,'Oktober','Tagihan lainnya',221.8), (2010,'Oktober','Jumlah',91798.6), (2010,'November','Cadangan dalam Valuta Asing - Surat Berharga',79810.1), (2010,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6620.4), (2010,'November','Reserve Position in the Fund (RPF)',222.8), (2010,'November','Special Drawing Rights (SDRs)',2698.6), (2010,'November','Emas Moneter',3184.9), (2010,'November','Tagihan lainnya',222.4), (2010,'November','Jumlah',92759.3), (2010,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',82978.8), (2010,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6772.3), (2010,'Desember','Reserve Position in the Fund (RPF)',224.1), (2010,'Desember','Special Drawing Rights (SDRs)',2713.8), (2010,'Desember','Emas Moneter',3298.8), (2010,'Desember','Tagihan lainnya',219), (2010,'Desember','Jumlah',96206.8), (2011,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',82533.7), (2011,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',6498.4), (2011,'Januari','Reserve Position in the Fund (RPF)',227.6), (2011,'Januari','Special Drawing Rights (SDRs)',2756.6), (2011,'Januari','Emas Moneter',3095.8), (2011,'Januari','Tagihan lainnya',219.5), (2011,'Januari','Jumlah',95331.6), (2011,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',85844.9), (2011,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',7268.9), (2011,'Februari','Reserve Position in the Fund (RPF)',228.4), (2011,'Februari','Special Drawing Rights (SDRs)',2765.7), (2011,'Februari','Emas Moneter',3291.7), (2011,'Februari','Tagihan lainnya',219.2), (2011,'Februari','Jumlah',99618.8), (2011,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',90293), (2011,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',8836.9), (2011,'Maret','Reserve Position in the Fund (RPF)',229.8), (2011,'Maret','Special Drawing Rights (SDRs)',2783.5), (2011,'Maret','Emas Moneter',3345.7), (2011,'Maret','Tagihan lainnya',220.1), (2011,'Maret','Jumlah',105709.1), (2011,'April','Cadangan dalam Valuta Asing - Surat Berharga',98781.2), (2011,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',8116.6), (2011,'April','Reserve Position in the Fund (RPF)',235.7), (2011,'April','Special Drawing Rights (SDRs)',2854), (2011,'April','Emas Moneter',3603.9), (2011,'April','Tagihan lainnya',222.8), (2011,'April','Jumlah',113814.2), (2011,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',102325.8), (2011,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',8923.8), (2011,'Mei','Reserve Position in the Fund (RPF)',231.8), (2011,'Mei','Special Drawing Rights (SDRs)',2806.6), (2011,'Mei','Emas Moneter',3598), (2011,'Mei','Tagihan lainnya',222.8), (2011,'Mei','Jumlah',118108.8), (2011,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',103555.3), (2011,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',9294.7), (2011,'Juni','Reserve Position in the Fund (RPF)',232.4), (2011,'Juni','Special Drawing Rights (SDRs)',2814.2), (2011,'Juni','Emas Moneter',3530.5), (2011,'Juni','Tagihan lainnya',227.5), (2011,'Juni','Jumlah',119654.8), (2011,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',104213.5), (2011,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',11387.8), (2011,'Juli','Reserve Position in the Fund (RPF)',233), (2011,'Juli','Special Drawing Rights (SDRs)',2821.6), (2011,'Juli','Emas Moneter',3787), (2011,'Juli','Tagihan lainnya',228.1), (2011,'Juli','Jumlah',122671), (2011,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',103588.8), (2011,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',13656.3), (2011,'Agustus','Reserve Position in the Fund (RPF)',268), (2011,'Agustus','Special Drawing Rights (SDRs)',2835.2), (2011,'Agustus','Emas Moneter',4058), (2011,'Agustus','Tagihan lainnya',231.4), (2011,'Agustus','Jumlah',124637.8), (2011,'September','Cadangan dalam Valuta Asing - Surat Berharga',94303.8), (2011,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',13157), (2011,'September','Reserve Position in the Fund (RPF)',260.5), (2011,'September','Special Drawing Rights (SDRs)',2761), (2011,'September','Emas Moneter',3785.8), (2011,'September','Tagihan lainnya',234.3), (2011,'September','Jumlah',114502.4), (2011,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',95610), (2011,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',10992.6), (2011,'Oktober','Reserve Position in the Fund (RPF)',232.4), (2011,'Oktober','Special Drawing Rights (SDRs)',2813.4), (2011,'Oktober','Emas Moneter',4086.2), (2011,'Oktober','Tagihan lainnya',227.1), (2011,'Oktober','Jumlah',113961.8), (2011,'November','Cadangan dalam Valuta Asing - Surat Berharga',92171.6), (2011,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',11922.7), (2011,'November','Reserve Position in the Fund (RPF)',226.2), (2011,'November','Special Drawing Rights (SDRs)',2738.4), (2011,'November','Emas Moneter',4029.9), (2011,'November','Tagihan lainnya',227.1), (2011,'November','Jumlah',111315.9), (2011,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',90794.7), (2011,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',12585.4), (2011,'Desember','Reserve Position in the Fund (RPF)',222.7), (2011,'Desember','Special Drawing Rights (SDRs)',2695.9), (2011,'Desember','Emas Moneter',3593.3), (2011,'Desember','Tagihan lainnya',230.8), (2011,'Desember','Jumlah',110122.8), (2012,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',92153.3), (2012,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',12596), (2012,'Januari','Reserve Position in the Fund (RPF)',225.1), (2012,'Januari','Special Drawing Rights (SDRs)',2725.9), (2012,'Januari','Emas Moneter',4058), (2012,'Januari','Tagihan lainnya',232.1), (2012,'Januari','Jumlah',111990.5), (2012,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',92866.5), (2012,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',11971.7), (2012,'Februari','Reserve Position in the Fund (RPF)',226.2), (2012,'Februari','Special Drawing Rights (SDRs)',2738.8), (2012,'Februari','Emas Moneter',4180.1), (2012,'Februari','Tagihan lainnya',236.3), (2012,'Februari','Jumlah',112219.6), (2012,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',87718), (2012,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15400.4), (2012,'Maret','Reserve Position in the Fund (RPF)',224.8), (2012,'Maret','Special Drawing Rights (SDRs)',2721.7), (2012,'Maret','Emas Moneter',3890.2), (2012,'Maret','Tagihan lainnya',538.2), (2012,'Maret','Jumlah',110493.3), (2012,'April','Cadangan dalam Valuta Asing - Surat Berharga',89181.7), (2012,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',19834.1), (2012,'April','Reserve Position in the Fund (RPF)',225.4), (2012,'April','Special Drawing Rights (SDRs)',2729.3), (2012,'April','Emas Moneter',3904.3), (2012,'April','Tagihan lainnya',538.2), (2012,'April','Jumlah',116413), (2012,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',87730.1), (2012,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16764.5), (2012,'Mei','Reserve Position in the Fund (RPF)',219.9), (2012,'Mei','Special Drawing Rights (SDRs)',2662.6), (2012,'Mei','Emas Moneter',3614.4), (2012,'Mei','Tagihan lainnya',536.6), (2012,'Mei','Jumlah',111528.1), (2012,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',86466.5), (2012,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',12966.7), (2012,'Juni','Reserve Position in the Fund (RPF)',219.8), (2012,'Juni','Special Drawing Rights (SDRs)',2660.8), (2012,'Juni','Emas Moneter',3657.9), (2012,'Juni','Tagihan lainnya',530.7), (2012,'Juni','Jumlah',106502.4), (2012,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',82613.8), (2012,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16734.3), (2012,'Juli','Reserve Position in the Fund (RPF)',219.4), (2012,'Juli','Special Drawing Rights (SDRs)',2655.9), (2012,'Juli','Emas Moneter',3796.9), (2012,'Juli','Tagihan lainnya',538.6), (2012,'Juli','Jumlah',106559), (2012,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',84414.6), (2012,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',17240.8), (2012,'Agustus','Reserve Position in the Fund (RPF)',221.2), (2012,'Agustus','Special Drawing Rights (SDRs)',2677.9), (2012,'Agustus','Emas Moneter',3897.3), (2012,'Agustus','Tagihan lainnya',538.6), (2012,'Agustus','Jumlah',108990.4), (2012,'September','Cadangan dalam Valuta Asing - Surat Berharga',85404.6), (2012,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',17145.6), (2012,'September','Reserve Position in the Fund (RPF)',224), (2012,'September','Special Drawing Rights (SDRs)',2712.2), (2012,'September','Emas Moneter',4137.8), (2012,'September','Tagihan lainnya',548.1), (2012,'September','Jumlah',110172.2), (2012,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',80971.3), (2012,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',21824.4), (2012,'Oktober','Reserve Position in the Fund (RPF)',223.8), (2012,'Oktober','Special Drawing Rights (SDRs)',2709.5), (2012,'Oktober','Emas Moneter',4013.4), (2012,'Oktober','Tagihan lainnya',554.7), (2012,'Oktober','Jumlah',110297.2), (2012,'November','Cadangan dalam Valuta Asing - Surat Berharga',82247.9), (2012,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',21502.2), (2012,'November','Reserve Position in the Fund (RPF)',223.3), (2012,'November','Special Drawing Rights (SDRs)',2702.8), (2012,'November','Emas Moneter',4048.6), (2012,'November','Tagihan lainnya',560.2), (2012,'November','Jumlah',111285.1), (2012,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',83299.2), (2012,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',22043.7), (2012,'Desember','Reserve Position in the Fund (RPF)',224.3), (2012,'Desember','Special Drawing Rights (SDRs)',2715.1), (2012,'Desember','Emas Moneter',3935.2), (2012,'Desember','Tagihan lainnya',563.7), (2012,'Desember','Jumlah',112781.2), (2013,'Januari','Cadangan dalam Valuta Asing - Surat Berharga',82396.3), (2013,'Januari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',18793.1), (2013,'Januari','Reserve Position in the Fund (RPF)',224.2), (2013,'Januari','Special Drawing Rights (SDRs)',2713.7), (2013,'Januari','Emas Moneter',4088.2), (2013,'Januari','Tagihan lainnya',564.5), (2013,'Januari','Jumlah',108780), (2013,'Februari','Cadangan dalam Valuta Asing - Surat Berharga',78364.4), (2013,'Februari','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',19459.8), (2013,'Februari','Reserve Position in the Fund (RPF)',220.3), (2013,'Februari','Special Drawing Rights (SDRs)',2667.2), (2013,'Februari','Emas Moneter',3909.6), (2013,'Februari','Tagihan lainnya',561.4), (2013,'Februari','Jumlah',105182.6), (2013,'Maret','Cadangan dalam Valuta Asing - Surat Berharga',76664.1), (2013,'Maret','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',20810.7), (2013,'Maret','Reserve Position in the Fund (RPF)',217.7), (2013,'Maret','Special Drawing Rights (SDRs)',2635.2), (2013,'Maret','Emas Moneter',3906.6), (2013,'Maret','Tagihan lainnya',565.6), (2013,'Maret','Jumlah',104799.9), (2013,'April','Cadangan dalam Valuta Asing - Surat Berharga',80047.7), (2013,'April','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',20148.9), (2013,'April','Reserve Position in the Fund (RPF)',219.6), (2013,'April','Special Drawing Rights (SDRs)',2658.3), (2013,'April','Emas Moneter',3627.7), (2013,'April','Tagihan lainnya',566.3), (2013,'April','Jumlah',107268.5), (2013,'Mei','Cadangan dalam Valuta Asing - Surat Berharga',78427), (2013,'Mei','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',19773.8), (2013,'Mei','Reserve Position in the Fund (RPF)',217.8), (2013,'Mei','Special Drawing Rights (SDRs)',2636.3), (2013,'Mei','Emas Moneter',3520.3), (2013,'Mei','Tagihan lainnya',573.4), (2013,'Mei','Jumlah',105148.5), (2013,'Juni','Cadangan dalam Valuta Asing - Surat Berharga',73713.5), (2013,'Juni','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',17859.1), (2013,'Juni','Reserve Position in the Fund (RPF)',218.8), (2013,'Juni','Special Drawing Rights (SDRs)',2648.6), (2013,'Juni','Emas Moneter',3094), (2013,'Juni','Tagihan lainnya',561.1), (2013,'Juni','Jumlah',98095.1), (2013,'Juli','Cadangan dalam Valuta Asing - Surat Berharga',71648.8), (2013,'Juli','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14264.2), (2013,'Juli','Reserve Position in the Fund (RPF)',220.4), (2013,'Juli','Special Drawing Rights (SDRs)',2667.9), (2013,'Juli','Emas Moneter',3323.4), (2013,'Juli','Tagihan lainnya',546.3), (2013,'Juli','Jumlah',92671.1), (2013,'Agustus','Cadangan dalam Valuta Asing - Surat Berharga',71107.7), (2013,'Agustus','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',14921.8), (2013,'Agustus','Reserve Position in the Fund (RPF)',220.6), (2013,'Agustus','Special Drawing Rights (SDRs)',2670.4), (2013,'Agustus','Emas Moneter',3533.3), (2013,'Agustus','Tagihan lainnya',543.3), (2013,'Agustus','Jumlah',92997.1), (2013,'September','Cadangan dalam Valuta Asing - Surat Berharga',72744.8), (2013,'September','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16106), (2013,'September','Reserve Position in the Fund (RPF)',223), (2013,'September','Special Drawing Rights (SDRs)',2699.4), (2013,'September','Emas Moneter',3365.7), (2013,'September','Tagihan lainnya',536.4), (2013,'September','Jumlah',95675.3), (2013,'Oktober','Cadangan dalam Valuta Asing - Surat Berharga',74189.5), (2013,'Oktober','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',15918.9), (2013,'Oktober','Reserve Position in the Fund (RPF)',224.6), (2013,'Oktober','Special Drawing Rights (SDRs)',2718.6), (2013,'Oktober','Emas Moneter',3400.2), (2013,'Oktober','Tagihan lainnya',543.8), (2013,'Oktober','Jumlah',96995.7), (2013,'November','Cadangan dalam Valuta Asing - Surat Berharga',74088.1), (2013,'November','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',16263.9), (2013,'November','Reserve Position in the Fund (RPF)',223.4), (2013,'November','Special Drawing Rights (SDRs)',2703.9), (2013,'November','Emas Moneter',3126), (2013,'November','Tagihan lainnya',554.8), (2013,'November','Jumlah',96960.2), (2013,'Desember','Cadangan dalam Valuta Asing - Surat Berharga',73668.6), (2013,'Desember','Cadangan dalam Valuta Asing - Uang Kertas Asing (UKA) dan Simpanan',19203.7), (2013,'Desember','Reserve Position in the Fund (RPF)',224.1), (2013,'Desember','Special Drawing Rights (SDRs)',2712.3), (2013,'Desember','Emas Moneter',3023.1), (2013,'Desember','Tagihan lainnya',554.8), (2013,'Desember','Jumlah',99386.7); /*Table structure for table `tbl_jumlah_penduduk_bandung` */ DROP TABLE IF EXISTS `tbl_jumlah_penduduk_bandung`; CREATE TABLE `tbl_jumlah_penduduk_bandung` ( `Tahun` tinytext, `Jumlah_Penduduk` tinytext, `Rataan_Kepadatan_Penduduk` tinytext, `Penduduk_Pria` tinytext, `Penduduk_Perempuan` tinytext, `Penduduk_Bekerja` tinytext, `Penduduk_Pengangguran` tinytext, `Tidak_Tamat_SD` tinytext, `Tamat_SD` tinytext, `Tamat_SMP` tinytext, `Tamat_SLTA` tinytext, `Perguruan_Tinggi` tinytext ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_jumlah_penduduk_bandung` */ insert into `tbl_jumlah_penduduk_bandung`(`Tahun`,`Jumlah_Penduduk`,`Rataan_Kepadatan_Penduduk`,`Penduduk_Pria`,`Penduduk_Perempuan`,`Penduduk_Bekerja`,`Penduduk_Pengangguran`,`Tidak_Tamat_SD`,`Tamat_SD`,`Tamat_SMP`,`Tamat_SLTA`,`Perguruan_Tinggi`) values ('2011','2424957','14494','1230615','1194342','1012946','116798','174292','502426','393689','655857','282591'), ('2012','2455517','14676','1246122','1209395','1064167','107384','191141','482763','409741','661857','292142'), ('2013','2483977','14847','1260565','1223412','1047235','129142','224078','501285','411969','743328','257978'); /*Table structure for table `tbl_nilai_tukar_petani` */ DROP TABLE IF EXISTS `tbl_nilai_tukar_petani`; CREATE TABLE `tbl_nilai_tukar_petani` ( `tahun` bigint(20) DEFAULT NULL, `bulan` bigint(20) DEFAULT NULL, `kode_provinsi` bigint(20) DEFAULT NULL, `nama_provinsi` varchar(255) DEFAULT NULL, `it` double DEFAULT NULL, `ib` double DEFAULT NULL, `ntpt` double DEFAULT NULL, `latitude` double DEFAULT NULL, `longitude` double DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_nilai_tukar_petani` */ insert into `tbl_nilai_tukar_petani`(`tahun`,`bulan`,`kode_provinsi`,`nama_provinsi`,`it`,`ib`,`ntpt`,`latitude`,`longitude`) values (2008,1,11,'Prov. Nanggroe Aceh Darussalam',105.6,103.6,101.9,5.55,95.31667), (2008,1,12,'Prov. Sumatera Utara',105.8,103.1,102.6,3.583333,98.66666), (2008,1,13,'Prov. Sumatera Barat',104.5,103.9,100.6,-0.95,100.3531), (2008,1,14,'Prov. Riau',104.7,102.8,101.8,0.4816667,101.4686), (2008,1,15,'Prov. Jambi',100.9,102.9,98.1,-1.589167,103.61), (2008,1,16,'Prov. Sumatera Selatan',103.2,104.3,98.9,-2.990833,104.7567), (2008,1,17,'Prov. Bengkulu',105.8,104.3,101.4,-3.795556,102.2592), (2008,1,18,'Prov. Lampung',100.5,103.3,97.4,-5.429722,105.2625), (2008,1,19,'Prov. Kepulauan Bangka Belitung',93.7,100.9,92.9,-2.1,106.1), (2008,1,21,'Prov. Kepulauan Riau',102.4,102.3,100.1,1.083333,104.4833), (2008,1,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,1,32,'Prov. Jawa Barat',101.1,104.3,96.9,-6.914722,107.6097), (2008,1,33,'Prov. Jawa Tengah',111,105.2,105.5,-6.966667,110.4167), (2008,1,34,'Prov. D I Yogyakarta',105.4,103.1,102.2,-7.801389,110.3644), (2008,1,35,'Prov. Jawa Timur',105.7,104.5,101.2,-7.266667,112.7167), (2008,1,36,'Prov. Banten',109.1,102.7,106.2,-6.12,106.1503), (2008,1,51,'Prov. Bali',102,101.7,100.3,-8.65,115.2167), (2008,1,52,'Prov. Nusa Tenggara Barat',110.2,106.2,103.7,-8.583333,116.1167), (2008,1,53,'Prov. Nusa Tenggara Timur',103.8,102.5,101.3,-10.18333,123.5833), (2008,1,61,'Prov. Kalimantan Barat',101.4,104.2,97.3,-0.0166667,109.3333), (2008,1,62,'Prov. Kalimantan Tengah',101.9,104.1,97.9,-2.21,113.92), (2008,1,63,'Prov. Kalimantan Selatan',103.4,103,100.4,-3.314444,114.5925), (2008,1,64,'Prov. Kalimantan Timur',121.7,104.3,116.7,-0.5022222,117.1536), (2008,1,71,'Prov. Sulawesi Utara',105.7,105.3,100.4,1.493056,124.8414), (2008,1,72,'Prov. Sulawesi Tengah',101.5,107.1,94.8,-0.9,119.8333), (2008,1,73,'Prov. Sulawesi Selatan',103.2,104.2,99,-5.133333,119.4167), (2008,1,74,'Prov. Sulawesi Tenggara',101,102.9,98.1,-3.9675,122.5947), (2008,1,75,'Prov. Gorontalo',100.9,104,97,0.5333334,123.0667), (2008,1,76,'Prov. Sulawesi Barat',102,102.9,99.1,-2.668611,118.8622), (2008,1,81,'Prov. Maluku',103.3,103.8,99.5,-3.7,128.1667), (2008,1,82,'Prov. Maluku Utara',102.9,105.3,97.7,0.7833334,127.3667), (2008,1,91,'Prov. Papua Barat',101.6,101.1,100.5,-0.8666667,134.0833), (2008,1,94,'Prov. Papua',97.3,104.1,93.5,-2.533056,140.7169), (2008,2,11,'Prov. Nanggroe Aceh Darussalam',105.8,105.2,100.6,5.55,95.31667), (2008,2,12,'Prov. Sumatera Utara',106.4,104.2,102.1,3.583333,98.66666), (2008,2,13,'Prov. Sumatera Barat',104.3,105.1,99.2,-0.95,100.3531), (2008,2,14,'Prov. Riau',105,104.7,100.3,0.4816667,101.4686), (2008,2,15,'Prov. Jambi',102.8,105.7,97.2,-1.589167,103.61), (2008,2,16,'Prov. Sumatera Selatan',103.8,105,98.9,-2.990833,104.7567), (2008,2,17,'Prov. Bengkulu',109.5,105.1,104.1,-3.795556,102.2592), (2008,2,18,'Prov. Lampung',100.7,103.5,97.3,-5.429722,105.2625), (2008,2,19,'Prov. Kepulauan Bangka Belitung',93.3,101.3,92.1,-2.1,106.1), (2008,2,21,'Prov. Kepulauan Riau',102.2,103.6,98.7,1.083333,104.4833), (2008,2,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,2,32,'Prov. Jawa Barat',100,105.4,94.9,-6.914722,107.6097), (2008,2,33,'Prov. Jawa Tengah',112.6,106.5,105.7,-6.966667,110.4167), (2008,2,34,'Prov. D I Yogyakarta',105.9,104.1,101.8,-7.801389,110.3644), (2008,2,35,'Prov. Jawa Timur',106.8,105.6,101.2,-7.266667,112.7167), (2008,2,36,'Prov. Banten',110.8,103.8,106.7,-6.12,106.1503), (2008,2,51,'Prov. Bali',102.2,102.9,99.4,-8.65,115.2167), (2008,2,52,'Prov. Nusa Tenggara Barat',110.8,107.2,103.3,-8.583333,116.1167), (2008,2,53,'Prov. Nusa Tenggara Timur',104.2,103,101.1,-10.18333,123.5833), (2008,2,61,'Prov. Kalimantan Barat',101.5,104.7,96.9,-0.0166667,109.3333), (2008,2,62,'Prov. Kalimantan Tengah',102.2,104.3,98,-2.21,113.92), (2008,2,63,'Prov. Kalimantan Selatan',103.5,104.2,99.3,-3.314444,114.5925), (2008,2,64,'Prov. Kalimantan Timur',119,104.5,113.8,-0.5022222,117.1536), (2008,2,71,'Prov. Sulawesi Utara',105.7,106.4,99.3,1.493056,124.8414), (2008,2,72,'Prov. Sulawesi Tengah',104.6,107.3,97.5,-0.9,119.8333), (2008,2,73,'Prov. Sulawesi Selatan',104.4,104.8,99.6,-5.133333,119.4167), (2008,2,74,'Prov. Sulawesi Tenggara',101,103.3,97.8,-3.9675,122.5947), (2008,2,75,'Prov. Gorontalo',95.4,103.9,91.9,0.5333334,123.0667), (2008,2,76,'Prov. Sulawesi Barat',102.3,103.9,98.5,-2.668611,118.8622), (2008,2,81,'Prov. Maluku',103.5,104.2,99.3,-3.7,128.1667), (2008,2,82,'Prov. Maluku Utara',103.6,104.8,98.9,0.7833334,127.3667), (2008,2,91,'Prov. Papua Barat',101.8,101,100.9,-0.8666667,134.0833), (2008,2,94,'Prov. Papua',100.9,107.6,93.8,-2.533056,140.7169), (2008,3,11,'Prov. Nanggroe Aceh Darussalam',107.6,107.1,100.4,5.55,95.31667), (2008,3,12,'Prov. Sumatera Utara',106.6,105.4,101.1,3.583333,98.66666), (2008,3,13,'Prov. Sumatera Barat',105.1,107.2,98.1,-0.95,100.3531), (2008,3,14,'Prov. Riau',105.2,105.6,99.6,0.4816667,101.4686), (2008,3,15,'Prov. Jambi',103.1,106.8,96.5,-1.589167,103.61), (2008,3,16,'Prov. Sumatera Selatan',103.7,105,98.8,-2.990833,104.7567), (2008,3,17,'Prov. Bengkulu',111,107,103.7,-3.795556,102.2592), (2008,3,18,'Prov. Lampung',103,104.1,98.9,-5.429722,105.2625), (2008,3,19,'Prov. Kepulauan Bangka Belitung',93.2,101.7,91.6,-2.1,106.1), (2008,3,21,'Prov. Kepulauan Riau',102.3,103.7,98.7,1.083333,104.4833), (2008,3,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,3,32,'Prov. Jawa Barat',102.9,106.8,96.4,-6.914722,107.6097), (2008,3,33,'Prov. Jawa Tengah',112.7,107,105.3,-6.966667,110.4167), (2008,3,34,'Prov. D I Yogyakarta',107,105.5,101.4,-7.801389,110.3644), (2008,3,35,'Prov. Jawa Timur',108.3,106.3,102,-7.266667,112.7167), (2008,3,36,'Prov. Banten',113.9,105.2,108.3,-6.12,106.1503), (2008,3,51,'Prov. Bali',103,104.4,98.7,-8.65,115.2167), (2008,3,52,'Prov. Nusa Tenggara Barat',111.7,107.7,103.7,-8.583333,116.1167), (2008,3,53,'Prov. Nusa Tenggara Timur',104,103.5,100.4,-10.18333,123.5833), (2008,3,61,'Prov. Kalimantan Barat',99.3,105.7,94,-0.0166667,109.3333), (2008,3,62,'Prov. Kalimantan Tengah',103.4,105.4,98.1,-2.21,113.92), (2008,3,63,'Prov. Kalimantan Selatan',104.6,106.7,98,-3.314444,114.5925), (2008,3,64,'Prov. Kalimantan Timur',122.4,105.3,116.2,-0.5022222,117.1536), (2008,3,71,'Prov. Sulawesi Utara',111.1,109.6,101.4,1.493056,124.8414), (2008,3,72,'Prov. Sulawesi Tengah',105,109.3,96,-0.9,119.8333), (2008,3,73,'Prov. Sulawesi Selatan',106.1,106.2,99.9,-5.133333,119.4167), (2008,3,74,'Prov. Sulawesi Tenggara',101.3,105,96.5,-3.9675,122.5947), (2008,3,75,'Prov. Gorontalo',95.4,103.7,92,0.5333334,123.0667), (2008,3,76,'Prov. Sulawesi Barat',108.9,104.6,104.1,-2.668611,118.8622), (2008,3,81,'Prov. Maluku',103.5,105,98.6,-3.7,128.1667), (2008,3,82,'Prov. Maluku Utara',102.1,105.2,97.1,0.7833334,127.3667), (2008,3,91,'Prov. Papua Barat',103.4,101.8,101.6,-0.8666667,134.0833), (2008,3,94,'Prov. Papua',102.6,107.4,95.6,-2.533056,140.7169), (2008,4,11,'Prov. Nanggroe Aceh Darussalam',107.9,108.9,99.1,5.55,95.31667), (2008,4,12,'Prov. Sumatera Utara',106.2,106.2,99.9,3.583333,98.66666), (2008,4,13,'Prov. Sumatera Barat',105.1,107.8,97.4,-0.95,100.3531), (2008,4,14,'Prov. Riau',106.4,105.9,100.5,0.4816667,101.4686), (2008,4,15,'Prov. Jambi',103.3,106.6,96.8,-1.589167,103.61), (2008,4,16,'Prov. Sumatera Selatan',104.5,107.1,97.6,-2.990833,104.7567), (2008,4,17,'Prov. Bengkulu',110.6,107.2,103.2,-3.795556,102.2592), (2008,4,18,'Prov. Lampung',103.2,104,99.3,-5.429722,105.2625), (2008,4,19,'Prov. Kepulauan Bangka Belitung',94.3,102.3,92.2,-2.1,106.1), (2008,4,21,'Prov. Kepulauan Riau',102.4,103.7,98.7,1.083333,104.4833), (2008,4,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,4,32,'Prov. Jawa Barat',104.5,107.5,97.2,-6.914722,107.6097), (2008,4,33,'Prov. Jawa Tengah',114.7,107.1,107,-6.966667,110.4167), (2008,4,34,'Prov. D I Yogyakarta',109.7,105.8,103.7,-7.801389,110.3644), (2008,4,35,'Prov. Jawa Timur',108.8,107.3,101.4,-7.266667,112.7167), (2008,4,36,'Prov. Banten',113.6,105.5,107.7,-6.12,106.1503), (2008,4,51,'Prov. Bali',103.9,106.1,97.9,-8.65,115.2167), (2008,4,52,'Prov. Nusa Tenggara Barat',111.8,107,104.5,-8.583333,116.1167), (2008,4,53,'Prov. Nusa Tenggara Timur',103.7,103.3,100.3,-10.18333,123.5833), (2008,4,61,'Prov. Kalimantan Barat',99.9,106.4,93.9,-0.0166667,109.3333), (2008,4,62,'Prov. Kalimantan Tengah',101.7,106.2,95.8,-2.21,113.92), (2008,4,63,'Prov. Kalimantan Selatan',105.3,107.8,97.7,-3.314444,114.5925), (2008,4,64,'Prov. Kalimantan Timur',121.9,106.1,114.9,-0.5022222,117.1536), (2008,4,71,'Prov. Sulawesi Utara',111,110.3,100.7,1.493056,124.8414), (2008,4,72,'Prov. Sulawesi Tengah',105.3,110.1,95.6,-0.9,119.8333), (2008,4,73,'Prov. Sulawesi Selatan',105.8,106.5,99.3,-5.133333,119.4167), (2008,4,74,'Prov. Sulawesi Tenggara',100.6,104.8,96,-3.9675,122.5947), (2008,4,75,'Prov. Gorontalo',95.7,107.5,89,0.5333334,123.0667), (2008,4,76,'Prov. Sulawesi Barat',109.3,106,103.1,-2.668611,118.8622), (2008,4,81,'Prov. Maluku',103.8,106.2,97.7,-3.7,128.1667), (2008,4,82,'Prov. Maluku Utara',101.9,106.6,95.6,0.7833334,127.3667), (2008,4,91,'Prov. Papua Barat',104.2,102.6,101.5,-0.8666667,134.0833), (2008,4,94,'Prov. Papua',103,107.9,95.4,-2.533056,140.7169), (2008,5,11,'Prov. Nanggroe Aceh Darussalam',109.2,110.3,98.9,5.55,95.31667), (2008,5,12,'Prov. Sumatera Utara',107.3,108.2,99.2,3.583333,98.66666), (2008,5,13,'Prov. Sumatera Barat',105.3,108.6,96.9,-0.95,100.3531), (2008,5,14,'Prov. Riau',107.3,108.4,98.9,0.4816667,101.4686), (2008,5,15,'Prov. Jambi',105.2,108.6,96.9,-1.589167,103.61), (2008,5,16,'Prov. Sumatera Selatan',109.7,106,103.5,-2.990833,104.7567), (2008,5,17,'Prov. Bengkulu',114.3,109,104.8,-3.795556,102.2592), (2008,5,18,'Prov. Lampung',104.9,106,99,-5.429722,105.2625), (2008,5,19,'Prov. Kepulauan Bangka Belitung',95.4,102.7,92.9,-2.1,106.1), (2008,5,21,'Prov. Kepulauan Riau',102.4,104.1,98.4,1.083333,104.4833), (2008,5,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,5,32,'Prov. Jawa Barat',104.6,108.5,96.4,-6.914722,107.6097), (2008,5,33,'Prov. Jawa Tengah',117.1,109,107.4,-6.966667,110.4167), (2008,5,34,'Prov. D I Yogyakarta',110.6,107.7,102.7,-7.801389,110.3644), (2008,5,35,'Prov. Jawa Timur',109.4,108.3,101.1,-7.266667,112.7167), (2008,5,36,'Prov. Banten',114.9,106.3,108,-6.12,106.1503), (2008,5,51,'Prov. Bali',105.5,106.6,98.9,-8.65,115.2167), (2008,5,52,'Prov. Nusa Tenggara Barat',114.4,106.7,107.2,-8.583333,116.1167), (2008,5,53,'Prov. Nusa Tenggara Timur',105.3,104.3,101,-10.18333,123.5833), (2008,5,61,'Prov. Kalimantan Barat',97.4,106.6,91.3,-0.0166667,109.3333), (2008,5,62,'Prov. Kalimantan Tengah',101.5,107.1,94.8,-2.21,113.92), (2008,5,63,'Prov. Kalimantan Selatan',105,108.5,96.7,-3.314444,114.5925), (2008,5,64,'Prov. Kalimantan Timur',121.6,106.2,114.5,-0.5022222,117.1536), (2008,5,71,'Prov. Sulawesi Utara',111,111.3,99.7,1.493056,124.8414), (2008,5,72,'Prov. Sulawesi Tengah',105.3,112.2,93.9,-0.9,119.8333), (2008,5,73,'Prov. Sulawesi Selatan',105.8,108.2,97.8,-5.133333,119.4167), (2008,5,74,'Prov. Sulawesi Tenggara',100.6,106,95,-3.9675,122.5947), (2008,5,75,'Prov. Gorontalo',97.9,108.5,90.2,0.5333334,123.0667), (2008,5,76,'Prov. Sulawesi Barat',109.9,107.6,102.1,-2.668611,118.8622), (2008,5,81,'Prov. Maluku',98.3,108.1,90.9,-3.7,128.1667), (2008,5,82,'Prov. Maluku Utara',101.7,106.8,95.3,0.7833334,127.3667), (2008,5,91,'Prov. Papua Barat',108.6,105.3,103.2,-0.8666667,134.0833), (2008,5,94,'Prov. Papua',103,107.6,95.7,-2.533056,140.7169), (2008,6,11,'Prov. Nanggroe Aceh Darussalam',110.9,113.9,97.4,5.55,95.31667), (2008,6,12,'Prov. Sumatera Utara',108.9,112.2,97.1,3.583333,98.66666), (2008,6,13,'Prov. Sumatera Barat',106.4,112.1,95,-0.95,100.3531), (2008,6,14,'Prov. Riau',109.5,112.1,97.7,0.4816667,101.4686), (2008,6,15,'Prov. Jambi',105.9,111.4,95,-1.589167,103.61), (2008,6,16,'Prov. Sumatera Selatan',111.8,109.9,101.8,-2.990833,104.7567), (2008,6,17,'Prov. Bengkulu',117,111.9,104.6,-3.795556,102.2592), (2008,6,18,'Prov. Lampung',108.7,108.9,99.8,-5.429722,105.2625), (2008,6,19,'Prov. Kepulauan Bangka Belitung',95.9,103.6,92.6,-2.1,106.1), (2008,6,21,'Prov. Kepulauan Riau',101.8,107.6,94.7,1.083333,104.4833), (2008,6,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,6,32,'Prov. Jawa Barat',106.9,112.1,95.4,-6.914722,107.6097), (2008,6,33,'Prov. Jawa Tengah',118.3,111.7,105.9,-6.966667,110.4167), (2008,6,34,'Prov. D I Yogyakarta',110.4,110,100.4,-7.801389,110.3644), (2008,6,35,'Prov. Jawa Timur',110.6,111.9,98.8,-7.266667,112.7167), (2008,6,36,'Prov. Banten',117.4,110,106.7,-6.12,106.1503), (2008,6,51,'Prov. Bali',107.7,109.7,98.1,-8.65,115.2167), (2008,6,52,'Prov. Nusa Tenggara Barat',116.3,111.2,104.6,-8.583333,116.1167), (2008,6,53,'Prov. Nusa Tenggara Timur',105.8,107.2,98.7,-10.18333,123.5833), (2008,6,61,'Prov. Kalimantan Barat',98.7,108.5,90.9,-0.0166667,109.3333), (2008,6,62,'Prov. Kalimantan Tengah',103.4,110.8,93.3,-2.21,113.92), (2008,6,63,'Prov. Kalimantan Selatan',105.6,110,96,-3.314444,114.5925), (2008,6,64,'Prov. Kalimantan Timur',124.1,109.2,113.7,-0.5022222,117.1536), (2008,6,71,'Prov. Sulawesi Utara',114.2,116.8,97.8,1.493056,124.8414), (2008,6,72,'Prov. Sulawesi Tengah',106.5,115.3,92.3,-0.9,119.8333), (2008,6,73,'Prov. Sulawesi Selatan',108.4,111.3,97.4,-5.133333,119.4167), (2008,6,74,'Prov. Sulawesi Tenggara',101.1,110.1,91.8,-3.9675,122.5947), (2008,6,75,'Prov. Gorontalo',102.3,113.3,90.3,0.5333334,123.0667), (2008,6,76,'Prov. Sulawesi Barat',113.7,111.3,102.1,-2.668611,118.8622), (2008,6,81,'Prov. Maluku',99.2,110.8,89.5,-3.7,128.1667), (2008,6,82,'Prov. Maluku Utara',102.2,108.8,93.9,0.7833334,127.3667), (2008,6,91,'Prov. Papua Barat',117.3,108.7,107.9,-0.8666667,134.0833), (2008,6,94,'Prov. Papua',107.2,111,96.6,-2.533056,140.7169), (2008,7,11,'Prov. Nanggroe Aceh Darussalam',110.7,114.9,96.3,5.55,95.31667), (2008,7,12,'Prov. Sumatera Utara',110,113.9,96.6,3.583333,98.66666), (2008,7,13,'Prov. Sumatera Barat',107.8,113.5,95,-0.95,100.3531), (2008,7,14,'Prov. Riau',110.7,115.1,96.2,0.4816667,101.4686), (2008,7,15,'Prov. Jambi',107.1,112.3,95.4,-1.589167,103.61), (2008,7,16,'Prov. Sumatera Selatan',117.2,111.5,105.1,-2.990833,104.7567), (2008,7,17,'Prov. Bengkulu',117.3,113.4,103.4,-3.795556,102.2592), (2008,7,18,'Prov. Lampung',108.9,110.3,98.8,-5.429722,105.2625), (2008,7,19,'Prov. Kepulauan Bangka Belitung',96.5,105,91.9,-2.1,106.1), (2008,7,21,'Prov. Kepulauan Riau',101.8,108.5,93.8,1.083333,104.4833), (2008,7,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,7,32,'Prov. Jawa Barat',109,113.8,95.7,-6.914722,107.6097), (2008,7,33,'Prov. Jawa Tengah',119.8,113,106,-6.966667,110.4167), (2008,7,34,'Prov. D I Yogyakarta',114.9,112.7,101.9,-7.801389,110.3644), (2008,7,35,'Prov. Jawa Timur',113.3,114.5,99,-7.266667,112.7167), (2008,7,36,'Prov. Banten',118.7,112.1,105.9,-6.12,106.1503), (2008,7,51,'Prov. Bali',108.7,112.8,96.4,-8.65,115.2167), (2008,7,52,'Prov. Nusa Tenggara Barat',118.2,112.3,105.2,-8.583333,116.1167), (2008,7,53,'Prov. Nusa Tenggara Timur',107,108.9,98.2,-10.18333,123.5833), (2008,7,61,'Prov. Kalimantan Barat',98.7,108.9,90.6,-0.0166667,109.3333), (2008,7,62,'Prov. Kalimantan Tengah',104.1,112.2,92.8,-2.21,113.92), (2008,7,63,'Prov. Kalimantan Selatan',107.1,111.4,96.1,-3.314444,114.5925), (2008,7,64,'Prov. Kalimantan Timur',126.7,109.6,115.6,-0.5022222,117.1536), (2008,7,71,'Prov. Sulawesi Utara',114.2,118.6,96.3,1.493056,124.8414), (2008,7,72,'Prov. Sulawesi Tengah',106.7,116.9,91.3,-0.9,119.8333), (2008,7,73,'Prov. Sulawesi Selatan',109.3,112.5,97.2,-5.133333,119.4167), (2008,7,74,'Prov. Sulawesi Tenggara',101.6,111.5,91.1,-3.9675,122.5947), (2008,7,75,'Prov. Gorontalo',106.6,115.5,92.3,0.5333334,123.0667), (2008,7,76,'Prov. Sulawesi Barat',114.3,113.6,100.7,-2.668611,118.8622), (2008,7,81,'Prov. Maluku',99.7,111.3,89.6,-3.7,128.1667), (2008,7,82,'Prov. Maluku Utara',103.3,109.2,94.6,0.7833334,127.3667), (2008,7,91,'Prov. Papua Barat',117.7,110.8,106.2,-0.8666667,134.0833), (2008,7,94,'Prov. Papua',110.4,114,96.9,-2.533056,140.7169), (2008,8,11,'Prov. Nanggroe Aceh Darussalam',111,115.3,96.2,5.55,95.31667), (2008,8,12,'Prov. Sumatera Utara',111.2,114.6,97,3.583333,98.66666), (2008,8,13,'Prov. Sumatera Barat',108.2,113.9,95,-0.95,100.3531), (2008,8,14,'Prov. Riau',110.7,115.2,96.1,0.4816667,101.4686), (2008,8,15,'Prov. Jambi',107.1,112.9,94.9,-1.589167,103.61), (2008,8,16,'Prov. Sumatera Selatan',118,112,105.3,-2.990833,104.7567), (2008,8,17,'Prov. Bengkulu',118.2,114.3,103.4,-3.795556,102.2592), (2008,8,18,'Prov. Lampung',109.3,110.5,98.9,-5.429722,105.2625), (2008,8,19,'Prov. Kepulauan Bangka Belitung',97.3,105.3,92.3,-2.1,106.1), (2008,8,21,'Prov. Kepulauan Riau',102.7,109.3,94,1.083333,104.4833), (2008,8,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,8,32,'Prov. Jawa Barat',109.1,114.6,95.2,-6.914722,107.6097), (2008,8,33,'Prov. Jawa Tengah',120.5,113.6,106,-6.966667,110.4167), (2008,8,34,'Prov. D I Yogyakarta',115.2,113.9,101.1,-7.801389,110.3644), (2008,8,35,'Prov. Jawa Timur',115.9,115.5,100.4,-7.266667,112.7167), (2008,8,36,'Prov. Banten',119.7,113.3,105.7,-6.12,106.1503), (2008,8,51,'Prov. Bali',111.1,114.5,97,-8.65,115.2167), (2008,8,52,'Prov. Nusa Tenggara Barat',118.4,112.4,105.3,-8.583333,116.1167), (2008,8,53,'Prov. Nusa Tenggara Timur',107.1,109.2,98,-10.18333,123.5833), (2008,8,61,'Prov. Kalimantan Barat',99.1,109.2,90.7,-0.0166667,109.3333), (2008,8,62,'Prov. Kalimantan Tengah',104.2,112.2,92.9,-2.21,113.92), (2008,8,63,'Prov. Kalimantan Selatan',108,111.3,97,-3.314444,114.5925), (2008,8,64,'Prov. Kalimantan Timur',128.4,109.8,116.9,-0.5022222,117.1536), (2008,8,71,'Prov. Sulawesi Utara',114.2,119.7,95.5,1.493056,124.8414), (2008,8,72,'Prov. Sulawesi Tengah',107,116.9,91.5,-0.9,119.8333), (2008,8,73,'Prov. Sulawesi Selatan',109.9,113.1,97.1,-5.133333,119.4167), (2008,8,74,'Prov. Sulawesi Tenggara',101.6,111.2,91.3,-3.9675,122.5947), (2008,8,75,'Prov. Gorontalo',107.2,115.9,92.5,0.5333334,123.0667), (2008,8,76,'Prov. Sulawesi Barat',115.7,114.5,101.1,-2.668611,118.8622), (2008,8,81,'Prov. Maluku',99.4,111.9,88.9,-3.7,128.1667), (2008,8,82,'Prov. Maluku Utara',103.3,109.2,94.6,0.7833334,127.3667), (2008,8,91,'Prov. Papua Barat',117.7,112.1,105,-0.8666667,134.0833), (2008,8,94,'Prov. Papua',111.7,114.6,97.5,-2.533056,140.7169), (2008,9,11,'Prov. Nanggroe Aceh Darussalam',112.1,116.1,96.6,5.55,95.31667), (2008,9,12,'Prov. Sumatera Utara',112,115.1,97.3,3.583333,98.66666), (2008,9,13,'Prov. Sumatera Barat',108.3,114.4,94.7,-0.95,100.3531), (2008,9,14,'Prov. Riau',113.4,115.3,98.4,0.4816667,101.4686), (2008,9,15,'Prov. Jambi',108.8,113.9,95.5,-1.589167,103.61), (2008,9,16,'Prov. Sumatera Selatan',118,113.1,104.3,-2.990833,104.7567), (2008,9,17,'Prov. Bengkulu',124,114.8,108,-3.795556,102.2592), (2008,9,18,'Prov. Lampung',113.5,111.2,102,-5.429722,105.2625), (2008,9,19,'Prov. Kepulauan Bangka Belitung',97.4,105.2,92.7,-2.1,106.1), (2008,9,21,'Prov. Kepulauan Riau',102.7,109.6,93.7,1.083333,104.4833), (2008,9,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,9,32,'Prov. Jawa Barat',115.7,116.8,99,-6.914722,107.6097), (2008,9,33,'Prov. Jawa Tengah',125.4,114.1,110,-6.966667,110.4167), (2008,9,34,'Prov. D I Yogyakarta',118,115.7,101.9,-7.801389,110.3644), (2008,9,35,'Prov. Jawa Timur',118.1,116.5,101.4,-7.266667,112.7167), (2008,9,36,'Prov. Banten',125.7,114,110.3,-6.12,106.1503), (2008,9,51,'Prov. Bali',112.5,115.8,97.1,-8.65,115.2167), (2008,9,52,'Prov. Nusa Tenggara Barat',120.5,113.7,106,-8.583333,116.1167), (2008,9,53,'Prov. Nusa Tenggara Timur',111.5,110,101.4,-10.18333,123.5833), (2008,9,61,'Prov. Kalimantan Barat',99.6,109.9,90.6,-0.0166667,109.3333), (2008,9,62,'Prov. Kalimantan Tengah',104.6,111.9,93.4,-2.21,113.92), (2008,9,63,'Prov. Kalimantan Selatan',111.5,112.5,99.1,-3.314444,114.5925), (2008,9,64,'Prov. Kalimantan Timur',132.8,110.4,120.3,-0.5022222,117.1536), (2008,9,71,'Prov. Sulawesi Utara',114.7,119.9,95.7,1.493056,124.8414), (2008,9,72,'Prov. Sulawesi Tengah',107.4,117.6,91.3,-0.9,119.8333), (2008,9,73,'Prov. Sulawesi Selatan',110.9,114.3,97.1,-5.133333,119.4167), (2008,9,74,'Prov. Sulawesi Tenggara',104.9,114,92,-3.9675,122.5947), (2008,9,75,'Prov. Gorontalo',112.1,116.1,96.6,0.5333334,123.0667), (2008,9,76,'Prov. Sulawesi Barat',119.6,115.6,103.5,-2.668611,118.8622), (2008,9,81,'Prov. Maluku',100.1,112.8,88.7,-3.7,128.1667), (2008,9,82,'Prov. Maluku Utara',105.1,110.2,95.4,0.7833334,127.3667), (2008,9,91,'Prov. Papua Barat',123.3,113.1,109,-0.8666667,134.0833), (2008,9,94,'Prov. Papua',112.5,114.6,98.2,-2.533056,140.7169), (2008,10,11,'Prov. Nanggroe Aceh Darussalam',111.9,116.1,96.4,5.55,95.31667), (2008,10,12,'Prov. Sumatera Utara',113,115.7,97.7,3.583333,98.66666), (2008,10,13,'Prov. Sumatera Barat',108.8,114.5,95,-0.95,100.3531), (2008,10,14,'Prov. Riau',113.4,116.2,97.6,0.4816667,101.4686), (2008,10,15,'Prov. Jambi',108.8,114.5,95,-1.589167,103.61), (2008,10,16,'Prov. Sumatera Selatan',117.8,113.1,104.2,-2.990833,104.7567), (2008,10,17,'Prov. Bengkulu',124.3,114.8,108.2,-3.795556,102.2592), (2008,10,18,'Prov. Lampung',113.5,110.7,102.5,-5.429722,105.2625), (2008,10,19,'Prov. Kepulauan Bangka Belitung',98.9,105.5,93.7,-2.1,106.1), (2008,10,21,'Prov. Kepulauan Riau',102.7,109.6,93.7,1.083333,104.4833), (2008,10,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,10,32,'Prov. Jawa Barat',115.7,117.2,98.7,-6.914722,107.6097), (2008,10,33,'Prov. Jawa Tengah',127.7,114.2,111.8,-6.966667,110.4167), (2008,10,34,'Prov. D I Yogyakarta',122.7,116.1,105.7,-7.801389,110.3644), (2008,10,35,'Prov. Jawa Timur',118.9,117.7,101,-7.266667,112.7167), (2008,10,36,'Prov. Banten',126.3,115,109.8,-6.12,106.1503), (2008,10,51,'Prov. Bali',114.2,116.7,97.9,-8.65,115.2167), (2008,10,52,'Prov. Nusa Tenggara Barat',121.2,114.3,106,-8.583333,116.1167), (2008,10,53,'Prov. Nusa Tenggara Timur',111.3,110.8,100.5,-10.18333,123.5833), (2008,10,61,'Prov. Kalimantan Barat',101.1,110.4,91.6,-0.0166667,109.3333), (2008,10,62,'Prov. Kalimantan Tengah',105.1,112.8,93.2,-2.21,113.92), (2008,10,63,'Prov. Kalimantan Selatan',111.9,113.9,98.3,-3.314444,114.5925), (2008,10,64,'Prov. Kalimantan Timur',132.7,110.7,119.9,-0.5022222,117.1536), (2008,10,71,'Prov. Sulawesi Utara',114.7,119.6,95.9,1.493056,124.8414), (2008,10,72,'Prov. Sulawesi Tengah',107.8,118.1,91.2,-0.9,119.8333), (2008,10,73,'Prov. Sulawesi Selatan',112.2,114.9,97.6,-5.133333,119.4167), (2008,10,74,'Prov. Sulawesi Tenggara',105.2,115.4,91.2,-3.9675,122.5947), (2008,10,75,'Prov. Gorontalo',112.4,115.6,97.3,0.5333334,123.0667), (2008,10,76,'Prov. Sulawesi Barat',121.6,117.1,103.9,-2.668611,118.8622), (2008,10,81,'Prov. Maluku',100.2,114.5,87.5,-3.7,128.1667), (2008,10,82,'Prov. Maluku Utara',105.2,110.5,95.2,0.7833334,127.3667), (2008,10,91,'Prov. Papua Barat',129.2,113.5,113.8,-0.8666667,134.0833), (2008,10,94,'Prov. Papua',112.9,114.8,98.3,-2.533056,140.7169), (2008,11,11,'Prov. Nanggroe Aceh Darussalam',112.9,116.4,97,5.55,95.31667), (2008,11,12,'Prov. Sumatera Utara',113.7,115.7,98.2,3.583333,98.66666), (2008,11,13,'Prov. Sumatera Barat',108.8,115,94.7,-0.95,100.3531), (2008,11,14,'Prov. Riau',116.1,116.2,99.9,0.4816667,101.4686), (2008,11,15,'Prov. Jambi',108.5,114.7,94.6,-1.589167,103.61), (2008,11,16,'Prov. Sumatera Selatan',118.6,113.8,104.2,-2.990833,104.7567), (2008,11,17,'Prov. Bengkulu',124.7,115.1,108.3,-3.795556,102.2592), (2008,11,18,'Prov. Lampung',112.7,110.3,102.2,-5.429722,105.2625), (2008,11,19,'Prov. Kepulauan Bangka Belitung',94.8,105.3,90.1,-2.1,106.1), (2008,11,21,'Prov. Kepulauan Riau',103.2,109.7,94,1.083333,104.4833), (2008,11,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,11,32,'Prov. Jawa Barat',116.9,117.8,99.2,-6.914722,107.6097), (2008,11,33,'Prov. Jawa Tengah',130.6,114.4,114.2,-6.966667,110.4167), (2008,11,34,'Prov. D I Yogyakarta',124.3,116.8,106.4,-7.801389,110.3644), (2008,11,35,'Prov. Jawa Timur',121.3,117.8,102.9,-7.266667,112.7167), (2008,11,36,'Prov. Banten',127.5,115.5,110.4,-6.12,106.1503), (2008,11,51,'Prov. Bali',114.2,116.7,97.8,-8.65,115.2167), (2008,11,52,'Prov. Nusa Tenggara Barat',121.9,114.7,106.3,-8.583333,116.1167), (2008,11,53,'Prov. Nusa Tenggara Timur',112.4,111.4,101,-10.18333,123.5833), (2008,11,61,'Prov. Kalimantan Barat',99.5,110.4,90.1,-0.0166667,109.3333), (2008,11,62,'Prov. Kalimantan Tengah',105,113.1,92.8,-2.21,113.92), (2008,11,63,'Prov. Kalimantan Selatan',112.2,113.8,98.7,-3.314444,114.5925), (2008,11,64,'Prov. Kalimantan Timur',130.7,110.7,118.1,-0.5022222,117.1536), (2008,11,71,'Prov. Sulawesi Utara',114.7,118.7,96.6,1.493056,124.8414), (2008,11,72,'Prov. Sulawesi Tengah',107.6,117.8,91.3,-0.9,119.8333), (2008,11,73,'Prov. Sulawesi Selatan',112.4,115.3,97.5,-5.133333,119.4167), (2008,11,74,'Prov. Sulawesi Tenggara',105.4,115.1,91.5,-3.9675,122.5947), (2008,11,75,'Prov. Gorontalo',113.9,115,99,0.5333334,123.0667), (2008,11,76,'Prov. Sulawesi Barat',123.1,117.2,105,-2.668611,118.8622), (2008,11,81,'Prov. Maluku',101.8,114,89.3,-3.7,128.1667), (2008,11,82,'Prov. Maluku Utara',107.2,110.8,96.8,0.7833334,127.3667), (2008,11,91,'Prov. Papua Barat',127.8,113.6,112.5,-0.8666667,134.0833), (2008,11,94,'Prov. Papua',112.6,114.6,98.3,-2.533056,140.7169), (2008,12,11,'Prov. Nanggroe Aceh Darussalam',112.8,116.8,96.6,5.55,95.31667), (2008,12,12,'Prov. Sumatera Utara',114.3,116.3,98.3,3.583333,98.66666), (2008,12,13,'Prov. Sumatera Barat',108.6,115,94.4,-0.95,100.3531), (2008,12,14,'Prov. Riau',117,117.5,99.6,0.4816667,101.4686), (2008,12,15,'Prov. Jambi',108.4,114.9,94.4,-1.589167,103.61), (2008,12,16,'Prov. Sumatera Selatan',118.9,113.6,104.7,-2.990833,104.7567), (2008,12,17,'Prov. Bengkulu',126.7,115.7,109.5,-3.795556,102.2592), (2008,12,18,'Prov. Lampung',114.3,110.9,103.1,-5.429722,105.2625), (2008,12,19,'Prov. Kepulauan Bangka Belitung',97.6,105.4,92.6,-2.1,106.1), (2008,12,21,'Prov. Kepulauan Riau',103.3,110.5,93.5,1.083333,104.4833), (2008,12,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2008,12,32,'Prov. Jawa Barat',119.5,118.4,100.9,-6.914722,107.6097), (2008,12,33,'Prov. Jawa Tengah',135,114.8,117.6,-6.966667,110.4167), (2008,12,34,'Prov. D I Yogyakarta',123.7,116.5,106.2,-7.801389,110.3644), (2008,12,35,'Prov. Jawa Timur',123.5,118.3,104.4,-7.266667,112.7167), (2008,12,36,'Prov. Banten',128.5,116.8,110.1,-6.12,106.1503), (2008,12,51,'Prov. Bali',114.8,117.4,97.8,-8.65,115.2167), (2008,12,52,'Prov. Nusa Tenggara Barat',122.9,115.1,106.8,-8.583333,116.1167), (2008,12,53,'Prov. Nusa Tenggara Timur',114.1,112.2,101.8,-10.18333,123.5833), (2008,12,61,'Prov. Kalimantan Barat',101,110.9,91.1,-0.0166667,109.3333), (2008,12,62,'Prov. Kalimantan Tengah',105.3,112.8,93.3,-2.21,113.92), (2008,12,63,'Prov. Kalimantan Selatan',113.8,114.1,99.7,-3.314444,114.5925), (2008,12,64,'Prov. Kalimantan Timur',134.4,111.4,120.6,-0.5022222,117.1536), (2008,12,71,'Prov. Sulawesi Utara',117,119.1,98.2,1.493056,124.8414), (2008,12,72,'Prov. Sulawesi Tengah',111.4,119,93.6,-0.9,119.8333), (2008,12,73,'Prov. Sulawesi Selatan',114.4,115.9,98.7,-5.133333,119.4167), (2008,12,74,'Prov. Sulawesi Tenggara',105.4,115.4,91.4,-3.9675,122.5947), (2008,12,75,'Prov. Gorontalo',113.8,115.5,98.5,0.5333334,123.0667), (2008,12,76,'Prov. Sulawesi Barat',125.3,117.9,106.3,-2.668611,118.8622), (2008,12,81,'Prov. Maluku',103.2,113,91.3,-3.7,128.1667), (2008,12,82,'Prov. Maluku Utara',108.3,110.6,98,0.7833334,127.3667), (2008,12,91,'Prov. Papua Barat',128,113.3,113,-0.8666667,134.0833), (2008,12,94,'Prov. Papua',112.6,114.6,98.3,-2.533056,140.7169), (2009,1,11,'Prov. Nanggroe Aceh Darussalam',112.9,117.1,96.4,5.55,95.31667), (2009,1,12,'Prov. Sumatera Utara',114.2,116.2,98.2,3.583333,98.66666), (2009,1,13,'Prov. Sumatera Barat',108.5,114.4,94.8,-0.95,100.3531), (2009,1,14,'Prov. Riau',118,117.9,100.1,0.4816667,101.4686), (2009,1,15,'Prov. Jambi',108.4,114.8,94.4,-1.589167,103.61), (2009,1,16,'Prov. Sumatera Selatan',118.2,112.9,104.8,-2.990833,104.7567), (2009,1,17,'Prov. Bengkulu',125.3,117.4,106.7,-3.795556,102.2592), (2009,1,18,'Prov. Lampung',114.7,111.6,102.8,-5.429722,105.2625), (2009,1,19,'Prov. Kepulauan Bangka Belitung',97.2,105.6,92,-2.1,106.1), (2009,1,21,'Prov. Kepulauan Riau',103.3,110.8,93.2,1.083333,104.4833), (2009,1,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,1,32,'Prov. Jawa Barat',118.5,119.2,99.5,-6.914722,107.6097), (2009,1,33,'Prov. Jawa Tengah',134,115.3,116.3,-6.966667,110.4167), (2009,1,34,'Prov. D I Yogyakarta',126,117.5,107.2,-7.801389,110.3644), (2009,1,35,'Prov. Jawa Timur',124.8,118.2,105.6,-7.266667,112.7167), (2009,1,36,'Prov. Banten',124.8,117.5,106.2,-6.12,106.1503), (2009,1,51,'Prov. Bali',114,117.6,96.9,-8.65,115.2167), (2009,1,52,'Prov. Nusa Tenggara Barat',124.7,115.6,107.9,-8.583333,116.1167), (2009,1,53,'Prov. Nusa Tenggara Timur',117.1,114,102.8,-10.18333,123.5833), (2009,1,61,'Prov. Kalimantan Barat',100.7,111.8,90.1,-0.0166667,109.3333), (2009,1,62,'Prov. Kalimantan Tengah',106,112.9,93.9,-2.21,113.92), (2009,1,63,'Prov. Kalimantan Selatan',114.7,114.3,100.4,-3.314444,114.5925), (2009,1,64,'Prov. Kalimantan Timur',132.7,111.4,119.2,-0.5022222,117.1536), (2009,1,71,'Prov. Sulawesi Utara',117,118.9,98.4,1.493056,124.8414), (2009,1,72,'Prov. Sulawesi Tengah',111.7,119.6,93.4,-0.9,119.8333), (2009,1,73,'Prov. Sulawesi Selatan',115.2,116.5,98.9,-5.133333,119.4167), (2009,1,74,'Prov. Sulawesi Tenggara',106.2,116.3,91.3,-3.9675,122.5947), (2009,1,75,'Prov. Gorontalo',114.3,117.1,97.6,0.5333334,123.0667), (2009,1,76,'Prov. Sulawesi Barat',125.6,118.4,106,-2.668611,118.8622), (2009,1,81,'Prov. Maluku',102.5,113,90.7,-3.7,128.1667), (2009,1,82,'Prov. Maluku Utara',109.1,111,98.3,0.7833334,127.3667), (2009,1,91,'Prov. Papua Barat',128,112.7,113.6,-0.8666667,134.0833), (2009,1,94,'Prov. Papua',113.8,115,99,-2.533056,140.7169), (2009,2,11,'Prov. Nanggroe Aceh Darussalam',112.9,117.2,96.3,5.55,95.31667), (2009,2,12,'Prov. Sumatera Utara',116.6,116.3,100.3,3.583333,98.66666), (2009,2,13,'Prov. Sumatera Barat',108.8,114.7,94.9,-0.95,100.3531), (2009,2,14,'Prov. Riau',119.8,118.3,101.2,0.4816667,101.4686), (2009,2,15,'Prov. Jambi',109.4,114.8,95.2,-1.589167,103.61), (2009,2,16,'Prov. Sumatera Selatan',117.8,113.5,103.8,-2.990833,104.7567), (2009,2,17,'Prov. Bengkulu',125.5,117.6,106.7,-3.795556,102.2592), (2009,2,18,'Prov. Lampung',116.9,112.4,104,-5.429722,105.2625), (2009,2,19,'Prov. Kepulauan Bangka Belitung',97.1,105.5,92,-2.1,106.1), (2009,2,21,'Prov. Kepulauan Riau',103.3,111,93,1.083333,104.4833), (2009,2,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,2,32,'Prov. Jawa Barat',117.4,120.4,97.5,-6.914722,107.6097), (2009,2,33,'Prov. Jawa Tengah',136,116.5,116.7,-6.966667,110.4167), (2009,2,34,'Prov. D I Yogyakarta',126.4,118.1,107,-7.801389,110.3644), (2009,2,35,'Prov. Jawa Timur',127,119.2,106.6,-7.266667,112.7167), (2009,2,36,'Prov. Banten',123.5,118.6,104.2,-6.12,106.1503), (2009,2,51,'Prov. Bali',113.9,118.5,96.1,-8.65,115.2167), (2009,2,52,'Prov. Nusa Tenggara Barat',125.8,116,108.5,-8.583333,116.1167), (2009,2,53,'Prov. Nusa Tenggara Timur',116.5,114.2,102,-10.18333,123.5833), (2009,2,61,'Prov. Kalimantan Barat',100.2,113.9,88,-0.0166667,109.3333), (2009,2,62,'Prov. Kalimantan Tengah',107.3,113.1,94.9,-2.21,113.92), (2009,2,63,'Prov. Kalimantan Selatan',114.4,114.5,99.9,-3.314444,114.5925), (2009,2,64,'Prov. Kalimantan Timur',132.7,111.7,118.8,-0.5022222,117.1536), (2009,2,71,'Prov. Sulawesi Utara',117.4,120.2,97.7,1.493056,124.8414), (2009,2,72,'Prov. Sulawesi Tengah',112.2,120.2,93.4,-0.9,119.8333), (2009,2,73,'Prov. Sulawesi Selatan',114,117.3,97.1,-5.133333,119.4167), (2009,2,74,'Prov. Sulawesi Tenggara',106.8,117.3,91,-3.9675,122.5947), (2009,2,75,'Prov. Gorontalo',113.3,118.9,95.3,0.5333334,123.0667), (2009,2,76,'Prov. Sulawesi Barat',127,118.9,106.8,-2.668611,118.8622), (2009,2,81,'Prov. Maluku',102.7,113.2,90.7,-3.7,128.1667), (2009,2,82,'Prov. Maluku Utara',109.8,109.9,99.9,0.7833334,127.3667), (2009,2,91,'Prov. Papua Barat',128.1,112.2,114.2,-0.8666667,134.0833), (2009,2,94,'Prov. Papua',113.2,114.8,98.6,-2.533056,140.7169), (2009,3,11,'Prov. Nanggroe Aceh Darussalam',113.7,117.5,96.8,5.55,95.31667), (2009,3,12,'Prov. Sumatera Utara',115.9,116.4,99.6,3.583333,98.66666), (2009,3,13,'Prov. Sumatera Barat',109.1,114.6,95.2,-0.95,100.3531), (2009,3,14,'Prov. Riau',120.4,119,101.2,0.4816667,101.4686), (2009,3,15,'Prov. Jambi',109.3,114.9,95.1,-1.589167,103.61), (2009,3,16,'Prov. Sumatera Selatan',118.2,113.8,103.8,-2.990833,104.7567), (2009,3,17,'Prov. Bengkulu',126.8,117.6,107.9,-3.795556,102.2592), (2009,3,18,'Prov. Lampung',116.7,112.4,103.9,-5.429722,105.2625), (2009,3,19,'Prov. Kepulauan Bangka Belitung',97,105.6,91.8,-2.1,106.1), (2009,3,21,'Prov. Kepulauan Riau',103.3,110.9,93.1,1.083333,104.4833), (2009,3,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,3,32,'Prov. Jawa Barat',117.6,120.9,97.2,-6.914722,107.6097), (2009,3,33,'Prov. Jawa Tengah',135.7,116.5,116.5,-6.966667,110.4167), (2009,3,34,'Prov. D I Yogyakarta',125.7,118,106.6,-7.801389,110.3644), (2009,3,35,'Prov. Jawa Timur',127.5,119.8,106.4,-7.266667,112.7167), (2009,3,36,'Prov. Banten',123.8,118.3,104.7,-6.12,106.1503), (2009,3,51,'Prov. Bali',115.7,119.4,96.9,-8.65,115.2167), (2009,3,52,'Prov. Nusa Tenggara Barat',127.1,116.7,109,-8.583333,116.1167), (2009,3,53,'Prov. Nusa Tenggara Timur',119.1,114.1,104.4,-10.18333,123.5833), (2009,3,61,'Prov. Kalimantan Barat',100.3,114.1,87.9,-0.0166667,109.3333), (2009,3,62,'Prov. Kalimantan Tengah',108.1,113.5,95.2,-2.21,113.92), (2009,3,63,'Prov. Kalimantan Selatan',116.9,114.5,102.2,-3.314444,114.5925), (2009,3,64,'Prov. Kalimantan Timur',132.7,112.2,118.3,-0.5022222,117.1536), (2009,3,71,'Prov. Sulawesi Utara',117.4,120.4,97.5,1.493056,124.8414), (2009,3,72,'Prov. Sulawesi Tengah',112.6,120.8,93.2,-0.9,119.8333), (2009,3,73,'Prov. Sulawesi Selatan',114.7,117.7,97.5,-5.133333,119.4167), (2009,3,74,'Prov. Sulawesi Tenggara',107.5,118.8,90.5,-3.9675,122.5947), (2009,3,75,'Prov. Gorontalo',111.7,119.9,93.2,0.5333334,123.0667), (2009,3,76,'Prov. Sulawesi Barat',126.3,119.9,105.4,-2.668611,118.8622), (2009,3,81,'Prov. Maluku',103.3,113.6,90.9,-3.7,128.1667), (2009,3,82,'Prov. Maluku Utara',110,111,99,0.7833334,127.3667), (2009,3,91,'Prov. Papua Barat',128,112.4,113.9,-0.8666667,134.0833), (2009,3,94,'Prov. Papua',113.4,115.1,98.5,-2.533056,140.7169), (2009,4,11,'Prov. Nanggroe Aceh Darussalam',114,117.2,97.2,5.55,95.31667), (2009,4,12,'Prov. Sumatera Utara',116.1,116.6,99.6,3.583333,98.66666), (2009,4,13,'Prov. Sumatera Barat',108.9,114.6,95,-0.95,100.3531), (2009,4,14,'Prov. Riau',120.2,119.2,100.9,0.4816667,101.4686), (2009,4,15,'Prov. Jambi',109.7,113.9,96.3,-1.589167,103.61), (2009,4,16,'Prov. Sumatera Selatan',117.1,113.4,103.2,-2.990833,104.7567), (2009,4,17,'Prov. Bengkulu',127.1,117.9,107.9,-3.795556,102.2592), (2009,4,18,'Prov. Lampung',117.4,111.5,105.3,-5.429722,105.2625), (2009,4,19,'Prov. Kepulauan Bangka Belitung',98.2,106.1,92.6,-2.1,106.1), (2009,4,21,'Prov. Kepulauan Riau',103.6,110.9,93.5,1.083333,104.4833), (2009,4,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,4,32,'Prov. Jawa Barat',118.4,121,97.9,-6.914722,107.6097), (2009,4,33,'Prov. Jawa Tengah',133.9,116.1,115.3,-6.966667,110.4167), (2009,4,34,'Prov. D I Yogyakarta',125.2,117.5,106.5,-7.801389,110.3644), (2009,4,35,'Prov. Jawa Timur',127.6,119.2,107,-7.266667,112.7167), (2009,4,36,'Prov. Banten',124.5,118.4,105.2,-6.12,106.1503), (2009,4,51,'Prov. Bali',111.9,118.7,94.3,-8.65,115.2167), (2009,4,52,'Prov. Nusa Tenggara Barat',128.5,116.1,110.7,-8.583333,116.1167), (2009,4,53,'Prov. Nusa Tenggara Timur',120.8,114.2,105.8,-10.18333,123.5833), (2009,4,61,'Prov. Kalimantan Barat',100.6,114,88.2,-0.0166667,109.3333), (2009,4,62,'Prov. Kalimantan Tengah',108.2,113.8,95,-2.21,113.92), (2009,4,63,'Prov. Kalimantan Selatan',116.4,113.8,102.3,-3.314444,114.5925), (2009,4,64,'Prov. Kalimantan Timur',133.2,112.8,118.1,-0.5022222,117.1536), (2009,4,71,'Prov. Sulawesi Utara',117.4,120.2,97.7,1.493056,124.8414), (2009,4,72,'Prov. Sulawesi Tengah',110.6,120.4,91.9,-0.9,119.8333), (2009,4,73,'Prov. Sulawesi Selatan',115.1,118.8,96.9,-5.133333,119.4167), (2009,4,74,'Prov. Sulawesi Tenggara',107.6,118.7,90.6,-3.9675,122.5947), (2009,4,75,'Prov. Gorontalo',109.7,120.4,91.1,0.5333334,123.0667), (2009,4,76,'Prov. Sulawesi Barat',126.4,120.2,105.2,-2.668611,118.8622), (2009,4,81,'Prov. Maluku',105.1,113.5,92.5,-3.7,128.1667), (2009,4,82,'Prov. Maluku Utara',107.7,111.7,96.4,0.7833334,127.3667), (2009,4,91,'Prov. Papua Barat',128,113.3,113,-0.8666667,134.0833), (2009,4,94,'Prov. Papua',113.7,115.2,98.7,-2.533056,140.7169), (2009,5,11,'Prov. Nanggroe Aceh Darussalam',114,116.9,97.6,5.55,95.31667), (2009,5,12,'Prov. Sumatera Utara',116.3,116.9,99.5,3.583333,98.66666), (2009,5,13,'Prov. Sumatera Barat',108.8,114.5,95,-0.95,100.3531), (2009,5,14,'Prov. Riau',120.2,119.3,100.7,0.4816667,101.4686), (2009,5,15,'Prov. Jambi',109.7,114.6,95.7,-1.589167,103.61), (2009,5,16,'Prov. Sumatera Selatan',117.3,113.4,103.4,-2.990833,104.7567), (2009,5,17,'Prov. Bengkulu',126.9,118.3,107.2,-3.795556,102.2592), (2009,5,18,'Prov. Lampung',118.7,111.3,106.7,-5.429722,105.2625), (2009,5,19,'Prov. Kepulauan Bangka Belitung',98.3,105.8,92.9,-2.1,106.1), (2009,5,21,'Prov. Kepulauan Riau',103.6,110.9,93.5,1.083333,104.4833), (2009,5,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,5,32,'Prov. Jawa Barat',119,121.6,97.9,-6.914722,107.6097), (2009,5,33,'Prov. Jawa Tengah',134.9,116.3,115.9,-6.966667,110.4167), (2009,5,34,'Prov. D I Yogyakarta',125.4,117.6,106.7,-7.801389,110.3644), (2009,5,35,'Prov. Jawa Timur',127.2,119.4,106.5,-7.266667,112.7167), (2009,5,36,'Prov. Banten',124.3,118.3,105,-6.12,106.1503), (2009,5,51,'Prov. Bali',112.1,118.6,94.5,-8.65,115.2167), (2009,5,52,'Prov. Nusa Tenggara Barat',129.3,116.4,111,-8.583333,116.1167), (2009,5,53,'Prov. Nusa Tenggara Timur',121.6,113.7,107,-10.18333,123.5833), (2009,5,61,'Prov. Kalimantan Barat',100.6,114.2,88.1,-0.0166667,109.3333), (2009,5,62,'Prov. Kalimantan Tengah',108.5,113.6,95.5,-2.21,113.92), (2009,5,63,'Prov. Kalimantan Selatan',116.8,113.2,103.2,-3.314444,114.5925), (2009,5,64,'Prov. Kalimantan Timur',133.2,113.1,117.8,-0.5022222,117.1536), (2009,5,71,'Prov. Sulawesi Utara',118,120.1,98.3,1.493056,124.8414), (2009,5,72,'Prov. Sulawesi Tengah',111,120.2,92.4,-0.9,119.8333), (2009,5,73,'Prov. Sulawesi Selatan',115.1,118.8,96.9,-5.133333,119.4167), (2009,5,74,'Prov. Sulawesi Tenggara',108.7,119.1,91.3,-3.9675,122.5947), (2009,5,75,'Prov. Gorontalo',109.5,119.3,91.8,0.5333334,123.0667), (2009,5,76,'Prov. Sulawesi Barat',126.6,120.1,105.4,-2.668611,118.8622), (2009,5,81,'Prov. Maluku',105.1,113.9,92.3,-3.7,128.1667), (2009,5,82,'Prov. Maluku Utara',107.7,111.6,96.4,0.7833334,127.3667), (2009,5,91,'Prov. Papua Barat',128.6,113.1,113.7,-0.8666667,134.0833), (2009,5,94,'Prov. Papua',114.5,115.4,99.2,-2.533056,140.7169), (2009,6,11,'Prov. Nanggroe Aceh Darussalam',114.4,116.7,98.1,5.55,95.31667), (2009,6,12,'Prov. Sumatera Utara',116.7,117.2,99.6,3.583333,98.66666), (2009,6,13,'Prov. Sumatera Barat',109.4,114.4,95.6,-0.95,100.3531), (2009,6,14,'Prov. Riau',119.3,120.4,99.1,0.4816667,101.4686), (2009,6,15,'Prov. Jambi',110.6,114,97,-1.589167,103.61), (2009,6,16,'Prov. Sumatera Selatan',117.5,113.3,103.7,-2.990833,104.7567), (2009,6,17,'Prov. Bengkulu',127.9,118.9,107.6,-3.795556,102.2592), (2009,6,18,'Prov. Lampung',119.1,112.2,106.1,-5.429722,105.2625), (2009,6,19,'Prov. Kepulauan Bangka Belitung',98.6,105.9,93.1,-2.1,106.1), (2009,6,21,'Prov. Kepulauan Riau',103.6,111.2,93.2,1.083333,104.4833), (2009,6,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,6,32,'Prov. Jawa Barat',120.2,122.1,98.4,-6.914722,107.6097), (2009,6,33,'Prov. Jawa Tengah',134.3,117,114.8,-6.966667,110.4167), (2009,6,34,'Prov. D I Yogyakarta',126.7,118.2,107.1,-7.801389,110.3644), (2009,6,35,'Prov. Jawa Timur',128,120.5,106.2,-7.266667,112.7167), (2009,6,36,'Prov. Banten',124.6,118.3,105.3,-6.12,106.1503), (2009,6,51,'Prov. Bali',111.6,119,93.8,-8.65,115.2167), (2009,6,52,'Prov. Nusa Tenggara Barat',131.9,117,112.7,-8.583333,116.1167), (2009,6,53,'Prov. Nusa Tenggara Timur',123.4,113.1,109.1,-10.18333,123.5833), (2009,6,61,'Prov. Kalimantan Barat',100.6,114.4,87.9,-0.0166667,109.3333), (2009,6,62,'Prov. Kalimantan Tengah',108.7,113.8,95.5,-2.21,113.92), (2009,6,63,'Prov. Kalimantan Selatan',116.7,113,103.2,-3.314444,114.5925), (2009,6,64,'Prov. Kalimantan Timur',133.6,113.2,118,-0.5022222,117.1536), (2009,6,71,'Prov. Sulawesi Utara',118.8,120.1,98.9,1.493056,124.8414), (2009,6,72,'Prov. Sulawesi Tengah',113,120.8,93.5,-0.9,119.8333), (2009,6,73,'Prov. Sulawesi Selatan',115.5,118.4,97.5,-5.133333,119.4167), (2009,6,74,'Prov. Sulawesi Tenggara',111.3,119.2,93.4,-3.9675,122.5947), (2009,6,75,'Prov. Gorontalo',110.6,119.9,92.3,0.5333334,123.0667), (2009,6,76,'Prov. Sulawesi Barat',130,120.3,108,-2.668611,118.8622), (2009,6,81,'Prov. Maluku',105.3,113.8,92.5,-3.7,128.1667), (2009,6,82,'Prov. Maluku Utara',107.7,111.6,96.5,0.7833334,127.3667), (2009,6,91,'Prov. Papua Barat',128.7,113.7,113.2,-0.8666667,134.0833), (2009,6,94,'Prov. Papua',114.6,115.3,99.4,-2.533056,140.7169), (2009,7,11,'Prov. Nanggroe Aceh Darussalam',115.2,116.7,98.7,5.55,95.31667), (2009,7,12,'Prov. Sumatera Utara',117.1,117.7,99.5,3.583333,98.66666), (2009,7,13,'Prov. Sumatera Barat',109.7,114.5,95.8,-0.95,100.3531), (2009,7,14,'Prov. Riau',119.3,120.4,99.1,0.4816667,101.4686), (2009,7,15,'Prov. Jambi',110.6,114.4,96.7,-1.589167,103.61), (2009,7,16,'Prov. Sumatera Selatan',118.1,113.3,104.2,-2.990833,104.7567), (2009,7,17,'Prov. Bengkulu',127.7,119.5,107,-3.795556,102.2592), (2009,7,18,'Prov. Lampung',119.1,112.3,106.1,-5.429722,105.2625), (2009,7,19,'Prov. Kepulauan Bangka Belitung',98.8,106.1,93.1,-2.1,106.1), (2009,7,21,'Prov. Kepulauan Riau',103.6,111.2,93.2,1.083333,104.4833), (2009,7,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,7,32,'Prov. Jawa Barat',121.1,121.9,99.3,-6.914722,107.6097), (2009,7,33,'Prov. Jawa Tengah',133.2,117,113.9,-6.966667,110.4167), (2009,7,34,'Prov. D I Yogyakarta',129.2,118.9,108.6,-7.801389,110.3644), (2009,7,35,'Prov. Jawa Timur',129.7,121.1,107.1,-7.266667,112.7167), (2009,7,36,'Prov. Banten',125.8,118.6,106,-6.12,106.1503), (2009,7,51,'Prov. Bali',110.6,119.6,92.5,-8.65,115.2167), (2009,7,52,'Prov. Nusa Tenggara Barat',132.1,117.5,112.4,-8.583333,116.1167), (2009,7,53,'Prov. Nusa Tenggara Timur',125.9,113.7,110.7,-10.18333,123.5833), (2009,7,61,'Prov. Kalimantan Barat',101,114.9,87.9,-0.0166667,109.3333), (2009,7,62,'Prov. Kalimantan Tengah',109.3,114.2,95.7,-2.21,113.92), (2009,7,63,'Prov. Kalimantan Selatan',117.6,113.6,103.5,-3.314444,114.5925), (2009,7,64,'Prov. Kalimantan Timur',133.6,113.4,117.8,-0.5022222,117.1536), (2009,7,71,'Prov. Sulawesi Utara',118.8,120.4,98.7,1.493056,124.8414), (2009,7,72,'Prov. Sulawesi Tengah',113,121.2,93.2,-0.9,119.8333), (2009,7,73,'Prov. Sulawesi Selatan',114.4,118.6,96.4,-5.133333,119.4167), (2009,7,74,'Prov. Sulawesi Tenggara',113.1,119.5,94.6,-3.9675,122.5947), (2009,7,75,'Prov. Gorontalo',110.2,120.2,91.7,0.5333334,123.0667), (2009,7,76,'Prov. Sulawesi Barat',131.2,120.7,108.7,-2.668611,118.8622), (2009,7,81,'Prov. Maluku',105.4,115,91.6,-3.7,128.1667), (2009,7,82,'Prov. Maluku Utara',108.6,111.6,97.3,0.7833334,127.3667), (2009,7,91,'Prov. Papua Barat',128.3,114,112.6,-0.8666667,134.0833), (2009,7,94,'Prov. Papua',113.7,114.5,99.3,-2.533056,140.7169), (2009,8,11,'Prov. Nanggroe Aceh Darussalam',117.3,117.5,99.9,5.55,95.31667), (2009,8,12,'Prov. Sumatera Utara',118.5,118.2,100.2,3.583333,98.66666), (2009,8,13,'Prov. Sumatera Barat',112.6,115.1,97.9,-0.95,100.3531), (2009,8,14,'Prov. Riau',122.7,120.7,101.7,0.4816667,101.4686), (2009,8,15,'Prov. Jambi',110.5,114.6,96.5,-1.589167,103.61), (2009,8,16,'Prov. Sumatera Selatan',118.2,113.5,104.2,-2.990833,104.7567), (2009,8,17,'Prov. Bengkulu',129,119.9,107.6,-3.795556,102.2592), (2009,8,18,'Prov. Lampung',117.8,113.1,104.1,-5.429722,105.2625), (2009,8,19,'Prov. Kepulauan Bangka Belitung',99.8,106.8,93.5,-2.1,106.1), (2009,8,21,'Prov. Kepulauan Riau',105.5,111.6,94.5,1.083333,104.4833), (2009,8,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,8,32,'Prov. Jawa Barat',124,122.8,101,-6.914722,107.6097), (2009,8,33,'Prov. Jawa Tengah',134.4,117.8,114.1,-6.966667,110.4167), (2009,8,34,'Prov. D I Yogyakarta',130,119.7,108.6,-7.801389,110.3644), (2009,8,35,'Prov. Jawa Timur',129.4,122.1,105.9,-7.266667,112.7167), (2009,8,36,'Prov. Banten',127.2,118.8,107.1,-6.12,106.1503), (2009,8,51,'Prov. Bali',111.5,120.2,92.8,-8.65,115.2167), (2009,8,52,'Prov. Nusa Tenggara Barat',135.5,118,114.9,-8.583333,116.1167), (2009,8,53,'Prov. Nusa Tenggara Timur',127,114.5,110.9,-10.18333,123.5833), (2009,8,61,'Prov. Kalimantan Barat',102.7,115.2,89.2,-0.0166667,109.3333), (2009,8,62,'Prov. Kalimantan Tengah',109.8,114.4,96,-2.21,113.92), (2009,8,63,'Prov. Kalimantan Selatan',118.3,113.7,104,-3.314444,114.5925), (2009,8,64,'Prov. Kalimantan Timur',133.6,114.1,117.1,-0.5022222,117.1536), (2009,8,71,'Prov. Sulawesi Utara',118.8,120.4,98.7,1.493056,124.8414), (2009,8,72,'Prov. Sulawesi Tengah',114.5,122,93.8,-0.9,119.8333), (2009,8,73,'Prov. Sulawesi Selatan',115.1,119,96.7,-5.133333,119.4167), (2009,8,74,'Prov. Sulawesi Tenggara',113.3,120.4,94.1,-3.9675,122.5947), (2009,8,75,'Prov. Gorontalo',112.7,120.5,93.5,0.5333334,123.0667), (2009,8,76,'Prov. Sulawesi Barat',132.3,121.5,108.8,-2.668611,118.8622), (2009,8,81,'Prov. Maluku',106.2,115.5,91.9,-3.7,128.1667), (2009,8,82,'Prov. Maluku Utara',109.2,112.4,97.2,0.7833334,127.3667), (2009,8,91,'Prov. Papua Barat',127.4,114.8,111,-0.8666667,134.0833), (2009,8,94,'Prov. Papua',113.8,115.5,98.5,-2.533056,140.7169), (2009,9,11,'Prov. Nanggroe Aceh Darussalam',119,118.5,100.4,5.55,95.31667), (2009,9,12,'Prov. Sumatera Utara',121.4,120,101.2,3.583333,98.66666), (2009,9,13,'Prov. Sumatera Barat',112.6,116.6,96.6,-0.95,100.3531), (2009,9,14,'Prov. Riau',126.7,122.3,103.6,0.4816667,101.4686), (2009,9,15,'Prov. Jambi',114,115.5,98.7,-1.589167,103.61), (2009,9,16,'Prov. Sumatera Selatan',121.2,114.4,105.9,-2.990833,104.7567), (2009,9,17,'Prov. Bengkulu',131.2,121.2,108.3,-3.795556,102.2592), (2009,9,18,'Prov. Lampung',121.3,114.3,106.1,-5.429722,105.2625), (2009,9,19,'Prov. Kepulauan Bangka Belitung',101,106.9,94.5,-2.1,106.1), (2009,9,21,'Prov. Kepulauan Riau',105.4,112.4,93.8,1.083333,104.4833), (2009,9,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,9,32,'Prov. Jawa Barat',126.6,124.4,101.8,-6.914722,107.6097), (2009,9,33,'Prov. Jawa Tengah',136.2,118.9,114.6,-6.966667,110.4167), (2009,9,34,'Prov. D I Yogyakarta',130.6,121,107.9,-7.801389,110.3644), (2009,9,35,'Prov. Jawa Timur',133.8,123.6,108.3,-7.266667,112.7167), (2009,9,36,'Prov. Banten',130,119.7,108.6,-6.12,106.1503), (2009,9,51,'Prov. Bali',114.2,121.4,94.1,-8.65,115.2167), (2009,9,52,'Prov. Nusa Tenggara Barat',139.8,119.6,116.9,-8.583333,116.1167), (2009,9,53,'Prov. Nusa Tenggara Timur',127.9,115,111.2,-10.18333,123.5833), (2009,9,61,'Prov. Kalimantan Barat',104.9,115.9,90.5,-0.0166667,109.3333), (2009,9,62,'Prov. Kalimantan Tengah',110.2,115,95.8,-2.21,113.92), (2009,9,63,'Prov. Kalimantan Selatan',120.1,114.3,105.1,-3.314444,114.5925), (2009,9,64,'Prov. Kalimantan Timur',136.1,115.3,118,-0.5022222,117.1536), (2009,9,71,'Prov. Sulawesi Utara',118.8,120.4,98.7,1.493056,124.8414), (2009,9,72,'Prov. Sulawesi Tengah',115.6,122.7,94.2,-0.9,119.8333), (2009,9,73,'Prov. Sulawesi Selatan',118.1,119.8,98.6,-5.133333,119.4167), (2009,9,74,'Prov. Sulawesi Tenggara',113.9,120.4,94.6,-3.9675,122.5947), (2009,9,75,'Prov. Gorontalo',113.8,120.5,94.4,0.5333334,123.0667), (2009,9,76,'Prov. Sulawesi Barat',133.6,122.5,109,-2.668611,118.8622), (2009,9,81,'Prov. Maluku',108.2,117.7,91.9,-3.7,128.1667), (2009,9,82,'Prov. Maluku Utara',110.8,113.2,97.9,0.7833334,127.3667), (2009,9,91,'Prov. Papua Barat',130.1,115.7,112.5,-0.8666667,134.0833), (2009,9,94,'Prov. Papua',115.1,114.7,100.4,-2.533056,140.7169), (2009,10,11,'Prov. Nanggroe Aceh Darussalam',118.8,118.6,100.2,5.55,95.31667), (2009,10,12,'Prov. Sumatera Utara',122.1,120.5,101.3,3.583333,98.66666), (2009,10,13,'Prov. Sumatera Barat',113.7,116.9,97.2,-0.95,100.3531), (2009,10,14,'Prov. Riau',127.3,123.5,103.1,0.4816667,101.4686), (2009,10,15,'Prov. Jambi',114,116.2,98.1,-1.589167,103.61), (2009,10,16,'Prov. Sumatera Selatan',120.3,114.5,105.1,-2.990833,104.7567), (2009,10,17,'Prov. Bengkulu',130.6,121.5,107.5,-3.795556,102.2592), (2009,10,18,'Prov. Lampung',121.3,114.7,105.7,-5.429722,105.2625), (2009,10,19,'Prov. Kepulauan Bangka Belitung',101.1,106.8,94.7,-2.1,106.1), (2009,10,21,'Prov. Kepulauan Riau',105.3,111.9,94.1,1.083333,104.4833), (2009,10,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,10,32,'Prov. Jawa Barat',126.3,124.4,101.5,-6.914722,107.6097), (2009,10,33,'Prov. Jawa Tengah',136.3,119.6,113.9,-6.966667,110.4167), (2009,10,34,'Prov. D I Yogyakarta',129.4,121.3,106.7,-7.801389,110.3644), (2009,10,35,'Prov. Jawa Timur',134.3,124.1,108.2,-7.266667,112.7167), (2009,10,36,'Prov. Banten',129.1,120.9,106.7,-6.12,106.1503), (2009,10,51,'Prov. Bali',115.7,122.5,94.4,-8.65,115.2167), (2009,10,52,'Prov. Nusa Tenggara Barat',140.2,119.8,117,-8.583333,116.1167), (2009,10,53,'Prov. Nusa Tenggara Timur',129.6,115.7,112,-10.18333,123.5833), (2009,10,61,'Prov. Kalimantan Barat',104.9,115.9,90.5,-0.0166667,109.3333), (2009,10,62,'Prov. Kalimantan Tengah',109.9,114.9,95.6,-2.21,113.92), (2009,10,63,'Prov. Kalimantan Selatan',120,114.8,104.5,-3.314444,114.5925), (2009,10,64,'Prov. Kalimantan Timur',137.5,115.2,119.3,-0.5022222,117.1536), (2009,10,71,'Prov. Sulawesi Utara',119.2,120.7,98.8,1.493056,124.8414), (2009,10,72,'Prov. Sulawesi Tengah',116.2,123,94.5,-0.9,119.8333), (2009,10,73,'Prov. Sulawesi Selatan',116.6,120,97.2,-5.133333,119.4167), (2009,10,74,'Prov. Sulawesi Tenggara',113.9,120.2,94.8,-3.9675,122.5947), (2009,10,75,'Prov. Gorontalo',113,120.9,93.5,0.5333334,123.0667), (2009,10,76,'Prov. Sulawesi Barat',134.2,123.3,108.8,-2.668611,118.8622), (2009,10,81,'Prov. Maluku',108.3,118.1,91.7,-3.7,128.1667), (2009,10,82,'Prov. Maluku Utara',110.8,113.6,97.5,0.7833334,127.3667), (2009,10,91,'Prov. Papua Barat',130.5,115.2,113.3,-0.8666667,134.0833), (2009,10,94,'Prov. Papua',114.2,114.7,99.6,-2.533056,140.7169), (2009,11,11,'Prov. Nanggroe Aceh Darussalam',119.8,118.6,101,5.55,95.31667), (2009,11,12,'Prov. Sumatera Utara',123.1,119.7,102.8,3.583333,98.66666), (2009,11,13,'Prov. Sumatera Barat',114.2,116.8,97.8,-0.95,100.3531), (2009,11,14,'Prov. Riau',127.7,123.8,103.2,0.4816667,101.4686), (2009,11,15,'Prov. Jambi',115.2,116.2,99.1,-1.589167,103.61), (2009,11,16,'Prov. Sumatera Selatan',121,114.6,105.5,-2.990833,104.7567), (2009,11,17,'Prov. Bengkulu',134.9,121.7,110.9,-3.795556,102.2592), (2009,11,18,'Prov. Lampung',121.7,114.7,106.1,-5.429722,105.2625), (2009,11,19,'Prov. Kepulauan Bangka Belitung',101.1,106.7,94.7,-2.1,106.1), (2009,11,21,'Prov. Kepulauan Riau',105.5,113,93.3,1.083333,104.4833), (2009,11,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,11,32,'Prov. Jawa Barat',126.7,124.6,101.7,-6.914722,107.6097), (2009,11,33,'Prov. Jawa Tengah',137.6,119,115.7,-6.966667,110.4167), (2009,11,34,'Prov. D I Yogyakarta',129.6,121.4,106.8,-7.801389,110.3644), (2009,11,35,'Prov. Jawa Timur',134.8,124.5,108.3,-7.266667,112.7167), (2009,11,36,'Prov. Banten',130.8,120.2,108.8,-6.12,106.1503), (2009,11,51,'Prov. Bali',115.6,122.2,94.6,-8.65,115.2167), (2009,11,52,'Prov. Nusa Tenggara Barat',140.2,120.2,116.6,-8.583333,116.1167), (2009,11,53,'Prov. Nusa Tenggara Timur',131.9,116.2,113.5,-10.18333,123.5833), (2009,11,61,'Prov. Kalimantan Barat',105,116,90.6,-0.0166667,109.3333), (2009,11,62,'Prov. Kalimantan Tengah',111.2,115.6,96.2,-2.21,113.92), (2009,11,63,'Prov. Kalimantan Selatan',120.8,115.2,104.9,-3.314444,114.5925), (2009,11,64,'Prov. Kalimantan Timur',137.7,115.2,119.6,-0.5022222,117.1536), (2009,11,71,'Prov. Sulawesi Utara',119.3,120.8,98.7,1.493056,124.8414), (2009,11,72,'Prov. Sulawesi Tengah',117.3,123.3,95.1,-0.9,119.8333), (2009,11,73,'Prov. Sulawesi Selatan',117.8,120.4,97.8,-5.133333,119.4167), (2009,11,74,'Prov. Sulawesi Tenggara',115.5,120.7,95.7,-3.9675,122.5947), (2009,11,75,'Prov. Gorontalo',115.4,119.8,96.3,0.5333334,123.0667), (2009,11,76,'Prov. Sulawesi Barat',135.7,123,110.3,-2.668611,118.8622), (2009,11,81,'Prov. Maluku',108.7,118.4,91.9,-3.7,128.1667), (2009,11,82,'Prov. Maluku Utara',110.8,113.8,97.3,0.7833334,127.3667), (2009,11,91,'Prov. Papua Barat',129,116,111.2,-0.8666667,134.0833), (2009,11,94,'Prov. Papua',115.4,115.3,100.1,-2.533056,140.7169), (2009,12,11,'Prov. Nanggroe Aceh Darussalam',118.7,118.5,100.2,5.55,95.31667), (2009,12,12,'Prov. Sumatera Utara',123.8,119.8,103.4,3.583333,98.66666), (2009,12,13,'Prov. Sumatera Barat',114.2,116.7,97.9,-0.95,100.3531), (2009,12,14,'Prov. Riau',128.5,123.6,103.9,0.4816667,101.4686), (2009,12,15,'Prov. Jambi',114.9,116.3,98.8,-1.589167,103.61), (2009,12,16,'Prov. Sumatera Selatan',121,114.5,105.6,-2.990833,104.7567), (2009,12,17,'Prov. Bengkulu',134.7,121.6,110.8,-3.795556,102.2592), (2009,12,18,'Prov. Lampung',120.9,114.6,105.5,-5.429722,105.2625), (2009,12,19,'Prov. Kepulauan Bangka Belitung',100.9,107,94.3,-2.1,106.1), (2009,12,21,'Prov. Kepulauan Riau',105.7,112.9,93.6,1.083333,104.4833), (2009,12,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2009,12,32,'Prov. Jawa Barat',126,125,100.9,-6.914722,107.6097), (2009,12,33,'Prov. Jawa Tengah',136.9,119.7,114.3,-6.966667,110.4167), (2009,12,34,'Prov. D I Yogyakarta',130.2,122,106.7,-7.801389,110.3644), (2009,12,35,'Prov. Jawa Timur',133.9,125.4,106.8,-7.266667,112.7167), (2009,12,36,'Prov. Banten',129.4,120.4,107.4,-6.12,106.1503), (2009,12,51,'Prov. Bali',115.4,122.5,94.2,-8.65,115.2167), (2009,12,52,'Prov. Nusa Tenggara Barat',141.1,120.1,117.5,-8.583333,116.1167), (2009,12,53,'Prov. Nusa Tenggara Timur',133.3,116.7,114.2,-10.18333,123.5833), (2009,12,61,'Prov. Kalimantan Barat',104,116.6,89.2,-0.0166667,109.3333), (2009,12,62,'Prov. Kalimantan Tengah',114.2,115.7,98.7,-2.21,113.92), (2009,12,63,'Prov. Kalimantan Selatan',120.8,115.4,104.7,-3.314444,114.5925), (2009,12,64,'Prov. Kalimantan Timur',137.7,114.9,119.9,-0.5022222,117.1536), (2009,12,71,'Prov. Sulawesi Utara',119.3,120.7,98.8,1.493056,124.8414), (2009,12,72,'Prov. Sulawesi Tengah',117.7,123.6,95.2,-0.9,119.8333), (2009,12,73,'Prov. Sulawesi Selatan',118.3,120.5,98.2,-5.133333,119.4167), (2009,12,74,'Prov. Sulawesi Tenggara',116.8,120.7,96.7,-3.9675,122.5947), (2009,12,75,'Prov. Gorontalo',114.8,119.1,96.4,0.5333334,123.0667), (2009,12,76,'Prov. Sulawesi Barat',135.4,123.4,109.7,-2.668611,118.8622), (2009,12,81,'Prov. Maluku',108,119.3,90.5,-3.7,128.1667), (2009,12,82,'Prov. Maluku Utara',110.8,114.6,96.6,0.7833334,127.3667), (2009,12,91,'Prov. Papua Barat',130.7,116.4,112.3,-0.8666667,134.0833), (2009,12,94,'Prov. Papua',116.7,115.8,100.7,-2.533056,140.7169), (2010,1,11,'Prov. Nanggroe Aceh Darussalam',118.5,118.9,99.7,5.55,95.31667), (2010,1,12,'Prov. Sumatera Utara',123.3,120.1,102.7,3.583333,98.66666), (2010,1,13,'Prov. Sumatera Barat',115.6,117.6,98.3,-0.95,100.3531), (2010,1,14,'Prov. Riau',128.5,123.3,104.2,0.4816667,101.4686), (2010,1,15,'Prov. Jambi',114.6,117.5,97.5,-1.589167,103.61), (2010,1,16,'Prov. Sumatera Selatan',121.2,115.5,105,-2.990833,104.7567), (2010,1,17,'Prov. Bengkulu',135.3,122.2,110.7,-3.795556,102.2592), (2010,1,18,'Prov. Lampung',120.4,115.1,104.6,-5.429722,105.2625), (2010,1,19,'Prov. Kepulauan Bangka Belitung',101.8,107.8,94.4,-2.1,106.1), (2010,1,21,'Prov. Kepulauan Riau',105.7,113.7,93,1.083333,104.4833), (2010,1,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,1,32,'Prov. Jawa Barat',126,126.1,99.9,-6.914722,107.6097), (2010,1,33,'Prov. Jawa Tengah',136.4,121,112.8,-6.966667,110.4167), (2010,1,34,'Prov. D I Yogyakarta',130.3,122.7,106.2,-7.801389,110.3644), (2010,1,35,'Prov. Jawa Timur',133.4,126.6,105.4,-7.266667,112.7167), (2010,1,36,'Prov. Banten',128.6,121.3,106,-6.12,106.1503), (2010,1,51,'Prov. Bali',115.8,123.5,93.8,-8.65,115.2167), (2010,1,52,'Prov. Nusa Tenggara Barat',142.1,121.6,116.8,-8.583333,116.1167), (2010,1,53,'Prov. Nusa Tenggara Timur',134.7,118.5,113.6,-10.18333,123.5833), (2010,1,61,'Prov. Kalimantan Barat',103.7,117.4,88.3,-0.0166667,109.3333), (2010,1,62,'Prov. Kalimantan Tengah',113.6,116.1,97.8,-2.21,113.92), (2010,1,63,'Prov. Kalimantan Selatan',119.9,116.2,103.1,-3.314444,114.5925), (2010,1,64,'Prov. Kalimantan Timur',137.6,115.1,119.5,-0.5022222,117.1536), (2010,1,71,'Prov. Sulawesi Utara',120.3,121.3,99.2,1.493056,124.8414), (2010,1,72,'Prov. Sulawesi Tengah',117.3,124.2,94.5,-0.9,119.8333), (2010,1,73,'Prov. Sulawesi Selatan',118.1,121.8,96.9,-5.133333,119.4167), (2010,1,74,'Prov. Sulawesi Tenggara',116.8,121.6,96.1,-3.9675,122.5947), (2010,1,75,'Prov. Gorontalo',114.4,119.2,96,0.5333334,123.0667), (2010,1,76,'Prov. Sulawesi Barat',136.3,124,110,-2.668611,118.8622), (2010,1,81,'Prov. Maluku',108.3,120.4,89.9,-3.7,128.1667), (2010,1,82,'Prov. Maluku Utara',111,115,96.6,0.7833334,127.3667), (2010,1,91,'Prov. Papua Barat',131.7,116.7,112.8,-0.8666667,134.0833), (2010,1,94,'Prov. Papua',117.5,116.5,100.9,-2.533056,140.7169), (2010,2,11,'Prov. Nanggroe Aceh Darussalam',119,119.2,99.8,5.55,95.31667), (2010,2,12,'Prov. Sumatera Utara',122.7,120,102.2,3.583333,98.66666), (2010,2,13,'Prov. Sumatera Barat',115.3,118.3,97.4,-0.95,100.3531), (2010,2,14,'Prov. Riau',128.7,123.5,104.2,0.4816667,101.4686), (2010,2,15,'Prov. Jambi',116,118.3,98.1,-1.589167,103.61), (2010,2,16,'Prov. Sumatera Selatan',121.3,115.9,104.6,-2.990833,104.7567), (2010,2,17,'Prov. Bengkulu',134.8,122.3,110.2,-3.795556,102.2592), (2010,2,18,'Prov. Lampung',120.2,115.4,104.1,-5.429722,105.2625), (2010,2,19,'Prov. Kepulauan Bangka Belitung',102.2,107.4,95.1,-2.1,106.1), (2010,2,21,'Prov. Kepulauan Riau',105.3,113.7,92.7,1.083333,104.4833), (2010,2,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,2,32,'Prov. Jawa Barat',126.9,127.4,99.6,-6.914722,107.6097), (2010,2,33,'Prov. Jawa Tengah',137.2,121.9,112.6,-6.966667,110.4167), (2010,2,34,'Prov. D I Yogyakarta',129.9,122.9,105.7,-7.801389,110.3644), (2010,2,35,'Prov. Jawa Timur',133.3,127.1,104.9,-7.266667,112.7167), (2010,2,36,'Prov. Banten',127.8,121.7,105.1,-6.12,106.1503), (2010,2,51,'Prov. Bali',115.8,124.3,93.2,-8.65,115.2167), (2010,2,52,'Prov. Nusa Tenggara Barat',140.9,122,115.5,-8.583333,116.1167), (2010,2,53,'Prov. Nusa Tenggara Timur',135.6,119.2,113.7,-10.18333,123.5833), (2010,2,61,'Prov. Kalimantan Barat',104,117.7,88.3,-0.0166667,109.3333), (2010,2,62,'Prov. Kalimantan Tengah',113.1,117,96.7,-2.21,113.92), (2010,2,63,'Prov. Kalimantan Selatan',121.4,116.2,104.4,-3.314444,114.5925), (2010,2,64,'Prov. Kalimantan Timur',136.6,115.7,118.1,-0.5022222,117.1536), (2010,2,71,'Prov. Sulawesi Utara',121.3,122,99.5,1.493056,124.8414), (2010,2,72,'Prov. Sulawesi Tengah',118,124.5,94.8,-0.9,119.8333), (2010,2,73,'Prov. Sulawesi Selatan',119.2,122.8,97.1,-5.133333,119.4167), (2010,2,74,'Prov. Sulawesi Tenggara',116.8,121.6,96.1,-3.9675,122.5947), (2010,2,75,'Prov. Gorontalo',114.4,119.2,96,0.5333334,123.0667), (2010,2,76,'Prov. Sulawesi Barat',138.6,124.5,111.4,-2.668611,118.8622), (2010,2,81,'Prov. Maluku',107.3,120.6,89,-3.7,128.1667), (2010,2,82,'Prov. Maluku Utara',110.8,115,96.4,0.7833334,127.3667), (2010,2,91,'Prov. Papua Barat',131.2,116.7,112.5,-0.8666667,134.0833), (2010,2,94,'Prov. Papua',117.5,116.6,100.8,-2.533056,140.7169), (2010,3,11,'Prov. Nanggroe Aceh Darussalam',119.3,119.1,100.2,5.55,95.31667), (2010,3,12,'Prov. Sumatera Utara',122.4,119.7,102.2,3.583333,98.66666), (2010,3,13,'Prov. Sumatera Barat',116.4,118.2,98.5,-0.95,100.3531), (2010,3,14,'Prov. Riau',128.5,124.2,103.4,0.4816667,101.4686), (2010,3,15,'Prov. Jambi',117.2,118.6,98.8,-1.589167,103.61), (2010,3,16,'Prov. Sumatera Selatan',121.5,115.6,105.1,-2.990833,104.7567), (2010,3,17,'Prov. Bengkulu',134.4,122.2,110,-3.795556,102.2592), (2010,3,18,'Prov. Lampung',121.4,115.2,105.4,-5.429722,105.2625), (2010,3,19,'Prov. Kepulauan Bangka Belitung',103,107.3,96,-2.1,106.1), (2010,3,21,'Prov. Kepulauan Riau',105.3,114.2,92.2,1.083333,104.4833), (2010,3,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,3,32,'Prov. Jawa Barat',128,127.6,100.4,-6.914722,107.6097), (2010,3,33,'Prov. Jawa Tengah',137.9,121.7,113.3,-6.966667,110.4167), (2010,3,34,'Prov. D I Yogyakarta',130.4,122.8,106.2,-7.801389,110.3644), (2010,3,35,'Prov. Jawa Timur',133.5,126.7,105.4,-7.266667,112.7167), (2010,3,36,'Prov. Banten',128,121.6,105.3,-6.12,106.1503), (2010,3,51,'Prov. Bali',115.7,124.5,92.9,-8.65,115.2167), (2010,3,52,'Prov. Nusa Tenggara Barat',140.7,121.9,115.5,-8.583333,116.1167), (2010,3,53,'Prov. Nusa Tenggara Timur',135.9,119.6,113.6,-10.18333,123.5833), (2010,3,61,'Prov. Kalimantan Barat',103.4,117.9,87.7,-0.0166667,109.3333), (2010,3,62,'Prov. Kalimantan Tengah',113.2,117.3,96.5,-2.21,113.92), (2010,3,63,'Prov. Kalimantan Selatan',121.3,116.4,104.2,-3.314444,114.5925), (2010,3,64,'Prov. Kalimantan Timur',135.9,115.7,117.5,-0.5022222,117.1536), (2010,3,71,'Prov. Sulawesi Utara',121.3,122.2,99.3,1.493056,124.8414), (2010,3,72,'Prov. Sulawesi Tengah',120.4,125.2,96.2,-0.9,119.8333), (2010,3,73,'Prov. Sulawesi Selatan',119.7,123,97.4,-5.133333,119.4167), (2010,3,74,'Prov. Sulawesi Tenggara',117,122,95.9,-3.9675,122.5947), (2010,3,75,'Prov. Gorontalo',113,119.5,94.6,0.5333334,123.0667), (2010,3,76,'Prov. Sulawesi Barat',138.2,124.4,111.1,-2.668611,118.8622), (2010,3,81,'Prov. Maluku',108.1,121.3,89.1,-3.7,128.1667), (2010,3,82,'Prov. Maluku Utara',110.5,115.1,96,0.7833334,127.3667), (2010,3,91,'Prov. Papua Barat',132,117,112.8,-0.8666667,134.0833), (2010,3,94,'Prov. Papua',116.3,116.6,99.8,-2.533056,140.7169), (2010,4,11,'Prov. Nanggroe Aceh Darussalam',119.4,119.7,99.8,5.55,95.31667), (2010,4,12,'Prov. Sumatera Utara',123.3,120.5,102.4,3.583333,98.66666), (2010,4,13,'Prov. Sumatera Barat',115.8,118.2,97.9,-0.95,100.3531), (2010,4,14,'Prov. Riau',128.4,124.3,103.3,0.4816667,101.4686), (2010,4,15,'Prov. Jambi',117.4,118.6,99,-1.589167,103.61), (2010,4,16,'Prov. Sumatera Selatan',122.2,115.9,105.5,-2.990833,104.7567), (2010,4,17,'Prov. Bengkulu',135.3,121.9,111,-3.795556,102.2592), (2010,4,18,'Prov. Lampung',122.6,115.2,106.3,-5.429722,105.2625), (2010,4,19,'Prov. Kepulauan Bangka Belitung',102.9,107.4,95.8,-2.1,106.1), (2010,4,21,'Prov. Kepulauan Riau',105.3,114.5,92,1.083333,104.4833), (2010,4,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,4,32,'Prov. Jawa Barat',127.2,127.8,99.5,-6.914722,107.6097), (2010,4,33,'Prov. Jawa Tengah',136.8,121.7,112.4,-6.966667,110.4167), (2010,4,34,'Prov. D I Yogyakarta',129.9,122.6,106,-7.801389,110.3644), (2010,4,35,'Prov. Jawa Timur',133.5,126.7,105.3,-7.266667,112.7167), (2010,4,36,'Prov. Banten',127.3,121.6,104.7,-6.12,106.1503), (2010,4,51,'Prov. Bali',115.6,124.4,92.9,-8.65,115.2167), (2010,4,52,'Prov. Nusa Tenggara Barat',141.8,122.1,116.2,-8.583333,116.1167), (2010,4,53,'Prov. Nusa Tenggara Timur',137.3,120.2,114.2,-10.18333,123.5833), (2010,4,61,'Prov. Kalimantan Barat',103.5,118.1,87.6,-0.0166667,109.3333), (2010,4,62,'Prov. Kalimantan Tengah',114.4,118,97,-2.21,113.92), (2010,4,63,'Prov. Kalimantan Selatan',121.6,117,103.9,-3.314444,114.5925), (2010,4,64,'Prov. Kalimantan Timur',135.9,115.6,117.5,-0.5022222,117.1536), (2010,4,71,'Prov. Sulawesi Utara',121.3,121.8,99.6,1.493056,124.8414), (2010,4,72,'Prov. Sulawesi Tengah',120.9,124.5,97.1,-0.9,119.8333), (2010,4,73,'Prov. Sulawesi Selatan',119.7,122.9,97.4,-5.133333,119.4167), (2010,4,74,'Prov. Sulawesi Tenggara',116,122.5,94.7,-3.9675,122.5947), (2010,4,75,'Prov. Gorontalo',113.4,119.5,94.9,0.5333334,123.0667), (2010,4,76,'Prov. Sulawesi Barat',138.8,124.3,111.7,-2.668611,118.8622), (2010,4,81,'Prov. Maluku',108.1,121.6,88.9,-3.7,128.1667), (2010,4,82,'Prov. Maluku Utara',110.5,115.8,95.4,0.7833334,127.3667), (2010,4,91,'Prov. Papua Barat',131.8,117.3,112.4,-0.8666667,134.0833), (2010,4,94,'Prov. Papua',115.4,116.8,98.7,-2.533056,140.7169), (2010,5,11,'Prov. Nanggroe Aceh Darussalam',119,120,99.1,5.55,95.31667), (2010,5,12,'Prov. Sumatera Utara',123.3,120.7,102.1,3.583333,98.66666), (2010,5,13,'Prov. Sumatera Barat',117.4,118.2,99.4,-0.95,100.3531), (2010,5,14,'Prov. Riau',129.2,124.8,103.6,0.4816667,101.4686), (2010,5,15,'Prov. Jambi',117.4,118.6,99,-1.589167,103.61), (2010,5,16,'Prov. Sumatera Selatan',123.6,116.1,106.4,-2.990833,104.7567), (2010,5,17,'Prov. Bengkulu',134,122.4,109.5,-3.795556,102.2592), (2010,5,18,'Prov. Lampung',123,115.7,106.4,-5.429722,105.2625), (2010,5,19,'Prov. Kepulauan Bangka Belitung',102.1,107.4,95,-2.1,106.1), (2010,5,21,'Prov. Kepulauan Riau',105.1,114.4,91.9,1.083333,104.4833), (2010,5,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,5,32,'Prov. Jawa Barat',127.4,128.2,99.4,-6.914722,107.6097), (2010,5,33,'Prov. Jawa Tengah',136.7,121.6,112.4,-6.966667,110.4167), (2010,5,34,'Prov. D I Yogyakarta',129.7,122.6,105.8,-7.801389,110.3644), (2010,5,35,'Prov. Jawa Timur',132.2,126.7,104.4,-7.266667,112.7167), (2010,5,36,'Prov. Banten',128,122,104.9,-6.12,106.1503), (2010,5,51,'Prov. Bali',118.5,124.7,95,-8.65,115.2167), (2010,5,52,'Prov. Nusa Tenggara Barat',141.6,122.1,115.9,-8.583333,116.1167), (2010,5,53,'Prov. Nusa Tenggara Timur',137.4,119.9,114.6,-10.18333,123.5833), (2010,5,61,'Prov. Kalimantan Barat',102.8,118.8,86.6,-0.0166667,109.3333), (2010,5,62,'Prov. Kalimantan Tengah',114.6,118.9,96.4,-2.21,113.92), (2010,5,63,'Prov. Kalimantan Selatan',122.4,117.5,104.2,-3.314444,114.5925), (2010,5,64,'Prov. Kalimantan Timur',136.1,116,117.3,-0.5022222,117.1536), (2010,5,71,'Prov. Sulawesi Utara',121.3,122.2,99.3,1.493056,124.8414), (2010,5,72,'Prov. Sulawesi Tengah',120.6,125,96.4,-0.9,119.8333), (2010,5,73,'Prov. Sulawesi Selatan',120.8,122.6,98.6,-5.133333,119.4167), (2010,5,74,'Prov. Sulawesi Tenggara',115.5,122.6,94.2,-3.9675,122.5947), (2010,5,75,'Prov. Gorontalo',113.5,119.2,95.2,0.5333334,123.0667), (2010,5,76,'Prov. Sulawesi Barat',138.7,124.2,111.7,-2.668611,118.8622), (2010,5,81,'Prov. Maluku',107.5,122.1,88,-3.7,128.1667), (2010,5,82,'Prov. Maluku Utara',110.5,116.2,95.1,0.7833334,127.3667), (2010,5,91,'Prov. Papua Barat',132.4,117.9,112.3,-0.8666667,134.0833), (2010,5,94,'Prov. Papua',115.5,117.4,98.4,-2.533056,140.7169), (2010,6,11,'Prov. Nanggroe Aceh Darussalam',118.5,120.4,98.4,5.55,95.31667), (2010,6,12,'Prov. Sumatera Utara',123.6,121.1,102.1,3.583333,98.66666), (2010,6,13,'Prov. Sumatera Barat',118,119.2,99.1,-0.95,100.3531), (2010,6,14,'Prov. Riau',128.5,125.5,102.4,0.4816667,101.4686), (2010,6,15,'Prov. Jambi',117.6,119.2,98.7,-1.589167,103.61), (2010,6,16,'Prov. Sumatera Selatan',123.4,116.8,105.7,-2.990833,104.7567), (2010,6,17,'Prov. Bengkulu',135,123.4,109.4,-3.795556,102.2592), (2010,6,18,'Prov. Lampung',123.6,116.3,106.3,-5.429722,105.2625), (2010,6,19,'Prov. Kepulauan Bangka Belitung',102.6,107.7,95.2,-2.1,106.1), (2010,6,21,'Prov. Kepulauan Riau',105,114.7,91.6,1.083333,104.4833), (2010,6,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,6,32,'Prov. Jawa Barat',128.2,128.9,99.5,-6.914722,107.6097), (2010,6,33,'Prov. Jawa Tengah',137,122.5,111.8,-6.966667,110.4167), (2010,6,34,'Prov. D I Yogyakarta',130.2,123.3,105.6,-7.801389,110.3644), (2010,6,35,'Prov. Jawa Timur',131.7,127.4,103.4,-7.266667,112.7167), (2010,6,36,'Prov. Banten',127.6,122.7,103.9,-6.12,106.1503), (2010,6,51,'Prov. Bali',117.8,125.4,93.9,-8.65,115.2167), (2010,6,52,'Prov. Nusa Tenggara Barat',140.7,123.1,114.3,-8.583333,116.1167), (2010,6,53,'Prov. Nusa Tenggara Timur',137.2,119.2,115.1,-10.18333,123.5833), (2010,6,61,'Prov. Kalimantan Barat',103,119.2,86.4,-0.0166667,109.3333), (2010,6,62,'Prov. Kalimantan Tengah',114.8,119.4,96.2,-2.21,113.92), (2010,6,63,'Prov. Kalimantan Selatan',122.9,118.2,104,-3.314444,114.5925), (2010,6,64,'Prov. Kalimantan Timur',137,116.4,117.7,-0.5022222,117.1536), (2010,6,71,'Prov. Sulawesi Utara',121.8,122.4,99.6,1.493056,124.8414), (2010,6,72,'Prov. Sulawesi Tengah',120.5,125.3,96.2,-0.9,119.8333), (2010,6,73,'Prov. Sulawesi Selatan',120.9,122.5,98.7,-5.133333,119.4167), (2010,6,74,'Prov. Sulawesi Tenggara',116,122.4,94.8,-3.9675,122.5947), (2010,6,75,'Prov. Gorontalo',114,119.6,95.3,0.5333334,123.0667), (2010,6,76,'Prov. Sulawesi Barat',139,124.1,112.1,-2.668611,118.8622), (2010,6,81,'Prov. Maluku',107.9,122.9,87.8,-3.7,128.1667), (2010,6,82,'Prov. Maluku Utara',110.6,116.8,94.7,0.7833334,127.3667), (2010,6,91,'Prov. Papua Barat',132.4,118.3,111.9,-0.8666667,134.0833), (2010,6,94,'Prov. Papua',116,117.5,98.7,-2.533056,140.7169), (2010,7,11,'Prov. Nanggroe Aceh Darussalam',119.6,121.1,98.8,5.55,95.31667), (2010,7,12,'Prov. Sumatera Utara',123.7,122.3,101.2,3.583333,98.66666), (2010,7,13,'Prov. Sumatera Barat',120.3,120.6,99.8,-0.95,100.3531), (2010,7,14,'Prov. Riau',129.5,127,102,0.4816667,101.4686), (2010,7,15,'Prov. Jambi',119.1,120.4,99,-1.589167,103.61), (2010,7,16,'Prov. Sumatera Selatan',124.7,117.8,105.8,-2.990833,104.7567), (2010,7,17,'Prov. Bengkulu',136.9,125,109.6,-3.795556,102.2592), (2010,7,18,'Prov. Lampung',123.9,118.1,104.9,-5.429722,105.2625), (2010,7,19,'Prov. Kepulauan Bangka Belitung',103.8,108.4,95.8,-2.1,106.1), (2010,7,21,'Prov. Kepulauan Riau',105.2,115.6,91,1.083333,104.4833), (2010,7,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,7,32,'Prov. Jawa Barat',129.6,130.5,99.3,-6.914722,107.6097), (2010,7,33,'Prov. Jawa Tengah',139.6,124.5,112.1,-6.966667,110.4167), (2010,7,34,'Prov. D I Yogyakarta',131.4,124.6,105.5,-7.801389,110.3644), (2010,7,35,'Prov. Jawa Timur',132.6,129.4,102.4,-7.266667,112.7167), (2010,7,36,'Prov. Banten',130.8,123.8,105.7,-6.12,106.1503), (2010,7,51,'Prov. Bali',118.5,127.3,93.1,-8.65,115.2167), (2010,7,52,'Prov. Nusa Tenggara Barat',141.2,125.3,112.7,-8.583333,116.1167), (2010,7,53,'Prov. Nusa Tenggara Timur',137.5,119.7,114.9,-10.18333,123.5833), (2010,7,61,'Prov. Kalimantan Barat',103.4,120.1,86.1,-0.0166667,109.3333), (2010,7,62,'Prov. Kalimantan Tengah',114.5,121.2,94.4,-2.21,113.92), (2010,7,63,'Prov. Kalimantan Selatan',124.2,119.7,103.8,-3.314444,114.5925), (2010,7,64,'Prov. Kalimantan Timur',138.5,118.3,117.1,-0.5022222,117.1536), (2010,7,71,'Prov. Sulawesi Utara',123.9,124.6,99.5,1.493056,124.8414), (2010,7,72,'Prov. Sulawesi Tengah',122.4,127.1,96.3,-0.9,119.8333), (2010,7,73,'Prov. Sulawesi Selatan',121.6,123.9,98.1,-5.133333,119.4167), (2010,7,74,'Prov. Sulawesi Tenggara',117,123.4,94.8,-3.9675,122.5947), (2010,7,75,'Prov. Gorontalo',114.8,120.8,95,0.5333334,123.0667), (2010,7,76,'Prov. Sulawesi Barat',140.5,125.7,111.7,-2.668611,118.8622), (2010,7,81,'Prov. Maluku',108.2,123.5,87.6,-3.7,128.1667), (2010,7,82,'Prov. Maluku Utara',111.1,117.5,94.6,0.7833334,127.3667), (2010,7,91,'Prov. Papua Barat',133.9,119.2,112.4,-0.8666667,134.0833), (2010,7,94,'Prov. Papua',116.2,118.8,97.9,-2.533056,140.7169), (2010,8,11,'Prov. Nanggroe Aceh Darussalam',121.2,122,99.4,5.55,95.31667), (2010,8,12,'Prov. Sumatera Utara',124.4,123,101.2,3.583333,98.66666), (2010,8,13,'Prov. Sumatera Barat',121.8,121.2,100.5,-0.95,100.3531), (2010,8,14,'Prov. Riau',131.8,127.8,103.1,0.4816667,101.4686), (2010,8,15,'Prov. Jambi',121.2,121.2,100,-1.589167,103.61), (2010,8,16,'Prov. Sumatera Selatan',126.8,118.4,107.2,-2.990833,104.7567), (2010,8,17,'Prov. Bengkulu',138.3,125.4,110.3,-3.795556,102.2592), (2010,8,18,'Prov. Lampung',124.7,118.5,105.3,-5.429722,105.2625), (2010,8,19,'Prov. Kepulauan Bangka Belitung',105.2,109.1,96.5,-2.1,106.1), (2010,8,21,'Prov. Kepulauan Riau',106.2,116.2,91.4,1.083333,104.4833), (2010,8,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,8,32,'Prov. Jawa Barat',131,131.3,99.7,-6.914722,107.6097), (2010,8,33,'Prov. Jawa Tengah',141.3,125.1,113,-6.966667,110.4167), (2010,8,34,'Prov. D I Yogyakarta',131.9,125.2,105.4,-7.801389,110.3644), (2010,8,35,'Prov. Jawa Timur',133.5,130.1,102.6,-7.266667,112.7167), (2010,8,36,'Prov. Banten',133.2,125.2,106.4,-6.12,106.1503), (2010,8,51,'Prov. Bali',119.3,128,93.2,-8.65,115.2167), (2010,8,52,'Prov. Nusa Tenggara Barat',144.1,126.5,113.9,-8.583333,116.1167), (2010,8,53,'Prov. Nusa Tenggara Timur',137.9,120.8,114.1,-10.18333,123.5833), (2010,8,61,'Prov. Kalimantan Barat',104.1,121.2,85.9,-0.0166667,109.3333), (2010,8,62,'Prov. Kalimantan Tengah',115.1,122.6,93.9,-2.21,113.92), (2010,8,63,'Prov. Kalimantan Selatan',126.1,120.3,104.8,-3.314444,114.5925), (2010,8,64,'Prov. Kalimantan Timur',139.2,118.9,117.1,-0.5022222,117.1536), (2010,8,71,'Prov. Sulawesi Utara',125.2,125.8,99.6,1.493056,124.8414), (2010,8,72,'Prov. Sulawesi Tengah',123.8,128.6,96.3,-0.9,119.8333), (2010,8,73,'Prov. Sulawesi Selatan',123.6,125.6,98.4,-5.133333,119.4167), (2010,8,74,'Prov. Sulawesi Tenggara',117,125.1,93.5,-3.9675,122.5947), (2010,8,75,'Prov. Gorontalo',116,122,95.2,0.5333334,123.0667), (2010,8,76,'Prov. Sulawesi Barat',142.5,127.1,112.2,-2.668611,118.8622), (2010,8,81,'Prov. Maluku',108.2,124.9,86.7,-3.7,128.1667), (2010,8,82,'Prov. Maluku Utara',112.4,118.6,94.7,0.7833334,127.3667), (2010,8,91,'Prov. Papua Barat',135,120.3,112.2,-0.8666667,134.0833), (2010,8,94,'Prov. Papua',116.6,119.6,97.5,-2.533056,140.7169), (2010,9,11,'Prov. Nanggroe Aceh Darussalam',121.8,122,99.8,5.55,95.31667), (2010,9,12,'Prov. Sumatera Utara',126.1,123.4,102.2,3.583333,98.66666), (2010,9,13,'Prov. Sumatera Barat',123,121.6,101.2,-0.95,100.3531), (2010,9,14,'Prov. Riau',131.8,128,102.9,0.4816667,101.4686), (2010,9,15,'Prov. Jambi',124.2,122,101.9,-1.589167,103.61), (2010,9,16,'Prov. Sumatera Selatan',129.1,118.7,108.8,-2.990833,104.7567), (2010,9,17,'Prov. Bengkulu',141.2,126.1,112,-3.795556,102.2592), (2010,9,18,'Prov. Lampung',126.3,118.2,106.8,-5.429722,105.2625), (2010,9,19,'Prov. Kepulauan Bangka Belitung',105.9,109.5,96.7,-2.1,106.1), (2010,9,21,'Prov. Kepulauan Riau',106.2,116.5,91.2,1.083333,104.4833), (2010,9,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,9,32,'Prov. Jawa Barat',131.1,132.1,99.3,-6.914722,107.6097), (2010,9,33,'Prov. Jawa Tengah',143.4,126,113.8,-6.966667,110.4167), (2010,9,34,'Prov. D I Yogyakarta',132.6,126,105.3,-7.801389,110.3644), (2010,9,35,'Prov. Jawa Timur',134.4,130.5,103,-7.266667,112.7167), (2010,9,36,'Prov. Banten',135.7,126.5,107.2,-6.12,106.1503), (2010,9,51,'Prov. Bali',119.6,128.1,93.4,-8.65,115.2167), (2010,9,52,'Prov. Nusa Tenggara Barat',146.4,126.7,115.5,-8.583333,116.1167), (2010,9,53,'Prov. Nusa Tenggara Timur',141.1,121,116.6,-10.18333,123.5833), (2010,9,61,'Prov. Kalimantan Barat',104.1,121.6,85.6,-0.0166667,109.3333), (2010,9,62,'Prov. Kalimantan Tengah',115.7,122.5,94.4,-2.21,113.92), (2010,9,63,'Prov. Kalimantan Selatan',127,120.6,105.2,-3.314444,114.5925), (2010,9,64,'Prov. Kalimantan Timur',139.7,119.1,117.3,-0.5022222,117.1536), (2010,9,71,'Prov. Sulawesi Utara',126.6,126.6,100,1.493056,124.8414), (2010,9,72,'Prov. Sulawesi Tengah',124.6,128.3,97.1,-0.9,119.8333), (2010,9,73,'Prov. Sulawesi Selatan',125,126.6,98.7,-5.133333,119.4167), (2010,9,74,'Prov. Sulawesi Tenggara',117.7,125.7,93.7,-3.9675,122.5947), (2010,9,75,'Prov. Gorontalo',116.9,121.6,96.1,0.5333334,123.0667), (2010,9,76,'Prov. Sulawesi Barat',143.2,128,111.9,-2.668611,118.8622), (2010,9,81,'Prov. Maluku',108.7,125.6,86.6,-3.7,128.1667), (2010,9,82,'Prov. Maluku Utara',113.1,118.3,95.6,0.7833334,127.3667), (2010,9,91,'Prov. Papua Barat',135.5,121.3,111.7,-0.8666667,134.0833), (2010,9,94,'Prov. Papua',118.5,119.7,99,-2.533056,140.7169), (2010,10,11,'Prov. Nanggroe Aceh Darussalam',122.5,121.9,100.4,5.55,95.31667), (2010,10,12,'Prov. Sumatera Utara',127,123.5,102.8,3.583333,98.66666), (2010,10,13,'Prov. Sumatera Barat',123.3,121.7,101.3,-0.95,100.3531), (2010,10,14,'Prov. Riau',130.9,128,102.2,0.4816667,101.4686), (2010,10,15,'Prov. Jambi',124.1,122.5,101.3,-1.589167,103.61), (2010,10,16,'Prov. Sumatera Selatan',128.6,118.7,108.3,-2.990833,104.7567), (2010,10,17,'Prov. Bengkulu',140.5,126.6,111,-3.795556,102.2592), (2010,10,18,'Prov. Lampung',126,117.7,107,-5.429722,105.2625), (2010,10,19,'Prov. Kepulauan Bangka Belitung',105,109.3,96.1,-2.1,106.1), (2010,10,21,'Prov. Kepulauan Riau',106.8,116.4,91.8,1.083333,104.4833), (2010,10,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,10,32,'Prov. Jawa Barat',130.3,132,98.8,-6.914722,107.6097), (2010,10,33,'Prov. Jawa Tengah',143.3,126.1,113.6,-6.966667,110.4167), (2010,10,34,'Prov. D I Yogyakarta',133,126.4,105.2,-7.801389,110.3644), (2010,10,35,'Prov. Jawa Timur',134,131,102.3,-7.266667,112.7167), (2010,10,36,'Prov. Banten',135.1,126.7,106.7,-6.12,106.1503), (2010,10,51,'Prov. Bali',118.9,128.2,92.7,-8.65,115.2167), (2010,10,52,'Prov. Nusa Tenggara Barat',147,126.6,116.1,-8.583333,116.1167), (2010,10,53,'Prov. Nusa Tenggara Timur',140.6,121.1,116.1,-10.18333,123.5833), (2010,10,61,'Prov. Kalimantan Barat',104.1,121.3,85.8,-0.0166667,109.3333), (2010,10,62,'Prov. Kalimantan Tengah',116.5,123.4,94.4,-2.21,113.92), (2010,10,63,'Prov. Kalimantan Selatan',127.5,120.8,105.5,-3.314444,114.5925), (2010,10,64,'Prov. Kalimantan Timur',139.8,119.2,117.2,-0.5022222,117.1536), (2010,10,71,'Prov. Sulawesi Utara',126.9,126.3,100.4,1.493056,124.8414), (2010,10,72,'Prov. Sulawesi Tengah',124.1,128.1,96.9,-0.9,119.8333), (2010,10,73,'Prov. Sulawesi Selatan',124.4,126.2,98.5,-5.133333,119.4167), (2010,10,74,'Prov. Sulawesi Tenggara',117,125,93.5,-3.9675,122.5947), (2010,10,75,'Prov. Gorontalo',117.3,121.4,96.6,0.5333334,123.0667), (2010,10,76,'Prov. Sulawesi Barat',142.1,127.4,111.5,-2.668611,118.8622), (2010,10,81,'Prov. Maluku',108.9,125.6,86.7,-3.7,128.1667), (2010,10,82,'Prov. Maluku Utara',112.5,118.5,94.9,0.7833334,127.3667), (2010,10,91,'Prov. Papua Barat',135.9,120.5,112.8,-0.8666667,134.0833), (2010,10,94,'Prov. Papua',118.3,119.4,99.1,-2.533056,140.7169), (2010,11,11,'Prov. Nanggroe Aceh Darussalam',123.4,122.6,100.6,5.55,95.31667), (2010,11,12,'Prov. Sumatera Utara',128.1,124.2,103.2,3.583333,98.66666), (2010,11,13,'Prov. Sumatera Barat',123.7,122.4,101.1,-0.95,100.3531), (2010,11,14,'Prov. Riau',132.7,128.8,103.1,0.4816667,101.4686), (2010,11,15,'Prov. Jambi',124.7,123,101.4,-1.589167,103.61), (2010,11,16,'Prov. Sumatera Selatan',128.8,119.4,107.9,-2.990833,104.7567), (2010,11,17,'Prov. Bengkulu',141.6,127.3,111.2,-3.795556,102.2592), (2010,11,18,'Prov. Lampung',127.1,118.5,107.3,-5.429722,105.2625), (2010,11,19,'Prov. Kepulauan Bangka Belitung',105.9,110.2,96.1,-2.1,106.1), (2010,11,21,'Prov. Kepulauan Riau',106.8,116.3,91.8,1.083333,104.4833), (2010,11,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,11,32,'Prov. Jawa Barat',131.6,132.9,99,-6.914722,107.6097), (2010,11,33,'Prov. Jawa Tengah',144.5,127.2,113.6,-6.966667,110.4167), (2010,11,34,'Prov. D I Yogyakarta',133.4,126.6,105.3,-7.801389,110.3644), (2010,11,35,'Prov. Jawa Timur',134.8,132,102.1,-7.266667,112.7167), (2010,11,36,'Prov. Banten',136.5,127.3,107.2,-6.12,106.1503), (2010,11,51,'Prov. Bali',119.8,129,92.8,-8.65,115.2167), (2010,11,52,'Prov. Nusa Tenggara Barat',148.7,127.4,116.7,-8.583333,116.1167), (2010,11,53,'Prov. Nusa Tenggara Timur',141.7,121.5,116.6,-10.18333,123.5833), (2010,11,61,'Prov. Kalimantan Barat',104.1,121.4,85.7,-0.0166667,109.3333), (2010,11,62,'Prov. Kalimantan Tengah',117.2,124.8,93.9,-2.21,113.92), (2010,11,63,'Prov. Kalimantan Selatan',127.8,121,105.6,-3.314444,114.5925), (2010,11,64,'Prov. Kalimantan Timur',140.9,119.7,117.7,-0.5022222,117.1536), (2010,11,71,'Prov. Sulawesi Utara',128.3,126.6,101.3,1.493056,124.8414), (2010,11,72,'Prov. Sulawesi Tengah',125,128.1,97.6,-0.9,119.8333), (2010,11,73,'Prov. Sulawesi Selatan',125,126.3,98.9,-5.133333,119.4167), (2010,11,74,'Prov. Sulawesi Tenggara',117,125.5,93.2,-3.9675,122.5947), (2010,11,75,'Prov. Gorontalo',117.5,122,96.3,0.5333334,123.0667), (2010,11,76,'Prov. Sulawesi Barat',144.2,127.6,113,-2.668611,118.8622), (2010,11,81,'Prov. Maluku',110.3,126.9,86.9,-3.7,128.1667), (2010,11,82,'Prov. Maluku Utara',113.3,118.9,95.3,0.7833334,127.3667), (2010,11,91,'Prov. Papua Barat',137.4,121,113.5,-0.8666667,134.0833), (2010,11,94,'Prov. Papua',119.6,119.6,100,-2.533056,140.7169), (2010,12,11,'Prov. Nanggroe Aceh Darussalam',122.2,123.5,98.9,5.55,95.31667), (2010,12,12,'Prov. Sumatera Utara',128.7,125.1,102.9,3.583333,98.66666), (2010,12,13,'Prov. Sumatera Barat',123.5,122.9,100.5,-0.95,100.3531), (2010,12,14,'Prov. Riau',132,129.4,102,0.4816667,101.4686), (2010,12,15,'Prov. Jambi',124.8,123.8,100.8,-1.589167,103.61), (2010,12,16,'Prov. Sumatera Selatan',127.9,120.2,106.4,-2.990833,104.7567), (2010,12,17,'Prov. Bengkulu',141.3,128.3,110.1,-3.795556,102.2592), (2010,12,18,'Prov. Lampung',126.8,119.3,106.3,-5.429722,105.2625), (2010,12,19,'Prov. Kepulauan Bangka Belitung',105,110.8,94.7,-2.1,106.1), (2010,12,21,'Prov. Kepulauan Riau',106.8,116.7,91.5,1.083333,104.4833), (2010,12,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2010,12,32,'Prov. Jawa Barat',131.3,134,98,-6.914722,107.6097), (2010,12,33,'Prov. Jawa Tengah',142.9,128.1,111.6,-6.966667,110.4167), (2010,12,34,'Prov. D I Yogyakarta',132.3,126.8,104.4,-7.801389,110.3644), (2010,12,35,'Prov. Jawa Timur',133.4,133.4,100,-7.266667,112.7167), (2010,12,36,'Prov. Banten',134.8,128.1,105.2,-6.12,106.1503), (2010,12,51,'Prov. Bali',118.9,129.9,91.5,-8.65,115.2167), (2010,12,52,'Prov. Nusa Tenggara Barat',148.9,128,116.3,-8.583333,116.1167), (2010,12,53,'Prov. Nusa Tenggara Timur',141.3,122.1,115.7,-10.18333,123.5833), (2010,12,61,'Prov. Kalimantan Barat',104.1,122.5,85,-0.0166667,109.3333), (2010,12,62,'Prov. Kalimantan Tengah',118,126,93.7,-2.21,113.92), (2010,12,63,'Prov. Kalimantan Selatan',127.8,122.4,104.4,-3.314444,114.5925), (2010,12,64,'Prov. Kalimantan Timur',140.3,119.9,117,-0.5022222,117.1536), (2010,12,71,'Prov. Sulawesi Utara',129.3,127.9,101.1,1.493056,124.8414), (2010,12,72,'Prov. Sulawesi Tengah',125.4,129,97.3,-0.9,119.8333), (2010,12,73,'Prov. Sulawesi Selatan',124.2,127.6,97.4,-5.133333,119.4167), (2010,12,74,'Prov. Sulawesi Tenggara',116.7,126.1,92.6,-3.9675,122.5947), (2010,12,75,'Prov. Gorontalo',117.4,122.9,95.5,0.5333334,123.0667), (2010,12,76,'Prov. Sulawesi Barat',145.6,128.4,113.4,-2.668611,118.8622), (2010,12,81,'Prov. Maluku',110.3,127.8,86.3,-3.7,128.1667), (2010,12,82,'Prov. Maluku Utara',113.3,119.4,94.9,0.7833334,127.3667), (2010,12,91,'Prov. Papua Barat',138,121.3,113.8,-0.8666667,134.0833), (2010,12,94,'Prov. Papua',119.8,120.4,99.5,-2.533056,140.7169), (2011,1,11,'Prov. Nanggroe Aceh Darussalam',122.7,124.6,98.5,5.55,95.31667), (2011,1,12,'Prov. Sumatera Utara',129.9,126.4,102.8,3.583333,98.66666), (2011,1,13,'Prov. Sumatera Barat',124.3,123.8,100.4,-0.95,100.3531), (2011,1,14,'Prov. Riau',132.4,130.6,101.3,0.4816667,101.4686), (2011,1,15,'Prov. Jambi',124.8,124.4,100.3,-1.589167,103.61), (2011,1,16,'Prov. Sumatera Selatan',127.7,120.9,105.6,-2.990833,104.7567), (2011,1,17,'Prov. Bengkulu',141.3,129.1,109.4,-3.795556,102.2592), (2011,1,18,'Prov. Lampung',127.4,120.8,105.4,-5.429722,105.2625), (2011,1,19,'Prov. Kepulauan Bangka Belitung',106.2,111.9,95,-2.1,106.1), (2011,1,21,'Prov. Kepulauan Riau',106.8,117.3,91,1.083333,104.4833), (2011,1,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,1,32,'Prov. Jawa Barat',131.2,135.2,97.1,-6.914722,107.6097), (2011,1,33,'Prov. Jawa Tengah',140.5,129.1,108.8,-6.966667,110.4167), (2011,1,34,'Prov. D I Yogyakarta',132.2,127.5,103.7,-7.801389,110.3644), (2011,1,35,'Prov. Jawa Timur',132.8,134.3,98.8,-7.266667,112.7167), (2011,1,36,'Prov. Banten',133,128.9,103.1,-6.12,106.1503), (2011,1,51,'Prov. Bali',118.5,130.6,90.8,-8.65,115.2167), (2011,1,52,'Prov. Nusa Tenggara Barat',148.8,129,115.3,-8.583333,116.1167), (2011,1,53,'Prov. Nusa Tenggara Timur',142.2,123.1,115.5,-10.18333,123.5833), (2011,1,61,'Prov. Kalimantan Barat',104.5,123.1,84.9,-0.0166667,109.3333), (2011,1,62,'Prov. Kalimantan Tengah',118.1,127.1,92.9,-2.21,113.92), (2011,1,63,'Prov. Kalimantan Selatan',127.4,123.1,103.4,-3.314444,114.5925), (2011,1,64,'Prov. Kalimantan Timur',141.1,120.8,116.8,-0.5022222,117.1536), (2011,1,71,'Prov. Sulawesi Utara',130.8,128,102.2,1.493056,124.8414), (2011,1,72,'Prov. Sulawesi Tengah',125.5,130.5,96.2,-0.9,119.8333), (2011,1,73,'Prov. Sulawesi Selatan',124.4,128.4,96.8,-5.133333,119.4167), (2011,1,74,'Prov. Sulawesi Tenggara',116.4,126,92.4,-3.9675,122.5947), (2011,1,75,'Prov. Gorontalo',117.3,124.4,94.3,0.5333334,123.0667), (2011,1,76,'Prov. Sulawesi Barat',144.5,129.4,111.7,-2.668611,118.8622), (2011,1,81,'Prov. Maluku',110.3,128.1,86.1,-3.7,128.1667), (2011,1,82,'Prov. Maluku Utara',113.3,119.8,94.6,0.7833334,127.3667), (2011,1,91,'Prov. Papua Barat',136.6,121.7,112.2,-0.8666667,134.0833), (2011,1,94,'Prov. Papua',119.3,120.9,98.7,-2.533056,140.7169), (2011,2,11,'Prov. Nanggroe Aceh Darussalam',123,125.5,98,5.55,95.31667), (2011,2,12,'Prov. Sumatera Utara',130.9,127.1,103,3.583333,98.66666), (2011,2,13,'Prov. Sumatera Barat',124.3,124.7,99.6,-0.95,100.3531), (2011,2,14,'Prov. Riau',132.2,131.2,100.8,0.4816667,101.4686), (2011,2,15,'Prov. Jambi',124.2,125,99.3,-1.589167,103.61), (2011,2,16,'Prov. Sumatera Selatan',127.5,120.8,105.5,-2.990833,104.7567), (2011,2,17,'Prov. Bengkulu',141.6,129.1,109.6,-3.795556,102.2592), (2011,2,18,'Prov. Lampung',127.3,120.5,105.6,-5.429722,105.2625), (2011,2,19,'Prov. Kepulauan Bangka Belitung',106.6,112.5,94.8,-2.1,106.1), (2011,2,21,'Prov. Kepulauan Riau',106.7,118.2,90.2,1.083333,104.4833), (2011,2,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,2,32,'Prov. Jawa Barat',131,135.2,96.9,-6.914722,107.6097), (2011,2,33,'Prov. Jawa Tengah',140.5,128.3,109.5,-6.966667,110.4167), (2011,2,34,'Prov. D I Yogyakarta',132.2,127.3,103.9,-7.801389,110.3644), (2011,2,35,'Prov. Jawa Timur',132.4,134.2,98.6,-7.266667,112.7167), (2011,2,36,'Prov. Banten',132.2,128.4,102.9,-6.12,106.1503), (2011,2,51,'Prov. Bali',117.4,130.5,90,-8.65,115.2167), (2011,2,52,'Prov. Nusa Tenggara Barat',148.2,128.9,115,-8.583333,116.1167), (2011,2,53,'Prov. Nusa Tenggara Timur',144.2,124.3,116,-10.18333,123.5833), (2011,2,61,'Prov. Kalimantan Barat',104.5,124.2,84.2,-0.0166667,109.3333), (2011,2,62,'Prov. Kalimantan Tengah',117.5,128,91.8,-2.21,113.92), (2011,2,63,'Prov. Kalimantan Selatan',127.7,123.9,103.1,-3.314444,114.5925), (2011,2,64,'Prov. Kalimantan Timur',140.8,120.8,116.6,-0.5022222,117.1536), (2011,2,71,'Prov. Sulawesi Utara',130.9,128.8,101.6,1.493056,124.8414), (2011,2,72,'Prov. Sulawesi Tengah',126.1,131.6,95.9,-0.9,119.8333), (2011,2,73,'Prov. Sulawesi Selatan',124.7,129,96.7,-5.133333,119.4167), (2011,2,74,'Prov. Sulawesi Tenggara',116.4,126.5,92,-3.9675,122.5947), (2011,2,75,'Prov. Gorontalo',116.6,124.8,93.4,0.5333334,123.0667), (2011,2,76,'Prov. Sulawesi Barat',144.6,130,111.2,-2.668611,118.8622), (2011,2,81,'Prov. Maluku',110.4,129,85.6,-3.7,128.1667), (2011,2,82,'Prov. Maluku Utara',112.5,120.5,93.4,0.7833334,127.3667), (2011,2,91,'Prov. Papua Barat',136.2,121.3,112.3,-0.8666667,134.0833), (2011,2,94,'Prov. Papua',119.2,121.4,98.2,-2.533056,140.7169), (2011,3,11,'Prov. Nanggroe Aceh Darussalam',122.7,125.3,98,5.55,95.31667), (2011,3,12,'Prov. Sumatera Utara',130.9,127.1,103,3.583333,98.66666), (2011,3,13,'Prov. Sumatera Barat',124.4,124.4,100,-0.95,100.3531), (2011,3,14,'Prov. Riau',132.2,131.5,100.6,0.4816667,101.4686), (2011,3,15,'Prov. Jambi',124.1,125.1,99.2,-1.589167,103.61), (2011,3,16,'Prov. Sumatera Selatan',127.6,120.7,105.7,-2.990833,104.7567), (2011,3,17,'Prov. Bengkulu',142.4,129.5,110,-3.795556,102.2592), (2011,3,18,'Prov. Lampung',126.8,120.1,105.6,-5.429722,105.2625), (2011,3,19,'Prov. Kepulauan Bangka Belitung',106.7,112.3,95,-2.1,106.1), (2011,3,21,'Prov. Kepulauan Riau',106.6,118.1,90.3,1.083333,104.4833), (2011,3,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,3,32,'Prov. Jawa Barat',131.4,135.1,97.3,-6.914722,107.6097), (2011,3,33,'Prov. Jawa Tengah',140.6,128.4,109.5,-6.966667,110.4167), (2011,3,34,'Prov. D I Yogyakarta',132.4,127.6,103.7,-7.801389,110.3644), (2011,3,35,'Prov. Jawa Timur',132,134.2,98.3,-7.266667,112.7167), (2011,3,36,'Prov. Banten',131.3,128.1,102.5,-6.12,106.1503), (2011,3,51,'Prov. Bali',117.3,130.8,89.7,-8.65,115.2167), (2011,3,52,'Prov. Nusa Tenggara Barat',147.5,128.4,114.9,-8.583333,116.1167), (2011,3,53,'Prov. Nusa Tenggara Timur',143.6,124.4,115.5,-10.18333,123.5833), (2011,3,61,'Prov. Kalimantan Barat',104.5,124.9,83.7,-0.0166667,109.3333), (2011,3,62,'Prov. Kalimantan Tengah',117.4,128.4,91.4,-2.21,113.92), (2011,3,63,'Prov. Kalimantan Selatan',127.1,124.3,102.3,-3.314444,114.5925), (2011,3,64,'Prov. Kalimantan Timur',140.4,121.3,115.8,-0.5022222,117.1536), (2011,3,71,'Prov. Sulawesi Utara',130.9,129.1,101.4,1.493056,124.8414), (2011,3,72,'Prov. Sulawesi Tengah',126.4,131.3,96.3,-0.9,119.8333), (2011,3,73,'Prov. Sulawesi Selatan',124.8,129.1,96.7,-5.133333,119.4167), (2011,3,74,'Prov. Sulawesi Tenggara',116.5,126.3,92.2,-3.9675,122.5947), (2011,3,75,'Prov. Gorontalo',116.7,124.8,93.5,0.5333334,123.0667), (2011,3,76,'Prov. Sulawesi Barat',144.1,130,110.8,-2.668611,118.8622), (2011,3,81,'Prov. Maluku',110.5,129.1,85.6,-3.7,128.1667), (2011,3,82,'Prov. Maluku Utara',112.6,120.8,93.3,0.7833334,127.3667), (2011,3,91,'Prov. Papua Barat',136.2,121,112.5,-0.8666667,134.0833), (2011,3,94,'Prov. Papua',119.1,121.1,98.3,-2.533056,140.7169), (2011,4,11,'Prov. Nanggroe Aceh Darussalam',122.2,124.5,98.1,5.55,95.31667), (2011,4,12,'Prov. Sumatera Utara',131.5,126.8,103.7,3.583333,98.66666), (2011,4,13,'Prov. Sumatera Barat',124.6,124.1,100.4,-0.95,100.3531), (2011,4,14,'Prov. Riau',132.7,131,101.3,0.4816667,101.4686), (2011,4,15,'Prov. Jambi',124.2,124.9,99.5,-1.589167,103.61), (2011,4,16,'Prov. Sumatera Selatan',127.3,120.5,105.6,-2.990833,104.7567), (2011,4,17,'Prov. Bengkulu',142.6,129.3,110.2,-3.795556,102.2592), (2011,4,18,'Prov. Lampung',127,119.6,106.2,-5.429722,105.2625), (2011,4,19,'Prov. Kepulauan Bangka Belitung',106.6,111.9,95.3,-2.1,106.1), (2011,4,21,'Prov. Kepulauan Riau',106.6,117.7,90.5,1.083333,104.4833), (2011,4,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,4,32,'Prov. Jawa Barat',131.8,134.5,98,-6.914722,107.6097), (2011,4,33,'Prov. Jawa Tengah',139,127.8,108.8,-6.966667,110.4167), (2011,4,34,'Prov. D I Yogyakarta',131.5,127.2,103.4,-7.801389,110.3644), (2011,4,35,'Prov. Jawa Timur',130.9,133.7,97.9,-7.266667,112.7167), (2011,4,36,'Prov. Banten',130.8,127.8,102.3,-6.12,106.1503), (2011,4,51,'Prov. Bali',117.6,130.3,90.3,-8.65,115.2167), (2011,4,52,'Prov. Nusa Tenggara Barat',146.5,128.2,114.3,-8.583333,116.1167), (2011,4,53,'Prov. Nusa Tenggara Timur',143.2,124.2,115.4,-10.18333,123.5833), (2011,4,61,'Prov. Kalimantan Barat',104.4,124.6,83.8,-0.0166667,109.3333), (2011,4,62,'Prov. Kalimantan Tengah',117,128.8,90.8,-2.21,113.92), (2011,4,63,'Prov. Kalimantan Selatan',127.3,123.9,102.8,-3.314444,114.5925), (2011,4,64,'Prov. Kalimantan Timur',140.7,121,116.2,-0.5022222,117.1536), (2011,4,71,'Prov. Sulawesi Utara',131.1,128.6,101.9,1.493056,124.8414), (2011,4,72,'Prov. Sulawesi Tengah',126.8,130.4,97.2,-0.9,119.8333), (2011,4,73,'Prov. Sulawesi Selatan',124.8,128.3,97.2,-5.133333,119.4167), (2011,4,74,'Prov. Sulawesi Tenggara',116.5,126.4,92.2,-3.9675,122.5947), (2011,4,75,'Prov. Gorontalo',117.5,125.8,93.5,0.5333334,123.0667), (2011,4,76,'Prov. Sulawesi Barat',144.1,129.3,111.4,-2.668611,118.8622), (2011,4,81,'Prov. Maluku',110.5,129.5,85.4,-3.7,128.1667), (2011,4,82,'Prov. Maluku Utara',112.8,120.9,93.3,0.7833334,127.3667), (2011,4,91,'Prov. Papua Barat',136.1,120.4,113.1,-0.8666667,134.0833), (2011,4,94,'Prov. Papua',119.4,120.9,98.8,-2.533056,140.7169), (2011,5,11,'Prov. Nanggroe Aceh Darussalam',122.8,124.2,98.9,5.55,95.31667), (2011,5,12,'Prov. Sumatera Utara',132,126.3,104.5,3.583333,98.66666), (2011,5,13,'Prov. Sumatera Barat',124.7,123.8,100.7,-0.95,100.3531), (2011,5,14,'Prov. Riau',132.2,130.5,101.3,0.4816667,101.4686), (2011,5,15,'Prov. Jambi',123.5,124.6,99.2,-1.589167,103.61), (2011,5,16,'Prov. Sumatera Selatan',127.4,120.8,105.4,-2.990833,104.7567), (2011,5,17,'Prov. Bengkulu',142.6,129.7,110,-3.795556,102.2592), (2011,5,18,'Prov. Lampung',127.1,118.7,107,-5.429722,105.2625), (2011,5,19,'Prov. Kepulauan Bangka Belitung',106.8,112.3,95.1,-2.1,106.1), (2011,5,21,'Prov. Kepulauan Riau',106.6,117.5,90.7,1.083333,104.4833), (2011,5,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,5,32,'Prov. Jawa Barat',131.7,134.6,97.8,-6.914722,107.6097), (2011,5,33,'Prov. Jawa Tengah',138.2,128.2,107.8,-6.966667,110.4167), (2011,5,34,'Prov. D I Yogyakarta',131.4,127.3,103.2,-7.801389,110.3644), (2011,5,35,'Prov. Jawa Timur',130.4,134.1,97.2,-7.266667,112.7167), (2011,5,36,'Prov. Banten',130.6,128.2,101.9,-6.12,106.1503), (2011,5,51,'Prov. Bali',118.2,130.2,90.8,-8.65,115.2167), (2011,5,52,'Prov. Nusa Tenggara Barat',146.8,127.9,114.8,-8.583333,116.1167), (2011,5,53,'Prov. Nusa Tenggara Timur',143.7,125,115,-10.18333,123.5833), (2011,5,61,'Prov. Kalimantan Barat',104.4,125.2,83.4,-0.0166667,109.3333), (2011,5,62,'Prov. Kalimantan Tengah',116.9,129,90.7,-2.21,113.92), (2011,5,63,'Prov. Kalimantan Selatan',127.3,123.6,103,-3.314444,114.5925), (2011,5,64,'Prov. Kalimantan Timur',140.8,121.4,116,-0.5022222,117.1536), (2011,5,71,'Prov. Sulawesi Utara',130.8,128.3,102,1.493056,124.8414), (2011,5,72,'Prov. Sulawesi Tengah',128.3,130.7,98.2,-0.9,119.8333), (2011,5,73,'Prov. Sulawesi Selatan',124.8,127.7,97.8,-5.133333,119.4167), (2011,5,74,'Prov. Sulawesi Tenggara',116.5,126.5,92.1,-3.9675,122.5947), (2011,5,75,'Prov. Gorontalo',117.4,125.7,93.4,0.5333334,123.0667), (2011,5,76,'Prov. Sulawesi Barat',144.5,129.3,111.8,-2.668611,118.8622), (2011,5,81,'Prov. Maluku',110.8,129.8,85.4,-3.7,128.1667), (2011,5,82,'Prov. Maluku Utara',113,121,93.4,0.7833334,127.3667), (2011,5,91,'Prov. Papua Barat',136,120.3,113,-0.8666667,134.0833), (2011,5,94,'Prov. Papua',119.9,121,99.1,-2.533056,140.7169), (2011,6,11,'Prov. Nanggroe Aceh Darussalam',123.3,124.5,99,5.55,95.31667), (2011,6,12,'Prov. Sumatera Utara',132.5,126.7,104.6,3.583333,98.66666), (2011,6,13,'Prov. Sumatera Barat',125.6,124.3,101,-0.95,100.3531), (2011,6,14,'Prov. Riau',132.6,130.5,101.6,0.4816667,101.4686), (2011,6,15,'Prov. Jambi',123.8,124.7,99.2,-1.589167,103.61), (2011,6,16,'Prov. Sumatera Selatan',127.2,121.4,104.8,-2.990833,104.7567), (2011,6,17,'Prov. Bengkulu',142.6,130.3,109.4,-3.795556,102.2592), (2011,6,18,'Prov. Lampung',127.1,119,106.8,-5.429722,105.2625), (2011,6,19,'Prov. Kepulauan Bangka Belitung',107.1,112.5,95.2,-2.1,106.1), (2011,6,21,'Prov. Kepulauan Riau',106.8,117.7,90.8,1.083333,104.4833), (2011,6,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,6,32,'Prov. Jawa Barat',132.1,134.8,98,-6.914722,107.6097), (2011,6,33,'Prov. Jawa Tengah',138.6,128.8,107.6,-6.966667,110.4167), (2011,6,34,'Prov. D I Yogyakarta',132,127.9,103.2,-7.801389,110.3644), (2011,6,35,'Prov. Jawa Timur',131.2,134.9,97.3,-7.266667,112.7167), (2011,6,36,'Prov. Banten',130.9,128.8,101.6,-6.12,106.1503), (2011,6,51,'Prov. Bali',118.8,130.4,91.1,-8.65,115.2167), (2011,6,52,'Prov. Nusa Tenggara Barat',146.8,128.4,114.3,-8.583333,116.1167), (2011,6,53,'Prov. Nusa Tenggara Timur',144.8,125.1,115.7,-10.18333,123.5833), (2011,6,61,'Prov. Kalimantan Barat',104.4,125.5,83.2,-0.0166667,109.3333), (2011,6,62,'Prov. Kalimantan Tengah',117,129.4,90.4,-2.21,113.92), (2011,6,63,'Prov. Kalimantan Selatan',127.4,123.9,102.8,-3.314444,114.5925), (2011,6,64,'Prov. Kalimantan Timur',141.2,121.1,116.6,-0.5022222,117.1536), (2011,6,71,'Prov. Sulawesi Utara',131.1,128.1,102.4,1.493056,124.8414), (2011,6,72,'Prov. Sulawesi Tengah',128.6,130.5,98.6,-0.9,119.8333), (2011,6,73,'Prov. Sulawesi Selatan',125,127.7,97.9,-5.133333,119.4167), (2011,6,74,'Prov. Sulawesi Tenggara',116.4,127,91.7,-3.9675,122.5947), (2011,6,75,'Prov. Gorontalo',117.5,126,93.2,0.5333334,123.0667), (2011,6,76,'Prov. Sulawesi Barat',144.8,129.6,111.7,-2.668611,118.8622), (2011,6,81,'Prov. Maluku',110.8,130.2,85.1,-3.7,128.1667), (2011,6,82,'Prov. Maluku Utara',113.2,121,93.6,0.7833334,127.3667), (2011,6,91,'Prov. Papua Barat',136,120.7,112.7,-0.8666667,134.0833), (2011,6,94,'Prov. Papua',119.7,121.4,98.6,-2.533056,140.7169), (2011,7,11,'Prov. Nanggroe Aceh Darussalam',123.6,125,98.9,5.55,95.31667), (2011,7,12,'Prov. Sumatera Utara',133,127,104.7,3.583333,98.66666), (2011,7,13,'Prov. Sumatera Barat',125.6,125.1,100.4,-0.95,100.3531), (2011,7,14,'Prov. Riau',132.6,131,101.2,0.4816667,101.4686), (2011,7,15,'Prov. Jambi',123.8,125.5,98.7,-1.589167,103.61), (2011,7,16,'Prov. Sumatera Selatan',127.7,122.3,104.4,-2.990833,104.7567), (2011,7,17,'Prov. Bengkulu',143.2,131,109.3,-3.795556,102.2592), (2011,7,18,'Prov. Lampung',127.4,119.7,106.4,-5.429722,105.2625), (2011,7,19,'Prov. Kepulauan Bangka Belitung',107.3,112.9,95,-2.1,106.1), (2011,7,21,'Prov. Kepulauan Riau',106.8,117.9,90.6,1.083333,104.4833), (2011,7,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,7,32,'Prov. Jawa Barat',132.9,135.5,98.1,-6.914722,107.6097), (2011,7,33,'Prov. Jawa Tengah',139.3,129.3,107.7,-6.966667,110.4167), (2011,7,34,'Prov. D I Yogyakarta',132.9,128.6,103.4,-7.801389,110.3644), (2011,7,35,'Prov. Jawa Timur',132.1,135.8,97.2,-7.266667,112.7167), (2011,7,36,'Prov. Banten',131.4,129.4,101.6,-6.12,106.1503), (2011,7,51,'Prov. Bali',119.3,130.9,91.2,-8.65,115.2167), (2011,7,52,'Prov. Nusa Tenggara Barat',147.3,129,114.2,-8.583333,116.1167), (2011,7,53,'Prov. Nusa Tenggara Timur',145,125.5,115.5,-10.18333,123.5833), (2011,7,61,'Prov. Kalimantan Barat',104.6,125.9,83.1,-0.0166667,109.3333), (2011,7,62,'Prov. Kalimantan Tengah',117,129.8,90.1,-2.21,113.92), (2011,7,63,'Prov. Kalimantan Selatan',127.8,124.1,103,-3.314444,114.5925), (2011,7,64,'Prov. Kalimantan Timur',141.8,121.6,116.6,-0.5022222,117.1536), (2011,7,71,'Prov. Sulawesi Utara',131.1,129.5,101.3,1.493056,124.8414), (2011,7,72,'Prov. Sulawesi Tengah',128.7,131.2,98,-0.9,119.8333), (2011,7,73,'Prov. Sulawesi Selatan',125.8,128,98.3,-5.133333,119.4167), (2011,7,74,'Prov. Sulawesi Tenggara',116.6,127.5,91.5,-3.9675,122.5947), (2011,7,75,'Prov. Gorontalo',117.8,126,93.4,0.5333334,123.0667), (2011,7,76,'Prov. Sulawesi Barat',145.1,130.7,111,-2.668611,118.8622), (2011,7,81,'Prov. Maluku',110.8,130.4,85,-3.7,128.1667), (2011,7,82,'Prov. Maluku Utara',113.4,121.4,93.4,0.7833334,127.3667), (2011,7,91,'Prov. Papua Barat',136,120.8,112.6,-0.8666667,134.0833), (2011,7,94,'Prov. Papua',119.8,121.5,98.5,-2.533056,140.7169), (2011,8,11,'Prov. Nanggroe Aceh Darussalam',124,125.7,98.6,5.55,95.31667), (2011,8,12,'Prov. Sumatera Utara',133.8,127.5,105,3.583333,98.66666), (2011,8,13,'Prov. Sumatera Barat',125.9,125.6,100.2,-0.95,100.3531), (2011,8,14,'Prov. Riau',132.7,131.7,100.8,0.4816667,101.4686), (2011,8,15,'Prov. Jambi',124.7,126.6,98.5,-1.589167,103.61), (2011,8,16,'Prov. Sumatera Selatan',128,122.8,104.3,-2.990833,104.7567), (2011,8,17,'Prov. Bengkulu',144.1,131.5,109.6,-3.795556,102.2592), (2011,8,18,'Prov. Lampung',127.7,120.4,106.1,-5.429722,105.2625), (2011,8,19,'Prov. Kepulauan Bangka Belitung',107.9,113.5,95.1,-2.1,106.1), (2011,8,21,'Prov. Kepulauan Riau',107,118.5,90.3,1.083333,104.4833), (2011,8,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,8,32,'Prov. Jawa Barat',133.4,136.5,97.8,-6.914722,107.6097), (2011,8,33,'Prov. Jawa Tengah',139.8,130,107.6,-6.966667,110.4167), (2011,8,34,'Prov. D I Yogyakarta',133,129,103.1,-7.801389,110.3644), (2011,8,35,'Prov. Jawa Timur',132.6,136.5,97.2,-7.266667,112.7167), (2011,8,36,'Prov. Banten',132.2,130.4,101.4,-6.12,106.1503), (2011,8,51,'Prov. Bali',119.3,131.3,90.9,-8.65,115.2167), (2011,8,52,'Prov. Nusa Tenggara Barat',147.5,129.2,114.1,-8.583333,116.1167), (2011,8,53,'Prov. Nusa Tenggara Timur',145.6,126.5,115.1,-10.18333,123.5833), (2011,8,61,'Prov. Kalimantan Barat',104.8,126.9,82.6,-0.0166667,109.3333), (2011,8,62,'Prov. Kalimantan Tengah',117.1,130.1,90,-2.21,113.92), (2011,8,63,'Prov. Kalimantan Selatan',127.9,124.9,102.4,-3.314444,114.5925), (2011,8,64,'Prov. Kalimantan Timur',142,122.1,116.3,-0.5022222,117.1536), (2011,8,71,'Prov. Sulawesi Utara',131.8,129.5,101.8,1.493056,124.8414), (2011,8,72,'Prov. Sulawesi Tengah',129,132.1,97.6,-0.9,119.8333), (2011,8,73,'Prov. Sulawesi Selatan',126.5,129.6,97.6,-5.133333,119.4167), (2011,8,74,'Prov. Sulawesi Tenggara',116.7,128.3,90.9,-3.9675,122.5947), (2011,8,75,'Prov. Gorontalo',118.2,126.7,93.2,0.5333334,123.0667), (2011,8,76,'Prov. Sulawesi Barat',145.7,131.1,111.1,-2.668611,118.8622), (2011,8,81,'Prov. Maluku',110.8,130.8,84.7,-3.7,128.1667), (2011,8,82,'Prov. Maluku Utara',114,121.7,93.6,0.7833334,127.3667), (2011,8,91,'Prov. Papua Barat',136.8,121,113.1,-0.8666667,134.0833), (2011,8,94,'Prov. Papua',119.9,122.3,98.1,-2.533056,140.7169), (2011,9,11,'Prov. Nanggroe Aceh Darussalam',124,125.9,98.5,5.55,95.31667), (2011,9,12,'Prov. Sumatera Utara',133.8,127.7,104.8,3.583333,98.66666), (2011,9,13,'Prov. Sumatera Barat',125.9,125.6,100.3,-0.95,100.3531), (2011,9,14,'Prov. Riau',133.2,132,100.9,0.4816667,101.4686), (2011,9,15,'Prov. Jambi',124,126.8,97.8,-1.589167,103.61), (2011,9,16,'Prov. Sumatera Selatan',128.6,123.2,104.3,-2.990833,104.7567), (2011,9,17,'Prov. Bengkulu',143.7,131.6,109.2,-3.795556,102.2592), (2011,9,18,'Prov. Lampung',127.2,120.8,105.3,-5.429722,105.2625), (2011,9,19,'Prov. Kepulauan Bangka Belitung',108.1,113.8,95,-2.1,106.1), (2011,9,21,'Prov. Kepulauan Riau',106.8,118.7,89.9,1.083333,104.4833), (2011,9,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,9,32,'Prov. Jawa Barat',133,136.6,97.4,-6.914722,107.6097), (2011,9,33,'Prov. Jawa Tengah',140.4,130.7,107.4,-6.966667,110.4167), (2011,9,34,'Prov. D I Yogyakarta',132.9,129.4,102.7,-7.801389,110.3644), (2011,9,35,'Prov. Jawa Timur',132.7,137,96.8,-7.266667,112.7167), (2011,9,36,'Prov. Banten',131.7,130.4,101,-6.12,106.1503), (2011,9,51,'Prov. Bali',119.2,131.7,90.6,-8.65,115.2167), (2011,9,52,'Prov. Nusa Tenggara Barat',146.9,129.3,113.6,-8.583333,116.1167), (2011,9,53,'Prov. Nusa Tenggara Timur',145.8,127.2,114.7,-10.18333,123.5833), (2011,9,61,'Prov. Kalimantan Barat',105.1,126.8,82.9,-0.0166667,109.3333), (2011,9,62,'Prov. Kalimantan Tengah',117.4,130.4,90,-2.21,113.92), (2011,9,63,'Prov. Kalimantan Selatan',128.6,125.2,102.8,-3.314444,114.5925), (2011,9,64,'Prov. Kalimantan Timur',142.4,122.2,116.5,-0.5022222,117.1536), (2011,9,71,'Prov. Sulawesi Utara',132.3,129.7,102,1.493056,124.8414), (2011,9,72,'Prov. Sulawesi Tengah',129.3,132,97.9,-0.9,119.8333), (2011,9,73,'Prov. Sulawesi Selatan',126.9,129.8,97.8,-5.133333,119.4167), (2011,9,74,'Prov. Sulawesi Tenggara',116.6,128.3,90.8,-3.9675,122.5947), (2011,9,75,'Prov. Gorontalo',118.2,126.7,93.3,0.5333334,123.0667), (2011,9,76,'Prov. Sulawesi Barat',146.2,130.9,111.6,-2.668611,118.8622), (2011,9,81,'Prov. Maluku',111,130.7,85,-3.7,128.1667), (2011,9,82,'Prov. Maluku Utara',114.2,121.5,94,0.7833334,127.3667), (2011,9,91,'Prov. Papua Barat',136.8,120.9,113.1,-0.8666667,134.0833), (2011,9,94,'Prov. Papua',120,122.3,98.1,-2.533056,140.7169), (2011,10,11,'Prov. Nanggroe Aceh Darussalam',124.1,126.3,98.3,5.55,95.31667), (2011,10,12,'Prov. Sumatera Utara',134.5,127.8,105.3,3.583333,98.66666), (2011,10,13,'Prov. Sumatera Barat',126.8,126,100.6,-0.95,100.3531), (2011,10,14,'Prov. Riau',133.2,132.4,100.6,0.4816667,101.4686), (2011,10,15,'Prov. Jambi',124.2,127,97.8,-1.589167,103.61), (2011,10,16,'Prov. Sumatera Selatan',128.7,123.4,104.2,-2.990833,104.7567), (2011,10,17,'Prov. Bengkulu',144.7,132.1,109.5,-3.795556,102.2592), (2011,10,18,'Prov. Lampung',127.9,121.3,105.4,-5.429722,105.2625), (2011,10,19,'Prov. Kepulauan Bangka Belitung',108.5,113.7,95.4,-2.1,106.1), (2011,10,21,'Prov. Kepulauan Riau',107,119.1,89.9,1.083333,104.4833), (2011,10,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,10,32,'Prov. Jawa Barat',134.1,136.7,98.1,-6.914722,107.6097), (2011,10,33,'Prov. Jawa Tengah',140.9,131.2,107.4,-6.966667,110.4167), (2011,10,34,'Prov. D I Yogyakarta',133.6,129.6,103.1,-7.801389,110.3644), (2011,10,35,'Prov. Jawa Timur',133.5,137.2,97.3,-7.266667,112.7167), (2011,10,36,'Prov. Banten',132.4,130.7,101.3,-6.12,106.1503), (2011,10,51,'Prov. Bali',119.7,132.1,90.7,-8.65,115.2167), (2011,10,52,'Prov. Nusa Tenggara Barat',147.6,129.8,113.8,-8.583333,116.1167), (2011,10,53,'Prov. Nusa Tenggara Timur',146.4,127.6,114.8,-10.18333,123.5833), (2011,10,61,'Prov. Kalimantan Barat',105.3,127,82.9,-0.0166667,109.3333), (2011,10,62,'Prov. Kalimantan Tengah',117.4,130,90.3,-2.21,113.92), (2011,10,63,'Prov. Kalimantan Selatan',129,125,103.2,-3.314444,114.5925), (2011,10,64,'Prov. Kalimantan Timur',143,122.2,117,-0.5022222,117.1536), (2011,10,71,'Prov. Sulawesi Utara',132.9,129.9,102.3,1.493056,124.8414), (2011,10,72,'Prov. Sulawesi Tengah',129.3,131.8,98.1,-0.9,119.8333), (2011,10,73,'Prov. Sulawesi Selatan',127.2,129.5,98.2,-5.133333,119.4167), (2011,10,74,'Prov. Sulawesi Tenggara',116.6,128.5,90.7,-3.9675,122.5947), (2011,10,75,'Prov. Gorontalo',118.3,126.7,93.4,0.5333334,123.0667), (2011,10,76,'Prov. Sulawesi Barat',146.4,131,111.7,-2.668611,118.8622), (2011,10,81,'Prov. Maluku',111,130.6,85,-3.7,128.1667), (2011,10,82,'Prov. Maluku Utara',114.4,121.1,94.4,0.7833334,127.3667), (2011,10,91,'Prov. Papua Barat',137.6,120.9,113.8,-0.8666667,134.0833), (2011,10,94,'Prov. Papua',119.8,122.1,98.1,-2.533056,140.7169), (2011,11,11,'Prov. Nanggroe Aceh Darussalam',125.3,126.5,99.1,5.55,95.31667), (2011,11,12,'Prov. Sumatera Utara',135.2,128.1,105.6,3.583333,98.66666), (2011,11,13,'Prov. Sumatera Barat',127.2,126.4,100.7,-0.95,100.3531), (2011,11,14,'Prov. Riau',133.9,132.4,101.1,0.4816667,101.4686), (2011,11,15,'Prov. Jambi',124.6,127.2,97.9,-1.589167,103.61), (2011,11,16,'Prov. Sumatera Selatan',129.4,123.5,104.8,-2.990833,104.7567), (2011,11,17,'Prov. Bengkulu',145.5,132.2,110.1,-3.795556,102.2592), (2011,11,18,'Prov. Lampung',128.8,121.8,105.8,-5.429722,105.2625), (2011,11,19,'Prov. Kepulauan Bangka Belitung',109.1,114,95.8,-2.1,106.1), (2011,11,21,'Prov. Kepulauan Riau',108.3,119.2,90.9,1.083333,104.4833), (2011,11,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,11,32,'Prov. Jawa Barat',135.2,137.2,98.5,-6.914722,107.6097), (2011,11,33,'Prov. Jawa Tengah',141.9,131.8,107.7,-6.966667,110.4167), (2011,11,34,'Prov. D I Yogyakarta',134.7,129.9,103.6,-7.801389,110.3644), (2011,11,35,'Prov. Jawa Timur',134.2,137.7,97.4,-7.266667,112.7167), (2011,11,36,'Prov. Banten',133.6,131.1,101.9,-6.12,106.1503), (2011,11,51,'Prov. Bali',121,132.1,91.6,-8.65,115.2167), (2011,11,52,'Prov. Nusa Tenggara Barat',148.7,130.1,114.3,-8.583333,116.1167), (2011,11,53,'Prov. Nusa Tenggara Timur',147,128,114.8,-10.18333,123.5833), (2011,11,61,'Prov. Kalimantan Barat',105.3,127.4,82.7,-0.0166667,109.3333), (2011,11,62,'Prov. Kalimantan Tengah',117.5,130,90.4,-2.21,113.92), (2011,11,63,'Prov. Kalimantan Selatan',130,125.1,103.9,-3.314444,114.5925), (2011,11,64,'Prov. Kalimantan Timur',142.8,122.5,116.5,-0.5022222,117.1536), (2011,11,71,'Prov. Sulawesi Utara',133.2,130.3,102.2,1.493056,124.8414), (2011,11,72,'Prov. Sulawesi Tengah',130.4,132.1,98.7,-0.9,119.8333), (2011,11,73,'Prov. Sulawesi Selatan',127.5,129.8,98.2,-5.133333,119.4167), (2011,11,74,'Prov. Sulawesi Tenggara',117.6,128.4,91.6,-3.9675,122.5947), (2011,11,75,'Prov. Gorontalo',118.2,127.2,93,0.5333334,123.0667), (2011,11,76,'Prov. Sulawesi Barat',147.9,131.3,112.6,-2.668611,118.8622), (2011,11,81,'Prov. Maluku',111.7,131,85.2,-3.7,128.1667), (2011,11,82,'Prov. Maluku Utara',114.7,121.1,94.7,0.7833334,127.3667), (2011,11,91,'Prov. Papua Barat',138.2,121.1,114.1,-0.8666667,134.0833), (2011,11,94,'Prov. Papua',121.5,122.1,99.5,-2.533056,140.7169), (2011,12,11,'Prov. Nanggroe Aceh Darussalam',124.9,126.5,98.7,5.55,95.31667), (2011,12,12,'Prov. Sumatera Utara',135,128.5,105,3.583333,98.66666), (2011,12,13,'Prov. Sumatera Barat',126.9,126.6,100.3,-0.95,100.3531), (2011,12,14,'Prov. Riau',134,132.6,101,0.4816667,101.4686), (2011,12,15,'Prov. Jambi',124.6,127.6,97.7,-1.589167,103.61), (2011,12,16,'Prov. Sumatera Selatan',129.3,123.6,104.6,-2.990833,104.7567), (2011,12,17,'Prov. Bengkulu',145.4,132.1,110.1,-3.795556,102.2592), (2011,12,18,'Prov. Lampung',128.4,122,105.2,-5.429722,105.2625), (2011,12,19,'Prov. Kepulauan Bangka Belitung',109.1,114,95.7,-2.1,106.1), (2011,12,21,'Prov. Kepulauan Riau',108.2,119.5,90.6,1.083333,104.4833), (2011,12,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2011,12,32,'Prov. Jawa Barat',135,137.8,98,-6.914722,107.6097), (2011,12,33,'Prov. Jawa Tengah',141.9,132,107.4,-6.966667,110.4167), (2011,12,34,'Prov. D I Yogyakarta',134.7,130.1,103.5,-7.801389,110.3644), (2011,12,35,'Prov. Jawa Timur',134.2,138.2,97.1,-7.266667,112.7167), (2011,12,36,'Prov. Banten',133.4,131,101.8,-6.12,106.1503), (2011,12,51,'Prov. Bali',121.7,132.5,91.9,-8.65,115.2167), (2011,12,52,'Prov. Nusa Tenggara Barat',148.7,130.5,113.9,-8.583333,116.1167), (2011,12,53,'Prov. Nusa Tenggara Timur',147.5,128.3,115,-10.18333,123.5833), (2011,12,61,'Prov. Kalimantan Barat',105.4,127.8,82.5,-0.0166667,109.3333), (2011,12,62,'Prov. Kalimantan Tengah',117.7,130.6,90.1,-2.21,113.92), (2011,12,63,'Prov. Kalimantan Selatan',129.6,125.3,103.5,-3.314444,114.5925), (2011,12,64,'Prov. Kalimantan Timur',142.7,122.8,116.2,-0.5022222,117.1536), (2011,12,71,'Prov. Sulawesi Utara',133.8,130.9,102.2,1.493056,124.8414), (2011,12,72,'Prov. Sulawesi Tengah',130.6,132.2,98.8,-0.9,119.8333), (2011,12,73,'Prov. Sulawesi Selatan',127.2,130.2,97.7,-5.133333,119.4167), (2011,12,74,'Prov. Sulawesi Tenggara',118,128.6,91.8,-3.9675,122.5947), (2011,12,75,'Prov. Gorontalo',117.9,127.6,92.4,0.5333334,123.0667), (2011,12,76,'Prov. Sulawesi Barat',147.4,131.3,112.3,-2.668611,118.8622), (2011,12,81,'Prov. Maluku',111.9,131.3,85.3,-3.7,128.1667), (2011,12,82,'Prov. Maluku Utara',114.6,121.4,94.4,0.7833334,127.3667), (2011,12,91,'Prov. Papua Barat',138.5,121.2,114.3,-0.8666667,134.0833), (2011,12,94,'Prov. Papua',122.1,122.6,99.5,-2.533056,140.7169), (2012,1,11,'Prov. Nanggroe Aceh Darussalam',126.5,126.8,99.8,5.55,95.31667), (2012,1,12,'Prov. Sumatera Utara',136.2,128.9,105.7,3.583333,98.66666), (2012,1,13,'Prov. Sumatera Barat',127.6,127.2,100.3,-0.95,100.3531), (2012,1,14,'Prov. Riau',134.9,133.3,101.2,0.4816667,101.4686), (2012,1,15,'Prov. Jambi',125.7,128.2,98.1,-1.589167,103.61), (2012,1,16,'Prov. Sumatera Selatan',130.2,124.2,104.8,-2.990833,104.7567), (2012,1,17,'Prov. Bengkulu',145.2,132.6,109.5,-3.795556,102.2592), (2012,1,18,'Prov. Lampung',128.2,122.2,104.9,-5.429722,105.2625), (2012,1,19,'Prov. Kepulauan Bangka Belitung',110.3,114.5,96.3,-2.1,106.1), (2012,1,21,'Prov. Kepulauan Riau',108.4,119.9,90.4,1.083333,104.4833), (2012,1,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,1,32,'Prov. Jawa Barat',135.5,138.8,97.7,-6.914722,107.6097), (2012,1,33,'Prov. Jawa Tengah',143.5,133.1,107.8,-6.966667,110.4167), (2012,1,34,'Prov. D I Yogyakarta',135.5,130.6,103.8,-7.801389,110.3644), (2012,1,35,'Prov. Jawa Timur',135.6,139,97.6,-7.266667,112.7167), (2012,1,36,'Prov. Banten',133.4,131.6,101.3,-6.12,106.1503), (2012,1,51,'Prov. Bali',122.3,133,92,-8.65,115.2167), (2012,1,52,'Prov. Nusa Tenggara Barat',149.7,131.2,114.1,-8.583333,116.1167), (2012,1,53,'Prov. Nusa Tenggara Timur',147.6,129,114.4,-10.18333,123.5833), (2012,1,61,'Prov. Kalimantan Barat',105.5,128.8,81.9,-0.0166667,109.3333), (2012,1,62,'Prov. Kalimantan Tengah',118,131.4,89.7,-2.21,113.92), (2012,1,63,'Prov. Kalimantan Selatan',130.5,126.1,103.6,-3.314444,114.5925), (2012,1,64,'Prov. Kalimantan Timur',143.5,123.3,116.4,-0.5022222,117.1536), (2012,1,71,'Prov. Sulawesi Utara',134.6,131.4,102.5,1.493056,124.8414), (2012,1,72,'Prov. Sulawesi Tengah',130.8,132.6,98.6,-0.9,119.8333), (2012,1,73,'Prov. Sulawesi Selatan',127.7,130.8,97.6,-5.133333,119.4167), (2012,1,74,'Prov. Sulawesi Tenggara',118.1,129.3,91.3,-3.9675,122.5947), (2012,1,75,'Prov. Gorontalo',118.4,127.6,92.8,0.5333334,123.0667), (2012,1,76,'Prov. Sulawesi Barat',147.4,131.7,111.9,-2.668611,118.8622), (2012,1,81,'Prov. Maluku',112.7,131.8,85.5,-3.7,128.1667), (2012,1,82,'Prov. Maluku Utara',114.3,122.2,93.6,0.7833334,127.3667), (2012,1,91,'Prov. Papua Barat',138.5,121.8,113.7,-0.8666667,134.0833), (2012,1,94,'Prov. Papua',123.2,123.2,100,-2.533056,140.7169), (2012,2,11,'Prov. Nanggroe Aceh Darussalam',126.3,127,99.5,5.55,95.31667), (2012,2,12,'Prov. Sumatera Utara',136.6,129.1,105.7,3.583333,98.66666), (2012,2,13,'Prov. Sumatera Barat',127.9,127.3,100.5,-0.95,100.3531), (2012,2,14,'Prov. Riau',135.1,133.3,101.3,0.4816667,101.4686), (2012,2,15,'Prov. Jambi',126.7,128.4,98.7,-1.589167,103.61), (2012,2,16,'Prov. Sumatera Selatan',130.2,124.2,104.8,-2.990833,104.7567), (2012,2,17,'Prov. Bengkulu',145.3,132.7,109.5,-3.795556,102.2592), (2012,2,18,'Prov. Lampung',128.8,122.1,105.5,-5.429722,105.2625), (2012,2,19,'Prov. Kepulauan Bangka Belitung',110.3,114.7,96.2,-2.1,106.1), (2012,2,21,'Prov. Kepulauan Riau',108.6,120.2,90.3,1.083333,104.4833), (2012,2,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,2,32,'Prov. Jawa Barat',136,139.4,97.6,-6.914722,107.6097), (2012,2,33,'Prov. Jawa Tengah',143.8,133.7,107.5,-6.966667,110.4167), (2012,2,34,'Prov. D I Yogyakarta',136.3,130.8,104.2,-7.801389,110.3644), (2012,2,35,'Prov. Jawa Timur',136.1,139.5,97.6,-7.266667,112.7167), (2012,2,36,'Prov. Banten',133.3,132,101,-6.12,106.1503), (2012,2,51,'Prov. Bali',123.1,133.7,92.1,-8.65,115.2167), (2012,2,52,'Prov. Nusa Tenggara Barat',150.2,132,113.8,-8.583333,116.1167), (2012,2,53,'Prov. Nusa Tenggara Timur',148.4,129.9,114.2,-10.18333,123.5833), (2012,2,61,'Prov. Kalimantan Barat',105.4,129.3,81.5,-0.0166667,109.3333), (2012,2,62,'Prov. Kalimantan Tengah',118.5,131.7,90,-2.21,113.92), (2012,2,63,'Prov. Kalimantan Selatan',131.2,126.7,103.6,-3.314444,114.5925), (2012,2,64,'Prov. Kalimantan Timur',143.9,123.8,116.3,-0.5022222,117.1536), (2012,2,71,'Prov. Sulawesi Utara',134.6,132,102,1.493056,124.8414), (2012,2,72,'Prov. Sulawesi Tengah',130.7,133,98.2,-0.9,119.8333), (2012,2,73,'Prov. Sulawesi Selatan',127.9,131.4,97.3,-5.133333,119.4167), (2012,2,74,'Prov. Sulawesi Tenggara',118.2,129.7,91.1,-3.9675,122.5947), (2012,2,75,'Prov. Gorontalo',118.3,128.1,92.4,0.5333334,123.0667), (2012,2,76,'Prov. Sulawesi Barat',147.4,132.2,111.5,-2.668611,118.8622), (2012,2,81,'Prov. Maluku',112.7,132.5,85,-3.7,128.1667), (2012,2,82,'Prov. Maluku Utara',114.4,122.3,93.5,0.7833334,127.3667), (2012,2,91,'Prov. Papua Barat',138.6,121.8,113.8,-0.8666667,134.0833), (2012,2,94,'Prov. Papua',123.7,123.4,100.3,-2.533056,140.7169), (2012,3,11,'Prov. Nanggroe Aceh Darussalam',126.4,127.2,99.3,5.55,95.31667), (2012,3,12,'Prov. Sumatera Utara',136.9,129.6,105.7,3.583333,98.66666), (2012,3,13,'Prov. Sumatera Barat',127.9,127.3,100.5,-0.95,100.3531), (2012,3,14,'Prov. Riau',135,133.5,101.1,0.4816667,101.4686), (2012,3,15,'Prov. Jambi',126.6,128.7,98.4,-1.589167,103.61), (2012,3,16,'Prov. Sumatera Selatan',130.6,124.4,105,-2.990833,104.7567), (2012,3,17,'Prov. Bengkulu',145.2,132.8,109.3,-3.795556,102.2592), (2012,3,18,'Prov. Lampung',128.9,122.1,105.6,-5.429722,105.2625), (2012,3,19,'Prov. Kepulauan Bangka Belitung',110.3,114.8,96.1,-2.1,106.1), (2012,3,21,'Prov. Kepulauan Riau',108.5,120.2,90.2,1.083333,104.4833), (2012,3,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,3,32,'Prov. Jawa Barat',136.7,139.4,98,-6.914722,107.6097), (2012,3,33,'Prov. Jawa Tengah',144,133.8,107.6,-6.966667,110.4167), (2012,3,34,'Prov. D I Yogyakarta',136.4,131.1,104.1,-7.801389,110.3644), (2012,3,35,'Prov. Jawa Timur',136.5,139.8,97.7,-7.266667,112.7167), (2012,3,36,'Prov. Banten',133.8,131.9,101.5,-6.12,106.1503), (2012,3,51,'Prov. Bali',122.8,133.8,91.7,-8.65,115.2167), (2012,3,52,'Prov. Nusa Tenggara Barat',150.3,131.7,114.1,-8.583333,116.1167), (2012,3,53,'Prov. Nusa Tenggara Timur',148.6,130.3,114.1,-10.18333,123.5833), (2012,3,61,'Prov. Kalimantan Barat',105.6,129.7,81.4,-0.0166667,109.3333), (2012,3,62,'Prov. Kalimantan Tengah',118.5,131.9,89.8,-2.21,113.92), (2012,3,63,'Prov. Kalimantan Selatan',131.3,126.8,103.5,-3.314444,114.5925), (2012,3,64,'Prov. Kalimantan Timur',144.2,124.2,116.1,-0.5022222,117.1536), (2012,3,71,'Prov. Sulawesi Utara',134.3,132.4,101.4,1.493056,124.8414), (2012,3,72,'Prov. Sulawesi Tengah',131,133.5,98.1,-0.9,119.8333), (2012,3,73,'Prov. Sulawesi Selatan',127.7,131.5,97.1,-5.133333,119.4167), (2012,3,74,'Prov. Sulawesi Tenggara',118.1,130,90.9,-3.9675,122.5947), (2012,3,75,'Prov. Gorontalo',118.7,128.7,92.2,0.5333334,123.0667), (2012,3,76,'Prov. Sulawesi Barat',147.8,132.3,111.7,-2.668611,118.8622), (2012,3,81,'Prov. Maluku',112.8,133.2,84.7,-3.7,128.1667), (2012,3,82,'Prov. Maluku Utara',114.4,122.3,93.5,0.7833334,127.3667), (2012,3,91,'Prov. Papua Barat',139,121.9,114,-0.8666667,134.0833), (2012,3,94,'Prov. Papua',123.9,123.5,100.3,-2.533056,140.7169), (2012,4,11,'Prov. Nanggroe Aceh Darussalam',126.2,127.5,99,5.55,95.31667), (2012,4,12,'Prov. Sumatera Utara',136.8,130,105.2,3.583333,98.66666), (2012,4,13,'Prov. Sumatera Barat',127.9,127.5,100.3,-0.95,100.3531), (2012,4,14,'Prov. Riau',135.4,133.9,101.1,0.4816667,101.4686), (2012,4,15,'Prov. Jambi',127.4,128.8,98.9,-1.589167,103.61), (2012,4,16,'Prov. Sumatera Selatan',131,124.6,105.1,-2.990833,104.7567), (2012,4,17,'Prov. Bengkulu',145.1,133,109.1,-3.795556,102.2592), (2012,4,18,'Prov. Lampung',129,122.1,105.6,-5.429722,105.2625), (2012,4,19,'Prov. Kepulauan Bangka Belitung',110.6,115.2,96,-2.1,106.1), (2012,4,21,'Prov. Kepulauan Riau',108.6,120.5,90.1,1.083333,104.4833), (2012,4,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,4,32,'Prov. Jawa Barat',136.6,139.5,97.9,-6.914722,107.6097), (2012,4,33,'Prov. Jawa Tengah',144.5,134.1,107.8,-6.966667,110.4167), (2012,4,34,'Prov. D I Yogyakarta',136.1,131.2,103.7,-7.801389,110.3644), (2012,4,35,'Prov. Jawa Timur',137,140,97.8,-7.266667,112.7167), (2012,4,36,'Prov. Banten',134.2,132.2,101.5,-6.12,106.1503), (2012,4,51,'Prov. Bali',123.2,134.1,91.9,-8.65,115.2167), (2012,4,52,'Prov. Nusa Tenggara Barat',150.2,131.6,114.1,-8.583333,116.1167), (2012,4,53,'Prov. Nusa Tenggara Timur',149.3,130.5,114.4,-10.18333,123.5833), (2012,4,61,'Prov. Kalimantan Barat',105.6,130.2,81.1,-0.0166667,109.3333), (2012,4,62,'Prov. Kalimantan Tengah',118.8,132.3,89.8,-2.21,113.92), (2012,4,63,'Prov. Kalimantan Selatan',131.7,126.8,103.8,-3.314444,114.5925), (2012,4,64,'Prov. Kalimantan Timur',143.8,124.3,115.7,-0.5022222,117.1536), (2012,4,71,'Prov. Sulawesi Utara',134.3,133.2,100.9,1.493056,124.8414), (2012,4,72,'Prov. Sulawesi Tengah',131.3,134.2,97.8,-0.9,119.8333), (2012,4,73,'Prov. Sulawesi Selatan',127.6,132.2,96.5,-5.133333,119.4167), (2012,4,74,'Prov. Sulawesi Tenggara',118.2,130.4,90.6,-3.9675,122.5947), (2012,4,75,'Prov. Gorontalo',118.3,128.8,91.9,0.5333334,123.0667), (2012,4,76,'Prov. Sulawesi Barat',148.4,132.3,112.2,-2.668611,118.8622), (2012,4,81,'Prov. Maluku',113,134,84.4,-3.7,128.1667), (2012,4,82,'Prov. Maluku Utara',114.4,122.7,93.2,0.7833334,127.3667), (2012,4,91,'Prov. Papua Barat',139,122.6,113.4,-0.8666667,134.0833), (2012,4,94,'Prov. Papua',124.1,124.5,99.7,-2.533056,140.7169), (2012,5,11,'Prov. Nanggroe Aceh Darussalam',126.6,127.7,99.1,5.55,95.31667), (2012,5,12,'Prov. Sumatera Utara',136.7,130.6,104.7,3.583333,98.66666), (2012,5,13,'Prov. Sumatera Barat',127.8,127.7,100.1,-0.95,100.3531), (2012,5,14,'Prov. Riau',135.6,134.1,101.1,0.4816667,101.4686), (2012,5,15,'Prov. Jambi',127.9,128.9,99.3,-1.589167,103.61), (2012,5,16,'Prov. Sumatera Selatan',130.8,124.9,104.8,-2.990833,104.7567), (2012,5,17,'Prov. Bengkulu',144.8,133.2,108.8,-3.795556,102.2592), (2012,5,18,'Prov. Lampung',129.1,122.2,105.7,-5.429722,105.2625), (2012,5,19,'Prov. Kepulauan Bangka Belitung',110.5,115.4,95.7,-2.1,106.1), (2012,5,21,'Prov. Kepulauan Riau',108.7,120.7,90.1,1.083333,104.4833), (2012,5,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,5,32,'Prov. Jawa Barat',137.6,139.8,98.5,-6.914722,107.6097), (2012,5,33,'Prov. Jawa Tengah',144.6,134.2,107.7,-6.966667,110.4167), (2012,5,34,'Prov. D I Yogyakarta',136.8,131.6,103.9,-7.801389,110.3644), (2012,5,35,'Prov. Jawa Timur',137.5,140.4,97.9,-7.266667,112.7167), (2012,5,36,'Prov. Banten',134.3,132.2,101.5,-6.12,106.1503), (2012,5,51,'Prov. Bali',123.4,134.2,91.9,-8.65,115.2167), (2012,5,52,'Prov. Nusa Tenggara Barat',150.3,131.8,114,-8.583333,116.1167), (2012,5,53,'Prov. Nusa Tenggara Timur',149.9,130.8,114.6,-10.18333,123.5833), (2012,5,61,'Prov. Kalimantan Barat',105.6,130.6,80.9,-0.0166667,109.3333), (2012,5,62,'Prov. Kalimantan Tengah',118.7,132.6,89.5,-2.21,113.92), (2012,5,63,'Prov. Kalimantan Selatan',132.4,127.1,104.2,-3.314444,114.5925), (2012,5,64,'Prov. Kalimantan Timur',144.5,124.6,115.9,-0.5022222,117.1536), (2012,5,71,'Prov. Sulawesi Utara',134.6,133.5,100.8,1.493056,124.8414), (2012,5,72,'Prov. Sulawesi Tengah',131.2,134.5,97.5,-0.9,119.8333), (2012,5,73,'Prov. Sulawesi Selatan',128,132.4,96.6,-5.133333,119.4167), (2012,5,74,'Prov. Sulawesi Tenggara',118.2,130.3,90.7,-3.9675,122.5947), (2012,5,75,'Prov. Gorontalo',118.2,129.3,91.4,0.5333334,123.0667), (2012,5,76,'Prov. Sulawesi Barat',148.7,132.4,112.3,-2.668611,118.8622), (2012,5,81,'Prov. Maluku',113.4,134.4,84.4,-3.7,128.1667), (2012,5,82,'Prov. Maluku Utara',114.6,123.1,93,0.7833334,127.3667), (2012,5,91,'Prov. Papua Barat',139,123.4,112.7,-0.8666667,134.0833), (2012,5,94,'Prov. Papua',124,124.5,99.6,-2.533056,140.7169), (2012,6,11,'Prov. Nanggroe Aceh Darussalam',127.1,128,99.2,5.55,95.31667), (2012,6,12,'Prov. Sumatera Utara',137.1,130.9,104.8,3.583333,98.66666), (2012,6,13,'Prov. Sumatera Barat',127.7,128.3,99.5,-0.95,100.3531), (2012,6,14,'Prov. Riau',135.6,134.3,101,0.4816667,101.4686), (2012,6,15,'Prov. Jambi',128.6,129.5,99.3,-1.589167,103.61), (2012,6,16,'Prov. Sumatera Selatan',131,125.4,104.5,-2.990833,104.7567), (2012,6,17,'Prov. Bengkulu',145.7,133.4,109.2,-3.795556,102.2592), (2012,6,18,'Prov. Lampung',129.6,122.7,105.6,-5.429722,105.2625), (2012,6,19,'Prov. Kepulauan Bangka Belitung',110.6,115.7,95.5,-2.1,106.1), (2012,6,21,'Prov. Kepulauan Riau',109.4,121.1,90.3,1.083333,104.4833), (2012,6,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,6,32,'Prov. Jawa Barat',138.3,140.4,98.6,-6.914722,107.6097), (2012,6,33,'Prov. Jawa Tengah',145.6,135,107.8,-6.966667,110.4167), (2012,6,34,'Prov. D I Yogyakarta',138.1,132.1,104.5,-7.801389,110.3644), (2012,6,35,'Prov. Jawa Timur',137.9,141.3,97.6,-7.266667,112.7167), (2012,6,36,'Prov. Banten',134.5,132.6,101.4,-6.12,106.1503), (2012,6,51,'Prov. Bali',123.8,134.6,91.9,-8.65,115.2167), (2012,6,52,'Prov. Nusa Tenggara Barat',150.2,132.4,113.4,-8.583333,116.1167), (2012,6,53,'Prov. Nusa Tenggara Timur',150.3,130.7,115,-10.18333,123.5833), (2012,6,61,'Prov. Kalimantan Barat',105.6,130.9,80.7,-0.0166667,109.3333), (2012,6,62,'Prov. Kalimantan Tengah',118.9,133.1,89.4,-2.21,113.92), (2012,6,63,'Prov. Kalimantan Selatan',132.6,127.3,104.1,-3.314444,114.5925), (2012,6,64,'Prov. Kalimantan Timur',145.2,125.1,116.1,-0.5022222,117.1536), (2012,6,71,'Prov. Sulawesi Utara',134.7,134.3,100.3,1.493056,124.8414), (2012,6,72,'Prov. Sulawesi Tengah',131.1,134.9,97.2,-0.9,119.8333), (2012,6,73,'Prov. Sulawesi Selatan',128.3,132.6,96.8,-5.133333,119.4167), (2012,6,74,'Prov. Sulawesi Tenggara',118.2,130.5,90.6,-3.9675,122.5947), (2012,6,75,'Prov. Gorontalo',118.2,129.7,91.1,0.5333334,123.0667), (2012,6,76,'Prov. Sulawesi Barat',149.2,132.5,112.6,-2.668611,118.8622), (2012,6,81,'Prov. Maluku',113.4,135,84,-3.7,128.1667), (2012,6,82,'Prov. Maluku Utara',114.8,123.8,92.7,0.7833334,127.3667), (2012,6,91,'Prov. Papua Barat',139.1,123.8,112.4,-0.8666667,134.0833), (2012,6,94,'Prov. Papua',124.2,124.7,99.6,-2.533056,140.7169), (2012,7,11,'Prov. Nanggroe Aceh Darussalam',128,128.6,99.5,5.55,95.31667), (2012,7,12,'Prov. Sumatera Utara',137.9,131.4,105,3.583333,98.66666), (2012,7,13,'Prov. Sumatera Barat',128.6,128.4,100.2,-0.95,100.3531), (2012,7,14,'Prov. Riau',136,134.9,100.8,0.4816667,101.4686), (2012,7,15,'Prov. Jambi',129.9,130.1,99.8,-1.589167,103.61), (2012,7,16,'Prov. Sumatera Selatan',132.1,126,104.9,-2.990833,104.7567), (2012,7,17,'Prov. Bengkulu',146.7,134.1,109.4,-3.795556,102.2592), (2012,7,18,'Prov. Lampung',130.1,123.2,105.6,-5.429722,105.2625), (2012,7,19,'Prov. Kepulauan Bangka Belitung',111.1,116.3,95.5,-2.1,106.1), (2012,7,21,'Prov. Kepulauan Riau',109.6,121.4,90.3,1.083333,104.4833), (2012,7,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,7,32,'Prov. Jawa Barat',139.6,141.3,98.8,-6.914722,107.6097), (2012,7,33,'Prov. Jawa Tengah',146.9,136,108.1,-6.966667,110.4167), (2012,7,34,'Prov. D I Yogyakarta',139.5,132.9,105,-7.801389,110.3644), (2012,7,35,'Prov. Jawa Timur',139.3,142.2,98,-7.266667,112.7167), (2012,7,36,'Prov. Banten',135.8,133.4,101.7,-6.12,106.1503), (2012,7,51,'Prov. Bali',124.6,135.3,92.1,-8.65,115.2167), (2012,7,52,'Prov. Nusa Tenggara Barat',151,133,113.5,-8.583333,116.1167), (2012,7,53,'Prov. Nusa Tenggara Timur',150.9,131.5,114.8,-10.18333,123.5833), (2012,7,61,'Prov. Kalimantan Barat',105.7,131.6,80.3,-0.0166667,109.3333), (2012,7,62,'Prov. Kalimantan Tengah',119.8,133.5,89.8,-2.21,113.92), (2012,7,63,'Prov. Kalimantan Selatan',133.5,127.7,104.5,-3.314444,114.5925), (2012,7,64,'Prov. Kalimantan Timur',146.3,126,116.1,-0.5022222,117.1536), (2012,7,71,'Prov. Sulawesi Utara',135.6,135.1,100.4,1.493056,124.8414), (2012,7,72,'Prov. Sulawesi Tengah',131.8,135.7,97.2,-0.9,119.8333), (2012,7,73,'Prov. Sulawesi Selatan',129.2,133.4,96.9,-5.133333,119.4167), (2012,7,74,'Prov. Sulawesi Tenggara',118.5,131.1,90.4,-3.9675,122.5947), (2012,7,75,'Prov. Gorontalo',118.6,130.6,90.9,0.5333334,123.0667), (2012,7,76,'Prov. Sulawesi Barat',149.3,133.3,112,-2.668611,118.8622), (2012,7,81,'Prov. Maluku',113.7,135.6,83.8,-3.7,128.1667), (2012,7,82,'Prov. Maluku Utara',115.2,124.3,92.7,0.7833334,127.3667), (2012,7,91,'Prov. Papua Barat',139,124.3,111.8,-0.8666667,134.0833), (2012,7,94,'Prov. Papua',124.8,125.1,99.8,-2.533056,140.7169), (2012,8,11,'Prov. Nanggroe Aceh Darussalam',127.8,129.3,98.8,5.55,95.31667), (2012,8,12,'Prov. Sumatera Utara',139.1,132.1,105.3,3.583333,98.66666), (2012,8,13,'Prov. Sumatera Barat',129.5,128.8,100.5,-0.95,100.3531), (2012,8,14,'Prov. Riau',136.9,135.4,101.1,0.4816667,101.4686), (2012,8,15,'Prov. Jambi',131,130.9,100.1,-1.589167,103.61), (2012,8,16,'Prov. Sumatera Selatan',132.9,126.3,105.2,-2.990833,104.7567), (2012,8,17,'Prov. Bengkulu',148.2,135.3,109.5,-3.795556,102.2592), (2012,8,18,'Prov. Lampung',131,123.9,105.8,-5.429722,105.2625), (2012,8,19,'Prov. Kepulauan Bangka Belitung',111.7,116.9,95.5,-2.1,106.1), (2012,8,21,'Prov. Kepulauan Riau',109.6,121.8,90,1.083333,104.4833), (2012,8,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,8,32,'Prov. Jawa Barat',140.5,142.2,98.8,-6.914722,107.6097), (2012,8,33,'Prov. Jawa Tengah',148.1,137.1,108,-6.966667,110.4167), (2012,8,34,'Prov. D I Yogyakarta',140.2,133.8,104.8,-7.801389,110.3644), (2012,8,35,'Prov. Jawa Timur',140.4,143,98.2,-7.266667,112.7167), (2012,8,36,'Prov. Banten',136.9,134,102.2,-6.12,106.1503), (2012,8,51,'Prov. Bali',125.3,136,92.1,-8.65,115.2167), (2012,8,52,'Prov. Nusa Tenggara Barat',152.4,133.5,114.2,-8.583333,116.1167), (2012,8,53,'Prov. Nusa Tenggara Timur',151.5,132.1,114.7,-10.18333,123.5833), (2012,8,61,'Prov. Kalimantan Barat',105.9,132.5,79.9,-0.0166667,109.3333), (2012,8,62,'Prov. Kalimantan Tengah',120,134,89.6,-2.21,113.92), (2012,8,63,'Prov. Kalimantan Selatan',134,128.4,104.4,-3.314444,114.5925), (2012,8,64,'Prov. Kalimantan Timur',147,127,115.8,-0.5022222,117.1536), (2012,8,71,'Prov. Sulawesi Utara',135.8,135.7,100,1.493056,124.8414), (2012,8,72,'Prov. Sulawesi Tengah',132.3,136.4,97,-0.9,119.8333), (2012,8,73,'Prov. Sulawesi Selatan',130.1,134.2,96.9,-5.133333,119.4167), (2012,8,74,'Prov. Sulawesi Tenggara',118.7,131.6,90.2,-3.9675,122.5947), (2012,8,75,'Prov. Gorontalo',119.4,131.3,90.9,0.5333334,123.0667), (2012,8,76,'Prov. Sulawesi Barat',150,133.6,112.3,-2.668611,118.8622), (2012,8,81,'Prov. Maluku',114.2,136.2,83.9,-3.7,128.1667), (2012,8,82,'Prov. Maluku Utara',115.8,125.1,92.5,0.7833334,127.3667), (2012,8,91,'Prov. Papua Barat',139.5,125.2,111.4,-0.8666667,134.0833), (2012,8,94,'Prov. Papua',125.1,125.9,99.4,-2.533056,140.7169), (2012,9,11,'Prov. Nanggroe Aceh Darussalam',127.9,129.1,99,5.55,95.31667), (2012,9,12,'Prov. Sumatera Utara',138.9,132.5,104.8,3.583333,98.66666), (2012,9,13,'Prov. Sumatera Barat',129.9,129,100.7,-0.95,100.3531), (2012,9,14,'Prov. Riau',136.8,135.6,100.9,0.4816667,101.4686), (2012,9,15,'Prov. Jambi',130.7,130.8,100,-1.589167,103.61), (2012,9,16,'Prov. Sumatera Selatan',132.6,126.8,104.6,-2.990833,104.7567), (2012,9,17,'Prov. Bengkulu',147.9,135.2,109.4,-3.795556,102.2592), (2012,9,18,'Prov. Lampung',130.8,124.3,105.2,-5.429722,105.2625), (2012,9,19,'Prov. Kepulauan Bangka Belitung',112,117.2,95.5,-2.1,106.1), (2012,9,21,'Prov. Kepulauan Riau',109.8,121.6,90.2,1.083333,104.4833), (2012,9,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,9,32,'Prov. Jawa Barat',140.2,142.3,98.5,-6.914722,107.6097), (2012,9,33,'Prov. Jawa Tengah',148.3,137.4,107.9,-6.966667,110.4167), (2012,9,34,'Prov. D I Yogyakarta',140.2,133.7,104.9,-7.801389,110.3644), (2012,9,35,'Prov. Jawa Timur',140.9,143,98.6,-7.266667,112.7167), (2012,9,36,'Prov. Banten',136.5,134.3,101.7,-6.12,106.1503), (2012,9,51,'Prov. Bali',125,135.9,92,-8.65,115.2167), (2012,9,52,'Prov. Nusa Tenggara Barat',152.2,133.4,114.1,-8.583333,116.1167), (2012,9,53,'Prov. Nusa Tenggara Timur',151.3,132.5,114.1,-10.18333,123.5833), (2012,9,61,'Prov. Kalimantan Barat',105.9,132.6,79.9,-0.0166667,109.3333), (2012,9,62,'Prov. Kalimantan Tengah',119.9,133.6,89.7,-2.21,113.92), (2012,9,63,'Prov. Kalimantan Selatan',134.4,128.6,104.6,-3.314444,114.5925), (2012,9,64,'Prov. Kalimantan Timur',147.3,126.8,116.2,-0.5022222,117.1536), (2012,9,71,'Prov. Sulawesi Utara',135.8,135.5,100.3,1.493056,124.8414), (2012,9,72,'Prov. Sulawesi Tengah',132.1,136.2,97,-0.9,119.8333), (2012,9,73,'Prov. Sulawesi Selatan',130.3,134.1,97.2,-5.133333,119.4167), (2012,9,74,'Prov. Sulawesi Tenggara',118.8,131.7,90.2,-3.9675,122.5947), (2012,9,75,'Prov. Gorontalo',119.5,131.5,90.9,0.5333334,123.0667), (2012,9,76,'Prov. Sulawesi Barat',150.7,133.4,113,-2.668611,118.8622), (2012,9,81,'Prov. Maluku',114.6,136.4,84,-3.7,128.1667), (2012,9,82,'Prov. Maluku Utara',115.8,125.2,92.6,0.7833334,127.3667), (2012,9,91,'Prov. Papua Barat',139.6,125.2,111.5,-0.8666667,134.0833), (2012,9,94,'Prov. Papua',125.1,125.9,99.3,-2.533056,140.7169), (2012,10,11,'Prov. Nanggroe Aceh Darussalam',128.5,129.1,99.5,5.55,95.31667), (2012,10,12,'Prov. Sumatera Utara',140.1,132.8,105.5,3.583333,98.66666), (2012,10,13,'Prov. Sumatera Barat',130.4,129.1,101,-0.95,100.3531), (2012,10,14,'Prov. Riau',137.4,135.7,101.3,0.4816667,101.4686), (2012,10,15,'Prov. Jambi',131.4,131.1,100.2,-1.589167,103.61), (2012,10,16,'Prov. Sumatera Selatan',133.5,127,105.1,-2.990833,104.7567), (2012,10,17,'Prov. Bengkulu',148.9,135.6,109.8,-3.795556,102.2592), (2012,10,18,'Prov. Lampung',131.7,124.7,105.6,-5.429722,105.2625), (2012,10,19,'Prov. Kepulauan Bangka Belitung',112,117.2,95.6,-2.1,106.1), (2012,10,21,'Prov. Kepulauan Riau',110.3,122,90.4,1.083333,104.4833), (2012,10,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,10,32,'Prov. Jawa Barat',140.7,142.5,98.7,-6.914722,107.6097), (2012,10,33,'Prov. Jawa Tengah',149.8,137.5,108.9,-6.966667,110.4167), (2012,10,34,'Prov. D I Yogyakarta',141.1,134.1,105.2,-7.801389,110.3644), (2012,10,35,'Prov. Jawa Timur',142.1,143.2,99.2,-7.266667,112.7167), (2012,10,36,'Prov. Banten',137.7,134.3,102.5,-6.12,106.1503), (2012,10,51,'Prov. Bali',125.1,135.8,92.2,-8.65,115.2167), (2012,10,52,'Prov. Nusa Tenggara Barat',153.2,133.1,115.1,-8.583333,116.1167), (2012,10,53,'Prov. Nusa Tenggara Timur',151.8,132.9,114.2,-10.18333,123.5833), (2012,10,61,'Prov. Kalimantan Barat',105.8,132.7,79.8,-0.0166667,109.3333), (2012,10,62,'Prov. Kalimantan Tengah',119.9,133.9,89.6,-2.21,113.92), (2012,10,63,'Prov. Kalimantan Selatan',134.6,128.7,104.6,-3.314444,114.5925), (2012,10,64,'Prov. Kalimantan Timur',147.7,126.6,116.7,-0.5022222,117.1536), (2012,10,71,'Prov. Sulawesi Utara',135.8,136.4,99.6,1.493056,124.8414), (2012,10,72,'Prov. Sulawesi Tengah',132.1,136.2,97,-0.9,119.8333), (2012,10,73,'Prov. Sulawesi Selatan',131.4,134.4,97.8,-5.133333,119.4167), (2012,10,74,'Prov. Sulawesi Tenggara',118.8,131.5,90.3,-3.9675,122.5947), (2012,10,75,'Prov. Gorontalo',120.5,131.9,91.4,0.5333334,123.0667), (2012,10,76,'Prov. Sulawesi Barat',151.8,133.6,113.6,-2.668611,118.8622), (2012,10,81,'Prov. Maluku',115.5,136,84.9,-3.7,128.1667), (2012,10,82,'Prov. Maluku Utara',116.6,125.3,93,0.7833334,127.3667), (2012,10,91,'Prov. Papua Barat',140.2,125.3,111.9,-0.8666667,134.0833), (2012,10,94,'Prov. Papua',125.8,126.6,99.4,-2.533056,140.7169), (2012,11,11,'Prov. Nanggroe Aceh Darussalam',127.7,129,99,5.55,95.31667), (2012,11,12,'Prov. Sumatera Utara',139.1,133.1,104.5,3.583333,98.66666), (2012,11,13,'Prov. Sumatera Barat',129.6,129.3,100.2,-0.95,100.3531), (2012,11,14,'Prov. Riau',137.4,135.7,101.3,0.4816667,101.4686), (2012,11,15,'Prov. Jambi',130.2,131.2,99.2,-1.589167,103.61), (2012,11,16,'Prov. Sumatera Selatan',132.9,127.2,104.5,-2.990833,104.7567), (2012,11,17,'Prov. Bengkulu',147.8,135.7,108.9,-3.795556,102.2592), (2012,11,18,'Prov. Lampung',132.2,124.8,105.9,-5.429722,105.2625), (2012,11,19,'Prov. Kepulauan Bangka Belitung',111.3,117.1,95.1,-2.1,106.1), (2012,11,21,'Prov. Kepulauan Riau',109.8,122.1,89.9,1.083333,104.4833), (2012,11,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,11,32,'Prov. Jawa Barat',139.7,142.7,97.9,-6.914722,107.6097), (2012,11,33,'Prov. Jawa Tengah',149.8,137.8,108.8,-6.966667,110.4167), (2012,11,34,'Prov. D I Yogyakarta',141.1,134.1,105.2,-7.801389,110.3644), (2012,11,35,'Prov. Jawa Timur',141.2,143.6,98.3,-7.266667,112.7167), (2012,11,36,'Prov. Banten',136.4,134.6,101.3,-6.12,106.1503), (2012,11,51,'Prov. Bali',125.2,136,92.1,-8.65,115.2167), (2012,11,52,'Prov. Nusa Tenggara Barat',152.9,133.4,114.6,-8.583333,116.1167), (2012,11,53,'Prov. Nusa Tenggara Timur',152.2,133.1,114.4,-10.18333,123.5833), (2012,11,61,'Prov. Kalimantan Barat',106.2,133,79.8,-0.0166667,109.3333), (2012,11,62,'Prov. Kalimantan Tengah',120.1,133.9,89.7,-2.21,113.92), (2012,11,63,'Prov. Kalimantan Selatan',134.8,129,104.5,-3.314444,114.5925), (2012,11,64,'Prov. Kalimantan Timur',147.4,126.8,116.2,-0.5022222,117.1536), (2012,11,71,'Prov. Sulawesi Utara',135.5,136.6,99.2,1.493056,124.8414), (2012,11,72,'Prov. Sulawesi Tengah',131.8,136.6,96.5,-0.9,119.8333), (2012,11,73,'Prov. Sulawesi Selatan',130.9,134.9,97,-5.133333,119.4167), (2012,11,74,'Prov. Sulawesi Tenggara',118.8,131.8,90.1,-3.9675,122.5947), (2012,11,75,'Prov. Gorontalo',119.8,132.4,90.5,0.5333334,123.0667), (2012,11,76,'Prov. Sulawesi Barat',151.6,133.9,113.2,-2.668611,118.8622), (2012,11,81,'Prov. Maluku',115.2,136.8,84.3,-3.7,128.1667), (2012,11,82,'Prov. Maluku Utara',116.9,125.5,93.2,0.7833334,127.3667), (2012,11,91,'Prov. Papua Barat',139.9,125.6,111.3,-0.8666667,134.0833), (2012,11,94,'Prov. Papua',125.6,126.6,99.3,-2.533056,140.7169), (2012,12,11,'Prov. Nanggroe Aceh Darussalam',127.4,129.1,98.7,5.55,95.31667), (2012,12,12,'Prov. Sumatera Utara',139.9,133.6,104.7,3.583333,98.66666), (2012,12,13,'Prov. Sumatera Barat',129.3,129.6,99.7,-0.95,100.3531), (2012,12,14,'Prov. Riau',137.4,135.9,101.1,0.4816667,101.4686), (2012,12,15,'Prov. Jambi',130.4,131.4,99.2,-1.589167,103.61), (2012,12,16,'Prov. Sumatera Selatan',133,127.2,104.5,-2.990833,104.7567), (2012,12,17,'Prov. Bengkulu',147.4,136,108.4,-3.795556,102.2592), (2012,12,18,'Prov. Lampung',132.7,125,106.1,-5.429722,105.2625), (2012,12,19,'Prov. Kepulauan Bangka Belitung',111,117.2,94.7,-2.1,106.1), (2012,12,21,'Prov. Kepulauan Riau',110,122.1,90,1.083333,104.4833), (2012,12,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2012,12,32,'Prov. Jawa Barat',140.6,143,98.3,-6.914722,107.6097), (2012,12,33,'Prov. Jawa Tengah',150.5,138.1,109,-6.966667,110.4167), (2012,12,34,'Prov. D I Yogyakarta',142,134.8,105.3,-7.801389,110.3644), (2012,12,35,'Prov. Jawa Timur',142,144.2,98.5,-7.266667,112.7167), (2012,12,36,'Prov. Banten',137.5,134.7,102.1,-6.12,106.1503), (2012,12,51,'Prov. Bali',126.3,136.4,92.6,-8.65,115.2167), (2012,12,52,'Prov. Nusa Tenggara Barat',154.1,133.6,115.4,-8.583333,116.1167), (2012,12,53,'Prov. Nusa Tenggara Timur',153,133.4,114.8,-10.18333,123.5833), (2012,12,61,'Prov. Kalimantan Barat',106.6,133.7,79.7,-0.0166667,109.3333), (2012,12,62,'Prov. Kalimantan Tengah',120.6,134.4,89.8,-2.21,113.92), (2012,12,63,'Prov. Kalimantan Selatan',135.8,129.4,104.9,-3.314444,114.5925), (2012,12,64,'Prov. Kalimantan Timur',147.4,127.2,115.9,-0.5022222,117.1536), (2012,12,71,'Prov. Sulawesi Utara',135.5,137.2,98.7,1.493056,124.8414), (2012,12,72,'Prov. Sulawesi Tengah',132.9,137.3,96.8,-0.9,119.8333), (2012,12,73,'Prov. Sulawesi Selatan',132.1,135.3,97.6,-5.133333,119.4167), (2012,12,74,'Prov. Sulawesi Tenggara',119,132.4,89.9,-3.9675,122.5947), (2012,12,75,'Prov. Gorontalo',119.8,132.8,90.2,0.5333334,123.0667), (2012,12,76,'Prov. Sulawesi Barat',152.3,133.7,113.8,-2.668611,118.8622), (2012,12,81,'Prov. Maluku',115.4,137.9,83.7,-3.7,128.1667), (2012,12,82,'Prov. Maluku Utara',117.7,125.5,93.8,0.7833334,127.3667), (2012,12,91,'Prov. Papua Barat',140.9,126,111.8,-0.8666667,134.0833), (2012,12,94,'Prov. Papua',126.7,127.2,99.6,-2.533056,140.7169), (2013,1,11,'Prov. Nanggroe Aceh Darussalam',127,130,97.7,5.55,95.31667), (2013,1,12,'Prov. Sumatera Utara',138.9,134.9,103,3.583333,98.66666), (2013,1,13,'Prov. Sumatera Barat',128.8,130.5,98.6,-0.95,100.3531), (2013,1,14,'Prov. Riau',138.4,136.6,101.3,0.4816667,101.4686), (2013,1,15,'Prov. Jambi',130.5,132.2,98.7,-1.589167,103.61), (2013,1,16,'Prov. Sumatera Selatan',132.8,127.7,104,-2.990833,104.7567), (2013,1,17,'Prov. Bengkulu',148.2,137.4,107.9,-3.795556,102.2592), (2013,1,18,'Prov. Lampung',134.2,126.2,106.4,-5.429722,105.2625), (2013,1,19,'Prov. Kepulauan Bangka Belitung',113.6,118.2,96,-2.1,106.1), (2013,1,21,'Prov. Kepulauan Riau',110.2,122.9,89.6,1.083333,104.4833), (2013,1,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,1,32,'Prov. Jawa Barat',141.6,144.6,97.9,-6.914722,107.6097), (2013,1,33,'Prov. Jawa Tengah',151,139.5,108.2,-6.966667,110.4167), (2013,1,34,'Prov. D I Yogyakarta',144.1,136.5,105.6,-7.801389,110.3644), (2013,1,35,'Prov. Jawa Timur',143.7,146.3,98.2,-7.266667,112.7167), (2013,1,36,'Prov. Banten',137.8,135.7,101.5,-6.12,106.1503), (2013,1,51,'Prov. Bali',128,138.3,92.5,-8.65,115.2167), (2013,1,52,'Prov. Nusa Tenggara Barat',155.7,134.9,115.4,-8.583333,116.1167), (2013,1,53,'Prov. Nusa Tenggara Timur',154.6,134.8,114.6,-10.18333,123.5833), (2013,1,61,'Prov. Kalimantan Barat',106.8,134.9,79.2,-0.0166667,109.3333), (2013,1,62,'Prov. Kalimantan Tengah',121.3,135.5,89.5,-2.21,113.92), (2013,1,63,'Prov. Kalimantan Selatan',137.1,130.6,105,-3.314444,114.5925), (2013,1,64,'Prov. Kalimantan Timur',148.2,128.2,115.6,-0.5022222,117.1536), (2013,1,71,'Prov. Sulawesi Utara',136.1,138,98.7,1.493056,124.8414), (2013,1,72,'Prov. Sulawesi Tengah',132.2,138,95.8,-0.9,119.8333), (2013,1,73,'Prov. Sulawesi Selatan',132.8,135.8,97.8,-5.133333,119.4167), (2013,1,74,'Prov. Sulawesi Tenggara',119.8,132.5,90.4,-3.9675,122.5947), (2013,1,75,'Prov. Gorontalo',119.1,132.8,89.7,0.5333334,123.0667), (2013,1,76,'Prov. Sulawesi Barat',152,134.2,113.3,-2.668611,118.8622), (2013,1,81,'Prov. Maluku',115.8,137.4,84.2,-3.7,128.1667), (2013,1,82,'Prov. Maluku Utara',118.5,125.6,94.4,0.7833334,127.3667), (2013,1,91,'Prov. Papua Barat',141.8,126.7,112,-0.8666667,134.0833), (2013,1,94,'Prov. Papua',127.4,127.4,100,-2.533056,140.7169), (2013,2,11,'Prov. Nanggroe Aceh Darussalam',127,130.5,97.3,5.55,95.31667), (2013,2,12,'Prov. Sumatera Utara',138.9,135.5,102.6,3.583333,98.66666), (2013,2,13,'Prov. Sumatera Barat',129.3,130.7,98.9,-0.95,100.3531), (2013,2,14,'Prov. Riau',138.5,137.2,100.9,0.4816667,101.4686), (2013,2,15,'Prov. Jambi',131.2,132.8,98.8,-1.589167,103.61), (2013,2,16,'Prov. Sumatera Selatan',133.6,128.2,104.2,-2.990833,104.7567), (2013,2,17,'Prov. Bengkulu',149.1,138,108,-3.795556,102.2592), (2013,2,18,'Prov. Lampung',134.4,126.9,106,-5.429722,105.2625), (2013,2,19,'Prov. Kepulauan Bangka Belitung',114,118.6,96.1,-2.1,106.1), (2013,2,21,'Prov. Kepulauan Riau',110.6,123.1,89.9,1.083333,104.4833), (2013,2,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,2,32,'Prov. Jawa Barat',142.8,145.7,98,-6.914722,107.6097), (2013,2,33,'Prov. Jawa Tengah',151.5,140.4,107.9,-6.966667,110.4167), (2013,2,34,'Prov. D I Yogyakarta',143.9,136.8,105.2,-7.801389,110.3644), (2013,2,35,'Prov. Jawa Timur',144.9,147.1,98.4,-7.266667,112.7167), (2013,2,36,'Prov. Banten',137.8,136.1,101.2,-6.12,106.1503), (2013,2,51,'Prov. Bali',128.4,139,92.4,-8.65,115.2167), (2013,2,52,'Prov. Nusa Tenggara Barat',156.9,135.5,115.8,-8.583333,116.1167), (2013,2,53,'Prov. Nusa Tenggara Timur',154.4,135.2,114.2,-10.18333,123.5833), (2013,2,61,'Prov. Kalimantan Barat',106.9,135.2,79.1,-0.0166667,109.3333), (2013,2,62,'Prov. Kalimantan Tengah',121.5,136.2,89.2,-2.21,113.92), (2013,2,63,'Prov. Kalimantan Selatan',137,130.9,104.7,-3.314444,114.5925), (2013,2,64,'Prov. Kalimantan Timur',149,129.4,115.2,-0.5022222,117.1536), (2013,2,71,'Prov. Sulawesi Utara',136.1,138,98.6,1.493056,124.8414), (2013,2,72,'Prov. Sulawesi Tengah',132.1,138.4,95.4,-0.9,119.8333), (2013,2,73,'Prov. Sulawesi Selatan',133.3,136.3,97.8,-5.133333,119.4167), (2013,2,74,'Prov. Sulawesi Tenggara',120.5,132.8,90.7,-3.9675,122.5947), (2013,2,75,'Prov. Gorontalo',119.6,133.1,89.9,0.5333334,123.0667), (2013,2,76,'Prov. Sulawesi Barat',152,134.1,113.4,-2.668611,118.8622), (2013,2,81,'Prov. Maluku',116.3,137.5,84.6,-3.7,128.1667), (2013,2,82,'Prov. Maluku Utara',119.3,126.7,94.1,0.7833334,127.3667), (2013,2,91,'Prov. Papua Barat',141.8,127,111.7,-0.8666667,134.0833), (2013,2,94,'Prov. Papua',127.2,127.6,99.6,-2.533056,140.7169), (2013,3,11,'Prov. Nanggroe Aceh Darussalam',127.3,131.2,97.1,5.55,95.31667), (2013,3,12,'Prov. Sumatera Utara',139.2,136,102.4,3.583333,98.66666), (2013,3,13,'Prov. Sumatera Barat',129,131.6,98,-0.95,100.3531), (2013,3,14,'Prov. Riau',139,137.9,100.8,0.4816667,101.4686), (2013,3,15,'Prov. Jambi',130.9,133.1,98.3,-1.589167,103.61), (2013,3,16,'Prov. Sumatera Selatan',133.8,128.4,104.2,-2.990833,104.7567), (2013,3,17,'Prov. Bengkulu',148.5,138.5,107.2,-3.795556,102.2592), (2013,3,18,'Prov. Lampung',134.6,127.7,105.4,-5.429722,105.2625), (2013,3,19,'Prov. Kepulauan Bangka Belitung',113.9,119,95.7,-2.1,106.1), (2013,3,21,'Prov. Kepulauan Riau',110.4,123.2,89.6,1.083333,104.4833), (2013,3,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,3,32,'Prov. Jawa Barat',143,146.4,97.7,-6.914722,107.6097), (2013,3,33,'Prov. Jawa Tengah',151.7,141.6,107.1,-6.966667,110.4167), (2013,3,34,'Prov. D I Yogyakarta',144.2,137.2,105,-7.801389,110.3644), (2013,3,35,'Prov. Jawa Timur',145.2,148.3,98,-7.266667,112.7167), (2013,3,36,'Prov. Banten',138.7,136.8,101.4,-6.12,106.1503), (2013,3,51,'Prov. Bali',128.6,139.9,92,-8.65,115.2167), (2013,3,52,'Prov. Nusa Tenggara Barat',156.9,135.5,115.8,-8.583333,116.1167), (2013,3,53,'Prov. Nusa Tenggara Timur',155.4,135.7,114.6,-10.18333,123.5833), (2013,3,61,'Prov. Kalimantan Barat',106.9,135.9,78.7,-0.0166667,109.3333), (2013,3,62,'Prov. Kalimantan Tengah',121.7,136.9,88.9,-2.21,113.92), (2013,3,63,'Prov. Kalimantan Selatan',137,131.6,104.1,-3.314444,114.5925), (2013,3,64,'Prov. Kalimantan Timur',149,130,114.6,-0.5022222,117.1536), (2013,3,71,'Prov. Sulawesi Utara',136.2,138.3,98.5,1.493056,124.8414), (2013,3,72,'Prov. Sulawesi Tengah',132.1,139.1,95,-0.9,119.8333), (2013,3,73,'Prov. Sulawesi Selatan',132.9,137.2,96.9,-5.133333,119.4167), (2013,3,74,'Prov. Sulawesi Tenggara',120.6,133,90.6,-3.9675,122.5947), (2013,3,75,'Prov. Gorontalo',119.3,134,89,0.5333334,123.0667), (2013,3,76,'Prov. Sulawesi Barat',151.9,134.4,113,-2.668611,118.8622), (2013,3,81,'Prov. Maluku',116.4,137.1,84.9,-3.7,128.1667), (2013,3,82,'Prov. Maluku Utara',119.3,127.4,93.6,0.7833334,127.3667), (2013,3,91,'Prov. Papua Barat',142.1,127.7,111.3,-0.8666667,134.0833), (2013,3,94,'Prov. Papua',127.9,128.6,99.4,-2.533056,140.7169), (2013,4,11,'Prov. Nanggroe Aceh Darussalam',127.4,131.3,97,5.55,95.31667), (2013,4,12,'Prov. Sumatera Utara',139.5,136.4,102.3,3.583333,98.66666), (2013,4,13,'Prov. Sumatera Barat',128.8,131.7,97.8,-0.95,100.3531), (2013,4,14,'Prov. Riau',138.9,137.8,100.8,0.4816667,101.4686), (2013,4,15,'Prov. Jambi',131.8,133.7,98.6,-1.589167,103.61), (2013,4,16,'Prov. Sumatera Selatan',134.3,128.3,104.7,-2.990833,104.7567), (2013,4,17,'Prov. Bengkulu',148.3,138.8,106.9,-3.795556,102.2592), (2013,4,18,'Prov. Lampung',134.5,127.6,105.4,-5.429722,105.2625), (2013,4,19,'Prov. Kepulauan Bangka Belitung',114.3,119,96.1,-2.1,106.1), (2013,4,21,'Prov. Kepulauan Riau',110.4,123.2,89.6,1.083333,104.4833), (2013,4,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,4,32,'Prov. Jawa Barat',143.1,146.4,97.7,-6.914722,107.6097), (2013,4,33,'Prov. Jawa Tengah',151.5,141.3,107.3,-6.966667,110.4167), (2013,4,34,'Prov. D I Yogyakarta',144,137.4,104.8,-7.801389,110.3644), (2013,4,35,'Prov. Jawa Timur',146.5,148,99,-7.266667,112.7167), (2013,4,36,'Prov. Banten',138.5,136.6,101.4,-6.12,106.1503), (2013,4,51,'Prov. Bali',129.1,140,92.2,-8.65,115.2167), (2013,4,52,'Prov. Nusa Tenggara Barat',157.6,135.4,116.5,-8.583333,116.1167), (2013,4,53,'Prov. Nusa Tenggara Timur',155.5,135.8,114.5,-10.18333,123.5833), (2013,4,61,'Prov. Kalimantan Barat',107,136,78.7,-0.0166667,109.3333), (2013,4,62,'Prov. Kalimantan Tengah',121.8,137.6,88.5,-2.21,113.92), (2013,4,63,'Prov. Kalimantan Selatan',137.1,131.9,103.9,-3.314444,114.5925), (2013,4,64,'Prov. Kalimantan Timur',149.4,130.9,114.1,-0.5022222,117.1536), (2013,4,71,'Prov. Sulawesi Utara',136,139,97.8,1.493056,124.8414), (2013,4,72,'Prov. Sulawesi Tengah',133,138.8,95.8,-0.9,119.8333), (2013,4,73,'Prov. Sulawesi Selatan',133.1,137.3,96.9,-5.133333,119.4167), (2013,4,74,'Prov. Sulawesi Tenggara',120.6,133.5,90.4,-3.9675,122.5947), (2013,4,75,'Prov. Gorontalo',119.4,133.5,89.4,0.5333334,123.0667), (2013,4,76,'Prov. Sulawesi Barat',152.4,134.5,113.3,-2.668611,118.8622), (2013,4,81,'Prov. Maluku',116.6,137.7,84.7,-3.7,128.1667), (2013,4,82,'Prov. Maluku Utara',119.6,128,93.4,0.7833334,127.3667), (2013,4,91,'Prov. Papua Barat',142,128.3,110.7,-0.8666667,134.0833), (2013,4,94,'Prov. Papua',128.5,128.6,100,-2.533056,140.7169), (2013,5,11,'Prov. Nanggroe Aceh Darussalam',127.3,131.5,96.8,5.55,95.31667), (2013,5,12,'Prov. Sumatera Utara',139.8,136.6,102.4,3.583333,98.66666), (2013,5,13,'Prov. Sumatera Barat',129.5,131.6,98.4,-0.95,100.3531), (2013,5,14,'Prov. Riau',138.8,137.9,100.7,0.4816667,101.4686), (2013,5,15,'Prov. Jambi',132.8,134,99.1,-1.589167,103.61), (2013,5,16,'Prov. Sumatera Selatan',134.3,128.2,104.7,-2.990833,104.7567), (2013,5,17,'Prov. Bengkulu',148.8,138.6,107.3,-3.795556,102.2592), (2013,5,18,'Prov. Lampung',135.2,127.8,105.9,-5.429722,105.2625), (2013,5,19,'Prov. Kepulauan Bangka Belitung',114.3,118.9,96.2,-2.1,106.1), (2013,5,21,'Prov. Kepulauan Riau',110.9,123.2,90,1.083333,104.4833), (2013,5,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,5,32,'Prov. Jawa Barat',143.6,146.3,98.1,-6.914722,107.6097), (2013,5,33,'Prov. Jawa Tengah',151.8,141.3,107.4,-6.966667,110.4167), (2013,5,34,'Prov. D I Yogyakarta',144.8,137.4,105.4,-7.801389,110.3644), (2013,5,35,'Prov. Jawa Timur',147.4,148,99.6,-7.266667,112.7167), (2013,5,36,'Prov. Banten',138.5,136.5,101.4,-6.12,106.1503), (2013,5,51,'Prov. Bali',129.6,139.8,92.7,-8.65,115.2167), (2013,5,52,'Prov. Nusa Tenggara Barat',158.6,135.3,117.2,-8.583333,116.1167), (2013,5,53,'Prov. Nusa Tenggara Timur',155.9,135.9,114.7,-10.18333,123.5833), (2013,5,61,'Prov. Kalimantan Barat',106.8,136.2,78.4,-0.0166667,109.3333), (2013,5,62,'Prov. Kalimantan Tengah',122.1,137.5,88.8,-2.21,113.92), (2013,5,63,'Prov. Kalimantan Selatan',137.4,131.4,104.6,-3.314444,114.5925), (2013,5,64,'Prov. Kalimantan Timur',149.7,130.7,114.5,-0.5022222,117.1536), (2013,5,71,'Prov. Sulawesi Utara',135.9,139.3,97.6,1.493056,124.8414), (2013,5,72,'Prov. Sulawesi Tengah',133.3,139,95.9,-0.9,119.8333), (2013,5,73,'Prov. Sulawesi Selatan',133.6,137.4,97.2,-5.133333,119.4167), (2013,5,74,'Prov. Sulawesi Tenggara',121.5,133.6,91,-3.9675,122.5947), (2013,5,75,'Prov. Gorontalo',119.1,133.2,89.4,0.5333334,123.0667), (2013,5,76,'Prov. Sulawesi Barat',152.4,134.9,112.9,-2.668611,118.8622), (2013,5,81,'Prov. Maluku',117.5,138.2,85,-3.7,128.1667), (2013,5,82,'Prov. Maluku Utara',119.9,128.1,93.6,0.7833334,127.3667), (2013,5,91,'Prov. Papua Barat',142.6,128.1,111.3,-0.8666667,134.0833), (2013,5,94,'Prov. Papua',129.1,128.6,100.4,-2.533056,140.7169), (2013,6,11,'Prov. Nanggroe Aceh Darussalam',128.1,131.7,97.2,5.55,95.31667), (2013,6,12,'Prov. Sumatera Utara',141.1,136.6,103.3,3.583333,98.66666), (2013,6,13,'Prov. Sumatera Barat',129.9,132.2,98.3,-0.95,100.3531), (2013,6,14,'Prov. Riau',139.3,138.1,100.9,0.4816667,101.4686), (2013,6,15,'Prov. Jambi',133.1,134.6,98.9,-1.589167,103.61), (2013,6,16,'Prov. Sumatera Selatan',134.9,128.9,104.7,-2.990833,104.7567), (2013,6,17,'Prov. Bengkulu',150.4,138.8,108.4,-3.795556,102.2592), (2013,6,18,'Prov. Lampung',136.2,128.3,106.1,-5.429722,105.2625), (2013,6,19,'Prov. Kepulauan Bangka Belitung',114.6,119.1,96.2,-2.1,106.1), (2013,6,21,'Prov. Kepulauan Riau',110.9,123.4,89.9,1.083333,104.4833), (2013,6,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,6,32,'Prov. Jawa Barat',145.2,147.6,98.4,-6.914722,107.6097), (2013,6,33,'Prov. Jawa Tengah',153.2,142.3,107.7,-6.966667,110.4167), (2013,6,34,'Prov. D I Yogyakarta',146.5,138,106.2,-7.801389,110.3644), (2013,6,35,'Prov. Jawa Timur',148.4,148.8,99.7,-7.266667,112.7167), (2013,6,36,'Prov. Banten',139.8,137.2,101.8,-6.12,106.1503), (2013,6,51,'Prov. Bali',130,139.9,93,-8.65,115.2167), (2013,6,52,'Prov. Nusa Tenggara Barat',159.1,135.7,117.3,-8.583333,116.1167), (2013,6,53,'Prov. Nusa Tenggara Timur',157.8,135.5,116.5,-10.18333,123.5833), (2013,6,61,'Prov. Kalimantan Barat',107.4,136.3,78.8,-0.0166667,109.3333), (2013,6,62,'Prov. Kalimantan Tengah',122.6,137.6,89.1,-2.21,113.92), (2013,6,63,'Prov. Kalimantan Selatan',137.6,131.3,104.8,-3.314444,114.5925), (2013,6,64,'Prov. Kalimantan Timur',150.4,131.1,114.7,-0.5022222,117.1536), (2013,6,71,'Prov. Sulawesi Utara',136.1,139,97.9,1.493056,124.8414), (2013,6,72,'Prov. Sulawesi Tengah',134,138.8,96.6,-0.9,119.8333), (2013,6,73,'Prov. Sulawesi Selatan',134.5,137.9,97.5,-5.133333,119.4167), (2013,6,74,'Prov. Sulawesi Tenggara',121.2,133.5,90.8,-3.9675,122.5947), (2013,6,75,'Prov. Gorontalo',119.6,134.3,89,0.5333334,123.0667), (2013,6,76,'Prov. Sulawesi Barat',152.4,135.2,112.8,-2.668611,118.8622), (2013,6,81,'Prov. Maluku',118,138.7,85.1,-3.7,128.1667), (2013,6,82,'Prov. Maluku Utara',120.3,128,94,0.7833334,127.3667), (2013,6,91,'Prov. Papua Barat',142.8,128.2,111.3,-0.8666667,134.0833), (2013,6,94,'Prov. Papua',129.3,128.8,100.4,-2.533056,140.7169), (2013,7,11,'Prov. Nanggroe Aceh Darussalam',133.4,133.7,99.8,5.55,95.31667), (2013,7,12,'Prov. Sumatera Utara',147.4,139.9,105.3,3.583333,98.66666), (2013,7,13,'Prov. Sumatera Barat',132.7,135.7,97.8,-0.95,100.3531), (2013,7,14,'Prov. Riau',143.2,141.2,101.4,0.4816667,101.4686), (2013,7,15,'Prov. Jambi',136.1,138.3,98.4,-1.589167,103.61), (2013,7,16,'Prov. Sumatera Selatan',140,131.4,106.6,-2.990833,104.7567), (2013,7,17,'Prov. Bengkulu',156.2,142.8,109.4,-3.795556,102.2592), (2013,7,18,'Prov. Lampung',141.5,131.2,107.8,-5.429722,105.2625), (2013,7,19,'Prov. Kepulauan Bangka Belitung',118.1,121.9,96.9,-2.1,106.1), (2013,7,21,'Prov. Kepulauan Riau',112.8,125.4,90,1.083333,104.4833), (2013,7,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,7,32,'Prov. Jawa Barat',150.1,151.8,98.9,-6.914722,107.6097), (2013,7,33,'Prov. Jawa Tengah',158.5,146.5,108.2,-6.966667,110.4167), (2013,7,34,'Prov. D I Yogyakarta',151.9,141.6,107.3,-7.801389,110.3644), (2013,7,35,'Prov. Jawa Timur',155.9,153.7,101.5,-7.266667,112.7167), (2013,7,36,'Prov. Banten',146.7,141.4,103.7,-6.12,106.1503), (2013,7,51,'Prov. Bali',134.1,143.4,93.6,-8.65,115.2167), (2013,7,52,'Prov. Nusa Tenggara Barat',163.3,140.5,116.2,-8.583333,116.1167), (2013,7,53,'Prov. Nusa Tenggara Timur',159.6,139.5,114.4,-10.18333,123.5833), (2013,7,61,'Prov. Kalimantan Barat',109.4,138.2,79.1,-0.0166667,109.3333), (2013,7,62,'Prov. Kalimantan Tengah',125,140.4,89,-2.21,113.92), (2013,7,63,'Prov. Kalimantan Selatan',140.8,133.1,105.8,-3.314444,114.5925), (2013,7,64,'Prov. Kalimantan Timur',156,133.9,116.6,-0.5022222,117.1536), (2013,7,71,'Prov. Sulawesi Utara',141.3,142.7,99.1,1.493056,124.8414), (2013,7,72,'Prov. Sulawesi Tengah',137.3,142.4,96.4,-0.9,119.8333), (2013,7,73,'Prov. Sulawesi Selatan',137.2,142.4,96.3,-5.133333,119.4167), (2013,7,74,'Prov. Sulawesi Tenggara',122.5,137.2,89.2,-3.9675,122.5947), (2013,7,75,'Prov. Gorontalo',122,137.7,88.6,0.5333334,123.0667), (2013,7,76,'Prov. Sulawesi Barat',157.7,138.6,113.8,-2.668611,118.8622), (2013,7,81,'Prov. Maluku',119.7,142,84.3,-3.7,128.1667), (2013,7,82,'Prov. Maluku Utara',122.6,130.9,93.7,0.7833334,127.3667), (2013,7,91,'Prov. Papua Barat',147.2,131.3,112.1,-0.8666667,134.0833), (2013,7,94,'Prov. Papua',132.2,130.9,100.9,-2.533056,140.7169), (2013,8,11,'Prov. Nanggroe Aceh Darussalam',133.5,133.9,99.7,5.55,95.31667), (2013,8,12,'Prov. Sumatera Utara',147.6,140.2,105.2,3.583333,98.66666), (2013,8,13,'Prov. Sumatera Barat',132.8,136.2,97.5,-0.95,100.3531), (2013,8,14,'Prov. Riau',143,141.6,101,0.4816667,101.4686), (2013,8,15,'Prov. Jambi',136.1,138.8,98.1,-1.589167,103.61), (2013,8,16,'Prov. Sumatera Selatan',141.2,132.5,106.6,-2.990833,104.7567), (2013,8,17,'Prov. Bengkulu',156.8,143.7,109.2,-3.795556,102.2592), (2013,8,18,'Prov. Lampung',142.5,133,107.1,-5.429722,105.2625), (2013,8,19,'Prov. Kepulauan Bangka Belitung',118.9,122.9,96.8,-2.1,106.1), (2013,8,21,'Prov. Kepulauan Riau',113.7,125.7,90.4,1.083333,104.4833), (2013,8,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,8,32,'Prov. Jawa Barat',150.7,153,98.5,-6.914722,107.6097), (2013,8,33,'Prov. Jawa Tengah',159.5,147.1,108.4,-6.966667,110.4167), (2013,8,34,'Prov. D I Yogyakarta',152.4,142.7,106.8,-7.801389,110.3644), (2013,8,35,'Prov. Jawa Timur',156.2,154.6,101.1,-7.266667,112.7167), (2013,8,36,'Prov. Banten',148.1,142.3,104,-6.12,106.1503), (2013,8,51,'Prov. Bali',134.7,143.7,93.7,-8.65,115.2167), (2013,8,52,'Prov. Nusa Tenggara Barat',165,140.8,117.2,-8.583333,116.1167), (2013,8,53,'Prov. Nusa Tenggara Timur',161.5,140.9,114.6,-10.18333,123.5833), (2013,8,61,'Prov. Kalimantan Barat',109.8,138.4,79.4,-0.0166667,109.3333), (2013,8,62,'Prov. Kalimantan Tengah',126,142.3,88.6,-2.21,113.92), (2013,8,63,'Prov. Kalimantan Selatan',141.9,135,105.1,-3.314444,114.5925), (2013,8,64,'Prov. Kalimantan Timur',157.1,135.8,115.7,-0.5022222,117.1536), (2013,8,71,'Prov. Sulawesi Utara',141.7,144.6,98,1.493056,124.8414), (2013,8,72,'Prov. Sulawesi Tengah',138.6,144.9,95.6,-0.9,119.8333), (2013,8,73,'Prov. Sulawesi Selatan',138.8,144.8,95.8,-5.133333,119.4167), (2013,8,74,'Prov. Sulawesi Tenggara',122.8,138.8,88.4,-3.9675,122.5947), (2013,8,75,'Prov. Gorontalo',122.5,140.3,87.4,0.5333334,123.0667), (2013,8,76,'Prov. Sulawesi Barat',157.9,140.1,112.7,-2.668611,118.8622), (2013,8,81,'Prov. Maluku',120.9,143.5,84.2,-3.7,128.1667), (2013,8,82,'Prov. Maluku Utara',123.3,133.2,92.6,0.7833334,127.3667), (2013,8,91,'Prov. Papua Barat',147.2,132.3,111.3,-0.8666667,134.0833), (2013,8,94,'Prov. Papua',132.6,131.9,100.5,-2.533056,140.7169), (2013,9,11,'Prov. Nanggroe Aceh Darussalam',133.3,133.8,99.6,5.55,95.31667), (2013,9,12,'Prov. Sumatera Utara',148.1,140.5,105.4,3.583333,98.66666), (2013,9,13,'Prov. Sumatera Barat',133.1,136.1,97.8,-0.95,100.3531), (2013,9,14,'Prov. Riau',144.1,141.8,101.6,0.4816667,101.4686), (2013,9,15,'Prov. Jambi',136.9,138.8,98.6,-1.589167,103.61), (2013,9,16,'Prov. Sumatera Selatan',141.2,133,106.2,-2.990833,104.7567), (2013,9,17,'Prov. Bengkulu',158,143.8,109.8,-3.795556,102.2592), (2013,9,18,'Prov. Lampung',142.2,133,106.9,-5.429722,105.2625), (2013,9,19,'Prov. Kepulauan Bangka Belitung',119.6,122.9,97.3,-2.1,106.1), (2013,9,21,'Prov. Kepulauan Riau',113.8,126.1,90.3,1.083333,104.4833), (2013,9,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,9,32,'Prov. Jawa Barat',151.6,153.1,99,-6.914722,107.6097), (2013,9,33,'Prov. Jawa Tengah',161,147.6,109.1,-6.966667,110.4167), (2013,9,34,'Prov. D I Yogyakarta',153,143,107,-7.801389,110.3644), (2013,9,35,'Prov. Jawa Timur',157.4,155.1,101.5,-7.266667,112.7167), (2013,9,36,'Prov. Banten',148.1,142.6,103.8,-6.12,106.1503), (2013,9,51,'Prov. Bali',134.7,143.7,93.7,-8.65,115.2167), (2013,9,52,'Prov. Nusa Tenggara Barat',165,140.8,117.2,-8.583333,116.1167), (2013,9,53,'Prov. Nusa Tenggara Timur',163.4,140.9,116,-10.18333,123.5833), (2013,9,61,'Prov. Kalimantan Barat',110.2,139,79.3,-0.0166667,109.3333), (2013,9,62,'Prov. Kalimantan Tengah',126.3,142.6,88.6,-2.21,113.92), (2013,9,63,'Prov. Kalimantan Selatan',142.3,134.8,105.5,-3.314444,114.5925), (2013,9,64,'Prov. Kalimantan Timur',157.5,135.7,116,-0.5022222,117.1536), (2013,9,71,'Prov. Sulawesi Utara',141.7,145,97.7,1.493056,124.8414), (2013,9,72,'Prov. Sulawesi Tengah',139.9,145,96.5,-0.9,119.8333), (2013,9,73,'Prov. Sulawesi Selatan',139.4,144.3,96.5,-5.133333,119.4167), (2013,9,74,'Prov. Sulawesi Tenggara',122.9,138.8,88.5,-3.9675,122.5947), (2013,9,75,'Prov. Gorontalo',123.6,140.3,88,0.5333334,123.0667), (2013,9,76,'Prov. Sulawesi Barat',159,140.2,113.4,-2.668611,118.8622), (2013,9,81,'Prov. Maluku',121.2,144,84.2,-3.7,128.1667), (2013,9,82,'Prov. Maluku Utara',123.5,133.2,92.7,0.7833334,127.3667), (2013,9,91,'Prov. Papua Barat',149,132.6,112.4,-0.8666667,134.0833), (2013,9,94,'Prov. Papua',132.6,131.7,100.6,-2.533056,140.7169), (2013,10,11,'Prov. Nanggroe Aceh Darussalam',136.2,134.3,101.4,5.55,95.31667), (2013,10,12,'Prov. Sumatera Utara',149.6,140.8,106.2,3.583333,98.66666), (2013,10,13,'Prov. Sumatera Barat',134.8,136.7,98.7,-0.95,100.3531), (2013,10,14,'Prov. Riau',146.6,142.3,103,0.4816667,101.4686), (2013,10,15,'Prov. Jambi',139.4,139.7,99.8,-1.589167,103.61), (2013,10,16,'Prov. Sumatera Selatan',142.8,133.2,107.2,-2.990833,104.7567), (2013,10,17,'Prov. Bengkulu',160.6,144.4,111.3,-3.795556,102.2592), (2013,10,18,'Prov. Lampung',144.3,133.8,107.9,-5.429722,105.2625), (2013,10,19,'Prov. Kepulauan Bangka Belitung',120.5,123.3,97.7,-2.1,106.1), (2013,10,21,'Prov. Kepulauan Riau',115,126.2,91.2,1.083333,104.4833), (2013,10,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,10,32,'Prov. Jawa Barat',153.4,153.9,99.7,-6.914722,107.6097), (2013,10,33,'Prov. Jawa Tengah',163.9,148.4,110.5,-6.966667,110.4167), (2013,10,34,'Prov. D I Yogyakarta',154.7,143.6,107.7,-7.801389,110.3644), (2013,10,35,'Prov. Jawa Timur',159.9,155.6,102.8,-7.266667,112.7167), (2013,10,36,'Prov. Banten',150.8,142.8,105.6,-6.12,106.1503), (2013,10,51,'Prov. Bali',136.8,144.9,94.4,-8.65,115.2167), (2013,10,52,'Prov. Nusa Tenggara Barat',167.5,141.6,118.2,-8.583333,116.1167), (2013,10,53,'Prov. Nusa Tenggara Timur',164,140.8,116.5,-10.18333,123.5833), (2013,10,61,'Prov. Kalimantan Barat',111.7,139.4,80.1,-0.0166667,109.3333), (2013,10,62,'Prov. Kalimantan Tengah',127.2,142.1,89.5,-2.21,113.92), (2013,10,63,'Prov. Kalimantan Selatan',143.7,134.8,106.6,-3.314444,114.5925), (2013,10,64,'Prov. Kalimantan Timur',159.1,136,116.9,-0.5022222,117.1536), (2013,10,71,'Prov. Sulawesi Utara',141.8,144.6,98.1,1.493056,124.8414), (2013,10,72,'Prov. Sulawesi Tengah',141.4,144.6,97.8,-0.9,119.8333), (2013,10,73,'Prov. Sulawesi Selatan',141.6,144,98.3,-5.133333,119.4167), (2013,10,74,'Prov. Sulawesi Tenggara',123.3,139.1,88.7,-3.9675,122.5947), (2013,10,75,'Prov. Gorontalo',124.2,140.4,88.4,0.5333334,123.0667), (2013,10,76,'Prov. Sulawesi Barat',161.2,140.5,114.8,-2.668611,118.8622), (2013,10,81,'Prov. Maluku',122.3,143.2,85.4,-3.7,128.1667), (2013,10,82,'Prov. Maluku Utara',124.9,132.7,94.2,0.7833334,127.3667), (2013,10,91,'Prov. Papua Barat',150.8,133,113.4,-0.8666667,134.0833), (2013,10,94,'Prov. Papua',134.2,131.7,101.9,-2.533056,140.7169), (2013,11,11,'Prov. Nanggroe Aceh Darussalam',134.6,134.8,99.9,5.55,95.31667), (2013,11,12,'Prov. Sumatera Utara',149.9,141,106.3,3.583333,98.66666), (2013,11,13,'Prov. Sumatera Barat',133.4,137.2,97.2,-0.95,100.3531), (2013,11,14,'Prov. Riau',145.6,142.4,102.2,0.4816667,101.4686), (2013,11,15,'Prov. Jambi',138.3,139.9,98.9,-1.589167,103.61), (2013,11,16,'Prov. Sumatera Selatan',141.7,133.5,106.1,-2.990833,104.7567), (2013,11,17,'Prov. Bengkulu',159.6,144.1,110.7,-3.795556,102.2592), (2013,11,18,'Prov. Lampung',143.2,133.6,107.2,-5.429722,105.2625), (2013,11,19,'Prov. Kepulauan Bangka Belitung',119.9,123.3,97.3,-2.1,106.1), (2013,11,21,'Prov. Kepulauan Riau',114.2,126.4,90.4,1.083333,104.4833), (2013,11,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,11,32,'Prov. Jawa Barat',152,153.8,98.8,-6.914722,107.6097), (2013,11,33,'Prov. Jawa Tengah',163.6,148.6,110.1,-6.966667,110.4167), (2013,11,34,'Prov. D I Yogyakarta',152.9,143.6,106.5,-7.801389,110.3644), (2013,11,35,'Prov. Jawa Timur',158.2,156,101.4,-7.266667,112.7167), (2013,11,36,'Prov. Banten',148.9,142.9,104.2,-6.12,106.1503), (2013,11,51,'Prov. Bali',136.4,145.2,93.9,-8.65,115.2167), (2013,11,52,'Prov. Nusa Tenggara Barat',166.3,141.9,117.2,-8.583333,116.1167), (2013,11,53,'Prov. Nusa Tenggara Timur',164.4,141.3,116.4,-10.18333,123.5833), (2013,11,61,'Prov. Kalimantan Barat',111.2,139.6,79.6,-0.0166667,109.3333), (2013,11,62,'Prov. Kalimantan Tengah',126.7,141.8,89.3,-2.21,113.92), (2013,11,63,'Prov. Kalimantan Selatan',142.5,134.7,105.8,-3.314444,114.5925), (2013,11,64,'Prov. Kalimantan Timur',158.3,136.1,116.4,-0.5022222,117.1536), (2013,11,71,'Prov. Sulawesi Utara',141.8,145.3,97.6,1.493056,124.8414), (2013,11,72,'Prov. Sulawesi Tengah',140.8,144.8,97.2,-0.9,119.8333), (2013,11,73,'Prov. Sulawesi Selatan',140.4,144.5,97.1,-5.133333,119.4167), (2013,11,74,'Prov. Sulawesi Tenggara',123.6,139.3,88.7,-3.9675,122.5947), (2013,11,75,'Prov. Gorontalo',123.2,141.1,87.3,0.5333334,123.0667), (2013,11,76,'Prov. Sulawesi Barat',159.6,140.2,113.8,-2.668611,118.8622), (2013,11,81,'Prov. Maluku',122.4,143.5,85.3,-3.7,128.1667), (2013,11,82,'Prov. Maluku Utara',124.4,132.8,93.7,0.7833334,127.3667), (2013,11,91,'Prov. Papua Barat',150.3,133.1,113,-0.8666667,134.0833), (2013,11,94,'Prov. Papua',134.2,132.4,101.4,-2.533056,140.7169), (2013,12,11,'Prov. Nanggroe Aceh Darussalam',104.2,105.6,98.8,5.55,95.31667), (2013,12,12,'Prov. Sumatera Utara',112,107.5,104.1,3.583333,98.66666), (2013,12,13,'Prov. Sumatera Barat',103.8,105.6,98.4,-0.95,100.3531), (2013,12,14,'Prov. Riau',104.5,107.2,97.5,0.4816667,101.4686), (2013,12,15,'Prov. Jambi',105.9,108.6,97.5,-1.589167,103.61), (2013,12,16,'Prov. Sumatera Selatan',111.3,105.5,105.5,-2.990833,104.7567), (2013,12,17,'Prov. Bengkulu',109.2,106.5,102.6,-3.795556,102.2592), (2013,12,18,'Prov. Lampung',115,106.4,108,-5.429722,105.2625), (2013,12,19,'Prov. Kepulauan Bangka Belitung',103.3,106.3,97.2,-2.1,106.1), (2013,12,21,'Prov. Kepulauan Riau',108.8,103.6,105,1.083333,104.4833), (2013,12,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2013,12,32,'Prov. Jawa Barat',112.6,106.6,105.6,-6.914722,107.6097), (2013,12,33,'Prov. Jawa Tengah',111.4,106.6,104.5,-6.966667,110.4167), (2013,12,34,'Prov. D I Yogyakarta',112.8,107.4,105,-7.801389,110.3644), (2013,12,35,'Prov. Jawa Timur',117.4,107,109.8,-7.266667,112.7167), (2013,12,36,'Prov. Banten',110.3,106.4,103.7,-6.12,106.1503), (2013,12,51,'Prov. Bali',118.6,105.4,112.5,-8.65,115.2167), (2013,12,52,'Prov. Nusa Tenggara Barat',114.6,106.7,107.4,-8.583333,116.1167), (2013,12,53,'Prov. Nusa Tenggara Timur',110.6,107.3,103.1,-10.18333,123.5833), (2013,12,61,'Prov. Kalimantan Barat',101.4,106.6,95.1,-0.0166667,109.3333), (2013,12,62,'Prov. Kalimantan Tengah',105.9,106.3,99.6,-2.21,113.92), (2013,12,63,'Prov. Kalimantan Selatan',113.5,104.2,108.9,-3.314444,114.5925), (2013,12,64,'Prov. Kalimantan Timur',112.1,107.6,104.2,-0.5022222,117.1536), (2013,12,71,'Prov. Sulawesi Utara',105.8,107.2,98.6,1.493056,124.8414), (2013,12,72,'Prov. Sulawesi Tengah',114.2,105.6,108.1,-0.9,119.8333), (2013,12,73,'Prov. Sulawesi Selatan',113.2,106.2,106.5,-5.133333,119.4167), (2013,12,74,'Prov. Sulawesi Tenggara',109.5,106,103.3,-3.9675,122.5947), (2013,12,75,'Prov. Gorontalo',109.3,106.7,102.4,0.5333334,123.0667), (2013,12,76,'Prov. Sulawesi Barat',107,105.5,101.4,-2.668611,118.8622), (2013,12,81,'Prov. Maluku',113.9,109.6,103.8,-3.7,128.1667), (2013,12,82,'Prov. Maluku Utara',116.2,105.9,109.7,0.7833334,127.3667), (2013,12,91,'Prov. Papua Barat',108.4,107.7,100.7,-0.8666667,134.0833), (2013,12,94,'Prov. Papua',107,105.4,101.5,-2.533056,140.7169), (2014,1,11,'Prov. Nanggroe Aceh Darussalam',104.5,106.5,98.1,5.55,95.31667), (2014,1,12,'Prov. Sumatera Utara',112.4,108.2,103.9,3.583333,98.66666), (2014,1,13,'Prov. Sumatera Barat',104.9,106.3,98.7,-0.95,100.3531), (2014,1,14,'Prov. Riau',105.1,107.8,97.5,0.4816667,101.4686), (2014,1,15,'Prov. Jambi',105.9,109.3,96.9,-1.589167,103.61), (2014,1,16,'Prov. Sumatera Selatan',110.7,106.1,104.3,-2.990833,104.7567), (2014,1,17,'Prov. Bengkulu',108.9,107.3,101.5,-3.795556,102.2592), (2014,1,18,'Prov. Lampung',115,106.6,107.9,-5.429722,105.2625), (2014,1,19,'Prov. Kepulauan Bangka Belitung',104.4,107,97.5,-2.1,106.1), (2014,1,21,'Prov. Kepulauan Riau',110,104.2,105.6,1.083333,104.4833), (2014,1,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2014,1,32,'Prov. Jawa Barat',113.3,107.5,105.4,-6.914722,107.6097), (2014,1,33,'Prov. Jawa Tengah',111.5,107.2,104,-6.966667,110.4167), (2014,1,34,'Prov. D I Yogyakarta',114.2,108,105.8,-7.801389,110.3644), (2014,1,35,'Prov. Jawa Timur',118.8,107.8,110.1,-7.266667,112.7167), (2014,1,36,'Prov. Banten',110.7,107,103.5,-6.12,106.1503), (2014,1,51,'Prov. Bali',120.2,106.1,113.3,-8.65,115.2167), (2014,1,52,'Prov. Nusa Tenggara Barat',116.1,107.6,107.9,-8.583333,116.1167), (2014,1,53,'Prov. Nusa Tenggara Timur',111,107.7,103,-10.18333,123.5833), (2014,1,61,'Prov. Kalimantan Barat',102.3,107.5,95.2,-0.0166667,109.3333), (2014,1,62,'Prov. Kalimantan Tengah',106.5,106.9,99.6,-2.21,113.92), (2014,1,63,'Prov. Kalimantan Selatan',114.6,104.7,109.4,-3.314444,114.5925), (2014,1,64,'Prov. Kalimantan Timur',111.6,108.1,103.3,-0.5022222,117.1536), (2014,1,71,'Prov. Sulawesi Utara',106.4,107.8,98.7,1.493056,124.8414), (2014,1,72,'Prov. Sulawesi Tengah',114.8,106.2,108.1,-0.9,119.8333), (2014,1,73,'Prov. Sulawesi Selatan',114,107,106.6,-5.133333,119.4167), (2014,1,74,'Prov. Sulawesi Tenggara',109.4,106.6,102.6,-3.9675,122.5947), (2014,1,75,'Prov. Gorontalo',109.5,107.1,102.2,0.5333334,123.0667), (2014,1,76,'Prov. Sulawesi Barat',107.3,106,101.2,-2.668611,118.8622), (2014,1,81,'Prov. Maluku',113.9,110.1,103.4,-3.7,128.1667), (2014,1,82,'Prov. Maluku Utara',117,106.4,110,0.7833334,127.3667), (2014,1,91,'Prov. Papua Barat',108.7,108.2,100.5,-0.8666667,134.0833), (2014,1,94,'Prov. Papua',107.5,105.8,101.6,-2.533056,140.7169), (2014,2,11,'Prov. Nanggroe Aceh Darussalam',104.9,106.5,98.5,5.55,95.31667), (2014,2,12,'Prov. Sumatera Utara',113,108.2,104.5,3.583333,98.66666), (2014,2,13,'Prov. Sumatera Barat',105.9,106.4,99.5,-0.95,100.3531), (2014,2,14,'Prov. Riau',105.2,107.9,97.5,0.4816667,101.4686), (2014,2,15,'Prov. Jambi',105.9,109.3,96.9,-1.589167,103.61), (2014,2,16,'Prov. Sumatera Selatan',110.9,106.4,104.2,-2.990833,104.7567), (2014,2,17,'Prov. Bengkulu',109.6,107.4,102,-3.795556,102.2592), (2014,2,18,'Prov. Lampung',115.8,106.7,108.5,-5.429722,105.2625), (2014,2,19,'Prov. Kepulauan Bangka Belitung',104.2,107.6,96.9,-2.1,106.1), (2014,2,21,'Prov. Kepulauan Riau',110.6,104.7,105.7,1.083333,104.4833), (2014,2,31,'Prov. DKI Jakarta',NULL,NULL,NULL,-6.183333,106.8333), (2014,2,32,'Prov. Jawa Barat',113.1,108,104.7,-6.914722,107.6097), (2014,2,33,'Prov. Jawa Tengah',111.3,107.5,103.5,-6.966667,110.4167), (2014,2,34,'Prov. D I Yogyakarta',113.4,108.4,104.6,-7.801389,110.3644), (2014,2,35,'Prov. Jawa Timur',119.2,108.1,110.3,-7.266667,112.7167), (2014,2,36,'Prov. Banten',110.4,107.5,102.8,-6.12,106.1503), (2014,2,51,'Prov. Bali',120.2,106.6,112.7,-8.65,115.2167), (2014,2,52,'Prov. Nusa Tenggara Barat',115.9,108,107.3,-8.583333,116.1167), (2014,2,53,'Prov. Nusa Tenggara Timur',111.8,108.2,103.3,-10.18333,123.5833), (2014,2,61,'Prov. Kalimantan Barat',102.4,107.9,95,-0.0166667,109.3333), (2014,2,62,'Prov. Kalimantan Tengah',106.4,107,99.4,-2.21,113.92), (2014,2,63,'Prov. Kalimantan Selatan',114.6,104.8,109.4,-3.314444,114.5925), (2014,2,64,'Prov. Kalimantan Timur',113.1,108.2,104.5,-0.5022222,117.1536), (2014,2,71,'Prov. Sulawesi Utara',106.8,107.8,99.2,1.493056,124.8414), (2014,2,72,'Prov. Sulawesi Tengah',114.4,106.5,107.4,-0.9,119.8333), (2014,2,73,'Prov. Sulawesi Selatan',114.2,107.3,106.4,-5.133333,119.4167), (2014,2,74,'Prov. Sulawesi Tenggara',110.2,106.8,103.2,-3.9675,122.5947), (2014,2,75,'Prov. Gorontalo',109.2,107.4,101.6,0.5333334,123.0667), (2014,2,76,'Prov. Sulawesi Barat',107.3,106.4,100.9,-2.668611,118.8622), (2014,2,81,'Prov. Maluku',113.5,110.5,102.7,-3.7,128.1667), (2014,2,82,'Prov. Maluku Utara',116.4,106.6,109.3,0.7833334,127.3667), (2014,2,91,'Prov. Papua Barat',109.2,108.5,100.6,-0.8666667,134.0833), (2014,2,94,'Prov. Papua',108.8,106.1,102.5,-2.533056,140.7169), (2014,3,11,'Prov. Nanggroe Aceh Darussalam',104.9,106.7,98.3,5.55,95.31667), (2014,3,12,'Prov. Sumatera Utara',114,108.2,105.4,3.583333,98.66666), (2014,3,13,'Prov. Sumatera Barat',106.2,106.5,99.7,-0.95,100.3531), (2014,3,14,'Prov. Riau',105.7,108,97.9,0.4816667,101.4686), (2014,3,15,'Prov. Jambi',106.7,109.5,97.4,-1.589167,103.61), (2014,3,16,'Prov. Sumatera Selatan',111.1,106.4,104.4,-2.990833,104.7567), (2014,3,17,'Prov. Bengkulu',109.8,107.6,102,-3.795556,102.2592), (2014,3,18,'Prov. Lampung',116.2,106.8,108.7,-5.429722,105.2625), (2014,3,19,'Prov. Kepulauan Bangka Belitung',104.6,107.5,97.3,-2.1,106.1), (2014,3,21,'Prov. Kepulauan Riau',110.4,104.8,105.3,1.083333,104.4833), (2014,3,31,'Prov. DKI Jakarta',0,0,0,-6.183333,106.8333), (2014,3,32,'Prov. Jawa Barat',113.5,108.3,104.8,-6.914722,107.6097), (2014,3,33,'Prov. Jawa Tengah',111.6,107.7,103.6,-6.966667,110.4167), (2014,3,34,'Prov. D I Yogyakarta',112.9,108.6,103.9,-7.801389,110.3644), (2014,3,35,'Prov. Jawa Timur',119.5,108.5,110.2,-7.266667,112.7167), (2014,3,36,'Prov. Banten',110.2,107.9,102.1,-6.12,106.1503), (2014,3,51,'Prov. Bali',120.8,106.9,113,-8.65,115.2167), (2014,3,52,'Prov. Nusa Tenggara Barat',116.9,108,108.2,-8.583333,116.1167), (2014,3,53,'Prov. Nusa Tenggara Timur',111.7,108.3,103.2,-10.18333,123.5833), (2014,3,61,'Prov. Kalimantan Barat',102.7,108.2,94.9,-0.0166667,109.3333), (2014,3,62,'Prov. Kalimantan Tengah',106.6,107.1,99.5,-2.21,113.92), (2014,3,63,'Prov. Kalimantan Selatan',114.4,104.9,109,-3.314444,114.5925), (2014,3,64,'Prov. Kalimantan Timur',113.1,108.3,104.5,-0.5022222,117.1536), (2014,3,71,'Prov. Sulawesi Utara',107.7,108,99.7,1.493056,124.8414), (2014,3,72,'Prov. Sulawesi Tengah',115.3,106.7,108,-0.9,119.8333), (2014,3,73,'Prov. Sulawesi Selatan',114.1,107.5,106.1,-5.133333,119.4167), (2014,3,74,'Prov. Sulawesi Tenggara',110.3,106.9,103.2,-3.9675,122.5947), (2014,3,75,'Prov. Gorontalo',109.1,107.6,101.4,0.5333334,123.0667), (2014,3,76,'Prov. Sulawesi Barat',107.8,106.1,101.5,-2.668611,118.8622), (2014,3,81,'Prov. Maluku',114.2,110.5,103.4,-3.7,128.1667), (2014,3,82,'Prov. Maluku Utara',116.5,106.6,109.3,0.7833334,127.3667), (2014,3,91,'Prov. Papua Barat',109.3,108.7,100.5,-0.8666667,134.0833), (2014,3,94,'Prov. Papua',108.2,106.4,101.7,-2.533056,140.7169); /*Table structure for table `tbl_penduduk_buta_aksara` */ DROP TABLE IF EXISTS `tbl_penduduk_buta_aksara`; CREATE TABLE `tbl_penduduk_buta_aksara` ( `kode_provinsi` bigint(20) DEFAULT NULL, `nama_provinsi` varchar(255) DEFAULT NULL, `kode_kabkota` bigint(20) DEFAULT NULL, `nama_kabkota` varchar(255) DEFAULT NULL, `tidak_baca_tulis` bigint(20) DEFAULT NULL, `tidak_berbahasa_indonesia` bigint(20) DEFAULT NULL, `latitude` double DEFAULT NULL, `longitude` double DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_penduduk_buta_aksara` */ insert into `tbl_penduduk_buta_aksara`(`kode_provinsi`,`nama_provinsi`,`kode_kabkota`,`nama_kabkota`,`tidak_baca_tulis`,`tidak_berbahasa_indonesia`,`latitude`,`longitude`) values (11,'Prov. Nanggroe Aceh Darussalam',1101,'Kab. Simeulue',5195,1638,2.62818,96.0898), (11,'Prov. Nanggroe Aceh Darussalam',1102,'Kab. Aceh Singkil',12296,5354,2.439,97.9244), (11,'Prov. Nanggroe Aceh Darussalam',1103,'Kab. Aceh Selatan',21776,19819,3.25638,97.213), (11,'Prov. Nanggroe Aceh Darussalam',1104,'Kab. Aceh Tenggara',13852,4571,3.59968,97.6619), (11,'Prov. Nanggroe Aceh Darussalam',1105,'Kab. Aceh Timur',24431,25837,4.56983,97.7723), (11,'Prov. Nanggroe Aceh Darussalam',1106,'Kab. Aceh Tengah',10249,2065,4.56693,96.8147), (11,'Prov. Nanggroe Aceh Darussalam',1107,'Kab. Aceh Barat',16444,13142,4.49032,96.041), (11,'Prov. Nanggroe Aceh Darussalam',1108,'Kab. Aceh Besar',20757,22126,5.35887,95.5144), (11,'Prov. Nanggroe Aceh Darussalam',1109,'Kab. Pidie',27071,53228,5.1152,95.9574), (11,'Prov. Nanggroe Aceh Darussalam',1110,'Kab. Bireuen',22201,38231,5.081,96.5974), (11,'Prov. Nanggroe Aceh Darussalam',1111,'Kab. Aceh Utara',41074,62237,4.99764,97.1454), (11,'Prov. Nanggroe Aceh Darussalam',1112,'Kab. Aceh Barat Daya',13574,9878,3.78325,96.9143), (11,'Prov. Nanggroe Aceh Darussalam',1113,'Kab. Gayo Lues',13616,10024,3.97798,97.323), (11,'Prov. Nanggroe Aceh Darussalam',1114,'Kab. Aceh Tamiang',15679,1224,4.20756,98.0029), (11,'Prov. Nanggroe Aceh Darussalam',1115,'Kab. Nagan Raya',15853,13538,4.15452,96.5184), (11,'Prov. Nanggroe Aceh Darussalam',1116,'Kab. Aceh Jaya',6554,6849,4.8271,95.6491), (11,'Prov. Nanggroe Aceh Darussalam',1117,'Kab. Bener Meriah',7084,1277,4.76923,96.9901), (11,'Prov. Nanggroe Aceh Darussalam',1118,'Kab. Pidie Jaya',12831,20065,5.13828,96.2004), (11,'Prov. Nanggroe Aceh Darussalam',1171,'Kota Banda Aceh',4554,954,5.54215,95.3431), (11,'Prov. Nanggroe Aceh Darussalam',1172,'Kota Sabang',1527,427,5.83886,95.2953), (11,'Prov. Nanggroe Aceh Darussalam',1173,'Kota Langsa',5928,449,4.48157,97.9214), (11,'Prov. Nanggroe Aceh Darussalam',1174,'Kota Lhokseumawe',7320,4078,5.12941,97.0654), (11,'Prov. Nanggroe Aceh Darussalam',1175,'Kota Subulussalam',8201,3037,2.65359,97.9101), (12,'Prov. Sumatera Utara',1201,'Kab. Nias',36769,50994,1.12946,97.7191), (12,'Prov. Sumatera Utara',1202,'Kab. Mandailing Natal',23669,29745,0.716284,99.4183), (12,'Prov. Sumatera Utara',1203,'Kab. Tapanuli Selatan',16676,15565,1.52419,99.2215), (12,'Prov. Sumatera Utara',1204,'Kab. Tapanuli Tengah',25873,17182,1.86878,98.6094), (12,'Prov. Sumatera Utara',1205,'Kab. Tapanuli Utara',16531,15985,2.0633,98.8284), (12,'Prov. Sumatera Utara',1206,'Kab. Toba Samosir',8915,7569,2.50027,99.0042), (12,'Prov. Sumatera Utara',1207,'Kab. Labuhan Batu',20747,3988,2.14783,99.9218), (12,'Prov. Sumatera Utara',1208,'Kab. Asahan',30914,2925,2.98305,99.531), (12,'Prov. Sumatera Utara',1209,'Kab. Simalungun',34680,6452,2.95304,99.2713), (12,'Prov. Sumatera Utara',1210,'Kab. Dairi',16736,10922,2.82712,98.2783), (12,'Prov. Sumatera Utara',1211,'Kab. Karo',16980,9259,3.09635,98.2514), (12,'Prov. Sumatera Utara',1212,'Kab. Deli Serdang',59378,4704,3.46231,98.888), (12,'Prov. Sumatera Utara',1213,'Kab. Langkat',47868,3163,3.766,98.2307), (12,'Prov. Sumatera Utara',1214,'Kab. Nias Selatan',82138,97353,0.786682,97.7166), (12,'Prov. Sumatera Utara',1215,'Kab. Humbang Hasundutan',12097,13982,2.23062,98.5734), (12,'Prov. Sumatera Utara',1216,'Kab. Pakpak Bharat',2803,1815,2.55478,98.2762), (12,'Prov. Sumatera Utara',1217,'Kab. Samosir',8144,8272,2.50894,98.6264), (12,'Prov. Sumatera Utara',1218,'Kab. Serdang Bedagai',28797,1843,3.34975,99.0295), (12,'Prov. Sumatera Utara',1219,'Kab. Batu Bara',23691,5543,3.23175,99.5003), (12,'Prov. Sumatera Utara',1220,'Kab. Padang Lawas Utara',13685,13117,1.61899,99.6822), (12,'Prov. Sumatera Utara',1221,'Kab. Padang Lawas',13893,14501,1.2403,99.9102), (12,'Prov. Sumatera Utara',1222,'Kab. Labuhan Batu Selatan',14878,1111,1.8468,100.077), (12,'Prov. Sumatera Utara',1223,'Kab. Labuhan Batu Utara',17848,1670,2.42728,99.7271), (12,'Prov. Sumatera Utara',1224,'Kab. Nias Utara',28492,43147,1.30584,97.3029), (12,'Prov. Sumatera Utara',1225,'Kab. Nias Barat',22677,31588,1.01902,97.5242), (12,'Prov. Sumatera Utara',1271,'Kota Sibolga',3512,301,1.72715,98.7986), (12,'Prov. Sumatera Utara',1272,'Kota Tanjung Balai',7569,276,2.94164,99.7784), (12,'Prov. Sumatera Utara',1273,'Kota Pematang Siantar',5342,279,2.9676,99.0514), (12,'Prov. Sumatera Utara',1274,'Kota Tebing Tinggi',4046,52,3.33108,99.1414), (12,'Prov. Sumatera Utara',1275,'Kota Medan',39416,1139,3.6686,98.6712), (12,'Prov. Sumatera Utara',1276,'Kota Binjai',6235,98,3.61904,98.4846), (12,'Prov. Sumatera Utara',1277,'Kota Padangsidimpuan',7587,2575,1.30299,99.2289), (12,'Prov. Sumatera Utara',1278,'Kota Gunungsitoli',19218,22570,1.26105,97.5949), (13,'Prov. Sumatera Barat',1301,'Kab. Kepulauan Mentawai',12609,17361,-1.34643,98.9409), (13,'Prov. Sumatera Barat',1302,'Kab. Pesisir Selatan',40247,53047,-1.74602,100.844), (13,'Prov. Sumatera Barat',1303,'Kab. Solok',28284,53692,-0.933584,100.83), (13,'Prov. Sumatera Barat',1304,'Kab. Sijunjung',18712,22903,-0.650064,101.147), (13,'Prov. Sumatera Barat',1305,'Kab. Tanah Datar',21615,30576,-0.470079,100.582), (13,'Prov. Sumatera Barat',1306,'Kab. Padang Pariaman',38133,59280,-0.59275,100.257), (13,'Prov. Sumatera Barat',1307,'Kab. Agam',27235,49994,-0.266132,100.15), (13,'Prov. Sumatera Barat',1308,'Kab. Lima Puluh Kota',23636,38230,-0.000848,100.563), (13,'Prov. Sumatera Barat',1309,'Kab. Pasaman',19428,30638,0.39956,100.083), (13,'Prov. Sumatera Barat',1310,'Kab. Solok Selatan',9529,17108,-1.35893,101.276), (13,'Prov. Sumatera Barat',1311,'Kab. Dharmas Raya',13580,14545,-1.00085,101.342), (13,'Prov. Sumatera Barat',1312,'Kab. Pasaman Barat',31066,37514,0.186779,99.5962), (13,'Prov. Sumatera Barat',1371,'Kota Padang',28065,35977,-1.00273,100.451), (13,'Prov. Sumatera Barat',1372,'Kota Solok',2932,2253,-0.759189,100.599), (13,'Prov. Sumatera Barat',1373,'Kota Sawah Lunto',2871,2235,-0.677574,100.788), (13,'Prov. Sumatera Barat',1374,'Kota Padang Panjang',2165,2574,-0.453913,100.423), (13,'Prov. Sumatera Barat',1375,'Kota Bukittinggi',2830,1535,-0.271348,100.372), (13,'Prov. Sumatera Barat',1376,'Kota Payakumbuh',5634,4456,-0.239505,100.641), (13,'Prov. Sumatera Barat',1377,'Kota Pariaman',3940,4524,-0.626203,100.145), (14,'Prov. Riau',1401,'Kab. Kuantan Singingi',16945,16303,-0.491978,101.47), (14,'Prov. Riau',1402,'Kab. Indragiri Hulu',24070,11242,-0.522681,102.243), (14,'Prov. Riau',1403,'Kab. Indragiri Hilir',36713,24946,-0.287854,103.183), (14,'Prov. Riau',1404,'Kab. Pelalawan',20167,9261,0.124485,102.427), (14,'Prov. Riau',1405,'Kab. Siak',18090,4122,0.761717,101.846), (14,'Prov. Riau',1406,'Kab. Kampar',31369,22114,0.27116,101.089), (14,'Prov. Riau',1407,'Kab. Rokan Hulu',29156,10488,0.821098,100.506), (14,'Prov. Riau',1408,'Kab. Bengkalis',25055,9597,1.24641,101.523), (14,'Prov. Riau',1409,'Kab. Rokan Hilir',28827,10356,1.86948,100.838), (14,'Prov. Riau',1410,'Kab. Kepulauan Meranti',13936,6601,0.907379,102.726), (14,'Prov. Riau',1471,'Kota Pekanbaru',26467,2348,0.557415,101.462), (14,'Prov. Riau',1473,'Kota Dumai',10682,779,1.74798,101.264), (15,'Prov. Jambi',1501,'Kab. Kerinci',20904,29984,-2.06012,101.478), (15,'Prov. Jambi',1502,'Kab. Merangin',28322,25906,-2.20381,102.056), (15,'Prov. Jambi',1503,'Kab. Sarolangun',19458,18200,-2.33009,102.649), (15,'Prov. Jambi',1504,'Kab. Batang Hari',20155,16583,-1.85729,103.015), (15,'Prov. Jambi',1505,'Kab. Muaro Jambi',20705,10058,-1.64549,103.746), (15,'Prov. Jambi',1506,'Kab. Tanjung Jabung Timur',19228,7402,-1.30035,103.98), (15,'Prov. Jambi',1507,'Kab. Tanjung Jabung Barat',17291,5463,-1.12062,103.142), (15,'Prov. Jambi',1508,'Kab. Tebo',21006,17750,-1.39386,102.317), (15,'Prov. Jambi',1509,'Kab. Bungo',20448,22413,-1.50943,101.958), (15,'Prov. Jambi',1571,'Kota Jambi',14997,6817,-1.62225,103.641), (15,'Prov. Jambi',1572,'Kota Sungai Penuh',5653,6196,-2.09008,101.339), (16,'Prov. Sumatera Selatan',1601,'Kab. Ogan Komering Ulu',16550,21742,-4.01787,104.146), (16,'Prov. Sumatera Selatan',1602,'Kab. Ogan Komering Ilir',49574,56389,-3.32657,105.198), (16,'Prov. Sumatera Selatan',1603,'Kab. Muara Enim',44003,62395,-3.71069,104.044), (16,'Prov. Sumatera Selatan',1604,'Kab. Lahat',17004,24126,-3.8887,103.196), (16,'Prov. Sumatera Selatan',1605,'Kab. Musi Rawas',37817,39597,-2.95853,102.861), (16,'Prov. Sumatera Selatan',1606,'Kab. Musi Banyuasin',32772,40951,-2.44468,104.293), (16,'Prov. Sumatera Selatan',1607,'Kab. Banyu Asin',61046,60863,-2.41036,104.787), (16,'Prov. Sumatera Selatan',1608,'Kab. Ogan Komering Ulu Selatan',18547,19784,-4.56882,103.97), (16,'Prov. Sumatera Selatan',1609,'Kab. Ogan Komering Ulu Timur',44318,28765,-4.08204,104.568), (16,'Prov. Sumatera Selatan',1610,'Kab. Ogan Ilir',19357,30853,-3.42967,104.575), (16,'Prov. Sumatera Selatan',1611,'Kab. Empat Lawang',11361,27061,-3.72128,102.917), (16,'Prov. Sumatera Selatan',1671,'Kota Palembang',45119,71549,-3.0036,104.728), (16,'Prov. Sumatera Selatan',1672,'Kota Prabumulih',5808,9330,-3.49761,104.22), (16,'Prov. Sumatera Selatan',1673,'Kota Pagar Alam',5105,4238,-4.14946,103.34), (16,'Prov. Sumatera Selatan',1674,'Kota Lubuklinggau',8716,11889,-3.25947,102.821), (17,'Prov. Bengkulu',1701,'Kab. Bengkulu Selatan',10579,11943,-4.31242,103.031), (17,'Prov. Bengkulu',1702,'Kab. Rejang Lebong',16527,10202,-3.44252,102.687), (17,'Prov. Bengkulu',1703,'Kab. Bengkulu Utara',22046,9190,-3.0694,101.834), (17,'Prov. Bengkulu',1704,'Kab. Kaur',8582,15485,-4.59173,103.427), (17,'Prov. Bengkulu',1705,'Kab. Seluma',14951,17842,-4.07019,102.72), (17,'Prov. Bengkulu',1706,'Kab. Mukomuko',11828,6890,-2.73128,101.448), (17,'Prov. Bengkulu',1707,'Kab. Lebong',6811,5256,-3.05177,102.219), (17,'Prov. Bengkulu',1708,'Kab. Kepahiang',8536,4060,-3.64761,102.658), (17,'Prov. Bengkulu',1709,'Kab. Bengkulu Tengah',10414,6984,-3.67487,102.424), (17,'Prov. Bengkulu',1771,'Kota Bengkulu',9511,4953,-3.85375,102.297), (18,'Prov. Lampung',1801,'Kab. Lampung Barat',23348,8658,-5.36361,104.125), (18,'Prov. Lampung',1802,'Kab. Tanggamus',36722,15456,-5.51669,104.76), (18,'Prov. Lampung',1803,'Kab. Lampung Selatan',61869,17034,-5.51469,105.379), (18,'Prov. Lampung',1804,'Kab. Lampung Timur',69587,31993,-5.11625,105.586), (18,'Prov. Lampung',1805,'Kab. Lampung Tengah',84174,35762,-4.86672,105.176), (18,'Prov. Lampung',1806,'Kab. Lampung Utara',38359,7548,-4.83168,104.814), (18,'Prov. Lampung',1807,'Kab. Way Kanan',28023,10284,-4.57554,104.648), (18,'Prov. Lampung',1808,'Kab. Tulangbawang',24980,6806,-4.54332,105.097), (18,'Prov. Lampung',1809,'Kab. Pesawaran',24531,7515,-5.4532,105.098), (18,'Prov. Lampung',1810,'Kab. Pringsewu',22383,8945,-5.36191,104.927), (18,'Prov. Lampung',1811,'Kab. Mesuji',13903,6357,-4.03268,105.413), (18,'Prov. Lampung',1812,'Kab. Tulangbawang Barat',18464,6503,-4.27498,105.423), (18,'Prov. Lampung',1871,'Kota Bandar Lampung',25883,1053,-5.42396,105.251), (18,'Prov. Lampung',1872,'Kota Metro',5594,1428,-5.11165,105.309), (19,'Prov. Kepulauan Bangka Belitung',1901,'Kab. Bangka',13707,10291,-1.93481,105.952), (19,'Prov. Kepulauan Bangka Belitung',1902,'Kab. Belitung',7403,4074,-2.88028,107.753), (19,'Prov. Kepulauan Bangka Belitung',1903,'Kab. Bangka Barat',15363,14089,-1.83743,105.451), (19,'Prov. Kepulauan Bangka Belitung',1904,'Kab. Bangka Tengah',10335,11906,-2.49897,106.335), (19,'Prov. Kepulauan Bangka Belitung',1905,'Kab. Bangka Selatan',17045,15247,-2.79221,106.319), (19,'Prov. Kepulauan Bangka Belitung',1906,'Kab. Belitung Timur',5431,3562,-2.8935,107.874), (19,'Prov. Kepulauan Bangka Belitung',1971,'Kota Pangkal Pinang',6160,4051,-2.22588,106.128), (21,'Prov. Kepulauan Riau',2101,'Kab. Karimun',11408,4057,0.768402,103.426), (21,'Prov. Kepulauan Riau',2102,'Kab. Bintan',8120,262,1.01851,104.574), (21,'Prov. Kepulauan Riau',2103,'Kab. Natuna',3770,2315,3.93073,108.188), (21,'Prov. Kepulauan Riau',2104,'Kab. Lingga',11514,5241,-0.155833,104.713), (21,'Prov. Kepulauan Riau',2105,'Kab. Kepulauan Anambas',3642,3243,2.93874,105.76), (21,'Prov. Kepulauan Riau',2171,'Kota Batam',28247,2232,1.08657,104.023), (21,'Prov. Kepulauan Riau',2172,'Kota Tanjung Pinang',6807,843,1.04902,104.49), (31,'Prov. DKI Jakarta',3101,'Kab. Kepulauan Seribu',999,11,-5.77769,106.504), (31,'Prov. DKI Jakarta',3171,'Kab. Kodya Jakarta Selatan',36436,2897,-6.28461,106.794), (31,'Prov. DKI Jakarta',3172,'Kab. Kodya Jakarta Timur',56955,720,-6.26223,106.907), (31,'Prov. DKI Jakarta',3173,'Kab. Kodya Jakarta Pusat',17257,214,-6.18367,106.836), (31,'Prov. DKI Jakarta',3174,'Kab. Kodya Jakarta Barat',55921,966,-6.15971,106.755), (31,'Prov. DKI Jakarta',3175,'Kab. Kodya Jakarta Utara',45129,916,-6.1354,106.841), (32,'Prov. Jawa Barat',3201,'Kab. Bogor',245584,159899,-6.54412,107.002), (32,'Prov. Jawa Barat',3202,'Kab. Sukabumi',131235,166504,-7.07493,106.717), (32,'Prov. Jawa Barat',3203,'Kab. Cianjur',117300,195433,-7.05156,107.126), (32,'Prov. Jawa Barat',3204,'Kab. Bandung',122921,181701,-7.07311,107.592), (32,'Prov. Jawa Barat',3205,'Kab. Garut',102763,193209,-7.3425,107.778), (32,'Prov. Jawa Barat',3206,'Kab. Tasikmalaya',67649,137423,-7.42885,108.164), (32,'Prov. Jawa Barat',3207,'Kab. Ciamis',76192,108831,-7.4369,108.486), (32,'Prov. Jawa Barat',3208,'Kab. Kuningan',64848,57518,-6.98826,108.591), (32,'Prov. Jawa Barat',3209,'Kab. Cirebon',205063,151048,-6.75547,108.576), (32,'Prov. Jawa Barat',3210,'Kab. Majalengka',86251,109958,-6.81747,108.228), (32,'Prov. Jawa Barat',3211,'Kab. Sumedang',44263,72974,-6.81018,107.979), (32,'Prov. Jawa Barat',3212,'Kab. Indramayu',272703,232056,-6.44806,108.198), (32,'Prov. Jawa Barat',3213,'Kab. Subang',150523,139433,-6.4939,107.726), (32,'Prov. Jawa Barat',3214,'Kab. Purwakarta',44528,54680,-6.58964,107.431), (32,'Prov. Jawa Barat',3215,'Kab. Karawang',189882,154622,-6.28699,107.364), (32,'Prov. Jawa Barat',3216,'Kab. Bekasi',167460,39717,-6.20242,107.135), (32,'Prov. Jawa Barat',3217,'Kab. Bandung Barat',66870,90604,-6.90356,107.464), (32,'Prov. Jawa Barat',3271,'Kota Bogor',25163,3879,-6.59621,106.794), (32,'Prov. Jawa Barat',3272,'Kota Sukabumi',9856,6155,-6.94092,106.906), (32,'Prov. Jawa Barat',3273,'Kota Bandung',45310,21381,-6.90992,107.647), (32,'Prov. Jawa Barat',3274,'Kota Cirebon',13634,2911,-6.74773,108.555), (32,'Prov. Jawa Barat',3275,'Kota Bekasi',53922,2920,-6.28521,106.973), (32,'Prov. Jawa Barat',3276,'Kota Depok',45220,1612,-6.39243,106.825), (32,'Prov. Jawa Barat',3277,'Kota Cimahi',10660,3835,-6.88191,107.549), (32,'Prov. Jawa Barat',3278,'Kota Tasikmalaya',14315,24779,-7.36021,108.218), (32,'Prov. Jawa Barat',3279,'Kota Banjar',7697,6880,-7.36996,108.559), (33,'Prov. Jawa Tengah',3301,'Kab. Cilacap',142183,101160,-7.4436,108.815), (33,'Prov. Jawa Tengah',3302,'Kab. Banyumas',107353,75179,-7.45231,109.168), (33,'Prov. Jawa Tengah',3303,'Kab. Purbalingga',72895,60611,-7.32767,109.409), (33,'Prov. Jawa Tengah',3304,'Kab. Banjarnegara',91390,82754,-7.35284,109.639), (33,'Prov. Jawa Tengah',3305,'Kab. Kebumen',96604,68554,-7.63749,109.611), (33,'Prov. Jawa Tengah',3306,'Kab. Purworejo',58084,45444,-7.70103,109.969), (33,'Prov. Jawa Tengah',3307,'Kab. Wonosobo',78263,63013,-7.39755,109.903), (33,'Prov. Jawa Tengah',3308,'Kab. Magelang',103280,108023,-7.51056,110.247), (33,'Prov. Jawa Tengah',3309,'Kab. Boyolali',111921,105540,-7.38235,110.709), (33,'Prov. Jawa Tengah',3310,'Kab. Klaten',120124,112893,-7.67597,110.609), (33,'Prov. Jawa Tengah',3311,'Kab. Sukoharjo',70420,57962,-7.68287,110.831), (33,'Prov. Jawa Tengah',3312,'Kab. Wonogiri',133989,109056,-7.96073,111.035), (33,'Prov. Jawa Tengah',3313,'Kab. Karanganyar',89077,84228,-7.61315,110.984), (33,'Prov. Jawa Tengah',3314,'Kab. Sragen',132657,126513,-7.39103,110.962), (33,'Prov. Jawa Tengah',3315,'Kab. Grobogan',110324,108845,-7.10693,110.894), (33,'Prov. Jawa Tengah',3316,'Kab. Blora',105082,94488,-7.11381,111.361), (33,'Prov. Jawa Tengah',3317,'Kab. Rembang',51973,54369,-6.76817,111.464), (33,'Prov. Jawa Tengah',3318,'Kab. Pati',130110,142642,-6.70743,111.034), (33,'Prov. Jawa Tengah',3319,'Kab. Kudus',11217,5585,-6.79816,110.87), (33,'Prov. Jawa Tengah',3320,'Kab. Jepara',81984,94395,-6.60681,110.789), (33,'Prov. Jawa Tengah',3321,'Kab. Demak',67851,84347,-6.92854,110.637), (33,'Prov. Jawa Tengah',3322,'Kab. Semarang',72418,61943,-7.28739,110.456), (33,'Prov. Jawa Tengah',3323,'Kab. Temanggung',58150,66634,-7.24573,110.137), (33,'Prov. Jawa Tengah',3324,'Kab. Kendal',83893,79955,-7.02297,110.142), (33,'Prov. Jawa Tengah',3325,'Kab. Batang',70249,67655,-7.03709,109.88), (33,'Prov. Jawa Tengah',3326,'Kab. Pekalongan',80501,68913,-7.04079,109.657), (33,'Prov. Jawa Tengah',3327,'Kab. Pemalang',103912,80757,-7.00981,109.392), (33,'Prov. Jawa Tengah',3328,'Kab. Tegal',151979,120398,-7.04973,109.157), (33,'Prov. Jawa Tengah',3329,'Kab. Brebes',231103,215382,-7.04457,108.945), (33,'Prov. Jawa Tengah',3371,'Kota Magelang',3917,1890,-7.4917,110.226), (33,'Prov. Jawa Tengah',3372,'Kota Surakarta',17979,8819,-7.55914,110.824), (33,'Prov. Jawa Tengah',3373,'Kota Salatiga',6955,3302,-7.34305,110.5), (33,'Prov. Jawa Tengah',3374,'Kota Semarang',52489,23885,-7.02842,110.389), (33,'Prov. Jawa Tengah',3375,'Kota Pekalongan',12851,5841,-6.90084,109.689), (33,'Prov. Jawa Tengah',3376,'Kota Tegal',14248,6787,-6.87444,109.108), (34,'Prov. D I Yogyakarta',3401,'Kab. Kulon Progo',39378,31904,-7.81337,110.148), (34,'Prov. D I Yogyakarta',3402,'Kab. Bantul',84180,69662,-7.90749,110.358), (34,'Prov. D I Yogyakarta',3403,'Kab. Gunung Kidul',118438,99096,-7.99321,110.585), (34,'Prov. D I Yogyakarta',3404,'Kab. Sleman',73912,53865,-7.69031,110.387), (34,'Prov. D I Yogyakarta',3471,'Kota Yogyakarta',12282,3949,-7.80279,110.376), (35,'Prov. Jawa Timur',3501,'Kab. Pacitan',67316,62039,-8.10083,111.161), (35,'Prov. Jawa Timur',3502,'Kab. Ponorogo',131164,131617,-7.97311,111.531), (35,'Prov. Jawa Timur',3503,'Kab. Trenggalek',54528,66321,-8.13936,111.617), (35,'Prov. Jawa Timur',3504,'Kab. Tulungagung',69682,75553,-8.0756,111.916), (35,'Prov. Jawa Timur',3505,'Kab. Blitar',98538,99581,-8.1394,112.215), (35,'Prov. Jawa Timur',3506,'Kab. Kediri',122025,132376,-7.80293,112.059), (35,'Prov. Jawa Timur',3507,'Kab. Malang',215443,210593,-8.09136,112.622), (35,'Prov. Jawa Timur',3508,'Kab. Lumajang',157680,156868,-8.12431,113.139), (35,'Prov. Jawa Timur',3509,'Kab. Jember',346438,331062,-8.26315,113.673), (35,'Prov. Jawa Timur',3510,'Kab. Banyuwangi',171031,142388,-8.33103,114.218), (35,'Prov. Jawa Timur',3511,'Kab. Bondowoso',146863,152805,-7.94327,113.933), (35,'Prov. Jawa Timur',3512,'Kab. Situbondo',138709,134566,-7.79577,114.261), (35,'Prov. Jawa Timur',3513,'Kab. Probolinggo',235481,225907,-7.86336,113.276), (35,'Prov. Jawa Timur',3514,'Kab. Pasuruan',147346,193525,-7.74862,112.83), (35,'Prov. Jawa Timur',3515,'Kab. Sidoarjo',63927,68195,-7.45533,112.663), (35,'Prov. Jawa Timur',3516,'Kab. Mojokerto',70937,81838,-7.54086,112.496), (35,'Prov. Jawa Timur',3517,'Kab. Jombang',91012,101700,-7.55994,112.257), (35,'Prov. Jawa Timur',3518,'Kab. Nganjuk',97260,108033,-7.61615,111.945), (35,'Prov. Jawa Timur',3519,'Kab. Madiun',83458,80360,-7.61259,111.647), (35,'Prov. Jawa Timur',3520,'Kab. Magetan',60591,62503,-7.65453,111.347), (35,'Prov. Jawa Timur',3521,'Kab. Ngawi',121383,126955,-7.4286,111.394), (35,'Prov. Jawa Timur',3522,'Kab. Bojonegoro',169846,188528,-7.22605,111.791), (35,'Prov. Jawa Timur',3523,'Kab. Tuban',174195,184645,-6.95912,111.893), (35,'Prov. Jawa Timur',3524,'Kab. Lamongan',135005,170174,-7.12486,112.312), (35,'Prov. Jawa Timur',3525,'Kab. Gresik',62056,79926,-7.12652,112.517), (35,'Prov. Jawa Timur',3526,'Kab. Bangkalan',157228,188221,-7.04863,112.909), (35,'Prov. Jawa Timur',3527,'Kab. Sampang',18982,21767,-7.05851,113.262), (35,'Prov. Jawa Timur',3528,'Kab. Pamekasan',107917,178593,-7.07227,113.5), (35,'Prov. Jawa Timur',3529,'Kab. Sumenep',233447,302206,-7.00034,113.852), (35,'Prov. Jawa Timur',3571,'Kota Kediri',9898,6990,-7.82422,112.016), (35,'Prov. Jawa Timur',3572,'Kota Blitar',5040,3129,-8.09311,112.165), (35,'Prov. Jawa Timur',3573,'Kota Malang',27467,16863,-7.97649,112.627), (35,'Prov. Jawa Timur',3574,'Kota Probolinggo',20211,13611,-7.78127,113.209), (35,'Prov. Jawa Timur',3575,'Kota Pasuruan',9181,5272,-7.65633,112.905), (35,'Prov. Jawa Timur',3576,'Kota Mojokerto',4807,3249,-7.46807,112.438), (35,'Prov. Jawa Timur',3577,'Kota Madiun',6652,2717,-7.63149,111.53), (35,'Prov. Jawa Timur',3578,'Kota Surabaya',80476,37437,-7.27981,112.711), (35,'Prov. Jawa Timur',3579,'Kota Batu',9240,8674,-7.83708,112.531), (36,'Prov. Banten',3601,'Kab. Pandeglang',104787,117501,-6.55064,105.715), (36,'Prov. Banten',3602,'Kab. Lebak',109198,136737,-6.65249,106.189), (36,'Prov. Banten',3603,'Kab. Tangerang',156597,49599,-6.18755,106.472), (36,'Prov. Banten',3604,'Kab. Serang',91308,81368,-6.10998,106.281), (36,'Prov. Banten',3671,'Kota Tangerang',55391,1355,-6.17562,106.652), (36,'Prov. Banten',3672,'Kota Cilegon',13258,6754,-6.00466,106.005), (36,'Prov. Banten',3673,'Kota Serang',32474,18267,-6.11908,106.159), (36,'Prov. Banten',3674,'Kota Tangerang Selatan',33498,1078,-6.30593,106.681), (51,'Prov. Bali',5101,'Kab. Jembrana',23026,13259,-8.31199,114.68), (51,'Prov. Bali',5102,'Kab. Tabanan',39535,31136,-8.43686,115.063), (51,'Prov. Bali',5103,'Kab. Badung',34869,23120,-8.54082,115.167), (51,'Prov. Bali',5104,'Kab. Gianyar',56516,46227,-8.47876,115.297), (51,'Prov. Bali',5105,'Kab. Klungkung',31851,27396,-8.74418,115.536), (51,'Prov. Bali',5106,'Kab. Bangli',36321,34231,-8.33395,115.347), (51,'Prov. Bali',5107,'Kab. Karang Asem',97431,81471,-8.3598,115.554), (51,'Prov. Bali',5108,'Kab. Buleleng',79073,68344,-8.21916,114.944), (51,'Prov. Bali',5171,'Kota Denpasar',27184,7355,-8.66035,115.227), (52,'Prov. Nusa Tenggara Barat',5201,'Kab. Lombok Barat',131371,105820,-8.55654,116.157), (52,'Prov. Nusa Tenggara Barat',5202,'Kab. Lombok Tengah',226297,203066,-8.68115,116.283), (52,'Prov. Nusa Tenggara Barat',5203,'Kab. Lombok Timur',209852,196812,-8.58374,116.558), (52,'Prov. Nusa Tenggara Barat',5204,'Kab. Sumbawa',45715,21312,-8.73956,117.523), (52,'Prov. Nusa Tenggara Barat',5205,'Kab. Dompu',33296,19197,-8.51802,118.325), (52,'Prov. Nusa Tenggara Barat',5206,'Kab. Bima',81489,95210,-8.56522,118.816), (52,'Prov. Nusa Tenggara Barat',5207,'Kab. Sumbawa Barat',11421,5304,-8.80847,116.911), (52,'Prov. Nusa Tenggara Barat',5208,'Kab. Lombok Utara',50025,39198,-8.33728,116.267), (52,'Prov. Nusa Tenggara Barat',5271,'Kota Mataram',41459,14357,-8.58142,116.117), (52,'Prov. Nusa Tenggara Barat',5272,'Kota Bima',13807,11926,-8.45275,118.807), (53,'Prov. Nusa Tenggara Timur',5301,'Kab. Sumba Barat',22631,14568,-9.57957,119.457), (53,'Prov. Nusa Tenggara Timur',5302,'Kab. Sumba Timur',36055,24640,-9.7967,120.249), (53,'Prov. Nusa Tenggara Timur',5303,'Kab. Kupang',42380,13454,-9.85561,123.84), (53,'Prov. Nusa Tenggara Timur',5304,'Kab. Timor Tengah Selatan',84248,64331,-9.82707,124.425), (53,'Prov. Nusa Tenggara Timur',5305,'Kab. Timor Tengah Utara',35138,20805,-9.35684,124.476), (53,'Prov. Nusa Tenggara Timur',5306,'Kab. Belu',72791,48042,-9.3837,124.928), (53,'Prov. Nusa Tenggara Timur',5307,'Kab. Alor',18522,3398,-8.29574,124.74), (53,'Prov. Nusa Tenggara Timur',5308,'Kab. Lembata',13530,5039,-8.37541,123.566), (53,'Prov. Nusa Tenggara Timur',5309,'Kab. Flores Timur',26148,17160,-8.346,122.819), (53,'Prov. Nusa Tenggara Timur',5310,'Kab. Sikka',35306,23493,-8.59524,122.569), (53,'Prov. Nusa Tenggara Timur',5311,'Kab. Ende',23685,16845,-8.66889,121.695), (53,'Prov. Nusa Tenggara Timur',5312,'Kab. Ngada',11519,5744,-8.65213,121.153), (53,'Prov. Nusa Tenggara Timur',5313,'Kab. Manggarai',41086,46475,-8.53765,120.438), (53,'Prov. Nusa Tenggara Timur',5314,'Kab. Rote Ndao',16615,8848,-10.6796,123.119), (53,'Prov. Nusa Tenggara Timur',5315,'Kab. Manggarai Barat',26125,27540,-8.60214,120.09), (53,'Prov. Nusa Tenggara Timur',5316,'Kab. Sumba Tengah',14238,7676,-9.54585,119.186), (53,'Prov. Nusa Tenggara Timur',5317,'Kab. Sumba Barat Daya',79499,73671,-9.59047,119.681), (53,'Prov. Nusa Tenggara Timur',5318,'Kab. Nagekeo',11756,6007,-8.68125,121.292), (53,'Prov. Nusa Tenggara Timur',5319,'Kab. Manggarai Timur',26899,35036,-8.56284,120.711), (53,'Prov. Nusa Tenggara Timur',5320,'Kab. Sabu Raijua',13920,13667,-10.5219,121.846), (53,'Prov. Nusa Tenggara Timur',5371,'Kota Kupang',10675,349,-10.225,123.603), (61,'Prov. Kalimantan Barat',6101,'Kab. Sambas',51497,50012,1.51623,109.329), (61,'Prov. Kalimantan Barat',6102,'Kab. Bengkayang',22625,8796,1.03394,109.487), (61,'Prov. Kalimantan Barat',6103,'Kab. Landak',38061,28355,0.516649,109.697), (61,'Prov. Kalimantan Barat',6104,'Kab. Pontianak',25526,12216,0.359825,109.165), (61,'Prov. Kalimantan Barat',6105,'Kab. Sanggau',48583,21989,0.285377,110.577), (61,'Prov. Kalimantan Barat',6106,'Kab. Ketapang',44493,32359,-1.68179,110.539), (61,'Prov. Kalimantan Barat',6107,'Kab. Sintang',51056,31805,-0.119481,112.107), (61,'Prov. Kalimantan Barat',6108,'Kab. Kapuas Hulu',27774,25751,0.830991,112.915), (61,'Prov. Kalimantan Barat',6109,'Kab. Sekadau',23568,16542,0.055962,110.953), (61,'Prov. Kalimantan Barat',6110,'Kab. Melawi',26259,20550,-0.725618,111.783), (61,'Prov. Kalimantan Barat',6111,'Kab. Kayong Utara',14287,8347,-1.07557,110.088), (61,'Prov. Kalimantan Barat',6112,'Kab. Kubu Raya',49615,14656,-0.402846,109.51), (61,'Prov. Kalimantan Barat',6171,'Kota Pontianak',27046,5604,-0.089018,109.351), (61,'Prov. Kalimantan Barat',6172,'Kota Singkawang',18619,8064,0.879057,109.019), (62,'Prov. Kalimantan Tengah',6201,'Kab. Kotawaringin Barat',14071,5179,-2.3877,111.415), (62,'Prov. Kalimantan Tengah',6202,'Kab. Kotawaringin Timur',21054,26104,-2.0018,112.62), (62,'Prov. Kalimantan Tengah',6203,'Kab. Kapuas',20419,40112,-1.86886,114.279), (62,'Prov. Kalimantan Tengah',6204,'Kab. Barito Selatan',5872,10620,-1.92739,114.699), (62,'Prov. Kalimantan Tengah',6205,'Kab. Barito Utara',6266,6741,-0.757642,115.13), (62,'Prov. Kalimantan Tengah',6206,'Kab. Sukamara',2788,1733,-2.53044,111.24), (62,'Prov. Kalimantan Tengah',6207,'Kab. Lamandau',3974,1684,-1.69264,111.237), (62,'Prov. Kalimantan Tengah',6208,'Kab. Seruyan',7844,6499,-2.1676,112.166), (62,'Prov. Kalimantan Tengah',6209,'Kab. Katingan',7104,7239,-1.86207,113.319), (62,'Prov. Kalimantan Tengah',6210,'Kab. Pulang Pisau',7977,9837,-2.77247,113.98), (62,'Prov. Kalimantan Tengah',6211,'Kab. Gunung Mas',4672,5565,-0.895158,113.491), (62,'Prov. Kalimantan Tengah',6212,'Kab. Barito Timur',4855,5443,-1.93246,115.088), (62,'Prov. Kalimantan Tengah',6213,'Kab. Murung Raya',5216,5097,-0.062238,114.204), (62,'Prov. Kalimantan Tengah',6271,'Kota Palangka Raya',4742,3969,-1.77978,113.809), (63,'Prov. Kalimantan Selatan',6301,'Kab. Tanah Laut',18455,12191,-3.84194,114.947), (63,'Prov. Kalimantan Selatan',6302,'Kota Baru',25344,19000,-2.78339,116.064), (63,'Prov. Kalimantan Selatan',6303,'Kab. Banjar',29288,47119,-3.28048,115.056), (63,'Prov. Kalimantan Selatan',6304,'Kab. Barito Kuala',24202,31556,-3.02419,114.609), (63,'Prov. Kalimantan Selatan',6305,'Kab. Tapin',11118,17072,-2.85058,114.994), (63,'Prov. Kalimantan Selatan',6306,'Kab. Hulu Sungai Selatan',14007,20742,-2.70676,115.232), (63,'Prov. Kalimantan Selatan',6307,'Kab. Hulu Sungai Tengah',15473,21969,-2.63117,115.421), (63,'Prov. Kalimantan Selatan',6308,'Kab. Hulu Sungai Utara',15966,24900,-2.42087,115.101), (63,'Prov. Kalimantan Selatan',6309,'Kab. Tabalong',11614,13421,-1.82989,115.448), (63,'Prov. Kalimantan Selatan',6310,'Kab. Tanah Bumbu',19040,15087,-3.32087,115.695), (63,'Prov. Kalimantan Selatan',6311,'Kab. Balangan',7909,8277,-2.29685,115.567), (63,'Prov. Kalimantan Selatan',6371,'Kota Banjarmasin',20649,17317,-3.32828,114.573), (63,'Prov. Kalimantan Selatan',6372,'Kota Banjar Baru',5973,3133,-3.46166,114.786), (64,'Prov. Kalimantan Timur',6401,'Kab. Pasir',13426,2526,-1.62224,116.229), (64,'Prov. Kalimantan Timur',6402,'Kab. Kutai Barat',11366,3415,0.189887,115.19), (64,'Prov. Kalimantan Timur',6403,'Kab. Kutai Kartanegara',32711,17435,0.245719,117.041), (64,'Prov. Kalimantan Timur',6404,'Kab. Kutai Timur',11374,1745,1.02225,117.53), (64,'Prov. Kalimantan Timur',6405,'Kab. Berau',8939,826,1.80806,117.584), (64,'Prov. Kalimantan Timur',6406,'Kab. Malinau',6610,1681,2.59453,115.698), (64,'Prov. Kalimantan Timur',6407,'Kab. Bulungan',9765,1231,2.92062,117.022), (64,'Prov. Kalimantan Timur',6408,'Kab. Nunukan',13018,2076,3.87444,116.679), (64,'Prov. Kalimantan Timur',6409,'Kab. Penajam Paser Utara',9274,576,-1.21871,116.612), (64,'Prov. Kalimantan Timur',6410,'Kab. Tana Tidung',1505,74,3.4432,117.168), (64,'Prov. Kalimantan Timur',6471,'Kota Balikpapan',16980,787,-1.15958,116.887), (64,'Prov. Kalimantan Timur',6472,'Kota Samarinda',21871,1465,-0.430184,117.174), (64,'Prov. Kalimantan Timur',6473,'Kota Tarakan',9713,250,3.33426,117.593), (64,'Prov. Kalimantan Timur',6474,'Kota Bontang',5109,213,0.209815,117.348), (71,'Prov. Sulawesi Utara',7101,'Kab. Bolaang Mongondow',12417,11356,0.709545,124.067), (71,'Prov. Sulawesi Utara',7102,'Kab. Minahasa',6636,2029,1.299,124.87), (71,'Prov. Sulawesi Utara',7103,'Kab. Kepulauan Sangihe',8282,6491,3.54841,125.539), (71,'Prov. Sulawesi Utara',7104,'Kab. Kepulauan Talaud',2973,1347,4.26898,126.79), (71,'Prov. Sulawesi Utara',7105,'Kab. Minahasa Selatan',4310,1240,1.0733,124.528), (71,'Prov. Sulawesi Utara',7106,'Kab. Minahasa Utara',4574,2923,1.507,124.998), (71,'Prov. Sulawesi Utara',7107,'Kab. Bolaang Mongondow Utara',4043,3767,0.686082,123.431), (71,'Prov. Sulawesi Utara',7108,'Kab. Siau Tagulandang Biaro',2165,1162,2.72134,125.383), (71,'Prov. Sulawesi Utara',7109,'Kab. Minahasa Tenggara',3305,1356,0.999949,124.733), (71,'Prov. Sulawesi Utara',7110,'Kab. Bolaang Mongondow Selatan',3450,2634,0.410792,123.879), (71,'Prov. Sulawesi Utara',7111,'Kab. Bolaang Mongondow Timur',2873,2703,0.673946,124.467), (71,'Prov. Sulawesi Utara',7171,'Kota Manado',5510,3410,1.50213,124.852), (71,'Prov. Sulawesi Utara',7172,'Kota Bitung',6109,2222,1.47772,125.134), (71,'Prov. Sulawesi Utara',7173,'Kota Tomohon',1428,264,1.31403,124.815), (71,'Prov. Sulawesi Utara',7174,'Kota Kotamobagu',3572,3021,0.717768,124.246), (72,'Prov. Sulawesi Tengah',7201,'Kab. Banggai Kepulauan',15377,3203,-1.39914,123.169), (72,'Prov. Sulawesi Tengah',7202,'Kab. Banggai',23779,3299,-1.09963,122.619), (72,'Prov. Sulawesi Tengah',7203,'Kab. Morowali',17124,3181,-2.27987,121.645), (72,'Prov. Sulawesi Tengah',7204,'Kab. Poso',11869,1419,-1.6695,120.48), (72,'Prov. Sulawesi Tengah',7205,'Kab. Donggala',31151,6661,0.001503,119.89), (72,'Prov. Sulawesi Tengah',7206,'Kab. Tolitoli',16749,1556,0.968331,120.874), (72,'Prov. Sulawesi Tengah',7207,'Kab. Buol',9540,655,0.999847,121.558), (72,'Prov. Sulawesi Tengah',7208,'Kab. Parigi Moutong',49116,13386,-0.238456,119.968), (72,'Prov. Sulawesi Tengah',7209,'Kab. Tojo Unauna',10361,1256,-1.2185,121.345), (72,'Prov. Sulawesi Tengah',7210,'Kab. Sigi',17779,4163,-1.45968,119.811), (72,'Prov. Sulawesi Tengah',7271,'Kota Palu',13595,606,-0.820163,119.9), (73,'Prov. Sulawesi Selatan',7301,'Kab. Kepulauan Selayar',18907,11068,-6.14249,120.479), (73,'Prov. Sulawesi Selatan',7302,'Kab. Bulukumba',67627,29932,-5.46549,120.19), (73,'Prov. Sulawesi Selatan',7303,'Kab. Bantaeng',33605,19275,-5.48126,119.983), (73,'Prov. Sulawesi Selatan',7304,'Kab. Jeneponto',81074,44263,-5.57381,119.699), (73,'Prov. Sulawesi Selatan',7305,'Kab. Takalar',47707,28045,-5.41331,119.494), (73,'Prov. Sulawesi Selatan',7306,'Kab. Gowa',108935,61410,-5.354,119.687), (73,'Prov. Sulawesi Selatan',7307,'Kab. Sinjai',33906,19688,-5.20395,120.131), (73,'Prov. Sulawesi Selatan',7308,'Kab. Maros',47007,17257,-4.97008,119.717), (73,'Prov. Sulawesi Selatan',7309,'Kab. Pangkajene Dan Kepulauan',33589,17418,-4.75434,119.641), (73,'Prov. Sulawesi Selatan',7310,'Kab. Barru',18160,13268,-4.43319,119.698), (73,'Prov. Sulawesi Selatan',7311,'Kab. Bone',118769,91172,-4.68324,120.097), (73,'Prov. Sulawesi Selatan',7312,'Kab. Soppeng',30559,27818,-4.31902,119.9), (73,'Prov. Sulawesi Selatan',7313,'Kab. Wajo',58497,50710,-3.97811,120.16), (73,'Prov. Sulawesi Selatan',7314,'Kab. Sidenreng Rappang',36784,23759,-3.80789,119.994), (73,'Prov. Sulawesi Selatan',7315,'Kab. Pinrang',41587,16602,-3.6456,119.611), (73,'Prov. Sulawesi Selatan',7316,'Kab. Enrekang',24795,11450,-3.53501,119.891), (73,'Prov. Sulawesi Selatan',7317,'Kab. Luwu',38133,13398,-3.34763,120.21), (73,'Prov. Sulawesi Selatan',7318,'Kab. Tana Toraja',36547,31698,-2.99152,119.734), (73,'Prov. Sulawesi Selatan',7322,'Kab. Luwu Utara',20416,3693,-2.41617,120.131), (73,'Prov. Sulawesi Selatan',7325,'Kab. Luwu Timur',21719,2527,-2.48105,120.695), (73,'Prov. Sulawesi Selatan',7326,'Kab. Toraja Utara',14726,10577,-3.0116,119.952), (73,'Prov. Sulawesi Selatan',7371,'Kota Makassar',66901,5913,-5.15306,119.453), (73,'Prov. Sulawesi Selatan',7372,'Kota Parepare',7948,1788,-4.01652,119.665), (73,'Prov. Sulawesi Selatan',7373,'Kota Palopo',9162,731,-2.99277,120.14), (74,'Prov. Sulawesi Tenggara',7401,'Kab. Buton',44432,15338,-5.38816,122.899), (74,'Prov. Sulawesi Tenggara',7402,'Kab. Muna',38685,14500,-4.91909,122.538), (74,'Prov. Sulawesi Tenggara',7403,'Kab. Konawe',26160,2879,-3.85577,122.067), (74,'Prov. Sulawesi Tenggara',7404,'Kab. Kolaka',31398,5924,-3.67976,121.431), (74,'Prov. Sulawesi Tenggara',7405,'Kab. Konawe Selatan',31058,4528,-4.2602,122.397), (74,'Prov. Sulawesi Tenggara',7406,'Kab. Bombana',17331,4143,-4.62735,121.813), (74,'Prov. Sulawesi Tenggara',7407,'Kab. Wakatobi',13871,7264,-5.32294,123.582), (74,'Prov. Sulawesi Tenggara',7408,'Kab. Kolaka Utara',13732,3135,-3.25263,121.129), (74,'Prov. Sulawesi Tenggara',7409,'Kab. Buton Utara',7168,2813,-4.74096,122.975), (74,'Prov. Sulawesi Tenggara',7410,'Kab. Konawe Utara',5512,641,-3.28607,121.915), (74,'Prov. Sulawesi Tenggara',7471,'Kota Kendari',12401,371,-4.0035,122.553), (74,'Prov. Sulawesi Tenggara',7472,'Kota Baubau',10484,1385,-5.4266,122.682), (75,'Prov. Gorontalo',7501,'Kab. Boalemo',12594,2854,0.692982,122.33), (75,'Prov. Gorontalo',7502,'Kab. Gorontalo',33342,11090,0.740238,122.558), (75,'Prov. Gorontalo',7503,'Kab. Pohuwato',14118,3012,0.70044,121.652), (75,'Prov. Gorontalo',7504,'Kab. Bone Bolango',9553,1822,0.559517,123.303), (75,'Prov. Gorontalo',7505,'Kab. Gorontalo Utara',10369,2274,0.892006,122.625), (75,'Prov. Gorontalo',7571,'Kota Gorontalo',6928,710,0.531953,123.088), (76,'Prov. Sulawesi Barat',7601,'Kab. Majene',20607,11161,-3.21487,118.87), (76,'Prov. Sulawesi Barat',7602,'Kab. Polewali Mandar',65505,28967,-3.30966,119.195), (76,'Prov. Sulawesi Barat',7603,'Kab. Mamasa',22887,17925,-3.10129,119.265), (76,'Prov. Sulawesi Barat',7604,'Kab. Mamuju',46937,8995,-2.35397,119.332), (76,'Prov. Sulawesi Barat',7605,'Kab. Mamuju Utara',15022,2340,-1.34188,119.377), (81,'Prov. Maluku',8101,'Kab. Maluku Tenggara Barat',4865,808,-7.56859,131.413), (81,'Prov. Maluku',8102,'Kab. Maluku Tenggara',4967,653,-5.63475,133.02), (81,'Prov. Maluku',8103,'Kab. Maluku Tengah',15720,3941,-3.32153,129.356), (81,'Prov. Maluku',8104,'Kab. Buru',13164,2525,-3.34065,126.639), (81,'Prov. Maluku',8105,'Kab. Kepulauan Aru',5449,584,-6.55316,134.291), (81,'Prov. Maluku',8106,'Kab. Seram Bagian Barat',11817,4997,-3.16,128.29), (81,'Prov. Maluku',8107,'Kab. Seram Bagian Timur',9398,1720,-3.42318,130.347), (81,'Prov. Maluku',8108,'Kab. Maluku Barat Daya',3759,636,-7.7893,126.313), (81,'Prov. Maluku',8109,'Kab. Buru Selatan',7712,2690,-3.52835,126.615), (81,'Prov. Maluku',8171,'Kota Ambon',7590,1621,-3.67265,128.234), (81,'Prov. Maluku',8172,'Kota Tual',2437,1038,-5.6088,132.783), (82,'Prov. Maluku Utara',8201,'Kab. Halmahera Barat',7567,4859,1.51616,127.624), (82,'Prov. Maluku Utara',8202,'Kab. Halmahera Tengah',4391,1739,0.406088,128.463), (82,'Prov. Maluku Utara',8203,'Kab. Kepulauan Sula',9768,2248,-1.83272,124.834), (82,'Prov. Maluku Utara',8204,'Kab. Halmahera Selatan',13474,4230,-1.54092,127.787), (82,'Prov. Maluku Utara',8205,'Kab. Halmahera Utara',10727,4167,1.5173,127.793), (82,'Prov. Maluku Utara',8206,'Kab. Halmahera Timur',7083,1902,1.02798,128.238), (82,'Prov. Maluku Utara',8207,'Kab. Pulau Morotai',5093,1191,2.31688,128.449), (82,'Prov. Maluku Utara',8271,'Kota Ternate',5579,1060,0.809597,127.339), (82,'Prov. Maluku Utara',8272,'Kota Tidore Kepulauan',4870,1416,0.406088,127.662), (91,'Prov. Papua Barat',9101,'Kab. Fakfak',3792,75,-3.31843,132.872), (91,'Prov. Papua Barat',9102,'Kab. Kaimana',4205,200,-3.5477,134.443), (91,'Prov. Papua Barat',9103,'Kab. Teluk Wondama',3538,214,-2.58788,134.557), (91,'Prov. Papua Barat',9104,'Kab. Teluk Bintuni',6710,275,-2.0977,133.322), (91,'Prov. Papua Barat',9105,'Kab. Manokwari',27870,4077,-1.80035,133.968), (91,'Prov. Papua Barat',9106,'Kab. Sorong Selatan',6165,75,-1.66473,132.197), (91,'Prov. Papua Barat',9107,'Kab. Sorong',7843,200,-0.946039,131.859), (91,'Prov. Papua Barat',9108,'Kab. Raja Ampat',3449,155,-0.229671,131.037), (91,'Prov. Papua Barat',9109,'Kab. Tambrauw',1807,385,-0.719501,132.355), (91,'Prov. Papua Barat',9110,'Kab. Maybrat',4736,554,-1.43974,132.338), (91,'Prov. Papua Barat',9171,'Kota Sorong',8205,50,-0.927203,131.366), (94,'Prov. Papua',9401,'Kab. Merauke',16028,1337,-7.9868,139.839), (94,'Prov. Papua',9402,'Kab. Jayawijaya',84262,45722,-3.95492,139.031), (94,'Prov. Papua',9403,'Kab. Jayapura',7910,431,-3.0866,140.033), (94,'Prov. Papua',9404,'Kab. Nabire',15675,5810,-3.46936,135.302), (94,'Prov. Papua',9408,'Kab. Yapen Waropen',9915,352,-1.75587,136.161), (94,'Prov. Papua',9409,'Kab. Biak Numfor',7472,696,-0.912187,135.872), (94,'Prov. Papua',9410,'Kab. Paniai',83620,80286,-3.78484,136.459), (94,'Prov. Papua',9411,'Kab. Puncak Jaya',62006,47507,-3.39141,138.025), (94,'Prov. Papua',9412,'Kab. Mimika',15104,1917,-4.45002,136.341), (94,'Prov. Papua',9413,'Kab. Boven Digoel',7881,496,-6.18709,140.378), (94,'Prov. Papua',9414,'Kab. Mappi',15013,545,-6.31382,139.264), (94,'Prov. Papua',9415,'Kab. Asmat',26125,2033,-5.44092,138.728), (94,'Prov. Papua',9416,'Kab. Yahukimo',104987,89150,-4.44653,139.463), (94,'Prov. Papua',9417,'Kab. Pegunungan Bintang',37119,15247,-4.54753,140.526), (94,'Prov. Papua',9418,'Kab. Tolikara',55324,37559,-3.53772,138.863), (94,'Prov. Papua',9419,'Kab. Sarmi',4447,132,-2.58306,139.134), (94,'Prov. Papua',9420,'Kab. Keerom',6745,1617,-3.24333,140.545), (94,'Prov. Papua',9426,'Kab. Waropen',2016,73,-2.68118,136.578), (94,'Prov. Papua',9427,'Kab. Supiori',1455,117,-0.75568,135.558), (94,'Prov. Papua',9428,'Kab. Mamberamo Raya',5857,750,-2.39784,137.878), (94,'Prov. Papua',9429,'Kab. Nduga',66075,63527,-4.34969,138.305), (94,'Prov. Papua',9430,'Kab. Lanny Jaya',81634,48665,-3.85485,138.37), (94,'Prov. Papua',9431,'Kab. Mamberamo Tengah',21176,7331,-3.61216,139.172), (94,'Prov. Papua',9432,'Kab. Yalimo',27636,5119,-3.79591,139.555), (94,'Prov. Papua',9433,'Kab. Puncak',63109,51763,-3.5955,137.472), (94,'Prov. Papua',9434,'Kab. Dogiyai',43800,40415,-3.72869,135.997), (94,'Prov. Papua',9435,'Kab. Intan Jaya',26313,26538,-4.07561,136.341), (94,'Prov. Papua',9436,'Kab. Deiyai',29208,29601,-3.59701,136.599), (94,'Prov. Papua',9471,'Kota Jayapura',9101,206,-2.6529,140.772); /*Table structure for table `tbl_provinsi` */ DROP TABLE IF EXISTS `tbl_provinsi`; CREATE TABLE `tbl_provinsi` ( `kode_provinsi` bigint(20) DEFAULT NULL, `nama_provinsi` varchar(31) DEFAULT NULL, `latitude` double DEFAULT NULL, `longitude` double DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_provinsi` */ insert into `tbl_provinsi`(`kode_provinsi`,`nama_provinsi`,`latitude`,`longitude`) values (11,'Prov. Nanggroe Aceh Darussalam',5.55,95.31667), (12,'Prov. Sumatera Utara',3.583333,98.66666), (13,'Prov. Sumatera Barat',-0.95,100.3531), (14,'Prov. Riau',0.4816667,101.4686), (15,'Prov. Jambi',-1.589167,103.61), (16,'Prov. Sumatera Selatan',-2.990833,104.7567), (17,'Prov. Bengkulu',-3.795556,102.2592), (18,'Prov. Lampung',-5.429722,105.2625), (19,'Prov. Kepulauan Bangka Belitung',-2.1,106.1), (21,'Prov. Kepulauan Riau',1.083333,104.4833), (31,'Prov. DKI Jakarta',-6.183333,106.8333), (32,'Prov. Jawa Barat',-6.914722,107.6097), (33,'Prov. Jawa Tengah',-6.966667,110.4167), (34,'Prov. D I Yogyakarta',-7.801389,110.3644), (35,'Prov. Jawa Timur',-7.266667,112.7167), (36,'Prov. Banten',-6.12,106.1503), (51,'Prov. Bali',-8.65,115.2167), (52,'Prov. Nusa Tenggara Barat',-8.583333,116.1167), (53,'Prov. Nusa Tenggara Timur',-10.18333,123.5833), (61,'Prov. Kalimantan Barat',-0.0166667,109.3333), (62,'Prov. Kalimantan Tengah',-2.21,113.92), (63,'Prov. Kalimantan Selatan',-3.314444,114.5925), (64,'Prov. Kalimantan Timur',-0.5022222,117.1536), (71,'Prov. Sulawesi Utara',1.493056,124.8414), (72,'Prov. Sulawesi Tengah',-0.9,119.8333), (73,'Prov. Sulawesi Selatan',-5.133333,119.4167), (74,'Prov. Sulawesi Tenggara',-3.9675,122.5947), (75,'Prov. Gorontalo',0.5333334,123.0667), (76,'Prov. Sulawesi Barat',-2.668611,118.8622), (81,'Prov. Maluku',-3.7,128.1667), (82,'Prov. Maluku Utara',0.7833334,127.3667), (91,'Prov. Papua Barat',-0.8666667,134.0833), (94,'Prov. Papua',-2.533056,140.7169); /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/* cqlsh 127.0.0.1 -f etc/bootstrap.sql */ USE feideconnect; DROP TABLE IF EXISTS clients; DROP INDEX IF EXISTS clients_owner_idx; DROP TABLE IF EXISTS users; DROP TABLE IF EXISTS userid_sec; DROP TABLE IF EXISTS groups; DROP INDEX IF EXISTS groups_owner_idx; DROP INDEX IF EXISTS groups_public_idx; DROP TABLE IF EXISTS oauth_codes; DROP TABLE IF EXISTS oauth_tokens; DROP INDEX IF EXISTS oauth_tokens_userid_idx; DROP INDEX IF EXISTS oauth_tokens_clientid_idx; DROP TABLE IF EXISTS oauth_authorizations; /* DROP INDEX IF EXISTS oauth_authorizations_userid_idx; */ DROP INDEX IF EXISTS oauth_authorizations_clientid_idx; DROP TABLE IF EXISTS apigk; DROP INDEX IF EXISTS apigk_owner_idx; DROP TABLE IF EXISTS group_members; DROP INDEX IF EXISTS group_members_groupid_idx; DROP INDEX IF EXISTS group_members_status_idx; DROP INDEX IF EXISTS group_members_type_idx; /* Clients */ CREATE TABLE clients ( id uuid PRIMARY KEY, client_secret text, name text, descr text, logo blob, type text, redirect_uri list<text>, scopes set<text>, scopes_requested set<text>, status set<text>, owner uuid, created timestamp, updated timestamp ); CREATE INDEX clients_owner_idx ON clients(owner); /* Users */ CREATE TABLE users ( userid uuid PRIMARY KEY, created timestamp, updated timestamp, name map<text, text>, email map<text, text>, profilephoto map<text, blob>, profilephotohash map<text, text>, selectedsource text, userid_sec set<text>, userid_sec_seen map<text, timestamp> ); CREATE TABLE userid_sec ( userid_sec text, userid uuid, PRIMARY KEY(userid_sec) ); /* Ad-hoc groups */ CREATE TABLE groups ( id uuid PRIMARY KEY, name text, descr text, logo blob, public boolean, owner uuid, created timestamp, updated timestamp ); CREATE INDEX groups_owner_idx ON groups(owner); CREATE INDEX groups_public_idx ON groups(public); CREATE TABLE group_members ( userid uuid, groupid uuid, type text, status text, added timestamp, PRIMARY KEY (userid, groupid) ); CREATE INDEX group_members_groupid_idx ON group_members(groupid); CREATE INDEX group_members_status_idx ON group_members(status); CREATE INDEX group_members_type_idx ON group_members(type); CREATE TABLE groupmember ( groupid text, userid uuid, type text, PRIMARY KEY(groupid, userid) ); CREATE TABLE oauth_tokens ( access_token uuid, clientid uuid, userid uuid, issued timestamp, scope set<text>, token_type text, validuntil timestamp, lastuse timestamp, PRIMARY KEY(access_token) ); CREATE INDEX oauth_tokens_userid_idx ON oauth_tokens (userid); CREATE INDEX oauth_tokens_clientid_idx ON oauth_tokens (clientid); CREATE TABLE oauth_codes ( code uuid, clientid uuid, userid uuid, scope set<text>, token_type text, redirect_uri text, issued timestamp, validuntil timestamp, PRIMARY KEY(code) ); CREATE TABLE oauth_authorizations ( userid uuid, clientid uuid, issued timestamp, scopes set<text>, PRIMARY KEY (userid, clientid) ); /* CREATE INDEX oauth_authorizations_userid_idx ON oauth_authorizations (userid); */ CREATE INDEX oauth_authorizations_clientid_idx ON oauth_authorizations (clientid); CREATE TABLE apigk ( id text PRIMARY KEY, name text, descr text, logo blob, endpoints list<text>, trust text, -- JSON Structure expose text, -- JSON Structure scopedef text, -- JSON Structure requireuser boolean, httpscertpinned text, -- X509 Certificate status set<text>, owner uuid, created timestamp, updated timestamp ); CREATE INDEX apigk_owner_idx ON apigk(owner);
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 26, 2021 at 12:40 PM -- Server version: 10.4.14-MariaDB -- PHP Version: 7.4.10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `cl_gen` -- -- -------------------------------------------------------- -- -- Table structure for table `ol_results` -- CREATE TABLE `ol_results` ( `markID` varchar(20) NOT NULL, `studentID` varchar(20) NOT NULL, `subjectID` varchar(20) NOT NULL, `grade` text NOT NULL, `examID` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `ol_results` -- INSERT INTO `ol_results` (`markID`, `studentID`, `subjectID`, `grade`, `examID`) VALUES ('20000011', 'ST2000001', 'SOL1', 'A', 'GCEOL/2015'), ('200000116', 'ST2000001', 'SOL16', 'C', 'GCEOL/2015'), ('200000117', 'ST2000001', 'SOL17', 'A', 'GCEOL/2015'), ('20000014', 'ST2000001', 'SOL4', 'A', 'GCEOL/2015'), ('20000015', 'ST2000001', 'SOL5', 'A', 'GCEOL/2015'), ('20000016', 'ST2000001', 'SOL6', 'A', 'GCEOL/2015'), ('20000017', 'ST2000001', 'SOL7', 'A', 'GCEOL/2015'), ('20000018', 'ST2000001', 'SOL8', 'A', 'GCEOL/2015'), ('20000019', 'ST2000001', 'SOL9', 'A', 'GCEOL/2015'), ('200000211', 'ST2000002', 'SOL11', 'A', 'GCEOL/2015'), ('200000214', 'ST2000002', 'SOL14', 'A', 'GCEOL/2015'), ('200000218', 'ST2000002', 'SOL18', 'A', 'GCEOL/2015'), ('20000022', 'ST2000002', 'SOL2', 'A', 'GCEOL/2015'), ('20000024', 'ST2000002', 'SOL4', 'A', 'GCEOL/2015'), ('20000025', 'ST2000002', 'SOL5', 'A', 'GCEOL/2015'), ('20000026', 'ST2000002', 'SOL6', 'B', 'GCEOL/2015'), ('20000027', 'ST2000002', 'SOL7', 'A', 'GCEOL/2015'), ('20000028', 'ST2000002', 'SOL8', 'A', 'GCEOL/2015'); -- -- Indexes for dumped tables -- -- -- Indexes for table `ol_results` -- ALTER TABLE `ol_results` ADD PRIMARY KEY (`markID`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
DROP DATABASE IF EXISTS internetbanken; CREATE DATABASE internetbanken; USE internetbanken; SHOW GRANTS; DROP USER 'user1'@'localhost'; CREATE USER 'user1'@'localhost' IDENTIFIED BY 'pass'; GRANT ALL PRIVILEGES ON * . * TO 'user1'@'localhost'; -- ----------------------------------------- tabeller --------------------------------------------- DROP TABLE IF EXISTS Account; CREATE TABLE Account ( accountNumber INT PRIMARY KEY AUTO_INCREMENT, balance INT ) AUTO_INCREMENT=1000; DROP TABLE IF EXISTS AccountHolder; CREATE TABLE AccountHolder ( userId INT PRIMARY KEY AUTO_INCREMENT, pincode INT(4), name CHAR(20), birth DATE, street VARCHAR(50), city VARCHAR(50) ) AUTO_INCREMENT=100000; DROP TABLE IF EXISTS AccountHolder_Account; CREATE TABLE AccountHolder_Account ( id INT PRIMARY KEY AUTO_INCREMENT, accountNumber INT, userId INT, FOREIGN KEY (accountNumber) REFERENCES Account(accountNumber), FOREIGN KEY (userId) REFERENCES AccountHolder(userId) ); show tables; use skolan; select * from logg2; DROP TABLE IF EXISTS Interest; CREATE TABLE Interest ( id INT PRIMARY KEY AUTO_INCREMENT, accountNumber INT(6), interest DECIMAL (20, 5), dateOfCalculation DATE, FOREIGN KEY (accountNumber) REFERENCES Account(accountNumber) ); DROP TABLE IF EXISTS Log; CREATE TABLE Log ( accountNumber INT(6), currentBalance DECIMAL (20, 5), amountChanged DECIMAL (20, 5), time DATETIME ); -- välj ut alla konton och visa användare DROP VIEW IF EXISTS accountsAndUserNames; CREATE VIEW accountsAndUserNames AS SELECT aha.accountNumber, a.balance, GROUP_CONCAT((select name from AccountHolder AS ah where ah.userId = aha.userId )) AS userId FROM AccountHolder_Account AS aha, Account AS a where a.accountNumber = aha.accountNumber GROUP BY accountNumber ; select * from accountsAndUserNames; -- -------------------------------------------------------------------------------- lagrade procedurer -------------------------------------------------------------------------------- DROP PROCEDURE IF EXISTS createAccountHolder; DELIMITER // CREATE PROCEDURE createAccountHolder ( aName CHAR(20), aPincode INT(4), aBirth DATE, aStreet VARCHAR(50), aCity VARCHAR(50) ) INSERT INTO AccountHolder (name, pincode, birth, street, city) VALUES (aName, aPincode, aBirth, aStreet, aCity); // DELIMITER ; DROP PROCEDURE IF EXISTS createAccount; DELIMITER // CREATE PROCEDURE createAccount ( balance INT ) INSERT INTO Account (balance) VALUES (balance); // DELIMITER ; DROP PROCEDURE IF EXISTS connectAccount; DELIMITER // CREATE PROCEDURE connectAccount ( aAccountNumber INT(4), aUserId INT(6) ) BEGIN INSERT INTO AccountHolder_Account (accountNumber, userId) VALUES (aAccountNumber, aUserId); END // DELIMITER ; DROP PROCEDURE IF EXISTS showAccountsOfUser; -- denna DELIMITER // CREATE PROCEDURE showAccountsOfUser ( aUserId INT(6) ) select distinct aha.accountNumber, a.balance, v.userId as owners from accountsAndUserNames AS v JOIN AccountHolder_Account AS aha ON v.accountNumber = aha.accountNumber JOIN Account AS a ON a.accountNumber = aha.accountNumber WHERE aha.accountNumber IN (select aha.accountNumber WHERE aha.userId = aUserId ) // DELIMITER ; CALL showAccountsOfUser(100001); DROP PROCEDURE IF EXISTS showUsersAndAccounts; DELIMITER // CREATE PROCEDURE showUsersAndAccounts () SELECT aha.userId, GROUP_CONCAT(CONCAT(aha.accountNumber)) AS Konton, ah.name, ah.pincode, ah.birth, ah.street, ah.city FROM AccountHolder_Account AS aha JOIN AccountHolder AS ah ON ah.userId = aha.userId GROUP BY userId ; // DELIMITER ; CALL showUsersAndAccounts(); -- test ---------- SELECT aha.userId, GROUP_CONCAT(CONCAT(aha.accountNumber)) AS Konton, ah.name, ah.pincode, ah.birth, ah.street, ah.city FROM AccountHolder_Account AS aha JOIN AccountHolder AS ah ON ah.userId = aha.userId GROUP BY userId ; DROP PROCEDURE IF EXISTS calculateInterest; DELIMITER // CREATE PROCEDURE calculateInterest ( interestRate DECIMAL(3,2), dateOfCalculation DATE ) INSERT INTO Interest (accountNumber, interest, dateOfCalculation) SELECT accountNumber, interestRate * balance / 365, dateOfCalculation FROM Account; // DELIMITER ; CALL calculateInterest(0.01, '2017-10-15'); DROP PROCEDURE IF EXISTS showAccountsAndInterest; DELIMITER // CREATE PROCEDURE showAccountsAndInterest() SELECT accountNumber AS accountNumber, SUM(interest) AS interest FROM Interest GROUP BY accountNumber; // DELIMITER ; call showAccountsAndInterest(); DROP PROCEDURE IF EXISTS moveMoney; DELIMITER // CREATE PROCEDURE moveMoney ( fromAccountNumber INT(4), toAccountNumber INT(4), amount DECIMAL ) BEGIN UPDATE Account SET balance = balance - amount*1.03 WHERE accountNumber = fromAccountNumber; UPDATE Account SET balance = balance + amount WHERE accountNumber = toAccountNumber; UPDATE Account SET balance = balance + amount*0.03 WHERE accountNumber = 1000; END // DELIMITER ; CALL moveMoney(1001, 1002, 50); DROP PROCEDURE IF EXISTS showInterestDay; DELIMITER // CREATE PROCEDURE showInterestDay ( aDay DATE ) BEGIN SELECT * FROM Interest WHERE dateOfCalculation = aDay; END // DELIMITER ; call showInterestDay('1992-01-16'); DROP PROCEDURE IF EXISTS showAccountInterest; DELIMITER // CREATE PROCEDURE showAccountInterest ( aAccountNumber INT(4) ) BEGIN SELECT accountNumber, SUM(interest) AS interest FROM Interest WHERE accountNumber = aAccountNumber GROUP BY AccountNumber; END // DELIMITER ; CALL showAccountInterest(1000); DROP PROCEDURE IF EXISTS showAccumulatedInterestDay; DELIMITER // CREATE PROCEDURE showAccumulatedInterestDay ( day DATE ) BEGIN SELECT dateOfCalculation, SUM(interest) FROM Interest WHERE dateOfCalculation = day GROUP BY dateOfCalculation; END // DELIMITER ; DROP PROCEDURE IF EXISTS showAccumulatedInterestYear; DELIMITER // CREATE PROCEDURE showAccumulatedInterestYear ( aYear YEAR ) BEGIN SELECT distinct year(dateOfCalculation) AS year, SUM(interest) as interestYear FROM Interest WHERE YEAR(dateOfCalculation) = aYear GROUP BY year; END // DELIMITER ; call showAccumulatedInterestYear(2008); DROP PROCEDURE IF EXISTS showUserInterest; DELIMITER // CREATE PROCEDURE showUserInterest ( aUserId INT(6) ) BEGIN SELECT aha.accountNumber, SUM(interest) AS interest from AccountHolder_Account AS aha JOIN Interest AS i ON i.accountNumber = aha.accountNumber WHERE userId = aUserId GROUP BY accountNumber ; END // DELIMITER ; call showUserinterest(100000); -- ----------------------------------------- funktioner --------------------------------------------- DELIMITER // DROP FUNCTION IF EXISTS swishMoney // CREATE FUNCTION swishMoney( aUserId INT(6), aPincode INT(4), fromAccountNumber INT(4), amount DECIMAL, toAccountNumber INT(4) ) RETURNS BOOL BEGIN IF aPincode = (SELECT pincode FROM AccountHolder WHERE userId = aUserId) AND (SELECT balance from Account WHERE accountNumber = fromAccountNumber) > amount THEN UPDATE Account SET balance = balance - amount*1.02 WHERE accountNumber = fromAccountNumber; UPDATE Account SET balance = balance + amount WHERE accountNumber = toAccountNumber; UPDATE Account SET balance = balance + amount*0.02 WHERE accountNumber = 1000; RETURN true; ELSE RETURN false; END IF; END // DELIMITER ; use skolan; select * from kurstillfalle2; -- ----------------------------------------- triggers --------------------------------------------- DROP TRIGGER IF EXISTS LogBalanceUpdate; CREATE TRIGGER LogBalanceUpdate AFTER UPDATE ON Account FOR EACH ROW INSERT INTO Log (`accountNumber`,`currentBalance`,`amountChanged`,`time`) VALUES (OLD.accountNumber, NEW.balance, NEW.balance - OLD.balance, CURTIME()); select * from interest; SELECT * FROM Account WHERE accountNumber = 1000; select * from log where accountNumber = 1003;
SELECT id, name, color FROM mapping.unit u WHERE u.id IN (SELECT unit_id FROM mapping.unit_point)
MERGE INTO CM_PRETENZ_ALL cp using (select c0.ACCT_ID, c0.SERVICE_ADDRESS, c0.TYPE_OO from CASH_CCB_TABLE_Q0 c0) S on (s.ACCT_ID = cp.PERSONAL_COUNT) WHEN MATCHED THEN UPDATE SET cp.SERVICE_ADDRESS = s.SERVICE_ADDRESS, cp.TYPE_OO_1 = s.TYPE_OO
INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Employee Roles User','View/Search Employee Roles'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Employee Accounts Manager','Manage all Employee Accounts'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Employee Accounts Admin','Create/Edit Employee Accounts'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Normal User','Manage Own Account'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Employee Accounts User','View/Search Employee Accounts'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Company Info Admin','Manage Company Info'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Customers Membership Manager','Manage Customers Membership Scheme'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Customers Membership User','View Customer Membership Scheme'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Customers User','View Customer Details'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Product Types Manager','Manage Product Types'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Product Types Admin','Create/Edit Product Types'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Product Types User','View/ Search Product Types'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Product Categories Manager','Manage Product Categories'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Product Categories Admin','Create/Edit Product Categories'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Product Categories User','View/ Search Product Categories'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Purchase Orders Manager','Manage Purchase Orders'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Purchase Orders User','View/Search Purchase Orders'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Purchase Orders Admin','Create/Send Purchase Orders'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Suppliers Accounts Manager','Manage Suppliers Accounts'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Suppliers Accounts User','View/Search Supplier Accounts'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Suppliers Accounts Admin','Create Supplier Accounts'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Supplier Memos Manager','Manage Supplier Memos'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Supplier Memos User','View/Search Supplier Memos'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Supplier Memos Admin','Create/Edit Supplier Memos'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Supplier','Edit Supplier Details'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Promotional Schemes Manager','Manage Promotional Schemes'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Promotional Schemes User','View/Search Promotional Schemes'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Promotional Schemes Admin','Create/Edit Promotional Schemes'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Promotional Emails Manager','Manage Promotional Emails'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Promotional Emails User','View/Search Promotional Emails'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Promotional Emails Admin','Create/Edit Promotional Emails'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Communications User','Manage Communications'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Warehouse Admin','Manage Warehouse Administration Activities'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Warehouse Layouts Manager','Manage Warehouse Layouts'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Master Account','All Actions'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Loggings Admin','Manage Retailer Loggings'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Locations Admin','Create/Edit Locations'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Locations Manager','Manage Locations'); INSERT INTO retailer_employee_roles (role_name, role_desc) VALUES ('Locations User','View/Search Locations');
create table staffs ( id primary key, constraint "fk: staffs::id -> users::id" foreign key (id) references USERS (id) ); insert all into users (id, name) VALUES (id, name) into staffs (id) VALUES (id) select distinct staff_name as name, CONCAT('T', LPAD(TO_CHAR(rownum), 7, '0')) as id from courses order by STAFF_NAME;
# --- !Ups ALTER TABLE donation ALTER COLUMN DATE SET DEFAULT (now() at time zone 'utc'); ALTER TABLE person_tag_change ALTER COLUMN time SET DEFAULT (now() at time zone 'utc'); ALTER TABLE person_change ALTER COLUMN "time" SET DEFAULT (now() at time zone 'utc'); ALTER TABLE comments ALTER COLUMN created SET DEFAULT (now() at time zone 'utc'); ALTER TABLE person ALTER COLUMN created SET DEFAULT (now() at time zone 'utc'); # --- !Downs ALTER TABLE donation ALTER COLUMN DATE SET DEFAULT now(); ALTER TABLE person_tag_change ALTER COLUMN time SET DEFAULT now(); ALTER TABLE person_change ALTER COLUMN "time" SET DEFAULT now(); ALTER TABLE comments ALTER COLUMN created SET DEFAULT now(); ALTER TABLE person ALTER COLUMN created SET DEFAULT now();
CREATE OR REPLACE VIEW "public"."cjpl-invoice-list" AS SELECT account_invoice. NUMBER AS invoice_number, account_invoice.date_invoice, account_invoice.amount_untaxed, account_invoice.amount_tax, account_invoice.amount_total, DATE ( account_invoice.x_bill_period_from ) AS bill_period_from, DATE ( account_invoice.x_bill_period_to ) AS bill_period_to, account_invoice.x_po_ref AS po_ref, res_partner. NAME AS customer, res_partner.x_core_code AS core_code, account_invoice.journal_id FROM ( account_invoice JOIN res_partner ON ( ( account_invoice.partner_id = res_partner. ID ) ) ) WHERE ( ( (account_invoice. STATE) :: TEXT <> 'draft' :: TEXT ) AND ( (account_invoice. STATE) :: TEXT <> 'cancel' :: TEXT ) ) ORDER BY account_invoice.journal_id, account_invoice.date_invoice, account_invoice. NUMBER;;
CREATE procedure sp_get_billdetail (@GRNID INTEGER) AS Select batch_products.Product_Code,items.Productname, Batch_Products.Batch_Number,batch_Products.Expiry,batch_products.batch_Code,batch_products.QuantityReceived, Items.Track_Batches,Batch_Products.PurchasePrice from Items,Batch_Products where Items.Product_Code=batch_Products.Product_Code and batch_Products.GRN_ID=@GRNID
INSERT INTO bookmarks (title, url, rating, description) VALUES ('Google', 'https://www.google.com', '5', 'A search engine'), ('Yahoo Answers', 'https://www.answers.yahoo.com', '3', 'A source of entertainment but not advice'), ('Twitter', 'https://www.twitter.com', '4', 'Social media in bite-sized form');
INSERT INTO `super_rent`.`reserve_equipment` VALUES (24, 'Additional Luggage Rack', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (25, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (25, 'DVD Players', 150, 500); INSERT INTO `super_rent`.`reserve_equipment` VALUES (25, 'Portable Bicycle Racks', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (26, 'Portable Bicycle Racks', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (26, 'Protective Window Film', 100, 400); INSERT INTO `super_rent`.`reserve_equipment` VALUES (26, 'Ski Rack', 200, 1000); INSERT INTO `super_rent`.`reserve_equipment` VALUES (26, 'Tire Chains', 240, 1000); INSERT INTO `super_rent`.`reserve_equipment` VALUES (27, 'Hand-controlled Steering', 120, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (28, 'Hand-controlled Steering', 120, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (29, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (30, 'DVD Players', 150, 500); INSERT INTO `super_rent`.`reserve_equipment` VALUES (31, 'DVD Players', 150, 500); INSERT INTO `super_rent`.`reserve_equipment` VALUES (32, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (33, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (34, 'Hand-controlled Steering', 120, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (35, 'Hand-controlled Steering', 120, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (36, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (37, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (38, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (39, 'GPS', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (40, 'Hand-controlled Steering', 120, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (42, 'Lift Gate', 300, 2000); INSERT INTO `super_rent`.`reserve_equipment` VALUES (43, 'Protective Window Film', 100, 400); INSERT INTO `super_rent`.`reserve_equipment` VALUES (45, 'GPS', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'Additional Luggage Rack', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'Child Safety Seat', 100, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'DVD Players', 150, 500); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'GPS', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'Hand-controlled Steering', 120, 600); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'Portable Bicycle Racks', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'Protective Window Film', 100, 400); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'Ski Rack', 200, 1000); INSERT INTO `super_rent`.`reserve_equipment` VALUES (46, 'Tire Chains', 240, 1000); INSERT INTO `super_rent`.`reserve_equipment` VALUES (47, 'GPS', 200, 800); INSERT INTO `super_rent`.`reserve_equipment` VALUES (48, 'Hand-controlled Steering', 120, 600);
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Aug 09, 2018 at 01:02 PM -- Server version: 10.1.29-MariaDB -- PHP Version: 7.2.0 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `scope-mvc` -- -- -------------------------------------------------------- -- -- Table structure for table `profiles` -- CREATE TABLE `profiles` ( `Id` int(10) UNSIGNED NOT NULL, `FirstName` varchar(10) DEFAULT NULL, `LastName` varchar(10) DEFAULT NULL, `Image` varchar(30) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `profiles` -- INSERT INTO `profiles` (`Id`, `FirstName`, `LastName`, `Image`) VALUES (27, 'John', 'Doe', 'f3ccdd27d2000e3f9255a7e3e.jpg'), (28, 'john', 'doe', 'fe5df232cafa4c4e0f1a02944.jpg'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `Id` int(10) UNSIGNED NOT NULL, `UserName` varchar(20) NOT NULL, `Password` varchar(60) NOT NULL, `Email` varchar(40) NOT NULL, `GroupId` int(10) UNSIGNED NOT NULL, `Status` tinyint(1) DEFAULT '0', `SubscriptionDate` date NOT NULL, `LastLogin` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users` -- INSERT INTO `users` (`Id`, `UserName`, `Password`, `Email`, `GroupId`, `Status`, `SubscriptionDate`, `LastLogin`) VALUES (27, 'admin', '$2a$07$wOuAuWbJ67Oa4EgqO11Gj.2fdA4b3xiTIFTSaWhCScM/TONlmHFNC', 'admin@yahoo.com', 6, 2, '2018-08-08', '2018-08-09 12:55:04'), (28, 'user', '$2a$07$wOuAuWbJ67Oa4EgqO11Gj.2fdA4b3xiTIFTSaWhCScM/TONlmHFNC', 'user@gmail.com', 7, 1, '2018-08-09', '2018-08-09 12:59:42'); -- -------------------------------------------------------- -- -- Table structure for table `users_groups` -- CREATE TABLE `users_groups` ( `GroupId` int(3) UNSIGNED NOT NULL, `GroupName` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users_groups` -- INSERT INTO `users_groups` (`GroupId`, `GroupName`) VALUES (6, 'Amdin'), (7, 'User'); -- -------------------------------------------------------- -- -- Table structure for table `users_groups_privileges` -- CREATE TABLE `users_groups_privileges` ( `Id` int(3) UNSIGNED NOT NULL, `PrivilegeId` int(3) UNSIGNED NOT NULL, `GroupId` int(3) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users_groups_privileges` -- INSERT INTO `users_groups_privileges` (`Id`, `PrivilegeId`, `GroupId`) VALUES (41, 10, 6), (42, 13, 6), (43, 19, 6), (44, 11, 6), (45, 6, 6), (46, 7, 6), (47, 8, 6), (48, 9, 6), (49, 12, 6), (50, 14, 6), (51, 15, 6), (52, 16, 6), (54, 18, 6), (55, 17, 6); -- -------------------------------------------------------- -- -- Table structure for table `users_privileges` -- CREATE TABLE `users_privileges` ( `PrivilegeId` int(3) UNSIGNED NOT NULL, `PrivilegeName` varchar(40) NOT NULL, `Privilege` varchar(40) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users_privileges` -- INSERT INTO `users_privileges` (`PrivilegeId`, `PrivilegeName`, `Privilege`) VALUES (6, 'Add Privilege', '/usersprivileges/create'), (7, 'Edit Privilege', '/usersprivileges/edit'), (8, 'Delete Privilege', '/usersprivileges/delete'), (9, 'Show Privileges', '/usersprivileges/default'), (10, 'DashBoard', '/index/default'), (11, 'Show Users Groups', '/usersgroups/default'), (12, 'Create Users Groups', '/usersgroups/create'), (13, 'Edit Users Groups', '/usersgroups/edit'), (14, 'Delete Users Groups', '/usersgroups/delete'), (15, 'Show Users', '/users/default'), (16, 'Create users', '/users/create'), (17, 'Edit Users', '/users/edit'), (18, 'Delete Users', '/users/delete'), (19, 'Access To Admin', '/changepath/default'); -- -- Indexes for dumped tables -- -- -- Indexes for table `profiles` -- ALTER TABLE `profiles` ADD PRIMARY KEY (`Id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`Id`), ADD UNIQUE KEY `UserName` (`UserName`), ADD KEY `PK_GROUP_ID` (`GroupId`); -- -- Indexes for table `users_groups` -- ALTER TABLE `users_groups` ADD PRIMARY KEY (`GroupId`); -- -- Indexes for table `users_groups_privileges` -- ALTER TABLE `users_groups_privileges` ADD PRIMARY KEY (`Id`), ADD KEY `PK_GROUPID_USERSGROUPS` (`GroupId`), ADD KEY `PK_PRIVILEGEID_USERSPRIVILEGES` (`PrivilegeId`); -- -- Indexes for table `users_privileges` -- ALTER TABLE `users_privileges` ADD PRIMARY KEY (`PrivilegeId`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `profiles` -- ALTER TABLE `profiles` MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29; -- -- AUTO_INCREMENT for table `users_groups` -- ALTER TABLE `users_groups` MODIFY `GroupId` int(3) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `users_groups_privileges` -- ALTER TABLE `users_groups_privileges` MODIFY `Id` int(3) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57; -- -- AUTO_INCREMENT for table `users_privileges` -- ALTER TABLE `users_privileges` MODIFY `PrivilegeId` int(3) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; -- -- Constraints for dumped tables -- -- -- Constraints for table `profiles` -- ALTER TABLE `profiles` ADD CONSTRAINT `PK_USER_ID` FOREIGN KEY (`Id`) REFERENCES `users` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `users` -- ALTER TABLE `users` ADD CONSTRAINT `PK_GROUP_ID` FOREIGN KEY (`GroupId`) REFERENCES `users_groups` (`GroupId`); -- -- Constraints for table `users_groups_privileges` -- ALTER TABLE `users_groups_privileges` ADD CONSTRAINT `PK_GROUPID_USERSGROUPS` FOREIGN KEY (`GroupId`) REFERENCES `users_groups` (`GroupId`), ADD CONSTRAINT `PK_PRIVILEGEID_USERSPRIVILEGES` FOREIGN KEY (`PrivilegeId`) REFERENCES `users_privileges` (`PrivilegeId`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/** * Consultas a base de datos para reporte Ranking Compra/Venta */ /*Ranking Vendedores*/ SELECT m.name AS nombre, m.lastname AS apellido, SUM(b.minutes) AS minutes, SUM(b.revenue) AS revenue, SUM(b.margin) AS margin FROM(SELECT id_carrier_customer, SUM(minutes) AS minutes, SUM(revenue) AS revenue, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_customer)b, managers m, carrier_managers cm WHERE m.id = cm.id_managers AND b.id_carrier_customer = cm.id_carrier GROUP BY m.name, m.lastname ORDER BY margin DESC; /*Total Ranking Vendedores*/ SELECT SUM(b.minutes) AS minutes, SUM(b.revenue) AS revenue, SUM(b.margin) AS margin FROM(SELECT id_carrier_customer, SUM(minutes) AS minutes, SUM(revenue) AS revenue, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_customer)b; /*Ranking Compradores*/ SELECT m.name AS nombre, m.lastname AS apellido, SUM(b.minutes) AS minutes, SUM(b.revenue) AS revenue, SUM(b.margin) AS margin FROM(SELECT id_carrier_supplier, SUM(minutes) AS minutes, SUM(revenue) AS revenue, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_supplier)b, managers m, carrier_managers cm WHERE m.id = cm.id_managers AND b.id_carrier_supplier = cm.id_carrier GROUP BY m.name, m.lastname ORDER BY margin DESC; /*Total Ranking Compradores*/ SELECT SUM(b.minutes) AS minutes, SUM(b.revenue) AS revenue, SUM(b.margin) AS margin FROM(SELECT id_carrier_supplier, SUM(minutes) AS minutes, SUM(revenue) AS revenue, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_supplier)b; /*La suma de totales*/ SELECT m.name AS nombre, m.lastname AS apellido, SUM(cs.margin) AS margin FROM(SELECT id_carrier_customer AS id, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_customer UNION SELECT id_carrier_supplier AS id, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_supplier)cs, managers m, carrier_managers cm WHERE m.id = cm.id_managers AND cs.id = cm.id_carrier GROUP BY m.name, m.lastname ORDER BY margin DESC; /*Total consolidado*/ SELECT SUM(cs.margin) AS margin FROM(SELECT id_carrier_customer AS id, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_customer UNION SELECT id_carrier_supplier AS id, CASE WHEN SUM(revenue-cost)<SUM(margin) THEN SUM(revenue-cost) ELSE SUM(margin) END AS margin FROM balance WHERE date_balance='$fecha' AND id_carrier_supplier<>(SELECT id FROM carrier WHERE name='Unknown_Carrier') AND id_destination_int<>(SELECT id FROM destination_int WHERE name='Unknown_Destination') GROUP BY id_carrier_supplier)cs;
INSERT INTO "Accounts" ("AccountId", "Balance", "FirstName", "LastName") VALUES (1, 1024,'Exceptional','LLC'), (2, 2048,'BadData','LLC'), (3, 4096,'Upright','S corp'); INSERT INTO "Products" ("ProductId", "Label", "Description", "UnitPrice", "Tax") VALUES (1, 'Nimbus2000', 'BroomStick', 3000, 23), (2, 'T1000', 'Housework helping machine', 5999, 0), (3, 'The One Ring', 'Makes you disappear', 1999, 0), (4, 'Volley ball', 'Wilson??', 19, 5), (5, 'Mjolnir', 'Nailed it', 12335, 15); INSERT INTO "Invoices" ("Accepted", "Reconciled", "Number", "InvoiceId", "AccountId", "IssueDate", "DueDate") VALUES (false, false, 1, concat('222/ST/', year(now())), 1, DATEADD(DAY, -25, DATEADD(HOUR, -4, DATEADD(MINUTE, 20, now()))), DATEADD(DAY, 25, DATEADD(HOUR, -4, DATEADD(MINUTE, 20, now())))), (false, false, 2, concat('88/SU/05/', year(now())), 3, DATEADD(DAY, -12, DATEADD(HOUR, -2, DATEADD(MINUTE, 45, now()))), DATEADD(DAY, 15, DATEADD(HOUR, -4, DATEADD(MINUTE, 20, now())))), (false, false, 3, concat('135/ST/GD/05/', year(now())), 2, DATEADD(DAY, -16, DATEADD(HOUR, -9, DATEADD(MINUTE, 24, now()))), DATEADD(DAY, 8, DATEADD(HOUR, -4, DATEADD(MINUTE, 20, now())))); INSERT INTO "InvoiceEntries" ("InvoiceEntryId", "InvoiceId", "ProductId", "Quantity") VALUES (1, concat('222/ST/', year(now())), 1, 5), (2, concat('222/ST/', year(now())), 2, 20), (3, concat('222/ST/', year(now())), 5, 1), (4, concat('88/SU/05/', year(now())), 3, 7), (5, concat('88/SU/05/', year(now())), 5, 5), (6, concat('88/SU/05/', year(now())), 4, 8), (7, concat('135/ST/GD/05/', year(now())), 2, 10), (8, concat('135/ST/GD/05/', year(now())), 3, 1), (9, concat('135/ST/GD/05/', year(now())), 4, 50);
use ods; truncate table `dwd`.dwd_order_houses; -- 更新信息 1 房产信息 insert into `dwd`.dwd_order_houses(id,house_api, house_apply_no, house_no, house_cert_type, house_cert_no, house_new_house_cert_no, house_type, house_area, house_address, house_acreage, house_register_price, house_register_date, house_completion_date, house_land_expiry, house_land_right_no, house_remark, house_property_owner_info, house_create_user_id, house_update_user_id, house_create_time, house_update_time, house_age, house_housing_status, house_property, house_type_other, house_location, house_location_province, house_location_city, house_area_code, house_interior_house_acreage, house_borrower_equity, house_owner_type, house_owner_number, house_mortgage_date, house_mortgage_struct, house_mortgage_type, house_mortgage_status, house_rent_status, house_right_property, house_right_type, house_total_floor, house_prop_buy_time, house_project_name, house_is_only_house, house_fxt_area_code, house_fxt_area_name, house_village_name, house_building_no, house_floor_no, house_room_no, house_build_year, house_land_type, house_is_second_mortgage, house_mold, house_loan_agency_type, house_loan_agency_name, house_mortgage_right_amount, house_other_estate_type, house_comprehensive_average_price, house_comprehensive_evaluation_price, house_in_reserve_house) SELECT a.id, -- as 'id', 'house', -- as '房产信息类型', a.apply_no, -- as '订单编号', a.house_no, -- as '房产编号', a.cert_type, -- as '房产证类型', a.house_cert_no, -- as '产证编号', a.new_house_cert_no, -- as '新房产证编号', a.house_type, -- as '房产用途', a.house_area, -- as '所在区域', a.house_address, -- as '房产地址(坐落)', a.house_acreage, -- as '房屋面积', a.register_price, -- as '登记价(元)', a.register_date, -- as '登记日期', a.completion_date, -- as '竣工日期', a.land_expiry, -- as '土地使用期限', a.land_right_no, -- as '丘权号', a.remark, -- as '房产信息备注', a.property_owner_info, -- as '产权人相关信息', a.create_user_id, -- as '房产信息创建人id', a.update_user_id, -- as '房产信息更新人id', a.create_time, -- as '房产信息记录创建时间', a.update_time, -- as '房产信息记录更新时间', a.house_age, -- as '房龄', a.housing_status, -- as '房屋现状(对应字典表fwxz)', a.house_property, -- as '房屋性质', a.house_type_other, -- as '房产用途其他', a.house_location, -- as '房产证地址(省份、直辖市、自治区 (广东省,深圳市,南山区)逗号分隔)', a.house_location_province, -- as '省', a.house_location_city, -- as '市', a.house_area_code, -- as '区域编码', a.interior_house_acreage, -- as '套内建筑面积', a.borrower_equity, -- as '借款人产权份额', a.owner_type, -- as '共有情况', a.owner_number, -- as '共有产权人数', a.mortgage_date, -- as '抵押日期', a.mortgage_struct, -- as '抵押物房屋结构', a.mortgage_type, -- as '抵押物房屋类型', a.mortgage_status, -- as '抵押状态', a.rent_status, -- as '出租情况', a.right_property, -- as '权利性质', a.right_type, -- as '权利类型', a.total_floor, -- as '总层数', a.prop_buy_time, -- as '购房日期', a.project_name, -- as '楼盘名称', a.is_only_house, -- as '是否唯一住房', a.fxt_area_code, -- as '房讯通区域编码', a.fxt_area_name, -- as '房讯通区域名称', a.house_village_name, -- as '', a.house_building_no, -- as '', a.house_floor_no, -- as '楼层号', a.house_room_no, -- as '门牌号', a.build_year, -- as '建造时间', a.land_type, -- as '土地类型', a.is_second_mortgage, -- as '是否在我司二押', a.house_mold, -- as '房产类型', a.loan_agency_type, -- as '贷款机构类型', a.loan_agency_name, -- as '贷款机构名称', a.mortgage_right_amount, -- as '抵押债权金额', a.other_estate_type, -- as '其他房产类型', a.comprehensive_average_price, -- as '综合评估均价', a.comprehensive_evaluation_price, -- as '综合评估总价', a.in_reserve_house -- as '是否备用房' from ods_bpms_biz_house a; -- 更新信息 2 土地证信息 insert into `dwd`.dwd_order_houses (id, house_api, house_apply_no, house_no, house_cert_type, house_cert_no, house_type, land_parcel_no, land_useright_gain_way, land_use, land_remark, land_create_user_id, land_update_user_id, land_create_time, land_update_time, land_useright_gain_way_other, land_type_other, land_type, land_area_use, land_share_area, land_house_location, land_end_date, land_alone_area) SELECT b.id, -- as 'id', 'land', -- as '房产信息类型', apply_no, -- as '订单编号', house_no, -- as '房产编号', '', -- as '房产证类型', '', -- as '产证编号', '', -- as '房产用途', b.land_parcel_no, -- as '地号(宗地号)', b.useright_gain_way, -- as '使用权取得方式', b.land_use, -- as '土地用途', b.remark, -- as '二地证备注', b.create_user_id, -- as '创建人id', b.update_user_id, -- as '更新人id', b.create_time, -- as '记录创建时间', b.update_time, -- as '记录更新时间', b.useright_gain_way_other, -- as '使用权取得方式其他', b.land_type_other, -- as '地类其他', b.land_type, -- as '地类', b.area_use, -- as '使用权面积', b.share_area, -- as '分摊面积', b.house_location, -- as '房屋坐落', b.end_date, -- as '终止日期', b.alone_area -- as '独用面积' from ods_bpms_biz_land_cert b; -- 更新信息 3 查评估信息 insert into `dwd`.dwd_order_houses (id, house_api, house_apply_no, house_no, house_cert_type, house_cert_no, house_type, estimate_price_source, estimate_query_time, estimate_market_average_price, estimate_query_user_id, estimate_query_user_name, estimate_remark, estimate_create_user_id, estimate_update_user_id, estimate_create_time, estimate_update_time, estimate_rev, `estimate_sourcetype`, estimate_total_price, estimate_manual_total_price, estimate_average_price, estimate_liveness, estimate_average_price2, estimate_total_price2, estimate_comprehensive_evaluation_price, estimate_comprehensive_average_price, estimate_total_price3, estimate_average_price3, estimate_old_or_new, estimate_system_source, estimate_query_condition, estimate_price, estimate_query_way, estimate_query_result, estimate_unique_id) SELECT c.id, -- as 'id', 'estimate', -- as '房产信息类型', apply_no, -- as '订单编号', house_no, -- as '房产编号', cert_type, -- as '房产证类型', cert_no, -- as '产证编号', '', -- as '房产用途', c.price_source, -- as '价格来源', c.query_time, -- as '查询时间', c.market_average_price, -- as '市场均价(元)', c.query_user_id, -- as '查询人id', c.query_user_name, -- as '查询姓名', c.remark, -- as '备注', c.create_user_id, -- as '创建人id', c.update_user_id, -- as '更新人id', c.create_time, -- as '记录创建时间', c.update_time, -- as '记录更新时间', c.`rev`, -- as '版本号', c.`sourceType`, -- as '征信来源', c.total_price, -- as '查评估总价1', c.manual_total_price, -- as '人工录入评估总价2', c.average_price, -- as '查评估均价', c.liveness, -- as '活跃度', c.average_price2, -- as '查评估均价2', c.total_price2, -- as '查评估总价2', c.comprehensive_evaluation_price, -- as '综合评估价', c.comprehensive_average_price, -- as '综合均价', c.total_price3, -- as '云房总价', c.average_price3, -- as '云房均价', c.old_or_new, -- as '新老单标记', c.system_source, -- as '系统来源', c.query_condition, -- as '查询条件', c.price, -- as '均价(元/m2)', c.query_way, -- as '查询方式(线上/线下)', c.query_result, -- as '查询结果状态', c.unique_id -- as '查询条件' from ods_bpms_biz_query_estimate c; -- 更新信息 4 查档 insert into `dwd`.dwd_order_houses (id, house_api, house_apply_no, house_no, house_cert_type, house_cert_no, house_type, archive_query_time, archive_query_result, archive_query_user_id, archive_query_user_name, archive_remark, archive_create_user_id, archive_update_user_id, archive_create_time, archive_update_time) SELECT d.id, -- as 'id', 'archive', -- as '房产信息类型', apply_no, -- as '订单编号', house_no, -- as '房产编号', cert_type, -- as '房产证类型', cert_no, -- as '产证编号', '', -- as '房产用途', d.query_time, -- as '查询时间', d.query_result, -- as '查档结果', d.query_user_id, -- as '查档人id', d.query_user_name, -- as '查档人姓名', d.remark, -- as '备注', d.create_user_id, -- as '创建人id', d.update_user_id, -- as '更新人id', d.create_time, -- as '记录创建时间', d.update_time -- as '记录更新时间' from ods_bpms_biz_query_archive d;
CREATE TABLE persona ( id VARCHAR2(32) NOT NULL, email VARCHAR2(64), nombre VARCHAR2(32), edad NUMBER, primer_apellido VARCHAR2(32), segundo_apellido VARCHAR2(32), direccion VARCHAR2(128), iban VARCHAR2(32), telefono NUMBER, PRIMARY KEY (id) );
CREATE TABLE INDIVIDUAL_USER ( U_ID INTEGER NOT NULL, PRIMARY KEY (U_ID), FIRST_NAME VARCHAR(100), LAST_NAME VARCHAR(100) ); CREATE TABLE FOUNDATION ( F_ID INTEGER NOT NULL, PRIMARY KEY (F_ID), NAME VARCHAR (100) ); CREATE TABLE LEAN_DELEGATE ( LD_ID INTEGER NOT NULL, PRIMARY KEY (LD_ID), L_FIRST_NAME VARCHAR(100), L_LAST_NAME VARCHAR(100) ); CREATE TABLE EVENT ( E_ID INTEGER NOT NULL, PRIMARY KEY (E_ID), TYPE VARCHAR(100), NAME VARCHAR(100), VENUE VARCHAR(100), DAY INTEGER, MONTH INTEGER, YEAR INTEGER, DURATION VARCHAR(100) ); CREATE TABLE ITEM ( I_ID INTEGER NOT NULL, PRIMARY KEY (I_ID), TYPE VARCHAR(100) ); CREATE TABLE COUNTRY ( CNAME VARCHAR(100) NOT NULL, PRIMARY KEY (CNAME) ); CREATE TABLE TICKETS ( T_ID INTEGER NOT NULL, E_ID INTEGER NOT NULL, PRIMARY KEY (T_ID), COST VARCHAR(100), FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE ); CREATE TABLE SELL ( LD_ID INTEGER null, F_ID INTEGER null, T_ID INTEGER NOT NULL, PRIMARY KEY (T_ID), p_ASSIGNED INTEGER null, FOREIGN KEY (LD_ID) REFERENCES LEAN_DELEGATE ON DELETE CASCADE, FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE ); CREATE TABLE REGISTERS ( E_ID INTEGER NOT NULL, U_ID INTEGER, F_ID INTEGER, PRIMARY KEY (E_ID), p_REGISTERED INTEGER, FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE ); CREATE TABLE BUYS ( F_ID INTEGER, U_ID INTEGER, T_ID INTEGER, METHOD_OF_PAYMENT VARCHAR(100) NOT NULL, PRIMARY KEY (T_ID, METHOD_OF_PAYMENT), NO_OF_TICKETS INTEGER, FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE /*FOREIGN KEY (T_ID) REFERENCES TICKETS ON DELETE CASCADE*/ ); CREATE TABLE DONATED ( F_ID INTEGER, U_ID INTEGER, E_ID INTEGER NOT NULL, PRIMARY KEY (E_ID), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE ); CREATE TABLE DONATED_ITEM_DETAILS ( F_ID INTEGER, U_ID INTEGER, E_ID INTEGER NOT NULL, DESCRIPTION VARCHAR(100), QUANTITY VARCHAR(100), PRIMARY KEY (E_ID, DESCRIPTION, QUANTITY), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE ); CREATE TABLE DONATED_TAX_BENEFITS ( F_ID INTEGER, U_ID INTEGER, E_ID INTEGER NOT NULL, DESCRIPTION VARCHAR(100), MONTH INTEGER, YEAR INTEGER, PRIMARY KEY (E_ID, DESCRIPTION, MONTH, YEAR), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE ); CREATE TABLE COLLECTED ( I_ID INTEGER NOT NULL, E_ID INTEGER NOT NULL, PRIMARY KEY (E_ID), FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE, FOREIGN KEY (I_ID) REFERENCES ITEM ON DELETE CASCADE ); CREATE TABLE COLLECTED_DETAILS ( I_ID INTEGER NOT NULL, E_ID INTEGER NOT NULL, DESCRIPTION VARCHAR(100), QUANTITY VARCHAR(100), PRIMARY KEY (E_ID, DESCRIPTION, QUANTITY), FOREIGN KEY (I_ID) REFERENCES ITEM ON DELETE CASCADE, FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE ); CREATE TABLE SHIPPED ( I_ID INTEGER NOT NULL, CNAME VARCHAR(100) NOT NULL, PRIMARY KEY (I_ID), FOREIGN KEY (CNAME) REFERENCES COUNTRY ON DELETE CASCADE, FOREIGN KEY (I_ID) REFERENCES ITEM ON DELETE CASCADE ); CREATE TABLE SHIPPED_DETAILS ( I_ID INTEGER NOT NULL, CNAME VARCHAR(100) NOT NULL, DAY INTEGER, MONTH INTEGER, YEAR INTEGER, DESCRIPTION VARCHAR(100), SHIPPING_COST VARCHAR(100), QUANTITY VARCHAR(100), PRIMARY KEY (I_ID, DAY, MONTH, YEAR, DESCRIPTION, SHIPPING_COST, QUANTITY), FOREIGN KEY (CNAME) REFERENCES COUNTRY ON DELETE CASCADE, FOREIGN KEY (I_ID) REFERENCES ITEM ON DELETE CASCADE ); CREATE TABLE ACCOUNT ( A_ID INTEGER NOT NULL, LD_ID INTEGER, U_ID INTEGER, F_ID INTEGER, PRIMARY KEY (A_ID), TYPE VARCHAR(100), EMAIL VARCHAR(100), PASSWORD VARCHAR(100), DAY INTEGER, MONTH INTEGER, YEAR INTEGER, FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (LD_ID) REFERENCES LEAN_DELEGATE ON DELETE CASCADE ); CREATE TABLE LOGIN_DETAILS ( A_ID INTEGER NOT NULL, LD_ID INTEGER, U_ID INTEGER, F_ID INTEGER, DAY INTEGER, MONTH INTEGER, YEAR INTEGER, HOUR INTEGER, MINUTE INTEGER, SECOND INTEGER, PRIMARY KEY (A_ID, DAY, MONTH, YEAR, HOUR, MINUTE, SECOND), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (LD_ID) REFERENCES LEAN_DELEGATE ON DELETE CASCADE /*FOREIGN KEY (A_ID) REFERENCES ACCOUNT ON DELETE CASCADE*/ ); CREATE TABLE PRIVILEGES_ASSIGNED ( A_ID INTEGER NOT NULL, LD_ID INTEGER, U_ID INTEGER, F_ID INTEGER, PRIVILEGES_ASSIGNED VARCHAR(100), PRIMARY KEY (A_ID, PRIVILEGES_ASSIGNED), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (LD_ID) REFERENCES LEAN_DELEGATE ON DELETE CASCADE /*FOREIGN KEY (A_ID) REFERENCES ACCOUNT ON DELETE CASCADE*/ ); CREATE TABLE SPONSOR ( E_ID INTEGER NOT NULL, U_ID INTEGER, F_ID INTEGER, PRIMARY KEY (E_ID), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (E_ID) REFERENCES EVENT ON DELETE CASCADE ); CREATE TABLE BLOG ( B_ID INTEGER NOT NULL, LD_ID INTEGER, U_ID INTEGER, F_ID INTEGER, PRIMARY KEY (B_ID), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (LD_ID) REFERENCES LEAN_DELEGATE ON DELETE CASCADE ); CREATE TABLE WRITES_DETAILS ( B_ID INTEGER NOT NULL, LD_ID INTEGER, U_ID INTEGER, F_ID INTEGER, TOPIC VARCHAR(100), DAY INTEGER, MONTH INTEGER, YEAR INTEGER, PRIMARY KEY (B_ID, TOPIC, DAY, MONTH, YEAR), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (LD_ID) REFERENCES LEAN_DELEGATE ON DELETE CASCADE /*FOREIGN KEY (B_ID) REFERENCES BLOG ON DELETE CASCADE*/ ); CREATE TABLE WRITES ( B_ID INTEGER NOT NULL, LD_ID INTEGER, U_ID INTEGER, F_ID INTEGER, PRIMARY KEY (B_ID), FOREIGN KEY (F_ID) REFERENCES FOUNDATION ON DELETE CASCADE, FOREIGN KEY (U_ID) REFERENCES INDIVIDUAL_USER ON DELETE CASCADE, FOREIGN KEY (LD_ID) REFERENCES LEAN_DELEGATE ON DELETE CASCADE );
SELECT ProductName, OrderDate, DATEADD(DAY, 3, [OrderDate]) AS 'Pay Due', DATEADD(MONTH, 1, [OrderDate]) AS 'Deliver Due' FROM Orders