sql
stringlengths 6
1.05M
|
---|
-- installation script for Finite State Machine implementation in PL/SQL
-- This script allows an abbreviation (please use 3 to 5 characters max) for the Finite State Machine
-- Default toolkit name. Please change with caution! Before changing it, remove any existing installation
-- within the same schema.
define TOOLKIT=FSM
-- Params:
-- 1.: Name of the database owner of the Toolkit
-- 2.: Default language for messages as an oracle language name (AMERICAN | GERMAN)
@tools/init.sql
define tool_dir=tools/
define core_dir=core/
alter session set current_schema=sys;
prompt
prompt §ion.
prompt &h1.Checking whether required users exist
@&tool_dir.check_users_exist.sql
prompt &h2.grant user rights
@set_grants.sql
alter session set current_schema=&INSTALL_USER.;
prompt
prompt §ion.
prompt &h1.fsm Installation at user &INSTALL_USER.
prompt &h2.Installing core functionality
@&core_dir.install.sql
prompt
prompt §ion.
prompt &h1.Finalize installation
prompt &h2.Revoke user rights
@revoke_grants.sql
prompt &h1.Finished fsm-Installation
exit
|
<reponame>PhilippeBinggeli/Hands-On-Data-Science-with-SQL-Server-2017<gh_stars>1-10
CREATE TABLE TestResults
(
Id int NOT NULL IDENTITY CONSTRAINT pk_TestResults PRIMARY KEY
, StudentName nvarchar(10) NOT NULL
, Score tinyint NOT NULL
)
INSERT TestResults (StudentName, Score) VALUES
('Adam', 4), ('Bob', 4), ('Chris', 3), ('John', 8)
, ('Eve', 10), ('<NAME>', 4), ('George', 5)
, ('Li', 8), ('Alexandro', 8), ('Jane', 5) |
-- 移动端用户表
CREATE TABLE iam_member (
id bigserial not null,
tenant_id bigint default 0 not null,
org_id bigint default 0 not null,
user_id bigint default 0 not null,
user_type VARCHAR(100) NOT NULL DEFAULT 'IamUser',
openid VARCHAR(50) NOT NULL,
nickname VARCHAR(100),
avatar_url VARCHAR(255),
country VARCHAR(50),
province VARCHAR(50),
city VARCHAR(100),
mobile_phone VARCHAR(20),
email VARCHAR(100),
gender VARCHAR(10),
status VARCHAR(20) NOT NULL DEFAULT 'NORMAL',
description VARCHAR(200),
is_deleted BOOLEAN default FALSE not null,
create_by bigint DEFAULT 0 NOT NULL,
create_time timestamp default CURRENT_TIMESTAMP not null,
update_time timestamp default CURRENT_TIMESTAMP null
);
comment on column iam_member.id is 'ID';
comment on column iam_member.tenant_id is '租户ID';
comment on column iam_member.org_id is '组织';
comment on column iam_member.user_id is '用户id';
comment on column iam_member.user_type is '用户类型';
comment on column iam_member.openid is 'openid';
comment on column iam_member.nickname is '昵称';
comment on column iam_member.avatar_url is '头像';
comment on column iam_member.country is '国家';
comment on column iam_member.province is '省';
comment on column iam_member.city is '市';
comment on column iam_member.mobile_phone is '手机号';
comment on column iam_member.gender is '性别';
comment on column iam_member.status is '状态';
comment on column iam_member.description is '备注';
comment on column iam_member.is_deleted is '是否删除';
comment on column iam_member.update_time is '更新时间';
comment on column iam_member.create_time is '创建时间';
comment on table iam_member is '移动端用户';
-- 索引
create index idx_member_tenant on iam_member (tenant_id);
create index idx_member_orgid on iam_member (org_id);
create index idx_member_openid on iam_member (openid);
create index idx_member_phone on iam_member (mobile_phone);
create index idx_member_user on iam_member(user_id, user_type); |
ALTER TABLE character_db_version CHANGE COLUMN required_7324_02_characters_character_aura required_7544_02_characters_uptime bit;
--
-- Table structure for table `uptime`
--
DROP TABLE IF EXISTS `uptime`;
CREATE TABLE `uptime` (
`starttime` bigint(20) unsigned NOT NULL default '0',
`startstring` varchar(64) NOT NULL default '',
`uptime` bigint(20) unsigned NOT NULL default '0',
`maxplayers` smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (`starttime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Uptime system';
|
# @Deprecated--- This part is only for mysql tests and should be moved out of TCK tests ---
DROP TABLE IF EXISTS collectorTest;
CREATE TABLE collectorTest
(
id INT NOT NULL PRIMARY KEY,
`Int2` SMALLINT,
`Int3` MEDIUMINT,
`Int4` INT,
`Int8` BIGINT,
`Float` FLOAT,
`Double` DOUBLE,
`Varchar` VARCHAR(20)
);
INSERT INTO collectorTest
VALUES (1, 32767, 8388607, 2147483647, 9223372036854775807, 123.456, 1.234567, 'HELLO,WORLD');
INSERT INTO collectorTest
VALUES (2, 32767, 8388607, 2147483647, 9223372036854775807, 123.456, 1.234567, 'hello,world');
# datatype testing table
DROP TABLE IF EXISTS datatype;
CREATE TABLE datatype
(
id INT NOT NULL PRIMARY KEY,
`Binary` BINARY(5),
`VarBinary` VARBINARY(20),
`TinyBlob` TINYBLOB,
`Blob` BLOB,
`MediumBlob` MEDIUMBLOB,
`LongBlob` LONGBLOB,
`TinyText` TINYTEXT,
`Text` TEXT,
`MediumText` MEDIUMTEXT,
`LongText` LONGTEXT,
test_year YEAR,
test_timestamp TIMESTAMP
);
INSERT INTO datatype
VALUES (1, 'HELLO', 'HELLO, WORLD', 'TINYBLOB', 'BLOB', 'MEDIUMBLOB', 'LONGBLOB', 'TINYTEXT', 'TEXT', 'MEDIUMTEXT',
'LONGTEXT', '2019', '2000-01-01 10:20:30');
INSERT INTO datatype
VALUES (2, 'hello', 'hello, world', 'tinyblob', 'blob', 'mediumblob', 'longblob', 'tinytext', 'text', 'mediumtext',
'longtext', '2019', '2000-01-01 10:20:30');
# @Deprecated--- This part is only for mysql tests and should be moved out of TCK tests ---
# TFB tables
# To maintain consistency across servers and fix a problem with the jdbc per
# http://stackoverflow.com/questions/37719818/the-server-time-zone-value-aest-is-unrecognized-or-represents-more-than-one-ti
SET GLOBAL time_zone = '+00:00';
# modified from SO answer http://stackoverflow.com/questions/5125096/for-loop-in-mysql
CREATE DATABASE hello_world;
USE testschema;
-- world table
DROP TABLE IF EXISTS world;
CREATE TABLE world (
id int(10) unsigned NOT NULL auto_increment,
randomNumber int NOT NULL default 0,
PRIMARY KEY (id)
)
ENGINE=INNODB;
GRANT SELECT, UPDATE ON world TO 'benchmarkdbuser'@'%' IDENTIFIED BY 'benchmarkdbpass';
GRANT SELECT, UPDATE ON world TO 'benchmarkdbuser'@'localhost' IDENTIFIED BY 'benchmarkdbpass';
DELIMITER #
CREATE PROCEDURE load_data()
BEGIN
declare v_max int unsigned default 10000;
declare v_counter int unsigned default 0;
TRUNCATE TABLE world;
START TRANSACTION;
while v_counter < v_max do
INSERT INTO world (randomNumber) VALUES ( floor(0 + (rand() * 10000)) );
SET v_counter=v_counter+1;
end while;
commit;
END #
DELIMITER ;
CALL load_data();
-- Fortune table
DROP TABLE IF EXISTS Fortune;
CREATE TABLE Fortune (
id int(10) unsigned NOT NULL auto_increment,
message varchar(2048) CHARACTER SET 'utf8' NOT NULL,
PRIMARY KEY (id)
)
ENGINE=INNODB;
GRANT SELECT ON Fortune TO 'mysql'@'%' IDENTIFIED BY 'password';
GRANT SELECT ON Fortune TO 'mysql'@'localhost' IDENTIFIED BY 'password';
INSERT INTO Fortune (message) VALUES ('fortune: No such file or directory');
INSERT INTO Fortune (message) VALUES ('A computer scientist is someone who fixes things that aren''t broken.');
INSERT INTO Fortune (message) VALUES ('After enough decimal places, nobody gives a damn.');
INSERT INTO Fortune (message) VALUES ('A bad random number generator: 1, 1, 1, 1, 1, 4.33e+67, 1, 1, 1');
INSERT INTO Fortune (message) VALUES ('A computer program does what you tell it to do, not what you want it to do.');
INSERT INTO Fortune (message) VALUES ('Emacs is a nice operating system, but I prefer UNIX. — <NAME>');
INSERT INTO Fortune (message) VALUES ('Any program that runs right is obsolete.');
INSERT INTO Fortune (message) VALUES ('A list is only as strong as its weakest link. — <NAME>');
INSERT INTO Fortune (message) VALUES ('Feature: A bug with seniority.');
INSERT INTO Fortune (message) VALUES ('Computers make very fast, very accurate mistakes.');
INSERT INTO Fortune (message) VALUES ('<script>alert("This should not be displayed in a browser alert box.");</script>');
INSERT INTO Fortune (message) VALUES ('フレームワークのベンチマーク');
-- TCK usage --
-- immutable for select query testing --
DROP TABLE IF EXISTS immutable;
CREATE TABLE immutable
(
id integer NOT NULL,
message varchar(2048) NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO immutable (id, message)
VALUES (1, 'fortune: No such file or directory');
INSERT INTO immutable (id, message)
VALUES (2, 'A computer scientist is someone who fixes things that aren''t broken.');
INSERT INTO immutable (id, message)
VALUES (3, 'After enough decimal places, nobody gives a damn.');
INSERT INTO immutable (id, message)
VALUES (4, 'A bad random number generator: 1, 1, 1, 1, 1, 4.33e+67, 1, 1, 1');
INSERT INTO immutable (id, message)
VALUES (5, 'A computer program does what you tell it to do, not what you want it to do.');
INSERT INTO immutable (id, message)
VALUES (6, 'Emacs is a nice operating system, but I prefer UNIX. — <NAME>');
INSERT INTO immutable (id, message)
VALUES (7, 'Any program that runs right is obsolete.');
INSERT INTO immutable (id, message)
VALUES (8, 'A list is only as strong as its weakest link. — <NAME>');
INSERT INTO immutable (id, message)
VALUES (9, 'Feature: A bug with seniority.');
INSERT INTO immutable (id, message)
VALUES (10, 'Computers make very fast, very accurate mistakes.');
INSERT INTO immutable (id, message)
VALUES (11, '<script>alert("This should not be displayed in a browser alert box.");</script>');
INSERT INTO immutable (id, message)
VALUES (12, 'フレームワークのベンチマーク');
-- immutable for select query testing --
-- mutable for insert,update,delete query testing
DROP TABLE IF EXISTS mutable;
CREATE TABLE mutable
(
id integer NOT NULL,
val varchar(2048) NOT NULL,
PRIMARY KEY (id)
);
-- mutable for insert,update,delete query testing
-- table for test ANSI SQL data type codecs
-- MySQL specific so that it works well with TCK, see https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sqlmode_ansi
SET sql_mode = 'ANSI';
-- MySQL specific
DROP TABLE IF EXISTS basicdatatype;
CREATE TABLE basicdatatype
(
id INTEGER NOT NULL,
test_int_2 SMALLINT NOT NULL,
test_int_4 INTEGER NOT NULL,
test_int_8 BIGINT NOT NULL,
test_float_4 REAL NOT NULL,
test_float_8 DOUBLE PRECISION NOT NULL,
test_numeric NUMERIC(5, 2) NOT NULL,
test_decimal DECIMAL NOT NULL,
test_boolean BOOLEAN NOT NULL,
test_char CHAR(8) NOT NULL,
test_varchar VARCHAR(20) NOT NULL,
test_date DATE NOT NULL,
test_time TIME(6) NOT NULL
);
INSERT INTO basicdatatype(id, test_int_2, test_int_4, test_int_8, test_float_4, test_float_8, test_numeric,
test_decimal, test_boolean, test_char, test_varchar, test_date, test_time)
VALUES ('1', '32767', '2147483647', '9223372036854775807', '3.40282E38', '1.7976931348623157E308', '999.99',
'12345', TRUE, 'testchar', 'testvarchar', '2019-01-01', '18:45:02');
INSERT INTO basicdatatype(id, test_int_2, test_int_4, test_int_8, test_float_4, test_float_8, test_numeric,
test_decimal, test_boolean, test_char, test_varchar, test_date, test_time)
VALUES ('2', '32767', '2147483647', '9223372036854775807', '3.40282E38', '1.7976931348623157E308', '999.99',
'12345', TRUE, 'testchar', 'testvarchar', '2019-01-01', '18:45:02');
-- table for test ANSI SQL data type codecs
-- TCK usage --
|
create table LEC_cpi (
lec_year int not null,
lec_cpi double);
alter table LEC_cpi add constraint LEC_cpiPK PRIMARY KEY (lec_year);
create table LEC_exchange (
lec_year int not null,
lec_rate double);
alter table LEC_exchange add constraint LEC_exchangePK PRIMARY KEY (lec_year);
CREATE TABLE event_grouping (
nombre varchar (30) NOT NULL ,
lec_grouping_days int,
category varchar(30)
);
alter table event_grouping add constraint event_groupingPK PRIMARY KEY (nombre);
alter table event_grouping add constraint eventos_h_hierarchyFK foreign key (nombre) references eventos(nombre);
alter table eventos add parent varchar (30);
alter table eventos add terminal int;
alter table eventos add hlevel int;
alter table eventos add constraint eventos_hierarchyFK foreign key (parent) references eventos(nombre);
|
<reponame>githotirado/databricks_archives<gh_stars>0
select con.contest_id
,con.hacker_id
,con.name
,query2.total_submissions
,query2.total_accepted_submissions
,sum(vst.total_views)
,sum(vst.total_unique_views)
from contests con
,colleges col
,challenges cha
,view_stats vst
,(select con2.contest_id contest_id
-- ,con2.hacker_id
-- ,con2.name
,sum(sst2.total_submissions) total_submissions
,sum(sst2.total_accepted_submissions) total_accepted_submissions
from contests con2
,colleges col2
,challenges cha2
,submission_stats sst2
where con2.contest_id=col2.contest_id
and col2.college_id=cha2.college_id
and cha2.challenge_id=sst2.challenge_id
group by con2.contest_id, con2.hacker_id, con2.name) as query2
where con.contest_id=col.contest_id
and col.college_id=cha.college_id
and cha.challenge_id=vst.challenge_id
and con.contest_id=query2.contest_id
group by con.contest_id, con.hacker_id, con.name, query2.total_submissions, query2.total_accepted_submissions
having sum(sst.total_submissions) is not null
or sum(sst.total_accepted_submissions) is not null
or sum(vst.total_views) is not null
or sum(vst.total_unique_views) is not null
order by con.contest_id; |
-- multiple partitions : all have order by clause, partition by on a single (different) column
SELECT *
FROM
(
SELECT
count(*) OVER (PARTITION BY c_date ORDER BY c_time) + sum(c_integer) OVER (PARTITION BY c_bigint ORDER BY c_time) AS total,
count(*) OVER (PARTITION BY c_integer ORDER BY c_time) AS count1,
sum(c_integer) OVER (PARTITION BY c_date ORDER BY c_time) AS count2
FROM j1_v j1
) sub
;
|
<filename>galleria-ejb/src/main/sql/20110721182056_create_table_GROUPS.sql
CREATE TABLE GROUPS (
GROUPID VARCHAR(20) NOT NULL
);
--//@UNDO
DROP TABLE GROUPS; |
=== RUN TestCompileInsert
=== RUN TestCompileInsert/simpleInsert
WITH "_sg_input" AS (SELECT $1 :: json AS j), "users" AS (INSERT INTO "users" ("full_name", "email") SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying) FROM "_sg_input" i RETURNING *) SELECT jsonb_build_object('user', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id" FROM (SELECT "users"."id" FROM "users" LIMIT ('1') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/singleInsert
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (INSERT INTO "products" ("name", "description", "price", "user_id") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'description' AS text), CAST( i.j ->>'price' AS numeric(7,2)), CAST( i.j ->>'user_id' AS bigint) FROM "_sg_input" i RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/bulkInsert
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (INSERT INTO "products" ("name", "description") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'description' AS text) FROM "_sg_input" i RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/simpleInsertWithPresets
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (INSERT INTO "products" ("name", "created_at", "price", "updated_at", "user_id") SELECT CAST( i.j ->>'name' AS character varying), 'now' :: timestamp without time zone, (select price from prices where id = $2) :: numeric(7,2), 'now' :: timestamp without time zone, $3 :: bigint FROM "_sg_input" i RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id" FROM (SELECT "products"."id" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/nestedInsertManyToMany
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (INSERT INTO "products" ("name", "price") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)) FROM "_sg_input" i RETURNING *), "customers" AS (INSERT INTO "customers" ("full_name", "email") SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying) FROM "_sg_input" i RETURNING *), "purchases" AS (INSERT INTO "purchases" ("sale_type", "quantity", "due_date", "customer_id", "product_id") SELECT CAST( i.j ->>'sale_type' AS character varying), CAST( i.j ->>'quantity' AS integer), CAST( i.j ->>'due_date' AS timestamp without time zone), "customers"."id", "products"."id" FROM "_sg_input" i, "customers", "products" RETURNING *) SELECT jsonb_build_object('purchase', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "purchases_0"."sale_type" AS "sale_type", "purchases_0"."quantity" AS "quantity", "purchases_0"."due_date" AS "due_date", "__sj_1"."json" AS "product", "__sj_2"."json" AS "customer" FROM (SELECT "purchases"."sale_type", "purchases"."quantity", "purchases"."due_date", "purchases"."product_id", "purchases"."customer_id" FROM "purchases" LIMIT ('1') :: integer) AS "purchases_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "customers_2"."id" AS "id", "customers_2"."full_name" AS "full_name", "customers_2"."email" AS "email" FROM (SELECT "customers"."id", "customers"."full_name", "customers"."email" FROM "customers" WHERE ((("customers"."id") = ("purchases_0"."customer_id"))) LIMIT ('1') :: integer) AS "customers_2") AS "__sr_2") AS "__sj_2" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."id") = ("purchases_0"."product_id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
WITH "_sg_input" AS (SELECT $1 :: json AS j), "customers" AS (INSERT INTO "customers" ("full_name", "email") SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying) FROM "_sg_input" i RETURNING *), "products" AS (INSERT INTO "products" ("name", "price") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)) FROM "_sg_input" i RETURNING *), "purchases" AS (INSERT INTO "purchases" ("sale_type", "quantity", "due_date", "product_id", "customer_id") SELECT CAST( i.j ->>'sale_type' AS character varying), CAST( i.j ->>'quantity' AS integer), CAST( i.j ->>'due_date' AS timestamp without time zone), "products"."id", "customers"."id" FROM "_sg_input" i, "products", "customers" RETURNING *) SELECT jsonb_build_object('purchase', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "purchases_0"."sale_type" AS "sale_type", "purchases_0"."quantity" AS "quantity", "purchases_0"."due_date" AS "due_date", "__sj_1"."json" AS "product", "__sj_2"."json" AS "customer" FROM (SELECT "purchases"."sale_type", "purchases"."quantity", "purchases"."due_date", "purchases"."product_id", "purchases"."customer_id" FROM "purchases" LIMIT ('1') :: integer) AS "purchases_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "customers_2"."id" AS "id", "customers_2"."full_name" AS "full_name", "customers_2"."email" AS "email" FROM (SELECT "customers"."id", "customers"."full_name", "customers"."email" FROM "customers" WHERE ((("customers"."id") = ("purchases_0"."customer_id"))) LIMIT ('1') :: integer) AS "customers_2") AS "__sr_2") AS "__sj_2" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."id") = ("purchases_0"."product_id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/nestedInsertOneToMany
WITH "_sg_input" AS (SELECT $1 :: json AS j), "users" AS (INSERT INTO "users" ("full_name", "email", "created_at", "updated_at") SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone) FROM "_sg_input" i RETURNING *), "products" AS (INSERT INTO "products" ("name", "price", "created_at", "updated_at", "user_id") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone), "users"."id" FROM "_sg_input" i, "users" RETURNING *) SELECT jsonb_build_object('user', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id", "users_0"."full_name" AS "full_name", "users_0"."email" AS "email", "__sj_1"."json" AS "product" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" LIMIT ('1') :: integer) AS "users_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."user_id") = ("users_0"."id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/nestedInsertOneToOne
WITH "_sg_input" AS (SELECT $1 :: json AS j), "users" AS (INSERT INTO "users" ("full_name", "email", "created_at", "updated_at") SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone) FROM "_sg_input" i RETURNING *), "products" AS (INSERT INTO "products" ("name", "price", "created_at", "updated_at", "user_id") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone), "users"."id" FROM "_sg_input" i, "users" RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "__sj_1"."json" AS "user" FROM (SELECT "products"."id", "products"."name", "products"."user_id" FROM "products" LIMIT ('1') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."id" AS "id", "users_1"."full_name" AS "full_name", "users_1"."email" AS "email" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" WHERE ((("users"."id") = ("products_0"."user_id"))) LIMIT ('1') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/nestedInsertOneToManyWithConnect
WITH "_sg_input" AS (SELECT $1 :: json AS j), "users" AS (INSERT INTO "users" ("full_name", "email", "created_at", "updated_at") SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone) FROM "_sg_input" i RETURNING *), "products" AS ( UPDATE "products" SET "user_id" = "users"."id" FROM "users" WHERE ("products"."id"= ((i.j->'product'->'connect'->>'id'))::bigint) RETURNING "products".*) SELECT jsonb_build_object('user', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id", "users_0"."full_name" AS "full_name", "users_0"."email" AS "email", "__sj_1"."json" AS "product" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" LIMIT ('1') :: integer) AS "users_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."user_id") = ("users_0"."id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/nestedInsertOneToOneWithConnect
WITH "_sg_input" AS (SELECT $1 :: json AS j), "_x_users" AS (SELECT "id" FROM "_sg_input" i,"users" WHERE "users"."id"= ((i.j->'user'->'connect'->>'id'))::bigint LIMIT 1), "products" AS (INSERT INTO "products" ("name", "price", "created_at", "updated_at", "user_id") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone), "_x_users"."id" FROM "_sg_input" i, "_x_users" RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "__sj_1"."json" AS "user", "__sj_2"."json" AS "tags" FROM (SELECT "products"."id", "products"."name", "products"."user_id", "products"."tags" FROM "products" LIMIT ('1') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_2"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "tags_2"."id" AS "id", "tags_2"."name" AS "name" FROM (SELECT "tags"."id", "tags"."name" FROM "tags" WHERE ((("tags"."slug") = any ("products_0"."tags"))) LIMIT ('20') :: integer) AS "tags_2") AS "__sr_2") AS "__sj_2") AS "__sj_2" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."id" AS "id", "users_1"."full_name" AS "full_name", "users_1"."email" AS "email" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" WHERE ((("users"."id") = ("products_0"."user_id"))) LIMIT ('1') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileInsert/nestedInsertOneToOneWithConnectArray
WITH "_sg_input" AS (SELECT $1 :: json AS j), "_x_users" AS (SELECT "id" FROM "_sg_input" i,"users" WHERE "users"."id" = ANY((select a::bigint AS list from json_array_elements_text((i.j->'user'->'connect'->>'id')::json) AS a)) LIMIT 1), "products" AS (INSERT INTO "products" ("name", "price", "created_at", "updated_at", "user_id") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone), "_x_users"."id" FROM "_sg_input" i, "_x_users" RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "__sj_1"."json" AS "user" FROM (SELECT "products"."id", "products"."name", "products"."user_id" FROM "products" LIMIT ('1') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."id" AS "id", "users_1"."full_name" AS "full_name", "users_1"."email" AS "email" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" WHERE ((("users"."id") = ("products_0"."user_id"))) LIMIT ('1') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
--- PASS: TestCompileInsert (0.03s)
--- PASS: TestCompileInsert/simpleInsert (0.00s)
--- PASS: TestCompileInsert/singleInsert (0.00s)
--- PASS: TestCompileInsert/bulkInsert (0.00s)
--- PASS: TestCompileInsert/simpleInsertWithPresets (0.00s)
--- PASS: TestCompileInsert/nestedInsertManyToMany (0.00s)
--- PASS: TestCompileInsert/nestedInsertOneToMany (0.00s)
--- PASS: TestCompileInsert/nestedInsertOneToOne (0.00s)
--- PASS: TestCompileInsert/nestedInsertOneToManyWithConnect (0.00s)
--- PASS: TestCompileInsert/nestedInsertOneToOneWithConnect (0.00s)
--- PASS: TestCompileInsert/nestedInsertOneToOneWithConnectArray (0.00s)
=== RUN TestCompileMutate
=== RUN TestCompileMutate/singleUpsert
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (INSERT INTO "products" ("name", "description") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'description' AS text) FROM "_sg_input" i ON CONFLICT (id) DO UPDATE SET name = EXCLUDED.name, description = EXCLUDED.description RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileMutate/singleUpsertWhere
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (INSERT INTO "products" ("name", "description") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'description' AS text) FROM "_sg_input" i ON CONFLICT (id) DO UPDATE SET name = EXCLUDED.name, description = EXCLUDED.description WHERE (("products"."price") > '3' :: numeric(7,2)) RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileMutate/bulkUpsert
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (INSERT INTO "products" ("name", "description") SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'description' AS text) FROM "_sg_input" i ON CONFLICT (id) DO UPDATE SET name = EXCLUDED.name, description = EXCLUDED.description RETURNING *) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileMutate/delete
WITH "products" AS (DELETE FROM "products" WHERE (((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))) AND (("products"."id") = '1' :: bigint)) RETURNING "products".*) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
--- PASS: TestCompileMutate (0.01s)
--- PASS: TestCompileMutate/singleUpsert (0.00s)
--- PASS: TestCompileMutate/singleUpsertWhere (0.00s)
--- PASS: TestCompileMutate/bulkUpsert (0.00s)
--- PASS: TestCompileMutate/delete (0.00s)
=== RUN TestCompileQuery
=== RUN TestCompileQuery/simpleQuery
SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id" FROM (SELECT "products"."id" FROM "products" WHERE (((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withComplexArgs
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "products_0"."price" AS "price" FROM (SELECT DISTINCT ON ("products"."price") "products"."id", "products"."name", "products"."price" FROM "products" WHERE (((("products"."id") < '28' :: bigint) AND (("products"."id") >= '20' :: bigint) AND ((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))))) ORDER BY "products"."price" DESC LIMIT ('30') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withWhereIn
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id" FROM (SELECT "products"."id" FROM "products" WHERE ((((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))) AND (("products"."id") = ANY (ARRAY(SELECT json_array_elements_text($1)) :: bigint[])))) LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withWhereAndList
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "products_0"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE (((("products"."price") > '10' :: numeric(7,2)) AND NOT (("products"."id") IS NULL) AND ((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))))) LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withWhereIsNull
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "products_0"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE (((("products"."price") > '10' :: numeric(7,2)) AND NOT (("products"."id") IS NULL) AND ((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))))) LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withWhereMultiOr
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "products_0"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))) AND ((("products"."price") < '20' :: numeric(7,2)) OR (("products"."price") > '10' :: numeric(7,2)) OR NOT (("products"."id") IS NULL)))) LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/fetchByID
SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" WHERE ((((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))) AND (("products"."id") = $1 :: bigint))) LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/searchQuery
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "products_0"."search_rank" AS "search_rank", "products_0"."search_headline_description" AS "search_headline_description" FROM (SELECT "products"."id", "products"."name", ts_rank("products"."tsv", websearch_to_tsquery($1)) AS "search_rank", ts_headline("products"."description", websearch_to_tsquery($1)) AS "search_headline_description" FROM "products" WHERE ((("products"."tsv") @@ websearch_to_tsquery($1))) LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/oneToMany
SELECT jsonb_build_object('users', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."email" AS "email", "__sj_1"."json" AS "products" FROM (SELECT "users"."email", "users"."id" FROM "users" LIMIT ('20') :: integer) AS "users_0" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_1"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."name", "products"."price" FROM "products" WHERE ((("products"."user_id") = ("users_0"."id")) AND ((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) LIMIT ('20') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/oneToManyReverse
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."name" AS "name", "products_0"."price" AS "price", "__sj_1"."json" AS "users" FROM (SELECT "products"."name", "products"."price", "products"."user_id" FROM "products" WHERE (((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) LIMIT ('20') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_1"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."email" AS "email" FROM (SELECT "users"."email" FROM "users" WHERE ((("users"."id") = ("products_0"."user_id"))) LIMIT ('20') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/oneToManyArray
SELECT jsonb_build_object('tags', "__sj_0"."json", 'product', "__sj_2"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "tags_0"."name" AS "name", "__sj_1"."json" AS "product" FROM (SELECT "tags"."name", "tags"."slug" FROM "tags" LIMIT ('20') :: integer) AS "tags_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."name" AS "name" FROM (SELECT "products"."name" FROM "products" WHERE ((("tags_0"."slug") = any ("products"."tags"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "products_2"."name" AS "name", "products_2"."price" AS "price", "__sj_3"."json" AS "tags" FROM (SELECT "products"."name", "products"."price", "products"."tags" FROM "products" LIMIT ('1') :: integer) AS "products_2" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_3"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_3".*) AS "json" FROM (SELECT "tags_3"."id" AS "id", "tags_3"."name" AS "name" FROM (SELECT "tags"."id", "tags"."name" FROM "tags" WHERE ((("tags"."slug") = any ("products_2"."tags"))) LIMIT ('20') :: integer) AS "tags_3") AS "__sr_3") AS "__sj_3") AS "__sj_3" ON true) AS "__sr_2") AS "__sj_2" ON true
=== RUN TestCompileQuery/manyToMany
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."name" AS "name", "__sj_1"."json" AS "customers" FROM (SELECT "products"."name", "products"."id" FROM "products" WHERE (((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) LIMIT ('20') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_1"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "customers_1"."email" AS "email", "customers_1"."full_name" AS "full_name" FROM (SELECT "customers"."email", "customers"."full_name" FROM "customers" LEFT OUTER JOIN "purchases" ON (("purchases"."customer_id") = ("customers"."id")) WHERE ((("purchases"."product_id") = ("products"."id"))) LIMIT ('20') :: integer) AS "customers_1") AS "__sr_1") AS "__sj_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/manyToManyReverse
SELECT jsonb_build_object('customers', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "customers_0"."email" AS "email", "customers_0"."full_name" AS "full_name", "__sj_1"."json" AS "products" FROM (SELECT "customers"."email", "customers"."full_name", "customers"."id" FROM "customers" LIMIT ('20') :: integer) AS "customers_0" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_1"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."name" AS "name" FROM (SELECT "products"."name" FROM "products" LEFT OUTER JOIN "purchases" ON (("purchases"."product_id") = ("products"."id")) WHERE ((("purchases"."customer_id") = ("customers"."id")) AND ((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) LIMIT ('20') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/aggFunction
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."name" AS "name", "products_0"."count_price" AS "count_price" FROM (SELECT "products"."name", count("products"."price") AS "count_price" FROM "products" WHERE (((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) GROUP BY "products"."name" LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/aggFunctionBlockedByCol
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."name" AS "name", "products_0"."count_price" AS "count_price" FROM (SELECT "products"."name"
TestCompileQuery/aggFunctionBlockedByCol: psql_test.go:185: we were expecting an error
=== RUN TestCompileQuery/aggFunctionDisabled
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."name" AS "name" FROM (SELECT "products"."name"
TestCompileQuery/aggFunctionDisabled: psql_test.go:185: we were expecting an error
=== RUN TestCompileQuery/aggFunctionWithFilter
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."max_price" AS "max_price" FROM (SELECT "products"."id", max("products"."price") AS "max_price" FROM "products" WHERE ((((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))) AND (("products"."id") > '10' :: bigint))) GROUP BY "products"."id" LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/syntheticTables
SELECT jsonb_build_object('me', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."email" AS "email" FROM (SELECT "users"."email" FROM "users" WHERE ((("users"."id") = $1 :: bigint)) LIMIT ('1') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/queryWithVariables
SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" WHERE (((("products"."price") = $1 :: numeric(7,2)) AND (("products"."id") = $2 :: bigint) AND ((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2))))) LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withWhereOnRelations
SELECT jsonb_build_object('users', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id", "users_0"."email" AS "email" FROM (SELECT "users"."id", "users"."email" FROM "users" WHERE (NOT EXISTS (SELECT 1 FROM products WHERE (("products"."user_id") = ("users"."id")) AND ((("products"."price") > '3' :: numeric(7,2))))) LIMIT ('20') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/multiRoot
SELECT jsonb_build_object('customer', "__sj_0"."json", 'user', "__sj_1"."json", 'product', "__sj_2"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "customers_0"."id" AS "id" FROM (SELECT "customers"."id" FROM "customers" LIMIT ('1') :: integer) AS "customers_0") AS "__sr_0") AS "__sj_0" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."id" AS "id", "users_1"."email" AS "email" FROM (SELECT "users"."id", "users"."email" FROM "users" LIMIT ('1') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "products_2"."id" AS "id", "products_2"."name" AS "name", "__sj_3"."json" AS "customers", "__sj_4"."json" AS "customer" FROM (SELECT "products"."id", "products"."name" FROM "products" WHERE (((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) LIMIT ('1') :: integer) AS "products_2" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_4".*) AS "json" FROM (SELECT "customers_4"."email" AS "email" FROM (SELECT "customers"."email" FROM "customers" LEFT OUTER JOIN "purchases" ON (("purchases"."customer_id") = ("customers"."id")) WHERE ((("purchases"."product_id") = ("products"."id"))) LIMIT ('1') :: integer) AS "customers_4") AS "__sr_4") AS "__sj_4" ON true LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_3"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_3".*) AS "json" FROM (SELECT "customers_3"."email" AS "email" FROM (SELECT "customers"."email" FROM "customers" LEFT OUTER JOIN "purchases" ON (("purchases"."customer_id") = ("customers"."id")) WHERE ((("purchases"."product_id") = ("products"."id"))) LIMIT ('20') :: integer) AS "customers_3") AS "__sr_3") AS "__sj_3") AS "__sj_3" ON true) AS "__sr_2") AS "__sj_2" ON true
=== RUN TestCompileQuery/withFragment1
SELECT jsonb_build_object('users', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."full_name" AS "full_name", "users_0"."avatar" AS "avatar", "users_0"."id" AS "id", "users_0"."email" AS "email" FROM (SELECT "users"."full_name", "users"."avatar", "users"."id", "users"."email" FROM "users" LIMIT ('20') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withFragment2
SELECT jsonb_build_object('users', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."full_name" AS "full_name", "users_0"."avatar" AS "avatar", "users_0"."id" AS "id", "users_0"."email" AS "email" FROM (SELECT "users"."full_name", "users"."avatar", "users"."id", "users"."email" FROM "users" LIMIT ('20') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withFragment3
SELECT jsonb_build_object('users', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."full_name" AS "full_name", "users_0"."avatar" AS "avatar", "users_0"."id" AS "id", "users_0"."email" AS "email" FROM (SELECT "users"."full_name", "users"."avatar", "users"."id", "users"."email" FROM "users" LIMIT ('20') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withFragment4
SELECT jsonb_build_object('users', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."full_name" AS "full_name", "users_0"."avatar" AS "avatar", "users_0"."id" AS "id", "users_0"."email" AS "email" FROM (SELECT "users"."full_name", "users"."avatar", "users"."id", "users"."email" FROM "users" LIMIT ('20') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withPolymorphicUnion
SELECT jsonb_build_object('notifications', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "notifications_0"."id" AS "id", (CASE WHEN "notifications_0"."subject_type" = 'products' THEN "__sj_2"."json" WHEN "notifications_0"."subject_type" = 'users' THEN "__sj_3"."json" END) AS "subject" FROM (SELECT "notifications"."id", "notifications"."subject_id", "notifications"."subject_type" FROM "notifications" LIMIT ('20') :: integer) AS "notifications_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_3".*) AS "json" FROM (SELECT "users_3"."id" AS "id", "users_3"."email" AS "email" FROM (SELECT "users"."id", "users"."email" FROM "users" WHERE ((("users"."id") = ("notifications_0"."subject_id") AND ("notifications_0"."subject_type") = ('users'))) LIMIT ('20') :: integer) AS "users_3") AS "__sr_3") AS "__sj_3" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "products_2"."id" AS "id", "products_2"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" WHERE ((("products"."id") = ("notifications_0"."subject_id") AND ("notifications_0"."subject_type") = ('products')) AND ((("products"."price") > '0' :: numeric(7,2)) AND (("products"."price") < '8' :: numeric(7,2)))) LIMIT ('20') :: integer) AS "products_2") AS "__sr_2") AS "__sj_2" ON true) AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/subscription
SELECT jsonb_build_object('user', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id", "users_0"."email" AS "email" FROM (SELECT "users"."id", "users"."email" FROM "users" WHERE ((("users"."id") = $1 :: bigint)) LIMIT ('1') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/jsonColumnAsTable
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "__sj_1"."json" AS "tag_count" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('20') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "tag_count_1"."count" AS "count", "__sj_2"."json" AS "tags" FROM (SELECT "tag_count"."count", "tag_count"."tag_id" FROM "products", json_to_recordset("products"."tag_count") AS "tag_count"(tag_id bigint, count int) WHERE ((("products"."id") = ("products_0"."id"))) LIMIT ('1') :: integer) AS "tag_count_1" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_2"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "tags_2"."name" AS "name" FROM (SELECT "tags"."name" FROM "tags" WHERE ((("tags"."id") = ("tag_count_1"."tag_id"))) LIMIT ('20') :: integer) AS "tags_2") AS "__sr_2") AS "__sj_2") AS "__sj_2" ON true) AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/withCursor
SELECT jsonb_build_object('products', "__sj_0"."json", 'products_cursor', "__sj_0"."cursor") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json", CONCAT_WS(',', max("__cur_0"), max("__cur_1")) as "cursor" FROM (SELECT to_jsonb("__sr_0".*) - '__cur_0' - '__cur_1' AS "json" , "__cur_0", "__cur_1"FROM (SELECT "products_0"."name" AS "name", LAST_VALUE("products_0"."price") OVER() AS "__cur_0", LAST_VALUE("products_0"."id") OVER() AS "__cur_1" FROM (WITH "__cur" AS (SELECT a[1] :: numeric(7,2) as "price", a[2] :: bigint as "id" FROM string_to_array($1, ',') as a) SELECT "products"."name", "products"."id", "products"."price" FROM "products", "__cur" WHERE (((("__cur"."price") IS NULL) OR (("products"."price") < "__cur"."price" :: numeric(7,2)) OR ((("products"."price") = "__cur"."price" :: numeric(7,2)) AND (("products"."id") > "__cur"."id" :: bigint)))) ORDER BY "products"."price" DESC, "products"."id" ASC LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/nullForAuthRequiredInAnon
SELECT jsonb_build_object('products', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", NULL AS "user" FROM (SELECT "products"."id", "products"."name", "products"."user_id" FROM "products" LIMIT ('20') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/blockedQuery
SELECT jsonb_build_object('user', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id", "users_0"."full_name" AS "full_name", "users_0"."email" AS "email" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" WHERE (false) LIMIT ('1') :: integer) AS "users_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileQuery/blockedFunctions
SELECT jsonb_build_object('users', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT coalesce(jsonb_agg("__sj_0"."json"), '[]') as "json" FROM (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."email" AS "email" FROM (SELECT
TestCompileQuery/blockedFunctions: psql_test.go:185: we were expecting an error
--- FAIL: TestCompileQuery (0.03s)
--- PASS: TestCompileQuery/simpleQuery (0.00s)
--- PASS: TestCompileQuery/withComplexArgs (0.00s)
--- PASS: TestCompileQuery/withWhereIn (0.00s)
--- PASS: TestCompileQuery/withWhereAndList (0.00s)
--- PASS: TestCompileQuery/withWhereIsNull (0.00s)
--- PASS: TestCompileQuery/withWhereMultiOr (0.00s)
--- PASS: TestCompileQuery/fetchByID (0.00s)
--- PASS: TestCompileQuery/searchQuery (0.00s)
--- PASS: TestCompileQuery/oneToMany (0.00s)
--- PASS: TestCompileQuery/oneToManyReverse (0.00s)
--- PASS: TestCompileQuery/oneToManyArray (0.00s)
--- PASS: TestCompileQuery/manyToMany (0.00s)
--- PASS: TestCompileQuery/manyToManyReverse (0.00s)
--- PASS: TestCompileQuery/aggFunction (0.00s)
--- FAIL: TestCompileQuery/aggFunctionBlockedByCol (0.00s)
--- FAIL: TestCompileQuery/aggFunctionDisabled (0.00s)
--- PASS: TestCompileQuery/aggFunctionWithFilter (0.00s)
--- PASS: TestCompileQuery/syntheticTables (0.00s)
--- PASS: TestCompileQuery/queryWithVariables (0.00s)
--- PASS: TestCompileQuery/withWhereOnRelations (0.00s)
--- PASS: TestCompileQuery/multiRoot (0.00s)
--- PASS: TestCompileQuery/withFragment1 (0.00s)
--- PASS: TestCompileQuery/withFragment2 (0.00s)
--- PASS: TestCompileQuery/withFragment3 (0.00s)
--- PASS: TestCompileQuery/withFragment4 (0.00s)
--- PASS: TestCompileQuery/withPolymorphicUnion (0.00s)
--- PASS: TestCompileQuery/subscription (0.00s)
--- PASS: TestCompileQuery/jsonColumnAsTable (0.00s)
--- PASS: TestCompileQuery/withCursor (0.00s)
--- PASS: TestCompileQuery/nullForAuthRequiredInAnon (0.00s)
--- PASS: TestCompileQuery/blockedQuery (0.00s)
--- FAIL: TestCompileQuery/blockedFunctions (0.00s)
=== RUN TestCompileUpdate
=== RUN TestCompileUpdate/singleUpdate
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (UPDATE "products" SET ("name", "description") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'description' AS text) FROM "_sg_input" i) WHERE ((("products"."id") = '1' :: bigint) AND (("products"."id") = $2 :: bigint)) RETURNING "products".*) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name" FROM (SELECT "products"."id", "products"."name" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileUpdate/simpleUpdateWithPresets
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (UPDATE "products" SET ("name", "price", "updated_at") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), 'now' :: timestamp without time zone FROM "_sg_input" i) WHERE (("products"."user_id") = $2 :: bigint) RETURNING "products".*) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id" FROM (SELECT "products"."id" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileUpdate/nestedUpdateManyToMany
WITH "_sg_input" AS (SELECT $1 :: json AS j), "purchases" AS (UPDATE "purchases" SET ("sale_type", "quantity", "due_date") = (SELECT CAST( i.j ->>'sale_type' AS character varying), CAST( i.j ->>'quantity' AS integer), CAST( i.j ->>'due_date' AS timestamp without time zone) FROM "_sg_input" i) WHERE (("purchases"."id") = $2 :: bigint) RETURNING "purchases".*), "products" AS (UPDATE "products" SET ("name", "price") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)) FROM "_sg_input" i) FROM "purchases" WHERE (("products"."id") = ("purchases"."product_id")) RETURNING "products".*), "customers" AS (UPDATE "customers" SET ("full_name", "email") = (SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying) FROM "_sg_input" i) FROM "purchases" WHERE (("customers"."id") = ("purchases"."customer_id")) RETURNING "customers".*) SELECT jsonb_build_object('purchase', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "purchases_0"."sale_type" AS "sale_type", "purchases_0"."quantity" AS "quantity", "purchases_0"."due_date" AS "due_date", "__sj_1"."json" AS "product", "__sj_2"."json" AS "customer" FROM (SELECT "purchases"."sale_type", "purchases"."quantity", "purchases"."due_date", "purchases"."product_id", "purchases"."customer_id" FROM "purchases" LIMIT ('1') :: integer) AS "purchases_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "customers_2"."id" AS "id", "customers_2"."full_name" AS "full_name", "customers_2"."email" AS "email" FROM (SELECT "customers"."id", "customers"."full_name", "customers"."email" FROM "customers" WHERE ((("customers"."id") = ("purchases_0"."customer_id"))) LIMIT ('1') :: integer) AS "customers_2") AS "__sr_2") AS "__sj_2" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."id") = ("purchases_0"."product_id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
WITH "_sg_input" AS (SELECT $1 :: json AS j), "purchases" AS (UPDATE "purchases" SET ("sale_type", "quantity", "due_date") = (SELECT CAST( i.j ->>'sale_type' AS character varying), CAST( i.j ->>'quantity' AS integer), CAST( i.j ->>'due_date' AS timestamp without time zone) FROM "_sg_input" i) WHERE (("purchases"."id") = $2 :: bigint) RETURNING "purchases".*), "customers" AS (UPDATE "customers" SET ("full_name", "email") = (SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying) FROM "_sg_input" i) FROM "purchases" WHERE (("customers"."id") = ("purchases"."customer_id")) RETURNING "customers".*), "products" AS (UPDATE "products" SET ("name", "price") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)) FROM "_sg_input" i) FROM "purchases" WHERE (("products"."id") = ("purchases"."product_id")) RETURNING "products".*) SELECT jsonb_build_object('purchase', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "purchases_0"."sale_type" AS "sale_type", "purchases_0"."quantity" AS "quantity", "purchases_0"."due_date" AS "due_date", "__sj_1"."json" AS "product", "__sj_2"."json" AS "customer" FROM (SELECT "purchases"."sale_type", "purchases"."quantity", "purchases"."due_date", "purchases"."product_id", "purchases"."customer_id" FROM "purchases" LIMIT ('1') :: integer) AS "purchases_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_2".*) AS "json" FROM (SELECT "customers_2"."id" AS "id", "customers_2"."full_name" AS "full_name", "customers_2"."email" AS "email" FROM (SELECT "customers"."id", "customers"."full_name", "customers"."email" FROM "customers" WHERE ((("customers"."id") = ("purchases_0"."customer_id"))) LIMIT ('1') :: integer) AS "customers_2") AS "__sr_2") AS "__sj_2" ON true LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."id") = ("purchases_0"."product_id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileUpdate/nestedUpdateOneToMany
WITH "_sg_input" AS (SELECT $1 :: json AS j), "users" AS (UPDATE "users" SET ("full_name", "email", "created_at", "updated_at") = (SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone) FROM "_sg_input" i) WHERE (("users"."id") = '8' :: bigint) RETURNING "users".*), "products" AS (UPDATE "products" SET ("name", "price", "created_at", "updated_at") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone) FROM "_sg_input" i) FROM "users" WHERE (("products"."user_id") = ("users"."id") AND "products"."id"= ((i.j->'product'->'where'->>'id'))::bigint) RETURNING "products".*) SELECT jsonb_build_object('user', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id", "users_0"."full_name" AS "full_name", "users_0"."email" AS "email", "__sj_1"."json" AS "product" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" LIMIT ('1') :: integer) AS "users_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."user_id") = ("users_0"."id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileUpdate/nestedUpdateOneToOne
WITH "_sg_input" AS (SELECT $1 :: json AS j), "products" AS (UPDATE "products" SET ("name", "price", "created_at", "updated_at") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone) FROM "_sg_input" i) WHERE (("products"."id") = $2 :: bigint) RETURNING "products".*), "users" AS (UPDATE "users" SET ("email") = (SELECT CAST( i.j ->>'email' AS character varying) FROM "_sg_input" i) FROM "products" WHERE (("users"."id") = ("products"."user_id")) RETURNING "users".*) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "__sj_1"."json" AS "user" FROM (SELECT "products"."id", "products"."name", "products"."user_id" FROM "products" LIMIT ('1') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."id" AS "id", "users_1"."full_name" AS "full_name", "users_1"."email" AS "email" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" WHERE ((("users"."id") = ("products_0"."user_id"))) LIMIT ('1') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileUpdate/nestedUpdateOneToManyWithConnect
WITH "_sg_input" AS (SELECT $1 :: json AS j), "users" AS (UPDATE "users" SET ("full_name", "email", "created_at", "updated_at") = (SELECT CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying), CAST( i.j ->>'created_at' AS timestamp without time zone), CAST( i.j ->>'updated_at' AS timestamp without time zone) FROM "_sg_input" i) WHERE (("users"."id") = $2 :: bigint) RETURNING "users".*), "products_c" AS ( UPDATE "products" SET "user_id" = "users"."id" FROM "users" WHERE ("products"."id"= ((i.j->'product'->'connect'->>'id'))::bigint) RETURNING "products".*), "products_d" AS ( UPDATE "products" SET "user_id" = NULL FROM "users" WHERE ("products"."id"= ((i.j->'product'->'disconnect'->>'id'))::bigint) RETURNING "products".*), "products" AS (SELECT * FROM "products_c" UNION ALL SELECT * FROM "products_d") SELECT jsonb_build_object('user', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "users_0"."id" AS "id", "users_0"."full_name" AS "full_name", "users_0"."email" AS "email", "__sj_1"."json" AS "product" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" LIMIT ('1') :: integer) AS "users_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "products_1"."id" AS "id", "products_1"."name" AS "name", "products_1"."price" AS "price" FROM (SELECT "products"."id", "products"."name", "products"."price" FROM "products" WHERE ((("products"."user_id") = ("users_0"."id"))) LIMIT ('1') :: integer) AS "products_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileUpdate/nestedUpdateOneToOneWithConnect
WITH "_sg_input" AS (SELECT $1 :: json AS j), "_x_users" AS (SELECT "id" FROM "_sg_input" i,"users" WHERE "users"."id"= ((i.j->'user'->'connect'->>'id'))::bigint AND "users"."email"= ((i.j->'user'->'connect'->>'email'))::character varying LIMIT 1), "products" AS (UPDATE "products" SET ("name", "price", "user_id") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), "_x_users"."id" FROM "_sg_input" i, "_x_users") WHERE (("products"."id") = $2 :: bigint) RETURNING "products".*) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "__sj_1"."json" AS "user" FROM (SELECT "products"."id", "products"."name", "products"."user_id" FROM "products" LIMIT ('1') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."id" AS "id", "users_1"."full_name" AS "full_name", "users_1"."email" AS "email" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" WHERE ((("users"."id") = ("products_0"."user_id"))) LIMIT ('1') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
WITH "_sg_input" AS (SELECT $1 :: json AS j), "_x_users" AS (SELECT "id" FROM "_sg_input" i,"users" WHERE "users"."email"= ((i.j->'user'->'connect'->>'email'))::character varying AND "users"."id"= ((i.j->'user'->'connect'->>'id'))::bigint LIMIT 1), "products" AS (UPDATE "products" SET ("name", "price", "user_id") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), "_x_users"."id" FROM "_sg_input" i, "_x_users") WHERE (("products"."id") = $2 :: bigint) RETURNING "products".*) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "__sj_1"."json" AS "user" FROM (SELECT "products"."id", "products"."name", "products"."user_id" FROM "products" LIMIT ('1') :: integer) AS "products_0" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_1".*) AS "json" FROM (SELECT "users_1"."id" AS "id", "users_1"."full_name" AS "full_name", "users_1"."email" AS "email" FROM (SELECT "users"."id", "users"."full_name", "users"."email" FROM "users" WHERE ((("users"."id") = ("products_0"."user_id"))) LIMIT ('1') :: integer) AS "users_1") AS "__sr_1") AS "__sj_1" ON true) AS "__sr_0") AS "__sj_0" ON true
=== RUN TestCompileUpdate/nestedUpdateOneToOneWithDisconnect
WITH "_sg_input" AS (SELECT $1 :: json AS j), "_x_users" AS (SELECT * FROM (VALUES(NULL::bigint)) AS LOOKUP("id")), "products" AS (UPDATE "products" SET ("name", "price", "user_id") = (SELECT CAST( i.j ->>'name' AS character varying), CAST( i.j ->>'price' AS numeric(7,2)), "_x_users"."id" FROM "_sg_input" i, "_x_users") WHERE (("products"."id") = $2 :: bigint) RETURNING "products".*) SELECT jsonb_build_object('product', "__sj_0"."json") as "__root" FROM (VALUES(true)) as "__root_x" LEFT OUTER JOIN LATERAL (SELECT to_jsonb("__sr_0".*) AS "json" FROM (SELECT "products_0"."id" AS "id", "products_0"."name" AS "name", "products_0"."user_id" AS "user_id" FROM (SELECT "products"."id", "products"."name", "products"."user_id" FROM "products" LIMIT ('1') :: integer) AS "products_0") AS "__sr_0") AS "__sj_0" ON true
--- PASS: TestCompileUpdate (0.02s)
--- PASS: TestCompileUpdate/singleUpdate (0.00s)
--- PASS: TestCompileUpdate/simpleUpdateWithPresets (0.00s)
--- PASS: TestCompileUpdate/nestedUpdateManyToMany (0.00s)
--- PASS: TestCompileUpdate/nestedUpdateOneToMany (0.00s)
--- PASS: TestCompileUpdate/nestedUpdateOneToOne (0.00s)
--- PASS: TestCompileUpdate/nestedUpdateOneToManyWithConnect (0.00s)
--- PASS: TestCompileUpdate/nestedUpdateOneToOneWithConnect (0.00s)
--- PASS: TestCompileUpdate/nestedUpdateOneToOneWithDisconnect (0.00s)
FAIL
exit status 1
FAIL github.com/dosco/super-graph/core/internal/psql 0.308s
|
SET foreign_key_checks = 0;
TRUNCATE TABLE ATTRIBUTE;
TRUNCATE TABLE ATTRIBUTE_PATH;
TRUNCATE TABLE ATTRIBUTE_PATHS_ATTRIBUTES;
TRUNCATE TABLE ATTRIBUTE_PATH_INSTANCE;
TRUNCATE TABLE CLASS;
TRUNCATE TABLE COMPONENT;
TRUNCATE TABLE CONFIGURATION;
TRUNCATE TABLE CONFIGURATIONS_RESOURCES;
TRUNCATE TABLE CONTENT_SCHEMA;
TRUNCATE TABLE CONTENT_SCHEMAS_KEY_ATTRIBUTE_PATHS;
TRUNCATE TABLE DATA_MODEL;
TRUNCATE TABLE DATA_SCHEMA;
TRUNCATE TABLE FILTER;
TRUNCATE TABLE FUNCTION;
TRUNCATE TABLE INPUT_COMPONENTS_OUTPUT_COMPONENTS;
TRUNCATE TABLE MAPPING;
TRUNCATE TABLE MAPPINGS_INPUT_ATTRIBUTE_PATHS;
TRUNCATE TABLE SCHEMA_ATTRIBUTE_PATH_INSTANCE;
TRUNCATE TABLE MAPPING_ATTRIBUTE_PATH_INSTANCE;
TRUNCATE TABLE PROJECT;
TRUNCATE TABLE PROJECTS_FUNCTIONS;
TRUNCATE TABLE PROJECTS_MAPPINGS;
TRUNCATE TABLE RESOURCE;
TRUNCATE TABLE SCHEMAS_SCHEMA_ATTRIBUTE_PATH_INSTANCES;
TRUNCATE TABLE TRANSFORMATION;
SET foreign_key_checks = 1;
|
<filename>test/rdb2rdf-compliance/src/test/resources/D011/create.sql
CREATE TABLE "Student" (
"ID" integer PRIMARY KEY,
"FirstName" varchar(50),
"LastName" varchar(50)
);
CREATE TABLE "Sport" (
"ID" integer PRIMARY KEY,
"Description" varchar(50)
);
CREATE TABLE "Student_Sport" (
"ID_Student" integer,
"ID_Sport" integer,
PRIMARY KEY ("ID_Student","ID_Sport"),
FOREIGN KEY ("ID_Student") REFERENCES "Student"("ID"),
FOREIGN KEY ("ID_Sport") REFERENCES "Sport"("ID")
);
INSERT INTO "Student" ("ID","FirstName","LastName") VALUES (10,'Venus', 'Williams');
INSERT INTO "Student" ("ID","FirstName","LastName") VALUES (11,'Fernando', 'Alonso');
INSERT INTO "Student" ("ID","FirstName","LastName") VALUES (12,'David', 'Villa');
INSERT INTO "Sport" ("ID", "Description") VALUES (110,'Tennis');
INSERT INTO "Sport" ("ID", "Description") VALUES (111,'Football');
INSERT INTO "Sport" ("ID", "Description") VALUES (112,'Formula1');
INSERT INTO "Student_Sport" ("ID_Student", "ID_Sport") VALUES (10,110);
INSERT INTO "Student_Sport" ("ID_Student", "ID_Sport") VALUES (11,111);
INSERT INTO "Student_Sport" ("ID_Student", "ID_Sport") VALUES (11,112);
INSERT INTO "Student_Sport" ("ID_Student", "ID_Sport") VALUES (12,111);
|
CREATE TABLE hdb_catalog.hdb_computed_field
(
table_schema TEXT,
table_name TEXT,
computed_field_name TEXT,
definition JSONB NOT NULL,
comment TEXT NULL,
PRIMARY KEY (table_schema, table_name, computed_field_name),
FOREIGN KEY (table_schema, table_name) REFERENCES hdb_catalog.hdb_table(table_schema, table_name) ON UPDATE CASCADE
);
CREATE VIEW hdb_catalog.hdb_computed_field_function AS
(
SELECT
table_schema,
table_name,
computed_field_name,
CASE
WHEN (definition::jsonb -> 'function')::jsonb ->> 'name' IS NULL THEN definition::jsonb ->> 'function'
ELSE (definition::jsonb -> 'function')::jsonb ->> 'name'
END AS function_name,
CASE
WHEN (definition::jsonb -> 'function')::jsonb ->> 'schema' IS NULL THEN 'public'
ELSE (definition::jsonb -> 'function')::jsonb ->> 'schema'
END AS function_schema
FROM hdb_catalog.hdb_computed_field
);
CREATE OR REPLACE VIEW hdb_catalog.hdb_function_agg AS
(
SELECT
p.proname::text AS function_name,
pn.nspname::text AS function_schema,
pd.description,
CASE
WHEN (p.provariadic = (0) :: oid) THEN false
ELSE true
END AS has_variadic,
CASE
WHEN (
(p.provolatile) :: text = ('i' :: character(1)) :: text
) THEN 'IMMUTABLE' :: text
WHEN (
(p.provolatile) :: text = ('s' :: character(1)) :: text
) THEN 'STABLE' :: text
WHEN (
(p.provolatile) :: text = ('v' :: character(1)) :: text
) THEN 'VOLATILE' :: text
ELSE NULL :: text
END AS function_type,
pg_get_functiondef(p.oid) AS function_definition,
rtn.nspname::text as return_type_schema,
rt.typname::text as return_type_name,
rt.typtype::text as return_type_type,
p.proretset AS returns_set,
( SELECT
COALESCE(json_agg(
json_build_object('schema', q."schema",
'name', q."name",
'type', q."type"
)
), '[]')
FROM
(
SELECT
pt.typname AS "name",
pns.nspname AS "schema",
pt.typtype AS "type",
pat.ordinality
FROM
unnest(
COALESCE(p.proallargtypes, (p.proargtypes) :: oid [])
) WITH ORDINALITY pat(oid, ordinality)
LEFT JOIN pg_type pt ON ((pt.oid = pat.oid))
LEFT JOIN pg_namespace pns ON (pt.typnamespace = pns.oid)
ORDER BY pat.ordinality ASC
) q
) AS input_arg_types,
to_json(COALESCE(p.proargnames, ARRAY [] :: text [])) AS input_arg_names,
p.pronargdefaults AS default_args,
p.oid::integer AS function_oid
FROM
pg_proc p
JOIN pg_namespace pn ON (pn.oid = p.pronamespace)
JOIN pg_type rt ON (rt.oid = p.prorettype)
JOIN pg_namespace rtn ON (rtn.oid = rt.typnamespace)
LEFT JOIN pg_description pd ON p.oid = pd.objoid
WHERE
pn.nspname :: text NOT LIKE 'pg_%'
AND pn.nspname :: text NOT IN ('information_schema', 'hdb_catalog', 'hdb_views')
AND (NOT EXISTS (
SELECT
1
FROM
pg_aggregate
WHERE
((pg_aggregate.aggfnoid) :: oid = p.oid)
)
)
);
|
<filename>src/backend/catalog/system_views.sql
/*
* PostgreSQL System Views
*
* Portions Copyright (c) 2006-2010, Greenplum inc.
* Portions Copyright (c) 2012-Present Pivotal Software, Inc.
* Copyright (c) 1996-2014, PostgreSQL Global Development Group
*
* src/backend/catalog/system_views.sql
*/
CREATE VIEW pg_roles AS
SELECT
rolname,
rolsuper,
rolinherit,
rolcreaterole,
rolcreatedb,
rolcatupdate,
rolcanlogin,
rolreplication,
rolconnlimit,
'********'::text as rolpassword,
rolvaliduntil,
setconfig as rolconfig,
rolresqueue,
pg_authid.oid,
rolcreaterextgpfd,
rolcreaterexthttp,
rolcreatewextgpfd,
rolcreaterexthdfs,
rolcreatewexthdfs,
rolresgroup
FROM pg_authid LEFT JOIN pg_db_role_setting s
ON (pg_authid.oid = setrole AND setdatabase = 0);
CREATE VIEW pg_shadow AS
SELECT
rolname AS usename,
pg_authid.oid AS usesysid,
rolcreatedb AS usecreatedb,
rolsuper AS usesuper,
rolcatupdate AS usecatupd,
rolreplication AS userepl,
rolpassword AS passwd,
rolvaliduntil::abstime AS valuntil,
setconfig AS useconfig
FROM pg_authid LEFT JOIN pg_db_role_setting s
ON (pg_authid.oid = setrole AND setdatabase = 0)
WHERE rolcanlogin;
REVOKE ALL on pg_shadow FROM public;
CREATE VIEW pg_group AS
SELECT
rolname AS groname,
oid AS grosysid,
ARRAY(SELECT member FROM pg_auth_members WHERE roleid = oid) AS grolist
FROM pg_authid
WHERE NOT rolcanlogin;
CREATE VIEW pg_user AS
SELECT
usename,
usesysid,
usecreatedb,
usesuper,
usecatupd,
userepl,
'********'::text as passwd,
valuntil,
useconfig
FROM pg_shadow;
CREATE VIEW pg_rules AS
SELECT
N.nspname AS schemaname,
C.relname AS tablename,
R.rulename AS rulename,
pg_get_ruledef(R.oid) AS definition
FROM (pg_rewrite R JOIN pg_class C ON (C.oid = R.ev_class))
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE R.rulename != '_RETURN';
CREATE VIEW pg_views AS
SELECT
N.nspname AS schemaname,
C.relname AS viewname,
pg_get_userbyid(C.relowner) AS viewowner,
pg_get_viewdef(C.oid) AS definition
FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE C.relkind = 'v';
CREATE VIEW pg_tables AS
SELECT
N.nspname AS schemaname,
C.relname AS tablename,
pg_get_userbyid(C.relowner) AS tableowner,
T.spcname AS tablespace,
C.relhasindex AS hasindexes,
C.relhasrules AS hasrules,
C.relhastriggers AS hastriggers
FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
LEFT JOIN pg_tablespace T ON (T.oid = C.reltablespace)
WHERE C.relkind = 'r';
CREATE VIEW pg_matviews AS
SELECT
N.nspname AS schemaname,
C.relname AS matviewname,
pg_get_userbyid(C.relowner) AS matviewowner,
T.spcname AS tablespace,
C.relhasindex AS hasindexes,
C.relispopulated AS ispopulated,
pg_get_viewdef(C.oid) AS definition
FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
LEFT JOIN pg_tablespace T ON (T.oid = C.reltablespace)
WHERE C.relkind = 'm';
CREATE VIEW pg_indexes AS
SELECT
N.nspname AS schemaname,
C.relname AS tablename,
I.relname AS indexname,
T.spcname AS tablespace,
pg_get_indexdef(I.oid) AS indexdef
FROM pg_index X JOIN pg_class C ON (C.oid = X.indrelid)
JOIN pg_class I ON (I.oid = X.indexrelid)
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
LEFT JOIN pg_tablespace T ON (T.oid = I.reltablespace)
WHERE C.relkind IN ('r', 'm') AND I.relkind = 'i';
CREATE VIEW pg_stats AS
SELECT
nspname AS schemaname,
relname AS tablename,
attname AS attname,
stainherit AS inherited,
stanullfrac AS null_frac,
stawidth AS avg_width,
stadistinct AS n_distinct,
CASE
WHEN stakind1 = 1 THEN stavalues1
WHEN stakind2 = 1 THEN stavalues2
WHEN stakind3 = 1 THEN stavalues3
WHEN stakind4 = 1 THEN stavalues4
WHEN stakind5 = 1 THEN stavalues5
END AS most_common_vals,
CASE
WHEN stakind1 = 1 THEN stanumbers1
WHEN stakind2 = 1 THEN stanumbers2
WHEN stakind3 = 1 THEN stanumbers3
WHEN stakind4 = 1 THEN stanumbers4
WHEN stakind5 = 1 THEN stanumbers5
END AS most_common_freqs,
CASE
WHEN stakind1 = 2 THEN stavalues1
WHEN stakind2 = 2 THEN stavalues2
WHEN stakind3 = 2 THEN stavalues3
WHEN stakind4 = 2 THEN stavalues4
WHEN stakind5 = 2 THEN stavalues5
END AS histogram_bounds,
CASE
WHEN stakind1 = 3 THEN stanumbers1[1]
WHEN stakind2 = 3 THEN stanumbers2[1]
WHEN stakind3 = 3 THEN stanumbers3[1]
WHEN stakind4 = 3 THEN stanumbers4[1]
WHEN stakind5 = 3 THEN stanumbers5[1]
END AS correlation,
CASE
WHEN stakind1 = 4 THEN stavalues1
WHEN stakind2 = 4 THEN stavalues2
WHEN stakind3 = 4 THEN stavalues3
WHEN stakind4 = 4 THEN stavalues4
WHEN stakind5 = 4 THEN stavalues5
END AS most_common_elems,
CASE
WHEN stakind1 = 4 THEN stanumbers1
WHEN stakind2 = 4 THEN stanumbers2
WHEN stakind3 = 4 THEN stanumbers3
WHEN stakind4 = 4 THEN stanumbers4
WHEN stakind5 = 4 THEN stanumbers5
END AS most_common_elem_freqs,
CASE
WHEN stakind1 = 5 THEN stanumbers1
WHEN stakind2 = 5 THEN stanumbers2
WHEN stakind3 = 5 THEN stanumbers3
WHEN stakind4 = 5 THEN stanumbers4
WHEN stakind5 = 5 THEN stanumbers5
END AS elem_count_histogram
FROM pg_statistic s JOIN pg_class c ON (c.oid = s.starelid)
JOIN pg_attribute a ON (c.oid = attrelid AND attnum = s.staattnum)
LEFT JOIN pg_namespace n ON (n.oid = c.relnamespace)
WHERE NOT attisdropped AND has_column_privilege(c.oid, a.attnum, 'select');
REVOKE ALL on pg_statistic FROM public;
CREATE VIEW pg_locks AS
SELECT * FROM pg_lock_status() AS L;
CREATE VIEW pg_cursors AS
SELECT * FROM pg_cursor() AS C;
CREATE VIEW pg_available_extensions AS
SELECT E.name, E.default_version, X.extversion AS installed_version,
E.comment
FROM pg_available_extensions() AS E
LEFT JOIN pg_extension AS X ON E.name = X.extname;
CREATE VIEW pg_available_extension_versions AS
SELECT E.name, E.version, (X.extname IS NOT NULL) AS installed,
E.superuser, E.relocatable, E.schema, E.requires, E.comment
FROM pg_available_extension_versions() AS E
LEFT JOIN pg_extension AS X
ON E.name = X.extname AND E.version = X.extversion;
CREATE VIEW pg_prepared_xacts AS
SELECT P.transaction, P.gid, P.prepared,
U.rolname AS owner, D.datname AS database
FROM pg_prepared_xact() AS P
LEFT JOIN pg_authid U ON P.ownerid = U.oid
LEFT JOIN pg_database D ON P.dbid = D.oid;
CREATE VIEW pg_prepared_statements AS
SELECT * FROM pg_prepared_statement() AS P;
CREATE VIEW pg_seclabels AS
SELECT
l.objoid, l.classoid, l.objsubid,
CASE WHEN rel.relkind = 'r' THEN 'table'::text
WHEN rel.relkind = 'v' THEN 'view'::text
WHEN rel.relkind = 'm' THEN 'materialized view'::text
WHEN rel.relkind = 'S' THEN 'sequence'::text
WHEN rel.relkind = 'f' THEN 'foreign table'::text END AS objtype,
rel.relnamespace AS objnamespace,
CASE WHEN pg_table_is_visible(rel.oid)
THEN quote_ident(rel.relname)
ELSE quote_ident(nsp.nspname) || '.' || quote_ident(rel.relname)
END AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_class rel ON l.classoid = rel.tableoid AND l.objoid = rel.oid
JOIN pg_namespace nsp ON rel.relnamespace = nsp.oid
WHERE
l.objsubid = 0
UNION ALL
SELECT
l.objoid, l.classoid, l.objsubid,
'column'::text AS objtype,
rel.relnamespace AS objnamespace,
CASE WHEN pg_table_is_visible(rel.oid)
THEN quote_ident(rel.relname)
ELSE quote_ident(nsp.nspname) || '.' || quote_ident(rel.relname)
END || '.' || att.attname AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_class rel ON l.classoid = rel.tableoid AND l.objoid = rel.oid
JOIN pg_attribute att
ON rel.oid = att.attrelid AND l.objsubid = att.attnum
JOIN pg_namespace nsp ON rel.relnamespace = nsp.oid
WHERE
l.objsubid != 0
UNION ALL
SELECT
l.objoid, l.classoid, l.objsubid,
CASE WHEN pro.proisagg = true THEN 'aggregate'::text
WHEN pro.proisagg = false THEN 'function'::text
END AS objtype,
pro.pronamespace AS objnamespace,
CASE WHEN pg_function_is_visible(pro.oid)
THEN quote_ident(pro.proname)
ELSE quote_ident(nsp.nspname) || '.' || quote_ident(pro.proname)
END || '(' || pg_catalog.pg_get_function_arguments(pro.oid) || ')' AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_proc pro ON l.classoid = pro.tableoid AND l.objoid = pro.oid
JOIN pg_namespace nsp ON pro.pronamespace = nsp.oid
WHERE
l.objsubid = 0
UNION ALL
SELECT
l.objoid, l.classoid, l.objsubid,
CASE WHEN typ.typtype = 'd' THEN 'domain'::text
ELSE 'type'::text END AS objtype,
typ.typnamespace AS objnamespace,
CASE WHEN pg_type_is_visible(typ.oid)
THEN quote_ident(typ.typname)
ELSE quote_ident(nsp.nspname) || '.' || quote_ident(typ.typname)
END AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_type typ ON l.classoid = typ.tableoid AND l.objoid = typ.oid
JOIN pg_namespace nsp ON typ.typnamespace = nsp.oid
WHERE
l.objsubid = 0
UNION ALL
SELECT
l.objoid, l.classoid, l.objsubid,
'large object'::text AS objtype,
NULL::oid AS objnamespace,
l.objoid::text AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_largeobject_metadata lom ON l.objoid = lom.oid
WHERE
l.classoid = 'pg_catalog.pg_largeobject'::regclass AND l.objsubid = 0
UNION ALL
SELECT
l.objoid, l.classoid, l.objsubid,
'language'::text AS objtype,
NULL::oid AS objnamespace,
quote_ident(lan.lanname) AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_language lan ON l.classoid = lan.tableoid AND l.objoid = lan.oid
WHERE
l.objsubid = 0
UNION ALL
SELECT
l.objoid, l.classoid, l.objsubid,
'schema'::text AS objtype,
nsp.oid AS objnamespace,
quote_ident(nsp.nspname) AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_namespace nsp ON l.classoid = nsp.tableoid AND l.objoid = nsp.oid
WHERE
l.objsubid = 0
UNION ALL
SELECT
l.objoid, l.classoid, l.objsubid,
'event trigger'::text AS objtype,
NULL::oid AS objnamespace,
quote_ident(evt.evtname) AS objname,
l.provider, l.label
FROM
pg_seclabel l
JOIN pg_event_trigger evt ON l.classoid = evt.tableoid
AND l.objoid = evt.oid
WHERE
l.objsubid = 0
UNION ALL
SELECT
l.objoid, l.classoid, 0::int4 AS objsubid,
'database'::text AS objtype,
NULL::oid AS objnamespace,
quote_ident(dat.datname) AS objname,
l.provider, l.label
FROM
pg_shseclabel l
JOIN pg_database dat ON l.classoid = dat.tableoid AND l.objoid = dat.oid
UNION ALL
SELECT
l.objoid, l.classoid, 0::int4 AS objsubid,
'tablespace'::text AS objtype,
NULL::oid AS objnamespace,
quote_ident(spc.spcname) AS objname,
l.provider, l.label
FROM
pg_shseclabel l
JOIN pg_tablespace spc ON l.classoid = spc.tableoid AND l.objoid = spc.oid
UNION ALL
SELECT
l.objoid, l.classoid, 0::int4 AS objsubid,
'role'::text AS objtype,
NULL::oid AS objnamespace,
quote_ident(rol.rolname) AS objname,
l.provider, l.label
FROM
pg_shseclabel l
JOIN pg_authid rol ON l.classoid = rol.tableoid AND l.objoid = rol.oid;
CREATE VIEW pg_settings AS
SELECT * FROM pg_show_all_settings() AS A;
CREATE RULE pg_settings_u AS
ON UPDATE TO pg_settings
WHERE new.name = old.name DO
SELECT set_config(old.name, new.setting, 'f');
CREATE RULE pg_settings_n AS
ON UPDATE TO pg_settings
DO INSTEAD NOTHING;
GRANT SELECT, UPDATE ON pg_settings TO PUBLIC;
CREATE VIEW pg_timezone_abbrevs AS
SELECT * FROM pg_timezone_abbrevs();
CREATE VIEW pg_timezone_names AS
SELECT * FROM pg_timezone_names();
-- Statistics views
CREATE VIEW pg_stat_all_tables AS
SELECT
C.oid AS relid,
N.nspname AS schemaname,
C.relname AS relname,
pg_stat_get_numscans(C.oid) AS seq_scan,
pg_stat_get_tuples_returned(C.oid) AS seq_tup_read,
sum(pg_stat_get_numscans(I.indexrelid))::bigint AS idx_scan,
sum(pg_stat_get_tuples_fetched(I.indexrelid))::bigint +
pg_stat_get_tuples_fetched(C.oid) AS idx_tup_fetch,
pg_stat_get_tuples_inserted(C.oid) AS n_tup_ins,
pg_stat_get_tuples_updated(C.oid) AS n_tup_upd,
pg_stat_get_tuples_deleted(C.oid) AS n_tup_del,
pg_stat_get_tuples_hot_updated(C.oid) AS n_tup_hot_upd,
pg_stat_get_live_tuples(C.oid) AS n_live_tup,
pg_stat_get_dead_tuples(C.oid) AS n_dead_tup,
pg_stat_get_mod_since_analyze(C.oid) AS n_mod_since_analyze,
pg_stat_get_last_vacuum_time(C.oid) as last_vacuum,
pg_stat_get_last_autovacuum_time(C.oid) as last_autovacuum,
pg_stat_get_last_analyze_time(C.oid) as last_analyze,
pg_stat_get_last_autoanalyze_time(C.oid) as last_autoanalyze,
pg_stat_get_vacuum_count(C.oid) AS vacuum_count,
pg_stat_get_autovacuum_count(C.oid) AS autovacuum_count,
pg_stat_get_analyze_count(C.oid) AS analyze_count,
pg_stat_get_autoanalyze_count(C.oid) AS autoanalyze_count
FROM pg_class C LEFT JOIN
pg_index I ON C.oid = I.indrelid
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE C.relkind IN ('r', 't', 'm')
GROUP BY C.oid, N.nspname, C.relname;
CREATE VIEW pg_stat_xact_all_tables AS
SELECT
C.oid AS relid,
N.nspname AS schemaname,
C.relname AS relname,
pg_stat_get_xact_numscans(C.oid) AS seq_scan,
pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,
sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,
sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +
pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,
pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,
pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,
pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,
pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd
FROM pg_class C LEFT JOIN
pg_index I ON C.oid = I.indrelid
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE C.relkind IN ('r', 't', 'm')
GROUP BY C.oid, N.nspname, C.relname;
CREATE VIEW pg_stat_sys_tables AS
SELECT * FROM pg_stat_all_tables
WHERE schemaname IN ('pg_catalog', 'information_schema') OR
schemaname ~ '^pg_toast';
CREATE VIEW pg_stat_xact_sys_tables AS
SELECT * FROM pg_stat_xact_all_tables
WHERE schemaname IN ('pg_catalog', 'information_schema') OR
schemaname ~ '^pg_toast';
CREATE VIEW pg_stat_user_tables AS
SELECT * FROM pg_stat_all_tables
WHERE schemaname NOT IN ('pg_catalog', 'information_schema') AND
schemaname !~ '^pg_toast';
CREATE VIEW pg_stat_xact_user_tables AS
SELECT * FROM pg_stat_xact_all_tables
WHERE schemaname NOT IN ('pg_catalog', 'information_schema') AND
schemaname !~ '^pg_toast';
CREATE VIEW pg_statio_all_tables AS
SELECT
C.oid AS relid,
N.nspname AS schemaname,
C.relname AS relname,
pg_stat_get_blocks_fetched(C.oid) -
pg_stat_get_blocks_hit(C.oid) AS heap_blks_read,
pg_stat_get_blocks_hit(C.oid) AS heap_blks_hit,
sum(pg_stat_get_blocks_fetched(I.indexrelid) -
pg_stat_get_blocks_hit(I.indexrelid))::bigint AS idx_blks_read,
sum(pg_stat_get_blocks_hit(I.indexrelid))::bigint AS idx_blks_hit,
pg_stat_get_blocks_fetched(T.oid) -
pg_stat_get_blocks_hit(T.oid) AS toast_blks_read,
pg_stat_get_blocks_hit(T.oid) AS toast_blks_hit,
sum(pg_stat_get_blocks_fetched(X.indexrelid) -
pg_stat_get_blocks_hit(X.indexrelid))::bigint AS tidx_blks_read,
sum(pg_stat_get_blocks_hit(X.indexrelid))::bigint AS tidx_blks_hit
FROM pg_class C LEFT JOIN
pg_index I ON C.oid = I.indrelid LEFT JOIN
pg_class T ON C.reltoastrelid = T.oid LEFT JOIN
pg_index X ON T.oid = X.indrelid
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE C.relkind IN ('r', 't', 'm')
GROUP BY C.oid, N.nspname, C.relname, T.oid, X.indrelid;
CREATE VIEW pg_statio_sys_tables AS
SELECT * FROM pg_statio_all_tables
WHERE schemaname IN ('pg_catalog', 'information_schema') OR
schemaname ~ '^pg_toast';
CREATE VIEW pg_statio_user_tables AS
SELECT * FROM pg_statio_all_tables
WHERE schemaname NOT IN ('pg_catalog', 'information_schema') AND
schemaname !~ '^pg_toast';
CREATE VIEW pg_stat_all_indexes AS
SELECT
C.oid AS relid,
I.oid AS indexrelid,
N.nspname AS schemaname,
C.relname AS relname,
I.relname AS indexrelname,
pg_stat_get_numscans(I.oid) AS idx_scan,
pg_stat_get_tuples_returned(I.oid) AS idx_tup_read,
pg_stat_get_tuples_fetched(I.oid) AS idx_tup_fetch
FROM pg_class C JOIN
pg_index X ON C.oid = X.indrelid JOIN
pg_class I ON I.oid = X.indexrelid
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE C.relkind IN ('r', 't', 'm');
CREATE VIEW pg_stat_sys_indexes AS
SELECT * FROM pg_stat_all_indexes
WHERE schemaname IN ('pg_catalog', 'information_schema') OR
schemaname ~ '^pg_toast';
CREATE VIEW pg_stat_user_indexes AS
SELECT * FROM pg_stat_all_indexes
WHERE schemaname NOT IN ('pg_catalog', 'information_schema') AND
schemaname !~ '^pg_toast';
CREATE VIEW pg_statio_all_indexes AS
SELECT
C.oid AS relid,
I.oid AS indexrelid,
N.nspname AS schemaname,
C.relname AS relname,
I.relname AS indexrelname,
pg_stat_get_blocks_fetched(I.oid) -
pg_stat_get_blocks_hit(I.oid) AS idx_blks_read,
pg_stat_get_blocks_hit(I.oid) AS idx_blks_hit
FROM pg_class C JOIN
pg_index X ON C.oid = X.indrelid JOIN
pg_class I ON I.oid = X.indexrelid
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE C.relkind IN ('r', 't', 'm');
CREATE VIEW pg_statio_sys_indexes AS
SELECT * FROM pg_statio_all_indexes
WHERE schemaname IN ('pg_catalog', 'information_schema') OR
schemaname ~ '^pg_toast';
CREATE VIEW pg_statio_user_indexes AS
SELECT * FROM pg_statio_all_indexes
WHERE schemaname NOT IN ('pg_catalog', 'information_schema') AND
schemaname !~ '^pg_toast';
CREATE VIEW pg_statio_all_sequences AS
SELECT
C.oid AS relid,
N.nspname AS schemaname,
C.relname AS relname,
pg_stat_get_blocks_fetched(C.oid) -
pg_stat_get_blocks_hit(C.oid) AS blks_read,
pg_stat_get_blocks_hit(C.oid) AS blks_hit
FROM pg_class C
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
WHERE C.relkind = 'S';
CREATE VIEW pg_statio_sys_sequences AS
SELECT * FROM pg_statio_all_sequences
WHERE schemaname IN ('pg_catalog', 'information_schema') OR
schemaname ~ '^pg_toast';
CREATE VIEW pg_statio_user_sequences AS
SELECT * FROM pg_statio_all_sequences
WHERE schemaname NOT IN ('pg_catalog', 'information_schema') AND
schemaname !~ '^pg_toast';
CREATE VIEW pg_stat_activity AS
SELECT
S.datid AS datid,
D.datname AS datname,
S.pid,
S.sess_id,
S.usesysid,
U.rolname AS usename,
S.application_name,
S.client_addr,
S.client_hostname,
S.client_port,
S.backend_start,
S.xact_start,
S.query_start,
S.state_change,
S.waiting,
S.state,
S.backend_xid,
s.backend_xmin,
S.query,
S.waiting_reason,
S.rsgid,
S.rsgname,
S.rsgqueueduration
FROM pg_database D, pg_stat_get_activity(NULL) AS S, pg_authid U
WHERE S.datid = D.oid AND
S.usesysid = U.oid;
CREATE VIEW pg_stat_replication AS
SELECT
S.pid,
S.usesysid,
U.rolname AS usename,
S.application_name,
S.client_addr,
S.client_hostname,
S.client_port,
S.backend_start,
S.backend_xmin,
W.state,
W.sent_location,
W.write_location,
W.flush_location,
W.replay_location,
W.sync_priority,
W.sync_state
FROM pg_stat_get_activity(NULL) AS S, pg_authid U,
pg_stat_get_wal_senders() AS W
WHERE S.usesysid = U.oid AND
S.pid = W.pid;
CREATE FUNCTION gp_stat_get_master_replication() RETURNS SETOF RECORD AS
$$
SELECT pg_catalog.gp_execution_segment() AS gp_segment_id, *
FROM pg_catalog.pg_stat_replication
$$
LANGUAGE SQL EXECUTE ON MASTER;
CREATE FUNCTION gp_stat_get_segment_replication() RETURNS SETOF RECORD AS
$$
SELECT pg_catalog.gp_execution_segment() AS gp_segment_id, *
FROM pg_catalog.pg_stat_replication
$$
LANGUAGE SQL EXECUTE ON ALL SEGMENTS;
CREATE FUNCTION gp_stat_get_segment_replication_error() RETURNS SETOF RECORD AS
$$
SELECT pg_catalog.gp_execution_segment() AS gp_segment_id, pg_catalog.gp_replication_error() as sync_error
$$
LANGUAGE SQL EXECUTE ON ALL SEGMENTS;
CREATE VIEW gp_stat_replication AS
SELECT *, pg_catalog.gp_replication_error() AS sync_error
FROM pg_catalog.gp_stat_get_master_replication() AS R
(gp_segment_id integer, pid integer, usesysid oid,
usename name, application_name text, client_addr inet, client_hostname text,
client_port integer, backend_start timestamptz, backend_xmin xid, state text,
sent_location pg_lsn, write_location pg_lsn, flush_location pg_lsn,
replay_location pg_lsn, sync_priority integer, sync_state text)
UNION ALL
(
SELECT G.gp_segment_id
, R.pid, R.usesysid, R.usename, R.application_name, R.client_addr
, R.client_hostname, R.client_port, R.backend_start, R.backend_xmin, R.state
, R.sent_location, R.write_location, R.flush_location
, R.replay_location, R.sync_priority, R.sync_state, G.sync_error
FROM (
SELECT E.*
FROM pg_catalog.gp_segment_configuration C
JOIN pg_catalog.gp_stat_get_segment_replication_error()
AS E (gp_segment_id integer, sync_error text)
ON c.content = E.gp_segment_id
WHERE C.role = 'm'
) G
LEFT OUTER JOIN pg_catalog.gp_stat_get_segment_replication() AS R
(gp_segment_id integer, pid integer, usesysid oid,
usename name, application_name text, client_addr inet,
client_hostname text, client_port integer, backend_start timestamptz,
backend_xmin xid, state text, sent_location pg_lsn,
write_location pg_lsn, flush_location pg_lsn,
replay_location pg_lsn, sync_priority integer, sync_state text)
ON G.gp_segment_id = R.gp_segment_id
);
CREATE VIEW pg_replication_slots AS
SELECT
L.slot_name,
L.plugin,
L.slot_type,
L.datoid,
D.datname AS database,
L.active,
L.xmin,
L.catalog_xmin,
L.restart_lsn
FROM pg_get_replication_slots() AS L
LEFT JOIN pg_database D ON (L.datoid = D.oid);
CREATE VIEW pg_stat_database AS
SELECT
D.oid AS datid,
D.datname AS datname,
pg_stat_get_db_numbackends(D.oid) AS numbackends,
pg_stat_get_db_xact_commit(D.oid) AS xact_commit,
pg_stat_get_db_xact_rollback(D.oid) AS xact_rollback,
pg_stat_get_db_blocks_fetched(D.oid) -
pg_stat_get_db_blocks_hit(D.oid) AS blks_read,
pg_stat_get_db_blocks_hit(D.oid) AS blks_hit,
pg_stat_get_db_tuples_returned(D.oid) AS tup_returned,
pg_stat_get_db_tuples_fetched(D.oid) AS tup_fetched,
pg_stat_get_db_tuples_inserted(D.oid) AS tup_inserted,
pg_stat_get_db_tuples_updated(D.oid) AS tup_updated,
pg_stat_get_db_tuples_deleted(D.oid) AS tup_deleted,
pg_stat_get_db_conflict_all(D.oid) AS conflicts,
pg_stat_get_db_temp_files(D.oid) AS temp_files,
pg_stat_get_db_temp_bytes(D.oid) AS temp_bytes,
pg_stat_get_db_deadlocks(D.oid) AS deadlocks,
pg_stat_get_db_blk_read_time(D.oid) AS blk_read_time,
pg_stat_get_db_blk_write_time(D.oid) AS blk_write_time,
pg_stat_get_db_stat_reset_time(D.oid) AS stats_reset
FROM pg_database D;
CREATE VIEW pg_stat_resqueues AS
SELECT
Q.oid AS queueid,
Q.rsqname AS queuename,
pg_stat_get_queue_num_exec(Q.oid) AS n_queries_exec,
pg_stat_get_queue_num_wait(Q.oid) AS n_queries_wait,
pg_stat_get_queue_elapsed_exec(Q.oid) AS elapsed_exec,
pg_stat_get_queue_elapsed_wait(Q.oid) AS elapsed_wait
FROM pg_resqueue AS Q;
-- Resource queue views
CREATE VIEW pg_resqueue_status AS
SELECT
q.rsqname,
q.rsqcountlimit,
s.queuecountvalue AS rsqcountvalue,
q.rsqcostlimit,
s.queuecostvalue AS rsqcostvalue,
s.queuewaiters AS rsqwaiters,
s.queueholders AS rsqholders
FROM pg_resqueue AS q
INNER JOIN pg_resqueue_status() AS s
( queueid oid,
queuecountvalue float4,
queuecostvalue float4,
queuewaiters int4,
queueholders int4)
ON (s.queueid = q.oid);
-- External table views
CREATE VIEW pg_max_external_files AS
SELECT address::name as hostname, count(*) as maxfiles
FROM gp_segment_configuration
WHERE content >= 0
AND role='p'
GROUP BY address;
-- partitioning
create view pg_partitions as
select
schemaname,
tablename,
partitionschemaname,
partitiontablename,
partitionname,
parentpartitiontablename,
parentpartitionname,
partitiontype,
partitionlevel,
-- Only the non-default parts of range partitions have
-- a non-null partition rank. For these the rank is
-- from (1, 2, ...) in keeping with the use of RANK(n)
-- to identify the parts of a range partition in the
-- ALTER statement.
case
when partitiontype <> 'range'::text then null::bigint
when partitionnodefault > 0 then partitionrank
when partitionrank = 0 then null::bigint
else partitionrank
end as partitionrank,
partitionposition,
partitionlistvalues,
partitionrangestart,
case
when partitiontype = 'range'::text then partitionstartinclusive
else null::boolean
end as partitionstartinclusive, partitionrangeend,
case
when partitiontype = 'range'::text then partitionendinclusive
else null::boolean
end as partitionendinclusive,
partitioneveryclause,
parisdefault as partitionisdefault,
partitionboundary,
parentspace as parenttablespace,
partspace as partitiontablespace
from
(
select
n.nspname as schemaname,
cl.relname as tablename,
n2.nspname as partitionschemaname,
cl2.relname as partitiontablename,
pr1.parname as partitionname,
cl3.relname as parentpartitiontablename,
pr2.parname as parentpartitionname,
case
when pp.parkind = 'h'::"char" then 'hash'::text
when pp.parkind = 'r'::"char" then 'range'::text
when pp.parkind = 'l'::"char" then 'list'::text
else null::text
end as partitiontype,
pp.parlevel as partitionlevel,
pr1.parruleord as partitionposition,
case
when pp.parkind != 'r'::"char" or pr1.parisdefault then null::bigint
else
rank() over(
partition by pp.oid, cl.relname, pp.parlevel, cl3.relname
order by pr1.parisdefault, pr1.parruleord)
end as partitionrank,
pg_get_expr(pr1.parlistvalues, pr1.parchildrelid) as partitionlistvalues,
pg_get_expr(pr1.parrangestart, pr1.parchildrelid) as partitionrangestart,
pr1.parrangestartincl as partitionstartinclusive,
pg_get_expr(pr1.parrangeend, pr1.parchildrelid) as partitionrangeend,
pr1.parrangeendincl as partitionendinclusive,
pg_get_expr(pr1.parrangeevery, pr1.parchildrelid) as partitioneveryclause,
min(pr1.parruleord) over(
partition by pp.oid, cl.relname, pp.parlevel, cl3.relname
order by pr1.parruleord) as partitionnodefault,
pr1.parisdefault,
pg_get_partition_rule_def(pr1.oid, true) as partitionboundary,
coalesce(sp.spcname, dfltspcname) as parentspace,
coalesce(sp3.spcname, dfltspcname) as partspace
from
pg_namespace n,
pg_namespace n2,
pg_class cl
left join
pg_tablespace sp on cl.reltablespace = sp.oid,
pg_class cl2
left join
pg_tablespace sp3 on cl2.reltablespace = sp3.oid,
pg_partition pp,
pg_partition_rule pr1
left join
pg_partition_rule pr2 on pr1.parparentrule = pr2.oid
left join
pg_class cl3 on pr2.parchildrelid = cl3.oid,
(select s.spcname
from pg_database, pg_tablespace s
where datname = current_database()
and dattablespace = s.oid) d(dfltspcname)
where
pp.paristemplate = false and
pp.parrelid = cl.oid and
pr1.paroid = pp.oid and
cl2.oid = pr1.parchildrelid and
cl.relnamespace = n.oid and
cl2.relnamespace = n2.oid) p1;
create view pg_partition_columns as
select
n.nspname as schemaname,
c.relname as tablename,
a.attname as columnname,
p.parlevel as partitionlevel,
p.i + 1 as position_in_partition_key
from pg_namespace n,
pg_class c,
pg_attribute a,
(select p.parrelid, p.parlevel, p.paratts[i] as attnum, i from pg_partition p,
generate_series(0,
(select max(array_upper(paratts, 1)) from pg_partition)
) i
where paratts[i] is not null
) p
where p.parrelid = c.oid and c.relnamespace = n.oid and
p.attnum = a.attnum and a.attrelid = c.oid;
create view pg_partition_templates as
select
schemaname,
tablename,
partitionname,
partitiontype,
partitionlevel,
-- if not a range partition, no partition rank
-- for range partitions, the parruleord of the default partition is zero,
-- so if no_default (min of parruleord) > 0 then there is no default partition
-- so return the normal rank. However, if there is a default partition, it
-- is rank 1, so skip it, and decrement remaining ranks by 1 so the first
-- non-default partition starts at 1
--
case when (partitiontype != 'range') then NULL
when (partitionnodefault > 0) then partitionrank
when (partitionrank = 1) then NULL
else partitionrank - 1
end as partitionrank,
partitionposition,
partitionlistvalues,
partitionrangestart,
case when (partitiontype = 'range') then partitionstartinclusive
else NULL
end as partitionstartinclusive,
partitionrangeend,
case when (partitiontype = 'range') then partitionendinclusive
else NULL
end as partitionendinclusive,
partitioneveryclause,
parisdefault as partitionisdefault,
partitionboundary
from (
select
n.nspname as schemaname,
cl.relname as tablename,
pr1.parname as partitionname,
p.parlevel as partitionlevel,
pr1.parruleord as partitionposition,
rank() over (partition by p.oid, cl.relname, p.parlevel
order by pr1.parruleord) as partitionrank,
pg_get_expr(pr1.parlistvalues, p.parrelid) as partitionlistvalues,
pg_get_expr(pr1.parrangestart, p.parrelid) as partitionrangestart,
pr1.parrangestartincl as partitionstartinclusive,
pg_get_expr(pr1.parrangeend, p.parrelid) as partitionrangeend,
pr1.parrangeendincl as partitionendinclusive,
pg_get_expr(pr1.parrangeevery, p.parrelid) as partitioneveryclause,
min(pr1.parruleord) over (partition by p.oid, cl.relname, p.parlevel
order by pr1.parruleord) as partitionnodefault,
pr1.parisdefault,
case when p.parkind = 'h' then 'hash' when p.parkind = 'r' then 'range'
when p.parkind = 'l' then 'list' else null end as partitiontype,
pg_get_partition_rule_def(pr1.oid, true) as partitionboundary
from pg_namespace n, pg_class cl, pg_partition p, pg_partition_rule pr1
where
p.parrelid = cl.oid and
pr1.paroid = p.oid and
cl.relnamespace = n.oid and
p.paristemplate = 't'
) p1;
-- metadata tracking
CREATE VIEW pg_stat_operations
AS
SELECT
'pg_authid' AS classname,
a.rolname AS objname,
c.objid, NULL AS schemaname,
CASE WHEN
((b.oid = c.stasysid) AND (b.rolname = c.stausename) )
THEN 'CURRENT'
WHEN
(b.rolname != c.stausename)
THEN 'CHANGED'
ELSE 'DROPPED' END AS usestatus,
CASE WHEN b.rolname IS NULL THEN c.stausename
ELSE b.rolname END AS usename,
c.staactionname AS actionname,
c.stasubtype AS subtype,
--
c.statime
FROM
pg_authid a,
(pg_authid b FULL JOIN
pg_stat_last_shoperation c ON ((b.oid = c.stasysid))) WHERE ((a.oid
= c.objid) AND (c.classid = (SELECT pg_class.oid FROM pg_class WHERE
(pg_class.relname = 'pg_authid'::name))))
UNION
SELECT
'pg_class' AS classname,
a.relname AS objname,
c.objid, N.nspname AS schemaname,
CASE WHEN
((b.oid = c.stasysid) AND (b.rolname = c.stausename) )
THEN 'CURRENT'
WHEN
(b.rolname != c.stausename)
THEN 'CHANGED'
ELSE 'DROPPED' END AS usestatus,
CASE WHEN b.rolname IS NULL THEN c.stausename
ELSE b.rolname END AS usename,
c.staactionname AS actionname,
c.stasubtype AS subtype,
--
c.statime
FROM pg_class
a, pg_namespace n, (pg_authid b FULL JOIN
pg_stat_last_operation c ON ((b.oid =
c.stasysid))) WHERE
a.relnamespace = n.oid AND
((a.oid = c.objid) AND (c.classid = (SELECT
pg_class.oid FROM pg_class WHERE ((pg_class.relname =
'pg_class'::name) AND (pg_class.relnamespace = (SELECT
pg_namespace.oid FROM pg_namespace WHERE (pg_namespace.nspname =
'pg_catalog'::name)))))))
UNION
SELECT
'pg_namespace' AS classname, a.nspname AS objname,
c.objid, NULL AS schemaname,
CASE WHEN
((b.oid = c.stasysid) AND (b.rolname = c.stausename) )
THEN 'CURRENT'
WHEN
(b.rolname != c.stausename)
THEN 'CHANGED'
ELSE 'DROPPED' END AS usestatus,
CASE WHEN b.rolname IS NULL THEN c.stausename
ELSE b.rolname END AS usename,
c.staactionname AS actionname,
c.stasubtype AS subtype,
--
c.statime
FROM pg_namespace a, (pg_authid b FULL JOIN pg_stat_last_operation c ON
((b.oid = c.stasysid))) WHERE ((a.oid = c.objid) AND (c.classid =
(SELECT pg_class.oid FROM pg_class WHERE ((pg_class.relname =
'pg_namespace'::name) AND (pg_class.relnamespace = (SELECT
pg_namespace.oid FROM pg_namespace WHERE (pg_namespace.nspname =
'pg_catalog'::name)))))))
UNION
SELECT
'pg_database' AS classname, a.datname AS objname,
c.objid, NULL AS schemaname,
CASE WHEN
((b.oid = c.stasysid) AND (b.rolname = c.stausename) )
THEN 'CURRENT'
WHEN
(b.rolname != c.stausename)
THEN 'CHANGED'
ELSE 'DROPPED' END AS usestatus,
CASE WHEN b.rolname IS NULL THEN c.stausename
ELSE b.rolname END AS usename,
c.staactionname AS actionname,
c.stasubtype AS subtype,
--
c.statime
FROM pg_database a, (pg_authid b FULL JOIN pg_stat_last_shoperation c ON
((b.oid = c.stasysid))) WHERE ((a.oid = c.objid) AND (c.classid =
(SELECT pg_class.oid FROM pg_class WHERE ((pg_class.relname =
'pg_database'::name) AND (pg_class.relnamespace = (SELECT
pg_namespace.oid FROM pg_namespace WHERE (pg_namespace.nspname =
'pg_catalog'::name)))))))
UNION
SELECT
'pg_tablespace' AS classname, a.spcname AS objname,
c.objid, NULL AS schemaname,
CASE WHEN
((b.oid = c.stasysid) AND (b.rolname = c.stausename) )
THEN 'CURRENT'
WHEN
(b.rolname != c.stausename)
THEN 'CHANGED'
ELSE 'DROPPED' END AS usestatus,
CASE WHEN b.rolname IS NULL THEN c.stausename
ELSE b.rolname END AS usename,
c.staactionname AS actionname,
c.stasubtype AS subtype,
--
c.statime
FROM pg_tablespace a, (pg_authid b FULL JOIN pg_stat_last_shoperation c ON
((b.oid = c.stasysid))) WHERE ((a.oid = c.objid) AND (c.classid =
(SELECT pg_class.oid FROM pg_class WHERE ((pg_class.relname =
'pg_tablespace'::name) AND (pg_class.relnamespace = (SELECT
pg_namespace.oid FROM pg_namespace WHERE (pg_namespace.nspname =
'pg_catalog'::name)))))))
UNION
SELECT 'pg_resqueue' AS classname,
a.rsqname as objname,
c.objid, NULL AS schemaname,
CASE WHEN
((b.oid = c.stasysid) AND (b.rolname = c.stausename) )
THEN 'CURRENT'
WHEN
(b.rolname != c.stausename)
THEN 'CHANGED'
ELSE 'DROPPED' END AS usestatus,
CASE WHEN b.rolname IS NULL THEN c.stausename
ELSE b.rolname END AS usename,
c.staactionname AS actionname,
c.stasubtype AS subtype,
--
c.statime
FROM pg_resqueue a, (pg_authid
b FULL JOIN pg_stat_last_shoperation c ON ((b.oid = c.stasysid)))
WHERE ((a.oid = c.objid) AND (c.classid = (SELECT pg_class.oid FROM
pg_class WHERE ((pg_class.relname = 'pg_resqueue'::name) AND
(pg_class.relnamespace = (SELECT pg_namespace.oid FROM pg_namespace
WHERE (pg_namespace.nspname = 'pg_catalog'::name))))))) ORDER BY 9;
CREATE VIEW
pg_stat_partition_operations
AS
SELECT pso.*,
CASE WHEN pr.parlevel IS NOT NULL
THEN pr.parlevel
ELSE pr2.parlevel END AS partitionlevel,
pcns.relname AS parenttablename,
pcns.nspname AS parentschemaname,
pr.parrelid AS parent_relid
FROM
(pg_stat_operations pso
LEFT OUTER JOIN
pg_partition_rule ppr
ON pso.objid=ppr.parchildrelid
LEFT OUTER JOIN
pg_partition pr
ON pr.oid = ppr.paroid) LEFT OUTER JOIN
--
-- only want lowest parlevel for parenttable
--
(SELECT MIN(parlevel) AS parlevel, parrelid FROM
pg_partition prx GROUP BY parrelid ) AS pr2
ON pr2.parrelid = pso.objid
LEFT OUTER JOIN
( SELECT pc.oid, * FROM pg_class AS pc FULL JOIN pg_namespace AS ns
ON ns.oid = pc.relnamespace) AS pcns
ON pcns.oid = pr.parrelid
;
-- MPP-7807: show all resqueue attributes
CREATE VIEW pg_resqueue_attributes AS
SELECT rsqname, 'active_statements' AS resname,
rsqcountlimit::text AS ressetting,
1 AS restypid FROM pg_resqueue
UNION
SELECT rsqname, 'max_cost' AS resname,
rsqcostlimit::text AS ressetting,
2 AS restypid FROM pg_resqueue
UNION
SELECT rsqname, 'cost_overcommit' AS resname,
case when rsqovercommit then '1'
else '0' end AS ressetting,
4 AS restypid FROM pg_resqueue
UNION
SELECT rsqname, 'min_cost' AS resname,
rsqignorecostlimit::text AS ressetting,
3 AS restypid FROM pg_resqueue
UNION
SELECT rq.rsqname , rt.resname, rc.ressetting,
rt.restypid AS restypid FROM
pg_resqueue rq, pg_resourcetype rt,
pg_resqueuecapability rc WHERE
rq.oid=rc.resqueueid AND rc.restypid = rt.restypid
ORDER BY rsqname, restypid
;
CREATE VIEW pg_stat_database_conflicts AS
SELECT
D.oid AS datid,
D.datname AS datname,
pg_stat_get_db_conflict_tablespace(D.oid) AS confl_tablespace,
pg_stat_get_db_conflict_lock(D.oid) AS confl_lock,
pg_stat_get_db_conflict_snapshot(D.oid) AS confl_snapshot,
pg_stat_get_db_conflict_bufferpin(D.oid) AS confl_bufferpin,
pg_stat_get_db_conflict_startup_deadlock(D.oid) AS confl_deadlock
FROM pg_database D;
CREATE VIEW pg_stat_user_functions AS
SELECT
P.oid AS funcid,
N.nspname AS schemaname,
P.proname AS funcname,
pg_stat_get_function_calls(P.oid) AS calls,
pg_stat_get_function_total_time(P.oid) AS total_time,
pg_stat_get_function_self_time(P.oid) AS self_time
FROM pg_proc P LEFT JOIN pg_namespace N ON (N.oid = P.pronamespace)
WHERE P.prolang != 12 -- fast check to eliminate built-in functions
AND pg_stat_get_function_calls(P.oid) IS NOT NULL;
CREATE VIEW pg_stat_xact_user_functions AS
SELECT
P.oid AS funcid,
N.nspname AS schemaname,
P.proname AS funcname,
pg_stat_get_xact_function_calls(P.oid) AS calls,
pg_stat_get_xact_function_total_time(P.oid) AS total_time,
pg_stat_get_xact_function_self_time(P.oid) AS self_time
FROM pg_proc P LEFT JOIN pg_namespace N ON (N.oid = P.pronamespace)
WHERE P.prolang != 12 -- fast check to eliminate built-in functions
AND pg_stat_get_xact_function_calls(P.oid) IS NOT NULL;
CREATE VIEW pg_stat_archiver AS
SELECT
s.archived_count,
s.last_archived_wal,
s.last_archived_time,
s.failed_count,
s.last_failed_wal,
s.last_failed_time,
s.stats_reset
FROM pg_stat_get_archiver() s;
CREATE VIEW pg_stat_bgwriter AS
SELECT
pg_stat_get_bgwriter_timed_checkpoints() AS checkpoints_timed,
pg_stat_get_bgwriter_requested_checkpoints() AS checkpoints_req,
pg_stat_get_checkpoint_write_time() AS checkpoint_write_time,
pg_stat_get_checkpoint_sync_time() AS checkpoint_sync_time,
pg_stat_get_bgwriter_buf_written_checkpoints() AS buffers_checkpoint,
pg_stat_get_bgwriter_buf_written_clean() AS buffers_clean,
pg_stat_get_bgwriter_maxwritten_clean() AS maxwritten_clean,
pg_stat_get_buf_written_backend() AS buffers_backend,
pg_stat_get_buf_fsync_backend() AS buffers_backend_fsync,
pg_stat_get_buf_alloc() AS buffers_alloc,
pg_stat_get_bgwriter_stat_reset_time() AS stats_reset;
CREATE VIEW pg_user_mappings AS
SELECT
U.oid AS umid,
S.oid AS srvid,
S.srvname AS srvname,
U.umuser AS umuser,
CASE WHEN U.umuser = 0 THEN
'public'
ELSE
A.rolname
END AS usename,
CASE WHEN pg_has_role(S.srvowner, 'USAGE') OR has_server_privilege(S.oid, 'USAGE') THEN
U.umoptions
ELSE
NULL
END AS umoptions
FROM pg_user_mapping U
LEFT JOIN pg_authid A ON (A.oid = U.umuser) JOIN
pg_foreign_server S ON (U.umserver = S.oid);
REVOKE ALL on pg_user_mapping FROM public;
--
-- We have a few function definitions in here, too.
-- At some point there might be enough to justify breaking them out into
-- a separate "system_functions.sql" file.
--
-- Tsearch debug function. Defined here because it'd be pretty unwieldy
-- to put it into pg_proc.h
CREATE FUNCTION ts_debug(IN config regconfig, IN document text,
OUT alias text,
OUT description text,
OUT token text,
OUT dictionaries regdictionary[],
OUT dictionary regdictionary,
OUT lexemes text[])
RETURNS SETOF record AS
$$
SELECT
tt.alias AS alias,
tt.description AS description,
parse.token AS token,
ARRAY ( SELECT m.mapdict::pg_catalog.regdictionary
FROM pg_catalog.pg_ts_config_map AS m
WHERE m.mapcfg = $1 AND m.maptokentype = parse.tokid
ORDER BY m.mapseqno )
AS dictionaries,
( SELECT mapdict::pg_catalog.regdictionary
FROM pg_catalog.pg_ts_config_map AS m
WHERE m.mapcfg = $1 AND m.maptokentype = parse.tokid
ORDER BY pg_catalog.ts_lexize(mapdict, parse.token) IS NULL, m.mapseqno
LIMIT 1
) AS dictionary,
( SELECT pg_catalog.ts_lexize(mapdict, parse.token)
FROM pg_catalog.pg_ts_config_map AS m
WHERE m.mapcfg = $1 AND m.maptokentype = parse.tokid
ORDER BY pg_catalog.ts_lexize(mapdict, parse.token) IS NULL, m.mapseqno
LIMIT 1
) AS lexemes
FROM pg_catalog.ts_parse(
(SELECT cfgparser FROM pg_catalog.pg_ts_config WHERE oid = $1 ), $2
) AS parse,
pg_catalog.ts_token_type(
(SELECT cfgparser FROM pg_catalog.pg_ts_config WHERE oid = $1 )
) AS tt
WHERE tt.tokid = parse.tokid
$$
LANGUAGE SQL STRICT STABLE;
COMMENT ON FUNCTION ts_debug(regconfig,text) IS
'debug function for text search configuration';
CREATE FUNCTION ts_debug(IN document text,
OUT alias text,
OUT description text,
OUT token text,
OUT dictionaries regdictionary[],
OUT dictionary regdictionary,
OUT lexemes text[])
RETURNS SETOF record AS
$$
SELECT * FROM pg_catalog.ts_debug( pg_catalog.get_current_ts_config(), $1);
$$
LANGUAGE SQL STRICT STABLE;
COMMENT ON FUNCTION ts_debug(text) IS
'debug function for current text search configuration';
--
-- Redeclare built-in functions that need default values attached to their
-- arguments. It's impractical to set those up directly in pg_proc.h because
-- of the complexity and platform-dependency of the expression tree
-- representation. (Note that internal functions still have to have entries
-- in pg_proc.h; we are merely causing their proargnames and proargdefaults
-- to get filled in.)
--
CREATE OR REPLACE FUNCTION
pg_start_backup(label text, fast boolean DEFAULT false)
RETURNS pg_lsn STRICT VOLATILE LANGUAGE internal AS 'pg_start_backup';
CREATE OR REPLACE FUNCTION
json_populate_record(base anyelement, from_json json, use_json_as_text boolean DEFAULT false)
RETURNS anyelement LANGUAGE internal STABLE AS 'json_populate_record';
CREATE OR REPLACE FUNCTION
json_populate_recordset(base anyelement, from_json json, use_json_as_text boolean DEFAULT false)
RETURNS SETOF anyelement LANGUAGE internal STABLE ROWS 100 AS 'json_populate_recordset';
CREATE OR REPLACE FUNCTION
jsonb_populate_record(base anyelement, from_json jsonb, use_json_as_text boolean DEFAULT false)
RETURNS anyelement LANGUAGE internal STABLE AS 'jsonb_populate_record';
CREATE OR REPLACE FUNCTION
jsonb_populate_recordset(base anyelement, from_json jsonb, use_json_as_text boolean DEFAULT false)
RETURNS SETOF anyelement LANGUAGE internal STABLE ROWS 100 AS 'jsonb_populate_recordset';
CREATE OR REPLACE FUNCTION
json_to_record(from_json json, nested_as_text boolean DEFAULT false)
RETURNS record LANGUAGE internal STABLE AS 'json_to_record';
CREATE OR REPLACE FUNCTION
json_to_recordset(from_json json, nested_as_text boolean DEFAULT false)
RETURNS SETOF record LANGUAGE internal STABLE ROWS 100 AS 'json_to_recordset';
CREATE OR REPLACE FUNCTION
jsonb_to_record(from_json jsonb, nested_as_text boolean DEFAULT false)
RETURNS record LANGUAGE internal STABLE AS 'jsonb_to_record';
CREATE OR REPLACE FUNCTION
jsonb_to_recordset(from_json jsonb, nested_as_text boolean DEFAULT false)
RETURNS SETOF record LANGUAGE internal STABLE ROWS 100 AS 'jsonb_to_recordset';
CREATE OR REPLACE FUNCTION pg_logical_slot_get_changes(
IN slot_name name, IN upto_lsn pg_lsn, IN upto_nchanges int, VARIADIC options text[] DEFAULT '{}',
OUT location pg_lsn, OUT xid xid, OUT data text)
RETURNS SETOF RECORD
LANGUAGE INTERNAL
VOLATILE ROWS 1000 COST 1000
AS 'pg_logical_slot_get_changes';
CREATE OR REPLACE FUNCTION pg_logical_slot_peek_changes(
IN slot_name name, IN upto_lsn pg_lsn, IN upto_nchanges int, VARIADIC options text[] DEFAULT '{}',
OUT location pg_lsn, OUT xid xid, OUT data text)
RETURNS SETOF RECORD
LANGUAGE INTERNAL
VOLATILE ROWS 1000 COST 1000
AS 'pg_logical_slot_peek_changes';
CREATE OR REPLACE FUNCTION pg_logical_slot_get_binary_changes(
IN slot_name name, IN upto_lsn pg_lsn, IN upto_nchanges int, VARIADIC options text[] DEFAULT '{}',
OUT location pg_lsn, OUT xid xid, OUT data bytea)
RETURNS SETOF RECORD
LANGUAGE INTERNAL
VOLATILE ROWS 1000 COST 1000
AS 'pg_logical_slot_get_binary_changes';
CREATE OR REPLACE FUNCTION pg_logical_slot_peek_binary_changes(
IN slot_name name, IN upto_lsn pg_lsn, IN upto_nchanges int, VARIADIC options text[] DEFAULT '{}',
OUT location pg_lsn, OUT xid xid, OUT data bytea)
RETURNS SETOF RECORD
LANGUAGE INTERNAL
VOLATILE ROWS 1000 COST 1000
AS 'pg_logical_slot_peek_binary_changes';
CREATE OR REPLACE FUNCTION
make_interval(years int4 DEFAULT 0, months int4 DEFAULT 0, weeks int4 DEFAULT 0,
days int4 DEFAULT 0, hours int4 DEFAULT 0, mins int4 DEFAULT 0,
secs double precision DEFAULT 0.0)
RETURNS interval
LANGUAGE INTERNAL
STRICT IMMUTABLE
AS 'make_interval';
-- pg_tablespace_location wrapper functions to see Greenplum cluster-wide tablespace locations
CREATE FUNCTION gp_tablespace_segment_location (IN tblspc_oid oid, OUT gp_segment_id int, OUT tblspc_loc text)
AS 'SELECT pg_catalog.gp_execution_segment() as gp_segment_id, * FROM pg_catalog.pg_tablespace_location($1)'
LANGUAGE SQL EXECUTE ON ALL SEGMENTS;
CREATE FUNCTION gp_tablespace_location (IN tblspc_oid oid, OUT gp_segment_id int, OUT tblspc_loc text)
RETURNS SETOF RECORD
AS
'SELECT * FROM pg_catalog.gp_tablespace_segment_location($1)
UNION ALL
SELECT pg_catalog.gp_execution_segment() as gp_segment_id, * FROM pg_catalog.pg_tablespace_location($1)'
LANGUAGE SQL EXECUTE ON MASTER;
|
CREATE TABLE IF NOT EXISTS entities
(
entity_id blob,
replica_set bigint,
created_on bigint,
edited_on bigint,
PRIMARY KEY ((entity_id))
);
|
<reponame>zayfen/emacs.d<gh_stars>0
begin transaction;
create table my_table ( id text );
select id from my_table;
commit;
begin
transaction;
create table my_table ( id text );
select id from my_table;
commit;
begin -- a comment
transaction;
create table my_table ( id text );
select id from my_table;
commit;
|
SELECT
SUBSTRING(FirstName, 1, 1) AS FirstLetter
FROM WizzardDeposits
WHERE DepositGroup = 'Troll Chest'
GROUP BY LEFT(FirstName, 1)
ORDER BY FirstLetter |
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Mar 07, 2017 at 08:16 AM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 5.6.28
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: `tn`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE `admin` (
`id_admin` int(11) NOT NULL,
`nama` varchar(50) NOT NULL,
`jabatan` varchar(50) NOT NULL,
`status` varchar(50) NOT NULL,
`username` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`id_admin`, `nama`, `jabatan`, `status`, `username`, `password`) VALUES
(1, 'Johan', '<PASSWORD>', 'super admin', 'admin', '<PASSWORD>'),
(2, 'angel', 'sekertaris', 'admin', 'user', 'user'),
(4, 'cici', 'mahasiswa', 'admin', 'cici', '<PASSWORD>');
-- --------------------------------------------------------
--
-- Table structure for table `jumlah_jalur`
--
CREATE TABLE `jumlah_jalur` (
`id_jalur` int(11) NOT NULL,
`jumlah_jalur` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `jumlah_jalur`
--
INSERT INTO `jumlah_jalur` (`id_jalur`, `jumlah_jalur`) VALUES
(1, 6),
(2, 6);
-- --------------------------------------------------------
--
-- Table structure for table `link`
--
CREATE TABLE `link` (
`id_link` int(11) NOT NULL,
`nama_link` varchar(50) DEFAULT NULL,
`id_port1` int(11) DEFAULT NULL,
`id_port2` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `link`
--
INSERT INTO `link` (`id_link`, `nama_link`, `id_port1`, `id_port2`) VALUES
(1, 'JTN-CKA', 21, 76),
(2, 'CKA-JTN', 76, 21);
-- --------------------------------------------------------
--
-- Table structure for table `link_statis`
--
CREATE TABLE `link_statis` (
`id_link` int(5) NOT NULL,
`host_a` varchar(100) DEFAULT NULL,
`host_b` varchar(50) DEFAULT NULL,
`fa_a` varchar(15) DEFAULT NULL,
`fa_b` varchar(15) DEFAULT NULL,
`nms` varchar(20) DEFAULT NULL,
`user` varchar(50) DEFAULT NULL,
`ne_a` varchar(30) DEFAULT NULL,
`board_a` varchar(30) DEFAULT NULL,
`rack_a` int(1) DEFAULT NULL,
`shelf_a` int(2) DEFAULT NULL,
`slot_a` int(2) DEFAULT NULL,
`port_a` varchar(5) DEFAULT NULL,
`freq_a` varchar(10) DEFAULT NULL,
`ne_b` varchar(30) DEFAULT NULL,
`board_b` varchar(30) DEFAULT NULL,
`rack_b` int(1) DEFAULT NULL,
`shelf_b` int(2) DEFAULT NULL,
`slot_b` int(2) DEFAULT NULL,
`port_b` varchar(5) DEFAULT NULL,
`freq_b` varchar(10) DEFAULT NULL,
`keterangan` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `link_statis`
--
-- --------------------------------------------------------
--
-- Table structure for table `lokasi`
--
CREATE TABLE `lokasi` (
`id_lokasi` int(5) NOT NULL,
`nms` varchar(50) NOT NULL,
`nama_lokasi` varchar(100) NOT NULL,
`lng` double NOT NULL,
`lat` double NOT NULL,
`kd` varchar(5) NOT NULL,
`warna` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `lokasi`
--
INSERT INTO `lokasi` (`id_lokasi`, `nms`, `nama_lokasi`, `lng`, `lat`, `kd`, `warna`) VALUES
(1, 'SBCS', '<NAME>', 3.736264, 98.441425, 'SB', 'fa7124'),
(2, 'SBCS', 'ANCOL', 3.209604, 99.063093, 'SB', 'fa7124'),
(3, 'SBCS', 'BALIGE', 2.333737, 99.083255, 'SB', 'fa7124'),
(4, 'SBCS', 'BANDA ACEH', 5.54897, 95.32235, 'SB', 'fa7124'),
(5, 'SBCS', 'BANGKINANG', 0.341343, 101.026662, 'SB', 'fa7124'),
(6, 'SBCS', 'BATAM CENTER', 1.130712, 104.055527, 'SB', 'fa7124'),
(7, 'SBCS', 'BATURAJA', -4.12404, 104.166854, 'SB', 'fa7124'),
(8, 'SBCS', 'BELANTI', -3.287683, 104.916799, 'SB', 'fa7124'),
(9, 'SBCS', 'BIREUN', 5.204144, 96.70173, 'SB', 'fa7124'),
(10, 'SBCS', 'BLANGPIDIE', 3.743221, 96.833023, 'SB', 'fa7124'),
(11, 'SBCS', 'BUKIT DANGAS', 1.12257, 103.945543, 'SB', 'fa7124'),
(12, 'SBCS', '<NAME>', -0.305164, 100.366744, 'SB', 'fa7124'),
(13, 'SBCS', 'CIKUPA', -6.215095, 106.51273, 'SB', 'fa7124'),
(14, 'SBCS', 'DUMAI', 1.666905, 101.39872, 'SB', 'fa7124'),
(15, 'SBCS', 'DURI', 1.259655, 101.213124, 'SB', 'fa7124'),
(16, 'SBCS', 'JATINEGARA', -6.222619, 106.869952, 'SB', 'fa7124'),
(17, 'SBCS', 'KABANJAHE', 3.105751, 98.500419, 'SB', 'fa7124'),
(18, 'SBCS', 'KALAPA', -1.850954, 105.599323, 'SB', 'fa7124'),
(19, 'SBCS', 'KENANGA', -1.921019, 106.119748, 'SB', 'fa7124'),
(20, 'SBCS', 'KISARAN', 2.983445, 99.627524, 'SB', 'fa7124'),
(21, 'SBCS', 'KOBA', -2.486412, 106.414243, 'SB', 'fa7124'),
(22, 'SBCS', 'LAMBARO', 5.51096, 95.35468, 'SB', 'fa7124'),
(23, 'SBCS', 'LAMPUNG', -5.048869, 105.303126, 'SB', 'fa7124'),
(24, 'SBCS', 'LANGSA', 4.472331, 97.974263, 'SB', 'fa7124'),
(25, 'SBCS', 'LHOKSEUMAWE', 5.183512, 97.141278, 'SB', 'fa7124'),
(26, 'SBCS', '<NAME>', -0.331018, 100.0568, 'SB', 'fa7124'),
(27, 'SBCS', 'LU<NAME>', 0.159271, 100.125088, 'SB', 'fa7124'),
(28, 'SBCS', 'MARPOYAN', 0.455989, 101.4339, 'SB', 'fa7124'),
(29, 'SBCS', 'MEDAN', 3.592936, 98.678406, 'SB', 'fa7124'),
(30, 'SBCS', 'MEULABOH', 4.143617, 96.129243, 'SB', 'fa7124'),
(31, 'SBCS', 'MUNTOK', -2.064361, 105.162851, 'SB', 'fa7124'),
(32, 'SBCS', 'PADANG', -0.949819, 100.412542, 'SB', 'fa7124'),
(33, 'SBCS', '<NAME>', 1.37214, 99.273109, 'SB', 'fa7124'),
(34, 'SBCS', 'PALEMBANG', -2.976567, 104.782874, 'SB', 'fa7124'),
(35, 'SBCS', '<NAME>', -2.111534, 106.112973, 'SB', 'fa7124'),
(36, 'SBCS', '<NAME>', 0.506581, 101.454562, 'SB', 'fa7124'),
(37, 'SBCS', '<NAME>', 2.963734, 99.073447, 'SB', 'fa7124'),
(38, 'SBCS', 'PESAREAN', -6.923602, 109.124713, 'SB', 'fa7124'),
(39, 'SBCS', 'PULO BRAYAN', 3.627956, 98.667254, 'SB', 'fa7124'),
(40, 'SBCS', '<NAME>', 3.550822, 98.654229, 'SB', 'fa7124'),
(41, 'SBCS', 'SIBOLGA', 1.736913, 98.786464, 'SB', 'fa7124'),
(42, 'SBCS', 'SIGLI', 5.387244, 95.962405, 'SB', 'fa7124'),
(43, 'SBCS', 'SUBULUSALAM', 2.645481, 98.014691, 'SB', 'fa7124'),
(44, 'SBCS', 'TAKENGON', 4.634468, 96.843821, 'SB', 'fa7124'),
(45, 'SBCS', 'TALANG KALAPA', -2.943104, 104.690018, 'SB', 'fa7124'),
(46, 'SBCS', '<NAME>', 2.237888, 102.338487, 'SB', 'fa7124'),
(47, 'SBCS', '<NAME>', 3.327381, 99.161679, 'SB', 'fa7124'),
(48, 'SBCS', 'TEMBUANG', 0, 0, 'SB', 'fa7124'),
(49, 'SBCS', 'TOBOLALI', -2.999591, 106.46281, 'SB', 'fa7124'),
(50, 'JASUKA', '<NAME>', 0.480999, 101.441871, 'JS', 'fefd02'),
(51, 'JASUKA', '<NAME>', -5.396455, 105.267131, 'JS', 'fefd02'),
(52, 'JASUKA', 'BANGKINANG', 0.341, 101.02649, 'JS', 'fefd02'),
(53, 'JASUKA', 'BANGKO', -2.073945, 102.273547, 'JS', 'fefd02'),
(54, 'JASUKA', '<NAME>', 1.130712, 104.05542, 'JS', 'fefd02'),
(55, 'JASUKA', 'BATURAJA', -4.123898, 104.167974, 'JS', 'fefd02'),
(56, 'JASUKA', 'BELANTI', -3.359486, 104.745672, 'JS', 'fefd02'),
(57, 'JASUKA', 'BENGKULU', -3.794512, 102.264063, 'JS', 'fefd02'),
(58, 'JASUKA', '<NAME>', 1.122725, 103.945491, 'JS', 'fefd02'),
(59, 'JASUKA', 'CIKUPA', -6.204841, 106.514992, 'JS', 'fefd02'),
(60, 'JASUKA', 'DANGAS', 0, 0, 'JS', 'fefd02'),
(61, 'JASUKA', 'DUMAI', 1.667231, 101.400126, 'JS', 'fefd02'),
(62, 'JASUKA', 'DURI', 1.259705, 101.213097, 'JS', 'fefd02'),
(63, 'JASUKA', 'GAMBIR', -6.174941, 106.827091, 'JS', 'fefd02'),
(64, 'JASUKA', 'JAMBI', -1.611121, 103.611242, 'JS', 'fefd02'),
(65, 'JASUKA', 'JATINEGARA', -6.227142, 106.881195, 'JS', 'fefd02'),
(66, 'JASUKA', 'JATINEGARA2', -6.226984, 106.868344, 'JS', 'fefd02'),
(67, 'JASUKA', 'KENANGA', -6.198017, 106.680691, 'JS', 'fefd02'),
(68, 'JASUKA', 'KILIRANJAO', -0.876749, 101.316762, 'JS', 'fefd02'),
(69, 'JASUKA', 'KRUI', -5.192222, 103.930579, 'JS', 'fefd02'),
(70, 'JASUKA', 'LAHAT', -3.785728, 103.53993, 'JS', 'fefd02'),
(71, 'JASUKA', 'LAMPUNG', -4.556221, 105.374538, 'JS', 'fefd02'),
(72, 'JASUKA', '<NAME>', -3.298957, 102.85463, 'JS', 'fefd02'),
(73, 'JASUKA', '<NAME>', -1.659895, 103.274096, 'JS', 'fefd02'),
(74, 'JASUKA', '<NAME>', -1.54359, 102.177333, 'JS', 'fefd02'),
(75, 'JASUKA', '<NAME>', -1.477181, 102.451537, 'JS', 'fefd02'),
(76, 'JASUKA', 'PADANG', -0.9457, 100.397436, 'JS', 'fefd02'),
(77, 'JASUKA', '<NAME>', -0.701573, 100.825497, 'JS', 'fefd02'),
(78, 'JASUKA', 'PALEMBANG', -2.974641, 104.746263, 'JS', 'fefd02'),
(79, 'JASUKA', 'PALEMBANG CENTRUM', 0, 0, 'JS', 'fefd02'),
(80, 'JASUKA', 'PEKANBARU', 0.504865, 101.446666, 'JS', 'fefd02'),
(81, 'JASUKA', 'PONTIANAK', -0.024408, 109.3391, 'JS', 'fefd02'),
(82, 'JASUKA', 'RANGAT', -0.36705, 102.546215, 'JS', 'fefd02'),
(83, 'JASUKA', 'SOLOK', -0.788567, 100.654949, 'JS', 'fefd02'),
(84, 'JASUKA', '<NAME>', 0, 0, 'JS', 'fefd02'),
(85, 'JASUKA', 'T<NAME>', -2.93419, 104.69534, 'JS', 'fefd02'),
(86, 'JASUKA', '<NAME>', -3.764835, 103.778388, 'JS', 'fefd02'),
(87, 'JASUKA', '<NAME>', -5.970629, 107.126742, 'JS', 'fefd02'),
(88, 'JASUKA', 'TE<NAME>', 3.327293, 99.162757, 'JS', 'fefd02'),
(89, 'JASUKA', 'TE<NAME>', -0.524036, 101.559744, 'JS', 'fefd02'),
(90, 'JASUKA', '<NAME>', -5.96834, 107.109217, 'JS', 'fefd02'),
(91, 'JASUKA', '<NAME>', -0.243723, 100.626455, 'JS', 'fefd02'),
(92, 'JASUKA', 'TTC_DLD', 0, 0, 'JS', 'fefd02'),
(93, 'JVBB', 'Ampel', -7, 112, 'JV', '5ce3f0'),
(94, 'JVBB', 'Bandung', -6, 107, 'JV', '5ce3f0'),
(95, 'JVBB', 'Bangkalan', -7, 112, 'JV', '5ce3f0'),
(96, 'JVBB', 'banyuwangi', -8, 114, 'JV', '5ce3f0'),
(97, 'JVBB', 'BCA', 0, 0, 'JV', '5ce3f0'),
(98, 'JVBB', 'Benculuk', -8, 114, 'JV', '5ce3f0'),
(99, 'JVBB', 'Benoa', -8, 115, 'JV', '5ce3f0'),
(100, 'JVBB', 'Cianjur', -6, 107, 'JV', '5ce3f0'),
(101, 'JVBB', 'cicadas', -6, 107, 'JV', '5ce3f0'),
(102, 'JVBB', 'Cikupa', -6, 106, 'JV', '5ce3f0'),
(103, 'JVBB', 'cirebon', -6, 108, 'JV', '5ce3f0'),
(104, 'JVBB', 'dago', -6, 107, 'JV', '5ce3f0'),
(105, 'JVBB', 'Denpasar', -8, 115, 'JV', '5ce3f0'),
(106, 'JVBB', 'Garut', -6, 106, 'JV', '5ce3f0'),
(107, 'JVBB', 'Gayungan', -7, 112, 'JV', '5ce3f0'),
(108, 'JVBB', 'Gianyar', -8, 115, 'JV', '5ce3f0'),
(109, 'JVBB', 'Godong', -7, 110, 'JV', '5ce3f0'),
(110, 'JVBB', 'Gombel', -7, 110, 'JV', '5ce3f0'),
(111, 'JVBB', '<NAME>', -7, 112, 'JV', '5ce3f0'),
(112, 'JVBB', 'intiland', -7, 112, 'JV', '5ce3f0'),
(113, 'JVBB', 'Jatinegara', -6, 106, 'JV', '5ce3f0'),
(114, 'JVBB', 'jember', -8, 113, 'JV', '5ce3f0'),
(115, 'JVBB', 'kaliasem', -8, 115, 'JV', '5ce3f0'),
(116, 'JVBB', 'Karya Mulya', 0, 0, 'JV', '5ce3f0'),
(117, 'JVBB', 'Kebalen', -6, 107, 'JV', '5ce3f0'),
(118, 'JVBB', 'Kediri', -7, 112, 'JV', '5ce3f0'),
(119, 'JVBB', 'Ketapang', -1, 110, 'JV', '5ce3f0'),
(120, 'JVBB', 'Kintamani', -8, 115, 'JV', '5ce3f0'),
(121, 'JVBB', 'Kuta', -8, 115, 'JV', '5ce3f0'),
(122, 'JVBB', 'madiun', -7, 111, 'JV', '5ce3f0'),
(123, 'JVBB', 'magelang', -7, 110, 'JV', '5ce3f0'),
(124, 'JVBB', 'malang', -7, 112, 'JV', '5ce3f0'),
(125, 'JVBB', 'mataram', -8, 116, 'JV', '5ce3f0'),
(126, 'JVBB', 'negara', -8, 114, 'JV', '5ce3f0'),
(127, 'JVBB', 'nusa2', -8, 115, 'JV', '5ce3f0'),
(128, 'JVBB', 'nusukan', -7, 110, 'JV', '5ce3f0'),
(129, 'JVBB', 'pamekasan', -7, 113, 'JV', '5ce3f0'),
(130, 'JVBB', 'purwokerto', -7, 109, 'JV', '5ce3f0'),
(131, 'JVBB', 'renon', -8, 115, 'JV', '5ce3f0'),
(132, 'JVBB', 'rungkut', -7, 112, 'JV', '5ce3f0'),
(133, 'JVBB', 'sampang', -7, 113, 'JV', '5ce3f0'),
(134, 'JVBB', 'sanur', -8, 115, 'JV', '5ce3f0'),
(135, 'JVBB', 'sigma', 0, 0, 'JV', '5ce3f0'),
(136, 'JVBB', 'singaraja', -8, 115, 'JV', '5ce3f0'),
(137, 'JVBB', 'situbondo', -7, 113, 'JV', '5ce3f0'),
(138, 'JVBB', 'soetta', 0, 0, 'JV', '5ce3f0'),
(139, 'JVBB', 'solo', -7, 110, 'JV', '5ce3f0'),
(140, 'JVBB', 'sukabumi', -6, 106, 'JV', '5ce3f0'),
(141, 'JVBB', 'tabanan', -8, 115, 'JV', '5ce3f0'),
(142, 'JVBB', 'tasikmalaya', -7, 108, 'JV', '5ce3f0'),
(143, 'JVBB', 'tegal', -6, 109, 'JV', '5ce3f0'),
(144, 'JVBB', 'yogya', -7, 110, 'JV', '5ce3f0');
-- --------------------------------------------------------
--
-- Table structure for table `merk`
--
CREATE TABLE `merk` (
`id_merk` int(11) NOT NULL,
`nama_merk` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `merk`
--
INSERT INTO `merk` (`id_merk`, `nama_merk`) VALUES
(1, 'HUAWEI'),
(2, 'ZTE'),
(3, 'CORIANT');
-- --------------------------------------------------------
--
-- Table structure for table `metro`
--
CREATE TABLE `metro` (
`id_metro` int(11) NOT NULL,
`asal` varchar(50) DEFAULT NULL,
`tujuan` varchar(50) DEFAULT NULL,
`id_port_asal` int(11) DEFAULT NULL,
`id_port_tujuan` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `port`
--
CREATE TABLE `port` (
`id_port` int(11) NOT NULL,
`nama_nms` varchar(10) DEFAULT NULL,
`nama_lokasi` varchar(20) DEFAULT NULL,
`id_merk` int(11) DEFAULT NULL,
`nama_ne` varchar(20) DEFAULT NULL,
`rack` varchar(11) DEFAULT NULL,
`shelf` varchar(11) DEFAULT NULL,
`slot` varchar(11) DEFAULT NULL,
`port` varchar(11) DEFAULT NULL,
`board` varchar(11) DEFAULT NULL,
`kapasitas` varchar(20) DEFAULT NULL,
`frekuensi` float DEFAULT NULL,
`user` varchar(10) DEFAULT NULL,
`deskripsi` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `port`
--
-- --------------------------------------------------------
--
-- Table structure for table `tera`
--
CREATE TABLE `tera` (
`id_tera` int(11) NOT NULL,
`asal` varchar(50) DEFAULT NULL,
`tujuan` varchar(50) DEFAULT NULL,
`id_port_asal` int(11) DEFAULT NULL,
`id_port_tujuan` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id_admin`);
--
-- Indexes for table `jumlah_jalur`
--
ALTER TABLE `jumlah_jalur`
ADD PRIMARY KEY (`id_jalur`);
--
-- Indexes for table `link`
--
ALTER TABLE `link`
ADD PRIMARY KEY (`id_link`),
ADD KEY `id_port1` (`id_port1`),
ADD KEY `id_port2` (`id_port2`);
--
-- Indexes for table `link_statis`
--
ALTER TABLE `link_statis`
ADD PRIMARY KEY (`id_link`);
--
-- Indexes for table `merk`
--
ALTER TABLE `merk`
ADD PRIMARY KEY (`id_merk`);
--
-- Indexes for table `metro`
--
ALTER TABLE `metro`
ADD PRIMARY KEY (`id_metro`),
ADD KEY `id_port_asal` (`id_port_asal`),
ADD KEY `id_port_tujuan` (`id_port_tujuan`);
--
-- Indexes for table `port`
--
ALTER TABLE `port`
ADD PRIMARY KEY (`id_port`),
ADD KEY `id_merk` (`id_merk`);
--
-- Indexes for table `tera`
--
ALTER TABLE `tera`
ADD PRIMARY KEY (`id_tera`),
ADD KEY `id_port_asal` (`id_port_asal`),
ADD KEY `id_port_tujuan` (`id_port_tujuan`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
MODIFY `id_admin` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `jumlah_jalur`
--
ALTER TABLE `jumlah_jalur`
MODIFY `id_jalur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `link`
--
ALTER TABLE `link`
MODIFY `id_link` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `link_statis`
--
ALTER TABLE `link_statis`
MODIFY `id_link` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1310;
--
-- AUTO_INCREMENT for table `merk`
--
ALTER TABLE `merk`
MODIFY `id_merk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `metro`
--
ALTER TABLE `metro`
MODIFY `id_metro` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `port`
--
ALTER TABLE `port`
MODIFY `id_port` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4444;
--
-- AUTO_INCREMENT for table `tera`
--
ALTER TABLE `tera`
MODIFY `id_tera` int(11) NOT NULL AUTO_INCREMENT;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `link`
--
ALTER TABLE `link`
ADD CONSTRAINT `link_ibfk_1` FOREIGN KEY (`id_port1`) REFERENCES `port` (`id_port`),
ADD CONSTRAINT `link_ibfk_2` FOREIGN KEY (`id_port2`) REFERENCES `port` (`id_port`);
--
-- Constraints for table `metro`
--
ALTER TABLE `metro`
ADD CONSTRAINT `metro_ibfk_1` FOREIGN KEY (`id_port_asal`) REFERENCES `port` (`id_port`),
ADD CONSTRAINT `metro_ibfk_2` FOREIGN KEY (`id_port_tujuan`) REFERENCES `port` (`id_port`);
--
-- Constraints for table `port`
--
ALTER TABLE `port`
ADD CONSTRAINT `port_ibfk_1` FOREIGN KEY (`id_merk`) REFERENCES `merk` (`id_merk`);
--
-- Constraints for table `tera`
--
ALTER TABLE `tera`
ADD CONSTRAINT `tera_ibfk_1` FOREIGN KEY (`id_port_asal`) REFERENCES `port` (`id_port`),
ADD CONSTRAINT `tera_ibfk_2` FOREIGN KEY (`id_port_tujuan`) REFERENCES `port` (`id_port`);
/*!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 */;
|
<reponame>Ionplus-AG/brahma<filename>schema/projects/project_advisor.sql
#
# copyright (c) Ionplus AG and contributors. all rights reserved.
# licensed under the mit license. see license file in the project root for details.
#
create table project_advisor (
name varchar(20) primary key,
sort_order int not null
) engine=innodb;
|
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 8.0.17 - MySQL Community Server - GPL
-- Server OS: Win64
-- HeidiSQL Version: 10.3.0.5771
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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' */;
-- Dumping structure for table he.assessment
CREATE TABLE IF NOT EXISTS `assessment` (
`AssessmentID` int(11) NOT NULL AUTO_INCREMENT,
`Sequence` int(11) NOT NULL,
`Question` varchar(255) NOT NULL,
`answerA` varchar(255) NOT NULL,
`answerB` varchar(255) NOT NULL,
`answerC` varchar(255) NOT NULL,
`answerD` varchar(255) NOT NULL,
`answerAPoints` int(11) NOT NULL,
`answerBPoints` int(11) NOT NULL,
`answerCPoints` int(11) NOT NULL,
`answerDPoints` int(11) NOT NULL,
`Status` int(11) NOT NULL,
`Category` int(11) NOT NULL,
PRIMARY KEY (`AssessmentID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- Dumping data for table he.assessment: ~0 rows (approximately)
/*!40000 ALTER TABLE `assessment` DISABLE KEYS */;
INSERT INTO `assessment` (`AssessmentID`, `Sequence`, `Question`, `answerA`, `answerB`, `answerC`, `answerD`, `answerAPoints`, `answerBPoints`, `answerCPoints`, `answerDPoints`, `Status`, `Category`) VALUES
(1, 1, ' Feeling nervous, anxious or on edge', '0', '1', '2', '3', 0, 1, 2, 3, 1, 1),
(2, 2, 'Not being able to stop or control worrying', '0', '1', '2', '3', 0, 1, 2, 3, 1, 1),
(3, 3, 'Worrying too much about different things', '0', '1', '2', '3', 0, 1, 2, 3, 1, 1),
(4, 4, 'Trouble relaxing', '0', '1', '2', '3', 0, 1, 2, 3, 1, 1);
/*!40000 ALTER TABLE `assessment` ENABLE KEYS */;
-- Dumping structure for table he.assessment_details
CREATE TABLE IF NOT EXISTS `assessment_details` (
`AssessmentDetailID` int(11) NOT NULL AUTO_INCREMENT,
`AssessmentID` int(11) NOT NULL,
`UserID` int(11) NOT NULL,
`Answer` varchar(255) NOT NULL,
`DateAnswered` varchar(255) NOT NULL,
PRIMARY KEY (`AssessmentDetailID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- Dumping data for table he.assessment_details: ~0 rows (approximately)
/*!40000 ALTER TABLE `assessment_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `assessment_details` ENABLE KEYS */;
-- Dumping structure for table he.habit
CREATE TABLE IF NOT EXISTS `habit` (
`HabitID` int(11) NOT NULL AUTO_INCREMENT,
`UserID` int(11) NOT NULL,
`HabitName` varchar(255) NOT NULL,
`HabitDate` varchar(255) NOT NULL,
`HabitTime` varchar(45) NOT NULL,
`HabitStatus` int(11) NOT NULL,
PRIMARY KEY (`HabitID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- Dumping data for table he.habit: ~0 rows (approximately)
/*!40000 ALTER TABLE `habit` DISABLE KEYS */;
/*!40000 ALTER TABLE `habit` ENABLE KEYS */;
-- Dumping structure for table he.mood
CREATE TABLE IF NOT EXISTS `mood` (
`MoodID` int(11) NOT NULL AUTO_INCREMENT,
`UserID` int(11) NOT NULL,
`Mood` varchar(255) NOT NULL,
`MoodDescription` varchar(255) NOT NULL,
`created_at` date NOT NULL,
`updated_at` date DEFAULT NULL,
PRIMARY KEY (`MoodID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- Dumping data for table he.mood: ~0 rows (approximately)
/*!40000 ALTER TABLE `mood` DISABLE KEYS */;
/*!40000 ALTER TABLE `mood` ENABLE KEYS */;
-- Dumping structure for table he.todo
CREATE TABLE IF NOT EXISTS `todo` (
`TodoID` int(11) NOT NULL AUTO_INCREMENT,
`UserID` int(11) NOT NULL,
`Note` varchar(255) NOT NULL,
`StartDate` datetime NOT NULL,
`EndDate` datetime NOT NULL,
PRIMARY KEY (`TodoID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- Dumping data for table he.todo: ~0 rows (approximately)
/*!40000 ALTER TABLE `todo` DISABLE KEYS */;
/*!40000 ALTER TABLE `todo` ENABLE KEYS */;
-- Dumping structure for table he.tokens
CREATE TABLE IF NOT EXISTS `tokens` (
`TokenID` int(11) NOT NULL AUTO_INCREMENT,
`TokenString` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`UserID` int(11) NOT NULL,
`DateCreated` datetime NOT NULL,
PRIMARY KEY (`TokenID`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;
-- Dumping data for table he.tokens: ~35 rows (approximately)
/*!40000 ALTER TABLE `tokens` DISABLE KEYS */;
INSERT INTO `tokens` (`TokenID`, `TokenString`, `UserID`, `DateCreated`) VALUES
(1, '$2a$10$SFvp8I6JNupkHxOsS/GesuZERLO4CXohx6d84culSDi4eSyqNcDXq', 1, '2021-06-30 02:08:46'),
(2, '$2a$10$AQq4VRERDOFJOd5BAc74Weq.OjMB3LBpImmZg4uuTKMb0/nDwOl2C', 1, '2021-06-30 03:12:01'),
(3, '$2a$10$Mu/tqYVchw3viVTVOS10l.08Kju63teYPpBOnBL5Pj6tYe.VqbXF2', 1, '2021-06-30 03:38:26'),
(4, '$2a$10$Is3DuW4niB1uXn1sAXew7.ornpz/BQXVfjDKegfBTYCS8K9FeAiTe', 1, '2021-06-30 04:02:06'),
(5, '$2a$10$Cro7nSRU2/gS2I9qT34QlO4qZLvDI4C5H9KSGM/ati0X83KYoVSWe', 1, '2021-06-30 04:17:03'),
(6, '$2a$10$17DktR0JAvrjzeLdXBz2WexuBwZSsPze4T7wG4opX0/bV3INYD2Uq', 1, '2021-06-30 05:39:03'),
(7, '$2a$10$1O2OAIMLByMNiM1/xjF17uEKAfeGhXE5GdYGORa.dvhH3SRGOEqEi', 1, '2021-06-30 05:39:21'),
(8, '$2a$10$0V4El9l6OFJ78rrkLUeRR.GjLSosH8waCpuJhNFuKVreHP2EZdcTi', 1, '2021-06-30 06:37:10'),
(9, '$2a$10$KuVXWjIjwvMPlapaLgdMI.z64XoHmG4Zx5DsjFvhiuWfQv.26CeiO', 1, '2021-06-30 06:37:20'),
(10, '$2a$10$DJJ6gxtNwhkWjWfqUf7oBe5TNffXVTn7slgcYbZYhUSCc11qfzHfe', 1, '2021-06-30 07:51:47'),
(11, '$2a$10$GVtDoivf/RovfTxaSdggIO3.mdIhUBoJnIqODAwbKYAlpSLntbKk2', 1, '2021-06-30 07:52:07'),
(12, '$2a$10$fLRm/QSaKYi6S.H04EbNtOgejpFZz5QaYS2nvkOQ22UTYwaNHixR6', 1, '2021-06-30 07:52:19'),
(13, '$2a$10$9HiVuZIv68IBu61WmnISbesDLMw1Y5D6ypsUJfN28fAA/.wGp0Bm6', 1, '2021-06-30 07:54:55'),
(14, '$2a$10$NzQBcKAu2wo4Uhmlx1lFR.5u2/E.D7NtiCzdYUBrDcjK0eP.BgutS', 1, '2021-06-30 07:56:20'),
(15, '$2a$10$gDaTXEGodR5g3cP3VViakuCcoMTs1wLJjqphbJnCxioOcruoCRmvW', 1, '2021-06-30 08:07:12'),
(16, '$2a$10$coIqHkpnFOIi0.5/SCSAju2rGkKQcSa96oU1B9uygE9T7SyaFvmjy', 1, '2021-06-30 08:23:48'),
(17, '$2a$10$dyBGC2ktRrChqC3KtjxSrOt0m5iKYq6UxvaIGeG5UHjY3c/YP6Nb6', 1, '2021-06-30 08:26:41'),
(18, '$2a$10$ujqY6PyUzfr0CJ8O9WeW1e1yYwHrEuh8GHiKD7MDude1GsSe8.jSS', 1, '2021-06-30 08:53:30'),
(19, '$2a$10$7vNU58m4z0zWyZ2Rp62NMupKUXai4N2KsGpXOZqPAMYbQV3XPadaa', 1, '2021-06-30 08:53:39'),
(20, '$2a$10$p6lzSfTaiFR2KYYWucpJSOMqhdsibG6c/R.AWzdbbig53t9SK/7nS', 1, '2021-06-30 09:20:27'),
(21, '$2a$10$U8Vu4D183IotnS8qLUu7TurbGING8Kw66nkx0odOVQYoCF.7g88ze', 1, '2021-06-30 10:49:12'),
(22, '$2a$10$4MKW2QDuJck0A4pxM/vtc.MIc96jjA9Po9/lQBLDtYEX/8LIBO3.a', 1, '2021-06-30 10:49:43');
/*!40000 ALTER TABLE `tokens` ENABLE KEYS */;
-- Dumping structure for table he.users
CREATE TABLE IF NOT EXISTS `users` (
`UserID` int(11) NOT NULL AUTO_INCREMENT,
`Username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`Password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_<PASSWORD> NOT NULL,
`UserType` int(11) NOT NULL,
`LastModifiedDate` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`UserID`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;
-- Dumping data for table he.users: ~2 rows (approximately)
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` (`UserID`, `Username`, `Password`, `UserType`, `LastModifiedDate`) VALUES
(1, '<EMAIL>', '<PASSWORD>', 1, '2021-06-01 18:46:59'),
(7, 'mak', '1234', 2, '2021-05-30 18:22:40');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
<reponame>zwan2016/LibrarySystem<filename>backup/Users.sql
USE Wan_0c49;
truncate table Users;
INSERT INTO Users VALUES (1,'<EMAIL>','e3afed0047b08059d0fada10f400c1e5',1,'Zicheng','Wan',23,'8646246828','240 Campus Drive Apt.E');
INSERT INTO Users VALUES (2,'<EMAIL>','0cbc6611f5540bd0809a388dc95a615b',0,'Sherry','Lyu',22,'6666666666','221 Baker Street Apt.B');
INSERT INTO Users VALUES (3,'<EMAIL>','71625e2d4d99b11fef6e5184912d7cf6',0,'yad','dde',19,'8979738377','yjnemdmndkjd');
|
alter table "public"."default_socle_container"
add constraint "default_socle_container_container_id_fkey"
foreign key ("container_id")
references "public"."default_socle_container"
("id") on update cascade on delete cascade;
|
<filename>src/Yaos.Sql.Database/Production/Tables/ProductInventory.sql<gh_stars>0
CREATE TABLE [Production].[ProductInventory] (
[ProductID] INT NOT NULL,
[LocationID] SMALLINT NOT NULL,
[Shelf] NVARCHAR (10) NOT NULL,
[Bin] TINYINT NOT NULL,
[Quantity] SMALLINT CONSTRAINT [DF_ProductInventory_Quantity] DEFAULT ((0)) NOT NULL,
[rowguid] UNIQUEIDENTIFIER CONSTRAINT [DF_ProductInventory_rowguid] DEFAULT (newid()) ROWGUIDCOL NOT NULL,
[ModifiedDate] DATETIME CONSTRAINT [DF_ProductInventory_ModifiedDate] DEFAULT (getdate()) NOT NULL,
CONSTRAINT [PK_ProductInventory_ProductID_LocationID] PRIMARY KEY CLUSTERED ([ProductID] ASC, [LocationID] ASC),
CONSTRAINT [CK_ProductInventory_Bin] CHECK ([Bin]>=(0) AND [Bin]<=(100)),
CONSTRAINT [CK_ProductInventory_Shelf] CHECK ([Shelf] like '[A-Za-z]' OR [Shelf]='N/A'),
CONSTRAINT [FK_ProductInventory_Location_LocationID] FOREIGN KEY ([LocationID]) REFERENCES [Production].[Location] ([LocationID]),
CONSTRAINT [FK_ProductInventory_Product_ProductID] FOREIGN KEY ([ProductID]) REFERENCES [Production].[Product] ([ProductID])
);
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Storage container on a shelf in an inventory location.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'COLUMN', @level2name = N'Bin';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Inventory location identification number. Foreign key to Location.LocationID. ', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'COLUMN', @level2name = N'LocationID';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Date and time the record was last updated.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'COLUMN', @level2name = N'ModifiedDate';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Product identification number. Foreign key to Product.ProductID.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'COLUMN', @level2name = N'ProductID';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Quantity of products in the inventory location.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'COLUMN', @level2name = N'Quantity';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'COLUMN', @level2name = N'rowguid';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Storage compartment within an inventory location.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'COLUMN', @level2name = N'Shelf';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Check constraint [Bin] BETWEEN (0) AND (100)', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'CK_ProductInventory_Bin';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Check constraint [Shelf] like ''[A-Za-z]'' OR [Shelf]=''N/A''', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'CK_ProductInventory_Shelf';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Default constraint value of GETDATE()', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'DF_ProductInventory_ModifiedDate';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Default constraint value of 0', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'DF_ProductInventory_Quantity';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Default constraint value of NEWID()', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'DF_ProductInventory_rowguid';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Foreign key constraint referencing Location.LocationID.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'FK_ProductInventory_Location_LocationID';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Foreign key constraint referencing Product.ProductID.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'FK_ProductInventory_Product_ProductID';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Primary key (clustered) constraint', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory', @level2type = N'CONSTRAINT', @level2name = N'PK_ProductInventory_ProductID_LocationID';
GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Product inventory information.', @level0type = N'SCHEMA', @level0name = N'Production', @level1type = N'TABLE', @level1name = N'ProductInventory';
|
<reponame>MarcPlaying/GGiveaways
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Erstellungszeit: 23. Feb 2019 um 21:44
-- Server-Version: 10.1.36-MariaDB
-- PHP-Version: 7.2.10
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 */;
--
-- Datenbank: `giveway`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `giveways`
--
CREATE TABLE `giveways` (
`id` int(11) NOT NULL,
`enabled` int(11) NOT NULL,
`Image` text NOT NULL,
`Title` varchar(300) NOT NULL,
`Description` varchar(1000) NOT NULL,
`Giveway` text NOT NULL,
`Timestamp` text NOT NULL,
`views` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`username` text NOT NULL,
`password` text NOT NULL,
`cookie` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `giveways`
--
ALTER TABLE `giveways`
ADD PRIMARY KEY (`id`);
--
-- Indizes für die Tabelle `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `giveways`
--
ALTER TABLE `giveways`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT für Tabelle `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
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 */;
|
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
--
--
-- Name: uuid-ossp; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;
--
-- Name: EXTENSION "uuid-ossp"; Type: COMMENT; Schema: -; Owner: -
--
SET search_path = public, pg_catalog;
--
-- Name: update_txid_column(); Type: FUNCTION; Schema: public; Owner: -
--
CREATE FUNCTION update_txid_column() RETURNS trigger
LANGUAGE plpgsql
AS $$
BEGIN
NEW.txid = txid_current();
RETURN NEW;
END;
$$;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: devices; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE devices (
uuid uuid DEFAULT uuid_generate_v4() NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone
);
--
-- Name: records; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE records (
uuid uuid DEFAULT uuid_generate_v4() NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone,
device_id uuid NOT NULL,
data json NOT NULL,
txid bigint DEFAULT txid_current()
);
--
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE schema_migrations (
filename text NOT NULL
);
--
-- Name: devices_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY devices
ADD CONSTRAINT devices_pkey PRIMARY KEY (uuid);
--
-- Name: records_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY records
ADD CONSTRAINT records_pkey PRIMARY KEY (uuid);
--
-- Name: schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY schema_migrations
ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (filename);
--
-- Name: update_records_txid; Type: TRIGGER; Schema: public; Owner: -
--
CREATE TRIGGER update_records_txid BEFORE UPDATE ON records FOR EACH ROW EXECUTE PROCEDURE update_txid_column();
--
-- PostgreSQL database dump complete
--
INSERT INTO "schema_migrations" ("filename") VALUES ('1425504596_create_records.rb');
INSERT INTO "schema_migrations" ("filename") VALUES ('1425505928_create_devices.rb');
INSERT INTO "schema_migrations" ("filename") VALUES ('1425512651_moar_on_record.rb');
INSERT INTO "schema_migrations" ("filename") VALUES ('1425518709_record-txid.rb');
|
<filename>src/main/resources/db/migration/V3__Create_Memory_Table_Ong.sql
CREATE MEMORY TABLE "PUBLIC"."ONG"(
"ID" INTEGER DEFAULT NEXT VALUE FOR "PUBLIC"."SYSTEM_SEQUENCE_DCC965DD_D94B_4FFC_9F50_A026DB2FF8B3" NOT NULL NULL_TO_DEFAULT SEQUENCE "PUBLIC"."SYSTEM_SEQUENCE_DCC965DD_D94B_4FFC_9F50_A026DB2FF8B3",
"CITY" VARCHAR(255),
"EMAIL" VARCHAR(255),
"NAME" VARCHAR(255),
"UF" VARCHAR(255),
"WHATSAPP" VARCHAR(255),
"USER_ONG_ID" INTEGER
);
ALTER TABLE "PUBLIC"."ONG" ADD CONSTRAINT "PUBLIC"."CONSTRAINT_1" PRIMARY KEY("ID"); |
-- some setting to make the output less verbose
\set QUIET on
\set ON_ERROR_STOP on
set client_min_messages to warning;
-- load some variables from the env
\setenv base_dir :DIR
\set base_dir `if [ $base_dir != ":"DIR ]; then echo $base_dir; else echo "/docker-entrypoint-initdb.d"; fi`
\set anonymous `echo $DB_ANON_ROLE`
\set authenticator `echo $DB_USER`
\set authenticator_pass `echo <PASSWORD>`
\set jwt_secret `echo $JWT_SECRET`
\set quoted_jwt_secret '\'' :jwt_secret '\''
\echo # Loading database definition
begin;
create extension if not exists pgcrypto;
\echo # Loading helper libs
-- functions for storing different settins in a table
\ir libs/settings.sql
-- functions for reading different http request properties exposed by PostgREST
\ir libs/request.sql
-- functions for for setting response headers and cookies
\ir libs/response.sql
-- functions for JWT token generation in the database context
\ir libs/pgjwt.sql
\echo # Loading application definitions
-- private schema where all tables will be defined
-- you can use othere names besides "data" or even spread the tables
-- between different schemas. The schema name "data" is just a convention
\ir data/schema.sql
-- entities inside this schema (which should be only views and stored procedures) will be
-- exposed as API endpoints. Access to them however is still governed by the
-- privileges defined for the current PostgreSQL role making the requests
\ir api/schema.sql
\echo # Loading roles and privilege settings
\ir authorization/roles.sql
\ir authorization/privileges.sql
select settings.set('jwt_secret', :quoted_jwt_secret);
select settings.set('jwt_lifetimet', '3600');
-- alter role usually does nto work in cloud databases
-- alter role :"authenticator" set pgrst.jwt_lifetimet = '3600';
-- alter role :"authenticator" set pgrst.jwt_secret = :quoted_jwt_secret;
\echo # Loading sample data
\ir sample_data/data.sql
commit;
\echo # ==========================================
|
<filename>Oqtane.Server/Scripts/Tenant.02.00.02.02.sql<gh_stars>1-10
/*
Version 2.0.2 Tenant migration script
*/
UPDATE [dbo].[Site] SET DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.DefaultTitle, Oqtane.Client' WHERE DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.Container, Oqtane.Client';
GO
UPDATE [dbo].[Site] SET DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.DefaultNoTitle, Oqtane.Client' WHERE DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.NoTitle, Oqtane.Client';
GO
UPDATE [dbo].[Page] SET DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.DefaultTitle, Oqtane.Client' WHERE DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.Container, Oqtane.Client';
GO
UPDATE [dbo].[Page] SET DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.DefaultNoTitle, Oqtane.Client' WHERE DefaultContainerType = 'Oqtane.Themes.OqtaneTheme.NoTitle, Oqtane.Client';
GO
UPDATE [dbo].[PageModule] SET ContainerType = 'Oqtane.Themes.OqtaneTheme.DefaultTitle, Oqtane.Client' WHERE ContainerType = 'Oqtane.Themes.OqtaneTheme.Container, Oqtane.Client';
GO
UPDATE [dbo].[PageModule] SET ContainerType = 'Oqtane.Themes.OqtaneTheme.DefaultNoTitle, Oqtane.Client' WHERE ContainerType = 'Oqtane.Themes.OqtaneTheme.NoTitle, Oqtane.Client';
GO
|
--
-- Migration @ 15-08-14 | Table "comments"
--
--
-- Name: comments; Type: TABLE; Schema: schema_name; Owner: pgadmin; Tablespace:
--
CREATE TABLE schema_name.comments (
id integer NOT NULL,
xmi_id character varying,
"isSpecification" boolean,
body character varying,
class_id character varying,
package_id integer,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: comments_id_seq; Type: SEQUENCE; Schema: schema_name; Owner: pgadmin
--
CREATE SEQUENCE comments_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: comments_id_seq; Type: SEQUENCE OWNED BY; Schema: schema_name; Owner: pgadmin
--
ALTER SEQUENCE comments_id_seq OWNED BY comments.id;
--
-- Name: id; Type: DEFAULT; Schema: schema_name; Owner: pgadmin
--
ALTER TABLE ONLY comments ALTER COLUMN id SET DEFAULT nextval('comments_id_seq'::regclass);
--
-- Name: comments_pkey; Type: CONSTRAINT; Schema: schema_name; Owner: pgadmin; Tablespace:
--
ALTER TABLE ONLY comments
ADD CONSTRAINT comments_pkey PRIMARY KEY (id); |
-- file:enum.sql ln:194 expect:true
SELECT 'purple'::rainbow::rgb
|
CREATE OR REPLACE VIEW USR_RELGER_TES.MAG_V_NOTAFISCAL_VENDA_NOVA AS
SELECT NF.FILIAL_EMISSAO_NF,
NF.NUMERO_NF,
NF.SERIE_NF,
NF.TIPO_NOTA,
NF.DATA_NF,
NF.CODIGO_CLIENTE,
NF.VENDEDOR_NUMERO,
NF.FILIAL_VENDA,
NF.FILIAL_SAIDA,
NF.FILIAL_ENTREGA,
NF.DATA_PEDIDO,
ITEM.PRODUTO_GEMCO,
ITPROD.CODPRODDF PRODUTO_IBM,
ITEM.QUANTIDADE,
ITPROD.DESCRICAO,
ITPROD.CODFORNE,
ITPROD.CODITFORNE,
ITEM.CODIGO_LINHA CODLINHA,
LINHA.DESCRICAO LINHA,
ITEM.CODIGO_FAMILIA CODFAM,
FAMILIA.DESCRICAO FAMILIA,
ITEM.QUANTIDADE_DEVOLVIDA,
ITEM.VALOR_UNITARIO_NF,
ITEM.VALOR_BASE_ICMS,
ITEM.VALOR_ICMS,
ITEM.VALOR_BASE_ICMS_ST,
ITEM.VALOR_ICMS_ST,
ITEM.VALOR_ICMS_RET VALOR_ICMS_RETIDO_ST,
ITEM.VALOR_PIS,
ITEM.VALOR_COFINS,
ITEM.VALOR_REBATIDO,
ITEM.VALOR_ICMS_PV,
ITEM.VALOR_PIS_PV,
ITEM.VALOR_COFINS_PV,
ITEM.VALOR_ICMS_RET_PV VALOR_ICMS_RETIDO_ST_PV,
ITEM.CUSTO_INVENTARIO_NF CUSTO_INVENTARIO,
ITEM.CUSTO_TECNICO_NF CUSTO_TECNICO,
ITEM.CUSTO_FISCAL_NF CUSTO_FISCAL,
ITEM.CUSTO_GERENCIAL_NF CUSTO_GERENCIAL,
ITEM.CUSTO_COMERCIAL_NF CUSTO_COMERCIAL,
ITEM.PEDIDO_VENDA,
ITEM.SLIP,
ITEM.SETOR_RESULTADOS,
ITEM.PRECO_TABELA,
ITEM.SITUACAO_PRODUTO,
ITEM.VALOR_BONUS_GERADO,
ITEM.VALOR_BASE_MVA,
ITEM.ALIQ_MVA ALIQUOTA_MVA,
ITEM.ALIQ_ICMS ALIQUOTA_ICMS,
NF.DATA_INTEGRACAO,
ITEM.ALIQICMRED,
NF.ESTADO,
NF.NATJUR,
NF.NUMDOC_INSCR,
ITEM.CLASFISC,
ITEM.ORIGEM,
ITEM.CTF,
Item.Difalaliqicms,
Item.Difalaliqredicms,
Item.Difalaliqadicpobreza,
Item.Difalvlbase,
Item.Difalvlorigem,
Item.Difalvldestino,
Item.Difalvladicpobreza,
Item.Vlmontagem,
Item.Difalvlorigem_Pv,
Item.Difalvldestino_Pv,
Item.Difalvladicpobreza_Pv
FROM USR_RELGER.MAG_T_VD_NFSAIDA_ITEM ITEM,
USR_RELGER.MAG_T_VD_NFSAIDA NF,
USR_RELGER.MAG_T_VD_ITPROD ITPROD,
USR_RELGER.MAG_T_VD_LINHA LINHA,
USR_RELGER.MAG_T_VD_FAMILIA FAMILIA
WHERE NF.FILIAL_EMISSAO_NF = ITEM.FILIAL_EMISSAO_NF
AND NF.NUMERO_NF = ITEM.NUMERO_NF
AND NF.SERIE_NF = ITEM.SERIE_NF
AND NF.TIPO_NOTA = ITEM.TIPO_NOTA
AND NF.DATA_NF = ITEM.DATA_NF
AND ITEM.PRODUTO_GEMCO = ITPROD.CODITPROD
AND ITEM.CODIGO_LINHA = LINHA.CODLINHA
AND ITEM.CODIGO_FAMILIA = FAMILIA.CODFAM |
CREATE VIEW [app].[StandbetreiberView] AS Select Mitglied.Name, Adresse.StrasseFull, Ort.PLZ, Ort.Bezeichnung, Mitglied.Email, Mitglied.Telefon, Mitglied.Geburtsdatum, Mitglied.ProvisorischesMitglied, Mitglied.ProbezeitVon, Mitglied.ProbezeitBis from app.Standbetreiber as Standbetreiber
inner join app.Mitglied as Mitglied
on Standbetreiber.MitgliedId = Mitglied.MitgliedId
inner join app.Adresse as Adresse
on Mitglied.AdresseId = Adresse.AdresseId
inner join app.Ort as Ort
on Adresse.OrtId = Ort.OrtId |
--
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may not use this file except in compliance
-- with the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing,
-- software distributed under the License is distributed on an
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-- KIND, either express or implied. See the License for the
-- specific language governing permissions and limitations
-- under the License.
--
INSERT INTO `stretchy_report` (`report_name`, `report_type`, `report_subtype`, `report_category`, `report_sql`, `description`, `core_report`, `use_report`) VALUES ('Client Saving Transactions', 'Pentaho', NULL, 'Savings', NULL, NULL, 0, 0);
INSERT INTO `stretchy_report_parameter` (`report_id`, `parameter_id`, `report_parameter_name`) VALUES ((select id from stretchy_report where report_name = 'Client Saving Transactions'), (select id from stretchy_parameter where parameter_name='startDateSelect'), 'startDate');
INSERT INTO `stretchy_report_parameter` (`report_id`, `parameter_id`, `report_parameter_name`) VALUES ((select id from stretchy_report where report_name = 'Client Saving Transactions'), (select id from stretchy_parameter where parameter_name='endDateSelect'), 'endDate');
INSERT INTO `stretchy_report_parameter` (`report_id`, `parameter_id`, `report_parameter_name`) VALUES ((select id from stretchy_report where report_name = 'Client Saving Transactions'), (select id from stretchy_parameter where parameter_name='selectAccount'), 'accountNo');
INSERT INTO `stretchy_report` (`report_name`, `report_type`, `report_subtype`, `report_category`, `report_sql`, `description`, `core_report`, `use_report`) VALUES ('Client Loan Account Schedule', 'Pentaho', NULL, 'Loans', NULL, NULL, 0, 0);
INSERT INTO `stretchy_report_parameter` (`report_id`, `parameter_id`, `report_parameter_name`) VALUES ((select id from stretchy_report where report_name = 'Client Loan Account Schedule'), (select id from stretchy_parameter where parameter_name='startDateSelect'), 'startDate');
INSERT INTO `stretchy_report_parameter` (`report_id`, `parameter_id`, `report_parameter_name`) VALUES ((select id from stretchy_report where report_name = 'Client Loan Account Schedule'), (select id from stretchy_parameter where parameter_name='endDateSelect'), 'endDate');
INSERT INTO `stretchy_report_parameter` (`report_id`, `parameter_id`, `report_parameter_name`) VALUES ((select id from stretchy_report where report_name = 'Client Loan Account Schedule'), (select id from stretchy_parameter where parameter_name='selectAccount'), 'accountNo'); |
create table money_transactions (
id text not null constraint money_transactions_pk primary key,
user_id text not null references users(id),
date date not null,
category varchar not null,
payee varchar,
comment varchar,
outcome_account varchar,
outcome_amount double precision,
outcome_currency varchar,
income_account varchar,
income_amount double precision,
income_currency varchar,
status varchar not null
);
create unique index money_transactions_id_uindex on money_transactions (id);
|
CREATE TABLE sys_user
(
id BIGINT NOT NULL AUTO_INCREMENT
COMMENT '用户ID',
user_name VARCHAR(50) COMMENT '用户名',
user_password VARCHAR(50) COMMENT '密码',
user_email VARCHAR(50) COMMENT '邮箱',
user_info TEXT COMMENT '简介',
head_img BLOB COMMENT '头像',
create_time DATETIME COMMENT '创建时间',
PRIMARY KEY (id)
);
ALTER TABLE sys_user
COMMENT '用户表';
CREATE TABLE sys_role
(
id BIGINT NOT NULL AUTO_INCREMENT
COMMENT '角色id',
role_name VARCHAR(50) COMMENT '角色名',
enabled INT COMMENT '有效标识',
create_by BIGINT COMMENT '创建人',
create_time DATETIME COMMENT '创建时间',
PRIMARY KEY (id)
);
ALTER TABLE sys_role
COMMENT '角色表';
CREATE TABLE sys_privilege
(
id BIGINT NOT NULL AUTO_INCREMENT
COMMENT '权限ID',
privilege_name VARCHAR(50) COMMENT '权限名称',
privilege_url VARCHAR(50) COMMENT '权限url',
PRIMARY KEY (id)
);
ALTER TABLE sys_privilege
COMMENT '权限表';
CREATE TABLE sys_user_role
(
user_id BIGINT COMMENT '用户ID',
role_id BIGINT COMMENT '角色ID'
);
ALTER TABLE sys_user_role
COMMENT '用户角色关系表';
CREATE TABLE sys_role_privilege
(
role_id BIGINT COMMENT '角色ID',
privilege_id BIGINT COMMENT '权限ID'
);
ALTER TABLE sys_role_privilege
COMMENT '角色权限关联表'
|
CREATE TABLE [SqlTest].[FIleTable01]
AS FILETABLE WITH (FileTable_Directory = 'FileTable01')
|
<reponame>zhengant/verdictdb<filename>src/test/resources/tpch_test_query/query8_postgres.sql<gh_stars>0
select
o_year,
sum(case
when nation = 'PERU' then volume
else 0
end) as numerator, sum(volume) as demoninator
from
(
select
substr(cast(o_orderdate AS TEXT),1,4) as o_year,
l_extendedprice * (1 - l_discount) as volume,
n2.n_name as nation
from
lineitem_scrambled join orders_scrambled on l_orderkey = o_orderkey
join supplier on s_suppkey = l_suppkey
join part on p_partkey = l_partkey
join customer on o_custkey = c_custkey
join nation n1 on c_nationkey = n1.n_nationkey
join region on n1.n_regionkey = r_regionkey
join nation n2 on s_nationkey = n2.n_nationkey
where
r_name = 'AMERICA'
and o_orderdate between '1995-01-01' and '1996-12-31'
and p_type = 'ECONOMY ANODIZED STEEL' ) as all_nations
group by
o_year
order by
o_year |
delete from Log;
delete from Status;
delete from Branch;
delete from Repository;
delete from RepositoryGroup;
|
drop procedure if exists ui_get_mapped_group_actions_list;
delimiter $$
create procedure ui_get_mapped_group_actions_list(i_start_from int(10),
i_records_count int(10),
i_order_field_number int(10),
i_order_type varchar(4),
i_grop_id int(10),
i_action_name varchar(100)
)
main_sql:
begin
call int_group_actions_list(i_start_from,
i_records_count,
i_order_field_number,
i_order_type,
i_grop_id,
"M",
i_action_name
);
end
$$
delimiter ;
call save_routine_information('ui_get_mapped_group_actions_list',
concat_ws(',',
'grop_id int',
'group_name varchar',
'subsystem_name varchar',
'actn_id int',
'action_name varchar',
'mapping_status varchar'
)
); |
-- data generated by /usr/local/bin/datafiller version 2.0.0 (r792 on 2014-03-23) for postgresql
-- fill table enum_value (5)
\echo # filling table enum_value (5)
COPY enum_value (enum_value_id) FROM STDIN (ENCODING 'utf-8');
3000
3001
3002
3000
3001
\.
-- fill table place (10)
\echo # filling table place (10)
COPY place (place_id,place_enum,address,action_enum) FROM STDIN (ENCODING 'utf-8');
1 3001 address_2_2_2_2_ 2000
2 3000 address_6_6_6 2000
3 3001 address_9_9_9 2000
4 3001 address_5_5_5_5_ 2001
5 3002 address_5_5_5_5_ 2001
6 3000 address_5_5_5_5_ 2000
7 3001 address_6_6_6 2000
8 3000 address_4_ 2001
9 3000 address_9_9_9 2001
10 3001 address_10 2001
\.
-- restart sequences
-- analyze modified tables
ANALYZE enum_value;
ANALYZE place;
|
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('Aliens', '2019-07-18T10:00:00Z', 10);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('Die Hard', '2019-07-18T10:00:00Z', 12);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('Die Hard', '2019-07-18T10:01:00Z', 12);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('The Godfather', '2019-07-18T10:01:31Z', 12);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('Die Hard', '2019-07-18T10:01:36Z', 24);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('The Godfather', '2019-07-18T10:02:00Z', 18);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('The Big Lebowski', '2019-07-18T11:03:21Z', 12);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('The Big Lebowski', '2019-07-18T11:03:50Z', 12);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('The Godfather', '2019-07-18T11:40:00Z', 36);
INSERT INTO MOVIE_TICKET_SALES (title, sale_ts, ticket_total_value) VALUES ('The Godfather', '2019-07-18T11:40:09Z', 18);
|
<gh_stars>1-10
{### Clear breakpoints for debugging ###}
{% if session_id %}
SELECT * FROM pldbg_drop_breakpoint({{session_id}}::int, {{foid}}::OID, {{line_number}}::int)
{% endif %} |
CREATE TABLE ao_table (id int,
fname text,
lname text,
address1 text,
address2 text,
city text,
state text,
zip text)
WITH (appendonly=true, orientation=column)
DISTRIBUTED BY (id);
CREATE INDEX ON ao_table (id);
-- Bunch insert into AOCS table that affects auxiliary relations
INSERT INTO ao_table (id, fname, lname, address1, address2, city, state, zip)
SELECT i, 'Jon_' || i, 'Roberts_' || i, i || ' Main Street', 'Apartment ' || i, 'New York', 'NY', i::text
FROM generate_series(1, 100) AS i;
-- Wait for current backend to send locally accumulated statistics to collector
SELECT pg_sleep(1);
-- Wait for stats collector to update accumulated statistics
DO $$
DECLARE
start_time timestamptz := clock_timestamp();
updated bool;
BEGIN
FOR i IN 1 .. 300 LOOP
SELECT (sum(seq_scan) > 0) INTO updated
FROM gp_dist_random('pg_stat_user_tables') pgsut
JOIN pg_appendonly pgao ON pgsut.relid = pgao.segrelid
WHERE pgao.relid = 'ao_table'::regclass;
EXIT WHEN updated;
PERFORM pg_sleep(0.1);
PERFORM pg_stat_clear_snapshot();
END LOOP;
RAISE log 'wait_for_stats delayed % seconds',
EXTRACT(epoch FROM clock_timestamp() - start_time);
END;
$$ LANGUAGE plpgsql;
-- Check statistics on auxiliary relations
WITH aux_relids_row AS (
SELECT
segrelid::regclass, blkdirrelid::regclass, visimaprelid::regclass
FROM pg_appendonly
WHERE relid = 'ao_table'::regclass
), aux_relids AS (
SELECT segrelid AS relid FROM aux_relids_row
UNION ALL
SELECT blkdirrelid AS relid FROM aux_relids_row
UNION ALL
SELECT visimaprelid AS relid FROM aux_relids_row
), sum_relstats AS (
SELECT
regexp_replace(relname, '_[0-9]+$', '') AS relation,
sum(seq_scan) AS seq_scan,
sum(seq_tup_read) AS seq_tup_read,
sum(idx_scan) AS idx_scan,
sum(idx_tup_fetch) AS idx_tup_fetch,
sum(n_tup_ins) AS n_tup_ins,
sum(n_tup_upd) AS n_tup_upd,
sum(n_tup_del) AS n_tup_del,
sum(n_tup_hot_upd) AS n_tup_hot_upd,
sum(n_live_tup) AS n_live_tup,
sum(n_dead_tup) AS n_dead_tup,
sum(n_mod_since_analyze) AS n_mod_since_analyze
FROM gp_dist_random('pg_stat_user_tables')
WHERE relid IN (SELECT relid FROM aux_relids)
GROUP BY relation
)
SELECT
relation,
seq_scan > 0 AS seq_scan,
CASE WHEN relation = 'pg_aocsseg' THEN seq_tup_read > 0
ELSE seq_tup_read = 0
END AS seq_tup_read,
CASE WHEN relation = 'pg_aocsseg' THEN idx_scan IS null
ELSE idx_scan > 0
END AS idx_scan,
CASE WHEN relation = 'pg_aocsseg' THEN idx_tup_fetch IS null
ELSE idx_tup_fetch = 0
END AS idx_tup_fetch,
CASE WHEN relation = 'pg_aovisimap' THEN n_tup_ins = 0
ELSE n_tup_ins > 0
END AS n_tup_ins,
CASE WHEN relation = 'pg_aocsseg' THEN n_tup_upd > 0
ELSE n_tup_upd = 0
END AS n_tup_upd,
n_tup_del = 0,
CASE WHEN relation = 'pg_aocsseg' THEN n_tup_hot_upd > 0
ELSE n_tup_hot_upd = 0
END AS n_tup_hot_upd,
CASE WHEN relation = 'pg_aovisimap' THEN n_live_tup = 0
ELSE n_live_tup > 0
END AS n_live_tup,
CASE WHEN relation = 'pg_aocsseg' THEN n_dead_tup > 0
ELSE n_dead_tup = 0
END AS n_dead_tup,
CASE WHEN relation = 'pg_aovisimap' THEN n_mod_since_analyze = 0
ELSE n_mod_since_analyze > 0
END AS n_mod_since_analyze
FROM sum_relstats
ORDER BY relation;
WITH aux_relids_row AS (
SELECT
segrelid::regclass, blkdirrelid::regclass, visimaprelid::regclass
FROM pg_appendonly
WHERE relid = 'ao_table'::regclass
), aux_relids AS (
SELECT segrelid AS relid FROM aux_relids_row
UNION ALL
SELECT blkdirrelid AS relid FROM aux_relids_row
UNION ALL
SELECT visimaprelid AS relid FROM aux_relids_row
), sum_relstats AS (
SELECT
regexp_replace(relname, '_[0-9]+$', '') AS relation,
sum(heap_blks_read) AS heap_blks_read,
sum(heap_blks_hit) AS heap_blks_hit,
sum(idx_blks_read) AS idx_blks_read,
sum(idx_blks_hit) AS idx_blks_hit
FROM gp_dist_random('pg_statio_user_tables') pgs_ut
WHERE relid IN (SELECT relid FROM aux_relids)
GROUP BY relation
)
SELECT
relation,
CASE WHEN relation = 'pg_aovisimap' THEN heap_blks_read + heap_blks_hit = 0
ELSE heap_blks_read + heap_blks_hit > 0
END AS heap_blks_access,
CASE WHEN relation = 'pg_aocsseg' THEN idx_blks_read + idx_blks_hit IS null
ELSE idx_blks_read + idx_blks_hit > 0
END AS idx_blks_access
FROM sum_relstats
ORDER BY relation;
WITH aux_relids_row AS (
SELECT
segrelid::regclass, blkdirrelid::regclass, visimaprelid::regclass
FROM pg_appendonly
WHERE relid = 'ao_table'::regclass
), aux_relids AS (
SELECT segrelid AS relid FROM aux_relids_row
UNION ALL
SELECT blkdirrelid AS relid FROM aux_relids_row
UNION ALL
SELECT visimaprelid AS relid FROM aux_relids_row
), sum_indstats AS (
SELECT
regexp_replace(indexrelname, '_[0-9]+', '') AS index,
sum(idx_scan) AS idx_scan,
sum(idx_tup_read) AS idx_tup_read,
sum(idx_tup_fetch) AS idx_tup_fetch
FROM gp_dist_random('pg_stat_user_indexes')
WHERE relid IN (SELECT relid FROM aux_relids)
GROUP BY index
)
SELECT
index,
idx_scan > 0 AS idx_scan,
idx_tup_read = 0 AS idx_tup_read,
idx_tup_fetch = 0 AS idx_tup_fetch
FROM sum_indstats
ORDER BY index;
WITH aux_relids_row AS (
SELECT
segrelid::regclass, blkdirrelid::regclass, visimaprelid::regclass
FROM pg_appendonly
WHERE relid = 'ao_table'::regclass
), aux_relids AS (
SELECT segrelid AS relid FROM aux_relids_row
UNION ALL
SELECT blkdirrelid AS relid FROM aux_relids_row
UNION ALL
SELECT visimaprelid AS relid FROM aux_relids_row
), sum_indstats AS (
SELECT
regexp_replace(indexrelname, '_[0-9]+', '') AS index,
sum(idx_blks_read) AS idx_blks_read,
sum(idx_blks_hit) AS idx_blks_hit
FROM gp_dist_random('pg_statio_user_indexes')
WHERE relid IN (SELECT relid FROM aux_relids)
GROUP BY index
)
SELECT
index,
idx_blks_hit + idx_blks_read > 0 AS idx_blks_access
FROM sum_indstats
ORDER BY index;
-- Drop AO and aux tables
DROP TABLE ao_table;
|
<filename>src/test/regress/sql/olap_window.sql
--
-- Exercise outfuncs
--
set Debug_print_parse=on;
set Debug_print_plan=on;
--
-- OLAP_WINDOW
--
-- Changes here should also be made to olap_window_seq.sql
---- 1 -- Null window specification -- OVER () ----
select row_number() over (), cn,pn,vn
from sale; -- mvd 1->1
select rank() over (), *
from sale; --error - order by req'd
select dense_rank() over (), *
from sale; --error - order by order by req'd
-- 2 -- Plan trivial windows over various input plan types ----
select row_number() over (), pn, cn, vn, dt, qty, prc
from sale; -- mvd 1->1
select row_number() over (), s.pn, s.cn, s.vn, s.dt, s.qty, s.prc, c.cname, c.cloc, p.pname, p.pcolor
from sale s, customer c, product p
where s.cn = c.cn and s.pn = p.pn; -- mvd 1->1
select row_number() over (), vn, count(*), sum(qty*prc) as amt
from sale group by vn; -- mvd 1->1
select row_number() over (), name, loc
from (select vname, vloc from vendor union select cname, cloc from customer) r(name,loc); -- mvd 1->1
select row_number() over (), s
from generate_series(1,3) r(s); -- mvd 1->1
select row_number() over (), u, v
from ( values (1,2),(3,4),(5,6) ) r(u,v); -- mvd 1->1
---- 3 -- Exercise WINDOW Clause ----
select row_number() over (w), * from sale window w as () -- mvd 1->1
order by 1 desc; -- order 1
select row_number() over (w), * from sale
order by 1 desc
window w as (); --error - window can't follow order by
select count(*) over (w2) from customer
window
w1 as (),
w2 as (w1 partition by cn); --error - can't partition if referencing ordering window
select count(*) over (w2) from customer
window
w1 as (partition by cloc order by cname),
w2 as (w1 order by cn); --error - can't reorder the ordering window
select count(*) over (w2) from customer
window
w1 as (order by cn rows unbounded preceding),
w2 as (w1); --error - ordering window can't specify framing
select * from sale
window
w as (partition by pn),
wa as (w order by cn),
wb as (w order by vn),
waf as (wa rows between 2 preceding and 3 preceding),
wbf as (wb range between 2 preceding and 3 preceding); --mvd 3->1
select * from customer
window
w as (partition by cn),
w as (w order by cname); --error - can't refer to window in its definition
select * from customer
window w as (w order by cname); --error - can't refer to window in its definition
-- test the frame parser
select cn,
count(*) over (order by cn range '1'::interval preceding)
from customer; -- error, type mismatch
select cn,
count(*) over (order by cn range between '-11' preceding and '-2' following)
from customer; -- error, negative values not permitted
select cn,
sum(cn) over (order by cn range NULL preceding)
from customer; -- we don't permit NULL
select cn,
sum(cn) over (order by cn range '1'::float8 preceding)
from customer; -- this, however, should work
---- 4 -- Partitioned, non-ordered window specifications -- OVER (PARTTION BY ...) ----
-- !
select row_number() over (partition by cn), cn, pn
from sale; -- mvd 2->1
select row_number() over (partition by pn, cn), cn, pn
from sale; -- mvd 2,3->1
select rank() over (partition by cn), cn, pn
from sale; --error - rank requires ordering
select dense_rank() over (partition by cn), cn, pn
from sale; --error - dense_rank requires ordering
select row_number() over (partition by pname, cname), pname, cname
from sale s, customer c, product p
where s.cn = c.cn and s.pn = p.pn; -- mvd 2,3->1
select row_number() over (partition by vn), vn, count(*)
from sale
group by vn; -- mvd 2->1
select row_number() over (partition by count(*)), vn, count(*)
from sale
group by vn; -- mvd 3->1
---- 5 -- Ordered, non-partitioned window specifications -- OVER (ORDER BY ...) ----
select row_number() over (order by cn), cn, pn
from sale; -- mvd 2->1
select row_number() over (order by pn desc), cn, pn
from sale; -- mvd 3->1
select row_number() over (order by pn, cn desc), cn, pn
from sale; -- mvd 2,3->1
select rank() over (order by cn), cn, pn
from sale; -- mvd 1->-- mvd
select rank() over (order by pn desc), cn, pn
from sale; -- mvd 1->2,3
select rank() over (order by pn, cn desc), cn, pn
from sale; -- mvd 1->2,3
select dense_rank() over (order by cn), cn, pn
from sale; -- mvd 1->2,3
select dense_rank() over (order by pn desc), cn, pn
from sale; -- mvd 1->2,3
select dense_rank() over (order by pn, cn desc), cn, pn
from sale; -- mvd 1->2,3
select rank() over (w), cn, pn
from sale
window w as (order by cn); -- mvd 1->2,3
select rank() over (w), cn, pn
from sale
window w as (order by pn desc); -- mvd 1->2,3
select rank() over (w), cn, pn
from sale
window w as (order by pn, cn desc); -- mvd 1->2,3
select row_number() over (order by pname, cname)
from sale s, customer c, product p
where s.cn = c.cn and s.pn = p.pn; -- mvd 1->1
select row_number() over (order by vn), vn, count(*)
from sale
group by vn; -- mvd 2->1
select row_number() over (order by count(*)), vn, count(*)
from sale
group by vn; -- mvd 3->1
-- Test NULLS FIRST/LAST in window clauses
create table tbl_with_nulls (t text, a int, b int);
insert into tbl_with_nulls values
( 'a', 1, 10),
( 'b', 1, 10),
( 'c', 1, 10),
( 'd', 2, 10),
( 'e', 2, 20),
( 'f', 2, 20),
( 'g', NULL, 20),
( 'h', NULL, 20),
( 'i', NULL, 30);
select t, a, b,
first_value(t) over (order by a nulls first, t),
first_value(t) over (order by a nulls last, t),
first_value(t) over (partition by b order by a nulls first, t),
first_value(t) over (partition by b order by a nulls last, t)
from tbl_with_nulls order by t;
-- Same with explicitly named window
select t, a, b,
first_value(t) over (w1),
first_value(t) over (w2),
first_value(t) over (w3),
first_value(t) over (w4)
from tbl_with_nulls
window w1 as (order by a nulls first, t),
w2 as (order by a nulls last, t),
w3 as (partition by b order by a nulls first, t),
w4 as (partition by b order by a nulls last, t)
order by t;
---- 6 -- Exclude clause ----
select vn, sum(vn) over (w)
from sale
window w as (order by vn rows between unbounded preceding and unbounded following exclude CURRENT ROW);
select vn, sum(vn) over (w)
from sale
window w as (order by vn rows between unbounded preceding and unbounded following exclude GROUP);
select vn, sum(vn) over (w)
from sale
window w as (order by vn rows between unbounded preceding and unbounded following exclude TIES);
select vn, sum(vn) over (w)
from sale
window w as (order by vn rows between unbounded preceding and unbounded following exclude NO OTHERS);
---- X -- Miscellaneous (e.g. old bugs, etc.) ----
-- Why was this here? We can't guarantee all correct answers will pass!
--select
-- cn*100 + row_number() over (),
-- cname,
-- row_number() over () - 1,
-- cn
--from customer; -- mvd 4->1,3
-- !
select row_number() over (), a,b
from (
select cn, count(*)
from sale
group by cn ) r(a,b); -- mvd 1->1
select *
from (
select row_number() over ()
from customer ) r(a),
(
select row_number() over ()
from sale ) s(a)
where s.a = r.a;
select
row_number() over (w),
rank() over (w),
dense_rank() over (w),
*
from sale
window w as (order by cn); -- mvd 4->1; 4->2; 4->3
select cn, row_number() over (w), count(*) over (w), rank() over (w), dense_rank() over (w), vn
from sale
window w as (partition by cn order by vn); -- mvd 1,4->2
select cn,vn, rank() over (order by cn), rank() over (order by cn,vn)
from sale;
-- !
select cn,vn,pn,
row_number() over (partition by cn),
rank() over (partition by cn order by vn),
rank() over (partition by cn order by vn,pn)
from sale; -- mvd 1->4
select cn,vn, row_number() over (partition by cn,vn),
cn,vn, rank() over (partition by cn,vn order by vn),
cn,vn,pn, rank() over (partition by cn,vn order by vn,pn)
from sale; -- mvd 1,2->3
select
dense_rank() over (order by pname, cname), cname, pname
from sale s, customer c, product p
where s.cn = c.cn and s.pn = p.pn;
select pn, cn, prc*qty,
row_number() over (partition by pn),
avg(prc*qty) over (partition by pn),
avg(prc*qty) over (partition by pn order by cn),
percent_rank() over (partition by pn order by cn),
rank() over (partition by pn order by cn)
from sale; -- mvd 1->4
select pn, row_number() over (partition by pn), avg(pn) over (partition by pn)
from sale; -- mvd 1->2
select pn, row_number() over (partition by pn), avg(pn) over (partition by pn)
from sale order by pn; -- mvd 1->2
select cn, row_number() over (partition by cn), avg(cn) over (partition by cn)
from sale; -- mvd 1->2
select cn, row_number() over (partition by cn)
from sale; -- mvd 1->2
-- !
select cn, vn, pn,
row_number() over (partition by cn),
row_number() over (partition by vn),
row_number() over (partition by pn)
from sale; -- mvd 1->4; 2->5; 3->6
select cn, vn, pn, avg(qty) over (partition by cn)
from sale; --mvd 1->4
select cn, vn, pn, avg(qty) over (partition by vn)
from sale; --mvd 2->4
-- !
select avg(qty) over (partition by cn)
from sale;
select ntile(3) over (order by cn)
from sale;
select dt, ntile(5) over (order by dt)
from sale;
-- !
select cn, dt, ntile(3) over (partition by cn order by dt)
from sale; -- mvd 1,2->3
-- !
select cn, dt,
ntile(3) over (partition by cn order by dt),
sum(prc) over (order by cn, dt)
from sale; -- mvd 1,2->3
-- !
select cn, dt,
percent_rank() over (partition by cn order by dt),
sum(prc) over (order by cn, dt)
from sale; -- mvd 1,2->3; 1,2->4
select
grouping(cn, vn, pn) as gr, cn, vn, pn,
sum(qty*prc), rank() over (partition by cn order by sum(qty*prc))
from sale
group by rollup(cn,vn,pn)
order by 2 desc, 5; -- order 2,5
select
grouping(cn, vn, pn) as gr, cn, vn, pn,
sum(qty*prc), rank() over (partition by cn order by sum(qty*prc))
from sale
group by rollup(cn,vn,pn)
order by 2, 5; -- order 2,5
select cn, vn, pn, rank() over (partition by vn order by cn)
from sale; --mvd 2->4
select row_number() over (partition by vn),
cn, vn, pn,
rank() over (partition by vn order by cn)
from sale; -- mvd 3->1
select row_number() over (partition by pn),
cn, vn, pn,
rank() over (partition by vn order by cn)
from sale; -- mvd 4->1
select cname,
rank() over (partition by sale.cn order by pn),
rank() over (partition by sale.cn order by vn)
from sale, customer
where sale.cn = customer.cn; -- mvd 1->2,3
-- Check that we invert count() correctly. count() is a special case
-- because when not invoked as count(*), it uses "any" as an argument.
-- This can trip us up.
SELECT sale.pn, COUNT(sale.pn) OVER(order by sale.pn)
FROM sale;
-- Reject DISTINCT qualified aggs when an ORDER BY is present
SELECT count(distinct sale.pn) OVER (order by sale.pn) from sale;
-- Aggregate nesting --
create table olap_tmp_for_window(g integer, h integer, i integer, x integer);
insert into olap_tmp_for_window values
(9,1,1,1),
(9,1,1,0),
(9,1,1,1),
(9,1,1,0),
(9,1,2,1),
(9,1,2,0),
(9,1,2,1),
(9,1,2,0),
(9,4,1,1),
(9,4,1,0),
(9,4,1,1),
(9,4,1,0),
(9,4,2,1),
(9,4,2,0),
(9,4,2,1),
(9,4,2,0),
(9,1,1,1),
(9,1,1,0),
(9,1,1,1),
(9,1,1,0),
(9,1,2,1),
(9,1,2,0),
(9,1,2,1),
(9,1,2,0),
(9,4,1,1),
(9,4,1,0),
(9,4,1,1),
(9,4,1,0),
(9,4,2,1),
(9,4,2,0),
(9,4,2,1),
(9,4,2,0);
select g,h,i,avg(x) as ax
from olap_tmp_for_window
group by g,h,i;
-- begin equivalent
select
g,
ax,
avg(g) over (partition by h order by i),
sum(ax) over (partition by i order by g)
from (select g,h,i,avg(x) as ax from olap_tmp_for_window group by g,h,i) rr;
select
g,
avg(x),
avg(g) over (partition by h order by i),
sum(avg(x)) over (partition by i order by g)
from olap_tmp_for_window
group by g,h,i;
-- end equivalent
drop table olap_tmp_for_window;
-- begin equivalent
select g, cn, vn, pn, s, rank() over (partition by g order by s)
from
(select
grouping(cn, vn, pn),
cn, vn, pn,
sum(qty*prc)
from sale
group by rollup(cn,vn,pn)) olap_tmp_for_window(g,cn,vn,pn,s)
order by 1,5; -- order 1,5
select
grouping(cn, vn, pn),
cn, vn, pn,
sum(qty*prc),
rank() over (partition by grouping(cn,vn,pn) order by sum(qty*prc))
from sale
group by rollup(cn,vn,pn)
order by 1,5; -- order 1,5
-- end equivalent
-- basic framed query test
select pn, count(*)
over (order by pn range between 1 preceding and 1 following) as c
from sale
order by pn;
-- Some data types, like date, when mixed with operators like "-" result in
-- data returned in a different data type. We're smart enough to detect
-- this but some tests are good.
select cn, dt, qty,
sum(qty) over (order by dt
range between '1 year'::interval preceding and
'1 month'::interval following)
from sale; --mvd 2->4
select cn, dt, qty, prc,
sum(qty) over (order by prc range '314.15926535'::float8 preceding) as sum
from sale; --mvd 4->5
-- There are some types we cannot cast back, test for those too
select cn, dt, qty,
sum(qty) over (order by dt
range '2007-08-05'::date preceding) as sum
from sale; --mvd 2->4
select cn, dt, qty,
sum(qty) over (order by dt
range '192.168.1.1'::inet preceding) as sum
from sale; --mvd 2->4
-- Test for FOLLOWING frames
select cn, prc, dt, sum(prc) over (order by ord,dt,cn rows between 2 following and 3 following) as f from sale_ord;
-- Check that mixing cume_dist() with other window functions on the same
-- window does not result in badness
select cn, rank() over (w), cume_dist() over (w) from
customer
window w as (order by cname);
-- Test for MPP-1762
-- begin equivalent
SELECT sale.prc,sale.cn, sale.cn,
AVG(sale.pn) OVER(order by sale.pn desc,sale.vn asc,sale.cn desc rows between unbounded preceding and unbounded following) as avg,
sale.vn,sale.pn,
DENSE_RANK() OVER(order by sale.pn asc) FROM sale,vendor WHERE sale.vn =vendor.vn;
SELECT sale.prc,sale.cn,sale.cn, AVG(sale.pn) OVER(win1),
sale.vn,sale.pn,
DENSE_RANK() OVER(win2)
FROM sale,vendor
WHERE sale.vn=vendor.vn
WINDOW win1 as (order by sale.pn desc,sale.vn asc,sale.cn desc rows between unbounded preceding and unbounded following ),
win2 as (order by sale.pn asc);
-- end equivalent
-- Test for MPP-1756, the planner should create just the one key level
explain select cn,
sum(qty) over (order by ord,cn rows between 1 preceding and 1 following),
sum(qty) over (order by ord,cn rows between 1 preceding and 1 following)
from sale_ord;
select cn,
sum(qty) over (order by ord,cn rows between 1 preceding and 1 following),
sum(qty) over (order by ord,cn rows between 1 preceding and 1 following)
from sale_ord;
-- test for MPP-1760. Framed queries without order by clauses are not
-- permitted.
select cn,
sum(count(*)) over (range between 1 preceding and 1 following)
from sale
group by cn;
-- test for issue which reopened MPP-1762
-- We allow the user to specify DESC sort order
SELECT sale.cn,sale.vn,AVG(cast (sale.vn as int)) OVER(order by ord desc,sale.cn desc) as avg from sale_ord as sale;
-- a bit harder
SELECT sale.cn,sale.dt, sale.vn,AVG(cast (sale.vn as int)) OVER(order by sale.cn desc, sale.dt asc) as avg from sale;--mvd 1,2->4
-- Even harder (MPP-1805)
SELECT sale.cn,sale.prc,sale.qty,
SUM(floor(sale.prc*sale.qty))
OVER(order by sale.cn desc range between 4 preceding and 4 following) as foo
FROM sale; --mvd 1->4
SELECT sale.pn,sale.vn,
SUM(cast (sale.vn as int))
OVER(order by sale.cn desc range current row) as sum,
sale.cn from sale; --mvd 4->3
-- test for MPP-1810 and other similar queries
SELECT sale.vn,sale.vn,sale.qty,
FIRST_VALUE(floor(sale.vn)) OVER(order by sale.vn asc range 0 preceding) as f
from sale; --mvd 1->4
select cn, cast(cname as varchar(10)), first_value(cast(cname as varchar(10)))
over(order by cn range 2 preceding) as f
from customer;
select cn, prc, dt, first_value(prc) over (order by ord,dt rows between 1 following
and 4 following) as f from sale_ord;
-- test for second issue in MPP-1810
select vn, first_value(vn) over(order by vn range 2 preceding) from vendor;
-- MPP-1819
SELECT sale.cn,sale.pn,
FIRST_VALUE(sale.pn+sale.pn) OVER(order by ord,sale.cn rows unbounded preceding) as fv from sale_ord as sale;
SELECT sale.cn,sale.pn,
FIRST_VALUE(((cn*100 + (sale.pn+sale.pn)%100)/100)) OVER(order by sale.cn range unbounded preceding) as fv from sale; --mvd 1->3
-- MPP-1812
SELECT sale.cn,sale.prc,sale.vn,
SUM(floor(sale.prc*sale.vn)) OVER(order by sale.cn asc,sale.prc range current row) as fv
from sale; --mvd 1,2->4
-- MPP-1843, check the interaction between ROWS frames and partitioning
SELECT sale.dt,sale.prc,sale.cn,
sale.vn,
SUM(sale.cn) OVER(partition by sale.dt,sale.prc order by sale.cn asc rows
between 0 following and 1 following) as sum
from sale order by dt, prc, cn; --mvd 1,2->5
-- MPP-1804, Used to return incorrect number of rows
SELECT sale.vn,sale.cn,
SUM(sale.cn) OVER(partition by sale.vn order by sale.cn desc range between current row and unbounded following) as sum from sale; --mvd 1->3
-- MPP-1840, grouping + windowing
--begin_equivalent
SELECT cn, vn, pn, GROUPING(cn,vn,pn),
SUM(vn) OVER (PARTITION BY GROUPING(cn,vn,pn) ORDER BY cn) as sum FROM sale
GROUP BY ROLLUP(cn,vn,pn) order by 4; -- order 4
select cn,vn,pn,grouping,
sum(vn) over (partition by grouping order by cn) as sum
from (select cn,vn,pn,grouping(cn,vn,pn) from sale group by rollup(cn,vn,pn)) t
order by 4; -- order 4
--end_equivalent
-- MPP-1860
SELECT sale.pn,sale.vn,sale.qty,
SUM(floor(sale.vn*sale.qty)) OVER(order by ord,sale.pn asc rows between 4 preceding and 0 preceding) as sum
FROM sale_ord as sale;
-- MPP-1866
SELECT sale.cn,sale.pn,sale.prc,
SUM(floor(sale.pn*sale.prc)) OVER(order by sale.cn asc, pn rows between current row and unbounded following ) as sum
FROM sale;
SELECT sale.pn,sale.vn,
COUNT(floor(sale.vn)) OVER(order by ord,sale.pn asc rows between current row and unbounded following)
FROM sale_ord as sale;
-- Sanity test for executor detection of non-sense frames
SELECT sale.pn,sale.cn,sale.prc,
AVG(cast (sale.prc as int))
OVER(order by sale.cn asc range between 6 following and 0 following ) as c
FROM sale; --mvd 2->4
SELECT sale.pn,sale.cn,sale.prc,
AVG(cast (sale.prc as int))
OVER(order by ord,sale.cn asc rows between 6 following and 0 following ) as c
FROM sale_ord as sale;
SELECT sale.pn,sale.cn,sale.prc,
AVG(cast (sale.prc as int))
OVER(order by sale.cn asc range between 1 preceding and 10 preceding ) as c
FROM sale; --mvd 2->4
-- Check LEAD()
-- sanity tests
select p.proname, p.proargtypes from pg_window w, pg_proc p, pg_proc p2 where w.winfunc = p.oid and w.winfnoid = p2.oid and p2.proname = 'lead' order by 1,2;
select lead(cn) from sale;
select cn, cname, lead(cname, -1) over (order by cn) from customer;
-- actual LEAD tests
select cn, cname, lead(cname, 2, 'undefined') over (order by cn) from customer;
select cn, cname, lead(cname, 2) over (order by cn) from customer;
select cn, cname, lead(cname) over (order by cn) from customer;
select cn, vn, pn, lead(cn, 1, cn + 1) over (order by cn, vn, pn) from
sale order by 1, 2, 3;
select cn, vn, pn, qty * prc,
lead(qty * prc) over (order by cn, vn, pn) from sale
order by 1, 2, 3;
-- Check LAG()
-- sanity tests
select p.proname, p.proargtypes from pg_window w, pg_proc p, pg_proc p2 where w.winfunc = p.oid and w.winfnoid = p2.oid and p2.proname = 'lag' order by 1,2;
-- actual LAG tests
select cn, cname, lag(cname, 2, 'undefined') over (order by cn) from customer;
select cn, cname, lag(cname, 2) over (order by cn) from customer;
select cn, cname, lag(cname) over (order by cn) from customer;
select cn, vn, pn, lag(cn, 1, cn + 1) over (order by cn, vn, pn) from
sale order by 1, 2, 3;
select cn, vn, pn, qty * prc,
lag(qty * prc) over (order by cn, vn, pn) from sale
order by 1, 2, 3;
-- LAST_VALUE tests
SELECT sale.cn,sale.qty,sale.pn,
LAST_VALUE(sale.qty*sale.pn) OVER(partition by sale.cn order by sale.cn,pn range between unbounded preceding and unbounded following ) as lv
from sale order by 1, 2, 3; --mvd 1->4
SELECT sale.vn,sale.qty,
LAST_VALUE(floor(sale.vn)) OVER(order by sale.vn asc range 0 preceding) as f
from sale; --mvd 1->3
select cn, cast(cname as varchar(10)), last_value(cast(cname as varchar(10)))
over(order by cn range 2 preceding) as f
from customer;
select cn, prc, dt,
last_value(prc) over (order by dt, prc, cn rows between 1 following and 4 following) as f from sale;
select vn, last_value(vn)
over(order by vn range between 2 preceding and 2 following) from vendor;
select vn, last_value(vn)
over(order by vn range between 20 preceding and 20 following) from vendor;
SELECT sale.cn,sale.pn,
last_VALUE(sale.pn+sale.pn)
OVER(order by ord,sale.cn rows between current row and
unbounded following) as fv from sale_ord as sale;
SELECT sale.cn,sale.pn,
last_VALUE(((cn*100 + (sale.pn+sale.pn)/100)%100)) OVER(order by sale.cn, sale.pn range between current row and
unbounded following) as fv from sale; --mvd 1,2->3
-- Test obscure types
create table typetest_for_window (i int[], j box, k bit, l bytea, m text[]);
insert into typetest_for_window values('{1, 2, 3}', '(1, 2), (3, 4)', '1', E'\012\001',
'{foo, bar}');
insert into typetest_for_window values('{4, 5, 6}', '(3, 4), (6, 7)', '0', E'\002',
'{bar, baz}');
select i, lead(i, 1, '{1}') over (w),
lead(j, 1, '(0, 0), (1, 1)') over (w), lead(k, 1) over(w),
lead(l, 1, E'\015') over (w), lead(m, 1, '{test}') over (w)
from typetest_for_window window w as (order by i);
select i, lag(i, 1, '{1}') over (w),
lag(j, 1, '(0, 0), (1, 1)') over (w), lag(k, 1) over(w),
lag(l, 1, E'\015') over (w), lag(m, 1, '{test}') over (w)
from typetest_for_window window w as (order by i);
select i, first_value(i) over (w),
first_value(j) over (w), first_value(k) over(w),
first_value(l) over (w), first_value(m) over (w)
from typetest_for_window window w as (order by i rows 1 preceding);
select i, last_value(i) over (w),
last_value(j) over (w), last_value(k) over(w),
last_value(l) over (w), last_value(m) over (w)
from typetest_for_window window w as (order by i rows between current row and 1 following);
drop table typetest_for_window;
-- MPP-1881
SELECT sale.pn,
COUNT(pn) OVER(order by sale.pn asc range between unbounded preceding and unbounded following)
FROM sale;
-- MPP-1878
SELECT sale.vn,sale.cn, COUNT(vn) OVER(order by sale.cn asc range between unbounded preceding and 2 following)
FROM sale; --mvd 2->3
-- MPP-1877
SELECT sale.vn,sale.cn,
COUNT(vn) OVER(order by sale.cn asc range between unbounded preceding and 2 preceding)
FROM sale; --mvd 2->3
SELECT sale.vn,sale.cn,
COUNT(vn) OVER(order by ord,sale.cn asc rows between unbounded preceding and 2 preceding)
FROM sale_ord as sale;
-- Framing clauses
select cn,count(*) over (order by cn rows between 2 preceding and 1 preceding) as c from sale;
select cn,count(*) over (order by cn rows between 2 preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn rows between 2 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn rows between 0 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn rows between 0 following and 1 following) as c from sale;
select cn,count(*) over (order by cn rows between 1 following and 2 following) as c from sale;
select cn,count(*) over (order by cn rows between unbounded preceding and 2 preceding) as c from sale;
select cn,count(*) over (order by cn rows between unbounded preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn rows between unbounded preceding and 2 following) as c from sale;
select cn,count(*) over (order by cn rows between 2 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn rows between 0 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn rows between 0 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn rows between 1 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn rows between unbounded preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc rows between 2 preceding and 1 preceding) as c from sale;
select cn,count(*) over (order by cn desc rows between 2 preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn desc rows between 2 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn desc rows between 0 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn desc rows between 0 following and 1 following) as c from sale;
select cn,count(*) over (order by cn desc rows between 1 following and 2 following) as c from sale;
select cn,count(*) over (order by cn desc rows between unbounded preceding and 2 preceding) as c from sale;
select cn,count(*) over (order by cn desc rows between unbounded preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn desc rows between unbounded preceding and 2 following) as c from sale;
select cn,count(*) over (order by cn desc rows between 2 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc rows between 0 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc rows between 0 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc rows between 1 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc rows between unbounded preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn range between 2 preceding and 1 preceding) as c from sale;
select cn,count(*) over (order by cn range between 2 preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn range between 2 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn range between 0 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn range between 0 following and 1 following) as c from sale;
select cn,count(*) over (order by cn range between 1 following and 2 following) as c from sale;
select cn,count(*) over (order by cn range between unbounded preceding and 2 preceding) as c from sale;
select cn,count(*) over (order by cn range between unbounded preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn range between unbounded preceding and 2 following) as c from sale;
select cn,count(*) over (order by cn range between 2 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn range between 0 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn range between 0 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn range between 1 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn range between unbounded preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc range between 2 preceding and 1 preceding) as c from sale;
select cn,count(*) over (order by cn desc range between 2 preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn desc range between 2 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn desc range between 0 preceding and 1 following) as c from sale;
select cn,count(*) over (order by cn desc range between 0 following and 1 following) as c from sale;
select cn,count(*) over (order by cn desc range between 1 following and 2 following) as c from sale;
select cn,count(*) over (order by cn desc range between unbounded preceding and 2 preceding) as c from sale;
select cn,count(*) over (order by cn desc range between unbounded preceding and 0 preceding) as c from sale;
select cn,count(*) over (order by cn desc range between unbounded preceding and 2 following) as c from sale;
select cn,count(*) over (order by cn desc range between 2 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc range between 0 preceding and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc range between 0 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc range between 1 following and unbounded following) as c from sale;
select cn,count(*) over (order by cn desc range between unbounded preceding and unbounded following) as c from sale;
-- MPP-1885
SELECT sale.vn,
COUNT(vn) OVER(order by sale.vn asc range between unbounded preceding and 2 preceding)
FROM sale;
-- aggregates in multiple key levels
select cn,pn,vn, count(*) over (order by cn) as c1,
count(*) over (order by cn,vn) as c2,
count(*) over (order by cn,vn,pn) as c3 from sale;
select cn,pn,vn, count(*) over (order by cn range between 2 preceding and 2 following) as c1,
count(*) over (order by cn,vn rows between 2 preceding and 2 following) as c2,
count(*) over (order by cn,vn,pn) as c3 from sale;
-- MPP-1897
SELECT sale.cn,sale.qty,
SUM(floor(sale.qty)) OVER(order by sale.cn asc range between 2 following and 2 following)
FROM sale; --mvd 1->3
SELECT sale.cn,sale.qty,
SUM(floor(sale.qty)) OVER(order by ord,sale.cn asc rows between 2 following and 2 following) as sum
FROM sale_ord as sale;
-- MPP-1892
SELECT sale.vn,sale.cn,sale.prc,sale.pn,sale.prc,
COUNT(floor(sale.prc)) OVER(partition by sale.vn,sale.cn,sale.prc,sale.vn order by sale.pn asc range between unbounded preceding and 1 preceding) as count
from sale; --mvd 1,2,3->6
-- MPP-1893
SELECT sale.prc,sale.cn,sale.vn,sale.pn,sale.cn,
AVG(floor(sale.pn-sale.cn)) OVER(partition by sale.prc,sale.cn order by sale.vn desc range between 1 preceding and unbounded following) as avg
FROM sale; --mvd 1,2->6
SELECT sale.prc,sale.cn,sale.vn,sale.pn,sale.cn,
AVG(floor(sale.pn-sale.cn)) OVER(partition by sale.prc,sale.cn order by sale.vn desc range between 0 preceding and unbounded following) as avg
FROM sale; --mvd 1,2->6
-- MPP-1895
SELECT sale.prc,sale.vn,
COUNT(vn) OVER(partition by sale.prc order by sale.vn asc range between 3 preceding and 3 following)
FROM sale; --mvd 1->3
-- MPP-1898
SELECT sale.vn,sale.qty,
SUM(floor(sale.qty)) OVER(order by sale.vn desc range between 0 following and 2 following ) as sum
from sale; --mvd 1->3
-- MPP-1907, MPP-1912
-- begin_equivalent
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc rows between 4 preceding and current row) as count
FROM sale;
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc rows between 4 preceding and 0 preceding) as count
FROM sale;
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc rows between 4 preceding and 0 following) as count
FROM sale;
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc rows 4 preceding) as count
FROM sale;
-- end_equivalent
-- begin_equivalent
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc range between 4 preceding and current row) as count
FROM sale;
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc range between 4 preceding and 0 preceding) as count
FROM sale;
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc range between 4 preceding and 0 following) as count
FROM sale;
SELECT sale.pn,
COUNT(floor(sale.pn)) OVER(order by sale.pn desc range 4 preceding) as count
FROM sale;
-- end_equivalent
-- MPP-1915
select cn, qty, sum(qty) over(order by cn) as sum, cume_dist() over(order by cn) as cume1 from sale; --mvd 1->3
SELECT sale.cn,
SUM(sale.cn) OVER(order by sale.cn asc range 1 preceding ),COUNT(floor(sale.vn)) OVER(order by sale.cn asc range 1 preceding )
FROM sale;
SELECT sale.cn,
SUM(sale.cn) OVER(order by sale.cn asc range 2 preceding ),COUNT(floor(sale.vn)) OVER(order by sale.cn asc range 1 preceding )
FROM sale;
select pn, count(*) over (order by pn range between 100 preceding and 100 following),
count(*) over (order by pn range between 200 preceding and 200 following) from sale;
-- MPP-1923
SELECT sale.cn,sale.pn,sale.vn,
CUME_DIST() OVER(partition by sale.cn,sale.pn order by sale.vn desc,sale.pn desc,sale.cn asc)
FROM sale; --mvd 1,2->4
SELECT sale.cn,sale.vn,sale.pn,
SUM((cn*100+pn/100)%100) OVER(partition by sale.vn,sale.pn order by sale.pn asc rows between 1 following and unbounded following) as sum
from sale; --mvd 2,3->4
-- MPP-1924
SELECT sale.cn,
COUNT(cn) OVER(order by sale.cn range between 7 following and 7 following) as count
FROM sale;
-- MPP-1925
SELECT sale.pn,sale.vn,
COUNT(floor(sale.cn-sale.prc)) OVER(order by sale.pn asc,sale.vn asc,sale.vn desc rows between current row and 2 following ) as count,sale.pn,
CUME_DIST() OVER(order by sale.pn asc) as cume_dist
FROM sale;
-- MPP-1874
CREATE TABLE fact_test_for_window
(DATE_KEY NUMERIC(10,0) NOT NULL,
BCOOKIE text NOT NULL,
TIME_KEY INTEGER NOT NULL,
EVENT_TYPE text NOT NULL
);
insert into fact_test_for_window values
(20070101, 'W', 100, 'c'),
(20070101, 'W', 100, 'p'),
(20070101, 'B', 100, 'c'),
(20070101, 'A', 10100101, 'p'),
(20070101, 'A', 20100101, 'p'),
(20070101, 'B', 101, 'p'),
(20070101, 'C', 105, 'p'),
(20070101, 'D', 107, 'p'),
(20070101, 'E', 10, 'c'),
(20070101, 'E', 10, 'p'),
(20070101, 'A', 101, 'c'),
(20070101, 'A', 101, 'p'),
(20070101, 'A', 10100101, 'p');
select date_key, bcookie, time_key, event_type,
(
case
when (time_key- lag(time_key, 1, NULL) over (
partition by date_key, bcookie
order by date_key, bcookie, time_key, event_type)
) > 1800 then 1
else 0
end
) AS time_check
from fact_test_for_window;
drop table fact_test_for_window;
-- MPP-1929
SELECT vn,pn,cn,
TO_CHAR(COALESCE(CUME_DIST() OVER(partition by sale.vn,sale.pn order by sale.cn desc),0),'99999999.9999999') as cum_dist,
TO_CHAR(COALESCE(CUME_DIST() OVER(partition by sale.vn,sale.pn order by sale.cn desc),0),'99999999.9999999') as cum_dist
from sale; --mvd 1,2->4
select cn,pn,lag(pn,cn) over (order by ord,pn) from sale_ord;
select cn,pn,lead(pn,cn) over (order by ord,pn) from sale_ord;
select vn,cn,pn,lead(pn,cn) over (partition by vn order by cn,pn) from sale; --mvd 1->4
select vn,cn,pn,lag(pn,cn) over (partition by vn order by cn,pn) from sale; --mvd 1->4
-- MPP-1934
SELECT sale.dt,sale.vn,sale.qty,sale.pn,sale.cn,
LEAD(cast(floor(sale.cn+sale.vn) as int),cast (floor(sale.qty) as int),NULL) OVER(partition by sale.dt,sale.vn,sale.qty order by sale.pn desc,sale.cn desc) as lead
FROM sale; --mvd 1,2,3->6
-- MPP-1935
SELECT sale.vn,sale.qty,sale.prc,
LAG(cast(floor(sale.qty*sale.prc) as int),cast (floor(sale.prc) as int),NULL) OVER(order by ord,sale.vn asc) as lag
from sale_ord as sale;
-- MPP-1936
SELECT sale.vn,sale.prc,sale.qty,
COUNT(floor(sale.prc)) OVER(order by sale.vn asc),
LAG(cast(floor(sale.qty*sale.prc) as int),cast (floor(sale.prc) as int),NULL) OVER(order by ord,sale.vn asc) as lag
from sale_ord as sale;
select cn,vn,qty,
sum(qty) over(order by ord,cn rows between 1 preceding and 0 following) as sum1,
sum(qty) over(order by ord,cn rows between 1 preceding and 1 following) as sum2
from sale_ord;
-- MPP-1933
SELECT sale.prc,sale.vn,sale.cn,sale.pn,sale.qty,
LAG(cast(floor(sale.vn) as int),cast (floor(sale.prc) as int),NULL) OVER(partition by sale.prc,sale.vn,sale.cn,sale.pn order by sale.cn desc) as lag1
from sale; --mvd 1,2,3,4->6
SELECT sale.prc,sale.vn,sale.cn,sale.pn,sale.qty,
LAG(cast(floor(sale.qty/sale.vn) as int),cast (floor(sale.pn) as int),NULL) OVER(partition by sale.prc,sale.vn,sale.cn,sale.pn order by sale.cn desc) as lag2
from sale; --mvd 1,2,3,4->6
SELECT sale.prc,sale.vn,sale.cn,sale.pn,sale.qty,
LAG(cast(floor(sale.vn) as int),cast (floor(sale.prc) as int),NULL) OVER(partition by sale.prc,sale.vn,sale.cn,sale.pn order by sale.cn desc) as lag1,
LAG(cast(floor(sale.qty/sale.vn) as int),cast (floor(sale.pn) as int),NULL) OVER(partition by sale.prc,sale.vn,sale.cn,sale.pn order by sale.cn desc) as lag2
from sale; --mvd 1,2,3,4->6
-- MIN/MAX
select cn,vn,min(vn) over (order by ord,cn rows between 2 preceding and 1 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 2 preceding and 0 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 2 preceding and 1 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 0 preceding and 1 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 0 following and 1 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 1 following and 2 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between unbounded preceding and 2 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between unbounded preceding and 0 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between unbounded preceding and 2 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 2 preceding and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 0 preceding and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 0 following and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between 1 following and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord,cn rows between unbounded preceding and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 2 preceding and 1 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 2 preceding and 0 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 2 preceding and 1 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 0 preceding and 1 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 0 following and 1 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 1 following and 2 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between unbounded preceding and 2 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between unbounded preceding and 0 preceding) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between unbounded preceding and 2 following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 2 preceding and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 0 preceding and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 0 following and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between 1 following and unbounded following) as min from sale_ord;
select cn,vn,min(vn) over (order by ord desc,cn desc rows between unbounded preceding and unbounded following) as min from sale_ord;
select pn,vn,max(vn) over (order by pn range between 200 preceding and 150 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 200 preceding and 0 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 200 preceding and 150 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 0 preceding and 150 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 0 following and 150 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 150 following and 200 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between unbounded preceding and 200 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between unbounded preceding and 0 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between unbounded preceding and 200 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 200 preceding and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 0 preceding and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 0 following and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between 150 following and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn range between unbounded preceding and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 200 preceding and 150 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 200 preceding and 0 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 200 preceding and 150 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 0 preceding and 150 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 0 following and 150 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 150 following and 200 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between unbounded preceding and 200 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between unbounded preceding and 0 preceding) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between unbounded preceding and 200 following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 200 preceding and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 0 preceding and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 0 following and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between 150 following and unbounded following) as max from sale; --mvd 1->3
select pn,vn,max(vn) over (order by pn desc range between unbounded preceding and unbounded following) as max from sale; --mvd 1->3
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 2 preceding and 1 preceding) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 2 preceding and 0 preceding) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 2 preceding and 1 following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 0 preceding and 1 following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 0 following and 1 following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 1 following and 2 following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between unbounded preceding and 2 preceding) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between unbounded preceding and 0 preceding) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between unbounded preceding and 2 following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 2 preceding and unbounded following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 0 preceding and unbounded following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 0 following and unbounded following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between 1 following and unbounded following) as min from sale; --mvd 1->4
select cn,vn,pn,min(vn) over (partition by cn order by pn rows between unbounded preceding and unbounded following) as min from sale; --mvd 1->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 200 preceding and 150 preceding) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 200 preceding and 0 preceding) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 200 preceding and 150 following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 0 preceding and 150 following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 0 following and 150 following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 150 following and 200 following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between unbounded preceding and 200 preceding) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between unbounded preceding and 0 preceding) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between unbounded preceding and 200 following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 200 preceding and unbounded following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 0 preceding and unbounded following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 0 following and unbounded following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between 150 following and unbounded following) as max from sale; --mvd 1,2->4
select cn,pn,vn,max(vn) over (partition by cn order by pn range between unbounded preceding and unbounded following) as max from sale; --mvd 1,2->4
-- MPP-1943
SELECT sale.cn,sale.pn,sale.vn,
MAX(floor(sale.pn/sale.vn)) OVER(order by sale.cn asc,sale.cn asc,sale.pn asc)
FROM sale;
-- MPP-1944
SELECT sale.pn,cn,dt,pn,prc,
MAX(floor(sale.prc+sale.prc)) OVER(partition by sale.pn,sale.cn,sale.dt,sale.pn order by sale.pn desc,sale.pn asc rows between current row and unbounded following )
FROM sale; --mvd 1,2,3->6
select qty,cn,pn,dt,pn,prc,
MAX(floor(sale.prc+sale.prc)) OVER(partition by sale.qty,sale.cn,sale.pn,sale.dt order by sale.pn asc range between 0 following and unbounded following )
from sale; --mvd 1,2,3,4->7
-- MPP-1947
SELECT dt,cn,cn,qty,
MIN(floor(sale.qty)) OVER(partition by sale.dt,sale.cn,sale.dt order by sale.cn desc range between 1 preceding and unbounded following )
FROM sale; --mvd 1,2->5
SELECT dt,cn,cn,qty,
MAX(floor(sale.qty)) OVER(partition by sale.dt,sale.cn,sale.dt order by sale.cn desc range between 1 preceding and unbounded following )
from sale; --mvd 1,2->5
-- FIRST_VALUE/LAST_VALUE
select cn,vn,first_value(vn) over (order by ord,cn rows between 2 preceding and 1 preceding) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 2 preceding and 0 preceding) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 2 preceding and 1 following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 0 preceding and 1 following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 0 following and 1 following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 1 following and 2 following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between unbounded preceding and 2 preceding) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between unbounded preceding and 0 preceding) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between unbounded preceding and 2 following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 2 preceding and unbounded following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 0 preceding and unbounded following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 0 following and unbounded following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between 1 following and unbounded following) as first_value from sale_ord;
select cn,vn,first_value(vn) over (order by ord,cn rows between unbounded preceding and unbounded following) as first_value from sale_ord;
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 200 preceding and 150 preceding) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 200 preceding and 0 preceding) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 200 preceding and 150 following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 0 preceding and 150 following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 0 following and 150 following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 150 following and 200 following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between unbounded preceding and 200 preceding) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between unbounded preceding and 0 preceding) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between unbounded preceding and 200 following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 200 preceding and unbounded following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 0 preceding and unbounded following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 0 following and unbounded following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between 150 following and unbounded following) as last_value from sale;--mvd 1->3
select pn,vn,last_value((pn+vn)/100) over (order by pn desc range between unbounded preceding and unbounded following) as last_value from sale;--mvd 1->3
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 2 preceding and 1 preceding) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 2 preceding and 0 preceding) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 2 preceding and 1 following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 0 preceding and 1 following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 0 following and 1 following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 1 following and 2 following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between unbounded preceding and 2 preceding) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between unbounded preceding and 0 preceding) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between unbounded preceding and 2 following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 2 preceding and unbounded following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 0 preceding and unbounded following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 0 following and unbounded following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between 1 following and unbounded following) as last_value from sale; --mvd 1->4
select cn,vn,pn,last_value(vn) over (partition by cn order by pn rows between unbounded preceding and unbounded following) as last_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 200 preceding and 150 preceding) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 200 preceding and 0 preceding) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 200 preceding and 150 following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 0 preceding and 150 following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 0 following and 150 following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 150 following and 200 following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between unbounded preceding and 200 preceding) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between unbounded preceding and 0 preceding) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between unbounded preceding and 200 following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 200 preceding and unbounded following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 0 preceding and unbounded following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 0 following and unbounded following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between 150 following and unbounded following) as first_value from sale; --mvd 1->4
select cn,pn,vn,first_value(vn) over (partition by cn order by pn range between unbounded preceding and unbounded following) as first_value from sale; --mvd 1->4
-- MPP-1957
select dt,pn,qty,
LEAD(cast(floor(sale.qty/sale.qty) as int),cast (floor(sale.qty) as int),NULL) OVER(partition by sale.dt order by sale.pn asc) as lead
from sale; --mvd 1->4
-- MPP-1958
SELECT sale.qty,
MIN(floor(sale.qty)) OVER(order by ord,sale.pn asc rows unbounded preceding ) as min,sale.pn,
LAG(cast(floor(sale.qty-sale.prc) as int),cast (floor(sale.qty/sale.vn) as int),NULL) OVER(order by ord,sale.pn asc) as lag
FROM sale_ord as sale;
-- MPP-1960
SELECT prc,cn,vn,
FIRST_VALUE(floor(sale.prc)) OVER(partition by sale.prc,sale.cn order by sale.vn asc range between unbounded preceding and unbounded following)
FROM sale; --mvd 1,2->4
SELECT cn,pn,dt,
FIRST_VALUE(floor(sale.pn/sale.pn)) OVER(partition by sale.cn,sale.pn,sale.dt order by sale.cn desc range between unbounded preceding and 1 following ) as fv
from sale; --mvd 1,2,3->4
-- MPP-1964
SELECT cn,(cn-prc),prc,
CORR(floor(sale.cn-sale.prc),floor(sale.prc)) OVER(partition by sale.cn,sale.cn order by sale.cn desc range between 1 preceding and 1 following ) as corr
FROM sale; --mvd 1->4
SELECT cn,floor(qty/pn),cn,
CORR(floor(sale.qty/sale.pn),floor(sale.cn)) OVER(order by sale.cn desc range 3 preceding) as correlation
from sale; --mvd 1->4
-- MPP-1976
SELECT sale.cn,sale.vn,sale.pn,
SUM(floor(sale.cn*sale.vn)) OVER(partition by sale.vn,sale.pn order by sale.pn asc range between 1 following and unbounded following ) as sum
from sale; --mvd 1,3->4
-- Use expressions in the frame clause
select cn,pn,qty,sum(qty) over (order by ord,pn rows cn preceding) from sale_ord;
select cn,pn,qty,sum(qty) over (order by ord,pn rows between current row and cn following) from sale_ord;
select cn,pn,qty,sum(qty) over (order by ord,pn rows between cn preceding and cn+2 following) from sale_ord;
select cn,pn,qty,sum(qty) over (order by ord,pn rows between 1 preceding and 1 following),
sum(qty) over (order by ord,pn rows between cn preceding and cn+2 following) from sale_ord;
select cn,pn,qty,sum(qty) over (order by ord,pn rows between current row and cn following),
sum(qty) over (order by ord,pn rows between cn preceding and cn+2 following) from sale_ord;
select cn,pn,qty,sum(qty) over (order by pn range cn preceding) from sale; --mvd 2->4
select cn,pn,qty,sum(qty) over (order by pn range between current row and cn following) from sale; --mvd 2->4
select cn,pn,qty,sum(qty) over (order by cn range between current row and cn following) from sale; --mvd 1->4
select cn,pn,qty,sum(qty) over (order by cn range between cn-1 preceding and cn following) from sale; --mvd 1->4
select cn,pn,qty,sum(qty) over (partition by cn order by pn range between cn*100-50 preceding and cn*200 following) as sum from sale; --mvd 1->4
select pn,vn,max(vn) over (order by pn range between cn-1 following and cn-2 following) as max from sale;
-- MPP-2036
select cn,qty,sum(qty) over(order by cn range cn preceding) as sum from (select sale.* from sale,customer,vendor where sale.cn=customer.cn and sale.vn=vendor.vn) sale; --mvd 1->3
-- MPP-1744
select cn,vn,ntile(cn) over(partition by cn order by vn) from sale; --mvd 1->3
select cn,vn,ntile(qty) over(partition by cn order by vn) from sale;
select cn,vn,ntile(cn) over(partition by cn+vn order by vn) from sale;
select cn,vn,ntile(cn+vn) over(partition by cn+vn order by vn) from sale; --mvd 1,2->3
-- MPP-2045
SELECT sale.cn,sale.qty,
count(cn) OVER(order by sale.cn,sale.qty rows between sale.qty following and 4 following) as count
from sale;
-- MPP-2068
SELECT vn,cn,prc,
COUNT(floor(sale.cn)) OVER(order by sale.vn asc,sale.cn asc,sale.prc rows prc preceding ) as count
FROM sale;
-- MPP-2075
SELECT sale.vn,sale.cn,
AVG(sale.pn) OVER(order by sale.vn asc range between vn preceding and vn-10 preceding ) as avg
from sale; --mvd 1->3
SELECT sale.qty,sale.cn,sale.vn,
AVG(sale.pn) OVER(order by sale.vn asc range between 0 preceding and vn preceding ) as avg
from sale; --mvd 3->4
SELECT sale.vn,sale.cn,
min(sale.pn) OVER(order by sale.vn asc range between vn preceding and vn-10 preceding ) as min
from sale; --mvd 1->3
SELECT sale.qty,sale.cn,sale.vn,
min(sale.pn) OVER(order by sale.vn asc range between 0 preceding and vn preceding ) as min
from sale; --mvd 3->4
-- MPP-2078
SELECT sale.cn,sale.vn,
COUNT(floor(sale.cn)) OVER(partition by sale.cn order by sale.vn asc range between 1 preceding and floor(sale.cn) preceding )
FROM sale; --mvd 1,2->3
-- MPP-2080
SELECT sale.vn,qty,
COUNT(qty) OVER(order by sale.vn desc range between unbounded preceding and 1 preceding)
FROM sale; --mvd 1->3
-- MPP-2081
SELECT cn,qty,floor(prc/cn),
COUNT(floor(sale.pn*sale.prc)) OVER(order by sale.cn asc range between floor(sale.qty) preceding and floor(sale.prc/sale.cn) preceding)
from sale; --mvd 1->4
-- MPP-2135
select cn,sum(qty) over(order by cn), sum(qty) from sale group by cn,qty; --mvd 1->2
select cn,sum(sum(qty)) over(order by cn), sum(qty) from sale group by cn,qty; --mvd 1->2
select cn,sum(sum(qty) + 1) over(order by cn), sum(qty) + 1 from sale group by cn,qty; --mvd 1->2
select cn,sum(qty+1) over(order by cn), sum(qty+1) from sale group by cn,qty; --mvd 1->2
-- MPP-2152
SELECT cn, pn, dt, PERCENT_RANK() OVER(partition by cn,dt order by cn desc),
LEAD(pn,cn,NULL) OVER(partition by cn,dt order by pn, cn desc)
FROM sale; --mvd 1,3->4
-- MPP-2163
SELECT cn, pn, vn, dt, qty,
ROW_NUMBER() OVER( partition by vn, qty, dt order by cn asc ),
PERCENT_RANK() OVER( partition by vn, dt order by cn desc ),
PERCENT_RANK() OVER( order by pn asc )
FROM (SELECT * FROM sale) sale; --mvd 3,4,5->6; 3,4->7
-- MPP-2189
create view v1_for_window as
select dt, sum(cn) over(order by grouping(cn) range grouping(cn) preceding)
from sale group by rollup(cn,dt);
\d v1_for_window
drop view v1_for_window;
-- MPP-2194, MPP-2236
drop table if exists win_test_for_window;
create table win_test_for_window (i int, j int);
insert into win_test_for_window values (0,0), (1,null), (2, null), (3,null);
select i,j,sum(i) over(order by j range 1 preceding) from win_test_for_window; --mvd 2->3
select i,j,sum(j) over(order by i rows 1 preceding) from win_test_for_window;
-- MPP-2305
SELECT sale.vn,sale.cn,sale.pn,
CUME_DIST() OVER(partition by sale.vn,sale.cn order by sale.pn desc) as cume_dist1,
CUME_DIST() OVER(partition by sale.cn,sale.vn order by sale.cn asc) as cume_dist2
FROM sale order by 1,2,3; --order 1,2,3
-- MPP-2322
select ord, pn,cn,vn,sum(vn) over (order by ord, pn rows between cn following and cn+1 following) as sum from sale_ord;
select ord, pn,cn,vn,sum(vn) over (order by ord, pn rows between cn following and cn following) as sum from sale_ord;
-- MPP-2323
select ord, cn,vn,sum(vn) over (order by ord rows between 3 following and floor(cn) following ) from sale_ord;
-- Test use of window functions in places they shouldn't be allowed: MPP-2382
-- CHECK constraints
CREATE TABLE wintest_for_window (i int check (i < count(*) over (order by i)));
CREATE TABLE wintest_for_window (i int default count(*) over (order by i));
-- index expression and function
CREATE TABLE wintest_for_window (i int);
CREATE INDEX wintest_idx_for_window on wintest_for_window (i) where i < count(*) over (order by i);
CREATE INDEX wintest_idx_for_window on wintest_for_window (sum(i) over (order by i));
-- alter table
ALTER TABLE wintest_for_window alter i set default count(*) over (order by i);
alter table wintest_for_window alter column i type float using count(*) over (order by
i)::float;
-- update
insert into wintest_for_window values(1);
update wintest_for_window set i = count(*) over (order by i);
-- domain suport
create domain wintestd as int default count(*) over ();
create domain wintestd as int check (value < count(*) over ());
drop table wintest_for_window;
-- MPP-3295
-- begin equivalent
select cn,vn,rank() over (partition by cn order by vn) as rank
from sale group by cn,vn order by rank; --mvd 1->3
select cn,vn,rank() over (partition by cn order by vn) as rank
from (select cn,vn from sale group by cn,vn) sale order by rank; --mvd 1->3
-- end equivalent
-- begin equivalent
select cn,vn, 1+rank() over (partition by cn order by vn) as rank
from sale group by cn,vn order by rank; --mvd 1->3
select cn,vn, 1+rank() over(partition by cn order by vn) as rank
from (select cn,vn from sale group by cn,vn) sale order by rank; --mvd 1->3
-- end equivalent
-- begin equivalent
select cn,vn, sum(qty), 1+rank() over (partition by cn order by vn) as rank
from sale group by cn,vn order by rank; --mvd 1->3
select cn,vn, sum, 1+rank() over (partition by cn order by vn) as rank
from (select cn,vn,sum(qty) as sum from sale group by cn, vn) sale order by rank; --mvd 1->3
-- end equivalent
select cn, first_value(NULL) over (partition by cn order by case when 1=1 then pn || ' ' else 'test' end)
from sale order by first_value(NULL) over (
partition by cn order by case when 1=1 then (pn || ' ') else 'test'::character varying(15) end); --mvd 1->2
select cn, first_value(NULL) over (partition by cn order by case when 1=1 then pn || ' ' else 'test' end)
from sale order by first_value(NULL) over (
partition by cn order by case when 1=1 then (pn || ' ') else 'test' end); --mvd 1->2
-- MPP-4836
select pcolor, pname, pn,
row_number() over (w) as n,
lag(pn+0) over (w) as l0,
lag(pn+1) over (w) as l1,
lag(pn+2) over (w) as l2,
lag(pn+3) over (w) as l3,
lag(pn+4) over (w) as l4,
lag(pn+5) over (w) as l5,
lag(pn+6) over (w) as l6,
lag(pn+7) over (w) as l7,
lag(pn+8) over (w) as l8,
lag(pn+9) over (w) as l9,
lag(pn+10) over (w) as l10,
lag(pn+11) over (w) as l11,
lag(pn+12) over (w) as l12,
lag(pn+13) over (w) as l13,
lag(pn+14) over (w) as l14,
lag(pn+15) over (w) as l15,
lag(pn+16) over (w) as l16,
lag(pn+17) over (w) as l17,
lag(pn+18) over (w) as l18,
lag(pn+19) over (w) as l19,
lag(pn+20) over (w) as l20,
lag(pn+21) over (w) as l21,
lag(pn+22) over (w) as l22,
lag(pn+23) over (w) as l23,
lag(pn+24) over (w) as l24,
lag(pn+25) over (w) as l25,
lag(pn+26) over (w) as l26,
lag(pn+27) over (w) as l27,
lag(pn+28) over (w) as l28,
lag(pn+29) over (w) as l29,
lag(pn+30) over (w) as l30,
lag(pn+31) over (w) as l31,
lag(pn+32) over (w) as l32
from product
window w as (partition by pcolor order by pname)
order by 1,2,3;
-- MPP-4840
explain select n from ( select row_number() over () from (values (0)) as t(x) ) as r(n) group by n;
-- MPP-5219
select case when 1=2 then rank() over (partition by cn order by pn) end from sale;
select cn, pn, case when 1=2 then rank() over (partition by cn order by pn) end,
rank() over (partition by cn order by pn) from sale; --mvd 1,2->4
select pn, vn, case when 1=2 then rank() over (partition by cn order by pn) end,
rank() over (partition by pn order by vn) from sale; --mvd 1,2->4
-- MPP-6027
drop table if exists olap_window_test;
create table olap_window_test (i int, j bigint, k int, l int, m int);
insert into olap_window_test select i, i%100, i%123, i%234, i%345 from generate_series(1, 500) i;
-- begin equivalent
select j, sum(k), row_number() over (partition by j order by sum(k)) from olap_window_test group by j order by j limit 10;
select j, sum, row_number() over (partition by j order by sum) from (select j, sum(k) as sum from olap_window_test group by j) tmp
order by j limit 10;
-- end equivalent
drop table olap_window_test;
-- Test for MPP-11645
create table olap_window_r (a int, b int, x int, y int, z int ) distributed by (b);
insert into olap_window_r values
( 1, 17, 419, 291, 2513 ),
( 2, 16, 434, 293, 2513 ),
( 3, 15, 439, 295, 2483 ),
( 4, 14, 445, 297, 2675 ),
( 5, 13, 473, 299, 2730 ),
( 6, 12, 475, 303, 2765 ),
( 7, 11, 479, 305, 2703 ),
( 8, 10, 502, 307, 2749 ),
( 9, 9, 528, 308, 2850 ),
( 10, 8, 532, 309, 2900 ),
( 11, 7, 567, 315, 2970 ),
( 12, 6, 570, 317, 3025 ),
( 13, 5, 635, 319, 3045 ),
( 14, 4, 653, 320, 3093 ),
( 15, 3, 711, 321, 3217 ),
( 16, 2, 770, 325, 3307 ),
( 17, 1, 778, 329, 3490 );
select b, sum(x) over (partition by b), 10*b
from olap_window_r order by b; --order 3
select sum(x) over (partition by b), 10*b
from olap_window_r order by b; --order 2
select a, sum(x) over (partition by a), 10*a
from olap_window_r order by a; --order 3
select sum(x) over (partition by a), 10*a
from olap_window_r order by a; -- order 2
drop table if exists olap_window_r cascade; --ignore
-- End MPP-11645
-- MPP-12082
select
f,
sum(g) over (partition by f)
from
(select 'A', 1) b(j, g)
join
(select 'A', 'B') c(j, f)
using(j)
group by
1,
b.g;
select
f,
sum(b.g) over (partition by f)
from
(select 'A', 1) b(j, g)
join
(select 'A', 'B') c(j, f)
using(j)
group by
1,
g;
select
2*b.g,
lower(c.f),
sum(2*b.g) over (partition by lower(c.f))
from
(select 'A', 1) b(j, g)
join
(select 'A', 'B') c(j, f)
using(j)
group by
2*b.g,
lower(c.f);
select
2*g,
lower(c.f),
sum(2*g) over (partition by lower(c.f))
from
(select 'A', 1) b(j, g)
join
(select 'A', 'B') c(j, f)
using(j)
group by
2*b.g,
lower(f);
-- End MPP-12082
-- MPP-13802
select lag(x) over (w)
from(select 1 x, 2 y, 3 z)s
window w as (partition by y order by z rows unbounded preceding);
select rank() over (wx)
from(select 1 x, 2 y, 3 z)s
window w as (partition by y order by z), wx as (w);
-- End MPP-13802
drop table if exists olap_window_test;
create table olap_window_test (n numeric, d date);
insert into olap_window_test values (12, '2011-05-01'), (34, '2011-05-02'), (89, '2011-05-03');
select stddev(n) over(order by d range interval '1 day' preceding), n from olap_window_test;
select stddev(n) over(order by d range interval '1 day' preceding),
sum(n) over(order by d range interval '1 day' preceding),
avg(n) over(order by d range interval '1 day' preceding), n from olap_window_test;
select stddev(n) over(order by d range interval '2 day' preceding),
sum(n) over(order by d range interval '2 day' preceding),
avg(n) over(order by d range interval '2 day' preceding), n from olap_window_test;
select stddev(n) over(order by d range between current row and interval '1 day' following),
sum(n) over(order by d range between current row and interval '1 day' following),
avg(n) over(order by d range between current row and interval '1 day' following), n from olap_window_test;
-- MPP-19244; push predicates below window functions
drop table if exists window_preds;
create table window_preds(i int, j int, k int);
insert into window_preds values
(1,2,3),
(2,3,4),
(3,4,5),
(4,5,6),
(5,6,7),
(6,7,8);
select * from (select i,j,k, sum(i) over(), row_number() over(order by i), rank() over(order by i) from window_preds) as foo where i>2 order by rank;
select * from (select i,j,k, sum(i) over(), row_number() over(partition by i), rank() over(order by i) from window_preds) as foo where i>2 order by rank;
select * from (select i,j,k, sum(i) over(partition by i), row_number() over(partition by i), rank() over(partition by i order by i) from window_preds) as foo where i>2 order by sum;
select * from (select i,j,k, sum(i) over(partition by i), row_number() over(partition by i), rank() over(partition by i order by i) from window_preds) as foo where i>2 or j>2 order by sum;
select * from (select i,j,k, sum(i) over(partition by i), row_number() over(partition by i), rank() over(partition by i order by i) from window_preds) as foo where i>2 and j>2 order by sum;
select * from (select i,j,k, sum(i) over(partition by i,j), row_number() over(partition by i,j), rank() over(partition by i,j order by i) from window_preds) as foo where i>2 and j>2 order by sum;
select * from (select i,j,k, sum(i) over(partition by i,j), row_number() over(partition by i,j), rank() over(partition by i,j order by i) from window_preds) as foo where i+j>2 order by sum;
select * from (select i, sum(i) over(partition by j) from (select i,j, row_number() over(partition by i) from window_preds) as bar) as foo where i>2 order by sum;
-- MPP-19964
drop table if exists customers_test;
create table customers_test(name text, device_model text, device_id integer, ppp numeric) distributed by (device_id);
INSERT INTO customers_test values
('n1', 'd1', 1, 1),
('n1', 'd1', 1, 3),
('n2', 'd1', 1, 2),
('n2', 'd1', 2, 1),
('n2', 'd1', 2, 2),
('n3', 'd3', 1, 0);
SELECT COUNT(*)
FROM
(
SELECT name,device_model,median(ppp) md
FROM
(
SELECT name,
device_model,
device_id,
ppp,
ntile(4) over (partition by name,device_model order by ppp)
FROM customers_test
) a
GROUP BY name,device_model
HAVING COUNT(DISTINCT CASE WHEN ppp > 0 THEN device_id ELSE NULL END)>0
) b;
-- check SRF in WindowAgg's targetlist can be handled correctly
explain (costs off)
select unnest(array[a,a]), rank() over (order by a) from generate_series(2,3) a;
select unnest(array[a,a]), rank() over (order by a) from generate_series(2,3) a;
|
<reponame>jgonzales9945/CapstoneSite<gh_stars>0
INSERT INTO schools(name, information, file_directory) VALUES('Advanced Course Statistics','This table displays the percentage of kids across grades 9 through 12 who complete advanced or dual credit courses, and is categorized by school district and ethnicity. ', "resources/schools/2017-11-29-Advanced");
INSERT INTO schools(name, information, file_directory) VALUES('Attendance Graduation and Dropout Rate','This table displays the attendace percentage, the graduation and the dropout rate in high school student. It is categorized by school district and ethnicity.', "resources/schools/2017-11-29-Attendance-graduation-and-dropout-rate/");
INSERT INTO schools(name, information, file_directory) VALUES('AP/IB results','This table displays the results of AP/IB across numerous subjects, and is categorized by school district and ethnicity.',"resources/schools/2017-11-29-AP-IB-Results/");
INSERT INTO schools(name, information, file_directory) VALUES('College Ready Graduates ELA','This table displays the percentage of college ready graduates from across districts. Also sorted by ethnicity.',"resources/schools/2017-11-29-College Ready Graduates ELA/" );
INSERT INTO schools(name, information, file_directory) VALUES('Complete Student Population table and Distribution','This table displays the number of students in grades k-12, and is categorized by school district and ethnicity.', "resources/schools/2017-11-29-Complete-student-population-table/");
INSERT INTO schools(name, information, file_directory) VALUES('SAT/ACT Score','This table displays the average SAT/ACT scores, and is categorized by school district and ethnicity.',"resources/schools/2017-11-29-SAT-ACT-Test-Results/" );
insert into indexpage (index_title, index_info, file_links, hyper_links, date_modified) values ('title','test','resources/index/','w3schools.com','1/1/2000');
insert into about (about_title, about_info, file_links, hyper_links, date_modified) values ('title','test','resources/about/','w3schools.com','1/1/2000')
insert into login values('capstone2017', 'ThisIsNotOurPassword!', '<EMAIL>'); |
<gh_stars>0
-- insert default values for table: module
INSERT INTO "module" ( "module", "enabled" )
VALUES ( 'Grid\FacebookComment', FALSE );
-- update default values for table: user_right
DO LANGUAGE plpgsql $$
BEGIN
IF NOT EXISTS ( SELECT *
FROM "user_right"
WHERE "group" = 'settings'
AND "resource" = 'settings.facebook'
AND "privilege" = 'edit' ) THEN
INSERT INTO "user_right" ( "label", "group", "resource", "privilege", "optional", "module" )
VALUES ( NULL, 'settings', 'settings.facebook', 'edit', TRUE, 'Grid\FacebookComment' );
ELSE
UPDATE "user_right"
SET "module" = "_common"."string_set_append"( "module", '|', 'Grid\FacebookComment' )
WHERE "group" = 'settings'
AND "resource" = 'settings.facebook'
AND "privilege" = 'edit';
END IF;
END $$;
|
<reponame>jpascale/pg-query-parser
SELECT
array_agg(players),
player_teams
FROM
(SELECT DISTINCT
t1.t1player AS players_dist,
t1.player_teams
FROM
(SELECT
p.playerid AS t1id,
concat(p.playerid, ':', p.playername, ' ') AS t1player,
array_agg(pl.teamid ORDER BY pl.teamid) AS player_teams
FROM player p
LEFT JOIN plays pl ON p.playerid = pl.playerid
GROUP BY p.playerid, p.playername
) t1
INNER JOIN (
SELECT
p.playerid AS t2id,
array_agg(pl.teamid ORDER BY pl.teamid) AS player_teams
FROM player p
LEFT JOIN plays pl ON p.playerid = pl.playerid
GROUP BY p.playerid, p.playername
) t2 ON t1.player_teams=t2.player_teams AND t1.t1id <> t2.t2id
) innerQuery
GROUP BY player_teams;
|
----------------------------
-- Copyright (C) 2021 CARTO
----------------------------
CREATE OR REPLACE FUNCTION @@RS_PREFIX@@carto.__S2_TOCHILDREN
(id INT8, resolution INT4)
RETURNS VARCHAR(MAX)
STABLE
AS $$
from @@RS_PREFIX@@s2Lib import to_children
if id is None or resolution is None:
raise Exception('NULL argument passed to UDF')
return to_children(id, resolution)
$$ LANGUAGE plpythonu;
CREATE OR REPLACE FUNCTION @@RS_PREFIX@@carto.__S2_TOCHILDREN
(id INT8)
RETURNS VARCHAR(MAX)
STABLE
AS $$
from @@RS_PREFIX@@s2Lib import to_children
if id is None:
raise Exception('NULL argument passed to UDF')
return to_children(id)
$$ LANGUAGE plpythonu;
CREATE OR REPLACE FUNCTION @@RS_PREFIX@@carto.S2_TOCHILDREN
(INT8, INT4)
RETURNS SUPER
STABLE
AS $$
SELECT json_parse(@@RS_PREFIX@@carto.__S2_TOCHILDREN($1, $2))
$$ LANGUAGE sql;
CREATE OR REPLACE FUNCTION @@RS_PREFIX@@carto.S2_TOCHILDREN
(INT8)
RETURNS SUPER
STABLE
AS $$
SELECT json_parse(@@RS_PREFIX@@carto.__S2_TOCHILDREN($1))
$$ LANGUAGE sql;
|
-- create table of range partition on char field having boundary values and unite two partition to one partition
create table range_test(id int not null ,
test_int int,
test_char char(50),
test_varchar varchar(2000),
test_datetime timestamp,primary key(id,test_char))
PARTITION BY RANGE (test_char) (
PARTITION p0 VALUES LESS THAN ('ddd'),
PARTITION p1 VALUES LESS THAN ('ggg'),
PARTITION p2 VALUES LESS THAN ('kkk')
);
insert into range_test values (1,1,'aaa','aaa','2000-01-01 09:00:00');
insert into range_test values (2,2,'bbb','bbb','2000-01-02 09:00:00');
insert into range_test values (3,3,'ccc','ccc','2000-01-03 09:00:00');
insert into range_test values (4,11,'ddd','ddd','2000-02-01 09:00:00');
insert into range_test values (5,12,'eee','eee','2000-02-02 09:00:00');
insert into range_test values (6,13,'fff','fff','2000-02-03 09:00:00');
insert into range_test values (7,21,'ggg','ggg','2000-03-01 09:00:00');
insert into range_test values (8,22,'hhh','hhh','2000-03-02 09:00:00');
insert into range_test values (9,23,'iii','iii','2000-03-03 09:00:00');
insert into range_test values (10,31,'jjj','jjj','2000-04-01 09:00:00');
ALTER TABLE range_test REORGANIZE PARTITION p1,p2 INTO (
PARTITION p3 VALUES LESS THAN ('kkk'));
select * from db_partition order by 1,2;
select * from range_test__p__p0 order by 1,2;
select * from range_test__p__p3 order by 1,2;
drop table range_test;
|
<filename>database/write_peopleskills_table.sql
-- name: write_peopleskills_table.sql
-- version: 0.0.1
-- date: 20201128
-- author: <NAME>
-- desc: Create a matrix of skills to people.
.headers on
.nullvalue [NULL]
DROP TABLE IF EXISTS peopleskills;
CREATE TABLE peopleskills (
idx INTEGER NOT NULL PRIMARY KEY,
people_id INTEGER,
skill_id INTEGER,
level INTEGER
);
|
-- MySQL dump 10.13 Distrib 5.7.11, for osx10.11 (x86_64)
--
-- Host: localhost Database: italia
-- ------------------------------------------------------
-- Server version 5.7.11
/*!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 */;
--
-- Table structure for table `cities`
--
DROP TABLE IF EXISTS `cities`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cities` (
`id` int(11) unsigned NOT NULL,
`region_id` int(11) unsigned NOT NULL,
`province_id` int(11) unsigned NOT NULL,
`name` text NOT NULL,
`provincial_capital` tinyint(1) DEFAULT '0',
`cadastral_code` text NOT NULL,
`latitudine` decimal(9,6) NOT NULL,
`longitudine` decimal(9,6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cities`
--
LOCK TABLES `cities` WRITE;
/*!40000 ALTER TABLE `cities` DISABLE KEYS */;
INSERT INTO `cities` VALUES (1001,1,1,'Agliè',0,'A074',45.364155,7.768627),(1002,1,1,'Airasca',0,'A109',44.917111,7.489349),(1003,1,1,'<NAME>',0,'A117',45.315338,7.310341),(1004,1,1,'<NAME>',0,'A157',45.432778,7.947630),(1005,1,1,'<NAME>',0,'A199',45.459751,7.778171),(1006,1,1,'Almese',0,'A218',45.117380,7.395079),(1007,1,1,'Alpette',0,'A221',45.410634,7.580300),(1008,1,1,'Alpignano',0,'A222',45.092949,7.523704),(1009,1,1,'Andezeno',0,'A275',45.036720,7.867392),(1010,1,1,'Andrate',0,'A282',45.527901,7.875187),(1011,1,1,'Angrogna',0,'A295',44.843637,7.224525),(1012,1,1,'Arignano',0,'A405',45.037798,7.901701),(1013,1,1,'Avigliana',0,'A518',45.076291,7.401690),(1014,1,1,'Azeglio',0,'A525',45.424360,7.998470),(1015,1,1,'Bairo',0,'A584',45.385777,7.758394),(1016,1,1,'Balangero',0,'A587',45.272547,7.520394),(1017,1,1,'<NAME>',0,'A590',45.409729,7.743960),(1018,1,1,'<NAME>',0,'A591',45.066635,7.813058),(1019,1,1,'Balme',0,'A599',45.301740,7.219368),(1020,1,1,'Banchette',0,'A607',45.459638,7.855495),(1021,1,1,'Barbania',0,'A625',45.291302,7.631205),(1022,1,1,'Bardonecchia',0,'A651',45.074286,6.696051),(1023,1,1,'<NAME>',0,'A673',45.326131,7.871779),(1024,1,1,'Beinasco',0,'A734',45.021576,7.582149),(1025,1,1,'Bibiana',0,'A853',44.798701,7.288375),(1026,1,1,'<NAME>',0,'A910',44.807906,7.119329),(1027,1,1,'Bollengo',0,'A941',45.471256,7.936168),(1028,1,1,'<NAME>',0,'A990',45.151771,7.654847),(1029,1,1,'Borgiallo',0,'B003',45.416162,7.667490),(1030,1,1,'<NAME>',0,'B015',45.511361,7.856137),(1031,1,1,'Borgomasino',0,'B021',45.361888,7.988970),(1032,1,1,'<NAME>',0,'B024',45.122759,7.241325),(1033,1,1,'Bosconero',0,'B075',45.267970,7.765030),(1034,1,1,'Brandizzo',0,'B121',45.176792,7.836525),(1035,1,1,'Bricherasio',0,'B171',44.825033,7.303519),(1036,1,1,'Brosso',0,'B205',45.492403,7.802825),(1037,1,1,'Brozolo',0,'B209',45.117698,8.060068),(1038,1,1,'Bruino',0,'B216',45.020801,7.468140),(1039,1,1,'Brusasco',0,'B225',45.156157,8.059950),(1040,1,1,'Bruzolo',0,'B232',45.143204,7.190723),(1041,1,1,'Buriasco',0,'B278',44.872757,7.414650),(1042,1,1,'Burolo',0,'B279',45.483269,7.932449),(1043,1,1,'Busano',0,'B284',45.328840,7.656740),(1044,1,1,'Bussoleno',0,'B297',45.138757,7.150286),(1045,1,1,'<NAME>',0,'B305',45.066391,7.436610),(1046,1,1,'Cafasse',0,'B350',45.245135,7.518064),(1047,1,1,'Caluso',0,'B435',45.302236,7.889674),(1048,1,1,'Cambiano',0,'B462',44.969012,7.775778),(1049,1,1,'<NAME>',0,'B512',44.804121,7.314141),(1050,1,1,'<NAME>',0,'B588',45.328092,7.887250),(1051,1,1,'Candiolo',0,'B592',44.959172,7.600540),(1052,1,1,'Canischio',0,'B605',45.374912,7.594695),(1053,1,1,'Cantalupa',0,'B628',44.937921,7.336660),(1054,1,1,'Cantoira',0,'B637',45.337014,7.386993),(1055,1,1,'Caprie',0,'B705',45.118561,7.331660),(1056,1,1,'Caravino',0,'B733',45.398678,7.961560),(1057,1,1,'Carema',0,'B762',45.582630,7.808010),(1058,1,1,'Carignano',0,'B777',44.905946,7.677451),(1059,1,1,'Carmagnola',0,'B791',44.845885,7.717436),(1060,1,1,'Casalborgone',0,'B867',45.130497,7.941096),(1061,1,1,'<NAME>',0,'B953',45.481031,7.906627),(1062,1,1,'Caselette',0,'B955',45.107772,7.482317),(1063,1,1,'<NAME>',0,'B960',45.166627,7.644133),(1064,1,1,'<NAME>',0,'C045',45.162696,7.897436),(1065,1,1,'<NAME>',0,'C048',44.896475,7.565180),(1066,1,1,'Castellamonte',0,'C133',45.382947,7.711908),(1067,1,1,'<NAME>',0,'C241',45.437944,7.693822),(1068,1,1,'<NAME>',0,'C307',45.117775,7.804104),(1069,1,1,'Cavagnolo',0,'C369',45.152317,8.051622),(1070,1,1,'Cavour',0,'C404',44.786659,7.373582),(1071,1,1,'Cercenasco',0,'C487',44.860337,7.503582),(1072,1,1,'Ceres',0,'C497',45.313607,7.388684),(1073,1,1,'<NAME>',0,'C505',45.432177,7.234307),(1074,1,1,'<NAME>',0,'C564',44.953029,6.793690),(1075,1,1,'Chialamberto',0,'C604',45.361860,7.349308),(1076,1,1,'Chianocco',0,'C610',45.145517,7.173780),(1077,1,1,'Chiaverano',0,'C624',45.497383,7.900634),(1078,1,1,'Chieri',0,'C627',45.008885,7.827555),(1079,1,1,'Chiesanuova',0,'C629',45.417668,7.655830),(1080,1,1,'Chiomonte',0,'C639',45.117784,6.983405),(1081,1,1,'<NAME>',0,'C655',45.100868,7.326448),(1082,1,1,'Chivasso',0,'C665',45.190038,7.888952),(1083,1,1,'Ciconio',0,'C679',45.328921,7.758960),(1084,1,1,'Cintano',0,'C711',45.429097,7.687679),(1085,1,1,'Cinzano',0,'C715',45.094651,7.924087),(1086,1,1,'Ciriè',0,'C722',45.235832,7.601493),(1087,1,1,'Claviere',0,'C793',44.939420,6.751603),(1088,1,1,'<NAME>',0,'C801',45.298784,7.460566),(1089,1,1,'Coazze',0,'C803',45.051520,7.303860),(1090,1,1,'Collegno',0,'C860',45.078705,7.566241),(1091,1,1,'<NAME>',0,'C867',45.419419,7.677790),(1092,1,1,'<NAME>',0,'C868',45.431911,7.803720),(1093,1,1,'Condove',0,'C955',45.113564,7.313229),(1094,1,1,'Corio',0,'D008',45.311742,7.533435),(1095,1,1,'<NAME>',0,'D092',45.388299,7.993641),(1096,1,1,'Cuceglio',0,'D197',45.358829,7.816217),(1097,1,1,'Cumiana',0,'D202',44.984980,7.374220),(1098,1,1,'Cuorgnè',0,'D208',45.391341,7.650233),(1099,1,1,'Druento',0,'D373',45.134645,7.576543),(1100,1,1,'Exilles',0,'D433',45.097316,6.928746),(1101,1,1,'Favria',0,'D520',45.331072,7.691221),(1102,1,1,'Feletto',0,'D524',45.305100,7.746289),(1103,1,1,'Fenestrelle',0,'D532',45.036571,7.048519),(1104,1,1,'Fiano',0,'D562',45.215236,7.523290),(1105,1,1,'<NAME>',0,'D608',45.468647,7.829147),(1106,1,1,'Foglizzo',0,'D646',45.271791,7.821671),(1107,1,1,'<NAME>',0,'D725',45.347595,7.585806),(1108,1,1,'Frassinetto',0,'D781',45.437567,7.607487),(1109,1,1,'Front',0,'D805',45.280530,7.663671),(1110,1,1,'Frossasco',0,'D812',44.933891,7.351110),(1111,1,1,'Garzigliana',0,'D931',44.835947,7.374894),(1112,1,1,'<NAME>',0,'D933',45.130847,7.825875),(1113,1,1,'Germagnano',0,'D983',45.261284,7.464641),(1114,1,1,'Giaglione',0,'E009',45.141508,7.015240),(1115,1,1,'Giaveno',0,'E020',45.042007,7.352595),(1116,1,1,'Givoletto',0,'E067',45.152864,7.495413),(1117,1,1,'Gravere',0,'E154',45.126597,7.018158),(1118,1,1,'Groscavallo',0,'E199',45.367733,7.256951),(1119,1,1,'Grosso',0,'E203',45.254943,7.556893),(1120,1,1,'Grugliasco',0,'E216',45.066063,7.578910),(1121,1,1,'Ingria',0,'E301',45.466776,7.571364),(1122,1,1,'<NAME>',0,'E311',44.941196,7.217825),(1123,1,1,'Isolabella',0,'E345',44.906657,7.910091),(1124,1,1,'Issiglio',0,'E368',45.446372,7.750858),(1125,1,1,'Ivrea',0,'E379',45.467276,7.880059),(1126,1,1,'<NAME>',0,'E394',45.178765,7.520940),(1127,1,1,'<NAME>ia',0,'E423',44.956775,7.667333),(1128,1,1,'<NAME>',0,'E445',45.270102,7.477465),(1129,1,1,'Lauriano',0,'E484',45.155381,7.994194),(1130,1,1,'Leini',0,'E518',45.183525,7.713731),(1131,1,1,'Lemie',0,'E520',45.228485,7.293337),(1132,1,1,'Lessolo',0,'E551',45.479265,7.816102),(1133,1,1,'Levone',0,'E566',45.318649,7.606999),(1134,1,1,'Locana',0,'E635',45.416403,7.465418),(1135,1,1,'Lombardore',0,'E660',45.235050,7.741340),(1136,1,1,'Lombriasco',0,'E661',44.841128,7.635942),(1137,1,1,'Loranzè',0,'E683',45.441286,7.812386),(1138,1,1,'Lugnacco',0,'E727',45.444691,7.783590),(1139,1,1,'<NAME>',0,'E758',44.815115,7.242351),(1140,1,1,'Lusernetta',0,'E759',44.802651,7.247001),(1141,1,1,'Lusigliè',0,'E763',45.318321,7.765410),(1142,1,1,'Macello',0,'E782',44.850944,7.397163),(1143,1,1,'Maglione',0,'E817',45.348175,8.010549),(1144,1,1,'Marentino',0,'E941',45.054693,7.876581),(1145,1,1,'Massello',0,'F041',44.957715,7.061491),(1146,1,1,'Mathi',0,'F053',45.251784,7.545832),(1147,1,1,'Mattie',0,'F058',45.119102,7.115105),(1148,1,1,'Mazzè',0,'F067',45.299076,7.937563),(1149,1,1,'<NAME>',0,'F074',45.120730,7.066846),(1150,1,1,'Mercenasco',0,'F140',45.356010,7.882178),(1151,1,1,'Meugliano',0,'F164',45.489392,7.777768),(1152,1,1,'Mezzenile',0,'F182',45.294163,7.393371),(1153,1,1,'<NAME>',0,'F315',45.047044,7.920701),(1154,1,1,'Mompantero',0,'F318',45.144423,7.071911),(1155,1,1,'<NAME>',0,'F327',45.301686,7.439954),(1156,1,1,'Moncalieri',0,'F335',44.998353,7.680288),(1157,1,1,'Moncenisio',0,'D553',45.203797,6.984531),(1158,1,1,'<NAME>',0,'F407',45.064172,7.848972),(1159,1,1,'Montalenghe',0,'F411',45.337968,7.839844),(1160,1,1,'<NAME>',0,'F420',45.489464,7.862252),(1161,1,1,'Montanaro',0,'F422',45.229371,7.856990),(1162,1,1,'<NAME>',0,'F651',45.150315,8.015081),(1163,1,1,'<NAME>',0,'F733',45.039099,7.943707),(1164,1,1,'Nichelino',0,'F889',45.002129,7.655573),(1165,1,1,'Noasca',0,'F906',45.452022,7.317905),(1166,1,1,'Nole',0,'F925',45.243383,7.574209),(1167,1,1,'Nomaglio',0,'F927',45.535587,7.859704),(1168,1,1,'None',0,'F931',44.933493,7.540749),(1169,1,1,'Novalesa',0,'F948',45.189118,7.015282),(1170,1,1,'Oglianico',0,'G010',45.342854,7.691929),(1171,1,1,'Orbassano',0,'G087',45.005727,7.535363),(1172,1,1,'<NAME>',0,'G109',45.327891,7.859590),(1173,1,1,'Osasco',0,'G151',44.849044,7.343203),(1174,1,1,'Osasio',0,'G152',44.868659,7.605574),(1175,1,1,'Oulx',0,'G196',45.033339,6.833631),(1176,1,1,'Ozegna',0,'G202',45.346571,7.748079),(1177,1,1,'<NAME>',0,'G262',45.457875,7.975998),(1178,1,1,'Pancalieri',0,'G303',44.832846,7.589996),(1179,1,1,'Parella',0,'G330',45.430320,7.791540),(1180,1,1,'Pavarolo',0,'G387',45.068862,7.836106),(1181,1,1,'<NAME>',0,'G392',45.434368,7.854605),(1182,1,1,'Pecco',0,'G396',45.452185,7.776052),(1183,1,1,'<NAME>',0,'G398',45.017175,7.749943),(1184,1,1,'<NAME>',0,'G463',44.956840,7.191946),(1185,1,1,'<NAME>',0,'G462',45.395581,7.832388),(1186,1,1,'Perrero',0,'G465',44.938519,7.114232),(1187,1,1,'Pertusio',0,'G477',45.353491,7.643421),(1188,1,1,'Pessinetto',0,'G505',45.288644,7.403925),(1189,1,1,'Pianezza',0,'G559',45.100677,7.544765),(1190,1,1,'Pinasca',0,'G672',44.944212,7.225077),(1191,1,1,'Pinerolo',0,'G674',44.884591,7.330668),(1192,1,1,'<NAME>',0,'G678',45.043162,7.773809),(1193,1,1,'<NAME>',0,'G684',44.932248,7.610999),(1194,1,1,'Piossasco',0,'G691',44.989831,7.468200),(1195,1,1,'Piscina',0,'G705',46.217151,10.162866),(1196,1,1,'Piverone',0,'G719',45.447688,8.007393),(1197,1,1,'Poirino',0,'G777',44.919440,7.848196),(1198,1,1,'Pomaretto',0,'G805',44.955798,7.182172),(1199,1,1,'Pont-Canavese',0,'G826',45.419916,7.597231),(1200,1,1,'Porte',0,'G900',44.886696,7.272158),(1201,1,1,'Pragelato',0,'G973',45.014349,6.941579),(1202,1,1,'Prali',0,'G978',44.888814,7.051742),(1203,1,1,'Pralormo',0,'G979',44.859989,7.902934),(1204,1,1,'Pramollo',0,'G982',44.902948,7.215019),(1205,1,1,'Prarostino',0,'G986',44.873453,7.287066),(1206,1,1,'Prascorsano',0,'G988',45.367634,7.616926),(1207,1,1,'Pratiglione',0,'G997',45.351460,7.597555),(1208,1,1,'Quagliuzzo',0,'H100',45.425989,7.780870),(1209,1,1,'Quassolo',0,'H120',45.523753,7.833192),(1210,1,1,'Quincinetto',0,'H127',45.562412,7.805288),(1211,1,1,'Reano',0,'H207',45.051682,7.429690),(1212,1,1,'Ribordone',0,'H270',45.432417,7.502433),(1213,1,1,'Rivalba',0,'H333',45.116768,7.887432),(1214,1,1,'<NAME>',0,'H335',45.027280,7.510778),(1215,1,1,'<NAME>',0,'H337',44.984796,7.870444),(1216,1,1,'Rivara',0,'H338',45.333600,7.623710),(1217,1,1,'<NAME>',0,'H340',45.330032,7.721104),(1218,1,1,'Rivarossa',0,'H344',45.250960,7.717890),(1219,1,1,'Rivoli',0,'H355',45.071090,7.513821),(1220,1,1,'Robassomero',0,'H367',45.198121,7.566155),(1221,1,1,'<NAME>',0,'H386',45.308669,7.576247),(1222,1,1,'Roletto',0,'H498',44.925234,7.330857),(1223,1,1,'<NAME>',0,'H511',45.390546,7.865550),(1224,1,1,'<NAME>',0,'H539',45.503059,7.548815),(1225,1,1,'Rondissone',0,'H547',45.246946,7.963590),(1226,1,1,'Rorà',0,'H554',44.792268,7.198216),(1227,1,1,'Roure',0,'H555',44.995017,7.136802),(1228,1,1,'Rosta',0,'H583',45.070539,7.472695),(1229,1,1,'Rubiana',0,'H627',45.135912,7.384596),(1230,1,1,'Rueglio',0,'H631',45.468690,7.755327),(1231,1,1,'Salassa',0,'H691',45.355764,7.692096),(1232,1,1,'Salbertrand',0,'H684',45.069252,6.877248),(1233,1,1,'<NAME>',0,'H702',45.458348,7.850231),(1234,1,1,'<NAME>',0,'H734',44.939716,7.051409),(1235,1,1,'Samone',0,'H753',45.449055,7.843669),(1236,1,1,'<NAME>',0,'H775',45.221970,7.787871),(1237,1,1,'<NAME>',0,'H789',45.248612,7.610246),(1238,1,1,'<NAME>',0,'H804',45.381781,7.620450),(1239,1,1,'<NAME>',0,'H820',45.133567,7.215568),(1240,1,1,'<NAME>',0,'H847',45.227979,7.646136),(1241,1,1,'Sangano',0,'H855',45.027008,7.450490),(1242,1,1,'<NAME>',0,'H862',44.898195,7.239717),(1243,1,1,'<NAME>',0,'H873',45.142067,7.531747),(1244,1,1,'<NAME>',0,'H890',45.335773,7.795232),(1245,1,1,'<NAME>',0,'H900',45.126955,7.179669),(1246,1,1,'<NAME>',0,'H936',45.312289,7.810371),(1247,1,1,'<NAME>',0,'H997',45.393991,7.815257),(1248,1,1,'<NAME>',0,'I024',45.216505,7.633529),(1249,1,1,'<NAME>',0,'I030',45.102087,7.765355),(1250,1,1,'<NAME>',0,'I090',44.911718,7.309831),(1251,1,1,'<NAME>',0,'I126',45.350440,7.671792),(1252,1,1,'<NAME>',0,'I137',45.155708,7.863484),(1253,1,1,'<NAME>',0,'I152',45.159626,7.941571),(1254,1,1,'<NAME>',0,'I154',44.864618,7.298837),(1255,1,1,'<NAME>',0,'I258',45.095664,7.368353),(1256,1,1,'<NAME>',0,'I296',45.108100,7.269592),(1257,1,1,'Santena',0,'I327',44.950068,7.773334),(1258,1,1,'<NAME>',0,'I465',44.940179,6.858497),(1259,1,1,'<NAME>',0,'I466',45.026882,6.858390),(1260,1,1,'Scalenghe',0,'I490',44.888132,7.495757),(1261,1,1,'Scarmagno',0,'I511',45.384526,7.841054),(1262,1,1,'Sciolze',0,'I539',45.095205,7.876077),(1263,1,1,'Sestriere',0,'I692',44.957851,6.879086),(1264,1,1,'<NAME>',0,'I701',45.404723,7.991280),(1265,1,1,'<NAME>',0,'I703',45.139586,7.770978),(1266,1,1,'<NAME>',0,'I702',45.548894,7.829276),(1267,1,1,'Sparone',0,'I886',45.411370,7.541910),(1268,1,1,'Strambinello',0,'I969',45.423713,7.769618),(1269,1,1,'Strambino',0,'I970',45.381721,7.884830),(1270,1,1,'Susa',0,'L013',45.138614,7.048457),(1271,1,1,'Tavagnasco',0,'L066',45.546021,7.820428),(1272,1,1,'Torino',1,'L219',45.070312,7.686857),(1273,1,1,'<NAME>',0,'L238',45.215792,7.971574),(1274,1,1,'<NAME>',0,'L247',45.389725,7.760596),(1275,1,1,'<NAME>',0,'L277',44.819588,7.208989),(1276,1,1,'Trana',0,'L327',45.038500,7.419020),(1277,1,1,'Trausella',0,'L338',45.490604,7.762794),(1278,1,1,'Traversella',0,'L345',45.509109,7.750282),(1279,1,1,'Traves',0,'L340',45.268767,7.428732),(1280,1,1,'Trofarello',0,'L445',44.983858,7.741954),(1281,1,1,'Usseaux',0,'L515',45.048947,7.029794),(1282,1,1,'Usseglio',0,'L516',45.232286,7.217170),(1283,1,1,'Vaie',0,'L538',45.101794,7.286637),(1284,1,1,'<NAME>',0,'L555',45.157201,7.439236),(1285,1,1,'Valgioie',0,'L578',45.077025,7.338058),(1286,1,1,'<NAME>',0,'L629',45.222256,7.493526),(1287,1,1,'Valperga',0,'L644',45.370310,7.657570),(1288,1,1,'<NAME>',0,'B510',45.521347,7.548986),(1289,1,1,'Varisella',0,'L685',45.210636,7.485807),(1290,1,1,'<NAME>',0,'L698',45.279652,7.616474),(1291,1,1,'Venaus',0,'L726',45.151158,7.017068),(1292,1,1,'<NAME>',0,'L727',45.130158,7.631047),(1293,1,1,'Verolengo',0,'L779',45.189665,7.967105),(1294,1,1,'<NAME>',0,'L787',45.151595,8.092416),(1295,1,1,'Vestignè',0,'L811',45.386859,7.954114),(1296,1,1,'Vialfrè',0,'L830',45.381388,7.817274),(1297,1,1,'<NAME>',0,'L548',45.492250,7.784469),(1298,1,1,'Vidracco',0,'L857',45.429931,7.755770),(1299,1,1,'Vigone',0,'L898',44.843092,7.495606),(1300,1,1,'<NAME>',0,'L948',44.782073,7.506699),(1301,1,1,'<NAME>',0,'L982',45.243155,7.553553),(1302,1,1,'Villarbasse',0,'M002',45.044631,7.467300),(1303,1,1,'<NAME>',0,'L999',45.118086,7.386637),(1304,1,1,'Villareggia',0,'M004',45.309919,7.976850),(1305,1,1,'<NAME>',0,'M007',45.111619,7.232614),(1306,1,1,'<NAME>',0,'M013',44.808026,7.155664),(1307,1,1,'<NAME>',0,'M014',44.917420,7.247980),(1308,1,1,'Villastellone',0,'M027',44.923542,7.744141),(1309,1,1,'Vinovo',0,'M060',44.946445,7.632704),(1310,1,1,'<NAME>',0,'M069',44.862609,7.571310),(1311,1,1,'Vische',0,'M071',45.334142,7.947180),(1312,1,1,'Vistrorio',0,'M080',45.441332,7.766254),(1313,1,1,'Viù',0,'M094',45.238838,7.376316),(1314,1,1,'Volpiano',0,'M122',45.200944,7.779657),(1315,1,1,'Volvera',0,'M133',44.952352,7.512180),(2002,1,2,'<NAME>',0,'A119',45.854425,7.937624),(2003,1,2,'<NAME>',0,'A130',45.426925,8.381038),(2004,1,2,'<NAME>',0,'A198',45.370202,8.076755),(2006,1,2,'Arborio',0,'A358',45.496799,8.389757),(2007,1,2,'<NAME>',0,'A466',45.260499,8.408327),(2008,1,2,'Balmuccia',0,'A600',45.819254,8.139074),(2009,1,2,'Balocco',0,'A601',45.453838,8.281669),(2011,1,2,'Bianzè',0,'A847',45.308504,8.120567),(2014,1,2,'Boccioleto',0,'A914',45.830164,8.112289),(2015,1,2,'<NAME>',0,'B009',45.349407,8.053489),(2016,1,2,'Borgosesia',0,'B041',45.711075,8.290584),(2017,1,2,'<NAME>',0,'B046',45.357786,8.466507),(2019,1,2,'Breia',0,'B136',45.764761,8.306089),(2021,1,2,'Buronzo',0,'B280',45.477790,8.264678),(2025,1,2,'Campertogno',0,'B505',45.798135,8.032372),(2029,1,2,'Carcoforo',0,'B752',45.908484,8.050826),(2030,1,2,'Caresana',0,'B767',45.221592,8.506378),(2031,1,2,'Caresanablot',0,'B768',45.356436,8.389367),(2032,1,2,'Carisio',0,'B782',45.408021,8.198406),(2033,1,2,'<NAME>',0,'B928',45.400581,8.291512),(2035,1,2,'<NAME>',0,'B952',45.497438,8.326470),(2038,1,2,'Cellio',0,'C450',45.752725,8.311688),(2041,1,2,'Cervatto',0,'C548',45.882685,8.163191),(2042,1,2,'Cigliano',0,'C680',45.309092,8.019655),(2043,1,2,'Civiasco',0,'C757',45.807821,8.294484),(2045,1,2,'Collobiano',0,'C884',45.396842,8.348516),(2047,1,2,'Costanzana',0,'D113',45.238636,8.368303),(2048,1,2,'Cravagliana',0,'D132',45.847717,8.202108),(2049,1,2,'Crescentino',0,'D154',45.191914,8.102800),(2052,1,2,'Crova',0,'D187',45.329645,8.213116),(2054,1,2,'Desana',0,'D281',45.271504,8.360807),(2057,1,2,'Fobello',0,'D641',45.890443,8.155890),(2058,1,2,'<NAME>',0,'D676',45.194158,8.192960),(2059,1,2,'Formigliana',0,'D712',45.429899,8.287381),(2061,1,2,'Gattinara',0,'D938',45.613953,8.371517),(2062,1,2,'Ghislarengo',0,'E007',45.528811,8.386312),(2065,1,2,'Greggio',0,'E163',45.453203,8.385004),(2066,1,2,'Guardabosone',0,'E237',45.701431,8.249780),(2067,1,2,'Lamporo',0,'E433',45.230372,8.097509),(2068,1,2,'Lenta',0,'E528',45.556006,8.384258),(2070,1,2,'Lignana',0,'E583',45.286051,8.346566),(2071,1,2,'<NAME>',0,'E626',45.281729,8.084918),(2072,1,2,'Lozzolo',0,'E711',45.621801,8.325716),(2078,1,2,'Mollia',0,'F297',45.816181,8.030199),(2079,1,2,'Moncrivello',0,'F342',45.330485,7.997901),(2082,1,2,'<NAME>',0,'F774',45.183296,8.525929),(2088,1,2,'Olcenengo',0,'G016',45.361985,8.311026),(2089,1,2,'Oldenico',0,'G018',45.402633,8.378970),(2090,1,2,'<NAME>',0,'G266',45.186193,8.231104),(2091,1,2,'Pertengo',0,'G471',45.236156,8.415652),(2093,1,2,'Pezzana',0,'G528',45.262910,8.489019),(2096,1,2,'Pila',0,'G666',45.683337,7.309335),(2097,1,2,'Piode',0,'G685',45.770619,8.052755),(2102,1,2,'Postua',0,'G940',45.709924,8.228841),(2104,1,2,'Prarolo',0,'G985',45.281829,8.477752),(2107,1,2,'Quarona',0,'H108',45.761701,8.268579),(2108,1,2,'<NAME>',0,'H132',45.380900,8.359488),(2110,1,2,'Rassa',0,'H188',45.768150,8.013019),(2111,1,2,'<NAME>',0,'H291',45.885416,7.999246),(2112,1,2,'Rimasco',0,'H292',45.859136,8.062567),(2113,1,2,'Rimella',0,'H293',45.907686,8.182192),(2114,1,2,'<NAME>',0,'H329',45.832801,7.954301),(2115,1,2,'Rive',0,'H346',45.211953,8.417782),(2116,1,2,'Roasio',0,'H365',45.607550,8.284365),(2118,1,2,'Ronsecco',0,'H549',45.251085,8.284338),(2121,1,2,'Rossa',0,'H577',45.808459,9.360598),(2122,1,2,'Rovasenda',0,'H364',45.539016,8.314658),(2123,1,2,'Sabbia',0,'H648',45.859192,8.234977),(2126,1,2,'Salasco',0,'H690',45.325432,8.265021),(2127,1,2,'<NAME>',0,'H707',45.309891,8.329490),(2128,1,2,'Saluggia',0,'H725',45.235391,8.010583),(2131,1,2,'<NAME>',0,'H861',45.349920,8.247088),(2133,1,2,'Santhià',0,'I337',45.366905,8.171389),(2134,1,2,'Scopa',0,'I544',45.792931,8.113142),(2135,1,2,'Scopello',0,'I545',45.773238,8.093760),(2137,1,2,'<NAME>',0,'I663',45.678473,8.312526),(2142,1,2,'Stroppiana',0,'I984',45.231529,8.454722),(2147,1,2,'Tricerro',0,'L420',45.233324,8.324093),(2148,1,2,'Trino',0,'L429',45.194308,8.296610),(2150,1,2,'<NAME>',0,'L451',45.340822,8.176934),(2152,1,2,'Valduggia',0,'L566',45.721754,8.321532),(2156,1,2,'Varallo',0,'L669',45.812641,8.261661),(2158,1,2,'Vercelli',1,'L750',45.320227,8.418574),(2163,1,2,'Villarboit',0,'M003',45.437703,8.335111),(2164,1,2,'Villata',0,'M028',45.384722,8.433696),(2166,1,2,'Vocca',0,'M106',45.832740,8.197719),(3001,1,3,'<NAME>',0,'A088',0.000000,0.000000),(3002,1,3,'Ameno',0,'A264',45.787590,8.435692),(3006,1,3,'Armeno',0,'A414',45.822518,8.439674),(3008,1,3,'Arona',0,'A429',45.758616,8.558182),(3012,1,3,'Barengo',0,'A653',45.574652,8.511004),(3016,1,3,'<NAME>',0,'A752',45.568640,8.642256),(3018,1,3,'Biandrate',0,'A844',45.448275,8.464447),(3019,1,3,'Boca',0,'A911',45.679123,8.408517),(3021,1,3,'Bogogno',0,'A929',45.663723,8.537451),(3022,1,3,'<NAME>',0,'A953',45.762773,8.445391),(3023,1,3,'Borgolavezzaro',0,'B016',45.318405,8.699548),(3024,1,3,'Borgomanero',0,'B019',45.698944,8.462454),(3025,1,3,'<NAME>',0,'B043',45.685520,8.604787),(3026,1,3,'<NAME>',0,'B176',45.737419,8.450379),(3027,1,3,'Briona',0,'B183',45.541214,8.481561),(3030,1,3,'Caltignaga',0,'B431',45.518355,8.589981),(3032,1,3,'Cameri',0,'B473',45.498828,8.661543),(3036,1,3,'<NAME>',0,'B823',45.532912,8.416450),(3037,1,3,'Casalbeltrame',0,'B864',45.437458,8.467801),(3039,1,3,'<NAME>',0,'B883',45.485009,8.493093),(3040,1,3,'Casalino',0,'B897',45.357475,8.526686),(3041,1,3,'Casalvolone',0,'B920',45.399525,8.464617),(3042,1,3,'<NAME>',0,'C149',45.513811,8.487598),(3043,1,3,'<NAME>',0,'C166',45.713090,8.644570),(3044,1,3,'Cavaglietto',0,'C364',45.604174,8.504231),(3045,1,3,'<NAME>',0,'C365',45.610255,8.483220),(3047,1,3,'Cavallirio',0,'C378',45.662689,8.395070),(3049,1,3,'Cerano',0,'C483',45.410273,8.776460),(3051,1,3,'Colazza',0,'C829',45.788205,8.496021),(3052,1,3,'Comignago',0,'C926',45.714530,8.564114),(3055,1,3,'Cressa',0,'D162',45.650006,8.510396),(3058,1,3,'Cureggio',0,'D216',45.676270,8.463174),(3060,1,3,'Divignano',0,'D309',45.658144,8.603538),(3062,1,3,'Dormelletto',0,'D347',45.732904,8.575243),(3065,1,3,'<NAME>',0,'D492',45.553646,8.460479),(3066,1,3,'<NAME>\'Agogna',0,'D675',45.640271,8.483770),(3068,1,3,'Galliate',0,'D872',45.478422,8.693289),(3069,1,3,'<NAME>',0,'D911',45.390727,8.657289),(3070,1,3,'Gargallo',0,'D921',45.723838,8.426774),(3071,1,3,'Gattico',0,'D937',45.709929,8.518929),(3073,1,3,'Ghemme',0,'E001',45.595871,8.422861),(3076,1,3,'Gozzano',0,'E120',45.746784,8.441955),(3077,1,3,'Granozzo con Monticello',0,'E143',0.000000,0.000000),(3079,1,3,'Grignasco',0,'E177',45.681310,8.346532),(3082,1,3,'Invorio',0,'E314',45.755438,8.487088),(3083,1,3,'Landiona',0,'E436',45.496188,8.422878),(3084,1,3,'Lesa',0,'E544',45.824135,8.560168),(3088,1,3,'Maggiora',0,'E803',45.686217,8.419272),(3090,1,3,'<NAME>',0,'E880',45.494967,8.459341),(3091,1,3,'<NAME>',0,'E907',45.631618,8.631838),(3093,1,3,'<NAME>',0,'F047',45.822133,8.538878),(3095,1,3,'Meina',0,'F093',45.790436,8.539449),(3097,1,3,'Mezzomerico',0,'F188',45.620827,8.603825),(3098,1,3,'Miasino',0,'F191',45.799961,8.428497),(3100,1,3,'Momo',0,'F317',45.573774,8.555917),(3103,1,3,'Nebbiuno',0,'F859',45.795135,8.522221),(3104,1,3,'Nibbiola',0,'F886',45.373331,8.661037),(3106,1,3,'Novara',1,'F952',45.446930,8.622161),(3108,1,3,'Oleggio',0,'G019',45.595175,8.635008),(3109,1,3,'<NAME>',0,'G020',45.748437,8.527708),(3112,1,3,'<NAME>',0,'G134',45.796744,8.416219),(3114,1,3,'Paruzzaro',0,'G349',45.749324,8.516353),(3115,1,3,'Pella',0,'G421',45.801616,8.385701),(3116,1,3,'Pettenasco',0,'G520',45.817260,8.408073),(3119,1,3,'Pisano',0,'G703',45.794061,8.513065),(3120,1,3,'Pogno',0,'G775',45.752706,8.380768),(3121,1,3,'Pombia',0,'G809',45.648936,8.633115),(3122,1,3,'<NAME>',0,'H001',45.647198,8.373250),(3129,1,3,'Recetto',0,'H213',45.456837,8.435875),(3130,1,3,'<NAME>',0,'H502',45.634710,8.381617),(3131,1,3,'Romentino',0,'H518',45.462593,8.720480),(3133,1,3,'<NAME>',0,'I025',45.772255,8.397353),(3134,1,3,'<NAME>',0,'I052',45.438482,8.423918),(3135,1,3,'<NAME>',0,'I116',45.454057,8.542876),(3138,1,3,'Sillavengo',0,'I736',45.519706,8.440538),(3139,1,3,'Sizzano',0,'I767',45.574763,8.439077),(3140,1,3,'Soriso',0,'I857',45.739755,8.410676),(3141,1,3,'Sozzago',0,'I880',45.396983,8.723159),(3143,1,3,'Suno',0,'L007',45.630830,8.540775),(3144,1,3,'Terdobbiate',0,'L104',45.375206,8.695620),(3146,1,3,'Tornaco',0,'L223',45.356294,8.718243),(3149,1,3,'Trecate',0,'L356',45.432744,8.738013),(3153,1,3,'<NAME>',0,'L668',45.602619,8.555212),(3154,1,3,'<NAME>',0,'L670',45.665440,8.633376),(3157,1,3,'Veruno',0,'L798',45.692482,8.529879),(3158,1,3,'Vespolate',0,'L808',45.347994,8.669255),(3159,1,3,'Vicolungo',0,'L847',45.478996,8.461615),(3164,1,3,'Vinzaglio',0,'M062',45.322802,8.519427),(4001,1,4,'Acceglio',0,'A016',44.475015,6.988893),(4002,1,4,'Aisone',0,'A113',44.313496,7.222759),(4003,1,4,'Alba',0,'A124',44.700915,8.035691),(4004,1,4,'<NAME>',0,'A139',44.595512,8.065193),(4005,1,4,'Alto',0,'A238',44.108662,8.005570),(4006,1,4,'Argentera',0,'A394',44.396021,6.938368),(4007,1,4,'Arguello',0,'A396',44.582706,8.110315),(4008,1,4,'Bagnasco',0,'A555',44.307407,8.046294),(4009,1,4,'<NAME>',0,'A571',44.761722,7.314887),(4010,1,4,'<NAME>',0,'A589',44.758418,7.911550),(4011,1,4,'Barbaresco',0,'A629',44.723262,8.083557),(4012,1,4,'Barge',0,'A660',44.726004,7.326055),(4013,1,4,'Barolo',0,'A671',44.608803,7.940304),(4014,1,4,'<NAME>',0,'A709',44.442594,7.893251),(4015,1,4,'Battifollo',0,'A716',44.321093,8.006824),(4016,1,4,'Beinette',0,'A735',44.364668,7.645971),(4017,1,4,'Bellino',0,'A750',44.584630,7.034850),(4018,1,4,'<NAME>',0,'A774',44.489937,7.976812),(4019,1,4,'<NAME>',0,'A779',44.542647,7.826922),(4020,1,4,'Benevello',0,'A782',44.629952,8.106338),(4021,1,4,'Bergolo',0,'A798',44.547320,8.181656),(4022,1,4,'Bernezzo',0,'A805',44.384018,7.438793),(4023,1,4,'Bonvicino',0,'A979',44.502933,8.017857),(4024,1,4,'Borgomale',0,'B018',44.621216,8.132108),(4025,1,4,'<NAME>',0,'B033',44.329972,7.484154),(4026,1,4,'Bosia',0,'B079',44.600932,8.147527),(4027,1,4,'Bossolasco',0,'B084',44.527521,8.050623),(4028,1,4,'Boves',0,'B101',44.328007,7.551570),(4029,1,4,'Bra',0,'B111',44.692343,7.855116),(4030,1,4,'Briaglia',0,'B167',44.395634,7.876336),(4031,1,4,'<NAME>',0,'B175',44.129831,7.709085),(4032,1,4,'Brondello',0,'B200',44.599946,7.405822),(4033,1,4,'Brossasco',0,'B204',44.569921,7.362782),(4034,1,4,'Busca',0,'B285',44.516914,7.477966),(4035,1,4,'Camerana',0,'B467',44.422965,8.143667),(4036,1,4,'Camo',0,'B489',44.694705,8.193115),(4037,1,4,'Canale',0,'B573',44.797974,7.999599),(4038,1,4,'Canosio',0,'B621',44.456183,7.083187),(4039,1,4,'Caprauna',0,'B692',44.116444,7.954520),(4040,1,4,'Caraglio',0,'B719',44.419175,7.432673),(4041,1,4,'<NAME>',0,'B720',44.780282,7.738852),(4042,1,4,'Cardè',0,'B755',44.744858,7.477358),(4043,1,4,'Carrù',0,'B841',44.479552,7.877596),(4044,1,4,'Cartignano',0,'B845',44.476914,7.288167),(4045,1,4,'Casalgrasso',0,'B894',44.817845,7.626649),(4046,1,4,'Castagnito',0,'C046',44.754180,8.031699),(4047,1,4,'Casteldelfino',0,'C081',44.590036,7.068890),(4048,1,4,'Castellar',0,'C140',44.623044,7.435257),(4049,1,4,'<NAME>',0,'C165',44.443865,7.639438),(4050,1,4,'<NAME>',0,'C167',44.493259,8.189874),(4051,1,4,'<NAME>',0,'C173',44.772075,8.032061),(4052,1,4,'<NAME>',0,'C176',44.427648,7.979929),(4053,1,4,'Castelmagno',0,'C205',44.409575,7.213560),(4054,1,4,'<NAME>',0,'C214',44.354007,8.128099),(4055,1,4,'<NAME>',0,'C314',44.621378,7.976620),(4056,1,4,'<NAME>',0,'C317',44.726249,8.193064),(4057,1,4,'Castino',0,'C323',44.617725,8.182388),(4058,1,4,'Cavallerleone',0,'C375',44.738391,7.660706),(4059,1,4,'Cavallermaggiore',0,'C376',44.712855,7.689374),(4060,1,4,'<NAME>',0,'C441',44.481594,7.178362),(4061,1,4,'Centallo',0,'C466',44.500882,7.584494),(4062,1,4,'<NAME>',0,'C504',44.800010,7.818371),(4063,1,4,'<NAME>',0,'C530',44.579221,8.073800),(4064,1,4,'Cervasca',0,'C547',44.380103,7.472892),(4065,1,4,'Cervere',0,'C550',44.636202,7.789893),(4066,1,4,'Ceva',0,'C589',0.000000,0.000000),(4067,1,4,'Cherasco',0,'C599',44.647240,7.858192),(4068,1,4,'<NAME>',0,'C653',44.324122,7.673046),(4069,1,4,'Cigliè',0,'C681',44.437537,7.927269),(4070,1,4,'Cissone',0,'C738',44.563732,8.030523),(4071,1,4,'Clavesana',0,'C792',44.483685,7.910193),(4072,1,4,'<NAME>',0,'D022',44.735958,7.958443),(4073,1,4,'Cortemilia',0,'D062',44.580758,8.192209),(4074,1,4,'<NAME>',0,'D093',44.665263,8.195752),(4075,1,4,'<NAME>',0,'D120',44.564708,7.484616),(4076,1,4,'Cravanzana',0,'D133',44.573772,8.127944),(4077,1,4,'Crissolo',0,'D172',44.698174,7.159702),(4078,1,4,'Cuneo',1,'D205',44.384477,7.542671),(4079,1,4,'Demonte',0,'D271',44.314805,7.294471),(4080,1,4,'<NAME>',0,'D291',44.649988,8.027134),(4081,1,4,'Dogliani',0,'D314',44.531972,7.949748),(4082,1,4,'Dronero',0,'D372',44.465842,7.365669),(4083,1,4,'Elva',0,'D401',44.541083,7.093429),(4084,1,4,'Entracque',0,'D410',44.243966,7.396407),(4085,1,4,'Envie',0,'D412',44.678510,7.372295),(4086,1,4,'Farigliano',0,'D499',44.511628,7.917574),(4087,1,4,'Faule',0,'D511',44.807057,7.581415),(4088,1,4,'Feisoglio',0,'D523',44.542041,8.105069),(4089,1,4,'Fossano',0,'D742',44.552479,7.721793),(4090,1,4,'<NAME>',0,'D751',44.285179,7.807718),(4091,1,4,'<NAME>',0,'D752',44.303463,7.800283),(4092,1,4,'Frassino',0,'D782',44.570492,7.274382),(4093,1,4,'Gaiola',0,'D856',44.333529,7.406469),(4094,1,4,'Gambasca',0,'D894',0.000000,0.000000),(4095,1,4,'Garessio',0,'D920',44.203820,8.014229),(4096,1,4,'Genola',0,'D967',44.587582,7.661827),(4097,1,4,'Gorzegno',0,'E111',44.512568,8.135589),(4098,1,4,'Gottasecca',0,'E115',44.459306,8.167479),(4099,1,4,'Govone',0,'E118',44.804502,8.097533),(4100,1,4,'<NAME>',0,'E182',44.653367,7.992234),(4101,1,4,'Guarene',0,'E251',44.737743,8.030766),(4102,1,4,'Igliano',0,'E282',44.443777,8.013334),(4103,1,4,'Isasca',0,'E327',44.586582,7.381881),(4104,1,4,'Lagnasco',0,'E406',44.626018,7.556147),(4105,1,4,'<NAME>',0,'E430',44.638942,7.933805),(4106,1,4,'<NAME>',0,'E540',44.603911,8.097576),(4107,1,4,'<NAME>',0,'E539',44.560578,7.882802),(4108,1,4,'Lesegno',0,'E546',44.401625,7.970421),(4109,1,4,'Levice',0,'E564',44.537365,8.156006),(4110,1,4,'<NAME>',0,'E597',44.204974,7.575055),(4111,1,4,'Lisio',0,'E615',44.306434,7.979010),(4112,1,4,'Macra',0,'E789',44.500338,7.179550),(4113,1,4,'<NAME>',0,'E809',44.765702,8.070588),(4114,1,4,'<NAME>',0,'E808',44.465674,7.823006),(4115,1,4,'Mango',0,'E887',44.687020,8.148369),(4116,1,4,'Manta',0,'E894',44.616821,7.485720),(4117,1,4,'Marene',0,'E939',44.662772,7.728559),(4118,1,4,'Margarita',0,'E945',44.402675,7.685403),(4119,1,4,'Marmora',0,'E963',44.458476,7.092949),(4120,1,4,'Marsaglia',0,'E973',44.452903,7.982734),(4121,1,4,'<NAME>',0,'E988',44.628219,7.360143),(4122,1,4,'Melle',0,'F114',44.560824,7.318785),(4123,1,4,'Moiola',0,'F279',44.319903,7.389785),(4124,1,4,'Mombarcaro',0,'F309',44.467513,8.088578),(4125,1,4,'Mombasiglio',0,'F312',44.363237,7.970377),(4126,1,4,'<NAME>',0,'F326',44.339732,7.821969),(4127,1,4,'<NAME>',0,'F329',44.331127,7.941223),(4128,1,4,'<NAME>',0,'F330',44.689415,7.619607),(4129,1,4,'Monchiero',0,'F338',44.569058,7.917566),(4130,1,4,'Mondovì',0,'F351',44.395343,7.819671),(4131,1,4,'Monesiglio',0,'F355',44.464713,8.119562),(4132,1,4,'<NAME>',0,'F358',44.582930,7.967890),(4133,1,4,'Montà',0,'F385',44.814057,7.954234),(4134,1,4,'<NAME>',0,'F405',44.319464,7.864619),(4135,1,4,'<NAME>',0,'F408',44.767029,7.927678),(4136,1,4,'Montanera',0,'F424',44.461131,7.665699),(4137,1,4,'<NAME>',0,'F550',44.623033,8.046667),(4138,1,4,'<NAME>',0,'F558',44.437144,7.376236),(4139,1,4,'<NAME>',0,'F608',44.383095,7.297662),(4140,1,4,'<NAME>',0,'F654',44.779269,7.938500),(4141,1,4,'Montezemolo',0,'F666',44.377525,8.141438),(4142,1,4,'<NAME>',0,'F669',44.716581,7.938079),(4143,1,4,'Moretta',0,'F723',44.763341,7.531866),(4144,1,4,'Morozzo',0,'F743',44.423193,7.709937),(4145,1,4,'Murazzano',0,'F809',44.475131,8.021387),(4146,1,4,'Murello',0,'F811',44.753709,7.600733),(4147,1,4,'Narzole',0,'F846',44.594234,7.870947),(4148,1,4,'Neive',0,'F863',44.727087,8.115451),(4149,1,4,'Neviglie',0,'F883',44.691305,8.117494),(4150,1,4,'<NAME>',0,'F894',44.512968,8.079684),(4151,1,4,'<NAME>',0,'F895',44.412993,7.923692),(4152,1,4,'Novello',0,'F961',44.586874,7.925921),(4153,1,4,'Nucetto',0,'F972',44.341951,8.060963),(4154,1,4,'Oncino',0,'G066',44.677289,7.190122),(4155,1,4,'Ormea',0,'G114',44.148287,7.910492),(4156,1,4,'Ostana',0,'G183',44.692428,7.188287),(4157,1,4,'Paesana',0,'G228',44.684728,7.274356),(4158,1,4,'Pagno',0,'G240',44.612488,7.427414),(4159,1,4,'Pamparato',0,'G302',44.274495,7.910238),(4160,1,4,'Paroldo',0,'G339',44.432553,8.071639),(4161,1,4,'Perletto',0,'G457',44.599758,8.212158),(4162,1,4,'Perlo',0,'G458',44.331358,8.085739),(4163,1,4,'Peveragno',0,'G526',44.328894,7.617353),(4164,1,4,'<NAME>',0,'G532',44.538964,8.192874),(4165,1,4,'Pianfei',0,'G561',44.369721,7.708369),(4166,1,4,'Piasco',0,'G575',44.568628,7.458448),(4167,1,4,'Pietraporzio',0,'G625',44.343240,7.035861),(4168,1,4,'<NAME>',0,'G683',44.733198,7.980288),(4169,1,4,'Piozzo',0,'G697',44.512710,7.891070),(4170,1,4,'Pocapaglia',0,'G742',44.713751,7.887535),(4171,1,4,'Polonghera',0,'G800',44.802550,7.598410),(4172,1,4,'Pontechianale',0,'G837',44.621301,7.031820),(4173,1,4,'Pradleves',0,'G970',44.417920,7.281904),(4174,1,4,'Prazzo',0,'H011',44.483165,7.057115),(4175,1,4,'Priero',0,'H059',44.375408,8.095807),(4176,1,4,'Priocca',0,'H068',44.785630,8.062564),(4177,1,4,'Priola',0,'H069',44.240419,8.020684),(4178,1,4,'Prunetto',0,'H085',44.488416,8.143655),(4179,1,4,'Racconigi',0,'H150',44.768267,7.675913),(4180,1,4,'Revello',0,'H247',44.656792,7.392018),(4181,1,4,'Rifreddo',0,'H285',44.649709,7.349256),(4182,1,4,'Rittana',0,'H326',44.357688,7.385293),(4183,1,4,'Roaschia',0,'H362',44.270269,7.454214),(4184,1,4,'Roascio',0,'H363',44.417119,8.022666),(4185,1,4,'Robilante',0,'H377',44.291740,7.515594),(4186,1,4,'Roburent',0,'H378',44.303128,7.889088),(4187,1,4,'Roccabruna',0,'H385',44.491256,7.326426),(4188,1,4,'<NAME>',0,'H391',44.444832,7.950824),(4189,1,4,'<NAME>',0,'H395',44.423478,7.761676),(4190,1,4,'<NAME>',0,'H407',44.317801,7.743707),(4191,1,4,'Roccasparvera',0,'H447',44.339139,7.440525),(4192,1,4,'Roccavione',0,'H453',44.315335,7.482255),(4193,1,4,'<NAME>',0,'H462',44.637887,8.177513),(4194,1,4,'Roddi',0,'H472',44.679100,7.972966),(4195,1,4,'Roddino',0,'H473',44.575513,8.015858),(4196,1,4,'Rodello',0,'H474',44.629867,8.057686),(4197,1,4,'Rossana',0,'H578',44.543882,7.433108),(4198,1,4,'Ruffia',0,'H633',44.706807,7.603620),(4199,1,4,'<NAME>',0,'H695',44.396072,8.082033),(4200,1,4,'<NAME>',0,'H704',44.399005,8.077783),(4201,1,4,'Saliceto',0,'H710',44.413949,8.166825),(4202,1,4,'Salmour',0,'H716',44.578274,7.792333),(4203,1,4,'Saluzzo',0,'H727',44.644540,7.492736),(4204,1,4,'Sambuco',0,'H746',44.336480,7.079025),(4205,1,4,'Sampeyre',0,'H755',44.579446,7.185620),(4206,1,4,'<NAME>',0,'H770',44.491395,8.056168),(4207,1,4,'<NAME>',0,'H812',44.488170,7.251753),(4208,1,4,'Sanfrè',0,'H851',44.751970,7.803350),(4209,1,4,'Sanfront',0,'H852',44.648978,7.317971),(4210,1,4,'<NAME>',0,'I037',44.375931,7.906862),(4211,1,4,'<NAME>',0,'I210',44.508764,7.721133),(4212,1,4,'Santa <NAME>',0,'I316',44.698812,7.932176),(4213,1,4,'<NAME>',0,'I367',44.699675,8.217249),(4214,1,4,'<NAME>',0,'I372',44.788357,7.941874),(4215,1,4,'Savigliano',0,'I470',44.647033,7.662464),(4216,1,4,'Scagnello',0,'I484',44.332942,7.986439),(4217,1,4,'Scarnafigi',0,'I512',44.681767,7.569851),(4218,1,4,'<NAME>',0,'I646',44.610701,8.000295),(4219,1,4,'<NAME>',0,'I659',44.558209,8.059542),(4220,1,4,'Sinio',0,'I750',44.602119,8.021017),(4221,1,4,'Somano',0,'I817',44.535931,8.007826),(4222,1,4,'<NAME>',0,'I822',44.770061,7.783385),(4223,1,4,'<NAME>',0,'I823',44.750499,7.894831),(4224,1,4,'Stroppo',0,'I985',44.502481,7.124758),(4225,1,4,'Tarantasca',0,'L048',44.497151,7.544474),(4226,1,4,'<NAME>',0,'L252',44.562600,8.154217),(4227,1,4,'<NAME>',0,'L241',44.348712,7.899612),(4228,1,4,'<NAME>',0,'L278',44.734375,7.530324),(4229,1,4,'Torresina',0,'L281',44.433591,8.035563),(4230,1,4,'Treiso',0,'L367',44.688394,8.090119),(4231,1,4,'<NAME>',0,'L410',44.677587,8.107786),(4232,1,4,'Trinità',0,'L427',44.508825,7.756610),(4233,1,4,'Valdieri',0,'L558',44.276759,7.397668),(4234,1,4,'Valgrana',0,'L580',44.412563,7.380766),(4235,1,4,'Valloriate',0,'L631',44.337662,7.369256),(4236,1,4,'Valmala',0,'L636',44.545183,7.345998),(4237,1,4,'Venasca',0,'L729',44.562436,7.396786),(4238,1,4,'Verduno',0,'L758',44.665612,7.929540),(4239,1,4,'Vernante',0,'L771',44.243217,7.533982),(4240,1,4,'Verzuolo',0,'L804',44.593886,7.483105),(4241,1,4,'<NAME>',0,'L817',44.760152,7.998176),(4242,1,4,'Vicoforte',0,'L841',44.373741,7.873388),(4243,1,4,'Vignolo',0,'L888',44.360228,7.471132),(4244,1,4,'Villafalletto',0,'L942',44.541721,7.535476),(4245,1,4,'<NAME>',0,'L974',44.348514,7.767477),(4246,1,4,'<NAME>',0,'L990',44.729552,7.574933),(4247,1,4,'<NAME>',0,'M015',44.481597,7.383710),(4248,1,4,'Vinadio',0,'M055',44.307778,7.176439),(4249,1,4,'Viola',0,'M063',44.290334,7.966256),(4250,1,4,'Vottignasco',0,'M136',44.563405,7.579033),(5001,1,5,'<NAME>',0,'A072',42.560437,12.270082),(5002,1,5,'Albugnano',0,'A173',45.076522,7.968622),(5003,1,5,'Antignano',0,'A312',44.845289,8.137560),(5004,1,5,'Aramengo',0,'A352',45.099591,8.001150),(5005,1,5,'Asti',1,'A479',44.900751,8.206426),(5006,1,5,'<NAME>',0,'A527',44.873688,8.265918),(5007,1,5,'<NAME>\'Asti',0,'A588',44.905425,8.090731),(5008,1,5,'Belveglio',0,'A770',44.829513,8.324768),(5009,1,5,'<NAME>',0,'A812',45.095339,7.953068),(5010,1,5,'Bruno',0,'B221',44.795482,8.436278),(5011,1,5,'Bubbio',0,'B236',44.664150,8.293532),(5012,1,5,'<NAME>\'Asti',0,'B306',45.019394,7.949596),(5013,1,5,'Calamandrana',0,'B376',44.736936,8.336687),(5014,1,5,'Calliano',0,'B418',45.007068,8.254988),(5015,1,5,'Calosso',0,'B425',44.738948,8.228480),(5016,1,5,'<NAME>',0,'B469',44.987451,8.090653),(5017,1,5,'Canelli',0,'B594',44.719405,8.286061),(5018,1,5,'Cantarana',0,'B633',44.900643,8.029825),(5019,1,5,'Capriglio',0,'B707',45.003925,8.009042),(5020,1,5,'Casorzo',0,'B991',45.021235,8.337172),(5021,1,5,'Cassinasco',0,'C022',44.688044,8.301816),(5022,1,5,'<NAME>',0,'C049',44.749636,8.150151),(5023,1,5,'<NAME>',0,'C047',44.962490,8.304856),(5024,1,5,'<NAME>',0,'C064',44.722275,8.380693),(5025,1,5,'Castell\'Alfero',0,'C127',44.981227,8.208004),(5026,1,5,'Castellero',0,'C154',44.924801,8.074375),(5027,1,5,'<NAME>',0,'C161',44.750172,8.431339),(5028,1,5,'<NAME>',0,'A300',44.878711,8.315075),(5029,1,5,'<NAME>',0,'C226',44.801238,8.412877),(5030,1,5,'<NAME>',0,'C230',44.784152,8.282873),(5031,1,5,'<NAME>',0,'C232',45.041172,7.961639),(5032,1,5,'<NAME>',0,'C253',44.720070,8.414821),(5033,1,5,'Cellarengo',0,'C438',44.869422,7.943844),(5034,1,5,'<NAME>',0,'C440',44.859357,8.125405),(5035,1,5,'<NAME>',0,'C528',45.049685,8.036344),(5036,1,5,'<NAME>',0,'C533',44.874436,8.358760),(5037,1,5,'Cessole',0,'C583',44.649096,8.245375),(5038,1,5,'<NAME>',0,'C658',44.986173,8.118236),(5039,1,5,'Cinaglio',0,'C701',44.974596,8.100316),(5040,1,5,'<NAME>\'Asti',0,'C739',44.825679,8.001235),(5041,1,5,'Coazzolo',0,'C804',44.728396,8.145427),(5042,1,5,'Cocconato',0,'C807',45.086156,8.042154),(5044,1,5,'Corsione',0,'D046',45.003038,8.146161),(5045,1,5,'Cortandone',0,'D050',44.957889,8.059640),(5046,1,5,'Cortanze',0,'D051',45.016539,8.088257),(5047,1,5,'Cortazzone',0,'D052',44.978190,8.062505),(5048,1,5,'Cortiglione',0,'D072',44.823853,8.357191),(5049,1,5,'Cossombrato',0,'D101',44.992981,8.136321),(5050,1,5,'<NAME>\'Asti',0,'D119',44.786581,8.182137),(5051,1,5,'Cunico',0,'D207',45.039219,8.096133),(5052,1,5,'<NAME>',0,'D388',44.925300,7.973240),(5053,1,5,'Ferrere',0,'D554',44.879257,7.992694),(5054,1,5,'Fontanile',0,'D678',44.751946,8.417214),(5055,1,5,'Frinco',0,'D802',45.004777,8.168307),(5056,1,5,'Grana',0,'E134',44.996918,8.297561),(5057,1,5,'<NAME>',0,'E159',45.040965,8.310963),(5058,1,5,'<NAME>',0,'E295',44.807392,8.373201),(5059,1,5,'<NAME>',0,'E338',44.831901,8.187018),(5060,1,5,'Loazzolo',0,'E633',44.668807,8.258574),(5061,1,5,'Maranzana',0,'E917',44.757646,8.474096),(5062,1,5,'Maretto',0,'E944',44.944816,8.034061),(5063,1,5,'Moasca',0,'F254',44.763394,8.278797),(5064,1,5,'Mombaldone',0,'F308',44.569924,8.332359),(5065,1,5,'Mombaruzzo',0,'F311',44.773013,8.448388),(5066,1,5,'Mombercelli',0,'F316',44.823114,8.293690),(5067,1,5,'Monale',0,'F323',44.938014,8.070222),(5068,1,5,'<NAME>',0,'F325',44.648168,8.326000),(5069,1,5,'Moncalvo',0,'F336',45.047245,8.267009),(5070,1,5,'<NAME>',0,'F343',45.064981,7.933175),(5071,1,5,'Mongardino',0,'F361',44.847774,8.218216),(5072,1,5,'Montabone',0,'F386',44.698570,8.390402),(5073,1,5,'Montafia',0,'F390',44.989058,8.025828),(5074,1,5,'<NAME>',0,'F409',44.830317,8.258377),(5075,1,5,'<NAME>',0,'F468',45.006245,8.110994),(5076,1,5,'<NAME>',0,'F527',44.821702,8.237902),(5077,1,5,'Montemagno',0,'F556',44.982193,8.323251),(5079,1,5,'Moransengo',0,'F709',45.114682,8.025046),(5080,1,5,'<NAME>',0,'F902',44.773687,8.358553),(5081,1,5,'<NAME>',0,'G048',44.585641,8.246702),(5082,1,5,'<NAME>',0,'G358',45.054537,8.019404),(5083,1,5,'Penango',0,'G430',45.029386,8.250568),(5084,1,5,'Piea',0,'G593',45.024381,8.071075),(5085,1,5,'<NAME>',0,'G676',45.058693,7.986082),(5086,1,5,'<NAME>',0,'G692',45.054149,8.049579),(5087,1,5,'Portacomaro',0,'G894',44.957334,8.258051),(5088,1,5,'Quaranti',0,'H102',44.750824,8.449684),(5089,1,5,'Refrancore',0,'H219',44.936627,8.343647),(5090,1,5,'<NAME>',0,'H250',44.856847,8.160936),(5091,1,5,'Roatto',0,'H366',44.950911,8.026189),(5092,1,5,'Robella',0,'H376',45.101258,8.098158),(5093,1,5,'<NAME>',0,'H392',44.872174,8.284713),(5094,1,5,'Roccaverano',0,'H451',44.593394,8.270535),(5095,1,5,'<NAME>',0,'H466',44.707652,8.344640),(5096,1,5,'<NAME>',0,'H468',44.858420,8.345763),(5097,1,5,'<NAME>',0,'H811',44.834473,8.062099),(5098,1,5,'<NAME>',0,'H899',44.610831,8.242025),(5099,1,5,'<NAME>',0,'H987',44.818280,8.109074),(5100,1,5,'<NAME>',0,'I017',44.752654,8.296803),(5101,1,5,'<NAME>',0,'I076',44.949099,7.968983),(5103,1,5,'Scurzolengo',0,'I555',44.960262,8.278836),(5104,1,5,'Serole',0,'I637',44.554592,8.260656),(5105,1,5,'Sessame',0,'I678',44.670903,8.337283),(5106,1,5,'Settime',0,'I698',44.963599,8.111106),(5107,1,5,'Soglio',0,'I781',44.995881,8.077815),(5108,1,5,'Tigliole',0,'L168',44.886522,8.074140),(5109,1,5,'Tonco',0,'L203',45.024674,8.186201),(5110,1,5,'Tonengo',0,'L204',45.115667,8.004190),(5111,1,5,'<NAME>',0,'L531',44.797159,8.339402),(5112,1,5,'Valfenera',0,'L574',44.903026,7.967417),(5113,1,5,'Vesime',0,'L807',44.636206,8.228193),(5114,1,5,'Viale',0,'L829',45.001745,8.049686),(5115,1,5,'Viarigi',0,'L834',44.979599,8.361367),(5116,1,5,'<NAME>',0,'L879',44.833584,8.227750),(5117,1,5,'<NAME>',0,'L945',44.913211,8.035248),(5118,1,5,'<NAME>',0,'L984',44.942265,7.937388),(5119,1,5,'<NAME>',0,'M019',45.004284,8.137037),(5120,1,5,'Vinchio',0,'M058',44.808003,8.313616),(5121,1,5,'<NAME>',0,'M302',45.064100,8.098408),(6001,1,6,'<NAME>',0,'A052',44.676385,8.467029),(6002,1,6,'<NAME>',0,'A146',44.702551,9.065688),(6003,1,6,'Alessandria',1,'A182',44.907273,8.611680),(6004,1,6,'<NAME>',0,'A189',45.046400,8.208565),(6005,1,6,'<NAME>',0,'A197',44.726117,8.449748),(6006,1,6,'<NAME>',0,'A211',44.999827,8.795549),(6007,1,6,'<NAME>',0,'A227',44.995096,8.376025),(6008,1,6,'Al<NAME>',0,'A245',45.016781,8.880183),(6009,1,6,'<NAME>',0,'A436',44.687857,8.886028),(6010,1,6,'Avolasca',0,'A523',44.804034,8.965204),(6011,1,6,'Balzola',0,'A605',45.183581,8.402291),(6012,1,6,'Basaluzzo',0,'A689',44.766212,8.706162),(6013,1,6,'Bassignana',0,'A708',45.003474,8.730872),(6014,1,6,'<NAME>',0,'A738',44.625003,8.661747),(6015,1,6,'Bergamasco',0,'A793',44.827723,8.454619),(6016,1,6,'<NAME>',0,'A813',44.876347,8.950717),(6017,1,6,'Bistagno',0,'A889',44.660504,8.368943),(6018,1,6,'<NAME>',0,'A998',44.730634,8.943275),(6019,1,6,'<NAME>',0,'B029',44.836267,8.539896),(6020,1,6,'<NAME>',0,'B037',45.089111,8.525728),(6021,1,6,'<NAME>',0,'B071',44.822541,8.678611),(6022,1,6,'Bosio',0,'B080',44.646865,8.791010),(6023,1,6,'Bozzole',0,'B109',45.068470,8.604922),(6024,1,6,'Brignano-Frascata',0,'B179',44.814857,9.040050),(6025,1,6,'<NAME>',0,'B311',44.679852,9.149182),(6026,1,6,'<NAME>',0,'B453',45.018206,8.430774),(6027,1,6,'Camino',0,'B482',-34.598524,-58.947875),(6028,1,6,'<NAME>',0,'B629',44.718612,9.045495),(6029,1,6,'<NAME>',0,'B701',44.728428,8.690351),(6030,1,6,'<NAME>',0,'B736',44.848797,8.870855),(6031,1,6,'Carentino',0,'B765',44.828724,8.470480),(6032,1,6,'Carezzano',0,'B769',44.812876,8.904935),(6033,1,6,'Carpeneto',0,'B818',44.678748,8.605533),(6034,1,6,'<NAME>',0,'B836',44.618878,9.175889),(6035,1,6,'Carrosio',0,'B840',44.659472,8.831287),(6036,1,6,'Cartosio',0,'B847',44.591716,8.419827),(6037,1,6,'<NAME>',0,'B870',44.835173,8.626125),(6038,1,6,'<NAME>',0,'B882',44.634068,8.731012),(6039,1,6,'<NAME>',0,'B885',45.131609,8.450503),(6040,1,6,'Casalnoceto',0,'B902',44.913364,8.981829),(6041,1,6,'Casasco',0,'B941',44.826423,9.005205),(6042,1,6,'<NAME>',0,'C005',44.761287,8.859896),(6043,1,6,'Cassine',0,'C027',44.752153,8.526164),(6044,1,6,'Cassinelle',0,'C030',44.603585,8.562019),(6045,1,6,'Castellania',0,'C137',44.798476,8.928985),(6046,1,6,'<NAME>',0,'C142',44.904994,8.945362),(6047,1,6,'<NAME>',0,'C148',44.846987,8.576723),(6048,1,6,'<NAME>\'Erro',0,'C156',44.631032,8.391013),(6049,1,6,'<NAME>',0,'C158',44.684195,8.705761),(6050,1,6,'<NAME>',0,'C160',45.083821,8.229094),(6051,1,6,'<NAME>',0,'C162',44.979762,8.566756),(6052,1,6,'<NAME>',0,'C229',44.743793,8.545897),(6053,1,6,'<NAME>',0,'C243',44.980769,8.881079),(6054,1,6,'Castelspina',0,'C274',44.804028,8.580159),(6055,1,6,'Cavatore',0,'C387',44.630861,8.454044),(6056,1,6,'<NAME>',0,'C432',45.073115,8.392656),(6057,1,6,'Cereseto',0,'C503',45.087242,8.321313),(6058,1,6,'<NAME>',0,'C507',44.842585,8.932976),(6059,1,6,'<NAME>',0,'C531',45.120761,8.214739),(6060,1,6,'Coniolo',0,'C962',45.147654,8.373503),(6061,1,6,'Conzano',0,'C977',45.020978,8.454473),(6062,1,6,'<NAME>',0,'D102',44.814296,8.926792),(6063,1,6,'Cremolino',0,'D149',44.634103,8.585988),(6064,1,6,'<NAME>',0,'D194',44.990565,8.453648),(6065,1,6,'Denice',0,'D272',44.598052,8.333708),(6066,1,6,'Dernice',0,'D277',44.766578,9.050744),(6067,1,6,'<NAME>',0,'D447',44.786021,9.146865),(6068,1,6,'Felizzano',0,'D528',44.897680,8.437421),(6069,1,6,'Fraconalto',0,'D559',44.590613,8.878605),(6070,1,6,'<NAME>',0,'D759',44.734004,8.732956),(6071,1,6,'Frascaro',0,'D770',44.827037,8.529291),(6072,1,6,'<NAME>',0,'D777',45.033419,8.386410),(6073,1,6,'<NAME>',0,'D780',45.133270,8.534751),(6074,1,6,'Fresonara',0,'D797',44.784217,8.687705),(6075,1,6,'Frugarolo',0,'D813',44.837723,8.680062),(6076,1,6,'Fubine',0,'D814',44.966075,8.427758),(6077,1,6,'Gabiano',0,'D835',45.155718,8.193924),(6078,1,6,'Gamalero',0,'D890',44.808962,8.541665),(6079,1,6,'Garbagna',0,'D910',44.779031,8.995321),(6080,1,6,'Gavazzana',0,'D941',44.775729,8.886205),(6081,1,6,'Gavi',0,'D944',44.688092,8.803747),(6082,1,6,'Giarole',0,'E015',45.061321,8.566098),(6083,1,6,'Gremiasco',0,'E164',44.795628,9.109559),(6084,1,6,'Grognardo',0,'E188',44.630122,8.492921),(6085,1,6,'Grondona',0,'E191',44.697769,8.961217),(6086,1,6,'Guazzora',0,'E255',45.015320,8.844798),(6087,1,6,'<NAME>',0,'E360',45.032297,8.847903),(6088,1,6,'Lerma',0,'E543',44.635575,8.713839),(6089,1,6,'Lu',0,'E712',43.837674,10.495053),(6090,1,6,'Malvicino',0,'E870',44.559243,8.414391),(6091,1,6,'Masio',0,'F015',44.868599,8.401125),(6092,1,6,'Melazzo',0,'F096',44.643573,8.426549),(6093,1,6,'Merana',0,'F131',44.517906,8.297728),(6094,1,6,'<NAME>',0,'F232',45.033929,8.523276),(6095,1,6,'Molare',0,'F281',44.618713,8.599954),(6096,1,6,'<NAME>',0,'F293',45.024359,8.892362),(6097,1,6,'<NAME>',0,'F313',45.133903,8.252148),(6098,1,6,'Momperone',0,'F320',44.838045,9.033359),(6099,1,6,'Moncestino',0,'F337',45.154392,8.160381),(6100,1,6,'<NAME>',0,'F365',44.634492,9.064864),(6101,1,6,'Monleale',0,'F374',44.883165,8.973993),(6102,1,6,'Montacuto',0,'F387',44.766803,9.104175),(6103,1,6,'Montaldeo',0,'F403',44.666377,8.730446),(6104,1,6,'<NAME>',0,'F404',44.683352,8.588908),(6105,1,6,'Montecastello',0,'F455',44.947113,8.686936),(6106,1,6,'<NAME>',0,'F469',44.593600,8.378414),(6107,1,6,'Montegioco',0,'F518',44.841396,8.962117),(6108,1,6,'Montemarzino',0,'F562',44.848735,8.992174),(6109,1,6,'<NAME>',0,'F707',45.165211,8.366769),(6110,1,6,'Morbello',0,'F713',44.606879,8.511796),(6111,1,6,'Mornese',0,'F737',44.638284,8.756213),(6112,1,6,'Morsasco',0,'F751',44.664703,8.549356),(6113,1,6,'Murisengo',0,'F814',45.081608,8.132619),(6114,1,6,'<NAME>',0,'F965',44.762005,8.785896),(6115,1,6,'Occimiano',0,'F995',45.058911,8.509842),(6116,1,6,'<NAME>',0,'F997',45.106311,8.163128),(6117,1,6,'<NAME>',0,'F998',45.074695,8.210459),(6118,1,6,'Olivola',0,'G042',45.036365,8.367833),(6119,1,6,'<NAME>',0,'G124',44.690970,8.561617),(6120,1,6,'Ottiglio',0,'G193',45.052836,8.338763),(6121,1,6,'Ovada',0,'G197',44.636157,8.639676),(6122,1,6,'Oviglio',0,'G199',44.860610,8.485207),(6123,1,6,'<NAME>',0,'G204',45.103264,8.372239),(6124,1,6,'Paderna',0,'G215',44.821255,8.892407),(6125,1,6,'Pareto',0,'G334',44.518618,8.381909),(6126,1,6,'<NAME>',0,'G338',44.669057,8.757277),(6127,1,6,'Pasturana',0,'G367',44.749995,8.750191),(6128,1,6,'<NAME>',0,'G397',44.988440,8.670612),(6129,1,6,'<NAME>',0,'G619',44.942969,8.669753),(6130,1,6,'Piovera',0,'G695',44.958389,8.733635),(6131,1,6,'<NAME>',0,'G807',45.062578,8.594686),(6132,1,6,'Pontecurone',0,'G839',44.956535,8.928521),(6133,1,6,'Pontestura',0,'G858',45.142464,8.335953),(6134,1,6,'Ponti',0,'G861',44.626005,8.365343),(6135,1,6,'<NAME>',0,'G872',45.084744,8.263816),(6136,1,6,'Ponzone',0,'G877',44.587152,8.460397),(6137,1,6,'<NAME>',0,'G960',44.881085,9.030308),(6138,1,6,'<NAME>',0,'G961',44.794454,8.783866),(6139,1,6,'Prasco',0,'G987',44.639626,8.552711),(6140,1,6,'Predosa',0,'H021',44.754808,8.658502),(6141,1,6,'Quargnento',0,'H104',44.947549,8.485630),(6142,1,6,'Quattordio',0,'H121',44.898038,8.405902),(6143,1,6,'Ricaldone',0,'H272',44.732292,8.469462),(6144,1,6,'<NAME>',0,'H334',44.710202,8.549704),(6145,1,6,'Rivarone',0,'H343',44.975344,8.713023),(6146,1,6,'<NAME>',0,'H406',44.677436,9.027901),(6147,1,6,'<NAME>',0,'H414',44.670128,8.647007),(6148,1,6,'<NAME>',0,'H465',44.707730,9.051528),(6149,1,6,'<NAME>',0,'H569',45.078751,8.400452),(6150,1,6,'<NAME>',0,'H677',45.074488,8.358851),(6151,1,6,'Sale',0,'H694',44.985397,8.808719),(6152,1,6,'<NAME>',0,'H810',46.039463,11.234685),(6153,1,6,'<NAME>',0,'H878',45.106952,8.414144),(6154,1,6,'<NAME>',0,'I144',44.992542,8.563783),(6155,1,6,'<NAME>',0,'I150',44.786188,9.064286),(6156,1,6,'<NAME>',0,'I190',44.785718,8.918938),(6157,1,6,'Sardigliano',0,'I429',44.753671,8.893738),(6158,1,6,'Sarezzano',0,'I432',44.867446,8.915071),(6159,1,6,'<NAME>',0,'I645',45.099971,8.283730),(6160,1,6,'Serravalle Scrivia',0,'I657',44.723208,8.857401),(6161,1,6,'Sezzadio',0,'I711',44.785431,8.573330),(6162,1,6,'<NAME>',0,'I738',44.687567,8.672892),(6163,1,6,'Solero',0,'I798',44.919624,8.506769),(6164,1,6,'Solonghello',0,'I808',45.129425,8.283111),(6165,1,6,'<NAME>',0,'I901',44.542548,8.333265),(6166,1,6,'Spineto Scrivia',0,'I911',44.837642,8.870096),(6167,1,6,'Stazzano',0,'I941',44.722855,8.866777),(6168,1,6,'Strevi',0,'I977',44.700419,8.523498),(6169,1,6,'<NAME>',0,'L027',44.636023,8.671271),(6170,1,6,'Tassarolo',0,'L059',44.728342,8.770255),(6171,1,6,'Terruggia',0,'L139',45.082404,8.444647),(6172,1,6,'Terzo',0,'L143',44.671584,8.429284),(6173,1,6,'Ticineto',0,'L165',45.096204,8.551306),(6174,1,6,'Tortona',0,'L304',44.895212,8.863333),(6175,1,6,'Treville',0,'L403',45.097227,8.361358),(6176,1,6,'Trisobbio',0,'L432',44.659986,8.585143),(6177,1,6,'Valenza',0,'L570',45.012288,8.644111),(6178,1,6,'Valmacca',0,'L633',45.101249,8.581873),(6179,1,6,'<NAME>',0,'L881',45.009772,8.400034),(6180,1,6,'<NAME>',0,'L887',44.708522,8.891369),(6181,1,6,'Viguzzolo',0,'L904',44.903764,8.920642),(6182,1,6,'Villadeati',0,'L931',45.073501,8.172515),(6183,1,6,'Villalvernia',0,'L963',44.817554,8.854969),(6184,1,6,'Villamiroglio',0,'L970',45.134430,8.169475),(6185,1,6,'<NAME>',0,'L972',45.182159,8.478578),(6186,1,6,'Villaromagnano',0,'M009',44.849329,8.888423),(6187,1,6,'Visone',0,'M077',44.662601,8.502745),(6188,1,6,'Volpedo',0,'M120',44.889464,8.983630),(6189,1,6,'Volpeglino',0,'M121',44.892383,8.958959),(6190,1,6,'Voltaggio',0,'M123',44.622380,8.842666),(7001,2,7,'Allein',0,'A205',45.807414,7.272966),(7002,2,7,'Antey-Saint-André',0,'A305',45.799222,7.595430),(7003,2,7,'Aosta',1,'A326',45.734955,7.313076),(7004,2,7,'Arnad',0,'A424',45.642022,7.723785),(7005,2,7,'Arvier',0,'A452',45.701756,7.167447),(7006,2,7,'Avise',0,'A521',45.708638,7.139644),(7007,2,7,'Ayas',0,'A094',45.812671,7.696847),(7008,2,7,'Aymavilles',0,'A108',45.701095,7.240775),(7009,2,7,'Bard',0,'A643',45.609095,7.745530),(7010,2,7,'Bionaz',0,'A877',45.874077,7.422959),(7011,2,7,'Brissogne',0,'B192',45.725573,7.391567),(7012,2,7,'Brusson',0,'B230',45.758063,7.729560),(7013,2,7,'Challand-Saint-Anselme',0,'C593',45.716685,7.737115),(7014,2,7,'Challand-Saint-Victor',0,'C594',45.697736,7.714380),(7015,2,7,'Chambave',0,'C595',45.744289,7.548068),(7016,2,7,'Chamois',0,'B491',45.837088,7.622672),(7017,2,7,'Champdepraz',0,'C596',45.685306,7.656864),(7018,2,7,'Champorcher',0,'B540',45.624317,7.621894),(7019,2,7,'Charvensod',0,'C598',45.720297,7.324163),(7020,2,7,'Châtillon',0,'C294',45.748582,7.612802),(7021,2,7,'Cogne',0,'C821',45.607622,7.359093),(7022,2,7,'Courmayeur',0,'D012',45.796922,6.968963),(7023,2,7,'Donnas',0,'D338',45.602861,7.772361),(7024,2,7,'Doues',0,'D356',45.818398,7.305053),(7025,2,7,'Emarèse',0,'D402',45.725420,7.700864),(7026,2,7,'Etroubles',0,'D444',45.822184,7.237926),(7027,2,7,'Fénis',0,'D537',45.733067,7.496921),(7028,2,7,'Fontainemore',0,'D666',45.648018,7.859544),(7029,2,7,'Gaby',0,'D839',45.716401,7.880362),(7030,2,7,'Gignod',0,'E029',45.779741,7.295149),(7031,2,7,'Gressan',0,'E165',45.721445,7.289894),(7032,2,7,'Gressoney-La-Trinité',0,'E167',45.873471,7.838423),(7033,2,7,'Gressoney-Saint-Jean',0,'E168',45.780331,7.825048),(7034,2,7,'Hône',0,'E273',45.609528,7.726313),(7035,2,7,'Introd',0,'E306',45.692065,7.184827),(7036,2,7,'Issime',0,'E369',45.687129,7.853969),(7037,2,7,'Issogne',0,'E371',45.655763,7.690405),(7038,2,7,'Jovençan',0,'E391',45.715293,7.271927),(7039,2,7,'<NAME>',0,'A308',45.810735,7.619286),(7040,2,7,'<NAME>',0,'E458',45.747095,7.069189),(7041,2,7,'<NAME>',0,'E470',45.716853,6.948686),(7042,2,7,'Lillianes',0,'E587',45.631033,7.843052),(7043,2,7,'Montjovet',0,'F367',45.706473,7.674878),(7044,2,7,'Morgex',0,'F726',45.756440,7.037616),(7045,2,7,'Nus',0,'F987',45.739933,7.467472),(7046,2,7,'Ollomont',0,'G045',45.848938,7.310823),(7047,2,7,'Oyace',0,'G012',45.852018,7.383464),(7048,2,7,'Perloz',0,'G459',45.613765,7.808461),(7049,2,7,'Pollein',0,'G794',45.728457,7.349251),(7050,2,7,'Pontboset',0,'G545',45.607424,7.686944),(7051,2,7,'Pontey',0,'G860',45.738777,7.589070),(7052,2,7,'Pont-Saint-Martin',0,'G854',45.594928,7.798357),(7053,2,7,'Pré-Saint-Didier',0,'H042',45.759590,6.946585),(7054,2,7,'Quart',0,'H110',45.749608,7.422401),(7055,2,7,'Rhêmes-Notre-Dame',0,'H262',45.548731,7.129875),(7056,2,7,'Rhêmes-Saint-Georges',0,'H263',45.654147,7.156102),(7057,2,7,'Roisan',0,'H497',45.783680,7.311264),(7058,2,7,'Saint-Christophe',0,'H669',45.746458,7.353542),(7059,2,7,'Saint-Denis',0,'H670',45.752747,7.554950),(7060,2,7,'Saint-Marcel',0,'H671',45.729887,7.448726),(7061,2,7,'Saint-Nicolas',0,'H672',45.715981,7.166291),(7062,2,7,'Saint-Oyen',0,'H673',45.824659,7.216742),(7063,2,7,'Saint-Pierre',0,'H674',45.710136,7.231977),(7064,2,7,'Saint-Rhémy-en-Bosses',0,'H675',45.823727,7.142544),(7065,2,7,'Saint-Vincent',0,'H676',45.751571,7.642080),(7066,2,7,'Sarre',0,'I442',45.723228,7.258972),(7067,2,7,'Torgnon',0,'L217',45.803146,7.571287),(7068,2,7,'Valgrisenche',0,'L582',45.630219,7.064506),(7069,2,7,'Valpelline',0,'L643',45.825775,7.326755),(7070,2,7,'Valsavarenche',0,'L647',45.585704,7.211341),(7071,2,7,'Valtournenche',0,'L654',45.877207,7.622204),(7072,2,7,'Verrayes',0,'L783',45.761795,7.532843),(7073,2,7,'Verrès',0,'C282',45.662435,7.693805),(7074,2,7,'Villeneuve',0,'L981',45.702560,7.207338),(8001,7,8,'Airole',0,'A111',43.871241,7.555567),(8002,7,8,'Apricale',0,'A338',43.881878,7.656253),(8003,7,8,'<NAME>',0,'A344',44.095017,8.008341),(8004,7,8,'Armo',0,'A418',38.070067,15.713784),(8005,7,8,'Aurigo',0,'A499',43.982429,7.924012),(8006,7,8,'Badalucco',0,'A536',43.919461,7.845398),(8007,7,8,'Bajardo',0,'A581',43.902581,7.717909),(8008,7,8,'Bordighera',0,'A984',43.780698,7.672280),(8009,7,8,'<NAME>',0,'A993',44.055664,7.979512),(8010,7,8,'Borgomaro',0,'B020',43.974820,7.949024),(8011,7,8,'Camporosso',0,'B559',43.814061,7.628742),(8012,7,8,'Caravonica',0,'B734',43.993096,7.957754),(8013,7,8,'Carpasio',0,'B814',43.962089,7.868568),(8014,7,8,'Castellaro',0,'C143',43.864809,7.868841),(8015,7,8,'<NAME>',0,'C110',43.926766,7.674863),(8016,7,8,'Ceriana',0,'C511',43.884394,7.772227),(8017,7,8,'Cervo',0,'C559',43.925030,8.114189),(8018,7,8,'Cesio',0,'C578',44.010499,7.974645),(8019,7,8,'Chiusanico',0,'C657',43.973514,7.992491),(8020,7,8,'Chiusavecchia',0,'C660',43.971165,7.980336),(8021,7,8,'Cipressa',0,'C718',43.851455,7.930390),(8022,7,8,'Civezza',0,'C755',43.878137,7.951671),(8023,7,8,'<NAME>',0,'D087',44.076863,7.831027),(8024,7,8,'Costarainera',0,'D114',43.856407,7.940899),(8025,7,8,'<NAME>',0,'D293',43.953021,8.041040),(8026,7,8,'<NAME>',0,'D296',43.926101,8.064406),(8027,7,8,'<NAME>',0,'D297',43.908864,8.082802),(8028,7,8,'<NAME>',0,'D298',43.933755,8.064675),(8029,7,8,'Dolceacqua',0,'D318',43.859444,7.623929),(8030,7,8,'Dolcedo',0,'D319',43.907499,7.953327),(8031,7,8,'Imperia',1,'E290',43.889686,8.039517),(8032,7,8,'Isolabona',0,'E346',43.879235,7.639033),(8033,7,8,'Lucinasco',0,'E719',43.968226,7.966362),(8034,7,8,'Mendatica',0,'F123',44.074000,7.805924),(8035,7,8,'<NAME>',0,'F290',43.986544,7.777714),(8036,7,8,'<NAME>',0,'F406',43.927268,7.834076),(8037,7,8,'<NAME>',0,'F528',44.066360,7.815386),(8038,7,8,'<NAME>',0,'G041',43.879344,7.518631),(8039,7,8,'Ospedaletti',0,'G164',43.802091,7.717656),(8040,7,8,'Perinaldo',0,'G454',43.865927,7.667765),(8041,7,8,'Pietrabruna',0,'G607',43.887816,7.902747),(8042,7,8,'<NAME>',0,'G632',44.046561,7.914992),(8043,7,8,'Pigna',0,'G660',43.934117,7.664758),(8044,7,8,'Pompeiana',0,'G814',43.856505,7.885480),(8045,7,8,'Pontedassio',0,'G840',43.940734,8.012822),(8046,7,8,'Pornassio',0,'G890',44.070229,7.872050),(8047,7,8,'Prelà',0,'H027',43.926858,7.937360),(8048,7,8,'Ranzo',0,'H180',44.058310,8.011730),(8049,7,8,'Rezzo',0,'H257',44.021928,7.873209),(8050,7,8,'<NAME>',0,'H328',43.838292,7.880531),(8051,7,8,'<NAME>',0,'H460',43.890722,7.599815),(8052,7,8,'<NAME>',0,'H763',43.921975,8.103432),(8053,7,8,'<NAME>',0,'H780',43.819803,7.647495),(8054,7,8,'<NAME>',0,'H957',43.854036,7.965235),(8055,7,8,'Sanremo',0,'I138',43.815967,7.776057),(8056,7,8,'<NAME>',0,'I365',43.838598,7.895828),(8057,7,8,'Seborga',0,'I556',43.830371,7.700124),(8058,7,8,'Soldano',0,'I796',43.835119,7.661757),(8059,7,8,'Taggia',0,'L024',43.862190,7.853980),(8060,7,8,'Terzorio',0,'L146',43.852981,7.898113),(8061,7,8,'Triora',0,'L430',43.994302,7.765714),(8062,7,8,'Vallebona',0,'L596',43.811709,7.664319),(8063,7,8,'Vallecrosia',0,'L599',43.783737,7.645046),(8064,7,8,'Vasia',0,'L693',43.933741,7.952458),(8065,7,8,'Ventimiglia',0,'L741',43.791237,7.607586),(8066,7,8,'Vessalico',0,'L809',44.046617,7.959811),(8067,7,8,'<NAME>',0,'L943',43.967982,8.091551),(9001,7,9,'Alassio',0,'A122',44.014336,8.181174),(9002,7,9,'Albenga',0,'A145',44.049425,8.215611),(9003,7,9,'<NAME>',0,'A165',44.326360,8.501224),(9004,7,9,'<NAME>',0,'A166',44.336241,8.509910),(9005,7,9,'Altare',0,'A226',44.325464,8.330164),(9006,7,9,'Andora',0,'A278',43.984823,8.130599),(9007,7,9,'Arnasco',0,'A422',44.078859,8.097492),(9008,7,9,'Balestrino',0,'A593',44.124593,8.172725),(9009,7,9,'Bardineto',0,'A647',44.190647,8.135267),(9010,7,9,'Bergeggi',0,'A796',44.249107,8.438630),(9011,7,9,'Boissano',0,'A931',44.133971,8.227469),(9012,7,9,'<NAME>',0,'A999',44.108750,8.240535),(9013,7,9,'<NAME>',0,'B005',44.159017,8.310228),(9014,7,9,'Bormida',0,'B048',44.274543,8.231569),(9015,7,9,'<NAME>',0,'B369',44.400807,8.273246),(9016,7,9,'<NAME>',0,'B409',44.204555,8.294813),(9017,7,9,'Calizzano',0,'B416',44.242693,8.111580),(9018,7,9,'Carcare',0,'B748',44.358437,8.288549),(9019,7,9,'<NAME>',0,'B927',44.035915,8.045856),(9020,7,9,'Castelbianco',0,'C063',44.119747,8.066611),(9021,7,9,'<NAME>',0,'C276',44.130430,8.116790),(9022,7,9,'<NAME>',0,'C443',44.348866,8.533653),(9023,7,9,'Cengio',0,'C463',44.391779,8.197106),(9024,7,9,'Ceriale',0,'C510',44.096966,8.231979),(9025,7,9,'<NAME>',0,'C729',44.084950,8.150243),(9026,7,9,'Cosseria',0,'D095',44.367297,8.241919),(9027,7,9,'Dego',0,'D264',44.447689,8.313249),(9028,7,9,'Erli',0,'D424',44.138014,8.102496),(9029,7,9,'<NAME>',0,'D600',44.168903,8.341621),(9030,7,9,'Garlenda',0,'D927',44.033372,8.093168),(9031,7,9,'Giustenice',0,'E064',44.168646,8.257922),(9032,7,9,'Giusvalla',0,'E066',44.447474,8.394550),(9033,7,9,'Laigueglia',0,'E414',43.978392,8.157938),(9034,7,9,'Loano',0,'E632',44.130641,8.260967),(9035,7,9,'Magliolo',0,'E816',44.192845,8.244609),(9036,7,9,'Mallare',0,'E860',44.291544,8.294285),(9037,7,9,'Massimino',0,'F046',44.299858,8.073689),(9038,7,9,'Millesimo',0,'F213',44.362726,8.207784),(9039,7,9,'Mioglia',0,'F226',44.489659,8.411419),(9040,7,9,'Murialdo',0,'F813',44.316433,8.163000),(9041,7,9,'Nasino',0,'F847',44.113276,8.031410),(9042,7,9,'Noli',0,'F926',44.207053,8.414134),(9043,7,9,'Onzo',0,'G076',44.069786,8.053270),(9044,7,9,'<NAME>',0,'D522',44.218438,8.322369),(9045,7,9,'Ortovero',0,'G144',44.053679,8.095588),(9046,7,9,'Osiglia',0,'G155',44.280701,8.200825),(9047,7,9,'Pallare',0,'G281',44.327158,8.274512),(9048,7,9,'<NAME>',0,'G542',44.490616,8.300151),(9049,7,9,'<NAME>',0,'G605',44.150285,8.283452),(9050,7,9,'Plodio',0,'G741',44.358089,8.247067),(9051,7,9,'Pontinvrea',0,'G866',44.444583,8.434802),(9052,7,9,'Quiliano',0,'H126',44.293441,8.402763),(9053,7,9,'Rialto',0,'H266',45.108145,11.667604),(9054,7,9,'Roccavignale',0,'H452',44.353251,8.162957),(9055,7,9,'Sassello',0,'I453',44.479509,8.490099),(9056,7,9,'Savona',1,'I480',44.297560,8.464500),(9057,7,9,'Spotorno',0,'I926',44.230571,8.423496),(9058,7,9,'Stella',0,'I946',45.576922,10.156661),(9059,7,9,'Stellanello',0,'I947',44.000949,8.067417),(9060,7,9,'Testico',0,'L152',44.005908,8.032551),(9061,7,9,'Toirano',0,'L190',44.125500,8.207914),(9062,7,9,'<NAME>',0,'L315',44.174077,8.268677),(9063,7,9,'Urbe',0,'L499',44.486278,8.590638),(9064,7,9,'<NAME>',0,'L528',44.269105,8.439782),(9065,7,9,'Varazze',0,'L675',44.359434,8.577313),(9066,7,9,'Vendone',0,'L730',44.078676,8.070712),(9067,7,9,'<NAME>',0,'L823',44.219849,8.376364),(9068,7,9,'<NAME>\'Albenga',0,'L975',44.045850,8.143339),(9069,7,9,'Zuccarello',0,'M197',44.111757,8.116590),(10001,7,10,'Arenzano',0,'A388',44.405861,8.686017),(10002,7,10,'Avegno',0,'A506',44.386098,9.162913),(10003,7,10,'Bargagli',0,'A658',44.445587,9.094058),(10004,7,10,'Bogliasco',0,'A922',44.379293,9.064765),(10005,7,10,'Borzonasca',0,'B067',44.418853,9.389890),(10006,7,10,'Busalla',0,'B282',44.569243,8.946150),(10007,7,10,'Camogli',0,'B490',44.354279,9.149818),(10008,7,10,'<NAME>',0,'B538',44.535910,8.698966),(10009,7,10,'Campomorone',0,'B551',44.509797,8.892480),(10010,7,10,'Carasco',0,'B726',44.353181,9.344804),(10011,7,10,'<NAME>',0,'B939',44.271992,9.446292),(10012,7,10,'Casella',0,'B956',44.535703,8.996824),(10013,7,10,'<NAME>',0,'C302',44.274062,9.533974),(10014,7,10,'Ceranesi',0,'C481',44.504464,8.871658),(10015,7,10,'Chiavari',0,'C621',44.316842,9.319982),(10016,7,10,'Cicagna',0,'C673',44.409227,9.238006),(10017,7,10,'Cogoleto',0,'C823',44.389421,8.646971),(10018,7,10,'Cogorno',0,'C826',44.325299,9.372124),(10019,7,10,'<NAME>',0,'C995',44.386506,9.265689),(10020,7,10,'Crocefieschi',0,'D175',44.586256,9.024846),(10021,7,10,'Davagna',0,'D255',44.468618,9.092881),(10022,7,10,'Fascia',0,'D509',44.583146,9.220143),(10023,7,10,'<NAME>',0,'D512',44.455265,9.260055),(10024,7,10,'Fontanigorda',0,'D677',44.547445,9.303266),(10025,7,10,'Genova',1,'D969',44.405650,8.946256),(10026,7,10,'Gorreto',0,'E109',44.604578,9.291803),(10027,7,10,'<NAME>',0,'E341',44.645364,8.956600),(10028,7,10,'Lavagna',0,'E488',44.308586,9.341801),(10029,7,10,'Leivi',0,'E519',44.352956,9.302242),(10030,7,10,'Lorsica',0,'E695',44.434620,9.277817),(10031,7,10,'Lumarzo',0,'E737',44.433781,9.141420),(10032,7,10,'Masone',0,'F020',44.502170,8.715676),(10033,7,10,'Mele',0,'F098',44.442922,8.748135),(10034,7,10,'Mezzanego',0,'F173',44.385423,9.378468),(10035,7,10,'Mignanego',0,'F202',44.527965,8.915435),(10036,7,10,'Moconesi',0,'F256',44.436535,9.199508),(10037,7,10,'Moneglia',0,'F354',44.239147,9.488618),(10038,7,10,'Montebruno',0,'F445',44.525276,9.247110),(10039,7,10,'Montoggio',0,'F682',44.514627,9.047290),(10040,7,10,'Ne',0,'F858',41.871940,12.567380),(10041,7,10,'Neirone',0,'F862',44.455753,9.190303),(10042,7,10,'Orero',0,'G093',44.408724,9.268217),(10043,7,10,'<NAME>',0,'G646',44.375829,9.082714),(10044,7,10,'Portofino',0,'G913',44.303156,9.209788),(10045,7,10,'Propata',0,'H073',44.562443,9.186352),(10046,7,10,'Rapallo',0,'H183',44.349821,9.233889),(10047,7,10,'Recco',0,'H212',44.361422,9.143745),(10048,7,10,'Rezzoaglio',0,'H258',44.525691,9.386479),(10049,7,10,'<NAME>',0,'H536',44.616051,8.944522),(10050,7,10,'Rondanina',0,'H546',44.563246,9.217620),(10051,7,10,'Rossiglione',0,'H581',44.567340,8.668979),(10052,7,10,'Rovegno',0,'H599',44.577078,9.276473),(10053,7,10,'<NAME>',0,'H802',44.372997,9.303825),(10054,7,10,'<NAME>',0,'I225',44.334574,9.213659),(10055,7,10,'Sant\'Olcese',0,'I346',44.491899,8.973075),(10056,7,10,'<NAME>',0,'I368',44.545800,9.451058),(10057,7,10,'Savignone',0,'I475',44.564007,8.992701),(10058,7,10,'<NAME>',0,'I640',44.532224,8.937063),(10059,7,10,'<NAME>',0,'I693',44.276365,9.400828),(10060,7,10,'Sori',0,'I852',44.371870,9.101153),(10061,7,10,'Tiglieto',0,'L167',44.517410,8.627484),(10062,7,10,'Torriglia',0,'L298',44.510910,9.163211),(10063,7,10,'Tribogna',0,'L416',44.413885,9.196137),(10064,7,10,'Uscio',0,'L507',44.416035,9.156046),(10065,7,10,'Valbrevenna',0,'L546',44.554862,9.062591),(10066,7,10,'Vobbia',0,'M105',44.600002,9.038661),(10067,7,10,'Zoagli',0,'M182',44.336475,9.268171),(11001,7,11,'Ameglia',0,'A261',44.067700,9.955594),(11002,7,11,'Arcola',0,'A373',44.113361,9.904600),(11003,7,11,'Beverino',0,'A836',44.197980,9.785592),(11004,7,11,'Bolano',0,'A932',44.186928,9.894618),(11005,7,11,'Bonassola',0,'A961',44.182130,9.583522),(11006,7,11,'<NAME>',0,'A992',44.222903,9.719693),(11007,7,11,'Brugnato',0,'B214',44.236275,9.720985),(11008,7,11,'<NAME>',0,'B410',44.247433,9.845977),(11009,7,11,'Carro',0,'B838',44.273191,9.604491),(11010,7,11,'Carrodano',0,'B839',44.240351,9.657681),(11011,7,11,'<NAME>',0,'C240',44.101585,10.017428),(11012,7,11,'<NAME>',0,'D265',44.215995,9.515310),(11013,7,11,'Follo',0,'D655',44.167792,9.846185),(11014,7,11,'Framura',0,'D758',44.206729,9.556032),(11015,7,11,'<NAME>',1,'E463',44.102450,9.824083),(11016,7,11,'Lerici',0,'E542',44.075633,9.916934),(11017,7,11,'Levanto',0,'E560',44.168614,9.610654),(11018,7,11,'Maissana',0,'E842',44.336517,9.535275),(11019,7,11,'<NAME>',0,'F609',44.148772,9.654408),(11020,7,11,'Ortonovo',0,'G143',44.089381,10.054239),(11021,7,11,'Pignone',0,'G664',44.179358,9.724118),(11022,7,11,'Portovenere',0,'G925',44.054126,9.836628),(11023,7,11,'<NAME>',0,'H275',44.154787,9.764421),(11024,7,11,'Riomaggiore',0,'H304',44.099049,9.737485),(11025,7,11,'<NAME>',0,'H461',44.253221,9.779023),(11026,7,11,'<NAME>',0,'I363',44.161346,9.915649),(11027,7,11,'Sarzana',0,'I449',44.111424,9.963122),(11028,7,11,'<NAME>',0,'E070',44.291837,9.673575),(11029,7,11,'<NAME>',0,'L681',44.377930,9.591235),(11030,7,11,'Vernazza',0,'L774',44.134921,9.684994),(11031,7,11,'<NAME>',0,'L819',44.140130,9.890590),(11032,7,11,'Zignago',0,'M177',44.297839,9.739652),(12001,3,12,'Agra',0,'A085',46.034695,8.772689),(12002,3,12,'Albizzate',0,'A167',45.720911,8.802844),(12003,3,12,'Angera',0,'A290',45.773599,8.581327),(12004,3,12,'Arcisate',0,'A371',45.860249,8.859409),(12005,3,12,'<NAME>',0,'A441',45.689337,8.735973),(12006,3,12,'Azzate',0,'A531',45.777501,8.798926),(12007,3,12,'Azzio',0,'A532',45.886746,8.707254),(12008,3,12,'Barasso',0,'A619',45.840091,8.756919),(12009,3,12,'Bardello',0,'A645',45.834812,8.698145),(12010,3,12,'<NAME>',0,'A728',45.911422,8.794271),(12011,3,12,'Besano',0,'A819',45.888264,8.888544),(12012,3,12,'Besnate',0,'A825',45.698369,8.765044),(12013,3,12,'Besozzo',0,'A826',45.843593,8.670847),(12014,3,12,'Biandronno',0,'A845',45.818694,8.711420),(12015,3,12,'Bisuschio',0,'A891',45.874020,8.871187),(12016,3,12,'<NAME>',0,'A918',45.789637,8.751243),(12017,3,12,'Brebbia',0,'B126',45.828623,8.649186),(12018,3,12,'Bregano',0,'B131',45.825389,8.690155),(12019,3,12,'Brenta',0,'B150',45.893223,8.687094),(12020,3,12,'<NAME>',0,'B166',45.970956,8.714803),(12021,3,12,'Brinzio',0,'B182',45.889059,8.788748),(12022,3,12,'Brissago-Valtravaglia',0,'B191',45.953822,8.739720),(12023,3,12,'Brunello',0,'B219',45.766042,8.795393),(12024,3,12,'Brusimpiano',0,'B228',45.949337,8.889302),(12025,3,12,'Buguggiate',0,'B258',45.779204,8.807818),(12026,3,12,'<NAME>',0,'B300',45.611892,8.853127),(12027,3,12,'Cadegliano-Viconago',0,'B326',45.962124,8.837650),(12028,3,12,'Cadrezzate',0,'B347',45.797127,8.643642),(12029,3,12,'Cairate',0,'B368',45.690660,8.869131),(12030,3,12,'Cantello',0,'B634',45.820969,8.895961),(12031,3,12,'Caravate',0,'B732',45.875504,8.648181),(12032,3,12,'<NAME>',0,'B754',45.648880,8.759490),(12033,3,12,'Carnago',0,'B796',45.722546,8.841248),(12034,3,12,'<NAME>',0,'B805',45.598508,9.045040),(12035,3,12,'<NAME>',0,'B807',45.743112,8.831362),(12036,3,12,'<NAME>',0,'B875',45.766703,8.741975),(12037,3,12,'Casalzuigno',0,'B921',45.906746,8.711008),(12038,3,12,'Casciago',0,'B949',45.833373,8.781687),(12039,3,12,'<NAME>',0,'B987',45.674144,8.740076),(12040,3,12,'<NAME>',0,'C004',45.671730,8.827263),(12041,3,12,'<NAME>',0,'B999',45.931417,8.768740),(12042,3,12,'Castellanza',0,'C139',45.605391,8.891500),(12043,3,12,'<NAME>',0,'B312',45.891542,8.756608),(12044,3,12,'Castelseprio',0,'C273',45.716895,8.862761),(12045,3,12,'Castelveccana',0,'C181',45.947199,8.661779),(12046,3,12,'<NAME>',0,'C300',45.752642,8.871410),(12047,3,12,'Castronno',0,'C343',45.747718,8.811910),(12048,3,12,'<NAME>',0,'C382',45.694647,8.802949),(12049,3,12,'<NAME>',0,'C409',45.795867,8.734848),(12050,3,12,'Cislago',0,'C732',45.660827,8.974002),(12051,3,12,'Cittiglio',0,'C751',45.896700,8.664525),(12052,3,12,'Clivio',0,'C796',45.864266,8.930947),(12053,3,12,'Cocquio-Trevisago',0,'C810',45.863680,8.697448),(12054,3,12,'Comabbio',0,'C911',45.769983,8.674772),(12055,3,12,'Comerio',0,'C922',45.841541,8.746907),(12056,3,12,'Cremenaga',0,'D144',45.990062,8.804219),(12057,3,12,'<NAME>',0,'D185',45.759535,8.769841),(12058,3,12,'<NAME>',0,'D192',45.915779,8.880261),(12059,3,12,'Cugliate-Fabiasco',0,'D199',45.942248,8.823836),(12060,3,12,'Cunardo',0,'D204',45.934416,8.803523),(12061,3,12,'<NAME>',0,'D217',46.061764,8.804687),(12062,3,12,'Cuveglio',0,'D238',45.904415,8.733214),(12063,3,12,'Cuvio',0,'D239',45.897720,8.734039),(12064,3,12,'Daverio',0,'D256',45.778033,8.770453),(12065,3,12,'Dumenza',0,'D384',46.018519,8.787767),(12066,3,12,'Duno',0,'D385',45.912828,8.740049),(12067,3,12,'<NAME>',0,'D467',45.668340,8.866763),(12068,3,12,'Ferno',0,'D543',45.612477,8.757714),(12069,3,12,'<NAME>',0,'D551',45.931444,8.787184),(12070,3,12,'Gallarate',0,'D869',45.662363,8.792127),(12071,3,12,'<NAME>',0,'D871',45.785098,8.770449),(12072,3,12,'Gavirate',0,'D946',45.845905,8.712234),(12073,3,12,'<NAME>',0,'D951',45.779842,8.835660),(12074,3,12,'Gemonio',0,'D963',45.881645,8.673041),(12075,3,12,'Gerenzano',0,'D981',45.639673,9.000745),(12076,3,12,'Germignaga',0,'D987',45.990994,8.723470),(12077,3,12,'Golasecca',0,'E079',45.696913,8.655646),(12078,3,12,'<NAME>',0,'E101',45.665126,8.896784),(12079,3,12,'<NAME>',0,'E102',45.643490,8.898710),(12080,3,12,'<NAME>',0,'E104',45.739573,8.859922),(12081,3,12,'Grantola',0,'E144',45.948485,8.772679),(12082,3,12,'Inarzo',0,'E292',45.784158,8.735095),(12083,3,12,'<NAME>',0,'E299',45.850654,8.838511),(12084,3,12,'Ispra',0,'E367',45.813958,8.612078),(12085,3,12,'<NAME>',0,'E386',45.706165,8.798483),(12086,3,12,'<NAME>',0,'E494',45.956462,8.872574),(12087,3,12,'Laveno-Mombello',0,'E496',45.901458,8.625614),(12088,3,12,'Leggiuno',0,'E510',45.874769,8.620760),(12089,3,12,'<NAME>',0,'E665',45.704773,8.876665),(12090,3,12,'<NAME>',0,'E666',45.599313,8.753802),(12091,3,12,'Lozza',0,'E707',45.775226,8.856913),(12092,3,12,'Luino',0,'E734',46.001802,8.746400),(12093,3,12,'Luvinate',0,'E769',45.838686,8.771583),(12095,3,12,'Malgesso',0,'E856',45.827804,8.679602),(12096,3,12,'Malnate',0,'E863',45.797132,8.882743),(12097,3,12,'Marchirolo',0,'E929',45.952216,8.835949),(12098,3,12,'Marnate',0,'E965',45.629061,8.898311),(12099,3,12,'Marzio',0,'F002',45.937883,8.859215),(12100,3,12,'<NAME>',0,'F007',45.917078,8.781966),(12101,3,12,'Mercallo',0,'F134',45.749122,8.669429),(12102,3,12,'Mesenzana',0,'F154',45.947788,8.757438),(12103,3,12,'<NAME>',0,'F526',45.973730,8.767692),(12104,3,12,'Monvalle',0,'F703',45.855210,8.634394),(12105,3,12,'Morazzone',0,'F711',45.765020,8.831489),(12106,3,12,'Mornago',0,'F736',45.750181,8.753827),(12107,3,12,'Oggiona con <NAME>',0,'G008',45.704742,8.815272),(12108,3,12,'<NAME>',0,'G028',45.633268,8.887610),(12109,3,12,'Origgio',0,'G103',45.598457,9.015084),(12110,3,12,'Orino',0,'G105',45.885992,8.720602),(12111,3,12,'Osmate',0,'E529',45.791074,8.657179),(12113,3,12,'<NAME>',0,'G906',45.904286,8.899480),(12114,3,12,'<NAME>',0,'G907',45.960787,8.676525),(12115,3,12,'<NAME>',0,'H173',45.914801,8.772613),(12116,3,12,'Ranco',0,'H174',44.031112,8.036802),(12117,3,12,'Saltrio',0,'H723',45.874223,8.921527),(12118,3,12,'Samarate',0,'H736',45.626036,8.787032),(12119,3,12,'Saronno',0,'I441',45.624249,9.035961),(12120,3,12,'<NAME>',0,'I688',45.730702,8.636597),(12121,3,12,'<NAME>',0,'I793',45.718640,8.814124),(12122,3,12,'<NAME>',0,'I794',45.655194,8.882941),(12123,3,12,'<NAME>',0,'I819',45.682744,8.706802),(12124,3,12,'Sumirago',0,'L003',45.738649,8.781264),(12125,3,12,'Taino',0,'L032',45.763164,8.616325),(12126,3,12,'Ternate',0,'L115',45.783752,8.691814),(12127,3,12,'Tradate',0,'L319',45.711543,8.907067),(12128,3,12,'Travedona-Monate',0,'L342',45.800828,8.675322),(12129,3,12,'<NAME>',0,'A705',46.088803,8.734261),(12130,3,12,'Uboldo',0,'L480',45.614223,9.004362),(12131,3,12,'Valganna',0,'L577',45.902352,8.822880),(12132,3,12,'<NAME>',0,'L671',45.775900,8.704032),(12133,3,12,'Varese',1,'L682',45.820599,8.825058),(12134,3,12,'<NAME>',0,'L703',45.777173,8.887207),(12136,3,12,'Venegono Inferiore',0,'L733',45.737978,8.900474),(12137,3,12,'Venegono Superiore',0,'L734',45.754765,8.901756),(12138,3,12,'Vergiate',0,'L765',45.721729,8.694245),(12139,3,12,'Viggiù',0,'L876',45.870079,8.908459),(12140,3,12,'<NAME>',0,'M101',45.629502,8.687344),(12141,3,12,'Sangiano',0,'H872',45.877399,8.629778),(12142,3,12,'Maccagno con Pino e Veddasca',0,'M339',46.038529,8.736649),(13003,3,13,'Albavilla',0,'A143',45.802932,9.188026),(13004,3,13,'Albese con Cassano',0,'A153',45.793588,9.168989),(13005,3,13,'Albiolo',0,'A164',45.806412,8.935093),(13006,3,13,'Alserio',0,'A224',45.780852,9.199703),(13007,3,13,'<NAME>',0,'A249',45.769459,9.182462),(13009,3,13,'<NAME>',0,'A319',45.768406,9.209076),(13010,3,13,'<NAME>',0,'A333',45.734735,8.984886),(13011,3,13,'Argegno',0,'A391',45.943756,9.128425),(13012,3,13,'Arosio',0,'A430',45.717002,9.216150),(13013,3,13,'Asso',0,'A476',45.861529,9.269662),(13015,3,13,'Barni',0,'A670',45.912517,9.266145),(13021,3,13,'<NAME>',0,'A778',46.029188,9.184073),(13022,3,13,'<NAME>',0,'A791',45.771298,8.956745),(13023,3,13,'Binago',0,'A870',45.782918,8.923577),(13024,3,13,'Bizzarone',0,'A898',45.835434,8.941692),(13025,3,13,'Blessagno',0,'A904',45.960244,9.097598),(13026,3,13,'Blevio',0,'A905',45.838058,9.102373),(13028,3,13,'Bregnano',0,'B134',45.695782,9.058207),(13029,3,13,'Brenna',0,'B144',45.745204,9.186720),(13030,3,13,'Brienno',0,'B172',45.912242,9.131444),(13032,3,13,'Brunate',0,'B218',45.820093,9.097038),(13034,3,13,'Bulgarograsso',0,'B262',45.746774,9.009546),(13035,3,13,'Cabiate',0,'B313',45.674748,9.174121),(13036,3,13,'Cadorago',0,'B346',45.724641,9.038272),(13037,3,13,'Caglio',0,'B355',45.871822,9.236973),(13038,3,13,'Cagno',0,'B359',45.812249,8.920146),(13040,3,13,'Campione d\'Italia',0,'B513',45.969719,8.971320),(13041,3,13,'Cantù',0,'B639',45.733684,9.136220),(13042,3,13,'Canzo',0,'B641',45.848629,9.272697),(13043,3,13,'<NAME>',0,'B653',45.770672,9.121718),(13044,3,13,'<NAME>',0,'B730',45.873230,9.127479),(13045,3,13,'Carbonate',0,'B742',45.683739,8.938942),(13046,3,13,'Carimate',0,'B778',45.703492,9.108750),(13047,3,13,'Carlazzo',0,'B785',46.049330,9.157899),(13048,3,13,'Carugo',0,'B851',45.708322,9.195705),(13050,3,13,'<NAME>',0,'B942',45.943808,9.076444),(13052,3,13,'<NAME>',0,'B974',45.838935,9.227387),(13053,3,13,'Casnate con Bernate',0,'B977',45.755841,9.073769),(13055,3,13,'<NAME>',0,'C020',45.752387,9.028358),(13058,3,13,'Castelmarte',0,'C206',45.833706,9.238336),(13059,3,13,'<NAME>',0,'C220',45.762703,8.939961),(13060,3,13,'<NAME>',0,'C299',45.956655,9.089900),(13061,3,13,'Cavallasca',0,'C374',45.814473,9.031941),(13062,3,13,'Cavargna',0,'C381',46.090767,9.112283),(13063,3,13,'<NAME>',0,'C482',45.947803,9.089547),(13064,3,13,'Cermenate',0,'C516',45.702204,9.082091),(13065,3,13,'Cernobbio',0,'C520',45.840361,9.075307),(13068,3,13,'Cirimido',0,'C724',45.700320,9.012744),(13071,3,13,'<NAME>',0,'C787',46.005209,9.093942),(13074,3,13,'Colonno',0,'C902',45.958298,9.156014),(13075,3,13,'Como',1,'C933',45.808060,9.085177),(13077,3,13,'Corrido',0,'D041',46.048458,9.135677),(13083,3,13,'Cremia',0,'D147',46.084115,9.265028),(13084,3,13,'Cucciago',0,'D196',45.740532,9.096199),(13085,3,13,'Cusino',0,'D232',46.074358,9.152272),(13087,3,13,'Dizzasco',0,'D310',45.945215,9.100715),(13089,3,13,'Domaso',0,'D329',46.150704,9.325697),(13090,3,13,'Dongo',0,'D341',46.122773,9.279545),(13092,3,13,'<NAME>',0,'D355',46.163749,9.272517),(13095,3,13,'Erba',0,'D416',45.811620,9.226728),(13097,3,13,'Eupilio',0,'D445',45.815958,9.264261),(13098,3,13,'<NAME>',0,'D462',45.862573,9.149836),(13099,3,13,'Faloppio',0,'D482',45.804422,8.979527),(13100,3,13,'Fenegrò',0,'D531',45.700536,8.998353),(13101,3,13,'<NAME>',0,'D579',45.709755,9.130969),(13102,3,13,'<NAME>',0,'D605',45.745106,9.052439),(13106,3,13,'Garzeno',0,'D930',46.134413,9.246763),(13107,3,13,'<NAME>',0,'D974',46.169090,9.370383),(13110,3,13,'Grandate',0,'E139',45.775324,9.057470),(13111,3,13,'<NAME>',0,'E141',46.036124,9.197047),(13113,3,13,'Griante',0,'E172',45.996101,9.238727),(13114,3,13,'Guanzate',0,'E235',45.722976,9.012141),(13118,3,13,'Inverigo',0,'E309',45.740345,9.223638),(13119,3,13,'Laglio',0,'E405',45.880760,9.138104),(13120,3,13,'Laino',0,'E416',45.984872,9.076565),(13121,3,13,'Lambrugo',0,'E428',45.760371,9.241567),(13122,3,13,'<NAME>',0,'E444',45.981925,9.022195),(13123,3,13,'Lasnigo',0,'E462',45.881894,9.267222),(13126,3,13,'Lezzeno',0,'E569',45.944974,9.182605),(13128,3,13,'<NAME>',0,'E593',45.691305,8.976706),(13129,3,13,'Lipomo',0,'E607',45.795440,9.125443),(13130,3,13,'Livo',0,'E623',46.403111,11.019710),(13131,3,13,'Locate Varesino',0,'E638',45.690571,8.931223),(13133,3,13,'Lomazzo',0,'E659',45.698425,9.036535),(13134,3,13,'Longone al Segrino',0,'E679',45.818521,9.251352),(13135,3,13,'Luisago',0,'E735',45.760777,9.038339),(13136,3,13,'<NAME>',0,'E749',45.746129,9.186180),(13137,3,13,'<NAME>',0,'E750',45.705064,8.984001),(13138,3,13,'<NAME>',0,'E753',45.771346,8.998889),(13139,3,13,'Magreglio',0,'E830',45.921800,9.262369),(13143,3,13,'<NAME>',0,'E951',45.698177,9.182451),(13144,3,13,'Maslianico',0,'F017',45.842676,9.047235),(13145,3,13,'Menaggio',0,'F120',46.021707,9.238829),(13147,3,13,'Merone',0,'F151',45.781945,9.245907),(13152,3,13,'Moltrasio',0,'F305',45.863092,9.098950),(13153,3,13,'Monguzzo',0,'F372',45.780252,9.226762),(13154,3,13,'<NAME>',0,'F427',45.792752,9.020971),(13155,3,13,'Montemezzo',0,'F564',46.185119,9.369036),(13157,3,13,'Montorfano',0,'F688',45.785002,9.145798),(13159,3,13,'Mozzate',0,'F788',45.675369,8.950689),(13160,3,13,'Musso',0,'F828',46.112686,9.276523),(13161,3,13,'Nesso',0,'F877',45.910556,9.159145),(13163,3,13,'Novedrate',0,'F958',45.699690,9.120945),(13165,3,13,'<NAME>',0,'G025',45.783780,8.966866),(13169,3,13,'<NAME>',0,'G056',45.758953,8.972682),(13170,3,13,'Orsenigo',0,'G126',45.778093,9.180719),(13178,3,13,'Peglio',0,'G415',43.695846,12.494090),(13179,3,13,'<NAME>',0,'G427',45.979083,9.056234),(13183,3,13,'<NAME>',0,'G556',46.101077,9.268570),(13184,3,13,'Pigra',0,'G665',45.957579,9.126680),(13185,3,13,'Plesio',0,'G737',46.046505,9.228918),(13186,3,13,'<NAME>',0,'G773',45.878475,9.157878),(13187,3,13,'Ponna',0,'G821',45.990493,9.094462),(13188,3,13,'<NAME>',0,'G847',45.826683,9.221944),(13189,3,13,'Porlezza',0,'G889',46.035166,9.118199),(13192,3,13,'Proserpio',0,'H074',45.828026,9.249216),(13193,3,13,'Pusiano',0,'H094',45.813564,9.286664),(13194,3,13,'<NAME>',0,'H171',45.988310,9.063766),(13195,3,13,'Rezzago',0,'H255',45.866105,9.250500),(13197,3,13,'Rodero',0,'H478',45.822032,8.913754),(13199,3,13,'Ronago',0,'H521',45.831397,8.981472),(13201,3,13,'Rovellasca',0,'H601',45.665804,9.054401),(13202,3,13,'<NAME>',0,'H602',45.651589,9.037369),(13203,3,13,'<NAME>',0,'H679',45.965746,9.168509),(13204,3,13,'<NAME> <NAME>',0,'H760',46.083067,9.144593),(13205,3,13,'<NAME>',0,'H830',45.970353,9.078112),(13206,3,13,'<NAME>',0,'H840',45.804498,9.039149),(13207,3,13,'<NAME>',0,'I051',46.089383,9.127466),(13211,3,13,'Schignano',0,'I529',45.920467,9.096823),(13212,3,13,'<NAME>',0,'I611',45.763776,9.116652),(13215,3,13,'Solbiate',0,'I792',45.788905,8.933585),(13216,3,13,'Sorico',0,'I856',46.173701,9.383247),(13217,3,13,'Sormano',0,'I860',45.877080,9.246824),(13218,3,13,'Stazzona',0,'I943',46.138001,9.273983),(13222,3,13,'Tavernerio',0,'L071',45.801799,9.147813),(13223,3,13,'Torno',0,'L228',45.857934,9.118184),(13226,3,13,'Trezzone',0,'L413',46.171730,9.352463),(13227,3,13,'Turate',0,'L470',45.656825,9.002066),(13228,3,13,'Uggiate-Trevano',0,'L487',45.822892,8.960993),(13229,3,13,'Valbrona',0,'L547',45.877679,9.298371),(13232,3,13,'Valmorea',0,'L640',45.819401,8.935635),(13233,3,13,'<NAME>',0,'H259',46.072803,9.111657),(13234,3,13,'Valsolda',0,'C936',46.038705,9.046540),(13236,3,13,'Veleso',0,'L715',45.908772,9.181222),(13238,3,13,'Veniano',0,'L737',45.718246,8.987609),(13239,3,13,'Vercana',0,'L748',46.159725,9.330885),(13242,3,13,'<NAME>',0,'L792',45.724472,9.068857),(13245,3,13,'<NAME>',0,'L956',45.773365,9.023256),(13246,3,13,'Zelbio',0,'M156',45.904985,9.179892),(13248,3,13,'<NAME>',0,'I162',45.185073,11.917037),(13249,3,13,'Gravedona ed Uniti',0,'M315',46.148542,9.308568),(13250,3,13,'Bellagio',0,'M335',45.978249,9.258849),(13251,3,13,'Colverde',0,'M336',45.810513,9.004950),(13252,3,13,'Tremezzina',0,'M341',45.984862,9.228819),(14001,3,14,'<NAME>',0,'A135',46.102978,9.590034),(14002,3,14,'Albosaggia',0,'A172',46.147359,9.853737),(14003,3,14,'<NAME>',0,'A273',46.133308,9.474352),(14004,3,14,'Aprica',0,'A337',46.153959,10.152376),(14005,3,14,'Ardenno',0,'A382',46.170070,9.650740),(14006,3,14,'Bema',0,'A777',46.108892,9.565111),(14007,3,14,'<NAME>',0,'A787',46.169697,9.746372),(14008,3,14,'Bianzone',0,'A848',46.187107,10.108112),(14009,3,14,'Bormio',0,'B049',46.466357,10.370467),(14010,3,14,'<NAME>',0,'B255',46.183548,9.677075),(14011,3,14,'Caiolo',0,'B366',46.150744,9.818559),(14012,3,14,'Campodolcino',0,'B530',46.399237,9.352883),(14013,3,14,'Caspoggio',0,'B993',46.263820,9.864507),(14014,3,14,'<NAME>',0,'C186',46.144632,10.013466),(14015,3,14,'<NAME>',0,'C325',46.174446,9.801289),(14016,3,14,'Cedrasco',0,'C418',46.150397,9.768657),(14017,3,14,'Cercino',0,'C493',46.159079,9.508085),(14018,3,14,'Chiavenna',0,'C623',46.320967,9.397657),(14019,3,14,'<NAME>',0,'C628',46.264813,9.848406),(14020,3,14,'Chiuro',0,'C651',46.171849,9.990310),(14021,3,14,'Cino',0,'C709',46.158249,9.487963),(14022,3,14,'Civo',0,'C785',46.153908,9.561174),(14023,3,14,'Colorina',0,'C903',46.149201,9.735658),(14024,3,14,'<NAME>',0,'D088',46.133740,9.553583),(14025,3,14,'Dazio',0,'D258',46.160968,9.601932),(14026,3,14,'Delebio',0,'D266',46.137657,9.465301),(14027,3,14,'Dubino',0,'D377',46.153942,9.460886),(14028,3,14,'<NAME>',0,'D456',46.140271,9.898952),(14029,3,14,'Forcola',0,'D694',46.158069,9.661591),(14030,3,14,'Fusine',0,'D830',46.150572,9.750392),(14031,3,14,'<NAME>',0,'D990',46.049198,9.553589),(14032,3,14,'Gordona',0,'E090',46.291378,9.365934),(14033,3,14,'Grosio',0,'E200',46.298156,10.274651),(14034,3,14,'Grosotto',0,'E201',46.279938,10.258529),(14035,3,14,'Madesimo',0,'E342',46.436690,9.358031),(14036,3,14,'Lanzada',0,'E443',46.269580,9.872099),(14037,3,14,'Livigno',0,'E621',46.538636,10.135732),(14038,3,14,'Lovero',0,'E705',46.231834,10.227438),(14039,3,14,'Mantello',0,'E896',46.151422,9.487030),(14040,3,14,'<NAME>',0,'F070',46.259189,10.254462),(14041,3,14,'Mello',0,'F115',46.154496,9.547571),(14043,3,14,'Mese',0,'F153',46.309065,9.383043),(14044,3,14,'<NAME>',0,'F393',46.179848,9.894536),(14045,3,14,'Morbegno',0,'F712',46.135506,9.566075),(14046,3,14,'<NAME>',0,'F956',46.223172,9.446868),(14047,3,14,'Pedesina',0,'G410',46.082004,9.550299),(14048,3,14,'Piantedo',0,'G572',46.134442,9.428779),(14049,3,14,'Piateda',0,'G576',46.158960,9.933139),(14050,3,14,'Piuro',0,'G718',46.327234,9.431618),(14051,3,14,'Poggiridenti',0,'G431',46.176604,9.928806),(14052,3,14,'<NAME>',0,'G829',46.176683,9.981810),(14053,3,14,'Postalesio',0,'G937',46.173927,9.774140),(14054,3,14,'<NAME>',0,'G993',46.307051,9.396038),(14055,3,14,'Rasura',0,'H192',46.100656,9.553447),(14056,3,14,'Rogolo',0,'H493',46.135436,9.488437),(14057,3,14,'Samolaco',0,'H752',46.250826,9.392649),(14058,3,14,'<NAME>',0,'H868',46.337746,9.369907),(14059,3,14,'Sernio',0,'I636',46.225615,10.202910),(14060,3,14,'Sondalo',0,'I828',46.330743,10.328198),(14061,3,14,'Sondrio',1,'I829',46.169858,9.878767),(14062,3,14,'Spriana',0,'I928',46.219952,9.864689),(14063,3,14,'Talamona',0,'L035',46.136816,9.610577),(14064,3,14,'Tartano',0,'L056',46.107453,9.679080),(14065,3,14,'Teglio',0,'L084',46.171494,10.060959),(14066,3,14,'Tirano',0,'L175',46.206331,10.186015),(14067,3,14,'<NAME>',0,'L244',46.232574,9.852217),(14068,3,14,'<NAME>',0,'L316',46.247813,10.247876),(14069,3,14,'Traona',0,'L330',46.149154,9.524687),(14070,3,14,'Tresivio',0,'L392',46.174688,9.944679),(14071,3,14,'Valdidentro',0,'L557',46.489409,10.294460),(14072,3,14,'Valdisotto',0,'L563',46.429951,10.357032),(14073,3,14,'Valfurva',0,'L576',46.461986,10.422180),(14074,3,14,'<NAME>',0,'L638',46.218216,9.638696),(14075,3,14,'Verceia',0,'L749',46.199699,9.451898),(14076,3,14,'Vervio',0,'L799',46.252997,10.240437),(14077,3,14,'<NAME>',0,'L907',46.330442,9.488836),(14078,3,14,'<NAME>',0,'L908',46.171005,10.149078),(15002,3,15,'Abbiategrasso',0,'A010',45.399052,8.916555),(15005,3,15,'Albairate',0,'A127',45.423165,8.934511),(15007,3,15,'Arconate',0,'A375',45.540894,8.848024),(15009,3,15,'Arese',0,'A389',45.550812,9.077916),(15010,3,15,'Arluno',0,'A413',45.505687,8.941011),(15011,3,15,'Assago',0,'A473',45.406199,9.123969),(15012,3,15,'Bareggio',0,'A652',45.479135,8.997527),(15014,3,15,'Basiano',0,'A697',45.580364,9.463017),(15015,3,15,'Basiglio',0,'A699',45.360931,9.156762),(15016,3,15,'<NAME>',0,'A751',45.538704,9.447904),(15019,3,15,'<NAME>',0,'A804',45.475609,8.814230),(15022,3,15,'Besate',0,'A820',45.311981,8.968804),(15024,3,15,'Binasco',0,'A872',45.331709,9.099614),(15026,3,15,'<NAME>',0,'A920',45.469146,8.831700),(15027,3,15,'Bollate',0,'A940',45.544679,9.117696),(15032,3,15,'Bresso',0,'B162',45.539105,9.190393),(15035,3,15,'Bubbiano',0,'B235',45.326517,9.015162),(15036,3,15,'Buccinasco',0,'B240',45.421027,9.119611),(15038,3,15,'Buscate',0,'B286',45.544606,8.813552),(15040,3,15,'Bussero',0,'B292',45.536097,9.371700),(15041,3,15,'<NAME>',0,'B301',45.545450,8.883374),(15042,3,15,'Calvignasco',0,'B448',45.325944,9.026334),(15044,3,15,'Cambiago',0,'B461',45.572234,9.425360),(15046,3,15,'Canegrate',0,'B593',45.565890,8.924273),(15050,3,15,'Carpiano',0,'B820',45.341458,9.271458),(15051,3,15,'Carugate',0,'B850',45.548940,9.339120),(15055,3,15,'Casarile',0,'B938',45.317112,9.105982),(15058,3,15,'Casorezzo',0,'B989',45.523802,8.902366),(15059,3,15,'<NAME>',0,'C003',45.526634,9.514098),(15060,3,15,'<NAME>',0,'C014',45.518420,9.360184),(15061,3,15,'<NAME>',0,'C033',45.426209,8.910053),(15062,3,15,'<NAME>',0,'C052',45.554577,8.777235),(15070,3,15,'<NAME>',0,'C523',45.524980,9.332960),(15071,3,15,'<NAME>',0,'C536',45.330972,9.341593),(15072,3,15,'<NAME>',0,'C537',45.595262,8.952898),(15074,3,15,'<NAME>',0,'C565',45.445651,9.090596),(15076,3,15,'Cesate',0,'C569',45.590992,9.078218),(15077,3,15,'<NAME>',0,'C707',45.558355,9.214384),(15078,3,15,'Cisliano',0,'C733',45.444192,8.987388),(15081,3,15,'<NAME>',0,'C895',45.528603,9.278708),(15082,3,15,'Colturano',0,'C908',45.380211,9.340654),(15085,3,15,'Corbetta',0,'C986',45.469565,8.918932),(15086,3,15,'Cormano',0,'D013',45.547976,9.160444),(15087,3,15,'Cornaredo',0,'D018',45.501528,9.023928),(15093,3,15,'Corsico',0,'D045',45.432340,9.109232),(15096,3,15,'Cuggiono',0,'D198',45.506376,8.815217),(15097,3,15,'Cusago',0,'D229',45.448058,9.033958),(15098,3,15,'<NAME>',0,'D231',45.553430,9.184458),(15099,3,15,'Dairago',0,'D244',45.566340,8.866033),(15101,3,15,'Dresano',0,'D367',45.372644,9.361903),(15103,3,15,'Gaggiano',0,'D845',45.405309,9.041970),(15105,3,15,'<NAME>',0,'D912',45.575598,9.075436),(15106,3,15,'Gessate',0,'D995',45.556554,9.434862),(15108,3,15,'Gorgonzola',0,'E094',45.530757,9.405448),(15110,3,15,'Grezzago',0,'E170',45.590325,9.493893),(15112,3,15,'<NAME>',0,'E258',45.374793,9.000662),(15113,3,15,'Inveruno',0,'E313',45.513933,8.852154),(15114,3,15,'Inzago',0,'E317',45.540816,9.480828),(15115,3,15,'Lacchiarella',0,'E395',45.321967,9.137197),(15116,3,15,'Lainate',0,'E415',45.574026,9.027416),(15118,3,15,'Legnano',0,'E514',45.598340,8.914249),(15122,3,15,'Liscate',0,'E610',45.483042,9.409221),(15125,3,15,'Locate di Triulzi',0,'E639',45.358425,9.221532),(15130,3,15,'Magenta',0,'E801',45.465526,8.885021),(15131,3,15,'Magnago',0,'E819',45.577729,8.810188),(15134,3,15,'<NAME>',0,'E921',45.482089,8.871501),(15136,3,15,'Masate',0,'F003',45.567697,9.464775),(15139,3,15,'Mediglia',0,'F084',45.395168,9.332830),(15140,3,15,'Melegnano',0,'F100',45.356302,9.321463),(15142,3,15,'Melzo',0,'F119',45.503158,9.422088),(15144,3,15,'Mesero',0,'F155',45.501140,8.857699),(15146,3,15,'Milano',1,'F205',45.465422,9.185924),(15150,3,15,'Morimondo',0,'D033',45.355256,8.955083),(15151,3,15,'<NAME>',0,'F783',45.287416,8.993169),(15154,3,15,'Nerviano',0,'F874',45.553575,8.970622),(15155,3,15,'Nosate',0,'F939',45.551522,8.725907),(15157,3,15,'<NAME>',0,'F955',45.531796,9.139722),(15158,3,15,'Noviglio',0,'F968',45.358970,9.051171),(15159,3,15,'Opera',0,'G078',45.374713,9.212013),(15164,3,15,'Ossona',0,'G181',45.505704,8.901020),(15165,3,15,'Ozzero',0,'G206',45.365577,8.923938),(15166,3,15,'<NAME>',0,'G220',45.571162,9.163981),(15167,3,15,'Pantigliate',0,'G316',45.439483,9.353228),(15168,3,15,'Parabiago',0,'G324',45.558189,8.947815),(15169,3,15,'Paullo',0,'G385',45.416788,9.408094),(15170,3,15,'Pero',0,'C013',45.510140,9.084680),(15171,3,15,'<NAME>',0,'G488',45.435815,9.303493),(15172,3,15,'<NAME>',0,'G502',45.551601,9.388223),(15173,3,15,'<NAME>',0,'G634',45.354616,9.203006),(15175,3,15,'Pioltello',0,'G686',45.501385,9.330473),(15176,3,15,'<NAME>',0,'G772',45.538894,8.995586),(15177,3,15,'<NAME>',0,'G955',45.575929,9.500767),(15178,3,15,'<NAME>',0,'G965',45.513455,9.451728),(15179,3,15,'<NAME>',0,'H026',45.518280,9.012991),(15181,3,15,'Rescaldina',0,'H240',45.618890,8.955110),(15182,3,15,'Rho',0,'H264',45.532648,9.039612),(15183,3,15,'<NAME>',0,'H371',45.534940,8.763438),(15184,3,15,'<NAME>',0,'H373',45.439253,8.886757),(15185,3,15,'Rodano',0,'H470',45.476518,9.355704),(15188,3,15,'Rosate',0,'H560',45.351100,9.017358),(15189,3,15,'Rozzano',0,'H623',45.376031,9.142766),(15191,3,15,'San Colombano al Lambro',0,'H803',45.182771,9.488919),(15192,3,15,'<NAME>',0,'H827',45.409240,9.268487),(15194,3,15,'San Giorgio su Legnano',0,'H884',45.578206,8.915639),(15195,3,15,'<NAME>',0,'H930',45.393763,9.292010),(15200,3,15,'<NAME>',0,'I361',45.488720,8.919053),(15201,3,15,'<NAME>',0,'I409',45.586995,8.943573),(15202,3,15,'San Zenone al Lambro',0,'I415',45.326394,9.356440),(15204,3,15,'Sedriano',0,'I566',45.487435,8.969730),(15205,3,15,'Segrate',0,'I577',45.492000,9.298131),(15206,3,15,'Senago',0,'I602',45.576363,9.126126),(15209,3,15,'<NAME>',0,'I690',45.532825,9.225688),(15210,3,15,'Settala',0,'I696',45.454881,9.392757),(15211,3,15,'<NAME>',0,'I700',45.486660,9.056742),(15213,3,15,'Solaro',0,'I786',45.618030,9.079405),(15219,3,15,'<NAME>',0,'L408',45.583128,9.488661),(15220,3,15,'<NAME>',0,'L409',45.426651,9.060022),(15221,3,15,'<NAME>\'Adda',0,'L411',45.610598,9.515684),(15222,3,15,'Tribiano',0,'L415',45.412742,9.379430),(15224,3,15,'Truccazzano',0,'L454',45.485296,9.465911),(15226,3,15,'Turbigo',0,'L471',45.532992,8.736665),(15229,3,15,'Vanzago',0,'L665',45.526805,8.994844),(15230,3,15,'<NAME>',0,'L667',45.576841,9.531136),(15235,3,15,'Vermezzo',0,'L768',45.396029,8.978618),(15236,3,15,'Vernate',0,'L773',45.315953,9.060374),(15237,3,15,'Vignate',0,'L883',45.496531,9.375013),(15242,3,15,'Vimodrone',0,'M053',45.514625,9.283937),(15243,3,15,'Vittuone',0,'M091',45.489631,8.956455),(15244,3,15,'<NAME>',0,'M102',45.355631,9.347583),(15246,3,15,'<NAME>',0,'M160',45.388190,8.984632),(15247,3,15,'<NAME>',0,'M176',45.368574,9.118778),(15248,3,15,'<NAME>',0,'L928',45.566930,8.886498),(15249,3,15,'Vanzaghello',0,'L664',45.579015,8.784448),(15250,3,15,'Baranzate',0,'A618',45.528220,9.114030),(16001,3,16,'<NAME>',0,'A057',45.699977,9.949908),(16002,3,16,'<NAME>',0,'A058',45.713834,9.959019),(16003,3,16,'<NAME>',0,'A129',45.689381,9.766279),(16004,3,16,'Albino',0,'A163',45.763665,9.801542),(16005,3,16,'Almè',0,'A214',45.739765,9.612495),(16006,3,16,'<NAME>',0,'A216',45.741001,9.580701),(16007,3,16,'<NAME>',0,'A217',45.750968,9.599124),(16008,3,16,'<NAME>',0,'A246',45.729399,9.724119),(16009,3,16,'Ambivere',0,'A259',45.716689,9.550770),(16010,3,16,'Antegnate',0,'A304',45.485336,9.788859),(16011,3,16,'Arcene',0,'A365',45.573472,9.613282),(16012,3,16,'Ardesio',0,'A383',45.938200,9.931005),(16013,3,16,'<NAME>',0,'A440',45.482627,9.564801),(16014,3,16,'Averara',0,'A511',45.990210,9.631336),(16015,3,16,'Aviatico',0,'A517',45.800422,9.770390),(16016,3,16,'<NAME>',0,'A528',45.659670,9.674690),(16017,3,16,'Azzone',0,'A533',45.978568,10.112551),(16018,3,16,'Bagnatica',0,'A557',45.662180,9.780940),(16019,3,16,'Barbata',0,'A631',45.475421,9.776350),(16020,3,16,'Bariano',0,'A664',45.519338,9.704845),(16021,3,16,'Barzana',0,'A684',45.734062,9.569733),(16022,3,16,'Bedulita',0,'A732',45.791319,9.552611),(16023,3,16,'Berbenno',0,'A786',45.814197,9.570300),(16024,3,16,'Bergamo',1,'A794',45.698264,9.677270),(16025,3,16,'<NAME>',0,'A815',45.718078,9.903256),(16026,3,16,'Bianzano',0,'A846',45.772619,9.918992),(16027,3,16,'Blello',0,'A903',45.837649,9.571008),(16028,3,16,'Bolgare',0,'A937',45.634024,9.813892),(16029,3,16,'Boltiere',0,'A950',45.599658,9.579219),(16030,3,16,'<NAME>',0,'A963',45.679860,9.558720),(16031,3,16,'<NAME>',0,'A962',45.665902,9.558150),(16032,3,16,'<NAME>',0,'B010',45.721087,9.894880),(16033,3,16,'Bossico',0,'B083',45.828237,10.045296),(16034,3,16,'Bottanuco',0,'B088',45.641630,9.511209),(16035,3,16,'Bracca',0,'B112',45.823068,9.707141),(16036,3,16,'Branzi',0,'B123',46.005851,9.760898),(16037,3,16,'Brembate',0,'B137',45.604398,9.559232),(16038,3,16,'Brembate di Sopra',0,'B138',45.719749,9.581670),(16040,3,16,'<NAME>',0,'B178',45.545261,9.647151),(16041,3,16,'Brumano',0,'B217',45.854736,9.502203),(16042,3,16,'Brusaporto',0,'B223',45.671239,9.761663),(16043,3,16,'Calcinate',0,'B393',45.619913,9.799528),(16044,3,16,'Calcio',0,'B395',45.507368,9.851878),(16046,3,16,'<NAME>',0,'B434',45.691107,9.477068),(16047,3,16,'Calvenzano',0,'B442',45.492405,9.600381),(16048,3,16,'<NAME>',0,'B471',45.902141,9.653693),(16049,3,16,'<NAME>',0,'B618',45.576788,9.538676),(16050,3,16,'Capizzone',0,'B661',45.784042,9.568107),(16051,3,16,'<NAME>',0,'B703',45.622503,9.527097),(16052,3,16,'<NAME>',0,'B710',45.745597,9.481655),(16053,3,16,'Caravaggio',0,'B731',45.497399,9.643601),(16055,3,16,'<NAME>',0,'B801',45.667892,9.825635),(16056,3,16,'Carona',0,'B803',46.022039,9.785971),(16057,3,16,'Carvico',0,'B854',45.703722,9.479150),(16058,3,16,'Casazza',0,'B947',45.749914,9.908380),(16059,3,16,'<NAME>',0,'B971',45.495122,9.568045),(16060,3,16,'Casnigo',0,'B978',45.815780,9.868016),(16061,3,16,'Cassiglio',0,'C007',45.967037,9.613332),(16062,3,16,'<NAME>',0,'C079',45.614396,9.890855),(16063,3,16,'<NAME>',0,'C255',45.556516,9.623840),(16064,3,16,'<NAME>',0,'C324',45.907898,10.035859),(16065,3,16,'Castro',0,'C337',40.003414,18.423264),(16066,3,16,'Cavernago',0,'C396',45.633223,9.763127),(16067,3,16,'<NAME>',0,'C410',45.811003,9.885852),(16068,3,16,'<NAME>',0,'C456',45.723584,9.829377),(16069,3,16,'<NAME>',0,'C457',45.698436,9.823791),(16070,3,16,'Cene',0,'C459',45.777388,9.827250),(16071,3,16,'Cerete',0,'C506',45.861516,9.989819),(16072,3,16,'<NAME>',0,'C635',45.666078,9.526856),(16073,3,16,'Chiuduno',0,'C649',45.650155,9.852607),(16074,3,16,'<NAME>',0,'C728',45.740871,9.470914),(16075,3,16,'Ciserano',0,'C730',45.585562,9.602950),(16076,3,16,'<NAME>',0,'C759',45.557130,9.833018),(16077,3,16,'Clusone',0,'C800',45.888940,9.948031),(16078,3,16,'Colere',0,'C835',45.974260,10.085068),(16079,3,16,'Cologno al Serio',0,'C894',45.578208,9.710983),(16080,3,16,'Colzate',0,'C910',45.816037,9.856031),(16081,3,16,'<NAME>',0,'C937',45.622162,9.660280),(16082,3,16,'<NAME>',0,'D015',45.831097,9.543251),(16083,3,16,'Cortenuova',0,'D066',45.539919,9.788072),(16084,3,16,'<NAME>',0,'D110',45.662455,9.798349),(16085,3,16,'<NAME>',0,'D103',45.801849,9.504018),(16086,3,16,'<NAME>',0,'D117',45.829281,10.102828),(16087,3,16,'Covo',0,'D126',45.501259,9.771797),(16088,3,16,'Credaro',0,'D139',45.661553,9.929526),(16089,3,16,'Curno',0,'D221',45.691121,9.610300),(16090,3,16,'Cusio',0,'D233',45.990793,9.603297),(16091,3,16,'Dalmine',0,'D245',45.650201,9.604907),(16092,3,16,'Dossena',0,'D352',45.880051,9.698287),(16093,3,16,'<NAME>',0,'D406',45.790580,9.979085),(16094,3,16,'Entratico',0,'D411',45.707940,9.871238),(16096,3,16,'<NAME>',0,'D490',45.556519,9.534498),(16097,3,16,'<NAME>',0,'D491',45.493073,9.738027),(16098,3,16,'Filago',0,'D588',45.636188,9.555740),(16099,3,16,'<NAME>',0,'D604',45.891995,9.996731),(16100,3,16,'<NAME>',0,'D606',45.799125,9.843776),(16101,3,16,'Fontanella',0,'D672',45.469742,9.801072),(16102,3,16,'Fonteno',0,'D684',45.758540,10.019890),(16103,3,16,'Foppolo',0,'D688',46.045739,9.757749),(16104,3,16,'<NAME>',0,'D697',45.696999,9.915249),(16105,3,16,'<NAME>',0,'D727',45.497449,9.678493),(16106,3,16,'<NAME>',0,'D817',45.852961,9.527581),(16107,3,16,'Gandellino',0,'D903',45.993891,9.945661),(16108,3,16,'Gandino',0,'D905',45.811531,9.899441),(16109,3,16,'Gandosso',0,'D906',45.659533,9.888174),(16110,3,16,'<NAME>',0,'D943',45.755154,9.885722),(16111,3,16,'Gazzaniga',0,'D952',45.794972,9.833334),(16113,3,16,'Ghisalba',0,'E006',45.595439,9.756650),(16114,3,16,'Gorlago',0,'E100',45.676344,9.825508),(16115,3,16,'Gorle',0,'E103',45.701154,9.714085),(16116,3,16,'Gorno',0,'E106',45.865671,9.848767),(16117,3,16,'Grassobbio',0,'E148',45.659971,9.719794),(16118,3,16,'Gromo',0,'E189',45.965381,9.927165),(16119,3,16,'Grone',0,'E192',45.727503,9.910541),(16120,3,16,'<NAME>',0,'E219',45.636274,9.874847),(16121,3,16,'<NAME>',0,'E353',45.977728,9.747621),(16122,3,16,'Isso',0,'E370',45.476717,9.758989),(16123,3,16,'Lallio',0,'E422',45.664807,9.629446),(16124,3,16,'Leffe',0,'E509',45.799305,9.885456),(16125,3,16,'Lenna',0,'E524',45.944977,9.680216),(16126,3,16,'Levate',0,'E562',45.623588,9.624350),(16127,3,16,'Locatello',0,'E640',45.837020,9.530695),(16128,3,16,'Lovere',0,'E704',45.808790,10.067354),(16129,3,16,'Lurano',0,'E751',45.568080,9.640497),(16130,3,16,'Luzzana',0,'E770',45.716128,9.885018),(16131,3,16,'Madone',0,'E794',45.651319,9.551040),(16132,3,16,'Mapello',0,'E901',45.709041,9.550240),(16133,3,16,'Martinengo',0,'E987',45.569311,9.765122),(16134,3,16,'Mezzoldo',0,'F186',46.012763,9.664911),(16135,3,16,'<NAME>',0,'F243',45.469991,9.622460),(16136,3,16,'<NAME>',0,'F276',45.953350,9.699151),(16137,3,16,'<NAME>',0,'F328',45.763097,9.931685),(16139,3,16,'Montello',0,'F547',45.671969,9.802929),(16140,3,16,'Morengo',0,'F720',45.533494,9.705283),(16141,3,16,'<NAME>',0,'F738',45.594869,9.808992),(16142,3,16,'Mozzanica',0,'F786',45.475839,9.689601),(16143,3,16,'Mozzo',0,'F791',45.695410,9.602760),(16144,3,16,'Nembro',0,'F864',45.743435,9.761520),(16145,3,16,'<NAME>',0,'G049',45.969797,9.640058),(16146,3,16,'<NAME>',0,'G050',45.889905,9.769927),(16147,3,16,'<NAME>',0,'G054',45.939676,9.988497),(16148,3,16,'Oneta',0,'G068',45.871101,9.818752),(16149,3,16,'Onore',0,'G075',45.891194,10.010032),(16150,3,16,'<NAME>',0,'G108',45.673910,9.688959),(16151,3,16,'Ornica',0,'G118',45.988883,9.579486),(16152,3,16,'<NAME>',0,'G159',45.625511,9.599741),(16153,3,16,'<NAME>',0,'G160',45.620259,9.584231),(16154,3,16,'Pagazzano',0,'G233',45.532369,9.671676),(16155,3,16,'Paladina',0,'G249',45.726898,9.608960),(16156,3,16,'Palazzago',0,'G259',45.751590,9.537431),(16157,3,16,'Palosco',0,'G295',45.585087,9.837418),(16158,3,16,'Parre',0,'G346',45.875622,9.890068),(16159,3,16,'Parzanica',0,'G350',45.738613,10.034920),(16160,3,16,'Pedrengo',0,'G412',45.701981,9.735640),(16161,3,16,'Peia',0,'G418',45.801707,9.902282),(16162,3,16,'Pianico',0,'G564',45.810153,10.045520),(16163,3,16,'Piario',0,'G574',45.894550,9.922421),(16164,3,16,'<NAME>',0,'G579',45.948089,9.675951),(16165,3,16,'Piazzatorre',0,'G583',45.993100,9.691071),(16166,3,16,'Piazzolo',0,'G588',45.979044,9.672520),(16167,3,16,'Pognano',0,'G774',45.585629,9.640960),(16168,3,16,'<NAME>',0,'F941',45.867235,9.886378),(16169,3,16,'Ponteranica',0,'G853',45.737536,9.667127),(16170,3,16,'<NAME>',0,'G856',45.696008,9.586381),(16171,3,16,'Pontida',0,'G864',45.731695,9.499546),(16172,3,16,'<NAME>',0,'G867',45.569092,9.570097),(16173,3,16,'Pradalunga',0,'G968',45.745508,9.779195),(16174,3,16,'Predore',0,'H020',45.680385,10.018071),(16175,3,16,'Premolo',0,'H036',45.869575,9.874117),(16176,3,16,'Presezzo',0,'H046',45.691822,9.567821),(16177,3,16,'Pumenengo',0,'H091',45.480943,9.867680),(16178,3,16,'Ranica',0,'H176',45.722999,9.717081),(16179,3,16,'Ranzanico',0,'H177',45.789290,9.935402),(16180,3,16,'<NAME>',0,'H331',45.772811,10.036456),(16182,3,16,'Rogno',0,'H492',45.856177,10.132912),(16183,3,16,'<NAME>',0,'H509',45.521065,9.755012),(16184,3,16,'Roncobello',0,'H535',45.956531,9.752377),(16185,3,16,'Roncola',0,'H544',45.772003,9.557312),(16186,3,16,'<NAME>',0,'H584',45.831896,9.509672),(16187,3,16,'Rovetta',0,'H615',45.891036,9.985855),(16188,3,16,'<NAME>',0,'H910',45.875953,9.652243),(16189,3,16,'<NAME>',0,'B310',45.686429,9.799615),(16190,3,16,'<NAME>',0,'I079',45.841645,9.666739),(16191,3,16,'<NAME>',0,'I168',45.981768,9.621421),(16193,3,16,'Sarnico',0,'I437',45.669161,9.964056),(16194,3,16,'Scanzorosciate',0,'I506',45.709932,9.738845),(16195,3,16,'Schilpario',0,'I530',46.009083,10.155725),(16196,3,16,'Sedrina',0,'I567',45.781714,9.622762),(16197,3,16,'Selvino',0,'I597',45.781586,9.752519),(16198,3,16,'Seriate',0,'I628',45.685418,9.721701),(16199,3,16,'Serina',0,'I629',45.873173,9.730871),(16200,3,16,'<NAME>',0,'I812',45.781558,10.021635),(16201,3,16,'Songavazzo',0,'I830',45.880156,9.987731),(16202,3,16,'Sorisole',0,'I858',45.743944,9.662504),(16203,3,16,'<NAME>',0,'I869',45.705230,9.498437),(16204,3,16,'Sovere',0,'I873',45.823714,10.025537),(16205,3,16,'<NAME>',0,'I916',45.763378,9.921939),(16206,3,16,'Spirano',0,'I919',45.581450,9.667969),(16207,3,16,'Stezzano',0,'I951',45.652239,9.654040),(16208,3,16,'Strozza',0,'I986',45.773448,9.579035),(16209,3,16,'Suisio',0,'I997',45.655037,9.502193),(16210,3,16,'Taleggio',0,'L037',45.885681,9.564613),(16211,3,16,'<NAME>',0,'L073',45.710311,10.048048),(16212,3,16,'Telgate',0,'L087',45.628275,9.851846),(16213,3,16,'<NAME>',0,'L118',45.685201,9.531470),(16214,3,16,'<NAME>',0,'L251',45.716309,9.706621),(16216,3,16,'<NAME>',0,'L265',45.700968,9.771770),(16217,3,16,'<NAME>',0,'L276',45.447929,9.876813),(16218,3,16,'<NAME>',0,'L388',45.696633,9.840810),(16219,3,16,'Treviglio',0,'L400',45.521151,9.595119),(16220,3,16,'Treviolo',0,'L404',45.669328,9.606448),(16221,3,16,'<NAME>',0,'C789',45.782945,9.614886),(16222,3,16,'Urgnano',0,'L502',45.598803,9.694728),(16223,3,16,'Valbondione',0,'L544',46.040303,10.015240),(16224,3,16,'Valbrembo',0,'L545',45.714422,9.608320),(16225,3,16,'Valgoglio',0,'L579',45.976099,9.913918),(16226,3,16,'Valleve',0,'L623',46.027857,9.743731),(16227,3,16,'Valnegra',0,'L642',45.949248,9.689990),(16229,3,16,'Valtorta',0,'L655',45.977535,9.531813),(16230,3,16,'Vedeseta',0,'L707',45.890926,9.540984),(16232,3,16,'Verdellino',0,'L752',45.602621,9.613400),(16233,3,16,'Verdello',0,'L753',45.605139,9.630330),(16234,3,16,'Vertova',0,'L795',45.810063,9.854420),(16235,3,16,'Viadanica',0,'L827',45.684900,9.964442),(16236,3,16,'<NAME>',0,'L865',45.725333,9.900902),(16237,3,16,'Vigolo',0,'L894',45.716711,10.021673),(16238,3,16,'<NAME>',0,'L929',45.717533,9.456377),(16239,3,16,'<NAME>',0,'A215',45.748570,9.621402),(16240,3,16,'<NAME>',0,'L936',45.722870,9.735170),(16241,3,16,'<NAME>',0,'L938',45.906963,9.930545),(16242,3,16,'Villongo',0,'M045',45.667560,9.935677),(16243,3,16,'<NAME>',0,'M050',45.998218,10.094138),(16244,3,16,'Zandobbio',0,'M144',45.687458,9.855813),(16245,3,16,'Zanica',0,'M147',45.638630,9.683190),(16246,3,16,'Zogno',0,'M184',45.793318,9.659328),(16247,3,16,'<NAME>',0,'D111',45.831290,9.741898),(16248,3,16,'Algua',0,'A193',45.826481,9.722400),(16249,3,16,'Cornalba',0,'D016',45.852441,9.741975),(16250,3,16,'Medolago',0,'F085',45.669687,9.493619),(16251,3,16,'Solza',0,'I813',45.677494,9.493968),(16252,3,16,'<NAME>',0,'M333',45.806868,9.525594),(16253,3,16,'<NAME>',0,'M334',45.821056,9.595914),(17001,3,17,'Acquafredda',0,'A034',45.307308,10.410870),(17002,3,17,'Adro',0,'A060',45.620134,9.957554),(17003,3,17,'Agnosine',0,'A082',45.648675,10.354336),(17004,3,17,'Alfianello',0,'A188',45.267165,10.149551),(17005,3,17,'Anfo',0,'A288',45.765339,10.494730),(17006,3,17,'<NAME>',0,'A293',45.891350,10.147541),(17007,3,17,'Artogne',0,'A451',45.851892,10.166098),(17008,3,17,'<NAME>',0,'A529',45.455364,10.117565),(17009,3,17,'<NAME>',0,'A569',45.429623,10.186051),(17010,3,17,'Bagolino',0,'A578',45.823186,10.463503),(17011,3,17,'Barbariga',0,'A630',45.405081,10.055831),(17012,3,17,'Barghe',0,'A661',45.679262,10.407361),(17013,3,17,'<NAME>',0,'A702',45.326632,10.128027),(17014,3,17,'Bedizzole',0,'A729',45.510926,10.420467),(17015,3,17,'Berlingo',0,'A799',45.502214,10.031571),(17016,3,17,'<NAME>',0,'A816',46.099985,10.347747),(17017,3,17,'<NAME>',0,'A817',45.932217,10.279307),(17018,3,17,'Bienno',0,'A861',45.936738,10.291058),(17019,3,17,'Bione',0,'A878',45.669577,10.342316),(17020,3,17,'<NAME>',0,'B035',45.348546,9.967589),(17021,3,17,'Borgosatollo',0,'B040',45.476348,10.240290),(17022,3,17,'Borno',0,'B054',45.946317,10.199118),(17023,3,17,'Botticino',0,'B091',45.541837,10.323901),(17024,3,17,'Bovegno',0,'B100',45.790165,10.268309),(17025,3,17,'Bovezzo',0,'B102',45.592921,10.241218),(17026,3,17,'Brandico',0,'B120',45.454712,10.053620),(17027,3,17,'Braone',0,'B124',45.989692,10.342983),(17028,3,17,'Breno',0,'B149',45.957000,10.302732),(17029,3,17,'Brescia',1,'B157',45.541553,10.211802),(17030,3,17,'Brione',0,'B184',45.755209,9.915887),(17031,3,17,'Caino',0,'B365',45.611589,10.315573),(17032,3,17,'Calcinato',0,'B394',45.461934,10.411149),(17033,3,17,'<NAME>',0,'B436',45.541145,10.445849),(17034,3,17,'Calvisano',0,'B450',45.349064,10.345358),(17035,3,17,'<NAME>',0,'B664',46.029861,10.346639),(17036,3,17,'Capovalle',0,'B676',45.753239,10.545367),(17037,3,17,'<NAME>',0,'B698',45.454779,10.129004),(17038,3,17,'Capriolo',0,'B711',45.638944,9.933804),(17039,3,17,'Carpenedolo',0,'B817',45.367037,10.436162),(17040,3,17,'Castegnato',0,'C055',45.563571,10.115271),(17041,3,17,'Castelcovati',0,'C072',45.501939,9.944195),(17042,3,17,'<NAME>',0,'C208',45.496079,10.144160),(17043,3,17,'Castenedolo',0,'C293',45.471591,10.298201),(17044,3,17,'Casto',0,'C330',45.694374,10.319631),(17045,3,17,'Castrezzato',0,'C332',45.512900,9.980255),(17046,3,17,'<NAME>',0,'C408',45.579617,10.025895),(17047,3,17,'Cedegolo',0,'C417',46.077008,10.348816),(17048,3,17,'Cellatica',0,'C439',45.584241,10.180310),(17049,3,17,'Cerveno',0,'C549',46.003535,10.324430),(17050,3,17,'Ceto',0,'C585',46.002294,10.351625),(17051,3,17,'Cevo',0,'C591',46.079964,10.369668),(17052,3,17,'Chiari',0,'C618',45.536746,9.932172),(17053,3,17,'Cigole',0,'C685',45.307974,10.192132),(17054,3,17,'Cimbergo',0,'C691',46.023740,10.365114),(17055,3,17,'<NAME>',0,'C760',45.944459,10.279191),(17056,3,17,'Coccaglio',0,'C806',45.563753,9.974318),(17057,3,17,'Collebeato',0,'C850',45.583964,10.213637),(17058,3,17,'Collio',0,'C883',45.810903,10.333873),(17059,3,17,'Cologne',0,'C893',45.577487,9.939069),(17060,3,17,'Comezzano-Cizzago',0,'C925',45.464950,9.952560),(17061,3,17,'Concesio',0,'C948',45.599822,10.222680),(17062,3,17,'<NAME>',0,'D058',45.631873,10.008565),(17063,3,17,'<NAME>',0,'D064',46.165261,10.236539),(17064,3,17,'Corzano',0,'D082',45.444087,10.004548),(17065,3,17,'<NAME>',0,'D251',45.881589,10.187754),(17066,3,17,'Dello',0,'D270',45.418057,10.075469),(17067,3,17,'<NAME>',0,'D284',45.471453,10.533335),(17068,3,17,'Edolo',0,'D391',46.180427,10.329893),(17069,3,17,'Erbusco',0,'D421',45.599985,9.967186),(17070,3,17,'Esine',0,'D434',45.925617,10.249384),(17071,3,17,'Fiesse',0,'D576',45.232748,10.320971),(17072,3,17,'Flero',0,'D634',45.482741,10.178901),(17073,3,17,'Gambara',0,'D891',45.253385,10.292544),(17074,3,17,'<NAME>',0,'D917',45.618185,10.559565),(17075,3,17,'<NAME>',0,'D918',45.688971,10.185620),(17076,3,17,'Gargnano',0,'D924',45.688599,10.661733),(17077,3,17,'Gavardo',0,'D940',45.584829,10.441879),(17078,3,17,'Ghedi',0,'D999',45.406043,10.275511),(17079,3,17,'Gianico',0,'E010',45.865504,10.183776),(17080,3,17,'Gottolengo',0,'E116',45.289061,10.269839),(17081,3,17,'Gussago',0,'E271',45.587631,10.153342),(17082,3,17,'Idro',0,'E280',45.736413,10.473103),(17083,3,17,'Incudine',0,'E297',46.221070,10.359067),(17084,3,17,'Irma',0,'E325',45.770769,10.283998),(17085,3,17,'Iseo',0,'E333',45.657081,10.052355),(17086,3,17,'Isorella',0,'E364',45.309271,10.322065),(17087,3,17,'Lavenone',0,'E497',45.739270,10.439250),(17088,3,17,'Leno',0,'E526',45.368021,10.217850),(17089,3,17,'<NAME>',0,'E596',45.810128,10.789858),(17090,3,17,'Lodrino',0,'E652',45.715280,10.279946),(17091,3,17,'Lograto',0,'E654',45.483501,10.053731),(17092,3,17,'<NAME>',0,'M312',45.459468,10.487040),(17093,3,17,'Longhena',0,'E673',45.437796,10.059736),(17094,3,17,'Losine',0,'E698',45.983326,10.316526),(17095,3,17,'Lozio',0,'E706',45.993631,10.234327),(17096,3,17,'Lumezzane',0,'E738',45.647481,10.265408),(17097,3,17,'Maclodio',0,'E787',45.476741,10.043481),(17098,3,17,'Magasa',0,'E800',45.781294,10.616611),(17099,3,17,'Mairano',0,'E841',45.448355,10.079382),(17100,3,17,'Malegno',0,'E851',45.948730,10.277167),(17101,3,17,'Malonno',0,'E865',46.122248,10.322290),(17102,3,17,'<NAME>',0,'E883',45.549737,10.551651),(17103,3,17,'Manerbio',0,'E884',45.353433,10.140792),(17104,3,17,'Marcheno',0,'E928',45.710421,10.219330),(17105,3,17,'Marmentino',0,'E961',45.756486,10.288711),(17106,3,17,'Marone',0,'E967',45.739862,10.091659),(17107,3,17,'Mazzano',0,'F063',45.518893,10.354762),(17108,3,17,'Milzano',0,'F216',45.272945,10.198562),(17109,3,17,'<NAME>',0,'F373',45.526644,10.534635),(17110,3,17,'Monno',0,'F375',46.211661,10.339959),(17111,3,17,'<NAME>',0,'F532',45.711573,10.075321),(17112,3,17,'<NAME>',0,'F672',45.632603,10.090465),(17113,3,17,'Montichiari',0,'F471',45.414839,10.392871),(17114,3,17,'Montirone',0,'F680',45.443275,10.229306),(17115,3,17,'Mura',0,'F806',45.714197,10.343272),(17116,3,17,'Muscoline',0,'F820',45.563191,10.462114),(17117,3,17,'Nave',0,'F851',45.585978,10.288621),(17118,3,17,'Niardo',0,'F884',45.977326,10.334150),(17119,3,17,'Nuvolento',0,'F989',45.545076,10.384126),(17120,3,17,'Nuvolera',0,'F990',45.535707,10.374328),(17121,3,17,'Odolo',0,'G001',45.646548,10.387561),(17122,3,17,'Offlaga',0,'G006',45.385931,10.117310),(17123,3,17,'Ome',0,'G061',41.902784,12.496366),(17124,3,17,'<NAME>',0,'G074',46.017304,10.327711),(17125,3,17,'Orzinuovi',0,'G149',45.401405,9.924865),(17126,3,17,'Orzivecchi',0,'G150',45.419976,9.963886),(17127,3,17,'Ospitaletto',0,'G170',45.555592,10.073440),(17128,3,17,'Ossimo',0,'G179',45.943529,10.236494),(17129,3,17,'<NAME>',0,'G213',45.507966,10.516538),(17130,3,17,'<NAME>',0,'G217',45.588380,10.079503),(17131,3,17,'<NAME>',0,'G247',46.079289,10.294359),(17132,3,17,'Paitone',0,'G248',45.554987,10.409239),(17133,3,17,'<NAME>',0,'G264',45.596459,9.886381),(17134,3,17,'Paratico',0,'G327',45.662001,9.956523),(17135,3,17,'Paspardo',0,'G354',46.031202,10.370292),(17136,3,17,'Passirano',0,'G361',45.599603,10.062766),(17137,3,17,'<NAME>',0,'G391',45.300938,10.208509),(17138,3,17,'<NAME>',0,'G407',45.369920,10.027842),(17139,3,17,'<NAME>',0,'G474',45.745252,10.338952),(17140,3,17,'<NAME>',0,'G475',45.766825,10.364866),(17141,3,17,'Pezzaze',0,'G529',45.787257,10.220886),(17142,3,17,'<NAME>',0,'G546',45.844297,10.150440),(17143,3,17,'Pisogne',0,'G710',45.802656,10.106166),(17144,3,17,'Polaveno',0,'G779',45.661093,10.123989),(17145,3,17,'<NAME>',0,'G801',45.549871,10.503889),(17146,3,17,'Pompiano',0,'G815',45.431413,9.988568),(17147,3,17,'Poncarale',0,'G818',45.460875,10.173888),(17148,3,17,'<NAME>',0,'G844',46.260273,10.509097),(17149,3,17,'Pontevico',0,'G859',45.271366,10.092562),(17150,3,17,'Pontoglio',0,'G869',45.573232,9.856356),(17151,3,17,'Pozzolengo',0,'G959',45.403648,10.629448),(17152,3,17,'Pralboino',0,'G977',45.267063,10.217616),(17153,3,17,'Preseglie',0,'H043',45.659985,10.379126),(17155,3,17,'Prevalle',0,'H055',45.546198,10.414450),(17156,3,17,'<NAME>',0,'H078',45.634132,10.046343),(17157,3,17,'<NAME>',0,'H077',45.687241,10.449841),(17158,3,17,'<NAME>',0,'H086',45.566746,10.513297),(17159,3,17,'<NAME>',0,'H140',45.312483,10.007620),(17160,3,17,'Remedello',0,'H230',45.273659,10.369996),(17161,3,17,'Rezzato',0,'H256',45.507161,10.332490),(17162,3,17,'Roccafranca',0,'H410',45.462573,9.913721),(17163,3,17,'<NAME>',0,'H477',45.598431,10.112534),(17164,3,17,'<NAME>',0,'H484',45.616113,10.495611),(17165,3,17,'Roncadelle',0,'H525',45.527016,10.160176),(17166,3,17,'Rovato',0,'H598',45.565409,9.999931),(17167,3,17,'Rudiano',0,'H630',45.486764,9.886847),(17168,3,17,'<NAME>',0,'H650',45.652058,10.422202),(17169,3,17,'<NAME>',0,'H699',45.714777,10.110361),(17170,3,17,'Salò',0,'H717',45.608392,10.510477),(17171,3,17,'<NAME>',0,'H838',45.586721,10.549730),(17172,3,17,'<NAME>',0,'H865',45.306225,10.148419),(17173,3,17,'<NAME>',0,'I412',45.491460,10.217451),(17174,3,17,'Sarezzo',0,'I433',45.652168,10.200550),(17175,3,17,'<NAME>',0,'I476',46.120219,10.495038),(17176,3,17,'Sellero',0,'I588',46.056967,10.343651),(17177,3,17,'Seniga',0,'I607',45.242408,10.177719),(17178,3,17,'Serle',0,'I631',45.564605,10.370181),(17179,3,17,'Sirmione',0,'I633',45.496972,10.605375),(17180,3,17,'<NAME>',0,'I782',45.528794,10.511195),(17181,3,17,'Sonico',0,'I831',46.163501,10.353373),(17182,3,17,'Sulzano',0,'L002',45.690000,10.100293),(17183,3,17,'<NAME>',0,'C698',45.740693,10.237543),(17184,3,17,'Temù',0,'L094',46.249026,10.467245),(17185,3,17,'Tignale',0,'L169',45.742630,10.709106),(17186,3,17,'<NAME>',0,'L210',45.513178,10.118071),(17187,3,17,'Toscolano-Maderno',0,'L312',45.636653,10.608460),(17188,3,17,'Travagliato',0,'L339',45.523342,10.083340),(17189,3,17,'<NAME>',0,'L372',45.789813,10.735666),(17190,3,17,'Trenzano',0,'L380',45.477215,10.012745),(17191,3,17,'<NAME>',0,'L406',45.712561,10.461509),(17192,3,17,'<NAME>',0,'L494',45.514504,9.870037),(17193,3,17,'<NAME>',0,'L626',45.609833,10.386415),(17194,3,17,'Valvestino',0,'L468',45.758912,10.582298),(17195,3,17,'Verolanuova',0,'L777',45.327298,10.075785),(17196,3,17,'Verolavecchia',0,'L778',45.331027,10.053789),(17197,3,17,'Vestone',0,'L812',45.708287,10.403273),(17198,3,17,'<NAME>',0,'L816',46.240099,10.398747),(17199,3,17,'<NAME>',0,'L919',45.632523,10.195836),(17200,3,17,'Villachiara',0,'L923',45.355314,9.932054),(17201,3,17,'<NAME>',0,'L995',45.601836,10.454426),(17202,3,17,'Vione',0,'M065',46.248368,10.446321),(17203,3,17,'Visano',0,'M070',45.317669,10.369462),(17204,3,17,'Vobarno',0,'M104',45.642464,10.500531),(17205,3,17,'Zone',0,'M188',45.762087,10.116150),(17206,3,17,'Piancogno',0,'G549',45.938824,10.209393),(18001,3,18,'Alagna',0,'A118',45.170967,8.888410),(18002,3,18,'<NAME>',0,'A134',45.106131,9.242957),(18003,3,18,'Albonese',0,'A171',45.293938,8.706042),(18004,3,18,'Albuzzano',0,'A175',45.186694,9.273602),(18005,3,18,'Arena Po',0,'A387',45.087766,9.379729),(18006,3,18,'<NAME>',0,'A538',45.121747,9.468869),(18007,3,18,'Bagnaria',0,'A550',44.826415,9.123551),(18008,3,18,'Barbianello',0,'A634',45.077157,9.204598),(18009,3,18,'Bascapè',0,'A690',45.306835,9.314189),(18011,3,18,'<NAME>',0,'A712',45.086430,9.081757),(18012,3,18,'Battuda',0,'A718',45.274176,9.077067),(18013,3,18,'Belgioioso',0,'A741',45.159666,9.313989),(18014,3,18,'Bereguardo',0,'A792',45.258162,9.027924),(18015,3,18,'Borgarello',0,'A989',45.239885,9.142043),(18016,3,18,'<NAME>',0,'B028',44.966584,9.148214),(18017,3,18,'<NAME>',0,'B030',44.931017,9.193440),(18018,3,18,'<NAME>',0,'B038',45.234845,8.912531),(18019,3,18,'Bornasco',0,'B051',45.265522,9.218895),(18020,3,18,'Bosnasco',0,'B082',45.064909,9.358377),(18021,3,18,'<NAME>',0,'B117',44.738034,9.281562),(18022,3,18,'Breme',0,'B142',45.127410,8.625100),(18023,3,18,'<NAME>',0,'B159',45.078611,9.131451),(18024,3,18,'Broni',0,'B201',45.064264,9.256917),(18025,3,18,'Calvignano',0,'B447',44.982651,9.168751),(18026,3,18,'Campospinoso',0,'B567',45.094986,9.245542),(18027,3,18,'<NAME>',0,'B587',45.176571,8.594426),(18028,3,18,'Canevino',0,'B599',44.938013,9.277633),(18029,3,18,'<NAME>',0,'B613',45.051465,9.279383),(18030,3,18,'<NAME>',0,'B741',45.164774,9.064568),(18031,3,18,'<NAME>',0,'B929',45.093171,9.214414),(18032,3,18,'Casatisma',0,'B945',45.047922,9.128951),(18033,3,18,'<NAME>',0,'B954',45.007775,8.927145),(18034,3,18,'<NAME>',0,'B988',45.311700,9.019161),(18035,3,18,'Cassolnovo',0,'C038',45.363040,8.809175),(18036,3,18,'Castana',0,'C050',45.026253,9.273008),(18037,3,18,'Casteggio',0,'C053',45.015841,9.127288),(18038,3,18,'<NAME>',0,'C157',45.069624,9.098233),(18039,3,18,'<NAME>',0,'C184',45.233804,8.689389),(18040,3,18,'Castelnovetto',0,'C213',45.251989,8.614843),(18041,3,18,'<NAME>',0,'C360',45.140966,9.105515),(18042,3,18,'Cecima',0,'C414',44.850255,9.080449),(18043,3,18,'Ceranova',0,'C484',45.259381,9.242126),(18044,3,18,'<NAME>',0,'C508',45.244489,8.671938),(18045,3,18,'Cergnago',0,'C509',45.197990,8.773162),(18046,3,18,'<NAME>',0,'C541',45.253230,9.128285),(18047,3,18,'Cervesina',0,'C551',45.062067,9.017677),(18048,3,18,'<NAME>',0,'C637',45.149572,9.485945),(18049,3,18,'Cigognola',0,'C684',45.033126,9.245164),(18050,3,18,'Cilavegna',0,'C686',45.308926,8.744082),(18051,3,18,'Codevilla',0,'C813',44.963082,9.059029),(18052,3,18,'Confienza',0,'C958',45.334173,8.556661),(18053,3,18,'Copiano',0,'C979',45.196799,9.321896),(18054,3,18,'Corana',0,'C982',45.060867,8.968375),(18057,3,18,'<NAME>',0,'D081',45.010035,9.162295),(18058,3,18,'<NAME>',0,'D109',45.131135,9.379392),(18059,3,18,'Cozzo',0,'D127',45.192402,8.611874),(18060,3,18,'<NAME>',0,'B824',45.213131,9.256702),(18061,3,18,'Dorno',0,'D348',45.156185,8.950001),(18062,3,18,'<NAME>',0,'D552',45.114434,8.865227),(18063,3,18,'Filighera',0,'D594',45.176383,9.315577),(18064,3,18,'Fortunago',0,'D732',44.921154,9.183379),(18065,3,18,'Frascarolo',0,'D771',45.046140,8.680831),(18066,3,18,'Galliavola',0,'D873',45.096970,8.819146),(18067,3,18,'Gambarana',0,'D892',45.028111,8.763021),(18068,3,18,'Gambolò',0,'D901',45.262925,8.857941),(18069,3,18,'Garlasco',0,'D925',45.197496,8.922502),(18071,3,18,'Gerenzago',0,'D980',45.205232,9.359857),(18072,3,18,'Giussago',0,'E062',45.285654,9.141803),(18073,3,18,'<NAME>',0,'E072',44.895933,9.056368),(18074,3,18,'Golferenzo',0,'E081',44.961866,9.306947),(18075,3,18,'<NAME>',0,'E152',45.329932,8.765383),(18076,3,18,'<NAME>',0,'E195',45.177219,8.991329),(18077,3,18,'<NAME>',0,'E310',45.193998,9.406946),(18078,3,18,'Landriano',0,'E437',45.310392,9.262774),(18079,3,18,'Langosco',0,'E439',45.215387,8.562871),(18080,3,18,'Lardirago',0,'E454',45.235289,9.233156),(18081,3,18,'Linarolo',0,'E600',45.159104,9.269941),(18082,3,18,'Lirio',0,'E608',44.994103,9.255427),(18083,3,18,'Lomello',0,'E662',45.119795,8.796091),(18084,3,18,'Lungavilla',0,'B387',45.043365,9.081510),(18085,3,18,'Magherno',0,'E804',45.223022,9.327477),(18086,3,18,'Marcignago',0,'E934',45.253566,9.078334),(18087,3,18,'Marzano',0,'E999',45.247522,9.295492),(18088,3,18,'Mede',0,'F080',45.097229,8.735417),(18089,3,18,'Menconico',0,'F122',44.796327,9.280111),(18090,3,18,'<NAME>',0,'F170',45.059478,8.847744),(18091,3,18,'<NAME>',0,'F171',45.093710,9.031342),(18092,3,18,'Mezzanino',0,'F175',45.128881,9.204847),(18093,3,18,'<NAME>',0,'F238',45.170547,9.444702),(18094,3,18,'<NAME>',0,'F417',44.979406,9.209410),(18095,3,18,'<NAME>',0,'F440',45.003993,9.102030),(18096,3,18,'<NAME>',0,'F449',44.981783,9.271392),(18097,3,18,'Montescano',0,'F638',45.032396,9.282462),(18098,3,18,'Montesegale',0,'F644',44.906120,9.127150),(18099,3,18,'<NAME>',0,'F670',45.109801,9.512880),(18100,3,18,'<NAME>',0,'F701',45.035743,9.314613),(18101,3,18,'<NAME>',0,'F739',45.009904,9.207230),(18102,3,18,'Mortara',0,'F754',45.251533,8.738071),(18103,3,18,'Nicorvo',0,'F891',45.285349,8.667887),(18104,3,18,'<NAME>',0,'G021',45.213784,8.716976),(18105,3,18,'<NAME>',0,'G032',45.002747,9.181943),(18106,3,18,'Ottobiano',0,'G194',45.153367,8.829206),(18107,3,18,'Palestro',0,'G275',45.301748,8.532433),(18108,3,18,'Pancarana',0,'G304',45.075411,9.052225),(18109,3,18,'Parona',0,'G342',45.282497,8.749539),(18110,3,18,'Pavia',1,'G388',45.184725,9.158207),(18111,3,18,'<NAME>',0,'G612',45.019898,9.229980),(18112,3,18,'<NAME>',0,'G635',45.112391,8.959843),(18113,3,18,'<NAME>',0,'G639',45.050316,8.804344),(18114,3,18,'<NAME>',0,'G650',45.109219,9.437585),(18115,3,18,'<NAME>',0,'G671',45.076755,9.168479),(18116,3,18,'Pizzale',0,'G720',45.036543,9.048338),(18117,3,18,'<NAME>',0,'G851',44.851255,9.097394),(18118,3,18,'Portalbera',0,'G895',45.100813,9.320577),(18119,3,18,'Rea',0,'H204',40.746823,14.638091),(18120,3,18,'Redavalle',0,'H216',45.035645,9.202269),(18121,3,18,'Retorbido',0,'H246',44.948813,9.039206),(18122,3,18,'<NAME>',0,'H336',44.927187,9.014285),(18123,3,18,'Robbio',0,'H369',45.289004,8.591763),(18124,3,18,'<NAME>',0,'H375',45.048222,9.148624),(18125,3,18,'<NAME>',0,'H396',44.954954,9.253135),(18126,3,18,'<NAME>',0,'H450',44.905908,9.100485),(18127,3,18,'Rognano',0,'H491',45.288448,9.089398),(18128,3,18,'Romagnese',0,'H505',44.840293,9.330885),(18129,3,18,'Roncaro',0,'H527',45.226395,9.275789),(18130,3,18,'Rosasco',0,'H559',45.250107,8.577540),(18131,3,18,'Rovescala',0,'H614',45.011997,9.349364),(18132,3,18,'Ruino',0,'H637',44.911250,9.276095),(18133,3,18,'<NAME>',0,'H799',45.114440,9.284489),(18134,3,18,'<NAME>',0,'H814',45.027600,9.348701),(18135,3,18,'San Genesio ed Uniti',0,'H859',45.235647,9.179176),(18136,3,18,'San Giorgio di Lomellina',0,'H885',45.173548,8.790515),(18137,3,18,'<NAME>',0,'I014',45.158418,9.136657),(18138,3,18,'<NAME>',0,'I048',45.101977,8.907521),(18139,3,18,'<NAME>',0,'I175',45.166258,9.399900),(18140,3,18,'<NAME>',0,'I203',45.035536,9.181236),(18141,3,18,'<NAME>',0,'I213',45.222032,9.225411),(18142,3,18,'<NAME>',0,'I230',44.764830,9.254419),(18143,3,18,'<NAME>',0,'I237',44.986846,9.300391),(18144,3,18,'<NAME>',0,'I276',45.246479,8.643610),(18145,3,18,'<NAME>',0,'I416',45.108696,9.362025),(18146,3,18,'<NAME>',0,'I447',45.114989,8.666339),(18147,3,18,'Scaldasole',0,'I487',45.123546,8.908054),(18148,3,18,'Semiana',0,'I599',45.138305,8.727974),(18149,3,18,'<NAME>',0,'I739',45.040687,8.948459),(18150,3,18,'Siziano',0,'E265',45.317428,9.202362),(18151,3,18,'Sommo',0,'I825',45.127600,9.080845),(18152,3,18,'Spessa',0,'I894',45.113439,9.349250),(18153,3,18,'Stradella',0,'I968',45.078975,9.302257),(18154,3,18,'Suardi',0,'B014',45.034895,8.742770),(18155,3,18,'<NAME>',0,'L237',44.976086,9.086143),(18156,3,18,'<NAME>',0,'L250',45.076887,8.687464),(18157,3,18,'<NAME>\'Arese',0,'L256',45.239670,9.316740),(18158,3,18,'<NAME>',0,'L262',45.148759,9.333655),(18159,3,18,'<NAME>\'Isola',0,'L269',45.217372,9.077043),(18160,3,18,'<NAME>',0,'L285',45.283327,9.296685),(18161,3,18,'<NAME>',0,'L292',45.017759,9.174321),(18162,3,18,'<NAME>',0,'I236',45.152096,9.161825),(18163,3,18,'Trivolzio',0,'L440',45.261356,9.047442),(18164,3,18,'Tromello',0,'L449',45.210260,8.872611),(18165,3,18,'Trovo',0,'L453',45.282424,9.035553),(18166,3,18,'<NAME>',0,'L562',44.877572,9.179370),(18167,3,18,'Valeggio',0,'L568',45.149632,8.862332),(18168,3,18,'<NAME>',0,'L593',45.150866,8.664943),(18169,3,18,'<NAME>',0,'L617',45.172762,9.234220),(18170,3,18,'Valverde',0,'L659',37.578885,15.123242),(18171,3,18,'Varzi',0,'L690',44.823513,9.196187),(18172,3,18,'<NAME>',0,'L716',45.163496,8.737644),(18173,3,18,'<NAME>',0,'L720',45.269757,9.099423),(18174,3,18,'Verretto',0,'L784',45.039987,9.106464),(18175,3,18,'<NAME>',0,'L788',45.110072,9.175185),(18176,3,18,'Vidigulfo',0,'L854',45.292018,9.234684),(18177,3,18,'Vigevano',0,'L872',45.321879,8.846673),(18178,3,18,'<NAME>',0,'L917',45.090184,8.788896),(18179,3,18,'<NAME>',0,'L983',45.173395,9.039664),(18180,3,18,'Villanterio',0,'L994',45.216338,9.362116),(18181,3,18,'Vistarino',0,'M079',45.209403,9.307903),(18182,3,18,'Voghera',0,'M109',44.991660,9.012044),(18183,3,18,'Volpara',0,'M119',44.953294,9.297244),(18184,3,18,'Zavattarello',0,'M150',44.868380,9.265333),(18185,3,18,'Zeccone',0,'M152',45.257532,9.202490),(18186,3,18,'Zeme',0,'M161',41.871940,12.567380),(18187,3,18,'Zenevredo',0,'M162',45.053457,9.326120),(18188,3,18,'Zerbo',0,'M166',45.111075,9.394000),(18189,3,18,'Zerbolò',0,'M167',45.206420,9.013523),(18190,3,18,'Zinasco',0,'M180',45.122979,9.013514),(18191,3,18,'<NAME>',0,'M338',0.000000,0.000000),(18192,3,18,'Corteolona e Genzone',0,'M372',45.156946,9.368818),(19001,3,19,'Acquanegra Cremonese',0,'A039',45.168564,9.890840),(19002,3,19,'Agnadello',0,'A076',45.446418,9.562287),(19003,3,19,'Annicco',0,'A299',45.243513,9.877927),(19004,3,19,'Azzanello',0,'A526',45.312681,9.920142),(19005,3,19,'<NAME>',0,'A570',45.359726,9.614062),(19006,3,19,'Bonemerse',0,'A972',45.112800,10.079570),(19007,3,19,'Bordolano',0,'A986',45.289636,9.987103),(19008,3,19,'<NAME>',0,'B320',45.119625,10.277011),(19009,3,19,'Calvatone',0,'B439',45.126731,10.440834),(19010,3,19,'Camisano',0,'B484',45.442908,9.743972),(19011,3,19,'<NAME>',0,'B498',45.398286,9.668764),(19012,3,19,'Capergnanica',0,'B650',45.337903,9.644093),(19013,3,19,'<NAME>',0,'B679',45.245663,9.839178),(19014,3,19,'<NAME>',0,'B680',45.158467,10.229879),(19015,3,19,'Capralba',0,'B686',45.445087,9.644792),(19016,3,19,'<NAME>',0,'B869',45.251473,9.962462),(19017,3,19,'<NAME>-Vidolasco',0,'B881',45.433442,9.713201),(19018,3,19,'<NAME>',0,'B889',45.317874,9.618205),(19019,3,19,'<NAME>',0,'B890',45.419232,9.782809),(19020,3,19,'<NAME>',0,'B891',45.407777,9.626899),(19021,3,19,'Casalmaggiore',0,'B898',44.988309,10.419619),(19022,3,19,'Casalmorano',0,'B900',45.286282,9.898362),(19023,3,19,'Casteldidone',0,'C089',45.070429,10.404694),(19024,3,19,'<NAME>',0,'C115',45.469638,9.717237),(19025,3,19,'Castelleone',0,'C153',45.294752,9.766294),(19026,3,19,'Castelverde',0,'B129',45.188088,9.999174),(19027,3,19,'Castelvisconti',0,'C290',45.304418,9.942664),(19028,3,19,'<NAME>',0,'C435',45.095896,10.221447),(19029,3,19,'Chieve',0,'C634',45.340311,9.614695),(19030,3,19,'Cicognolo',0,'C678',45.164175,10.195837),(19031,3,19,'Cing<NAME>\' Botti',0,'C703',45.084009,10.277034),(19032,3,19,'Corte de\' Cortesi con Cignone',0,'D056',45.270779,10.002217),(19033,3,19,'Corte de\' Frati',0,'D057',45.219114,10.098437),(19034,3,19,'<NAME>',0,'D141',45.304616,9.656622),(19035,3,19,'Crema',0,'D142',45.364338,9.682484),(19036,3,19,'Cremona',1,'D150',45.133249,10.022651),(19037,3,19,'Cremosano',0,'D151',45.394651,9.639439),(19038,3,19,'<NAME>\'Adda',0,'D186',45.158263,9.854789),(19039,3,19,'<NAME>',0,'D203',45.354786,9.835653),(19040,3,19,'Derovere',0,'D278',45.110289,10.249048),(19041,3,19,'Dovera',0,'D358',45.363688,9.536983),(19042,3,19,'Drizzona',0,'D370',45.141732,10.351378),(19043,3,19,'Fiesco',0,'D574',45.336991,9.778230),(19044,3,19,'Formigara',0,'D710',45.222445,9.769297),(19045,3,19,'Gabbioneta-Binanuova',0,'D834',45.215640,10.221538),(19046,3,19,'<NAME>',0,'D841',45.152128,10.123010),(19047,3,19,'Genivolta',0,'D966',45.333003,9.877046),(19048,3,19,'<NAME>',0,'D993',45.090831,10.051609),(19049,3,19,'Gombito',0,'E082',45.261377,9.730162),(19050,3,19,'Grontardo',0,'E193',45.201676,10.150779),(19051,3,19,'<NAME>',0,'E217',45.207303,9.862551),(19052,3,19,'Gussola',0,'E272',45.013175,10.351978),(19053,3,19,'<NAME>',0,'E356',45.175972,10.312234),(19054,3,19,'Izano',0,'E380',45.355070,9.754793),(19055,3,19,'Madignano',0,'E793',45.344206,9.729805),(19056,3,19,'Malagnino',0,'E843',45.133631,10.115974),(19057,3,19,'<NAME>',0,'E983',45.011446,10.382845),(19058,3,19,'<NAME>',0,'F434',45.376492,9.573126),(19059,3,19,'Montodine',0,'F681',45.286200,9.709857),(19060,3,19,'Moscazzano',0,'F761',45.292822,9.682368),(19061,3,19,'<NAME>',0,'F771',45.055310,10.257303),(19062,3,19,'Offanengo',0,'G004',45.379474,9.744391),(19063,3,19,'Olmeneta',0,'G047',45.236167,10.020885),(19064,3,19,'Ostiano',0,'G185',45.223894,10.253582),(19065,3,19,'<NAME>',0,'G222',45.238046,9.927785),(19066,3,19,'<NAME>',0,'G260',45.391361,9.570709),(19067,3,19,'Pandino',0,'G306',45.405159,9.551625),(19068,3,19,'<NAME>',0,'G469',45.172477,10.068083),(19069,3,19,'<NAME>',0,'G483',45.194268,10.187229),(19070,3,19,'<NAME>',0,'G504',45.186055,10.247878),(19071,3,19,'Piadena',0,'G536',45.130334,10.366704),(19072,3,19,'Pianengo',0,'G558',45.401430,9.693205),(19073,3,19,'Pieranica',0,'G603',45.425511,9.607491),(19074,3,19,'<NAME>',0,'G647',45.088279,10.125303),(19075,3,19,'<NAME>',0,'G651',45.127522,10.187064),(19076,3,19,'Pizzighettone',0,'G721',45.186408,9.790182),(19077,3,19,'Pozzaglio ed Uniti',0,'B914',45.200000,10.049491),(19078,3,19,'Quintano',0,'H130',45.419287,9.615832),(19079,3,19,'Ricengo',0,'H276',45.406590,9.726970),(19080,3,19,'<NAME>',0,'H314',45.302001,9.727228),(19081,3,19,'<NAME>',0,'H315',45.332756,9.693684),(19082,3,19,'<NAME>',0,'H316',45.305906,9.705221),(19083,3,19,'<NAME> ed Uniti',0,'H341',45.034190,10.476576),(19084,3,19,'<NAME>',0,'H357',45.470508,9.513021),(19085,3,19,'<NAME>',0,'H372',45.258852,10.078076),(19086,3,19,'Romanengo',0,'H508',45.379170,9.783700),(19087,3,19,'Salvirola',0,'H731',45.355558,9.780604),(19088,3,19,'<NAME>',0,'H767',45.243123,9.806812),(19089,3,19,'<NAME>',0,'H815',45.066561,10.177157),(19090,3,19,'<NAME>',0,'H918',45.078912,10.373753),(19091,3,19,'<NAME>',0,'I007',45.072796,10.316341),(19092,3,19,'<NAME>',0,'I497',45.050444,10.303045),(19093,3,19,'<NAME>',0,'I498',45.221506,10.156126),(19094,3,19,'Sergnano',0,'I627',45.426678,9.702140),(19095,3,19,'<NAME>',0,'I683',45.183003,9.924391),(19096,3,19,'<NAME>',0,'I790',45.081521,10.355806),(19097,3,19,'Soncino',0,'I827',45.399776,9.873389),(19098,3,19,'Soresina',0,'I849',45.287284,9.857631),(19099,3,19,'Sospiro',0,'I865',45.105906,10.159339),(19100,3,19,'Spinadesco',0,'I906',45.148164,9.927851),(19101,3,19,'Spineda',0,'I909',45.060521,10.515387),(19102,3,19,'<NAME>',0,'I914',45.403385,9.492744),(19103,3,19,'<NAME>',0,'I935',45.072395,10.088099),(19104,3,19,'Ticengo',0,'L164',45.370240,9.826538),(19105,3,19,'<NAME>',0,'L221',45.418068,9.596217),(19106,3,19,'Tornata',0,'L225',45.105231,10.430781),(19107,3,19,'<NAME>',0,'L258',45.144229,10.287183),(19108,3,19,'<NAME>',0,'L296',45.018970,10.291472),(19109,3,19,'<NAME>',0,'L389',45.400887,9.630124),(19110,3,19,'Trigolo',0,'L426',45.330110,9.813089),(19111,3,19,'<NAME>',0,'L535',45.369866,9.589125),(19112,3,19,'Vailate',0,'L539',45.461816,9.602649),(19113,3,19,'Vescovato',0,'L806',45.178948,10.167066),(19114,3,19,'Volongo',0,'M116',45.212301,10.300181),(19115,3,19,'Voltido',0,'M127',45.111395,10.335026),(20001,3,20,'Acquanegra sul Chiese',0,'A038',45.163577,10.432770),(20002,3,20,'Asola',0,'A470',45.220129,10.413014),(20003,3,20,'<NAME>',0,'A575',45.092303,10.878107),(20004,3,20,'Bigarello',0,'A866',45.202476,10.926173),(20006,3,20,'Borgofranco sul Po',0,'B013',45.041198,11.192445),(20007,3,20,'Bozzolo',0,'B110',45.103606,10.482932),(20008,3,20,'<NAME>\'Oglio',0,'B612',45.151554,10.382890),(20009,3,20,'<NAME>',0,'B739',45.037716,11.226521),(20010,3,20,'Casalmoro',0,'B901',45.260398,10.405654),(20011,3,20,'Casaloldo',0,'B907',45.254400,10.473407),(20012,3,20,'Casalromano',0,'B911',45.198403,10.367157),(20013,3,20,'Castelbelforte',0,'C059',45.215020,10.891930),(20014,3,20,'<NAME>',0,'C076',45.188702,10.976023),(20015,3,20,'<NAME>',0,'C118',45.298940,10.476779),(20016,3,20,'Castellucchio',0,'C195',45.152336,10.650047),(20017,3,20,'<NAME>',0,'C312',45.387398,10.482958),(20018,3,20,'Cavriana',0,'C406',45.347467,10.602616),(20019,3,20,'Ceresara',0,'C502',45.262576,10.564844),(20020,3,20,'Commessaggio',0,'C930',45.035222,10.544238),(20021,3,20,'Curtatone',0,'D227',45.153118,10.714877),(20022,3,20,'Dosolo',0,'D351',44.953004,10.634974),(20023,3,20,'Felonica',0,'D529',44.978864,11.353915),(20024,3,20,'<NAME>',0,'D949',45.200487,10.582181),(20025,3,20,'Gazzuolo',0,'D959',45.068292,10.582207),(20026,3,20,'Goito',0,'E078',45.251706,10.666083),(20027,3,20,'Gonzaga',0,'E089',44.952515,10.822742),(20028,3,20,'Guidizzolo',0,'E261',45.320137,10.578176),(20029,3,20,'Magnacavallo',0,'E818',45.004838,11.182010),(20030,3,20,'Mantova',1,'E897',45.156417,10.791375),(20031,3,20,'Marcaria',0,'E922',45.119415,10.533891),(20032,3,20,'<NAME>',0,'E949',45.192808,10.487529),(20033,3,20,'Marmirolo',0,'E962',45.220005,10.758025),(20034,3,20,'Medole',0,'F086',45.326299,10.512190),(20035,3,20,'Moglia',0,'F267',44.933819,10.912078),(20036,3,20,'Monzambano',0,'F705',45.386839,10.693692),(20037,3,20,'Motteggiana',0,'B012',45.032790,10.762829),(20038,3,20,'Ostiglia',0,'G186',45.071407,11.133910),(20039,3,20,'Pegognaga',0,'G417',44.997033,10.857680),(20040,3,20,'<NAME>',0,'G633',45.033410,11.107049),(20041,3,20,'Piubega',0,'G717',45.226218,10.533050),(20042,3,20,'<NAME>',0,'G753',44.978137,11.117891),(20043,3,20,'Pomponesco',0,'G816',44.929779,10.597409),(20044,3,20,'<NAME>',0,'G862',45.417292,10.685104),(20045,3,20,'<NAME>',0,'G917',45.189440,10.789934),(20046,3,20,'Quingentole',0,'H129',45.036259,11.044924),(20047,3,20,'Quistello',0,'H143',45.009215,10.980518),(20048,3,20,'Redondesco',0,'H218',45.168414,10.514190),(20049,3,20,'Revere',0,'H248',45.054418,11.133106),(20050,3,20,'<NAME>',0,'H342',45.072059,10.432592),(20051,3,20,'Rodigo',0,'H481',45.198808,10.625472),(20052,3,20,'Roncoferraro',0,'H541',45.134777,10.954617),(20053,3,20,'Roverbella',0,'H604',45.266808,10.770010),(20054,3,20,'Sabbioneta',0,'H652',44.998985,10.488928),(20055,3,20,'<NAME>',0,'H771',45.039114,10.928197),(20056,3,20,'<NAME>',0,'H870',44.973830,11.030064),(20057,3,20,'<NAME>',0,'H883',45.159655,10.846754),(20058,3,20,'<NAME>',0,'H912',44.968579,11.082211),(20059,3,20,'<NAME>',0,'I005',45.097812,10.518014),(20060,3,20,'Schivenoglia',0,'I532',44.996285,11.070453),(20061,3,20,'Sermide',0,'I632',45.003993,11.299153),(20062,3,20,'<NAME>',0,'I662',45.072309,11.099867),(20063,3,20,'Solferino',0,'I801',45.372476,10.566752),(20064,3,20,'Sustinente',0,'L015',45.069478,11.018228),(20065,3,20,'Suzzara',0,'L020',44.991873,10.742497),(20066,3,20,'Viadana',0,'L826',44.928624,10.522915),(20067,3,20,'<NAME>',0,'F804',45.000367,11.113947),(20068,3,20,'Villimpenta',0,'M044',45.145760,11.031186),(20070,3,20,'<NAME>',0,'M125',45.322677,10.659454),(20071,3,20,'<NAME>',0,'M340',45.113601,10.782717),(21001,4,21,'Aldino / Aldein',0,'A179',46.365524,11.355575),(21002,4,21,'Andriano / Andrian',0,'A286',46.518955,11.233687),(21003,4,21,'Anterivo / Altrei',0,'A306',46.277785,11.366539),(21004,4,21,'<NAME>a strada del vino / Eppan an der Weinstraße',0,'A332',46.474554,11.247903),(21005,4,21,'Avelengo / Hafling',0,'A507',46.646686,11.224403),(21006,4,21,'Badia / Abtei',0,'A537',46.609176,11.894178),(21007,4,21,'Barbiano / Barbian',0,'A635',46.600948,11.518852),(21008,4,21,'Bolzano / Bozen',1,'A952',46.498295,11.354758),(21009,4,21,'Braies / Prags',0,'B116',46.717467,12.128142),(21010,4,21,'Brennero / Brenner',0,'B145',46.999103,11.502498),(21011,4,21,'Bressanone / Brixen',0,'B160',46.717705,11.657244),(21012,4,21,'Bronzolo / Branzoll',0,'B203',46.404048,11.320642),(21013,4,21,'Brunico / Bruneck',0,'B220',46.796574,11.938042),(21014,4,21,'Caines / Kuens',0,'B364',46.696344,11.175360),(21015,4,21,'Caldaro sulla strada del vino / Kaltern an der Weinstraße',0,'B397',46.412975,11.240259),(21016,4,21,'Campo di Trens / Freienfeld',0,'B529',46.872137,11.482971),(21017,4,21,'Campo Tures / Sand in Taufers',0,'B570',46.919552,11.951966),(21018,4,21,'Castelbello-Ciardes / Kastelbell-Tschars',0,'C062',46.628325,10.905767),(21019,4,21,'Castelrotto / Kastelruth',0,'C254',46.568135,11.563965),(21020,4,21,'Cermes / Tscherms',0,'A022',46.633047,11.146247),(21021,4,21,'Chienes / Kiens',0,'C625',46.806052,11.838570),(21022,4,21,'Chiusa / Klausen',0,'C652',46.639996,11.566211),(21023,4,21,'<NAME>\'Isarco / Karneid',0,'B799',46.471559,11.471924),(21024,4,21,'Cortaccia sulla strada del vino / Kurtatsch an der Weinstraße',0,'D048',46.311402,11.220691),(21025,4,21,'Cortina sulla strada del vino / Kurtinig an der Weinstraße',0,'D075',46.267991,11.221082),(21026,4,21,'Corvara in Badia / Corvara',0,'D079',46.552591,11.874275),(21027,4,21,'<NAME> / Graun im Vinschgau',0,'D222',46.808111,10.540743),(21028,4,21,'Dobbiaco / Toblach',0,'D311',46.735536,12.221377),(21029,4,21,'Egna / Neumarkt',0,'D392',46.311590,11.272514),(21030,4,21,'Falzes / Pfalzen',0,'D484',46.811343,11.883400),(21031,4,21,'Fiè allo Sciliar / Völs am Schlern',0,'D571',46.517311,11.504745),(21032,4,21,'Fortezza / Franzensfeste',0,'D731',46.796898,11.603122),(21033,4,21,'Funes / Villnöß',0,'D821',46.640598,11.684697),(21034,4,21,'Gais / Gais',0,'D860',46.833856,11.948507),(21035,4,21,'Gargazzone / Gargazon',0,'D923',46.585885,11.202205),(21036,4,21,'Glorenza / Glurns',0,'E069',46.670629,10.552948),(21037,4,21,'Laces / Latsch',0,'E398',46.617706,10.858964),(21038,4,21,'Lagundo / Algund',0,'E412',46.680488,11.133237),(21039,4,21,'Laion / Lajen',0,'E420',46.608233,11.565819),(21040,4,21,'Laives / Leifers',0,'E421',46.427114,11.337291),(21041,4,21,'Lana / Lana',0,'E434',46.611591,11.162954),(21042,4,21,'Lasa / Laas',0,'E457',46.619888,10.694778),(21043,4,21,'Lauregno / Laurein',0,'E481',46.453552,11.062215),(21044,4,21,'Luson / Lüsen',0,'E764',46.745307,11.762162),(21045,4,21,'<NAME> del vino / Margreid an der Weinstraße',0,'E829',46.286842,11.211402),(21046,4,21,'<NAME> / Mals',0,'E862',46.686399,10.551410),(21047,4,21,'Marebbe / Enneberg',0,'E938',46.700043,11.930430),(21048,4,21,'Marlengo / Marling',0,'E959',46.652234,11.137803),(21049,4,21,'Martello / Martell',0,'E981',46.558505,10.781569),(21050,4,21,'Meltina / Mölten',0,'F118',46.585174,11.253482),(21051,4,21,'Merano / Meran',0,'F132',46.671294,11.152518),(21052,4,21,'Monguelfo-Tesido / Welsberg-Taisten',0,'F371',46.754757,12.106709),(21053,4,21,'Montagna / Montan',0,'F392',46.330995,11.304137),(21054,4,21,'Moso in Passiria / Moos in Passeier',0,'F766',46.830254,11.169109),(21055,4,21,'Nalles / Nals',0,'F836',46.542820,11.202956),(21056,4,21,'Naturno / Naturns',0,'F849',46.650242,11.008112),(21057,4,21,'Naz-Sciaves / Natz-Schabs',0,'F856',46.769606,11.663513),(21058,4,21,'<NAME> / Welschnofen',0,'F949',46.429891,11.534676),(21059,4,21,'<NAME> / Deutschnofen',0,'F950',46.413751,11.425513),(21060,4,21,'Ora / Auer',0,'G083',46.348180,11.299035),(21061,4,21,'Ortisei / St. Ulrich',0,'G140',46.573435,11.674203),(21062,4,21,'Parcines / Partschins',0,'G328',46.684155,11.073540),(21063,4,21,'Perca / Percha',0,'G443',46.791492,11.982399),(21064,4,21,'Plaus / Plaus',0,'G299',46.655359,11.042665),(21065,4,21,'<NAME> / Waidbruck',0,'G830',46.597785,11.531265),(21066,4,21,'Postal / Burgstall',0,'G936',46.609767,11.192360),(21067,4,21,'<NAME> / <NAME>',0,'H004',46.621841,10.591400),(21068,4,21,'Predoi / Prettau',0,'H019',47.037848,12.103138),(21069,4,21,'Proves / Proveis',0,'H081',46.474612,11.022152),(21070,4,21,'Racines / Ratschings',0,'H152',46.868482,11.317394),(21071,4,21,'Rasun-Anterselva / Rasen-Antholz',0,'H189',46.777832,12.049750),(21072,4,21,'Renon / Ritten',0,'H236',46.552253,11.431383),(21073,4,21,'Rifiano / Riffian',0,'H284',46.703101,11.180675),(21074,4,21,'<NAME> / Mühlbach',0,'H299',46.796521,11.668100),(21075,4,21,'Rodengo / Rodeneck',0,'H475',46.778700,11.690317),(21076,4,21,'Salorno / Salurn',0,'H719',46.239346,11.218190),(21077,4,21,'<NAME> / Innichen',0,'H786',46.730043,12.280521),(21079,4,21,'<NAME> / Jenesien',0,'H858',46.535235,11.330217),(21080,4,21,'<NAME> in Passiria / St. Leonhard in Passeier',0,'H952',46.812860,11.245723),(21081,4,21,'<NAME> / St. Lorenzen',0,'H956',46.782299,11.904268),(21082,4,21,'San Martino in Badia / St. Martin in Thurn',0,'H988',46.682060,11.897825),(21083,4,21,'San Martino in Passiria / St. Martin in Passeier',0,'H989',46.785823,11.230245),(21084,4,21,'San Pancrazio / St. Pankraz',0,'I065',46.583942,11.084560),(21085,4,21,'<NAME> / St. Christina in Gröden',0,'I173',46.558085,11.719800),(21086,4,21,'Sarentino / Sarntal',0,'I431',46.641214,11.354108),(21087,4,21,'Scena / Schenna',0,'I519',46.686931,11.188801),(21088,4,21,'<NAME> / Mühlwald',0,'I593',46.889803,11.862948),(21089,4,21,'<NAME> / Wolkenstein in Gröden',0,'I591',46.556462,11.754658),(21091,4,21,'Senales / Schnals',0,'I604',46.647627,10.977728),(21092,4,21,'Sesto / Sexten',0,'I687',46.701861,12.350254),(21093,4,21,'Silandro / Schlanders',0,'I729',46.627677,10.773689),(21094,4,21,'Sluderno / Schluderns',0,'I771',46.664767,10.586308),(21095,4,21,'Stelvio / Stilfs',0,'I948',46.597857,10.544426),(21096,4,21,'Terento / Terenten',0,'L106',46.829902,11.778406),(21097,4,21,'Terlano / Terlan',0,'L108',46.529331,11.248429),(21098,4,21,'Termeno sulla strada del vino / Tramin an der Weinstraße',0,'L111',46.340810,11.242166),(21099,4,21,'Tesimo / Tisens',0,'L149',46.565686,11.169672),(21100,4,21,'Tires / Tiers',0,'L176',46.469274,11.523642),(21101,4,21,'Tirolo / Tirol',0,'L178',46.690721,11.155540),(21102,4,21,'Trodena nel parco naturale / Truden im Naturpark',0,'L444',46.322538,11.349729),(21103,4,21,'Tubre / Taufers im Münstertal',0,'L455',46.641331,10.462814),(21104,4,21,'Ultimo / Ulten',0,'L490',46.547808,11.007077),(21105,4,21,'Vadena / Pfatten',0,'L527',46.413345,11.305072),(21106,4,21,'Valdaora / Olang',0,'L552',46.761208,12.030449),(21107,4,21,'<NAME> / Pfitsch',0,'L564',46.970261,11.594396),(21108,4,21,'<NAME> / Ahrntal',0,'L595',46.990808,11.963752),(21109,4,21,'<NAME> / Gsies',0,'L601',46.814749,12.212455),(21110,4,21,'Vandoies / Vintl',0,'L660',46.815725,11.721557),(21111,4,21,'Varna / Vahrn',0,'L687',46.732186,11.649724),(21112,4,21,'Verano / Vöran',0,'L745',46.605232,11.227898),(21113,4,21,'Villabassa / Niederdorf',0,'L915',46.735835,12.185836),(21114,4,21,'Villandro / Villanders',0,'L971',46.630518,11.537530),(21115,4,21,'Vipiteno / Sterzing',0,'M067',46.892673,11.433619),(21116,4,21,'Velturno / Feldthurns',0,'L724',46.669132,11.598838),(21117,4,21,'La Valle / Wengen',0,'E491',46.658286,11.923845),(21118,4,21,'Senale-San Felice / Unsere Liebe Frau im Walde-St. Felix',0,'I603',46.505161,11.135248),(22001,4,22,'Ala',0,'A116',45.762564,11.005173),(22002,4,22,'Albiano',0,'A158',46.144362,11.194111),(22003,4,22,'Aldeno',0,'A178',45.980672,11.091379),(22005,4,22,'Andalo',0,'A274',46.164137,11.002407),(22006,4,22,'Arco',0,'A372',45.917861,10.885576),(22007,4,22,'Avio',0,'A520',45.732779,10.939799),(22009,4,22,'<NAME>',0,'A694',46.131489,11.246595),(22011,4,22,'Bedollo',0,'A730',46.164742,11.300591),(22013,4,22,'Besenello',0,'A821',45.940902,11.112212),(22015,4,22,'Bieno',0,'A863',46.080402,11.554354),(22017,4,22,'<NAME>',0,'A902',46.014715,10.796901),(22018,4,22,'Bocenago',0,'A916',46.119529,10.759798),(22021,4,22,'Bondone',0,'A968',45.806313,10.550976),(22022,4,22,'<NAME>',0,'B006',46.052805,11.462606),(22025,4,22,'Brentonico',0,'B153',45.817127,10.949557),(22026,4,22,'Bresimo',0,'B158',46.410646,10.966422),(22027,4,22,'Brez',0,'B165',46.431050,11.107007),(22029,4,22,'<NAME>',0,'B335',46.129418,10.756789),(22030,4,22,'Cagnò',0,'B360',46.394565,11.041308),(22032,4,22,'Calceranica al Lago',0,'B389',46.003280,11.244401),(22033,4,22,'Caldes',0,'B400',46.365537,10.938774),(22034,4,22,'Caldonazzo',0,'B404',45.991445,11.262122),(22035,4,22,'Calliano',0,'B419',45.007068,8.254988),(22036,4,22,'<NAME>',0,'B514',46.477716,11.741218),(22037,4,22,'Campodenno',0,'B525',46.258327,11.032847),(22038,4,22,'<NAME>',0,'B577',46.156129,11.731504),(22039,4,22,'Canazei',0,'B579',46.476778,11.770365),(22040,4,22,'Capriana',0,'B697',46.263117,11.338186),(22041,4,22,'Carano',0,'B723',46.292136,11.440759),(22042,4,22,'Carisolo',0,'B783',46.167276,10.756866),(22043,4,22,'Carzano',0,'B856',46.070134,11.493592),(22045,4,22,'<NAME>',0,'C183',45.914611,10.602321),(22046,4,22,'Castelfondo',0,'C103',46.453388,11.116506),(22047,4,22,'Castello-<NAME>',0,'C189',46.282247,11.435177),(22048,4,22,'<NAME>',0,'C194',46.060929,11.634599),(22049,4,22,'Castelnuovo',0,'C216',46.051910,11.494133),(22050,4,22,'Cavalese',0,'C372',46.291202,11.460566),(22051,4,22,'Cavareno',0,'C380',46.407092,11.136868),(22052,4,22,'Cavedago',0,'C392',46.183620,11.028348),(22053,4,22,'Cavedine',0,'C393',45.993104,10.975435),(22054,4,22,'Cavizzana',0,'C400',46.368035,10.957505),(22058,4,22,'Cimone',0,'C700',45.978507,11.067622),(22059,4,22,'<NAME>',0,'C712',46.056495,11.615108),(22060,4,22,'Cis',0,'C727',40.959812,14.481065),(22061,4,22,'Civezzano',0,'C756',46.088489,11.180418),(22062,4,22,'Cles',0,'C794',46.364508,11.035505),(22063,4,22,'Cloz',0,'C797',46.416488,11.084705),(22064,4,22,'Commezzadura',0,'C931',46.322019,10.839583),(22068,4,22,'Croviana',0,'D188',46.343301,10.901674),(22070,4,22,'Daiano',0,'D243',46.300336,11.446369),(22071,4,22,'Dambel',0,'D246',46.405469,11.092998),(22074,4,22,'Denno',0,'D273',46.274682,11.048146),(22078,4,22,'Drena',0,'D365',45.970821,10.945666),(22079,4,22,'Dro',0,'D371',45.960367,10.910197),(22080,4,22,'Faedo',0,'D457',46.192566,11.161868),(22081,4,22,'<NAME>',0,'D468',46.178282,11.069331),(22083,4,22,'Fiavè',0,'D565',46.003750,10.842347),(22085,4,22,'Fierozzo',0,'D573',46.111119,11.318572),(22087,4,22,'Folgaria',0,'D651',45.915712,11.171807),(22088,4,22,'Fondo',0,'D663',46.436546,11.140137),(22089,4,22,'Fornace',0,'D714',46.117901,11.207213),(22090,4,22,'Frassilongo',0,'D775',46.089663,11.297549),(22091,4,22,'<NAME>',0,'D928',46.002056,11.085532),(22092,4,22,'Giovo',0,'E048',46.155879,11.152455),(22093,4,22,'Giustino',0,'E065',46.143299,10.769437),(22095,4,22,'Grigno',0,'E178',46.016989,11.631237),(22097,4,22,'Imer',0,'E288',46.150495,11.793818),(22098,4,22,'Isera',0,'E334',45.886734,11.009006),(22099,4,22,'Ivano-Fracena',0,'E378',46.057088,11.533671),(22102,4,22,'Lavarone',0,'E492',45.939413,11.274574),(22103,4,22,'Lavis',0,'E500',46.140842,11.112494),(22104,4,22,'<NAME>',0,'E565',46.013024,11.297760),(22106,4,22,'Livo',0,'E624',46.403111,11.019710),(22108,4,22,'Lona-Lases',0,'E664',46.143304,11.220704),(22109,4,22,'Luserna',0,'E757',45.922122,11.322682),(22110,4,22,'Malè',0,'E850',46.352982,10.912914),(22111,4,22,'Malosco',0,'E866',46.436455,11.145214),(22112,4,22,'Massimeno',0,'F045',46.140417,10.773043),(22113,4,22,'Mazzin',0,'F068',46.457308,11.699612),(22114,4,22,'Mezzana',0,'F168',46.317667,10.801199),(22115,4,22,'Mezzano',0,'F176',46.154741,11.808243),(22116,4,22,'Mezzocorona',0,'F183',46.215344,11.119918),(22117,4,22,'Mezzolombardo',0,'F187',46.214003,11.096787),(22118,4,22,'Moena',0,'F263',46.376420,11.661600),(22120,4,22,'Molveno',0,'F307',46.141734,10.965146),(22123,4,22,'Mori',0,'F728',45.851389,10.978786),(22124,4,22,'Nago-Torbole',0,'F835',45.877824,10.890852),(22126,4,22,'<NAME>',0,'F853',46.166740,11.108146),(22127,4,22,'Nogaredo',0,'F920',45.914910,11.022841),(22128,4,22,'Nomi',0,'F929',45.929691,11.067229),(22129,4,22,'Novaledo',0,'F947',46.023621,11.368770),(22130,4,22,'Ospedaletto',0,'G168',46.044477,11.554925),(22131,4,22,'Ossana',0,'G173',46.307842,10.735551),(22133,4,22,'<NAME>',0,'G296',46.130438,11.341620),(22134,4,22,'Panchià',0,'G305',46.286754,11.538165),(22135,4,22,'Ronzo-Chienis',0,'M303',45.891660,10.952569),(22136,4,22,'Peio',0,'G419',46.362780,10.673533),(22137,4,22,'Pellizzano',0,'G428',46.311398,10.758427),(22138,4,22,'Pelugo',0,'G429',46.087643,10.724535),(22139,4,22,'<NAME>',0,'G452',46.061740,11.236960),(22142,4,22,'<NAME>',0,'G656',46.067704,11.612773),(22143,4,22,'Pinzolo',0,'G681',46.159770,10.765027),(22144,4,22,'Pomarolo',0,'G808',45.924539,11.048454),(22145,4,22,'<NAME>',0,'G950',46.430689,11.685717),(22147,4,22,'Predazzo',0,'H018',46.312589,11.602437),(22150,4,22,'Rabbi',0,'H146',46.399206,10.848630),(22152,4,22,'Revò',0,'H254',46.391689,11.058712),(22153,4,22,'<NAME>',0,'H330',45.889198,10.843070),(22154,4,22,'Romallo',0,'H506',46.395487,11.064310),(22155,4,22,'Romeno',0,'H517',46.391923,11.116992),(22156,4,22,'<NAME>',0,'H528',46.054296,11.377830),(22157,4,22,'<NAME>',0,'H532',46.067680,11.434404),(22159,4,22,'Ronzone',0,'H552',46.420648,11.147291),(22160,4,22,'<NAME>',0,'H607',46.248709,11.168819),(22161,4,22,'Rovereto',0,'H612',45.890960,11.040140),(22162,4,22,'Ruffrè-Mendola',0,'H634',46.418597,11.201892),(22163,4,22,'Rumo',0,'H639',46.436486,11.029426),(22164,4,22,'<NAME>',0,'H666',46.194549,11.942371),(22165,4,22,'Samone',0,'H754',45.449055,7.843669),(22167,4,22,'<NAME>',0,'I042',46.187865,11.133042),(22168,4,22,'<NAME>',0,'I354',46.108074,11.302441),(22169,4,22,'Sanzeno',0,'I411',46.366191,11.074577),(22170,4,22,'Sarnonico',0,'I439',46.418647,11.141469),(22171,4,22,'Scurelle',0,'I554',46.064764,11.510520),(22172,4,22,'Segonzano',0,'I576',46.187572,11.261346),(22173,4,22,'Sfruz',0,'I714',46.337976,11.115563),(22176,4,22,'Soraga',0,'I839',46.394776,11.666989),(22177,4,22,'Sover',0,'I871',46.221389,11.315817),(22179,4,22,'Spiazzo',0,'I899',46.098063,10.733927),(22180,4,22,'Spormaggiore',0,'I924',46.217032,11.047589),(22181,4,22,'Sporminore',0,'I925',46.237649,11.030604),(22182,4,22,'Stenico',0,'I949',46.052676,10.853631),(22183,4,22,'Storo',0,'I964',45.848245,10.579026),(22184,4,22,'Strembo',0,'I975',46.120504,10.751748),(22188,4,22,'Telve',0,'L089',46.070124,11.480232),(22189,4,22,'<NAME>',0,'L090',46.071547,11.471645),(22190,4,22,'Tenna',0,'L096',46.011934,11.266719),(22191,4,22,'Tenno',0,'L097',45.919549,10.832999),(22193,4,22,'Terragnolo',0,'L121',45.878177,11.142817),(22195,4,22,'Terzolas',0,'L145',46.361701,10.926962),(22196,4,22,'Tesero',0,'L147',46.289569,11.507966),(22199,4,22,'<NAME>',0,'L174',46.031342,10.722728),(22200,4,22,'Ton',0,'L200',46.265924,11.085501),(22202,4,22,'Torcegno',0,'L211',46.074745,11.451462),(22203,4,22,'Trambileno',0,'L322',45.867298,11.074162),(22205,4,22,'Trento',1,'L378',46.074779,11.121749),(22209,4,22,'Valfloriana',0,'L575',46.249466,11.343362),(22210,4,22,'Vallarsa',0,'L588',45.782672,11.117401),(22211,4,22,'Varena',0,'L678',46.305309,11.457909),(22213,4,22,'Vermiglio',0,'L769',46.299766,10.703156),(22216,4,22,'Vignola-Falesina',0,'L886',46.044425,11.277424),(22217,4,22,'<NAME>',0,'L893',46.420863,11.674878),(22222,4,22,'<NAME>',0,'L957',45.916076,11.030837),(22224,4,22,'Volano',0,'M113',45.917942,11.063927),(22225,4,22,'Zambana',0,'M142',46.154268,11.092831),(22226,4,22,'<NAME>',0,'M173',46.286564,11.559248),(22228,4,22,'<NAME>',0,'M314',46.041393,10.883670),(22229,4,22,'Ledro',0,'M313',45.876536,10.732148),(22230,4,22,'Predaia',0,'M344',46.320666,11.101169),(22231,4,22,'<NAME>',0,'M345',46.076705,10.909271),(22232,4,22,'Valdaone',0,'M343',45.946934,10.620706),(22233,4,22,'<NAME>',0,'M366',46.298418,10.866375),(22234,4,22,'<NAME>',0,'M365',45.941422,10.641392),(22235,4,22,'Altavalle',0,'M349',46.180683,11.233150),(22236,4,22,'<NAME>',0,'M350',0.000000,0.000000),(22237,4,22,'Amblar-Don',0,'M351',46.395557,11.147259),(22238,4,22,'<NAME>',0,'M352',44.113915,8.031912),(22239,4,22,'<NAME>',0,'M353',46.034337,10.749486),(22240,4,22,'<NAME>',0,'M354',46.069304,11.521159),(22241,4,22,'<NAME>',0,'M355',46.160233,11.188078),(22242,4,22,'Contà',0,'M356',46.284075,11.036521),(22243,4,22,'Madruzzo',0,'M357',46.046469,10.953981),(22244,4,22,'<NAME>',0,'M358',46.062245,10.712245),(22245,4,22,'<NAME>',0,'M359',46.261764,11.800218),(22246,4,22,'<NAME>',0,'M360',0.000000,0.000000),(22247,4,22,'<NAME>',0,'M361',43.838228,11.113085),(22248,4,22,'Vallelaghi',0,'M362',0.000000,0.000000),(22249,4,22,'Ville d\'Anaunia',0,'M363',0.000000,0.000000),(23001,5,23,'Affi',0,'A061',45.552506,10.772053),(23002,5,23,'<NAME>',0,'A137',45.316997,11.276161),(23003,5,23,'Angiari',0,'A292',45.217926,11.283351),(23004,5,23,'Arcole',0,'A374',45.358520,11.284535),(23005,5,23,'<NAME>',0,'A540',45.563836,11.156081),(23006,5,23,'Bardolino',0,'A650',45.551817,10.721468),(23007,5,23,'Belfiore',0,'A737',45.382198,11.209550),(23008,5,23,'Bevilacqua',0,'A837',45.233676,11.397891),(23009,5,23,'Bonavigo',0,'A964',45.258327,11.276297),(23010,5,23,'<NAME>',0,'B070',45.218347,11.355891),(23011,5,23,'<NAME>',0,'B073',45.620138,11.027074),(23012,5,23,'Bovolone',0,'B107',45.257693,11.120608),(23013,5,23,'<NAME>',0,'B152',45.642809,10.872471),(23014,5,23,'<NAME>',0,'B154',45.708429,10.767539),(23015,5,23,'Bussolengo',0,'B296',45.473254,10.850728),(23016,5,23,'Buttapietra',0,'B304',45.341315,10.998986),(23017,5,23,'Caldiero',0,'B402',45.409128,11.182778),(23018,5,23,'<NAME>',0,'B709',45.606184,10.794827),(23019,5,23,'Casaleone',0,'B886',45.172595,11.197329),(23020,5,23,'Castagnaro',0,'C041',45.120374,11.410995),(23021,5,23,'<NAME>',0,'C078',45.355741,10.956838),(23022,5,23,'<NAME>',0,'C225',45.441379,10.758215),(23023,5,23,'<NAME>',0,'C370',45.540250,10.770114),(23024,5,23,'<NAME>',0,'C412',45.473825,11.202907),(23025,5,23,'Cerea',0,'C498',45.193124,11.210085),(23026,5,23,'<NAME>',0,'C538',45.574109,11.038567),(23027,5,23,'<NAME>',0,'C890',45.308947,11.379592),(23028,5,23,'<NAME>',0,'C897',45.433305,11.194288),(23029,5,23,'Concamarise',0,'C943',45.206596,11.139744),(23030,5,23,'Costermano',0,'D118',45.585834,10.743281),(23031,5,23,'Dolcè',0,'D317',45.601040,10.852023),(23032,5,23,'Erbè',0,'D419',45.239510,10.968833),(23033,5,23,'Erbezzo',0,'D420',45.636731,11.001070),(23034,5,23,'<NAME>',0,'D549',45.676669,10.853268),(23035,5,23,'Fumane',0,'D818',45.546487,10.884877),(23036,5,23,'Garda',0,'D915',45.577101,10.705568),(23037,5,23,'<NAME>',0,'D957',45.142800,11.076074),(23038,5,23,'Grezzana',0,'E171',45.519529,11.016543),(23039,5,23,'Illasi',0,'E284',45.468023,11.180201),(23040,5,23,'<NAME>',0,'E349',45.274713,11.032325),(23041,5,23,'<NAME>',0,'E358',45.290986,11.199568),(23042,5,23,'Lavagno',0,'E489',45.440655,11.132258),(23043,5,23,'Lazise',0,'E502',45.506020,10.735072),(23044,5,23,'Legnago',0,'E512',45.193597,11.303213),(23045,5,23,'Malcesine',0,'E848',45.764234,10.810093),(23046,5,23,'<NAME>',0,'E911',45.556593,10.916093),(23047,5,23,'<NAME>',0,'F172',45.482020,11.127018),(23048,5,23,'Minerbe',0,'F218',45.240950,11.329595),(23049,5,23,'<NAME>',0,'F461',45.479761,11.252963),(23050,5,23,'<NAME>',0,'F508',45.422437,11.285440),(23051,5,23,'Mozzecane',0,'F789',45.308810,10.816966),(23052,5,23,'Negrar',0,'F861',45.536146,10.939353),(23053,5,23,'Nogara',0,'F918',45.178931,11.063743),(23054,5,23,'<NAME>',0,'F921',45.293817,10.878755),(23055,5,23,'Oppeano',0,'G080',45.309392,11.176659),(23056,5,23,'Palù',0,'G297',45.325791,11.153167),(23057,5,23,'Pastrengo',0,'G365',45.494690,10.799512),(23058,5,23,'Pescantina',0,'G481',45.482761,10.867490),(23059,5,23,'<NAME>',0,'G489',45.439639,10.686545),(23060,5,23,'<NAME>',0,'G945',45.348397,10.881254),(23061,5,23,'Pressana',0,'H048',45.283270,11.404064),(23062,5,23,'<NAME>',0,'H356',45.571806,10.811826),(23063,5,23,'Roncà',0,'H522',45.479250,11.289870),(23064,5,23,'<NAME>',0,'H540',45.337814,11.242209),(23065,5,23,'Roverchiara',0,'H606',45.269410,11.244837),(23066,5,23,'<NAME>',0,'H610',45.273056,11.443294),(23067,5,23,'<NAME>',0,'H608',45.599769,11.068746),(23068,5,23,'Salizzole',0,'H714',45.242834,11.093653),(23069,5,23,'<NAME>',0,'H783',45.395371,11.274200),(23070,5,23,'<NAME>',0,'H916',45.523710,11.235576),(23071,5,23,'<NAME>',0,'H924',45.382366,11.044491),(23072,5,23,'Sanguinetto',0,'H944',45.180652,11.152624),(23073,5,23,'<NAME>',0,'I003',45.423180,11.094291),(23074,5,23,'<NAME>',0,'H712',45.564079,11.116863),(23075,5,23,'<NAME>',0,'I105',45.239825,11.228370),(23076,5,23,'<NAME>',0,'I109',45.516632,10.886143),(23077,5,23,'<NAME>',0,'I259',45.521702,10.837934),(23078,5,23,'Sant\'<NAME>',0,'I292',45.627837,10.951175),(23079,5,23,'<NAME>',0,'I414',45.631134,10.723979),(23080,5,23,'<NAME>',0,'I594',45.611079,11.139020),(23081,5,23,'Soave',0,'I775',45.419791,11.248134),(23082,5,23,'Sommacampagna',0,'I821',45.402821,10.842810),(23083,5,23,'Sona',0,'I826',45.435420,10.829600),(23084,5,23,'Sorgà',0,'I850',45.213911,10.980928),(23085,5,23,'Terrazzo',0,'L136',45.174278,11.398134),(23086,5,23,'<NAME>',0,'L287',45.610103,10.686826),(23087,5,23,'Tregnago',0,'L364',45.521671,11.162412),(23088,5,23,'Trevenzuolo',0,'L396',45.268702,10.932212),(23089,5,23,'<NAME>',0,'L567',45.354692,10.734379),(23090,5,23,'<NAME>',0,'L722',45.605645,11.095198),(23091,5,23,'Verona',1,'L781',45.438384,10.991622),(23092,5,23,'Veronella',0,'D193',45.321081,11.324784),(23093,5,23,'Vestenanova',0,'L810',45.574612,11.232329),(23094,5,23,'Vigasio',0,'L869',45.316913,10.942101),(23095,5,23,'<NAME>',0,'L912',45.158779,11.353020),(23096,5,23,'<NAME>',0,'L949',45.355255,10.847427),(23097,5,23,'Zevio',0,'M172',45.371702,11.133549),(23098,5,23,'Zimella',0,'M178',45.334055,11.376878),(24001,5,24,'Agugliaro',0,'A093',45.324427,11.586817),(24002,5,24,'Albettone',0,'A154',45.358327,11.585386),(24003,5,24,'Alonte',0,'A220',45.364644,11.428491),(24004,5,24,'<NAME>',0,'A231',45.509251,11.466064),(24005,5,24,'Altissimo',0,'A236',45.613545,11.254388),(24006,5,24,'Arcugnano',0,'A377',45.500612,11.535509),(24007,5,24,'Arsiero',0,'A444',45.803245,11.355629),(24008,5,24,'Arzignano',0,'A459',45.522353,11.333705),(24009,5,24,'Asiago',0,'A465',45.875885,11.509620),(24010,5,24,'<NAME>',0,'A467',45.304439,11.446588),(24011,5,24,'<NAME>',0,'A627',45.409921,11.539582),(24012,5,24,'<NAME>',0,'A703',45.765729,11.727275),(24013,5,24,'<NAME>',0,'A954',45.600470,11.621963),(24014,5,24,'Breganze',0,'B132',45.708245,11.557455),(24015,5,24,'Brendola',0,'B143',45.472335,11.446271),(24016,5,24,'Bressanvido',0,'B161',45.648434,11.635384),(24017,5,24,'Brogliano',0,'B196',45.587505,11.364517),(24018,5,24,'Caldogno',0,'B403',45.611319,11.503045),(24019,5,24,'Caltrano',0,'B433',45.770738,11.455396),(24020,5,24,'Calvene',0,'B441',45.765825,11.512225),(24021,5,24,'<NAME>',0,'B485',45.520700,11.712749),(24022,5,24,'<NAME>',0,'B511',45.340392,11.539663),(24023,5,24,'<NAME>',0,'B547',45.827948,11.700745),(24024,5,24,'Carrè',0,'B835',45.747466,11.458864),(24025,5,24,'Cartigliano',0,'B844',45.715264,11.694676),(24026,5,24,'Cassola',0,'C037',45.734003,11.798930),(24027,5,24,'Castegnero',0,'C056',45.441269,11.580879),(24028,5,24,'Castelgomberto',0,'C119',45.585380,11.393274),(24029,5,24,'Chiampo',0,'C605',45.545762,11.277493),(24030,5,24,'Chiuppano',0,'C650',45.766479,11.458618),(24031,5,24,'<NAME>',0,'C734',45.921642,11.729539),(24032,5,24,'<NAME>',0,'C824',45.788569,11.413588),(24033,5,24,'Conco',0,'C949',45.798389,11.605658),(24034,5,24,'<NAME>',0,'D020',45.615062,11.337639),(24035,5,24,'Costabissara',0,'D107',45.583741,11.485560),(24036,5,24,'Creazzo',0,'D136',45.533478,11.477928),(24037,5,24,'Crespadoro',0,'D156',45.616908,11.228900),(24038,5,24,'Dueville',0,'D379',45.635507,11.548845),(24039,5,24,'Enego',0,'D407',45.940337,11.705858),(24040,5,24,'<NAME>',0,'D496',45.738067,11.544903),(24041,5,24,'Foza',0,'D750',45.897591,11.630425),(24042,5,24,'Gallio',0,'D882',45.892328,11.547729),(24043,5,24,'Gambellara',0,'D897',45.460279,11.336194),(24044,5,24,'Gambugliano',0,'D902',45.587862,11.439715),(24045,5,24,'Grancona',0,'E138',45.423260,11.453636),(24046,5,24,'<NAME>',0,'E184',45.472338,11.693087),(24047,5,24,'<NAME>',0,'E226',45.515222,11.658805),(24048,5,24,'<NAME>',0,'E354',45.629081,11.442151),(24049,5,24,'Laghi',0,'E403',45.676545,11.743236),(24050,5,24,'Lastebasse',0,'E465',45.915083,11.276457),(24051,5,24,'Longare',0,'E671',45.478896,11.608958),(24052,5,24,'Lonigo',0,'E682',45.388275,11.387862),(24053,5,24,'<NAME>',0,'E731',45.747851,11.525850),(24054,5,24,'Lusiana',0,'E762',45.785031,11.576546),(24055,5,24,'Malo',0,'E864',45.655441,11.397726),(24056,5,24,'<NAME>',0,'E912',45.693591,11.431409),(24057,5,24,'Marostica',0,'E970',45.745962,11.658392),(24058,5,24,'<NAME>',0,'F019',45.718200,11.607207),(24059,5,24,'Molvena',0,'F306',45.745012,11.614754),(24060,5,24,'<NAME>',0,'F442',45.459492,11.385173),(24061,5,24,'<NAME>',0,'F464',45.498035,11.421324),(24062,5,24,'<NAME>',0,'F465',45.664322,11.563782),(24063,5,24,'<NAME>',0,'F486',45.660409,11.362576),(24064,5,24,'Montegalda',0,'F514',45.444189,11.675138),(24065,5,24,'Montegaldella',0,'F515',45.437470,11.672616),(24066,5,24,'Monteviale',0,'F662',45.560500,11.458139),(24067,5,24,'<NAME>',0,'F675',45.595179,11.580217),(24068,5,24,'<NAME>',0,'F696',45.487982,11.363895),(24069,5,24,'Mossano',0,'F768',45.418847,11.556891),(24070,5,24,'Mussolente',0,'F829',45.790200,11.798777),(24071,5,24,'Nanto',0,'F838',45.434752,11.580076),(24072,5,24,'<NAME>',0,'F922',45.558736,11.290394),(24073,5,24,'Nove',0,'F957',45.725525,11.679780),(24074,5,24,'<NAME>',0,'F964',45.290744,11.539275),(24075,5,24,'Orgiano',0,'G095',45.351281,11.461726),(24076,5,24,'Pedemonte',0,'G406',44.509785,8.937932),(24077,5,24,'Pianezze',0,'G560',45.740048,11.626721),(24078,5,24,'<NAME>',0,'G694',45.761202,11.431381),(24079,5,24,'<NAME>',0,'G776',45.295902,11.487407),(24080,5,24,'Posina',0,'G931',45.791309,11.262843),(24081,5,24,'<NAME>',0,'G943',45.800934,11.729806),(24082,5,24,'Pozzoleone',0,'G957',45.649839,11.677704),(24083,5,24,'<NAME>',0,'H134',45.577304,11.625141),(24084,5,24,'<NAME>',0,'H214',45.704575,11.224188),(24085,5,24,'Roana',0,'H361',45.875559,11.462646),(24086,5,24,'<NAME>',0,'H512',45.796244,11.758273),(24087,5,24,'Rosà',0,'H556',45.724355,11.762798),(24088,5,24,'<NAME>',0,'H580',45.703377,11.800232),(24089,5,24,'Rotzo',0,'H594',45.862101,11.396496),(24090,5,24,'Salcedo',0,'F810',45.758497,11.564501),(24091,5,24,'Sandrigo',0,'H829',45.659201,11.602936),(24092,5,24,'<NAME>',0,'H863',45.400621,11.473649),(24093,5,24,'<NAME>',0,'I047',45.838844,11.689690),(24094,5,24,'<NAME>',0,'I117',45.582863,11.257881),(24095,5,24,'Santorso',0,'I353',45.736577,11.382866),(24096,5,24,'<NAME>',0,'I401',45.681511,11.376269),(24097,5,24,'Sarcedo',0,'I425',45.707960,11.525798),(24098,5,24,'Sarego',0,'I430',45.407763,11.405467),(24099,5,24,'Schiavon',0,'I527',45.697874,11.644256),(24100,5,24,'Schio',0,'I531',45.717052,11.359770),(24101,5,24,'Solagna',0,'I783',45.819336,11.714151),(24102,5,24,'Sossano',0,'I867',45.359869,11.516615),(24103,5,24,'Sovizzo',0,'I879',45.528302,11.446829),(24104,5,24,'<NAME>',0,'L156',45.682134,11.706732),(24105,5,24,'Thiene',0,'L157',45.707041,11.477354),(24106,5,24,'<NAME>',0,'D717',45.857644,11.345667),(24107,5,24,'Torrebelvicino',0,'L248',45.719396,11.305841),(24108,5,24,'<NAME>',0,'L297',45.523262,11.609000),(24110,5,24,'Trissino',0,'L433',45.563851,11.375057),(24111,5,24,'Valdagno',0,'L551',45.644832,11.302480),(24112,5,24,'Valdastico',0,'L554',45.884784,11.363216),(24113,5,24,'<NAME>',0,'L624',45.739960,11.260966),(24114,5,24,'Valstagna',0,'L650',45.857263,11.658972),(24115,5,24,'<NAME>',0,'L723',45.789308,11.364928),(24116,5,24,'Vicenza',1,'L840',45.545479,11.535421),(24117,5,24,'Villaga',0,'L952',45.402584,11.532951),(24118,5,24,'Villaverla',0,'M032',45.651134,11.499482),(24119,5,24,'Zanè',0,'M145',45.719879,11.453056),(24120,5,24,'Zermeghedo',0,'M170',45.475501,11.372633),(24121,5,24,'Zovencedo',0,'M194',45.428633,11.501759),(24122,5,24,'Zugliano',0,'M199',45.732590,11.518315),(25001,5,25,'Agordo',0,'A083',46.283894,12.034502),(25002,5,25,'<NAME>',0,'A121',45.903272,11.905139),(25003,5,25,'Alleghe',0,'A206',46.406965,12.020396),(25004,5,25,'Arsiè',0,'A443',45.983010,11.756288),(25005,5,25,'<NAME>',0,'A501',46.550970,12.443592),(25006,5,25,'Belluno',1,'A757',46.142464,12.216709),(25007,5,25,'<NAME>',0,'A982',46.435751,12.219390),(25008,5,25,'<NAME>',0,'B375',46.446255,12.380745),(25010,5,25,'<NAME>',0,'C458',46.353799,11.966004),(25011,5,25,'Cesiomaggiore',0,'C577',46.087646,11.986348),(25012,5,25,'<NAME>\'Alpago',0,'C630',46.164970,12.393437),(25013,5,25,'<NAME>',0,'C672',46.387513,12.286486),(25014,5,25,'<NAME>',0,'C872',46.448755,12.015248),(25015,5,25,'<NAME>',0,'C920',46.627463,12.489825),(25016,5,25,'<NAME>',0,'A266',46.540471,12.135652),(25017,5,25,'<NAME>',0,'D247',46.567038,12.520684),(25018,5,25,'<NAME>',0,'D330',46.459197,12.412731),(25019,5,25,'Falcade',0,'D470',46.357745,11.873307),(25021,5,25,'Feltre',0,'D530',46.017851,11.900584),(25022,5,25,'Fonzaso',0,'D686',46.016643,11.800780),(25023,5,25,'<NAME>',0,'B574',46.359813,11.917327),(25025,5,25,'Gosaldo',0,'E113',46.221216,11.955975),(25026,5,25,'Lamon',0,'E429',46.045215,11.748191),(25027,5,25,'<NAME>',0,'E490',46.281310,12.065724),(25028,5,25,'Lentiai',0,'C562',46.044482,12.018585),(25029,5,25,'Limana',0,'E588',46.100168,12.187049),(25030,5,25,'<NAME>',0,'E622',46.493291,11.921815),(25032,5,25,'<NAME>',0,'E687',46.479449,12.459955),(25033,5,25,'<NAME>',0,'E708',46.489480,12.451168),(25034,5,25,'Mel',0,'F094',46.061770,12.078847),(25035,5,25,'<NAME>',0,'G169',46.327076,12.322298),(25036,5,25,'Pedavena',0,'G404',46.040742,11.879323),(25037,5,25,'<NAME>',0,'G442',46.394077,12.356124),(25039,5,25,'<NAME>',0,'G642',46.428831,12.373898),(25040,5,25,'<NAME>',0,'B662',46.174392,12.283583),(25043,5,25,'<NAME>',0,'H327',46.252589,12.024388),(25044,5,25,'<NAME>',0,'H379',46.434305,11.977997),(25045,5,25,'<NAME>',0,'H938',46.104295,12.027973),(25046,5,25,'<NAME>',0,'I063',46.582287,12.527506),(25047,5,25,'<NAME>',0,'I088',46.571419,12.587775),(25048,5,25,'<NAME>',0,'I206',46.082918,12.041874),(25049,5,25,'<NAME>',0,'I347',46.381347,11.975655),(25050,5,25,'<NAME>',0,'C919',46.558017,12.549624),(25051,5,25,'<NAME>',0,'I392',46.459212,12.206856),(25052,5,25,'Sappada',0,'I421',46.567111,12.685344),(25053,5,25,'Sedico',0,'I563',46.109338,12.095518),(25054,5,25,'<NAME>',0,'I592',46.451139,12.037193),(25055,5,25,'<NAME>',0,'I626',45.989739,11.842532),(25056,5,25,'Sospirolo',0,'I866',46.142986,12.073899),(25057,5,25,'Soverzene',0,'I876',46.206321,12.302855),(25058,5,25,'Sovramonte',0,'I673',46.056252,11.776746),(25059,5,25,'<NAME>',0,'L030',46.300292,12.011244),(25060,5,25,'Tambre',0,'L040',46.125757,12.418556),(25061,5,25,'Trichiana',0,'L422',46.073713,12.131993),(25062,5,25,'<NAME>',0,'L584',46.369517,11.930820),(25063,5,25,'<NAME>',0,'L590',46.415067,12.325158),(25065,5,25,'<NAME>',0,'L890',46.498656,12.471661),(25066,5,25,'<NAME>',0,'M108',46.419477,12.246952),(25067,5,25,'<NAME>',0,'M124',46.271994,12.004934),(25069,5,25,'<NAME>',0,'M189',46.386364,12.173360),(25070,5,25,'<NAME>',0,'M332',45.913790,11.953924),(25071,5,25,'Longarone',0,'M342',46.272357,12.300581),(25072,5,25,'Alpago',0,'M375',46.132004,12.332205),(25073,5,25,'<NAME>',0,'M374',46.299722,12.228056),(26001,5,26,'Altivole',0,'A237',45.753948,11.955593),(26002,5,26,'Arcade',0,'A360',-34.598524,-58.947875),(26003,5,26,'Asolo',0,'A471',45.799259,11.914110),(26004,5,26,'<NAME>',0,'B061',45.820925,11.799333),(26005,5,26,'<NAME>',0,'B128',45.724305,12.330913),(26006,5,26,'<NAME>',0,'B349',45.785891,12.000854),(26007,5,26,'<NAME>',0,'B678',45.969312,12.351672),(26008,5,26,'Carbonera',0,'B744',45.687179,12.282465),(26009,5,26,'<NAME>',0,'B879',45.597569,12.325611),(26010,5,26,'Casier',0,'B965',45.641472,12.295849),(26011,5,26,'Castelcucco',0,'C073',45.833068,11.884971),(26012,5,26,'<NAME>',0,'C111',45.671694,11.928239),(26013,5,26,'<NAME>',0,'C190',45.689137,11.882490),(26014,5,26,'<NAME>',0,'C384',45.860830,11.896572),(26015,5,26,'Cessalto',0,'C580',45.712656,12.613593),(26016,5,26,'Chiarano',0,'C614',45.729449,12.582744),(26017,5,26,'Cimadolmo',0,'C689',45.786883,12.361677),(26018,5,26,'C<NAME>',0,'C735',45.967519,12.148637),(26019,5,26,'Codognè',0,'C815',45.870444,12.429243),(26020,5,26,'<NAME>',0,'C848',45.939936,12.339923),(26021,5,26,'Conegliano',0,'C957',45.889197,12.300637),(26022,5,26,'Cordignano',0,'C992',45.949688,12.415972),(26023,5,26,'Cornuda',0,'D030',45.830687,12.005345),(26024,5,26,'<NAME>',0,'D157',45.828740,11.840040),(26025,5,26,'<NAME>',0,'C670',45.838693,12.028097),(26026,5,26,'<NAME>',0,'D505',45.906811,12.129710),(26027,5,26,'Follina',0,'D654',45.952778,12.118912),(26028,5,26,'Fontanelle',0,'D674',45.841222,12.447087),(26029,5,26,'Fonte',0,'D680',45.800439,11.864271),(26030,5,26,'Fregona',0,'D794',46.006076,12.339402),(26031,5,26,'Gaiarine',0,'D854',45.879247,12.482656),(26032,5,26,'<NAME>',0,'E021',45.793854,12.169476),(26033,5,26,'<NAME>',0,'E071',45.927812,12.391191),(26034,5,26,'<NAME>',0,'E092',45.786188,12.553536),(26035,5,26,'Istrana',0,'E373',45.678553,12.099552),(26036,5,26,'Loria',0,'E692',45.729377,11.865653),(26037,5,26,'Mansuè',0,'E893',45.822211,12.537923),(26038,5,26,'<NAME>',0,'E940',45.842365,12.351337),(26039,5,26,'Maser',0,'F009',45.809469,11.975225),(26040,5,26,'<NAME>',0,'F012',45.752767,12.313728),(26041,5,26,'<NAME>',0,'F088',45.806538,12.612750),(26042,5,26,'Miane',0,'F190',45.941773,12.089950),(26043,5,26,'<NAME>',0,'F269',45.553796,12.234296),(26044,5,26,'<NAME>',0,'F332',45.650373,12.435700),(26045,5,26,'Monfumo',0,'F360',45.827173,11.923521),(26046,5,26,'Montebelluna',0,'F443',45.775491,12.043990),(26047,5,26,'Morgano',0,'F725',45.648013,12.104973),(26048,5,26,'<NAME>',0,'F729',45.868578,12.099381),(26049,5,26,'<NAME>',0,'F770',45.777272,12.612140),(26050,5,26,'<NAME>',0,'F872',45.820176,12.202259),(26051,5,26,'Oderzo',0,'F999',45.779765,12.497311),(26052,5,26,'Ormelle',0,'G115',45.779616,12.417985),(26053,5,26,'Orsago',0,'G123',45.930194,12.422353),(26054,5,26,'<NAME>',0,'G221',45.827400,11.856506),(26055,5,26,'Paese',0,'G229',45.674182,12.167286),(26056,5,26,'Pederobba',0,'G408',45.874372,11.948271),(26057,5,26,'<NAME>',0,'G645',45.899979,12.173542),(26058,5,26,'<NAME>',0,'G846',45.715960,12.465162),(26059,5,26,'<NAME>',0,'G875',45.708540,12.218566),(26060,5,26,'Portobuffolè',0,'G909',45.858075,12.537687),(26061,5,26,'Possagno',0,'G933',45.851404,11.873853),(26062,5,26,'Povegliano',0,'G944',45.758703,12.208824),(26063,5,26,'Preganziol',0,'H022',45.602722,12.235132),(26064,5,26,'<NAME>',0,'H131',45.645095,12.166783),(26065,5,26,'Refrontolo',0,'H220',45.924584,12.207994),(26066,5,26,'Resana',0,'H238',45.629977,11.956401),(26067,5,26,'<NAME>',0,'H253',45.997603,12.251445),(26068,5,26,'<NAME>',0,'H280',45.726467,11.913087),(26069,5,26,'Roncade',0,'H523',45.628991,12.374579),(26070,5,26,'Salgareda',0,'H706',45.704317,12.490787),(26071,5,26,'<NAME>',0,'H781',45.686188,12.384015),(26072,5,26,'<NAME>',0,'H843',45.921218,12.357430),(26073,5,26,'<NAME>',0,'I103',45.929239,12.238543),(26074,5,26,'<NAME>',0,'I124',45.789253,12.396698),(26075,5,26,'<NAME>',0,'I221',45.854841,12.288451),(26076,5,26,'<NAME>',0,'I382',45.891190,12.326723),(26077,5,26,'<NAME>',0,'I417',45.781997,11.836677),(26078,5,26,'Sarmede',0,'I435',45.978757,12.385906),(26079,5,26,'Segusino',0,'I578',45.920141,11.957525),(26080,5,26,'<NAME>',0,'I635',45.874668,12.133483),(26081,5,26,'Silea',0,'F116',45.653345,12.296160),(26082,5,26,'Spresiano',0,'I927',45.780111,12.259526),(26083,5,26,'Susegana',0,'L014',45.851278,12.249507),(26084,5,26,'Tarzo',0,'L058',45.971684,12.234029),(26085,5,26,'Trevignano',0,'L402',45.737073,12.067078),(26086,5,26,'Treviso',1,'L407',45.666889,12.243044),(26087,5,26,'Valdobbiadene',0,'L565',45.901251,11.995881),(26088,5,26,'Vazzola',0,'L700',45.839616,12.380714),(26089,5,26,'Vedelago',0,'L706',45.686865,12.014862),(26090,5,26,'Vidor',0,'L856',45.861514,12.038747),(26091,5,26,'Villorba',0,'M048',45.740900,12.232672),(26092,5,26,'<NAME>',0,'M089',45.978601,12.301797),(26093,5,26,'<NAME>',0,'M118',45.777962,12.126892),(26094,5,26,'<NAME>',0,'M163',45.678957,12.491841),(26095,5,26,'Zero Branco',0,'M171',45.601132,12.166815),(27001,5,27,'<NAME>',0,'A302',45.795752,12.683355),(27002,5,27,'<NAME>',0,'B493',45.352297,12.099294),(27003,5,27,'<NAME>',0,'B546',45.333527,12.039911),(27004,5,27,'Camponogara',0,'B554',45.383559,12.072850),(27005,5,27,'Caorle',0,'B642',45.603024,12.885959),(27006,5,27,'Cavarzere',0,'C383',45.130499,12.080584),(27007,5,27,'Ceggia',0,'C422',45.689093,12.639028),(27008,5,27,'Chioggia',0,'C638',45.219865,12.279014),(27009,5,27,'<NAME>',0,'C714',45.824844,12.786083),(27010,5,27,'Cona',0,'C938',44.806057,11.709742),(27011,5,27,'<NAME>',0,'C950',45.757229,12.842294),(27012,5,27,'Dolo',0,'D325',45.424582,12.075333),(27013,5,27,'Eraclea',0,'D415',45.580851,12.680155),(27014,5,27,'<NAME>',0,'D578',45.418976,12.030583),(27015,5,27,'<NAME>',0,'D740',45.646751,12.513665),(27016,5,27,'<NAME>',0,'D741',45.792835,12.905847),(27017,5,27,'Fossò',0,'D748',45.385627,12.048241),(27018,5,27,'Gruaro',0,'E215',45.833349,12.843722),(27019,5,27,'Jesolo',0,'C388',45.533420,12.643850),(27020,5,27,'Marcon',0,'E936',45.557436,12.298923),(27021,5,27,'Martellago',0,'E980',45.545951,12.160773),(27022,5,27,'Meolo',0,'F130',45.618041,12.453844),(27023,5,27,'Mira',0,'F229',45.416432,12.133839),(27024,5,27,'Mirano',0,'F241',45.495014,12.115868),(27025,5,27,'<NAME>',0,'F826',45.624430,12.563941),(27026,5,27,'Noale',0,'F904',45.552601,12.072326),(27027,5,27,'<NAME>',0,'F963',45.660419,12.530159),(27028,5,27,'Pianiga',0,'G565',45.456092,12.030460),(27029,5,27,'Portogruaro',0,'G914',45.780576,12.837399),(27030,5,27,'Pramaggiore',0,'G981',45.814542,12.738834),(27031,5,27,'<NAME>',0,'H117',45.580341,12.371133),(27032,5,27,'Salzano',0,'H735',45.521335,12.104108),(27033,5,27,'<NAME>',0,'H823',45.630335,12.566099),(27034,5,27,'<NAME>',0,'I040',45.762732,12.997278),(27035,5,27,'<NAME>',0,'I242',45.508357,12.034231),(27036,5,27,'<NAME>',0,'I373',45.729716,12.681375),(27037,5,27,'Scorzè',0,'I551',45.576724,12.110087),(27038,5,27,'Spinea',0,'I908',45.490734,12.153480),(27039,5,27,'Stra',0,'I965',45.410125,12.004482),(27040,5,27,'<NAME>',0,'L085',45.816643,12.883849),(27041,5,27,'<NAME>',0,'L267',45.687724,12.704196),(27042,5,27,'Venezia',1,'L736',45.440847,12.315515),(27043,5,27,'Vigonovo',0,'L899',45.385761,12.007419),(27044,5,27,'Cavallino-Treporti',0,'M308',45.458173,12.461608),(28001,5,28,'<NAME>',0,'A001',45.358717,11.788300),(28002,5,28,'Agna',0,'A075',45.170761,11.960836),(28003,5,28,'Albignasego',0,'A161',45.346677,11.867717),(28004,5,28,'<NAME>',0,'A296',45.134794,11.892603),(28005,5,28,'<NAME>',0,'A434',45.270348,11.718957),(28006,5,28,'Arre',0,'A438',45.216606,11.930337),(28007,5,28,'Arzergrande',0,'A458',45.273909,12.048430),(28008,5,28,'<NAME>',0,'A568',45.184810,11.880744),(28009,5,28,'Baone',0,'A613',45.243692,11.688454),(28010,5,28,'Barbona',0,'A637',45.103196,11.703424),(28011,5,28,'<NAME>',0,'A714',45.290828,11.782390),(28012,5,28,'<NAME>',0,'A906',45.110663,11.778746),(28013,5,28,'Borgoricco',0,'B031',45.530871,11.964814),(28014,5,28,'Bovolenta',0,'B106',45.274815,11.939641),(28015,5,28,'Brugine',0,'B213',45.295789,11.995704),(28016,5,28,'Cadoneghe',0,'B345',45.444054,11.930096),(28017,5,28,'Campodarsego',0,'B524',45.501520,11.906657),(28018,5,28,'Campodoro',0,'B531',45.490128,11.752536),(28019,5,28,'Camposampiero',0,'B563',45.572447,11.933336),(28020,5,28,'<NAME>',0,'B564',45.547312,11.809653),(28021,5,28,'Candiana',0,'B589',45.220442,11.988285),(28022,5,28,'Carceri',0,'B749',45.194771,11.621413),(28023,5,28,'<NAME>',0,'B795',45.629016,11.702301),(28026,5,28,'Cartura',0,'B848',45.266977,11.863428),(28027,5,28,'<NAME>',0,'B877',45.188560,11.464404),(28028,5,28,'Casalserugo',0,'B912',45.315981,11.913747),(28029,5,28,'Castelbaldo',0,'C057',45.124903,11.456332),(28030,5,28,'<NAME>',0,'C544',45.424504,11.685661),(28031,5,28,'<NAME>',0,'C713',45.276833,11.661913),(28032,5,28,'Cittadella',0,'C743',45.648826,11.783643),(28033,5,28,'Codevigo',0,'C812',45.267740,12.101997),(28034,5,28,'Conselve',0,'C964',45.231433,11.874199),(28035,5,28,'Correzzola',0,'D040',45.235230,12.066362),(28036,5,28,'Curtarolo',0,'D226',45.521321,11.831528),(28037,5,28,'Este',0,'D442',45.225492,11.660392),(28038,5,28,'Fontaniva',0,'D679',45.636524,11.754983),(28039,5,28,'<NAME>',0,'D879',45.665351,11.836003),(28040,5,28,'<NAME>',0,'D889',45.307739,11.730906),(28041,5,28,'Gazzo',0,'D956',45.281017,11.882773),(28042,5,28,'Grantorto',0,'E145',45.601432,11.728761),(28043,5,28,'Granze',0,'E146',45.156615,11.714295),(28044,5,28,'Legnaro',0,'E515',45.345650,11.963914),(28045,5,28,'Limena',0,'E592',45.478612,11.845721),(28046,5,28,'Loreggia',0,'E684',45.594503,11.944582),(28047,5,28,'<NAME>',0,'E709',45.290588,11.635292),(28048,5,28,'<NAME>',0,'F011',45.320972,11.866156),(28049,5,28,'Masi',0,'F013',45.112636,11.487614),(28050,5,28,'Massanzago',0,'F033',45.556101,12.006269),(28051,5,28,'<NAME>',0,'F091',45.218272,11.513660),(28052,5,28,'<NAME>',0,'F092',45.193476,11.524318),(28053,5,28,'Merlara',0,'F148',45.167210,11.441710),(28054,5,28,'Mestrino',0,'F161',45.443041,11.757638),(28055,5,28,'Monselice',0,'F382',45.239113,11.749736),(28056,5,28,'Montagnana',0,'F394',45.230837,11.462409),(28057,5,28,'<NAME>',0,'F529',45.337200,11.783265),(28058,5,28,'<NAME>',0,'F962',45.416024,11.954011),(28059,5,28,'<NAME>',0,'G167',45.223066,11.613226),(28060,5,28,'Padova',1,'G224',45.406435,11.876761),(28061,5,28,'Pernumia',0,'G461',45.257482,11.788093),(28062,5,28,'<NAME>',0,'G534',45.126676,11.544692),(28063,5,28,'<NAME>',0,'G587',45.543059,11.785617),(28064,5,28,'<NAME>',0,'G688',45.607513,11.997859),(28065,5,28,'<NAME>',0,'G693',45.296857,12.034979),(28066,5,28,'Polverara',0,'G802',45.310358,11.957209),(28067,5,28,'Ponso',0,'G823',45.192633,11.586462),(28068,5,28,'Pontelongo',0,'G850',45.253677,12.027831),(28069,5,28,'Ponte <NAME>',0,'G855',45.369439,11.923116),(28070,5,28,'Pozzonovo',0,'G963',45.196544,11.792562),(28071,5,28,'Rovolon',0,'H622',45.366318,11.662455),(28072,5,28,'Rubano',0,'H625',45.426742,11.785876),(28073,5,28,'Saccolongo',0,'H655',45.404049,11.745575),(28074,5,28,'Saletto',0,'H705',45.227093,11.533848),(28075,5,28,'<NAME>',0,'H893',45.541710,11.913898),(28076,5,28,'San Giorgio in Bosco',0,'H897',45.594968,11.804966),(28077,5,28,'<NAME>',0,'I008',45.647843,11.853699),(28078,5,28,'San Pietro in Gu',0,'I107',45.615511,11.669167),(28079,5,28,'San P<NAME>',0,'I120',45.246609,11.819038),(28080,5,28,'Santa Giustina in Colle',0,'I207',45.562780,11.906220),(28081,5,28,'<NAME>',0,'I226',45.214224,11.556496),(28082,5,28,'<NAME>',0,'I275',45.347876,12.002729),(28083,5,28,'Sant\'Elena',0,'I319',45.188930,11.710570),(28084,5,28,'Sant\'Urbano',0,'I375',45.127019,11.646598),(28085,5,28,'Saonara',0,'I418',45.371665,11.982208),(28086,5,28,'<NAME>',0,'I595',45.392863,11.780058),(28087,5,28,'Solesino',0,'I799',45.178352,11.736425),(28088,5,28,'Stanghella',0,'I938',45.134589,11.756883),(28089,5,28,'Teolo',0,'L100',45.348918,11.672452),(28090,5,28,'<NAME>',0,'L132',45.246485,11.901382),(28091,5,28,'Tombolo',0,'L199',45.646254,11.831305),(28092,5,28,'Torreglia',0,'L270',45.335176,11.731435),(28093,5,28,'Trebaseleghe',0,'L349',45.591806,12.050680),(28094,5,28,'Tribano',0,'L414',45.208234,11.832508),(28095,5,28,'Urbana',0,'L497',45.193972,11.445296),(28096,5,28,'Veggiano',0,'L710',45.447608,11.714302),(28097,5,28,'Vescovana',0,'L805',45.137842,11.711828),(28098,5,28,'<NAME>',0,'L878',45.176816,11.625947),(28099,5,28,'Vigodarzere',0,'L892',45.460441,11.879527),(28100,5,28,'Vigonza',0,'L900',45.443890,11.984384),(28101,5,28,'<NAME>',0,'L934',45.583441,11.858899),(28102,5,28,'<NAME>',0,'L937',45.172629,11.667547),(28103,5,28,'<NAME>',0,'L947',45.494928,11.798160),(28104,5,28,'<NAME>',0,'L979',45.489427,11.975631),(28105,5,28,'Vo\'',0,'M103',45.329111,11.639233),(28106,5,28,'<NAME>',0,'M300',45.290794,11.820668),(29001,5,29,'Adria',0,'A059',45.055549,12.056038),(29002,5,29,'<NAME>',0,'A400',44.947658,12.122102),(29003,5,29,'<NAME>',0,'A435',45.010376,11.740900),(29004,5,29,'<NAME>',0,'A539',45.093021,11.493056),(29005,5,29,'<NAME>',0,'A574',45.016166,11.501275),(29006,5,29,'Bergantino',0,'A795',45.063433,11.256454),(29007,5,29,'Bosaro',0,'B069',45.001905,11.763626),(29008,5,29,'Calto',0,'B432',44.992453,11.357789),(29009,5,29,'Canaro',0,'B578',44.932904,11.676044),(29010,5,29,'Canda',0,'B582',45.035197,11.504542),(29011,5,29,'Castelguglielmo',0,'C122',45.025386,11.538507),(29012,5,29,'Castelmassa',0,'C207',45.022199,11.311410),(29013,5,29,'<NAME>',0,'C215',45.024837,11.293756),(29014,5,29,'Ceneselli',0,'C461',45.014574,11.368721),(29015,5,29,'Ceregnano',0,'C500',45.049887,11.869691),(29017,5,29,'Corbola',0,'C987',45.009074,12.080062),(29018,5,29,'<NAME>',0,'D105',45.048563,11.694882),(29019,5,29,'Crespino',0,'D161',44.982401,11.886059),(29021,5,29,'Ficarolo',0,'D568',44.954150,11.436453),(29022,5,29,'<NAME>',0,'D577',44.961676,11.607520),(29023,5,29,'<NAME>',0,'D776',44.993313,11.698540),(29024,5,29,'<NAME>',0,'D788',45.028773,11.636095),(29025,5,29,'Gaiba',0,'D855',44.948246,11.481726),(29026,5,29,'Gavello',0,'D942',45.021656,11.914318),(29027,5,29,'<NAME>',0,'E008',45.054452,11.437812),(29028,5,29,'<NAME>',0,'E240',44.979712,11.802900),(29029,5,29,'Lendinara',0,'E522',45.083873,11.599185),(29030,5,29,'Loreo',0,'E689',45.062492,12.186414),(29031,5,29,'Lusia',0,'E761',45.100537,11.664113),(29032,5,29,'Melara',0,'F095',45.062665,11.204105),(29033,5,29,'Occhiobello',0,'F994',44.920975,11.579520),(29034,5,29,'Papozze',0,'G323',44.986933,12.031029),(29035,5,29,'<NAME>',0,'G525',45.132771,11.989617),(29036,5,29,'Pincara',0,'G673',44.998102,11.614032),(29037,5,29,'Polesella',0,'G782',44.964120,11.750203),(29038,5,29,'<NAME>',0,'G836',45.018895,11.807371),(29039,5,29,'<NAME>',0,'G923',44.950702,12.326892),(29040,5,29,'Rosolina',0,'H573',45.076111,12.242177),(29041,5,29,'Rovigo',1,'H620',45.069812,11.790216),(29042,5,29,'Salara',0,'H689',44.984977,11.426313),(29043,5,29,'<NAME>',0,'H768',45.027820,11.590030),(29044,5,29,'<NAME>',0,'H996',45.130346,11.874305),(29045,5,29,'Stienta',0,'I953',44.942636,11.542115),(29046,5,29,'<NAME>',0,'L026',45.005969,12.208092),(29047,5,29,'Trecenta',0,'L359',45.034447,11.463520),(29048,5,29,'Villadose',0,'L939',45.073513,11.890157),(29049,5,29,'Villamarzana',0,'L967',45.014421,11.693276),(29050,5,29,'<NAME>',0,'L985',45.058832,11.643857),(29051,5,29,'<NAME>',0,'L988',44.993920,11.967788),(29052,5,29,'<NAME>',0,'G926',45.040337,12.219176),(30001,6,30,'<NAME>',0,'A103',45.876064,13.348587),(30002,6,30,'Amaro',0,'A254',46.372823,13.092285),(30003,6,30,'Ampezzo',0,'A267',46.417335,12.790090),(30004,6,30,'Aquileia',0,'A346',45.768169,13.368720),(30005,6,30,'<NAME>',0,'A447',46.473250,13.025671),(30006,6,30,'Artegna',0,'A448',46.239110,13.155558),(30007,6,30,'Attimis',0,'A491',46.188266,13.305888),(30008,6,30,'<NAME>',0,'A553',45.883588,13.284748),(30009,6,30,'Basiliano',0,'A700',46.014448,13.106035),(30010,6,30,'Bertiolo',0,'A810',45.943896,13.047528),(30011,6,30,'Bicinicco',0,'A855',45.931730,13.250274),(30012,6,30,'Bordano',0,'A983',46.315386,13.104498),(30013,6,30,'Buja',0,'B259',46.215271,13.111245),(30014,6,30,'Buttrio',0,'B309',46.019099,13.339836),(30015,6,30,'<NAME>',0,'B483',45.929489,12.944641),(30016,6,30,'Campoformido',0,'B536',46.020164,13.162698),(30018,6,30,'Carlino',0,'B788',45.802217,13.188164),(30019,6,30,'Cassacco',0,'B994',46.174468,13.184169),(30020,6,30,'<NAME>',0,'C327',45.908085,13.183380),(30021,6,30,'<NAME>',0,'C389',46.368282,13.039081),(30022,6,30,'Cercivento',0,'C494',46.528011,12.987168),(30023,6,30,'<NAME>',0,'C556',45.821617,13.333381),(30024,6,30,'Chiopris-Viscone',0,'C641',45.925184,13.391273),(30025,6,30,'Chiusaforte',0,'C656',46.408839,13.311317),(30026,6,30,'<NAME>',0,'C758',46.096171,13.429201),(30027,6,30,'Codroipo',0,'C817',45.961394,12.976781),(30028,6,30,'<NAME>',0,'C885',46.163967,13.136427),(30029,6,30,'Comeglians',0,'C918',46.516445,12.866624),(30030,6,30,'<NAME>',0,'D027',45.991558,13.441593),(30031,6,30,'Coseano',0,'D085',46.096257,13.015830),(30032,6,30,'Dignano',0,'D300',46.085532,12.937452),(30033,6,30,'Dogna',0,'D316',46.446746,13.314638),(30034,6,30,'Drenchia',0,'D366',46.183573,13.635816),(30035,6,30,'Enemonzo',0,'D408',46.409575,12.878567),(30036,6,30,'Faedis',0,'D455',46.151083,13.348346),(30037,6,30,'Fagagna',0,'D461',46.117736,13.081850),(30038,6,30,'Fiumicello',0,'D627',45.777945,13.410550),(30039,6,30,'Flaibano',0,'D630',46.057844,12.983633),(30040,6,30,'<NAME>',0,'D718',46.584885,12.778166),(30041,6,30,'Forni di Sopra',0,'D719',46.421734,12.582437),(30042,6,30,'Forni di Sotto',0,'D720',46.392673,12.669694),(30043,6,30,'<NAME>',0,'D962',46.275267,13.142677),(30044,6,30,'Gonars',0,'E083',45.896546,13.237514),(30045,6,30,'Grimacco',0,'E179',46.157062,13.586763),(30046,6,30,'Latisana',0,'E473',45.782291,12.994342),(30047,6,30,'Lauco',0,'E476',46.423395,12.932963),(30048,6,30,'Lestizza',0,'E553',45.955222,13.141879),(30049,6,30,'<NAME>',0,'E584',45.668555,13.104086),(30050,6,30,'Ligosullo',0,'E586',46.539706,13.076066),(30051,6,30,'Lusevera',0,'E760',46.274734,13.269733),(30052,6,30,'<NAME>',0,'E820',46.231127,13.176872),(30053,6,30,'Majano',0,'E833',46.184726,13.068500),(30054,6,30,'<NAME>',0,'E847',46.507204,13.434814),(30055,6,30,'Manzano',0,'E899',45.988842,13.376344),(30056,6,30,'<NAME>',0,'E910',45.764147,13.166880),(30057,6,30,'Martignacco',0,'E982',46.096781,13.134248),(30058,6,30,'<NAME>',0,'F144',46.049759,13.041048),(30059,6,30,'<NAME>',0,'F266',46.409984,13.197011),(30060,6,30,'Moimacco',0,'F275',46.091326,13.381830),(30061,6,30,'Montenars',0,'F574',46.253523,13.166354),(30062,6,30,'Mortegliano',0,'F756',45.944829,13.172422),(30063,6,30,'Moruzzo',0,'F760',46.119754,13.123248),(30064,6,30,'<NAME>',0,'F832',45.818660,13.125983),(30065,6,30,'Nimis',0,'F898',46.197184,13.262912),(30066,6,30,'Osoppo',0,'G163',46.258220,13.078799),(30067,6,30,'Ovaro',0,'G198',46.480746,12.866844),(30068,6,30,'Pagnacco',0,'G238',46.124403,13.186538),(30069,6,30,'Palazzolo dello Stella',0,'G268',45.803508,13.080766),(30070,6,30,'Palmanova',0,'G284',45.909424,13.305729),(30071,6,30,'Paluzza',0,'G300',46.529479,13.019768),(30072,6,30,'<NAME>',0,'G352',46.050127,13.187472),(30073,6,30,'Paularo',0,'G381',46.531054,13.115538),(30074,6,30,'<NAME>',0,'G389',45.996285,13.302528),(30075,6,30,'Pocenia',0,'G743',45.836312,13.099256),(30076,6,30,'Pontebba',0,'G831',46.506451,13.306246),(30077,6,30,'Porpetto',0,'G891',45.862069,13.223621),(30078,6,30,'Povoletto',0,'G949',46.118187,13.298147),(30079,6,30,'<NAME>',0,'G966',45.986291,13.195687),(30080,6,30,'Pradamano',0,'G969',46.032482,13.302946),(30081,6,30,'<NAME>',0,'H002',46.520063,12.750110),(30082,6,30,'Precenicco',0,'H014',45.787604,13.077459),(30083,6,30,'Premariacco',0,'H029',46.057393,13.394197),(30084,6,30,'Preone',0,'H038',46.394257,12.865679),(30085,6,30,'Prepotto',0,'H040',46.046026,13.480235),(30086,6,30,'Pulfero',0,'H089',46.174177,13.481946),(30087,6,30,'Ragogna',0,'H161',46.179153,12.977905),(30088,6,30,'Ravascletto',0,'H196',46.525090,12.924046),(30089,6,30,'Raveo',0,'H200',46.434332,12.871168),(30090,6,30,'<NAME>',0,'H206',46.141874,13.237619),(30091,6,30,'Remanzacco',0,'H229',46.085167,13.321004),(30092,6,30,'Resia',0,'H242',46.355998,13.294490),(30093,6,30,'Resiutta',0,'H244',46.393133,13.218164),(30094,6,30,'Rigolato',0,'H289',46.552131,12.851897),(30095,6,30,'<NAME>',0,'H347',46.125476,13.024610),(30097,6,30,'Ronchis',0,'H533',45.807970,12.995937),(30098,6,30,'Ruda',0,'H629',45.838300,13.401582),(30099,6,30,'<NAME>',0,'H816',46.157858,13.010011),(30100,6,30,'<NAME>',0,'H895',45.832602,13.207705),(30101,6,30,'<NAME>',0,'H906',45.979008,13.396816),(30102,6,30,'<NAME>',0,'H951',46.098008,12.682433),(30103,6,30,'<NAME>',0,'I092',46.125529,13.483926),(30104,6,30,'<NAME>',0,'I248',45.933186,13.291548),(30105,6,30,'<NAME>',0,'I404',45.895321,13.371934),(30106,6,30,'<NAME>',0,'I405',46.091042,13.067278),(30107,6,30,'Sauris',0,'I464',46.466675,12.697044),(30108,6,30,'Savogna',0,'I478',46.160432,13.533196),(30109,6,30,'Sedegliano',0,'I562',46.013716,12.975976),(30110,6,30,'Socchieve',0,'I777',46.396722,12.848256),(30111,6,30,'Stregna',0,'I974',46.127006,13.577371),(30112,6,30,'Sutrio',0,'L018',46.511772,12.989810),(30113,6,30,'Taipana',0,'G736',46.249628,13.341608),(30114,6,30,'Talmassons',0,'L039',45.930543,13.119952),(30116,6,30,'Tarcento',0,'L050',46.215048,13.212941),(30117,6,30,'Tarvisio',0,'L057',46.504434,13.579959),(30118,6,30,'Tavagnacco',0,'L065',46.127465,13.210952),(30120,6,30,'<NAME>',0,'L144',45.798952,13.351341),(30121,6,30,'Tolmezzo',0,'L195',46.403496,13.018212),(30122,6,30,'Torreano',0,'L246',46.123100,13.423832),(30123,6,30,'Torviscosa',0,'L309',45.821814,13.274633),(30124,6,30,'Trasaghis',0,'L335',46.282599,13.074516),(30125,6,30,'<NAME>',0,'L381',46.534286,13.044590),(30126,6,30,'<NAME>',0,'L382',46.190425,13.157504),(30127,6,30,'Tricesimo',0,'L421',46.161920,13.210492),(30128,6,30,'<NAME>',0,'L438',45.943274,13.337552),(30129,6,30,'Udine',1,'L483',46.071067,13.234579),(30130,6,30,'Varmo',0,'L686',45.887290,12.989709),(30131,6,30,'Venzone',0,'L743',46.333802,13.139280),(30132,6,30,'Verzegnis',0,'L801',46.389562,12.993483),(30133,6,30,'<NAME>',0,'L909',46.416869,12.920924),(30134,6,30,'<NAME>',0,'M034',45.813704,13.395283),(30135,6,30,'Visco',0,'M073',45.892315,13.346233),(30136,6,30,'Zuglio',0,'M200',46.459431,13.026531),(30137,6,30,'<NAME>',0,'D700',46.224893,12.965180),(30138,6,30,'<NAME>',0,'M311',45.865945,13.401429),(30188,6,30,'<NAME>',0,'M317',45.877927,13.040156),(31001,6,31,'<NAME>',0,'B712',45.942132,13.514390),(31002,6,31,'Cormons',0,'D014',45.960315,13.469472),(31003,6,31,'<NAME>',0,'D312',45.843387,13.539406),(31004,6,31,'<NAME>',0,'D321',46.031495,13.479288),(31005,6,31,'<NAME>',0,'D504',45.911833,13.518134),(31006,6,31,'<NAME>',0,'D645',45.867377,13.480490),(31007,6,31,'Gorizia',1,'E098',45.940181,13.620175),(31008,6,31,'<NAME>',0,'E124',45.892425,13.500194),(31009,6,31,'Grado',0,'E125',45.681774,13.386399),(31010,6,31,'<NAME>',0,'E952',45.917791,13.457899),(31011,6,31,'Medea',0,'F081',45.918330,13.416614),(31012,6,31,'Monfalcone',0,'F356',45.805047,13.533173),(31013,6,31,'Moraro',0,'F710',45.931410,13.496864),(31014,6,31,'Mossa',0,'F767',45.938831,13.549770),(31015,6,31,'<NAME>',0,'H514',45.887515,13.440354),(31016,6,31,'<NAME>',0,'H531',45.827623,13.499401),(31017,6,31,'Sagrado',0,'H665',45.877736,13.485525),(31018,6,31,'<NAME>',0,'H787',45.798881,13.463928),(31019,6,31,'<NAME>',0,'H845',45.982262,13.587648),(31020,6,31,'<NAME>',0,'H964',45.929132,13.522724),(31021,6,31,'<NAME>',0,'I082',45.847553,13.456402),(31022,6,31,'<NAME>',0,'I479',45.902704,13.572046),(31023,6,31,'Staranzano',0,'I939',45.806434,13.502128),(31024,6,31,'Turriaco',0,'L474',45.821170,13.444758),(31025,6,31,'Villesse',0,'M043',45.856601,13.443561),(32001,6,32,'Duino-Aurisina',0,'D383',45.773446,13.642582),(32002,6,32,'Monrupino',0,'F378',45.722441,13.791760),(32003,6,32,'Muggia',0,'F795',45.603154,13.766797),(32004,6,32,'<NAME>-Dolina',0,'D324',45.602723,13.854955),(32005,6,32,'Sgonico',0,'I715',45.736734,13.749002),(32006,6,32,'Trieste',1,'L424',45.649526,13.776818),(33001,8,33,'Agazzano',0,'A067',44.947623,9.521966),(33002,8,33,'Alseno',0,'A223',44.896564,9.967159),(33003,8,33,'Besenzone',0,'A823',44.986566,9.952704),(33004,8,33,'Bettola',0,'A831',44.776523,9.605883),(33005,8,33,'Bobbio',0,'A909',44.770088,9.385950),(33006,8,33,'<NAME>',0,'B025',45.015843,9.444670),(33007,8,33,'Cadeo',0,'B332',44.974378,9.831081),(33008,8,33,'Calendasco',0,'B405',45.087901,9.593600),(33009,8,33,'Caminata',0,'B479',44.909245,9.308411),(33010,8,33,'Caorso',0,'B643',45.047979,9.874764),(33011,8,33,'<NAME>',0,'B812',44.913721,9.788066),(33012,8,33,'Castell\'Arquato',0,'C145',44.853425,9.870468),(33013,8,33,'<NAME>',0,'C261',45.057109,9.437144),(33014,8,33,'<NAME>',0,'C288',45.094529,9.990912),(33015,8,33,'Cerignale',0,'C513',44.677224,9.350947),(33016,8,33,'Coli',0,'C838',44.744857,9.414617),(33017,8,33,'<NAME>',0,'D054',44.722974,9.352608),(33018,8,33,'Cortemaggiore',0,'D061',44.993714,9.930247),(33019,8,33,'Farini',0,'D502',44.713212,9.568822),(33020,8,33,'Ferriere',0,'D555',44.643927,9.497959),(33021,8,33,'<NAME>',0,'D611',44.927850,9.913146),(33022,8,33,'Gazzola',0,'D958',44.958817,9.547821),(33023,8,33,'Gossolengo',0,'E114',45.003847,9.615586),(33024,8,33,'<NAME>',0,'E132',45.016251,9.567808),(33025,8,33,'Gropparello',0,'E196',44.831708,9.729637),(33026,8,33,'<NAME>',0,'E726',44.823488,9.828076),(33027,8,33,'<NAME>',0,'F671',45.091461,9.929659),(33028,8,33,'Morfasso',0,'F724',44.722813,9.702441),(33029,8,33,'Nibbiano',0,'F885',44.905725,9.331091),(33030,8,33,'Ottone',0,'G195',44.624087,9.331504),(33031,8,33,'Pecorara',0,'G399',44.874730,9.384442),(33032,8,33,'Piacenza',1,'G535',45.052621,9.692985),(33033,8,33,'<NAME>',0,'G557',44.945813,9.406974),(33034,8,33,'Piozzano',0,'G696',44.925469,9.495757),(33035,8,33,'Podenzano',0,'G747',44.956771,9.681257),(33036,8,33,'<NAME>\'Olio',0,'G842',44.870790,9.641330),(33037,8,33,'Pontenure',0,'G852',44.997496,9.792303),(33038,8,33,'Rivergaro',0,'H350',44.911446,9.597796),(33039,8,33,'Rottofreno',0,'H593',45.057944,9.550118),(33040,8,33,'<NAME>',0,'H887',44.956667,9.738655),(33041,8,33,'<NAME>',0,'G788',45.021426,9.948410),(33042,8,33,'Sarmato',0,'I434',45.059661,9.491441),(33043,8,33,'Travo',0,'L348',44.861443,9.543840),(33044,8,33,'Vernasca',0,'L772',44.799744,9.831323),(33045,8,33,'Vigolzone',0,'L897',44.918476,9.669927),(33046,8,33,'<NAME>',0,'L980',45.038785,10.008346),(33047,8,33,'Zerba',0,'M165',44.664955,9.289324),(33048,8,33,'<NAME>',0,'L848',45.002053,9.401941),(34001,8,34,'Albareto',0,'A138',44.445527,9.699566),(34002,8,34,'Bardi',0,'A646',44.633691,9.731369),(34003,8,34,'Bedonia',0,'A731',44.509301,9.632699),(34004,8,34,'Berceto',0,'A788',44.514311,9.990054),(34005,8,34,'Bore',0,'A987',44.717847,9.791866),(34006,8,34,'<NAME>',0,'B042',44.489974,9.768240),(34007,8,34,'Busseto',0,'B293',44.978989,10.039052),(34008,8,34,'Calestano',0,'B408',44.597770,10.121954),(34009,8,34,'Collecchio',0,'C852',44.752004,10.216450),(34010,8,34,'Colorno',0,'C904',44.931881,10.377692),(34011,8,34,'Compiano',0,'C934',44.496454,9.661437),(34012,8,34,'Corniglio',0,'D026',44.477145,10.085520),(34013,8,34,'Felino',0,'D526',44.693583,10.241981),(34014,8,34,'Fidenza',0,'B034',44.866279,10.061595),(34015,8,34,'Fontanellato',0,'D673',44.880913,10.171959),(34016,8,34,'Fontevivo',0,'D685',44.855385,10.176162),(34017,8,34,'<NAME>',0,'D728',44.695968,10.105875),(34018,8,34,'Langhirano',0,'E438',44.614550,10.268695),(34019,8,34,'<NAME>',0,'E547',44.642976,10.299399),(34020,8,34,'Medesano',0,'F082',44.756265,10.140725),(34021,8,34,'Mezzani',0,'F174',44.921852,10.441904),(34022,8,34,'<NAME>',0,'F340',44.414476,10.122402),(34023,8,34,'Montechiarugolo',0,'F473',44.693291,10.420673),(34024,8,34,'<NAME>',0,'F882',44.583378,10.316495),(34025,8,34,'Noceto',0,'F914',44.809222,10.179127),(34026,8,34,'Palanzano',0,'G255',44.436788,10.198312),(34027,8,34,'Parma',1,'G337',44.801485,10.327904),(34028,8,34,'<NAME>',0,'G424',44.734440,9.925690),(34030,8,34,'Roccabianca',0,'H384',45.006726,10.216608),(34031,8,34,'<NAME>',0,'H682',44.714291,10.225103),(34032,8,34,'<NAME>',0,'H720',44.818312,9.982512),(34033,8,34,'<NAME>',0,'I153',44.922757,10.228657),(34035,8,34,'Solignano',0,'I803',44.615392,9.979096),(34036,8,34,'Soragna',0,'I840',44.927302,10.126673),(34037,8,34,'Sorbolo',0,'I845',44.849318,10.449758),(34038,8,34,'Terenzo',0,'E548',44.610308,10.090104),(34039,8,34,'<NAME>',0,'L183',44.523853,10.200901),(34040,8,34,'Tornolo',0,'L229',44.485379,9.629041),(34041,8,34,'Torrile',0,'L299',44.921959,10.326934),(34042,8,34,'Traversetolo',0,'L346',44.639223,10.381755),(34044,8,34,'Valmozzola',0,'L641',44.568864,9.882883),(34045,8,34,'<NAME>',0,'L672',44.686002,10.016304),(34046,8,34,'Varsi',0,'L689',44.661308,9.848843),(34049,8,34,'<NAME>',0,'M325',44.962074,10.265706),(34050,8,34,'<NAME>',0,'M367',44.993984,10.121285),(35001,8,35,'Albinea',0,'A162',44.619854,10.602593),(35002,8,35,'<NAME>',0,'A573',44.763813,10.673365),(35003,8,35,'Baiso',0,'A586',44.495737,10.599595),(35004,8,35,'Bibbiano',0,'A850',44.664164,10.473589),(35005,8,35,'Boretto',0,'A988',44.900947,10.557896),(35006,8,35,'Brescello',0,'B156',44.898769,10.518078),(35008,8,35,'<NAME>',0,'B328',44.762406,10.600387),(35009,8,35,'<NAME>',0,'B499',44.841100,10.759347),(35010,8,35,'Campegine',0,'B502',44.784029,10.537148),(35011,8,35,'Carpineti',0,'B825',44.454716,10.519166),(35012,8,35,'Casalgrande',0,'B893',44.588001,10.737545),(35013,8,35,'Casina',0,'B967',44.512880,10.502384),(35014,8,35,'Castellarano',0,'C141',44.513251,10.733162),(35015,8,35,'<NAME>',0,'C218',44.813076,10.562265),(35016,8,35,'<NAME>\' Monti',0,'C219',44.433842,10.400609),(35017,8,35,'Cavriago',0,'C405',44.692348,10.523885),(35018,8,35,'Canossa',0,'C669',44.575938,10.455570),(35020,8,35,'Correggio',0,'D037',44.770857,10.781908),(35021,8,35,'Fabbrico',0,'D450',44.870434,10.809467),(35022,8,35,'Gattatico',0,'D934',44.794098,10.445497),(35023,8,35,'Gualtieri',0,'E232',44.900488,10.631376),(35024,8,35,'Guastalla',0,'E253',44.921235,10.654396),(35026,8,35,'Luzzara',0,'E772',44.960858,10.688769),(35027,8,35,'<NAME>',0,'F463',44.698402,10.448505),(35028,8,35,'Novellara',0,'F960',44.849296,10.731754),(35029,8,35,'Poviglio',0,'G947',44.842752,10.541068),(35030,8,35,'<NAME>',0,'H122',44.636398,10.472768),(35032,8,35,'Reggiolo',0,'H225',44.917759,10.802527),(35033,8,35,'<NAME>',1,'H223',44.698993,10.629686),(35034,8,35,'<NAME>',0,'H298',44.810600,10.804409),(35035,8,35,'Rolo',0,'H500',44.886896,10.856463),(35036,8,35,'Rubiera',0,'H628',44.652983,10.780638),(35037,8,35,'<NAME>',0,'I011',44.732602,10.787673),(35038,8,35,'<NAME>',0,'I123',44.625863,10.422137),(35039,8,35,'<NAME>',0,'I342',44.760691,10.451200),(35040,8,35,'Scandiano',0,'I496',44.598234,10.690927),(35041,8,35,'Toano',0,'L184',44.376222,10.562485),(35042,8,35,'Vetto',0,'L815',44.483838,10.338340),(35043,8,35,'<NAME>',0,'L820',44.601992,10.546817),(35044,8,35,'Viano',0,'L831',44.543414,10.620756),(35045,8,35,'<NAME>',0,'L969',44.364870,10.466681),(35046,8,35,'Ventasso',0,'M364',44.386884,10.274735),(36001,8,36,'Bastiglia',0,'A713',44.725429,11.002363),(36002,8,36,'Bomporto',0,'A959',44.728428,11.041672),(36003,8,36,'Campogalliano',0,'B539',44.691763,10.844855),(36004,8,36,'Camposanto',0,'B566',44.790310,11.136823),(36005,8,36,'Carpi',0,'B819',44.783878,10.879663),(36006,8,36,'<NAME>',0,'C107',44.595111,11.052239),(36007,8,36,'<NAME>',0,'C242',44.549028,10.939022),(36008,8,36,'<NAME>',0,'C287',44.504150,10.945781),(36009,8,36,'Cavezzo',0,'C398',44.840881,11.024405),(36010,8,36,'<NAME>',0,'C951',44.913866,10.985886),(36011,8,36,'Fanano',0,'D486',44.207978,10.796983),(36012,8,36,'<NAME>',0,'D599',44.832458,11.291160),(36013,8,36,'<NAME>',0,'D607',44.539145,10.809882),(36014,8,36,'Fiumalbo',0,'D617',44.177895,10.649536),(36015,8,36,'Formigine',0,'D711',44.572779,10.847840),(36016,8,36,'Frassinoro',0,'D783',44.296834,10.572998),(36017,8,36,'Guiglia',0,'E264',44.426532,10.957949),(36018,8,36,'<NAME>',0,'E426',44.304787,10.725287),(36019,8,36,'Maranello',0,'E904',44.526302,10.866683),(36020,8,36,'<NAME>',0,'E905',44.456151,10.964492),(36021,8,36,'Medolla',0,'F087',44.849046,11.073776),(36022,8,36,'Mirandola',0,'F240',44.886361,11.063297),(36023,8,36,'Modena',1,'F257',44.647128,10.925227),(36024,8,36,'Montecreto',0,'F484',44.248939,10.719094),(36025,8,36,'Montefiorino',0,'F503',44.357019,10.621852),(36026,8,36,'Montese',0,'F642',44.269293,10.939240),(36027,8,36,'Nonantola',0,'F930',44.678875,11.041160),(36028,8,36,'<NAME>',0,'F966',44.892153,10.898035),(36029,8,36,'Palagano',0,'G250',44.322558,10.648161),(36030,8,36,'<NAME>',0,'G393',44.336594,10.833563),(36031,8,36,'Pievepelago',0,'G649',44.206055,10.616916),(36032,8,36,'Polinago',0,'G789',44.345341,10.723993),(36033,8,36,'<NAME>',0,'H061',44.442764,10.687246),(36034,8,36,'Ravarino',0,'H195',44.723219,11.101760),(36035,8,36,'Riolunato',0,'H303',44.230953,10.653117),(36036,8,36,'<NAME>',0,'H794',44.562105,11.034807),(36037,8,36,'<NAME>',0,'H835',44.845936,11.140309),(36038,8,36,'<NAME>',0,'I128',44.891780,10.994898),(36039,8,36,'<NAME>',0,'I133',44.788301,11.018706),(36040,8,36,'Sassuolo',0,'I462',44.544330,10.784774),(36041,8,36,'<NAME>',0,'I473',44.479598,11.037509),(36042,8,36,'Serramazzoni',0,'F357',44.422704,10.789671),(36043,8,36,'Sestola',0,'I689',44.230085,10.770168),(36044,8,36,'Soliera',0,'I802',44.739641,10.923146),(36045,8,36,'Spilamberto',0,'I903',44.531819,11.020449),(36046,8,36,'Vignola',0,'L885',44.483586,11.013122),(36047,8,36,'Zocca',0,'M183',44.344871,10.995224),(37001,8,37,'<NAME>',0,'A324',44.546190,11.192749),(37002,8,37,'Argelato',0,'A392',44.644762,11.344743),(37003,8,37,'Baricella',0,'A665',44.645236,11.531191),(37005,8,37,'Bentivoglio',0,'A785',44.635923,11.416759),(37006,8,37,'Bologna',1,'A944',44.494887,11.342616),(37007,8,37,'<NAME>',0,'B044',44.280108,11.588195),(37008,8,37,'Budrio',0,'B249',44.538854,11.536048),(37009,8,37,'<NAME>',0,'B399',44.567481,11.272618),(37010,8,37,'Camugnano',0,'B572',44.169200,11.089188),(37011,8,37,'<NAME>',0,'B880',44.478247,11.277380),(37012,8,37,'Casalfiumanese',0,'B892',44.300470,11.614773),(37013,8,37,'<NAME>',0,'C075',44.280492,11.004690),(37014,8,37,'<NAME>',0,'C086',44.213201,11.503518),(37015,8,37,'<NAME>',0,'B969',44.164115,11.038001),(37016,8,37,'<NAME>',0,'C121',44.432853,11.675086),(37017,8,37,'<NAME>',0,'C185',44.680003,11.295266),(37019,8,37,'<NAME>',0,'C204',44.575165,11.363731),(37020,8,37,'<NAME>',0,'C265',44.399693,11.589128),(37021,8,37,'Castenaso',0,'C292',44.509969,11.465386),(37022,8,37,'<NAME>',0,'C296',44.144515,11.167101),(37024,8,37,'Crevalcore',0,'D166',44.720029,11.148594),(37025,8,37,'Dozza',0,'D360',44.358768,11.625741),(37026,8,37,'Fontanelice',0,'D668',44.258051,11.557857),(37027,8,37,'<NAME>',0,'D847',44.197314,10.936892),(37028,8,37,'Galliera',0,'D878',44.748258,11.394115),(37030,8,37,'<NAME>\'Emilia',0,'E136',44.552917,11.444934),(37031,8,37,'<NAME>',0,'E187',44.257629,11.152564),(37032,8,37,'Imola',0,'E289',44.360000,11.712429),(37033,8,37,'<NAME> Belvedere',0,'A771',44.164569,10.890991),(37034,8,37,'Loiano',0,'E655',44.271933,11.317553),(37035,8,37,'Malalbergo',0,'E844',44.717908,11.529721),(37036,8,37,'Marzabotto',0,'B689',44.342263,11.205288),(37037,8,37,'Medicina',0,'F083',44.477495,11.635789),(37038,8,37,'Minerbio',0,'F219',44.626831,11.492105),(37039,8,37,'Molinella',0,'F288',44.622690,11.669638),(37040,8,37,'Monghidoro',0,'F363',44.219723,11.313209),(37041,8,37,'Monterenzio',0,'F597',44.328056,11.405058),(37042,8,37,'<NAME>',0,'F627',44.438676,11.134104),(37044,8,37,'Monzuno',0,'F706',44.278539,11.270582),(37045,8,37,'Mordano',0,'F718',44.395115,11.810103),(37046,8,37,'<NAME>\'Emilia',0,'G205',44.448215,11.467291),(37047,8,37,'Pianoro',0,'G570',44.391043,11.341226),(37048,8,37,'<NAME>',0,'G643',44.714926,11.304061),(37050,8,37,'<NAME>',0,'H678',44.619156,11.257817),(37051,8,37,'<NAME>',0,'G566',44.213997,11.236408),(37052,8,37,'<NAME>',0,'H896',44.646387,11.376528),(37053,8,37,'<NAME>',0,'G467',44.640543,11.189305),(37054,8,37,'<NAME>',0,'H945',44.472920,11.402955),(37055,8,37,'San Pietro in Casale',0,'I110',44.700568,11.404001),(37056,8,37,'<NAME>',0,'I191',44.664776,11.134232),(37057,8,37,'<NAME>',0,'G972',44.398765,11.248204),(37059,8,37,'Vergato',0,'L762',44.283303,11.111007),(37060,8,37,'<NAME>',0,'M185',44.493368,11.211634),(37061,8,37,'Valsamoggia',0,'M320',44.504314,11.079950),(37062,8,37,'<NAME>',0,'M369',44.155343,10.976185),(38001,8,38,'Argenta',0,'A393',44.617142,11.836908),(38002,8,38,'Berra',0,'A806',44.980024,11.979232),(38003,8,38,'Bondeno',0,'A965',44.886223,11.423004),(38004,8,38,'Cento',0,'C469',44.731532,11.290816),(38005,8,38,'Codigoro',0,'C814',44.829955,12.107007),(38006,8,38,'Comacchio',0,'C912',44.694005,12.179353),(38007,8,38,'Copparo',0,'C980',44.893327,11.830689),(38008,8,38,'Ferrara',1,'D548',44.838124,11.619787),(38009,8,38,'Formignana',0,'D713',44.841200,11.862821),(38010,8,38,'<NAME>',0,'E320',44.885980,11.977181),(38011,8,38,'Lagosanto',0,'E410',44.765525,12.141111),(38012,8,38,'<NAME>',0,'F016',44.794177,11.797329),(38014,8,38,'Mesola',0,'F156',44.921919,12.229752),(38016,8,38,'Mirabello',0,'F235',44.829835,11.466461),(38017,8,38,'Ostellato',0,'G184',44.745207,11.941850),(38018,8,38,'<NAME>',0,'G768',44.762820,11.481542),(38019,8,38,'Portomaggiore',0,'G916',44.697612,11.805685),(38020,8,38,'Ro',0,'H360',44.944900,11.760455),(38021,8,38,'Sant\'Agostino',0,'I209',44.793697,11.381872),(38022,8,38,'<NAME>',0,'L868',44.839716,11.499706),(38023,8,38,'Voghiera',0,'M110',44.757606,11.750093),(38024,8,38,'Tresigallo',0,'L390',44.817671,11.897120),(38025,8,38,'Goro',0,'E107',44.853338,12.297067),(38027,8,38,'Fiscaglia',0,'M323',44.797977,11.971074),(39001,8,39,'Alfonsine',0,'A191',44.505904,12.043067),(39002,8,39,'Bagnacavallo',0,'A547',44.419736,11.976675),(39003,8,39,'<NAME>',0,'A551',44.389511,11.824849),(39004,8,39,'Brisighella',0,'B188',44.221807,11.769046),(39005,8,39,'<NAME>',0,'B982',44.223761,11.623818),(39006,8,39,'<NAME>',0,'C065',44.321262,11.795426),(39007,8,39,'Cervia',0,'C553',44.263549,12.347682),(39008,8,39,'Conselice',0,'C963',44.515101,11.828529),(39009,8,39,'Cotignola',0,'D121',44.383530,11.943418),(39010,8,39,'Faenza',0,'D458',44.289853,11.877409),(39011,8,39,'Fusignano',0,'D829',44.466930,11.963957),(39012,8,39,'Lugo',0,'E730',44.421831,11.911684),(39013,8,39,'<NAME>',0,'F029',44.447914,11.822924),(39014,8,39,'Ravenna',1,'H199',44.418360,12.203529),(39015,8,39,'<NAME>',0,'H302',44.276383,11.730690),(39016,8,39,'Russi',0,'H642',44.373004,12.031541),(39017,8,39,'<NAME>',0,'I196',44.439424,11.863414),(39018,8,39,'Solarolo',0,'I787',44.360370,11.843491),(40001,8,40,'<NAME>',0,'A565',43.839106,11.965612),(40003,8,40,'Bertinoro',0,'A809',44.149228,12.135150),(40004,8,40,'Borghi',0,'B001',44.031578,12.355368),(40005,8,40,'<NAME>',0,'C339',44.176595,11.946219),(40007,8,40,'Cesena',0,'C573',44.139644,12.246429),(40008,8,40,'Cesenatico',0,'C574',44.200847,12.405202),(40009,8,40,'<NAME>',0,'C777',44.006589,11.942056),(40011,8,40,'Dovadola',0,'D357',44.123454,11.884489),(40012,8,40,'Forlì',1,'D704',44.222740,12.040731),(40013,8,40,'Forlimpopoli',0,'D705',44.187910,12.128529),(40014,8,40,'Galeata',0,'D867',43.996352,11.910119),(40015,8,40,'Gambettola',0,'D899',44.116989,12.342916),(40016,8,40,'Gatteo',0,'D935',44.109817,12.385842),(40018,8,40,'Longiano',0,'E675',44.075108,12.327975),(40019,8,40,'Meldola',0,'F097',44.127033,12.060778),(40020,8,40,'<NAME>',0,'F139',43.959797,12.196651),(40022,8,40,'Modigliana',0,'F259',44.157998,11.790883),(40028,8,40,'Montiano',0,'F668',44.082637,12.304799),(40031,8,40,'<NAME> <NAME>',0,'G904',43.994064,11.718217),(40032,8,40,'Predappio',0,'H017',44.106734,11.981599),(40033,8,40,'Premilcuore',0,'H034',43.975854,11.777011),(40036,8,40,'<NAME>',0,'H437',44.061587,11.841893),(40037,8,40,'Roncofreddo',0,'H542',44.042310,12.318472),(40041,8,40,'<NAME>',0,'I027',44.106758,12.414345),(40043,8,40,'Santa Sofia',0,'I310',43.947303,11.908539),(40044,8,40,'Sarsina',0,'I444',43.919703,12.144909),(40045,8,40,'<NAME>',0,'I472',44.093683,12.400739),(40046,8,40,'<NAME>',0,'I779',44.003303,12.298279),(40049,8,40,'Tredozio',0,'L361',44.086123,11.748412),(40050,8,40,'Verghereto',0,'L764',43.793334,12.004003),(41001,11,41,'Acqualagna',0,'A035',43.619495,12.673332),(41002,11,41,'Apecchio',0,'A327',43.559025,12.420129),(41003,11,41,'Auditore',0,'A493',43.822016,12.571755),(41004,11,41,'Barchi',0,'A639',43.671097,12.930900),(41005,11,41,'<NAME>\'Isauro',0,'A740',43.719433,12.372162),(41006,11,41,'<NAME>',0,'B026',43.658096,12.293412),(41007,11,41,'Cagli',0,'B352',43.544053,12.649725),(41008,11,41,'Cantiano',0,'B636',43.476423,12.629302),(41009,11,41,'Carpegna',0,'B816',43.783177,12.339935),(41010,11,41,'Cartoceto',0,'B846',43.764599,12.883255),(41013,11,41,'Fano',0,'D488',43.839816,13.019420),(41014,11,41,'Fermignano',0,'D541',43.675039,12.648388),(41015,11,41,'Fossombrone',0,'D749',43.688659,12.803319),(41016,11,41,'<NAME>',0,'D791',43.632758,12.901110),(41017,11,41,'Frontino',0,'D807',43.764059,12.375436),(41018,11,41,'Frontone',0,'D808',43.513975,12.737875),(41019,11,41,'<NAME>',0,'D836',43.966752,12.756528),(41020,11,41,'Gradara',0,'E122',43.939581,12.771033),(41021,11,41,'<NAME>',0,'E351',43.735642,12.781335),(41022,11,41,'Lunano',0,'E743',43.729846,12.441788),(41023,11,41,'<NAME>',0,'E785',43.803213,12.440741),(41025,11,41,'<NAME>uro',0,'F135',43.645898,12.335230),(41026,11,41,'<NAME>',0,'F136',43.869594,12.489189),(41027,11,41,'Mombaroccio',0,'F310',43.795796,12.853991),(41028,11,41,'Mondavio',0,'F347',43.676086,12.970142),(41029,11,41,'Mondolfo',0,'F348',43.753573,13.095758),(41030,11,41,'<NAME>',0,'F450',43.811437,12.631983),(41031,11,41,'<NAME>',0,'F467',43.842443,12.412158),(41032,11,41,'Monteciccardo',0,'F474',43.819272,12.808795),(41033,11,41,'Montecopiolo',0,'F478',43.842204,12.348145),(41034,11,41,'Montefelcino',0,'F497',43.738243,12.834809),(41035,11,41,'<NAME>',0,'F524',0.000000,0.000000),(41036,11,41,'Montelabbate',0,'F533',43.849745,12.789121),(41037,11,41,'<NAME>',0,'F555',43.736741,12.947376),(41038,11,41,'<NAME>',0,'F589',43.692236,13.042872),(41040,11,41,'<NAME>',0,'G089',43.686632,12.962775),(41041,11,41,'Peglio',0,'G416',43.695846,12.494090),(41043,11,41,'Pergola',0,'G453',43.563013,12.836208),(41044,11,41,'Pesaro',1,'G479',43.912476,12.915549),(41045,11,41,'Petriano',0,'G514',43.779295,12.732474),(41046,11,41,'Piagge',0,'G537',43.734619,12.969477),(41047,11,41,'Piandimeleto',0,'G551',43.726087,12.412865),(41048,11,41,'Pietrarubbia',0,'G627',43.803314,12.384218),(41049,11,41,'Piobbico',0,'G682',43.588971,12.510586),(41050,11,41,'Saltara',0,'H721',43.753018,12.896288),(41051,11,41,'<NAME>',0,'H809',43.762908,13.068976),(41052,11,41,'<NAME>',0,'H886',43.717368,12.979091),(41054,11,41,'<NAME>',0,'H958',43.601396,12.944838),(41057,11,41,'<NAME>',0,'I287',43.662828,12.413531),(41058,11,41,'Sant\'Ippolito',0,'I344',43.687227,12.871462),(41059,11,41,'Sassocorvaro',0,'I459',43.782833,12.499867),(41060,11,41,'Sassofeltrio',0,'I460',43.892484,12.509336),(41061,11,41,'<NAME>',0,'I654',43.491816,12.772847),(41062,11,41,'Serrungarina',0,'I670',43.746413,12.874917),(41064,11,41,'Tavoleto',0,'L078',43.844964,12.591024),(41065,11,41,'Tavullia',0,'L081',43.897922,12.751290),(41066,11,41,'Urbania',0,'L498',43.671289,12.518064),(41067,11,41,'Urbino',0,'L500',43.726257,12.636563),(41068,11,41,'Vallefoglia',0,'M331',43.826936,12.801570),(42001,11,42,'Agugliano',0,'A092',43.542592,13.389187),(42002,11,42,'Ancona',1,'A271',43.615830,13.518915),(42003,11,42,'Arcevia',0,'A366',43.498130,12.939100),(42004,11,42,'Barbara',0,'A626',43.579099,13.025437),(42005,11,42,'<NAME>',0,'A769',43.583066,13.169001),(42006,11,42,'Camerano',0,'B468',43.531351,13.548959),(42007,11,42,'<NAME>',0,'B470',43.579206,13.352322),(42008,11,42,'Castelbellino',0,'C060',43.487121,13.145121),(42010,11,42,'Castelfidardo',0,'C100',43.463115,13.551422),(42011,11,42,'<NAME>',0,'C152',43.608715,12.977401),(42012,11,42,'Castelplanio',0,'C248',43.490389,13.083683),(42013,11,42,'<NAME>',0,'C524',43.324096,12.988182),(42014,11,42,'Chiaravalle',0,'C615',43.598940,13.325212),(42015,11,42,'Corinaldo',0,'D007',43.648797,13.049839),(42016,11,42,'Cupramontana',0,'D211',43.445850,13.115434),(42017,11,42,'Fabriano',0,'D451',43.344967,12.906215),(42018,11,42,'<NAME>',0,'D472',43.627608,13.402920),(42019,11,42,'Filottrano',0,'D597',43.438159,13.355319),(42020,11,42,'Genga',0,'D965',43.429139,12.935166),(42021,11,42,'Jesi',0,'E388',43.527086,13.246380),(42022,11,42,'Loreto',0,'E690',43.439642,13.606567),(42023,11,42,'<NAME>',0,'E837',43.474420,13.114835),(42024,11,42,'Mergo',0,'F145',43.471911,13.037105),(42025,11,42,'Monsano',0,'F381',43.562682,13.248231),(42026,11,42,'Montecarotto',0,'F453',43.526904,13.064804),(42027,11,42,'Montemarciano',0,'F560',43.639489,13.307119),(42029,11,42,'<NAME>',0,'F600',43.481567,13.138524),(42030,11,42,'<NAME>',0,'F634',43.599111,13.274666),(42031,11,42,'<NAME>',0,'F745',43.601913,13.213503),(42032,11,42,'Numana',0,'F978',43.510502,13.622180),(42033,11,42,'Offagna',0,'G003',43.528286,13.443523),(42034,11,42,'Osimo',0,'G157',43.488403,13.478543),(42035,11,42,'Ostra',0,'F401',43.614141,13.156990),(42036,11,42,'<NAME>',0,'F581',43.603387,13.061588),(42037,11,42,'<NAME>',0,'G771',43.511448,13.076122),(42038,11,42,'Polverigi',0,'G803',43.524852,13.393872),(42040,11,42,'Rosora',0,'H575',43.484684,13.067333),(42041,11,42,'<NAME>',0,'H979',43.576239,13.205013),(42042,11,42,'<NAME>',0,'I071',43.454572,13.172508),(42043,11,42,'<NAME>',0,'I251',43.496327,13.308849),(42044,11,42,'Sassoferrato',0,'I461',43.430807,12.857673),(42045,11,42,'Senigallia',0,'I608',43.719793,13.215222),(42046,11,42,'<NAME>',0,'I643',43.544464,13.036928),(42047,11,42,'<NAME>',0,'I653',43.447757,13.014845),(42048,11,42,'Sirolo',0,'I758',43.519101,13.621703),(42049,11,42,'Staffolo',0,'I932',43.432858,13.183671),(42050,11,42,'Trecastelli',0,'M318',43.670742,13.106531),(43001,11,43,'Acquacanina',0,'A031',43.028210,13.177086),(43002,11,43,'Apiro',0,'A329',43.391050,13.131941),(43003,11,43,'Appignano',0,'A334',43.363636,13.347078),(43004,11,43,'<NAME>',0,'A739',43.160082,13.238170),(43005,11,43,'Bolognola',0,'A947',42.997593,13.217427),(43006,11,43,'Caldarola',0,'B398',43.139787,13.224746),(43007,11,43,'Camerino',0,'B474',43.135650,13.068325),(43008,11,43,'<NAME>',0,'B562',43.132163,13.266831),(43009,11,43,'Castelraimondo',0,'C251',43.207143,13.057432),(43010,11,43,'<NAME>',0,'C267',42.894646,13.155185),(43011,11,43,'Cessapalombo',0,'C582',43.108065,13.257204),(43012,11,43,'Cingoli',0,'C704',43.377335,13.213912),(43013,11,43,'<NAME>',0,'C770',43.304849,13.721835),(43014,11,43,'Colmurano',0,'C886',43.163981,13.357430),(43015,11,43,'Corridonia',0,'D042',43.250208,13.513169),(43016,11,43,'Esanatoglia',0,'D429',43.252786,12.949535),(43017,11,43,'Fiastra',0,'D564',43.035951,13.156045),(43018,11,43,'Fiordimonte',0,'D609',43.033547,13.093934),(43019,11,43,'Fiuminata',0,'D628',43.188436,12.934872),(43020,11,43,'Gagliole',0,'D853',43.239109,13.068079),(43021,11,43,'Gualdo',0,'E228',42.881232,13.166030),(43022,11,43,'<NAME>',0,'E694',43.165220,13.417015),(43023,11,43,'Macerata',1,'E783',43.298427,13.453477),(43024,11,43,'Matelica',0,'F051',43.251153,13.009196),(43025,11,43,'Mogliano',0,'F268',43.185679,13.476115),(43026,11,43,'Montecassiano',0,'F454',43.364433,13.437496),(43027,11,43,'<NAME>',0,'F460',42.983783,12.978098),(43028,11,43,'Montecosaro',0,'F482',43.316362,13.639233),(43029,11,43,'Montefano',0,'F496',43.412554,13.441086),(43030,11,43,'Montelupone',0,'F552',43.342889,13.570069),(43031,11,43,'<NAME>',0,'F621',43.235056,13.593066),(43032,11,43,'<NAME>',0,'F622',43.031540,13.439585),(43033,11,43,'Morrovalle',0,'F749',43.314953,13.582530),(43034,11,43,'Muccia',0,'F793',43.080516,13.041525),(43035,11,43,'<NAME>',0,'G436',43.056696,13.423214),(43036,11,43,'Petriolo',0,'G515',43.220093,13.463933),(43037,11,43,'Pievebovigliana',0,'G637',43.062344,13.084647),(43038,11,43,'<NAME>',0,'G657',43.043293,13.045940),(43039,11,43,'Pioraco',0,'G690',43.181056,12.974192),(43040,11,43,'<NAME>',0,'D566',43.375370,13.079148),(43041,11,43,'Pollenza',0,'F567',43.270220,13.346623),(43042,11,43,'<NAME>',0,'G919',43.432096,13.664128),(43043,11,43,'<NAME>',0,'F632',43.367398,13.623404),(43044,11,43,'Recanati',0,'H211',43.403565,13.549532),(43045,11,43,'<NAME>',0,'H323',43.142904,13.367440),(43046,11,43,'<NAME>',0,'H876',43.108441,13.318282),(43047,11,43,'<NAME>',0,'I156',43.230415,13.165380),(43048,11,43,'Sant\'Angelo in Pontano',0,'I286',43.096541,13.399965),(43049,11,43,'Sarnano',0,'I436',43.035532,13.299696),(43050,11,43,'Sefro',0,'I569',43.147330,12.949763),(43051,11,43,'Serrapetrona',0,'I651',43.176145,13.187246),(43052,11,43,'Serravalle di Chienti',0,'I661',43.074951,12.956802),(43053,11,43,'Tolentino',0,'L191',43.208883,13.284743),(43054,11,43,'Treia',0,'L366',43.309177,13.312886),(43055,11,43,'Urbisaglia',0,'L501',43.198171,13.377765),(43056,11,43,'Ussita',0,'L517',42.943305,13.138218),(43057,11,43,'Visso',0,'M078',42.929273,13.087669),(44001,11,44,'Acquasanta Terme',0,'A044',42.769109,13.409437),(44002,11,44,'<NAME>',0,'A047',42.944552,13.816105),(44005,11,44,'<NAME>',0,'A335',42.899268,13.657951),(44006,11,44,'<NAME>',0,'A437',42.772287,13.294913),(44007,11,44,'<NAME>',1,'A462',42.853604,13.574944),(44010,11,44,'Carassai',0,'B727',43.031736,13.684840),(44011,11,44,'<NAME>',0,'C093',42.881005,13.707048),(44012,11,44,'Castignano',0,'C321',42.938556,13.621970),(44013,11,44,'Castorano',0,'C331',42.897771,13.730291),(44014,11,44,'<NAME>',0,'C877',42.877085,13.747372),(44015,11,44,'Comunanza',0,'C935',42.954653,13.412039),(44016,11,44,'Cossignano',0,'D096',42.983412,13.690337),(44017,11,44,'<NAME>',0,'D210',43.026527,13.858192),(44020,11,44,'Folignano',0,'D652',42.820507,13.633630),(44021,11,44,'Force',0,'D691',42.960614,13.486929),(44023,11,44,'Grottammare',0,'E207',42.985343,13.868367),(44027,11,44,'Maltignano',0,'E868',42.831742,13.684222),(44029,11,44,'Massignano',0,'F044',43.050085,13.798106),(44031,11,44,'<NAME>',0,'F380',42.897558,13.792113),(44032,11,44,'<NAME>',0,'F415',42.988785,13.608673),(44034,11,44,'Montedinove',0,'F487',42.973573,13.590372),(44036,11,44,'<NAME>\'Aso',0,'F501',43.051851,13.753639),(44038,11,44,'Montegallo',0,'F516',42.840506,13.332957),(44044,11,44,'Montemonaco',0,'F570',42.898570,13.332451),(44045,11,44,'Monteprandone',0,'F591',42.919500,13.834459),(44054,11,44,'Offida',0,'G005',42.940863,13.696505),(44056,11,44,'Palmiano',0,'G289',42.899357,13.459886),(44063,11,44,'Ripatransone',0,'H321',42.997564,13.763242),(44064,11,44,'Roccafluvione',0,'H390',42.859595,13.476561),(44065,11,44,'Rotella',0,'H588',42.953948,13.559434),(44066,11,44,'<NAME>',0,'H769',42.960979,13.874647),(44071,11,44,'Spinetoli',0,'I912',42.889036,13.772663),(44073,11,44,'Venarotta',0,'L728',42.881568,13.493166),(45001,9,45,'Aulla',0,'A496',44.216671,9.967497),(45002,9,45,'Bagnone',0,'A576',44.314680,9.994511),(45003,9,45,'Carrara',0,'B832',44.079325,10.097677),(45004,9,45,'<NAME>',0,'B979',44.200180,10.175478),(45005,9,45,'Comano',0,'C914',44.291519,10.130141),(45006,9,45,'Filattiera',0,'D590',44.332430,9.936329),(45007,9,45,'Fivizzano',0,'D629',44.238246,10.127161),(45008,9,45,'Fosdinovo',0,'D735',44.132455,10.017247),(45009,9,45,'<NAME>',0,'E574',44.265370,10.039111),(45010,9,45,'Massa',1,'F023',44.035444,10.139322),(45011,9,45,'Montignoso',0,'F679',43.982833,10.150538),(45012,9,45,'Mulazzo',0,'F802',44.315259,9.889879),(45013,9,45,'Podenzana',0,'G746',44.205497,9.939587),(45014,9,45,'Pontremoli',0,'G870',44.371290,9.881598),(45015,9,45,'Tresana',0,'L386',44.254573,9.911779),(45016,9,45,'<NAME>',0,'L946',44.295157,9.950648),(45017,9,45,'Zeri',0,'M169',44.351594,9.773880),(46001,9,46,'Altopascio',0,'A241',43.812488,10.677101),(46002,9,46,'<NAME>',0,'A560',44.010925,10.591651),(46003,9,46,'Barga',0,'A657',44.075634,10.482283),(46004,9,46,'<NAME>',0,'B007',43.978408,10.543041),(46005,9,46,'Camaiore',0,'B455',43.942140,10.296908),(46006,9,46,'Camporgiano',0,'B557',44.157203,10.334853),(46007,9,46,'Capannori',0,'B648',43.841893,10.573325),(46008,9,46,'Careggine',0,'B760',44.120839,10.323661),(46009,9,46,'<NAME>',0,'C236',44.109475,10.413547),(46010,9,46,'<NAME>',0,'C303',44.152669,10.411279),(46011,9,46,'<NAME>',0,'C996',44.063360,10.527239),(46013,9,46,'<NAME>',0,'D730',43.957962,10.167279),(46014,9,46,'Fosciandora',0,'D734',44.114381,10.455890),(46015,9,46,'Gallicano',0,'D874',44.062227,10.438713),(46017,9,46,'Lucca',1,'E715',43.837621,10.495061),(46018,9,46,'Massarosa',0,'F035',43.872063,10.337366),(46019,9,46,'Minucciano',0,'F225',44.171308,10.208159),(46020,9,46,'Molazzana',0,'F283',44.071443,10.417759),(46021,9,46,'Montecarlo',0,'F452',43.853471,10.665801),(46022,9,46,'Pescaglia',0,'G480',43.967427,10.411927),(46023,9,46,'<NAME>',0,'G582',44.183284,10.301576),(46024,9,46,'Pietrasanta',0,'G628',43.959551,10.228632),(46025,9,46,'<NAME>',0,'G648',44.133415,10.414257),(46026,9,46,'Porcari',0,'G882',43.841981,10.617661),(46027,9,46,'San Romano in Garfagnana',0,'I142',44.168972,10.348886),(46028,9,46,'Seravezza',0,'I622',43.994113,10.230096),(46030,9,46,'Stazzema',0,'I942',43.994016,10.313264),(46031,9,46,'<NAME>',0,'L533',44.115750,10.271230),(46033,9,46,'Viareggio',0,'L833',43.865727,10.251310),(46034,9,46,'<NAME>',0,'L913',43.925707,10.644660),(46035,9,46,'<NAME>',0,'L926',44.159861,10.396803),(46036,9,46,'<NAME>',0,'M319',43.997451,10.428412),(46037,9,46,'<NAME>',0,'M347',44.210700,10.246345),(47001,9,47,'Abetone',0,'A012',44.144689,10.663658),(47002,9,47,'Agliana',0,'A071',43.900421,10.999923),(47003,9,47,'Buggiano',0,'B251',42.843070,12.902910),(47004,9,47,'Cutigliano',0,'D235',44.101450,10.754332),(47005,9,47,'Lamporecchio',0,'E432',43.817032,10.896342),(47006,9,47,'Larciano',0,'E451',43.832661,10.889399),(47007,9,47,'Marliana',0,'E960',43.933830,10.769238),(47008,9,47,'<NAME>',0,'F025',43.909431,10.743188),(47009,9,47,'<NAME>',0,'F384',43.869220,10.814644),(47010,9,47,'Montale',0,'F410',43.934742,11.017563),(47011,9,47,'Montecatini-Terme',0,'A561',43.880847,10.775436),(47012,9,47,'Pescia',0,'G491',43.907321,10.689131),(47013,9,47,'<NAME>',0,'G636',43.882198,10.803874),(47014,9,47,'Pistoia',1,'G713',43.930348,10.907859),(47015,9,47,'Piteglio',0,'G715',44.028334,10.764862),(47016,9,47,'<NAME>',0,'G833',43.839409,10.747684),(47017,9,47,'Quarrata',0,'H109',43.847899,10.977967),(47018,9,47,'<NAME>',0,'H744',44.108099,11.004554),(47019,9,47,'<NAME>',0,'H980',44.055936,10.795913),(47020,9,47,'<NAME>',0,'I660',43.905908,10.833033),(47021,9,47,'Uzzano',0,'L522',43.896934,10.704080),(47022,9,47,'<NAME>',0,'C631',43.839035,10.719492),(48001,9,48,'<NAME>',0,'A564',43.752273,11.319688),(48002,9,48,'<NAME>',0,'A632',44.006910,11.237651),(48003,9,48,'<NAME>',0,'A633',43.545874,11.175108),(48004,9,48,'<NAME>',0,'B036',43.954379,11.384748),(48005,9,48,'Calenzano',0,'B406',43.866040,11.167318),(48006,9,48,'<NAME>',0,'B507',43.825977,11.127647),(48008,9,48,'<NAME>',0,'B684',43.765113,10.992005),(48010,9,48,'Castelfiorentino',0,'C101',43.604185,10.969713),(48011,9,48,'<NAME>',0,'C529',43.759797,10.880200),(48012,9,48,'Certaldo',0,'C540',43.547659,11.041546),(48013,9,48,'Dicomano',0,'D299',43.890989,11.523296),(48014,9,48,'Empoli',0,'D403',43.717892,10.947778),(48015,9,48,'Fiesole',0,'D575',43.806479,11.293153),(48017,9,48,'Firenze',1,'D612',43.769560,11.255814),(48018,9,48,'Firenzuola',0,'D613',44.119784,11.378555),(48019,9,48,'Fucecchio',0,'D815',43.727867,10.806722),(48020,9,48,'<NAME>',0,'D895',43.540696,10.954902),(48021,9,48,'<NAME>',0,'E169',43.583064,11.318682),(48022,9,48,'Impruneta',0,'E291',43.684516,11.258140),(48024,9,48,'<NAME>',0,'E466',43.770164,11.112896),(48025,9,48,'Londa',0,'E668',43.861615,11.565571),(48026,9,48,'Marradi',0,'E971',44.077757,11.613709),(48027,9,48,'Montaione',0,'F398',43.552746,10.914063),(48028,9,48,'<NAME>',0,'F551',43.733189,11.020616),(48030,9,48,'Montespertoli',0,'F648',43.644467,11.071105),(48031,9,48,'<NAME>',0,'G270',44.114126,11.545954),(48032,9,48,'Pelago',0,'G420',43.772697,11.503284),(48033,9,48,'Pontassieve',0,'G825',43.774718,11.438469),(48035,9,48,'Reggello',0,'H222',43.683109,11.532750),(48036,9,48,'<NAME>',0,'H286',43.723531,11.446880),(48037,9,48,'Rufina',0,'H635',43.826896,11.491227),(48038,9,48,'<NAME> in Val di Pesa',0,'H791',43.658355,11.188767),(48039,9,48,'<NAME>',0,'H937',43.924889,11.619174),(48041,9,48,'Scandicci',0,'B962',43.754217,11.192284),(48043,9,48,'<NAME>',0,'I684',43.832097,11.204269),(48044,9,48,'Signa',0,'I728',43.782325,11.093247),(48045,9,48,'Tavarnelle Val di Pesa',0,'L067',43.563604,11.174477),(48046,9,48,'Vaglia',0,'L529',43.910364,11.279460),(48049,9,48,'Vicchio',0,'L838',43.933094,11.464747),(48050,9,48,'Vinci',0,'M059',43.784177,10.924427),(48052,9,48,'<NAME> <NAME>',0,'M321',43.661706,11.448866),(48053,9,48,'Scarperia e <NAME>',0,'M326',43.993749,11.353346),(49001,9,49,'Bibbona',0,'A852',43.269564,10.595233),(49002,9,49,'<NAME>',0,'B509',43.060088,10.614245),(49003,9,49,'<NAME>',0,'B553',42.748683,10.234930),(49004,9,49,'Capoliveri',0,'B669',42.747237,10.379755),(49005,9,49,'<NAME>',0,'B685',43.037783,9.818073),(49006,9,49,'<NAME>',0,'C044',43.159729,10.611713),(49007,9,49,'Cecina',0,'C415',43.308530,10.518859),(49008,9,49,'Collesalvetti',0,'C869',43.591571,10.475699),(49009,9,49,'Livorno',1,'E625',43.548473,10.310567),(49010,9,49,'Marciana',0,'E930',42.790929,10.167376),(49011,9,49,'<NAME>',0,'E931',42.805405,10.201326),(49012,9,49,'Piombino',0,'G687',42.925634,10.525889),(49013,9,49,'<NAME>',0,'E680',42.763233,10.394780),(49014,9,49,'Portoferraio',0,'G912',42.810857,10.321180),(49015,9,49,'<NAME>',0,'H305',42.816042,10.427810),(49016,9,49,'<NAME>',0,'H297',42.813873,10.401098),(49017,9,49,'<NAME>',0,'H570',43.409171,10.472119),(49018,9,49,'<NAME>',0,'I390',43.102380,10.539351),(49019,9,49,'Sassetta',0,'I454',43.128538,10.643963),(49020,9,49,'Suvereto',0,'L019',43.076683,10.678444),(50001,9,50,'Bientina',0,'A864',43.710285,10.621409),(50002,9,50,'Buti',0,'B303',43.727633,10.585595),(50003,9,50,'Calci',0,'B390',43.726235,10.513451),(50004,9,50,'Calcinaia',0,'B392',43.683762,10.614234),(50005,9,50,'Capannoli',0,'B647',43.583276,10.680650),(50006,9,50,'<NAME>',0,'B878',43.296395,10.614267),(50008,9,50,'Cascina',0,'B950',43.675914,10.555897),(50009,9,50,'<NAME>',0,'C113',43.699737,10.744854),(50010,9,50,'<NAME>',0,'C174',43.408983,10.578306),(50011,9,50,'<NAME>',0,'C244',43.209692,10.905079),(50012,9,50,'Chianni',0,'C609',43.485635,10.641940),(50014,9,50,'Fauglia',0,'D510',43.569125,10.517187),(50015,9,50,'Guardistallo',0,'E250',43.311308,10.629410),(50016,9,50,'Lajatico',0,'E413',43.475776,10.728672),(50019,9,50,'<NAME>',0,'F458',43.394888,10.748467),(50020,9,50,'Montescudaio',0,'F640',43.326165,10.626565),(50021,9,50,'<NAME>',0,'F661',43.176693,10.715802),(50022,9,50,'Montopoli in Val d\'Arno',0,'F686',43.675262,10.743608),(50023,9,50,'<NAME>',0,'G090',43.494424,10.510332),(50024,9,50,'Palaia',0,'G254',43.605502,10.775582),(50025,9,50,'Peccioli',0,'G395',43.544962,10.720062),(50026,9,50,'Pisa',1,'G702',43.722839,10.401689),(50027,9,50,'Pomarance',0,'G804',43.299041,10.872188),(50028,9,50,'Ponsacco',0,'G822',43.620998,10.629940),(50029,9,50,'Pontedera',0,'G843',43.662516,10.636359),(50030,9,50,'Riparbella',0,'H319',43.366388,10.600971),(50031,9,50,'<NAME>',0,'A562',43.759664,10.441865),(50032,9,50,'<NAME>',0,'I046',43.682964,10.855120),(50033,9,50,'<NAME>',0,'I177',43.710925,10.783619),(50034,9,50,'<NAME>',0,'I217',43.472669,10.564949),(50035,9,50,'<NAME>',0,'I232',43.698760,10.689434),(50036,9,50,'Terricciola',0,'L138',43.522324,10.676001),(50037,9,50,'Vecchiano',0,'L702',43.783338,10.388927),(50038,9,50,'Vicopisano',0,'L850',43.699145,10.583101),(50039,9,50,'Volterra',0,'M126',43.399395,10.866033),(50040,9,50,'<NAME>',0,'M327',43.565336,10.591575),(50041,9,50,'<NAME>',0,'M328',43.568895,10.562678),(51001,9,51,'Anghiari',0,'A291',43.540118,12.052159),(51002,9,51,'Arezzo',1,'A390',43.463284,11.879634),(51003,9,51,'<NAME>',0,'A541',43.707030,12.184508),(51004,9,51,'Bibbiena',0,'A851',43.694125,11.815856),(51005,9,51,'Bucine',0,'B243',43.478065,11.614893),(51006,9,51,'Capolona',0,'B670',43.565303,11.859124),(51007,9,51,'<NAME>',0,'B693',43.641424,11.987190),(51008,9,51,'<NAME>',0,'C102',43.652285,11.787078),(51010,9,51,'<NAME>',0,'C263',43.752326,11.722725),(51011,9,51,'<NAME>',0,'C318',43.530658,11.762486),(51012,9,51,'<NAME>',0,'C319',43.344702,11.918790),(51013,9,51,'Cavriglia',0,'C407',43.522434,11.489002),(51014,9,51,'Chitignano',0,'C648',43.660112,11.880045),(51015,9,51,'<NAME>',0,'C663',43.699301,11.935169),(51016,9,51,'<NAME>',0,'C774',43.396939,11.729605),(51017,9,51,'Cortona',0,'D077',43.275063,11.985120),(51018,9,51,'<NAME>',0,'D649',43.254001,11.815962),(51019,9,51,'Laterina',0,'E468',43.507972,11.723536),(51020,9,51,'<NAME>',0,'E693',43.592769,11.631905),(51021,9,51,'Lucignano',0,'E718',43.274290,11.747409),(51022,9,51,'<NAME>',0,'E933',43.305243,11.787304),(51023,9,51,'Montemignaio',0,'F565',43.743709,11.626818),(51024,9,51,'Monterchi',0,'F594',43.483176,12.113181),(51025,9,51,'<NAME>',0,'F628',43.329196,11.729206),(51026,9,51,'Montevarchi',0,'F656',43.530781,11.563953),(51027,9,51,'<NAME>',0,'G139',43.681707,11.752610),(51028,9,51,'<NAME>',0,'G451',43.469396,11.685278),(51030,9,51,'<NAME>',0,'G653',43.667571,12.043238),(51031,9,51,'Poppi',0,'G879',43.723377,11.770025),(51033,9,51,'<NAME>',0,'H901',43.572487,11.523005),(51034,9,51,'Sansepolcro',0,'I155',43.572621,12.138261),(51035,9,51,'Sestino',0,'I681',43.707621,12.295209),(51037,9,51,'Subbiano',0,'I991',43.571195,11.869063),(51038,9,51,'Talla',0,'L038',43.601195,11.787589),(51039,9,51,'<NAME>',0,'L123',43.551944,11.585273),(51040,9,51,'<NAME>',0,'M322',43.621213,11.556909),(51041,9,51,'<NAME>',0,'M329',43.809734,11.691109),(52001,9,52,'<NAME>',0,'A006',42.881815,11.673932),(52002,9,52,'Asciano',0,'A461',43.233970,11.560631),(52003,9,52,'Buonconvento',0,'B269',43.136057,11.479605),(52004,9,52,'<NAME>',0,'B984',43.342623,11.045027),(52005,9,52,'<NAME>',0,'C172',43.471514,11.285668),(52006,9,52,'<NAME>',0,'C227',43.346819,11.503927),(52007,9,52,'<NAME>\'Orcia',0,'C313',43.005830,11.616126),(52008,9,52,'Cetona',0,'C587',42.963185,11.900072),(52009,9,52,'<NAME>',0,'C608',43.044344,11.813762),(52010,9,52,'Chiusdino',0,'C661',43.155390,11.088472),(52011,9,52,'Chiusi',0,'C662',43.015519,11.944775),(52012,9,52,'<NAME>',0,'C847',43.419964,11.127206),(52013,9,52,'<NAME>',0,'D858',43.467307,11.434230),(52014,9,52,'Montalcino',0,'F402',43.055102,11.489003),(52015,9,52,'Montepulciano',0,'F592',43.098694,11.787247),(52016,9,52,'Monteriggioni',0,'F598',43.390135,11.223386),(52017,9,52,'<NAME>',0,'F605',43.229679,11.422277),(52018,9,52,'Monticiano',0,'F676',43.139471,11.177748),(52019,9,52,'Murlo',0,'F815',43.160747,11.387978),(52020,9,52,'Piancastagnaio',0,'G547',42.850032,11.686677),(52021,9,52,'Pienza',0,'G602',43.077450,11.677595),(52022,9,52,'Poggibonsi',0,'G752',43.472565,11.146754),(52023,9,52,'<NAME>',0,'H153',43.486100,11.370762),(52024,9,52,'Radicofani',0,'H156',42.895922,11.767384),(52025,9,52,'Radicondoli',0,'H157',43.261179,11.043548),(52026,9,52,'<NAME>',0,'H185',43.284974,11.604671),(52027,9,52,'<NAME>',0,'H790',42.871555,11.875334),(52028,9,52,'<NAME>',0,'H875',43.467632,11.043491),(52029,9,52,'<NAME>',0,'H911',43.151806,11.589052),(52030,9,52,'<NAME>',0,'I135',43.058180,11.606064),(52031,9,52,'Sarteano',0,'I445',42.989238,11.870103),(52032,9,52,'Siena',1,'I726',43.318809,11.330757),(52033,9,52,'Sinalunga',0,'A468',43.212311,11.736501),(52034,9,52,'Sovicille',0,'I877',43.277705,11.228348),(52035,9,52,'<NAME>',0,'L303',43.168926,11.774908),(52036,9,52,'Trequanda',0,'L384',43.187887,11.667759),(53001,9,53,'Arcidosso',0,'A369',42.871110,11.540109),(53002,9,53,'Campagnatico',0,'B497',42.883741,11.273746),(53003,9,53,'Capalbio',0,'B646',42.453387,11.423700),(53004,9,53,'<NAME>',0,'C085',42.888634,11.535785),(53005,9,53,'Castell\'Azzara',0,'C147',42.774358,11.697004),(53006,9,53,'<NAME>',0,'C310',42.763895,10.875020),(53007,9,53,'Cinigiano',0,'C705',42.890593,11.390000),(53008,9,53,'<NAME>',0,'C782',42.930811,11.268180),(53009,9,53,'Follonica',0,'D656',42.922689,10.759300),(53010,9,53,'Gavorrano',0,'D948',42.925068,10.907817),(53011,9,53,'Grosseto',1,'E202',42.763525,11.112363),(53012,9,53,'<NAME>',0,'E348',42.353631,10.901604),(53013,9,53,'<NAME>',0,'E810',42.599864,11.291225),(53014,9,53,'Manciano',0,'E875',42.588929,11.517380),(53015,9,53,'<NAME>',0,'F032',43.053250,10.888032),(53016,9,53,'<NAME>',0,'F437',42.425566,11.118568),(53017,9,53,'Montieri',0,'F677',43.130666,11.016069),(53018,9,53,'Orbetello',0,'G088',42.439647,11.212408),(53019,9,53,'Pitigliano',0,'G716',42.635318,11.669991),(53020,9,53,'Roccalbegna',0,'H417',42.786651,11.510087),(53021,9,53,'Roccastrada',0,'H449',43.011109,11.167209),(53022,9,53,'<NAME>',0,'I187',42.832420,11.584614),(53023,9,53,'Scansano',0,'I504',42.686386,11.333920),(53024,9,53,'Scarlino',0,'I510',42.907240,10.851002),(53025,9,53,'Seggiano',0,'I571',42.927801,11.557580),(53026,9,53,'Sorano',0,'I841',42.682631,11.714159),(53027,9,53,'<NAME>',0,'F612',43.115711,10.811289),(53028,9,53,'Semproniano',0,'I601',42.729960,11.540566),(54001,10,54,'Assisi',0,'A475',43.070702,12.619597),(54002,10,54,'<NAME>',0,'A710',43.069059,12.549245),(54003,10,54,'Bettona',0,'A832',43.011556,12.486327),(54004,10,54,'Bevagna',0,'A835',42.937286,12.609268),(54005,10,54,'<NAME>',0,'B504',42.830001,12.769247),(54006,10,54,'Cannara',0,'B609',42.991944,12.582354),(54007,10,54,'Cascia',0,'B948',42.716923,13.011907),(54008,10,54,'<NAME>',0,'C252',42.821825,12.674519),(54009,10,54,'<NAME>',0,'C309',43.126450,12.047840),(54010,10,54,'<NAME>',0,'C527',42.821554,12.918199),(54011,10,54,'Citerna',0,'C742',43.498013,12.117846),(54012,10,54,'<NAME>',0,'C744',42.953541,12.004533),(54013,10,54,'<NAME>',0,'C745',43.463978,12.240487),(54014,10,54,'Collazzone',0,'C845',42.903691,12.434798),(54015,10,54,'Corciano',0,'C990',43.123787,12.289260),(54016,10,54,'Costacciaro',0,'D108',43.358620,12.715621),(54017,10,54,'Deruta',0,'D279',42.980894,12.421785),(54018,10,54,'Foligno',0,'D653',42.950868,12.701475),(54019,10,54,'<NAME>',0,'D745',43.298249,12.762585),(54020,10,54,'<NAME>',0,'D787',42.857933,12.363446),(54021,10,54,'<NAME>\'Umbria',0,'E012',42.836321,12.587181),(54022,10,54,'<NAME>',0,'E229',42.912050,12.556193),(54023,10,54,'<NAME>',0,'E230',43.234139,12.782241),(54024,10,54,'Gubbio',0,'E256',43.351319,12.575317),(54025,10,54,'<NAME>',0,'E613',43.247227,12.142030),(54026,10,54,'Magione',0,'E805',43.142126,12.203915),(54027,10,54,'Marsciano',0,'E975',42.909725,12.335140),(54028,10,54,'<NAME>',0,'F024',42.776649,12.523263),(54029,10,54,'<NAME>',0,'F456',42.837947,12.348275),(54030,10,54,'Montefalco',0,'F492',42.889294,12.650284),(54031,10,54,'<NAME>',0,'F540',42.650439,12.951629),(54032,10,54,'<NAME>',0,'F629',43.436136,12.163184),(54033,10,54,'Montone',0,'F685',42.768336,13.914329),(54034,10,54,'<NAME>',0,'F911',43.113495,12.787561),(54035,10,54,'Norcia',0,'F935',42.791675,13.094734),(54036,10,54,'Paciano',0,'G212',43.024165,12.066139),(54037,10,54,'Panicale',0,'G308',43.028628,12.097475),(54038,10,54,'Passignano sul Trasimeno',0,'G359',43.187630,12.134165),(54039,10,54,'Perugia',1,'G478',43.110717,12.390828),(54040,10,54,'Piegaro',0,'G601',42.962700,12.084800),(54041,10,54,'Pietralunga',0,'G618',43.442952,12.448589),(54042,10,54,'Poggiodomo',0,'G758',42.711309,12.935060),(54043,10,54,'Preci',0,'H015',42.880664,13.039639),(54044,10,54,'<NAME>',0,'H935',43.551795,12.172452),(54045,10,54,'Sant\'<NAME>',0,'I263',42.733038,12.836001),(54046,10,54,'Scheggia e Pascelupo',0,'I522',43.403060,12.666326),(54047,10,54,'Scheggino',0,'I523',42.712143,12.829464),(54048,10,54,'Sellano',0,'I585',42.888039,12.925263),(54049,10,54,'Sigillo',0,'I727',43.331295,12.741104),(54050,10,54,'Spello',0,'I888',42.987653,12.671190),(54051,10,54,'Spoleto',0,'I921',42.741222,12.738521),(54052,10,54,'Todi',0,'L188',42.781935,12.406569),(54053,10,54,'Torgiano',0,'L216',43.027316,12.432391),(54054,10,54,'Trevi',0,'L397',42.877641,12.748808),(54055,10,54,'Tuoro sul Trasimeno',0,'L466',43.207908,12.070589),(54056,10,54,'Umbertide',0,'D786',43.305573,12.327868),(54057,10,54,'Valfabbrica',0,'L573',43.158881,12.601164),(54058,10,54,'<NAME>',0,'L627',42.755290,12.865048),(54059,10,54,'Valtopina',0,'L653',43.058750,12.754370),(55001,10,55,'Acquasparta',0,'A045',42.690841,12.541873),(55002,10,55,'Allerona',0,'A207',42.812556,11.973853),(55003,10,55,'Alviano',0,'A242',42.591092,12.297819),(55004,10,55,'Amelia',0,'A262',42.556772,12.414636),(55005,10,55,'Arrone',0,'A439',42.584025,12.768178),(55006,10,55,'Attigliano',0,'A490',42.516839,12.292242),(55007,10,55,'Baschi',0,'A691',42.669387,12.216308),(55008,10,55,'<NAME>\'Umbria',0,'B446',42.403861,12.569369),(55009,10,55,'<NAME>',0,'C117',42.707820,11.979397),(55010,10,55,'<NAME>',0,'C289',42.755699,12.002735),(55011,10,55,'Fabro',0,'D454',42.872510,12.016545),(55012,10,55,'Ferentillo',0,'D538',42.620443,12.784383),(55013,10,55,'Ficulle',0,'D570',42.836976,12.065611),(55014,10,55,'Giove',0,'E045',42.510698,12.334255),(55015,10,55,'Guardea',0,'E241',42.627640,12.296279),(55016,10,55,'<NAME>ina',0,'E729',42.575165,12.332085),(55017,10,55,'Montecastrilli',0,'F457',42.646012,12.482361),(55018,10,55,'Montecchio',0,'F462',42.662525,12.287121),(55019,10,55,'Montefranco',0,'F510',42.597856,12.765172),(55020,10,55,'Montegabbione',0,'F513',42.922441,12.091175),(55021,10,55,'<NAME>',0,'F543',42.921443,12.053923),(55022,10,55,'Narni',0,'F844',42.517602,12.515630),(55023,10,55,'Orvieto',0,'G148',42.718507,12.110745),(55024,10,55,'Otricoli',0,'G189',42.422032,12.477660),(55025,10,55,'Parrano',0,'G344',42.863716,12.106103),(55026,10,55,'<NAME>',0,'G432',42.493321,12.354819),(55027,10,55,'Polino',0,'G790',42.583438,12.844418),(55028,10,55,'Porano',0,'G881',42.686878,12.102811),(55029,10,55,'<NAME>',0,'H857',42.611675,12.547853),(55030,10,55,'<NAME>',0,'I381',42.868647,12.269217),(55031,10,55,'Stroncone',0,'I981',42.499741,12.663682),(55032,10,55,'Terni',1,'L117',42.563617,12.642660),(55033,10,55,'<NAME>',0,'M258',42.651604,12.429611),(56001,12,56,'Acquapendente',0,'A040',42.747723,11.863020),(56002,12,56,'<NAME>',0,'A412',42.462671,11.823377),(56003,12,56,'Bagnoregio',0,'A577',42.626881,12.091154),(56004,12,56,'<NAME>',0,'A628',42.249392,12.067175),(56005,12,56,'<NAME>',0,'A704',42.220572,12.188064),(56006,12,56,'Bassano in Teverina',0,'A706',42.465991,12.311246),(56007,12,56,'Blera',0,'A857',42.275908,12.025464),(56008,12,56,'Bolsena',0,'A949',42.644204,11.986438),(56009,12,56,'Bomarzo',0,'A955',42.486720,12.250280),(56010,12,56,'Calcata',0,'B388',42.216560,12.421150),(56011,12,56,'Canepina',0,'B597',42.379487,12.235381),(56012,12,56,'Canino',0,'B604',42.466403,11.750676),(56013,12,56,'Capodimonte',0,'B663',42.549667,11.912184),(56014,12,56,'Capranica',0,'B688',42.259545,12.174631),(56015,12,56,'Caprarola',0,'B691',42.327231,12.238749),(56016,12,56,'Carbognano',0,'B735',42.328343,12.262405),(56017,12,56,'<NAME>',0,'C269',42.248525,12.365719),(56018,12,56,'<NAME>',0,'C315',42.653432,12.191864),(56019,12,56,'Celleno',0,'C446',42.561161,12.139623),(56020,12,56,'Cellere',0,'C447',42.511464,11.774750),(56021,12,56,'<NAME>',0,'C765',42.289148,12.414317),(56022,12,56,'<NAME>',0,'C780',42.604293,12.185903),(56023,12,56,'Corchiano',0,'C988',42.344550,12.360569),(56024,12,56,'Fabrica di Roma',0,'D452',42.334755,12.294928),(56025,12,56,'Faleria',0,'D475',42.226172,12.443122),(56026,12,56,'Farnese',0,'D503',42.547360,11.723278),(56027,12,56,'Gallese',0,'D870',42.371691,12.402601),(56028,12,56,'Gradoli',0,'E126',42.645222,11.857297),(56029,12,56,'Graffignano',0,'E128',42.576312,12.198297),(56030,12,56,'<NAME>',0,'E210',42.671858,11.867182),(56031,12,56,'<NAME>',0,'E330',42.544076,11.760934),(56032,12,56,'Latera',0,'E467',42.630000,11.828068),(56033,12,56,'Lubriano',0,'E713',42.636558,12.110039),(56034,12,56,'Marta',0,'E978',42.533896,11.924699),(56035,12,56,'<NAME>',0,'F419',42.351566,11.607010),(56036,12,56,'Montefiascone',0,'F499',42.540238,12.033791),(56037,12,56,'<NAME>',0,'F603',42.268102,11.898421),(56038,12,56,'Monterosi',0,'F606',42.198111,12.306365),(56039,12,56,'Nepi',0,'F868',42.242991,12.347616),(56040,12,56,'Onano',0,'G065',42.690607,11.816737),(56041,12,56,'<NAME>',0,'G111',42.157351,12.138697),(56042,12,56,'Orte',0,'G135',42.457441,12.386984),(56043,12,56,'Piansano',0,'G571',42.520059,11.828866),(56044,12,56,'Proceno',0,'H071',42.758667,11.826660),(56045,12,56,'Ronciglione',0,'H534',42.293598,12.220722),(56046,12,56,'<NAME>',0,'H913',42.280176,12.051464),(56047,12,56,'<NAME> Nuovo',0,'H969',42.677186,11.923396),(56048,12,56,'<NAME>',0,'I855',42.420624,12.236679),(56049,12,56,'Sutri',0,'L017',42.243903,12.218538),(56050,12,56,'Tarquinia',0,'D024',42.254185,11.757568),(56051,12,56,'Tessennano',0,'L150',42.478993,11.791190),(56052,12,56,'Tuscania',0,'L310',42.418573,11.870309),(56053,12,56,'Valentano',0,'L569',42.566494,11.818399),(56054,12,56,'Vallerano',0,'L612',42.383527,12.263895),(56055,12,56,'Vasanello',0,'A701',42.417291,12.346059),(56056,12,56,'Vejano',0,'L713',42.216591,12.095637),(56057,12,56,'Vetralla',0,'L814',42.318861,12.058817),(56058,12,56,'Vignanello',0,'L882',42.383745,12.278159),(56059,12,56,'Viterbo',1,'M082',42.420677,12.107669),(56060,12,56,'Vitorchiano',0,'M086',42.469193,12.172101),(57001,12,57,'Accumoli',0,'A019',42.694592,13.245461),(57002,12,57,'Amatrice',0,'A258',42.628016,13.292479),(57003,12,57,'Antrodoco',0,'A315',42.421094,13.080453),(57004,12,57,'Ascrea',0,'A464',42.197317,12.995281),(57005,12,57,'<NAME> Sabina',0,'A765',42.314300,12.891615),(57006,12,57,'Borbona',0,'A981',42.513763,13.133476),(57007,12,57,'Borgorose',0,'B008',42.192769,13.235852),(57008,12,57,'<NAME>',0,'A996',42.405665,13.059474),(57009,12,57,'Cantalice',0,'B627',42.467090,12.904476),(57010,12,57,'Cantalupo in Sabina',0,'B631',42.305899,12.644935),(57011,12,57,'Casaprota',0,'B934',42.252304,12.804706),(57012,12,57,'Casperia',0,'A472',42.337013,12.670063),(57013,12,57,'<NAME>',0,'C098',42.216394,12.965971),(57014,12,57,'<NAME>',0,'C224',42.232104,12.741934),(57015,12,57,'<NAME>',0,'C268',41.903063,12.466276),(57016,12,57,'Cittaducale',0,'C746',42.388505,12.951607),(57017,12,57,'Cittareale',0,'C749',42.617992,13.158765),(57018,12,57,'<NAME>',0,'C841',42.136726,13.047011),(57019,12,57,'<NAME>',0,'C857',42.208704,12.947200),(57020,12,57,'Collegiove',0,'C859',42.175254,13.037610),(57021,12,57,'Collevecchio',0,'C876',42.334999,12.552151),(57022,12,57,'<NAME>',0,'C880',42.498968,12.779247),(57023,12,57,'Concerviano',0,'C946',42.322091,12.984993),(57024,12,57,'Configni',0,'C959',42.426880,12.645705),(57025,12,57,'Contigliano',0,'C969',42.410681,12.766553),(57026,12,57,'Cottanello',0,'D124',42.408797,12.687244),(57027,12,57,'<NAME>',0,'D493',42.209266,12.729304),(57028,12,57,'Fiamignano',0,'D560',42.264634,13.121127),(57029,12,57,'Forano',0,'D689',42.295290,12.595142),(57030,12,57,'<NAME>',0,'D785',42.229422,12.807342),(57031,12,57,'Greccio',0,'E160',42.445233,12.750297),(57032,12,57,'Labro',0,'E393',42.525357,12.801584),(57033,12,57,'Leonessa',0,'E535',42.566072,12.962445),(57034,12,57,'<NAME>',0,'E681',42.272961,12.969127),(57035,12,57,'<NAME>',0,'E812',42.364143,12.478807),(57036,12,57,'Marcetelli',0,'E927',42.226386,13.044811),(57037,12,57,'Micigliano',0,'F193',42.451486,13.052983),(57038,12,57,'Mompeo',0,'F319',42.246584,12.752508),(57039,12,57,'Montasola',0,'F430',42.384243,12.681906),(57040,12,57,'Montebuono',0,'F446',42.367404,12.597368),(57041,12,57,'<NAME>',0,'F541',42.233004,12.859311),(57042,12,57,'<NAME>',0,'F579',42.281439,12.813188),(57043,12,57,'<NAME>',0,'F619',42.329144,12.779219),(57044,12,57,'<NAME>',0,'F687',42.241783,12.688648),(57045,12,57,'<NAME>',0,'F746',42.526608,12.832660),(57046,12,57,'Nespolo',0,'F876',42.155801,13.069404),(57047,12,57,'Orvinio',0,'B595',42.134044,12.937576),(57048,12,57,'<NAME>',0,'G232',41.936603,12.625874),(57049,12,57,'Pescorocchiano',0,'G498',42.208260,13.147916),(57050,12,57,'<NAME>',0,'G513',42.294361,13.068755),(57051,12,57,'<NAME>',0,'G756',42.501206,12.887802),(57052,12,57,'<NAME>',0,'G757',42.295742,12.691022),(57053,12,57,'<NAME>',0,'G763',42.268267,12.687625),(57054,12,57,'<NAME>',0,'G764',42.203018,12.875237),(57055,12,57,'<NAME>',0,'G765',42.215343,12.794883),(57056,12,57,'Poggio San Lorenzo',0,'G770',42.253139,12.845473),(57057,12,57,'Posta',0,'G934',17.047984,-96.697485),(57058,12,57,'<NAME>',0,'G951',42.157154,12.955067),(57059,12,57,'Rieti',1,'H282',42.404509,12.856728),(57060,12,57,'Rivodutri',0,'H354',42.517821,12.855546),(57061,12,57,'Roccantica',0,'H427',42.320211,12.692881),(57062,12,57,'<NAME>',0,'H446',42.274892,12.925655),(57063,12,57,'Salisano',0,'H713',42.261244,12.748484),(57064,12,57,'Scandriglia',0,'I499',42.164283,12.841636),(57065,12,57,'Selci',0,'I581',42.319278,12.622142),(57066,12,57,'Stimigliano',0,'I959',42.300990,12.562858),(57067,12,57,'Tarano',0,'L046',42.357777,12.596830),(57068,12,57,'Toffia',0,'L189',42.212454,12.753571),(57069,12,57,'Torricella in Sabina',0,'L293',42.262143,12.869935),(57070,12,57,'Torri in Sabina',0,'L286',42.353870,12.639145),(57071,12,57,'Turania',0,'G507',42.138060,13.009213),(57072,12,57,'Vacone',0,'L525',42.385423,12.643606),(57073,12,57,'<NAME>',0,'L676',42.241373,13.021695),(58001,12,58,'Affile',0,'A062',41.885966,13.100968),(58002,12,58,'Agosta',0,'A084',41.980485,13.036028),(58003,12,58,'<NAME>',0,'A132',41.728457,12.658943),(58004,12,58,'Allumiere',0,'A210',42.155750,11.900502),(58005,12,58,'<NAME>',0,'A297',42.091479,12.271546),(58006,12,58,'<NAME>',0,'A309',42.010276,12.990232),(58007,12,58,'Anzio',0,'A323',41.449596,12.619725),(58008,12,58,'<NAME>',0,'A370',41.878652,13.116372),(58009,12,58,'Ariccia',0,'A401',41.721108,12.672641),(58010,12,58,'Arsoli',0,'A446',42.041747,13.015212),(58011,12,58,'Artena',0,'A449',41.741883,12.911841),(58012,12,58,'Bellegra',0,'A749',41.879651,13.029065),(58013,12,58,'Bracciano',0,'B114',42.101798,12.176142),(58014,12,58,'<NAME>',0,'B472',42.018823,13.107916),(58015,12,58,'<NAME>',0,'B496',42.136887,12.381622),(58016,12,58,'<NAME>',0,'B576',42.140031,12.104733),(58017,12,58,'Canterano',0,'B635',41.942383,13.037410),(58018,12,58,'Capena',0,'B649',42.140908,12.539405),(58019,12,58,'<NAME>',0,'B687',41.861698,12.951107),(58020,12,58,'<NAME>',0,'B828',41.608664,13.082191),(58021,12,58,'Casape',0,'B932',41.906567,12.885372),(58022,12,58,'<NAME>',0,'C116',41.749793,12.648519),(58023,12,58,'<NAME>',0,'C203',41.975515,12.869667),(58024,12,58,'<NAME>',0,'C237',42.127031,12.500719),(58025,12,58,'<NAME>',0,'C266',41.845646,12.895894),(58026,12,58,'Cave',0,'C390',41.818214,12.929124),(58027,12,58,'<NAME>',0,'C518',41.940618,12.982821),(58028,12,58,'<NAME>',0,'C543',41.988336,13.068261),(58029,12,58,'Cerveteri',0,'C552',41.996700,12.097400),(58030,12,58,'Ciciliano',0,'C677',41.959962,12.940843),(58031,12,58,'<NAME>',0,'C702',42.049462,12.961709),(58032,12,58,'Civitavecchia',0,'C773',42.092424,11.795413),(58033,12,58,'<NAME>',0,'C784',42.195774,12.580983),(58034,12,58,'Colleferro',0,'C858',41.727253,13.003784),(58035,12,58,'Colonna',0,'C900',41.832827,12.753355),(58036,12,58,'<NAME>',0,'D561',42.170257,12.592252),(58037,12,58,'Filacciano',0,'D586',42.255798,12.600365),(58038,12,58,'Formello',0,'D707',42.082003,12.403699),(58039,12,58,'Frascati',0,'D773',41.808521,12.676104),(58040,12,58,'<NAME>',0,'D875',41.870829,12.826170),(58041,12,58,'Gavignano',0,'D945',41.700730,13.048690),(58042,12,58,'Genazzano',0,'D964',41.836141,12.973345),(58043,12,58,'<NAME>',0,'D972',41.708883,12.686584),(58044,12,58,'Gerano',0,'D978',41.933722,12.993436),(58045,12,58,'Gorga',0,'E091',41.657118,13.100373),(58046,12,58,'Grottaferrata',0,'E204',41.786566,12.673591),(58047,12,58,'<NAME>',0,'E263',41.993969,12.724505),(58048,12,58,'Jenne',0,'E382',41.890681,13.166366),(58049,12,58,'Labico',0,'E392',41.786371,12.885727),(58050,12,58,'Lanuvio',0,'C767',41.675393,12.698026),(58051,12,58,'Licenza',0,'E576',42.072783,12.900449),(58052,12,58,'<NAME>',0,'E813',42.159940,12.436433),(58053,12,58,'Mandela',0,'B632',42.030103,12.923102),(58054,12,58,'Manziana',0,'E900',42.131811,12.126541),(58055,12,58,'<NAME>',0,'E908',41.992666,13.014662),(58056,12,58,'Marcellina',0,'E924',42.023254,12.806723),(58057,12,58,'Marino',0,'E958',41.770087,12.658537),(58058,12,58,'<NAME>',0,'F064',42.206050,12.400314),(58059,12,58,'Mentana',0,'F127',42.032374,12.642426),(58060,12,58,'<NAME>',0,'F477',41.807588,12.736189),(58061,12,58,'Monteflavio',0,'F504',42.106937,12.827936),(58062,12,58,'Montelanico',0,'F534',41.648895,13.038851),(58063,12,58,'Montelibretti',0,'F545',42.135544,12.737962),(58064,12,58,'<NAME>',0,'F590',41.818187,12.715251),(58065,12,58,'Monterotondo',0,'F611',42.051779,12.620287),(58066,12,58,'<NAME>',0,'F692',42.141378,12.804178),(58067,12,58,'Moricone',0,'F730',42.119571,12.771172),(58068,12,58,'Morlupo',0,'F734',42.148904,12.503059),(58069,12,58,'Nazzano',0,'F857',42.229856,12.596062),(58070,12,58,'Nemi',0,'F865',41.719676,12.716724),(58071,12,58,'Nerola',0,'F871',42.160905,12.786913),(58072,12,58,'Nettuno',0,'F880',41.457731,12.665491),(58073,12,58,'<NAME>',0,'G022',41.860648,13.031221),(58074,12,58,'Palestrina',0,'G274',41.838344,12.888712),(58075,12,58,'<NAME>',0,'G293',42.063022,12.770767),(58076,12,58,'Percile',0,'G444',42.094264,12.910573),(58077,12,58,'Pisoniano',0,'G704',41.905661,12.959524),(58078,12,58,'Poli',0,'G784',41.888488,12.895413),(58079,12,58,'Pomezia',0,'G811',41.669337,12.502344),(58080,12,58,'<NAME>',0,'G874',42.255999,12.569196),(58081,12,58,'Riano',0,'H267',42.094305,12.516113),(58082,12,58,'<NAME>',0,'H288',42.207441,12.483966),(58083,12,58,'Riofreddo',0,'H300',42.059590,12.997822),(58084,12,58,'<NAME>',0,'H387',41.957104,13.020678),(58085,12,58,'<NAME>',0,'H401',41.846842,12.944285),(58086,12,58,'<NAME>',0,'H404',41.767350,12.711235),(58087,12,58,'Roccagiovine',0,'H411',42.049887,12.899303),(58088,12,58,'<NAME>',0,'H432',41.788437,12.766157),(58089,12,58,'<NAME>',0,'H441',41.910733,13.024859),(58090,12,58,'Roiate',0,'H494',41.874801,13.065712),(58091,12,58,'Roma',1,'H501',41.902784,12.496366),(58092,12,58,'Roviano',0,'H618',42.026225,12.993674),(58093,12,58,'Sacrofano',0,'H658',42.108210,12.451176),(58094,12,58,'Sambuci',0,'H745',41.987691,12.938633),(58095,12,58,'<NAME>',0,'H942',41.920439,12.874729),(58096,12,58,'<NAME>',0,'I125',42.012602,12.837894),(58097,12,58,'<NAME>',0,'I255',42.033504,11.853606),(58098,12,58,'<NAME>',0,'I284',42.034607,12.714149),(58099,12,58,'Sant\'Oreste',0,'I352',42.235913,12.517715),(58100,12,58,'<NAME>',0,'I400',41.884154,12.974745),(58101,12,58,'Saracinesco',0,'I424',42.003117,12.953347),(58102,12,58,'Segni',0,'I573',41.691240,13.022027),(58103,12,58,'Subiaco',0,'I992',41.924653,13.093669),(58104,12,58,'Tivoli',0,'L182',41.959817,12.802226),(58105,12,58,'Tolfa',0,'L192',42.149706,11.938065),(58106,12,58,'<NAME>',0,'L302',42.237015,12.615079),(58107,12,58,'<NAME>',0,'L401',42.157563,12.243143),(58108,12,58,'Vallepietra',0,'L611',41.925711,13.230550),(58109,12,58,'Vallinfreda',0,'L625',42.086474,12.995964),(58110,12,58,'Valmontone',0,'L639',41.774504,12.919047),(58111,12,58,'Velletri',0,'L719',41.686842,12.778535),(58112,12,58,'Vicovaro',0,'L851',42.017999,12.905350),(58113,12,58,'<NAME>',0,'M095',42.098879,13.007629),(58114,12,58,'Zagarolo',0,'M141',41.837185,12.833262),(58115,12,58,'Lariano',0,'M207',41.724451,12.830541),(58116,12,58,'Ladispoli',0,'M212',41.949897,12.076105),(58117,12,58,'Ardea',0,'M213',41.607969,12.543259),(58118,12,58,'Ciampino',0,'M272',41.802425,12.602139),(58119,12,58,'<NAME>',0,'M295',41.818564,12.797919),(58120,12,58,'Fiumicino',0,'M297',41.773541,12.239712),(58122,12,58,'<NAME>',0,'M309',42.000754,12.631924),(59001,12,59,'Aprilia',0,'A341',41.594402,12.656031),(59002,12,59,'Bassiano',0,'A707',41.552207,13.026961),(59003,12,59,'Campodimele',0,'B527',41.386974,13.532632),(59004,12,59,'Castelforte',0,'C104',41.298772,13.822532),(59005,12,59,'Cisterna di Latina',0,'C740',41.588941,12.829612),(59006,12,59,'Cori',0,'D003',41.644507,12.912999),(59007,12,59,'Fondi',0,'D662',41.359119,13.426568),(59008,12,59,'Formia',0,'D708',41.255996,13.606867),(59009,12,59,'Gaeta',0,'D843',41.210730,13.571429),(59010,12,59,'Itri',0,'E375',41.290437,13.532163),(59011,12,59,'Latina',1,'E472',41.467567,12.903597),(59012,12,59,'Lenola',0,'E527',41.409124,13.458688),(59013,12,59,'Maenza',0,'E798',41.523144,13.182108),(59014,12,59,'Minturno',0,'F224',41.265743,13.744364),(59015,12,59,'<NAME>',0,'F616',41.347665,13.353792),(59016,12,59,'Norma',0,'F937',41.584572,12.975238),(59017,12,59,'Pontinia',0,'G865',41.404399,13.043743),(59018,12,59,'Ponza',0,'G871',40.895574,12.958975),(59019,12,59,'Priverno',0,'G698',41.469922,13.183253),(59020,12,59,'Prossedi',0,'H076',41.517681,13.260898),(59021,12,59,'Roccagorga',0,'H413',41.527144,13.155534),(59022,12,59,'<NAME>',0,'H421',41.677779,12.920815),(59023,12,59,'<NAME>',0,'H444',41.480107,13.214752),(59024,12,59,'Sabaudia',0,'H647',41.301582,13.027576),(59025,12,59,'<NAME>',0,'H836',41.259475,13.093317),(59026,12,59,'<NAME>',0,'I339',41.298891,13.812618),(59027,12,59,'Sermoneta',0,'I634',41.549971,12.983687),(59028,12,59,'Sezze',0,'I712',41.499416,13.061758),(59029,12,59,'Sonnino',0,'I832',41.415979,13.241605),(59030,12,59,'Sperlonga',0,'I892',41.263674,13.427141),(59031,12,59,'<NAME>',0,'I902',41.305769,13.736182),(59032,12,59,'Terracina',0,'L120',41.296373,13.233266),(59033,12,59,'Ventotene',0,'L742',40.798310,13.432064),(60001,12,60,'Acquafondata',0,'A032',41.542771,13.950475),(60002,12,60,'Acuto',0,'A054',41.792580,13.173151),(60003,12,60,'Alatri',0,'A123',41.725294,13.341204),(60004,12,60,'Alvito',0,'A244',41.690144,13.748193),(60005,12,60,'Amaseno',0,'A256',41.469558,13.333046),(60006,12,60,'Anagni',0,'A269',41.745324,13.151364),(60007,12,60,'Aquino',0,'A348',41.499364,13.703971),(60008,12,60,'Arce',0,'A363',41.585568,13.573086),(60009,12,60,'Arnara',0,'A421',41.584251,13.389994),(60010,12,60,'Arpino',0,'A433',41.645135,13.612625),(60011,12,60,'Atina',0,'A486',41.619337,13.801560),(60012,12,60,'Ausonia',0,'A502',41.357025,13.750744),(60013,12,60,'<NAME>',0,'A763',41.579293,13.810505),(60014,12,60,'<NAME>',0,'A720',41.640925,13.472449),(60015,12,60,'Broccostella',0,'B195',41.704233,13.634573),(60016,12,60,'<NAME>',0,'B543',41.735506,13.682573),(60017,12,60,'Casalattico',0,'B862',41.621512,13.724906),(60018,12,60,'Casalvieri',0,'B919',41.632970,13.713623),(60019,12,60,'Cassino',0,'C034',41.490789,13.833378),(60020,12,60,'Castelliri',0,'C177',41.677272,13.549783),(60021,12,60,'<NAME>',0,'C223',41.384272,13.746295),(60022,12,60,'Castrocielo',0,'C340',41.530956,13.695992),(60023,12,60,'<NAME>',0,'C338',41.507701,13.405537),(60024,12,60,'Ceccano',0,'C413',41.569865,13.336405),(60025,12,60,'Ceprano',0,'C479',41.544355,13.512173),(60026,12,60,'Cervaro',0,'C545',41.481120,13.905114),(60027,12,60,'Colfelice',0,'C836',41.554575,13.604415),(60028,12,60,'Collepardo',0,'C864',41.764254,13.370851),(60029,12,60,'<NAME>',0,'C870',41.549543,13.692963),(60030,12,60,'<NAME>',0,'C998',41.343962,13.774687),(60031,12,60,'Esperia',0,'D440',41.383700,13.683635),(60032,12,60,'Falvaterra',0,'D483',41.505075,13.524081),(60033,12,60,'Ferentino',0,'D539',41.695679,13.257729),(60034,12,60,'Filettino',0,'D591',41.891487,13.318673),(60035,12,60,'Fiuggi',0,'A310',41.800240,13.224269),(60036,12,60,'<NAME>',0,'D667',41.620705,13.547402),(60037,12,60,'Fontechiari',0,'D682',41.668821,13.675500),(60038,12,60,'Frosinone',1,'D810',41.639601,13.342634),(60039,12,60,'Fumone',0,'D819',41.727129,13.289676),(60040,12,60,'Gallinaro',0,'D881',41.656014,13.798533),(60041,12,60,'<NAME>',0,'E057',41.541185,13.280557),(60042,12,60,'Guarcino',0,'E236',41.800750,13.310962),(60043,12,60,'<NAME>',0,'E340',41.677345,13.574871),(60044,12,60,'<NAME>',0,'F620',41.640920,13.511783),(60045,12,60,'Morolo',0,'F740',41.639226,13.198478),(60046,12,60,'Paliano',0,'G276',41.805615,13.054597),(60047,12,60,'Pastena',0,'G362',41.469836,13.491688),(60048,12,60,'Patrica',0,'G374',41.591680,13.242755),(60049,12,60,'Pescosolido',0,'G500',41.749446,13.656002),(60050,12,60,'Picinisco',0,'G591',41.648291,13.866845),(60051,12,60,'Pico',0,'G592',41.451432,13.558028),(60052,12,60,'<NAME>',0,'G598',41.495495,13.750909),(60053,12,60,'Piglio',0,'G659',41.829844,13.140749),(60054,12,60,'<NAME>',0,'G662',41.438190,13.788097),(60055,12,60,'Pofi',0,'G749',41.566485,13.413373),(60056,12,60,'Pontecorvo',0,'G838',41.454568,13.663767),(60057,12,60,'<NAME>',0,'G935',41.694546,13.696617),(60058,12,60,'Ripi',0,'H324',41.611021,13.426307),(60059,12,60,'<NAME>',0,'H393',41.585924,13.585828),(60060,12,60,'Roccasecca',0,'H443',41.552683,13.670393),(60061,12,60,'<NAME>',0,'H779',41.612928,13.928984),(60062,12,60,'<NAME>',0,'H824',41.708903,13.812641),(60063,12,60,'<NAME>',0,'H880',41.407589,13.765525),(60064,12,60,'<NAME>',0,'H917',41.500235,13.557884),(60065,12,60,'<NAME>',0,'I256',41.387843,13.869707),(60066,12,60,'<NAME>',0,'I265',41.370276,13.841738),(60067,12,60,'Sant\'Apollinare',0,'I302',41.405691,13.827960),(60068,12,60,'<NAME>',0,'I321',41.536077,13.873508),(60069,12,60,'Santopadre',0,'I351',41.603157,13.634890),(60070,12,60,'<NAME>',0,'I408',41.460182,13.931941),(60071,12,60,'Serrone',0,'I669',41.841559,13.094476),(60072,12,60,'Settefrati',0,'I697',41.668183,13.850924),(60073,12,60,'Sgurgola',0,'I716',41.671330,13.148129),(60074,12,60,'Sora',0,'I838',41.718854,13.613049),(60075,12,60,'Strangolagalli',0,'I973',41.600305,13.495110),(60076,12,60,'Supino',0,'L009',41.409638,14.624070),(60077,12,60,'Terelle',0,'L105',41.553137,13.779509),(60078,12,60,'<NAME>',0,'L243',41.786755,13.267458),(60079,12,60,'Torrice',0,'L290',41.631540,13.397075),(60080,12,60,'<NAME>',0,'L398',41.861001,13.247647),(60081,12,60,'Trivigliano',0,'L437',41.775654,13.272257),(60082,12,60,'Vallecorsa',0,'L598',41.445224,13.403045),(60083,12,60,'Vallemaio',0,'L605',41.365586,13.811211),(60084,12,60,'Vallerotonda',0,'L614',41.552048,13.911021),(60085,12,60,'Veroli',0,'L780',41.696018,13.412892),(60086,12,60,'Vicalvi',0,'L836',41.676626,13.705804),(60087,12,60,'<NAME>',0,'L843',41.777390,13.341720),(60088,12,60,'Villa Latina',0,'A081',41.619959,13.834336),(60089,12,60,'<NAME>',0,'L905',41.513199,13.773824),(60090,12,60,'<NAME>',0,'I364',41.515893,13.312384),(60091,12,60,'Viticuso',0,'M083',41.523924,13.971476),(61001,15,61,'Ailano',0,'A106',41.391372,14.207422),(61002,15,61,'Alife',0,'A200',41.327402,14.333626),(61003,15,61,'Alvignano',0,'A243',41.249542,14.332370),(61004,15,61,'Arienzo',0,'A403',41.021816,14.500005),(61005,15,61,'Aversa',0,'A512',40.973174,14.207669),(61006,15,61,'Baia e Latina',0,'A579',41.301436,14.257036),(61007,15,61,'Bellona',0,'A755',41.162521,14.234219),(61008,15,61,'Caianello',0,'B361',41.294744,14.085061),(61009,15,61,'Caiazzo',0,'B362',41.178408,14.364699),(61010,15,61,'<NAME>',0,'B445',41.221690,14.142836),(61011,15,61,'Camigliano',0,'B477',41.180738,14.211868),(61012,15,61,'<NAME>',0,'B581',41.074422,14.026825),(61013,15,61,'Capodrise',0,'B667',41.043612,14.299511),(61014,15,61,'<NAME>',0,'B704',41.468379,14.147829),(61015,15,61,'Capua',0,'B715',41.106126,14.213049),(61016,15,61,'Carinaro',0,'B779',40.984452,14.218948),(61017,15,61,'Carinola',0,'B781',41.188806,13.976744),(61018,15,61,'Casagiove',0,'B860',41.085163,14.310832),(61019,15,61,'<NAME>',0,'B872',41.010706,14.131947),(61020,15,61,'Casaluce',0,'B916',41.000002,14.197556),(61021,15,61,'Casapulla',0,'B935',41.074538,14.286327),(61022,15,61,'Caserta',1,'B963',41.072348,14.331134),(61023,15,61,'<NAME>',0,'B494',41.182503,14.450785),(61024,15,61,'<NAME>',0,'C097',41.204247,14.296134),(61025,15,61,'<NAME>',0,'C178',41.368274,14.376857),(61026,15,61,'<NAME>',0,'C211',41.119962,14.358377),(61027,15,61,'<NAME>',0,'C291',41.034785,13.942285),(61028,15,61,'Cervino',0,'C558',41.042321,14.422206),(61029,15,61,'Cesa',0,'C561',40.964140,14.230682),(61030,15,61,'Ciorlano',0,'C716',41.449988,14.159615),(61031,15,61,'<NAME>',0,'C939',41.333740,13.990608),(61032,15,61,'Curti',0,'D228',41.075228,14.273998),(61033,15,61,'Dragoni',0,'D361',41.275580,14.302290),(61034,15,61,'Fontegreca',0,'D683',41.458199,14.188610),(61035,15,61,'Formicola',0,'D709',41.210421,14.232743),(61036,15,61,'Francolise',0,'D769',41.185122,14.054436),(61037,15,61,'Frignano',0,'D799',40.995589,14.182139),(61038,15,61,'<NAME>',0,'D884',41.464601,14.225908),(61039,15,61,'Galluccio',0,'D886',41.353520,13.955050),(61040,15,61,'<NAME>',0,'E011',41.202579,14.194872),(61041,15,61,'<NAME>',0,'E039',41.299736,14.444566),(61042,15,61,'Grazzanise',0,'E158',41.090748,14.102753),(61043,15,61,'<NAME>',0,'E173',40.981238,14.232810),(61044,15,61,'Letino',0,'E554',41.453046,14.253711),(61045,15,61,'Liberi',0,'E570',41.227816,14.291548),(61046,15,61,'Lusciano',0,'E754',40.967627,14.190974),(61047,15,61,'<NAME>',0,'E784',41.062664,14.274305),(61048,15,61,'Maddaloni',0,'E791',41.036703,14.381239),(61049,15,61,'Marcianise',0,'E932',41.031087,14.299542),(61050,15,61,'<NAME>',0,'E998',41.318887,14.050567),(61051,15,61,'<NAME>',0,'F203',41.404623,13.983158),(61052,15,61,'Mondragone',0,'F352',41.114799,13.893493),(61053,15,61,'<NAME>',0,'G130',40.964444,14.269166),(61054,15,61,'Parete',0,'G333',40.957533,14.166136),(61055,15,61,'Pastorano',0,'G364',41.182587,14.200180),(61056,15,61,'<NAME>',0,'G541',41.165393,14.337426),(61057,15,61,'<NAME>',0,'G596',41.355182,14.370739),(61058,15,61,'Pietramelara',0,'G620',41.272584,14.187255),(61059,15,61,'Pietravairano',0,'G630',41.326452,14.168337),(61060,15,61,'<NAME>',0,'G661',41.190945,14.173576),(61061,15,61,'Pontelatone',0,'G849',41.194323,14.249736),(61062,15,61,'<NAME>',0,'G903',41.052432,14.282639),(61063,15,61,'<NAME>',0,'G991',41.433040,14.203366),(61064,15,61,'Pratella',0,'G995',41.404798,14.178484),(61065,15,61,'Presenzano',0,'H045',41.375996,14.077973),(61066,15,61,'Raviscanina',0,'H202',41.370831,14.242118),(61067,15,61,'Recale',0,'H210',41.050057,14.299413),(61068,15,61,'Riardo',0,'H268',41.263292,14.151182),(61069,15,61,'<NAME>',0,'H398',41.388921,13.907307),(61070,15,61,'Roccamonfina',0,'H423',41.292810,13.985123),(61071,15,61,'Roccaromana',0,'H436',41.275176,14.222345),(61072,15,61,'<NAME>',0,'H459',41.235807,14.152415),(61073,15,61,'Ruviano',0,'H165',41.210879,14.409572),(61074,15,61,'<NAME>',0,'H798',40.998856,14.132079),(61075,15,61,'<NAME>',0,'H834',41.017828,14.488886),(61076,15,61,'<NAME>',0,'H939',41.385401,14.373594),(61077,15,61,'<NAME>',0,'H978',40.985502,14.175522),(61078,15,61,'<NAME>',0,'I056',41.052601,14.335306),(61079,15,61,'<NAME>',0,'I113',41.445476,13.963617),(61080,15,61,'<NAME>',0,'I130',41.336839,14.393008),(61081,15,61,'<NAME>',0,'I131',41.083364,14.272386),(61082,15,61,'<NAME>',0,'I233',41.027074,14.469433),(61083,15,61,'<NAME>',0,'I234',41.082087,14.254187),(61084,15,61,'<NAME>',0,'I247',41.092393,14.129190),(61085,15,61,'<NAME>',0,'I261',41.073403,14.225286),(61086,15,61,'<NAME>',0,'I273',41.362691,14.259756),(61087,15,61,'Sant\'Arpino',0,'I306',40.957898,14.252956),(61088,15,61,'<NAME>',0,'I676',41.238326,13.932587),(61089,15,61,'Sparanise',0,'I885',41.193396,14.099336),(61090,15,61,'Succivo',0,'I993',40.965945,14.253765),(61091,15,61,'Teano',0,'L083',41.249278,14.068238),(61092,15,61,'Teverola',0,'L155',40.992217,14.207542),(61093,15,61,'<NAME>',0,'L205',41.340307,14.024648),(61094,15,61,'Trentola-Ducenta',0,'L379',40.976881,14.175732),(61095,15,61,'<NAME>',0,'L540',41.336049,14.126890),(61096,15,61,'<NAME>',0,'L594',41.425358,14.256156),(61097,15,61,'<NAME>',0,'L591',41.079251,14.413974),(61098,15,61,'<NAME>',0,'D801',41.001567,14.151768),(61099,15,61,'<NAME>',0,'L844',41.012853,14.076483),(61100,15,61,'Vitulazio',0,'M092',41.164028,14.216128),(61101,15,61,'<NAME>',0,'D471',41.161186,13.946566),(61102,15,61,'Cellole',0,'M262',41.203122,13.853429),(61103,15,61,'Casapesenna',0,'M260',40.991603,14.142680),(61104,15,61,'<NAME>',0,'F043',41.037379,14.340989),(62001,15,62,'Airola',0,'A110',41.065518,14.557724),(62002,15,62,'Amorosi',0,'A265',41.202273,14.462127),(62003,15,62,'Apice',0,'A328',41.119443,14.931139),(62004,15,62,'Apollosa',0,'A330',41.092886,14.698594),(62005,15,62,'Arpaia',0,'A431',41.038424,14.553189),(62006,15,62,'Arpaise',0,'A432',41.029931,14.745309),(62007,15,62,'Baselice',0,'A696',41.392054,14.973230),(62008,15,62,'Benevento',1,'A783',41.129761,14.782621),(62009,15,62,'Bonea',0,'A970',41.075203,14.619177),(62010,15,62,'Bucciano',0,'B239',41.075489,14.573950),(62011,15,62,'Buonalbergo',0,'B267',41.222203,14.979307),(62012,15,62,'Calvi',0,'B444',41.073816,14.867333),(62013,15,62,'Campolattaro',0,'B541',41.287660,14.735496),(62014,15,62,'<NAME>',0,'B542',41.130873,14.647249),(62015,15,62,'Casalduni',0,'B873',41.260879,14.696215),(62016,15,62,'<NAME>',0,'C106',41.299399,15.085250),(62017,15,62,'Castelpagano',0,'C245',41.400286,14.807633),(62018,15,62,'Castelpoto',0,'C250',41.145107,14.703938),(62019,15,62,'Castelvenere',0,'C280',41.234533,14.545133),(62020,15,62,'Castelvetere in Val Fortore',0,'C284',41.442826,14.935975),(62021,15,62,'Cautano',0,'C359',41.149958,14.643747),(62022,15,62,'Ceppaloni',0,'C476',41.045200,14.761255),(62023,15,62,'<NAME>',0,'C525',41.284833,14.560600),(62024,15,62,'Circello',0,'C719',41.354383,14.811152),(62025,15,62,'<NAME>',0,'C846',41.364690,14.833057),(62026,15,62,'Cusano Mutri',0,'D230',41.338853,14.507173),(62027,15,62,'Dugenta',0,'D380',41.131354,14.452790),(62028,15,62,'Durazzano',0,'D386',41.061680,14.448298),(62029,15,62,'Faicchio',0,'D469',41.278653,14.480582),(62030,15,62,'Foglianise',0,'D644',41.166939,14.665086),(62031,15,62,'<NAME>',0,'D650',41.353168,14.980978),(62032,15,62,'Forchia',0,'D693',41.030425,14.536490),(62033,15,62,'<NAME>',0,'D755',41.259656,14.785167),(62034,15,62,'<NAME>',0,'D756',41.244912,14.761617),(62035,15,62,'<NAME>',0,'D784',41.157054,14.527965),(62036,15,62,'<NAME>',0,'E034',41.279394,15.042266),(62037,15,62,'<NAME>',0,'E249',41.256377,14.599385),(62038,15,62,'Limatola',0,'E589',41.141747,14.392945),(62039,15,62,'Melizzano',0,'F113',41.160924,14.505312),(62040,15,62,'Moiano',0,'F274',41.081422,14.542875),(62041,15,62,'Molinara',0,'F287',41.290909,14.910316),(62042,15,62,'<NAME>',0,'F494',41.324076,15.008868),(62043,15,62,'Montesarchio',0,'F636',41.063228,14.638047),(62044,15,62,'Morcone',0,'F717',41.339770,14.665455),(62045,15,62,'Paduli',0,'G227',41.163428,14.878230),(62046,15,62,'<NAME>',0,'G243',41.244290,14.866374),(62047,15,62,'Pannarano',0,'G311',41.011404,14.703228),(62048,15,62,'Paolisi',0,'G318',41.037135,14.579045),(62049,15,62,'Paupisi',0,'G386',41.195136,14.666507),(62050,15,62,'<NAME>',0,'G494',41.234782,14.810419),(62051,15,62,'Pietraroja',0,'G626',41.346342,14.550346),(62052,15,62,'Pietrelcina',0,'G631',41.197575,14.848217),(62053,15,62,'Ponte',0,'G827',44.794791,10.324628),(62054,15,62,'Pontelandolfo',0,'G848',41.286918,14.695030),(62055,15,62,'Puglianello',0,'H087',41.223156,14.449503),(62056,15,62,'Reino',0,'H227',41.292997,14.824167),(62057,15,62,'<NAME>',0,'H764',41.411643,15.014293),(62058,15,62,'<NAME>',0,'H894',41.061217,14.851136),(62059,15,62,'<NAME>',0,'H898',41.270964,14.920189),(62060,15,62,'<NAME>',0,'H953',41.076335,14.758019),(62061,15,62,'<NAME>',0,'H955',41.277397,14.541787),(62062,15,62,'<NAME>',0,'H967',41.252077,14.628492),(62063,15,62,'<NAME>',0,'H973',41.259996,14.635245),(62064,15,62,'<NAME>',0,'H984',41.309193,14.879092),(62065,15,62,'<NAME>',0,'I002',41.066749,14.836875),(62066,15,62,'<NAME>',0,'I049',41.053236,14.857067),(62067,15,62,'<NAME>',0,'I062',41.071992,14.823245),(62068,15,62,'<NAME>',0,'I145',41.234931,14.496240),(62069,15,62,'<NAME>',0,'I179',41.386813,14.732987),(62070,15,62,'<NAME>',0,'I197',41.089556,14.499884),(62071,15,62,'<NAME>',0,'I277',41.070610,14.804475),(62072,15,62,'Sassinoro',0,'I455',41.374609,14.663244),(62073,15,62,'Solopaca',0,'I809',41.192725,14.548419),(62074,15,62,'<NAME>',0,'L086',41.222014,14.534394),(62075,15,62,'<NAME>',0,'L185',41.127397,14.629921),(62076,15,62,'Torrecuso',0,'L254',41.188674,14.678125),(62077,15,62,'Vitulano',0,'M093',41.176563,14.648358),(62078,15,62,'<NAME>',0,'F557',41.166408,14.938621),(63001,15,63,'Acerra',0,'A024',40.944109,14.371438),(63002,15,63,'Afragola',0,'A064',40.923039,14.309304),(63003,15,63,'Agerola',0,'A068',40.638047,14.545216),(63004,15,63,'Anacapri',0,'A268',40.552838,14.213814),(63005,15,63,'Arzano',0,'A455',40.909576,14.265030),(63006,15,63,'Bacoli',0,'A535',40.794800,14.068526),(63007,15,63,'<NAME>\'Ischia',0,'A617',40.709077,13.914048),(63008,15,63,'Boscoreale',0,'B076',40.772759,14.481411),(63009,15,63,'Boscotrecase',0,'B077',40.774468,14.461170),(63010,15,63,'Brusciano',0,'B227',40.920846,14.423693),(63011,15,63,'Caivano',0,'B371',40.956764,14.304609),(63012,15,63,'Calvizzano',0,'B452',40.906831,14.188347),(63013,15,63,'Camposano',0,'B565',40.955672,14.531120),(63014,15,63,'Capri',0,'B696',40.553201,14.222154),(63015,15,63,'<NAME>',0,'B740',40.872798,14.578680),(63016,15,63,'Cardito',0,'B759',40.946398,14.299421),(63017,15,63,'<NAME>',0,'B905',40.909221,14.339994),(63018,15,63,'Casamarciano',0,'B922',40.930141,14.552121),(63019,15,63,'<NAME>',0,'B924',40.748060,13.904524),(63020,15,63,'Casandrino',0,'B925',40.935220,14.245930),(63021,15,63,'Casavatore',0,'B946',40.900255,14.277275),(63022,15,63,'<NAME>',0,'B980',40.694951,14.530136),(63023,15,63,'Casoria',0,'B990',40.907598,14.292825),(63024,15,63,'<NAME>',0,'C129',40.695786,14.482844),(63025,15,63,'<NAME>',0,'C188',40.916188,14.410598),(63026,15,63,'Cercola',0,'C495',40.857578,14.353788),(63027,15,63,'Cicciano',0,'C675',40.962361,14.537940),(63028,15,63,'Cimitile',0,'C697',40.939829,14.529210),(63029,15,63,'Comiziano',0,'C929',40.952221,14.553671),(63030,15,63,'Crispano',0,'D170',40.954309,14.286080),(63031,15,63,'Forio',0,'D702',40.738291,13.860551),(63032,15,63,'Frattamaggiore',0,'D789',40.941629,14.275962),(63033,15,63,'Frattaminore',0,'D790',40.953791,14.271779),(63034,15,63,'<NAME>',0,'E054',40.928564,14.203208),(63035,15,63,'Gragnano',0,'E131',40.685851,14.519397),(63036,15,63,'<NAME>',0,'E224',40.937512,14.260109),(63037,15,63,'Ischia',0,'E329',40.737930,13.948618),(63038,15,63,'<NAME>',0,'E396',40.750288,13.890354),(63039,15,63,'Lettere',0,'E557',40.705804,14.544697),(63040,15,63,'Liveri',0,'E620',40.905568,14.566200),(63041,15,63,'<NAME>',0,'E906',40.889959,14.191674),(63042,15,63,'Mariglianella',0,'E954',40.930311,14.438685),(63043,15,63,'Marigliano',0,'E955',40.924910,14.456246),(63044,15,63,'<NAME>',0,'F030',40.608875,14.341385),(63045,15,63,'<NAME>',0,'F111',40.918679,14.233050),(63046,15,63,'Meta',0,'F162',40.642887,14.417340),(63047,15,63,'<NAME>',0,'F488',40.796148,14.051200),(63048,15,63,'<NAME>',0,'F799',40.909335,14.206645),(63049,15,63,'Napoli',1,'F839',40.851775,14.268124),(63050,15,63,'Nola',0,'F924',40.927088,14.528886),(63051,15,63,'Ottaviano',0,'G190',40.852047,14.477243),(63052,15,63,'<NAME>',0,'G283',40.870719,14.557840),(63053,15,63,'<NAME>',0,'G568',40.635024,14.416643),(63054,15,63,'Pimonte',0,'G670',40.673433,14.511874),(63055,15,63,'Poggiomarino',0,'G762',40.800820,14.535271),(63056,15,63,'<NAME>',0,'G795',40.859290,14.389149),(63057,15,63,'<NAME>',0,'G812',40.910130,14.382912),(63058,15,63,'Pompei',0,'G813',40.746157,14.498934),(63059,15,63,'Portici',0,'G902',40.814122,14.339067),(63060,15,63,'Pozzuoli',0,'G964',40.845947,14.093286),(63061,15,63,'Procida',0,'H072',40.757841,14.015100),(63062,15,63,'Qualiano',0,'H101',40.918981,14.153489),(63063,15,63,'Quarto',0,'H114',40.878431,14.145242),(63064,15,63,'Ercolano',0,'H243',40.807920,14.348163),(63065,15,63,'Roccarainola',0,'H433',40.970589,14.560690),(63066,15,63,'<NAME>',0,'H860',40.860559,14.528070),(63067,15,63,'<NAME>',0,'H892',40.834483,14.344744),(63068,15,63,'<NAME>',0,'H931',40.834551,14.504801),(63069,15,63,'<NAME>',0,'I073',40.915373,14.545497),(63070,15,63,'<NAME>',0,'I151',40.839630,14.364821),(63071,15,63,'Sant\'Agnello',0,'I208',40.635104,14.399896),(63072,15,63,'Sant\'Anastasia',0,'I262',40.869022,14.402380),(63073,15,63,'Sant\'Antimo',0,'I293',40.943098,14.236840),(63074,15,63,'<NAME>',0,'I300',40.721890,14.543231),(63075,15,63,'<NAME>',0,'I391',40.925098,14.482095),(63076,15,63,'Saviano',0,'I469',40.906141,14.511140),(63077,15,63,'Scisciano',0,'I540',40.913075,14.478706),(63078,15,63,'<NAME>',0,'I652',40.709682,13.892323),(63079,15,63,'<NAME>',0,'I820',40.873010,14.438480),(63080,15,63,'Sorrento',0,'I862',40.626293,14.375799),(63081,15,63,'Striano',0,'I978',40.815689,14.575110),(63082,15,63,'Terzigno',0,'L142',40.803979,14.502169),(63083,15,63,'<NAME>',0,'L245',40.754055,14.450913),(63084,15,63,'<NAME>',0,'L259',40.789443,14.367461),(63085,15,63,'Tufino',0,'L460',40.955510,14.564320),(63086,15,63,'<NAME>',0,'L845',40.661498,14.427501),(63087,15,63,'Villaricca',0,'G309',40.920301,14.193597),(63088,15,63,'Visciano',0,'M072',40.925952,14.582200),(63089,15,63,'Volla',0,'M115',40.876702,14.341157),(63090,15,63,'<NAME>',0,'M273',40.718220,14.510184),(63091,15,63,'Trecase',0,'M280',40.771948,14.433681),(63092,15,63,'<NAME>',0,'M289',40.847521,14.373320),(64001,15,64,'<NAME>',0,'A101',40.887446,14.817734),(64002,15,64,'<NAME>',0,'A228',41.004969,14.779118),(64003,15,64,'Andretta',0,'A284',40.933020,15.324879),(64004,15,64,'Aquilonia',0,'A347',40.986550,15.481995),(64005,15,64,'<NAME>',0,'A399',41.154893,15.092276),(64006,15,64,'Atripalda',0,'A489',40.916910,14.830774),(64007,15,64,'Avella',0,'A508',40.957985,14.599449),(64008,15,64,'Avellino',1,'A509',40.914388,14.790612),(64009,15,64,'<NAME>',0,'A566',40.832048,15.069670),(64010,15,64,'Baiano',0,'A580',40.951693,14.619087),(64011,15,64,'Bisaccia',0,'A881',41.015335,15.375888),(64012,15,64,'Bonito',0,'A975',41.098505,15.001124),(64013,15,64,'Cairano',0,'B367',40.895771,15.368130),(64014,15,64,'Calabritto',0,'B374',40.782095,15.215464),(64015,15,64,'Calitri',0,'B415',40.900893,15.438008),(64016,15,64,'Candida',0,'B590',40.940008,14.871089),(64017,15,64,'Caposele',0,'B674',40.817076,15.221729),(64018,15,64,'<NAME>',0,'B706',40.958090,14.781265),(64019,15,64,'Carife',0,'B776',41.028332,15.209063),(64020,15,64,'Casalbore',0,'B866',41.232954,15.006133),(64021,15,64,'<NAME>',0,'B997',40.871980,15.027128),(64022,15,64,'<NAME>',0,'C058',41.047264,15.188012),(64023,15,64,'Castelfranci',0,'C105',40.928932,15.042965),(64024,15,64,'<NAME>',0,'C283',40.929257,14.986348),(64025,15,64,'Cervinara',0,'C557',41.020910,14.620890),(64026,15,64,'Cesinali',0,'C576',40.896253,14.827002),(64027,15,64,'Chianche',0,'C606',41.044256,14.790423),(64028,15,64,'<NAME>',0,'C659',40.931181,14.916992),(64029,15,64,'Contrada',0,'C971',41.871940,12.567380),(64030,15,64,'<NAME>',0,'C976',40.869450,15.330911),(64031,15,64,'Domicella',0,'D331',40.882036,14.589394),(64032,15,64,'Flumeri',0,'D638',41.076049,15.152000),(64033,15,64,'Fontanarosa',0,'D671',41.016520,15.020229),(64034,15,64,'Forino',0,'D701',40.862240,14.735301),(64035,15,64,'Frigento',0,'D798',41.011752,15.100758),(64036,15,64,'Gesualdo',0,'D998',41.006681,15.069998),(64037,15,64,'Greci',0,'E161',41.253023,15.169363),(64038,15,64,'Grottaminarda',0,'E206',41.072687,15.062332),(64039,15,64,'Grottolella',0,'E214',40.971521,14.787836),(64040,15,64,'<NAME>',0,'E245',40.950533,15.208149),(64041,15,64,'Lacedonia',0,'E397',41.049993,15.421065),(64042,15,64,'Lapio',0,'E448',40.980255,14.948492),(64043,15,64,'Lauro',0,'E487',40.880592,14.631627),(64044,15,64,'Lioni',0,'E605',40.874767,15.188815),(64045,15,64,'Luogosano',0,'E746',40.982757,14.996025),(64046,15,64,'Manocalzati',0,'E891',40.940057,14.846390),(64047,15,64,'<NAME>',0,'E997',40.902844,14.583578),(64048,15,64,'<NAME>',0,'F110',41.104922,15.050529),(64049,15,64,'Mercogliano',0,'F141',40.920576,14.739352),(64050,15,64,'<NAME>',0,'F230',41.043236,14.996743),(64051,15,64,'Montaguto',0,'F397',41.249636,15.248137),(64052,15,64,'<NAME>',0,'F448',41.193591,15.030668),(64053,15,64,'Montefalcione',0,'F491',40.960947,14.881880),(64054,15,64,'<NAME>',0,'F506',40.887245,14.714244),(64055,15,64,'Montefredane',0,'F511',40.962710,14.811510),(64056,15,64,'Montefusco',0,'F512',41.035267,14.852769),(64057,15,64,'Montella',0,'F546',40.840226,15.026301),(64058,15,64,'Montemarano',0,'F559',40.914539,14.998896),(64059,15,64,'Montemiletto',0,'F566',41.010585,14.909018),(64060,15,64,'Monteverde',0,'F660',40.999974,15.534767),(64063,15,64,'<NAME>',0,'F744',40.932728,15.242533),(64064,15,64,'Moschiano',0,'F762',40.873932,14.658633),(64065,15,64,'<NAME>',0,'F798',40.944044,14.633926),(64066,15,64,'Nusco',0,'F988',40.888265,15.089822),(64067,15,64,'Ospedaletto d\'Alpinolo',0,'G165',40.940345,14.742844),(64068,15,64,'Pago del Vallo di Lauro',0,'G242',40.898282,14.607108),(64069,15,64,'Parolise',0,'G340',40.930764,14.882775),(64070,15,64,'Paternopoli',0,'G370',40.972367,15.029180),(64071,15,64,'Pe<NAME>',0,'G519',41.031202,14.796428),(64072,15,64,'Pietradefusi',0,'G611',41.043052,14.883760),(64073,15,64,'Pietrastornina',0,'G629',40.992461,14.724730),(64074,15,64,'Prata di Principato Ultra',0,'G990',40.986074,14.840444),(64075,15,64,'Pratola Serra',0,'H006',40.987369,14.851785),(64076,15,64,'Quadrelle',0,'H097',40.949269,14.637154),(64077,15,64,'Quindici',0,'H128',40.863694,14.646781),(64078,15,64,'Roccabascerana',0,'H382',41.017174,14.718354),(64079,15,64,'<NAME>',0,'H438',40.949334,15.165492),(64080,15,64,'Rotondi',0,'H592',41.030693,14.596476),(64081,15,64,'<NAME>',0,'H733',40.920699,14.888062),(64082,15,64,'<NAME> sul Calore',0,'H975',40.965233,14.974487),(64083,15,64,'<NAME>',0,'I016',41.026179,14.662861),(64084,15,64,'<NAME>',0,'I034',40.874087,14.853479),(64085,15,64,'<NAME>',0,'I061',41.057552,15.202599),(64086,15,64,'San Potito Ultra',0,'I129',40.928537,14.871414),(64087,15,64,'San Sossio Baronia',0,'I163',41.069922,15.200638),(64088,15,64,'<NAME>',0,'I219',40.869405,14.877051),(64089,15,64,'<NAME>',0,'I264',40.844259,15.369635),(64090,15,64,'<NAME>',0,'I279',41.009823,14.992263),(64091,15,64,'Sant\'Angelo a Scala',0,'I280',40.971661,14.741548),(64092,15,64,'<NAME>',0,'I281',40.927797,15.177768),(64093,15,64,'<NAME>',0,'I301',41.026176,14.847106),(64095,15,64,'<NAME>',0,'I357',40.894263,14.867910),(64096,15,64,'<NAME>',0,'I471',41.228377,15.181418),(64097,15,64,'Scampitella',0,'I493',41.091134,15.299852),(64098,15,64,'Senerchia',0,'I606',40.739870,15.204848),(64099,15,64,'Serino',0,'I630',40.858691,14.862366),(64100,15,64,'Sirignano',0,'I756',40.949659,14.627261),(64101,15,64,'Solofra',0,'I805',40.832547,14.845631),(64102,15,64,'<NAME>',0,'I843',40.915479,14.887991),(64103,15,64,'Sperone',0,'I893',40.954586,14.602604),(64104,15,64,'Sturno',0,'I990',41.021776,15.109459),(64105,15,64,'Summonte',0,'L004',40.949666,14.744837),(64106,15,64,'Taurano',0,'L061',40.883517,14.636144),(64107,15,64,'Taurasi',0,'L062',41.007797,14.958970),(64108,15,64,'Teora',0,'L102',40.852668,15.257569),(64109,15,64,'<NAME>',0,'L214',40.939723,15.116120),(64110,15,64,'<NAME>',0,'L272',41.022719,14.909461),(64111,15,64,'Torrioni',0,'L301',41.033792,14.813918),(64112,15,64,'Trevico',0,'L399',41.045108,15.232678),(64113,15,64,'Tufo',0,'L461',41.266987,13.764400),(64114,15,64,'Vallata',0,'L589',41.036898,15.251169),(64115,15,64,'Vallesaccarda',0,'L616',41.065045,15.254937),(64116,15,64,'Venticano',0,'L739',41.045886,14.910382),(64117,15,64,'Villamaina',0,'L965',40.974325,15.092887),(64118,15,64,'<NAME>',0,'L973',41.113196,15.160319),(64119,15,64,'<NAME>',0,'M130',40.880245,14.918063),(64120,15,64,'Zungoli',0,'M203',41.124609,15.201389),(64121,15,64,'Montoro',0,'M330',43.455202,13.412846),(65001,15,65,'Acerno',0,'A023',40.737166,15.060466),(65002,15,65,'Agropoli',0,'A091',40.348683,14.991220),(65003,15,65,'Albanella',0,'A128',40.478163,15.114332),(65004,15,65,'Alfano',0,'A186',40.175572,15.419874),(65005,15,65,'<NAME>',0,'A230',40.531973,15.129103),(65006,15,65,'Amalfi',0,'A251',40.634003,14.602681),(65007,15,65,'Angri',0,'A294',40.738107,14.571208),(65008,15,65,'Aquara',0,'A343',40.444839,15.251170),(65009,15,65,'Ascea',0,'A460',40.140054,15.185764),(65010,15,65,'<NAME>',0,'A484',40.454459,15.552218),(65011,15,65,'Atrani',0,'A487',40.635793,14.608620),(65012,15,65,'Auletta',0,'A495',40.557640,15.426930),(65013,15,65,'Baronissi',0,'A674',40.746241,14.770447),(65014,15,65,'Battipaglia',0,'A717',40.609375,14.980836),(65015,15,65,'Bellosguardo',0,'A756',40.424469,15.314530),(65016,15,65,'Bracigliano',0,'B115',40.823190,14.708468),(65017,15,65,'Buccino',0,'B242',40.632855,15.381279),(65018,15,65,'Buonabitacolo',0,'B266',40.270279,15.618957),(65019,15,65,'Caggiano',0,'B351',40.565467,15.496286),(65020,15,65,'Calvanico',0,'B437',40.774321,14.825918),(65021,15,65,'Camerota',0,'B476',40.031870,15.375139),(65022,15,65,'Campagna',0,'B492',40.667089,15.106811),(65023,15,65,'Campora',0,'B555',40.306767,15.292298),(65024,15,65,'Cannalonga',0,'B608',40.244192,15.297067),(65025,15,65,'Capaccio',0,'B644',40.424815,15.076970),(65026,15,65,'Casalbuono',0,'B868',40.214871,15.685792),(65027,15,65,'<NAME>',0,'B888',40.153280,15.621148),(65028,15,65,'<NAME>',0,'B895',40.190785,15.111008),(65029,15,65,'<NAME>',0,'B959',40.170428,15.542848),(65030,15,65,'Castelcivita',0,'C069',40.491747,15.233046),(65031,15,65,'Castellabate',0,'C125',40.282088,14.957415),(65032,15,65,'<NAME>',0,'C231',40.218013,15.177054),(65033,15,65,'<NAME>',0,'C235',40.819091,15.319704),(65034,15,65,'<NAME>',0,'C259',40.780231,14.701069),(65035,15,65,'<NAME>',0,'C262',40.416589,15.231675),(65036,15,65,'<NAME>',0,'C306',40.724181,14.848790),(65037,15,65,'<NAME>',0,'C361',40.696000,14.710742),(65038,15,65,'<NAME>',0,'C444',40.095727,15.400552),(65039,15,65,'Centola',0,'C470',40.065477,15.312017),(65040,15,65,'Ceraso',0,'C485',40.195724,15.255989),(65041,15,65,'Cetara',0,'C584',40.649791,14.699986),(65042,15,65,'Cicerale',0,'C676',40.343908,15.130343),(65043,15,65,'Colliano',0,'C879',40.724165,15.294318),(65044,15,65,'<NAME>',0,'C940',40.616324,14.575391),(65045,15,65,'Controne',0,'C973',40.508803,15.207327),(65046,15,65,'<NAME>',0,'C974',40.650042,15.239702),(65047,15,65,'Corbara',0,'C984',40.721182,14.597374),(65048,15,65,'<NAME>',0,'D011',40.439259,15.378503),(65049,15,65,'<NAME>',0,'D195',40.160879,15.308189),(65050,15,65,'Eboli',0,'D390',40.617923,15.056433),(65051,15,65,'Felitto',0,'D527',40.374656,15.241787),(65052,15,65,'Fisciano',0,'D615',40.773194,14.796561),(65053,15,65,'Furore',0,'D826',40.618986,14.553843),(65054,15,65,'Futani',0,'D832',40.152408,15.321950),(65055,15,65,'<NAME>',0,'E026',40.761980,14.880489),(65056,15,65,'<NAME>',0,'E027',40.716039,14.941328),(65057,15,65,'Gioi',0,'E037',40.288827,15.218463),(65058,15,65,'Giungano',0,'E060',40.394169,15.107908),(65059,15,65,'Ispani',0,'E365',40.087197,15.557296),(65060,15,65,'<NAME>',0,'E480',40.300545,15.041557),(65061,15,65,'Laurino',0,'E485',40.336210,15.335698),(65062,15,65,'Laurito',0,'E486',40.168002,15.407035),(65063,15,65,'Laviano',0,'E498',40.785295,15.305610),(65064,15,65,'Lustra',0,'E767',40.288888,15.066661),(65065,15,65,'<NAME>',0,'E814',40.347530,15.236366),(65066,15,65,'Maiori',0,'E839',40.651231,14.643365),(65067,15,65,'<NAME>',0,'F138',40.781567,14.752776),(65068,15,65,'Minori',0,'F223',40.649371,14.627188),(65069,15,65,'<NAME>',0,'F278',40.248270,15.268488),(65070,15,65,'<NAME>',0,'F426',40.161930,15.366035),(65071,15,65,'Montecorice',0,'F479',40.234575,14.983293),(65072,15,65,'<NAME>',0,'F480',40.681293,14.946944),(65073,15,65,'<NAME>',0,'F481',40.697199,14.974029),(65074,15,65,'<NAME>',0,'F507',40.364536,15.195580),(65075,15,65,'<NAME>',0,'F618',40.347445,15.549153),(65076,15,65,'<NAME>',0,'F625',40.276275,15.702875),(65077,15,65,'Morigerati',0,'F731',40.139735,15.554073),(65078,15,65,'Nocera Inferiore',0,'F912',40.746060,14.647489),(65079,15,65,'Nocera Superiore',0,'F913',40.750439,14.681506),(65080,15,65,'<NAME>',0,'F967',40.224704,15.286630),(65081,15,65,'<NAME>',0,'G011',40.351734,15.045601),(65082,15,65,'Olevano sul Tusciano',0,'G023',40.668304,15.026520),(65083,15,65,'<NAME>',0,'G039',40.693478,15.239159),(65084,15,65,'Omignano',0,'G063',40.248874,15.087828),(65085,15,65,'Orria',0,'G121',40.300273,15.171636),(65086,15,65,'Ottati',0,'G192',40.464601,15.308546),(65087,15,65,'Padula',0,'G226',40.340576,15.659821),(65088,15,65,'Pagani',0,'G230',40.741940,14.614595),(65089,15,65,'Palomonte',0,'G292',40.663875,15.293826),(65090,15,65,'Pellezzano',0,'G426',40.725311,14.757063),(65091,15,65,'Perdifumo',0,'G447',40.266309,15.017566),(65092,15,65,'Perito',0,'G455',40.297509,15.147571),(65093,15,65,'Pertosa',0,'G476',40.544344,15.451992),(65094,15,65,'Petina',0,'G509',40.533588,15.373418),(65095,15,65,'Piaggine',0,'G538',40.345505,15.378545),(65096,15,65,'Pisciotta',0,'G707',40.107524,15.234353),(65097,15,65,'Polla',0,'G793',40.514840,15.494814),(65098,15,65,'Pollica',0,'G796',40.191028,15.054593),(65099,15,65,'<NAME>',0,'G834',40.644842,14.875444),(65100,15,65,'Positano',0,'G932',40.628053,14.484981),(65101,15,65,'Postiglione',0,'G939',40.557731,15.231563),(65102,15,65,'Praiano',0,'G976',40.611732,14.533510),(65103,15,65,'<NAME>',0,'H062',40.328720,15.074233),(65104,15,65,'Ravello',0,'H198',40.649189,14.611711),(65105,15,65,'Ricigliano',0,'H277',40.667520,15.479528),(65106,15,65,'Roccadaspide',0,'H394',40.425401,15.189201),(65107,15,65,'Roccagloriosa',0,'H412',40.108622,15.431245),(65108,15,65,'Roccapiemonte',0,'H431',40.760590,14.693487),(65109,15,65,'Rofrano',0,'H485',40.212468,15.426588),(65110,15,65,'<NAME>',0,'H503',40.623109,15.436096),(65111,15,65,'Roscigno',0,'H564',40.399338,15.345912),(65112,15,65,'Rutino',0,'H644',40.299626,15.074965),(65113,15,65,'Sacco',0,'H654',40.379004,15.376832),(65114,15,65,'<NAME>',0,'H683',40.401916,15.590802),(65115,15,65,'Salento',0,'H686',40.250525,15.196540),(65116,15,65,'Salerno',1,'H703',40.682441,14.768096),(65117,15,65,'Salvitelle',0,'H732',40.590407,15.457513),(65118,15,65,'<NAME>',0,'H800',40.720189,14.872554),(65119,15,65,'<NAME>',0,'H907',40.050746,15.448213),(65120,15,65,'<NAME>',0,'H943',40.659479,15.403125),(65121,15,65,'<NAME>',0,'H977',40.703196,14.832621),(65122,15,65,'<NAME>',0,'I019',40.774942,14.590002),(65123,15,65,'<NAME>',0,'I031',40.224604,15.047736),(65124,15,65,'<NAME>',0,'I032',40.123882,15.290326),(65125,15,65,'<NAME>',0,'I089',40.458581,15.479958),(65126,15,65,'<NAME>',0,'I143',40.434222,15.463718),(65127,15,65,'<NAME>',0,'I253',40.104320,15.540545),(65128,15,65,'<NAME>',0,'I278',40.457431,15.343966),(65129,15,65,'Sant\'Arsenio',0,'I307',40.472260,15.482691),(65130,15,65,'<NAME>',0,'I317',40.732180,14.602443),(65131,15,65,'Santomenna',0,'I260',40.807478,15.320254),(65132,15,65,'<NAME>',0,'I377',40.791239,14.601692),(65133,15,65,'Sanza',0,'I410',40.244841,15.550223),(65134,15,65,'Sapri',0,'I422',40.073247,15.629011),(65135,15,65,'Sarno',0,'I438',40.810101,14.621581),(65136,15,65,'Sassano',0,'I451',40.337486,15.562459),(65137,15,65,'Scafati',0,'I483',40.760211,14.537760),(65138,15,65,'Scala',0,'I486',37.561406,15.106149),(65139,15,65,'Serramezzana',0,'I648',40.245892,15.033428),(65140,15,65,'Serre',0,'I666',40.582201,15.184903),(65141,15,65,'<NAME>',0,'I677',40.257288,15.074825),(65142,15,65,'Siano',0,'I720',40.803615,14.686756),(65143,15,65,'<NAME>',0,'M253',40.554400,15.310364),(65144,15,65,'<NAME>',0,'G887',40.229276,15.091646),(65145,15,65,'Stio',0,'I960',40.309824,15.251935),(65146,15,65,'Teggiano',0,'D292',40.378506,15.539377),(65147,15,65,'Torchiara',0,'L212',40.319491,15.055870),(65148,15,65,'Torraca',0,'L233',40.111222,15.635000),(65149,15,65,'<NAME>',0,'L274',40.131648,15.472033),(65150,15,65,'Tortorella',0,'L306',40.141661,15.604860),(65151,15,65,'Tramonti',0,'L323',40.690711,14.646263),(65152,15,65,'Trentinara',0,'L377',40.401004,15.115139),(65153,15,65,'<NAME>',0,'G540',40.345158,15.368227),(65154,15,65,'<NAME>',0,'L628',40.230521,15.265247),(65155,15,65,'Valva',0,'L656',40.739411,15.269049),(65156,15,65,'Vibonati',0,'L835',40.099976,15.581786),(65157,15,65,'<NAME>',0,'L860',40.667945,14.727874),(65158,15,65,'Bellizzi',0,'M294',40.620022,14.947862),(66001,13,66,'Acciano',0,'A018',42.175408,13.716818),(66002,13,66,'Aielli',0,'A100',42.081298,13.588356),(66003,13,66,'Alfedena',0,'A187',41.734528,14.033156),(66004,13,66,'<NAME>',0,'A318',41.995886,13.804079),(66005,13,66,'Ateleta',0,'A481',41.853814,14.194096),(66006,13,66,'Avezzano',0,'A515',42.028140,13.425564),(66007,13,66,'Balsorano',0,'A603',41.802098,13.573960),(66008,13,66,'Barete',0,'A656',42.450187,13.281116),(66009,13,66,'Barisciano',0,'A667',42.323262,13.592530),(66010,13,66,'Barrea',0,'A678',41.757755,13.989001),(66011,13,66,'Bisegna',0,'A884',41.920701,13.757420),(66012,13,66,'Bugnara',0,'B256',42.021987,13.860930),(66013,13,66,'<NAME>',0,'B358',42.461509,13.221038),(66014,13,66,'Calascio',0,'B382',42.326018,13.698515),(66015,13,66,'<NAME>',0,'B526',42.007734,14.047908),(66016,13,66,'Campotosto',0,'B569',42.557509,13.369022),(66017,13,66,'Canistro',0,'B606',41.940703,13.402081),(66018,13,66,'Cansano',0,'B624',42.002672,14.012613),(66019,13,66,'Capestrano',0,'B651',42.267459,13.767748),(66020,13,66,'Capistrello',0,'B656',41.968562,13.393248),(66021,13,66,'Capitignano',0,'B658',42.522119,13.296566),(66022,13,66,'Caporciano',0,'B672',42.248540,13.677404),(66023,13,66,'Cappadocia',0,'B677',42.007393,13.278410),(66024,13,66,'<NAME>',0,'B725',42.298963,13.683018),(66025,13,66,'Carsoli',0,'B842',42.100347,13.089427),(66026,13,66,'<NAME>',0,'C083',42.364704,13.726602),(66027,13,66,'<NAME>',0,'C090',42.097735,13.746295),(66028,13,66,'<NAME>',0,'C096',41.783991,14.108032),(66029,13,66,'Castellafiume',0,'C126',41.988610,13.332820),(66030,13,66,'<NAME>',0,'C278',42.311337,13.688331),(66031,13,66,'<NAME>',0,'C279',42.130497,13.730731),(66032,13,66,'Celano',0,'C426',42.082251,13.542987),(66033,13,66,'Cerchio',0,'C492',42.064295,13.600907),(66034,13,66,'<NAME>',0,'C766',41.887209,13.474538),(66035,13,66,'<NAME>',0,'C778',41.765363,13.942761),(66036,13,66,'<NAME>',0,'C783',41.913645,13.428624),(66037,13,66,'Cocullo',0,'C811',42.031991,13.775078),(66038,13,66,'Collarmele',0,'C844',42.064034,13.628380),(66039,13,66,'Collelongo',0,'C862',41.886536,13.583386),(66040,13,66,'Collepietro',0,'C866',42.222509,13.782339),(66041,13,66,'Corfinio',0,'C999',42.121911,13.840391),(66042,13,66,'<NAME>',0,'D465',42.260854,13.584006),(66043,13,66,'Fontecchio',0,'D681',42.229940,13.605335),(66044,13,66,'Fossa',0,'D736',42.295153,13.487559),(66045,13,66,'<NAME>',0,'D850',42.125795,13.702493),(66046,13,66,'<NAME>',0,'E040',41.954946,13.694458),(66047,13,66,'<NAME>',0,'E096',42.081477,13.772082),(66048,13,66,'Introdacqua',0,'E307',42.008221,13.897702),(66049,13,66,'L\'Aquila',1,'A345',42.349848,13.399509),(66050,13,66,'<NAME>',0,'E505',41.934504,13.686310),(66051,13,66,'<NAME>',0,'E723',41.961361,13.468765),(66052,13,66,'Lucoli',0,'E724',42.302543,13.327392),(66053,13,66,'<NAME>',0,'E811',42.091842,13.364915),(66054,13,66,'<NAME>',0,'F022',42.131142,13.428059),(66055,13,66,'<NAME>',0,'M255',42.147559,13.734972),(66056,13,66,'Montereale',0,'F595',42.525176,13.243860),(66057,13,66,'Morino',0,'F732',41.863868,13.457072),(66058,13,66,'Navelli',0,'F852',42.235994,13.728443),(66059,13,66,'Ocre',0,'F996',42.281357,13.458263),(66060,13,66,'Ofena',0,'G002',42.325001,13.756998),(66061,13,66,'Opi',0,'G079',41.780214,13.829695),(66062,13,66,'Oricola',0,'G102',42.048308,13.038884),(66063,13,66,'<NAME>',0,'G142',41.999062,13.730379),(66064,13,66,'Ortucchio',0,'G145',41.958826,13.645210),(66065,13,66,'Ovindoli',0,'G200',42.138972,13.517430),(66066,13,66,'Pacentro',0,'G210',42.051415,13.992911),(66067,13,66,'Pereto',0,'G449',42.056034,13.104490),(66068,13,66,'Pescasseroli',0,'G484',41.807851,13.788787),(66069,13,66,'Pescina',0,'G492',42.025400,13.650508),(66070,13,66,'Pescocostanzo',0,'G493',41.890210,14.065596),(66071,13,66,'<NAME>',0,'G524',41.975673,13.958613),(66072,13,66,'Pizzoli',0,'G726',42.436208,13.299146),(66073,13,66,'<NAME>',0,'G766',42.322179,13.542078),(66074,13,66,'<NAME>',0,'G992',42.277582,13.608015),(66075,13,66,'<NAME>',0,'H007',42.100060,13.878566),(66076,13,66,'Prezza',0,'H056',42.057055,13.833496),(66077,13,66,'Raiano',0,'H166',42.102857,13.813017),(66078,13,66,'Rivisondoli',0,'H353',41.868644,14.066914),(66079,13,66,'Roccacasale',0,'H389',42.123310,13.888296),(66080,13,66,'<NAME>',0,'H399',42.031867,13.070660),(66081,13,66,'<NAME>',0,'H400',42.237104,13.488665),(66082,13,66,'<NAME>',0,'H402',42.205521,13.523618),(66083,13,66,'<NAME>',0,'H429',41.934859,13.977354),(66084,13,66,'Roccaraso',0,'H434',41.851634,14.075428),(66085,13,66,'<NAME>',0,'H772',42.008210,13.627552),(66086,13,66,'<NAME> Perillis',0,'H773',42.182766,13.769448),(66087,13,66,'<NAME>',0,'H819',42.289209,13.553942),(66088,13,66,'<NAME>',0,'I121',42.284217,13.657051),(66089,13,66,'<NAME>',0,'I326',42.101794,13.204041),(66090,13,66,'<NAME>',0,'I336',42.287831,13.524451),(66091,13,66,'<NAME>',0,'I360',42.344291,13.645676),(66092,13,66,'<NAME>',0,'I389',41.845825,13.536802),(66093,13,66,'Scanno',0,'I501',41.899982,13.884136),(66094,13,66,'Scontrone',0,'I543',41.746593,14.038972),(66095,13,66,'Scoppito',0,'I546',42.372774,13.255998),(66096,13,66,'<NAME>',0,'I553',42.063038,13.339206),(66097,13,66,'Secinaro',0,'I558',42.153974,13.683867),(66098,13,66,'Sulmona',0,'I804',42.048178,13.928930),(66099,13,66,'Tagliacozzo',0,'L025',42.068640,13.251775),(66100,13,66,'<NAME>',0,'L173',42.203395,13.634950),(66101,13,66,'Tornimparte',0,'L227',42.290163,13.300734),(66102,13,66,'Trasacco',0,'L334',41.960076,13.536615),(66103,13,66,'Villalago',0,'L958',41.935935,13.835902),(66104,13,66,'<NAME>',0,'M021',42.333310,13.777436),(66105,13,66,'<NAME>',0,'M023',42.269965,13.537245),(66106,13,66,'Villavallelonga',0,'M031',41.871575,13.620877),(66107,13,66,'<NAME>',0,'M041',41.776469,13.938789),(66108,13,66,'Vittorito',0,'M090',42.126781,13.818109),(67001,13,67,'<NAME>',0,'A125',42.827061,13.929301),(67002,13,67,'Ancarano',0,'A270',42.835175,13.738179),(67003,13,67,'Arsita',0,'A445',42.502227,13.784675),(67004,13,67,'Atri',0,'A488',42.580595,13.975797),(67005,13,67,'Basciano',0,'A692',42.595534,13.739846),(67006,13,67,'Bellante',0,'A746',42.741198,13.808197),(67007,13,67,'Bisenti',0,'A885',42.528352,13.802314),(67008,13,67,'Campli',0,'B515',42.727389,13.687789),(67009,13,67,'Canzano',0,'B640',42.646114,13.804096),(67010,13,67,'<NAME>',0,'C040',42.543489,13.714871),(67011,13,67,'Castellalto',0,'C128',42.677406,13.819246),(67012,13,67,'Castelli',0,'C169',42.484574,13.711760),(67013,13,67,'<NAME>',0,'C316',42.532782,13.880649),(67014,13,67,'Castilenti',0,'C322',42.533770,13.918625),(67015,13,67,'<NAME>',0,'C449',42.586222,13.858503),(67016,13,67,'Cermignano',0,'C517',42.588549,13.792406),(67017,13,67,'<NAME>',0,'C781',42.773052,13.676164),(67018,13,67,'Colledara',0,'C311',42.538807,13.674742),(67019,13,67,'Colonnella',0,'C901',42.875423,13.869834),(67020,13,67,'Controguerra',0,'C972',42.850422,13.812365),(67021,13,67,'Corropoli',0,'D043',42.823432,13.839735),(67022,13,67,'Cortino',0,'D076',42.621665,13.506655),(67023,13,67,'Crognaleto',0,'D179',42.587000,13.490001),(67024,13,67,'<NAME>',0,'D489',42.551735,13.541849),(67025,13,67,'Giulianova',0,'E058',42.753814,13.966505),(67026,13,67,'Isola del Gran Sasso d\'Italia',0,'E343',42.501286,13.661188),(67027,13,67,'Montefino',0,'F500',42.544223,13.886174),(67028,13,67,'<NAME>',0,'F690',42.582139,13.627298),(67029,13,67,'<NAME>',0,'F747',42.664355,13.917949),(67030,13,67,'<NAME>',0,'F764',42.743540,13.888583),(67031,13,67,'Nereto',0,'F870',42.816528,13.813500),(67032,13,67,'Notaresco',0,'F942',42.657501,13.893994),(67033,13,67,'<NAME>',0,'G437',42.593741,13.771577),(67034,13,67,'Pietracamela',0,'G608',42.523319,13.553981),(67035,13,67,'Pineto',0,'F831',42.607649,14.067674),(67036,13,67,'<NAME>',0,'H440',42.686404,13.527613),(67037,13,67,'<NAME>',0,'F585',42.675190,14.016016),(67038,13,67,'<NAME>',0,'I318',42.825932,13.715370),(67039,13,67,'Sant\'Omero',0,'I348',42.785078,13.805429),(67040,13,67,'Silvi',0,'I741',42.543593,14.126249),(67041,13,67,'Teramo',1,'L103',42.661143,13.698664),(67042,13,67,'<NAME>',0,'L207',42.824600,13.775720),(67043,13,67,'<NAME>',0,'L295',42.658542,13.657256),(67044,13,67,'Tortoreto',0,'L307',42.803272,13.918437),(67045,13,67,'Tossicia',0,'L314',42.546583,13.647992),(67046,13,67,'<NAME>',0,'L597',42.736076,13.495675),(67047,13,67,'Martinsicuro',0,'E989',42.886962,13.913194),(68001,13,68,'Abbateggio',0,'A008',42.225629,14.010708),(68002,13,68,'Alanno',0,'A120',42.296299,13.967752),(68003,13,68,'Bolognano',0,'A945',42.217901,13.960891),(68004,13,68,'Brittoli',0,'B193',42.313924,13.859136),(68005,13,68,'<NAME>',0,'B294',42.213585,13.825392),(68006,13,68,'<NAME>',0,'B681',42.464752,14.103210),(68007,13,68,'<NAME>',0,'B722',42.161112,14.008598),(68008,13,68,'<NAME>',0,'B827',42.333697,13.860142),(68009,13,68,'<NAME>',0,'C308',42.236227,13.894203),(68010,13,68,'Catignano',0,'C354',42.345165,13.945379),(68011,13,68,'Cepagatti',0,'C474',42.365664,14.072314),(68012,13,68,'<NAME>',0,'C750',42.517648,14.060208),(68013,13,68,'Civitaquana',0,'C771',42.325417,13.901432),(68014,13,68,'<NAME>',0,'C779',42.364151,13.884656),(68015,13,68,'Collecorvino',0,'C853',42.458406,14.016527),(68016,13,68,'Corvara',0,'D078',46.552591,11.874275),(68017,13,68,'Cugnoli',0,'D201',42.306557,13.932504),(68018,13,68,'Elice',0,'D394',42.521475,13.970078),(68019,13,68,'Farindola',0,'D501',42.444087,13.819989),(68020,13,68,'Lettomanoppello',0,'E558',42.236144,14.036153),(68021,13,68,'<NAME>',0,'E691',42.433185,13.986668),(68022,13,68,'Manoppello',0,'E892',42.257617,14.061213),(68023,13,68,'<NAME>',0,'F441',42.416616,13.869555),(68024,13,68,'Montesilvano',0,'F646',42.510208,14.143700),(68025,13,68,'Moscufo',0,'F765',42.427376,14.053668),(68026,13,68,'Nocciano',0,'F908',42.334385,13.985786),(68027,13,68,'Penne',0,'G438',42.456912,13.928129),(68028,13,68,'Pescara',1,'G482',42.461790,14.216090),(68029,13,68,'Pescosansonesco',0,'G499',42.254590,13.883739),(68030,13,68,'Pianella',0,'G555',42.398036,14.044994),(68031,13,68,'Picciano',0,'G589',42.472949,13.990637),(68032,13,68,'Pietranico',0,'G621',42.277749,13.910504),(68033,13,68,'Popoli',0,'G878',42.169443,13.830501),(68034,13,68,'Roccamorice',0,'H425',42.213663,14.024197),(68035,13,68,'Rosciano',0,'H562',42.322479,14.046214),(68036,13,68,'Salle',0,'H715',42.178530,13.961840),(68037,13,68,'<NAME>',0,'I332',42.105013,14.042064),(68038,13,68,'San Valentino in Abruzzo Citeriore',0,'I376',42.234976,13.987589),(68039,13,68,'Scafa',0,'I482',42.267200,13.995906),(68040,13,68,'Serramonacesca',0,'I649',42.248955,14.093094),(68041,13,68,'Spoltore',0,'I922',42.454518,14.138817),(68042,13,68,'<NAME>',0,'L186',42.215013,13.913079),(68043,13,68,'<NAME>',0,'L263',42.242410,13.930961),(68044,13,68,'Turrivalignani',0,'L475',42.262102,14.028306),(68045,13,68,'Vicoli',0,'L846',42.341262,13.896835),(68046,13,68,'<NAME>',0,'L922',42.382302,13.859046),(69001,13,69,'Altino',0,'A235',42.102418,14.332572),(69002,13,69,'Archi',0,'A367',42.090201,14.381989),(69003,13,69,'Ari',0,'A398',42.286291,14.255458),(69004,13,69,'Arielli',0,'A402',42.262924,14.306147),(69005,13,69,'Atessa',0,'A485',42.071436,14.451130),(69006,13,69,'Bomba',0,'A956',42.034596,14.366398),(69007,13,69,'Borrello',0,'B057',41.917868,14.304688),(69008,13,69,'Bucchianico',0,'B238',42.302806,14.183561),(69009,13,69,'Montebello sul Sangro',0,'B268',41.986648,14.324673),(69010,13,69,'<NAME>',0,'B620',42.292983,14.305198),(69011,13,69,'<NAME>',0,'B826',42.012018,14.504657),(69012,13,69,'Carunchio',0,'B853',41.919920,14.522965),(69013,13,69,'Casacanditella',0,'B859',42.248750,14.199703),(69014,13,69,'Casalanguida',0,'B861',42.037102,14.497747),(69015,13,69,'Casalbordino',0,'B865',42.150633,14.584725),(69016,13,69,'Casalincontrada',0,'B896',42.293723,14.137061),(69017,13,69,'Casoli',0,'B985',42.113215,14.292463),(69018,13,69,'<NAME>',0,'C114',42.195068,14.357806),(69019,13,69,'Castelguidone',0,'C123',41.823233,14.522723),(69020,13,69,'<NAME>',0,'C298',41.868135,14.449578),(69021,13,69,'<NAME>',0,'C428',41.873371,14.578892),(69022,13,69,'Chieti',1,'C632',42.347886,14.163585),(69023,13,69,'Civitaluparella',0,'C768',41.946499,14.299278),(69024,13,69,'<NAME>',0,'C776',42.089137,14.218560),(69025,13,69,'Colledimacine',0,'C855',42.004102,14.201343),(69026,13,69,'Colledimezzo',0,'C856',41.986119,14.381109),(69027,13,69,'Crecchio',0,'D137',42.296401,14.326086),(69028,13,69,'Cupello',0,'D209',42.072194,14.670811),(69029,13,69,'Dogliola',0,'D315',41.941878,14.636591),(69030,13,69,'<NAME>',0,'D494',42.247322,14.184251),(69031,13,69,'<NAME>',0,'D495',42.090479,14.208575),(69032,13,69,'Filetto',0,'D592',42.229609,14.246059),(69033,13,69,'Fossacesia',0,'D738',42.244058,14.480186),(69034,13,69,'Fraine',0,'D757',41.905638,14.488225),(69035,13,69,'<NAME>',0,'D763',42.415183,14.298809),(69036,13,69,'Fresagrandinaria',0,'D796',41.978198,14.661634),(69037,13,69,'Frisa',0,'D803',42.263392,14.366923),(69038,13,69,'Furci',0,'D823',42.008642,14.588888),(69039,13,69,'Gamberale',0,'D898',41.905094,14.209373),(69040,13,69,'Gessopalena',0,'D996',42.056889,14.274338),(69041,13,69,'Gissi',0,'E052',42.019411,14.544515),(69042,13,69,'<NAME>',0,'E056',42.303459,14.286112),(69043,13,69,'Guardiagrele',0,'E243',42.189815,14.219946),(69044,13,69,'Guilmi',0,'E266',41.995673,14.480015),(69045,13,69,'<NAME>',0,'E424',42.043521,14.188250),(69046,13,69,'Lanciano',0,'E435',42.226550,14.389023),(69047,13,69,'Lentella',0,'E531',41.994968,14.675209),(69048,13,69,'Lettopalena',0,'E559',42.000089,14.158816),(69049,13,69,'Liscia',0,'E611',41.953149,14.560107),(69050,13,69,'Miglianico',0,'F196',42.358897,14.293412),(69051,13,69,'Montazzoli',0,'F433',41.940946,14.426956),(69052,13,69,'Monteferrante',0,'F498',41.952291,14.388612),(69053,13,69,'Montelapiano',0,'F535',41.964162,14.341029),(69054,13,69,'Montenerodomo',0,'F578',41.978731,14.252145),(69055,13,69,'Monteodorisio',0,'F582',42.089719,14.652195),(69056,13,69,'Mozzagrogna',0,'F785',42.212939,14.446108),(69057,13,69,'Orsogna',0,'G128',42.218628,14.281762),(69058,13,69,'Ortona',0,'G141',42.352244,14.402811),(69059,13,69,'Paglieta',0,'G237',42.163369,14.497735),(69060,13,69,'Palena',0,'G271',41.976626,14.132421),(69061,13,69,'Palmoli',0,'G290',41.939978,14.581776),(69062,13,69,'Palombaro',0,'G294',42.125063,14.230776),(69063,13,69,'Pennadomo',0,'G434',42.004426,14.323448),(69064,13,69,'Pennapiedimonte',0,'G435',42.153121,14.194685),(69065,13,69,'Perano',0,'G441',42.105491,14.396724),(69066,13,69,'Pizzoferrato',0,'G724',41.921679,14.237440),(69067,13,69,'Poggiofiorito',0,'G760',42.256147,14.323551),(69068,13,69,'Pollutri',0,'G799',42.137594,14.593567),(69069,13,69,'Pretoro',0,'H052',42.219296,14.140068),(69070,13,69,'Quadri',0,'H098',41.925096,14.288649),(69071,13,69,'Rapino',0,'H184',42.215187,14.192582),(69072,13,69,'<NAME>',0,'H320',42.356273,14.231006),(69073,13,69,'Roccamontepiano',0,'H424',42.243227,14.128820),(69074,13,69,'<NAME>',0,'H439',42.250303,14.464625),(69075,13,69,'Roccascalegna',0,'H442',42.062354,14.307343),(69076,13,69,'Roccaspinalveti',0,'H448',41.938516,14.472690),(69077,13,69,'<NAME>',0,'H495',41.911320,14.376360),(69078,13,69,'Rosello',0,'H566',41.900649,14.348928),(69079,13,69,'<NAME>',0,'H784',41.980436,14.568157),(69080,13,69,'<NAME>',0,'H923',41.846637,14.560531),(69081,13,69,'<NAME>',0,'D690',42.409492,14.201615),(69082,13,69,'<NAME>',0,'H991',42.226452,14.215092),(69083,13,69,'<NAME>',0,'I148',42.044003,14.733937),(69084,13,69,'<NAME>',0,'I244',42.219520,14.451875),(69085,13,69,'<NAME>',0,'I335',42.166149,14.334458),(69086,13,69,'<NAME>',0,'I394',42.288722,14.441035),(69087,13,69,'Scerni',0,'I520',42.113751,14.573754),(69088,13,69,'<NAME>',0,'I526',41.814258,14.485832),(69089,13,69,'<NAME>',0,'L047',42.020823,14.172182),(69090,13,69,'Tollo',0,'L194',42.340652,14.319914),(69091,13,69,'<NAME>',0,'L218',42.185256,14.539670),(69092,13,69,'Tornareccio',0,'L224',42.035767,14.413297),(69093,13,69,'Torrebruna',0,'L253',41.866307,14.544923),(69094,13,69,'<NAME>',0,'L284',42.383736,14.215615),(69095,13,69,'<NAME>',0,'L291',42.023728,14.260252),(69096,13,69,'Treglio',0,'L363',42.267518,14.425234),(69097,13,69,'Tufillo',0,'L459',41.917629,14.624638),(69098,13,69,'Vacri',0,'L526',42.294702,14.229276),(69099,13,69,'Vasto',0,'E372',42.104559,14.705871),(69100,13,69,'Villalfonsina',0,'L961',42.159472,14.569537),(69101,13,69,'Villamagna',0,'L964',42.330981,14.235713),(69102,13,69,'<NAME>',0,'M022',41.951356,14.352989),(69103,13,69,'Pietraferrazzana',0,'G613',41.969895,14.375117),(69104,13,69,'Fallo',0,'D480',41.938593,14.323188),(70001,14,70,'<NAME>',0,'A050',41.867160,14.746948),(70002,14,70,'Baranello',0,'A616',41.526368,14.558106),(70003,14,70,'Bojano',0,'A930',41.482073,14.473694),(70004,14,70,'Bonefro',0,'A971',41.704282,14.935828),(70005,14,70,'Busso',0,'B295',41.555235,14.557535),(70006,14,70,'Campobasso',1,'B519',41.560254,14.662716),(70007,14,70,'Campochiaro',0,'B522',41.449233,14.504843),(70008,14,70,'Campodipietra',0,'B528',41.557871,14.746320),(70009,14,70,'Campolieto',0,'B544',41.634255,14.766340),(70010,14,70,'Campomarino',0,'B550',41.956919,15.035455),(70011,14,70,'Casacalenda',0,'B858',41.740713,14.848663),(70012,14,70,'Casalciprano',0,'B871',41.580063,14.528677),(70013,14,70,'Castelbottaccio',0,'C066',41.753098,14.706708),(70014,14,70,'<NAME>',0,'C175',41.701346,14.733169),(70015,14,70,'Castelmauro',0,'C197',41.831052,14.710801),(70016,14,70,'Castropignano',0,'C346',41.619080,14.560384),(70017,14,70,'Cercemaggiore',0,'C486',41.461450,14.724194),(70018,14,70,'Cercepiccola',0,'C488',41.459942,14.663665),(70019,14,70,'Civitacampomarano',0,'C764',41.780223,14.688014),(70020,14,70,'<NAME>',0,'C854',41.509855,14.519125),(70021,14,70,'Colletorto',0,'C875',41.663366,14.970859),(70022,14,70,'Duronia',0,'C772',41.659925,14.458507),(70023,14,70,'Ferrazzano',0,'D550',41.530049,14.674333),(70024,14,70,'Fossalto',0,'D737',41.673104,14.545683),(70025,14,70,'Gambatesa',0,'D896',41.508372,14.911672),(70026,14,70,'Gildone',0,'E030',41.509537,14.739906),(70027,14,70,'Guardialfiera',0,'E244',41.804537,14.793752),(70028,14,70,'Guardiaregia',0,'E248',41.435413,14.541380),(70029,14,70,'Guglionesi',0,'E259',41.913403,14.913899),(70030,14,70,'Jelsi',0,'E381',41.517735,14.799156),(70031,14,70,'Larino',0,'E456',41.805155,14.919112),(70032,14,70,'Limosano',0,'E599',41.677015,14.621059),(70033,14,70,'Lucito',0,'E722',41.731937,14.687988),(70034,14,70,'Lupara',0,'E748',41.761198,14.734288),(70035,14,70,'<NAME>',0,'E780',41.593633,14.913281),(70036,14,70,'Mafalda',0,'E799',41.942234,14.715361),(70037,14,70,'Matrice',0,'F055',41.613070,14.710769),(70038,14,70,'<NAME>',0,'F233',41.516303,14.674799),(70039,14,70,'Molise',0,'F294',41.630815,14.493651),(70040,14,70,'Monacilioni',0,'F322',41.612334,14.810011),(70041,14,70,'Montagano',0,'F391',41.647346,14.671975),(70042,14,70,'Montecilfone',0,'F475',41.904968,14.837026),(70043,14,70,'<NAME>',0,'F495',41.866153,14.639929),(70044,14,70,'Montelongo',0,'F548',41.737284,14.950327),(70045,14,70,'Montemitro',0,'F569',41.887952,14.646160),(70046,14,70,'<NAME>',0,'F576',41.957518,14.781331),(70047,14,70,'<NAME>',0,'F689',41.759305,14.930750),(70048,14,70,'<NAME>',0,'F748',41.709931,14.783540),(70049,14,70,'Oratino',0,'G086',41.584624,14.585511),(70050,14,70,'Palata',0,'G257',41.890110,14.784742),(70051,14,70,'Petacciato',0,'G506',42.009799,14.860900),(70052,14,70,'<NAME>',0,'G512',41.692839,14.698086),(70053,14,70,'Pietracatella',0,'G609',41.580131,14.871354),(70054,14,70,'Pietracupa',0,'G610',41.682611,14.519944),(70055,14,70,'Portocannone',0,'G910',41.914637,15.009284),(70056,14,70,'Provvidenti',0,'H083',41.718735,14.822528),(70057,14,70,'Riccia',0,'H273',41.482657,14.830786),(70058,14,70,'Ripabottoni',0,'H311',41.690158,14.809072),(70059,14,70,'Ripalimosani',0,'H313',41.611781,14.663922),(70060,14,70,'Roccavivara',0,'H454',41.833053,14.596724),(70061,14,70,'Rotello',0,'H589',41.746386,15.006160),(70062,14,70,'Salcito',0,'H693',41.747150,14.511374),(70063,14,70,'<NAME>',0,'H782',41.716186,14.591951),(70064,14,70,'<NAME>',0,'H833',41.890595,14.696824),(70065,14,70,'<NAME>',0,'H867',41.963927,14.946682),(70066,14,70,'<NAME>',0,'H920',41.591558,14.752289),(70067,14,70,'<NAME>',0,'H928',41.456553,14.640104),(70068,14,70,'<NAME>',0,'H929',41.686546,14.963322),(70069,14,70,'<NAME> Pensilis',0,'H990',41.870085,15.010944),(70070,14,70,'<NAME>',0,'I023',41.492163,14.410566),(70071,14,70,'<NAME>',0,'I122',41.459636,14.493136),(70072,14,70,'<NAME>',0,'I181',41.711392,14.986996),(70073,14,70,'<NAME>',0,'I289',41.692958,14.604153),(70074,14,70,'<NAME>',0,'I320',41.621467,14.875223),(70075,14,70,'Sepino',0,'I618',41.409638,14.624070),(70076,14,70,'Spinete',0,'I910',41.546703,14.489373),(70077,14,70,'Tavenna',0,'L069',41.907606,14.764657),(70078,14,70,'Termoli',0,'L113',42.000533,14.995284),(70079,14,70,'<NAME>',0,'L215',41.640472,14.518152),(70080,14,70,'Toro',0,'L230',41.569984,14.764663),(70081,14,70,'Trivento',0,'L435',41.778462,14.551732),(70082,14,70,'Tufara',0,'L458',41.481880,14.946915),(70083,14,70,'Ururi',0,'L505',41.816099,15.014109),(70084,14,70,'Vinchiaturo',0,'M057',41.493859,14.589624),(71001,16,71,'Accadia',0,'A015',41.156489,15.331564),(71002,16,71,'Alberona',0,'A150',41.432188,15.124244),(71003,16,71,'<NAME>',0,'A320',41.118815,15.291501),(71004,16,71,'Apricena',0,'A339',41.783662,15.444434),(71005,16,71,'<NAME>',0,'A463',41.203341,15.562745),(71006,16,71,'Biccari',0,'A854',41.398475,15.198079),(71007,16,71,'Bovino',0,'B104',41.248454,15.339530),(71008,16,71,'<NAME>',0,'B357',41.829639,15.772777),(71009,16,71,'Candela',0,'B584',41.134858,15.514859),(71010,16,71,'Carapelle',0,'B724',41.364622,15.690551),(71011,16,71,'Carlantino',0,'B784',41.597536,14.974260),(71012,16,71,'Carpino',0,'B829',41.844893,15.858239),(71013,16,71,'<NAME>',0,'B904',41.619778,15.104596),(71014,16,71,'<NAME>',0,'B917',41.596030,15.110978),(71015,16,71,'<NAME>',0,'C198',41.305040,15.478812),(71016,16,71,'<NAME>',0,'C202',41.342146,15.201171),(71017,16,71,'<NAME>',0,'C222',41.584045,15.120416),(71018,16,71,'<NAME>',0,'C429',41.560379,14.981584),(71019,16,71,'<NAME>',0,'C442',41.322318,15.180548),(71020,16,71,'Cerignola',0,'C514',41.265659,15.893916),(71021,16,71,'Chieuti',0,'C633',41.847294,15.167388),(71022,16,71,'Deliceto',0,'D269',41.223017,15.386195),(71023,16,71,'Faeto',0,'D459',41.323397,15.162688),(71024,16,71,'Foggia',1,'D643',41.462198,15.544630),(71025,16,71,'Ischitella',0,'E332',41.905415,15.899096),(71026,16,71,'<NAME>',0,'E363',42.120144,15.503783),(71027,16,71,'Lesina',0,'E549',41.862799,15.353152),(71028,16,71,'Lucera',0,'E716',41.505481,15.338528),(71029,16,71,'Manfredonia',0,'E885',41.630735,15.916511),(71031,16,71,'Mattinata',0,'F059',41.710619,16.049088),(71032,16,71,'<NAME>',0,'F538',41.165268,15.256770),(71033,16,71,'<NAME>',0,'F631',41.704556,15.967700),(71034,16,71,'<NAME>',0,'F777',41.507755,15.116031),(71035,16,71,'<NAME>',0,'G125',41.278189,15.266736),(71036,16,71,'<NAME>',0,'G131',41.327992,15.709254),(71037,16,71,'Panni',0,'G312',41.220796,15.276185),(71038,16,71,'Peschici',0,'G487',41.946900,16.012776),(71039,16,71,'Pietramontecorvino',0,'G604',41.543231,15.131663),(71040,16,71,'<NAME>',0,'G761',41.824788,15.367254),(71041,16,71,'<NAME>',0,'H287',41.676663,15.587623),(71042,16,71,'<NAME>',0,'H467',41.103494,15.461033),(71043,16,71,'<NAME>',0,'H480',41.929828,15.886029),(71044,16,71,'<NAME>',0,'H568',41.374295,15.096914),(71046,16,71,'<NAME>',0,'H926',41.706590,15.729179),(71047,16,71,'San Marco in Lamis',0,'H985',41.712443,15.638065),(71048,16,71,'San Marco la Catola',0,'H986',41.526029,15.003865),(71049,16,71,'<NAME>',0,'I054',41.834578,15.571685),(71050,16,71,'San Paolo di Civitate',0,'I072',41.740389,15.260111),(71051,16,71,'<NAME>',0,'I158',41.685420,15.379516),(71052,16,71,'Sant\'<NAME>',0,'I193',41.150795,15.382180),(71053,16,71,'Serracapriola',0,'I641',41.808592,15.159901),(71054,16,71,'Stornara',0,'I962',41.285927,15.768243),(71055,16,71,'Stornarella',0,'I963',41.255693,15.728725),(71056,16,71,'Torremaggiore',0,'L273',41.686832,15.292553),(71058,16,71,'Troia',0,'L447',41.359780,15.308114),(71059,16,71,'<NAME>',0,'L842',41.895999,15.959619),(71060,16,71,'Vieste',0,'L858',41.882476,16.176749),(71061,16,71,'<NAME>',0,'M131',41.496316,15.053884),(71062,16,71,'Volturino',0,'M132',41.477582,15.123393),(71063,16,71,'Ordona',0,'M266',41.314417,15.626645),(71064,16,71,'Zapponeta',0,'M267',41.455576,15.958540),(72001,16,72,'Acquaviva delle Fonti',0,'A048',40.897194,16.845436),(72002,16,72,'Adelfia',0,'A055',41.003795,16.872188),(72003,16,72,'Alberobello',0,'A149',40.786423,17.240930),(72004,16,72,'Altamura',0,'A225',40.825392,16.552787),(72006,16,72,'Bari',1,'A662',41.117143,16.871872),(72008,16,72,'Binetto',0,'A874',41.024764,16.710316),(72010,16,72,'Bitetto',0,'A892',41.040109,16.748110),(72011,16,72,'Bitonto',0,'A893',41.107825,16.691057),(72012,16,72,'Bitritto',0,'A894',41.042238,16.824794),(72014,16,72,'Capurso',0,'B716',41.048901,16.919264),(72015,16,72,'Casamassima',0,'B923',40.954800,16.918453),(72016,16,72,'<NAME>',0,'B998',40.890868,16.769053),(72017,16,72,'<NAME>',0,'C134',40.883772,17.167858),(72018,16,72,'Cellamare',0,'C436',41.020387,16.928618),(72019,16,72,'Conversano',0,'C975',40.967360,17.117119),(72020,16,72,'Corato',0,'C983',41.153489,16.413160),(72021,16,72,'<NAME>',0,'E038',40.799071,16.922159),(72022,16,72,'Giovinazzo',0,'E047',41.186684,16.673597),(72023,16,72,'<NAME>',0,'E155',40.817145,16.418512),(72024,16,72,'<NAME>',0,'E223',41.013532,16.710303),(72025,16,72,'Locorotondo',0,'E645',40.755913,17.326281),(72027,16,72,'Modugno',0,'F262',41.082721,16.782442),(72028,16,72,'<NAME>',0,'F280',41.062973,17.090303),(72029,16,72,'Molfetta',0,'F284',41.202777,16.598719),(72030,16,72,'Monopoli',0,'F376',40.952517,17.298556),(72031,16,72,'Noci',0,'F915',40.793902,17.125860),(72032,16,72,'Noicattaro',0,'F923',41.033466,16.988324),(72033,16,72,'<NAME>',0,'G291',41.055710,16.706627),(72034,16,72,'Poggiorsini',0,'G769',40.914709,16.254118),(72035,16,72,'<NAME>',0,'G787',40.994900,17.222539),(72036,16,72,'Putignano',0,'H096',40.854410,17.120409),(72037,16,72,'Rutigliano',0,'H643',41.009259,17.003563),(72038,16,72,'<NAME>',0,'H645',41.117291,16.483725),(72039,16,72,'<NAME>',0,'H749',40.887319,16.948917),(72040,16,72,'<NAME>',0,'I053',41.000301,16.799571),(72041,16,72,'<NAME>',0,'I330',40.791808,16.752860),(72043,16,72,'Terlizzi',0,'L109',41.130147,16.542728),(72044,16,72,'Toritto',0,'L220',40.997782,16.679435),(72046,16,72,'Triggiano',0,'L425',41.062163,16.926017),(72047,16,72,'Turi',0,'L472',40.917552,17.021448),(72048,16,72,'Valenzano',0,'L571',41.043781,16.884203),(73001,16,73,'Avetrana',0,'A514',40.350725,17.726671),(73002,16,73,'Carosino',0,'B808',40.466923,17.401359),(73003,16,73,'Castellaneta',0,'C136',40.628042,16.939739),(73004,16,73,'Crispiano',0,'D171',40.603618,17.228581),(73005,16,73,'Faggiano',0,'D463',40.421679,17.386961),(73006,16,73,'Fragagnano',0,'D754',40.427977,17.475268),(73007,16,73,'Ginosa',0,'E036',40.577403,16.755808),(73008,16,73,'Grottaglie',0,'E205',40.537954,17.435493),(73009,16,73,'Laterza',0,'E469',40.624944,16.798088),(73010,16,73,'Leporano',0,'E537',40.382072,17.333061),(73011,16,73,'Lizzano',0,'E630',40.390035,17.447597),(73012,16,73,'Manduria',0,'E882',40.398042,17.637686),(73013,16,73,'<NAME>',0,'E986',40.702867,17.339265),(73014,16,73,'Maruggio',0,'E995',40.326714,17.572958),(73015,16,73,'Massafra',0,'F027',40.591085,17.118406),(73016,16,73,'Monteiasi',0,'F531',40.499984,17.382193),(73017,16,73,'Montemesola',0,'F563',40.563700,17.339174),(73018,16,73,'Monteparano',0,'F587',40.444133,17.413619),(73019,16,73,'Mottola',0,'F784',40.634925,17.032961),(73020,16,73,'Palagianello',0,'G251',40.611073,16.973774),(73021,16,73,'Palagiano',0,'G252',40.579077,17.035966),(73022,16,73,'Pulsano',0,'H090',40.384582,17.354660),(73023,16,73,'Roccaforzata',0,'H409',40.437835,17.390061),(73024,16,73,'<NAME>',0,'H882',40.456393,17.381926),(73025,16,73,'<NAME> di <NAME>',0,'I018',40.450720,17.507924),(73026,16,73,'Sava',0,'I467',40.403712,17.557323),(73027,16,73,'Taranto',1,'L049',40.464361,17.247030),(73028,16,73,'Torricella',0,'L294',40.354532,17.500905),(73029,16,73,'Statte',0,'M298',40.562521,17.208791),(74001,16,74,'Brindisi',1,'B180',40.632728,17.941762),(74002,16,74,'Carovigno',0,'B809',40.702252,17.661578),(74003,16,74,'<NAME>',0,'C424',40.644327,17.517780),(74004,16,74,'<NAME>',0,'C448',40.471663,17.965460),(74005,16,74,'Cisternino',0,'C741',40.743182,17.424890),(74006,16,74,'Erchie',0,'D422',40.439144,17.735210),(74007,16,74,'Fasano',0,'D508',40.836659,17.360935),(74008,16,74,'<NAME>',0,'D761',40.530498,17.582782),(74009,16,74,'Latiano',0,'E471',40.551613,17.717497),(74010,16,74,'Mesagne',0,'F152',40.557725,17.810177),(74011,16,74,'Oria',0,'G098',40.499341,17.638880),(74012,16,74,'Ostuni',0,'G187',40.729524,17.577998),(74013,16,74,'<NAME>',0,'H822',40.447514,17.922539),(74014,16,74,'<NAME>',0,'I045',40.630702,17.635571),(74015,16,74,'<NAME>',0,'I066',40.418531,17.840282),(74016,16,74,'<NAME>',0,'I119',40.487512,17.996729),(74017,16,74,'<NAME>',0,'I396',40.658316,17.706466),(74018,16,74,'Torchiarolo',0,'L213',40.482073,18.053639),(74019,16,74,'<NAME>',0,'L280',40.464107,17.738528),(74020,16,74,'<NAME>',0,'L920',40.582762,17.477821),(75001,16,75,'<NAME>',0,'A042',39.914457,18.245032),(75002,16,75,'Alessano',0,'A184',39.889496,18.331497),(75003,16,75,'Alezio',0,'A185',40.060034,18.053434),(75004,16,75,'Alliste',0,'A208',39.947527,18.086225),(75005,16,75,'Andrano',0,'A281',39.986893,18.381967),(75006,16,75,'Aradeo',0,'A350',40.130055,18.130877),(75007,16,75,'Arnesano',0,'A425',40.336480,18.090654),(75008,16,75,'<NAME>',0,'A572',40.149481,18.351999),(75009,16,75,'Botrugno',0,'B086',40.064338,18.324451),(75010,16,75,'Calimera',0,'B413',40.246709,18.271918),(75011,16,75,'<NAME>',0,'B506',40.398562,18.015417),(75012,16,75,'Cannole',0,'B616',40.166443,18.366086),(75013,16,75,'<NAME>',0,'B690',40.261771,18.244970),(75014,16,75,'Carmiano',0,'B792',40.350277,18.046016),(75015,16,75,'<NAME>',0,'B822',40.197979,18.340554),(75016,16,75,'Casarano',0,'B936',40.011357,18.161431),(75017,16,75,'<NAME>',0,'C334',40.273055,18.258281),(75018,16,75,'<NAME>',0,'C335',40.173308,18.291644),(75019,16,75,'<NAME>',0,'C336',39.831589,18.352012),(75020,16,75,'Cavallino',0,'C377',40.311162,18.201528),(75021,16,75,'Collepasso',0,'C865',40.071751,18.171323),(75022,16,75,'Copertino',0,'C978',40.269638,18.060489),(75023,16,75,'<NAME>',0,'D006',40.161167,18.256656),(75024,16,75,'Corsano',0,'D044',39.888004,18.365701),(75025,16,75,'Cursi',0,'D223',40.150975,18.316780),(75026,16,75,'Cutrofiano',0,'D237',40.125349,18.205232),(75027,16,75,'Diso',0,'D305',40.009158,18.392155),(75028,16,75,'<NAME>',0,'D851',39.848201,18.370554),(75029,16,75,'Galatina',0,'D862',40.175823,18.172476),(75030,16,75,'Galatone',0,'D863',40.150666,18.070980),(75031,16,75,'Gallipoli',0,'D883',40.055851,17.992614),(75032,16,75,'Giuggianello',0,'E053',40.095296,18.369531),(75033,16,75,'Giurdignano',0,'E061',40.122814,18.431744),(75034,16,75,'Guagnano',0,'E227',40.401245,17.951444),(75035,16,75,'Lecce',1,'E506',40.351516,18.175016),(75036,16,75,'Lequile',0,'E538',40.306493,18.140504),(75037,16,75,'Leverano',0,'E563',40.297750,17.994832),(75038,16,75,'Lizzanello',0,'E629',40.304619,18.221423),(75039,16,75,'Maglie',0,'E815',40.117885,18.298741),(75040,16,75,'Martano',0,'E979',40.202493,18.302589),(75041,16,75,'Martignano',0,'E984',40.241398,18.256744),(75042,16,75,'Matino',0,'F054',40.033547,18.133579),(75043,16,75,'Melendugno',0,'F101',40.271488,18.336338),(75044,16,75,'Melissano',0,'F109',39.969740,18.117078),(75045,16,75,'Melpignano',0,'F117',40.156237,18.293179),(75046,16,75,'Miggiano',0,'F194',39.965694,18.315154),(75047,16,75,'<NAME>',0,'F221',40.091415,18.419970),(75048,16,75,'<NAME>',0,'F604',40.325335,18.102332),(75049,16,75,'<NAME>',0,'F623',39.975027,18.322500),(75050,16,75,'<NAME>',0,'F716',39.850226,18.311546),(75051,16,75,'<NAME>',0,'F816',40.103734,18.336970),(75052,16,75,'Nardò',0,'F842',40.179849,18.033159),(75053,16,75,'Neviano',0,'F881',40.106863,18.116392),(75054,16,75,'Nociglia',0,'F916',40.039198,18.326058),(75055,16,75,'Novoli',0,'F970',40.373009,18.053807),(75056,16,75,'Ortelle',0,'G136',40.034596,18.391072),(75057,16,75,'Otranto',0,'G188',40.143898,18.491168),(75058,16,75,'Palmariggi',0,'G285',40.132241,18.380782),(75059,16,75,'Parabita',0,'G325',40.050954,18.125297),(75060,16,75,'Patù',0,'G378',39.842225,18.337115),(75061,16,75,'Poggiardo',0,'G751',40.053497,18.378473),(75062,16,75,'Presicce',0,'H047',39.901561,18.262741),(75063,16,75,'Racale',0,'H147',39.958485,18.094261),(75064,16,75,'Ruffano',0,'H632',39.982922,18.249016),(75065,16,75,'<NAME>',0,'H708',40.385073,17.965252),(75066,16,75,'Salve',0,'H729',39.858938,18.297203),(75067,16,75,'Sanarica',0,'H757',40.089635,18.347279),(75068,16,75,'San Cesario di Lecce',0,'H793',40.305097,18.163969),(75069,16,75,'San Donato di Lecce',0,'H826',40.265033,18.183711),(75070,16,75,'Sannicola',0,'I059',40.093860,18.063946),(75071,16,75,'San Pietro in Lama',0,'I115',40.305181,18.124692),(75072,16,75,'<NAME>',0,'I172',40.035218,18.455894),(75073,16,75,'Scorrano',0,'I549',40.093616,18.300523),(75074,16,75,'Seclì',0,'I559',40.132263,18.104945),(75075,16,75,'Sogliano Cavour',0,'I780',40.147098,18.196630),(75076,16,75,'Soleto',0,'I800',40.187676,18.206716),(75077,16,75,'Specchia',0,'I887',39.941167,18.299996),(75078,16,75,'Spongano',0,'I923',40.021101,18.361038),(75079,16,75,'Squinzano',0,'I930',40.434991,18.042174),(75080,16,75,'Sternatia',0,'I950',40.224544,18.225066),(75081,16,75,'Supersano',0,'L008',40.013268,18.243645),(75082,16,75,'Surano',0,'L010',40.028167,18.346695),(75083,16,75,'Surbo',0,'L011',40.395327,18.135011),(75084,16,75,'Taurisano',0,'L064',39.958071,18.213021),(75085,16,75,'Taviano',0,'L074',39.979054,18.085181),(75086,16,75,'Tiggiano',0,'L166',39.905057,18.368672),(75087,16,75,'Trepuzzi',0,'L383',40.404391,18.071592),(75088,16,75,'Tricase',0,'L419',39.930207,18.358437),(75089,16,75,'Tuglie',0,'L462',40.078783,18.096749),(75090,16,75,'Ugento',0,'L484',39.927113,18.161456),(75091,16,75,'<NAME>',0,'L485',40.100304,18.454201),(75092,16,75,'Veglie',0,'L711',40.335201,17.966560),(75093,16,75,'Vernole',0,'L776',40.286563,18.300841),(75094,16,75,'Zollino',0,'M187',40.206796,18.251646),(75095,16,75,'<NAME>',0,'M264',40.056324,18.333848),(75096,16,75,'Castro',0,'M261',40.003414,18.423264),(75097,16,75,'<NAME>',0,'M263',40.260374,17.893091),(76001,17,76,'Abriola',0,'A013',40.507350,15.813881),(76002,17,76,'Acerenza',0,'A020',40.796150,15.942972),(76003,17,76,'<NAME>',0,'A131',40.587058,16.037129),(76004,17,76,'Anzi',0,'A321',40.516652,15.921301),(76005,17,76,'Armento',0,'A415',40.306075,16.065670),(76006,17,76,'Atella',0,'A482',40.875831,15.656975),(76007,17,76,'Avigliano',0,'A519',40.729900,15.714597),(76008,17,76,'Balvano',0,'A604',40.650928,15.511861),(76009,17,76,'Banzi',0,'A612',40.862238,16.012855),(76010,17,76,'Baragiano',0,'A615',40.679962,15.593268),(76011,17,76,'Barile',0,'A666',40.947458,15.673837),(76012,17,76,'Bella',0,'A743',40.758970,15.537775),(76013,17,76,'Brienza',0,'B173',40.476416,15.627619),(76014,17,76,'<NAME>',0,'B181',40.610424,15.939289),(76015,17,76,'Calvello',0,'B440',40.475023,15.850499),(76016,17,76,'Calvera',0,'B443',40.148987,16.143112),(76017,17,76,'Campomaggiore',0,'B549',40.564769,16.070411),(76018,17,76,'Cancellara',0,'B580',40.730603,15.925666),(76019,17,76,'Carbone',0,'B743',40.141614,16.086786),(76020,17,76,'<NAME>',0,'B906',40.024027,16.334606),(76021,17,76,'Castelgrande',0,'C120',40.789363,15.433097),(76022,17,76,'<NAME>',0,'C199',40.001349,15.982288),(76023,17,76,'<NAME>',0,'C201',40.010069,15.972984),(76024,17,76,'Castelmezzano',0,'C209',40.528627,16.045491),(76025,17,76,'Castelsaraceno',0,'C271',40.163512,15.992520),(76026,17,76,'<NAME>',0,'C345',40.190109,16.184096),(76027,17,76,'Cersosimo',0,'C539',40.047830,16.350138),(76028,17,76,'Chiaromonte',0,'C619',40.124099,16.216450),(76029,17,76,'<NAME>',0,'D010',40.380440,16.041540),(76030,17,76,'Episcopia',0,'D414',40.072852,16.099207),(76031,17,76,'Fardella',0,'D497',40.113310,16.169620),(76032,17,76,'Filiano',0,'D593',40.810144,15.708444),(76033,17,76,'Forenza',0,'D696',40.854853,15.861142),(76034,17,76,'<NAME>',0,'D766',40.080128,16.202715),(76035,17,76,'Gallicchio',0,'D876',40.291283,16.137254),(76036,17,76,'<NAME>',0,'D971',40.849003,16.032231),(76037,17,76,'<NAME>',0,'E221',40.287459,15.890535),(76038,17,76,'<NAME>',0,'E246',40.360997,16.098979),(76039,17,76,'Lagonegro',0,'E409',40.123986,15.765325),(76040,17,76,'Latronico',0,'E474',40.088139,16.010280),(76041,17,76,'Laurenzana',0,'E482',40.459496,15.969878),(76042,17,76,'Lauria',0,'E483',40.051193,15.838715),(76043,17,76,'Lavello',0,'E493',41.048228,15.788649),(76044,17,76,'Maratea',0,'E919',39.998522,15.718511),(76045,17,76,'<NAME>',0,'E976',40.422209,15.733473),(76046,17,76,'Marsicovetere',0,'E977',40.377129,15.822682),(76047,17,76,'Maschito',0,'F006',40.909407,15.830566),(76048,17,76,'Melfi',0,'F104',40.993314,15.653109),(76049,17,76,'Missanello',0,'F249',40.284448,16.167249),(76050,17,76,'Moliterno',0,'F295',40.239969,15.869126),(76051,17,76,'Montemilone',0,'F568',41.030698,15.969878),(76052,17,76,'Montemurro',0,'F573',40.297166,15.991624),(76053,17,76,'<NAME>',0,'F817',40.753807,15.486491),(76054,17,76,'Nemoli',0,'F866',40.065384,15.798622),(76055,17,76,'Noepoli',0,'F917',40.087357,16.327848),(76056,17,76,'<NAME>',0,'G081',40.764857,15.991016),(76057,17,76,'<NAME>',0,'G261',40.932037,15.987783),(76058,17,76,'Pescopagano',0,'G496',40.835676,15.398009),(76059,17,76,'Picerno',0,'G590',40.641391,15.643863),(76060,17,76,'Pietragalla',0,'G616',40.746436,15.884883),(76061,17,76,'Pietrapertosa',0,'G623',40.516186,16.063021),(76062,17,76,'Pignola',0,'G663',40.575448,15.781659),(76063,17,76,'Potenza',1,'G942',40.640407,15.805604),(76064,17,76,'Rapolla',0,'H186',40.976620,15.673787),(76065,17,76,'Rapone',0,'H187',40.846187,15.499119),(76066,17,76,'Rionero in Vulture',0,'H307',40.926358,15.669732),(76067,17,76,'Ripacandida',0,'H312',40.912033,15.721296),(76068,17,76,'Rivello',0,'H348',40.077124,15.754662),(76069,17,76,'Roccanova',0,'H426',40.213155,16.204924),(76070,17,76,'Rotonda',0,'H590',39.952463,16.039041),(76071,17,76,'Ruoti',0,'H641',40.718174,15.675590),(76072,17,76,'<NAME>',0,'H646',40.847651,15.540469),(76073,17,76,'<NAME>',0,'H795',40.677323,16.077480),(76074,17,76,'<NAME>',0,'H796',40.192104,16.076809),(76075,17,76,'<NAME>',0,'H808',40.039228,16.304236),(76076,17,76,'<NAME>',0,'H831',40.819272,15.540194),(76077,17,76,'<NAME>',0,'H994',40.240091,16.052530),(76078,17,76,'<NAME>',0,'I157',40.021299,16.135344),(76079,17,76,'<NAME>',0,'I288',40.545637,15.558049),(76080,17,76,'Sant\'Arcangelo',0,'I305',40.256682,16.272657),(76081,17,76,'Sarconi',0,'I426',40.248660,15.889265),(76082,17,76,'<NAME>',0,'I457',40.482826,15.677855),(76083,17,76,'<NAME>',0,'G614',40.540789,15.639652),(76084,17,76,'<NAME>',0,'H730',40.569528,15.551644),(76085,17,76,'Senise',0,'I610',40.149028,16.287448),(76086,17,76,'Spinoso',0,'I917',40.271093,15.967718),(76087,17,76,'Teana',0,'L082',40.125213,16.151773),(76088,17,76,'<NAME>',0,'L126',39.978598,16.296321),(76089,17,76,'Tito',0,'L181',40.582938,15.676653),(76090,17,76,'Tolve',0,'L197',40.695932,16.018884),(76091,17,76,'Tramutola',0,'L326',40.315495,15.792006),(76092,17,76,'Trecchina',0,'L357',40.026149,15.777597),(76093,17,76,'Trivigno',0,'L439',40.580146,15.988101),(76094,17,76,'<NAME>',0,'L532',40.668483,15.918727),(76095,17,76,'Venosa',0,'L738',40.960767,15.815423),(76096,17,76,'Vietri di Potenza',0,'L859',40.599755,15.506830),(76097,17,76,'Viggianello',0,'L873',39.973207,16.084394),(76098,17,76,'Viggiano',0,'L874',40.347039,15.899555),(76099,17,76,'Ginestra',0,'E033',40.930439,15.729718),(76100,17,76,'Paterno',0,'M269',40.379662,15.734439),(77001,17,77,'Accettura',0,'A017',40.492420,16.157905),(77002,17,77,'Aliano',0,'A196',40.313824,16.230216),(77003,17,77,'Bernalda',0,'A801',40.410981,16.689595),(77004,17,77,'Calciano',0,'B391',40.587929,16.193166),(77005,17,77,'Cirigliano',0,'C723',40.392556,16.171766),(77006,17,77,'Colobraro',0,'C888',40.186416,16.426854),(77007,17,77,'Craco',0,'D128',40.377998,16.440161),(77008,17,77,'Ferrandina',0,'D547',40.498456,16.457053),(77009,17,77,'Garaguso',0,'D909',40.547655,16.226499),(77010,17,77,'Gorgoglione',0,'E093',40.395148,16.142400),(77011,17,77,'Grassano',0,'E147',40.632733,16.285722),(77012,17,77,'Grottole',0,'E213',40.597715,16.387558),(77013,17,77,'Irsina',0,'E326',40.743363,16.243760),(77014,17,77,'Matera',1,'F052',40.666379,16.604320),(77015,17,77,'Miglionico',0,'F201',40.569464,16.502066),(77016,17,77,'<NAME>',0,'F399',40.291991,16.567256),(77017,17,77,'Montescaglioso',0,'F637',40.557324,16.664267),(77018,17,77,'<NAME>',0,'A942',40.149093,16.538277),(77019,17,77,'<NAME>',0,'G037',40.535975,16.184820),(77020,17,77,'Pisticci',0,'G712',40.390117,16.552898),(77021,17,77,'Policoro',0,'G786',40.214105,16.679656),(77022,17,77,'Pomarico',0,'G806',40.514217,16.548427),(77023,17,77,'Rotondella',0,'H591',40.170331,16.524359),(77024,17,77,'Salandra',0,'H687',40.526447,16.319627),(77025,17,77,'<NAME>',0,'H888',40.114490,16.391123),(77026,17,77,'<NAME>',0,'I029',40.486239,16.248730),(77027,17,77,'Stigliano',0,'I954',40.402571,16.230323),(77028,17,77,'Tricarico',0,'L418',40.617828,16.147275),(77029,17,77,'Tursi',0,'L477',40.244668,16.464241),(77030,17,77,'Valsinni',0,'D513',40.170216,16.441704),(77031,17,77,'<NAME>',0,'M256',40.248437,16.697989),(78001,18,78,'Acquaformosa',0,'A033',39.723937,16.091706),(78002,18,78,'Acquappesa',0,'A041',39.497115,15.953315),(78003,18,78,'Acri',0,'A053',39.488691,16.382857),(78004,18,78,'<NAME>',0,'A102',39.117215,16.166775),(78005,18,78,'Aieta',0,'A105',39.928474,15.823187),(78006,18,78,'Albidona',0,'A160',39.924317,16.472358),(78007,18,78,'<NAME>',0,'A183',39.959476,16.380750),(78008,18,78,'Altilia',0,'A234',39.131187,16.252582),(78009,18,78,'Altomonte',0,'A240',39.698482,16.128949),(78010,18,78,'Amantea',0,'A253',39.135797,16.073019),(78011,18,78,'Amendolara',0,'A263',39.951364,16.583065),(78012,18,78,'Aprigliano',0,'A340',39.245385,16.338292),(78013,18,78,'<NAME>',0,'A762',39.162057,16.083456),(78014,18,78,'Belsito',0,'A768',39.173846,16.286539),(78015,18,78,'<NAME>',0,'A773',39.621411,15.865193),(78016,18,78,'Bianchi',0,'A842',39.098070,16.411009),(78017,18,78,'Bisignano',0,'A887',39.512583,16.287030),(78018,18,78,'Bocchigliero',0,'A912',39.417653,16.753842),(78019,18,78,'Bonifati',0,'A973',39.584983,15.898056),(78020,18,78,'Buonvicino',0,'B270',39.690155,15.883862),(78021,18,78,'Calopezzati',0,'B424',39.561274,16.802614),(78022,18,78,'Caloveto',0,'B426',39.506574,16.759370),(78023,18,78,'Campana',0,'B500',41.109947,14.847514),(78024,18,78,'Canna',0,'B607',40.094436,16.505060),(78025,18,78,'Cariati',0,'B774',39.496395,16.946447),(78026,18,78,'Carolei',0,'B802',39.251239,16.218569),(78027,18,78,'Carpanzano',0,'B813',39.148138,16.306135),(78028,18,78,'<NAME>',0,'B983',39.285407,16.335291),(78029,18,78,'<NAME>',0,'C002',39.784712,16.321017),(78030,18,78,'<NAME>',0,'C301',39.351688,16.288994),(78031,18,78,'Castrolibero',0,'C108',39.308789,16.194247),(78032,18,78,'Castroregio',0,'C348',39.992011,16.478548),(78033,18,78,'Castrovillari',0,'C349',39.815268,16.199744),(78034,18,78,'Celico',0,'C430',39.309426,16.338705),(78035,18,78,'Cellara',0,'C437',39.217802,16.331969),(78036,18,78,'<NAME>',0,'C489',39.858715,16.384277),(78037,18,78,'Cerisano',0,'C515',39.273767,16.177375),(78038,18,78,'Cervicati',0,'C554',39.542910,16.128217),(78039,18,78,'Cerzeto',0,'C560',39.509995,16.116795),(78040,18,78,'Cetraro',0,'C588',39.516549,15.940905),(78041,18,78,'Civita',0,'C763',42.627575,12.113039),(78042,18,78,'Cleto',0,'C795',39.090273,16.157402),(78043,18,78,'Colosimi',0,'C905',39.119291,16.397577),(78044,18,78,'<NAME>',0,'D005',39.594184,16.520102),(78045,18,78,'Cosenza',1,'D086',39.298263,16.253736),(78046,18,78,'Cropalati',0,'D180',39.516066,16.725377),(78047,18,78,'Crosia',0,'D184',39.566473,16.773800),(78048,18,78,'Diamante',0,'D289',39.677333,15.818048),(78049,18,78,'Dipignano',0,'D304',39.237886,16.253240),(78050,18,78,'Domanico',0,'D328',39.219826,16.205711),(78051,18,78,'<NAME>',0,'D464',39.564011,16.054912),(78052,18,78,'<NAME>',0,'D473',39.275499,16.093316),(78053,18,78,'<NAME>',0,'D582',39.225095,16.329109),(78054,18,78,'Firmo',0,'D614',39.721848,16.171235),(78055,18,78,'<NAME>',0,'D624',39.233792,16.069828),(78056,18,78,'<NAME>',0,'D764',39.818667,16.388542),(78057,18,78,'Frascineto',0,'D774',39.833969,16.261162),(78058,18,78,'Fuscaldo',0,'D828',39.412953,16.026695),(78059,18,78,'Grimaldi',0,'E180',39.137240,16.232518),(78060,18,78,'Grisolia',0,'E185',39.725059,15.854704),(78061,18,78,'<NAME>',0,'E242',39.465290,15.999856),(78062,18,78,'Lago',0,'E407',39.167826,16.152455),(78063,18,78,'<NAME>',0,'E417',39.952452,15.975011),(78064,18,78,'<NAME>',0,'E419',39.935902,15.976965),(78065,18,78,'Lappano',0,'E450',39.318554,16.314748),(78066,18,78,'Lattarico',0,'E475',39.464303,16.138027),(78067,18,78,'Longobardi',0,'E677',39.215639,16.078326),(78068,18,78,'Longobucco',0,'E678',39.449307,16.610267),(78069,18,78,'Lungro',0,'E745',39.742297,16.122639),(78070,18,78,'Luzzi',0,'E773',39.446816,16.292474),(78071,18,78,'Maierà',0,'E835',39.716197,15.850314),(78072,18,78,'Malito',0,'E859',39.154728,16.248891),(78073,18,78,'Malvito',0,'E872',39.598088,16.052878),(78074,18,78,'Mandatoriccio',0,'E878',39.467133,16.833277),(78075,18,78,'Mangone',0,'E888',39.203265,16.334232),(78076,18,78,'<NAME>',0,'E914',39.312944,16.168734),(78077,18,78,'<NAME>',0,'E915',39.299691,16.173907),(78078,18,78,'Marzi',0,'F001',39.172634,16.306575),(78079,18,78,'Mendicino',0,'F125',39.268829,16.197081),(78080,18,78,'Mongrassano',0,'F370',39.527333,16.115625),(78081,18,78,'<NAME>',0,'F416',39.406743,16.157328),(78082,18,78,'Montegiordano',0,'F519',40.043298,16.533405),(78083,18,78,'<NAME>',0,'F708',39.842960,16.137958),(78084,18,78,'Mormanno',0,'F735',39.889563,15.986386),(78085,18,78,'Mottafollone',0,'F775',39.650110,16.064703),(78086,18,78,'Nocara',0,'F907',40.097711,16.483966),(78087,18,78,'Oriolo',0,'G110',40.051838,16.448426),(78088,18,78,'Orsomarso',0,'G129',39.799315,15.908193),(78089,18,78,'Paludi',0,'G298',39.528337,16.680352),(78090,18,78,'Panettieri',0,'G307',39.060925,16.454183),(78091,18,78,'Paola',0,'G317',39.360240,16.040773),(78092,18,78,'Papasidero',0,'G320',39.871770,15.905873),(78093,18,78,'Parenti',0,'G331',39.162688,16.411367),(78094,18,78,'<NAME>',0,'G372',39.227143,16.264102),(78095,18,78,'Pedace',0,'G400',39.275402,16.337005),(78096,18,78,'Pedivigliano',0,'G411',39.109866,16.303879),(78097,18,78,'<NAME>',0,'G553',39.236170,16.322131),(78098,18,78,'Pietrafitta',0,'G615',39.261770,16.340602),(78099,18,78,'Pietrapaola',0,'G622',39.486153,16.814668),(78100,18,78,'Plataci',0,'G733',39.901139,16.429814),(78101,18,78,'<NAME>',0,'G975',39.893356,15.783125),(78102,18,78,'Rende',0,'H235',39.331775,16.183903),(78103,18,78,'<NAME>',0,'H416',40.109218,16.578273),(78104,18,78,'<NAME>',0,'H488',39.614940,16.157968),(78105,18,78,'Rogliano',0,'H490',39.178644,16.323315),(78106,18,78,'Rose',0,'H565',39.397256,16.293284),(78107,18,78,'<NAME>',0,'H572',39.986741,16.602507),(78108,18,78,'Rossano',0,'H579',39.576331,16.634288),(78109,18,78,'<NAME>',0,'H585',39.467468,16.111913),(78110,18,78,'Rovito',0,'H621',39.312357,16.321617),(78111,18,78,'<NAME>',0,'H765',39.809181,16.163767),(78112,18,78,'<NAME>',0,'H774',39.427262,16.123627),(78113,18,78,'<NAME>',0,'H806',39.585476,16.419774),(78114,18,78,'<NAME>',0,'H818',39.568542,16.363213),(78115,18,78,'<NAME>',0,'H825',39.710571,16.049603),(78116,18,78,'San Fili',0,'H841',39.340149,16.145987),(78117,18,78,'Sangineto',0,'H877',39.604337,15.913216),(78118,18,78,'<NAME>',0,'H881',39.584390,16.452726),(78119,18,78,'<NAME>',0,'H919',39.249650,16.695867),(78120,18,78,'<NAME>',0,'H961',39.887550,16.328634),(78121,18,78,'<NAME>',0,'H962',39.666165,16.294418),(78122,18,78,'<NAME>',0,'H971',39.307449,16.049762),(78123,18,78,'<NAME>',0,'H981',39.555014,16.120084),(78124,18,78,'<NAME>',0,'H992',39.489630,16.108442),(78125,18,78,'<NAME>',0,'I060',39.844892,15.792550),(78126,18,78,'San Pietro in Amantea',0,'I108',39.121659,16.113990),(78127,18,78,'San Pietro in Guarano',0,'I114',39.342054,16.312511),(78128,18,78,'San Sosti',0,'I165',39.662718,16.025714),(78129,18,78,'Santa Caterina Albanese',0,'I171',39.586006,16.068535),(78130,18,78,'Santa Domenica Talao',0,'I183',39.818521,15.854765),(78131,18,78,'Sant\'<NAME>',0,'I192',39.620792,15.983407),(78132,18,78,'Santa Maria del Cedro',0,'C717',39.749888,15.837398),(78133,18,78,'Santa Sofia d\'Epiro',0,'I309',39.547217,16.328782),(78134,18,78,'<NAME> di Rogliano',0,'I359',39.191551,16.317166),(78135,18,78,'<NAME>',0,'I388',39.365104,16.151583),(78136,18,78,'Saracena',0,'I423',39.779227,16.157058),(78137,18,78,'<NAME>',0,'I485',39.444742,16.890055),(78138,18,78,'Scalea',0,'I489',39.814115,15.791268),(78139,18,78,'Scigliano',0,'D290',39.128729,16.307048),(78140,18,78,'<NAME>',0,'I642',39.091753,16.125978),(78141,18,78,'<NAME>',0,'I650',39.278783,16.345758),(78142,18,78,'<NAME>',0,'I895',39.669665,16.311347),(78143,18,78,'<NAME>',0,'I896',39.300683,16.338049),(78144,18,78,'<NAME>',0,'I898',39.285448,16.341525),(78145,18,78,'Tarsia',0,'L055',39.620230,16.268025),(78146,18,78,'<NAME>',0,'L124',39.657520,16.338787),(78147,18,78,'Terravecchia',0,'L134',39.464934,16.947157),(78148,18,78,'<NAME>',0,'L206',39.505045,16.147100),(78149,18,78,'Tortora',0,'L305',39.942134,15.803765),(78150,18,78,'Trebisacce',0,'L353',39.866960,16.531691),(78151,18,78,'Trenta',0,'L375',39.281483,16.323301),(78152,18,78,'<NAME>',0,'L524',39.584343,16.432926),(78153,18,78,'Verbicaro',0,'L747',39.755631,15.912507),(78154,18,78,'Villapiana',0,'B903',39.847259,16.453430),(78155,18,78,'Zumpano',0,'M202',39.310940,16.291189),(79002,18,79,'Albi',0,'A155',39.024688,16.596333),(79003,18,79,'Amaroni',0,'A255',38.792906,16.446225),(79004,18,79,'Amato',0,'A257',38.941452,16.462073),(79005,18,79,'Andali',0,'A272',39.012989,16.769572),(79007,18,79,'Argusto',0,'A397',38.680234,16.438009),(79008,18,79,'Badolato',0,'A542',38.569469,16.525293),(79009,18,79,'Belcastro',0,'A736',39.020580,16.787743),(79011,18,79,'Borgia',0,'B002',38.826911,16.511080),(79012,18,79,'Botricello',0,'B085',38.934816,16.855498),(79017,18,79,'<NAME>',0,'B717',38.880784,16.484817),(79018,18,79,'Cardinale',0,'B758',38.645597,16.388828),(79020,18,79,'Carlopoli',0,'B790',39.057511,16.459090),(79023,18,79,'Catanzaro',1,'C352',38.909792,16.587652),(79024,18,79,'Cenadi',0,'C453',38.719071,16.415003),(79025,18,79,'Centrache',0,'C472',38.728603,16.431873),(79027,18,79,'Cerva',0,'C542',39.025571,16.746331),(79029,18,79,'Chiaravalle Centrale',0,'C616',38.681875,16.414358),(79030,18,79,'Cicala',0,'C674',39.021447,16.485422),(79033,18,79,'Conflenti',0,'C960',39.070458,16.287286),(79034,18,79,'Cortale',0,'D049',38.838541,16.411967),(79036,18,79,'Cropani',0,'D181',38.967813,16.781421),(79039,18,79,'Curinga',0,'D218',38.826097,16.313503),(79042,18,79,'Davoli',0,'D257',38.649165,16.485744),(79043,18,79,'Decollatura',0,'D261',39.047345,16.356149),(79047,18,79,'Falerna',0,'D476',39.002465,16.173555),(79048,18,79,'Feroleto Antico',0,'D544',38.962374,16.387577),(79052,18,79,'<NAME>',0,'D744',38.994917,16.583102),(79055,18,79,'Gagliato',0,'D852',38.677693,16.463001),(79056,18,79,'Gasperina',0,'D932',38.738997,16.508727),(79058,18,79,'Gimigliano',0,'E031',42.866039,13.539376),(79059,18,79,'Girifalco',0,'E050',38.824065,16.420935),(79060,18,79,'Gizzeria',0,'E068',38.981575,16.209130),(79061,18,79,'Guardavalle',0,'E239',38.506225,16.501331),(79063,18,79,'<NAME>',0,'E328',38.599860,16.517535),(79065,18,79,'Jacurso',0,'E274',38.846135,16.382133),(79068,18,79,'Magisano',0,'E806',39.012632,16.627825),(79069,18,79,'Maida',0,'E834',38.857556,16.363905),(79071,18,79,'Marcedusa',0,'E923',39.028007,16.837949),(79072,18,79,'Marcellinara',0,'E925',38.928400,16.495013),(79073,18,79,'Martirano',0,'E990',39.080229,16.248718),(79074,18,79,'<NAME>',0,'E991',39.075301,16.231318),(79077,18,79,'Miglierina',0,'F200',38.949895,16.472958),(79080,18,79,'Montauro',0,'F432',38.748529,16.510988),(79081,18,79,'Montepaone',0,'F586',38.723350,16.494709),(79083,18,79,'<NAME>',0,'F780',39.092036,16.290149),(79087,18,79,'<NAME>',0,'F910',39.038101,16.161023),(79088,18,79,'Olivadi',0,'G034',38.724716,16.424019),(79089,18,79,'Palermiti',0,'G272',38.752538,16.453824),(79092,18,79,'Pentone',0,'G439',38.986311,16.582242),(79094,18,79,'Petrizzi',0,'G517',38.701017,16.473731),(79095,18,79,'Petronà',0,'G518',39.042458,16.758033),(79096,18,79,'Pianopoli',0,'D546',38.954221,16.387049),(79099,18,79,'Platania',0,'G734',39.005596,16.320007),(79108,18,79,'San Floro',0,'H846',38.837300,16.518117),(79110,18,79,'San Mango d\'Aquino',0,'H976',39.059843,16.194100),(79114,18,79,'San Pietro a Maida',0,'I093',38.847007,16.345808),(79115,18,79,'San Pietro Apostolo',0,'I095',38.990382,16.481817),(79116,18,79,'<NAME>',0,'I164',38.639332,16.485068),(79117,18,79,'<NAME>',0,'I170',38.533848,16.520648),(79118,18,79,'Sant\'<NAME>',0,'I266',38.624764,16.525231),(79122,18,79,'<NAME>',0,'I393',38.710368,16.409777),(79123,18,79,'Satriano',0,'I463',38.667824,16.480657),(79126,18,79,'Sellia',0,'I589',38.984435,16.624857),(79127,18,79,'<NAME>',0,'I590',38.906037,16.746931),(79129,18,79,'Serrastretta',0,'I655',39.014226,16.417767),(79130,18,79,'Sersale',0,'I671',39.010114,16.728683),(79131,18,79,'Settingiano',0,'I704',38.910024,16.514956),(79133,18,79,'<NAME>',0,'I745',38.954832,16.640320),(79134,18,79,'<NAME>',0,'I844',39.018933,16.568308),(79137,18,79,'Soverato',0,'I872',38.687974,16.548433),(79138,18,79,'<NAME>',0,'I874',39.087849,16.370611),(79139,18,79,'<NAME>',0,'I875',38.947846,16.676793),(79142,18,79,'Squillace',0,'I929',38.782847,16.519104),(79143,18,79,'Stalettì',0,'I937',38.765475,16.540235),(79146,18,79,'Taverna',0,'L070',39.021021,16.578688),(79147,18,79,'Tiriolo',0,'L177',38.950225,16.511252),(79148,18,79,'<NAME>',0,'L240',38.653225,16.372607),(79151,18,79,'Vallefiorita',0,'I322',38.776024,16.456921),(79157,18,79,'Zagarise',0,'M140',39.000475,16.663709),(79160,18,79,'<NAME>',0,'M208',38.962912,16.309272),(80001,18,80,'Africo',0,'A065',38.050034,16.134276),(80002,18,80,'<NAME>',0,'A077',38.302341,16.224566),(80003,18,80,'Anoia',0,'A303',38.435612,16.080507),(80004,18,80,'Antonimina',0,'A314',38.272536,16.149126),(80005,18,80,'Ardore',0,'A385',38.193091,16.165721),(80006,18,80,'Bagaladi',0,'A544',38.025443,15.821031),(80007,18,80,'<NAME>',0,'A552',38.283768,15.803375),(80008,18,80,'Benestare',0,'A780',38.183635,16.139372),(80009,18,80,'Bianco',0,'A843',38.087502,16.151946),(80010,18,80,'Bivongi',0,'A897',38.483673,16.451628),(80011,18,80,'Bova',0,'B097',37.995152,15.928891),(80012,18,80,'Bovalino',0,'B098',38.151217,16.169489),(80013,18,80,'<NAME>',0,'B099',37.930448,15.924597),(80014,18,80,'Brancaleone',0,'B118',37.971467,16.098253),(80015,18,80,'<NAME>',0,'B234',38.012582,16.081876),(80016,18,80,'Calanna',0,'B379',38.185811,15.724058),(80017,18,80,'Camini',0,'B481',38.431071,16.483113),(80018,18,80,'<NAME>',0,'B516',38.213373,15.659302),(80019,18,80,'Candidoni',0,'B591',38.505477,16.086104),(80020,18,80,'Canolo',0,'B617',38.314610,16.200804),(80021,18,80,'<NAME>',0,'B718',38.092333,16.087552),(80022,18,80,'Cardeto',0,'B756',38.083853,15.766233),(80023,18,80,'Careri',0,'B766',38.177369,16.112826),(80024,18,80,'Casignana',0,'B966',38.104172,16.092074),(80025,18,80,'Caulonia',0,'C285',38.380679,16.409586),(80026,18,80,'Ciminà',0,'C695',38.246275,16.140819),(80027,18,80,'Cinquefrondi',0,'C710',38.417894,16.092324),(80028,18,80,'Cittanova',0,'C747',38.353727,16.077214),(80029,18,80,'Condofuri',0,'C954',38.004767,15.858603),(80030,18,80,'Cosoleto',0,'D089',38.274742,15.925072),(80031,18,80,'Delianuova',0,'D268',38.233573,15.919195),(80032,18,80,'<NAME>',0,'D545',38.466197,16.066265),(80033,18,80,'Ferruzzano',0,'D557',38.039161,16.088124),(80034,18,80,'Fiumara',0,'D619',38.152440,14.853124),(80035,18,80,'Galatro',0,'D864',38.459331,16.109924),(80036,18,80,'Gerace',0,'D975',38.272021,16.221787),(80037,18,80,'Giffone',0,'E025',38.438833,16.151397),(80038,18,80,'<NAME>',0,'E041',38.426226,15.898867),(80039,18,80,'<NAME>',0,'E044',38.339720,16.306000),(80040,18,80,'Grotteria',0,'E212',38.364233,16.265899),(80041,18,80,'Laganadi',0,'E402',38.174206,15.742073),(80042,18,80,'<NAME>',0,'E479',38.490526,16.080395),(80043,18,80,'Locri',0,'D976',38.233719,16.263801),(80044,18,80,'Mammola',0,'E873',38.362282,16.238551),(80045,18,80,'<NAME>',0,'E956',38.302238,16.334421),(80046,18,80,'Maropati',0,'E968',38.442233,16.098494),(80047,18,80,'Martone',0,'E993',38.354648,16.289406),(80048,18,80,'Melicuccà',0,'F105',38.303392,15.881143),(80049,18,80,'Melicucco',0,'F106',38.432903,16.060272),(80050,18,80,'<NAME>',0,'F112',37.920703,15.784013),(80051,18,80,'Molochio',0,'F301',38.310087,16.031403),(80052,18,80,'Monasterace',0,'F324',38.452934,16.551326),(80053,18,80,'<NAME>',0,'D746',37.981706,15.758761),(80054,18,80,'<NAME>',0,'F779',38.001031,15.694976),(80055,18,80,'<NAME>',0,'G082',38.291643,15.985869),(80056,18,80,'Palizzi',0,'G277',37.965891,15.987591),(80057,18,80,'Palmi',0,'G288',38.357568,15.846525),(80058,18,80,'Pazzano',0,'G394',38.476999,16.451193),(80059,18,80,'Placanica',0,'G729',38.413979,16.450646),(80060,18,80,'Platì',0,'G735',38.220841,16.044914),(80061,18,80,'Polistena',0,'G791',38.405598,16.072975),(80062,18,80,'Portigliola',0,'G905',38.228213,16.202099),(80063,18,80,'<NAME>',1,'H224',38.111301,15.647291),(80064,18,80,'Riace',0,'H265',38.418846,16.480328),(80065,18,80,'Rizziconi',0,'H359',38.413914,15.959264),(80066,18,80,'<NAME>',0,'H408',38.046303,15.897471),(80067,18,80,'<NAME>',0,'H456',38.326849,16.405743),(80068,18,80,'Roghudi',0,'H489',37.932368,15.769709),(80069,18,80,'Rosarno',0,'H558',38.487272,15.976057),(80070,18,80,'Samo',0,'H013',38.073277,16.056118),(80071,18,80,'<NAME>',0,'H889',38.385899,16.106792),(80072,18,80,'<NAME>',0,'H903',38.365850,16.277478),(80073,18,80,'<NAME>',0,'H959',38.010491,15.831647),(80074,18,80,'<NAME>',0,'H970',38.147053,16.063258),(80075,18,80,'<NAME>',0,'I102',38.523286,16.133835),(80076,18,80,'<NAME>',0,'I132',38.281925,15.889900),(80077,18,80,'<NAME>',0,'I139',38.211154,15.736485),(80078,18,80,'<NAME>',0,'I176',38.255483,15.970231),(80079,18,80,'<NAME>',0,'I198',38.092905,16.083000),(80080,18,80,'Sant\'Alessio in Aspromonte',0,'I214',38.173072,15.758110),(80081,18,80,'Sant\'<NAME>\'Aspromonte',0,'I333',38.264707,15.853837),(80082,18,80,'Sant\'<NAME>',0,'I341',38.219698,16.195911),(80083,18,80,'<NAME> in Aspromonte',0,'I371',38.168927,15.789738),(80084,18,80,'Scido',0,'I536',38.246071,15.933676),(80085,18,80,'Scilla',0,'I537',38.251201,15.718025),(80086,18,80,'Seminara',0,'I600',38.335155,15.870861),(80087,18,80,'Serrata',0,'I656',38.512510,16.103444),(80088,18,80,'Siderno',0,'I725',38.269366,16.298309),(80089,18,80,'Sinopoli',0,'I753',38.265024,15.877680),(80090,18,80,'Staiti',0,'I936',37.999886,16.032177),(80091,18,80,'Stignano',0,'I955',38.418924,16.469717),(80092,18,80,'Stilo',0,'I956',38.477287,16.468750),(80093,18,80,'Taurianova',0,'L063',38.353425,16.017728),(80094,18,80,'<NAME>',0,'L127',38.322209,16.006434),(80095,18,80,'Varapodio',0,'L673',38.314349,15.984094),(80096,18,80,'Villa <NAME>',0,'M018',38.216746,15.636238),(80097,18,80,'<NAME>',0,'M277',38.482738,15.919075),(81001,19,81,'Alcamo',0,'A176',37.978395,12.968626),(81002,19,81,'<NAME>',0,'B288',38.002146,12.716941),(81003,19,81,'Calatafimi-Segesta',0,'B385',37.914934,12.859696),(81004,19,81,'<NAME>',0,'B521',37.632305,12.748371),(81005,19,81,'<NAME>',0,'C130',38.026491,12.880926),(81006,19,81,'Castelvetrano',0,'C286',37.677871,12.791538),(81007,19,81,'Custonaci',0,'D234',38.078822,12.675117),(81008,19,81,'Erice',0,'D423',38.038089,12.587351),(81009,19,81,'Favignana',0,'D518',37.931076,12.328613),(81010,19,81,'Gibellina',0,'E023',37.786003,12.973271),(81011,19,81,'Marsala',0,'E974',37.798045,12.437016),(81012,19,81,'<NAME>',0,'F061',37.655093,12.589962),(81013,19,81,'Paceco',0,'G208',37.979907,12.559223),(81014,19,81,'Pantelleria',0,'G315',36.828221,11.940496),(81015,19,81,'Partanna',0,'G347',37.724838,12.887163),(81016,19,81,'Poggioreale',0,'G767',37.761650,13.034921),(81017,19,81,'Salaparuta',0,'H688',37.758554,13.010526),(81018,19,81,'Salemi',0,'H700',37.818967,12.798878),(81019,19,81,'<NAME>',0,'I291',37.771995,12.879125),(81020,19,81,'<NAME>',0,'I407',38.175030,12.733462),(81021,19,81,'Trapani',1,'L331',38.017618,12.537202),(81022,19,81,'Valderice',0,'G319',38.036929,12.612129),(81023,19,81,'Vita',0,'M081',37.872344,12.820958),(81024,19,81,'Petrosino',0,'M281',37.711007,12.487887),(82001,19,82,'Alia',0,'A195',37.782026,13.713662),(82002,19,82,'Alimena',0,'A202',37.690147,14.112994),(82003,19,82,'Aliminusa',0,'A203',37.864984,13.782664),(82004,19,82,'<NAME>',0,'A229',38.039375,13.547625),(82005,19,82,'Altofonte',0,'A239',38.044476,13.298103),(82006,19,82,'Bagheria',0,'A546',38.078918,13.512365),(82007,19,82,'Balestrate',0,'A592',38.051330,13.007439),(82008,19,82,'Baucina',0,'A719',37.926826,13.535551),(82009,19,82,'<NAME>',0,'A764',38.047963,13.387500),(82010,19,82,'Bisacquino',0,'A882',37.705609,13.259146),(82011,19,82,'Bolognetta',0,'A946',37.963219,13.457258),(82012,19,82,'Bompietro',0,'A958',37.747089,14.100318),(82013,19,82,'Borgetto',0,'A991',38.048106,13.138628),(82014,19,82,'Caccamo',0,'B315',37.931378,13.665214),(82015,19,82,'Caltavuturo',0,'B430',37.819657,13.891029),(82016,19,82,'<NAME>',0,'B533',37.826716,13.486203),(82017,19,82,'<NAME>',0,'B532',37.991566,13.885095),(82018,19,82,'Campofiorito',0,'B535',37.752265,13.267836),(82019,19,82,'Camporeale',0,'B556',37.897993,13.094896),(82020,19,82,'Capaci',0,'B645',38.171326,13.239241),(82021,19,82,'Carini',0,'B780',38.131161,13.181261),(82022,19,82,'Castelbuono',0,'C067',37.932988,14.088775),(82023,19,82,'Casteldaccia',0,'C074',38.054954,13.531244),(82024,19,82,'<NAME>',0,'C135',37.781962,14.043259),(82025,19,82,'<NAME>',0,'C344',37.680075,13.603862),(82026,19,82,'<NAME>',0,'C420',37.915074,13.463460),(82027,19,82,'Cefalù',0,'C421',38.033705,14.017444),(82028,19,82,'Cerda',0,'C496',37.903530,13.814857),(82029,19,82,'<NAME>',0,'C654',37.678450,13.271563),(82030,19,82,'Ciminna',0,'C696',37.896412,13.560219),(82031,19,82,'Cinisi',0,'C708',38.155087,13.108810),(82032,19,82,'Collesano',0,'C871',37.923299,13.939015),(82033,19,82,'<NAME>',0,'C968',37.729539,13.183355),(82034,19,82,'Corleone',0,'D009',37.813817,13.298785),(82035,19,82,'Ficarazzi',0,'D567',38.089727,13.470695),(82036,19,82,'Gangi',0,'D907',37.796650,14.205906),(82037,19,82,'<NAME>',0,'D977',37.851890,14.152703),(82038,19,82,'Giardinello',0,'E013',38.088600,13.157032),(82039,19,82,'Giuliana',0,'E055',37.670429,13.237618),(82040,19,82,'Godrano',0,'E074',37.903695,13.427525),(82041,19,82,'Gratteri',0,'E149',37.965450,13.974521),(82042,19,82,'Isnello',0,'E337',37.942962,14.005511),(82043,19,82,'<NAME>',0,'E350',38.198598,13.249324),(82044,19,82,'Lascari',0,'E459',37.997703,13.944527),(82045,19,82,'<NAME>',0,'E541',37.746730,13.598420),(82046,19,82,'Marineo',0,'E957',37.953884,13.418996),(82047,19,82,'Mezzojuso',0,'F184',37.863043,13.468719),(82048,19,82,'Misilmeri',0,'F246',38.029903,13.448187),(82049,19,82,'Monreale',0,'F377',38.081499,13.288983),(82050,19,82,'Montelepre',0,'F544',38.089718,13.172707),(82051,19,82,'<NAME>',0,'F553',37.848346,13.761931),(82052,19,82,'<NAME>',0,'G263',37.681523,13.379061),(82053,19,82,'Palermo',1,'G273',38.115688,13.361267),(82054,19,82,'Partinico',0,'G348',38.046698,13.118354),(82055,19,82,'<NAME>',0,'G510',37.796415,14.107878),(82056,19,82,'Petr<NAME>',0,'G511',37.808565,14.089951),(82057,19,82,'<NAME>',0,'G543',37.993749,13.288292),(82058,19,82,'<NAME>',0,'G792',37.803261,13.995627),(82059,19,82,'Pollina',0,'G797',37.992979,14.146658),(82060,19,82,'Prizzi',0,'H070',37.722135,13.428250),(82061,19,82,'Roccamena',0,'H422',37.839841,13.155613),(82062,19,82,'Roccapalumba',0,'H428',37.804640,13.637455),(82063,19,82,'<NAME>',0,'H797',37.963393,13.175925),(82064,19,82,'<NAME>',0,'H933',37.969095,13.181834),(82065,19,82,'<NAME>',0,'I028',37.915451,14.192227),(82066,19,82,'<NAME>',0,'I174',37.984769,13.328064),(82067,19,82,'<NAME>',0,'I188',38.081719,13.525332),(82068,19,82,'Sciara',0,'I534',37.917472,13.760043),(82069,19,82,'<NAME>',0,'I541',37.821175,13.854759),(82070,19,82,'<NAME>',0,'L112',37.984023,13.696189),(82071,19,82,'Terrasini',0,'L131',38.151458,13.082736),(82072,19,82,'Torretta',0,'L282',38.131582,13.236797),(82073,19,82,'Trabia',0,'L317',38.000682,13.646131),(82074,19,82,'Trappeto',0,'L332',38.068732,13.042514),(82075,19,82,'Ustica',0,'L519',38.703118,13.168268),(82076,19,82,'Valledolmo',0,'L603',37.747188,13.827707),(82077,19,82,'<NAME>',0,'L740',37.922651,13.572709),(82078,19,82,'Vicari',0,'L837',37.826172,13.570587),(82079,19,82,'Villabate',0,'L916',38.075656,13.443407),(82080,19,82,'Villafrati',0,'L951',37.905395,13.489262),(82081,19,82,'Scillato',0,'I538',37.855957,13.905259),(82082,19,82,'Blufi',0,'M268',37.752314,14.076963),(83001,19,83,'<NAME>',0,'A177',38.021337,14.700974),(83002,19,83,'Alì',0,'A194',38.027376,15.419255),(83003,19,83,'<NAME>',0,'A201',38.004856,15.423697),(83004,19,83,'Antillo',0,'A313',37.975909,15.246380),(83005,19,83,'<NAME>',0,'A638',38.147262,15.212848),(83006,19,83,'Basicò',0,'A698',38.060358,15.062317),(83007,19,83,'Brolo',0,'B198',38.156367,14.827950),(83008,19,83,'Capizzi',0,'B660',37.848568,14.477217),(83009,19,83,'<NAME>',0,'B666',38.158524,14.742693),(83010,19,83,'<NAME>',0,'B695',38.085887,14.729825),(83011,19,83,'Caronia',0,'B804',38.021796,14.441107),(83012,19,83,'<NAME>',0,'B918',37.973140,15.277998),(83013,19,83,'<NAME>',0,'C094',37.887652,14.313236),(83014,19,83,'Castell\'Umberto',0,'C051',38.085747,14.806067),(83015,19,83,'Castelmola',0,'C210',37.859021,15.277826),(83016,19,83,'Castroreale',0,'C347',38.100581,15.212629),(83017,19,83,'Cesarò',0,'C568',37.843818,14.713249),(83018,19,83,'Condrò',0,'C956',38.173331,15.327024),(83019,19,83,'Falcone',0,'D474',38.116801,15.085400),(83020,19,83,'Ficarra',0,'D569',38.109843,14.828743),(83021,19,83,'Fiumedinisi',0,'D622',38.026290,15.382085),(83022,19,83,'Floresta',0,'D635',37.985828,14.907491),(83023,19,83,'Fondachelli-Fantina',0,'D661',37.982007,15.172057),(83024,19,83,'<NAME>',0,'D733',37.914352,15.335804),(83025,19,83,'<NAME>',0,'D765',37.901510,15.135852),(83026,19,83,'Frazzanò',0,'D793',38.071541,14.742979),(83027,19,83,'<NAME>',0,'D824',37.961423,15.381824),(83028,19,83,'Furnari',0,'D825',38.103812,15.123400),(83029,19,83,'Gaggi',0,'D844',37.860176,15.221198),(83030,19,83,'<NAME>',0,'D861',38.032536,14.772678),(83031,19,83,'Gallodoro',0,'D885',37.902003,15.293713),(83032,19,83,'Giardini-Naxos',0,'E014',37.834476,15.270652),(83033,19,83,'<NAME>',0,'E043',38.174783,14.896174),(83034,19,83,'Graniti',0,'E142',37.891068,15.225788),(83035,19,83,'<NAME>',0,'E233',38.162954,15.317509),(83036,19,83,'Itala',0,'E374',38.050905,15.436857),(83037,19,83,'Leni',0,'E523',38.558310,14.826451),(83038,19,83,'Letojanni',0,'E555',37.879726,15.306665),(83039,19,83,'Librizzi',0,'E571',38.097053,14.958278),(83040,19,83,'Limina',0,'E594',37.941434,15.272671),(83041,19,83,'Lipari',0,'E606',38.493662,14.927204),(83042,19,83,'Longi',0,'E674',38.027322,14.753135),(83043,19,83,'Malfa',0,'E855',38.581243,14.837775),(83044,19,83,'Malvagna',0,'E869',37.918025,15.055725),(83045,19,83,'Mandanici',0,'E876',38.003754,15.316941),(83046,19,83,'<NAME>',0,'F066',38.089636,15.137332),(83047,19,83,'Merì',0,'F147',38.166182,15.249468),(83048,19,83,'Messina',1,'F158',38.193814,15.554015),(83049,19,83,'Milazzo',0,'F206',38.220710,15.241933),(83050,19,83,'<NAME>',0,'F210',38.045460,14.675907),(83051,19,83,'Mirto',0,'F242',38.084332,14.750536),(83052,19,83,'Mistretta',0,'F251',37.927801,14.362571),(83053,19,83,'<NAME>',0,'F277',37.899797,15.049921),(83054,19,83,'<NAME>',0,'F359',38.156479,15.382914),(83055,19,83,'<NAME>',0,'F368',37.910461,15.277378),(83056,19,83,'Montagnareale',0,'F395',38.132192,14.946534),(83057,19,83,'<NAME>',0,'F400',38.022948,15.016392),(83058,19,83,'<NAME>',0,'F772',37.894392,15.170137),(83059,19,83,'<NAME>',0,'F773',37.981162,14.303200),(83060,19,83,'Naso',0,'F848',38.120270,14.786312),(83061,19,83,'<NAME>',0,'F901',37.992443,15.411416),(83062,19,83,'<NAME>',0,'F951',38.016024,15.130842),(83063,19,83,'Oliveri',0,'G036',38.123000,15.059956),(83064,19,83,'<NAME>',0,'G209',38.178444,15.307416),(83065,19,83,'Pagliara',0,'G234',37.986261,15.360074),(83066,19,83,'Patti',0,'G377',38.138623,14.966624),(83067,19,83,'Pettineo',0,'G522',37.968081,14.291405),(83068,19,83,'Piraino',0,'G699',38.161613,14.860881),(83069,19,83,'Raccuja',0,'H151',38.058289,14.909524),(83070,19,83,'Reitano',0,'H228',37.972688,14.343004),(83071,19,83,'Roccafiorita',0,'H405',37.930530,15.268640),(83072,19,83,'Roccalumera',0,'H418',37.969462,15.388709),(83073,19,83,'Roccavaldina',0,'H380',38.182656,15.374874),(83074,19,83,'<NAME>',0,'H455',37.933871,15.010683),(83075,19,83,'<NAME>',0,'H479',38.109982,15.169240),(83076,19,83,'Rometta',0,'H519',38.171136,15.414881),(83077,19,83,'<NAME>',0,'H842',38.169165,15.274290),(83078,19,83,'<NAME>',0,'H850',38.012827,14.597457),(83079,19,83,'<NAME>',0,'H982',38.073723,14.697948),(83080,19,83,'<NAME>',0,'I084',38.158340,15.351129),(83081,19,83,'<NAME>',0,'I086',38.050429,14.966201),(83082,19,83,'<NAME>',0,'I147',38.070567,14.777098),(83083,19,83,'<NAME>',0,'I184',37.916910,14.962621),(83084,19,83,'<NAME>',0,'I199',38.068865,14.635635),(83085,19,83,'Sant\'<NAME>',0,'I215',37.922058,15.346967),(83086,19,83,'<NAME>',0,'I220',38.142153,15.280729),(83087,19,83,'<NAME>',0,'I254',38.561920,14.873823),(83088,19,83,'Sant\'<NAME>',0,'I283',38.114121,14.882688),(83089,19,83,'<NAME>',0,'I311',37.945573,15.367707),(83090,19,83,'<NAME>',0,'I328',40.772284,9.669546),(83091,19,83,'<NAME>',0,'I370',38.014135,14.347954),(83092,19,83,'Saponara',0,'I420',38.194316,15.433762),(83093,19,83,'Savoca',0,'I477',37.955758,15.339630),(83094,19,83,'<NAME>',0,'I492',38.053278,15.474914),(83095,19,83,'Sinagra',0,'I747',38.083506,14.850190),(83096,19,83,'Spadafora',0,'I881',38.222734,15.379359),(83097,19,83,'Taormina',0,'L042',37.851637,15.285313),(83098,19,83,'Torregrotta',0,'L271',38.190714,15.352318),(83099,19,83,'Tortorici',0,'L308',38.030475,14.824596),(83100,19,83,'Tripi',0,'L431',38.046793,15.096763),(83101,19,83,'Tusa',0,'L478',37.983494,14.236268),(83102,19,83,'Ucria',0,'L482',38.043478,14.879276),(83103,19,83,'Valdina',0,'L561',38.193605,15.368835),(83104,19,83,'Venetico',0,'L735',38.193532,15.379737),(83105,19,83,'<NAME>',0,'L950',38.235485,15.432821),(83106,19,83,'<NAME>',0,'M210',38.133600,15.154866),(83107,19,83,'Acquedolci',0,'M211',38.055544,14.583130),(83108,19,83,'Torrenova',0,'M286',38.087047,14.678376),(84001,19,84,'Agrigento',1,'A089',37.311090,13.576548),(84002,19,84,'<NAME>',0,'A181',37.569617,13.453475),(84003,19,84,'Aragona',0,'A351',37.407403,13.618945),(84004,19,84,'Bivona',0,'A896',37.618361,13.440530),(84005,19,84,'Burgio',0,'B275',37.598557,13.290784),(84006,19,84,'Calamonaci',0,'B377',37.526165,13.289355),(84007,19,84,'Caltabellotta',0,'B427',37.575750,13.218615),(84008,19,84,'Camastra',0,'B460',37.251284,13.794301),(84009,19,84,'Cammarata',0,'B486',37.632794,13.638671),(84010,19,84,'<NAME>',0,'B520',37.258844,13.917697),(84011,19,84,'Canicattì',0,'B602',37.358179,13.850690),(84012,19,84,'Casteltermini',0,'C275',37.540964,13.643208),(84013,19,84,'Castrofilippo',0,'C341',37.347488,13.749643),(84014,19,84,'<NAME>',0,'C356',37.440822,13.393837),(84015,19,84,'Cianciana',0,'C668',37.521316,13.432789),(84016,19,84,'Comitini',0,'C928',37.408294,13.643691),(84017,19,84,'Favara',0,'D514',37.316048,13.662348),(84018,19,84,'Grotte',0,'E209',37.402643,13.701140),(84019,19,84,'<NAME>',0,'E390',37.387886,13.555325),(84020,19,84,'<NAME>',0,'E431',35.507409,12.604400),(84021,19,84,'Licata',0,'E573',37.101709,13.937331),(84022,19,84,'<NAME>',0,'E714',37.578822,13.306716),(84023,19,84,'Menfi',0,'F126',37.599220,12.968240),(84024,19,84,'Montallegro',0,'F414',37.391188,13.350360),(84025,19,84,'Montevago',0,'F655',37.705617,12.985167),(84026,19,84,'Naro',0,'F845',37.294829,13.795124),(84027,19,84,'<NAME>',0,'G282',37.192928,13.761947),(84028,19,84,'<NAME>',0,'F299',37.288180,13.527172),(84029,19,84,'Racalmuto',0,'H148',37.408839,13.732624),(84030,19,84,'Raffadali',0,'H159',37.404859,13.531203),(84031,19,84,'Ravanusa',0,'H194',37.267919,13.973316),(84032,19,84,'Realmonte',0,'H205',37.308709,13.462240),(84033,19,84,'Ribera',0,'H269',37.503170,13.266765),(84034,19,84,'<NAME>',0,'H743',37.647714,13.111111),(84035,19,84,'<NAME>',0,'H778',37.509293,13.524961),(84036,19,84,'<NAME>',0,'H914',37.626167,13.641147),(84037,19,84,'Santa Elisabetta',0,'I185',37.432689,13.554983),(84038,19,84,'Santa Margherita di Belice',0,'I224',37.691274,13.022594),(84039,19,84,'<NAME>',0,'I290',37.480744,13.546203),(84040,19,84,'<NAME>',0,'I356',37.625467,13.489699),(84041,19,84,'Sciacca',0,'I533',37.508515,13.081631),(84042,19,84,'Siculiana',0,'I723',37.335445,13.421662),(84043,19,84,'<NAME>',0,'L944',37.587433,13.289238),(85001,19,85,'<NAME>',0,'A049',37.572339,13.701135),(85002,19,85,'Bompensiere',0,'A957',37.473826,13.780775),(85003,19,85,'Butera',0,'B302',37.191646,14.182458),(85004,19,85,'Caltanissetta',1,'B429',37.490112,14.062893),(85005,19,85,'Campofranco',0,'B537',37.509686,13.710389),(85006,19,85,'Delia',0,'D267',37.356288,13.926812),(85007,19,85,'Gela',0,'D960',37.074153,14.240354),(85008,19,85,'Marianopoli',0,'E953',37.599206,13.914941),(85009,19,85,'Mazzarino',0,'F065',37.303934,14.211789),(85010,19,85,'Milena',0,'E618',37.470530,13.736559),(85011,19,85,'Montedoro',0,'F489',37.454521,13.815503),(85012,19,85,'Mussomeli',0,'F830',37.575674,13.752969),(85013,19,85,'Niscemi',0,'F899',37.148551,14.387814),(85014,19,85,'Resuttano',0,'H245',37.676592,14.029896),(85015,19,85,'Riesi',0,'H281',37.280830,14.080807),(85016,19,85,'San Cataldo',0,'H792',37.483155,13.988098),(85017,19,85,'Santa Caterina Villarmosa',0,'I169',37.589439,14.035528),(85018,19,85,'Serradifalco',0,'I644',37.456549,13.882577),(85019,19,85,'Sommatino',0,'I824',37.334322,13.994476),(85020,19,85,'Sutera',0,'L016',37.520850,13.735535),(85021,19,85,'<NAME>',0,'L609',37.683932,13.832395),(85022,19,85,'Villalba',0,'L959',37.655767,13.845487),(86001,19,86,'Agira',0,'A070',37.656680,14.518902),(86002,19,86,'Aidone',0,'A098',37.415915,14.445497),(86003,19,86,'Assoro',0,'A478',37.627346,14.422311),(86004,19,86,'Barrafranca',0,'A676',37.375433,14.200865),(86005,19,86,'Calascibetta',0,'B381',37.589522,14.270521),(86006,19,86,'Catenanuova',0,'C353',37.570955,14.691877),(86007,19,86,'Centuripe',0,'C471',37.622230,14.740754),(86008,19,86,'Cerami',0,'C480',37.809461,14.508181),(86009,19,86,'Enna',1,'C342',37.565555,14.275191),(86010,19,86,'<NAME>',0,'D849',37.710763,14.534717),(86011,19,86,'Leonforte',0,'E536',37.639206,14.391633),(86012,19,86,'Nicosia',0,'F892',37.746923,14.395278),(86013,19,86,'Nissoria',0,'F900',37.653587,14.449894),(86014,19,86,'<NAME>',0,'G580',37.385768,14.370671),(86015,19,86,'Pietraperzia',0,'G624',37.420984,14.139466),(86016,19,86,'Regalbuto',0,'H221',37.650008,14.640257),(86017,19,86,'Sperlinga',0,'I891',37.765671,14.351403),(86018,19,86,'Troina',0,'L448',37.784792,14.600072),(86019,19,86,'<NAME>',0,'L583',37.495008,14.384036),(86020,19,86,'Villarosa',0,'M011',37.586537,14.173530),(87001,19,87,'<NAME>',0,'A025',37.595517,15.109543),(87002,19,87,'<NAME>',0,'A026',37.555722,15.144480),(87003,19,87,'<NAME>',0,'A027',37.606435,15.141925),(87004,19,87,'Acireale',0,'A028',37.607802,15.166736),(87005,19,87,'<NAME>',0,'A029',37.606255,15.125970),(87006,19,87,'Adrano',0,'A056',37.662756,14.832615),(87007,19,87,'Belpasso',0,'A766',37.589820,14.976828),(87008,19,87,'Biancavilla',0,'A841',37.641213,14.870591),(87009,19,87,'Bronte',0,'B202',37.788350,14.830666),(87010,19,87,'Calatabiano',0,'B384',37.822859,15.227613),(87011,19,87,'Caltagirone',0,'B428',37.238093,14.512607),(87012,19,87,'<NAME>',0,'B561',37.570530,15.003261),(87013,19,87,'<NAME>',0,'C091',37.493617,14.650766),(87014,19,87,'<NAME>',0,'C297',37.880942,15.124028),(87015,19,87,'Catania',1,'C351',37.507877,15.083030),(87016,19,87,'<NAME>',0,'D623',37.793014,15.207856),(87017,19,87,'Giarre',0,'E017',37.726987,15.184244),(87018,19,87,'Grammichele',0,'E133',37.214765,14.636400),(87019,19,87,'<NAME>',0,'E156',37.560682,15.060904),(87020,19,87,'<NAME>',0,'E578',37.155144,14.700238),(87021,19,87,'Linguaglossa',0,'E602',37.842771,15.141768),(87022,19,87,'Maletto',0,'E854',37.831769,14.866170),(87023,19,87,'Mascali',0,'F004',37.751651,15.193514),(87024,19,87,'Mascalucia',0,'F005',37.574146,15.050643),(87025,19,87,'<NAME> Val di Catania',0,'F209',37.273482,14.793682),(87026,19,87,'Milo',0,'F214',37.722899,15.114442),(87027,19,87,'Mineo',0,'F217',37.265866,14.690683),(87028,19,87,'<NAME>',0,'F231',37.328938,14.443606),(87029,19,87,'Misterbianco',0,'F250',37.518310,15.007740),(87030,19,87,'<NAME>',0,'F781',37.512943,14.969807),(87031,19,87,'Nicolosi',0,'F890',37.617495,15.024093),(87032,19,87,'Palagonia',0,'G253',37.328218,14.746705),(87033,19,87,'Paternò',0,'G371',37.567180,14.901757),(87034,19,87,'Pedara',0,'G402',37.618616,15.060823),(87035,19,87,'<NAME>',0,'G597',37.807174,15.178467),(87036,19,87,'Raddusa',0,'H154',37.472700,14.531970),(87037,19,87,'Ramacca',0,'H168',37.385143,14.693538),(87038,19,87,'Randazzo',0,'H175',37.877882,14.950737),(87039,19,87,'Riposto',0,'H325',37.732124,15.205427),(87040,19,87,'<NAME>',0,'H805',37.289370,14.364202),(87041,19,87,'<NAME>',0,'H922',37.578276,15.094772),(87042,19,87,'<NAME>',0,'H940',37.565835,15.113845),(87043,19,87,'<NAME>',0,'I035',37.280145,14.426699),(87044,19,87,'<NAME>',0,'I098',37.572016,15.022778),(87045,19,87,'Sant\'<NAME>',0,'I202',37.553523,15.080187),(87046,19,87,'Sant\'Alfio',0,'I216',37.742798,15.139043),(87047,19,87,'<NAME>',0,'I240',37.616902,14.886807),(87048,19,87,'<NAME>',0,'I314',37.686090,15.134939),(87049,19,87,'Scordia',0,'I548',37.293883,14.842801),(87050,19,87,'Trecastagni',0,'L355',37.616226,15.078651),(87051,19,87,'<NAME>',0,'L369',37.575476,15.073384),(87052,19,87,'Valverde',0,'L658',37.578885,15.123242),(87053,19,87,'Viagrande',0,'L828',37.609461,15.097494),(87054,19,87,'Vizzini',0,'M100',37.161319,14.748868),(87055,19,87,'<NAME>',0,'M139',37.689744,15.105272),(87056,19,87,'Mazzarrone',0,'M271',37.082559,14.558960),(87057,19,87,'Maniace',0,'M283',37.884008,14.798006),(87058,19,87,'Ragalna',0,'M287',37.634749,14.950012),(88001,19,88,'Acate',0,'A014',37.025286,14.492466),(88002,19,88,'<NAME>',0,'C612',37.031075,14.703172),(88003,19,88,'Comiso',0,'C927',36.947379,14.603677),(88004,19,88,'Giarratana',0,'E016',37.048544,14.793396),(88005,19,88,'Ispica',0,'E366',36.788137,14.910157),(88006,19,88,'Modica',0,'F258',36.858836,14.760815),(88007,19,88,'<NAME>',0,'F610',37.090417,14.765596),(88008,19,88,'Pozzallo',0,'G953',36.729861,14.849113),(88009,19,88,'Ragusa',1,'H163',36.926927,14.725513),(88010,19,88,'<NAME>',0,'I178',36.828466,14.524106),(88011,19,88,'Scicli',0,'I535',36.793212,14.706973),(88012,19,88,'Vittoria',0,'M088',36.952100,14.537265),(89001,19,89,'Augusta',0,'A494',37.250068,15.221697),(89002,19,89,'Avola',0,'A522',36.909532,15.134889),(89003,19,89,'Buccheri',0,'B237',37.126949,14.848111),(89004,19,89,'Buscemi',0,'B287',37.086207,14.885022),(89005,19,89,'<NAME>',0,'B603',37.030342,15.067960),(89006,19,89,'Carlentini',0,'B787',37.269823,15.014569),(89007,19,89,'Cassaro',0,'C006',37.105618,14.948131),(89008,19,89,'Ferla',0,'D540',37.119438,14.940008),(89009,19,89,'Floridia',0,'D636',37.083337,15.152012),(89010,19,89,'Francofonte',0,'D768',37.226051,14.878619),(89011,19,89,'Lentini',0,'E532',37.283819,14.996114),(89012,19,89,'Melilli',0,'F107',37.181034,15.125389),(89013,19,89,'Noto',0,'F943',36.892443,15.065195),(89014,19,89,'Pachino',0,'G211',36.712461,15.094004),(89015,19,89,'<NAME>',0,'G267',37.061862,14.904141),(89016,19,89,'Rosolini',0,'H574',36.819998,14.953812),(89017,19,89,'Siracusa',1,'I754',37.075474,15.286586),(89018,19,89,'Solarino',0,'I785',37.100850,15.119678),(89019,19,89,'Sortino',0,'I864',37.157968,15.027738),(89020,19,89,'<NAME>',0,'M257',36.681690,15.133875),(89021,19,89,'<NAME>',0,'M279',37.157858,15.183701),(90003,20,90,'Alghero',0,'A192',40.557952,8.319295),(90004,20,90,'Anela',0,'A287',40.443700,9.057134),(90005,20,90,'Ardara',0,'A379',40.621556,8.809372),(90007,20,90,'Banari',0,'A606',40.571629,8.696065),(90008,20,90,'Benetutti',0,'A781',40.455776,9.168023),(90010,20,90,'Bessude',0,'A827',40.553117,8.726981),(90011,20,90,'Bonnanaro',0,'A976',40.533418,8.767919),(90012,20,90,'Bono',0,'A977',40.416917,9.030157),(90013,20,90,'Bonorva',0,'A978',40.416852,8.768886),(90015,20,90,'Borutta',0,'B064',40.522529,8.743546),(90016,20,90,'Bottidda',0,'B094',40.391650,9.008877),(90018,20,90,'Bultei',0,'B264',40.456318,9.063163),(90019,20,90,'Bulzi',0,'B265',40.844440,8.833311),(90020,20,90,'Burgos',0,'B276',40.391298,8.993681),(90022,20,90,'Cargeghe',0,'B772',40.668315,8.615455),(90023,20,90,'Castelsardo',0,'C272',40.913692,8.708592),(90024,20,90,'Cheremule',0,'C600',40.504318,8.726168),(90025,20,90,'Chiaramonti',0,'C613',40.748074,8.826609),(90026,20,90,'Codrongianos',0,'C818',40.657650,8.679352),(90027,20,90,'Cossoine',0,'D100',40.429945,8.715503),(90028,20,90,'Esporlatu',0,'D441',40.385627,8.990328),(90029,20,90,'Florinas',0,'D637',40.648971,8.660950),(90030,20,90,'Giave',0,'E019',40.451721,8.751431),(90031,20,90,'Illorai',0,'E285',40.354347,9.003407),(90032,20,90,'Ittireddu',0,'E376',40.544402,8.902325),(90033,20,90,'Ittiri',0,'E377',40.594173,8.566064),(90034,20,90,'Laerru',0,'E401',40.817798,8.833635),(90038,20,90,'Mara',0,'E902',40.409731,8.639099),(90039,20,90,'Martis',0,'E992',40.778677,8.806739),(90040,20,90,'<NAME>',0,'F542',40.471733,8.560127),(90042,20,90,'Mores',0,'F721',40.548498,8.829456),(90043,20,90,'Muros',0,'F818',40.678661,8.617998),(90044,20,90,'<NAME>',0,'F975',40.556248,9.020491),(90045,20,90,'Nule',0,'F976',40.462941,9.191729),(90046,20,90,'Nulvi',0,'F977',40.789250,8.742972),(90048,20,90,'Olmedo',0,'G046',40.647886,8.381780),(90050,20,90,'Osilo',0,'G156',40.742885,8.666380),(90051,20,90,'Ossi',0,'G178',40.674977,8.588973),(90052,20,90,'Ozieri',0,'G203',40.586250,9.000060),(90053,20,90,'Padria',0,'G225',40.394331,8.632265),(90055,20,90,'Pattada',0,'G376',40.581320,9.117681),(90056,20,90,'Perfugas',0,'G450',40.828093,8.883860),(90057,20,90,'Ploaghe',0,'G740',40.664907,8.744669),(90058,20,90,'<NAME>',0,'G924',40.833368,8.402293),(90059,20,90,'Pozzomaggiore',0,'G962',40.399794,8.658426),(90060,20,90,'Putifigari',0,'H095',40.560525,8.461135),(90061,20,90,'Romana',0,'H507',40.484551,8.585287),(90064,20,90,'Sassari',1,'I452',40.725927,8.555683),(90065,20,90,'Sedini',0,'I565',40.851063,8.816781),(90066,20,90,'Semestene',0,'I598',40.397735,8.724081),(90067,20,90,'Sennori',0,'I614',40.791868,8.591698),(90068,20,90,'Siligo',0,'I732',40.575797,8.727190),(90069,20,90,'Sorso',0,'I863',40.796803,8.575034),(90071,20,90,'Thiesi',0,'L158',40.526862,8.720105),(90072,20,90,'Tissi',0,'L180',40.677890,8.562137),(90073,20,90,'Torralba',0,'L235',40.515081,8.761664),(90075,20,90,'Tula',0,'L464',40.729961,8.983398),(90076,20,90,'Uri',0,'L503',40.640836,8.481228),(90077,20,90,'Usini',0,'L509',40.663826,8.541825),(90078,20,90,'<NAME>',0,'L989',40.500681,8.474357),(90079,20,90,'Valledoria',0,'L604',40.929315,8.828974),(90082,20,90,'Viddalba',0,'M259',40.912797,8.890436),(90086,20,90,'Tergu',0,'M282',40.864826,8.712325),(90087,20,90,'<NAME>',0,'M284',40.907499,8.876586),(90088,20,90,'Erula',0,'M292',40.789720,8.943395),(90089,20,90,'Stintino',0,'M290',40.940133,8.223589),(91001,20,91,'Aritzo',0,'A407',39.952582,9.194977),(91003,20,91,'Atzara',0,'A492',39.992860,9.076492),(91004,20,91,'Austis',0,'A503',40.070836,9.086888),(91007,20,91,'Belvì',0,'A776',39.965510,9.185060),(91008,20,91,'Birori',0,'A880',40.265679,8.815155),(91009,20,91,'Bitti',0,'A895',40.480529,9.388730),(91010,20,91,'Bolotana',0,'A948',40.327829,8.955823),(91011,20,91,'Borore',0,'B056',40.215527,8.803570),(91012,20,91,'Bortigali',0,'B062',40.284591,8.837633),(91016,20,91,'Desulo',0,'D287',40.013249,9.231816),(91017,20,91,'Dorgali',0,'D345',40.289132,9.591323),(91018,20,91,'Dualchi',0,'D376',40.229503,8.895770),(91024,20,91,'Fonni',0,'D665',40.120940,9.254149),(91025,20,91,'Gadoni',0,'D842',39.914225,9.185372),(91027,20,91,'Galtellì',0,'D888',40.384897,9.612155),(91028,20,91,'Gavoi',0,'D947',40.163050,9.194395),(91033,20,91,'Irgoli',0,'E323',40.408826,9.633311),(91038,20,91,'Lei',0,'E517',40.307733,8.920044),(91040,20,91,'Loculi',0,'E646',40.406946,9.609311),(91041,20,91,'Lodè',0,'E647',40.591257,9.538841),(91043,20,91,'Lula',0,'E736',40.471019,9.489738),(91044,20,91,'Macomer',0,'E788',40.266225,8.777309),(91046,20,91,'Mamoiada',0,'E874',40.211557,9.283897),(91047,20,91,'<NAME>',0,'F073',39.945101,9.072546),(91050,20,91,'Noragugume',0,'F933',40.225111,8.918715),(91051,20,91,'Nuoro',1,'F979',40.320242,9.326438),(91055,20,91,'Oliena',0,'G031',40.276642,9.401877),(91056,20,91,'Ollolai',0,'G044',40.169246,9.175856),(91057,20,91,'Olzai',0,'G058',40.182270,9.147394),(91058,20,91,'Onanì',0,'G064',40.484615,9.441572),(91059,20,91,'Onifai',0,'G070',40.405449,9.650823),(91060,20,91,'Oniferi',0,'G071',40.263634,9.164989),(91061,20,91,'Orani',0,'G084',40.248528,9.176860),(91062,20,91,'Orgosolo',0,'G097',40.205506,9.348390),(91063,20,91,'Orosei',0,'G119',40.376785,9.696746),(91064,20,91,'Orotelli',0,'G120',40.301947,9.109681),(91066,20,91,'Ortueri',0,'G146',40.035325,8.987044),(91067,20,91,'Orune',0,'G147',40.412898,9.366566),(91068,20,91,'Osidda',0,'G154',40.523561,9.221017),(91070,20,91,'Ottana',0,'G191',40.234294,9.042556),(91071,20,91,'Ovodda',0,'G201',40.094874,9.161887),(91073,20,91,'Posada',0,'G929',40.630360,9.714892),(91077,20,91,'Sarule',0,'I448',40.226680,9.164503),(91083,20,91,'Silanus',0,'I730',40.289684,8.888961),(91084,20,91,'Sindia',0,'I748',40.296174,8.658177),(91085,20,91,'Siniscola',0,'I751',40.576627,9.693566),(91086,20,91,'Sorgono',0,'I851',40.027199,9.101962),(91090,20,91,'Teti',0,'L153',40.096421,9.120225),(91091,20,91,'Tiana',0,'L160',40.066578,9.149629),(91093,20,91,'Tonara',0,'L202',40.024311,9.170759),(91094,20,91,'Torpè',0,'L231',40.629075,9.677072),(91104,20,91,'Lodine',0,'E649',40.148448,9.218189),(92002,20,92,'Armungia',0,'A419',39.520649,9.378321),(92003,20,92,'Assemini',0,'A474',39.291500,8.997758),(92004,20,92,'Ballao',0,'A597',39.548476,9.361993),(92005,20,92,'Barrali',0,'A677',39.476114,9.101177),(92008,20,92,'Burcei',0,'B274',39.345498,9.360528),(92009,20,92,'Cagliari',1,'B354',39.223841,9.121661),(92011,20,92,'Capoterra',0,'B675',39.178886,8.970983),(92015,20,92,'Decimomannu',0,'D259',39.311247,8.966219),(92016,20,92,'Decimoputzu',0,'D260',39.338415,8.920056),(92017,20,92,'Dolianova',0,'D323',39.377209,9.175792),(92018,20,92,'<NAME>',0,'D333',38.942504,8.864457),(92020,20,92,'Donori',0,'D344',39.431310,9.124863),(92024,20,92,'Gesico',0,'D994',39.613225,9.108173),(92027,20,92,'Goni',0,'E084',39.577966,9.286770),(92030,20,92,'Guamaggiore',0,'E234',39.569691,9.073952),(92031,20,92,'Guasila',0,'E252',39.559452,9.043751),(92036,20,92,'Mandas',0,'E877',39.652415,9.130750),(92037,20,92,'Maracalagonis',0,'E903',39.286107,9.224670),(92038,20,92,'Monastir',0,'F333',39.386602,9.043471),(92039,20,92,'Muravera',0,'F808',39.420927,9.575600),(92042,20,92,'Nuraminis',0,'F983',39.441601,9.012723),(92044,20,92,'Ortacesus',0,'G133',39.539116,9.084248),(92048,20,92,'Pimentel',0,'G669',39.487588,9.064886),(92050,20,92,'Pula',0,'H088',39.012985,9.001400),(92051,20,92,'<NAME>',0,'H118',39.241349,9.183646),(92053,20,92,'Samatzai',0,'H739',39.483451,9.034527),(92054,20,92,'<NAME>',0,'H766',39.538451,9.197565),(92058,20,92,'<NAME>',0,'G383',39.497024,9.306976),(92059,20,92,'<NAME>',0,'I166',39.361019,9.004760),(92061,20,92,'<NAME>',0,'I271',39.476768,9.169911),(92064,20,92,'San Vito',0,'I402',39.436783,9.544328),(92066,20,92,'Sarroch',0,'I443',39.065497,9.010838),(92068,20,92,'Selargius',0,'I580',39.259677,9.162937),(92069,20,92,'Selegas',0,'I582',39.568245,9.102897),(92070,20,92,'Senorbì',0,'I615',39.533533,9.130396),(92071,20,92,'Serdiana',0,'I624',39.373064,9.157212),(92074,20,92,'Sestu',0,'I695',39.300790,9.091943),(92075,20,92,'<NAME>',0,'I699',39.293238,9.189505),(92078,20,92,'Siliqua',0,'I734',39.300011,8.811359),(92079,20,92,'Silius',0,'I735',39.516936,9.291085),(92080,20,92,'Sinnai',0,'I752',39.302879,9.198013),(92081,20,92,'<NAME>',0,'I765',39.595862,9.183549),(92082,20,92,'Soleminis',0,'I797',39.345611,9.179775),(92083,20,92,'Suelli',0,'I995',39.560878,9.131047),(92084,20,92,'Teulada',0,'L154',38.968814,8.770015),(92088,20,92,'Ussana',0,'L512',39.395235,9.075528),(92090,20,92,'Uta',0,'L521',39.287758,8.959861),(92091,20,92,'Vallermosa',0,'L613',39.365263,8.800248),(92097,20,92,'Villaputzu',0,'L998',39.439203,9.576749),(92098,20,92,'Villasalto',0,'M016',39.492668,9.392922),(92099,20,92,'<NAME>',0,'I118',39.033945,8.996168),(92100,20,92,'Villasimius',0,'B738',39.145776,9.516990),(92101,20,92,'Villasor',0,'M025',39.381016,8.938650),(92102,20,92,'Villaspeciosa',0,'M026',39.313229,8.926604),(92105,20,92,'Quartucciu',0,'H119',39.253722,9.174747),(92106,20,92,'Castiadas',0,'M288',39.236726,9.501185),(92108,20,92,'Elmas',0,'D399',39.267963,9.048514),(92109,20,92,'Monserrato',0,'F383',39.256019,9.145358),(92110,20,92,'Escalaplano',0,'D430',39.622185,9.347470),(92111,20,92,'Escolca',0,'D431',39.699001,9.119566),(92112,20,92,'Esterzili',0,'D443',39.779612,9.282677),(92113,20,92,'Gergei',0,'D982',39.698283,9.097046),(92114,20,92,'Isili',0,'E336',39.742187,9.105814),(92115,20,92,'Nuragus',0,'F981',39.777265,9.039647),(92116,20,92,'Nurallao',0,'F982',39.791345,9.079206),(92117,20,92,'Nurri',0,'F986',39.709155,9.230552),(92118,20,92,'Orroli',0,'G122',39.693805,9.252588),(92119,20,92,'Sadali',0,'H659',39.816782,9.270064),(92120,20,92,'Serri',0,'I668',39.703319,9.145885),(92121,20,92,'Seulo',0,'I707',39.870016,9.235615),(92122,20,92,'<NAME>',0,'L992',39.779225,9.212691),(93001,6,93,'Andreis',0,'A283',46.201338,12.612899),(93002,6,93,'Arba',0,'A354',46.147181,12.786858),(93004,6,93,'Aviano',0,'A516',46.069545,12.588139),(93005,6,93,'<NAME>',0,'A530',45.881321,12.714470),(93006,6,93,'Barcis',0,'A640',46.190718,12.559284),(93007,6,93,'Brugnera',0,'B215',45.901993,12.526491),(93008,6,93,'Budoia',0,'B247',46.048296,12.534714),(93009,6,93,'Caneva',0,'B598',45.968126,12.448013),(93010,6,93,'<NAME>',0,'B940',45.957339,12.842406),(93011,6,93,'<NAME>',0,'C217',46.200500,12.902240),(93012,6,93,'<NAME>',0,'C385',46.194011,12.769078),(93013,6,93,'Chions',0,'C640',45.846274,12.715768),(93014,6,93,'Cimolais',0,'C699',46.289100,12.438541),(93015,6,93,'Claut',0,'C790',46.268336,12.514373),(93016,6,93,'Clauzetto',0,'C791',46.227682,12.917363),(93017,6,93,'Cordenons',0,'C991',45.985841,12.703551),(93018,6,93,'Cordovado',0,'C993',45.845256,12.880459),(93019,6,93,'<NAME>',0,'D426',46.260516,12.366163),(93020,6,93,'Fanna',0,'D487',46.184825,12.751076),(93021,6,93,'<NAME>',0,'D621',45.927436,12.732190),(93022,6,93,'Fontanafredda',0,'D670',45.974713,12.568180),(93024,6,93,'Frisanco',0,'D804',46.212490,12.726449),(93025,6,93,'Maniago',0,'E889',46.165086,12.706567),(93026,6,93,'Meduno',0,'F089',46.217051,12.788202),(93027,6,93,'<NAME>',0,'F596',46.162886,12.661214),(93028,6,93,'<NAME>liamento',0,'F750',45.858452,12.929484),(93029,6,93,'<NAME>',0,'G353',45.850292,12.628027),(93030,6,93,'Pinzano al Tagliamento',0,'G680',46.183094,12.945590),(93031,6,93,'Polcenigo',0,'G780',46.036914,12.497398),(93032,6,93,'Porcia',0,'G886',45.957371,12.618366),(93033,6,93,'Pordenone',1,'G888',45.962640,12.655136),(93034,6,93,'<NAME>',0,'G994',45.902015,12.600708),(93035,6,93,'Pravisdomini',0,'H010',45.818867,12.694090),(93036,6,93,'Roveredo in Piano',0,'H609',46.010254,12.619861),(93037,6,93,'Sacile',0,'H657',45.952091,12.498583),(93038,6,93,'<NAME>',0,'H891',46.045579,12.868027),(93039,6,93,'<NAME> al Tagliamento',0,'H999',46.020645,12.864070),(93040,6,93,'<NAME>',0,'I136',46.036736,12.680074),(93041,6,93,'<NAME> al Tagliamento',0,'I403',45.917978,12.857311),(93042,6,93,'Sequals',0,'I621',46.164722,12.831288),(93043,6,93,'Sesto al Reghena',0,'I686',45.848377,12.815395),(93044,6,93,'Spilimbergo',0,'I904',46.117279,12.899296),(93045,6,93,'Tramonti di Sopra',0,'L324',46.308836,12.789695),(93046,6,93,'Tramonti di Sotto',0,'L325',46.283383,12.796030),(93047,6,93,'Travesio',0,'L347',46.197803,12.868153),(93049,6,93,'Vito d\'Asio',0,'M085',46.228175,12.939525),(93050,6,93,'Vivaro',0,'M096',46.078226,12.776906),(93051,6,93,'Zoppola',0,'M190',45.963452,12.768807),(93052,6,93,'Vajont',0,'M265',46.147562,12.698492),(93053,6,93,'<NAME>',0,'M346',46.011594,12.873135),(94001,14,94,'Acquaviva d\'Isernia',0,'A051',41.672547,14.148474),(94002,14,94,'Agnone',0,'A080',41.808674,14.373929),(94003,14,94,'<NAME>',0,'A567',41.702411,14.457392),(94004,14,94,'<NAME>',0,'A761',41.821745,14.421619),(94005,14,94,'<NAME>',0,'B630',41.521459,14.393140),(94006,14,94,'Capracotta',0,'B682',41.834789,14.267678),(94007,14,94,'Carovilli',0,'B810',41.713456,14.294013),(94008,14,94,'Carpinone',0,'B830',41.592203,14.323959),(94009,14,94,'<NAME>',0,'C082',41.854556,14.232103),(94010,14,94,'Castelpetroso',0,'C246',41.560068,14.346196),(94011,14,94,'Castelpizzuto',0,'C247',41.520626,14.292661),(94012,14,94,'<NAME>',0,'C270',41.654910,14.056970),(94013,14,94,'Castelverrino',0,'C200',41.767313,14.397664),(94014,14,94,'<NAME>',0,'C534',41.667820,14.111749),(94015,14,94,'Chiauci',0,'C620',41.678073,14.385884),(94016,14,94,'<NAME>',0,'C769',41.668110,14.402922),(94017,14,94,'<NAME>',0,'C878',41.600665,14.103007),(94018,14,94,'<NAME>',0,'C941',41.495469,14.006156),(94019,14,94,'Filignano',0,'D595',41.544872,14.057405),(94020,14,94,'<NAME>',0,'D703',41.695379,14.178270),(94021,14,94,'Fornelli',0,'D715',41.606231,14.139851),(94022,14,94,'Frosolone',0,'D811',41.599324,14.449635),(94023,14,94,'Isernia',1,'E335',41.596041,14.233161),(94024,14,94,'Longano',0,'E669',41.521610,14.247731),(94025,14,94,'<NAME>',0,'E778',41.562027,14.167262),(94026,14,94,'Macchiagodena',0,'E779',41.560080,14.407938),(94027,14,94,'Miranda',0,'F239',41.647342,14.243434),(94028,14,94,'Montaquila',0,'F429',41.564117,14.111719),(94029,14,94,'<NAME>',0,'F580',41.715121,14.068098),(94030,14,94,'Monteroduni',0,'F601',41.521570,14.176503),(94031,14,94,'Pesche',0,'G486',41.605657,14.276662),(94032,14,94,'Pescolanciano',0,'G495',41.682189,14.336240),(94033,14,94,'Pescopennataro',0,'G497',41.877865,14.294232),(94034,14,94,'<NAME>',0,'G523',41.573333,14.277709),(94035,14,94,'Pietrabbondante',0,'G606',41.746962,14.383216),(94036,14,94,'Pizzone',0,'G727',41.675076,14.036845),(94037,14,94,'<NAME>',0,'B317',41.780717,14.414739),(94038,14,94,'Pozzilli',0,'G954',41.511042,14.063638),(94039,14,94,'<NAME>',0,'H308',41.710751,14.141856),(94040,14,94,'Roccamandolfi',0,'H420',41.495168,14.352086),(94041,14,94,'Roccasicura',0,'H445',41.695924,14.230371),(94042,14,94,'<NAME>',0,'H458',41.628873,14.071095),(94043,14,94,'<NAME>',0,'I096',41.790957,14.183057),(94044,14,94,'Sant\'Agapito',0,'I189',41.541904,14.222556),(94045,14,94,'<NAME>',0,'I238',41.551852,14.368387),(94046,14,94,'<NAME>',0,'I282',41.881306,14.255234),(94047,14,94,'<NAME>',0,'B466',41.576361,14.470113),(94048,14,94,'Scapoli',0,'I507',41.615604,14.058342),(94049,14,94,'<NAME>',0,'I679',41.639976,14.329652),(94050,14,94,'<NAME>',0,'I682',41.420325,14.078219),(94051,14,94,'Vastogirardi',0,'L696',41.773786,14.259649),(94052,14,94,'Venafro',0,'L725',41.481926,14.040231),(95001,20,95,'Abbasanta',0,'A007',40.126939,8.816705),(95002,20,95,'Aidomaggiore',0,'A097',40.170921,8.856296),(95003,20,95,'Albagiara',0,'A126',39.786857,8.861913),(95004,20,95,'Ales',0,'A180',39.769915,8.811501),(95005,20,95,'Allai',0,'A204',39.958408,8.862307),(95006,20,95,'Arborea',0,'A357',39.773493,8.582388),(95007,20,95,'Ardauli',0,'A380',40.080228,8.911668),(95008,20,95,'Assolo',0,'A477',45.799259,11.914110),(95009,20,95,'Asuni',0,'A480',39.871050,8.948016),(95010,20,95,'Baradili',0,'A614',39.722552,8.897448),(95011,20,95,'<NAME>',0,'A621',39.992772,8.554515),(95012,20,95,'Baressa',0,'A655',39.714233,8.875777),(95013,20,95,'Bauladu',0,'A721',40.021760,8.670111),(95014,20,95,'Bidonì',0,'A856',40.113209,8.935919),(95015,20,95,'Bonarcado',0,'A960',40.098150,8.655028),(95016,20,95,'Boroneddu',0,'B055',40.112900,8.871783),(95017,20,95,'Busachi',0,'B281',40.033223,8.899325),(95018,20,95,'Cabras',0,'B314',39.929073,8.530551),(95019,20,95,'Cuglieri',0,'D200',40.187799,8.565211),(95020,20,95,'Fordongianus',0,'D695',39.993544,8.812363),(95021,20,95,'Ghilarza',0,'E004',40.124300,8.838343),(95022,20,95,'Gonnoscodina',0,'E087',39.701607,8.837256),(95023,20,95,'Gonnosnò',0,'D585',39.760426,8.871429),(95024,20,95,'Gonnostramatza',0,'E088',39.685218,8.831605),(95025,20,95,'Marrubiu',0,'E972',39.752335,8.641015),(95026,20,95,'Masullas',0,'F050',39.701871,8.783714),(95027,20,95,'Milis',0,'F208',40.048654,8.637014),(95028,20,95,'Mogorella',0,'F270',39.863288,8.857264),(95029,20,95,'Mogoro',0,'F272',39.682302,8.775101),(95030,20,95,'Morgongiori',0,'F727',39.745568,8.770605),(95031,20,95,'Narbolia',0,'F840',40.048921,8.577459),(95032,20,95,'Neoneli',0,'F867',40.061314,8.944123),(95033,20,95,'Norbello',0,'F934',40.136675,8.832332),(95034,20,95,'<NAME> Vittoria',0,'F974',40.102078,8.953564),(95035,20,95,'Nurachi',0,'F980',39.973818,8.538938),(95036,20,95,'Nureci',0,'F985',39.824459,8.974571),(95037,20,95,'Ollastra',0,'G043',39.952992,8.734622),(95038,20,95,'Oristano',1,'G113',39.906182,8.588386),(95039,20,95,'Palmas Arborea',0,'G286',39.875497,8.645085),(95040,20,95,'Pau',0,'G379',39.792074,8.802822),(95041,20,95,'Paulilatino',0,'G384',40.082333,8.762375),(95042,20,95,'Pompu',0,'G817',39.724704,8.796684),(95043,20,95,'Riola Sardo',0,'H301',39.997588,8.538384),(95044,20,95,'Ruinas',0,'F271',39.911074,8.897033),(95045,20,95,'Samugheo',0,'H756',39.954955,8.947903),(95046,20,95,'<NAME>',0,'A368',39.684326,8.645639),(95047,20,95,'<NAME>',0,'I205',39.875995,8.610892),(95048,20,95,'<NAME>',0,'I298',39.860230,8.901268),(95049,20,95,'<NAME>',0,'I374',40.142249,8.657025),(95050,20,95,'<NAME>',0,'I384',40.014673,8.598356),(95051,20,95,'<NAME>',0,'I503',40.216991,8.586527),(95052,20,95,'Sedilo',0,'I564',40.170422,8.916968),(95053,20,95,'Seneghe',0,'I605',40.080924,8.611248),(95054,20,95,'Senis',0,'I609',39.823829,8.940199),(95055,20,95,'Sennariolo',0,'I613',40.213146,8.555406),(95056,20,95,'Siamaggiore',0,'I717',39.949432,8.639157),(95057,20,95,'Siamanna',0,'I718',39.920139,8.760400),(95058,20,95,'Simala',0,'I742',39.720883,8.827154),(95059,20,95,'Simaxis',0,'I743',39.930234,8.693091),(95060,20,95,'Sini',0,'I749',39.754436,8.899250),(95061,20,95,'Siris',0,'I757',39.712690,8.773432),(95062,20,95,'Solarussa',0,'I791',39.956125,8.675170),(95063,20,95,'Sorradile',0,'I861',40.106875,8.933246),(95064,20,95,'Tadasuni',0,'L023',40.110188,8.884360),(95065,20,95,'Terralba',0,'L122',39.718623,8.633880),(95066,20,95,'Tramatza',0,'L321',40.003209,8.648741),(95067,20,95,'Tresnuraghes',0,'L393',40.246774,8.518422),(95068,20,95,'<NAME>',0,'L488',40.045172,8.901989),(95069,20,95,'Uras',0,'L496',39.698287,8.701255),(95070,20,95,'Usellus',0,'L508',39.813566,8.849713),(95071,20,95,'<NAME>',0,'L991',39.988634,8.752764),(95072,20,95,'Villaurbana',0,'M030',39.885011,8.779229),(95073,20,95,'<NAME>',0,'A609',39.795998,8.822194),(95074,20,95,'Zeddiani',0,'M153',39.988108,8.595992),(95075,20,95,'Zerfaliu',0,'M168',39.958086,8.706351),(95076,20,95,'Siapiccia',0,'I721',39.928132,8.763212),(95077,20,95,'Curcuris',0,'D214',39.746111,8.830073),(95078,20,95,'Soddì',0,'I778',40.130345,8.878390),(95079,20,95,'Bosa',0,'B068',40.295231,8.503666),(95080,20,95,'Flussio',0,'D640',40.266857,8.538691),(95081,20,95,'Genoni',0,'D968',39.793012,9.006988),(95082,20,95,'Laconi',0,'E400',39.851201,9.051844),(95083,20,95,'Magomadas',0,'E825',40.264381,8.525584),(95084,20,95,'Modolo',0,'F261',40.274934,8.529756),(95085,20,95,'Montresta',0,'F698',40.375735,8.498970),(95086,20,95,'Sagama',0,'H661',40.260812,8.578760),(95087,20,95,'Suni',0,'L006',40.281800,8.549248),(95088,20,95,'Tinnura',0,'L172',40.268267,8.547809),(96001,1,96,'Ailoche',0,'A107',45.697509,8.223174),(96002,1,96,'<NAME>',0,'A280',45.607244,8.055888),(96003,1,96,'Benna',0,'A784',45.509127,8.128306),(96004,1,96,'Biella',1,'A859',45.562884,8.058340),(96005,1,96,'Bioglio',0,'A876',45.613663,8.129771),(96006,1,96,'Borriana',0,'B058',45.506241,8.038994),(96007,1,96,'Brusnengo',0,'B229',45.591397,8.252787),(96008,1,96,'Callabiana',0,'B417',45.631479,8.093111),(96009,1,96,'Camandona',0,'B457',45.645160,8.088544),(96010,1,96,'Camburzano',0,'B465',45.544093,8.002516),(96012,1,96,'Candelo',0,'B586',45.541952,8.111706),(96013,1,96,'Caprile',0,'B708',45.689580,8.215884),(96014,1,96,'Casapinta',0,'B933',45.611241,8.197231),(96015,1,96,'<NAME>',0,'C155',45.518086,8.225564),(96016,1,96,'Cavaglià',0,'C363',45.405157,8.091319),(96017,1,96,'<NAME>',0,'C526',45.564573,8.159453),(96018,1,96,'Cerrione',0,'C532',45.466472,8.069703),(96019,1,96,'Coggiola',0,'C819',45.683733,8.189502),(96020,1,96,'Cossato',0,'D094',45.566837,8.175544),(96021,1,96,'Crevacuore',0,'D165',45.685519,8.246583),(96023,1,96,'Curino',0,'D219',45.630713,8.236484),(96024,1,96,'Donato',0,'D339',45.528852,7.907819),(96025,1,96,'Dorzano',0,'D350',45.425765,8.096751),(96026,1,96,'Gaglianico',0,'D848',45.538562,8.073552),(96027,1,96,'Gifflenga',0,'E024',45.494321,8.229824),(96028,1,96,'Graglia',0,'E130',45.556045,7.973870),(96030,1,96,'Magnano',0,'E821',45.462943,8.002022),(96031,1,96,'Massazza',0,'F037',45.490669,8.165533),(96032,1,96,'Masserano',0,'F042',45.593332,8.226426),(96033,1,96,'<NAME>',0,'F167',45.654455,8.003094),(96034,1,96,'Miagliano',0,'F189',45.612943,8.044160),(96035,1,96,'Mongrando',0,'F369',45.515463,8.005740),(96037,1,96,'Mottalciata',0,'F776',45.505535,8.208009),(96038,1,96,'Muzzano',0,'F833',45.560725,7.990501),(96039,1,96,'Netro',0,'F878',45.539133,7.944401),(96040,1,96,'Occhieppo Inferiore',0,'F992',45.555006,8.021129),(96041,1,96,'Occhieppo Superiore',0,'F993',45.563550,8.007333),(96042,1,96,'Pettinengo',0,'G521',45.613137,8.104810),(96043,1,96,'Piatto',0,'G577',45.585025,8.136659),(96044,1,96,'Piedicavallo',0,'G594',45.689258,7.953394),(96046,1,96,'Pollone',0,'G798',45.581846,8.002827),(96047,1,96,'Ponderano',0,'G820',45.537909,8.054909),(96048,1,96,'Portula',0,'G927',45.674935,8.179383),(96049,1,96,'Pralungo',0,'G980',45.594293,8.034625),(96050,1,96,'Pray',0,'G974',45.675319,8.217484),(96051,1,96,'Quaregna',0,'H103',45.578956,8.166080),(96053,1,96,'<NAME>',0,'H538',45.583225,8.102818),(96054,1,96,'Roppolo',0,'H553',45.420264,8.068585),(96055,1,96,'Rosazza',0,'H561',45.675410,7.975666),(96056,1,96,'<NAME>',0,'H662',45.623485,8.045548),(96057,1,96,'<NAME>',0,'H681',45.509103,7.955360),(96058,1,96,'Salussola',0,'H726',45.446684,8.112325),(96059,1,96,'Sandigliano',0,'H821',45.521217,8.075864),(96061,1,96,'<NAME>',0,'I596',45.624388,8.088878),(96062,1,96,'Soprana',0,'I835',45.647893,8.189603),(96063,1,96,'Sordevolo',0,'I847',45.575410,7.973269),(96064,1,96,'Sostegno',0,'I868',45.653064,8.270499),(96065,1,96,'Strona',0,'I980',45.908335,8.344718),(96066,1,96,'Tavigliano',0,'L075',45.624805,8.053192),(96067,1,96,'Ternengo',0,'L116',45.590142,8.114958),(96068,1,96,'Tollegno',0,'L193',45.591579,8.052255),(96069,1,96,'Torrazzo',0,'L239',45.174278,11.398134),(96070,1,96,'Trivero',0,'L436',45.670765,8.167833),(96071,1,96,'Valdengo',0,'L556',45.571405,8.136574),(96072,1,96,'Vallanzengo',0,'L586',45.603474,8.149643),(96073,1,96,'<NAME>',0,'L606',45.634767,8.143667),(96074,1,96,'<NAME>',0,'L620',45.607165,8.141218),(96075,1,96,'Veglio',0,'L712',45.641266,8.114761),(96076,1,96,'Verrone',0,'L785',45.505625,8.119420),(96077,1,96,'<NAME>',0,'L880',45.561951,8.117304),(96078,1,96,'<NAME>',0,'L933',45.620090,8.286043),(96079,1,96,'<NAME>',0,'L978',45.481967,8.192793),(96080,1,96,'Viverone',0,'M098',45.427605,8.051177),(96081,1,96,'Zimone',0,'M179',45.448736,8.035625),(96082,1,96,'Zubiena',0,'M196',45.491426,7.992113),(96083,1,96,'Zumaglia',0,'M201',45.595258,8.086244),(96084,1,96,'Mosso',0,'M304',45.647011,8.135072),(96085,1,96,'Lessona',0,'M371',45.587733,8.192545),(96086,1,96,'<NAME>',0,'M373',45.663293,7.998355),(97001,3,97,'<NAME>',0,'A005',45.894898,9.336342),(97002,3,97,'Airuno',0,'A112',45.753737,9.425207),(97003,3,97,'<NAME>',0,'A301',45.802970,9.331612),(97004,3,97,'Ballabio',0,'A594',45.896190,9.425163),(97005,3,97,'Barzago',0,'A683',45.755178,9.316780),(97006,3,97,'Barzanò',0,'A686',45.732426,9.313481),(97007,3,97,'Barzio',0,'A687',45.943658,9.465690),(97008,3,97,'Bellano',0,'A745',46.041038,9.302205),(97009,3,97,'<NAME>',0,'B081',45.804533,9.295105),(97010,3,97,'Brivio',0,'B194',45.741078,9.447414),(97011,3,97,'Bulciago',0,'B261',45.753815,9.289380),(97012,3,97,'Calco',0,'B396',45.724771,9.415921),(97013,3,97,'Calolziocorte',0,'B423',45.800372,9.431899),(97014,3,97,'Carenno',0,'B763',45.802817,9.462411),(97015,3,97,'Casargo',0,'B937',46.041463,9.389336),(97016,3,97,'Casatenovo',0,'B943',45.697208,9.312034),(97017,3,97,'<NAME>',0,'B996',45.738925,9.292458),(97018,3,97,'<NAME>',0,'C024',45.933443,9.479862),(97019,3,97,'<NAME>',0,'C187',45.758970,9.345400),(97020,3,97,'<NAME>',0,'C521',45.692575,9.402087),(97021,3,97,'<NAME>',0,'C563',45.815928,9.298538),(97022,3,97,'Civate',0,'C752',45.829034,9.344513),(97023,3,97,'Colico',0,'C839',46.127247,9.377602),(97024,3,97,'<NAME>',0,'C851',45.763008,9.364014),(97025,3,97,'Cortenova',0,'D065',46.000063,9.382347),(97026,3,97,'<NAME>',0,'D112',45.765662,9.276175),(97027,3,97,'<NAME>',0,'D131',46.023012,9.378636),(97028,3,97,'Cremella',0,'D143',45.739656,9.302032),(97029,3,97,'Cremeno',0,'D145',45.934524,9.471960),(97030,3,97,'Dervio',0,'D280',46.076323,9.307461),(97031,3,97,'Dolzago',0,'D327',45.765710,9.339957),(97032,3,97,'Dorio',0,'D346',46.101750,9.318343),(97033,3,97,'Ello',0,'D398',45.786904,9.365668),(97034,3,97,'Erve',0,'D428',45.819968,9.451289),(97035,3,97,'<NAME>',0,'D436',45.995872,9.333680),(97036,3,97,'Galbiate',0,'D865',45.816479,9.376957),(97037,3,97,'<NAME>',0,'D913',45.773402,9.301346),(97038,3,97,'Garlate',0,'D926',45.806089,9.401764),(97039,3,97,'Imbersago',0,'E287',45.706197,9.446018),(97040,3,97,'Introbio',0,'E305',45.972527,9.452267),(97041,3,97,'Introzzo',0,'E308',46.080316,9.341817),(97042,3,97,'Lecco',1,'E507',45.856570,9.397670),(97043,3,97,'Lierna',0,'E581',45.959168,9.301668),(97044,3,97,'Lomagna',0,'E656',45.663933,9.377530),(97045,3,97,'Malgrate',0,'E858',45.848863,9.374368),(97046,3,97,'<NAME>',0,'E879',45.913870,9.317739),(97047,3,97,'Margno',0,'E947',46.030377,9.380672),(97048,3,97,'Merate',0,'F133',45.698365,9.406547),(97049,3,97,'Missaglia',0,'F248',45.709183,9.336036),(97050,3,97,'Moggio',0,'F265',45.930450,9.489498),(97051,3,97,'Molteno',0,'F304',45.778158,9.308363),(97052,3,97,'<NAME>',0,'F561',45.768282,9.456672),(97053,3,97,'Montevecchia',0,'F657',45.705419,9.381111),(97054,3,97,'<NAME>',0,'F674',45.717771,9.317495),(97055,3,97,'Morterone',0,'F758',45.873685,9.482901),(97056,3,97,'Nibionno',0,'F887',45.748746,9.269818),(97057,3,97,'Oggiono',0,'G009',45.790013,9.345513),(97058,3,97,'<NAME>',0,'G026',45.728202,9.403354),(97059,3,97,'Olginate',0,'G030',45.792929,9.413327),(97060,3,97,'<NAME>',0,'G040',45.915836,9.292263),(97061,3,97,'Osnago',0,'G161',45.678926,9.391588),(97062,3,97,'<NAME>',0,'G218',45.680294,9.444380),(97063,3,97,'Pagnona',0,'G241',46.060159,9.402967),(97064,3,97,'Parlasco',0,'G336',46.018486,9.344041),(97065,3,97,'Pasturo',0,'G368',45.950325,9.444848),(97067,3,97,'Perledo',0,'G456',46.015807,9.294916),(97068,3,97,'Pescate',0,'G485',45.827538,9.395191),(97069,3,97,'Premana',0,'H028',46.051622,9.422898),(97070,3,97,'Primaluna',0,'H063',45.986204,9.429803),(97071,3,97,'Robbiate',0,'G223',45.690898,9.441966),(97072,3,97,'Rogeno',0,'H486',45.781955,9.273361),(97074,3,97,'<NAME>',0,'I243',45.743230,9.378130),(97075,3,97,'Sirone',0,'I759',45.770976,9.319416),(97076,3,97,'Sirtori',0,'I761',45.738319,9.331506),(97077,3,97,'Sueglio',0,'I994',46.086365,9.332265),(97078,3,97,'Suello',0,'I996',45.818974,9.308865),(97079,3,97,'Taceno',0,'L022',46.023186,9.364031),(97080,3,97,'<NAME>',0,'L257',45.773551,9.475816),(97081,3,97,'Tremenico',0,'L368',46.075015,9.366609),(97082,3,97,'Valgreghentino',0,'L581',45.769880,9.411748),(97083,3,97,'Valmadrera',0,'L634',45.846966,9.359762),(97084,3,97,'Varenna',0,'L680',46.009095,9.285115),(97085,3,97,'Vendrogno',0,'L731',46.034191,9.329195),(97086,3,97,'Vercurago',0,'L751',45.812195,9.422093),(97089,3,97,'Vestreno',0,'L813',46.083765,9.325677),(97090,3,97,'Viganò',0,'L866',45.725354,9.327208),(97091,3,97,'Verderio',0,'M337',45.668539,9.439781),(97092,3,97,'<NAME>',0,'M348',45.666299,9.258771),(98001,3,98,'<NAME>',0,'A004',45.312481,9.592938),(98002,3,98,'Bertonico',0,'A811',45.234600,9.668788),(98003,3,98,'<NAME>',0,'A919',45.362753,9.482708),(98004,3,98,'<NAME>',0,'A995',45.212540,9.498034),(98005,3,98,'<NAME>',0,'B017',45.277609,9.436007),(98006,3,98,'Brembio',0,'B141',45.210753,9.572152),(98007,3,98,'Camairago',0,'B456',45.205949,9.726030),(98008,3,98,'<NAME>',0,'B887',45.293062,9.362259),(98009,3,98,'Casalmaiocco',0,'B899',45.351867,9.366824),(98010,3,98,'Casalpusterlengo',0,'B910',45.175860,9.655570),(98011,3,98,'<NAME>',0,'B961',45.103300,9.792787),(98012,3,98,'<NAME>',0,'B958',45.279112,9.358656),(98013,3,98,'<NAME>',0,'C228',45.112963,9.867759),(98014,3,98,'<NAME>\'Adda',0,'C304',45.218223,9.691838),(98015,3,98,'<NAME>',0,'C329',45.255927,9.401966),(98016,3,98,'Cavacurta',0,'C362',45.190310,9.743296),(98017,3,98,'<NAME>',0,'C394',45.283918,9.599862),(98018,3,98,'<NAME>',0,'C555',45.373309,9.426090),(98019,3,98,'Codogno',0,'C816',45.161057,9.700947),(98020,3,98,'Comazzo',0,'C917',45.441296,9.464139),(98021,3,98,'<NAME>',0,'D021',45.286386,9.489297),(98022,3,98,'<NAME>',0,'D028',45.135559,9.758876),(98023,3,98,'Cornovecchio',0,'D029',45.136994,9.799212),(98024,3,98,'<NAME>',0,'D068',45.309643,9.564183),(98025,3,98,'Crespiatica',0,'D159',45.355018,9.575089),(98026,3,98,'Fombio',0,'D660',45.138324,9.685177),(98027,3,98,'Galgagnano',0,'D868',45.357895,9.442673),(98028,3,98,'Graffignana',0,'E127',45.209967,9.453087),(98029,3,98,'Guardamiglio',0,'E238',45.109454,9.682492),(98030,3,98,'Livraga',0,'E627',45.191258,9.544910),(98031,3,98,'Lodi',1,'E648',45.309723,9.503716),(98032,3,98,'<NAME>',0,'E651',45.301330,9.416338),(98033,3,98,'Maccastorna',0,'E777',45.146281,9.854813),(98034,3,98,'Mairago',0,'E840',45.252184,9.579934),(98035,3,98,'Maleo',0,'E852',45.166868,9.763325),(98036,3,98,'Marudo',0,'E994',45.252567,9.375287),(98037,3,98,'Massalengo',0,'F028',45.263718,9.488827),(98038,3,98,'Meleti',0,'F102',45.119160,9.835853),(98039,3,98,'Merlino',0,'F149',45.433201,9.430506),(98040,3,98,'<NAME>',0,'F423',45.335065,9.465753),(98041,3,98,'Mulazzano',0,'F801',45.373944,9.399866),(98042,3,98,'<NAME>',0,'G107',45.158065,9.555100),(98043,3,98,'<NAME>',0,'G166',45.165967,9.582515),(98044,3,98,'<NAME>',0,'G171',45.243015,9.537740),(98045,3,98,'<NAME>',0,'G096',45.263773,9.459172),(98046,3,98,'Salerano sul Lambro',0,'H701',45.295952,9.388078),(98047,3,98,'<NAME>',0,'H844',45.137451,9.723181),(98048,3,98,'<NAME> in Strada',0,'I012',45.273180,9.534398),(98049,3,98,'<NAME> al Porto',0,'I140',45.083276,9.696073),(98050,3,98,'<NAME>',0,'I274',45.232325,9.412307),(98051,3,98,'<NAME>',0,'I362',45.119780,9.736626),(98052,3,98,'Secugnago',0,'I561',45.231118,9.593458),(98053,3,98,'<NAME>',0,'I612',45.130890,9.597066),(98054,3,98,'Somaglia',0,'I815',45.149572,9.636134),(98055,3,98,'Sordio',0,'I848',45.341090,9.361917),(98056,3,98,'<NAME>',0,'F260',45.329042,9.403520),(98057,3,98,'<NAME>',0,'L125',45.215499,9.660891),(98058,3,98,'<NAME>',0,'L469',45.248825,9.622805),(98059,3,98,'<NAME>',0,'L572',45.255985,9.334032),(98060,3,98,'<NAME>',0,'L977',45.237709,9.481114),(98061,3,98,'<NAME>',0,'M158',45.411907,9.432044),(99001,8,99,'<NAME>',0,'A747',44.134360,12.466720),(99002,8,99,'Cattolica',0,'C357',43.963318,12.738432),(99003,8,99,'Coriano',0,'D004',43.963891,12.603362),(99004,8,99,'Gemmano',0,'D961',43.904943,12.580226),(99005,8,99,'<NAME>',0,'F244',43.982546,12.694686),(99006,8,99,'Mondaino',0,'F346',43.857429,12.671921),(99008,8,99,'<NAME>',0,'F502',43.888399,12.611423),(99009,8,99,'Montegridolfo',0,'F523',43.858480,12.687897),(99011,8,99,'<NAME>',0,'F715',43.911153,12.647942),(99013,8,99,'Riccione',0,'H274',43.999296,12.655549),(99014,8,99,'Rimini',1,'H294',44.067829,12.569516),(99015,8,99,'Saludecio',0,'H724',43.874374,12.668391),(99016,8,99,'<NAME>',0,'H801',41.062169,14.366098),(99017,8,99,'<NAME>',0,'H921',43.940158,12.709322),(99018,8,99,'<NAME>',0,'I304',44.063360,12.452388),(99020,8,99,'Verucchio',0,'L797',43.983423,12.422454),(99021,8,99,'Casteldelci',0,'C080',43.792106,12.153532),(99022,8,99,'Maiolo',0,'E838',43.874146,12.310523),(99023,8,99,'Novafeltria',0,'F137',43.890911,12.288228),(99024,8,99,'Pennabilli',0,'G433',43.817647,12.265999),(99025,8,99,'<NAME>',0,'H949',43.896619,12.343226),(99026,8,99,'<NAME>',0,'I201',43.863820,12.211215),(99027,8,99,'Talamello',0,'L034',43.905299,12.285670),(99028,8,99,'<NAME>',0,'M324',43.990595,12.386494),(99029,8,99,'Montescudo - Monte Colombo',0,'M368',43.918661,12.532931),(100001,9,100,'Cantagallo',0,'B626',44.021743,11.079748),(100002,9,100,'Carmignano',0,'B794',43.814318,11.019482),(100003,9,100,'Montemurlo',0,'F572',43.926862,11.037207),(100004,9,100,'<NAME>',0,'G754',43.815530,11.058277),(100005,9,100,'Prato',1,'G999',43.877705,11.102228),(100006,9,100,'Vaiano',0,'L537',43.967209,11.124032),(100007,9,100,'Vernio',0,'L775',44.047484,11.153135),(101001,18,101,'<NAME>',0,'A772',39.207776,16.890119),(101002,18,101,'Caccuri',0,'B319',39.226722,16.776354),(101003,18,101,'Carfizzi',0,'B771',39.305873,16.975591),(101004,18,101,'Casabona',0,'B857',39.249826,16.952957),(101005,18,101,'Castelsilano',0,'B968',39.268426,16.765426),(101006,18,101,'Cerenzia',0,'C501',39.242907,16.787073),(101007,18,101,'Cirò',0,'C725',39.381486,17.065017),(101008,18,101,'<NAME>',0,'C726',39.367614,17.127775),(101009,18,101,'Cotronei',0,'D123',39.159121,16.777938),(101010,18,101,'Crotone',1,'D122',39.080793,17.127110),(101011,18,101,'Crucoli',0,'D189',39.421958,17.005962),(101012,18,101,'Cutro',0,'D236',39.035915,16.974633),(101013,18,101,'<NAME>',0,'E339',38.957965,17.090622),(101014,18,101,'Melissa',0,'F108',39.309112,17.027126),(101015,18,101,'Mesoraca',0,'F157',39.082908,16.791183),(101016,18,101,'Pallagorio',0,'G278',39.308288,16.907472),(101017,18,101,'<NAME>',0,'G508',39.113008,16.784290),(101018,18,101,'Roccabernarda',0,'H383',39.135656,16.873377),(101019,18,101,'<NAME>',0,'H403',39.190742,16.998961),(101020,18,101,'<NAME>',0,'I026',39.100612,16.923094),(101021,18,101,'<NAME>\'Alto',0,'I057',39.293421,16.969528),(101022,18,101,'<NAME>',0,'I308',39.147807,16.915862),(101023,18,101,'Savelli',0,'I468',39.312470,16.782601),(101024,18,101,'Scandale',0,'I494',39.123897,16.958834),(101025,18,101,'Strongoli',0,'I982',39.267088,17.050383),(101026,18,101,'Umbriatico',0,'L492',39.354107,16.920704),(101027,18,101,'Verzino',0,'L802',39.311151,16.860660),(102001,18,102,'Acquaro',0,'A043',38.557879,16.190391),(102002,18,102,'Arena',0,'A386',-53.144629,-70.883447),(102003,18,102,'Briatico',0,'B169',38.725017,16.033104),(102004,18,102,'Brognaturo',0,'B197',38.601277,16.342983),(102005,18,102,'Capistrano',0,'B655',42.267459,13.767748),(102006,18,102,'Cessaniti',0,'C581',38.663490,16.026259),(102007,18,102,'Dasà',0,'D253',38.565729,16.195590),(102008,18,102,'Dinami',0,'D303',38.529391,16.147497),(102009,18,102,'Drapia',0,'D364',38.665541,15.912827),(102010,18,102,'Fabrizia',0,'D453',38.485117,16.300401),(102011,18,102,'Filadelfia',0,'D587',38.784376,16.293338),(102012,18,102,'Filandari',0,'D589',38.616113,16.032117),(102013,18,102,'Filogaso',0,'D596',38.682214,16.226229),(102014,18,102,'<NAME>',0,'D762',38.775860,16.268301),(102015,18,102,'Francica',0,'D767',38.619462,16.100639),(102016,18,102,'Gerocarne',0,'D988',38.587630,16.219313),(102017,18,102,'Ionadi',0,'E321',38.629407,16.060059),(102018,18,102,'Joppolo',0,'E389',38.584033,15.896732),(102019,18,102,'Limbadi',0,'E590',38.557244,15.966805),(102020,18,102,'Maierato',0,'E836',38.706431,16.192284),(102021,18,102,'Mileto',0,'F207',38.606075,16.064038),(102022,18,102,'Mongiana',0,'F364',38.512881,16.318991),(102023,18,102,'<NAME>',0,'F607',38.718202,16.290313),(102024,18,102,'Nardodipace',0,'F843',38.471974,16.343129),(102025,18,102,'Nicotera',0,'F893',38.554218,15.938888),(102026,18,102,'Parghelia',0,'G335',38.681880,15.922907),(102027,18,102,'Pizzo',0,'G722',38.733786,16.162892),(102028,18,102,'Pizzoni',0,'G728',38.624322,16.256099),(102029,18,102,'Polia',0,'G785',38.750415,16.311541),(102030,18,102,'Ricadi',0,'H271',38.625782,15.866653),(102031,18,102,'Rombiolo',0,'H516',38.597219,16.003921),(102032,18,102,'<NAME>',0,'H785',38.575443,16.023537),(102033,18,102,'<NAME>',0,'H807',38.632224,16.076773),(102034,18,102,'<NAME>',0,'H941',38.641111,16.101925),(102035,18,102,'<NAME>',0,'I058',38.664773,16.286113),(102036,18,102,'Sant\'Onofrio',0,'I350',38.695101,16.144522),(102037,18,102,'<NAME>',0,'I639',38.578301,16.332448),(102038,18,102,'Simbario',0,'I744',38.612318,16.335803),(102039,18,102,'Sorianello',0,'I853',38.591999,16.234507),(102040,18,102,'<NAME>',0,'I854',38.597158,16.230303),(102041,18,102,'Spadola',0,'I884',38.601997,16.336781),(102042,18,102,'Spilinga',0,'I905',38.629670,15.902487),(102043,18,102,'Stefanaconi',0,'I945',38.674964,16.121454),(102044,18,102,'Tropea',0,'L452',38.676994,15.897223),(102045,18,102,'Vallelonga',0,'L607',38.646535,16.290693),(102046,18,102,'Vazzano',0,'L699',38.632749,16.244379),(102047,18,102,'<NAME>',1,'F537',38.675777,16.098349),(102048,18,102,'Zaccanopoli',0,'M138',38.664160,15.927502),(102049,18,102,'Zambrone',0,'M143',38.697892,15.991801),(102050,18,102,'Zungri',0,'M204',38.656707,15.982896),(103001,1,103,'<NAME>',0,'A317',46.068473,8.117387),(103002,1,103,'<NAME>',0,'A325',45.966744,8.344082),(103003,1,103,'Arizzano',0,'A409',45.955584,8.580944),(103004,1,103,'Arola',0,'A427',45.808393,8.357764),(103005,1,103,'Aurano',0,'A497',45.997458,8.588151),(103006,1,103,'Baceno',0,'A534',46.262159,8.319263),(103007,1,103,'<NAME>',0,'A610',45.984741,8.155819),(103008,1,103,'Baveno',0,'A725',45.908980,8.505581),(103009,1,103,'Bee',0,'A733',45.961146,8.580889),(103010,1,103,'Belgirate',0,'A742',45.838430,8.570374),(103011,1,103,'Beura-Cardezza',0,'A834',46.080400,8.300278),(103012,1,103,'Bognanco',0,'A925',46.119173,8.204715),(103013,1,103,'Brovello-Carpugnino',0,'B207',45.842279,8.532673),(103014,1,103,'Calasca-Castiglione',0,'B380',46.003287,8.166928),(103015,1,103,'Cambiasca',0,'B463',45.962733,8.545037),(103016,1,103,'<NAME>',0,'B610',46.022266,8.679017),(103017,1,103,'Cannobio',0,'B615',46.059692,8.698279),(103018,1,103,'Caprezzo',0,'B694',45.980890,8.562092),(103019,1,103,'<NAME>',0,'B876',45.915476,8.416242),(103020,1,103,'Cavaglio-Spoccia',0,'C367',46.069485,8.645152),(103021,1,103,'<NAME>',0,'C478',45.971025,8.071200),(103022,1,103,'Cesara',0,'C567',45.831803,8.368254),(103023,1,103,'Cossogno',0,'D099',45.962297,8.506194),(103024,1,103,'Craveggia',0,'D134',46.141273,8.487059),(103025,1,103,'Crevoladossola',0,'D168',46.162214,8.305916),(103026,1,103,'Crodo',0,'D177',46.224942,8.323408),(103027,1,103,'Cursolo-Orasso',0,'D225',46.097893,8.567730),(103028,1,103,'Domodossola',0,'D332',46.113222,8.291975),(103029,1,103,'Druogno',0,'D374',46.133222,8.429874),(103030,1,103,'Falmenta',0,'D481',46.073037,8.582899),(103031,1,103,'Formazza',0,'D706',46.375933,8.427237),(103032,1,103,'Germagno',0,'D984',45.891810,8.388065),(103033,1,103,'Ghiffa',0,'E003',45.956399,8.616865),(103034,1,103,'Gignese',0,'E028',45.861547,8.509645),(103035,1,103,'<NAME>',0,'E153',45.928320,8.432455),(103036,1,103,'Gurro',0,'E269',46.085046,8.565638),(103037,1,103,'Intragna',0,'E304',45.994669,8.573861),(103038,1,103,'Loreglia',0,'E685',45.906397,8.370983),(103039,1,103,'Macugnaga',0,'E790',45.965676,7.975114),(103040,1,103,'<NAME>',0,'E795',45.801812,8.370450),(103041,1,103,'Malesco',0,'E853',46.126720,8.500650),(103042,1,103,'Masera',0,'F010',46.134345,8.326142),(103043,1,103,'Massiola',0,'F048',45.912422,8.318946),(103044,1,103,'Mergozzo',0,'F146',45.961731,8.444564),(103045,1,103,'Miazzina',0,'F192',45.974977,8.526086),(103046,1,103,'Montecrestese',0,'F483',46.164881,8.326679),(103047,1,103,'Montescheno',0,'F639',46.071026,8.214988),(103048,1,103,'Nonio',0,'F932',45.845797,8.377588),(103049,1,103,'Oggebbio',0,'G007',45.995333,8.651461),(103050,1,103,'Omegna',0,'G062',45.877347,8.409598),(103051,1,103,'Ornavasso',0,'G117',45.968493,8.411950),(103052,1,103,'Pallanzeno',0,'G280',46.039652,8.260328),(103053,1,103,'Piedimulera',0,'G600',46.021105,8.257368),(103054,1,103,'<NAME>',0,'G658',46.008501,8.265223),(103055,1,103,'Premeno',0,'H030',45.977053,8.592950),(103056,1,103,'Premia',0,'H033',46.268411,8.340289),(103057,1,103,'Premosello-Chiovenda',0,'H037',46.004120,8.332256),(103058,1,103,'<NAME>',0,'H106',45.872514,8.373316),(103059,1,103,'<NAME>',0,'H107',45.867721,8.362747),(103060,1,103,'Re',0,'H203',44.585658,10.556474),(103061,1,103,'<NAME>',0,'H777',45.956094,8.518373),(103062,1,103,'<NAME>',0,'I249',46.133831,8.459769),(103064,1,103,'Stresa',0,'I976',45.888203,8.525867),(103065,1,103,'Toceno',0,'L187',46.142955,8.471934),(103066,1,103,'<NAME>',0,'L333',46.034825,8.675360),(103067,1,103,'Trasquera',0,'L336',46.212796,8.214934),(103068,1,103,'Trontano',0,'L450',46.122115,8.332477),(103069,1,103,'Valstrona',0,'L651',45.906812,8.340044),(103070,1,103,'<NAME> <NAME>',0,'L666',45.979727,8.111863),(103071,1,103,'Varzo',0,'L691',46.208895,8.252601),(103072,1,103,'Verbania',1,'L746',45.928183,8.555471),(103074,1,103,'Vignone',0,'L889',45.961969,8.564931),(103075,1,103,'Villadossola',0,'L906',46.071029,8.262859),(103076,1,103,'Villette',0,'M042',45.255755,9.035319),(103077,1,103,'Vogogna',0,'M111',46.007148,8.293944),(103078,1,103,'Borgomezzavalle',0,'M370',0.000000,0.000000),(104001,20,104,'Aggius',0,'A069',40.930038,9.064927),(104002,20,104,'Aglientu',0,'H848',41.078041,9.112743),(104003,20,104,'<NAME>',0,'A115',40.650803,9.327082),(104004,20,104,'Arzachena',0,'A453',41.078012,9.390154),(104005,20,104,'Badesi',0,'M214',40.967447,8.878624),(104006,20,104,'Berchidda',0,'A789',40.785907,9.164277),(104007,20,104,'Bortigiadas',0,'B063',40.890928,9.042498),(104008,20,104,'Buddusò',0,'B246',40.577041,9.255044),(104009,20,104,'Budoni',0,'B248',40.703939,9.705294),(104010,20,104,'Calangianus',0,'B378',40.921119,9.192996),(104011,20,104,'<NAME>',0,'M274',40.996124,9.625291),(104012,20,104,'<NAME>',0,'E425',41.216554,9.404712),(104013,20,104,'<NAME>',0,'M275',40.844723,9.493946),(104014,20,104,'Luogosanto',0,'E747',41.049657,9.206654),(104015,20,104,'Luras',0,'E752',40.939858,9.171842),(104016,20,104,'Monti',0,'F667',40.805110,9.321366),(104017,20,104,'Olbia',1,'G015',40.923576,9.496443),(104018,20,104,'Oschiri',0,'G153',40.718775,9.099784),(104019,20,104,'Padru',0,'M301',40.765973,9.521090),(104020,20,104,'Palau',0,'G258',41.182368,9.381087),(104021,20,104,'<NAME>',0,'M276',40.989943,9.301778),(104022,20,104,'<NAME>',0,'I312',41.238987,9.188079),(104023,20,104,'<NAME>',0,'I329',40.772284,9.669546),(104024,20,104,'Telti',0,'L088',40.871237,9.358199),(104025,20,104,'<NAME>',1,'L093',40.903136,9.104067),(104026,20,104,'<NAME>\'<NAME>',0,'L428',40.986446,8.914406),(105001,20,105,'Arzana',0,'A454',39.921414,9.528254),(105002,20,105,'<NAME>',0,'A663',39.842528,9.643148),(105003,20,105,'Baunei',0,'A722',40.031751,9.663272),(105004,20,105,'Cardedu',0,'M285',39.801174,9.627144),(105005,20,105,'Elini',0,'D395',39.899819,9.530741),(105006,20,105,'Gairo',0,'D859',39.848409,9.505349),(105007,20,105,'Girasole',0,'E049',39.953261,9.661239),(105008,20,105,'Ilbono',0,'E283',39.892609,9.546735),(105009,20,105,'Jerzu',0,'E387',39.793576,9.516290),(105010,20,105,'Lanusei',1,'E441',39.878816,9.541246),(105011,20,105,'Loceri',0,'E644',39.858502,9.584751),(105012,20,105,'Lotzorai',0,'E700',39.970176,9.661514),(105013,20,105,'Osini',0,'G158',39.823491,9.496201),(105014,20,105,'Perdasdefogu',0,'G445',39.681616,9.440665),(105015,20,105,'Seui',0,'I706',39.841972,9.317017),(105016,20,105,'Talana',0,'L036',40.041424,9.496489),(105017,20,105,'Tertenia',0,'L140',39.691788,9.581168),(105018,20,105,'Tortolì',1,'A355',39.926574,9.656073),(105019,20,105,'Triei',0,'L423',40.037127,9.641369),(105020,20,105,'Ulassai',0,'L489',39.811146,9.499526),(105021,20,105,'Urzulei',0,'L506',40.092885,9.505339),(105022,20,105,'Ussassai',0,'L514',39.809749,9.394369),(105023,20,105,'<NAME>',0,'L953',39.956068,9.509590),(106001,20,106,'Arbus',0,'A359',39.528184,8.600804),(106002,20,106,'Barumini',0,'A681',39.703672,9.001347),(106003,20,106,'Collinas',0,'C882',39.641291,8.839922),(106004,20,106,'Furtei',0,'D827',39.563363,8.945069),(106005,20,106,'Genuri',0,'D970',39.744385,8.922276),(106006,20,106,'Gesturi',0,'D997',39.734358,9.023560),(106007,20,106,'Gonnosfanadiga',0,'E085',39.496033,8.662970),(106008,20,106,'Guspini',0,'E270',39.539310,8.627334),(106009,20,106,'<NAME>',0,'E464',39.680636,8.985579),(106010,20,106,'Lunamatrona',0,'E742',39.647233,8.900265),(106011,20,106,'Pabillonis',0,'G207',39.595765,8.718636),(106012,20,106,'<NAME>',0,'G382',39.663316,8.922547),(106013,20,106,'Samassi',0,'H738',39.483755,8.899099),(106014,20,106,'<NAME>',0,'H856',39.548290,8.789438),(106015,20,106,'Sanluri',1,'H974',39.562868,8.899895),(106016,20,106,'Sardara',0,'I428',39.613836,8.820994),(106017,20,106,'Segariu',0,'I570',39.563676,8.981496),(106018,20,106,'Serramanna',0,'I647',39.422514,8.921749),(106019,20,106,'Serrenti',0,'I667',39.495726,8.974947),(106020,20,106,'Setzu',0,'I705',39.724028,8.938864),(106021,20,106,'Siddi',0,'I724',39.672370,8.888190),(106022,20,106,'Tuili',0,'L463',39.713458,8.959090),(106023,20,106,'Turri',0,'L473',39.703770,8.913369),(106024,20,106,'Ussaramanna',0,'L513',39.690292,8.909731),(106025,20,106,'Villacidro',1,'L924',39.462863,8.741191),(106026,20,106,'Villamar',0,'L966',39.622644,8.960566),(106027,20,106,'Villanovaforru',0,'L986',39.632484,8.868971),(106028,20,106,'Villanovafranca',0,'L987',39.645081,9.001969),(107001,20,107,'Buggerru',0,'B250',39.399722,8.402430),(107002,20,107,'Calasetta',0,'B383',39.109794,8.369289),(107003,20,107,'Carbonia',1,'B745',39.164428,8.522885),(107004,20,107,'Carloforte',0,'B789',39.140126,8.302981),(107005,20,107,'Domusnovas',0,'D334',39.320952,8.649627),(107006,20,107,'Fluminimaggiore',0,'D639',39.436890,8.497500),(107007,20,107,'Giba',0,'E022',39.071528,8.635262),(107008,20,107,'Gonnesa',0,'E086',39.267092,8.471074),(107009,20,107,'Iglesias',1,'E281',39.310645,8.536624),(107010,20,107,'Masainas',0,'M270',39.050011,8.629897),(107011,20,107,'Musei',0,'F822',39.301207,8.667042),(107012,20,107,'Narcao',0,'F841',39.167219,8.677008),(107013,20,107,'Nuxis',0,'F991',39.155266,8.742000),(107014,20,107,'Perdaxius',0,'G446',39.161969,8.608944),(107015,20,107,'Piscinas',0,'M291',39.077304,8.665286),(107016,20,107,'Portoscuso',0,'G922',39.206621,8.379174),(107017,20,107,'<NAME>',0,'G287',39.112961,8.519521),(107018,20,107,'Santadi',0,'I182',39.092181,8.715811),(107019,20,107,'<NAME>',0,'M209',39.009694,8.638421),(107020,20,107,'Sant\'Antioco',0,'I294',39.068981,8.454395),(107021,20,107,'Tratalias',0,'L337',39.101170,8.582629),(107022,20,107,'Villamassargia',0,'L968',39.277584,8.642631),(107023,20,107,'Villaperuccio',0,'M278',39.112678,8.673169),(108001,3,108,'<NAME>',0,'A087',45.576789,9.350906),(108002,3,108,'Aicurzio',0,'A096',45.639384,9.413586),(108003,3,108,'Albiate',0,'A159',45.656092,9.254084),(108004,3,108,'Arcore',0,'A376',45.626925,9.326543),(108005,3,108,'Barlassina',0,'A668',45.655344,9.131518),(108006,3,108,'Bellusco',0,'A759',45.616927,9.420871),(108007,3,108,'Bernareggio',0,'A802',45.646627,9.405385),(108008,3,108,'<NAME>',0,'A818',45.702679,9.277786),(108009,3,108,'Biassono',0,'A849',45.629934,9.274180),(108010,3,108,'Bovisio-Masciago',0,'B105',45.613109,9.158899),(108011,3,108,'Briosco',0,'B187',45.709102,9.239644),(108012,3,108,'Brugherio',0,'B212',45.553941,9.298022),(108013,3,108,'<NAME>',0,'B272',45.599781,9.379387),(108014,3,108,'Camparada',0,'B501',45.654235,9.322825),(108015,3,108,'<NAME>',0,'B729',45.676552,9.236743),(108016,3,108,'Carnate',0,'B798',45.649834,9.381241),(108017,3,108,'<NAME>',0,'C395',45.583433,9.414969),(108018,3,108,'<NAME>',0,'C512',45.628980,9.079028),(108019,3,108,'<NAME>',0,'C566',45.629200,9.147115),(108020,3,108,'Cogliate',0,'C820',45.643339,9.082122),(108021,3,108,'Concorezzo',0,'C952',45.593267,9.332257),(108022,3,108,'Correzzana',0,'D038',45.664572,9.303511),(108023,3,108,'Desio',0,'D286',45.618665,9.207694),(108024,3,108,'Giussano',0,'E063',45.700238,9.208966),(108025,3,108,'Lazzate',0,'E504',45.673246,9.085513),(108026,3,108,'Lesmo',0,'E550',45.647935,9.307845),(108027,3,108,'Limbiate',0,'E591',45.599551,9.124627),(108028,3,108,'Lissone',0,'E617',45.613038,9.242569),(108029,3,108,'Macherio',0,'E786',45.638659,9.265328),(108030,3,108,'Meda',0,'F078',45.661124,9.152425),(108031,3,108,'Mezzago',0,'F165',45.627768,9.442462),(108032,3,108,'Misinto',0,'F247',45.663599,9.082702),(108033,3,108,'Monza',1,'F704',45.584500,9.274449),(108034,3,108,'Muggiò',0,'F797',45.591052,9.226418),(108035,3,108,'<NAME>',0,'F944',45.591982,9.197771),(108036,3,108,'Ornago',0,'G116',45.596545,9.419442),(108037,3,108,'Renate',0,'H233',45.726686,9.282469),(108038,3,108,'<NAME>',0,'H537',45.666523,9.404312),(108039,3,108,'Seregno',0,'I625',45.650457,9.205161),(108040,3,108,'Seveso',0,'I709',45.649339,9.144424),(108041,3,108,'Sovico',0,'I878',45.648633,9.264773),(108042,3,108,'Sulbiate',0,'I998',45.638836,9.427773),(108043,3,108,'Triuggio',0,'L434',45.661757,9.268486),(108044,3,108,'Usm<NAME>elate',0,'L511',45.650126,9.342967),(108045,3,108,'Varedo',0,'L677',45.599119,9.157744),(108046,3,108,'<NAME>',0,'L704',45.610251,9.271250),(108047,3,108,'<NAME>',0,'L709',45.730953,9.267527),(108048,3,108,'<NAME>',0,'L744',45.686716,9.227198),(108049,3,108,'Villasanta',0,'M017',45.606179,9.301509),(108050,3,108,'Vimercate',0,'M052',45.615861,9.368414),(108051,3,108,'Busnago',0,'B289',45.616466,9.464421),(108052,3,108,'Caponago',0,'B671',45.566774,9.376944),(108053,3,108,'<NAME>',0,'D019',45.647793,9.465540),(108054,3,108,'Lentate sul Seveso',0,'E530',45.680416,9.116172),(108055,3,108,'Roncello',0,'H529',45.601100,9.458839),(109001,11,109,'Altidona',0,'A233',43.106963,13.794938),(109002,11,109,'Amandola',0,'A252',42.980007,13.355600),(109003,11,109,'<NAME>',0,'A760',43.092832,13.535957),(109004,11,109,'Campofilone',0,'B534',43.080796,13.819759),(109005,11,109,'Falerone',0,'D477',43.105682,13.470261),(109006,11,109,'Fermo',1,'D542',43.158873,13.720088),(109007,11,109,'<NAME>',0,'D760',43.186795,13.541090),(109008,11,109,'Grottazzolina',0,'E208',43.115590,13.607632),(109009,11,109,'Lapedona',0,'E447',43.107182,13.765955),(109010,11,109,'<NAME>',0,'E807',43.138559,13.585208),(109011,11,109,'<NAME>',0,'F021',43.145517,13.475077),(109012,11,109,'<NAME>',0,'F379',43.067436,13.555652),(109013,11,109,'Montappone',0,'F428',43.135408,13.468831),(109014,11,109,'<NAME>',0,'F493',42.988602,13.458360),(109015,11,109,'Montefortino',0,'F509',42.943010,13.344672),(109016,11,109,'<NAME>',0,'F517',43.091885,13.629430),(109017,11,109,'Montegiorgio',0,'F520',43.132720,13.539021),(109018,11,109,'Montegranaro',0,'F522',43.230387,13.628525),(109019,11,109,'<NAME>',0,'F536',43.048141,13.528140),(109020,11,109,'Montelparo',0,'F549',43.018807,13.539168),(109021,11,109,'<NAME>',0,'F599',43.028119,13.579693),(109022,11,109,'Monterubbiano',0,'F614',43.087240,13.717853),(109023,11,109,'<NAME>',0,'F626',43.191576,13.577950),(109024,11,109,'<NAME>',0,'F653',43.206678,13.672063),(109025,11,109,'<NAME>',0,'F664',43.051308,13.631678),(109026,11,109,'<NAME>',0,'F665',43.120877,13.487759),(109027,11,109,'Montottone',0,'F697',43.062388,13.588144),(109028,11,109,'Moresco',0,'F722',43.085474,13.731366),(109029,11,109,'Ortezzano',0,'G137',43.031892,13.606880),(109030,11,109,'Pedaso',0,'G403',43.098017,13.840093),(109031,11,109,'Petritoli',0,'G516',43.067963,13.658140),(109032,11,109,'<NAME>',0,'G873',43.103391,13.659314),(109033,11,109,'<NAME>',0,'G920',43.180176,13.792964),(109034,11,109,'<NAME>',0,'G921',43.256333,13.759298),(109035,11,109,'Rapagnano',0,'H182',43.160874,13.591999),(109036,11,109,'Santa Vittoria in Matenano',0,'I315',43.019267,13.495258),(109037,11,109,'<NAME>',0,'I324',43.231906,13.683893),(109038,11,109,'Servigliano',0,'C070',43.078685,13.489673),(109039,11,109,'Smerillo',0,'I774',43.005679,13.445141),(109040,11,109,'<NAME>',0,'L279',43.183295,13.612789),(110001,16,110,'Andria',1,'A285',41.227252,16.296641),(110002,16,110,'Barletta',1,'A669',41.319664,16.283821),(110003,16,110,'Bisceglie',0,'A883',41.242726,16.502065),(110004,16,110,'<NAME>',0,'B619',41.222432,16.066071),(110005,16,110,'<NAME>',0,'E946',41.373970,16.151165),(110006,16,110,'<NAME>',0,'F220',41.085617,16.077382),(110007,16,110,'<NAME>',0,'H839',41.301757,16.069148),(110008,16,110,'Spinazzola',0,'I907',40.968454,16.089517),(110009,16,110,'Trani',1,'L328',41.277486,16.417833),(110010,16,110,'Trinitapoli',0,'B915',41.359243,16.078841);
/*!40000 ALTER TABLE `cities` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `provinces`
--
DROP TABLE IF EXISTS `provinces`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `provinces` (
`id` int(11) unsigned NOT NULL,
`id_regione` int(11) unsigned NOT NULL,
`codice_citta_metropolitana` int(11) unsigned DEFAULT NULL,
`nome` text NOT NULL,
`sigla_automobilistica` varchar(2) NOT NULL,
`latitudine` decimal(9,6) NOT NULL,
`longitudine` decimal(9,6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `provinces`
--
LOCK TABLES `provinces` WRITE;
/*!40000 ALTER TABLE `provinces` DISABLE KEYS */;
INSERT INTO `provinces` VALUES (1,1,201,'Torino','TO',45.063299,7.669289),(2,1,NULL,'Vercelli','VC',45.320220,8.418508),(3,1,NULL,'Novara','NO',45.548513,8.515079),(4,1,NULL,'Cuneo','CN',44.597031,7.611422),(5,1,NULL,'Asti','AT',44.900765,8.206432),(6,1,NULL,'Alessandria','AL',44.817559,8.704663),(7,2,NULL,'Valle d\'Aosta/<NAME>','AO',45.738888,7.426187),(8,7,NULL,'Imperia','IM',43.941866,7.828637),(9,7,NULL,'Savona','SV',44.288800,8.265058),(10,7,210,'Genova','GE',44.446625,9.145615),(11,7,NULL,'<NAME>','SP',44.102450,9.824083),(12,3,NULL,'Varese','VA',45.799026,8.730095),(13,3,NULL,'Como','CO',45.808042,9.085179),(14,3,NULL,'Sondrio','SO',46.172764,9.799492),(15,3,215,'Milano','MI',45.458626,9.181873),(16,3,NULL,'Bergamo','BG',45.857830,9.881998),(17,3,NULL,'Brescia','BS',45.659677,10.385672),(18,3,NULL,'Pavia','PV',45.321817,8.846624),(19,3,NULL,'Cremona','CR',45.201438,9.983658),(20,3,NULL,'Mantova','MN',45.156417,10.791375),(21,4,NULL,'Bolzano/Bozen','BZ',46.734096,11.288802),(22,4,NULL,'Trento','TN',46.051200,11.117539),(23,5,NULL,'Verona','VR',45.441850,11.073532),(24,5,NULL,'Vicenza','VI',45.545479,11.535421),(25,5,NULL,'Belluno','BL',46.249766,12.196957),(26,5,NULL,'Treviso','TV',45.666852,12.243062),(27,5,227,'Venezia','VE',45.493048,12.417700),(28,5,NULL,'Padova','PD',45.366186,11.820914),(29,5,NULL,'Rovigo','RO',45.024182,11.823816),(30,6,NULL,'Udine','UD',46.140797,13.166290),(31,6,NULL,'Gorizia','GO',45.905390,13.516373),(32,6,NULL,'Trieste','TS',45.689482,13.783307),(33,8,NULL,'Piacenza','PC',44.826311,9.529145),(34,8,NULL,'Parma','PR',44.801532,10.327935),(35,8,NULL,'<NAME>\'Emilia','RE',44.585658,10.556474),(36,8,NULL,'Modena','MO',44.551380,10.918048),(37,8,237,'Bologna','BO',44.500510,11.304784),(38,8,NULL,'Ferrara','FE',44.766368,11.764407),(39,8,NULL,'Ravenna','RA',44.418444,12.203600),(40,8,NULL,'Forlì-Cesena','FC',44.222500,12.040833),(41,11,NULL,'<NAME>','PU',43.613012,12.713512),(42,11,NULL,'Ancona','AN',43.549325,13.266348),(43,11,NULL,'Macerata','MC',43.245932,13.266348),(44,11,NULL,'<NAME>','AP',42.863893,13.589973),(45,9,NULL,'Massa-Carrara','MS',44.079325,10.097677),(46,9,NULL,'Lucca','LU',43.837674,10.495053),(47,9,NULL,'Pistoia','PT',43.954373,10.890310),(48,9,248,'Firenze','FI',43.767918,11.252379),(49,9,NULL,'Livorno','LI',43.023985,10.664710),(50,9,NULL,'Pisa','PI',43.722832,10.401719),(51,9,NULL,'Arezzo','AR',43.466896,11.882360),(52,9,NULL,'Siena','SI',43.293773,11.433915),(53,9,NULL,'Grosseto','GR',42.851801,11.252379),(54,10,NULL,'Perugia','PG',42.938004,12.621621),(55,10,NULL,'Terni','TR',42.563453,12.529803),(56,12,NULL,'Viterbo','VT',42.420677,12.107669),(57,12,NULL,'Rieti','RI',42.367441,12.897510),(58,12,258,'Roma','RM',41.872411,12.480225),(59,12,NULL,'Latina','LT',41.408748,13.081790),(60,12,NULL,'Frosinone','FR',41.657653,13.636272),(61,15,NULL,'Caserta','CE',41.207835,14.100133),(62,15,NULL,'Benevento','BN',41.203509,14.752094),(63,15,263,'Napoli','NA',40.901975,14.332644),(64,15,NULL,'Avellino','AV',40.996451,15.125896),(65,15,NULL,'Salerno','SA',40.428783,15.219481),(66,13,NULL,'L\'Aquila','AQ',42.349848,13.399509),(67,13,NULL,'Teramo','TE',42.589561,13.636272),(68,13,NULL,'Pescara','PE',42.357066,13.960809),(69,13,NULL,'Chieti','CH',42.033443,14.379191),(70,14,NULL,'Campobasso','CB',41.673887,14.752094),(71,16,NULL,'Foggia','FG',41.638448,15.594339),(72,16,272,'Bari','BA',41.117123,16.871976),(73,16,NULL,'Taranto','TA',40.574090,17.242998),(74,16,NULL,'Brindisi','BR',40.611266,17.763621),(75,16,NULL,'Lecce','LE',40.234739,18.142867),(76,17,NULL,'Potenza','PZ',40.418219,15.876004),(77,17,NULL,'Matera','MT',40.666350,16.604364),(78,18,NULL,'Cosenza','CS',39.564411,16.252214),(79,18,NULL,'Catanzaro','CZ',38.889635,16.440587),(80,18,NULL,'<NAME>','RC',38.111301,15.647291),(81,19,NULL,'Trapani','TP',37.877740,12.713512),(82,19,NULL,'Palermo','PA',38.115621,13.361318),(83,19,NULL,'Messina','ME',38.063240,14.985618),(84,19,NULL,'Agrigento','AG',37.311090,13.576548),(85,19,NULL,'Caltanissetta','CL',37.490112,14.062893),(86,19,NULL,'Enna','EN',37.516481,14.379191),(87,19,NULL,'Catania','CT',37.612598,14.938885),(88,19,NULL,'Ragusa','RG',36.930622,14.705431),(89,19,NULL,'Siracusa','SR',37.075437,15.286593),(90,20,NULL,'Sassari','SS',40.796791,8.575041),(91,20,NULL,'Nuoro','NU',40.328690,9.456155),(92,20,NULL,'Cagliari','CA',39.223763,9.121867),(93,6,NULL,'Pordenone','PN',46.037886,12.710835),(94,14,NULL,'Isernia','IS',41.589156,14.193092),(95,20,NULL,'Oristano','OR',40.059907,8.748117),(96,1,NULL,'Biella','BI',45.562818,8.058272),(97,3,NULL,'Lecco','LC',45.938294,9.385729),(98,3,NULL,'Lodi','LO',45.240504,9.529251),(99,8,NULL,'Rimini','RN',43.967605,12.575703),(100,9,NULL,'Prato','PO',44.045390,11.116445),(101,18,NULL,'Crotone','KR',39.130986,17.006703),(102,18,NULL,'<NAME>','VV',38.637857,16.205148),(103,1,NULL,'Verbano-Cusio-Ossola','VB',46.139969,8.272465),(104,20,NULL,'Olbia-Tempio','OT',40.826838,9.278558),(105,20,NULL,'Ogliastra','OG',39.841054,9.456155),(106,20,NULL,'<NAME>','VS',39.531739,8.704075),(107,20,NULL,'Carbonia-Iglesias','CI',39.253466,8.572102),(108,3,NULL,'<NAME>','MB',45.623599,9.258802),(109,11,NULL,'Fermo','FM',43.093137,13.589973),(110,16,NULL,'Barletta-Andria-Trani','BT',41.200454,16.205148);
/*!40000 ALTER TABLE `provinces` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `regions`
--
DROP TABLE IF EXISTS `regions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `regions` (
`id` int(11) unsigned NOT NULL,
`nome` text NOT NULL,
`latitudine` decimal(9,6) NOT NULL,
`longitudine` decimal(9,6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `regions`
--
LOCK TABLES `regions` WRITE;
/*!40000 ALTER TABLE `regions` DISABLE KEYS */;
INSERT INTO `regions` VALUES (1,'Piemonte',45.066667,7.700000),(2,'Valle d\'Aosta/Vallée d\'Aoste',45.737222,7.320556),(3,'Lombardia',45.464161,9.190336),(4,'Trentino-Alto Adige/Südtirol',46.066667,11.116667),(5,'Veneto',45.439722,12.331944),(6,'Friuli-V<NAME>',45.636111,13.804167),(7,'Liguria',44.411156,8.932661),(8,'Emilia-Romagna',44.493889,11.342778),(9,'Toscana',43.771389,11.254167),(10,'Umbria',43.112100,12.388800),(11,'Marche',43.616667,13.516667),(12,'Lazio',41.893056,12.482778),(13,'Abruzzo',42.354008,13.391992),(14,'Molise',41.561000,14.668400),(15,'Campania',40.833333,14.250000),(16,'Puglia',41.125278,16.866667),(17,'Basilicata',40.633333,15.800000),(18,'Calabria',38.910000,16.587500),(19,'Sicilia',38.115556,13.361389),(20,'Sardegna',39.216667,9.116667);
/*!40000 ALTER TABLE `regions` ENABLE KEYS */;
UNLOCK TABLES;
/*!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 2016-06-11 18:11:20
|
<filename>626.Exchange Seats/scheme.sql
# Write your MySQL query statement below
SELECT @i := @i + 1 as id, t.student
FROM (SELECT id, student,IF(id&1, id+1, id-1) as weight FROM seat ORDER BY weight) as t ,(SELECT @i := 0) as tmp
|
<filename>nodejs/app/src/sql/delivery.sql
create table `delivery` (
`idx` int(12) NOT NULL,
`delivery_type` varchar(255) NOT NULL,
`delivery_init_time` varchar(255) NOT NULL,
`delivery_start_time` varchar(255) NOT NULL,
`delivery_end_time` varchar(255) NOT NULL,
`delivery_status` varchar(255) NOT NULL,
`delivery_address` varchar(255) NOT NULL,
`order_id` int(12) NOT NULL,
`user_id` int(12) NOT NULL,
`shop_id` int(12) NOT NULL,
`deny` tinyInt default null,
`etc` text default NULL,
`des` text default NULL,
`delivery_log` text default NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
<reponame>daicang/Leetcode
select Email from (select Email, count(*) c from Person group by Email) as t where c>1; |
<filename>Advance Tunning Scripts/create_xviews.sql
-------------------------------------------------------------------------------
--
-- Script: create_xviews.sql
-- Purpose: to create views on the x$ tables
--
-- Copyright: (c) Ixora Pty Ltd
-- Author: <NAME>
--
-- Comment: Must be executed as SYS via SQL*Plus.
--
-------------------------------------------------------------------------------
@save_sqlplus_settings
set pagesize 0
set termout off
set echo off
spool create_xviews.tmp
prompt set echo on
select
'create or replace view X_$' || substr(name, 3) ||
' as select * from ' || name || ';'
from
sys.v_$fixed_table
where
name like 'X$%'
/
spool off
@restore_sqlplus_settings
@create_xviews.tmp
set termout off
host rm -f create_xviews.tmp -- for Unix
host del create_xviews.tmp -- for others
@restore_sqlplus_settings
|
<filename>mavela.sql
-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1
-- Généré le : Dim 16 juin 2019 à 20:27
-- Version du serveur : 10.1.34-MariaDB
-- Version de PHP : 7.2.8
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 */;
--
-- Base de données : `mavela`
--
-- --------------------------------------------------------
--
-- Structure de la table `devises`
--
CREATE TABLE `devises` (
`id` int(10) UNSIGNED NOT NULL,
`libelle` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `devises`
--
INSERT INTO `devises` (`id`, `libelle`, `price`, `created_at`, `updated_at`) VALUES
(1, 'Dollar to Cedi', '5.32', '2019-06-14 00:00:00', '2019-06-16 15:54:15');
-- --------------------------------------------------------
--
-- Structure de la table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2018_10_16_132018_create_permission_tables', 1),
(4, '2018_10_16_135450_crate_post_tbl', 1),
(5, '2018_10_16_140227_create_posts_table', 1),
(6, '2018_10_17_141741_creat_vehicle_tbl', 1);
-- --------------------------------------------------------
--
-- Structure de la table `model_has_permissions`
--
CREATE TABLE `model_has_permissions` (
`permission_id` int(10) UNSIGNED NOT NULL,
`model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `model_has_roles`
--
CREATE TABLE `model_has_roles` (
`role_id` int(10) UNSIGNED NOT NULL,
`model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `permissions`
--
CREATE TABLE `permissions` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `post`
--
CREATE TABLE `post` (
`id` int(10) UNSIGNED NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `posts`
--
CREATE TABLE `posts` (
`id` int(10) UNSIGNED NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `reservations`
--
CREATE TABLE `reservations` (
`id` int(10) UNSIGNED NOT NULL,
`date_rent` date NOT NULL,
`date_return` date NOT NULL,
`countday` int(11) NOT NULL,
`mode_reception` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`location_pick` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`time_pick` time NOT NULL,
`drop_off_location_time` time NOT NULL,
`number_pers` int(11) NOT NULL,
`travel_librairy` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`vehicle_id` int(10) UNSIGNED NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `roles`
--
CREATE TABLE `roles` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `role_has_permissions`
--
CREATE TABLE `role_has_permissions` (
`permission_id` int(10) UNSIGNED NOT NULL,
`role_id` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lastname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`phone_number` int(11) DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`adress` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`country` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`region` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`code_postal` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `users`
--
INSERT INTO `users` (`id`, `name`, `lastname`, `phone_number`, `age`, `adress`, `country`, `city`, `region`, `code_postal`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'kc', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '<EMAIL>', NULL, '$2y$10$PM/j7GZG0.g4VFqQAOJHiuJes5Ctg5ygH3Ws6tTmwZe4R0F2da5EO', 'Pwi1uFGxJPle2MWrfUS9yGCVbR7i2xcl9IrPoFCeX0hcDtWklC5MGB1vflOy', '2019-06-14 07:55:11', '2019-06-14 07:55:11');
-- --------------------------------------------------------
--
-- Structure de la table `vehicles`
--
CREATE TABLE `vehicles` (
`id` int(10) UNSIGNED NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`picture` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`fuel` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`seat` int(11) NOT NULL,
`quantity` int(11) NOT NULL,
`code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`year` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`devise_id` int(10) UNSIGNED DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `vehicles`
--
INSERT INTO `vehicles` (`id`, `title`, `picture`, `price`, `fuel`, `seat`, `quantity`, `code`, `year`, `devise_id`, `created_at`, `updated_at`) VALUES
(1, 'Range Rover Sport', '1_1560499032.png', '150', 'Petrol', 5, 1, 'Range Rover Sport-Petrol-5', '2018', 1, '2019-06-14 07:57:13', '2019-06-14 07:57:13'),
(3, '<NAME>, E-Class E350', '1_1560499198.png', '100', 'Disel', 5, 2, '<NAME>, E-Class E350 - Disel - 5', '2014', 1, '2019-06-14 07:59:58', '2019-06-14 07:59:58'),
(4, '<NAME>, ML350 4Matic', '1_1560499290.png', '130', 'Petrol', 5, 2, '<NAME>, ML350 4Matic - Petrol - 5', '2015', 1, '2019-06-14 08:01:30', '2019-06-14 08:01:30'),
(5, '<NAME>, S-Class S550', '1_1560499395.png', '150', 'Petrol', 5, 4, '<NAME>, S-Class S550 - Petrol - 5', '2016', 1, '2019-06-14 08:03:15', '2019-06-14 08:03:15'),
(6, 'Toyota LandCruiser V8', '1_1560499548.png', '140', 'Petrol', 7, 17, 'Toyota LandCruiser V8- Petrol -7', '2015', 1, '2019-06-14 08:05:48', '2019-06-14 08:05:48'),
(8, 'Toyota LandCruiser Prado', 'prado_1560705895.png', '125', 'Disel', 7, 6, 'oyota LandCruiser Prado -7 - Disel', '2014', 1, '2019-06-16 17:24:55', '2019-06-16 17:24:55'),
(9, '<NAME>', '1_1560706505.png', '120', 'Petrol', 7, 4, 'Toyota Fortuner-7-Petrol', '2015', 1, '2019-06-16 17:35:05', '2019-06-16 17:35:05'),
(10, '<NAME>', '1_1560706596.png', '110', 'Disel', 5, 14, '<NAME> - 5 PDisel', '2015', 1, '2019-06-16 17:36:37', '2019-06-16 17:36:37'),
(11, '<NAME>', '1_1560706719.png', '80', 'Petrol', 5, 9, 'Toyota Corolla - 5 - Pedrol', '2010', 1, '2019-06-16 17:38:39', '2019-06-16 17:38:39'),
(12, '<NAME>', '1_1560706835.png', '90', 'Petrol', 5, 5, 'To<NAME> - 5 -Petrol', '2011', 1, '2019-06-16 17:40:35', '2019-06-16 17:40:35'),
(13, 'Hy<NAME>ent', '1_1560707140.png', '80', 'Petrol', 5, 9, 'Hyundai Accent - 5 - Petrol', '2014', 1, '2019-06-16 17:45:40', '2019-06-16 17:45:40'),
(14, 'Hyundai Elantra', '1_1560707245.png', '90', 'Petrol', 5, 11, 'Hyundai Elantra - 5 -Petrol', '2015', 1, '2019-06-16 17:47:25', '2019-06-16 17:47:25'),
(15, 'Hyundai SantaFe', '1_1560707375.png', '100', 'Petrol', 5, 4, 'Hyundai SantaFe - 5 -Petrol', '2015', 1, '2019-06-16 17:49:35', '2019-06-16 17:49:35'),
(16, '<NAME>', '1_1560707472.png', '120', 'Disel', 7, 7, 'Mitsibushi Pajero -7 - Disel', '2013', 1, '2019-06-16 17:51:12', '2019-06-16 17:51:12'),
(17, '<NAME>', '1_1560707569.png', '100', 'Petrol', 5, 3, '<NAME> - 5 - Petrol', '2016', 1, '2019-06-16 17:52:49', '2019-06-16 17:52:49'),
(18, 'Nissan Versa', '1_1560707683.png', '90', 'Petrol', 5, 8, 'Nissan Versa - 5 - Petrol', '2016', 1, '2019-06-16 17:54:43', '2019-06-16 17:54:43'),
(19, 'Nissan Versa (Hatchback)', '1_1560708108.png', '80', 'Petrol', 5, 5, 'Nissan Versa (Hatchback)', '2009', 1, '2019-06-16 18:01:48', '2019-06-16 18:01:48'),
(20, 'Honda Civic', '1_1560708216.png', '80', 'Petrol', 5, 4, 'Honda Civic - 5 - Petrol', '2011', 1, '2019-06-16 18:03:36', '2019-06-16 18:03:36');
--
-- Index pour les tables déchargées
--
--
-- Index pour la table `devises`
--
ALTER TABLE `devises`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);
--
-- Index pour la table `model_has_roles`
--
ALTER TABLE `model_has_roles`
ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);
--
-- Index pour la table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Index pour la table `permissions`
--
ALTER TABLE `permissions`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `post`
--
ALTER TABLE `post`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `posts`
--
ALTER TABLE `posts`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `reservations`
--
ALTER TABLE `reservations`
ADD PRIMARY KEY (`id`),
ADD KEY `reservations_vehicle_id_foreign` (`vehicle_id`),
ADD KEY `reservations_user_id_foreign` (`user_id`);
--
-- Index pour la table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
ADD PRIMARY KEY (`permission_id`,`role_id`),
ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);
--
-- Index pour la table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- Index pour la table `vehicles`
--
ALTER TABLE `vehicles`
ADD PRIMARY KEY (`id`),
ADD KEY `vehicles_devise_id_foreign` (`devise_id`);
--
-- AUTO_INCREMENT pour les tables déchargées
--
--
-- AUTO_INCREMENT pour la table `devises`
--
ALTER TABLE `devises`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT pour la table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT pour la table `permissions`
--
ALTER TABLE `permissions`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `post`
--
ALTER TABLE `post`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `posts`
--
ALTER TABLE `posts`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `reservations`
--
ALTER TABLE `reservations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `roles`
--
ALTER TABLE `roles`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT pour la table `vehicles`
--
ALTER TABLE `vehicles`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- Contraintes pour les tables déchargées
--
--
-- Contraintes pour la table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;
--
-- Contraintes pour la table `model_has_roles`
--
ALTER TABLE `model_has_roles`
ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
--
-- Contraintes pour la table `reservations`
--
ALTER TABLE `reservations`
ADD CONSTRAINT `reservations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
ADD CONSTRAINT `reservations_vehicle_id_foreign` FOREIGN KEY (`vehicle_id`) REFERENCES `vehicles` (`id`);
--
-- Contraintes pour la table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
--
-- Contraintes pour la table `vehicles`
--
ALTER TABLE `vehicles`
ADD CONSTRAINT `vehicles_devise_id_foreign` FOREIGN KEY (`devise_id`) REFERENCES `devises` (`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 */;
|
<filename>database/dbDatabase/20180510V2.sql
-- phpMyAdmin SQL Dump
-- version 4.8.0.1
-- https://www.phpmyadmin.net/
--
-- Máy chủ: localhost
-- Thời gian đã tạo: Th5 10, 2018 lúc 05:53 PM
-- Phiên bản máy phục vụ: 10.1.29-MariaDB
-- Phiên bản PHP: 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 */;
--
-- Cơ sở dữ liệu: `dbshopmipham`
--
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `chitietnhap`
--
CREATE TABLE `chitietnhap` (
`id` int(10) UNSIGNED NOT NULL,
`MaNhapSP` int(10) UNSIGNED NOT NULL,
`MaSanPham` int(10) UNSIGNED NOT NULL,
`SoLuong` int(11) NOT NULL,
`Gia` double(12,2) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `danhmucsanpham`
--
CREATE TABLE `danhmucsanpham` (
`id` int(10) UNSIGNED NOT NULL,
`TenDanhMuc` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`DoUuTien` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `danhmucsanpham`
--
INSERT INTO `danhmucsanpham` (`id`, `TenDanhMuc`, `DoUuTien`, `created_at`, `updated_at`) VALUES
(1, '123123123', 3, '2018-05-10 14:53:33', '2018-05-10 14:53:33');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `hinhanhsanpham`
--
CREATE TABLE `hinhanhsanpham` (
`id` int(10) UNSIGNED NOT NULL,
`HinhAnh` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`MaSanPham` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `khachhang`
--
CREATE TABLE `khachhang` (
`id` int(10) UNSIGNED NOT NULL,
`HoTen` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`NgaySinh` date NOT NULL,
`HinhAnh` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`GioiTinh` tinyint(1) NOT NULL,
`DiaChi` text COLLATE utf8mb4_unicode_ci NOT NULL,
`DienThoai` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`MaTaiKhoan` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `khachhang`
--
INSERT INTO `khachhang` (`id`, `HoTen`, `NgaySinh`, `HinhAnh`, `GioiTinh`, `DiaChi`, `DienThoai`, `MaTaiKhoan`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', '2012-12-12', 'qlPcjyskwB_maytinhkhoe028.jpg', 1, 'Hà Nội', '09668109051', 2, '2018-05-10 15:29:58', '2018-05-10 15:29:58');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `loaitaikhoan`
--
CREATE TABLE `loaitaikhoan` (
`id` int(10) UNSIGNED NOT NULL,
`TenLoaiTaiKhoan` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `loaitaikhoan`
--
INSERT INTO `loaitaikhoan` (`id`, `TenLoaiTaiKhoan`, `created_at`, `updated_at`) VALUES
(1, 'admin', '2018-05-10 14:49:21', '2018-05-10 15:12:33'),
(2, 'user', '2018-05-10 14:49:24', '2018-05-10 15:12:44');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(66, '2014_05_07_214242__create_loaitaikhoan_table', 1),
(67, '2014_10_12_000000_create_users_table', 1),
(68, '2014_10_12_100000_create_password_resets_table', 1),
(69, '2018_05_07_214829__create_khachhang_table', 1),
(70, '2018_05_09_204142__create_nhacungcap_table', 1),
(71, '2018_05_09_204308__create_slide_table', 1),
(72, '2018_05_09_204506__create_danhmucsanpham_table', 1),
(73, '2018_05_09_205206__create_sanpham_table', 1),
(74, '2018_05_09_205914__create_hinhanhsanpham_table', 1),
(75, '2018_05_09_211703__create_nhapsanpham_table', 1),
(76, '2018_05_09_212427__create_chitietnhapsanpham_table', 1);
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `nhacungcap`
--
CREATE TABLE `nhacungcap` (
`id` int(10) UNSIGNED NOT NULL,
`TenNhaCC` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`HinhAnh` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`DiaChi` text COLLATE utf8mb4_unicode_ci NOT NULL,
`DienThoai` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`DiaChiWeb` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`GioiThieu` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `nhacungcap`
--
INSERT INTO `nhacungcap` (`id`, `TenNhaCC`, `HinhAnh`, `DiaChi`, `DienThoai`, `email`, `DiaChiWeb`, `GioiThieu`, `created_at`, `updated_at`) VALUES
(1, 'Công ty nước hoa pháp', '4YAkNW_maytinhkhoe035.jpg', 'Hà Nội', '0987654321', '<EMAIL>', 'www.nuochoa.com', '<p>Là công ty sản xuất nước hoa hàng dầu</p>', '2018-05-10 15:29:23', '2018-05-10 15:29:23');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `nhapsanpham`
--
CREATE TABLE `nhapsanpham` (
`id` int(10) UNSIGNED NOT NULL,
`MaNhaCC` int(10) UNSIGNED NOT NULL,
`NgayNhap` date NOT NULL,
`ChuThich` text COLLATE utf8mb4_unicode_ci NOT NULL,
`TrangThai` tinyint(1) NOT NULL,
`MaTaiKhoan` int(10) UNSIGNED NOT NULL,
`HoTen` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`DiaChi` text COLLATE utf8mb4_unicode_ci NOT NULL,
`DienThoai` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `nhapsanpham`
--
INSERT INTO `nhapsanpham` (`id`, `MaNhaCC`, `NgayNhap`, `ChuThich`, `TrangThai`, `MaTaiKhoan`, `HoTen`, `DiaChi`, `DienThoai`, `created_at`, `updated_at`) VALUES
(1, 1, '2018-05-08', 'Nhập nước hoa', 1, 2, 'Hoàng văn anh', 'Hà Nội', '0987654321', NULL, NULL);
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `sanpham`
--
CREATE TABLE `sanpham` (
`id` int(10) UNSIGNED NOT NULL,
`TenSanPham` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`XuatXu` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`ThanhPhan` text COLLATE utf8mb4_unicode_ci NOT NULL,
`CongDung` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`HanSuDung` date NOT NULL,
`MieuTa` text COLLATE utf8mb4_unicode_ci NOT NULL,
`HinhAnh` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`SoLuong` int(11) NOT NULL,
`Gia` double(12,2) NOT NULL,
`GiaUuDai` double(12,2) NOT NULL,
`PhanTramKhauTru` double(12,2) NOT NULL,
`DoUuTien` int(11) NOT NULL,
`SoLuotXem` int(11) NOT NULL,
`SoLuotMua` int(11) NOT NULL,
`MaDanhMuc` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `sanpham`
--
INSERT INTO `sanpham` (`id`, `TenSanPham`, `XuatXu`, `ThanhPhan`, `CongDung`, `HanSuDung`, `MieuTa`, `HinhAnh`, `SoLuong`, `Gia`, `GiaUuDai`, `PhanTramKhauTru`, `DoUuTien`, `SoLuotXem`, `SoLuotMua`, `MaDanhMuc`, `created_at`, `updated_at`) VALUES
(1, 'ấdsd', 'ádasdad', 'ádaasdf', 'ádasd', '2012-12-12', '<p>ádasdasds</p>', 'wsKNEpzSGh_maytinhkhoe034.jpg', 0, 12.00, 1212.00, 12.00, 0, 0, 0, 1, '2018-05-10 15:05:18', '2018-05-10 15:09:18'),
(2, 'ádasdad', 'ádasdasd', 'ádasd', 'ádasd', '2018-05-02', '<p>ádasdad</p>', 'G1p2H5yOWD_maytinhkhoe037.jpg', 0, 12.00, 21.00, 21.00, 0, 0, 0, 1, '2018-05-10 15:08:07', '2018-05-10 15:09:31'),
(3, 'ádasd', 'ádasd', 'ádasđ', 'ádasd', '2018-05-08', '<p>ádasasd</p>', 'f2IGBjRAmH_maytinhkhoe028.jpg', 0, 12.00, 12.00, 12.00, 0, 0, 0, 1, '2018-05-10 15:09:50', '2018-05-10 15:09:50');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `slide`
--
CREATE TABLE `slide` (
`id` int(10) UNSIGNED NOT NULL,
`TieuDe` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`HinhAnh` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`MoTa` text COLLATE utf8mb4_unicode_ci NOT NULL,
`Link` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `slide`
--
INSERT INTO `slide` (`id`, `TieuDe`, `HinhAnh`, `MoTa`, `Link`, `created_at`, `updated_at`) VALUES
(1, '123123', 'Nhh4PX69we_maytinhkhoe027.jpg', '<p>1231231123</p>', '111', '2018-05-10 14:53:10', '2018-05-10 14:53:10');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`MaLoaiTaiKhoan` int(10) UNSIGNED NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `users`
--
INSERT INTO `users` (`id`, `email`, `password`, `<PASSWORD>`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, '<EMAIL>', <PASSWORD>', 1, 'SXAnPmNjM8I3KElrsygloACW3lNqmFEQE1ustMq6wg4VXu5IE410TFCUp8iW', '2018-05-10 15:13:10', '2018-05-10 15:13:10'),
(2, '<EMAIL>', <PASSWORD>', 2, NULL, '2018-05-10 15:28:21', '2018-05-10 15:28:21');
-- --------------------------------------------------------
--
-- Cấu trúc bảng cho bảng `xuatsanpham`
--
CREATE TABLE `xuatsanpham` (
`id` int(10) UNSIGNED NOT NULL,
`MaKhachHang` int(11) DEFAULT NULL,
`TenVanChuyen` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`ChuThich` text COLLATE utf8mb4_unicode_ci NOT NULL,
`TrangThai` tinyint(1) NOT NULL,
`NgayXuat` date NOT NULL,
`HoTen` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`DiaChi` text COLLATE utf8mb4_unicode_ci NOT NULL,
`DienThoai` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Đang đổ dữ liệu cho bảng `xuatsanpham`
--
INSERT INTO `xuatsanpham` (`id`, `MaKhachHang`, `TenVanChuyen`, `ChuThich`, `TrangThai`, `NgayXuat`, `HoTen`, `DiaChi`, `DienThoai`, `created_at`, `updated_at`) VALUES
(1, 0, 'Ô tô', '<NAME>', 1, '2018-05-21', 'Hoang thi Anh', 'hà Nội', '0987654321', NULL, NULL),
(2, NULL, 'Ô tô', '<NAME>', 1, '2018-05-21', 'Hoang thi Anh', 'hà Nội', '0987654321', NULL, NULL),
(3, NULL, 'sdfdsf', 'sdfsdfsdf', 1, '2018-05-14', 'sád', 'ádasd', '0987654321', NULL, NULL);
--
-- Chỉ mục cho các bảng đã đổ
--
--
-- Chỉ mục cho bảng `chitietnhap`
--
ALTER TABLE `chitietnhap`
ADD PRIMARY KEY (`id`),
ADD KEY `chitietnhap_manhapsp_foreign` (`MaNhapSP`),
ADD KEY `chitietnhap_masanpham_foreign` (`MaSanPham`);
--
-- Chỉ mục cho bảng `danhmucsanpham`
--
ALTER TABLE `danhmucsanpham`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `hinhanhsanpham`
--
ALTER TABLE `hinhanhsanpham`
ADD PRIMARY KEY (`id`),
ADD KEY `hinhanhsanpham_masanpham_foreign` (`MaSanPham`);
--
-- Chỉ mục cho bảng `khachhang`
--
ALTER TABLE `khachhang`
ADD PRIMARY KEY (`id`),
ADD KEY `khachhang_mataikhoan_foreign` (`MaTaiKhoan`);
--
-- Chỉ mục cho bảng `loaitaikhoan`
--
ALTER TABLE `loaitaikhoan`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `nhacungcap`
--
ALTER TABLE `nhacungcap`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `nhapsanpham`
--
ALTER TABLE `nhapsanpham`
ADD PRIMARY KEY (`id`),
ADD KEY `nhapsanpham_manhacc_foreign` (`MaNhaCC`),
ADD KEY `nhapsanpham_mataikhoan_foreign` (`MaTaiKhoan`);
--
-- Chỉ mục cho bảng `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Chỉ mục cho bảng `sanpham`
--
ALTER TABLE `sanpham`
ADD PRIMARY KEY (`id`),
ADD KEY `sanpham_madanhmuc_foreign` (`MaDanhMuc`);
--
-- Chỉ mục cho bảng `slide`
--
ALTER TABLE `slide`
ADD PRIMARY KEY (`id`);
--
-- Chỉ mục cho bảng `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`),
ADD KEY `users_maloaitaikhoan_foreign` (`MaLoaiTaiKhoan`);
--
-- Chỉ mục cho bảng `xuatsanpham`
--
ALTER TABLE `xuatsanpham`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT cho các bảng đã đổ
--
--
-- AUTO_INCREMENT cho bảng `chitietnhap`
--
ALTER TABLE `chitietnhap`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT cho bảng `danhmucsanpham`
--
ALTER TABLE `danhmucsanpham`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT cho bảng `hinhanhsanpham`
--
ALTER TABLE `hinhanhsanpham`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT cho bảng `khachhang`
--
ALTER TABLE `khachhang`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT cho bảng `loaitaikhoan`
--
ALTER TABLE `loaitaikhoan`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT cho bảng `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=77;
--
-- AUTO_INCREMENT cho bảng `nhacungcap`
--
ALTER TABLE `nhacungcap`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT cho bảng `nhapsanpham`
--
ALTER TABLE `nhapsanpham`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT cho bảng `sanpham`
--
ALTER TABLE `sanpham`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT cho bảng `slide`
--
ALTER TABLE `slide`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT cho bảng `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT cho bảng `xuatsanpham`
--
ALTER TABLE `xuatsanpham`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- Các ràng buộc cho các bảng đã đổ
--
--
-- Các ràng buộc cho bảng `chitietnhap`
--
ALTER TABLE `chitietnhap`
ADD CONSTRAINT `chitietnhap_manhapsp_foreign` FOREIGN KEY (`MaNhapSP`) REFERENCES `nhapsanpham` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `chitietnhap_masanpham_foreign` FOREIGN KEY (`MaSanPham`) REFERENCES `sanpham` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `hinhanhsanpham`
--
ALTER TABLE `hinhanhsanpham`
ADD CONSTRAINT `hinhanhsanpham_masanpham_foreign` FOREIGN KEY (`MaSanPham`) REFERENCES `sanpham` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `khachhang`
--
ALTER TABLE `khachhang`
ADD CONSTRAINT `khachhang_mataikhoan_foreign` FOREIGN KEY (`MaTaiKhoan`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `nhapsanpham`
--
ALTER TABLE `nhapsanpham`
ADD CONSTRAINT `nhapsanpham_manhacc_foreign` FOREIGN KEY (`MaNhaCC`) REFERENCES `nhacungcap` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `nhapsanpham_mataikhoan_foreign` FOREIGN KEY (`MaTaiKhoan`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `sanpham`
--
ALTER TABLE `sanpham`
ADD CONSTRAINT `sanpham_madanhmuc_foreign` FOREIGN KEY (`MaDanhMuc`) REFERENCES `danhmucsanpham` (`id`) ON DELETE CASCADE;
--
-- Các ràng buộc cho bảng `users`
--
ALTER TABLE `users`
ADD CONSTRAINT `users_maloaitaikhoan_foreign` FOREIGN KEY (`MaLoaiTaiKhoan`) REFERENCES `loaitaikhoan` (`id`) ON DELETE CASCADE;
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 [dbo].[VersionInfo] (
[Version] INT DEFAULT ((0)) NOT NULL,
[Date] DATE NOT NULL
);
|
<filename>services/scene/schema/mock_data.sql
USE home_automation;
INSERT INTO `service_scene_scenes` (`id`, `name`, `owner_id`) VALUES
(1, 'Hue light test', 1);
INSERT INTO `service_scene_actions` (`scene_id`, `stage`, `sequence`, `func`, `controller_name`, `device_id`, `command`, `property`, `property_value`, `property_type`) VALUES
(1, 1, 1, '', 'service.controller.hue', 'jake-desk-lamp', '', 'power', 'false', 'boolean'),
(1, 1, 2, 'sleep 2s', '', '', '', '', '', ''),
(1, 2, 1, '', 'service.controller.hue', 'jake-desk-lamp', '', 'power', 'true', 'boolean');
|
INSERT INTO KRCR_NMSPC_T (NMSPC_CD, OBJ_ID, VER_NBR, NM, ACTV_IND, APPL_ID)
VALUES ('KC-S2S', SYS_GUID(), 1, 'Kuali Coeus System to System', 'Y', 'KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','MULTI_CAMPUS_ENABLED',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "MULTI_CAMPUS_ENABLED")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','irb.protocol.development.proposal.linking.enabled',SYS_GUID(),1,'CONFG','@{#param("KC-PROTOCOL", "Document", "irb.protocol.development.proposal.linking.enabled")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','iacuc.protocol.proposal.development.linking.enabled',SYS_GUID(),1,'CONFG','@{#param("KC-IACUC", "Document", "iacuc.protocol.proposal.development.linking.enabled")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','DHHS_AGREEMENT',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "DHHS_AGREEMENT")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','PROPOSAL_TYPE_CODE_NEW',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "PROPOSAL_TYPE_CODE_NEW")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','PROPOSAL_TYPE_CODE_RESUBMISSION',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "PROPOSAL_TYPE_CODE_RESUBMISSION")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','PROPOSAL_TYPE_CODE_RENEWAL',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "PROPOSAL_TYPE_CODE_RENEWAL")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','PROPOSAL_TYPE_CODE_CONTINUATION',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "PROPOSAL_TYPE_CODE_CONTINUATION")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','PROPOSAL_TYPE_CODE_REVISION',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "PROPOSAL_TYPE_CODE_REVISION")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','ACTIVITY_TYPE_CODE_CONSTRUCTION',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "ACTIVITY_TYPE_CODE_CONSTRUCTION")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','proposaldevelopment.proposaltype.new',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "proposaldevelopment.proposaltype.new")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','proposaldevelopment.proposaltype.renewal',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "proposaldevelopment.proposaltype.renewal")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','proposaldevelopment.proposaltype.revision',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "proposaldevelopment.proposaltype.revision")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','proposaldevelopment.proposaltype.continuation',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "proposaldevelopment.proposaltype.continuation")}','','A','KC')
/
INSERT INTO KRCR_PARM_T(NMSPC_CD,CMPNT_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,VAL,PARM_DESC_TXT,EVAL_OPRTR_CD,APPL_ID)
VALUES ('KC-S2S','All','proposaldevelopment.proposaltype.resubmission',SYS_GUID(),1,'CONFG','@{#param("KC-PD", "Document", "proposaldevelopment.proposaltype.resubmission")}','','A','KC')
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'PI_CITIZENSHIP_FROM_CUSTOM_DATA' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TUITION_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'STIPEND_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TUITION_OTHER_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TUITION_PREDOC_SINGLE_DEG_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TUITION_PREDOC_DUAL_DEG_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TUITION_UNDERGRAD_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TUITION_POSTDOC_DEG_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TUITION_POSTDOC_NONDEG_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'SUBCONTRACT_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TRAINING_REL_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'TRAINEE_TRAVEL_COST_ELEMENTS' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'PROPOSAL_CONTACT_TYPE' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 'S2S_SUBMISSION_TYPE_CODE_PREAPPLICATION' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetBudgetCategoryTypePersonnel' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateTypeSupportStaffSalaries' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateClassCodeEmployeeBenefits' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateClassCodeVacation' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateClassTypeLabAllocationSalaries' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateClassTypeEmployeeBenefits' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateClassTypeVacation' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetCategoryCodePersonnel' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetPeriodTypeAcademicMonths' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetPeriodTypeSummerMonths' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateTypeAdministrativeSalaries' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetAppointmentTypeSumEmployee' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetAppointmentTypeTmpEmployee' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetTargetCategoryCodeEquipmentCost' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetFilterCategoryTypePersonnel' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateClassTypeSalariesMs' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetMaterialsAndSuppliesCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetConsultantCostsCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetPublicationCostsCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetComputerServicesCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetAlterationsCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetSubcontractCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetEquipmentRentalCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetDomesticTravelCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetForeignTravelCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetParticipantStipendsCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetParticipantTravelCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetParticipantTutionCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetParticipantSubsistenceCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetParticipantOtherCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetOtherDirectCostsCategory' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetCategory01Graduates' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetCategory01Postdocs' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetCategory01Undergrads' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetCategory01Secretarial' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetCategory01Other' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetRateTypeSupportStaffSalaries' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetPeriodTypeCalendarMonths' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-PD' AND CMPNT_CD = 'Document' AND PARM_NM = 's2sBudgetPeriodTypeCycleMonths' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-B' AND CMPNT_CD = 'Document' AND PARM_NM = 'budgetCategoryType.participantSupport' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-GEN' AND CMPNT_CD = 'A' AND PARM_NM = 'ALLOW_PROPOSAL_PERSON_TO_OVERRIDE_KC_PERSON_EXTENDED_ATTRIBUTES' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-GEN' AND CMPNT_CD = 'A' AND PARM_NM = 'NON_US_CITIZEN_WITH_TEMPORARY_VISA_TYPE_CODE' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-GEN' AND CMPNT_CD = 'A' AND PARM_NM = 'PERMANENT_RESIDENT_OF_US_TYPE_CODE' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-GEN' AND CMPNT_CD = 'A' AND PARM_NM = 'US_CITIZEN_OR_NONCITIZEN_NATIONAL_TYPE_CODE' AND APPL_ID = 'KC'
/
UPDATE KRCR_PARM_T SET NMSPC_CD = 'KC-S2S', CMPNT_CD = 'All', PARM_TYP_CD = 'CONFG', EVAL_OPRTR_CD = 'A' WHERE NMSPC_CD = 'KC-GEN' AND CMPNT_CD = 'A' AND PARM_NM = 'PERMANENT_RESIDENT_OF_US_PENDING' AND APPL_ID = 'KC'
/
|
-- ## Compile with PL/Scope
-- ### Enable PL/Scope in the current session
ALTER SESSION SET plscope_settings='identifiers:all, statements:all';
-- ### Create/compile a procedure
CREATE OR REPLACE PROCEDURE load_from_tab IS
BEGIN
INSERT INTO deptsal (dept_no, dept_name, salary)
SELECT /*+ordered */
d.deptno, d.dname, SUM(e.sal + NVL(e.comm, 0)) AS sal
FROM dept d
LEFT JOIN (SELECT *
FROM emp
WHERE hiredate > DATE '1980-01-01') e
ON e.deptno = d.deptno
GROUP BY d.deptno, d.dname;
COMMIT;
END load_from_tab;
/
-- ## View PLSCOPE_IDENTIFIERS
-- ### Query
SET PAGESIZE 50
SET LINESIZE 500
COLUMN OWNER FORMAT A7
COLUMN PROCEDURE_NAME FORMAT A14
COLUMN LINE FORMAT 999
COLUMN COL FORMAT 999
COLUMN PATH_LEN FORMAT 99
COLUMN NAME FORMAT A13
COLUMN NAME_PATH FORMAT A52
COLUMN TYPE FORMAT A9
COLUMN USAGE FORMAT A12
COLUMN REF_OWNER FORMAT A9
COLUMN REF_OBJECT_TYPE FORMAT A15
COLUMN REF_OBJECT_NAME FORMAT A15
COLUMN TEXT FORMAT A63
COLUMN PARENT_STATEMENT_TYPE FORMAT A21
COLUMN PARENT_STATEMENT_SIGNATURE FORMAT A32
COLUMN SIGNATURE FORMAT A32
SELECT procedure_name, line, col, name, name_path, path_len, type, usage,
ref_owner, ref_object_type, ref_object_name,
text, parent_statement_type, parent_statement_signature, signature
FROM plscope_identifiers
WHERE object_name = 'LOAD_FROM_TAB'
ORDER BY line, col;
-- ## View PLSCOPE_STATEMENTS
-- ### Query
SET LONG 10000
COLUMN FULL_TEXT FORMAT A49
COLUMN IS_DUPLICATE FORMAT A12
SELECT line, col, type, sql_id, is_duplicate, full_text
FROM plscope_statements S
WHERE object_name = 'LOAD_FROM_TAB'
ORDER BY owner, object_type, object_name, line, col;
-- ## View PLSCOPE_TAB_USAGE
-- ### Query
COLUMN TEXT FORMAT A81
COLUMN DIRECT_DEPENDENCY FORMAT A17
COLUMN PROCEDURE_NAME FORMAT A18
SELECT *
FROM plscope_tab_usage
WHERE procedure_name IN ('LOAD_FROM_TAB', 'LOAD_FROM_SYN_WILD')
ORDER BY owner, object_type, object_name, line, col, direct_dependency;
-- ## View PLSCOPE_COL_USAGE
-- ### Query
COLUMN TEXT FORMAT A81
COLUMN COLUMN_NAME FORMAT A11
COLUMN OBJECT_NAME FORMAT A13
COLUMN OPERATION FORMAT A9
SELECT *
FROM plscope_col_usage
WHERE procedure_name IN ('LOAD_FROM_TAB', 'LOAD_FROM_SYN_WILD')
ORDER BY owner, object_type, object_name, line, col, direct_dependency;
-- ## View PLSCOPE_NAMING
-- ### Create/compile a package
CREATE OR REPLACE PACKAGE pkg IS
g_global_variable INTEGER := 0;
g_global_constant CONSTANT VARCHAR2(10) := 'PUBLIC';
PROCEDURE p(p_1 IN INTEGER, p_2 OUT INTEGER);
END pkg;
/
CREATE OR REPLACE PACKAGE BODY pkg IS
m_global_variable INTEGER := 1;
co_global_constant CONSTANT VARCHAR2(10) := 'PRIVATE';
FUNCTION f(in_1 IN INTEGER) RETURN INTEGER IS
l_result INTEGER;
BEGIN
l_result := in_1 * in_1;
RETURN l_result;
END f;
PROCEDURE p(p_1 IN INTEGER, p_2 OUT INTEGER) IS
BEGIN
p_2 := f(in_1 => p_1);
END p;
END pkg;
/
-- ### Query (default Naming Conventions)
SET PAGESIZE 50
SET LINESIZE 500
COLUMN OBJECT_TYPE FORMAT A12
COLUMN PROCEDURE_NAME FORMAT A3
COLUMN TYPE FORMAT A10
COLUMN NAME FORMAT A18
COLUMN MESSAGE FORMAT A45
COLUMN LINE FORMAT 999
COLUMN COL FORMAT 999
COLUMN TEXT FORMAT A57
BEGIN
plscope_context.remove_all;
END;
/
SELECT object_type, procedure_name, type, name, message, line, col, text
FROM plscope_naming
WHERE object_name = 'PKG'
ORDER BY object_type, line, col;
-- ### Query (adapted Naming Conventions)
BEGIN
plscope_context.set_attr('GLOBAL_VARIABLE_REGEX', '^(g|m)_.*');
plscope_context.set_attr('CONSTANT_REGEX', '^(co|g)_.*');
plscope_context.set_attr('IN_PARAMETER_REGEX', '^(in|p)_.*');
plscope_context.set_attr('OUT_PARAMETER_REGEX', '^(out|p)_.*');
END;
/
SELECT object_type, procedure_name, type, name, message, line, col, text
FROM plscope_naming
WHERE owner = USER
AND object_name = 'PKG'
ORDER BY object_type, line, col;
-- ## View PLSCOPE_INS_LINEAGE
-- ### Query (default, recursive)
COLUMN OWNER FORMAT A7
COLUMN FROM_OWNER FORMAT A10
COLUMN FROM_OBJECT_TYPE FORMAT A16
COLUMN FROM_OBJECT_NAME FORMAT A16
COLUMN FROM_COLUMN_NAME FORMAT A16
COLUMN TO_OWNER FORMAT A8
COLUMN TO_OBJECT_TYPE FORMAT A14
COLUMN TO_OBJECT_NAME FORMAT A14
COLUMN TO_COLUMN_NAME FORMAT A14
COLUMN PROCEDURE_NAME FORMAT A18
EXEC lineage_util.set_recursive(1);
SELECT *
FROM plscope_ins_lineage
WHERE object_name IN ('ETL', 'LOAD_FROM_TAB')
AND procedure_name IN ('LOAD_FROM_TAB', 'LOAD_FROM_SYN_WILD')
ORDER BY owner, object_type, object_name, line, col,
to_object_name, to_column_name,
from_owner, from_object_type, from_object_name, from_column_name;
-- ### Query (non-recursive)
EXEC lineage_util.set_recursive(0);
SELECT *
FROM plscope_ins_lineage
WHERE object_name IN ('ETL', 'LOAD_FROM_TAB')
AND procedure_name IN ('LOAD_FROM_TAB', 'LOAD_FROM_SYN_WILD')
ORDER BY owner, object_type, object_name, line, col,
to_object_name, to_column_name,
from_owner, from_object_type, from_object_name, from_column_name;
EXEC lineage_util.set_recursive(1);
|
<reponame>zuesgooogle/game-server
/*
Source Server : game server
Source Server Version : 1
Source Host : 127.0.0.1:3306
Target Server Type : MYSQL
Target Server Version : 1
File Encoding : UTF-8
Mysql Engine : InnoDB
Author: <NAME>
Email : <EMAIL>
Date : 2015-05-24 18:54:45
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for user_account
-- ----------------------------
DROP TABLE IF EXISTS `user_account`;
CREATE TABLE `user_account` (
`id` varchar(48) NOT NULL COMMENT '主键,根据user_role表里面的 user_id和server_id加@号拼接',
`user_guid` varchar(36) NOT NULL COMMENT '对应user_role表里面的user_id',
`lingshi` bigint(11) NOT NULL COMMENT '元宝数量',
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
`update_time` timestamp NULL DEFAULT NULL COMMENT '更新时间',
`server_id` varchar(36) DEFAULT NULL COMMENT '服务器id',
`recive_yb` int(11) DEFAULT NULL COMMENT '可领取元宝,存储无充值的玩家,所有获得的元宝(此功能已经作废)',
`is_recharge` int(11) DEFAULT NULL COMMENT '是否充值',
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `user_account_index` (`user_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_role
-- ----------------------------
DROP TABLE IF EXISTS `user_role`;
CREATE TABLE `user_role` (
`id` varchar(36) NOT NULL COMMENT '角色唯一主键',
`user_id` varchar(36) NOT NULL COMMENT '角色账号id',
`name` varchar(36) NOT NULL COMMENT '角色名称',
`job` varchar(36) NOT NULL COMMENT '职业',
`sex` int(1) NOT NULL COMMENT '性别',
`exp` bigint(20) DEFAULT NULL COMMENT '经验',
`level` int(1) DEFAULT '1' COMMENT '等级',
`face` varchar(36) DEFAULT NULL COMMENT '头像',
`zhenqi` int(11) DEFAULT '0' COMMENT '真气',
`shengwang` int(11) DEFAULT '0' COMMENT '声望',
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
`online_time` bigint(20) DEFAULT NULL COMMENT '上线时间',
`offline_time` bigint(20) DEFAULT NULL COMMENT '下线时间',
`is_set_fangchenmi` int(11) NOT NULL DEFAULT '0' COMMENT '是否设置防沉迷',
`chenmi_add_online` int(20) DEFAULT NULL,
`chenmi_add_offline` int(20) DEFAULT NULL,
`server_id` varchar(36) COMMENT '服务器id',
`platform` varchar(36) DEFAULT NULL,
`role_type` int(11) DEFAULT '0',
`upgrade_time` bigint(20) DEFAULT NULL,
`zhanli` int(11) DEFAULT NULL COMMENT '战斗力',
`login_count` int(11) DEFAULT NULL COMMENT '登录次数',
`time` bigint(20) DEFAULT NULL COMMENT '在线时间',
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `idx_user_role_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for role_account
-- ----------------------------
DROP TABLE IF EXISTS `role_account`;
CREATE TABLE `role_account` (
`id` varchar(36) NOT NULL,
`user_role_id` varchar(36) NOT NULL COMMENT '角色唯一id',
`tongqian` bigint(11) NOT NULL COMMENT '游戏币数量',
`bind_lingshi` bigint(11) NOT NULL COMMENT '绑定元宝数量',
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
`update_time` timestamp NULL DEFAULT NULL,
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `idx_role_account_user_role_id` (`user_role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for role_stage
-- ----------------------------
DROP TABLE IF EXISTS `role_stage`;
CREATE TABLE `role_stage` (
`user_role_id` varchar(36) NOT NULL,
`map_id` varchar(255) DEFAULT NULL,
`map_x` int(11) DEFAULT NULL,
`map_y` int(11) DEFAULT NULL,
`hp` int(11) DEFAULT NULL,
`mp` int(11) DEFAULT NULL,
`max_hp` int(11) DEFAULT NULL,
`max_mp` int(11) DEFAULT NULL,
`buff` text,
`props` text,
`state` int(1) DEFAULT NULL,
`map_node` text,
`ti_li` int(11) DEFAULT '0',
`line_no` int(11) DEFAULT '0',
`pk_info` text,
`shanbi_val` int(11) DEFAULT '0',
`meiren_info` text,
`zuoqi_info` text,
`free_fly_count` int(11) DEFAULT '0' COMMENT '今日免费飞行次数',
`fly_count_refresh_time` bigint(20) DEFAULT '0' COMMENT '免费飞行次数刷新时间',
`copy_info` varchar(255) DEFAULT NULL,
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`user_role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for server_info
-- ----------------------------
DROP TABLE IF EXISTS `server_info`;
CREATE TABLE `server_info` (
`id` varchar(20) NOT NULL COMMENT '主键',
`start_time` timestamp NULL DEFAULT NULL COMMENT '开服时间',
`prefix_id` varchar(20) DEFAULT NULL COMMENT '角色名前缀',
`hefu_time` timestamp NULL DEFAULT NULL COMMENT '合服时间',
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Table structure for id_gen
-- ----------------------------
DROP TABLE IF EXISTS `id_gen`;
CREATE TABLE `id_gen` (
`id` varchar(100) NOT NULL DEFAULT '' COMMENT '主键',
`module_name` varchar(36) NOT NULL DEFAULT '' COMMENT '模块名称',
`value` bigint(10) unsigned NOT NULL COMMENT 'id值',
`prefix` varchar(10) NOT NULL COMMENT '前缀',
`version` int(10) unsigned NOT NULL COMMENT '版本',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for role_bag_slot
-- ----------------------------
DROP TABLE IF EXISTS `role_bag_slot`;
CREATE TABLE `role_bag_slot` (
`id` varchar(36) NOT NULL,
`slot_num` int(11) NOT NULL COMMENT '格子编号',
`user_role_id` varchar(36) NOT NULL,
`goods_id` varchar(36) NOT NULL COMMENT '物品ID',
`count` int(36) DEFAULT '0' COMMENT '物品数量',
`bind` int(11) NOT NULL DEFAULT '0' COMMENT '是否绑定',
`expire_time` bigint(20) DEFAULT NULL COMMENT '物品过期时间毫秒数',
`rare_level` int(11) DEFAULT NULL COMMENT '物品的稀有等级',
`item_level` int(11) DEFAULT NULL COMMENT '物品等级',
`attributes` text COMMENT '物品附加属性',
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `idx_role_bag_slot_user_role_id` (`user_role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for role_equip_slot
-- ----------------------------
DROP TABLE IF EXISTS `role_equip_slot`;
CREATE TABLE `role_equip_slot` (
`id` varchar(36) NOT NULL COMMENT '主键',
`slot_num` int(11) NOT NULL COMMENT '对应装备格子',
`user_role_id` varchar(36) NOT NULL COMMENT '角色主键id',
`goods_id` varchar(36) NOT NULL COMMENT '装备物品id',
`count` int(36) DEFAULT '0' COMMENT '数量,始终为1',
`bind` int(11) NOT NULL DEFAULT '0' COMMENT '是否绑定',
`expire_time` bigint(20) DEFAULT NULL COMMENT '物品过期时间毫秒数',
`rare_level` int(11) DEFAULT NULL COMMENT '物品的稀有等级',
`item_level` int(11) DEFAULT NULL COMMENT '物品等级',
`attributes` text COMMENT '物品附加属性',
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `idx_role_equip_slot_user_role_id` (`user_role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for guild
-- ----------------------------
DROP TABLE IF EXISTS `guild`;
CREATE TABLE `guild` (
`id` varchar(36) NOT NULL COMMENT '主键id',
`name` varchar(20) NOT NULL COMMENT '帮派名字',
`user_role_id` varchar(36) NOT NULL COMMENT '帮主的角色id',
`fighting` bigint(20) DEFAULT '0' COMMENT '总战力',
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
`update_time` timestamp NULL DEFAULT NULL,
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for guild_member
-- ----------------------------
DROP TABLE IF EXISTS `guild_member`;
CREATE TABLE `guild_member` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT '主键',
`guild_id` varchar(36) NOT NULL COMMENT '对应公会表主键',
`user_role_id` varchar(36) NOT NULL COMMENT '角色唯一主键',
`position` int(11) NOT NULL COMMENT '角色在公会里的职位 ',
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
`update_time` timestamp NULL DEFAULT NULL COMMENT '更新时间',
`log_update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
-- AUTHORIZATION --
-- add grant authorizations for group camunda-admin:
INSERT INTO
ACT_RU_AUTHORIZATION (ID_, TYPE_, GROUP_ID_, RESOURCE_TYPE_, RESOURCE_ID_, PERMS_, REV_)
VALUES
('camunda-admin-grant-drd', 1, 'camunda-admin', 14, '*', 2147483647, 1);
-- decision requirements definition --
ALTER TABLE ACT_RE_DECISION_DEF
ADD DEC_REQ_ID_ NVARCHAR2(64);
ALTER TABLE ACT_RE_DECISION_DEF
ADD DEC_REQ_KEY_ NVARCHAR2(255);
ALTER TABLE ACT_RU_CASE_SENTRY_PART
ADD VARIABLE_EVENT_ NVARCHAR2(255);
ALTER TABLE ACT_RU_CASE_SENTRY_PART
ADD VARIABLE_NAME_ NVARCHAR2(255);
create table ACT_RE_DECISION_REQ_DEF (
ID_ NVARCHAR2(64) NOT NULL,
REV_ INTEGER,
CATEGORY_ NVARCHAR2(255),
NAME_ NVARCHAR2(255),
KEY_ NVARCHAR2(255) NOT NULL,
VERSION_ INTEGER NOT NULL,
DEPLOYMENT_ID_ NVARCHAR2(64),
RESOURCE_NAME_ NVARCHAR2(2000),
DGRM_RESOURCE_NAME_ NVARCHAR2(2000),
TENANT_ID_ NVARCHAR2(64),
primary key (ID_)
);
alter table ACT_RE_DECISION_DEF
add constraint ACT_FK_DEC_REQ
foreign key (DEC_REQ_ID_)
references ACT_RE_DECISION_REQ_DEF(ID_);
create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_);
create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_);
ALTER TABLE ACT_HI_DECINST
ADD ROOT_DEC_INST_ID_ NVARCHAR2(64);
ALTER TABLE ACT_HI_DECINST
ADD DEC_REQ_ID_ NVARCHAR2(64);
ALTER TABLE ACT_HI_DECINST
ADD DEC_REQ_KEY_ NVARCHAR2(255);
create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_);
create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_);
create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_);
-- remove not null from ACT_HI_DEC tables --
alter table ACT_HI_DEC_OUT
modify (
CLAUSE_ID_ null,
RULE_ID_ null
);
alter table ACT_HI_DEC_IN
modify ( CLAUSE_ID_ null );
-- CAM-5914
create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_);
create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB(HANDLER_TYPE_,HANDLER_CFG_);
ALTER TABLE ACT_RU_EXT_TASK
ADD ERROR_DETAILS_ID_ NVARCHAR2(64);
alter table ACT_RU_EXT_TASK
add constraint ACT_FK_EXT_TASK_ERROR_DETAILS
foreign key (ERROR_DETAILS_ID_)
references ACT_GE_BYTEARRAY (ID_);
ALTER TABLE ACT_HI_PROCINST
ADD STATE_ NVARCHAR2(255);
update ACT_HI_PROCINST set STATE_ = 'ACTIVE' where END_TIME_ is null;
update ACT_HI_PROCINST set STATE_ = 'COMPLETED' where END_TIME_ is not null;
-- add indexes on PROC_DEF_KEY_ columns in history tables
create index ACT_IDX_HI_ACT_INST_PROCDEF on ACT_HI_ACTINST(PROC_DEF_ID_);
-- update the oracle indexes to prevent NULL queries
drop index ACT_IDX_CASE_DEF_TENANT_ID;
drop index ACT_IDX_CASE_EXEC_TENANT_ID;
create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_, 0);
create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_, 0);
drop index ACT_IDX_HI_CAS_I_TENANT_ID;
drop index ACT_IDX_HI_CAS_A_I_TENANT_ID;
create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_, 0);
create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_, 0);
drop index ACT_IDX_DEC_DEF_TENANT_ID;
drop index ACT_IDX_DEC_REQ_DEF_TENANT_ID;
create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_, 0);
create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_, 0);
drop index ACT_IDX_HI_DEC_INST_TENANT_ID;
create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_, 0);
drop index ACT_IDX_EXT_TASK_TENANT_ID;
drop index ACT_IDX_INC_TENANT_ID;
drop index ACT_IDX_JOBDEF_TENANT_ID;
drop index ACT_IDX_JOB_TENANT_ID;
drop index ACT_IDX_EVENT_SUBSCR_TENANT_ID;
drop index ACT_IDX_VARIABLE_TENANT_ID;
drop index ACT_IDX_TASK_TENANT_ID;
drop index ACT_IDX_EXEC_TENANT_ID;
drop index ACT_IDX_PROCDEF_TENANT_ID;
drop index ACT_IDX_DEPLOYMENT_TENANT_ID;
create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_, 0);
create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_, 0);
create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_, 0);
create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_, 0);
create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_, 0);
create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_, 0);
create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_, 0);
create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK(TENANT_ID_, 0);
create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_, 0);
create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_, 0);
drop index ACT_IDX_HI_PRO_INST_TENANT_ID;
drop index ACT_IDX_HI_ACT_INST_TENANT_ID;
drop index ACT_IDX_HI_TASK_INST_TENANT_ID;
drop index ACT_IDX_HI_DETAIL_TENANT_ID;
drop index ACT_IDX_HI_VAR_INST_TENANT_ID;
drop index ACT_IDX_HI_IDENT_LNK_TENANT_ID;
drop index ACT_IDX_HI_INCIDENT_TENANT_ID;
drop index ACT_IDX_HI_JOB_LOG_TENANT_ID;
create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_, 0);
create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_, 0);
create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_, 0);
create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_, 0);
create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_, 0);
create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_, 0);
create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_, 0);
create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_, 0);
-- CAM-6725
ALTER TABLE ACT_RU_METER_LOG
ADD MILLISECONDS_ NUMBER(19,0) DEFAULT 0;
alter table ACT_RU_METER_LOG
modify ( TIMESTAMP_ null );
CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_);
CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_);
DROP INDEX ACT_IDX_METER_LOG;
CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_);
|
<gh_stars>1-10
# Quote all table names with '{' and '}', and prefix all system tables with 'core.'
CREATE TABLE `{test}` (
`id` int(10) unsigned NOT NULL auto_increment,
`message` varchar(255) NOT NULL default '',
`active` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`id`)
);
CREATE TABLE `{page}` (
`id` int(10) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`uid` int(10) unsigned NOT NULL default '0',
`time_created` int(10) unsigned NOT NULL default '0',
`content` text,
`flag` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`id`)
); |
<filename>src/main/resources/db/delta-scripts/000_add_new_versioning_mechanism.sql
-- Necessary line in order to document the change.
INSERT INTO disturbance.schema_history (schema_version,comment,applied) VALUES ('000','Applied versioning of schema', NOW()); |
<filename>employees.sql
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Sep 27, 2021 at 06:32 PM
-- Server version: 10.4.20-MariaDB
-- PHP Version: 8.0.8
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: `employees`
--
-- --------------------------------------------------------
--
-- Table structure for table `cities`
--
CREATE TABLE `cities` (
`id` bigint(20) UNSIGNED NOT NULL,
`state_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `countries`
--
CREATE TABLE `countries` (
`id` bigint(20) UNSIGNED NOT NULL,
`country_code` char(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `countries`
--
INSERT INTO `countries` (`id`, `country_code`, `name`, `created_at`, `updated_at`) VALUES
(1, '123', 'BD', '2021-09-26 11:43:53', '2021-09-26 11:43:53'),
(2, 'USA', 'USA', '2021-09-26 11:45:04', '2021-09-26 11:45:04');
-- --------------------------------------------------------
--
-- Table structure for table `departments`
--
CREATE TABLE `departments` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `employees`
--
CREATE TABLE `employees` (
`id` bigint(20) UNSIGNED NOT NULL,
`last_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`first_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`middle_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`address_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`department_id` bigint(20) UNSIGNED NOT NULL,
`country_id` bigint(20) UNSIGNED NOT NULL,
`state_id` bigint(20) UNSIGNED NOT NULL,
`city_id` bigint(20) UNSIGNED NOT NULL,
`zip_code` char(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`birthdate` bigint(20) UNSIGNED DEFAULT NULL,
`date_hired` bigint(20) UNSIGNED DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2021_09_17_184104_create_countries_table', 1),
(6, '2021_09_17_184125_create_states_table', 1),
(7, '2021_09_17_184157_create_cities_table', 1),
(8, '2021_09_17_184229_create_departments_table', 1),
(9, '2021_09_17_189052_create_employees_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `personal_access_tokens`
--
CREATE TABLE `personal_access_tokens` (
`id` bigint(20) UNSIGNED NOT NULL,
`tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`tokenable_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`abilities` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_used_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `states`
--
CREATE TABLE `states` (
`id` bigint(20) UNSIGNED NOT NULL,
`country_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`last_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`first_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `username`, `last_name`, `first_name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'apou', 'Datta', '<PASSWORD>', '<EMAIL>', NULL, '$2y$10$SmeUFzF7Zn/iRYgUWNHh9e45xUrW3Z5ihPnzfxaaryaucuGqWI2EW', NULL, '2021-09-18 10:56:47', '2021-09-26 10:50:35'),
(2, 'johndue', 'due', 'john', '<EMAIL>', NULL, '$2y$10$YgEO6ifgJHAb3V8/OMm0mewgfJuIXjRYWDk86fwZUdR8mIwCMv2Qi', NULL, '2021-09-20 11:55:01', '2021-09-25 21:20:22');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `cities`
--
ALTER TABLE `cities`
ADD PRIMARY KEY (`id`),
ADD KEY `cities_state_id_foreign` (`state_id`);
--
-- Indexes for table `countries`
--
ALTER TABLE `countries`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `departments`
--
ALTER TABLE `departments`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `employees`
--
ALTER TABLE `employees`
ADD PRIMARY KEY (`id`),
ADD KEY `employees_department_id_foreign` (`department_id`),
ADD KEY `employees_country_id_foreign` (`country_id`),
ADD KEY `employees_state_id_foreign` (`state_id`),
ADD KEY `employees_city_id_foreign` (`city_id`);
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`);
--
-- Indexes for table `states`
--
ALTER TABLE `states`
ADD PRIMARY KEY (`id`),
ADD KEY `states_country_id_foreign` (`country_id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `cities`
--
ALTER TABLE `cities`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `countries`
--
ALTER TABLE `countries`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `departments`
--
ALTER TABLE `departments`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `employees`
--
ALTER TABLE `employees`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `states`
--
ALTER TABLE `states`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `cities`
--
ALTER TABLE `cities`
ADD CONSTRAINT `cities_state_id_foreign` FOREIGN KEY (`state_id`) REFERENCES `states` (`id`);
--
-- Constraints for table `employees`
--
ALTER TABLE `employees`
ADD CONSTRAINT `employees_city_id_foreign` FOREIGN KEY (`city_id`) REFERENCES `cities` (`id`),
ADD CONSTRAINT `employees_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`),
ADD CONSTRAINT `employees_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`),
ADD CONSTRAINT `employees_state_id_foreign` FOREIGN KEY (`state_id`) REFERENCES `states` (`id`);
--
-- Constraints for table `states`
--
ALTER TABLE `states`
ADD CONSTRAINT `states_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`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 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 11, 2022 at 05:36 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.2
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_lembaga`
--
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `guru`
--
CREATE TABLE `guru` (
`no` int(20) NOT NULL,
`nama` varchar(255) NOT NULL,
`nuptk` varchar(50) DEFAULT NULL,
`jk` enum('L','P','Laki-Laki','Perempuan') DEFAULT NULL,
`tmpt_lhr` varchar(50) DEFAULT NULL,
`tgl_lhr` date DEFAULT NULL,
`nip` varchar(20) DEFAULT NULL,
`status_kep` varchar(100) DEFAULT NULL,
`jenis_ptk` varchar(100) DEFAULT NULL,
`agama` varchar(100) DEFAULT NULL,
`almt_jln` varchar(255) DEFAULT NULL,
`rt` int(10) DEFAULT NULL,
`rw` int(10) DEFAULT NULL,
`nm_dusun` varchar(100) DEFAULT NULL,
`desa_kelurahan` varchar(255) DEFAULT NULL,
`kecamatan` varchar(255) DEFAULT NULL,
`kd_pos` varchar(100) DEFAULT NULL,
`telp` varchar(100) DEFAULT NULL,
`hp` varchar(100) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`tgs_tambahan` varchar(100) DEFAULT NULL,
`sk_cpns` varchar(100) DEFAULT NULL,
`sk_pengangkatan` varchar(100) DEFAULT NULL,
`tmt_pengangkatan` date DEFAULT NULL,
`lmbg_pengangkatan` varchar(100) DEFAULT NULL,
`pangkat_gol` varchar(100) DEFAULT NULL,
`sumber_gaji` varchar(100) DEFAULT NULL,
`nm_ibu` varchar(255) DEFAULT NULL,
`status_perkawinan` varchar(100) DEFAULT NULL,
`nm_suami_istri` varchar(255) DEFAULT NULL,
`nip_suami_istri` varchar(100) DEFAULT NULL,
`pekerjaan_suami_istri` varchar(100) DEFAULT NULL,
`tmt_pns` date DEFAULT NULL,
`lisensi` enum('iya','tidak') DEFAULT NULL,
`dikat_kep` enum('iya','tidak') DEFAULT NULL,
`keahlian_braille` enum('iya','tidak') DEFAULT NULL,
`keahlian_bhs_isyarat` enum('iya','tidak') DEFAULT NULL,
`npwp` varchar(100) DEFAULT NULL,
`nm_wjb_pajak` varchar(255) DEFAULT NULL,
`kewarganegaraan` varchar(100) DEFAULT NULL,
`bank` varchar(100) DEFAULT NULL,
`nmr_rek_bank` varchar(100) DEFAULT NULL,
`rek_nama` varchar(255) DEFAULT NULL,
`nik` varchar(100) NOT NULL,
`no_kk` varchar(100) DEFAULT NULL,
`karpeg` varchar(100) DEFAULT NULL,
`karis_karsu` varchar(100) DEFAULT NULL,
`lintang` varchar(100) DEFAULT NULL,
`bujur` varchar(100) DEFAULT NULL,
`nuks` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='guru';
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(13, '2022_01_07_055800_create_peserta_didiks_table', 1),
(118, '2014_10_12_000000_create_users_table', 2),
(119, '2014_10_12_100000_create_password_resets_table', 2),
(120, '2019_08_19_000000_create_failed_jobs_table', 2),
(121, '2019_12_14_000001_create_personal_access_tokens_table', 2),
(122, '2022_01_07_055800_create_peserta_didik_table', 2);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `personal_access_tokens`
--
CREATE TABLE `personal_access_tokens` (
`id` bigint(20) UNSIGNED NOT NULL,
`tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`tokenable_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`abilities` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_used_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `peserta_didik`
--
CREATE TABLE `peserta_didik` (
`nama_pd` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nipd` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`jenis_kelamin` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nisn` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`tmp_lhr` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`tgl_lhr` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nik_pd` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
`agama` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`alamat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`rt` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`rw` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`dusun` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`kelurahan` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`kecamatan` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`kode_pos` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`jenis_tinggal` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`transportasi` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_telp` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_hp` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`skhun` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`penerima_kps` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_kps` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nama_ayah` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thn_lhr_ayah` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pend_ayah` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pekerjaan_ayah` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`penghasilan_ayah` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nik_ayah` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nama_ibu` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thn_lhr_ibu` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pend_ibu` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pekerjaan_ibu` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`penghasilan_ibu` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nik_ibu` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nama_wali` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thn_lhr_wali` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pend_wali` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pekerjaan_wali` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`penghasilan_wali` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nik_wali` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`tingkat_rombel` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_peserta_un` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_seri_ijazah` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`penerima_kip` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nomor_kip` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nama_kip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_kks` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_regis_akta` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bank` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_rek_bank` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`rekening_atas_nama` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`layak_pip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`alasan_pip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`keb_khusus` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sekolah_asal` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`anak_ke` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lintang` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bujur` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`no_kk` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`berat_badan` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`tinggi_badan` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lingkar_kepala` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`jml_saudara` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`jarak_ke_sekolah` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `peserta_didik`
--
INSERT INTO `peserta_didik` (`nama_pd`, `nipd`, `jenis_kelamin`, `nisn`, `tmp_lhr`, `tgl_lhr`, `nik_pd`, `agama`, `alamat`, `rt`, `rw`, `dusun`, `kelurahan`, `kecamatan`, `kode_pos`, `jenis_tinggal`, `transportasi`, `no_telp`, `no_hp`, `email`, `skhun`, `penerima_kps`, `no_kps`, `nama_ayah`, `thn_lhr_ayah`, `pend_ayah`, `pekerjaan_ayah`, `penghasilan_ayah`, `nik_ayah`, `nama_ibu`, `thn_lhr_ibu`, `pend_ibu`, `pekerjaan_ibu`, `penghasilan_ibu`, `nik_ibu`, `nama_wali`, `thn_lhr_wali`, `pend_wali`, `pekerjaan_wali`, `penghasilan_wali`, `nik_wali`, `tingkat_rombel`, `no_peserta_un`, `no_seri_ijazah`, `penerima_kip`, `nomor_kip`, `nama_kip`, `no_kks`, `no_regis_akta`, `bank`, `no_rek_bank`, `rekening_atas_nama`, `layak_pip`, `alasan_pip`, `keb_khusus`, `sekolah_asal`, `anak_ke`, `lintang`, `bujur`, `no_kk`, `berat_badan`, `tinggi_badan`, `lingkar_kepala`, `jml_saudara`, `jarak_ke_sekolah`) VALUES
('<NAME>', NULL, 'L', '3193849677', 'BLITAR', '2019-06-07', '1', 'Islam', 'DSN BAOS', '1', '2', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, '085257508869', NULL, NULL, 'Tidak', NULL, NULL, '0', 'Tidak sekolah', NULL, NULL, NULL, 'TRI WULANDARI', '1999', 'SMA / sederajat', 'Karyawan Swasta', 'Rp. 500,000 - Rp. 999,999', NULL, NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '1', '0', '0', NULL, '10', '90', '45', '1', '1'),
('<NAME>', NULL, 'L', NULL, 'BLITAR', '2018-04-18', '11', 'Islam', 'DSN BAOS', '2', '1', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, '085749919132', NULL, NULL, 'Tidak', NULL, NULL, '0', 'Tidak sekolah', NULL, NULL, NULL, 'YAYUK INDRA NISWARI', '1991', 'SMP / sederajat', 'Tidak bekerja', 'Tidak Berpenghasilan', '3505154609910003', NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '1', '0', '0', NULL, '45', '98', '0', '1', '1'),
('<NAME>', NULL, 'L', '3187334827', 'BLITAR', '2018-11-01', '3505150111180002', 'Islam', 'DSN BAOS', '1', '2', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, '085334958171', NULL, NULL, 'Tidak', NULL, NULL, '1993', 'SMP / sederajat', 'Petani', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'DESI RATNASARI', '1996', 'Tidak sekolah', 'Tidak bekerja', 'Tidak Berpenghasilan', NULL, NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '1', '0', '0', '3505151610180006', '12', '92', '47', '1', '1'),
('<NAME>', NULL, 'L', '3178723580', 'BLITAR', '2017-06-15', '3505151506170001', 'Islam', 'DSN BALONG', '2', '2', 'BALONG', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, NULL, NULL, NULL, 'Tidak', NULL, NULL, '1987', 'SMA / sederajat', 'Karyawan Swasta', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'FITRI NOVITA SARI', '1994', 'SMA / sederajat', 'Tidak bekerja', 'Tidak Berpenghasilan', NULL, NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, '3505-LT-09032020-0065', NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '1', NULL, NULL, '3505152003140003', NULL, NULL, NULL, NULL, NULL),
('<NAME>', NULL, 'L', '3183937376', 'BLITAR', '2018-08-26', '3505152608180002', 'Islam', 'Jln Dsn Baos', '3', '2', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, '081217208893', NULL, NULL, 'Tidak', NULL, NULL, '1985', 'SMP / sederajat', 'Karyawan Swasta', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'KHARISMA YOGI NOVIA', '1998', 'SMP / sederajat', 'Tidak bekerja', 'Tidak Berpenghasilan', NULL, NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, '3505-LT-02012020-0002', NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '1', '0', '0', '3505150711180002', '13', '95', '47', '1', '1'),
('<NAME>', NULL, 'L', '3174244382', 'BLITAR', '2017-08-28', '3505152808170001', 'Islam', 'DSN BALONG', '2', '1', 'BALONG', 'BUTUN', 'Kec. Gandusari', NULL, 'Bersama orang tua', 'Sepeda motor', NULL, NULL, NULL, NULL, 'Tidak', NULL, NULL, '1993', 'SMP / sederajat', 'Wiraswasta', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'SUS<NAME>ATI', '1994', 'TK / sederajat', 'Nelayan', 'Tidak Berpenghasilan', NULL, NULL, NULL, 'Tidak sekolah', 'Tidak bekerja', NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '2', NULL, NULL, '3505152602180002', NULL, NULL, NULL, NULL, NULL),
('<NAME>', NULL, 'P', '3184723151', 'BLITAR', '2018-03-06', '3505154603180002', 'Islam', 'DSN BAOS', '2', '1', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, '085655517179', NULL, NULL, 'Tidak', NULL, NULL, '0', 'Tidak sekolah', NULL, NULL, NULL, 'ZULITA NINGTYAS', '1986', 'SMA / sederajat', 'Tidak bekerja', 'Tidak Berpenghasilan', NULL, NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '2', '0', '0', '3505150504180004', '11', '95', '44', '2', '1'),
('<NAME>', NULL, 'P', '3174250974', 'BLITAR', '2017-03-09', '3505154903170001', 'Islam', 'DSN BAOS', '2', '1', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, NULL, NULL, NULL, 'Tidak', NULL, NULL, '1985', 'SMA / sederajat', 'Karyawan Swasta', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'MEI RINA WAHYUNI', '1987', 'SMA / sederajat', 'Karyawan Swasta', 'Rp. 500,000 - Rp. 999,999', NULL, NULL, NULL, 'Tidak sekolah', 'Tidak bekerja', NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '2', NULL, NULL, '3505151710110002', NULL, NULL, NULL, NULL, NULL),
('<NAME>', NULL, 'P', '3176842908', 'BLITAR', '2017-09-10', '3505155009170001', 'Islam', 'DSN BAOS', '4', '1', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, NULL, NULL, NULL, 'Tidak', NULL, NULL, '1996', 'SMP / sederajat', 'Lainnya', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'DESI NOFITASARI', '1994', 'Tidak sekolah', 'Tidak bekerja', 'Tidak Berpenghasilan', NULL, NULL, '1996', 'SMP / sederajat', 'Lainnya', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '1', NULL, NULL, '3505151207170003', '11', '89', '48', '1', '1'),
('<NAME>', NULL, 'P', '3180221911', 'BLITAR', '2018-02-12', '3505155202180001', 'Islam', 'DSN BAOS', '3', '1', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, '083830632775', NULL, NULL, 'Tidak', NULL, NULL, '1973', 'SMP / sederajat', 'Petani', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'NGAMILATUS SHOLIANA', '1988', 'SMP / sederajat', 'Tidak bekerja', 'Tidak Berpenghasilan', NULL, NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '2', '0', '0', '3505151906061879', '12', '95', '45', '2', '1'),
('<NAME>', NULL, 'P', NULL, 'BLITAR', '2018-08-14', '3505155408180001', 'Islam', 'DSN BAOS', '1', '1', 'BAOS', 'BUTUN', 'Kec. Gandusari', '66187', 'Bersama orang tua', 'Sepeda motor', NULL, NULL, NULL, NULL, 'Tidak', NULL, 'AG<NAME>', '1982', 'SMP / sederajat', 'Karyawan Swasta', 'Rp. 1,000,000 - Rp. 1,999,999', '3505151908820001', '<NAME>', '1983', 'SMP / sederajat', 'Tidak bekerja', 'Tidak Berpenghasilan', '3505154506830003', NULL, NULL, 'Tidak sekolah', NULL, NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, NULL, NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '2', '0', '0', '3505152504120001', '12', '90', '45', '2', '1'),
('CALYA <NAME>', NULL, 'P', '3178278596', 'BLITAR', '2017-11-10', '357825011170002 ', 'Islam', 'DSN DONOWATI', '5', '1', 'DONOWATI', 'SUKOMANUNGGAL', 'Kec. Sukomanunggal', '60188', 'Bersama orang tua', 'Sepeda motor', NULL, NULL, NULL, NULL, 'Tidak', NULL, NULL, '1978', 'SMA / sederajat', 'Karyawan Swasta', 'Rp. 1,000,000 - Rp. 1,999,999', NULL, 'LINDA WIYANTI', '1983', 'SMA / sederajat', 'Karyawan Swasta', 'Rp. 500,000 - Rp. 999,999', NULL, NULL, NULL, 'Tidak sekolah', 'Tidak bekerja', NULL, NULL, 'PELANGI', NULL, NULL, 'Tidak', NULL, '0', NULL, '3578-LU-19122017-0179', NULL, NULL, NULL, 'Tidak', NULL, 'Tidak ada', NULL, '1', NULL, NULL, '3578270101085112', NULL, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `tendik`
--
CREATE TABLE `tendik` (
`no` int(20) NOT NULL,
`nama` varchar(255) NOT NULL,
`nuptk` varchar(50) DEFAULT NULL,
`jk` enum('L','P','Laki-Laki','Perempuan') DEFAULT NULL,
`tmpt_lhr` varchar(50) DEFAULT NULL,
`tgl_lhr` date DEFAULT NULL,
`nip` varchar(20) DEFAULT NULL,
`status_kep` varchar(100) DEFAULT NULL,
`jenis_ptk` varchar(100) DEFAULT NULL,
`agama` varchar(100) DEFAULT NULL,
`almt_jln` varchar(255) DEFAULT NULL,
`rt` int(10) DEFAULT NULL,
`rw` int(10) DEFAULT NULL,
`nm_dusun` varchar(100) DEFAULT NULL,
`desa_kelurahan` varchar(255) DEFAULT NULL,
`kecamatan` varchar(255) DEFAULT NULL,
`kd_pos` varchar(100) DEFAULT NULL,
`telp` varchar(100) DEFAULT NULL,
`hp` varchar(100) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`tgs_tambahan` varchar(100) DEFAULT NULL,
`sk_cpns` varchar(100) DEFAULT NULL,
`sk_pengangkatan` varchar(100) DEFAULT NULL,
`tmt_pengangkatan` date DEFAULT NULL,
`lmbg_pengangkatan` varchar(100) DEFAULT NULL,
`pangkat_gol` varchar(100) DEFAULT NULL,
`sumber_gaji` varchar(100) DEFAULT NULL,
`nm_ibu` varchar(255) DEFAULT NULL,
`status_perkawinan` varchar(100) DEFAULT NULL,
`nm_suami_istri` varchar(255) DEFAULT NULL,
`nip_suami_istri` varchar(100) DEFAULT NULL,
`pekerjaan_suami_istri` varchar(100) DEFAULT NULL,
`tmt_pns` date DEFAULT NULL,
`lisensi` enum('iya','tidak') DEFAULT NULL,
`dikat_kep` enum('iya','tidak') DEFAULT NULL,
`keahlian_braille` enum('iya','tidak') DEFAULT NULL,
`keahlian_bhs_isyarat` enum('iya','tidak') DEFAULT NULL,
`npwp` varchar(100) DEFAULT NULL,
`nm_wjb_pajak` varchar(255) DEFAULT NULL,
`kewarganegaraan` varchar(100) DEFAULT NULL,
`bank` varchar(100) DEFAULT NULL,
`nmr_rek_bank` varchar(100) DEFAULT NULL,
`rek_nama` varchar(255) DEFAULT NULL,
`nik` varchar(100) NOT NULL,
`no_kk` varchar(100) DEFAULT NULL,
`karpeg` varchar(100) DEFAULT NULL,
`karis_karsu` varchar(100) DEFAULT NULL,
`lintang` varchar(100) DEFAULT NULL,
`bujur` varchar(100) DEFAULT NULL,
`nuks` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='guru';
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
--
-- Indexes for table `guru`
--
ALTER TABLE `guru`
ADD PRIMARY KEY (`nik`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`);
--
-- Indexes for table `peserta_didik`
--
ALTER TABLE `peserta_didik`
ADD PRIMARY KEY (`nik_pd`);
--
-- Indexes for table `tendik`
--
ALTER TABLE `tendik`
ADD PRIMARY KEY (`nik`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=123;
--
-- AUTO_INCREMENT for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
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 */;
|
<filename>Database/AdventureWorks2014/Security/Schemas/Person.sql
CREATE SCHEMA [Person]
AUTHORIZATION [dbo]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Contains objects related to names and addresses of customers, vendors, and employees', 'SCHEMA', N'Person', NULL, NULL, NULL, NULL
GO
|
<reponame>sadambaig/heavestack
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 1192.168.3.11
-- Generation Time: Dec 26, 2020 at 02:49 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: `heavestack`
--
-- --------------------------------------------------------
--
-- Table structure for table `applications`
--
CREATE TABLE `applications` (
`id` bigint(20) UNSIGNED NOT NULL,
`job_id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`about` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`status` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
`email_sent` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `bolgs`
--
CREATE TABLE `bolgs` (
`id` bigint(20) UNSIGNED NOT NULL,
`user_id` int(11) NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`views` int(11) NOT NULL,
`image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`short_description` text COLLATE utf8_unicode_ci NOT NULL,
`body` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`cat_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`uuid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`connection` text COLLATE utf8_unicode_ci NOT NULL,
`queue` text COLLATE utf8_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `jobs`
--
CREATE TABLE `jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`user_id` int(11) NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`desc` text COLLATE utf8_unicode_ci NOT NULL,
`s_desc` text COLLATE utf8_unicode_ci NOT NULL,
`type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`last_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`salary` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`tags` text COLLATE utf8_unicode_ci DEFAULT NULL,
`active` tinyint(1) NOT NULL DEFAULT 0,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(15, '2014_10_12_000000_create_users_table', 1),
(16, '2014_10_12_100000_create_password_resets_table', 1),
(17, '2019_08_19_000000_create_failed_jobs_table', 1),
(18, '2020_12_24_054044_create_roles_table', 1),
(19, '2020_12_24_054956_create_role_user_table', 1),
(20, '2020_12_24_071729_create_jobs_table', 1),
(21, '2020_12_24_073351_create_bolgs_table', 1),
(22, '2020_12_24_130555_create_questions_table', 1),
(23, '2020_12_25_045708_create_categories_table', 1),
(24, '2020_12_25_045737_create_tags_table', 1),
(25, '2020_12_25_070848_create_posts_table', 1),
(26, '2020_12_26_111715_create_applications_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `posts`
--
CREATE TABLE `posts` (
`id` bigint(20) UNSIGNED NOT NULL,
`users_id` int(11) NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`views` int(11) NOT NULL,
`image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`tags_id` int(11) NOT NULL,
`categories_id` int(11) NOT NULL,
`meta_desc` text COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `questions`
--
CREATE TABLE `questions` (
`id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` bigint(20) UNSIGNED NOT NULL,
`roleName` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`permissions` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `roles`
--
INSERT INTO `roles` (`id`, `roleName`, `slug`, `permissions`, `created_at`, `updated_at`) VALUES
(1, 'manager', 'manager', '{\"manager\":true}', '2020-12-26 08:48:32', '2020-12-26 08:48:32'),
(2, 'admin', 'seller', '{\"admin\":true}', '2020-12-26 08:48:32', '2020-12-26 08:48:32'),
(3, 'employee', 'employee', '{\"employee\":true}', '2020-12-26 08:48:32', '2020-12-26 08:48:32'),
(4, 'intern', 'intern', '{\"intern\":true}', '2020-12-26 08:48:32', '2020-12-26 08:48:32');
-- --------------------------------------------------------
--
-- Table structure for table `role_user`
--
CREATE TABLE `role_user` (
`id` bigint(20) UNSIGNED NOT NULL,
`user_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `role_user`
--
INSERT INTO `role_user` (`id`, `user_id`, `role_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, NULL, NULL),
(2, 2, 2, NULL, NULL),
(3, 3, 3, NULL, NULL),
(4, 4, 4, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE `tags` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`status` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `username`, `email_verified_at`, `password`, `image`, `status`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'manager', '<EMAIL>', 'manager', NULL, '$2y$10$Fvuc2DN3tGzHbfCqUcHlSOX.gEehA/i2J1jAYXkWBuwzIRFAzmkkO', 'abc.jpg', '0', NULL, '2020-12-26 08:48:33', '2020-12-26 08:48:33'),
(2, 'admin', '<EMAIL>', '<PASSWORD>', NULL, '$2y$10$6aHUGDkTjdWGUmb2KgM7feKVMd8e3Sy63Q9Zrts/VX4iYIliWU.jW', 'abc.jpg', '0', NULL, '2020-12-26 08:48:33', '2020-12-26 08:48:33'),
(3, 'employee', '<EMAIL>', 'employee', NULL, '$2y$10$DaFzk44FGlYmV.oir1KlMO3KGuJAjDR6buqZjnoAayviZHHMJNNeS', 'abc.jpg', '0', NULL, '2020-12-26 08:48:33', '2020-12-26 08:48:33'),
(4, 'intern', '<EMAIL>', 'intern', NULL, '$2y$10$GaMapVTFTk7r8gPOctfepOUj6xsTXU//aU6fxLF57eEXzFedDArmy', 'abc.jpg', '0', NULL, '2020-12-26 08:48:33', '2020-12-26 08:48:33');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `applications`
--
ALTER TABLE `applications`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `bolgs`
--
ALTER TABLE `bolgs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `posts`
--
ALTER TABLE `posts`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `posts_slug_unique` (`slug`);
--
-- Indexes for table `questions`
--
ALTER TABLE `questions`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `role_user`
--
ALTER TABLE `role_user`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tags`
--
ALTER TABLE `tags`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`),
ADD UNIQUE KEY `users_username_unique` (`username`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `applications`
--
ALTER TABLE `applications`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `bolgs`
--
ALTER TABLE `bolgs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `jobs`
--
ALTER TABLE `jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- AUTO_INCREMENT for table `posts`
--
ALTER TABLE `posts`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `questions`
--
ALTER TABLE `questions`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `role_user`
--
ALTER TABLE `role_user`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `tags`
--
ALTER TABLE `tags`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
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 webhooks(webhook_sid, url, username, password) values('<PASSWORD>', 'http://127.0.0.1:4000/auth', 'foo', 'bar');
insert into service_providers (service_provider_sid, name, root_domain, registration_hook_sid)
values ('3f35518f-5a0d-4c2e-90a5-2407bb3b36f0', 'SP A', 'jambonz.org', '90dda62e-0ea2-47d1-8164-5bd49003476c');
insert into accounts(account_sid, service_provider_sid, name, sip_realm, registration_hook_sid)
values ('ed649e33-e771-403a-8c99-1780eabbc803', '3f35518f-5a0d-4c2e-90a5-2407bb3b36f0', 'test account', 'sip.example.com', '90dda62e-0ea2-47d1-8164-5bd49003476c');
insert into voip_carriers (voip_carrier_sid, name) values ('287c1452-620d-4195-9f19-c9814ef90d78', 'westco');
insert into sip_gateways (sip_gateway_sid, voip_carrier_sid, ipv4, inbound, outbound)
values ('124a5339-c62c-4075-9e19-f4de70a96597', '287c1452-620d-4195-9f19-c9814ef90d78', '172.16.31.10', true, true);
insert into sip_gateways (sip_gateway_sid, voip_carrier_sid, ipv4, port, inbound, outbound)
values ('efbc4830-57cd-4c78-a56f-d64fdf210fe8', '287c1452-620d-4195-9f19-c9814ef90d78', '3.3.3.3', 5062, false, true);
insert into webhooks(webhook_sid, url) values('4d7ce0aa-5ead-4e61-9a6b-3daa732218b1', 'http://example.com/status');
insert into accounts (account_sid, name, service_provider_sid)
values ('ee9d7d49-b3e4-4fdb-9d66-661149f717e8', 'Account A1', '3f35518f-5a0d-4c2e-90a5-2407bb3b36f0');
insert into applications (application_sid, name, account_sid, call_hook_sid, call_status_hook_sid)
values ('3b43e39f-4346-4218-8434-a53130e8be49', 'test', 'ee9d7d49-b3e4-4fdb-9d66-661149f717e8', '90dda62e-0ea2-47d1-8164-5bd49003476c', '4d7ce0aa-5ead-4e61-9a6b-3daa732218b1');
insert into voip_carriers (voip_carrier_sid, name, account_sid, application_sid) values ('999c1452-620d-4195-9f19-c9814ef90d78', 'customer PBX', 'ee9d7d49-b3e4-4fdb-9d66-661149f717e8', '3b43e39f-4346-4218-8434-a53130e8be49');
insert into sip_gateways (sip_gateway_sid, voip_carrier_sid, ipv4, inbound, outbound)
values ('888a5339-c62c-4075-9e19-f4de70a96597', '999c1452-620d-4195-9f19-c9814ef90d78', '172.16.31.10', true, false);
|
---
name: srv_mailbox
description: Lists all mailboxes
templates:
- backend.backend
returns: TABLE
returns_columns:
-
name: localpart
type: email.t_localpart
-
name: domain
type: dns.t_hostname
-
name: password
type: commons.t_password
-
name: uid
type: integer
-
name: quota
type: integer
-
name: option
type: jsonb
-
name: backend_status
type: backend.t_status
---
RETURN QUERY
WITH
-- DELETE
d AS (
DELETE FROM email.mailbox AS t
WHERE
backend._deleted(t.backend_status) AND
backend._machine_priviledged(t.service, t.domain)
),
-- UPDATE
s AS (
UPDATE email.mailbox AS t
SET backend_status = NULL
WHERE
backend._machine_priviledged(t.service, t.domain) AND
backend._active(t.backend_status)
)
-- SELECT
SELECT
t.localpart,
t.domain,
t.password,
t.uid,
t.quota,
t.option,
t.backend_status
FROM email.mailbox AS t
WHERE
backend._machine_priviledged(t.service, t.domain) AND
(backend._active(t.backend_status) OR p_include_inactive);
|
DROP TABLE EVENTTABLE IF EXISTS;
CREATE TABLE EVENTTABLE (
E_NAME VARCHAR(255) NOT NULL UNIQUE,
E_DESC VARCHAR(255) NOT NULL,
E_EMAIL VARCHAR(255) NOT NULL,
E_ADDRESS VARCHAR(255) NOT NULL,
E_CITY VARCHAR(255) NOT NULL,
E_STATE VARCHAR(255) NOT NULL,
E_ZIP VARCHAR(255) NOT NULL,
E_DATE VARCHAR(255) NOT NULL,
E_STIME VARCHAR(255) NOT NULL,
E_ETIME VARCHAR(255) NOT NULL,
PRIMARY KEY (E_NAME)
);
|
<gh_stars>1-10
-- AlterTable
ALTER TABLE `account_ban_history` MODIFY `account_id` INTEGER UNSIGNED;
-- AlterTable
ALTER TABLE `account_bans` MODIFY `account_id` INTEGER UNSIGNED;
-- AlterTable
ALTER TABLE `account_viplist` MODIFY `account_id` INTEGER UNSIGNED;
-- AlterTable
ALTER TABLE `coins_transactions` MODIFY `account_id` INTEGER UNSIGNED;
|
<filename>db/db_structure.sql
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jul 08, 2015 at 01:32 PM
-- Server version: 5.6.17
-- PHP Version: 5.5.12
SET FOREIGN_KEY_CHECKS=0;
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `scenariotracker`
--
-- --------------------------------------------------------
--
-- Table structure for table `authors`
--
CREATE TABLE IF NOT EXISTS `authors` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) DEFAULT NULL,
`created_on` datetime NOT NULL,
`updated_on` datetime NOT NULL,
`deleted` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=43 ;
-- --------------------------------------------------------
--
-- Table structure for table `j_author_scenario`
--
CREATE TABLE IF NOT EXISTS `j_author_scenario` (
`scenario_id` int(11) NOT NULL DEFAULT '0',
`author_id` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`scenario_id`,`author_id`),
KEY `author_id` (`author_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `j_scenario_person`
--
CREATE TABLE IF NOT EXISTS `j_scenario_person` (
`scenario_id` int(11) NOT NULL,
`person_id` int(11) NOT NULL,
`pfs` datetime DEFAULT NULL,
`core` datetime DEFAULT NULL,
`pfs_gm` datetime DEFAULT NULL,
`core_gm` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `j_scenario_subtier`
--
CREATE TABLE IF NOT EXISTS `j_scenario_subtier` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`scenario_id` int(11) NOT NULL,
`subtier_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=185 ;
-- --------------------------------------------------------
--
-- Table structure for table `people`
--
CREATE TABLE IF NOT EXISTS `people` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`pfsnumber` int(11) DEFAULT NULL,
`created_on` datetime NOT NULL,
`updated_on` datetime NOT NULL,
`deleted` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
-- --------------------------------------------------------
--
-- Table structure for table `scenarios`
--
CREATE TABLE IF NOT EXISTS `scenarios` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`description` text,
`type` varchar(64) NOT NULL DEFAULT 'scenario',
`season` varchar(16) DEFAULT NULL,
`number` varchar(16) DEFAULT NULL,
`tier` varchar(16) DEFAULT NULL,
`levelrange` varchar(64) NOT NULL DEFAULT '01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20',
`evergreen` tinyint(1) DEFAULT '0',
`archived` datetime DEFAULT NULL,
`created_on` datetime NOT NULL,
`updated_on` datetime NOT NULL,
`deleted` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=199 ;
-- --------------------------------------------------------
--
-- Table structure for table `subtiers`
--
CREATE TABLE IF NOT EXISTS `subtiers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(16) DEFAULT NULL,
`created_on` datetime NOT NULL,
`updated_on` datetime NOT NULL,
`deleted` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `j_author_scenario`
--
ALTER TABLE `j_author_scenario`
ADD CONSTRAINT `j_author_scenario_ibfk_1` FOREIGN KEY (`scenario_id`) REFERENCES `scenarios` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `j_author_scenario_ibfk_2` FOREIGN KEY (`author_id`) REFERENCES `authors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
SET FOREIGN_KEY_CHECKS=1;
|
USE [ANTERO]
GO
ALTER TABLE [sa].[sa_arvo_uraseuranta]
ALTER COLUMN [jarjestys] [varchar](10) NULL
|
<gh_stars>10-100
INSERT INTO author (id, firstname, lastname, version) VALUES (12, 'Thorben', 'Janssen', 0);
INSERT INTO book (id, publishingdate, title, version) VALUES (7, '2017-04-04', 'Hibernate Tips', 0);
INSERT INTO bookauthor (bookid, authorid) VALUES (7, 12);
|
/*
Author: <NAME>
Date: November 9, 2019
Purpose: Identify the top 10 community areas that
have the highest number of crimes in 2019.
Note: This data set contains arrests so we're using arrests
as a proxy for criminal activity across the city.
*/
-- Before we answer the question, let's get some context:
-- count the number of records in the crimes table
SELECT COUNT(*) AS count_num_records
FROM crimes_2019;
-- count the number of unique ID values
-- note: see this SO post for why I'm counting uniques this way:
-- https://stackoverflow.com/a/14732410/7954106
SELECT COUNT(*) AS count_unique_id
FROM (
SELECT DISTINCT id
FROM crimes_2019
) AS temp;
-- count the number of unique Case Number values
SELECT COUNT(*) AS count_unique_case_num
FROM (
SELECT DISTINCT "Case Number"
FROM crimes_2019
) AS temp;
/*
Conclusion: there is one record per id value, meaning that one Case Number
may have multiple records (i.e. multiple arrests)
Now we can move forward with identifying the top 10 communities by crime
*/
SELECT community_areas.community AS cca_name,
crimes_2019."Community Area" AS cca_num,
COUNT(crimes_2019.id) AS num_arrests
FROM crimes_2019
-- for each arrest, grab its corresponding community area text
LEFT JOIN community_areas
ON crimes_2019."Community Area" = community_areas.area_numbe
GROUP BY cca_name, cca_num
ORDER BY num_arrests DESC
LIMIT 10;
|
<gh_stars>0
DROP DATABASE IF EXISTS hotel;
CREATE DATABASE hotel;
USE hotel;
CREATE TABLE Setor (
CodSetor int unsigned PRIMARY KEY auto_increment,
NomeSetor varchar(30) not null
);
CREATE TABLE Produto (
Cod_Produto int unsigned PRIMARY KEY auto_increment,
Nome_Produto varchar(40) not null,
Valor_Produto decimal (10,2) not null,
Situacao char not null,
CodSetor int unsigned not null,
Foreign key (CodSetor) References Setor (CodSetor)
);
CREATE TABLE Categoria (
CodCategoria int unsigned PRIMARY KEY auto_increment,
CategoriaApto varchar(30) not null,
MaxPax int unsigned not null,
ValorDiaria decimal (10,2) not null
);
CREATE TABLE Apartamento (
Cod_AP int unsigned PRIMARY KEY auto_increment,
Descricao varchar(50) not null,
Status_Ap char not null,
Cod_Categoria int unsigned not null,
Foreign key (Cod_Categoria) References Categoria (CodCategoria)
);
CREATE TABLE Usuario (
CodUsuario int unsigned PRIMARY KEY auto_increment,
NomeUsuario varchar(70) not null,
Login varchar(15) not null unique,
Senha varchar(15) not null,
Permissao varchar(15) not null
);
CREATE TABLE Cliente (
Cpf_Cliente varchar(14) PRIMARY KEY,
Nome_Clien varchar(70) not null,
Nasc_Clien date not null,
Celular varchar(16) not null,
TelefoneResidencial varchar(16) not null,
Rua varchar(70),
N_Resid int unsigned not null,
Complemento varchar (100),
Cep_Clien varchar(10) not null,
Bairro varchar(70),
Cidade varchar(70),
UF varchar(2),
Email varchar(100) unique,
Senha varchar(15)
);
CREATE TABLE Reserva (
Cod_Reserva int unsigned PRIMARY KEY auto_increment,
CheckIn date not null,
CheckOut date not null,
Total decimal (10,2) not null,
Cpf_Cliente varchar(14) not null,
Cod_Apto int unsigned not null,
CodUsuario int unsigned not null,
Foreign key (Cpf_Cliente) References Cliente (Cpf_Cliente),
Foreign key (Cod_Apto) References Apartamento (Cod_AP),
Foreign key (CodUsuario) References Usuario (CodUsuario)
);
CREATE TABLE Acompanhantes (
Cod_Acmp int unsigned Primary Key auto_increment,
Cpf_Acmp varchar(14) unique not null,
Nome_Acmp varchar(70) not null,
Nasc_Acmp date not null,
CodReserva int unsigned,
Foreign key (CodReserva) References Reserva (Cod_Reserva)
);
CREATE TABLE Comanda (
Cod_Comanda int unsigned PRIMARY KEY auto_increment,
DT_Comanda date not null,
Total_Comanda decimal (10,2) not null,
Cod_Reserva int unsigned ,
FOREIGN KEY(Cod_Reserva) REFERENCES Reserva (Cod_Reserva)
);
CREATE TABLE Despesas(
CodDespesa int unsigned primary key auto_increment,
NomeDespesa varchar (50) not null,
ValorDespesa decimal (10,2) not null,
DataDespesa date not null
);
CREATE TABLE DespCaixa(
CodMovim int unsigned primary key auto_increment,
CodDep int unsigned,
Foreign key (CodDep) References Despesas (CodDespesa)
);
CREATE TABLE ReceCaixa(
CodMovim int unsigned primary key auto_increment,
CodReserva int unsigned,
CodComanda int unsigned,
Foreign key (CodReserva) References Reserva (Cod_Reserva),
Foreign key (CodComanda) References Comanda (Cod_Comanda)
);
CREATE TABLE Caixa(
CodCaixa int unsigned primary key auto_increment,
CodDespesa int unsigned,
CodReceita int unsigned,
Foreign key (CodDespesa) References DespCaixa (CodMovim),
Foreign key (CodReceita) References ReceCaixa (CodMovim)
);
CREATE TABLE Comanda_Produto (
Cod_Item int unsigned PRIMARY KEY auto_increment,
Cod_Comanda int unsigned not null,
Cod_Produto int unsigned not null,
Cod_Usuario int unsigned not null,
FOREIGN KEY(Cod_Comanda) REFERENCES Comanda (Cod_Comanda),
FOREIGN KEY(Cod_Produto) REFERENCES Produto (Cod_Produto),
FOREIGN KEY(Cod_Usuario) REFERENCES Usuario (CodUsuario)
);
-- ------------------------------------------------USER STORORED PROCEDURES -----------------------------------------------------------------------------------
-- ------------------------------------------------CLIENTES-----------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_CadastrarCliente(
P_Cpf_Cliente varchar(14),
P_Nome_Clien varchar(70),
P_Nasc_Clien date,
P_Celular varchar(16),
P_TelefoneResidencial varchar(16),
P_Rua varchar(70),
P_N_Resid int,
P_Complemento varchar (100),
P_Cep_Clien varchar(10),
P_Bairro varchar(70),
P_Cidade varchar(70),
P_UF varchar(2),
P_Email varchar(100),
P_Senha varchar(15)
)
begin
insert into Cliente (Cpf_Cliente, Nome_Clien, Nasc_Clien, Celular, TelefoneResidencial, Rua, N_Resid, Complemento, Cep_Clien,
Bairro, Cidade, UF, Email, Senha )
Values (P_Cpf_Cliente, P_Nome_Clien, P_Nasc_Clien, P_Celular, P_TelefoneResidencial, P_Rua, P_N_Resid, P_Complemento, P_Cep_Clien,
P_Bairro, P_Cidade, P_UF, P_Email, P_Senha);
END$$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_AlteraCliente(
P_Cpf_Cliente varchar(14),
P_Nome_Clien varchar(70),
P_Nasc_Clien date,
P_Celular varchar(16),
P_TelefoneResidencial varchar(16),
P_Rua varchar(70),
P_N_Resid int,
P_Complemento varchar (100),
P_Cep_Clien varchar(10),
P_Bairro varchar(70),
P_Cidade varchar(70),
P_UF varchar(2),
P_Email varchar(100),
P_Senha varchar(15),
p_Cpf_ClienRecebido varchar(14)
)
begin
update Cliente set Cpf_Cliente = P_Cpf_Cliente, Nome_Clien = P_Nome_Clien, Nasc_Clien = P_Nasc_Clien, Celular = P_Celular,
TelefoneResidencial = P_TelefoneResidencial, Rua = P_Rua, N_Resid = P_N_Resid, Complemento = P_Complemento, Cep_Clien = P_Cep_Clien,
Bairro = P_Bairro, Cidade = P_Cidade, UF = P_UF, Email = P_Email, Senha = P_Senha where Cpf_Cliente = p_Cpf_ClienRecebido;
END$$
DELIMITER ;
-- ------------------------------------------------Categoria -----------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_InsereCategoria(
P_CategoriaApto varchar(30) ,
P_MaxPax int unsigned,
P_ValorDiaria decimal (10,2)
)
begin
Insert into Categoria (CategoriaApto, MaxPax, ValorDiaria ) values (P_CategoriaApto, P_MaxPax, P_ValorDiaria);
END$$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
Delimiter $$
create procedure JAVA_USP_AlteraCategoria(
P_CodCategoria int unsigned,
P_CategoriaApto varchar(30),
P_MaxPax int unsigned,
P_ValorDiaria decimal (10,2)
)
begin
update Categoria set CategoriaApto = P_CategoriaApto, MaxPax = P_MaxPax, ValorDiaria = P_ValorDiaria where CodCategoria = P_CodCategoria;
END$$
Delimiter;
-- ------------------------------------------------APARTAMENTO -----------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_InsereApartamento(
P_Descricao varchar(50),
P_Status char,
P_CodCategoria int
)
begin
Insert into apartamento (Descricao, Status_Ap, Cod_Categoria ) values ( P_Descricao, P_Status,P_CodCategoria);
END$$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_AlteraApartamento(
P_Cod_AP int,
P_Descricao varchar(50),
P_Status char,
P_CodCategoria int
)
begin
update apartamento set Descricao = Descricao, Status_Ap = P_Status where Cod_AP = P_Cod_AP ;
END$$
DELIMITER ;
-- ------------------------------------------------SETOR ---------------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_InsereSetor(
P_NomeSetor varchar(30)
)
begin
Insert into Setor (NomeSetor) values (P_NomeSetor);
END$$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_AlteraSetor(
P_CodSetor int unsigned,
P_NomeSetor varchar(30)
)
begin
update Setor set NomeSetor = P_NomeSetor where CodSetor = P_CodSetor ;
END$$
DELIMITER ;
-- ------------------------------------------------PRODUTOS-----------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_InsereProduto(
P_Nome_Produto varchar(40),
P_Valor_Produto decimal (10,2) ,
P_Situacao char,
P_CodSetor int unsigned
)
begin
Insert into Produto (Nome_Produto, Valor_Produto, Situacao, CodSetor) Values (P_Nome_Produto, P_Valor_Produto, P_Situacao, P_CodSetor);
END$$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_AlteraProduto(
P_Cod_Produto int unsigned ,
P_Nome_Produto varchar(40),
P_Valor_Produto decimal (10,2) ,
P_Situacao char,
P_CodSetor int unsigned
)
begin
update Produto set Nome_Produto = P_Nome_Produto, Valor_Produto = P_Valor_Produto, Situacao = P_Situacao, CodSetor = P_CodSetor
where Cod_Produto = P_Cod_Produto;
END$$
DELIMITER ;
-- ------------------------------------------------RESERVAS e Abre COMANDAS--------------------------------------------------------------------------
DELIMITER $$
create procedure JAVA_USP_INSERERESERVACOMANDA(
P_CheckIn date ,
P_CheckOut date ,
P_Total decimal (10,2) ,
P_Cpf_Cliente varchar(14) ,
P_Cod_Apto int unsigned ,
P_CodUsuario int unsigned ,
Total_Comanda decimal (10,2)
)
begin
START TRANSACTION;
insert into Reserva (CheckIn, CheckOut, Total, Cpf_Cliente, Cod_Apto, CodUsuario)
values (P_CheckIn, P_CheckOut, P_Total, P_Cpf_Cliente, P_Cod_Apto, P_CodUsuario);
insert into comanda (DT_Comanda, Total_Comanda, Cod_Reserva )
values (P_CheckIn, Total_Comanda, LAST_INSERT_ID());
COMMIT;
END$$
DELIMITER ;
-- ------------------------------------------------ACOMPANHANTES-----------------------------------------------------------------------------------
DELIMITER $$
create procedure USP_JAVA_INSEREACOMPANHANTE(
P_Cpf_Acmp varchar(14),
P_Nome_Acmp varchar(70) ,
P_Nasc_Acmp date,
P_CodReserva int unsigned
)
begin
insert into Acompanhantes (Cpf_Acmp, Nome_Acmp, Nasc_Acmp, CodReserva) Values (P_Cpf_Acmp, P_Nome_Acmp, P_Nasc_Acmp, P_CodReserva);
END $$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
create procedure USP_JAVA_ALTERAACOMPANHANTE(
P_Cpf_Acmp varchar(14),
P_Nome_Acmp varchar(70) ,
P_Nasc_Acmp date ,
P_Cod_Acmp int,
P_CodReserva int unsigned
)
begin
update Acompanhantes set Cpf_Acmp = P_Cpf_Acmp, Nome_Acmp = P_Nome_Acmp, Nasc_Acmp = P_Nasc_Acmp, CodReserva = P_CodReserva where Cod_Acmp = P_Cod_Acmp ;
END $$
DELIMITER ;
-- ------------------------------------------------USUARIO-------------------------------------------------------------------------------------
DELIMITER $$
Create Procedure USP_JAVA_InsereUsuario(
P_NomeUsuario varchar(70),
P_Login varchar(15),
P_Senha varchar(15),
P_Permissao varchar(15)
)
begin
insert into Usuario (NomeUsuario, Login, Senha, Permissao ) Values (P_NomeUsuario, P_Login, P_Senha, P_Permissao);
end$$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
Create Procedure USP_JAVA_AlteraUsuario(
P_NomeUsuario varchar(70),
P_Login varchar(15),
P_Senha varchar(15),
P_Permissao varchar(15),
P_CodUsuario int
)
begin
update Usuario set NomeUsuario = P_NomeUsuario, Login = P_Login, Senha = P_Senha, Permissao = P_Permissao where CodUsuario = P_CodUsuario;
end$$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
Create Procedure USP_JAVA_DeletaAcomp(
P_Cod_Acmp int
)
begin
delete from Acompanhantes where P_Cod_Acmp = P_Cod_Acmp;
END $$
DELIMITER ;
-- ------------------------------------------------Comanda_Produto--------------------------------------------------------------------------------
DELIMITER $$
Create Procedure USP_JAVA_InsereComanda_Produto(
P_Cod_Comanda int,
P_Cod_Produto int,
P_Cod_Usuario int
)
begin
SET SQL_SAFE_UPDATES=0;
insert into Comanda_Produto (Cod_Comanda, Cod_Produto, Cod_Usuario) VALUES (P_Cod_Comanda, P_Cod_Produto, P_Cod_Usuario);
update comanda set Total_Comanda = (select sum(Valor_Produto) from Comanda_Produto as CP join Produto as P on P.Cod_Produto = CP.Cod_Produto where Cod_Comanda = P_Cod_Comanda );
END $$
DELIMITER ;
-- ------------------------------------------------------------------------------------------
DELIMITER $$
Create Procedure USP_JAVA_DeletaComanda_Produto(
P_Cod_Item int
)
begin
delete from Comanda_Produto where Cod_Item = P_Cod_Item ;
END $$
DELIMITER ;
-- ----------------------------------------INSERTS-------------------------------------------------------------------------------------------
-- call JAVA_USP_CadastrarCliente('399.305.868-22', '<NAME>', '1993-01-19', '(11) 96695-3355', '(11) 2258-2212','Marconi', 107, '',
-- '02.645-000', 'Centro', 'São Paulo', 'SP', '<EMAIL>','senha123' );
call JAVA_USP_InsereCategoria ('Single', 1, 100.00);
call JAVA_USP_InsereCategoria ('Duplo', 2, 200.00);
call JAVA_USP_InsereCategoria ('Triplo', 3, 300.00);
call JAVA_USP_InsereCategoria ('Quádruplo', 4, 400.00);
call JAVA_USP_InsereCategoria ('Quíntuplo', 5, 500.00);
call JAVA_USP_InsereCategoria ('Especial', 6, 600.00);
call JAVA_USP_InsereApartamento ('Single com vista para o Mar', 'D', 1);
call JAVA_USP_InsereApartamento ('Duplo com vista para o Mar', 'D', 2);
call JAVA_USP_InsereApartamento ('Triplo com vista para o Mar', 'M', 3);
call JAVA_USP_InsereApartamento ('Quádruplo com vista para o Mar', 'D', 4);
call JAVA_USP_InsereApartamento ('Quíntuplo com vista para o Mar', 'D', 5);
call JAVA_USP_InsereApartamento ('Especial com vista para o Mar', 'D', 6);
call JAVA_USP_InsereSetor ('Bebidas');
call JAVA_USP_InsereSetor ('Cozinha');
call JAVA_USP_InsereSetor ('Mercadinho');
call JAVA_USP_InsereSetor ('Serviços');
call JAVA_USP_InsereProduto ('Coca Cola', 3.50, 'A', 1);
call JAVA_USP_InsereProduto('Prato Executivo', 14.00, 'A', 2);
call JAVA_USP_InsereProduto('Escova de Dente', 2.00, 'A', 3);
call JAVA_USP_InsereProduto('Massagem', 35.00, 'A', 4);
-- call JAVA_USP_INSERERESERVACOMANDA('2016-01-01','2016-01-02', 200.00, '399.305.868-22', 1, 1, 0.00);
-- call USP_JAVA_INSEREACOMPANHANTE ('350.007.518-50', 'Flávia Santos', '1986-04-18', 1);
call USP_JAVA_InsereUsuario ('<NAME>', 'Alison', '123', 'Adm');
-- ---------------------------------------------------------
|
CREATE OR REPLACE TRIGGER BEFOREUPDATEPROFESSOR
-- 【1-⑥】
BEFORE UPDATE ON professor
FOR EACH ROW
DECLARE
pwd_str VARCHAR2(100) := '';
pwd_num VARCHAR2(100) := '';
BEGIN
/* 패스워드는 문자와 숫자를 조합하여 입력해야 함 */
IF REGEXP_LIKE(:NEW.p_pwd, '[^[:digit:]]') != true OR REGEXP_LIKE(:NEW.p_pwd, '[^[:alpha:]]') != true THEN
raise_application_error(-20002, '패스워드는 문자와 숫자를 조합해야 합니다.');
END IF;
/* 연구분야는 ‘데이터베이스’, ‘네트워크’, ‘운영체제’만 입력해야 함 */
IF :NEW.p_research != '데이터베이스' AND :NEW.p_research != '네트워크' AND :NEW.p_research != '운영체제' THEN
raise_application_error(-20003, '연구분야를 다시 입력해주세요.');
END IF;
/* 패스워드는 기존에 설정한 패스워드와 다르게 입력해야 함 / - 단, 연구분야를 수정한 경우 기존에 설정한 패스워드를 변경하지 않아도 됨 */
IF :NEW.p_research = :OLD.p_research THEN
IF :NEW.p_pwd = :OLD.p_pwd THEN
raise_application_error(-20004, '패스워드는 기존과 동일하게 변경할 수 없습니다.');
END IF;
END IF;
END;
/ |
<reponame>CoderSong2015/Apache-Trafodion
-- @@@ START COPYRIGHT @@@
--
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may not use this file except in compliance
-- with the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing,
-- software distributed under the License is distributed on an
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-- KIND, either express or implied. See the License for the
-- specific language governing permissions and limitations
-- under the License.
--
-- @@@ END COPYRIGHT @@@
/**********************************************************************
// @@@ START COPYRIGHT @@@
// +++ Copyright added on 2003/12/3
// +++ Code modified on 2003/11/22
**********************************************************************/
/* teste141.sql
* <NAME>
* 07-05-2005
* embedded C tests for setting rownumber in diags area
*
* Test Classification: Positive and Negative
* Test Level: Functional
* Test Coverage:
* - constraint violation on when before trigger fires on rowset insert (negative)
* - constraint violation on when before trigger fires on rowset update (positive)
* - constraint violation on when after trigger fires on rowset insert (positive)
* - constraint violation on when after trigger fires on rowset update (positive)
* - RI constraint violation on rowset insert (positive)
* - RI constraint violation on rowset update(positive)
* - expression error on rowset insert on a table with MV, error during base table insert(positive)
* - expression error on rowset delete on a table with MV, error during base table delete(positive)
* - Unique constraint violation on rowset insert on table with multiple indexes
* This test uses a direct CLI call to test value of rownumber in diags area as
* there is no support in preprocessor to get this value currently.
*/
/* include */
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string.h>
#include "sqlcli.h"
void display_diagnosis();
EXEC SQL MODULE CAT.SCH.TESTE141M NAMES ARE ISO88591;
exec sql whenever sqlerror call display_diagnosis;
exec sql control query default upd_savepoint_on_error 'OFF';
EXEC SQL BEGIN DECLARE SECTION;
ROWSET [10] Int32 a_int;
ROWSET [10] Int32 b_int;
EXEC SQL END DECLARE SECTION;
EXEC SQL BEGIN DECLARE SECTION;
/**** host variables for get diagnostics *****/
NUMERIC(5) i;
NUMERIC(5) hv_num;
Int32 hv_sqlcode;
Int32 hv_rownum;
char hv_msgtxt[129];
char SQLSTATE[6];
Int32 SQLCODE;
Int32 savesqlcode;
EXEC SQL END DECLARE SECTION;
/*****************************************************/
void display_diagnosis()
/*****************************************************/
{
savesqlcode = SQLCODE ;
hv_rownum = -2;
Int32 rowcondnum = 103;
Int32 retcode;
exec sql get diagnostics :hv_num = NUMBER;
memset(hv_msgtxt,' ',sizeof(hv_msgtxt));
hv_msgtxt[128]='\0';
printf("Number : %d\n", hv_num);
for (i = 1; i <= hv_num; i++) {
exec sql get diagnostics exception :i
:hv_sqlcode = SQLCODE,
:hv_msgtxt = MESSAGE_TEXT;
printf("Sqlcode : %d\n", hv_sqlcode);
printf("Message : %s\n", hv_msgtxt);
retcode = SQL_EXEC_GetDiagnosticsCondInfo2(rowcondnum, i, &hv_rownum, 0,0,0);
printf("RowNum : %d\n", hv_rownum);
memset(hv_msgtxt,' ',sizeof(hv_msgtxt));
hv_msgtxt[128]='\0';
}
SQLCODE = savesqlcode ;
}
/* Negative test. RowNumber is not available for the flow node for before triggers defined on an insert statement */
/* 8101 when before trigger fires on an insert */
void test1() {
printf("\n\ntest1 : Expecting rownumber = -1\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+1;
}
EXEC SQL DELETE FROM rownum5;
a_int[5] = -1;
EXEC SQL INSERT INTO rownum5 VALUES (:a_int, :b_int);
if (SQLCODE != 0) {
printf("Failed to insert. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Insert succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* Positive test. RowNumber is available for the flow node for before update/delete triggers */
/* 8101 when before trigger fires on an update */
void test2() {
printf("\n\ntest2 : Expecting rownumber = 5\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+100;
}
EXEC SQL DELETE FROM rownum6;
EXEC SQL INSERT INTO rownum6 VALUES (:a_int, :b_int);
b_int[5] = 5;
EXEC SQL UPDATE rownum6 SET b = :b_int WHERE a = :a_int;
if (SQLCODE != 0) {
printf("Failed to update. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Update succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* 8101 when after trigger fires on an insert */
void test3() {
printf("\n\ntest3 : Expecting rownumber = 7\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+1;
}
EXEC SQL DELETE FROM rownum7;
a_int[7] = -1;
EXEC SQL INSERT INTO rownum7 VALUES (:a_int, :b_int);
if (SQLCODE != 0) {
printf("Failed to insert. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Insert succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* Positive test. RowNumber is available for the flow node for before update/delete triggers */
/* 8101 when after trigger fires on an update */
void test4() {
printf("\n\ntest4 : Expecting rownumber = 3\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+100;
}
EXEC SQL DELETE FROM rownum7;
EXEC SQL INSERT INTO rownum7 VALUES (:a_int, :b_int);
b_int[3] = -5;
EXEC SQL UPDATE rownum7 SET b = :b_int WHERE a = :a_int;
if (SQLCODE != 0) {
printf("Failed to update. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Update succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* 8103 when RI constarint fails on an insert */
void test5() {
printf("\n\ntest5 : Expecting rownumber = 6\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+1;
}
EXEC SQL DELETE FROM rownum11;
EXEC SQL DELETE FROM rownum8;
EXEC SQL INSERT INTO rownum11 VALUES (:a_int, :b_int);
b_int[6] = -1;
EXEC SQL INSERT INTO rownum8 VALUES (:a_int, :b_int);
if (SQLCODE != 0) {
printf("Failed to insert. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Insert succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* 8103 when RI constarint fails on an update */
void test6() {
printf("\n\ntest6 : Expecting rownumber = 9\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+1;
}
EXEC SQL DELETE FROM rownum8;
EXEC SQL DELETE FROM rownum11;
EXEC SQL INSERT INTO rownum11 VALUES (:a_int, :b_int);
EXEC SQL INSERT INTO rownum8 VALUES (:a_int, :b_int);
b_int[9] = -1;
EXEC SQL UPDATE rownum8 SET y= :b_int where x = :a_int;
if (SQLCODE != 0) {
printf("Failed to update. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Update succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* 8419 when inserting into a table with an MV. The error is raised when inserting into
the base table. Could not come up with a test that would fail on the insert to the MV.
If such test exists, then it would be a negative test as rowsetIterator is not enabled
for blocked union nodes. */
void test7() {
printf("\n\ntest7 : Expecting rownumber = 8\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = 1;
}
b_int[8] = 0;
EXEC SQL DELETE FROM rownum9;
EXEC SQL INSERT INTO rownum9 VALUES (:a_int/:b_int, :b_int);
if (SQLCODE != 0) {
printf("Failed to insert. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Insert succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* 8419 when deleting a table with an MV. The error is raised when deleting the
the base table. Could not come up with a test that would fail on the delete to the MV.
If such test exists, then it would be a positive test. */
void test8() {
printf("\n\ntest8 : Expecting rownumber = 7\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+1;
}
EXEC SQL DELETE FROM rownum9;
EXEC SQL INSERT INTO rownum9 VALUES (:a_int, :b_int);
b_int[7] = 0;
EXEC SQL DELETE FROM rownum9 WHERE a = :a_int/:b_int;
if (SQLCODE != 0) {
printf("Failed to delete. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Delete succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
/* 8102 when inserting into a table with multiple indexes. Error from inserting into indexes */
void test9() {
printf("\n\ntest9 : Expecting rownumber = 2\n");
Int32 i=0;
for (i=0; i<10; i++) {
a_int[i] = i+1;
b_int[i] = i+1;
}
b_int[2] = 2;
EXEC SQL DELETE FROM rownum10;
EXEC SQL INSERT INTO rownum10 VALUES (:a_int , :a_int, :b_int, :a_int);
if (SQLCODE != 0) {
printf("Failed to insert. SQLCODE = %d\n",SQLCODE);
}
else {
printf("Insert succeeded. SQLCODE = %d\n", SQLCODE);
EXEC SQL COMMIT ;
}
}
Int32 main()
{
test1();
test2();
test3();
test4();
test5();
test6();
test7();
test8();
test9();
return(0);
}
|
library TestChoiceTypes
using QDM version '5.6'
parameter "Measurement Period" Interval<DateTime>
context Patient
define TestIntegerChoice:
["Laboratory Test, Performed"] L
where L.result = 1
define TestDecimalChoice:
["Laboratory Test, Performed"] L
where L.result = 1.0
define TestQuantityChoice:
["Laboratory Test, Performed"] L
where L.result = 1.0 'mm[Hg]'
define TestRatioChoice:
["Laboratory Test, Performed"] L
where L.result = 1:1
define TestUnionChoices:
(["Intervention, Performed"] union ["Encounter, Performed"]) U
where U.relevantPeriod during "Measurement Period" |
-- SPDX-License-Identifier: Apache-2.0
-- Licensed to the Ed-Fi Alliance under one or more agreements.
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
-- See the LICENSE and NOTICES files in the project root for more information.
IF EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.VIEWS WHERE TABLE_SCHEMA = 'analytics' AND TABLE_NAME = 'StudentInternetAccessDim')
BEGIN
DROP VIEW analytics.StudentInternetAccessDim
END
GO
CREATE VIEW analytics.StudentInternetAccessDim
AS
SELECT
FORMATMESSAGE(
'%s-%s',
Student.StudentUniqueId,
CAST(edorg.EducationOrganizationId as VARCHAR)
) as StudentSchoolKey,
StudentUniqueId as StudentKey,
CAST(edorg.EducationOrganizationId as VARCHAR) as SchoolKey,
COALESCE(InternetAccessInResidence.Indicator,'n/a') as InternetAccessInResidence,
COALESCE(InternetAccessTypeInResidence.Indicator,'n/a') as InternetAccessTypeInResidence,
COALESCE(InternetPerformance.Indicator,'n/a') as InternetPerformance,
COALESCE(DigitalDevice.Indicator,'n/a') as DigitalDevice,
COALESCE(DeviceAccess.Indicator,'n/a') as DeviceAccess
FROM
edfi.Student
INNER JOIN
edfi.StudentEducationOrganizationAssociation as edorg
ON
Student.StudentUSI = edorg.StudentUSI
INNER JOIN
edfi.School
ON
edorg.EducationOrganizationId = School.SchoolId
LEFT OUTER JOIN
edfi.StudentEducationOrganizationAssociationStudentIndicator as InternetAccessInResidence
ON
edorg.StudentUSI = InternetAccessInResidence.StudentUSI
AND
edorg.EducationOrganizationId = InternetAccessInResidence.EducationOrganizationId
LEFT OUTER JOIN
edfi.StudentEducationOrganizationAssociationStudentIndicator as InternetAccessTypeInResidence
ON
edorg.StudentUSI = InternetAccessTypeInResidence.StudentUSI
AND
edorg.EducationOrganizationId = InternetAccessTypeInResidence.EducationOrganizationId
LEFT OUTER JOIN
edfi.StudentEducationOrganizationAssociationStudentIndicator as InternetPerformance
ON
edorg.StudentUSI = InternetPerformance.StudentUSI
AND
edorg.EducationOrganizationId = InternetPerformance.EducationOrganizationId
LEFT OUTER JOIN
edfi.StudentEducationOrganizationAssociationStudentIndicator as DigitalDevice
ON
edorg.StudentUSI = DigitalDevice.StudentUSI
AND
edorg.EducationOrganizationId = DigitalDevice.EducationOrganizationId
LEFT OUTER JOIN
edfi.StudentEducationOrganizationAssociationStudentIndicator as DeviceAccess
ON
edorg.StudentUSI = DeviceAccess.StudentUSI
AND
edorg.EducationOrganizationId = DeviceAccess.EducationOrganizationId
WHERE
(InternetAccessInResidence.StudentUSI IS NULL or InternetAccessInResidence.IndicatorName = 'InternetAccessInResidence')
AND
(InternetAccessTypeInResidence.StudentUSI IS NULL or InternetAccessTypeInResidence.IndicatorName = 'InternetAccessTypeInResidence')
AND
(InternetPerformance.StudentUSI IS NULL or InternetPerformance.IndicatorName = 'InternetPerformance')
AND
(DigitalDevice.StudentUSI IS NULL or DigitalDevice.IndicatorName = 'DigitalDevice')
AND
(DeviceAccess.StudentUSI IS NULL or DeviceAccess.IndicatorName = 'DeviceAccess');
GO |
<filename>test/trace_processor/parsing/oom_kill.sql
SELECT ts, instant.name, process.pid, process.name
FROM instant JOIN process ON instant.ref = process.upid
WHERE instant.ref_type = 'upid';
|
<reponame>SKalt/pg_sql_parser_tests
void
aminitparallelscan (void *target);
|
CREATE TABLE `black_lists` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '黑名单类型(1 晒单评论)',
`user_id` int(11) NOT NULL DEFAULT 0 COMMENT '用户ID',
`created_at` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `user_id_type` (`user_id`, `type`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='黑名单表'; |
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jul 13, 2021 at 11:06 AM
-- Server version: 5.7.33
-- PHP Version: 7.4.19
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: `yii2basic`
--
-- --------------------------------------------------------
--
-- Table structure for table `barang`
--
CREATE TABLE `barang` (
`id` int(11) NOT NULL,
`kode_barang` varchar(10) NOT NULL,
`nama_barang` varchar(50) NOT NULL,
`satuan` varchar(20) NOT NULL,
`id_jenis` int(11) NOT NULL,
`id_supplier` int(11) NOT NULL,
`harga` double NOT NULL,
`stok` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `barang`
--
INSERT INTO `barang` (`id`, `kode_barang`, `nama_barang`, `satuan`, `id_jenis`, `id_supplier`, `harga`, `stok`) VALUES
(1, 'KD001', 'JackCloth', 'stel', 1, 1, 10, 200);
-- --------------------------------------------------------
--
-- Table structure for table `country`
--
CREATE TABLE `country` (
`code` char(2) NOT NULL,
`name` char(52) NOT NULL,
`population` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `country`
--
INSERT INTO `country` (`code`, `name`, `population`) VALUES
('AU', 'Australia', 24016400),
('BR', 'Brazil', 205722000),
('CA', 'Canada', 35985751),
('DE', 'Germany', 81459000),
('FR', 'France', 64513242),
('GB', 'United Kingdom', 65097000),
('IN', 'India', 1285400000),
('RU', 'Russia', 146519759),
('US', 'United States', 322976000);
-- --------------------------------------------------------
--
-- Table structure for table `jenis`
--
CREATE TABLE `jenis` (
`id` int(11) NOT NULL,
`nama_jenis` varchar(50) NOT NULL,
`keterangan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `jenis`
--
INSERT INTO `jenis` (`id`, `nama_jenis`, `keterangan`) VALUES
(1, 'Makanan Ringan', 'Makanan murah untuk mengganjal perut');
-- --------------------------------------------------------
--
-- Table structure for table `jurusan`
--
CREATE TABLE `jurusan` (
`id` int(11) NOT NULL,
`KodeJurusan` varchar(20) NOT NULL,
`NamaJurusan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `jurusan`
--
INSERT INTO `jurusan` (`id`, `KodeJurusan`, `NamaJurusan`) VALUES
(1, 'TM', 'Teknik Mesin'),
(2, 'TE', 'Teknik Elektro'),
(3, 'TI', 'Teknologi Informasi');
-- --------------------------------------------------------
--
-- Table structure for table `mahasiswa`
--
CREATE TABLE `mahasiswa` (
`id` int(11) NOT NULL,
`nim` varchar(18) NOT NULL,
`nama` varchar(50) NOT NULL,
`jekel` enum('P','L') NOT NULL,
`tgllahir` date NOT NULL,
`id_jurusan` int(11) NOT NULL,
`id_prodi` int(11) NOT NULL,
`email` varchar(50) NOT NULL,
`alamat` varchar(100) NOT NULL,
`image_file` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `mahasiswa`
--
INSERT INTO `mahasiswa` (`id`, `nim`, `nama`, `jekel`, `tgllahir`, `id_jurusan`, `id_prodi`, `email`, `alamat`, `image_file`) VALUES
(2, '1911082006', '<NAME>', 'L', '2021-06-30', 1, 1, '<EMAIL>', 'Unand', 'hachiman.jpg'),
(3, '1911082006', '<NAME>', 'L', '2021-07-15', 1, 1, '<EMAIL>', 'Jalan entahlah', 'Kazuto.png');
-- --------------------------------------------------------
--
-- Table structure for table `migration`
--
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `migration`
--
INSERT INTO `migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1618308684);
-- --------------------------------------------------------
--
-- Table structure for table `prodi`
--
CREATE TABLE `prodi` (
`id` int(11) NOT NULL,
`id_jurusan` int(11) NOT NULL,
`prodi` varchar(50) COLLATE latin1_bin NOT NULL,
`keterangan` varchar(50) COLLATE latin1_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
--
-- Dumping data for table `prodi`
--
INSERT INTO `prodi` (`id`, `id_jurusan`, `prodi`, `keterangan`) VALUES
(1, 1, 'D3 Teknik Mesin', 'TME'),
(2, 1, 'D4 Teknik Manufaktur', 'TMA'),
(3, 3, 'D4 Teknologi Rekayasa Perangkat Lunak', 'TPL');
-- --------------------------------------------------------
--
-- Table structure for table `supplier`
--
CREATE TABLE `supplier` (
`id` int(11) NOT NULL,
`nama_supplier` varchar(50) NOT NULL,
`notelp` varchar(15) NOT NULL,
`email` varchar(25) NOT NULL,
`alamat` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `supplier`
--
INSERT INTO `supplier` (`id`, `nama_supplier`, `notelp`, `email`, `alamat`) VALUES
(1, 'PT Mayora Indah TBK', '08209323812', '<EMAIL>', 'Jalan By. Pass KM 97');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `barang`
--
ALTER TABLE `barang`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-id_jenis` (`id_jenis`),
ADD KEY `idx-id_supplier` (`id_supplier`);
--
-- Indexes for table `country`
--
ALTER TABLE `country`
ADD PRIMARY KEY (`code`);
--
-- Indexes for table `jenis`
--
ALTER TABLE `jenis`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `jurusan`
--
ALTER TABLE `jurusan`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
ADD PRIMARY KEY (`id`),
ADD KEY `jurusan_ibfk_1` (`id_jurusan`);
--
-- Indexes for table `migration`
--
ALTER TABLE `migration`
ADD PRIMARY KEY (`version`);
--
-- Indexes for table `prodi`
--
ALTER TABLE `prodi`
ADD PRIMARY KEY (`id`),
ADD KEY `prodi_ibfk_1` (`id_jurusan`);
--
-- Indexes for table `supplier`
--
ALTER TABLE `supplier`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `barang`
--
ALTER TABLE `barang`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `jenis`
--
ALTER TABLE `jenis`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `jurusan`
--
ALTER TABLE `jurusan`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `prodi`
--
ALTER TABLE `prodi`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `supplier`
--
ALTER TABLE `supplier`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `barang`
--
ALTER TABLE `barang`
ADD CONSTRAINT `pk-id_jenis` FOREIGN KEY (`id_jenis`) REFERENCES `jenis` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `pk-id_supplier` FOREIGN KEY (`id_supplier`) REFERENCES `supplier` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
ADD CONSTRAINT `jurusan_ibfk_1` FOREIGN KEY (`id_jurusan`) REFERENCES `jurusan` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `prodi`
--
ALTER TABLE `prodi`
ADD CONSTRAINT `prodi_ibfk_1` FOREIGN KEY (`id_jurusan`) REFERENCES `jurusan` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
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 */;
|
-- @testpoint:opengauss关键字passing(非保留),作为角色名
--关键字不带引号-成功
drop role if exists passing;
create role passing with password '<PASSWORD>' valid until '2020-12-31';
drop role passing;
--关键字带双引号-成功
drop role if exists "passing";
create role "passing" with password '<PASSWORD>' valid until '2020-12-31';
drop role "passing";
--关键字带单引号-合理报错
drop role if exists 'passing';
create role 'passing' with password '<PASSWORD>' valid until '2020-12-31';
--关键字带反引号-合理报错
drop role if exists `passing`;
create role `passing` with password '<PASSWORD>' valid until '2020-12-31';
|
<filename>src/main/resources/com/openbravo/pos/scripts/Oracle-upgrade-3.50.sql
-- uniCenta oPOS - Touch Friendly Point Of Sale
-- Copyright (C) 2009-2015 uniCenta
-- http://www.unicenta.net
--
-- This file is part of uniCenta oPOS.
--
-- uniCenta oPOS is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- uniCenta oPOS is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with uniCenta oPOS. If not, see <http://www.gnu.org/licenses/>.
-- Database upgrade script for Oracle
-- v3.50 - v3.55
--
-- UPDATE existing tables
--
UPDATE ROLES SET PERMISSIONS = $FILE{/com/openbravo/pos/templates/Role.Administrator.xml} WHERE ID = '0';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Menu.Root.txt} WHERE ID = '0';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Printer.CloseCash.xml} WHERE ID = '25';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Printer.CustomerPaid.XML} WHERE ID = '26';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Printer.CustomerPaid2.xml} WHERE ID = '27';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Printer.PartialCash.xml} WHERE ID = '31';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Printer.Ticket.xml} WHERE ID = '33';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Printer.Ticket2.xml} WHERE ID = '34';
UPDATE RESOURCES SET CONTENT = $FILE{/com/openbravo/pos/templates/Printer.TicketPreview.xml} WHERE ID = '37';
--
-- ALTER existing tables
--
ALTER TABLE CSVIMPORT MODIFY PRICEBUY DEFAULT NULL;
ALTER TABLE CSVIMPORT MODIFY PRICESELL DEFAULT NULL;
ALTER TABLE CSVIMPORT MODIFY PREVIOUSBUY DEFAULT NULL;
ALTER TABLE CSVIMPORT MODIFY PREVIOUSSELL DEFAULT NULL;
ALTER TABLE PAYMENTS MODIFY TENDERED DEFAULT NULL;
ALTER TABLE PAYMENTS ADD COLUMN CARDNAME VARCHAR2(256);
UPDATE PAYMENTS SET TENDERED = TOTAL WHERE TENDERED = 0;
ALTER TABLE PRODUCTS MODIFY STOCKCOST DEFAULT NULL;
ALTER TABLE PRODUCTS MODIFY STOCKVOLUME DEFAULT NULL;
ALTER TABLE STOCKCURRENT MODIFY UNITS DEFAULT NULL;
ALTER TABLE STOCKDIARY MODIFY UNITS DEFAULT NULL;
ALTER TABLE STOCKDIARY MODIFY PRICE DEFAULT NULL;
ALTER TABLE STOCKLEVEL MODIFY STOCKSECURITY DEFAULT NULL;
ALTER TABLE STOCKLEVEL MODIFY STOCKMAXIMUM DEFAULT NULL;
ALTER TABLE TICKETLINES MODIFY UNITS DEFAULT NULL;
ALTER TABLE TICKETLINES MODIFY PRICE DEFAULT NULL;
-- UPDATE App' version
UPDATE APPLICATIONS SET NAME = $APP_NAME{}, VERSION = $APP_VERSION{} WHERE ID = $APP_ID{};
-- final script
DELETE FROM SHAREDTICKETS; |
-- SEED VALUES
INSERT INTO DEPARTMENTS (DEPARTMENT_NAME) VALUES
('Sales'), ('Legal'), ('Marketing'), ('Engineering'), ('Office Support'), ('Finance');
-- new database so the harc coded values for the relative ids __should__ be correct
INSERT INTO ROLES (TITLE, SALARY, DEPARTMENT_ID) VALUES
('Sales Lead', 10000, 1), ('Salesperson', 80000, 1),
('Lead Engineer', 15000, 4), ('Engineer', 120000, 4),
('Accountant', 125000, 6), ('Legal Team Lead', 250000, 2),
('Lawyer', 190000, 2);
INSERT INTO EMPLOYEES (FIRST_NAME, LAST_NAME, ROLES_ID, MANAGER_ID) VALUES
('Alana', 'Crofts', 1, NULL),
('Rebecca', 'Barton',3 , NULL),
('Maddison', 'Weatherly', 6, NULL),
('John', 'Doe', 2, 1),
('Mike', 'Chan', 4, 2),
('Ashley', 'Rodriguez', 5, NULL),
('Sarah', 'Lourd', 7, 3),
('Kevin', 'Tupik',7 ,3),
('Malia', 'Brown', 7, 3),
('Tom', 'Allen', 7, 3),
('Jayden', 'Isaachsen', 5, NULL),
('Hamish', 'Gregg', 2, 1);
|
CREATE TABLE IF NOT EXISTS `workflow_routines`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`dss1` int(11) DEFAULT NULL COMMENT 'rule id related to wrf',
`dss2` int(11) DEFAULT NULL COMMENT 'rule id related to hechms',
`dss3` int(11) DEFAULT NULL COMMENT 'rule id related to flo2d',
`status` int(11) DEFAULT NULL COMMENT '0-disable, 1- enable, 2- running, 3- completed, 4- error',
`schedule` varchar(45) DEFAULT NULL,
`last_trigger_date` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB
AUTO_INCREMENT = 3
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `wrf_rules`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`status` int(11) DEFAULT NULL COMMENT '0 - disable, 1 - enable, 2 - running, 3 - completed',
`target_model` varchar(45) DEFAULT NULL,
`version` varchar(45) DEFAULT NULL,
`run` varchar(45) DEFAULT NULL,
`hour` varchar(45) DEFAULT NULL,
`ignore_previous_run` TINYINT(1) DEFAULT NULL,
`check_gfs_data_availability` TINYINT(1) DEFAULT NULL,
`rule_details` varchar(45) DEFAULT NULL,
`triggered_by` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
PRIMARY KEY (`name`)
) ENGINE=InnoDB
DEFAULT CHARSET=latin1;
CREATE TABLE IF NOT EXISTS `hechms_rules`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`status` int(11) DEFAULT NULL COMMENT '0 - disable, 1 - enable, 2 - running, 3 - completed',
`target_model` varchar(45) DEFAULT NULL,
`forecast_days` int(11) DEFAULT NULL,
`observed_days` int(11) DEFAULT NULL,
`init_run` TINYINT(1) DEFAULT NULL,
`no_forecast_continue` TINYINT(1) DEFAULT NULL,
`no_observed_continue` TINYINT(1) DEFAULT NULL,
`rainfall_data_from` int(11) DEFAULT NULL,
`ignore_previous_run` TINYINT(1) DEFAULT NULL,
`rule_details` varchar(45) DEFAULT NULL,
`triggered_by` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
PRIMARY KEY (`name`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `flo2d_rules`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`status` int(11) DEFAULT NULL COMMENT '0 - disable, 1 - enable, 2 - running, 3 - completed',
`target_model` varchar(45) DEFAULT NULL,
`forecast_days` int(11) DEFAULT NULL,
`observed_days` int(11) DEFAULT NULL,
`no_forecast_continue` TINYINT(1) DEFAULT NULL,
`no_observed_continue` TINYINT(1) DEFAULT NULL,
`raincell_data_from` int(11) DEFAULT NULL,
`inflow_data_from` int(11) DEFAULT NULL,
`outflow_data_from` int(11) DEFAULT NULL,
`ignore_previous_run` TINYINT(1) DEFAULT NULL,
`rule_details` varchar(45) DEFAULT NULL,
`triggered_by` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
PRIMARY KEY (`name`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `wrf_data`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`model` varchar(45) DEFAULT NULL COMMENT 'A/C/E/SE',
`wrf_run` varchar(45) DEFAULT NULL COMMENT '0/1/2/3/...',
`gfs_hour` varchar(45) DEFAULT NULL COMMENT '00/06/12/18',
`last_run_ts_start` datetime DEFAULT NULL,
`last_run_ts_end` datetime DEFAULT NULL,
`latest_fgt` datetime DEFAULT NULL,
`hash_id` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `hechms_data`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`model` varchar(45) DEFAULT NULL COMMENT 'distributed/single',
`last_run_ts_start` datetime DEFAULT NULL,
`last_run_ts_end` datetime DEFAULT NULL,
`latest_fgt` datetime DEFAULT NULL,
`hash_id` TINYINT(1) DEFAULT NULL,
`triggered_by` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `flo2d_rules`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`status` int(11) DEFAULT NULL COMMENT '0 - disable, 1 - enable, 2 - running, 3 - completed',
`target_model` varchar(45) DEFAULT NULL,
`forecast_days` int(11) DEFAULT NULL,
`observed_days` int(11) DEFAULT NULL,
`no_forecast_continue` TINYINT(1) DEFAULT NULL,
`no_observed_continue` TINYINT(1) DEFAULT NULL,
`raincell_data_from` int(11) DEFAULT NULL,
`inflow_data_from` int(11) DEFAULT NULL,
`outflow_data_from` int(11) DEFAULT NULL,
`ignore_previous_run` TINYINT(1) DEFAULT NULL,
`triggered_by` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
PRIMARY KEY (`name`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `accuracy_rules`
(
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(45) NOT NULL,
`priority` INT NULL,
`status` INT NULL COMMENT '0-disable,1-enable,2-running,3-completed',
`variable` INT NULL COMMENT '1-precipitation, 2- discharge, 3- water_level, 4- tide',
`relevant_station` VARCHAR(200) NULL,
`accuracy_level` INT NULL,
`accuracy_percentage` INT NULL,
PRIMARY KEY (`id`, `name`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `variable_limits`
(
`id` INT NOT NULL AUTO_INCREMENT,
`station_name` VARCHAR(45) NOT NULL,
`variable_type` DECIMAL NULL COMMENT '1-precipitation, 2- discharge, 3- water_level',
`alert_level` DECIMAL NULL,
`warning_level` DECIMAL NULL,
PRIMARY KEY (`id`, `station_name`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1;
CREATE TABLE IF NOT EXISTS `variable_rules`
(
`id` INT NOT NULL,
`variable_name` VARCHAR(45) NOT NULL,
`check_alert_level` TINYINT(1) NULL,
`check_warnning_level` TINYINT(1) NULL,
PRIMARY KEY (`id`, `variable_name`)
) ENGINE = InnoDB
DEFAULT CHARSET = latin1; |
<reponame>CalgaryMichael/branchdb-python<filename>branchdb/engines/postgres/commands/all_databases.sql
SELECT datname FROM pg_database
|
<filename>NH4H_2021/Script.PostDeployment_LookupData.sql
/*
Post-Deployment Script Template
--------------------------------------------------------------------------------------
This file contains SQL statements that will be appended to the build script.
Use SQLCMD syntax to include a file in the post-deployment script.
Example: :r .\myfile.sql
Use SQLCMD syntax to reference a variable in the post-deployment script.
Example: :setvar TableName MyTable
SELECT * FROM [$(TableName)]
--------------------------------------------------------------------------------------
*/
-- UserRole Lookup Data
IF (NOT EXISTS(SELECT * FROM [dbo].[tbl_UserRole]))
BEGIN
INSERT INTO [dbo].[tbl_UserRole] ([UserRoleId],[UserRoleName]) VALUES(1, 'Hacker')
INSERT INTO [dbo].[tbl_UserRole] ([UserRoleId],[UserRoleName]) VALUES(2, 'Mentor')
INSERT INTO [dbo].[tbl_UserRole] ([UserRoleId],[UserRoleName]) VALUES(3, 'Panelist')
INSERT INTO [dbo].[tbl_UserRole] ([UserRoleId],[UserRoleName]) VALUES(4, 'Organizer')
END
/* Not required for this interation -- using alternate gamification system
INSERT INTO [dbo].[tbl_ActivityGroup] ([ActivityGroupId],[ActivityGroupName],[ActivityGroupDesc],[ActivityGroupBadge],[ActivityCount],[UserRoleId]) VALUES (1, 'Training', 'Participation in Training activites inlcuding but not limitied to Live Events and Technical Skills Challenge.', NULL, 5, 1)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(1, 'Teams 101', 'Intro to Teams and NurseHack4Health Teams Enviornment', NULL, 1, NULL, 1)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(2, 'Github 101', 'Intro to Github and how it will be used in NH4H.', NULL, 1, NULL, 1)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(3, 'Design Thinking', '', NULL, 1, NULL, 1)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(4, 'PowerApps/Automate', '', NULL, 1, NULL, 1)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(5, 'Power BI', '', NULL, 1, NULL, 1)
INSERT INTO [dbo].[tbl_ActivityGroup] ([ActivityGroupId],[ActivityGroupName],[ActivityGroupDesc],[ActivityGroupBadge],[ActivityCount],[UserRoleId]) VALUES (2, 'Training', 'Participation in Training activites inlcuding but not limitied to Live Events and Technical Skills Challenge.', NULL, 2, 2)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(1, 'Teams 101', 'Intro to Teams and NurseHack4Health Teams Enviornment', NULL, 1, NULL, 2)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(6, 'Mentor Training', '', NULL, 1, NULL, 2)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(7, 'Pitch Coach Training', '', NULL, 1, NULL, 2)
INSERT INTO [dbo].[tbl_ActivityGroup] ([ActivityGroupId],[ActivityGroupName],[ActivityGroupDesc],[ActivityGroupBadge],[ActivityCount],[UserRoleId]) VALUES (3, 'Training', 'Participation in Training activites inlcuding but not limitied to Live Events and Technical Skills Challenge.', NULL, 1, 3)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(8, 'Panelist Training', '', NULL, 1, NULL, 3)
INSERT INTO [dbo].[tbl_ActivityGroup] ([ActivityGroupId],[ActivityGroupName],[ActivityGroupDesc],[ActivityGroupBadge],[ActivityCount],[UserRoleId]) VALUES (4, 'Teams Participation', 'Activities related to MS Teams and Team Builder', NULL, 5, 1)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(9, 'Logged into Teams', '', NULL, 1, NULL, 4)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(10, 'Introduced Yourself', '', NULL, 1, NULL, 4)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(11, 'Completed User Profile', '', NULL, 1, NULL, 4)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(12, 'Created a Hacking Team', '', NULL, 5, NULL, 4)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(13, 'Joined a Hacking Team', '', NULL, 2, NULL, 4)
INSERT INTO [dbo].[tbl_ActivityGroup] ([ActivityGroupId],[ActivityGroupName],[ActivityGroupDesc],[ActivityGroupBadge],[ActivityCount],[UserRoleId]) VALUES (5, 'Teams Participation', 'Activities related to MS Teams and Team Builder', NULL, 2, 2)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(11, 'Completed User Profile', '', NULL, 1, NULL, 5)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(14, 'Logged into Teams', '', NULL, 1, NULL, 5)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(15, 'Introduced Yourself', '', NULL, 1, NULL, 5)
INSERT INTO [dbo].[tbl_ActivityGroup] ([ActivityGroupId],[ActivityGroupName],[ActivityGroupDesc],[ActivityGroupBadge],[ActivityCount],[UserRoleId]) VALUES (6, 'Teams Participation', 'Activities related to MS Teams and Team Builder', NULL, 2, 3)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(16, 'Logged into Teams', '', NULL, 1, NULL, 6)
INSERT INTO [dbo].[tbl_Activity] ([ActivityId],[ActivityName],[ActivityDesc],[ActivityActionLink],[ActivityPoints],[ActivityBadge],[ActivityGroupId]) VALUES(17, 'Introduced Yourself', '', NULL, 1, NULL, 6)
*/ |
--Criando tabela de cidades
create table if not exists cidades(
id int unsigned not null auto_increment,
nome varchar(255) not null,
estado_id int unsigned not null,
area decimal(10,2),
primary key (id),
foreign key (estado_id) references estados (id)
); |
----- Criacao da tabela medida -----
CREATE TABLE IF NOT EXISTS medida (
data_hora text,
peso real,
sistolica interger,
diastolica interger,
pulsacao interger
);
----- Consulta da tabela medida -----
select * from medida; |
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 08, 2021 at 08:43 AM
-- Server version: 10.1.37-MariaDB
-- PHP Version: 5.6.40
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: `quizecommerce`
--
-- --------------------------------------------------------
--
-- Table structure for table `about_us`
--
CREATE TABLE `about_us` (
`content_id` int(11) NOT NULL,
`position` int(11) NOT NULL,
`language_id` varchar(255) NOT NULL,
`headline` text NOT NULL,
`icon` text NOT NULL,
`details` text NOT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `accounts`
--
CREATE TABLE `accounts` (
`account_id` varchar(220) NOT NULL,
`account_table_name` varchar(255) NOT NULL,
`account_name` varchar(255) NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `advertisement`
--
CREATE TABLE `advertisement` (
`adv_id` varchar(100) NOT NULL,
`add_page` varchar(100) DEFAULT NULL,
`adv_position` int(11) NOT NULL,
`adv_code` text NOT NULL,
`adv_code2` text,
`adv_code3` text,
`adv_url` varchar(200) DEFAULT NULL,
`adv_url2` varchar(200) DEFAULT NULL,
`adv_url3` varchar(200) DEFAULT NULL,
`adv_type` int(11) NOT NULL,
`image` varchar(255) DEFAULT NULL,
`image2` varchar(255) DEFAULT NULL,
`image3` varchar(255) DEFAULT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `bank_add`
--
CREATE TABLE `bank_add` (
`bank_id` varchar(255) NOT NULL,
`bank_name` varchar(255) NOT NULL,
`ac_name` varchar(250) DEFAULT NULL,
`ac_number` varchar(250) DEFAULT NULL,
`branch` varchar(250) DEFAULT NULL,
`signature_pic` varchar(250) DEFAULT NULL,
`status` int(11) DEFAULT '0',
`default_status` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `block`
--
CREATE TABLE `block` (
`block_id` varchar(100) NOT NULL,
`block_cat_id` varchar(100) DEFAULT NULL,
`block_css` text,
`block_position` int(11) DEFAULT NULL,
`block_image` varchar(255) DEFAULT NULL,
`block_style` int(11) DEFAULT NULL,
`status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `block`
--
INSERT INTO `block` (`block_id`, `block_cat_id`, `block_css`, `block_position`, `block_image`, `block_style`, `status`) VALUES
('FJQH2QJ2D43JIJ4', 'F9GNCBBPCOIEN67', 'null', 2, 'my-assets/image/block_image/ff3e3a547a2526c7af4d4c7dd711a34d.jpg', 1, 1),
('LL21UR7PWOZTRAC', 'F9GNCBBPCOIEN67', 'null', 1, 'my-assets/image/block_image/677297d226d79be0d2c5a5b3933d985d.jpg', 2, 1);
-- --------------------------------------------------------
--
-- Table structure for table `brand`
--
CREATE TABLE `brand` (
`brand_id` varchar(255) NOT NULL,
`brand_name` varchar(255) NOT NULL,
`brand_image` varchar(255) NOT NULL,
`website` varchar(255) NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `brand`
--
INSERT INTO `brand` (`brand_id`, `brand_name`, `brand_image`, `website`, `status`) VALUES
('W6TGN2N16JUL5XA', 'Brand_1', 'my-assets/image/brand_image/f5c2659b1a25dd156c874a75fe2736a6.jpg', 'https://demo453464315.com', 1),
('1JDEMJYYXH1K7UQ', 'Brand_2', 'my-assets/image/brand_image/c43ee753324226b03a3747cdfaa532cf.jpg', 'https://demo453464315.com', 1),
('T36ZSIXTRZVPVEM', 'Brand_3', 'my-assets/image/brand_image/c85ecaefe52828ab5c7d7a92c31029ac.jpg', 'https://demo453464315.com', 1),
('R77CKBVFCB76UO9', 'Brand_4', 'my-assets/image/brand_image/0e64deaec1f10c3961fec5323a3bd20d.jpg', 'https://demo453464315.com', 1),
('Y9T6ZN4HRILB75N', 'Brand_5', 'my-assets/image/brand_image/bd32a563fca8302abecfc71eb936a3cb.jpg', 'https://demo453464315.com', 1),
('7XX8FG7MH7FGS87', 'Brand_6', 'my-assets/image/brand_image/e45791b012411f8d128814857e90e95b.jpg', 'https://demo453464315.com', 1);
-- --------------------------------------------------------
--
-- Table structure for table `cardpayment`
--
CREATE TABLE `cardpayment` (
`cardpayment_id` varchar(100) NOT NULL,
`invoice_id` varchar(100) NOT NULL,
`date` varchar(100) NOT NULL,
`terminal_id` varchar(100) NOT NULL,
`card_type` varchar(255) NOT NULL,
`card_no` varchar(100) NOT NULL,
`amount` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `category_variant`
--
CREATE TABLE `category_variant` (
`id` int(11) NOT NULL,
`category_id` varchar(255) NOT NULL,
`variant_id` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `category_variant`
--
INSERT INTO `category_variant` (`id`, `category_id`, `variant_id`, `created_at`, `updated_at`) VALUES
(1, 'F9GNCBBPCOIEN67', 'DBQD7B1AGBAUZSS', '2020-09-07 18:58:10', '2020-09-07 18:58:10'),
(2, 'F9GNCBBPCOIEN67', 'MMYXJ4FWYXAHXPJ', '2020-09-07 18:58:28', '2020-09-07 18:58:28'),
(3, 'F9GNCBBPCOIEN67', '3JJRT8TG11VD1FY', '2020-09-07 18:58:51', '2020-09-07 18:58:51'),
(4, 'OER22ASL88IWCCI', 'PWB7EHUPWMGWS56', '2021-03-02 07:02:54', '2021-03-02 07:02:54');
-- --------------------------------------------------------
--
-- Table structure for table `check_out`
--
CREATE TABLE `check_out` (
`check_out_id` varchar(100) NOT NULL,
`session_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`quantity` int(11) NOT NULL,
`price` float NOT NULL,
`total_price` float NOT NULL,
`ip` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `cheque_manger`
--
CREATE TABLE `cheque_manger` (
`cheque_id` varchar(100) NOT NULL,
`transection_id` varchar(100) NOT NULL,
`customer_id` varchar(100) NOT NULL,
`bank_id` varchar(100) NOT NULL,
`store_id` varchar(100) DEFAULT NULL,
`user_id` varchar(100) NOT NULL,
`cheque_no` varchar(100) NOT NULL,
`date` varchar(100) DEFAULT NULL,
`transection_type` varchar(100) NOT NULL,
`cheque_status` int(2) NOT NULL,
`amount` float NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `color_backends`
--
CREATE TABLE `color_backends` (
`id` int(11) NOT NULL,
`color1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color5` varchar(20) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `color_backends`
--
INSERT INTO `color_backends` (`id`, `color1`, `color2`, `color3`, `color4`, `color5`) VALUES
(1, '#072040', '#ffffff', '#efefef', '#0066ff', '#ffffff');
-- --------------------------------------------------------
--
-- Table structure for table `color_frontends`
--
CREATE TABLE `color_frontends` (
`id` int(11) NOT NULL,
`theme` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'default',
`color1` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color2` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color3` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color4` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`color5` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`color1_font` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`color2_font` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`color3_font` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`color4_font` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`color5_font` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `color_frontends`
--
INSERT INTO `color_frontends` (`id`, `theme`, `color1`, `color2`, `color3`, `color4`, `color5`, `color1_font`, `color2_font`, `color3_font`, `color4_font`, `color5_font`) VALUES
(1, 'default', '#ffffff', '#ffffff', '#ffffff', '#008000', '#008000', NULL, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `company_information`
--
CREATE TABLE `company_information` (
`company_id` varchar(255) NOT NULL,
`company_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`address` text NOT NULL,
`mobile` varchar(255) NOT NULL,
`website` text NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `company_information`
--
INSERT INTO `company_information` (`company_id`, `company_name`, `email`, `address`, `mobile`, `website`, `status`) VALUES
('NOILG8EGCRXXBWUEUQBM', 'ABC', '<EMAIL>', 'New York, USA', '+00-000-00000', 'https://abc.com', 1);
-- --------------------------------------------------------
--
-- Table structure for table `contact`
--
CREATE TABLE `contact` (
`id` int(11) NOT NULL,
`first_name` varchar(255) DEFAULT NULL,
`last_name` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`message` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `countries`
--
CREATE TABLE `countries` (
`id` int(11) NOT NULL,
`sortname` varchar(3) NOT NULL,
`name` varchar(150) NOT NULL,
`phonecode` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `countries`
--
INSERT INTO `countries` (`id`, `sortname`, `name`, `phonecode`) VALUES
(1, 'AF', 'Afghanistan', 93),
(2, 'AL', 'Albania', 355),
(3, 'DZ', 'Algeria', 213),
(4, 'AS', 'American Samoa', 1684),
(5, 'AD', 'Andorra', 376),
(6, 'AO', 'Angola', 244),
(7, 'AI', 'Anguilla', 1264),
(8, 'AQ', 'Antarctica', 0),
(9, 'AG', 'Antigua And Barbuda', 1268),
(10, 'AR', 'Argentina', 54),
(11, 'AM', 'Armenia', 374),
(12, 'AW', 'Aruba', 297),
(13, 'AU', 'Australia', 61),
(14, 'AT', 'Austria', 43),
(15, 'AZ', 'Azerbaijan', 994),
(16, 'BS', 'Bahamas The', 1242),
(17, 'BH', 'Bahrain', 973),
(18, 'BD', 'Bangladesh', 880),
(19, 'BB', 'Barbados', 1246),
(20, 'BY', 'Belarus', 375),
(21, 'BE', 'Belgium', 32),
(22, 'BZ', 'Belize', 501),
(23, 'BJ', 'Benin', 229),
(24, 'BM', 'Bermuda', 1441),
(25, 'BT', 'Bhutan', 975),
(26, 'BO', 'Bolivia', 591),
(27, 'BA', 'Bosnia and Herzegovina', 387),
(28, 'BW', 'Botswana', 267),
(29, 'BV', 'Bouvet Island', 0),
(30, 'BR', 'Brazil', 55),
(31, 'IO', 'British Indian Ocean Territory', 246),
(32, 'BN', 'Brunei', 673),
(33, 'BG', 'Bulgaria', 359),
(34, 'BF', 'Burkina Faso', 226),
(35, 'BI', 'Burundi', 257),
(36, 'KH', 'Cambodia', 855),
(37, 'CM', 'Cameroon', 237),
(38, 'CA', 'Canada', 1),
(39, 'CV', 'Cape Verde', 238),
(40, 'KY', 'Cayman Islands', 1345),
(41, 'CF', 'Central African Republic', 236),
(42, 'TD', 'Chad', 235),
(43, 'CL', 'Chile', 56),
(44, 'CN', 'China', 86),
(45, 'CX', 'Christmas Island', 61),
(46, 'CC', 'Cocos (Keeling) Islands', 672),
(47, 'CO', 'Colombia', 57),
(48, 'KM', 'Comoros', 269),
(49, 'CG', 'Republic Of The Congo', 242),
(50, 'CD', 'Democratic Republic Of The Congo', 242),
(51, 'CK', 'Cook Islands', 682),
(52, 'CR', 'Costa Rica', 506),
(53, 'CI', 'Cote D\'Ivoire (Ivory Coast)', 225),
(54, 'HR', 'Croatia (Hrvatska)', 385),
(55, 'CU', 'Cuba', 53),
(56, 'CY', 'Cyprus', 357),
(57, 'CZ', 'Czech Republic', 420),
(58, 'DK', 'Denmark', 45),
(59, 'DJ', 'Djibouti', 253),
(60, 'DM', 'Dominica', 1767),
(61, 'DO', 'Dominican Republic', 1809),
(62, 'TP', 'East Timor', 670),
(63, 'EC', 'Ecuador', 593),
(64, 'EG', 'Egypt', 20),
(65, 'SV', 'El Salvador', 503),
(66, 'GQ', 'Equatorial Guinea', 240),
(67, 'ER', 'Eritrea', 291),
(68, 'EE', 'Estonia', 372),
(69, 'ET', 'Ethiopia', 251),
(70, 'XA', 'External Territories of Australia', 61),
(71, 'FK', 'Falkland Islands', 500),
(72, 'FO', 'Faroe Islands', 298),
(73, 'FJ', 'Fiji Islands', 679),
(74, 'FI', 'Finland', 358),
(75, 'FR', 'France', 33),
(76, 'GF', 'French Guiana', 594),
(77, 'PF', 'French Polynesia', 689),
(78, 'TF', 'French Southern Territories', 0),
(79, 'GA', 'Gabon', 241),
(80, 'GM', 'Gambia The', 220),
(81, 'GE', 'Georgia', 995),
(82, 'DE', 'Germany', 49),
(83, 'GH', 'Ghana', 233),
(84, 'GI', 'Gibraltar', 350),
(85, 'GR', 'Greece', 30),
(86, 'GL', 'Greenland', 299),
(87, 'GD', 'Grenada', 1473),
(88, 'GP', 'Guadeloupe', 590),
(89, 'GU', 'Guam', 1671),
(90, 'GT', 'Guatemala', 502),
(91, 'XU', '<NAME>', 44),
(92, 'GN', 'Guinea', 224),
(93, 'GW', 'Guinea-Bissau', 245),
(94, 'GY', 'Guyana', 592),
(95, 'HT', 'Haiti', 509),
(96, 'HM', 'Heard and McDonald Islands', 0),
(97, 'HN', 'Honduras', 504),
(98, 'HK', 'Hong Kong S.A.R.', 852),
(99, 'HU', 'Hungary', 36),
(100, 'IS', 'Iceland', 354),
(101, 'IN', 'India', 91),
(102, 'ID', 'Indonesia', 62),
(103, 'IR', 'Iran', 98),
(104, 'IQ', 'Iraq', 964),
(105, 'IE', 'Ireland', 353),
(106, 'IL', 'Israel', 972),
(107, 'IT', 'Italy', 39),
(108, 'JM', 'Jamaica', 1876),
(109, 'JP', 'Japan', 81),
(110, 'XJ', 'Jersey', 44),
(111, 'JO', 'Jordan', 962),
(112, 'KZ', 'Kazakhstan', 7),
(113, 'KE', 'Kenya', 254),
(114, 'KI', 'Kiribati', 686),
(115, 'KP', 'Korea North', 850),
(116, 'KR', 'Korea South', 82),
(117, 'KW', 'Kuwait', 965),
(118, 'KG', 'Kyrgyzstan', 996),
(119, 'LA', 'Laos', 856),
(120, 'LV', 'Latvia', 371),
(121, 'LB', 'Lebanon', 961),
(122, 'LS', 'Lesotho', 266),
(123, 'LR', 'Liberia', 231),
(124, 'LY', 'Libya', 218),
(125, 'LI', 'Liechtenstein', 423),
(126, 'LT', 'Lithuania', 370),
(127, 'LU', 'Luxembourg', 352),
(128, 'MO', '<NAME>.', 853),
(129, 'MK', 'Macedonia', 389),
(130, 'MG', 'Madagascar', 261),
(131, 'MW', 'Malawi', 265),
(132, 'MY', 'Malaysia', 60),
(133, 'MV', 'Maldives', 960),
(134, 'ML', 'Mali', 223),
(135, 'MT', 'Malta', 356),
(136, 'XM', 'Man (Isle of)', 44),
(137, 'MH', 'Marshall Islands', 692),
(138, 'MQ', 'Martinique', 596),
(139, 'MR', 'Mauritania', 222),
(140, 'MU', 'Mauritius', 230),
(141, 'YT', 'Mayotte', 269),
(142, 'MX', 'Mexico', 52),
(143, 'FM', 'Micronesia', 691),
(144, 'MD', 'Moldova', 373),
(145, 'MC', 'Monaco', 377),
(146, 'MN', 'Mongolia', 976),
(147, 'MS', 'Montserrat', 1664),
(148, 'MA', 'Morocco', 212),
(149, 'MZ', 'Mozambique', 258),
(150, 'MM', 'Myanmar', 95),
(151, 'NA', 'Namibia', 264),
(152, 'NR', 'Nauru', 674),
(153, 'NP', 'Nepal', 977),
(154, 'AN', 'Netherlands Antilles', 599),
(155, 'NL', 'Netherlands The', 31),
(156, 'NC', 'New Caledonia', 687),
(157, 'NZ', 'New Zealand', 64),
(158, 'NI', 'Nicaragua', 505),
(159, 'NE', 'Niger', 227),
(160, 'NG', 'Nigeria', 234),
(161, 'NU', 'Niue', 683),
(162, 'NF', 'Norfolk Island', 672),
(163, 'MP', 'Northern Mariana Islands', 1670),
(164, 'NO', 'Norway', 47),
(165, 'OM', 'Oman', 968),
(166, 'PK', 'Pakistan', 92),
(167, 'PW', 'Palau', 680),
(168, 'PS', 'Palestinian Territory Occupied', 970),
(169, 'PA', 'Panama', 507),
(170, 'PG', 'Papua new Guinea', 675),
(171, 'PY', 'Paraguay', 595),
(172, 'PE', 'Peru', 51),
(173, 'PH', 'Philippines', 63),
(174, 'PN', 'Pitcairn Island', 0),
(175, 'PL', 'Poland', 48),
(176, 'PT', 'Portugal', 351),
(177, 'PR', 'Puerto Rico', 1787),
(178, 'QA', 'Qatar', 974),
(179, 'RE', 'Reunion', 262),
(180, 'RO', 'Romania', 40),
(181, 'RU', 'Russia', 70),
(182, 'RW', 'Rwanda', 250),
(183, 'SH', 'S<NAME>', 290),
(184, 'KN', 'Saint Kitts And Nevis', 1869),
(185, 'LC', 'S<NAME>', 1758),
(186, 'PM', 'Saint Pierre and Miquelon', 508),
(187, 'VC', 'Saint Vincent And The Grenadines', 1784),
(188, 'WS', 'Samoa', 684),
(189, 'SM', 'San Marino', 378),
(190, 'ST', 'Sao Tome and Principe', 239),
(191, 'SA', 'Saudi Arabia', 966),
(192, 'SN', 'Senegal', 221),
(193, 'RS', 'Serbia', 381),
(194, 'SC', 'Seychelles', 248),
(195, 'SL', 'Sierra Leone', 232),
(196, 'SG', 'Singapore', 65),
(197, 'SK', 'Slovakia', 421),
(198, 'SI', 'Slovenia', 386),
(199, 'XG', 'Smaller Territories of the UK', 44),
(200, 'SB', 'Solomon Islands', 677),
(201, 'SO', 'Somalia', 252),
(202, 'ZA', 'South Africa', 27),
(203, 'GS', 'South Georgia', 0),
(204, 'SS', 'South Sudan', 211),
(205, 'ES', 'Spain', 34),
(206, 'LK', 'Sri Lanka', 94),
(207, 'SD', 'Sudan', 249),
(208, 'SR', 'Suriname', 597),
(209, 'SJ', 'Svalbard And Jan Mayen Islands', 47),
(210, 'SZ', 'Swaziland', 268),
(211, 'SE', 'Sweden', 46),
(212, 'CH', 'Switzerland', 41),
(213, 'SY', 'Syria', 963),
(214, 'TW', 'Taiwan', 886),
(215, 'TJ', 'Tajikistan', 992),
(216, 'TZ', 'Tanzania', 255),
(217, 'TH', 'Thailand', 66),
(218, 'TG', 'Togo', 228),
(219, 'TK', 'Tokelau', 690),
(220, 'TO', 'Tonga', 676),
(221, 'TT', 'Trinidad And Tobago', 1868),
(222, 'TN', 'Tunisia', 216),
(223, 'TR', 'Turkey', 90),
(224, 'TM', 'Turkmenistan', 7370),
(225, 'TC', 'Turks And Caicos Islands', 1649),
(226, 'TV', 'Tuvalu', 688),
(227, 'UG', 'Uganda', 256),
(228, 'UA', 'Ukraine', 380),
(229, 'AE', 'United Arab Emirates', 971),
(230, 'GB', 'United Kingdom', 44),
(231, 'US', 'United States', 1),
(232, 'UM', 'United States Minor Outlying Islands', 1),
(233, 'UY', 'Uruguay', 598),
(234, 'UZ', 'Uzbekistan', 998),
(235, 'VU', 'Vanuatu', 678),
(236, 'VA', 'Vatican City State (Holy See)', 39),
(237, 'VE', 'Venezuela', 58),
(238, 'VN', 'Vietnam', 84),
(239, 'VG', 'Virgin Islands (British)', 1284),
(240, 'VI', 'Virgin Islands (US)', 1340),
(241, 'WF', 'Wallis And Futuna Islands', 681),
(242, 'EH', 'Western Sahara', 212),
(243, 'YE', 'Yemen', 967),
(244, 'YU', 'Yugoslavia', 38),
(245, 'ZM', 'Zambia', 260),
(246, 'ZW', 'Zimbabwe', 263);
-- --------------------------------------------------------
--
-- Table structure for table `coupon`
--
CREATE TABLE `coupon` (
`coupon_id` varchar(100) NOT NULL,
`coupon_name` varchar(100) NOT NULL,
`coupon_discount_code` varchar(100) NOT NULL,
`discount_amount` float DEFAULT NULL,
`discount_percentage` varchar(20) DEFAULT NULL,
`start_date` varchar(100) NOT NULL,
`end_date` varchar(100) NOT NULL,
`discount_type` int(11) DEFAULT NULL COMMENT '1=Taka,2=Percentage',
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `coupon_invoice`
--
CREATE TABLE `coupon_invoice` (
`coupon_invoice_id` varchar(100) NOT NULL,
`invoice_id` varchar(100) NOT NULL,
`coupon_code` varchar(100) NOT NULL,
`date_of_apply` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `crypto_payments`
--
CREATE TABLE `crypto_payments` (
`paymentID` int(11) UNSIGNED NOT NULL,
`boxID` int(11) UNSIGNED NOT NULL DEFAULT '0',
`boxType` enum('paymentbox','captchabox') NOT NULL,
`orderID` varchar(50) NOT NULL DEFAULT '',
`userID` varchar(50) NOT NULL DEFAULT '',
`countryID` varchar(3) NOT NULL DEFAULT '',
`coinLabel` varchar(6) NOT NULL DEFAULT '',
`amount` double(20,8) NOT NULL DEFAULT '0.00000000',
`amountUSD` double(20,8) NOT NULL DEFAULT '0.00000000',
`unrecognised` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
`addr` varchar(34) NOT NULL DEFAULT '',
`txID` char(64) NOT NULL DEFAULT '',
`txDate` datetime DEFAULT NULL,
`txConfirmed` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
`txCheckDate` datetime DEFAULT NULL,
`processed` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
`processedDate` datetime DEFAULT NULL,
`recordCreated` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `currency_info`
--
CREATE TABLE `currency_info` (
`currency_id` varchar(255) NOT NULL,
`currency_name` varchar(255) NOT NULL,
`currency_icon` text NOT NULL,
`currency_position` int(11) NOT NULL DEFAULT '0',
`convertion_rate` float NOT NULL,
`default_status` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `currency_info`
--
INSERT INTO `currency_info` (`currency_id`, `currency_name`, `currency_icon`, `currency_position`, `convertion_rate`, `default_status`) VALUES
('ZFUXHWW83EM6QGP', 'INR', '₹', 0, 1, '1');
-- --------------------------------------------------------
--
-- Table structure for table `customer_information`
--
CREATE TABLE `customer_information` (
`customer_id` varchar(250) NOT NULL,
`customer_name` varchar(255) DEFAULT NULL,
`first_name` varchar(255) DEFAULT NULL,
`last_name` varchar(255) NOT NULL,
`customer_short_address` text NOT NULL,
`customer_address_1` text NOT NULL,
`customer_address_2` text NOT NULL,
`city` varchar(255) NOT NULL,
`state` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`zip` varchar(255) NOT NULL,
`customer_mobile` varchar(100) NOT NULL,
`customer_email` varchar(255) NOT NULL,
`image` text,
`password` varchar(255) NOT NULL,
`token` varchar(255) NOT NULL,
`company` varchar(255) DEFAULT NULL,
`status` int(2) NOT NULL COMMENT '1=paid,2=credit',
`user_id` int(11) NOT NULL,
`points` bigint(50) NOT NULL,
`conversionpoints` bigint(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `customer_information`
--
INSERT INTO `customer_information` (`customer_id`, `customer_name`, `first_name`, `last_name`, `customer_short_address`, `customer_address_1`, `customer_address_2`, `city`, `state`, `country`, `zip`, `customer_mobile`, `customer_email`, `image`, `password`, `token`, `company`, `status`, `user_id`, `points`, `conversionpoints`) VALUES
('17TNTPJAKWMS9K8', 'dfsgsdfg', 'dfsgsdfg', '', '', '', '', '', '', '', '', '8698562394', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('1DOSIUQ7AZID1AF', 'asda', NULL, '', '', '', '', '', '', '', '', '4343545666', 'mmmm@ff', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('1O9XFMQ8SJ8QIVR', 'name18', 'name18', '', '', '', '', '', '', '', '', '9403604859', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 534, 0, 0),
('1V8N21DSQNEYWOW', '<NAME>', 'Ramesh', 'shinde', '', '', '', '', '', '', '', '8421751623', '<EMAIL>', 'assets/dist/img/user.png', '121afe6c927d03e219e7e790677ea625', '', NULL, 1, 333, 100, 15),
('2Z3MDXU96WQX9TG', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '9603917082', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 349, 0, 0),
('3QBVS1VWTE4AD4T', 'name9', 'name9', '', '', '', '', '', '', '', '', '8698055111', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 525, 0, 0),
('4SVO2HSL8NC5QHC', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '7798025899', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 307, 2300, 330),
('53QFSWL3NABHUZU', '<NAME>', 'Prathamesh', 'Shinde', '', '', '', '', '', '', '', '7798025877', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 329, 0, 0),
('5DHBBG145P2QQDH', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '9603917089', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 343, 0, 0),
('5QDKU1JR1KZ46IY', 'gfg', 'gfg', '', '', '', '', '', '', '', '', '9856985698', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('5SL24CTCV4DU2GI', 'assss', 'assss', '', '', '', '', '', '', '', '', '7412563241', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('5ZB3JIEMV7W5GFW', 'asdd', 'asdd', '', '', '', '', '', '', '', '', '4343123456', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 554, 0, 0),
('5ZLFHMZQETRAWVS', '<NAME>', 'Rohan', 'Patil', '', '', '', '', '', '', '', '4343545666', '<EMAIL>', 'assets/dist/img/user.png', '41d99b369894eb1ec3f461135132d8bb', '', NULL, 1, 0, 0, 0),
('63FHJJIA7N38Y8Q', 'dfsgsdfg', 'dfsgsdfg', '', '', '', '', '', '', '', '', '8698562399', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('6GIQ8WW138VAMFY', 'asdhf', 'asdhf', '', '', '', '', '', '', '', '', '8698055611', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('75XTL3F6ZZWOPAG', 'mahesh ', 'mahesh ', '', '', '', '', '', '', '', '', '8695651424', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 559, 0, 0),
('7O4LX279WHBUL1P', 'sdfaf', 'sdfaf', '', '', '', '', '', '', '', '', '4343541111', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 551, 0, 0),
('89D4PRLDOTHXCFZ', 'dcsd', 'dcsd', '', '', '', '', '', '', '', '', '8698066998', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('8FYOTVFIHA4OGRA', 'asdaD', 'asdaD', '', '', '', '', '', '', '', '', '7895887788', '<EMAIL>', NULL, '64388fe9a33c112c5663e3aed55a5f12', '', NULL, 0, 567, 0, 0),
('8NKCHP8UYFMJNCJ', 'name19', 'name19', '', '', '', '', '', '', '', '', '8668318812', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 547, 0, 0),
('8VRP1U7CJXWPQRL', 'dfsgsdfg', 'dfsgsdfg', '', '', '', '', '', '', '', '', '8698562398', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('9F2U4R557BFWVI2', 'name14', 'name14', '', '', '', '', '', '', '', '', '9403604855', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 530, 0, 0),
('9PHKQHFYH69P3GA', 'name18', 'name18', '', '', '', '', '', '', '', '', '4569870112', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 546, 0, 0),
('9RLO8G3JUQLZRZM', 'asdf', 'asdf', '', '', '', '', '', '', '', '', '8698066560', '<EMAIL>', NULL, '6250083d7b514f5f7423617da068212b', '', NULL, 0, 337, 0, 0),
('A22ET6DD5LFSZYT', 'asdfghj', 'asdfghj', '', '', '', '', '', '', '', '', '8888555552', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 543, 0, 0),
('ACED1RHWUHK9FV5', 'asdadf', 'asdadf', '', '', '', '', '', '', '', '', '4343512345', '<EMAIL>', NULL, '5092023c3031bd13d45d32c35e6cc715', '', NULL, 0, 553, 0, 0),
('AFCYGGPVX3LVIAL', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '9603917086', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 345, 0, 0),
('B3UTDRGAGUBLD71', 'zxfsd', 'zxfsd', '', '', '', '', '', '', '', '', '8569899999', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 570, 0, 0),
('BLAU85UB7APRO47', 'name15', 'name15', '', '', '', '', '', '', '', '', '9403604856', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 531, 0, 0),
('BMZ9XL6RH86GPVJ', 'asdf', 'asdf', '', '', '', '', '', '', '', '', '8421751111', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 541, 0, 0),
('BXVH9HASILX6ULC', 'asdhf', 'asdhf', '', '', '', '', '', '', '', '', '8698055632', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('C5NUZWYMJUQEECZ', 'asdf', 'asdf', '', '', '', '', '', '', '', '', '4343541234', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 552, 0, 0),
('D5WD2D2OENJ8MRC', 'assss', 'assss', '', '', '', '', '', '', '', '', '7412563242', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('D9DURI89TGUP3K8', 'vbggvg', NULL, '', '', '', '', '', '', '', '', '8698066941', '<EMAIL>', NULL, 'Ki@12345', '', NULL, 0, 0, 0, 0),
('EKP6LTU4ODN244B', 'name15', 'name15', '', '', '', '', '', '', '', '', '9403604857', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 532, 0, 0),
('EUC76J2MT3UV67Z', 'asdf', 'asdf', '', '', '', '', '', '', '', '', '8421751112', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 542, 0, 0),
('EYJ7QVNXQ1E3D5N', 'name16', 'name16', '', '', '', '', '', '', '', '', '9403604858', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 533, 0, 0),
('F1FWV4DNG1H97CJ', '<NAME>', 'Parth', 'Shinde', '', '', '', '', '', '', '', '7798066555', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 331, 0, 0),
('F49YWZV5AQS69PH', 'name9', 'name9', '', '', '', '', '', '', '', '', '8698055112', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 526, 0, 0),
('FBRAPHXGAXAL8TL', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '8698066954', '<EMAIL>', NULL, '9e6388ae06f207d9471f142a735f0f94', '', NULL, 0, 332, 0, 0),
('FGV88KUCH1DOSIU', '<NAME>', 'Karuna', 'Patil', '', '', '', '', '', '', '', '9603917087', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 344, 0, 0),
('FV53DXNTBCDJ43Y', 'xdfdf', NULL, '', '', '', '', '', '', '', '', '8745987458', '<EMAIL>', NULL, 'Ki@123456', '', NULL, 0, 0, 0, 0),
('FWHZTCMLCKMVAMM', 'gdf', NULL, '', '', '', '', '', '', '', '', '4343545668', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('GGI2DQP5AGG844E', 'asdfg', 'asdfg', '', '', '', '', '', '', '', '', '7458321636', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('H2BU4OK8I4I3SJX', 'name14', 'name14', '', '', '', '', '', '', '', '', '8698065986', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 528, 0, 0),
('H6YYFJ7UZUUGM44', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '869856239', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 560, 0, 0),
('H72727VLEL1S43T', 'XCFZX', 'XCFZX', '', '', '', '', '', '', '', '', '4154455255', '<EMAIL>', NULL, 'aef00f9657ada04d82e3a511c4cb7e78', '', NULL, 0, 557, 0, 0),
('I1QWPK34FVMWOJY', 'aaaaaa bbbbb', 'aaaaaa', 'bbbbb', 'dhaka,Dhaka,Bangladesh,', '45435', '23423', 'dhaka', 'Dhaka', '18', '', '11212', '<EMAIL>', NULL, '41d99b369894eb1ec3f461135132d8bb', '', '', 0, 0, 0, 0),
('I5UWT7ZYT7KRZ6S', 'dfgd', 'dfgd', '', '', '', '', '', '', '', '', '7412589633', '<EMAIL>', NULL, '129e659741e4265678708bb98db8577f', '', NULL, 0, 0, 0, 0),
('KB9NNA46W2WI9K8', 'assdd', 'assdd', '', '', '', '', '', '', '', '', '7854785478', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 555, 0, 0),
('KCDHK6AN8RGZ3V6', 'fghfgh', 'fghfgh', '', '', '', '', '', '', '', '', '8585999999', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 571, 0, 0),
('KDOBOUD7K9V677T', 'lkjh gfdsa', 'lkjh', 'gfdsa', '', '', '', '', '', '', '', '9812981298', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 538, 0, 0),
('KHRMWPQETEK5DIW', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '9603917085', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 346, 0, 0),
('KY3TZTY6FB9XLJH', 'name19', 'name19', '', '', '', '', '', '', '', '', '8668318811', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 545, 0, 0),
('L7LV18ZVJD82ZMV', 'name13', 'name13', '', '', '', '', '', '', '', '', '8698055113', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 527, 0, 0),
('LOIS1OFV5OM65K7', '<NAME>', 'Prasad', 'Patil', '', '', '', '', '', '', '', '9603917084', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 347, 0, 0),
('MECEVY7NTPXYCEY', 'asdhf', 'asdhf', '', '', '', '', '', '', '', '', '8698055631', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('MH4WZ6H9TDASEDB', 'dfgd', 'dfgd', '', '', '', '', '', '', '', '', '7412589632', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('NDXFKEFGV88KUCH', 'dfds', NULL, '', '', '', '', '', '', '', '', '8698066943', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('NJMK5AYZXHLYYPA', 'zxddcd', 'zxddcd', '', '', '', '', '', '', '', '', '8454125441', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 556, 0, 0),
('NLYOR1HNASUXWBF', 'asdffg', 'asdffg', '', '', '', '', '', '', '', '', '8458965745', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 566, 0, 0),
('NSKXO3SNOWOWH7T', 'aaaa', NULL, '', '', '', '', '', '', '', '', '8698066333', '', NULL, 'Ki@12345', '', NULL, 0, 0, 0, 0),
('NY99DBU43AZZFN4', 'dfsd', 'dfsd', '', '', '', '', '', '', '', '', '7415896589', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('OD1RTNLYTDHH13Q', 'name25', 'name25', '', '', '', '', '', '', '', '', '9822119999', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 562, 0, 0),
('OFV5OM65K7BQMJF', 'assss', 'assss', '', '', '', '', '', '', '', '', '7854858585', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('OJBLESCP11L73BB', 'Assdf', 'Assdf', '', '', '', '', '', '', '', '', '8698064155', '<EMAIL>', NULL, 'dff94678e50a86e49227669824e587e3', '', NULL, 0, 338, 0, 0),
('OPTJ9MM6XGTUSCE', 'mahesh ', 'mahesh ', '', '', '', '', '', '', '', '', '9604161034', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 569, 0, 0),
('OT6RHLT876MFH9S', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '8698066925', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 334, 0, 0),
('PKWC9OYNCCG32R6', 'poiuy qwerty', 'poiuy', 'qwerty', '', '', '', '', '', '', '', '8668318836', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 539, 0, 0),
('PRSHZDE9GDO7F7P', 'asdf', 'asdf', '', '', '', '', '', '', '', '', '9284355151', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 340, 0, 0),
('Q7HP53GAF81DTH5', 'dddd', NULL, '', '', '', '', '', '', '', '', '8698066942', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('QFSWL3NABHUZU85', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '7798025888', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('QLT5M8Y8JFQT84S', '<NAME>', 'Mayuri', 'Patil', '', '', '', '', '', '', '', '9603917083', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 348, 0, 0),
('QTNFTKTK6W52Q59', 'sssss', NULL, '', '', '', '', '', '', '', '', '8968569856', '<EMAIL>', NULL, 'Ki@123456', '', NULL, 0, 0, 0, 0),
('R34P6WFEPAVXOOH', 'name18', 'name18', '', '', '', '', '', '', '', '', '4569870111', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 544, 0, 0),
('R62BNLMBSTTJQ4X', '<NAME>', 'V<NAME>', '', '', '', '', '', '', '', '', '8698055940', '<EMAIL>', NULL, 'e7bd8d5aa941a1edca9a3059556c3aa0', '', NULL, 0, 335, 0, 0),
('R9AOQ7ZMJ8F6TN4', '<NAME>', 'Rohan', 'Patil', 'Kolhapur', 'Kolhapur', '', 'Kolhapur', '', '', '1', '8698066952', '<EMAIL>', 'http://localhost/quizecommerce/assets/dist/img/user.png', '1c78961d02a45ffb866cdc5003405eaa', '', '', 1, 0, 0, 0),
('RMWPQETEK5DIWLO', 'fgddf', 'fgddf', '', '', '', '', '', '', '', '', '8965741236', '<EMAIL>', NULL, '505c3bfd6bc3e00c91a12aee9daeb5c9', '', NULL, 0, 0, 0, 0),
('SGTJGDATDHTPV8U', 'dfsd', 'dfsd', '', '', '', '', '', '', '', '', '8698044650', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 336, 0, 0),
('TWGLW14U6I55T5K', 'name8', 'name8', '', '', '', '', '', '', '', '', '8698055110', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 524, 0, 0),
('UM3OE19Z53GO5ZI', 'dfsgsdfg', 'dfsgsdfg', '', '', '', '', '', '', '', '', '8698562392', '<EMAIL>', NULL, 'a7835b18322aa0184a262c91d6fc0ec8', '', NULL, 0, 0, 0, 0),
('UXL5KTR62WXU61O', 'fortestingpurpose', 'fortestingpurpose', '', '', '', '', '', '', '', '', '8421751366', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 548, 0, 0),
('V9N6G4RWC5V1Q5T', '<NAME>', '<NAME>', '', '', '', '', '', '', '', '', '9603917088', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 342, 0, 0),
('VS7Y9DBFEBSOWDY', 'rohini', 'rohini', '', '', '', '', '', '', '', '', '9284355159', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('VUP77KRETKOGVF8', 'asdf lkjh', 'asdf lkjh', '', '', '', '', '', '', '', '', '9284355651', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 339, 0, 0),
('WA84FCTPXKNNHN7', 'asdhf', 'asdhf', '', '', '', '', '', '', '', '', '8698055610', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('WMBB53URNAB358C', 'name14', 'name14', '', '', '', '', '', '', '', '', '8484759156', '<EMAIL>', NULL, 'be6148685373df5bcc6f0baffda23be3', '', NULL, 0, 529, 0, 0),
('YGGPVX3LVIALPKH', 'dd', NULL, '', '', '', '', '', '', '', '', '7458965896', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('ZFJY8JUGMQFWTPM', 'mnbv zxcv', 'mnbv', 'zxcv', '', '', '', '', '', '', '', '8668318837', '<EMAIL>', 'assets/dist/img/user.png', '709c279cc00678917f1184ae56b7ece6', '', NULL, 1, 540, 0, 0),
('ZNZLA2FT28O4ECL', 'abcd', 'abcd', '', '', '', '', '', '', '', '', '8698066123', '<EMAIL>', NULL, '709c279cc00678917f1184ae56b7ece6', '', NULL, 0, 0, 0, 0),
('ZUWLV1UB32341CR', 'ASDS', 'ASDS', '', '', '', '', '', '', '', '', '8748888888', '<EMAIL>', NULL, 'ace97c4cfbea1e91b8ce2c096819f5b6', '', NULL, 0, 568, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `customer_ledger`
--
CREATE TABLE `customer_ledger` (
`transaction_id` varchar(100) NOT NULL,
`customer_id` varchar(100) NOT NULL,
`invoice_no` varchar(100) DEFAULT NULL,
`quotation_no` varchar(100) DEFAULT NULL,
`order_no` varchar(100) NOT NULL,
`receipt_no` varchar(100) DEFAULT NULL,
`amount` float DEFAULT NULL,
`description` text NOT NULL,
`payment_type` varchar(255) NOT NULL,
`cheque_no` varchar(255) NOT NULL,
`date` varchar(100) DEFAULT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `customer_order`
--
CREATE TABLE `customer_order` (
`customer_order_id` varchar(100) NOT NULL,
`customer_id` varchar(100) NOT NULL,
`shiping_id` varchar(100) NOT NULL,
`order_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`payment_method` varchar(100) NOT NULL,
`total_bill` float NOT NULL,
`order_status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `customer_order_details`
--
CREATE TABLE `customer_order_details` (
`c_o_d_id` varchar(100) NOT NULL,
`customer_order_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`quantity` int(11) NOT NULL,
`discount` float NOT NULL,
`tax` float NOT NULL,
`vat` float NOT NULL,
`sell_price` float NOT NULL,
`supplier_price` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `daily_closing`
--
CREATE TABLE `daily_closing` (
`closing_id` varchar(255) NOT NULL,
`store_id` varchar(255) NOT NULL,
`last_day_closing` float NOT NULL,
`cash_in` float NOT NULL,
`cash_out` float NOT NULL,
`date` varchar(250) NOT NULL,
`amount` float NOT NULL,
`adjustment` float NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_configuration`
--
CREATE TABLE `email_configuration` (
`email_id` varchar(100) NOT NULL,
`protocol` varchar(100) DEFAULT NULL,
`mailtype` varchar(100) NOT NULL,
`smtp_host` varchar(100) DEFAULT NULL,
`smtp_port` int(11) NOT NULL,
`sender_email` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `email_configuration`
--
INSERT INTO `email_configuration` (`email_id`, `protocol`, `mailtype`, `smtp_host`, `smtp_port`, `sender_email`, `password`) VALUES
('1', 'smtp', 'html', 'ssl://smtp.googlemail.com', 465, '<EMAIL>', '<PASSWORD>');
-- --------------------------------------------------------
--
-- Table structure for table `image_gallery`
--
CREATE TABLE `image_gallery` (
`image_gallery_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`image_url` varchar(255) NOT NULL,
`img_thumb` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `image_gallery`
--
INSERT INTO `image_gallery` (`image_gallery_id`, `product_id`, `image_url`, `img_thumb`) VALUES
('4T2Y6X8OBDNRDFN', '79718542', 'my-assets/image/gallery/2f26bfa79fb236318e12df9261eb5bdd.jpg', 'null'),
('8P953K39Y9EYPH7', '31277867', 'my-assets/image/gallery/9cee04b2dc1aba2c2028d53b28d306d2.jpg', 'null'),
('OLCL66PCBHSUT32', '46415352', 'my-assets/image/gallery/06345cd078dcb5332c89a8aeec732892.jpg', 'null'),
('TM6MSMUL5N4WEIG', '14472766', 'my-assets/image/gallery/a995869723b1c8588c03c2a2f40848c0.jpg', 'null'),
('YVQPGV4EELVXMVY', '85299733', 'my-assets/image/gallery/b9f543684de34be7d69a465c752a7a43.jpg', 'null'),
('YYHOLAUVC9VT398', '83997459', 'my-assets/image/gallery/eb77b8424bdb5af8b4faf35a9505d0b3.jpg', 'null'),
('ZVAP2BWDH59OOKU', '99467578', 'my-assets/image/gallery/5cd3d2f82593b8776e81d0995f4dff2b.jpg', 'null');
-- --------------------------------------------------------
--
-- Table structure for table `invoice`
--
CREATE TABLE `invoice` (
`invoice_id` varchar(100) NOT NULL,
`quotation_id` varchar(100) DEFAULT NULL,
`order_id` varchar(100) DEFAULT NULL,
`customer_id` varchar(100) NOT NULL,
`store_id` varchar(100) NOT NULL,
`user_id` varchar(100) NOT NULL,
`date` varchar(100) NOT NULL,
`total_amount` float NOT NULL,
`invoice` varchar(255) NOT NULL,
`total_discount` float DEFAULT NULL,
`invoice_discount` float DEFAULT NULL COMMENT 'total_discount + invoice_discount',
`service_charge` float DEFAULT NULL,
`shipping_charge` tinyint(4) NOT NULL DEFAULT '0',
`shipping_method` varchar(255) DEFAULT NULL,
`paid_amount` float NOT NULL,
`due_amount` float NOT NULL,
`invoice_details` text,
`status` int(2) NOT NULL,
`invoice_status` int(11) NOT NULL COMMENT '1=shipped,2=cancel,3=pending,4=complete,5=processing,6=return'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `invoice_details`
--
CREATE TABLE `invoice_details` (
`invoice_details_id` varchar(100) NOT NULL,
`invoice_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`store_id` varchar(100) NOT NULL,
`quantity` int(8) NOT NULL,
`rate` float NOT NULL,
`supplier_rate` float DEFAULT NULL,
`total_price` float NOT NULL,
`discount` float DEFAULT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `language`
--
CREATE TABLE `language` (
`id` int(11) UNSIGNED NOT NULL,
`phrase` text NOT NULL,
`english` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `language`
--
INSERT INTO `language` (`id`, `phrase`, `english`) VALUES
(1, 'user_profile', 'User Profile'),
(2, 'setting', 'Setting'),
(3, 'language', 'Language'),
(4, 'manage_users', 'Manage Users'),
(5, 'add_user', 'Add User'),
(6, 'manage_company', 'Manage Company'),
(7, 'web_settings', 'Web Settings'),
(8, 'manage_accounts', 'Manage Accounts'),
(9, 'create_accounts', 'Create Accounts'),
(10, 'manage_bank', 'Manage Bank'),
(11, 'add_new_bank', 'Add New Bank'),
(12, 'settings', 'Settings'),
(13, 'closing_report', 'Closing Report'),
(14, 'closing', 'Closing'),
(15, 'cheque_manager', 'Cheque Manager'),
(16, 'accounts_summary', 'Accounts Summary'),
(17, 'payment', 'Payment'),
(18, 'received', 'Received'),
(19, 'accounts', 'Accounts'),
(20, 'stock_report', 'Stock Report'),
(21, 'stock', 'Stock'),
(22, 'pos_invoice', 'POS Invoice'),
(23, 'manage_invoice', 'Manage Invoice '),
(24, 'new_invoice', 'New Invoice'),
(25, 'invoice', 'Invoice'),
(26, 'manage_purchase', 'Manage Purchase'),
(27, 'add_purchase', 'Add Purchase'),
(28, 'purchase', 'Purchase'),
(29, 'paid_customer', 'Paid Customer'),
(30, 'manage_customer', 'Manage Customer'),
(31, 'add_customer', 'Add Customer'),
(32, 'customer', 'Customer'),
(36, 'supplier_ledger', 'Supplier Ledger'),
(37, 'manage_supplier', 'Manage Supplier'),
(38, 'add_supplier', 'Add Supplier'),
(39, 'supplier', 'Supplier'),
(41, 'manage_product', 'Manage Product'),
(42, 'add_product', 'Add Product'),
(43, 'product', 'Product'),
(44, 'manage_category', 'Manage Category'),
(45, 'add_category', 'Add Category'),
(46, 'category', 'Category'),
(47, 'sales_report_product_wise', 'Sales Report (Product Wise)'),
(48, 'purchase_report', 'Purchase Report'),
(49, 'sales_report', 'Sales Report'),
(50, 'todays_report', 'Todays Report'),
(51, 'report', 'Report'),
(52, 'dashboard', 'Dashboard'),
(53, 'online', 'Online'),
(54, 'logout', 'Logout'),
(55, 'change_password', '<PASSWORD> Password'),
(56, 'total_purchase', 'Total Purchase'),
(57, 'total_amount', 'Total Amount'),
(58, 'supplier_name', 'Supplier Name'),
(59, 'invoice_no', 'Invoice No'),
(60, 'purchase_date', 'Purchase Date'),
(61, 'todays_purchase_report', 'Todays Purchase Report'),
(62, 'total_sales', 'Total Sales'),
(63, 'customer_name', 'Customer Name'),
(64, 'sales_date', 'Sales Date'),
(65, 'todays_sales_report', 'Todays Sales Report'),
(66, 'home', 'Home'),
(67, 'todays_sales_and_purchase_report', 'Todays sales and purchase report'),
(68, 'total_ammount', 'Total Amount'),
(69, 'rate', 'Rate'),
(70, 'product_model', 'Product Model'),
(71, 'product_name', 'Product Name'),
(72, 'search', 'Search'),
(73, 'end_date', 'End Date'),
(74, 'start_date', 'Start Date'),
(75, 'total_purchase_report', 'Total Purchase Report'),
(76, 'total_sales_report', 'Total Sales Report'),
(77, 'total_seles', 'Total Sales'),
(78, 'all_stock_report', 'All Stock Report'),
(79, 'search_by_product', 'Search By Product'),
(80, 'date', 'Date'),
(81, 'print', 'Print'),
(82, 'stock_date', 'Stock Date'),
(83, 'print_date', 'Print Date'),
(84, 'sales', 'Sales'),
(85, 'price', 'Price'),
(86, 'sl', 'SL.'),
(87, 'add_new_category', 'Add new category'),
(88, 'category_name', 'Category Name'),
(89, 'save', 'Save'),
(90, 'delete', 'Delete'),
(91, 'update', 'Update'),
(92, 'action', 'Action'),
(93, 'manage_your_category', 'Manage your category '),
(94, 'category_edit', 'Category Edit'),
(95, 'status', 'Status'),
(96, 'active', 'Active'),
(97, 'inactive', 'Inactive'),
(98, 'save_changes', 'Save Changes'),
(99, 'save_and_add_another', 'Save And Add Another'),
(100, 'model', 'Model'),
(101, 'supplier_price', 'Supplier Price'),
(102, 'sell_price', 'Sell Price'),
(103, 'image', 'Image'),
(104, 'select_one', 'Select One'),
(105, 'details', 'Details'),
(106, 'new_product', 'New Product'),
(107, 'add_new_product', 'Add new product'),
(108, 'barcode', 'Barcode'),
(109, 'qr_code', 'Qr-Code'),
(110, 'product_details', 'Product Details'),
(111, 'manage_your_product', 'Manage your product'),
(112, 'product_edit', 'Product Edit'),
(113, 'edit_your_product', 'Edit your product'),
(114, 'cancel', 'Cancel'),
(115, 'excl_vat', 'Excl. Vat'),
(116, 'money', 'TK'),
(117, 'grand_total', 'Grand Total'),
(118, 'quantity', 'Qnty'),
(119, 'product_report', 'Product Report'),
(120, 'product_sales_and_purchase_report', 'Product sales and purchase report'),
(121, 'previous_stock', 'Previous Stock'),
(122, 'out', 'Out'),
(123, 'in', 'In'),
(124, 'to', 'To'),
(125, 'previous_balance', 'Previous Balance'),
(126, 'customer_address', 'Customer Address'),
(127, 'customer_mobile', 'Customer Mobile'),
(128, 'customer_email', 'Customer Email'),
(129, 'add_new_customer', 'Add new customer'),
(130, 'balance', 'Balance'),
(131, 'mobile', 'Mobile'),
(132, 'address', 'Address'),
(133, 'manage_your_customer', 'Manage your customer'),
(134, 'customer_edit', 'Customer Edit'),
(135, 'paid_customer_list', 'Manage your paid customer'),
(136, 'ammount', 'Amount'),
(137, 'customer_ledger', 'Customer Ledger'),
(138, 'manage_customer_ledger', 'Manage Customer Ledger'),
(139, 'customer_information', 'Customer Information'),
(140, 'debit_ammount', 'Debit Amount'),
(141, 'credit_ammount', 'Credit Amount'),
(142, 'balance_ammount', 'Balance Amount'),
(143, 'receipt_no', 'Receipt NO'),
(144, 'description', 'Description'),
(145, 'debit', 'Debit'),
(146, 'credit', 'Credit'),
(147, 'item_information', 'Item Information'),
(148, 'total', 'Total'),
(149, 'please_select_supplier', 'Please Select Supplier'),
(150, 'submit', 'Submit'),
(151, 'submit_and_add_another', 'Submit And Add Another One'),
(152, 'add_new_item', 'Add New Item'),
(153, 'manage_your_purchase', 'Manage your purchase'),
(154, 'purchase_edit', 'Purchase Edit'),
(155, 'purchase_ledger', 'Purchase Ledger'),
(156, 'invoice_information', 'Invoice Information'),
(157, 'paid_ammount', 'Paid'),
(158, 'discount', 'Dis/ Pcs'),
(159, 'save_and_paid', 'Save And Paid'),
(160, 'payee_name', 'Payee Name'),
(161, 'manage_your_invoice', 'Manage your invoice'),
(162, 'invoice_edit', 'Invoice Edit'),
(163, 'new_pos_invoice', 'New POS invoice'),
(164, 'add_new_pos_invoice', 'Add new pos invoice'),
(165, 'product_id', 'Product ID'),
(166, 'paid_amount', 'Paid'),
(167, 'authorised_by', 'Authorised By'),
(168, 'checked_by', 'Checked By'),
(169, 'received_by', 'Received By'),
(170, 'prepared_by', 'Prepared By'),
(171, 'memo_no', 'Memo No'),
(172, 'website', 'Website'),
(173, 'email', 'Email'),
(174, 'invoice_details', 'Invoice Details'),
(175, 'reset', 'Reset'),
(176, 'payment_account', 'Payment Account'),
(177, 'bank_name', 'Bank Name'),
(178, 'cheque_or_pay_order_no', 'Cheque/Pay Order No'),
(179, 'payment_type', 'Payment Type'),
(180, 'payment_from', 'Payment From'),
(181, 'payment_date', 'Payment Date'),
(182, 'add_received', 'Add Received'),
(183, 'cash', 'Cash'),
(184, 'cheque', 'Cheque'),
(185, 'pay_order', 'Pay Order'),
(186, 'payment_to', 'Payment To'),
(187, 'total_payment_ammount', 'Total Payment Report '),
(188, 'transections', 'Transections'),
(189, 'accounts_name', 'Accounts Name'),
(190, 'payment_report', 'Payment Report'),
(191, 'received_report', 'Income Report'),
(192, 'all', 'All'),
(193, 'account', 'Account'),
(194, 'from', 'From'),
(195, 'account_summary_report', 'Account Summary Report'),
(196, 'search_by_date', 'Search By Date'),
(197, 'cheque_no', 'Cheque No'),
(198, 'name', 'Name'),
(199, 'closing_account', 'Closing Account'),
(200, 'close_your_account', 'Close your account'),
(201, 'last_day_closing', 'Last Day Closing'),
(202, 'cash_in', 'Cash In'),
(203, 'cash_out', 'Cash Out'),
(204, 'cash_in_hand', 'Cash In Hand'),
(205, 'add_new_bank', 'Add New Bank'),
(206, 'day_closing', 'Day Closing'),
(207, 'account_closing_report', 'Account Closing Report'),
(208, 'last_day_ammount', 'Last Day Amount'),
(209, 'adjustment', 'Adjustment'),
(210, 'pay_type', 'Pay Type'),
(211, 'customer_or_supplier', 'Customer , Supplier Or Others'),
(212, 'transection_id', 'Transections ID'),
(213, 'accounts_summary_report', 'Accounts Summary Report'),
(214, 'bank_list', 'Bank List'),
(215, 'bank_edit', 'Bank Edit'),
(216, 'debit_plus', 'Debit (+)'),
(217, 'credit_minus', 'Credit (-)'),
(218, 'account_name', 'Account Name'),
(219, 'account_type', 'Account Type'),
(220, 'account_real_name', 'Account Real Name'),
(221, 'manage_account', 'Manage Account'),
(222, 'company_name', 'Company Name'),
(223, 'edit_your_company_information', 'Edit your company information'),
(224, 'company_edit', 'Company Edit'),
(225, 'admin', 'Admin'),
(226, 'user', 'User'),
(227, 'password', 'Password'),
(228, 'last_name', 'Last Name'),
(229, 'first_name', 'First Name'),
(230, 'add_new_user_information', 'Add new user information'),
(231, 'user_type', 'User Type'),
(232, 'user_edit', 'User Edit'),
(233, 'rtr', 'Right To Left -RTL'),
(234, 'ltr', 'Left To Right -LTR'),
(235, 'ltr_or_rtr', 'LTR/RTL'),
(236, 'footer_text', 'Footer Text'),
(237, 'favicon', 'Favicon'),
(238, 'logo', 'Logo'),
(239, 'update_setting', 'Update Setting'),
(240, 'update_your_web_setting', 'Update your web setting'),
(241, 'login', 'Login'),
(242, 'your_strong_password', '<PASSWORD>'),
(243, 'your_unique_email', 'Your unique email'),
(244, 'please_enter_your_login_information', 'Please enter your login information.'),
(245, 'update_profile', 'Update Profile'),
(246, 'your_profile', 'Your Profile'),
(247, 're_type_password', 'Re-Type Password'),
(248, 'new_password', '<PASSWORD>'),
(249, 'old_password', '<PASSWORD>'),
(250, 'new_information', 'New Information'),
(251, 'old_information', 'Old Information'),
(252, 'change_your_information', 'Change your information'),
(253, 'change_your_profile', 'Change your profile'),
(254, 'profile', 'Profile'),
(255, 'wrong_username_or_password', 'Wrong User Name Or Password !'),
(256, 'successfully_updated', 'Successfully Updated.'),
(257, 'blank_field_does_not_accept', 'Blank Field Does Not Accept !'),
(258, 'successfully_changed_password', 'Successfully changed password.'),
(259, 'you_are_not_authorised_person', 'You are not authorised person !'),
(260, 'password_and_repassword_does_not_match', 'Passwor and re-password does not match !'),
(261, 'new_password_at_least_six_character', 'New Password At Least 6 Character.'),
(262, 'you_put_wrong_email_address', 'You put wrong email address !'),
(263, 'cheque_ammount_asjusted', 'Cheque amount adjusted. '),
(264, 'successfully_payment_paid', 'Successfully Payment Paid.'),
(265, 'successfully_added', 'Successfully Added.'),
(266, 'successfully_updated_2_closing_ammount_not_changeale', 'Successfully Updated -2. Note: Closing Amount Not Changeable.'),
(267, 'successfully_payment_received', 'Successfully Payment Received.'),
(268, 'already_inserted', 'Already Inserted !'),
(269, 'successfully_delete', 'Successfully Delete.'),
(270, 'successfully_created', 'Successfully Created.'),
(271, 'logo_not_uploaded', 'Logo not uploaded !'),
(272, 'favicon_not_uploaded', 'Favicon not uploaded !'),
(273, 'supplier_mobile', 'Supplier Mobile'),
(274, 'supplier_address', 'Supplier Address'),
(275, 'supplier_details', 'Supplier Details'),
(276, 'add_new_supplier', 'Add New Supplier'),
(277, 'manage_suppiler', 'Manage Supplier'),
(278, 'manage_your_supplier', 'Manage your supplier'),
(279, 'manage_supplier_ledger', 'Manage supplier ledger'),
(280, 'invoice_id', 'Invoice ID'),
(281, 'deposit_id', 'Deposite ID'),
(282, 'supplier_actual_ledger', 'Supplier Actual Ledger'),
(283, 'supplier_information', 'Supplier Information'),
(284, 'event', 'Event'),
(285, 'add_new_received', 'Add New Income'),
(286, 'add_payment', 'Add Payment'),
(287, 'add_new_payment', 'Add New Payment'),
(288, 'total_received_ammount', 'Total Received Amount'),
(289, 'create_new_invoice', 'Create New Invoice'),
(290, 'create_pos_invoice', 'Create POS Invoice'),
(291, 'total_profit', 'Total Profit'),
(292, 'monthly_progress_report', 'Monthly Progress Report'),
(293, 'total_invoice', 'Total Invoice'),
(294, 'account_summary', 'Account Summary'),
(295, 'total_supplier', 'Total Supplier'),
(296, 'total_product', 'Total Product'),
(297, 'total_customer', 'Total Customer'),
(298, 'supplier_edit', 'Supplier Edit'),
(299, 'add_new_invoice', 'Add New Invoice'),
(300, 'add_new_purchase', 'Add new purchase'),
(301, 'currency', 'Currency'),
(302, 'currency_position', 'Currency Position'),
(303, 'left', 'Left'),
(304, 'right', 'Right'),
(305, 'add_tax', 'Add Tax'),
(306, 'manage_tax', 'Manage Tax'),
(307, 'add_new_tax', 'Add new tax'),
(308, 'enter_tax', 'Enter Tax'),
(309, 'already_exists', 'Already Exists !'),
(310, 'successfully_inserted', 'Successfully Inserted.'),
(311, 'tax', 'Tax'),
(312, 'tax_edit', 'Tax Edit'),
(313, 'product_not_added', 'Product not added !'),
(314, 'total_tax', 'Total Tax'),
(315, 'manage_your_supplier_details', 'Manage your supplier details.'),
(316, 'invoice_description', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.'),
(317, 'thank_you_for_choosing_us', 'Thank you very much for choosing us.'),
(318, 'billing_date', 'Billing Date'),
(319, 'billing_to', 'Billing To'),
(320, 'billing_from', 'Billing From'),
(321, 'you_cant_delete_this_product', 'Sorry !! You can\'t delete this product.This product already used in calculation system!'),
(322, 'old_customer', 'Old Customer'),
(323, 'new_customer', 'New Customer'),
(324, 'new_supplier', 'New Supplier'),
(325, 'old_supplier', 'Old Supplier'),
(326, 'credit_customer', 'Credit Customer'),
(327, 'account_already_exists', 'This Account Already Exists !'),
(328, 'edit_received', 'Edit Received'),
(329, 'you_are_not_access_this_part', 'You can not access this part !'),
(330, 'account_edit', 'Account Edit'),
(331, 'due', 'Due'),
(332, 'payment_edit', 'Payment Edit'),
(333, 'please_select_customer', 'Please select customer !'),
(334, 'profit_report', 'Profit Report (Invoice Wise)'),
(335, 'total_profit_report', 'Total profit report'),
(336, 'please_enter_valid_captcha', 'Please enter valid captcha.'),
(337, 'category_not_selected', 'Category not selected.'),
(338, 'supplier_not_selected', 'Supplier not selected.'),
(339, 'please_select_product', 'Please select product.'),
(340, 'product_model_already_exist', 'Product model already exist or file format is not correct !'),
(341, 'invoice_logo', 'Invoice Logo'),
(342, 'available_quantity', 'Ava. Qnty'),
(344, 'customer_details', 'Customer details'),
(345, 'manage_customer_details', 'Manage customer details.'),
(346, 'site_key', 'Captcha Site Key'),
(347, 'secret_key', 'Secret Key'),
(348, 'captcha', 'Captcha'),
(349, 'manage_your_credit_customer', 'Manage your credit customer'),
(350, 'barcode_qrcode', 'Barcode/Qrcode'),
(351, 'barcode_qrcode_scan_here', 'Barcode OR QR code scan here '),
(352, 'please_add_walking_customer_for_default_customer', 'You are delete walking customer.Please add walking customer for default customer.'),
(353, 'stock_report_supplier_wise', 'Stock Report (Supplier Wise)'),
(354, 'stock_report_product_wise', 'Stock Report (Product Wise)'),
(355, 'in_ctn', 'In Ctn.'),
(356, 'out_ctn', 'Out Ctn.'),
(357, 'select_supplier', 'Select Supplier'),
(358, 'in_quantity', 'In Qnty'),
(359, 'out_quantity', 'Out Qnty'),
(360, 'in_taka', 'In Taka'),
(361, 'out_taka', 'Out Taka'),
(362, 'select_product', 'Select Product'),
(363, 'data_synchronizer', 'Data Synchronizer'),
(364, 'synchronize', 'Synchronizer'),
(365, 'backup_restore', 'Backup Restore'),
(366, 'synchronizer_setting', 'Synchronizer Setting'),
(367, 'hostname', 'Hostname'),
(368, 'user_name', 'User Name'),
(369, 'ftp_port', 'FTP Port'),
(370, 'ftp_debug', 'FTP Debug'),
(371, 'project_root', 'Project Root'),
(372, 'internet_connection', 'Internet connection'),
(373, 'outgoing_file', 'Outgoing file'),
(374, 'incoming_file', 'Incoming file'),
(375, 'available', 'Available'),
(376, 'not_available', 'Not Available'),
(377, 'data_upload_to_server', 'Data upload to server'),
(378, 'download_data_from_server', 'Download data from server'),
(379, 'data_import_to_database', 'Data import to database'),
(380, 'please_wait', 'Please wait'),
(381, 'ooops_something_went_wrong', 'Ooops something went wrong.'),
(382, 'ftp_setting', 'FTP setting'),
(383, 'please_try_again', 'Please try again'),
(384, 'save_successfully', 'Save successfully'),
(385, 'upload_successfully', 'Upload successfully'),
(386, 'unable_to_upload_file_please_check_configuration', 'Unable to upload file.Please check configuration.'),
(387, 'please_configure_synchronizer_settings', 'Please configure synchronizer settings'),
(388, 'download_successfully', 'Download successfully'),
(389, 'unable_to_download_file_please_check_configuration', 'Unable to download file.Please check configuration.'),
(390, 'data_import_first', 'Data import first.'),
(391, 'data_import_successfully', 'Data import successfully'),
(392, 'unable_to_import_data_please_check_config_or_sql_file', 'Unable to import data.Please check config or sql file.'),
(393, 'database_backup', 'Database backup'),
(394, 'file_information', 'File information'),
(395, 'filename', 'Filename'),
(396, 'size', 'Size'),
(397, 'backup_date', 'Backup date'),
(398, 'backup_now', 'Backup now'),
(399, 'restore_now', 'Restore now'),
(400, 'are_you_sure', 'Are you sure ?'),
(401, 'download', 'Download'),
(402, 'backup_successfully', 'Backup successfully'),
(403, 'restore_successfully', 'Restore successfully'),
(404, 'delete_successfully', 'Delete successfully'),
(405, 'backup_and_restore', 'Backup and Restore'),
(406, 'close', 'Close'),
(407, 'import_product_csv', 'Import Product (CSV)'),
(408, 'upload_csv_file', 'Upload CSV File'),
(411, 'supplier_id', 'Supplier ID'),
(412, 'category_id', 'Category ID'),
(413, 'file_data_format_is_not_correct', 'File format or data is not correct ! Please flollow the instruction.'),
(414, 'add_unit', 'Add Unit'),
(415, 'manage_unit', 'Manage Unit'),
(416, 'unit', 'Unit'),
(417, 'meter_m', 'Meter (M)'),
(418, 'piece_pc', 'Piece (Pc)'),
(419, 'kilogram_kg', 'Kilogram (Kg)'),
(420, 'select_unit', 'Select Unit'),
(421, 'no_tax', 'No Tax'),
(422, 'suppler_email', 'Supplier Email'),
(423, 'csv_file_informaion', 'CSV File Information'),
(424, 'stock_quantity', 'Stock'),
(425, 'out_of_stock', 'Out Of Stock'),
(426, 'phone', 'Phone'),
(427, 'you_can_not_buy_greater_than_available_cartoon', 'You can not sell greater than available quantity.'),
(428, 'total_discount', 'Total Discount'),
(429, 'if_you_update_purchase_first_select_supplier_then_product_and_then_quantity', 'If you update purchase.First select supplier then product and quantity.'),
(430, 'others', 'Others'),
(431, 'accounts_details_data', 'Accounts Details Data'),
(432, 'add_brand', 'Add Brand'),
(433, 'add_new_brand', 'Add new brand'),
(434, 'brand', 'Brand'),
(435, 'brand_image', 'Brand Image'),
(436, 'brand_name', 'Brand Name'),
(437, 'manage_brand', 'Manage Brand'),
(438, 'brand_edit', 'Brand Edit'),
(439, 'manage_your_brand', 'Manage your brand'),
(440, 'are_you_sure_want_to_delete', 'Are you sure want to delete ?'),
(441, 'variant', 'Variant'),
(442, 'add_variant', 'Add Variant'),
(443, 'manage_variant', 'Manage Variant'),
(444, 'add_new_variant', 'Add New Variant'),
(445, 'variant_name', 'Variant Name'),
(446, 'variant_edit', 'Variant Edit'),
(447, 'type', 'Type'),
(448, 'image_large', 'Image Large'),
(449, 'onsale', 'Offer'),
(450, 'yes', 'Yes'),
(451, 'no', 'No'),
(452, 'featured', 'Featured'),
(453, 'store_set', 'Store Set'),
(454, 'store_add', 'Store Add'),
(455, 'store_product', 'Store Product'),
(456, 'manage_store', 'Manage Store'),
(457, 'add_store', 'Add Store'),
(458, 'add_new_store', 'Add New Store'),
(459, 'store_name', 'Store Name'),
(460, 'store_address', 'Store Address'),
(461, 'manage_your_store', 'Manage your store'),
(462, 'store_edit', 'Store Edit'),
(463, 'store_product_transfer', 'Store Product Transfer'),
(465, 'manage_store_product', 'Manage Store Product'),
(466, 'manage_your_store_product', 'Manage your store product'),
(467, 'store_product_edit', 'Store Product Edit'),
(468, 'wearhouse_add', 'Warehouse Add'),
(469, 'wearhouse_transfer', 'Warehouse Transfer'),
(470, 'manage_wearhouse', 'Manage Warehouse'),
(471, 'wearhouse_set', 'Warehouse Set'),
(472, 'add_wearhouse', 'Add Warehouse'),
(473, 'add_new_wearhouse', 'Add New Warehouse'),
(474, 'wearhouse_name', 'Warehouse Name'),
(475, 'wearhouse_address', 'Warehouse Address'),
(476, 'manage_your_wearhouse', 'Manage your warehouse'),
(477, 'wearhouse_edit', 'Warehouse Edit'),
(478, 'transfer_wearhouse_product', 'Transfer warehouse product'),
(479, 'transfer_to', 'Transfer To'),
(480, 'wearhouse', 'Warehouse'),
(481, 'store', 'Store'),
(482, 'purchase_to', 'Purchase To'),
(483, 'product_and_supplier_did_not_match', 'Product and supplier did not match.'),
(484, 'please_select_wearhouse', 'Please select warehouse !'),
(485, 'product_is_not_available_please_purchase_product', 'Product not available.Please purchase product.'),
(486, 'please_select_store', 'Please select store'),
(487, 'store_transfer', 'Store Transfer'),
(488, 'add_new_unit', 'Add new unit'),
(489, 'unit_name', 'Unit Name'),
(490, 'unit_short_name', 'Unit Short Name'),
(491, 'manage_your_unit', 'Manage your unit'),
(492, 'unit_edit', 'Unit Edit'),
(493, 'gallery', 'Gallery'),
(494, 'add_image', 'Add Image'),
(495, 'manage_image', 'Manage Image'),
(496, 'add_new_image', 'Add new image'),
(497, 'manage_gallery_image', 'Manage gallery image'),
(498, 'image_edit', 'Image Edit'),
(499, 'tax_name', 'Tax Name'),
(500, 'manage_your_tax', 'Manage your tax'),
(501, 'tax_product_service', 'Tax Product Service'),
(502, 'add_tax_product_service', 'Add tax product service'),
(503, 'tax_percentage', 'Tax Percentage'),
(504, 'total_cgst', 'CGST'),
(505, 'total_sgst', 'SGST'),
(507, 'total_igst', 'IGST'),
(508, 'cat_image', 'Category Image'),
(509, 'parent_category', 'Parent category'),
(510, 'top_menu', 'Top Menu'),
(511, 'menu_position', 'Menu Position'),
(512, 'add_pos_invoice', 'Add POS Invoice'),
(513, 'customer_address_1', 'Address 1'),
(514, 'customer_address_2', 'Address 2'),
(515, 'city', 'City'),
(516, 'state', 'State'),
(517, 'country', 'Country'),
(518, 'zip', 'Zip'),
(519, 'transection_type', 'Transection Type'),
(520, 'product_ledger', 'Product Ledger'),
(521, 'transfer_report', 'Transfer Report'),
(522, 'store_to_store_transfer', 'Store To Store Transfer'),
(523, 'to_store', 'To Store'),
(524, 'store_to_warehouse_transfer', 'Store To Warehouse Transfer'),
(525, 'warehouse_to_store_transfer', 'Warehouse To Store Transfer'),
(526, 't_wearhouse', 'To Wearhouse'),
(527, 'warehouse_to_warehouse_transfer', 'Warehouse To Warehouse Transfer'),
(528, 'shop_manager', 'Shop Manager'),
(529, 'sales_man', 'Sales Man'),
(530, 'store_keeper', 'Store Keeper'),
(531, 'item', 'Item'),
(532, 'qnty', 'Qnty'),
(533, 'first', 'First'),
(534, 'last', 'Last'),
(535, 'next', 'Next'),
(536, 'prev', 'Previous'),
(537, '1', '1'),
(538, '2', '2'),
(539, '3', '3'),
(540, 'web_store', 'Web Store'),
(541, 'brand_id', 'Brand ID'),
(542, 'variant_id', 'Variant ID'),
(543, 'items', 'Items'),
(544, 'print_order', 'Print Order'),
(545, 'print_bill', 'Print Bill'),
(546, 'unpaid', 'Unpaid'),
(547, 'paid', 'Paid'),
(548, 'product_discount', 'Product Discount'),
(549, 'invoice_discount', 'Invoice Discount'),
(550, 'terminal', 'Terminal'),
(551, 'manage_terminal', 'Manage Terminal'),
(552, 'add_terminal', 'Add Terminal'),
(553, 'add_new_terminal', 'Add new terminal'),
(554, 'customer_care_phone_no', 'Customer Care Phone No'),
(555, 'terminal_bank_account', 'Terminal Bank Account'),
(556, 'terminal_company', 'Terminal Company'),
(557, 'terminal_name', 'Terminal Name'),
(558, 'manage_your_terminal', 'Manage your terminal'),
(559, 'terminal_edit', 'Terminal Edit'),
(560, 'full_paid', 'Full Paid'),
(561, 'card_no', 'Card NO'),
(562, 'card_type', 'Card Type'),
(563, 'tax_report_product_wise', 'Tax Report (Product Wise)'),
(564, 'tax_report_invoice_wise', 'Tax Report (Invoice Wise)'),
(565, 'software_settings', 'Software Settings'),
(566, 'social_link', 'Social Link'),
(567, 'advertisement', 'Advertisement'),
(568, 'contact_form', 'Contact Form'),
(569, 'update_your_social_link', 'Update your social link'),
(570, 'facebook', 'Facebook'),
(571, 'instagram', 'Instagram'),
(572, 'linkedin', 'Linkedin'),
(573, 'twitter', 'Twitter'),
(574, 'youtube', 'Youtube'),
(575, 'message', 'Message'),
(576, 'manage_contact', 'Manage contact'),
(577, 'manage_your_contact', 'Manage your contact'),
(578, 'update_contact_form', 'Update contact form'),
(579, 'update_your_contact_form', 'Update your contact form'),
(580, 'update_your_web_settings', 'Update your web setting'),
(581, 'google_map', 'Google Map'),
(582, 'about_us', 'About Us'),
(583, 'privacy_policy', 'Privacy Policy'),
(584, 'terms_condition', 'Terms and condition'),
(585, 'cat_icon', 'Category Icon'),
(586, 'add_slider', 'Add Slider'),
(587, 'manage_slider', 'Manage Slider'),
(588, 'update_your_slider', 'Update your slider'),
(589, 'slider_link', 'Slider Link'),
(590, 'slider_image', 'Slider Image'),
(591, 'slider_position', 'Slider Position'),
(592, 'update_slider', 'Update Slider'),
(593, 'manage_your_slider', 'Manage your slider'),
(594, 'successfully_inactive', 'Successfully Inactive'),
(595, 'successfully_active', 'Successfully active'),
(597, 'embed_code', 'Embed Code'),
(598, 'image_ads', 'Image Ads'),
(599, 'url', 'URL'),
(600, 'add_advertise', 'Add Advertisement'),
(601, 'add_new_advertise', 'Add new advertisement'),
(602, 'add_type', 'Ads Type'),
(603, 'ads_position', 'Ads Position'),
(604, 'add_page', 'Add Page'),
(605, 'ads_position_already_exists', 'Ads position already exists!'),
(606, 'manage_advertise', 'Manage Advertise'),
(607, 'manage_advertise_information', 'Manage advertise information'),
(609, 'update_advertise', 'Update Advertise'),
(610, 'add_block', 'Add Block'),
(611, 'manage_block', 'Manage Block'),
(612, 'block_position', 'Block Position'),
(613, 'block_style', 'Block Style'),
(614, 'block_css', 'Block Css'),
(615, 'add_new_block', 'Add new block'),
(616, 'block', 'Block'),
(617, 'manage_your_block', 'Manage your block'),
(618, 'block_edit', 'Block Edit'),
(619, 'add_product_review', 'Add Product Review'),
(620, 'manage_product_review', 'Manage Product Review'),
(621, 'product_review', 'Product Review'),
(622, 'comments', 'Comments'),
(623, 'reviewer_name', '<NAME>'),
(624, 'product_review_edit', 'Product Review Edit'),
(625, 'add_subscriber', 'Add Subscriber'),
(626, 'add_new_subscriber', 'Add new subscriber'),
(627, 'subscriber', 'Subscriber'),
(628, 'manage_subscriber', 'Manage Subscriber'),
(629, 'manage_your_subscriber', 'Manage your subscriber'),
(630, 'subscriber_update', 'Subscriber Update'),
(631, 'apply_ip', 'Apply IP'),
(632, 'add_wishlist', 'Add Wishlist'),
(633, 'add_new_wishlist', 'Add new wishlist'),
(634, 'wishlist', 'Wishlist'),
(635, 'manage_wishlist', 'Manage Wishlist'),
(636, 'manage_your_wishlist', 'Manage your wishlist'),
(637, 'add_web_footer', 'Add Web Footer'),
(638, 'manage_web_footer', 'Manage Web Footer'),
(639, 'headlines', 'Headlines'),
(640, 'position', 'Position'),
(641, 'add_new_web_footer', 'Add new footer'),
(642, 'web_footer', 'Web Footer'),
(643, 'web_footer_update', 'Web Footer Update'),
(644, 'manage_your_web_footer', 'Manage your web footer.'),
(645, 'add_link_page', 'Add Link Page'),
(646, 'manage_link_page', 'Manage Link Page'),
(647, 'add_new_link_page', 'Add new link page'),
(648, 'link_page_update', 'Link Page Update'),
(649, 'manage_your_link_page', 'Manage your link page'),
(650, 'link_page', 'Link Page'),
(651, 'add_coupon', 'Add Coupon'),
(652, 'manage_coupon', 'Manage Coupon'),
(653, 'coupon_name', 'Coupon Name'),
(654, 'coupon_discount_code', 'Coupon Discount Code'),
(655, 'discount_amount', 'Discount Amount'),
(656, 'discount_percentage', 'Discount Percentage'),
(657, 'coupon', 'Coupon'),
(658, 'add_new_coupon', 'Add new coupon'),
(659, 'discount_type', 'Discount Type'),
(660, 'coupon_update', 'Coupon Update'),
(661, 'manage_your_coupon', 'Manage your coupon'),
(662, 'onsale_price', 'Offer Price'),
(663, 'download_sample_file', 'Download sample file'),
(664, 'quotation', 'Quotation'),
(665, 'new_quotation', 'New Quotation'),
(666, 'manage_quotation', 'Manage Quotation'),
(667, 'add_new_quotation', 'Add new quotation'),
(668, 'quotation_no', 'Quotation No'),
(669, 'manage_your_quotation', 'Manage your quotation'),
(670, 'quotation_update', 'Quotation Update'),
(671, 'quotation_details', 'Quotation Details'),
(672, 'quotation_from', 'Quotation Form'),
(673, 'quotation_date', 'Quotation Date'),
(674, 'quotation_to', 'Quotation To'),
(675, 'invoiced', 'Invoiced'),
(676, 'order', 'Order'),
(677, 'new_order', 'New Order'),
(678, 'manage_order', 'Manage Order'),
(679, 'order_no', 'Order No'),
(680, 'order_date', 'Order Date'),
(681, 'order_to', 'Order To'),
(682, 'order_from', 'Order From'),
(683, 'order_details', 'Order Details'),
(684, 'order_update', 'Order Update'),
(685, 'best_sale', 'Best Sale'),
(686, 'call_us', 'CALL US'),
(687, 'sign_up', 'Sign Up'),
(688, 'contact_us', 'Contact Us'),
(689, 'category_product_not_found', 'Opps !!! product not found !'),
(690, 'sign_up_for_news_and', 'Sign up for news and '),
(691, 'offers', 'Offers'),
(692, 'you_may_unsubscribe_at_any_time', 'You may unsubscribe at any time'),
(693, 'enter_your_email', 'Enter your email.'),
(694, 'product_size', 'Product Size'),
(695, 'product_type', 'Product Type'),
(696, 'availability', 'Availability'),
(697, 'price_of_product', 'Price Of Product'),
(698, 'in_stock', 'In Stock'),
(699, 'related_products', 'Related Products'),
(700, 'review', 'Review'),
(701, 'tag', 'Tag'),
(702, 'specification', 'Specifications'),
(703, 'search_product_name_here', 'Search product name here...'),
(704, 'all_categories', 'All Categories'),
(705, 'best_sales', 'Best Sales'),
(706, 'price_range', 'Price Range'),
(707, 'see_more', 'See More'),
(708, 'add_to_cart', 'Add To Cart'),
(709, 'create_your_account', 'Create Your Account'),
(710, 'create_account', 'Create Account'),
(711, 'you_have_successfully_signup', 'You have successfully sign up.'),
(712, 'you_have_not_sign_up', 'You have not sign up.'),
(713, 'i_have_forgotten_my_password', 'I <PASSWORD> Forgotten My Password'),
(714, 'login_successfully', 'Login Successfully'),
(715, 'you_are_not_authorised', 'You are not authorised Person !'),
(716, 'customer_profile', 'Customer Profile'),
(717, 'total_order', 'Total Order'),
(718, 'add_currency', 'Add Currency'),
(719, 'manage_currency', 'Manage Currency'),
(720, 'add_new_currency', 'Add new currency'),
(721, 'currency_name', 'Currency Name'),
(722, 'currency_icon', 'Currency Icon'),
(723, 'conversion_rate', 'Conversion Rate'),
(724, 'default_status', 'Default Status'),
(725, 'default_store_already_exists', 'Default store already exists !'),
(726, 'currency_edit', 'Currency Edit'),
(727, 'manage_your_currency', 'Manage your currency'),
(728, 'review_this_product', 'Review This Product'),
(729, 'page', 'Page'),
(730, 'delivery_info', 'Delivery Info'),
(731, 'terms_and_condition', 'Terms And Condition'),
(732, 'help', 'Help'),
(733, 'get_in_touch', 'Get In Touch'),
(734, 'write_your_msg_here', 'Write your msg here'),
(736, 'add_about_us', 'Add About Us'),
(737, 'add_new_about_us', 'Add new about us'),
(738, 'manage_about_us', 'Manage About Us'),
(739, 'manage_your_about_us', 'Manage your about us'),
(740, 'about_us_update', 'About Us Update'),
(741, 'position_already_exists', 'Position Already Exists !'),
(742, 'why_choose_us', 'Why Choose US'),
(743, 'our_location', 'Our Location'),
(744, 'add_our_location', 'Add Our Location'),
(745, 'add_new_our_location', 'Add new our location'),
(746, 'manage_our_location', 'Manage Our Location'),
(747, 'our_location_update', 'Our Location Update'),
(748, 'map_api_key', 'Map API Key'),
(749, 'map_latitude', 'Map Latitude'),
(750, 'map_longitude', 'Map Longitude'),
(751, 'checkout_options', 'Checkout Options'),
(752, 'register_account', 'Register Account'),
(753, 'guest_checkout', 'Guest Checkout'),
(754, 'returning_customer', 'Returning Customer'),
(755, 'personal_details', 'Personal Details'),
(756, 'billing_details', 'Billing Details'),
(757, 'delivery_details', 'Delivery Details'),
(758, 'delivery_method', 'Delivery Method'),
(759, 'payment_method', 'Payment Method'),
(760, 'confirm_order', 'Confirm Order'),
(761, 'company', 'Company'),
(762, 'region_state', 'Region / State'),
(763, 'post_code', 'Post Code'),
(764, 'slider', 'Slider'),
(765, 'subscriver', 'Subscriver'),
(766, 'shipping_method', 'Shipping Method'),
(767, 'add_shipping_method', 'Add Shipping Method'),
(768, 'manage_shipping_method', 'Manage Shipping Method'),
(769, 'shipping_method_edit', 'Shipping Method Edit'),
(770, 'bank_transfer', 'Bank Transfer'),
(771, 'cash_on_delivery', 'Cash On Delivery'),
(772, 'sub_total', 'Sub Total'),
(773, 'product_successfully_order', 'Product Successfully Ordered'),
(774, 'checkout', 'Checkout'),
(775, 'share', 'Share'),
(776, 'are_you_sure_want_to_order', 'Are you sure want to order ?'),
(777, 'optional', 'This is optional'),
(778, 'manage_wearhouse_product', 'Manage Wearhouse Product'),
(779, 'you_cant_delete_this_is_in_calculate_system', 'You can\'t delete. This is in calculate system.'),
(780, 'you_can_add_only_one_product_at_a_time', 'You can add only one product at at a time !'),
(781, 'stock_report_store_wise', 'Stock Report (Store Wise)'),
(783, 'invoice_search_item', 'Invoice search item'),
(784, 'default_store', 'Default Store'),
(785, 'total_price', 'Total Price'),
(786, 'use_coupon_code', 'Use coupon code'),
(787, 'enter_your_coupon_here', 'Enter your coupon here'),
(788, 'apply_coupon', 'Apply Coupon'),
(789, 'coupon_code', 'Coupon Code'),
(790, 'cart', 'Cart'),
(791, 'your_coupon_is_used', 'Your coupon is used !'),
(792, 'coupon_is_expired', 'Your coupon is expired !'),
(793, 'coupon_discount', 'Coupon Discount'),
(794, 'oops_your_cart_is_empty', 'OOPS !!! Your Cart is Empty'),
(795, 'got_to_shop_now', 'Go to shop Now'),
(796, 'by_creating_an_account_you_will_able_to_shop_faster', 'By creating an account you will be able to shop faster, be up to date on an order\'s status, and keep track of the orders you have previously made.'),
(797, 'select_category', 'Select Category'),
(798, 'select_state', 'Select State'),
(799, 'my_delivery_and_billing_addresses_are_the_same', 'My delivery and billing addresses are the same.'),
(800, 'i_have_read_and_agree_to_the_privacy_policy', 'I have read and agree to the'),
(801, 'select_country', 'Select Country'),
(802, 'kindly_select_the_preferred_shipping_method_to_use_on_this_order', 'Kindly Select the preferred shipping method to use on this order.'),
(803, 'view_cart', 'View Cart'),
(804, 'category_wise_product', 'Category Wise Product.'),
(805, 'stock_not_available', 'Stock not available !'),
(806, 'print_barcode', 'Print Barcode'),
(807, 'print_qrcode', 'Print QR Code'),
(808, 'product_is_not_available_in_this_store', 'Product is not available in this store !'),
(809, 'category_product_search', 'Category Product Search.'),
(810, 'partial_paid', 'Partial Paid'),
(811, 'manage_product_tax', 'Manage Product Tax'),
(812, 'tax_setting', 'Tax Setting'),
(813, 'tax_name_1', 'Tax 1 Name '),
(814, 'tax_name_2', 'Tax 2 Name'),
(815, 'tax_name_3', 'Tax 3 Name'),
(816, 'quotation_discount', 'Quotation Discount'),
(817, 'select_variant', 'Select Variant'),
(818, 'already_a_member', 'Already a member ?'),
(819, 'not_a_member_yet', 'No a member yet ?'),
(820, 'store_or_wearhouse', 'Store or Wearhouse'),
(821, 'import_category_csv', 'Import Category (CSV)'),
(822, 'import_store_csv', 'Import Store (CSV)'),
(823, 'import_wearhouse_csv', 'Import Wearhouse (CSV)'),
(824, 'image_field_is_required', 'Image field is required !'),
(825, 'email_configuration', 'Email Configuration'),
(826, 'protocol', 'Protocol'),
(827, 'mailtype', 'Mail Type'),
(828, 'smtp_host', 'SMTP Host'),
(829, 'smtp_port', 'SMTP Port'),
(830, 'sender_email', 'Sender Email'),
(831, 'html', 'Html'),
(832, 'text', 'Text'),
(833, 'add_note', 'Add Note'),
(834, 'shipped', 'Shipped'),
(835, 'return', 'Return'),
(836, 'processing', 'Processing'),
(837, 'complete', 'Complete'),
(838, 'pending', 'Pending'),
(839, 'please_add_note', 'Please add note !'),
(840, 'email_send_to_customer', 'Email send to customer'),
(841, 'items_in_your_cart', 'Items In Your Cart.'),
(842, 'you_have', 'You Have'),
(843, 'add_coment_about_your_order', 'Add Comment About Your Order.'),
(844, 'add_coment_about_your_payment', 'Add Comment About Your Order.'),
(845, 'you_have_receive_a_email_please_check_your_email', 'You have received a email.Please check your email.'),
(846, 'invoice_status', 'Invoice Status'),
(847, 'order_information', 'Order Information'),
(848, 'order_info_details', 'Attached below is order. If you have any questions or there are any issues please let us know. Have a great day. '),
(849, 'bank_transfer_instruction', 'Bank Transfer Instruction'),
(850, 'pleasse_transfer_the_total_amount_to_the_following_bank_account', 'Please Transfer The Total Amount To The Following Bank Account.'),
(851, 'account_no', 'Account No'),
(852, 'branch', 'Branch'),
(853, 'add_to_wishlist', 'Add To Wishlist'),
(854, 'quick_view', 'Quick View.'),
(855, 'service_charge', 'Service Charge'),
(856, 'credit_card', 'Credit Card'),
(857, 'debit_card', 'Debit Card'),
(858, 'master_card', 'Master Card'),
(859, 'amex', 'Amex'),
(860, 'visa', 'Visa'),
(861, 'paypal', 'Paypal'),
(862, 'you_cant_delete_this_customer', 'You can\'t delete this customer ! This is in calculating system.'),
(863, 'you_cant_delete_this_supplier', 'You can\'t delete this supplier ! This is in calculating system.'),
(864, 'quotation_information', 'Quotation Information'),
(865, 'quotation_info_details', 'Attached below is quotation. If you have any questions or there are any issues please let us know. Have a great day. '),
(866, 'variant_is_required', 'Variant is required !'),
(867, 'bitcoin', 'Bitcoin'),
(868, 'order_cancel', 'Order cancel'),
(869, 'payeer_payment', 'Payeer Payment'),
(870, 'bitcoin_payment', 'Bitcoin Payment'),
(871, 'customer_id', 'Customer ID'),
(872, 'payeer', 'Payeer'),
(873, 'payment_gateway_setting', 'Payment Gateway Setting'),
(874, 'public_key', 'Public Key'),
(875, 'private_key', 'Private Key'),
(876, 'shop_id', 'Shop ID'),
(877, 'paypal_email', 'Paypal Email'),
(878, 'transaction_faild', 'Transaction Failed !'),
(879, 'footer_logo', 'Footer Logo'),
(880, 'footer_details', 'Footer Details'),
(881, 'default_status_already_exists', 'Default status already exists !'),
(882, 'store_name_already_exists', 'Store name already exists !'),
(883, 'please_set_default_store', 'Please set default store !'),
(884, 'do_you_want_make_it_default_store', 'Do you want make it default store ?'),
(885, 'do_you_want_make_it_default_currency', 'Do you want it default currency ?'),
(886, 'you_must_have_a_default_currency', 'You must have a default currency'),
(887, 'you_cant_delete_this_is_default_currency', 'You cant delete ! This is default currency. '),
(888, 'you_must_have_a_default_store', 'You must have a default sote'),
(889, 'email_not_send', 'Email not send !'),
(890, 'client_id', 'Client ID'),
(891, 'app_qr_code', 'App QR Code'),
(892, 'sms_configuration', 'Sms Configuration'),
(893, 'charset', 'Charset'),
(895, 'port', 'Port'),
(896, 'host', 'Host'),
(897, 'title', 'Title'),
(898, 'gateway', 'Gateway'),
(899, 'smsrank', 'SMS Rank'),
(900, 'sms_pre_text', 'Your Order No '),
(901, 'sms_text', 'has been confirmed '),
(902, 'sms_settings', 'SMS Settings '),
(903, 'sms_template', 'SMS Template'),
(904, 'template_name', 'Template Name'),
(905, 'sms_template_warning', 'please use \"{id}\" format without quotation to set dynamic value inside template. '),
(906, 'qr_status', 'QR Code Status'),
(907, 'pay_with', 'Pay With'),
(908, 'manage_pay_with', 'Manage Pay With'),
(909, 'add_pay_with', 'Add Pay With'),
(910, 'pay_with_edit', 'Pay With Edit'),
(911, 'color_setting_frontend', 'Color Setting Front End'),
(912, 'color1', 'Color 1'),
(913, 'color2', 'Color 2'),
(914, 'color3', 'Color 3'),
(915, 'color_setting_backend', 'Color Setting Backend'),
(916, 'color4', 'Color 4'),
(917, 'forget_password', '<PASSWORD> Password'),
(918, 'send', 'Send'),
(919, 'password_recovery', 'Password Recovery'),
(920, 'color5', 'Color 5'),
(921, 'please_select_product_size', 'Please Select Product Size'),
(922, 'please_keep_quantity_up_to_zero', 'Please Keep Quantity Up To Zero'),
(923, 'product_added_to_cart', 'Product Added To Cart'),
(924, 'not_enough_product_in_stock', 'Not Enough Product In Stock. Please Reduce The Product Quantity.'),
(925, 'please_fill_up_all_required_field', 'Please Fill Up All Required Field'),
(926, 'fe_color1', 'Color1 = header section'),
(927, 'fe_color2', 'Color2 = Dropdown and Footer Section'),
(928, 'fe_color3', 'Color3 = Menu Bar'),
(929, 'be_color1', 'Color1 = Left Bar'),
(930, 'be_color2', 'Color2 = Top And Bottom Bar'),
(931, 'be_color3', 'Color3 = Body Background'),
(932, 'be_color4', 'Color4 = For All Button Except Edit & Delete Button'),
(933, 'be_color5', 'Color5 = Button Font Color Except edit & Delete Button'),
(935, 'sales_report_store_wise', 'Sales Report (Store Wise)'),
(936, 'fe_color4', 'Color4 = Notification, Sign-up button, Rating, Footer text border, Go to top button '),
(937, 'link', 'Link'),
(938, 'userid', 'UserId'),
(939, 'this_email_not_exits', 'This Email Not Exits'),
(940, 'sell', 'Sell'),
(941, 'transfer_quantity', 'Transfer Quantity'),
(942, 'order_completed', 'Your Order Is Completed. '),
(943, 'this_coupon_is_already_used', 'This Coupon Is Already Used'),
(944, 'please_login_first', 'Please Login First'),
(945, 'product_added_to_wishlist', 'Product Added To Wishlist'),
(946, 'product_already_exists_in_wishlist', 'Product Already Exists In Wishlist'),
(947, 'support', 'Support'),
(948, 'add_country_code', 'Please Add Country Code To Use SMS Services '),
(949, 'search_items', 'Items Found For '),
(950, 'variant_not_available', 'This variant is not available'),
(951, 'request_failed', 'Request Failed, Please check and try again!'),
(952, 'write_your_comment', 'Please write your comment.'),
(954, 'your_review_added', 'Your review added.'),
(955, 'already_reviewed', 'Thanks. You already reviewed.'),
(956, 'please_type_email_and_password', 'Please type email and password.'),
(957, 'ordered', 'Ordered '),
(958, 'your_order_has_been_confirm', 'Your order has been confirm.'),
(959, 'receive_quantity', 'Receive Quantity'),
(960, 'receive_from', 'Receive From'),
(961, 'stock_report_order_wise', 'Stock Report Order Wise'),
(962, 'theme_activation', 'Theme Activation'),
(963, 'manage_themes', 'Manage Themes'),
(964, 'upload_new_theme', 'Upload New Theme'),
(965, 'theme_name', 'Theme Name'),
(966, 'upload', 'Upload'),
(967, 'themes', 'Themes'),
(968, 'theme_active_successfully', 'Theme Active successfully.'),
(969, 'theme_uploaded_successfully', 'Theme uploaded successfully.'),
(970, 'there_was_a_problem_with_the_upload', 'There was a problem with the upload. Please try again.'),
(971, 'the_theme_has_not_uploaded', 'The Theme has not uploaded!'),
(972, 'have_a_question', 'Have a question?'),
(973, 'buy_now_promotion', 'Buy Now Promotions'),
(974, 'all_departments', 'All Departments'),
(975, 'best_sale_product', 'Best sale Product'),
(976, 'most_popular_product', 'Most Popular Product'),
(977, 'view_all', 'View All'),
(978, 'view_all', 'View All'),
(979, 'brand_of_the_week', 'Brands of the Week'),
(983, 'download_the_app', 'Download The App'),
(984, 'get_access_to_all_exclusive_offers', 'Get access to all exclusive offers, discounts and deals by download our App !'),
(985, 'select', 'Select'),
(986, 'you_may_alo_be_interested_in', 'You May Also Be Interested In'),
(987, 'rate_it', 'Rate It'),
(988, 'similar_products', 'Similar Products'),
(989, 'subscribe_successfully', 'Subscribe Successfully'),
(991, 'please_enter_email', 'Please Enter Valid Email. '),
(992, 'username_or_email', 'Username or Email'),
(993, 'dont_have_an_account', 'Don\'t have an account? '),
(994, 'already_member', 'Already Member ?'),
(995, 'success', 'Success'),
(996, 'lost_your_password', 'Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.'),
(997, 'reset_password', '<PASSWORD>'),
(998, 'ago', 'ago'),
(999, 'signin', 'Sign In'),
(1000, 'your', 'Your'),
(1001, 'product_remove_from_wishlist', 'Product Remove From Wish list'),
(1002, 'product_not_remove_from_wishlist', 'Product not remove from wish list'),
(1003, 'enter_your_coupon_code_if_you_have_one', 'Enter your coupon code if you have one.'),
(1004, 'cart_total', 'Cart Totals'),
(1005, 'remember_me', 'Remember Me'),
(1006, 'click_here_to_login', 'Click here to login'),
(1007, 'if_you_have_shopped_with_us', 'If you have shopped with us before, please enter your details in the boxes below. If you are a new customer, please proceed to the Billing & Shipping section.'),
(1008, 'billing_address', 'Billing Address'),
(1009, 'create_an_account', 'Create An Account ?'),
(1010, 'create_account_password', 'Create Account Password'),
(1011, 'notes_about_your_order', 'Notes about your order, e.g. special notes for delivery.'),
(1012, 'ship_to_a_different_address', 'Ship to a different address?'),
(1013, 'by_variant', 'By Variant '),
(1014, 'by_brand', 'By Brand'),
(1015, 'rating', 'Rating'),
(1016, 'filter', 'Filter'),
(1017, 'by_price', 'By Price'),
(1018, '5', '5'),
(1019, '4', '4'),
(1020, 'your_email_address_will_not_be_published', 'Your email address will not be published. Required fields are marked *'),
(1021, 'shop_of_the_week', 'Shop Of The Week'),
(1022, 'copyright', 'Copyright © 2018 Bdtask. All Rights Reserved'),
(1023, 'app_link_status', 'App Link Status'),
(1024, 'update_your_software_setting', 'Update Your Software Setting'),
(1025, 'update_color_setting', 'Update Color Setting'),
(1026, 'update_web_color', 'Update Web Color'),
(1027, 'update_dashboard_color', 'Update Dashboard Color'),
(1028, 'update_color', 'Update Color'),
(1029, 'sslcommerz_email', 'SSLCOMMERZ Email'),
(1030, 'store_id', 'Store ID'),
(1031, 'import_database', 'Import Database'),
(1032, 'check_for_update', 'Check For Update'),
(1033, 'software_update', 'Software Update'),
(1034, 'activated', 'Activated'),
(1035, 'back_to_home', 'Back to home'),
(1036, 'in_active', 'In Active'),
(1037, 'january', 'January'),
(1038, 'february', 'February'),
(1039, 'march', 'March'),
(1040, 'january', 'January'),
(1041, 'february', 'February'),
(1042, 'april', 'April'),
(1043, 'may', 'May'),
(1044, 'june', 'June'),
(1045, 'july', 'July'),
(1046, 'august', 'August'),
(1047, 'september', 'September'),
(1048, 'october', 'October'),
(1049, 'november', 'November'),
(1050, 'december', 'December'),
(1051, 'product_image_gallery', 'Product Image Gallery'),
(1052, 'add_product_image', 'Add product image'),
(1053, 'manage_product_image', 'Manage product image'),
(1054, 'sms_service', 'SMS Service '),
(1055, 'google_analytics', 'Google Analytics'),
(1056, 'facebook_messenger', 'Facebook Messenger'),
(1057, 'welcome_back_to_login', 'Welcome Back to Login.'),
(1058, 'application_protocol', 'Application Protocol'),
(1059, 'http', 'HTTP'),
(1060, 'https', 'HTTPS'),
(1061, 'login_with_facebook', 'Login with facebook'),
(1062, 'social_authentication', 'Social Authentication'),
(1063, 'manage_social_media', 'Manage social media'),
(1064, 'social', 'Social'),
(1065, 'app_id', 'App ID'),
(1066, 'app_secret', 'App Secret'),
(1067, 'api_key', 'Api key'),
(1068, 'shipping_charge', 'Shipping Charge'),
(1069, 'stock_report_variant_wise', 'Stock report variant wise'),
(1070, 'purchase', 'Purchase'),
(1071, 'rating_and_reviews', 'Ratings and Reviews'),
(1072, 'average_user_rating', 'Average user rating'),
(1073, 'rating_breakdown', 'Rating breakdown'),
(1074, '100_percent_complete', '100% Complete (success)'),
(1075, '80_percent_complete', '80% Complete (primary)'),
(1076, '60_percent_complete', '60% Complete (info)'),
(1077, '40_percent_complete', '40% Complete (warning)'),
(1078, '20_percent_complete', '20% Complete (danger)'),
(1079, 'default_variant', 'Default variant'),
(1080, 'video_link', 'Video Link'),
(1081, 'send_your_review', 'Send Your Review'),
(1082, 'if_you_have_shopped_with_us_before', 'If you have shopped with us before, please enter your details in the boxes below. If you are a new customer, please proceed to the Billing & Shipping section.'),
(1083, 'your_order', 'Your order'),
(1084, 'free_shipping', 'Free Shipping'),
(1085, 'from_newyork', 'From 345/E NewYork'),
(1086, 'the_internet_tend_to_repeat', 'The internet Tend To Repeat'),
(1087, '45_days_return', '45 Days Return'),
(1088, 'making_it_look_like_readable', 'Making it Look Like Readable'),
(1089, 'opening_all_week', 'Opening All Week'),
(1090, '8am_9pm', '08AM - 09PM'),
(1091, 'ad_style', 'Ads Style'),
(1092, 'style_one', 'Style One'),
(1093, 'style_two', 'Style Two'),
(1094, 'style_three', 'Style Three'),
(1095, 'embed_code2', 'Embed Code2'),
(1096, 'embed_code3', 'Embed Code3'),
(1097, 'url2', 'URL2'),
(1098, 'url3', 'URL3'),
(1099, 'image2', 'Image 2'),
(1100, 'image3', 'Image 3'),
(1101, 'order_now', 'Order Now'),
(1102, 'default_variant_must_have_to_be_one_of_the_variants', 'Default variant must have to be one of the variants'),
(1103, 'default_image', 'Default image'),
(1104, 'meta_keyword', 'Meta keyword'),
(1105, 'meta_description', 'Meta description'),
(1106, 'this_email_already_exists', 'This email already exists'),
(1107, 'you_cant_delete_this_is_default_store', 'You can\'t delete it. This is a default store. '),
(1108, 'already_exists_please_login', 'This Email already exists please login or use another email. '),
(1109, '4-5', '4-5'),
(1110, 'sign_office', 'Sign Office'),
(1111, 'customer_sign', 'Customer Sign'),
(1112, 'thank_you_for_shopping_with_us', 'Thank you for shopping with us.'),
(1113, 'new_sale', 'New sale'),
(1114, 'manage_sale', 'Manage sale'),
(1115, 'pos_sale', 'Pos sale'),
(1116, 'android_apps', 'Android apps'),
(1117, 'update_your_android_apps_link', 'Update your android apps link'),
(1118, 'put_your_apps_link', 'Put your apps link'),
(1119, 'go_to_website', 'Go to website'),
(1120, 'our_demo', 'Our demo'),
(1121, 'note', 'Note'),
(1122, 'login', 'Login'),
(1123, 'email', 'Email Address'),
(1124, 'password', 'Password'),
(1125, 'reset', 'Reset'),
(1126, 'dashboard', 'Dashboard'),
(1127, 'home', 'Home'),
(1128, 'profile', 'Profile'),
(1129, 'profile_setting', 'Profile Setting'),
(1130, 'firstname', 'First Name'),
(1131, 'lastname', 'Last Name'),
(1132, 'about', 'About'),
(1133, 'preview', 'Preview'),
(1134, 'image', 'Image'),
(1135, 'save', 'Save'),
(1136, 'upload_successfully', 'Upload Successfully!'),
(1137, 'user_added_successfully', 'User Added Successfully!'),
(1138, 'please_try_again', 'Please Try Again...'),
(1139, 'inbox_message', 'Inbox Messages'),
(1140, 'sent_message', 'Sent Message'),
(1141, 'message_details', 'Message Details'),
(1142, 'new_message', 'New Message'),
(1143, 'receiver_name', 'Receiver Name'),
(1144, 'sender_name', 'Sender Name'),
(1145, 'subject', 'Subject'),
(1146, 'message', 'Message'),
(1147, 'message_sent', 'Message Sent!'),
(1148, 'ip_address', 'IP Address'),
(1149, 'last_login', 'Last Login'),
(1150, 'last_logout', 'Last Logout'),
(1151, 'status', 'Status'),
(1152, 'delete_successfully', 'Delete Successfully!'),
(1153, 'send', 'Send'),
(1154, 'date', 'Date'),
(1155, 'action', 'Action'),
(1156, 'sl_no', 'SL No.'),
(1157, 'are_you_sure', 'Are You Sure ? '),
(1158, 'application_setting', 'Application Setting'),
(1159, 'application_title', 'Application Title'),
(1160, 'address', 'Address'),
(1161, 'phone', 'Phone'),
(1162, 'favicon', 'Favicon'),
(1163, 'logo', 'Logo'),
(1164, 'language', 'Language'),
(1165, 'left_to_right', 'Left To Right'),
(1166, 'right_to_left', 'Right To Left'),
(1167, 'footer_text', 'Footer Text'),
(1168, 'site_align', 'Application Alignment'),
(1169, 'welcome_back', 'Welcome Back!'),
(1170, 'please_contact_with_admin', 'Please Contact With Admin');
INSERT INTO `language` (`id`, `phrase`, `english`) VALUES
(1171, 'incorrect_email_or_password', 'Incorrect Email/Password'),
(1172, 'select_option', 'Select Option'),
(1173, 'ftp_setting', 'Data Synchronize [FTP Setting]'),
(1174, 'hostname', 'Host Name'),
(1175, 'username', 'Username'),
(1176, 'ftp_port', 'FTP Port'),
(1177, 'ftp_debug', 'FTP Debug'),
(1178, 'project_root', 'Project Root'),
(1179, 'update_successfully', 'Update Successfully'),
(1180, 'save_successfully', 'Save Successfully!'),
(1181, 'delete_successfully', 'Delete Successfully!'),
(1182, 'internet_connection', 'Internet Connection'),
(1183, 'ok', 'Ok'),
(1184, 'not_available', 'Not Available'),
(1185, 'available', 'Available'),
(1186, 'outgoing_file', 'Outgoing File'),
(1187, 'incoming_file', 'Incoming File'),
(1188, 'data_synchronize', 'Data Synchronize'),
(1189, 'unable_to_upload_file_please_check_configuration', 'Unable to upload file! please check configuration'),
(1190, 'please_configure_synchronizer_settings', 'Please configure synchronizer settings'),
(1191, 'download_successfully', 'Download Successfully'),
(1192, 'unable_to_download_file_please_check_configuration', 'Unable to download file! please check configuration'),
(1193, 'data_import_first', 'Data Import First'),
(1194, 'data_import_successfully', 'Data Import Successfully!'),
(1195, 'unable_to_import_data_please_check_config_or_sql_file', 'Unable to import data! please check configuration / SQL file.'),
(1196, 'download_data_from_server', 'Download Data from Server'),
(1197, 'data_import_to_database', 'Data Import To Database'),
(1198, 'data_upload_to_server', 'Data Upload to Server'),
(1199, 'please_wait', 'Please Wait...'),
(1200, 'ooops_something_went_wrong', ' Ooops something went wrong...'),
(1201, 'module_permission_list', 'Module Permission List'),
(1202, 'user_permission', 'User Permission'),
(1203, 'add_module_permission', 'Add Module Permission'),
(1204, 'module_permission_added_successfully', 'Module Permission Added Successfully!'),
(1205, 'update_module_permission', 'Update Module Permission'),
(1206, 'download', 'Download'),
(1207, 'module_name', 'Module Name'),
(1208, 'create', 'Create'),
(1209, 'read', 'Read'),
(1210, 'update', 'Update'),
(1211, 'delete', 'Delete'),
(1212, 'module_list', 'Module List'),
(1213, 'add_module', 'Add Module'),
(1214, 'directory', 'Module Direcotory'),
(1215, 'description', 'Description'),
(1216, 'image_upload_successfully', 'Image Upload Successfully!'),
(1217, 'module_added_successfully', 'Module Added Successfully'),
(1218, 'inactive', 'Inactive'),
(1219, 'active', 'Active'),
(1220, 'user_list', 'User List'),
(1221, 'see_all_message', 'See All Messages'),
(1222, 'setting', 'Setting'),
(1223, 'logout', 'Logout'),
(1224, 'admin', 'Admin'),
(1225, 'add_user', 'Add User'),
(1226, 'user', 'User'),
(1227, 'module', 'Module'),
(1228, 'new', 'New'),
(1229, 'inbox', 'Inbox'),
(1230, 'sent', 'Sent'),
(1231, 'synchronize', 'Synchronize'),
(1232, 'data_synchronizer', 'Data Synchronizer'),
(1233, 'module_permission', 'Module Permission'),
(1234, 'backup_now', 'Backup Now!'),
(1235, 'restore_now', 'Restore Now!'),
(1236, 'backup_and_restore', 'Backup and Restore'),
(1237, 'captcha', 'Captcha Word'),
(1238, 'database_backup', 'Database Backup'),
(1239, 'restore_successfully', 'Restore Successfully'),
(1240, 'backup_successfully', 'Backup Successfully'),
(1241, 'filename', 'File Name'),
(1242, 'file_information', 'File Information'),
(1243, 'size', 'size'),
(1244, 'backup_date', 'Backup Date'),
(1245, 'overwrite', 'Overwrite'),
(1246, 'invalid_file', 'Invalid File!'),
(1247, 'invalid_module', 'Invalid Module'),
(1248, 'remove_successfully', 'Remove Successfully!'),
(1249, 'install', 'Install'),
(1250, 'uninstall', 'Uninstall'),
(1251, 'tables_are_not_available_in_database', 'Tables are not available in database.sql'),
(1252, 'no_tables_are_registered_in_config', 'No tables are registerd in config.php'),
(1253, 'enquiry', 'Enquiry'),
(1254, 'read_unread', 'Read/Unread'),
(1255, 'enquiry_information', 'Enquiry Information'),
(1256, 'user_agent', 'User Agent'),
(1257, 'checked_by', 'Checked By'),
(1258, 'new_enquiry', 'New Enquiry'),
(1259, 'first_name_is_required', 'First name is required'),
(1260, 'last_name_is_required', 'Last name is required'),
(1261, 'mobile_is_required', 'Mobile is required'),
(1262, 'country_is_required', 'Country is required'),
(1263, 'address_is_required', 'Address is required'),
(1264, 'state_is_required', 'State is required'),
(1265, 'failed_try_again', 'Failed! Please try again.'),
(1266, 'failed', 'Failed'),
(1267, 'subscribe_for_news_and', 'Subscribe for news and'),
(1268, 'subscribe', 'Subscribe'),
(1269, 'reviews', 'Reviews'),
(1270, 'feedback', 'Feedback'),
(1271, 'unit_id', 'Unit ID'),
(1272, 'set_default', 'Set default'),
(1273, 'add', 'Add'),
(1274, 'list', 'List'),
(1275, 'invalid_coupon', 'Invalid Coupon'),
(1276, 'login_to_apply_coupon', 'Login to apply coupon'),
(1277, 'great_your_coupon_is_applied', 'Great! Your coupon is applied'),
(1278, 'fe_color5', 'color5=Header Top Bar'),
(1279, 'receiver_email', 'Receiver email'),
(1280, 'modules', 'Modules'),
(1281, 'modules_management', 'Modules Management'),
(1283, 'buy_now', 'Buy now'),
(1284, 'no_theme_available', 'No Theme Available!'),
(1301, 'purchase_key', 'Purchase Key'),
(1302, 'invalid_purchase_key', 'Invalid Purchase Key'),
(1303, 'theme_deleted_successfully', 'Theme Deleted Successfully'),
(1304, 'downloaded_successfully', 'Downloaded Successfully'),
(1305, 'slider_category', 'Slider Category'),
(1306, 'clear_cart', 'Clear Cart'),
(1307, 'continue_shopping', 'Continue Shopping'),
(1308, 'my_cart', 'My Cart'),
(1309, 'favorites', 'Favorites'),
(1310, 'states', 'States'),
(1311, 'manage_states', 'Manage States'),
(1312, 'add_state', 'Add State'),
(1313, 'edit_state', 'Edit State'),
(1314, 'connect_with_us', 'Connect With Us'),
(1315, 'footer_block_1', 'Footer Block 1'),
(1316, 'footer_block_2', 'Footer Block 2'),
(1317, 'footer_block_3', 'Footer Block 3'),
(1318, 'footer_block_4', 'Footer Block 4'),
(1319, 'show', 'Show'),
(1320, 'hide', 'Hide'),
(1321, 'mobile_settings', 'Mobile Settings (For website Footer)'),
(1322, 'social_share', 'Social Share'),
(1323, 'bank', 'Bank'),
(1324, 'order_placed', 'Your order has been successfully placed'),
(1325, 'update_woocommerce_stock', 'Update Woocommerce Stock');
-- --------------------------------------------------------
--
-- Table structure for table `link_page`
--
CREATE TABLE `link_page` (
`link_page_id` varchar(100) NOT NULL,
`page_id` varchar(255) NOT NULL,
`language_id` varchar(255) NOT NULL,
`headlines` text,
`image` text,
`details` text NOT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `link_page`
--
INSERT INTO `link_page` (`link_page_id`, `page_id`, `language_id`, `headlines`, `image`, `details`, `status`) VALUES
('1O7RLB4BQ1HR94K', '3', 'bangla', '', 'my-assets/image/link_page/8f5013440d835b56c55867a9125f0e4c.jpg', '', 1),
('E3XOZ4N7DM8IG4P', '1', 'english', '<p>ABOUT US<br></p>', 'my-assets/image/link_page/2eaa2ed9eee24c9c08feb568d26f54e7.jpg', '<p><span xss=removed>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</span><br></p>', 1),
('PQA7JY6HKXTHW81', '1', 'bangla', '<p><br></p>', 'my-assets/image/link_page/2eaa2ed9eee24c9c08feb568d26f54e7.jpg', '<p><br></p>', 1),
('SCHKM9YIFLEJ7OV', '3', 'english', '<p>Delivery Infomation<br></p>', 'my-assets/image/link_page/8f5013440d835b56c55867a9125f0e4c.jpg', '<p>we are trying to deliver our product very short time<br></p>', 1);
-- --------------------------------------------------------
--
-- Table structure for table `message`
--
CREATE TABLE `message` (
`id` int(11) NOT NULL,
`sender_id` int(11) NOT NULL,
`receiver_id` int(11) NOT NULL,
`subject` varchar(255) NOT NULL,
`message` text NOT NULL,
`datetime` datetime NOT NULL,
`sender_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0=unseen, 1=seen, 2=delete',
`receiver_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0=unseen, 1=seen, 2=delete'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `module`
--
CREATE TABLE `module` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`description` text,
`image` varchar(255) DEFAULT NULL,
`directory` varchar(100) DEFAULT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `module_permission`
--
CREATE TABLE `module_permission` (
`id` int(11) NOT NULL,
`fk_module_id` int(11) NOT NULL,
`fk_user_id` int(11) NOT NULL,
`create` tinyint(1) DEFAULT NULL,
`read` tinyint(1) DEFAULT NULL,
`update` tinyint(1) DEFAULT NULL,
`delete` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `order`
--
CREATE TABLE `order` (
`order_id` varchar(100) NOT NULL,
`customer_id` varchar(100) NOT NULL,
`store_id` varchar(100) NOT NULL,
`user_id` varchar(100) NOT NULL,
`date` varchar(100) NOT NULL,
`total_amount` float NOT NULL,
`order` varchar(255) NOT NULL,
`details` text NOT NULL,
`total_discount` float DEFAULT NULL,
`order_discount` float DEFAULT NULL COMMENT 'total_discount + order_discount',
`service_charge` float DEFAULT NULL,
`paid_amount` float NOT NULL,
`due_amount` float NOT NULL,
`file_path` text NOT NULL,
`coupon` varchar(200) DEFAULT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `order_delivery`
--
CREATE TABLE `order_delivery` (
`order_delivery_id` varchar(255) NOT NULL,
`delivery_id` varchar(255) NOT NULL,
`order_id` varchar(255) NOT NULL,
`details` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `order_delivery`
--
INSERT INTO `order_delivery` (`order_delivery_id`, `delivery_id`, `order_id`, `details`) VALUES
('1LLFUSTXT9DLLBR', '1', '3678BSARV34SES2', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `order_details`
--
CREATE TABLE `order_details` (
`order_details_id` varchar(100) NOT NULL,
`order_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`store_id` varchar(255) NOT NULL,
`quantity` int(8) NOT NULL,
`rate` float NOT NULL,
`supplier_rate` float DEFAULT NULL,
`total_price` float NOT NULL,
`discount` float DEFAULT NULL COMMENT 'discount_total_per_product',
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `order_payment`
--
CREATE TABLE `order_payment` (
`order_payment_id` varchar(255) NOT NULL,
`payment_id` varchar(255) NOT NULL,
`order_id` varchar(255) NOT NULL,
`details` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `order_payment`
--
INSERT INTO `order_payment` (`order_payment_id`, `payment_id`, `order_id`, `details`) VALUES
('ASF7XT2ISFS8SPH', '1', '3678BSARV34SES2', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `order_tax_col_details`
--
CREATE TABLE `order_tax_col_details` (
`order_tax_col_de_id` varchar(100) NOT NULL,
`order_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`tax_id` varchar(100) NOT NULL,
`amount` float NOT NULL,
`date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `order_tax_col_summary`
--
CREATE TABLE `order_tax_col_summary` (
`order_tax_col_id` varchar(100) NOT NULL,
`order_id` varchar(100) NOT NULL,
`tax_id` varchar(100) NOT NULL,
`tax_amount` float NOT NULL,
`date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `our_location`
--
CREATE TABLE `our_location` (
`location_id` int(11) NOT NULL,
`language_id` varchar(255) NOT NULL,
`headline` text NOT NULL,
`details` text NOT NULL,
`position` int(11) NOT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `our_location`
--
INSERT INTO `our_location` (`location_id`, `language_id`, `headline`, `details`, `position`, `status`) VALUES
(1, 'english', 'Head Office Location <br>', '<p>We sell our product all over the world . <br></p>', 1, 1),
(2, 'bangla', '', '', 1, 1),
(3, 'english', '<p>Africa </p>', '<p>our second location at Cameroon in Africa.<br></p>', 2, 1),
(4, 'bangla', '', '', 2, 1);
-- --------------------------------------------------------
--
-- Table structure for table `payeer_payments`
--
CREATE TABLE `payeer_payments` (
`id` int(11) NOT NULL,
`m_operation_id` int(11) NOT NULL,
`m_operation_ps` int(11) NOT NULL,
`m_operation_date` varchar(100) NOT NULL,
`m_operation_pay_date` varchar(100) NOT NULL,
`m_shop` int(11) NOT NULL,
`m_orderid` varchar(300) NOT NULL,
`m_amount` varchar(100) NOT NULL,
`m_curr` varchar(100) NOT NULL,
`m_desc` varchar(300) NOT NULL,
`m_status` varchar(100) NOT NULL,
`m_sign` text NOT NULL,
`lang` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `payment`
--
CREATE TABLE `payment` (
`transection_id` varchar(200) NOT NULL,
`tracing_id` varchar(200) NOT NULL,
`account_id` varchar(200) NOT NULL,
`store_id` varchar(200) NOT NULL,
`user_id` varchar(100) NOT NULL,
`payment_type` varchar(10) NOT NULL,
`date` varchar(100) NOT NULL,
`amount` float NOT NULL,
`description` text NOT NULL,
`status` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `payment_gateway`
--
CREATE TABLE `payment_gateway` (
`id` int(11) NOT NULL,
`used_id` int(11) NOT NULL,
`module_id` varchar(100) DEFAULT NULL,
`agent` varchar(100) NOT NULL,
`public_key` varchar(100) NOT NULL,
`private_key` varchar(100) NOT NULL,
`shop_id` varchar(100) NOT NULL,
`secret_key` varchar(100) NOT NULL,
`paypal_email` varchar(250) DEFAULT NULL,
`paypal_client_id` text,
`currency` text,
`is_live` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=live,0=sandbox',
`image` varchar(255) DEFAULT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `payment_gateway`
--
INSERT INTO `payment_gateway` (`id`, `used_id`, `module_id`, `agent`, `public_key`, `private_key`, `shop_id`, `secret_key`, `paypal_email`, `paypal_client_id`, `currency`, `is_live`, `image`, `status`) VALUES
(1, 3, NULL, 'Bitcoin', '22592AAtNOwwBitcoin77BTCPUBzo4PVkUmYCa2dR770wNNstd', '22592AAtNOwwBitcoin77BTCPRVk7hmp8s3ew6pwgOMgxMq81F', '', '', NULL, NULL, NULL, 1, 'my-assets/image/bitcoin.png', 2),
(2, 4, NULL, 'Payeer', '', '', '514435930', 'JH8LZUHCNrtHhlRW', NULL, NULL, NULL, 1, 'my-assets/image/payeer.png', 2),
(3, 5, NULL, 'Paypal', '', '', '', '', '<EMAIL>', '', 'USD', 0, 'my-assets/image/paypal.png', 1),
(4, 6, NULL, 'sslcommerz\r\n', '', '', 'style5c246d140fefc', 'style5c246d140fefc@ssl', '<EMAIL>', NULL, 'BDT', 0, 'my-assets/image/sslcommerz.png', 1);
-- --------------------------------------------------------
--
-- Table structure for table `payment_history`
--
CREATE TABLE `payment_history` (
`id` int(11) NOT NULL,
`pay_method` varchar(20) DEFAULT NULL,
`used_id` varchar(20) DEFAULT NULL,
`customer_id` varchar(100) DEFAULT NULL,
`order_id` varchar(100) DEFAULT NULL,
`order_no` varchar(30) NOT NULL,
`trans_id` varchar(100) DEFAULT NULL,
`amount` float(10,2) NOT NULL DEFAULT '0.00',
`store_amount` float(10,2) NOT NULL DEFAULT '0.00',
`status` varchar(20) DEFAULT NULL,
`trans_date` varchar(100) DEFAULT NULL,
`currency` varchar(10) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `pay_withs`
--
CREATE TABLE `pay_withs` (
`id` int(11) NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`link` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(4) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `pay_withs`
--
INSERT INTO `pay_withs` (`id`, `title`, `image`, `link`, `status`, `created_at`, `updated_at`) VALUES
(2, 'mastercard', '54e64b679aeba35bb2888d303342b75b.png', 'http://bdtask.com', 0, '2019-01-01 14:39:14', '2021-02-20 11:08:12'),
(5, 'visa', 'ab52aa6b0653710cdd75ce58d2faf7ab.png', 'https://visa.com', 1, '2019-01-02 05:14:38', '2019-03-09 08:04:19'),
(6, 'paypal', '56e595d709a8a4d500b7e893a51acc0c.png', 'https://paypal.com', 1, '2019-01-02 05:24:35', '2019-03-09 08:04:19'),
(7, 'bkash', '15d320188b47f3f8f00866a26dd88403.jpg', 'https://bkash.com', 0, '2018-12-11 07:22:39', '2021-02-20 11:07:03'),
(8, 'rocket', 'dd6425bd07943dcc90698b3d0e81187f.jpeg', 'http://rocket.com', 1, '2019-03-09 08:04:19', '2019-03-09 08:04:19');
-- --------------------------------------------------------
--
-- Table structure for table `product_category`
--
CREATE TABLE `product_category` (
`category_id` varchar(255) NOT NULL,
`parent_category_id` varchar(255) DEFAULT NULL,
`category_name` varchar(255) DEFAULT NULL,
`top_menu` int(11) NOT NULL,
`menu_pos` int(11) NOT NULL,
`cat_image` text NOT NULL,
`cat_favicon` text,
`cat_type` int(11) DEFAULT NULL COMMENT '1=parent,2=sub caregory',
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `product_category`
--
INSERT INTO `product_category` (`category_id`, `parent_category_id`, `category_name`, `top_menu`, `menu_pos`, `cat_image`, `cat_favicon`, `cat_type`, `status`) VALUES
('2M1PKKSX9JMS6WR', 'RPLNBN5OGTQGY99', 'Grammer Books', 0, 3, 'my-assets/image/category/781b35d5a78eece0945be202cb92c8f7.jpg', 'my-assets/image/category/f968ade0d374140fab6a50f1a6e708aa.jpg', 2, 1),
('2ZQO76F6D976HCU', 'R281MGT6YYQ3LCP', 'Electronics Toys', 0, 1, 'my-assets/image/category/ad533a55a4b938decca4c0e7495df9ab.jpg', 'my-assets/image/category/3aafe3ac943c66c46718b14748deeab5.jpg', 2, 1),
('5ST1Y86XKLSN6LS', '', 'sports', 1, 0, 'my-assets/image/category.png', 'my-assets/image/category.png', 1, 1),
('ADXL7ARPEMKH3DI', 'F9GNCBBPCOIEN67', 'Category_7', 0, 7, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 2, 1),
('CSSBW6HW54N62HE', NULL, 'Category_8', 0, 8, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 1, 1),
('F9GNCBBPCOIEN67', '', 'Category_1', 1, 1, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 1, 1),
('MY58TSN15SDZ36E', NULL, 'Category_2', 1, 2, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 1, 1),
('O6YTDGPWCG2ILX3', 'YDU3RFGACXON9T9', 'School bags', 0, 2, 'my-assets/image/category/126ef93f9d6ab6abc0dedc674961738f.jpg', 'my-assets/image/category/5e2d1ede1659f0b8dcad5b37c5416319.jpg', 2, 1),
('OER22ASL88IWCCI', NULL, 'Category_10', 0, 10, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 1, 1),
('QK1RF1L7G5ID28Q', NULL, 'Category_6', 0, 6, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 1, 1),
('R281MGT6YYQ3LCP', '', 'Toys', 0, 1, 'my-assets/image/category/0685773d4dfa4052a59e313a7376f802.jpg', 'my-assets/image/category.png', 1, 1),
('RPLNBN5OGTQGY99', '', 'School Books', 0, 3, 'my-assets/image/category/1c8311104442ab61caf7dd1b77d4198a.jpg', 'my-assets/image/category.png', 1, 1),
('S8UEL9N18YX7481', 'F9GNCBBPCOIEN67', 'Category_9', 0, 9, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 2, 1),
('UJRTM2YY6941UGA', 'F9GNCBBPCOIEN67', 'Category_3', 1, 3, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 2, 1),
('UZ2UQ4PV74K8JK9', 'F9GNCBBPCOIEN67', 'Category_5', 1, 5, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 2, 1),
('WLFACXRF6T3U3UV', NULL, 'Category_4', 1, 4, 'my-assets/image/category/77d14ea6ae1ed219556ece65858f9d57.jpg', 'my-assets/image/category/0c9839f47ecf49664d2f7985be6887e5.png', 1, 1),
('YDU3RFGACXON9T9', '', 'School bags', 0, 2, 'my-assets/image/category/f06ea7dd15b23631a34c941196f6134d.jpg', 'my-assets/image/category/a62b32be03199a590367020a1c95e090.jpg', 1, 1);
-- --------------------------------------------------------
--
-- Table structure for table `product_information`
--
CREATE TABLE `product_information` (
`id` int(11) NOT NULL,
`product_id` varchar(100) NOT NULL,
`supplier_id` varchar(255) NOT NULL,
`category_id` varchar(255) DEFAULT NULL,
`product_name` varchar(255) NOT NULL,
`price` float NOT NULL,
`supplier_price` float DEFAULT NULL,
`unit` varchar(100) DEFAULT NULL,
`product_model` varchar(100) NOT NULL,
`product_details` longtext,
`image_thumb` text,
`brand_id` varchar(255) DEFAULT NULL,
`variants` text,
`default_variant` varchar(255) DEFAULT NULL,
`type` text,
`best_sale` int(11) NOT NULL DEFAULT '0',
`onsale` int(11) NOT NULL DEFAULT '0',
`onsale_price` float DEFAULT NULL,
`invoice_details` text,
`image_large_details` text NOT NULL,
`review` text,
`description` text,
`tag` text,
`specification` text,
`video` varchar(255) DEFAULT NULL,
`status` int(2) DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `product_information`
--
INSERT INTO `product_information` (`id`, `product_id`, `supplier_id`, `category_id`, `product_name`, `price`, `supplier_price`, `unit`, `product_model`, `product_details`, `image_thumb`, `brand_id`, `variants`, `default_variant`, `type`, `best_sale`, `onsale`, `onsale_price`, `invoice_details`, `image_large_details`, `review`, `description`, `tag`, `specification`, `video`, `status`) VALUES
(1, '98366399', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_3', 200, 150, '', 'P3', 'product details', 'my-assets/image/product/thumb/5852af8e1870db74fb43e5234f8cbeb0.jpg', 'W6TGN2N16JUL5XA', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 0, 0, NULL, 'invoice details 1 ', 'my-assets/image/product/5852af8e1870db74fb43e5234f8cbeb0.jpg', 'review1', 'description 1', '', 'spec 1', '', 1),
(2, '25869255', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_4', 300, 250, '', 'P4', 'product details', 'my-assets/image/product/thumb/d8aac1ebd37a1d16e6fcbe0c4a339956.jpg', 'T36ZSIXTRZVPVEM', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 1, 0, 300, 'invoice details 2', 'my-assets/image/product/d8aac1ebd37a1d16e6fcbe0c4a339956.jpg', 'review2', 'description 2', '', 'spec 2', '', 1),
(3, '21473628', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_5', 400, 350, '', 'P5', '', 'my-assets/image/product/thumb/f993579035d7691c3d367ad37bf910d3.jpg', '7XX8FG7MH7FGS87', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 1, 0, NULL, '', 'my-assets/image/product/f993579035d7691c3d367ad37bf910d3.jpg', '', '', '', '', '', 1),
(4, '62572489', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_6', 500, 470, '', 'P6', '', 'my-assets/image/product/thumb/e8d15852cbbde19f38b40309b2d6e0e1.jpg', '1JDEMJYYXH1K7UQ', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 1, 0, NULL, '', 'my-assets/image/product/e8d15852cbbde19f38b40309b2d6e0e1.jpg', '', '', '', '', '', 1),
(5, '11389311', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_7', 600, 570, '', 'P7', '', 'my-assets/image/product/thumb/551f0014e4e6dbf0805455534b0eab36.jpg', '', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 1, 0, NULL, '', 'my-assets/image/product/551f0014e4e6dbf0805455534b0eab36.jpg', '', '', '', '', '', 1),
(6, '77144835', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_8', 200, 150, '', 'P8', '', 'my-assets/image/product/thumb/54490be7219193a7fb07194efcb1aab3.jpg', '', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 1, 0, NULL, '', 'my-assets/image/product/54490be7219193a7fb07194efcb1aab3.jpg', '', '', '', '', '', 1),
(7, '64148874', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_9', 400, 350, '', 'P9', '', 'my-assets/image/product/thumb/2ed8a6979f7bb9d530bb98f6a2e3bbeb.jpg', '', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 0, 0, NULL, '', 'my-assets/image/product/2ed8a6979f7bb9d530bb98f6a2e3bbeb.jpg', '', '', '', '', '', 1),
(8, '16789548', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_10', 500, 450, '', 'P10', '', 'my-assets/image/product/thumb/185c4176d4c6f6fd0f188c0cb89c188d.jpg', '', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 1, 1, 450, '', 'my-assets/image/product/185c4176d4c6f6fd0f188c0cb89c188d.jpg', '', '', '', '', '', 1),
(9, '69428333', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_11', 300, 250, '', 'P11', '', 'my-assets/image/product/thumb/6964e1feeae391db310c5230cff125e2.jpg', '', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 1, 0, NULL, '', 'my-assets/image/product/6964e1feeae391db310c5230cff125e2.jpg', '', '', '', '', '', 1),
(10, '22161617', 'I3JRQQJSJ67GG2ZTEEU1', 'F9GNCBBPCOIEN67', 'Product_12', 100, 80, '', 'P12', '', 'my-assets/image/product/thumb/a66a7502d4d823781de7ec79c025bd63.jpg', '', '3JJRT8TG11VD1FY,DBQD7B1AGBAUZSS,MMYXJ4FWYXAHXPJ', 'DBQD7B1AGBAUZSS', '', 0, 1, 90, '', 'my-assets/image/product/a66a7502d4d823781de7ec79c025bd63.jpg', '', '', '', '', '', 1),
(11, '85299733', 'I3JRQQJSJ67GG2ZTEEU1', '2ZQO76F6D976HCU', 'Electronics Toys', 1000, 800, '', 'Techno Hight Barking, Waging Tail, Walking and Jumping Puppy, Battery Operated Back Flip Jumping Dog', '', 'my-assets/image/product/thumb/49742b91c14c029cef1ac018637bffd9.jpg', '', '3JJRT8TG11VD1FY', '3JJRT8TG11VD1FY', '', 0, 0, NULL, '', 'my-assets/image/product/49742b91c14c029cef1ac018637bffd9.jpg', '', '', '', '', '', 1),
(12, '83997459', 'I3JRQQJSJ67GG2ZTEEU1', '2ZQO76F6D976HCU', 'Webby Walkie Talkie Toy with Range Upto 100 Feet (Multi-Color)', 2000, 1500, '', 'Webby Walkie Talkie Toy with Range Upto 100 Feet (Multi-Color)', '<h2 class=\"a-size-mini a-spacing-none a-color-base s-line-clamp-4\" xss=removed><br></h2>', 'my-assets/image/product/thumb/6e08b9f46860de1c439c05b84f54a334.jpg', '', 'MMYXJ4FWYXAHXPJ', 'MMYXJ4FWYXAHXPJ', '', 0, 0, NULL, '', 'my-assets/image/product/6e08b9f46860de1c439c05b84f54a334.jpg', '', '', '', '', '', 1),
(13, '31277867', 'I3JRQQJSJ67GG2ZTEEU1', '2ZQO76F6D976HCU', 'BVM GROUP Talking Tom Toy for Kids Speaking Robot Cat Repeats What You Say Best Birthday Gift for Boy and Gir', 2000, 1800, '', 'BVM GROUP Talking Tom Toy for Kids Speaking Robot Cat Repeats What You Say Best Birthday Gift for Bo', '', 'my-assets/image/product/thumb/5e09db5a1ca77a498c3b4f1feea487f1.jpg', '', '3JJRT8TG11VD1FY', '3JJRT8TG11VD1FY', '', 0, 0, NULL, '', 'my-assets/image/product/5e09db5a1ca77a498c3b4f1feea487f1.jpg', '', '', '', '', '', 1),
(14, '98875137', 'I3JRQQJSJ67GG2ZTEEU1', '2ZQO76F6D976HCU', 'Sunshine Dancing Robot with 3D Lights and Music, Multi Color', 4000, 3600, '', 'Sunshine Dancing Robot with 3D Lights and Music, Multi Color', '', 'my-assets/image/product/thumb/3d93ce04a71c3c1875cc9e86b72a2aed.jpg', '', '3JJRT8TG11VD1FY', '3JJRT8TG11VD1FY', '', 0, 0, NULL, '', 'my-assets/image/product/3d93ce04a71c3c1875cc9e86b72a2aed.jpg', '', '', '', '', '', 1),
(15, '14472766', 'I3JRQQJSJ67GG2ZTEEU1', 'YDU3RFGACXON9T9', 'DZert Minnie Kids Bags for School 10Ltr Baby/Boys/Girls Velvet Backpack (Pink) by DZert', 2000, 1500, '', 'DZert Minnie Kids Bags for School 10Ltr Baby/Boys/Girls Velvet Backpack (Pink) by DZert', '', 'my-assets/image/product/thumb/ccfcc7d3c05ba6798366af638f8d12ab.jpg', '', 'DBQD7B1AGBAUZSS', 'DBQD7B1AGBAUZSS', '', 0, 0, NULL, '', 'my-assets/image/product/ccfcc7d3c05ba6798366af638f8d12ab.jpg', '', '', '', '', '', 1),
(16, '46415352', 'I3JRQQJSJ67GG2ZTEEU1', 'YDU3RFGACXON9T9', 'Kuber Industries Disney Mickey Mouse 15 inch Polyster School Bag/Backpack for Kids, Red & Black-DISNEY001', 1500, 100, '', 'Kuber Industries Disney Mickey Mouse 15 inch Polyster School Bag/Backpack for Kids, Red & Black-DISN', '', 'my-assets/image/product/thumb/455a7413a6c2b917d8e192a3861308ae.jpg', '', '3JJRT8TG11VD1FY', '3JJRT8TG11VD1FY', '', 0, 0, NULL, '', 'my-assets/image/product/455a7413a6c2b917d8e192a3861308ae.jpg', '', '', '', '', '', 1),
(17, '99467578', 'I3JRQQJSJ67GG2ZTEEU1', 'RPLNBN5OGTQGY99', 'ACE ENGLISH GRAMMER AND COMPOSITION CLASS 6 ORIENT BLACKSWAN', 300, 280, '', '1', '', 'my-assets/image/product/thumb/981f2b32b22c1f5f0d331dd02a51804f.jpg', '', 'PWB7EHUPWMGWS56', 'PWB7EHUPWMGWS56', '', 0, 0, NULL, '', 'my-assets/image/product/981f2b32b22c1f5f0d331dd02a51804f.jpg', '', '', '', '', '', 1),
(18, '79718542', 'I3JRQQJSJ67GG2ZTEEU1', 'RPLNBN5OGTQGY99', 'Mathematics Olympiad For Class 2nd Paperback', 500, 480, '', 'Mathematics Olympiad For Class 2nd Paperback', '', 'my-assets/image/product/thumb/0a945b7326595a07b91385941448590f.jpg', '', 'PWB7EHUPWMGWS56', 'PWB7EHUPWMGWS56', '', 0, 0, NULL, '', 'my-assets/image/product/0a945b7326595a07b91385941448590f.jpg', '', '', '', '', '', 1);
-- --------------------------------------------------------
--
-- Table structure for table `product_purchase`
--
CREATE TABLE `product_purchase` (
`purchase_id` varchar(100) NOT NULL,
`invoice_no` varchar(100) NOT NULL,
`supplier_id` varchar(100) NOT NULL,
`store_id` varchar(255) DEFAULT NULL,
`wearhouse_id` varchar(255) DEFAULT NULL,
`grand_total_amount` float NOT NULL,
`purchase_date` varchar(50) NOT NULL,
`purchase_details` text NOT NULL,
`user_id` varchar(100) NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `product_purchase`
--
INSERT INTO `product_purchase` (`purchase_id`, `invoice_no`, `supplier_id`, `store_id`, `wearhouse_id`, `grand_total_amount`, `purchase_date`, `purchase_details`, `user_id`, `status`) VALUES
('MXFA4S9NF2ZBTBU', '55645', 'I3JRQQJSJ67GG2ZTEEU1', '3384CTWDU7QZFRO', '', 3095000, '09-07-2020', '', '1', 1);
-- --------------------------------------------------------
--
-- Table structure for table `product_purchase_details`
--
CREATE TABLE `product_purchase_details` (
`purchase_detail_id` varchar(100) NOT NULL,
`purchase_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`store_id` varchar(100) DEFAULT NULL,
`wearhouse_id` varchar(100) DEFAULT NULL,
`quantity` int(11) NOT NULL,
`rate` float NOT NULL,
`total_amount` float NOT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `product_purchase_details`
--
INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `variant_id`, `store_id`, `wearhouse_id`, `quantity`, `rate`, `total_amount`, `status`) VALUES
('3BGI4G96X7WQ98B', 'MXFA4S9NF2ZBTBU', '98366399', 'MMYXJ4FWYXAHXPJ', '3384CTWDU7QZFRO', '', 500, 150, 75000, 1),
('596M7OPVOZROOK5', 'MXFA4S9NF2ZBTBU', '21473628', 'MMYXJ4FWYXAHXPJ', '3384CTWDU7QZFRO', '', 500, 350, 175000, 1),
('793KMUTRWEZPCAP', 'MXFA4S9NF2ZBTBU', '69428333', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 250, 125000, 1),
('7TDPCUNP786LLDT', 'MXFA4S9NF2ZBTBU', '22161617', '3JJRT8TG11VD1FY', '3384CTWDU7QZFRO', '', 500, 80, 40000, 1),
('93JHENEWX6YDXOK', 'MXFA4S9NF2ZBTBU', '64148874', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 350, 175000, 1),
('9GVJOWZCFT7XOO6', 'MXFA4S9NF2ZBTBU', '62572489', 'MMYXJ4FWYXAHXPJ', '3384CTWDU7QZFRO', '', 500, 470, 235000, 1),
('9R1ZMP565QNSAJK', 'MXFA4S9NF2ZBTBU', '77144835', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 150, 75000, 1),
('ADL4831DBGYIA23', 'MXFA4S9NF2ZBTBU', '16789548', '3JJRT8TG11VD1FY', '3384CTWDU7QZFRO', '', 500, 450, 225000, 1),
('BJ71YICNI1737MG', 'MXFA4S9NF2ZBTBU', '21473628', '3JJRT8TG11VD1FY', '3384CTWDU7QZFRO', '', 500, 350, 175000, 1),
('CTJ7BN2ST8I5AVP', 'MXFA4S9NF2ZBTBU', '22161617', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 80, 40000, 1),
('EPXAPBTX5WB2YAS', 'MXFA4S9NF2ZBTBU', '16789548', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 450, 225000, 1),
('EU7KT42SKHD18PW', 'MXFA4S9NF2ZBTBU', '62572489', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 470, 235000, 1),
('IB5MPP93KOKNQIP', 'MXFA4S9NF2ZBTBU', '98366399', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 150, 75000, 1),
('MUUAXNXR8OBPXF7', 'MXFA4S9NF2ZBTBU', '11389311', '3JJRT8TG11VD1FY', '3384CTWDU7QZFRO', '', 500, 570, 285000, 1),
('O3832XANWST7QNM', 'MXFA4S9NF2ZBTBU', '77144835', '3JJRT8TG11VD1FY', '3384CTWDU7QZFRO', '', 500, 150, 75000, 1),
('ONE1TEFZ75A1IMC', 'MXFA4S9NF2ZBTBU', '98366399', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 150, 75000, 1),
('SDHRW3IE7Q61768', 'MXFA4S9NF2ZBTBU', '69428333', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 250, 125000, 1),
('U84HUCEBZW1D8GT', 'MXFA4S9NF2ZBTBU', '64148874', '3JJRT8TG11VD1FY', '3384CTWDU7QZFRO', '', 500, 350, 175000, 1),
('VO7DCWMGNI979NM', 'MXFA4S9NF2ZBTBU', '11389311', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 570, 285000, 1),
('WDP9RT7ZLN35ATO', 'MXFA4S9NF2ZBTBU', '25869255', 'DBQD7B1AGBAUZSS', '3384CTWDU7QZFRO', '', 500, 250, 125000, 1),
('WQBXB1WZUP8GX8T', 'MXFA4S9NF2ZBTBU', '98366399', '3JJRT8TG11VD1FY', '3384CTWDU7QZFRO', '', 500, 150, 75000, 1);
-- --------------------------------------------------------
--
-- Table structure for table `product_review`
--
CREATE TABLE `product_review` (
`product_review_id` varchar(100) NOT NULL,
`product_id` int(11) DEFAULT NULL,
`reviewer_id` varchar(255) DEFAULT NULL,
`comments` text,
`rate` varchar(100) DEFAULT NULL,
`date_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `quotation`
--
CREATE TABLE `quotation` (
`quotation_id` varchar(100) NOT NULL,
`customer_id` varchar(100) NOT NULL,
`store_id` varchar(100) NOT NULL,
`user_id` varchar(100) NOT NULL,
`date` varchar(100) NOT NULL,
`total_amount` float NOT NULL,
`quotation` varchar(255) NOT NULL,
`details` text NOT NULL,
`total_discount` float DEFAULT NULL,
`quotation_discount` float NOT NULL COMMENT 'total_discount + quotation_discount',
`service_charge` float DEFAULT NULL,
`paid_amount` float NOT NULL,
`due_amount` float NOT NULL,
`file_path` text,
`status` int(2) NOT NULL COMMENT '1=not_invoice,2=invoiced'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `quotation_details`
--
CREATE TABLE `quotation_details` (
`quotation_details_id` varchar(100) NOT NULL,
`quotation_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`store_id` varchar(100) NOT NULL,
`quantity` int(8) NOT NULL,
`rate` float NOT NULL,
`supplier_rate` float DEFAULT NULL,
`total_price` float NOT NULL,
`discount` float DEFAULT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `quotation_tax_col_details`
--
CREATE TABLE `quotation_tax_col_details` (
`quot_tax_col_de_id` varchar(100) NOT NULL,
`quotation_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`tax_id` varchar(100) NOT NULL,
`amount` float NOT NULL,
`date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `quotation_tax_col_summary`
--
CREATE TABLE `quotation_tax_col_summary` (
`quot_tax_col_id` varchar(100) NOT NULL,
`quotation_id` varchar(100) NOT NULL,
`tax_id` varchar(100) NOT NULL,
`tax_amount` float NOT NULL,
`date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `received`
--
CREATE TABLE `received` (
`transection_id` varchar(200) NOT NULL,
`customer_id` varchar(200) NOT NULL,
`account_id` varchar(200) NOT NULL,
`store_id` varchar(200) NOT NULL,
`user_id` varchar(100) NOT NULL,
`payment_type` varchar(100) NOT NULL,
`date` varchar(100) NOT NULL,
`amount` float NOT NULL,
`description` text NOT NULL,
`status` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `setting`
--
CREATE TABLE `setting` (
`id` int(11) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`address` text,
`email` varchar(50) DEFAULT NULL,
`phone` varchar(20) DEFAULT NULL,
`logo` varchar(50) DEFAULT NULL,
`favicon` varchar(100) DEFAULT NULL,
`language` varchar(100) DEFAULT NULL,
`site_align` varchar(50) DEFAULT NULL,
`footer_text` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `setting`
--
INSERT INTO `setting` (`id`, `title`, `address`, `email`, `phone`, `logo`, `favicon`, `language`, `site_align`, `footer_text`) VALUES
(2, 'Dynamic Admin Panel', '98 Green Road, Farmgate, Dhaka-1215.', '<EMAIL>', '0123456789', 'assets/img/icons/logo.png', 'assets/img/icons/m.png', 'english', 'LTR', '2017©Copyright');
-- --------------------------------------------------------
--
-- Table structure for table `shipping_info`
--
CREATE TABLE `shipping_info` (
`shiping_info_id` int(100) NOT NULL,
`customer_id` varchar(100) NOT NULL,
`order_id` varchar(255) NOT NULL,
`customer_name` varchar(255) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`customer_short_address` text NOT NULL,
`customer_address_1` text NOT NULL,
`customer_address_2` text NOT NULL,
`customer_mobile` varchar(255) NOT NULL,
`customer_email` varchar(255) NOT NULL,
`city` varchar(100) NOT NULL,
`state` varchar(100) NOT NULL,
`country` varchar(100) NOT NULL,
`zip` varchar(100) NOT NULL,
`company` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `shipping_info`
--
INSERT INTO `shipping_info` (`shiping_info_id`, `customer_id`, `order_id`, `customer_name`, `first_name`, `last_name`, `customer_short_address`, `customer_address_1`, `customer_address_2`, `customer_mobile`, `customer_email`, `city`, `state`, `country`, `zip`, `company`) VALUES
(1, 'I1QWPK34FVMWOJY', '3678BSARV34SES2', 'aaaaaa bbbbb', 'aaaaaa', 'bbbbb', 'dhaka,Dhaka,Bangladesh,', '45435', '23423', '11212', '<EMAIL>', 'dhaka', 'Dhaka', '18', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `shipping_method`
--
CREATE TABLE `shipping_method` (
`method_id` int(11) NOT NULL,
`method_name` varchar(255) NOT NULL,
`details` text NOT NULL,
`charge_amount` float NOT NULL,
`position` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `shipping_method`
--
INSERT INTO `shipping_method` (`method_id`, `method_name`, `details`, `charge_amount`, `position`) VALUES
(1, 'Inside the city', '', 0, 1),
(2, 'Outside the city', '', 0, 2);
-- --------------------------------------------------------
--
-- Table structure for table `slider`
--
CREATE TABLE `slider` (
`slider_id` varchar(100) NOT NULL,
`slider_link` varchar(255) NOT NULL,
`slider_image` varchar(255) NOT NULL,
`slider_category` varchar(255) DEFAULT NULL,
`slider_position` int(11) NOT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `slider`
--
INSERT INTO `slider` (`slider_id`, `slider_link`, `slider_image`, `slider_category`, `slider_position`, `status`) VALUES
('DLHEPY7IUPOJKAD', 'https://demo453464315.com', 'my-assets/image/slider/ca47da198e25a27b6c7c0d37eb9fba82.jpg', '', 1, 1),
('T17X8HSQ8W8MYG1', 'https://demo453464315.com', 'my-assets/image/slider/4d4a2f55be2c0f046cb281aefb68f629.jpg', '', 2, 1),
('ZFTN9GODSNWAN7Q', 'https://demo453464315.com', 'my-assets/image/slider/aaf9b565ecadcb2a20cadd736baaa4a3.jpg', '', 3, 1);
-- --------------------------------------------------------
--
-- Table structure for table `sms_configuration`
--
CREATE TABLE `sms_configuration` (
`id` int(11) NOT NULL,
`gateway` varchar(255) NOT NULL,
`user_name` varchar(100) NOT NULL,
`userid` varchar(100) NOT NULL,
`password` varchar(255) NOT NULL,
`status` tinyint(4) NOT NULL,
`link` varchar(255) NOT NULL,
`sms_from` varchar(100) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `sms_configuration`
--
INSERT INTO `sms_configuration` (`id`, `gateway`, `user_name`, `userid`, `password`, `status`, `link`, `sms_from`, `created_at`, `updated_at`) VALUES
(2, 'nexmo', '<PASSWORD>', '', 'SYCgDWZGgF8IDzx5', 0, 'https://www.nexmo.com/', 'isshue', '2020-08-23 07:46:20', '2018-12-10 19:00:00'),
(3, 'budgetsms', 'user1', '21547', '<PASSWORD>', 1, 'https://www.budgetsms.net/', 'budgetsms', '2020-08-23 07:46:28', '2018-12-10 19:00:00');
-- --------------------------------------------------------
--
-- Table structure for table `sms_template`
--
CREATE TABLE `sms_template` (
`id` int(11) NOT NULL,
`template_name` varchar(255) NOT NULL,
`message` varchar(255) NOT NULL,
`type` varchar(255) NOT NULL,
`status` tinyint(4) NOT NULL DEFAULT '1',
`default_status` tinyint(4) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `sms_template`
--
INSERT INTO `sms_template` (`id`, `template_name`, `message`, `type`, `status`, `default_status`, `created_at`, `updated_at`) VALUES
(1, 'one', 'your registration is complete', 'Registration', 1, 1, '2020-08-23 07:58:41', '2020-08-23 13:58:53'),
(2, 'two', 'your order {id} is completed', 'Order', 1, 1, '2020-08-23 07:58:45', '2020-08-23 13:58:53'),
(3, 'three', 'your order {id} is processing', 'Processing', 1, 1, '2020-08-23 07:58:48', '2020-08-23 13:58:53'),
(5, 'four', 'your order {id} is shipped', 'Shipped', 1, 1, '2020-08-23 07:58:53', '2020-08-23 13:58:53');
-- --------------------------------------------------------
--
-- Table structure for table `social_auth`
--
CREATE TABLE `social_auth` (
`id` int(11) NOT NULL,
`name` text,
`app_id` text,
`app_secret` text,
`api_key` text,
`status` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `soft_setting`
--
CREATE TABLE `soft_setting` (
`setting_id` int(11) NOT NULL,
`logo` varchar(255) DEFAULT NULL,
`invoice_logo` varchar(255) DEFAULT NULL,
`favicon` varchar(255) DEFAULT NULL,
`footer_text` varchar(255) DEFAULT NULL,
`country_id` int(11) NOT NULL,
`language` varchar(255) DEFAULT NULL,
`rtr` varchar(255) DEFAULT NULL,
`captcha` int(11) DEFAULT '1' COMMENT '0=active,1=inactive',
`site_key` varchar(250) DEFAULT NULL,
`secret_key` varchar(250) DEFAULT NULL,
`sms_service` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `soft_setting`
--
INSERT INTO `soft_setting` (`setting_id`, `logo`, `invoice_logo`, `favicon`, `footer_text`, `country_id`, `language`, `rtr`, `captcha`, `site_key`, `secret_key`, `sms_service`) VALUES
(1, 'my-assets/image/logo/8e63ede7099672f001cce46227fa9f0f.jpg', 'my-assets/image/logo/741c52cec57ad2b99d8587078eeda601.jpg', 'my-assets/image/logo/a18f82c4753cdb4c557632a9b672881d.jpg', 'Developed by Magnetontech', 101, 'english', '0', 1, '', '', 0);
-- --------------------------------------------------------
--
-- Table structure for table `states`
--
CREATE TABLE `states` (
`id` int(11) NOT NULL,
`name` varchar(30) NOT NULL,
`country_id` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `states`
--
INSERT INTO `states` (`id`, `name`, `country_id`) VALUES
(1, 'Andaman and Nicobar Islands', 101),
(2, 'Andhra Pradesh', 101),
(3, 'Arunachal Pradesh', 101),
(4, 'Assam', 101),
(5, 'Bihar', 101),
(6, 'Chandigarh', 101),
(7, 'Chhattisgarh', 101),
(8, 'Dadra and <NAME>', 101),
(9, '<NAME>', 101),
(10, 'Delhi', 101),
(11, 'Goa', 101),
(12, 'Gujarat', 101),
(13, 'Haryana', 101),
(14, '<NAME>', 101),
(15, '<NAME> Kashmir', 101),
(16, 'Jharkhand', 101),
(17, 'Karnataka', 101),
(18, 'Kenmore', 101),
(19, 'Kerala', 101),
(20, 'Lakshadweep', 101),
(21, '<NAME>', 101),
(22, 'Maharashtra', 101),
(23, 'Manipur', 101),
(24, 'Meghalaya', 101),
(25, 'Mizoram', 101),
(26, 'Nagaland', 101),
(27, 'Narora', 101),
(28, 'Natwar', 101),
(29, 'Odisha', 101),
(30, '<NAME>', 101),
(31, 'Pondicherry', 101),
(32, 'Punjab', 101),
(33, 'Rajasthan', 101),
(34, 'Sikkim', 101),
(35, '<NAME>', 101),
(36, 'Telangana', 101),
(37, 'Tripura', 101),
(38, '<NAME>', 101),
(39, 'Uttarakhand', 101),
(40, 'Vaishali', 101),
(41, '<NAME>engal', 101),
(42, 'Badakhshan', 1),
(43, 'Badgis', 1),
(44, 'Baglan', 1),
(45, 'Balkh', 1),
(46, 'Bamiyan', 1),
(47, 'Farah', 1),
(48, 'Faryab', 1),
(49, 'Gawr', 1),
(50, 'Gazni', 1),
(51, 'Herat', 1),
(52, 'Hilmand', 1),
(53, 'Jawzjan', 1),
(54, 'Kabul', 1),
(55, 'Kapisa', 1),
(56, 'Khawst', 1),
(57, 'Kunar', 1),
(58, 'Lagman', 1),
(59, 'Lawghar', 1),
(60, 'Nangarhar', 1),
(61, 'Nimruz', 1),
(62, 'Nuristan', 1),
(63, 'Paktika', 1),
(64, 'Paktiya', 1),
(65, 'Parwan', 1),
(66, 'Qandahar', 1),
(67, 'Qunduz', 1),
(68, 'Samangan', 1),
(69, '<NAME>', 1),
(70, 'Takhar', 1),
(71, 'Uruzgan', 1),
(72, 'Wardag', 1),
(73, 'Zabul', 1),
(74, 'Berat', 2),
(75, 'Bulqize', 2),
(76, 'Delvine', 2),
(77, 'Devoll', 2),
(78, 'Dibre', 2),
(79, 'Durres', 2),
(80, 'Elbasan', 2),
(81, 'Fier', 2),
(82, 'Gjirokaster', 2),
(83, 'Gramsh', 2),
(84, 'Has', 2),
(85, 'Kavaje', 2),
(86, 'Kolonje', 2),
(87, 'Korce', 2),
(88, 'Kruje', 2),
(89, 'Kucove', 2),
(90, 'Kukes', 2),
(91, 'Kurbin', 2),
(92, 'Lezhe', 2),
(93, 'Librazhd', 2),
(94, 'Lushnje', 2),
(95, 'Mallakaster', 2),
(96, '<NAME>', 2),
(97, 'Mat', 2),
(98, 'Mirdite', 2),
(99, 'Peqin', 2),
(100, 'Permet', 2),
(101, 'Pogradec', 2),
(102, 'Puke', 2),
(103, 'Sarande', 2),
(104, 'Shkoder', 2),
(105, 'Skrapar', 2),
(106, 'Tepelene', 2),
(107, 'Tirane', 2),
(108, 'Tropoje', 2),
(109, 'Vlore', 2),
(110, '<NAME>', 3),
(111, '<NAME>', 3),
(112, 'Adrar', 3),
(113, 'Algiers', 3),
(114, 'Annabah', 3),
(115, 'Bashshar', 3),
(116, 'Batnah', 3),
(117, 'Bijayah', 3),
(118, 'Biskrah', 3),
(119, 'Blidah', 3),
(120, 'Buirah', 3),
(121, 'Bumardas', 3),
(122, '<NAME>', 3),
(123, 'Ghalizan', 3),
(124, 'Ghardayah', 3),
(125, 'Ilizi', 3),
(126, 'Jijili', 3),
(127, 'Jilfah', 3),
(128, 'Khanshalah', 3),
(129, 'Masilah', 3),
(130, 'Midyah', 3),
(131, 'Milah', 3),
(132, 'Muaskar', 3),
(133, 'Mustaghanam', 3),
(134, 'Naama', 3),
(135, 'Oran', 3),
(136, 'Ouargla', 3),
(137, 'Qalmah', 3),
(138, 'Qustantinah', 3),
(139, 'Sakikdah', 3),
(140, 'Satif', 3),
(141, 'Sayda\'', 3),
(142, '<NAME>-al-\'Abbas', 3),
(143, '<NAME>', 3),
(144, 'Tamanghasat', 3),
(145, 'Tibazah', 3),
(146, 'Tibissah', 3),
(147, 'Tilimsan', 3),
(148, 'Tinduf', 3),
(149, 'Tisamsilt', 3),
(150, 'Tiyarat', 3),
(151, '<NAME>', 3),
(152, 'Umm-al-Bawaghi', 3),
(153, 'Wahran', 3),
(154, 'Warqla', 3),
(155, '<NAME>', 3),
(156, '<NAME>', 3),
(157, '<NAME>', 3),
(158, 'al-Aghwat', 3),
(159, 'al-Bayadh', 3),
(160, 'al-Jaza\'ir', 3),
(161, 'al-Wad', 3),
(162, 'ash-Shalif', 3),
(163, 'at-Tarif', 3),
(164, 'Eastern', 4),
(165, 'Manu\'a', 4),
(166, '<NAME>', 4),
(167, 'Western', 4),
(168, '<NAME>', 5),
(169, 'Canillo', 5),
(170, 'Encamp', 5),
(171, '<NAME>', 5),
(172, '<NAME>', 5),
(173, 'Ordino', 5),
(174, '<NAME>', 5),
(175, 'Bengo', 6),
(176, 'Benguela', 6),
(177, 'Bie', 6),
(178, 'Cabinda', 6),
(179, 'Cunene', 6),
(180, 'Huambo', 6),
(181, 'Huila', 6),
(182, 'Kuando-Kubango', 6),
(183, '<NAME>', 6),
(184, '<NAME>', 6),
(185, 'Luanda', 6),
(186, '<NAME>', 6),
(187, '<NAME>', 6),
(188, 'Malanje', 6),
(189, 'Moxico', 6),
(190, 'Namibe', 6),
(191, 'Uige', 6),
(192, 'Zaire', 6),
(193, 'Other Provinces', 7),
(194, 'Sector claimed by Argentina/Ch', 8),
(195, 'Sector claimed by Argentina/UK', 8),
(196, 'Sector claimed by Australia', 8),
(197, 'Sector claimed by France', 8),
(198, 'Sector claimed by New Zealand', 8),
(199, 'Sector claimed by Norway', 8),
(200, 'Unclaimed Sector', 8),
(201, 'Barbuda', 9),
(202, '<NAME>', 9),
(203, '<NAME>', 9),
(204, '<NAME>', 9),
(205, '<NAME>', 9),
(206, '<NAME>', 9),
(207, '<NAME>', 9),
(208, '<NAME>', 10),
(209, 'Catamarca', 10),
(210, 'Chaco', 10),
(211, 'Chubut', 10),
(212, 'Cordoba', 10),
(213, 'Corrientes', 10),
(214, 'Distrito Federal', 10),
(215, 'Entre Rios', 10),
(216, 'Formosa', 10),
(217, 'Jujuy', 10),
(218, '<NAME>', 10),
(219, '<NAME>', 10),
(220, 'Mendoza', 10),
(221, 'Misiones', 10),
(222, 'Neuquen', 10),
(223, '<NAME>', 10),
(224, 'Salta', 10),
(225, '<NAME>', 10),
(226, '<NAME>', 10),
(227, '<NAME>', 10),
(228, '<NAME>', 10),
(229, '<NAME>', 10),
(230, 'Tierra del Fuego', 10),
(231, 'Tucuman', 10),
(232, 'Aragatsotn', 11),
(233, 'Ararat', 11),
(234, 'Armavir', 11),
(235, 'Gegharkunik', 11),
(236, 'Kotaik', 11),
(237, 'Lori', 11),
(238, 'Shirak', 11),
(239, 'Stepanakert', 11),
(240, 'Syunik', 11),
(241, 'Tavush', 11),
(242, '<NAME>', 11),
(243, 'Yerevan', 11),
(244, 'Aruba', 12),
(245, 'Auckland', 13),
(246, 'Australian Capital Territory', 13),
(247, 'Balgowlah', 13),
(248, 'Balmain', 13),
(249, 'Bankstown', 13),
(250, '<NAME>', 13),
(251, '<NAME>', 13),
(252, 'Camberwell', 13),
(253, '<NAME>', 13),
(254, '<NAME>', 13),
(255, 'Caulfield', 13),
(256, 'Chatswood', 13),
(257, 'Cheltenham', 13),
(258, 'Cherrybrook', 13),
(259, 'Clayton', 13),
(260, 'Collingwood', 13),
(261, '<NAME>', 13),
(262, 'Hawthorn', 13),
(263, 'Jannnali', 13),
(264, 'Knoxfield', 13),
(265, 'Melbourne', 13),
(266, 'New South Wales', 13),
(267, 'Northern Territory', 13),
(268, 'Perth', 13),
(269, 'Queensland', 13),
(270, 'South Australia', 13),
(271, 'Tasmania', 13),
(272, 'Templestowe', 13),
(273, 'Victoria', 13),
(274, 'Werribee south', 13),
(275, 'Western Australia', 13),
(276, 'Wheeler', 13),
(277, '<NAME>', 14),
(278, '<NAME>', 14),
(279, '<NAME>', 14),
(280, 'Burgenland', 14),
(281, 'Carinthia', 14),
(282, 'Karnten', 14),
(283, 'Liezen', 14),
(284, 'Lower Austria', 14),
(285, 'Niederosterreich', 14),
(286, 'Oberosterreich', 14),
(287, 'Salzburg', 14),
(288, 'Schleswig-Holstein', 14),
(289, 'Steiermark', 14),
(290, 'Styria', 14),
(291, 'Tirol', 14),
(292, 'Upper Austria', 14),
(293, 'Vorarlberg', 14),
(294, 'Wien', 14),
(295, 'Abseron', 15),
(296, '<NAME>', 15),
(297, 'Ganca', 15),
(298, 'Ganja', 15),
(299, 'Kalbacar', 15),
(300, 'Lankaran', 15),
(301, 'Mil-Qarabax', 15),
(302, 'Mugan-Salyan', 15),
(303, 'Nagorni-Qarabax', 15),
(304, 'Naxcivan', 15),
(305, 'Priaraks', 15),
(306, 'Qazax', 15),
(307, 'Saki', 15),
(308, 'Sirvan', 15),
(309, 'Xacmaz', 15),
(310, 'Abaco', 16),
(311, '<NAME>', 16),
(312, 'Andros', 16),
(313, '<NAME>', 16),
(314, 'Biminis', 16),
(315, 'Cat Island', 16),
(316, 'Crooked Island', 16),
(317, 'Eleuthera', 16),
(318, 'Exuma and Cays', 16),
(319, 'Grand Bahama', 16),
(320, 'Inagua Islands', 16),
(321, 'Long Island', 16),
(322, 'Mayaguana', 16),
(323, 'New Providence', 16),
(324, 'Ragged Island', 16),
(325, 'Rum Cay', 16),
(326, 'San Salvador', 16),
(327, '\'Isa', 17),
(328, 'Badiyah', 17),
(329, 'Hidd', 17),
(330, '<NAME>', 17),
(331, 'Mahama', 17),
(332, 'Manama', 17),
(333, 'Sitrah', 17),
(334, 'al-Manamah', 17),
(335, 'al-Muharraq', 17),
(336, 'ar-Rifa\'a', 17),
(337, '<NAME>', 18),
(338, 'Bandarban', 18),
(339, 'Barguna', 18),
(340, 'Barisal', 18),
(341, 'Bhola', 18),
(342, 'Bogora', 18),
(343, '<NAME>', 18),
(344, 'Chandpur', 18),
(345, 'Chattagam', 18),
(346, 'Chittagong Division', 18),
(347, 'Chuadanga', 18),
(348, 'Dhaka', 18),
(349, 'Dinajpur', 18),
(350, 'Faridpur', 18),
(351, 'Feni', 18),
(352, 'Gaybanda', 18),
(353, 'Gazipur', 18),
(354, 'Gopalganj', 18),
(355, 'Habiganj', 18),
(356, '<NAME>', 18),
(357, 'Jamalpur', 18),
(358, 'Jessor', 18),
(359, 'Jhalakati', 18),
(360, 'Jhanaydah', 18),
(361, 'Khagrachhari', 18),
(362, 'Khulna', 18),
(363, 'Kishorganj', 18),
(364, '<NAME>', 18),
(365, 'Komilla', 18),
(366, 'Kurigram', 18),
(367, 'Kushtiya', 18),
(368, 'Lakshmipur', 18),
(369, '<NAME>', 18),
(370, 'Madaripur', 18),
(371, 'Magura', 18),
(372, 'Maimansingh', 18),
(373, 'Manikganj', 18),
(374, '<NAME>', 18),
(375, 'Meherpur', 18),
(376, 'Munshiganj', 18),
(377, 'Naral', 18),
(378, 'Narayanganj', 18),
(379, 'Narsingdi', 18),
(380, 'Nator', 18),
(381, 'Naugaon', 18),
(382, 'Nawabganj', 18),
(383, 'Netrakona', 18),
(384, 'Nilphamari', 18),
(385, 'Noakhali', 18),
(386, 'Pabna', 18),
(387, 'Panchagarh', 18),
(388, 'Patuakhali', 18),
(389, 'Pirojpur', 18),
(390, 'Rajbari', 18),
(391, 'Rajshahi', 18),
(392, 'Rangamati', 18),
(393, 'Rangpur', 18),
(394, 'Satkhira', 18),
(395, 'Shariatpur', 18),
(396, 'Sherpur', 18),
(397, 'Silhat', 18),
(398, 'Sirajganj', 18),
(399, 'Sunamganj', 18),
(400, 'Tangayal', 18),
(401, 'Thakurgaon', 18),
(402, '<NAME>', 19),
(403, '<NAME>', 19),
(404, '<NAME>', 19),
(405, '<NAME>', 19),
(406, '<NAME>', 19),
(407, '<NAME>', 19),
(408, '<NAME>', 19),
(409, '<NAME>', 19),
(410, '<NAME>', 19),
(411, 'Saint Philip', 19),
(412, '<NAME>', 19),
(413, 'Brest', 20),
(414, 'Homjel\'', 20),
(415, 'Hrodna', 20),
(416, 'Mahiljow', 20),
(417, '<NAME>', 20),
(418, 'Minsk', 20),
(419, '<NAME>\'', 20),
(420, 'Petrik', 20),
(421, 'Vicebsk', 20),
(422, 'Antwerpen', 21),
(423, 'Berchem', 21),
(424, 'Brabant', 21),
(425, '<NAME>', 21),
(426, 'Brussel', 21),
(427, '<NAME>', 21),
(428, 'Hainaut', 21),
(429, 'Liege', 21),
(430, 'Limburg', 21),
(431, 'Luxembourg', 21),
(432, 'Namur', 21),
(433, 'Ontario', 21),
(434, 'Oost-Vlaanderen', 21),
(435, '<NAME>', 21),
(436, 'Vlaams-Brabant', 21),
(437, 'Wallonne', 21),
(438, 'West-Vlaanderen', 21),
(439, 'Belize', 22),
(440, 'Cayo', 22),
(441, 'Corozal', 22),
(442, '<NAME>', 22),
(443, '<NAME>', 22),
(444, 'Toledo', 22),
(445, 'Alibori', 23),
(446, 'Atacora', 23),
(447, 'Atlantique', 23),
(448, 'Borgou', 23),
(449, 'Collines', 23),
(450, 'Couffo', 23),
(451, 'Donga', 23),
(452, 'Littoral', 23),
(453, 'Mono', 23),
(454, 'Oueme', 23),
(455, 'Plateau', 23),
(456, 'Zou', 23),
(457, 'Hamilton', 24),
(458, '<NAME>', 24),
(459, 'Bumthang', 25),
(460, 'Chhukha', 25),
(461, 'Chirang', 25),
(462, 'Daga', 25),
(463, 'Geylegphug', 25),
(464, 'Ha', 25),
(465, 'Lhuntshi', 25),
(466, 'Mongar', 25),
(467, 'Pemagatsel', 25),
(468, 'Punakha', 25),
(469, 'Rinpung', 25),
(470, 'Samchi', 25),
(471, '<NAME>', 25),
(472, 'Shemgang', 25),
(473, 'Tashigang', 25),
(474, 'Timphu', 25),
(475, 'Tongsa', 25),
(476, 'Wangdiphodrang', 25),
(477, 'Beni', 26),
(478, 'Chuquisaca', 26),
(479, 'Cochabamba', 26),
(480, '<NAME>', 26),
(481, 'Oruro', 26),
(482, 'Pando', 26),
(483, 'Potosi', 26),
(484, '<NAME>', 26),
(485, 'Tarija', 26),
(486, '<NAME>', 27),
(487, '<NAME>', 27),
(488, 'Central Bobonong', 28),
(489, 'Central Boteti', 28),
(490, 'Central Mahalapye', 28),
(491, 'Central Serowe-Palapye', 28),
(492, 'Central Tutume', 28),
(493, 'Chobe', 28),
(494, 'Francistown', 28),
(495, 'Gaborone', 28),
(496, 'Ghanzi', 28),
(497, 'Jwaneng', 28),
(498, '<NAME>', 28),
(499, 'Kgalagadi South', 28),
(500, 'Kgatleng', 28),
(501, 'Kweneng', 28),
(502, 'Lobatse', 28),
(503, 'Ngamiland', 28),
(504, 'Ngwaketse', 28),
(505, 'North East', 28),
(506, 'Okavango', 28),
(507, 'Orapa', 28),
(508, '<NAME>', 28),
(509, 'South East', 28),
(510, 'Sowa', 28),
(511, 'Bouvet Island', 29),
(512, 'Acre', 30),
(513, 'Alagoas', 30),
(514, 'Amapa', 30),
(515, 'Amazonas', 30),
(516, 'Bahia', 30),
(517, 'Ceara', 30),
(518, 'Distrito Federal', 30),
(519, 'Espirito Santo', 30),
(520, 'Estado de Sao Paulo', 30),
(521, 'Goias', 30),
(522, 'Maranhao', 30),
(523, '<NAME>', 30),
(524, '<NAME>', 30),
(525, '<NAME>', 30),
(526, 'Para', 30),
(527, 'Paraiba', 30),
(528, 'Parana', 30),
(529, 'Pernambuco', 30),
(530, 'Piaui', 30),
(531, '<NAME>', 30),
(532, 'R<NAME>ande do Sul', 30),
(533, '<NAME>', 30),
(534, 'Rondonia', 30),
(535, 'Roraima', 30),
(536, '<NAME>', 30),
(537, '<NAME>', 30),
(538, 'Sergipe', 30),
(539, 'Tocantins', 30),
(540, 'British Indian Ocean Territory', 31),
(541, 'Belait', 32),
(542, 'Brunei-Muara', 32),
(543, 'Temburong', 32),
(544, 'Tutong', 32),
(545, 'Blagoevgrad', 33),
(546, 'Burgas', 33),
(547, 'Dobrich', 33),
(548, 'Gabrovo', 33),
(549, 'Haskovo', 33),
(550, 'Jambol', 33),
(551, 'Kardzhali', 33),
(552, 'Kjustendil', 33),
(553, 'Lovech', 33),
(554, 'Montana', 33),
(555, '<NAME>', 33),
(556, 'Pazardzhik', 33),
(557, 'Pernik', 33),
(558, 'Pleven', 33),
(559, 'Plovdiv', 33),
(560, 'Razgrad', 33),
(561, 'Ruse', 33),
(562, 'Shumen', 33),
(563, 'Silistra', 33),
(564, 'Sliven', 33),
(565, 'Smoljan', 33),
(566, '<NAME>', 33),
(567, '<NAME>', 33),
(568, '<NAME>', 33),
(569, 'Targovishte', 33),
(570, 'Varna', 33),
(571, '<NAME>', 33),
(572, 'Vidin', 33),
(573, 'Vraca', 33),
(574, 'Yablaniza', 33),
(575, 'Bale', 34),
(576, 'Bam', 34),
(577, 'Bazega', 34),
(578, 'Bougouriba', 34),
(579, 'Boulgou', 34),
(580, 'Boulkiemde', 34),
(581, 'Comoe', 34),
(582, 'Ganzourgou', 34),
(583, 'Gnagna', 34),
(584, 'Gourma', 34),
(585, 'Houet', 34),
(586, 'Ioba', 34),
(587, 'Kadiogo', 34),
(588, 'Kenedougou', 34),
(589, 'Komandjari', 34),
(590, 'Kompienga', 34),
(591, 'Kossi', 34),
(592, 'Kouritenga', 34),
(593, 'Kourweogo', 34),
(594, 'Leraba', 34),
(595, 'Mouhoun', 34),
(596, 'Nahouri', 34),
(597, 'Namentenga', 34),
(598, 'Noumbiel', 34),
(599, 'Oubritenga', 34),
(600, 'Oudalan', 34),
(601, 'Passore', 34),
(602, 'Poni', 34),
(603, 'Sanguie', 34),
(604, 'Sanmatenga', 34),
(605, 'Seno', 34),
(606, 'Sissili', 34),
(607, 'Soum', 34),
(608, 'Sourou', 34),
(609, 'Tapoa', 34),
(610, 'Tuy', 34),
(611, 'Yatenga', 34),
(612, 'Zondoma', 34),
(613, 'Zoundweogo', 34),
(614, 'Bubanza', 35),
(615, 'Bujumbura', 35),
(616, 'Bururi', 35),
(617, 'Cankuzo', 35),
(618, 'Cibitoke', 35),
(619, 'Gitega', 35),
(620, 'Karuzi', 35),
(621, 'Kayanza', 35),
(622, 'Kirundo', 35),
(623, 'Makamba', 35),
(624, 'Muramvya', 35),
(625, 'Muyinga', 35),
(626, 'Ngozi', 35),
(627, 'Rutana', 35),
(628, 'Ruyigi', 35),
(629, '<NAME>', 36),
(630, '<NAME>', 36),
(631, '<NAME>', 36),
(632, '<NAME>', 36),
(633, '<NAME>', 36),
(634, '<NAME>', 36),
(635, 'Kampot', 36),
(636, 'Kandal', 36),
(637, '<NAME>', 36),
(638, 'Kracheh', 36),
(639, '<NAME>', 36),
(640, '<NAME>', 36),
(641, '<NAME>', 36),
(642, '<NAME>', 36),
(643, '<NAME>', 36),
(644, '<NAME>', 36),
(645, 'Pousat', 36),
(646, '<NAME>', 36),
(647, '<NAME>', 36),
(648, '<NAME>', 36),
(649, '<NAME>', 36),
(650, '<NAME>', 36),
(651, '<NAME>', 36),
(652, 'Takaev', 36),
(653, 'Adamaoua', 37),
(654, 'Centre', 37),
(655, 'Est', 37),
(656, 'Littoral', 37),
(657, 'Nord', 37),
(658, '<NAME>', 37),
(659, 'Nordouest', 37),
(660, 'Ouest', 37),
(661, 'Sud', 37),
(662, 'Sudouest', 37),
(663, 'Alberta', 38),
(664, '<NAME>', 38),
(665, 'Manitoba', 38),
(666, '<NAME>', 38),
(667, 'Newfoundland and Labrador', 38),
(668, 'Northwest Territories', 38),
(669, '<NAME>', 38),
(670, 'Nunavut', 38),
(671, 'Ontario', 38),
(672, '<NAME>', 38),
(673, 'Quebec', 38),
(674, 'Saskatchewan', 38),
(675, 'Yukon', 38),
(676, 'Boavista', 39),
(677, 'Brava', 39),
(678, 'Fogo', 39),
(679, 'Maio', 39),
(680, 'Sal', 39),
(681, '<NAME>', 39),
(682, '<NAME>', 39),
(683, '<NAME>', 39),
(684, '<NAME>', 39),
(685, '<NAME>', 40),
(686, 'Bamingui-Bangoran', 41),
(687, 'Bangui', 41),
(688, 'Basse-Kotto', 41),
(689, 'Haut-Mbomou', 41),
(690, 'Haute-Kotto', 41),
(691, 'Kemo', 41),
(692, 'Lobaye', 41),
(693, 'Mambere-Kadei', 41),
(694, 'Mbomou', 41),
(695, 'Nana-Gribizi', 41),
(696, 'Nana-Mambere', 41),
(697, '<NAME>', 41),
(698, 'Ouaka', 41),
(699, 'Ouham', 41),
(700, 'Ouham-Pende', 41),
(701, 'Sangha-Mbaere', 41),
(702, 'Vakaga', 41),
(703, 'Batha', 42),
(704, 'Biltine', 42),
(705, 'Bourkou-Ennedi-Tibesti', 42),
(706, 'Chari-Baguirmi', 42),
(707, 'Guera', 42),
(708, 'Kanem', 42),
(709, 'Lac', 42),
(710, 'Logone Occidental', 42),
(711, 'Logone Oriental', 42),
(712, 'Mayo-Kebbi', 42),
(713, 'Moyen-Chari', 42),
(714, 'Ouaddai', 42),
(715, 'Salamat', 42),
(716, 'Tandjile', 42),
(717, 'Aisen', 43),
(718, 'Antofagasta', 43),
(719, 'Araucania', 43),
(720, 'Atacama', 43),
(721, 'Bio Bio', 43),
(722, 'Coquimbo', 43),
(723, '<NAME> <NAME>\'', 43),
(724, '<NAME>', 43),
(725, 'Magellanes', 43),
(726, 'Maule', 43),
(727, 'Metropolitana', 43),
(728, 'Metropolitana de Santiago', 43),
(729, 'Tarapaca', 43),
(730, 'Valparaiso', 43),
(731, 'Anhui', 44),
(732, 'Anhui Province', 44),
(733, '<NAME>', 44),
(734, 'Aomen', 44),
(735, 'Beijing', 44),
(736, '<NAME>', 44),
(737, 'Chongqing', 44),
(738, 'Fujian', 44),
(739, '<NAME>', 44),
(740, 'Gansu', 44),
(741, 'Guangdong', 44),
(742, '<NAME>', 44),
(743, 'Guangxi', 44),
(744, 'Guizhou', 44),
(745, 'Hainan', 44),
(746, 'Hebei', 44),
(747, 'Heilongjiang', 44),
(748, 'Henan', 44),
(749, 'Hubei', 44),
(750, 'Hunan', 44),
(751, 'Jiangsu', 44),
(752, '<NAME>', 44),
(753, 'Jiangxi', 44),
(754, 'Jilin', 44),
(755, 'Liaoning', 44),
(756, '<NAME>', 44),
(757, '<NAME>', 44),
(758, '<NAME>', 44),
(759, 'Qinghai', 44);
-- --------------------------------------------------------
--
-- Table structure for table `store_product`
--
CREATE TABLE `store_product` (
`store_product_id` varchar(100) NOT NULL,
`store_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`quantity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `store_set`
--
CREATE TABLE `store_set` (
`store_id` varchar(100) NOT NULL,
`store_name` varchar(100) NOT NULL,
`store_address` text NOT NULL,
`default_status` int(11) NOT NULL DEFAULT '0' COMMENT '0=inactive,1=active'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `store_set`
--
INSERT INTO `store_set` (`store_id`, `store_name`, `store_address`, `default_status`) VALUES
('3384CTWDU7QZFRO', 'Store_a', 'Lorem ipsum dolor sit amet.', 1),
('JSG794YZP94M2QF', 'Store_b', 'Lorem ipsum dolor sit amet.', 0);
-- --------------------------------------------------------
--
-- Table structure for table `subscriber`
--
CREATE TABLE `subscriber` (
`subscriber_id` varchar(100) NOT NULL,
`apply_ip` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `supplier_information`
--
CREATE TABLE `supplier_information` (
`supplier_id` varchar(100) NOT NULL,
`supplier_name` varchar(255) NOT NULL,
`address` text NOT NULL,
`mobile` varchar(100) NOT NULL,
`email` varchar(50) DEFAULT NULL,
`details` text NOT NULL,
`website` text NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `supplier_information`
--
INSERT INTO `supplier_information` (`supplier_id`, `supplier_name`, `address`, `mobile`, `email`, `details`, `website`, `status`) VALUES
('I3JRQQJSJ67GG2ZTEEU1', 'Supplier_1', '', '48454656544', '', '', '', 1);
-- --------------------------------------------------------
--
-- Table structure for table `supplier_ledger`
--
CREATE TABLE `supplier_ledger` (
`transaction_id` varchar(100) NOT NULL,
`purchase_id` varchar(100) DEFAULT NULL,
`supplier_id` varchar(100) NOT NULL,
`invoice_no` varchar(100) DEFAULT NULL,
`deposit_no` varchar(50) DEFAULT NULL,
`amount` float NOT NULL,
`description` text NOT NULL,
`payment_type` varchar(255) NOT NULL,
`cheque_no` varchar(255) NOT NULL,
`date` varchar(50) NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `supplier_ledger`
--
INSERT INTO `supplier_ledger` (`transaction_id`, `purchase_id`, `supplier_id`, `invoice_no`, `deposit_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`) VALUES
('PKB71G24FCUW6J7', 'MXFA4S9NF2ZBTBU', 'I3JRQQJSJ67GG2ZTEEU1', '55645', NULL, 3095000, '', '', '', '09-07-2020', 1);
-- --------------------------------------------------------
--
-- Table structure for table `synchronizer_setting`
--
CREATE TABLE `synchronizer_setting` (
`id` int(11) NOT NULL,
`hostname` varchar(100) NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`port` varchar(10) NOT NULL,
`debug` varchar(10) NOT NULL,
`project_root` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `synchronizer_setting`
--
INSERT INTO `synchronizer_setting` (`id`, `hostname`, `username`, `password`, `port`, `debug`, `project_root`) VALUES
(8, '', '', '', '21', 'true', '');
-- --------------------------------------------------------
--
-- Table structure for table `tax`
--
CREATE TABLE `tax` (
`tax_id` varchar(100) NOT NULL,
`tax_name` varchar(100) NOT NULL,
`status` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tax`
--
INSERT INTO `tax` (`tax_id`, `tax_name`, `status`) VALUES
('52C2SKCKGQY6Q9J', 'Income tax', 1),
('5SN9PRWPN131T4V', 'Tax 3', 1),
('H5MQN4NXJBSDX4L', 'sales tax', 0);
-- --------------------------------------------------------
--
-- Table structure for table `tax_collection_details`
--
CREATE TABLE `tax_collection_details` (
`tax_col_de_id` varchar(100) NOT NULL,
`invoice_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`tax_id` varchar(100) NOT NULL,
`variant_id` varchar(255) NOT NULL,
`amount` float NOT NULL,
`date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `tax_collection_summary`
--
CREATE TABLE `tax_collection_summary` (
`tax_collection_id` varchar(100) NOT NULL,
`invoice_id` varchar(100) NOT NULL,
`tax_id` varchar(100) NOT NULL,
`tax_amount` float NOT NULL,
`date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `tax_product_service`
--
CREATE TABLE `tax_product_service` (
`t_p_s_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`tax_id` varchar(100) NOT NULL,
`tax_percentage` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `terminal_payment`
--
CREATE TABLE `terminal_payment` (
`pay_terminal_id` varchar(100) NOT NULL,
`terminal_name` varchar(100) NOT NULL,
`terminal_provider_company` varchar(250) NOT NULL,
`linked_bank_account_no` varchar(100) NOT NULL,
`customer_care_phone_no` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `themes`
--
CREATE TABLE `themes` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`status` tinyint(4) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `themes`
--
INSERT INTO `themes` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, 'isshue_classic', 0, '2020-08-27 14:26:41', '2020-11-24 19:32:13'),
(2, 'martbd', 0, '2020-08-31 07:09:01', '2020-11-24 19:32:17'),
(3, 'shatu', 0, '2020-08-31 07:09:01', '2020-11-24 19:32:21'),
(4, 'zaima', 1, '2020-08-31 07:09:01', '2020-10-08 18:44:30');
-- --------------------------------------------------------
--
-- Table structure for table `transfer`
--
CREATE TABLE `transfer` (
`transfer_id` varchar(100) NOT NULL,
`store_id` varchar(100) DEFAULT NULL,
`warehouse_id` varchar(100) DEFAULT NULL,
`product_id` varchar(100) NOT NULL,
`variant_id` varchar(100) NOT NULL,
`quantity` float NOT NULL,
`t_store_id` varchar(100) DEFAULT NULL,
`t_warehouse_id` varchar(100) DEFAULT NULL,
`purchase_id` varchar(100) DEFAULT NULL,
`date_time` varchar(100) NOT NULL,
`transfer_by` varchar(100) DEFAULT NULL,
`status` int(11) NOT NULL COMMENT '1=store to store,2=store to warehouse,3=warehouse to store,4=warehouse to warehouse,5=purchase'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `transfer`
--
INSERT INTO `transfer` (`transfer_id`, `store_id`, `warehouse_id`, `product_id`, `variant_id`, `quantity`, `t_store_id`, `t_warehouse_id`, `purchase_id`, `date_time`, `transfer_by`, `status`) VALUES
('Z331N6DRMPYOPA2', '3384CTWDU7QZFRO', NULL, '16789548', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('39ZRRJO4DG6K8CV', '3384CTWDU7QZFRO', NULL, '16789548', '3JJRT8TG11VD1FY', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('WTP1OE252NEH4VI', '3384CTWDU7QZFRO', NULL, '98366399', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('J55259LI61H9NX2', '3384CTWDU7QZFRO', NULL, '69428333', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('IDOOAIKQEJR6GCG', '3384CTWDU7QZFRO', NULL, '69428333', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('16TE6CQ64Z5WAVF', '3384CTWDU7QZFRO', NULL, '22161617', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('Y3SPKCKUGFZZ2H1', '3384CTWDU7QZFRO', NULL, '22161617', '3JJRT8TG11VD1FY', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('UPP52WKDNGC23RA', '3384CTWDU7QZFRO', NULL, '64148874', '3JJRT8TG11VD1FY', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('IZBNQVZZPY21YNK', '3384CTWDU7QZFRO', NULL, '64148874', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('36YNQBZJH4NKB3I', '3384CTWDU7QZFRO', NULL, '77144835', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('ZDSZ88MSBDGRGEV', '3384CTWDU7QZFRO', NULL, '11389311', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('V7W4HT488D26ZSY', '3384CTWDU7QZFRO', NULL, '11389311', '3JJRT8TG11VD1FY', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('1257BHUN2TJNUCI', '3384CTWDU7QZFRO', NULL, '77144835', '3JJRT8TG11VD1FY', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('KS5EMQDMMHSOW4L', '3384CTWDU7QZFRO', NULL, '62572489', 'MMYXJ4FWYXAHXPJ', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('2L3FK3G4PT6RUXA', '3384CTWDU7QZFRO', NULL, '21473628', 'MMYXJ4FWYXAHXPJ', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('3RW51N1IEFPYUJI', '3384CTWDU7QZFRO', NULL, '62572489', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('M9FD1GEK9VI3U7Y', '3384CTWDU7QZFRO', NULL, '21473628', '3JJRT8TG11VD1FY', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('GG1Z3Y7MMZJ4VBX', '3384CTWDU7QZFRO', NULL, '25869255', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('ERW1DW4IGUKG733', '3384CTWDU7QZFRO', NULL, '98366399', 'DBQD7B1AGBAUZSS', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('88SVAM9BPSA5LIE', '3384CTWDU7QZFRO', NULL, '98366399', '3JJRT8TG11VD1FY', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3),
('ISYBVNTDFPN8K9K', '3384CTWDU7QZFRO', NULL, '98366399', 'MMYXJ4FWYXAHXPJ', 500, NULL, NULL, 'MXFA4S9NF2ZBTBU', '09-07-2020', NULL, 3);
-- --------------------------------------------------------
--
-- Table structure for table `unit`
--
CREATE TABLE `unit` (
`unit_id` varchar(100) NOT NULL,
`unit_name` varchar(255) NOT NULL,
`unit_short_name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`firstname` varchar(50) NOT NULL,
`lastname` varchar(50) NOT NULL,
`about` text,
`email` varchar(100) NOT NULL,
`password` varchar(32) NOT NULL,
`password_reset_token` varchar(20) NOT NULL,
`image` varchar(100) DEFAULT NULL,
`last_login` datetime DEFAULT NULL,
`last_logout` datetime DEFAULT NULL,
`ip_address` varchar(14) DEFAULT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1',
`is_admin` tinyint(4) NOT NULL DEFAULT '0',
`user_type` tinyint(4) NOT NULL COMMENT '1=admin,2=shop-manager,3=sales man,4=store keeper,5=customer'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`user_id` varchar(100) NOT NULL,
`last_name` varchar(255) NOT NULL,
`first_name` varchar(255) NOT NULL,
`gender` int(2) NOT NULL,
`date_of_birth` varchar(255) NOT NULL,
`logo` varchar(250) DEFAULT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`user_id`, `last_name`, `first_name`, `gender`, `date_of_birth`, `logo`, `status`) VALUES
('1', 'Admin', 'Super', 1, '', NULL, 1);
-- --------------------------------------------------------
--
-- Table structure for table `user_login`
--
CREATE TABLE `user_login` (
`user_id` varchar(100) NOT NULL,
`store_id` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`token` varchar(255) DEFAULT NULL,
`user_type` int(2) NOT NULL COMMENT '1=admin,2=shop-manager,3=sales man,4=store keeper,5=customer',
`security_code` varchar(255) NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `user_login`
--
INSERT INTO `user_login` (`user_id`, `store_id`, `username`, `password`, `token`, `user_type`, `security_code`, `status`) VALUES
('1', '1', '<EMAIL>', '<PASSWORD>', NULL, 1, '1', 1);
-- --------------------------------------------------------
--
-- Table structure for table `variant`
--
CREATE TABLE `variant` (
`variant_id` varchar(100) NOT NULL,
`variant_name` varchar(100) NOT NULL,
`status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `variant`
--
INSERT INTO `variant` (`variant_id`, `variant_name`, `status`) VALUES
('3JJRT8TG11VD1FY', 'Large', 1),
('DBQD7B1AGBAUZSS', 'Medium', 1),
('MMYXJ4FWYXAHXPJ', 'Small', 1),
('PWB7EHUPWMGWS56', 'demo color', 1);
-- --------------------------------------------------------
--
-- Table structure for table `wearhouse_set`
--
CREATE TABLE `wearhouse_set` (
`wearhouse_id` varchar(100) NOT NULL,
`user_id` varchar(100) NOT NULL,
`wearhouse_name` varchar(100) NOT NULL,
`wearhouse_address` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `website_content`
--
CREATE TABLE `website_content` (
`web_content_id` int(11) NOT NULL,
`content_id` varchar(255) NOT NULL,
`language_id` varchar(255) NOT NULL,
`content_headline` text NOT NULL,
`content_image` text NOT NULL,
`content` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `web_footer`
--
CREATE TABLE `web_footer` (
`footer_section_id` varchar(100) NOT NULL,
`headlines` text NOT NULL,
`details` text NOT NULL,
`position` int(11) NOT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `web_footer`
--
INSERT INTO `web_footer` (`footer_section_id`, `headlines`, `details`, `position`, `status`) VALUES
('4UXP4OHYVGUBDSQ', 'First Block', '<h4 class=\"link-title fs-16 mb-3 font-weight-600 position-relative footer-app-link\">Our Communities</h4>\r\n<ul class=\"list-unstyled social-icon\">\r\n<li><a href=\"#\"><div class=\"icon-wrap fs-19 d-inline-block bg-primary text-white text-center fb\"><i class=\"fab fa-facebook-f\"></i></div>Facebook </a></li>\r\n\r\n<li><a href=\"#\"><div class=\"icon-wrap fs-19 d-inline-block bg-primary text-white text-center twi\"><i class=\"fab fa-twitter\"></i></div>Twitter</a></li>\r\n\r\n<li><a href=\"#\"><div class=\"icon-wrap fs-19 d-inline-block bg-primary text-white text-center inst\"><i class=\"fab fa-instagram\"></i></div>Instagram</a></li>\r\n\r\n<li><a href=\"#\"><div class=\"icon-wrap fs-19 d-inline-block bg-primary text-white text-center lin\"><i class=\"fab fa-linkedin\"></i></div>Linkedin</a></li>\r\n\r\n<li><a href=\"#\"><div class=\"icon-wrap fs-19 d-inline-block bg-primary text-white text-center yt\"><i class=\"fab fa-youtube-square\"></i></div>Youtube</a></li>\r\n \r\n</ul>', 1, 1),
('R65OGYDCBUWYYI3', 'Second Block', '<h4 class=\"link-title fs-16 mb-3 font-weight-600 position-relative footer-app-link\">Information</h4>\r\n <ul class=\"footer-link list-unstyled menu mb-0\">\r\n <li class=\"mb-2\"><a href=\"about_us\" class=\"link d-block\">About Us</a></li>\r\n <li class=\"mb-2\"><a href=\"contact_us\" class=\"link d-block\">Contact us</a></li>\r\n <li class=\"mb-2\"><a href=\"delivery_info\" class=\"link d-block\">Delivery Information</a></li>\r\n <li class=\"mb-2\"><a href=\"privacy_policy\" class=\"link d-block\">Privacy Policy</a></li>\r\n <li class=\"mb-2\"><a href=\"terms_condition\" class=\"link d-block\">Terms & Conditions</a></li>\r\n <li class=\"mb-2\"><a href=\"#\" class=\"link d-block\">Track My Order</a></li>\r\n </ul>', 2, 1);
-- --------------------------------------------------------
--
-- Table structure for table `web_setting`
--
CREATE TABLE `web_setting` (
`setting_id` int(11) NOT NULL,
`logo` text,
`invoice_logo` text,
`favicon` text,
`footer_logo` text,
`footer_text` text,
`footer_details` text,
`google_analytics` text,
`facebook_messenger` text,
`meta_keyword` varchar(255) DEFAULT NULL,
`meta_description` varchar(255) DEFAULT NULL,
`application_protocol` varchar(30) NOT NULL DEFAULT 'http',
`app_link_status` tinyint(4) NOT NULL,
`pay_with_status` tinyint(4) NOT NULL COMMENT '1=active , 0=inactive',
`map_api_key` text,
`map_latitude` text,
`map_langitude` text,
`apps_url` varchar(255) DEFAULT NULL,
`mob_footer_block` varchar(100) DEFAULT NULL,
`social_share` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `web_setting`
--
INSERT INTO `web_setting` (`setting_id`, `logo`, `invoice_logo`, `favicon`, `footer_logo`, `footer_text`, `footer_details`, `google_analytics`, `facebook_messenger`, `meta_keyword`, `meta_description`, `application_protocol`, `app_link_status`, `pay_with_status`, `map_api_key`, `map_latitude`, `map_langitude`, `apps_url`, `mob_footer_block`, `social_share`) VALUES
(1, 'my-assets/image/logo/9ba86ceae1ca73dc393fde84c12b7242.jpg', NULL, 'my-assets/image/logo/54a05c75ff2b81e34e0f608d63c8edd4.jpg', 'my-assets/image/logo/96b9657b86d4a193cea179a197f8f4a5.jpg', 'Developed by <a href=\"http://magnetontech.com/\" target=\"_blank\">Magnetontech</a>', 'WCTW.', '', '', 'meta keyword', 'E-commerce', '', 1, 1, 'AIzaSyBGwh3ShY_W1hMms1wmwlHK3hpInhExn3o', '8.901922', '66.325790', '', '[\"1\",\"0\",\"0\",\"1\"]', 1);
-- --------------------------------------------------------
--
-- Table structure for table `wishlist`
--
CREATE TABLE `wishlist` (
`wishlist_id` varchar(100) NOT NULL,
`product_id` varchar(100) NOT NULL,
`user_id` varchar(100) NOT NULL,
`status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `about_us`
--
ALTER TABLE `about_us`
ADD PRIMARY KEY (`content_id`);
--
-- Indexes for table `bank_add`
--
ALTER TABLE `bank_add`
ADD PRIMARY KEY (`bank_id`);
--
-- Indexes for table `block`
--
ALTER TABLE `block`
ADD PRIMARY KEY (`block_id`);
--
-- Indexes for table `category_variant`
--
ALTER TABLE `category_variant`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `check_out`
--
ALTER TABLE `check_out`
ADD PRIMARY KEY (`check_out_id`);
--
-- Indexes for table `cheque_manger`
--
ALTER TABLE `cheque_manger`
ADD PRIMARY KEY (`cheque_id`);
--
-- Indexes for table `color_backends`
--
ALTER TABLE `color_backends`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `color_frontends`
--
ALTER TABLE `color_frontends`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `company_information`
--
ALTER TABLE `company_information`
ADD PRIMARY KEY (`company_id`);
--
-- Indexes for table `contact`
--
ALTER TABLE `contact`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `countries`
--
ALTER TABLE `countries`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `coupon`
--
ALTER TABLE `coupon`
ADD PRIMARY KEY (`coupon_id`);
--
-- Indexes for table `coupon_invoice`
--
ALTER TABLE `coupon_invoice`
ADD PRIMARY KEY (`coupon_invoice_id`);
--
-- Indexes for table `crypto_payments`
--
ALTER TABLE `crypto_payments`
ADD PRIMARY KEY (`paymentID`),
ADD UNIQUE KEY `key3` (`boxID`,`orderID`,`userID`,`txID`,`amount`,`addr`),
ADD KEY `boxID` (`boxID`),
ADD KEY `boxType` (`boxType`),
ADD KEY `userID` (`userID`),
ADD KEY `countryID` (`countryID`),
ADD KEY `orderID` (`orderID`),
ADD KEY `amount` (`amount`),
ADD KEY `amountUSD` (`amountUSD`),
ADD KEY `coinLabel` (`coinLabel`),
ADD KEY `unrecognised` (`unrecognised`),
ADD KEY `addr` (`addr`),
ADD KEY `txID` (`txID`),
ADD KEY `txDate` (`txDate`),
ADD KEY `txConfirmed` (`txConfirmed`),
ADD KEY `txCheckDate` (`txCheckDate`),
ADD KEY `processed` (`processed`),
ADD KEY `processedDate` (`processedDate`),
ADD KEY `recordCreated` (`recordCreated`),
ADD KEY `key1` (`boxID`,`orderID`),
ADD KEY `key2` (`boxID`,`orderID`,`userID`);
--
-- Indexes for table `currency_info`
--
ALTER TABLE `currency_info`
ADD PRIMARY KEY (`currency_id`);
--
-- Indexes for table `customer_information`
--
ALTER TABLE `customer_information`
ADD PRIMARY KEY (`customer_id`);
--
-- Indexes for table `customer_ledger`
--
ALTER TABLE `customer_ledger`
ADD KEY `receipt_no` (`receipt_no`),
ADD KEY `receipt_no_2` (`receipt_no`),
ADD KEY `receipt_no_3` (`receipt_no`),
ADD KEY `receipt_no_4` (`receipt_no`);
--
-- Indexes for table `customer_order`
--
ALTER TABLE `customer_order`
ADD PRIMARY KEY (`customer_order_id`);
--
-- Indexes for table `daily_closing`
--
ALTER TABLE `daily_closing`
ADD PRIMARY KEY (`date`);
--
-- Indexes for table `email_configuration`
--
ALTER TABLE `email_configuration`
ADD PRIMARY KEY (`email_id`);
--
-- Indexes for table `image_gallery`
--
ALTER TABLE `image_gallery`
ADD PRIMARY KEY (`image_gallery_id`);
--
-- Indexes for table `invoice`
--
ALTER TABLE `invoice`
ADD PRIMARY KEY (`invoice_id`);
--
-- Indexes for table `invoice_details`
--
ALTER TABLE `invoice_details`
ADD PRIMARY KEY (`invoice_details_id`);
--
-- Indexes for table `language`
--
ALTER TABLE `language`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `link_page`
--
ALTER TABLE `link_page`
ADD PRIMARY KEY (`link_page_id`);
--
-- Indexes for table `message`
--
ALTER TABLE `message`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `module`
--
ALTER TABLE `module`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `module_permission`
--
ALTER TABLE `module_permission`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_module_id` (`fk_module_id`),
ADD KEY `fk_user_id` (`fk_user_id`);
--
-- Indexes for table `order`
--
ALTER TABLE `order`
ADD PRIMARY KEY (`order_id`);
--
-- Indexes for table `order_details`
--
ALTER TABLE `order_details`
ADD PRIMARY KEY (`order_details_id`);
--
-- Indexes for table `order_tax_col_details`
--
ALTER TABLE `order_tax_col_details`
ADD PRIMARY KEY (`order_tax_col_de_id`);
--
-- Indexes for table `order_tax_col_summary`
--
ALTER TABLE `order_tax_col_summary`
ADD PRIMARY KEY (`order_tax_col_id`);
--
-- Indexes for table `our_location`
--
ALTER TABLE `our_location`
ADD PRIMARY KEY (`location_id`);
--
-- Indexes for table `payeer_payments`
--
ALTER TABLE `payeer_payments`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `payment_gateway`
--
ALTER TABLE `payment_gateway`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `payment_history`
--
ALTER TABLE `payment_history`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pay_withs`
--
ALTER TABLE `pay_withs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_category`
--
ALTER TABLE `product_category`
ADD PRIMARY KEY (`category_id`);
--
-- Indexes for table `product_information`
--
ALTER TABLE `product_information`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `product_model` (`product_model`),
ADD UNIQUE KEY `product_id` (`product_id`);
--
-- Indexes for table `product_purchase`
--
ALTER TABLE `product_purchase`
ADD PRIMARY KEY (`purchase_id`);
--
-- Indexes for table `product_purchase_details`
--
ALTER TABLE `product_purchase_details`
ADD PRIMARY KEY (`purchase_detail_id`);
--
-- Indexes for table `product_review`
--
ALTER TABLE `product_review`
ADD PRIMARY KEY (`product_review_id`);
--
-- Indexes for table `quotation`
--
ALTER TABLE `quotation`
ADD PRIMARY KEY (`quotation_id`);
--
-- Indexes for table `quotation_details`
--
ALTER TABLE `quotation_details`
ADD PRIMARY KEY (`quotation_details_id`);
--
-- Indexes for table `quotation_tax_col_details`
--
ALTER TABLE `quotation_tax_col_details`
ADD PRIMARY KEY (`quot_tax_col_de_id`);
--
-- Indexes for table `quotation_tax_col_summary`
--
ALTER TABLE `quotation_tax_col_summary`
ADD PRIMARY KEY (`quot_tax_col_id`);
--
-- Indexes for table `setting`
--
ALTER TABLE `setting`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `shipping_info`
--
ALTER TABLE `shipping_info`
ADD PRIMARY KEY (`shiping_info_id`);
--
-- Indexes for table `shipping_method`
--
ALTER TABLE `shipping_method`
ADD PRIMARY KEY (`method_id`);
--
-- Indexes for table `slider`
--
ALTER TABLE `slider`
ADD PRIMARY KEY (`slider_id`);
--
-- Indexes for table `sms_configuration`
--
ALTER TABLE `sms_configuration`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `sms_template`
--
ALTER TABLE `sms_template`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `social_auth`
--
ALTER TABLE `social_auth`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `soft_setting`
--
ALTER TABLE `soft_setting`
ADD PRIMARY KEY (`setting_id`);
--
-- Indexes for table `states`
--
ALTER TABLE `states`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `store_product`
--
ALTER TABLE `store_product`
ADD PRIMARY KEY (`store_product_id`);
--
-- Indexes for table `store_set`
--
ALTER TABLE `store_set`
ADD PRIMARY KEY (`store_id`);
--
-- Indexes for table `subscriber`
--
ALTER TABLE `subscriber`
ADD PRIMARY KEY (`subscriber_id`);
--
-- Indexes for table `supplier_information`
--
ALTER TABLE `supplier_information`
ADD PRIMARY KEY (`supplier_id`),
ADD KEY `supplier_id` (`supplier_id`);
--
-- Indexes for table `supplier_ledger`
--
ALTER TABLE `supplier_ledger`
ADD PRIMARY KEY (`transaction_id`),
ADD KEY `receipt_no` (`deposit_no`),
ADD KEY `receipt_no_2` (`deposit_no`),
ADD KEY `receipt_no_3` (`deposit_no`),
ADD KEY `receipt_no_4` (`deposit_no`);
--
-- Indexes for table `synchronizer_setting`
--
ALTER TABLE `synchronizer_setting`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tax`
--
ALTER TABLE `tax`
ADD PRIMARY KEY (`tax_id`);
--
-- Indexes for table `tax_collection_details`
--
ALTER TABLE `tax_collection_details`
ADD PRIMARY KEY (`tax_col_de_id`);
--
-- Indexes for table `tax_collection_summary`
--
ALTER TABLE `tax_collection_summary`
ADD PRIMARY KEY (`tax_collection_id`);
--
-- Indexes for table `tax_product_service`
--
ALTER TABLE `tax_product_service`
ADD PRIMARY KEY (`t_p_s_id`);
--
-- Indexes for table `themes`
--
ALTER TABLE `themes`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `unit`
--
ALTER TABLE `unit`
ADD PRIMARY KEY (`unit_id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`user_id`);
--
-- Indexes for table `user_login`
--
ALTER TABLE `user_login`
ADD PRIMARY KEY (`user_id`);
--
-- Indexes for table `variant`
--
ALTER TABLE `variant`
ADD PRIMARY KEY (`variant_id`);
--
-- Indexes for table `wearhouse_set`
--
ALTER TABLE `wearhouse_set`
ADD PRIMARY KEY (`wearhouse_id`);
--
-- Indexes for table `website_content`
--
ALTER TABLE `website_content`
ADD PRIMARY KEY (`web_content_id`);
--
-- Indexes for table `web_footer`
--
ALTER TABLE `web_footer`
ADD PRIMARY KEY (`footer_section_id`);
--
-- Indexes for table `web_setting`
--
ALTER TABLE `web_setting`
ADD PRIMARY KEY (`setting_id`);
--
-- Indexes for table `wishlist`
--
ALTER TABLE `wishlist`
ADD PRIMARY KEY (`wishlist_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `about_us`
--
ALTER TABLE `about_us`
MODIFY `content_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `category_variant`
--
ALTER TABLE `category_variant`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `color_backends`
--
ALTER TABLE `color_backends`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `color_frontends`
--
ALTER TABLE `color_frontends`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `contact`
--
ALTER TABLE `contact`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `countries`
--
ALTER TABLE `countries`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=247;
--
-- AUTO_INCREMENT for table `crypto_payments`
--
ALTER TABLE `crypto_payments`
MODIFY `paymentID` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `language`
--
ALTER TABLE `language`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1326;
--
-- AUTO_INCREMENT for table `message`
--
ALTER TABLE `message`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `module`
--
ALTER TABLE `module`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `module_permission`
--
ALTER TABLE `module_permission`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `our_location`
--
ALTER TABLE `our_location`
MODIFY `location_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `payeer_payments`
--
ALTER TABLE `payeer_payments`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `payment_gateway`
--
ALTER TABLE `payment_gateway`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `pay_withs`
--
ALTER TABLE `pay_withs`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `product_information`
--
ALTER TABLE `product_information`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
--
-- AUTO_INCREMENT for table `setting`
--
ALTER TABLE `setting`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `shipping_info`
--
ALTER TABLE `shipping_info`
MODIFY `shiping_info_id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `shipping_method`
--
ALTER TABLE `shipping_method`
MODIFY `method_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `sms_configuration`
--
ALTER TABLE `sms_configuration`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `sms_template`
--
ALTER TABLE `sms_template`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `social_auth`
--
ALTER TABLE `social_auth`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `soft_setting`
--
ALTER TABLE `soft_setting`
MODIFY `setting_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `states`
--
ALTER TABLE `states`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=760;
--
-- AUTO_INCREMENT for table `synchronizer_setting`
--
ALTER TABLE `synchronizer_setting`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `themes`
--
ALTER TABLE `themes`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `website_content`
--
ALTER TABLE `website_content`
MODIFY `web_content_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `web_setting`
--
ALTER TABLE `web_setting`
MODIFY `setting_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 */;
|
<filename>Mercury.Database/Mercury.Database.Environment/Schema Objects/Schemas/dbo/Tables/ProblemStatement.table.sql<gh_stars>0
-- DBO.[PROBLEMSTATEMENT] (BEGIN)
/*
IF EXISTS (SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE (TABLE_NAME = 'ProblemStatement') AND (TABLE_SCHEMA = 'dbo'))
DROP TABLE dbo.[ProblemStatement]
GO
*/
CREATE TABLE dbo.[ProblemStatement] (
ProblemStatementId BIGINT NOT NULL IDENTITY (1000000000, 1),
ProblemStatementName VARCHAR (0060) NOT NULL,
ProblemStatementDescription VARCHAR (0999) NOT NULL,
ProblemDomainId BIGINT NOT NULL,
ProblemClassId BIGINT NULL,
DefiningCharacteristics VARCHAR (0999) NOT NULL CONSTRAINT [ProblemStatement_Dft_DefiningCharacteristics] DEFAULT (''),
RelatedFactors VARCHAR (0999) NOT NULL CONSTRAINT [ProblemStatement_Dft_RelatedFactors] DEFAULT (''),
DefaultCarePlanId BIGINT NULL,
Enabled BIT NOT NULL CONSTRAINT [ProblemStatement_Dft_Enabled] DEFAULT (1),
Visible BIT NOT NULL CONSTRAINT [ProblemStatement_Dft_Visible] DEFAULT (1),
CreateAuthorityName VARCHAR (0060) NOT NULL CONSTRAINT [ProblemStatement_Dft_CreateAuthorityName] DEFAULT ('SQL Server'),
CreateAccountId VARCHAR (0060) NOT NULL CONSTRAINT [ProblemStatement_Dft_CreateAccountId] DEFAULT (CAST (ISNULL (SUSER_ID (), SUSER_NAME ()) AS VARCHAR (060))),
CreateAccountName VARCHAR (0060) NOT NULL CONSTRAINT [ProblemStatement_Dft_CreateAccountName] DEFAULT (CAST (SUSER_NAME () AS VARCHAR (060))),
CreateDate DATETIME NOT NULL CONSTRAINT [ProblemStatement_Dft_CreateDate] DEFAULT (GETDATE ()),
ModifiedAuthorityName VARCHAR (0060) NOT NULL CONSTRAINT [ProblemStatement_Dft_ModifiedAuthorityName] DEFAULT ('SQL Server'),
ModifiedAccountId VARCHAR (0060) NOT NULL CONSTRAINT [ProblemStatement_Dft_ModifiedAccountId] DEFAULT (CAST (ISNULL (SUSER_ID (), SUSER_NAME ()) AS VARCHAR (060))),
ModifiedAccountName VARCHAR (0060) NOT NULL CONSTRAINT [ProblemStatement_Dft_ModifiedAccountName] DEFAULT (CAST (SUSER_NAME () AS VARCHAR (060))),
ModifiedDate DATETIME NOT NULL CONSTRAINT [ProblemStatement_Dft_ModifiedDate] DEFAULT (GETDATE ())
, CONSTRAINT [ProblemStatement_Pk] PRIMARY KEY (ProblemStatementId)
, CONSTRAINT [ProblemStatement_Fk_ProblemDomainId] FOREIGN KEY (ProblemDomainId) REFERENCES dbo.[ProblemDomain] (ProblemDomainId)
, CONSTRAINT [ProblemStatement_Fk_ProblemClassId] FOREIGN KEY (ProblemClassId) REFERENCES dbo.[ProblemClass] (ProblemClassId)
, CONSTRAINT [ProblemStatement_Fk_DefaultCarePlanId] FOREIGN KEY (DefaultCarePlanId) REFERENCES dbo.[CarePlan] (CarePlanId)
) -- dbo.ProblemStatement
GO
/*
-- COLUMN DESCRIPTIONS
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unique Identifier', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ProblemStatementId'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ProblemStatementName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Description', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ProblemStatementDescription'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unique Identifier', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ProblemDomainId'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unique Identifier', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ProblemClassId'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Description', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'DefiningCharacteristics'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Description', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'RelatedFactors'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unique Identifier', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'DefaultCarePlanId'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Enabled/Disabled Toggle', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'Enabled'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Visible/Not Visible Toggle', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'Visible'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name [Security Authority Name]', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'CreateAuthorityName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unique User Account ID', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'CreateAccountId'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name [User Account Name]', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'CreateAccountName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Date and Time [Create Date]', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'CreateDate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name [Security Authority Name]', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ModifiedAuthorityName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unique User Account ID', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ModifiedAccountId'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name [User Account Name]', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ModifiedAccountName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Date and Time [Modified Date]', @level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ProblemStatement', @level2type=N'COLUMN', @level2name=N'ModifiedDate'
GO
*/
-- DBO.PROBLEMSTATEMENT ( END )
|
<gh_stars>0
-- +goose Up
CREATE TABLE instrument_json (
id SERIAL,
name VARCHAR(80) NOT NULL,
description VARCHAR(255),
datum JSONB,
audit JSONB,
currency_id INTEGER,
from_date TIMESTAMP(3) NOT NULL,
thru_date TIMESTAMP(3),
created_at TIMESTAMP(3) NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP(3) NOT NULL DEFAULT NOW(),
created_by VARCHAR(25) NOT NULL,
updated_by VARCHAR(25) NOT NULL,
CONSTRAINT pk_instrument_json PRIMARY KEY (id),
CONSTRAINT fk_instrument_currency_json FOREIGN KEY (currency_id) REFERENCES instrument (id)
);
create index instrumentgin on instrument_json using gin (datum);
-- +goose Down
DROP TABLE instrument_json;
|
<gh_stars>0
select
cast(id as uuid) as id,
first_name,
last_name,
email,
gender
from {{ ref('stg_customers',) }} |
<gh_stars>0
/*
Warnings:
- A unique constraint covering the columns `[oauthId]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "User.oauthId_unique" ON "User"("oauthId");
|
<gh_stars>1-10
USE tempdb;
GO
IF OBJECT_ID(N'dbo.myTable', N'U') IS NOT NULL
DROP TABLE dbo.myTable;
GO
CREATE TABLE dbo.myTable
(
Id INT IDENTITY,
ItemName VARCHAR(255)
)
INSERT dbo.myTable
VALUES ('Orange');
SELECT
SCOPE_IDENTITY() AS SCOPE_IDENTITY, --< Last identity value generated in a session in the current scope
@@IDENTITY AS [@@IDENTITY], --< Last inserted value
IDENT_CURRENT('dbo.myTable') AS IDENT_CURRENT;
GO
IF OBJECT_ID(N'dbo.myExampleProcedure', N'P') IS NOT NULL
DROP PROCEDURE dbo.myExampleProcedure;
GO
CREATE PROCEDURE dbo.myExampleProcedure
AS
BEGIN
INSERT dbo.myTable
VALUES ('Apples');
SELECT
SCOPE_IDENTITY() AS SCOPE_IDENTITY,
@@IDENTITY AS [@@IDENTITY], --< Last inserted value
IDENT_CURRENT('dbo.myTable') AS IDENT_CURRENT;
END
GO
EXEC dbo.myExampleProcedure
SELECT
SCOPE_IDENTITY() AS SCOPE_IDENTITY, -- Ignores identity update in procedure as this is another session
@@IDENTITY AS [@@IDENTITY], -- Recognises everything in this session even if in another scope
IDENT_CURRENT('dbo.myTable') AS IDENT_CURRENT; -- Looks at the table rather than scope or session
DBCC CHECKIDENT('dbo.myTable', RESEED, 200);
INSERT dbo.myTable VALUES ('Apple');
SELECT
SCOPE_IDENTITY() AS SCOPE_IDENTITY, -- Ignores identity update in procedure as this is another session
@@IDENTITY AS [@@IDENTITY], -- Recognises everything in this session even if in another scope
IDENT_CURRENT('dbo.myTable') AS IDENT_CURRENT; -- Looks at the table rather than scope or session
-- Tidy up
IF OBJECT_ID(N'dbo.myExampleProcedure', N'P') IS NOT NULL
DROP PROCEDURE dbo.myExampleProcedure;
GO
IF OBJECT_ID(N'dbo.myTable', N'U') IS NOT NULL
DROP TABLE dbo.myTable;
GO |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.