text
stringlengths 1
1.05M
|
|---|
-- В виде триггера реализовать проверку: должно быть нельзя дважды добавить одного человека в один фильм в одном качестве.
CREATE OR REPLACE FUNCTION func() RETURNS TRIGGER AS $$
BEGIN
IF (TG_OP = 'INSERT' OR TG_OP = 'UPDATE') THEN
IF EXISTS (SELECT * FROM moviepeople AS mp WHERE mp.movieid = NEW.movieid AND mp.professionid = NEW.professionid AND
mp.peopleid = NEW.peopleid)
THEN
RAISE EXCEPTION '┐( ̄ヘ ̄;)┌';
END IF;
END IF;
RETURN NEW;
END;
$$ LANGUAGE plpgsql;
DROP TRIGGER trggr_1 ON moviepeople;
CREATE TRIGGER trggr_1
BEFORE INSERT OR UPDATE ON moviepeople
FOR EACH ROW EXECUTE PROCEDURE func ();
-- При суммарном количестве наград более заданного присуждать фильму премию за лучший фильм.
CREATE OR REPLACE FUNCTION func_2() RETURNS TRIGGER AS $$
BEGIN
IF EXISTS (SELECT * from movieawards WHERE movieid = new.movieid and movieawards.awardid = 12) THEN RETURN new; END IF ;
IF ((SELECT COUNT(ma.awardid) FROM movieawards as ma WHERE ma.movieid = NEW.movieid ) > 3)
THEN
INSERT INTO movieawards (movieid , awardid) VALUES (new.movieid , 12);
END IF;
RETURN NEW;
END;
$$ LANGUAGE plpgsql;
DROP TRIGGER trggr_2 ON movieawards;
CREATE TRIGGER trggr_2
AFTER INSERT OR UPDATE ON movieawards
FOR EACH ROW EXECUTE PROCEDURE func_2 ();
|
drop function if exists register(text, text, text);
drop function if exists authenticate(text, text);
drop function if exists "get_current_user"();
drop function if exists "rides_name"(ride rides);
drop function if exists "spots_temperature"(spots spots);
drop function if exists "rides_has_border"(ride rides);
drop function if exists "guides_bounds"(_guide guides);
|
CREATE TABLE IF NOT EXISTS accounts (
id SERIAL PRIMARY KEY,
username TEXT,
password_digest TEXT NOT NULL,
password_salt TEXT NOT NULL,
created TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS accounts_id_idx ON accounts(username);
|
set names utf8 collate utf8_en_cs;
prepare stmt from 'select NULLIF(?, ?), collation (NULLIF(?, ?))';
execute stmt using _utf8'A', _utf8'a', _utf8'A', _utf8'a';
execute stmt using _euckr'A', _euckr'a', _euckr'A', _euckr'a';
execute stmt using _euckr'A', _utf8'a', _euckr'A', _utf8'a';
drop table if exists t1;
create table t1 (s1 string collate utf8_en_ci,s2 int);
insert into t1 values('a',1);
insert into t1 values('A',2);
prepare stmt from 'select NULLIF(s1, ?), collation (NULLIF(s1, ?)) from t1 order by s2';
execute stmt using _utf8'a', _utf8'a';
execute stmt using _iso88591'a', _iso88591'a';
execute stmt using _euckr'a', _euckr'a';
execute stmt using _utf8'x', _utf8'x';
execute stmt using _euckr'x', _euckr'x';
execute stmt using _iso88591'x', _iso88591'x';
drop table t1;
set names iso88591;
|
-- This file should undo anything in `up.sql`
DROP TABLE solutions;
|
UPDATE service_state SET state=${state},outdated=${outdated},deployment_type=${deployment_type},last_edited=current_timestamp WHERE id=${id}
|
--
-- Copyright © 2016-2021 The Thingsboard Authors
--
-- Licensed 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.
--
-- call create_partition_ts_kv_table();
CREATE OR REPLACE PROCEDURE create_partition_ts_kv_table()
LANGUAGE plpgsql AS
$$
BEGIN
ALTER TABLE ts_kv
DROP CONSTRAINT IF EXISTS ts_kv_unq_key;
ALTER TABLE ts_kv
DROP CONSTRAINT IF EXISTS ts_kv_pkey;
ALTER TABLE ts_kv
ADD CONSTRAINT ts_kv_pkey PRIMARY KEY (entity_type, entity_id, key, ts);
ALTER TABLE ts_kv
RENAME TO ts_kv_old;
ALTER TABLE ts_kv_old
RENAME CONSTRAINT ts_kv_pkey TO ts_kv_pkey_old;
CREATE TABLE IF NOT EXISTS ts_kv
(
LIKE ts_kv_old
)
PARTITION BY RANGE (ts);
ALTER TABLE ts_kv
DROP COLUMN entity_type;
ALTER TABLE ts_kv
ALTER COLUMN entity_id TYPE uuid USING entity_id::uuid;
ALTER TABLE ts_kv
ALTER COLUMN key TYPE integer USING key::integer;
ALTER TABLE ts_kv
ADD CONSTRAINT ts_kv_pkey PRIMARY KEY (entity_id, key, ts);
CREATE TABLE IF NOT EXISTS ts_kv_indefinite PARTITION OF ts_kv DEFAULT;
END;
$$;
-- call create_new_ts_kv_latest_table();
CREATE OR REPLACE PROCEDURE create_new_ts_kv_latest_table()
LANGUAGE plpgsql AS
$$
BEGIN
IF NOT EXISTS(SELECT FROM pg_tables WHERE schemaname = 'public' AND tablename = 'ts_kv_latest_old') THEN
ALTER TABLE ts_kv_latest
DROP CONSTRAINT IF EXISTS ts_kv_latest_unq_key;
ALTER TABLE ts_kv_latest
DROP CONSTRAINT IF EXISTS ts_kv_latest_pkey;
ALTER TABLE ts_kv_latest
ADD CONSTRAINT ts_kv_latest_pkey PRIMARY KEY (entity_type, entity_id, key);
ALTER TABLE ts_kv_latest
RENAME TO ts_kv_latest_old;
ALTER TABLE ts_kv_latest_old
RENAME CONSTRAINT ts_kv_latest_pkey TO ts_kv_latest_pkey_old;
CREATE TABLE IF NOT EXISTS ts_kv_latest
(
LIKE ts_kv_latest_old
);
ALTER TABLE ts_kv_latest
DROP COLUMN entity_type;
ALTER TABLE ts_kv_latest
ALTER COLUMN entity_id TYPE uuid USING entity_id::uuid;
ALTER TABLE ts_kv_latest
ALTER COLUMN key TYPE integer USING key::integer;
ALTER TABLE ts_kv_latest
ADD CONSTRAINT ts_kv_latest_pkey PRIMARY KEY (entity_id, key);
ELSE
RAISE NOTICE 'ts_kv_latest_old table already exists!';
IF NOT EXISTS(SELECT FROM pg_tables WHERE schemaname = 'public' AND tablename = 'ts_kv_latest') THEN
CREATE TABLE IF NOT EXISTS ts_kv_latest
(
entity_id uuid NOT NULL,
key int NOT NULL,
ts bigint NOT NULL,
bool_v boolean,
str_v varchar(10000000),
long_v bigint,
dbl_v double precision,
json_v json,
CONSTRAINT ts_kv_latest_pkey PRIMARY KEY (entity_id, key)
);
END IF;
END IF;
END;
$$;
CREATE OR REPLACE FUNCTION get_partitions_data(IN partition_type varchar)
RETURNS
TABLE
(
partition_date text,
from_ts bigint,
to_ts bigint
)
AS
$$
BEGIN
CASE
WHEN partition_type = 'DAYS' THEN
RETURN QUERY SELECT day_date.day AS partition_date,
(extract(epoch from (day_date.day)::timestamp) * 1000)::bigint AS from_ts,
(extract(epoch from (day_date.day::date + INTERVAL '1 DAY')::timestamp) *
1000)::bigint AS to_ts
FROM (SELECT DISTINCT TO_CHAR(TO_TIMESTAMP(ts / 1000), 'YYYY_MM_DD') AS day
FROM ts_kv_old) AS day_date;
WHEN partition_type = 'MONTHS' THEN
RETURN QUERY SELECT SUBSTRING(month_date.first_date, 1, 7) AS partition_date,
(extract(epoch from (month_date.first_date)::timestamp) * 1000)::bigint AS from_ts,
(extract(epoch from (month_date.first_date::date + INTERVAL '1 MONTH')::timestamp) *
1000)::bigint AS to_ts
FROM (SELECT DISTINCT TO_CHAR(TO_TIMESTAMP(ts / 1000), 'YYYY_MM_01') AS first_date
FROM ts_kv_old) AS month_date;
WHEN partition_type = 'YEARS' THEN
RETURN QUERY SELECT SUBSTRING(year_date.year, 1, 4) AS partition_date,
(extract(epoch from (year_date.year)::timestamp) * 1000)::bigint AS from_ts,
(extract(epoch from (year_date.year::date + INTERVAL '1 YEAR')::timestamp) *
1000)::bigint AS to_ts
FROM (SELECT DISTINCT TO_CHAR(TO_TIMESTAMP(ts / 1000), 'YYYY_01_01') AS year
FROM ts_kv_old) AS year_date;
ELSE
RAISE EXCEPTION 'Failed to parse partitioning property: % !', partition_type;
END CASE;
END;
$$ LANGUAGE plpgsql;
-- call create_partitions();
CREATE OR REPLACE PROCEDURE create_partitions(IN partition_type varchar)
LANGUAGE plpgsql AS
$$
DECLARE
partition_date varchar;
from_ts bigint;
to_ts bigint;
partitions_cursor CURSOR FOR SELECT *
FROM get_partitions_data(partition_type);
BEGIN
OPEN partitions_cursor;
LOOP
FETCH partitions_cursor INTO partition_date, from_ts, to_ts;
EXIT WHEN NOT FOUND;
EXECUTE 'CREATE TABLE IF NOT EXISTS ts_kv_' || partition_date ||
' PARTITION OF ts_kv FOR VALUES FROM (' || from_ts ||
') TO (' || to_ts || ');';
RAISE NOTICE 'A partition % has been created!',CONCAT('ts_kv_', partition_date);
END LOOP;
CLOSE partitions_cursor;
END;
$$;
-- call create_ts_kv_dictionary_table();
CREATE OR REPLACE PROCEDURE create_ts_kv_dictionary_table()
LANGUAGE plpgsql AS
$$
BEGIN
CREATE TABLE IF NOT EXISTS ts_kv_dictionary
(
key varchar(255) NOT NULL,
key_id serial UNIQUE,
CONSTRAINT ts_key_id_pkey PRIMARY KEY (key)
);
END;
$$;
-- call insert_into_dictionary();
CREATE OR REPLACE PROCEDURE insert_into_dictionary()
LANGUAGE plpgsql AS
$$
DECLARE
insert_record RECORD;
key_cursor CURSOR FOR SELECT DISTINCT key
FROM ts_kv_old
ORDER BY key;
BEGIN
OPEN key_cursor;
LOOP
FETCH key_cursor INTO insert_record;
EXIT WHEN NOT FOUND;
IF NOT EXISTS(SELECT key FROM ts_kv_dictionary WHERE key = insert_record.key) THEN
INSERT INTO ts_kv_dictionary(key) VALUES (insert_record.key);
RAISE NOTICE 'Key: % has been inserted into the dictionary!',insert_record.key;
ELSE
RAISE NOTICE 'Key: % already exists in the dictionary!',insert_record.key;
END IF;
END LOOP;
CLOSE key_cursor;
END;
$$;
CREATE OR REPLACE FUNCTION to_uuid(IN entity_id varchar, OUT uuid_id uuid) AS
$$
BEGIN
uuid_id := substring(entity_id, 8, 8) || '-' || substring(entity_id, 4, 4) || '-1' || substring(entity_id, 1, 3) ||
'-' || substring(entity_id, 16, 4) || '-' || substring(entity_id, 20, 12);
END;
$$ LANGUAGE plpgsql;
CREATE OR REPLACE PROCEDURE insert_into_ts_kv(IN path_to_file varchar)
LANGUAGE plpgsql AS
$$
BEGIN
EXECUTE format('COPY (SELECT to_uuid(entity_id) AS entity_id,
ts_kv_records.key AS key,
ts_kv_records.ts AS ts,
ts_kv_records.bool_v AS bool_v,
ts_kv_records.str_v AS str_v,
ts_kv_records.long_v AS long_v,
ts_kv_records.dbl_v AS dbl_v
FROM (SELECT entity_id AS entity_id,
key_id AS key,
ts,
bool_v,
str_v,
long_v,
dbl_v
FROM ts_kv_old
INNER JOIN ts_kv_dictionary ON (ts_kv_old.key = ts_kv_dictionary.key)) AS ts_kv_records) TO %L;',
path_to_file);
EXECUTE format('COPY ts_kv FROM %L', path_to_file);
END
$$;
-- call insert_into_ts_kv_latest();
CREATE OR REPLACE PROCEDURE insert_into_ts_kv_latest(IN path_to_file varchar)
LANGUAGE plpgsql AS
$$
BEGIN
EXECUTE format('COPY (SELECT to_uuid(entity_id) AS entity_id,
ts_kv_latest_records.key AS key,
ts_kv_latest_records.ts AS ts,
ts_kv_latest_records.bool_v AS bool_v,
ts_kv_latest_records.str_v AS str_v,
ts_kv_latest_records.long_v AS long_v,
ts_kv_latest_records.dbl_v AS dbl_v
FROM (SELECT entity_id AS entity_id,
key_id AS key,
ts,
bool_v,
str_v,
long_v,
dbl_v
FROM ts_kv_latest_old
INNER JOIN ts_kv_dictionary ON (ts_kv_latest_old.key = ts_kv_dictionary.key)) AS ts_kv_latest_records) TO %L;',
path_to_file);
EXECUTE format('COPY ts_kv_latest FROM %L', path_to_file);
END;
$$;
-- call insert_into_ts_kv_cursor();
CREATE OR REPLACE PROCEDURE insert_into_ts_kv_cursor()
LANGUAGE plpgsql AS
$$
DECLARE
insert_size CONSTANT integer := 10000;
insert_counter integer DEFAULT 0;
insert_record RECORD;
insert_cursor CURSOR FOR SELECT to_uuid(entity_id) AS entity_id,
ts_kv_records.key AS key,
ts_kv_records.ts AS ts,
ts_kv_records.bool_v AS bool_v,
ts_kv_records.str_v AS str_v,
ts_kv_records.long_v AS long_v,
ts_kv_records.dbl_v AS dbl_v
FROM (SELECT entity_id AS entity_id,
key_id AS key,
ts,
bool_v,
str_v,
long_v,
dbl_v
FROM ts_kv_old
INNER JOIN ts_kv_dictionary ON (ts_kv_old.key = ts_kv_dictionary.key)) AS ts_kv_records;
BEGIN
OPEN insert_cursor;
LOOP
insert_counter := insert_counter + 1;
FETCH insert_cursor INTO insert_record;
IF NOT FOUND THEN
RAISE NOTICE '% records have been inserted into the partitioned ts_kv!',insert_counter - 1;
EXIT;
END IF;
INSERT INTO ts_kv(entity_id, key, ts, bool_v, str_v, long_v, dbl_v)
VALUES (insert_record.entity_id, insert_record.key, insert_record.ts, insert_record.bool_v, insert_record.str_v,
insert_record.long_v, insert_record.dbl_v);
IF MOD(insert_counter, insert_size) = 0 THEN
RAISE NOTICE '% records have been inserted into the partitioned ts_kv!',insert_counter;
END IF;
END LOOP;
CLOSE insert_cursor;
END;
$$;
-- call insert_into_ts_kv_latest_cursor();
CREATE OR REPLACE PROCEDURE insert_into_ts_kv_latest_cursor()
LANGUAGE plpgsql AS
$$
DECLARE
insert_size CONSTANT integer := 10000;
insert_counter integer DEFAULT 0;
insert_record RECORD;
insert_cursor CURSOR FOR SELECT to_uuid(entity_id) AS entity_id,
ts_kv_latest_records.key AS key,
ts_kv_latest_records.ts AS ts,
ts_kv_latest_records.bool_v AS bool_v,
ts_kv_latest_records.str_v AS str_v,
ts_kv_latest_records.long_v AS long_v,
ts_kv_latest_records.dbl_v AS dbl_v
FROM (SELECT entity_id AS entity_id,
key_id AS key,
ts,
bool_v,
str_v,
long_v,
dbl_v
FROM ts_kv_latest_old
INNER JOIN ts_kv_dictionary ON (ts_kv_latest_old.key = ts_kv_dictionary.key)) AS ts_kv_latest_records;
BEGIN
OPEN insert_cursor;
LOOP
insert_counter := insert_counter + 1;
FETCH insert_cursor INTO insert_record;
IF NOT FOUND THEN
RAISE NOTICE '% records have been inserted into the ts_kv_latest!',insert_counter - 1;
EXIT;
END IF;
INSERT INTO ts_kv_latest(entity_id, key, ts, bool_v, str_v, long_v, dbl_v)
VALUES (insert_record.entity_id, insert_record.key, insert_record.ts, insert_record.bool_v, insert_record.str_v,
insert_record.long_v, insert_record.dbl_v);
IF MOD(insert_counter, insert_size) = 0 THEN
RAISE NOTICE '% records have been inserted into the ts_kv_latest!',insert_counter;
END IF;
END LOOP;
CLOSE insert_cursor;
END;
$$;
|
create or replace PROCEDURE SP_UPDATE_CMS_POSSESS_TABLE
(
I_ID IN NUMBER,
I_TYPE_RPT IN VARCHAR2
)
IS
V_REC_CNT NUMBER(10);
V_XMLDOC XMLTYPE;
V_XMLVALUE XMLTYPE;
V_ERRCODE NUMBER(10);
V_ERRMSG VARCHAR2(512);
E_INVALID_REC_ID EXCEPTION;
PRAGMA EXCEPTION_INIT(E_INVALID_REC_ID, -20960);
E_INVALID_REQUEST_DATA EXCEPTION;
PRAGMA EXCEPTION_INIT(E_INVALID_REQUEST_DATA, -20961);
BEGIN
--DBMS_OUTPUT.PUT_LINE('SP_UPDATE_CMS_POSSESS_TABLE - BEGIN ============================');
--DBMS_OUTPUT.PUT_LINE('PARAMETERS ----------------');
--DBMS_OUTPUT.PUT_LINE(' I_ID IS NULL? = ' || (CASE WHEN I_ID IS NULL THEN 'YES' ELSE 'NO' END));
--DBMS_OUTPUT.PUT_LINE(' I_ID = ' || TO_CHAR(I_ID));
--DBMS_OUTPUT.PUT_LINE(' ----------------');
--DBMS_OUTPUT.PUT_LINE('Starting xml data retrieval and table update ----------');
IF I_ID IS NULL THEN
RAISE_APPLICATION_ERROR(-20960, 'SP_UPDATE_CMS_POSSESS_TABLE: Input Record ID is invalid. I_ID = ' || TO_CHAR(I_ID) );
END IF;
--
BEGIN
--------------------------------
-- DSS_CMS_TIME_OF_POSSESS_STG table
--------------------------------
--DBMS_OUTPUT.PUT_LINE(' DSS_CMS_TIME_OF_POSSESS_STG table');
IF I_TYPE_RPT = 'CMS-POSSESSION-APPOINTMENT' THEN
INSERT INTO HHS_HR.DSS_CMS_TIME_OF_POSSESS_STG
(
REQUEST_NUMBER
, REQUEST_APPROVAL_DATE
, NEW_HIRE_CREATE_DATE
, SEND_TENT_OFFR_CMPL_DATE
, TENT_OFFR_RSPNS_DATE
, RCVE_BKGRND_INVST_DATE
, EOD_DATE
, SEND_OFCL_OFFR_CMPL_DATE
, INIT_BKGRND_INVST_DATE
, REQUEST_TYPE
, REQUEST_STATUS
, ARRVL_VERIF_CMPL_DATE)
SELECT
X.REQUEST_NUMBER
, TO_DATE(SUBSTR(X.REQUEST_APPROVAL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS REQUEST_APPROVAL_DATE
, TO_DATE(SUBSTR(X.NEW_HIRE_CREATE_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS NEW_HIRE_CREATE_DATE
, TO_DATE(SUBSTR(X.SEND_TENT_OFFR_CMPL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS SEND_TENT_OFFR_CMPL_DATE
, TO_DATE(SUBSTR(X.TENT_OFFR_RSPNS_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS TENT_OFFR_RSPNS_DATE
, TO_DATE(SUBSTR(X.RCVE_BKGRND_INVST_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS RCVE_BKGRND_INVST_DATE
, TO_DATE(SUBSTR(X.EOD_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS EOD_DATE
, TO_DATE(SUBSTR(X.SEND_OFCL_OFFR_CMPL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS SEND_OFCL_OFFR_CMPL_DATE
, TO_DATE(SUBSTR(X.INIT_BKGRND_INVST_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS INIT_BKGRND_INVST_DATE
, X.REQUEST_TYPE
,X.REQUEST_STATUS
, TO_DATE(SUBSTR(X.ARRVL_VERIF_CMPL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS ARRVL_VERIF_CMPL_DATE
FROM HHS_HR.INTG_DATA_DTL IDX
, XMLTABLE(XMLNAMESPACES(DEFAULT 'http://www.ibm.com/xmlns/prod/cognos/dataSet/201006'), '/dataSet/dataTable/row[../id/text() = "List1"]'
PASSING IDX.FIELD_DATA
COLUMNS
REQUEST_NUMBER VARCHAR2(202) PATH 'Request__Number'
, REQUEST_APPROVAL_DATE_STR VARCHAR2(50) PATH 'Request__Approval__Date'
, NEW_HIRE_CREATE_DATE_STR VARCHAR2(50) PATH 'New__Hire__Creation__Date'
, SEND_TENT_OFFR_CMPL_DATE_STR VARCHAR2(50) PATH 'Send__Tentative__Offer__Complete__Date'
, TENT_OFFR_RSPNS_DATE_STR VARCHAR2(50) PATH 'Tentative__Job__Offer__Response__Date'
, RCVE_BKGRND_INVST_DATE_STR VARCHAR2(50) PATH 'Receive__Background__Investigation_x002fSecurity__Clearance__Complete__Date'
, EOD_DATE_STR VARCHAR2(50) PATH 'EOD__Date'
, SEND_OFCL_OFFR_CMPL_DATE_STR VARCHAR2(50) PATH 'Send__Official__Offer__Complete__Date'
, INIT_BKGRND_INVST_DATE_STR VARCHAR2(50) PATH 'Initiate__Background__Investigation__Complete__Date'
, REQUEST_TYPE VARCHAR2(1002) PATH 'Request__Type'
, REQUEST_STATUS VARCHAR2(50) PATH 'Request__Status'
, ARRVL_VERIF_CMPL_DATE_STR VARCHAR2(50) PATH 'New__Hire__Arrival__Verified__Complete__Date'
) X
WHERE IDX.ID = I_ID;
ELSIF I_TYPE_RPT = 'CMS-POSSESSION' THEN
INSERT INTO HHS_HR.DSS_CMS_TIME_OF_POSSESS_STG
(REQUEST_NUMBER
, REQUEST_APPROVAL_DATE
, ANNOUNCEMENT_NUMBER
, HM_ANN_RVW_SENT_DATE
, HM_ANN_RVW_CMPL_DATE
, ANNOUNCEMENT_OPEN_DATE
, ANNOUNCEMENT_CLOSE_DATE
, CERTIFICATE_NUMBER
, CERTIFICATE_ISSUE_DATE
, REVIEW_SENT_DATE
, REVIEW_RETURN_DATE
, INITIAL_AUDIT_DATE
, NEW_HIRE_CREATE_DATE
, SEND_TENT_OFFR_CMPL_DATE
, TENT_OFFR_RSPNS_DATE
, RCVE_BKGRND_INVST_DATE
, EOD_DATE
, SEND_OFCL_OFFR_CMPL_DATE
, INIT_BKGRND_INVST_DATE
, REQUEST_TYPE
, REQUEST_STATUS
, REQUEST_CREATE_DATE
, ARRVL_VERIF_CMPL_DATE)
SELECT
X.REQUEST_NUMBER
, TO_DATE(SUBSTR(X.REQUEST_APPROVAL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS REQUEST_APPROVAL_DATE
, X.ANNOUNCEMENT_NUMBER
, TO_DATE(SUBSTR(X.HM_ANN_RVW_SENT_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS HM_ANN_RVW_SENT_DATE
, TO_DATE(SUBSTR(X.HM_ANN_RVW_CMPL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS HM_ANN_RVW_CMPL_DATE
, TO_DATE(SUBSTR(X.ANNOUNCEMENT_OPEN_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS ANNOUNCEMENT_OPEN_DATE
, TO_DATE(SUBSTR(X.ANNOUNCEMENT_CLOSE_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS ANNOUNCEMENT_CLOSE_DATE
, X.CERTIFICATE_NUMBER
, TO_DATE(SUBSTR(X.CERTIFICATE_ISSUE_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS CERTIFICATE_ISSUE_DATE
, TO_DATE(SUBSTR(X.REVIEW_SENT_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS REVIEW_SENT_DATE
, TO_DATE(SUBSTR(X.REVIEW_RETURN_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS REVIEW_RETURN_DATE
, TO_DATE(SUBSTR(X.INITIAL_AUDIT_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS INITIAL_AUDIT_DATE
, TO_DATE(SUBSTR(X.NEW_HIRE_CREATE_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS NEW_HIRE_CREATE_DATE
, TO_DATE(SUBSTR(X.SEND_TENT_OFFR_CMPL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS SEND_TENT_OFFR_CMPL_DATE
, TO_DATE(SUBSTR(X.TENT_OFFR_RSPNS_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS TENT_OFFR_RSPNS_DATE
, TO_DATE(SUBSTR(X.RCVE_BKGRND_INVST_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS RCVE_BKGRND_INVST_DATE
, TO_DATE(SUBSTR(X.EOD_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS EOD_DATE
, TO_DATE(SUBSTR(X.SEND_OFCL_OFFR_CMPL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS SEND_OFCL_OFFR_CMPL_DATE
, TO_DATE(SUBSTR(X.INIT_BKGRND_INVST_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS INIT_BKGRND_INVST_DATE
, X.REQUEST_TYPE
, X.REQUEST_STATUS
, TO_DATE(SUBSTR(X.REQUEST_CREATE_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS REQUEST_CREATE_DATE
, TO_DATE(SUBSTR(X.ARRVL_VERIF_CMPL_DATE_STR, 1, 19), 'YYYY-MM-DD"T"HH24:MI:SS') AS ARRVL_VERIF_CMPL_DATE
FROM HHS_HR.INTG_DATA_DTL IDX
, XMLTABLE(XMLNAMESPACES(DEFAULT 'http://www.ibm.com/xmlns/prod/cognos/dataSet/201006'), '/dataSet/dataTable/row[../id/text() = "lst_TimeToPossess"]'
PASSING IDX.FIELD_DATA
COLUMNS
REQUEST_NUMBER VARCHAR2(202) PATH 'Request__Number'
, REQUEST_APPROVAL_DATE_STR VARCHAR2(50) PATH 'Request__Approval__Date'
, ANNOUNCEMENT_NUMBER VARCHAR2(56) PATH 'Announcement__Number'
, HM_ANN_RVW_SENT_DATE_STR VARCHAR2(50) PATH 'HM__Announcement__Review__Sent__Date'
, HM_ANN_RVW_CMPL_DATE_STR VARCHAR2(50) PATH 'HM__Announcement__Review__Completion__Date'
, ANNOUNCEMENT_OPEN_DATE_STR VARCHAR2(50) PATH 'Announcement__Open__Date'
, ANNOUNCEMENT_CLOSE_DATE_STR VARCHAR2(50) PATH 'Announcement__Close__Date'
, CERTIFICATE_NUMBER VARCHAR2(102) PATH 'Certificate__Number'
, CERTIFICATE_ISSUE_DATE_STR VARCHAR2(50) PATH 'Certificate__Issue__Date'
, REVIEW_SENT_DATE_STR VARCHAR2(50) PATH 'Certificate__Review__Sent__Date'
, REVIEW_RETURN_DATE_STR VARCHAR2(50) PATH 'Certificate__Review__Returned__Date'
, INITIAL_AUDIT_DATE_STR VARCHAR2(50) PATH 'Certificate__Initial__Audit__Complete__Date'
, NEW_HIRE_CREATE_DATE_STR VARCHAR2(50) PATH 'New__Hire__Creation__Date'
, SEND_TENT_OFFR_CMPL_DATE_STR VARCHAR2(50) PATH 'Send__Tentative__Offer__Complete__Date'
, TENT_OFFR_RSPNS_DATE_STR VARCHAR2(50) PATH 'Tentative__Job__Offer__Response__Date'
, RCVE_BKGRND_INVST_DATE_STR VARCHAR2(50) PATH 'Receive__Background__Investigation_x002fSecurity__Clearance__Complete__Date'
, EOD_DATE_STR VARCHAR2(50) PATH 'EOD__Date'
, SEND_OFCL_OFFR_CMPL_DATE_STR VARCHAR2(50) PATH 'Send__Official__Offer__Complete__Date'
, INIT_BKGRND_INVST_DATE_STR VARCHAR2(50) PATH 'Initiate__Background__Investigation__Complete__Date'
, REQUEST_TYPE VARCHAR2(1002) PATH 'Request__Type'
, REQUEST_STATUS VARCHAR2(1002) PATH 'Request__Status'
, REQUEST_CREATE_DATE_STR VARCHAR2(50) PATH 'Request__Creation__Date'
, ARRVL_VERIF_CMPL_DATE_STR VARCHAR2(50) PATH 'New__Hire__Arrival__Verified__Complete__Date'
) X
WHERE IDX.ID = I_ID;
-- END;
END IF;
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20961, 'SP_UPDATE_CMS_POSSESS_TABLE: Invalid CMS Time of Possession data. IA_ID = ' || TO_CHAR(I_ID) );
END;
--DBMS_OUTPUT.PUT_LINE('SP_UPDATE_CMS_POSSESS_TABLE - END ==========================');
EXCEPTION
WHEN E_INVALID_REC_ID THEN
HHS_HR.SP_ERROR_LOG();
--DBMS_OUTPUT.PUT_LINE('ERROR occurred while executing SP_UPDATE_CMS_POSSESS_TABLE -------------------');
--DBMS_OUTPUT.PUT_LINE('ERROR message = ' || 'Record ID is not valid');
WHEN E_INVALID_REQUEST_DATA THEN
HHS_HR.SP_ERROR_LOG();
--DBMS_OUTPUT.PUT_LINE('ERROR occurred while executing SP_UPDATE_CMS_POSSESS_TABLE -------------------');
--DBMS_OUTPUT.PUT_LINE('ERROR message = ' || 'Invalid data');
WHEN OTHERS THEN
HHS_HR.SP_ERROR_LOG();
V_ERRCODE := SQLCODE;
V_ERRMSG := SQLERRM;
--DBMS_OUTPUT.PUT_LINE('ERROR occurred while executing SP_UPDATE_CMS_POSSESS_TABLE -------------------');
--DBMS_OUTPUT.PUT_LINE('Error code = ' || V_ERRCODE);
--DBMS_OUTPUT.PUT_LINE('Error message = ' || V_ERRMSG);
END;
|
/*
Navicat Premium Data Transfer
Source Server : 8.129.123.15
Source Server Type : MySQL
Source Server Version : 80023
Source Host : 8.129.123.15:3306
Source Schema : test
Target Server Type : MySQL
Target Server Version : 80023
File Encoding : 65001
Date: 27/02/2021 13:21:31
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for api_properties
-- ----------------------------
DROP TABLE IF EXISTS `api_properties`;
CREATE TABLE `api_properties` (
`id` bigint(0) NOT NULL AUTO_INCREMENT,
`gmt_create` datetime(0) NOT NULL,
`gmt_modified` datetime(0) NOT NULL,
`channel_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`properties` varchar(10240) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`properties_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `UK2g89p4h9vr0x67lf7ckvedttx`(`channel_id`, `properties_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
|
ALTER TABLE `crm_usedcar_purchase_caseinfo`
ADD COLUMN `liquid_mode` ENUM('1', '2') NULL DEFAULT '1' AFTER `is_case_details_completed`;
|
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1', 'EN', 'Reorder IDs', '2010-09-02 00:15:30');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2', 'EN', 'The database could not be reconnected.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('3', 'EN', 'Testing – please do not login', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('4', 'EN', 'User', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('5', 'EN', '(empty)', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('6', 'EN', 'Logged in as', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('7', 'EN', 'Logout', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('8', 'EN', 'Waypoint search:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('9', 'EN', 'Page timing:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('10', 'EN', 'sec', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('11', 'EN', 'Page cached:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('12', 'EN', 'DB connected:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('13', 'EN', 'Created at:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('14', 'EN', 'Privacy statement', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('15', 'EN', 'Legal information', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('16', 'EN', 'Contact', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('17', 'EN', 'Sitemap', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('18', 'EN', 'Register', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('19', 'EN', 'New user registered', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('20', 'EN', 'Note', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('21', 'EN', 'Vietnamese', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('22', 'EN', 'Username', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('23', 'EN', 'E-mail', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('24', 'EN', 'First name', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('25', 'EN', 'Last name', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('26', 'EN', 'Country', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('27', 'EN', 'Register new user', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('29', 'EN', 'The username contains invalid characters.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('31', 'EN', 'The last name is not valid.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('32', 'EN', 'The first name is not valid.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('33', 'EN', 'Not specified', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('34', 'EN', 'Show all', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('35', 'EN', 'The e-mail address is not valid.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('36', 'EN', 'Turkish', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('37', 'EN', 'Your password:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('39', 'EN', 'The passwords do not match.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('41', 'EN', '* mandatory field', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('42', 'EN', 'Swedish', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('43', 'EN', 'Slovenian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('45', 'EN', 'at least 4 different characters', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('48', 'EN', 'Slovak', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('49', 'EN', 'Russian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('51', 'EN', 'Reset', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('52', 'EN', 'Recommendations', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('54', 'EN', 'Index', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('55', 'EN', 'Recommendations', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('56', 'EN', 'Found', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('57', 'EN', 'by', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('59', 'EN', 'Romanian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('60', 'EN', 'Step 1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('63', 'EN', 'Step 2', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('64', 'EN', 'Portuguese', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('65', 'EN', 'Back', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('70', 'EN', 'News', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('71', 'EN', 'Latest caches', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('73', 'EN', 'Latest log entries', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('74', 'EN', 'Polish', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('75', 'EN', 'Norwegian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('76', 'EN', 'Latvian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('77', 'EN', 'Lithuanian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('78', 'EN', 'Italian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('79', 'EN', 'Icelandic', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('80', 'EN', 'Home', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('82', 'EN', 'On this page you will find Geocaches from all over the world, with focus on Germany, Austria, Switzerland, Italy and Spain. We also offer information on miscellaneous geocaching topics and a forum (message board).</p><p class=\"startmessage\">If you would like to propagate geocaching in your own country, you may run your own Opencaching site in your own language, using our <a href=\"https://github.com/OpencachingDeutschland/oc-server3\" target=\"_blank\">software</a> and known-how. The long-term plan is to form a global geocaching network out of all Opencaching sites. Please contact us in our <a href=\"http://forum.opencaching.de/index.php?board=24.0\" target=\"_blank\">international forum</a> for more information.', '2013-02-11 14:25:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('83', 'EN', 'The file was not uploaded correctly.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'EN', 'The file was too big. The maximum file size is %1 KB.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('85', 'EN', 'No picture file given.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('86', 'EN', 'same type', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('90', 'EN', '%1 active caches and %2 founds by %3 users total', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('91', 'EN', 'Hungarian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('92', 'EN', 'Croatian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('93', 'EN', 'Finnish', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('94', 'EN', 'Yes', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('95', 'EN', 'No', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('96', 'EN', 'Hello', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('99', 'EN', 'This e-mail was generated by the %2 website, because an account with your e-mail address has been created. If you don\'t want to receive further e-mails, please contact us via %1.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('100', 'EN', 'Basque', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('101', 'EN', 'Estonian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('102', 'EN', 'Esperanto', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('103', 'EN', 'Greek', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('104', 'EN', 'Danish', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('105', 'EN', 'An unknown error occurred.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('106', 'EN', 'Template does not exist.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('107', 'EN', 'Sorry, you are not allowed to view this page.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('108', 'EN', 'Sorry, the requested cache does not exist.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('109', 'EN', 'Sorry, the requested operation cannot be performed.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('110', 'EN', 'Please log in to continue:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('111', 'EN', 'Sorry, the requested user does not exist.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('112', 'EN', 'Mail template does not exist.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('113', 'EN', 'HTML Tags', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('114', 'EN', 'Description', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('115', 'EN', 'Hide a cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('116', 'EN', 'Admin', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('117', 'EN', 'Information', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('118', 'EN', 'Caches', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('119', 'EN', 'My profile', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('120', 'EN', 'Latest logs', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('122', 'EN', 'New caches', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('123', 'EN', 'About geocaching', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('124', 'EN', 'New item', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('125', 'EN', 'Search', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('126', 'EN', 'Translation', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('127', 'EN', 'Activation', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('128', 'EN', 'Userprofile', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('129', 'EN', 'An error occurred while processing the page.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('130', 'EN', 'An error occurred while processing the page. If you have called this page by a hyperlink on our site and this error persists for some time, please contact us via e-mail. ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('131', 'EN', 'The following error occurred:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('133', 'EN', 'Error message', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('134', 'EN', '%2 found %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('135', 'EN', '%2 didn\'t find %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('136', 'EN', '%2 wrote a note for %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('137', 'EN', '%2 visited %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('138', 'EN', '%2 wants to visit %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('139', 'EN', 'Registration confirmation', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('140', 'EN', 'welcome at %1!', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('141', 'EN', 'The following data has been stored for your account:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('142', 'EN', 'Slave', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('144', 'EN', 'If you don\'t login within the next 14 days, your account will be deleted.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('145', 'EN', 'Czech', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('146', 'EN', 'Bulgarian', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('147', 'EN', 'User profile of %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('148', 'EN', 'Send e-mail', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('149', 'EN', 'Others', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('150', 'EN', 'I\'m taking a PMR walkie-talkie on channel 2 with me.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('151', 'EN', 'Registered\ since:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('152', 'EN', 'Caches hidden:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('153', 'EN', 'Caches found:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('154', 'EN', '%1 of %2 possible', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('155', 'EN', 'Dutch', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('156', 'EN', 'Japanese', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('157', 'EN', 'Spanish', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('158', 'EN', 'French', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('159', 'EN', 'English', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('160', 'EN', 'German', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('161', 'EN', 'Attention: If you are using this option, don\'t forget to log out before other persons have access to your computer. Otherwise, they may use and modify your personal data.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('162', 'EN', 'Zimbabwe', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('163', 'EN', 'Zambia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('164', 'EN', 'South Africa', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('165', 'EN', 'Mayotte', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('166', 'EN', 'The activation code was sent to you by e-mail.<br /> Please follow the instructions in the e-mail.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('167', 'EN', 'To create an account at %1, you have to enter a vaild e-mail address and a user name. An activation code will be sent to the e-mail address you supplied. Only one account can be created per e-mail address. First name, last name and country are optional.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('168', 'EN', 'An account with that e-mail address already exists. It is not possible to create a second account with the same e-mail address.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('171', 'EN', 'The activation code or e-mail address was incorrect.<br /> The activation of your account was not successful.<br /> Please use the same e-mail address to which the registration mail was sent.<br /> <br /> Please check if you have mistyped. If you cannot solve the problem, contact us via <a href=\"mailto:%1\">%1</a>.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('172', 'EN', 'Yemen', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('173', 'EN', 'Samoa', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('174', 'EN', 'Go', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('175', 'EN', 'Developer system – testing only', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('179', 'EN', 'Wallis And Futuna Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('180', 'EN', 'Create a news entry', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('181', 'EN', 'Vanuatu', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('182', 'EN', 'Viet Nam', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('183', 'EN', 'Virgin Islands (U.S.)', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('184', 'EN', 'Virgin Islands (British)', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('185', 'EN', 'Venezuela', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('186', 'EN', 'Select target language:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('187', 'EN', 'Show new translations', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('188', 'EN', 'Clear smarty cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('189', 'EN', 'Not defined', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('190', 'EN', 'Show translations no longer referenced', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('191', 'EN', 'Show all translations', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('192', 'EN', 'Saint Vincent And The Grenadines', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('193', 'EN', 'Vatican City State (Holy See)', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('194', 'EN', 'Uzbekistan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('195', 'EN', 'Use existing translations:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('196', 'EN', 'All translations:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('197', 'EN', 'New translations:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('198', 'EN', 'Translations no longer referenced:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('199', 'EN', 'Languages:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('201', 'EN', 'Uruguay', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('202', 'EN', 'Activation code:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('203', 'EN', 'United States', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('204', 'EN', 'United States Minor Outlying Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('206', 'EN', 'total:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('207', 'EN', 'Login', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('208', 'EN', 'Password', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('209', 'EN', 'Uganda', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('210', 'EN', 'Ukraine', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('211', 'EN', 'Tanzania, United Republic Of', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('212', 'EN', 'Taiwan, Province Of China', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('213', 'EN', 'Tuvalu', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('214', 'EN', 'Trinidad And Tobago', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('215', 'EN', 'Turkey', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('216', 'EN', 'Not registered?', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('217', 'EN', 'Forgot your password?', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('218', 'EN', 'Forgot your e-mail address?', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('219', 'EN', 'For more troubleshooting hints, see', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('221', 'EN', 'Enter a new password', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('222', 'EN', 'Send a reminder', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('223', 'EN', 'Tonga', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('224', 'EN', 'Please fill in username and password!', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('225', 'EN', 'Logout was successful.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('226', 'EN', 'Login failed', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('227', 'EN', 'The entered username or password did not match.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('228', 'EN', 'Your tried to login more than %1 times within the last hour. The next login will not be allowed before one hour since the first try has passed.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('229', 'EN', 'Your account is not acivated.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('230', 'EN', '\><a href=\"activation.php\">Here</a>\< you can activate your account.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('231', 'EN', 'Tunisia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('232', 'EN', 'To complete the registration, you have to enter your e-mail address and activation code.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('233', 'EN', 'Turkmenistan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('234', 'EN', 'Tokelau', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('235', 'EN', 'Tajikistan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('236', 'EN', 'Thailand', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('237', 'EN', 'Togo', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('238', 'EN', 'French Southern Territories', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('239', 'EN', 'Chad', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('240', 'EN', 'Turks And Caicos Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('241', 'EN', 'Name', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('242', 'EN', 'Swaziland', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('243', 'EN', 'Syrian Arab Republic', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('244', 'EN', 'Recommendations of <a href=\"viewprofile.php?userid=%1\">%2</a>', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('245', 'EN', 'by %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('246', 'EN', '%1 has not recommended any geocache.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('248', 'EN', 'Show recommendations', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('249', 'EN', 'El Salvador', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('250', 'EN', 'Sao Tome And Principe', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('251', 'EN', 'Suriname', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('252', 'EN', 'Somalia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('253', 'EN', 'Unkown format of the given waypoint. The known formats are OCxxxxx and GCxxxxx, whereas x can be any number or char.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('254', 'EN', 'More than one cache with the waypoint \"%1\" exists.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('255', 'EN', 'The waypoint \"%1\" was not found.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('256', 'EN', 'Senegal', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('257', 'EN', 'San Marino', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('258', 'EN', 'Sierra Leone', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('259', 'EN', 'Slovakia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('260', 'EN', 'Svalbard And Jan Mayen Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('261', 'EN', 'Slovenia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('262', 'EN', 'St. Helena', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('263', 'EN', 'Singapore', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('264', 'EN', 'Sweden', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('265', 'EN', 'Sudan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('266', 'EN', 'Seychelles', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('267', 'EN', 'Solomon Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('268', 'EN', 'Saudi Arabia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('269', 'EN', 'Rwanda', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('270', 'EN', 'Russian Federation', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('271', 'EN', 'Romania', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('272', 'EN', 'Reunion', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('273', 'EN', 'Qatar', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('274', 'EN', 'Paraguay', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('275', 'EN', 'Palau', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('276', 'EN', 'Portugal', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('277', 'EN', 'Puerto Rico', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('278', 'EN', 'Pitcairn', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('279', 'EN', 'St. Pierre And Miquelon', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('280', 'EN', 'Poland', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('281', 'EN', 'Pakistan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('282', 'EN', 'Philippines', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('283', 'EN', 'Papua New Guinea', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('284', 'EN', 'French Polynesia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('285', 'EN', 'Peru', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('286', 'EN', 'Panama', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('287', 'EN', 'Oman', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('288', 'EN', 'New Zealand', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('289', 'EN', 'Niue', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('290', 'EN', 'Nauru', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('291', 'EN', 'Nepal', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('292', 'EN', 'Norway', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('293', 'EN', 'Netherlands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('294', 'EN', 'Nicaragua', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('295', 'EN', 'Nigeria', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('296', 'EN', 'Norfolk Island', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('297', 'EN', 'Niger', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('298', 'EN', 'New Caledonia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('299', 'EN', 'Namibia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('300', 'EN', 'Mozambique', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('301', 'EN', 'Malaysia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('302', 'EN', 'Mexico', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('303', 'EN', 'Malawi', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('304', 'EN', 'Maldives', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('305', 'EN', 'Mauritius', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('306', 'EN', 'Malta', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('307', 'EN', 'Montserrat', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('308', 'EN', 'Mauritania', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('309', 'EN', 'Martinique', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('310', 'EN', 'Northern Mariana Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('311', 'EN', 'Macau', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('312', 'EN', 'Mongolia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('313', 'EN', 'Myanmar', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('314', 'EN', 'Mali', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('315', 'EN', 'Macedonia, The Former Yugoslav Republic Of', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('316', 'EN', 'Marshall Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('317', 'EN', 'Madagascar', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('318', 'EN', 'Moldova, Republic Of', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('319', 'EN', 'Monaco', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('320', 'EN', 'Morocco', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('321', 'EN', 'Libyan Arab Jamahiriya', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('322', 'EN', 'Latvia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('323', 'EN', 'Luxembourg', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('324', 'EN', 'Lithuania', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('325', 'EN', 'Lesotho', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('326', 'EN', 'Liberia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('327', 'EN', 'Sri Lanka', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('328', 'EN', 'Liechtenstein', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('329', 'EN', 'Saint Lucia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('330', 'EN', 'Lebanon', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('331', 'EN', 'Lao People\'s Democratic Republic', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('332', 'EN', 'Kazakhstan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('333', 'EN', 'Cayman Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('334', 'EN', 'Kuwait', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('335', 'EN', 'Korea, Republic Of', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('336', 'EN', 'Korea, Democratic People\'s Republic Of', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('337', 'EN', 'Saint Kitts And Nevis', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('338', 'EN', 'Comoros', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('339', 'EN', 'Kiribati', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('340', 'EN', 'Cambodia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('341', 'EN', 'Kyrgyzstan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('342', 'EN', 'Kenya', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('343', 'EN', 'Japan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('344', 'EN', 'Jordan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('345', 'EN', 'Jamaica', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('346', 'EN', 'Italy', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('347', 'EN', 'Iceland', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('348', 'EN', 'Iran (Islamic Republic Of)', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('349', 'EN', 'Iraq', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('350', 'EN', 'British Indian Ocean Territory', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('351', 'EN', 'India', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('352', 'EN', 'Israel', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('353', 'EN', 'Ireland', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('354', 'EN', 'Indonesia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('355', 'EN', 'Hungary', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('356', 'EN', 'Haiti', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('357', 'EN', 'Croatia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('358', 'EN', 'Honduras', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('359', 'EN', 'Heard And Mc Donald Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('360', 'EN', 'Hong Kong', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('361', 'EN', 'Guyana', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('362', 'EN', 'Guinea-Bissau', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('363', 'EN', 'Guam', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('364', 'EN', 'Guatemala', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('365', 'EN', 'South Georgia And The South Sandwich Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('366', 'EN', 'Greece', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('367', 'EN', 'Guadeloupe', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('368', 'EN', 'Guinea', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('369', 'EN', 'Gambia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('370', 'EN', 'Greenland', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('371', 'EN', 'Gibraltar', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('372', 'EN', 'Ghana', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('373', 'EN', 'French Guiana', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('374', 'EN', 'Georgia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('375', 'EN', 'Grenada', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('376', 'EN', 'United Kingdom', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('377', 'EN', 'Gabon', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('378', 'EN', 'France', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('379', 'EN', 'Faroe Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('380', 'EN', 'Micronesia, Federated States Of', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('381', 'EN', 'Falkland Islands (Malvinas)', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('382', 'EN', 'Fiji', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('383', 'EN', 'Finland', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('384', 'EN', 'Ethiopia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('385', 'EN', 'Spain', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('386', 'EN', 'Eritrea', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('387', 'EN', 'Western Sahara', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('388', 'EN', 'Egypt', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('389', 'EN', 'Estonia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('390', 'EN', 'Ecuador', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('391', 'EN', 'Algeria', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('392', 'EN', 'Dominican Republic', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('393', 'EN', 'Denmark', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('394', 'EN', 'Djibouti', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('395', 'EN', 'Germany', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('396', 'EN', 'Czech Republic', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('397', 'EN', 'Cyprus', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('398', 'EN', 'Christmas Island', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('399', 'EN', 'Cape Verde', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('400', 'EN', 'Cuba', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('402', 'EN', 'Costa Rica', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('403', 'EN', 'Colombia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('404', 'EN', 'China', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('405', 'EN', 'Cameroon', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('406', 'EN', 'Chile', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('407', 'EN', 'Cook Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('408', 'EN', 'Cote d\'Ivoire', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('409', 'EN', 'Switzerland', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('410', 'EN', 'Congo', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('411', 'EN', 'Central African Republic', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('412', 'EN', 'Cocos (Keeling) Islands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('413', 'EN', 'Canada', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('414', 'EN', 'Belize', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('415', 'EN', 'Belarus', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('416', 'EN', 'Botswana', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('417', 'EN', 'Bouvet Island', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('418', 'EN', 'Bhutan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('419', 'EN', 'Bahamas', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('420', 'EN', 'Brazil', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('421', 'EN', 'Bolivia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('422', 'EN', 'Brunei Darussalam', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('423', 'EN', 'Bermuda', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('424', 'EN', 'Benin', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('425', 'EN', 'Burundi', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('426', 'EN', 'Bahrain', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('427', 'EN', 'Bulgaria', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('428', 'EN', 'Burkina Faso', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('429', 'EN', 'Belgium', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('430', 'EN', 'Bangladesh', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('431', 'EN', 'Barbados', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('432', 'EN', 'Bosnia And Herzegowina', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('433', 'EN', 'Azerbaijan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('434', 'EN', 'Aruba', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('435', 'EN', 'Australia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('436', 'EN', 'Austria', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('437', 'EN', 'American Samoa', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('438', 'EN', 'Argentina', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('439', 'EN', 'Angola', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('440', 'EN', 'Netherlands Antilles', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('441', 'EN', 'Armenia', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('442', 'EN', 'Albania', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('443', 'EN', 'Anguilla', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('444', 'EN', 'Antigua And Barbuda', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('445', 'EN', 'Afghanistan', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('446', 'EN', 'United Arab Emirates', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('447', 'EN', 'Andorra', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('448', 'EN', 'Switching to db-root failed.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('449', 'EN', '(before an export)', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('450', 'EN', 'We are currently updating %1. To protect against faults while processing, the entire page is offline.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('452', 'EN', 'News entry has been saved', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('453', 'EN', 'Thank you very much for your news entry. We will try to validate your entry as soon as possible.<br /><br />Back to <a href=\"index.php\">Start</a>', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('454', 'EN', 'Submit a news entry', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('455', 'EN', 'Submit', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('456', 'EN', 'The code did not match.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('457', 'EN', 'And now fill in the spam protection code:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('458', 'EN', 'What does this picture show?', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('459', 'EN', 'E-mail address is not valid.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('460', 'EN', 'Your e-mail address for queries:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('461', 'EN', 'Please use only text formatting HTML tags - e.g. bold, color or hyperlinks. Do not enter tables, divs etc.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('462', 'EN', 'The news entry was entered with HTML tags ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('463', 'EN', 'News entry:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('464', 'EN', 'Topic:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('465', 'EN', 'You know some interesting news about Geocaching?<br /> Here you can create a news entry which will be shown on the homepage.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('466', 'EN', 'The activation of your account was successful. You may now login at the login page.<br /><br /> <a href=\"login.php\">Go to the login page</a>', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('467', 'EN', 'Hint', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('468', 'EN', 'Activate account', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('469', 'EN', 'Best regards,<br/>your Opencaching team', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('470', 'EN', 'Please be patient, we will do our best to get the site back online as soon as possible.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('471', 'EN', 'The account could not be created, the reason is not known. If you cannot solve this problem by yourself, please contact us via <a href=\"mailto:%1\">e-mail</a>.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('472', 'EN', 'We respect your privacy. Your personal data will be stored in our database but not disclosed to third parties. Please note our detailed <a href=\"articles.php?page=dsb\">privacy statement</a>. If you have further questions, please <a href=\"mailto:%1\">contact us</a> <b>before</b> you create an account.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('473', 'EN', 'We have to approve your news entry before we can display it. We will try to do this within 24 to 48 hours. The news entry cannot be modified after you have submitted it. If you want to make changes, please resubmit the corrected entry. You may submit any news concerning Geocaching, but you may not submit advertisement for products or geocaches. The decision to approve or not approve a news entry is exclusively up to the operator of the web page - there is no claim for publication. In the case of doubts, please wait if your news entry will be published, or ask via e-mail to <a href=\"mailto:%1\">%1</a> before submitting.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('474', 'EN', 'If this problem persists over a longer time, please contact us via <a href=\"mailto:%1\">%1</a>.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('475', 'EN', '%1 is currently out of service', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('477', 'EN', 'Total runtime:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('478', 'EN', 'Business layer runtime:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('479', 'EN', 'Framework runtime:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('480', 'EN', 'User runtime:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('481', 'EN', 'SQL Debugger', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('482', 'EN', '%1 commands', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('483', 'EN', 'Overview', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('484', 'EN', 'Profile', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('485', 'EN', 'Stored queries', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('486', 'EN', 'Watched caches', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('487', 'EN', 'Ignored caches', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('488', 'EN', 'Settings', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('490', 'EN', 'The notification radius must not be greater than 150 km. To deactivate notifications, set the radius to 0.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('491', 'EN', 'Change password', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('493', 'EN', 'E-mail address', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('496', 'EN', 'Archived', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('497', 'EN', 'Not found', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('498', 'EN', 'Attended', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('499', 'EN', 'Will attend', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('500', 'EN', 'Hello %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('501', 'EN', 'Logs', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('502', 'EN', 'Finds: %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('503', 'EN', 'Your latest log entries', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('504', 'EN', 'No entries found', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('505', 'EN', 'Geocaches hidden: %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('506', 'EN', 'Your geocaches hidden', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('507', 'EN', 'No geocaches hidden ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('508', 'EN', 'Your pending geocaches:', '2012-07-23 15:54:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('512', 'EN', 'Unknown Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('513', 'EN', 'Traditional Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('514', 'EN', 'Multicache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('515', 'EN', 'Virtual Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('516', 'EN', 'Webcam Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('517', 'EN', 'Event Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('518', 'EN', 'Quiz Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('519', 'EN', 'Math/Physics Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('520', 'EN', 'Moving Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('521', 'EN', 'Drive-In Geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('524', 'EN', 'other size', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('525', 'EN', 'micro', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('526', 'EN', 'small', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('527', 'EN', 'normal', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('528', 'EN', 'large', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('529', 'EN', 'very large', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('530', 'EN', 'no container', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('531', 'EN', 'Available', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('532', 'EN', 'Temporarily not available', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('533', 'EN', 'Hidden by approvers to check', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('534', 'EN', 'Not yet published', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('535', 'EN', 'Unknown cache type', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('536', 'EN', 'Traditional Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('537', 'EN', 'Virtual Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('538', 'EN', 'Webcam Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('539', 'EN', 'Event Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('540', 'EN', 'Math/Physics Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('541', 'EN', 'Moving Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('542', 'EN', 'Drive-in Cache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('544', 'EN', 'I want to be notified about new geocaches within a radius of %1 km.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('545', 'EN', 'BBCode for web forums:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('546', 'EN', '%1 statstics of %2', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('547', 'EN', 'Choose logo', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('548', 'EN', 'HTML code:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('549', 'EN', 'Text displayed:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('550', 'EN', 'Text contains invalid characters!', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('551', 'EN', 'Available logos:', '2015-11-24 22:36:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('552', 'EN', 'Cancel', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('553', 'EN', 'Save', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('554', 'EN', 'The following settings are stored for your logo:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('555', 'EN', 'Show log entries', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('556', 'EN', 'Statistics picture', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('558', 'EN', 'Don\'t use the HTML editor by default.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('559', 'EN', 'Don\'t log me out after 60 minutes of inactivity.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('560', 'EN', 'I\'m taking a PMR walkie talkie on channel 2 with me.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('561', 'EN', 'Others:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('562', 'EN', 'Notification about new geocaches is disabled.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('563', 'EN', 'Notify me about new geocaches within a radius of %1 km.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('564', 'EN', 'Notifications:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('565', 'EN', 'Home coordinates:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('566', 'EN', 'Country:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('567', 'EN', 'Last name:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('568', 'EN', 'First name:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('569', 'EN', 'Recommended', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('570', 'EN', '%1 found the geocache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('571', 'EN', '%1 did not find the geoacache', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('572', 'EN', '%1 wrote a note', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('573', 'EN', '%1 has visited the event', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('574', 'EN', '%1 wants to visit the event', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('575', 'EN', '%1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('576', 'EN', 'Edit', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('577', 'EN', 'Delete', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('578', 'EN', 'Upload picture', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('579', 'EN', 'Pictures for this log entry: ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('580', 'EN', 'Back to the geocache listing', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('581', 'EN', 'E-mail address:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('582', 'EN', 'Log entries for %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('584', 'EN', 'Picture selection for %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('585', 'EN', 'There are no pictures for this geocache.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('586', 'EN', 'As preview picture', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('587', 'EN', 'My profile data', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('588', 'EN', 'The following information is stored in your user profile:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('590', 'EN', 'Username:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('591', 'EN', 'The country is not valid.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('592', 'EN', 'The entered radius is not valid.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('595', 'EN', 'New password:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('596', 'EN', 'Request', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('597', 'EN', 'Change', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('598', 'EN', 'Request code', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('599', 'EN', 'New password code', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('600', 'EN', 'on %1 you requested a security code to change your password.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('601', 'EN', 'The following code has been generated: %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('602', 'EN', 'This code is valid for 3 days.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('603', 'EN', 'You can enter your new password at %1newpw.php.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('604', 'EN', 'To change your password, you have to request a security code which will be sent to you by e-mail.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('605', 'EN', 'This e-mail address is not registered with a valid username.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('606', 'EN', 'An e-mail has been sent to you containing the security code.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('607', 'EN', 'An unknown error occurred. The security code could not be sent to you.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('608', 'EN', 'Please enter your e-mail address, the security code you received and your new password. The security code is valid for 3 days only. You have to request a new one if that period of time has elapsed.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('609', 'EN', 'This user account has not been activated yet.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('610', 'EN', 'Security code:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('611', 'EN', 'The security code is expired. Please request a new one.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('612', 'EN', 'The security code does not match.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('613', 'EN', 'Please repeat:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('614', 'EN', 'The password has been changed.', '2013-02-14 00:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('615', 'EN', 'Security code for new e-mail address ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('616', 'EN', 'on %1 you requested a security code to change your e-mail address.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('617', 'EN', 'You can verify your new e-mail address at %1newemail.php', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('618', 'EN', 'Change e-mail address', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('619', 'EN', 'To change your e-mail address, you have to request a security code. It will be sent to your new e-mail address.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('620', 'EN', 'New e-mail address:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('621', 'EN', 'This e-mail address is already assigned to your account.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('622', 'EN', 'Please enter the security code you received. The security code is valid for 3 days only. You have to request a new one if that period of time has elapsed.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('623', 'EN', 'Please request a security code first.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('624', 'EN', 'No new e-mail address has been stored. Please request a security code first.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('625', 'EN', 'The e-mail address has been changed.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('626', 'EN', 'Download', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('627', 'EN', 'No stored queries found', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('628', 'EN', 'By downloading you accept the Opencaching.de <a href=\"articles.php?page=impressum#tos\">terms of use</a>.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('629', 'EN', 'Store query', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('630', 'EN', 'Store options as a new search', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('631', 'EN', 'Name of the search:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('632', 'EN', 'You have to enter a name for this search.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('633', 'EN', 'A search with this name already exists.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('634', 'EN', 'Store', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('635', 'EN', 'Overwrite old search options', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('636', 'EN', '-- Select search to overwrite --', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('637', 'EN', '-- no stored search found --', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('638', 'EN', 'My recommendations', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('639', 'EN', 'Your recommendation for \"<a href=\"viewcache.php?wp=%1\">%2</a>\" has been removed!', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('640', 'EN', 'Remove recommendation', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('641', 'EN', 'You haven\'t recommended a geocache. ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('642', 'EN', 'Ignored geocaches', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('643', 'EN', 'remove', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('644', 'EN', 'You do not ignore any geocaches now.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('645', 'EN', 'Watched geocaches - settings', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('646', 'EN', 'Delivery:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('647', 'EN', 'Immediate', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('648', 'EN', 'Daily', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('649', 'EN', 'Weekly', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('650', 'EN', 'Send at:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('651', 'EN', '\ ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('652', 'EN', 'Send on:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('653', 'EN', 'Sending time and day will only be used for daily or weekly delivery.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('654', 'EN', 'Error while trying to save settings!', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('655', 'EN', 'Settings have been stored.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('656', 'EN', 'Watched geocaches', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('657', 'EN', 'Last found', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('658', 'EN', 'No watched geocaches.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('659', 'EN', 'Remind e-mail address', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('660', 'EN', 'E-mail address reminder', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('661', 'EN', 'Enter your username and we will send a reminder e-mail to your e-mail address.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('662', 'EN', 'Enter an username.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('663', 'EN', 'Username does not exist.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('664', 'EN', 'The reminder e-mail has been sent.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('665', 'EN', 'Reminder to your e-mail address', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('666', 'EN', 'Your login e-mail address:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('667', 'EN', 'you requested a reminder e-mail on %1 .', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('668', 'EN', 'Cache recommendations', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('669', 'EN', 'Users that recommended %1 by %2 also recommended the following geocaches:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('670', 'EN', 'Quota', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('671', 'EN', 'No recommendations found.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('672', 'EN', 'Database maintenance', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('673', 'EN', 'DB maintenance', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('674', 'EN', '%1 corrected %2 entries ', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('675', 'EN', 'Execute', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('676', 'EN', 'Send', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('677', 'EN', 'E-mail from', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('678', 'EN', 'Sorry, the requested user account is deactivated.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('679', 'EN', 'Sorry, there is no e-mail address for this user.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('680', 'EN', 'An unknown error occurred and the e-mail was not sent.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('681', 'EN', '\'%1\' contacted you via %2.\r\nThe user profile: %2viewprofile.php?userid=%3\r\nTo answer this e-mail use the e-mail link at the user\'s profile.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('682', 'EN', 'Subject:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('683', 'EN', 'All information will be handled confidential and will not be disclosed to third parties!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('684', 'EN', '\'%1\' with e-mail address %2 contacted you via %3.\r\nThe user profile: %3viewprofile.php?userid=%4\r\nUse the reply button of your e-mail client to answer this mail.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('685', 'EN', 'E-mail to %1 has been sent.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('686', 'EN', 'Content:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('687', 'EN', 'Send E-Mail to %1', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('688', 'EN', 'You have to enter a subject!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('689', 'EN', 'You have to enter a content!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('690', 'EN', 'Send my e-mail address with this message', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('691', 'EN', 'This enables the receiver to answer your e-mail directly using his e-mail client. You may enable this option by default in your <a href=\"myprofile.php\">user profile</a>.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('692', 'EN', 'To protect you and us from abuse:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('693', 'EN', 'Only e-mails concerning geocaching are allowed. Spamming is prohibited!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('694', 'EN', 'All relevant information will be logged (date/time, sender/receiver and IP address).', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('696', 'EN', 'Sorry, this geocache is not published.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('697', 'EN', 'Show all log entries', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('698', 'EN', 'Show geocache', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('699', 'EN', 'You are already logged in.<br /> Please <a href=\"login.php?action=logout\">logout</a> first to login again.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('701', 'EN', 'Difficulty:\ %1\ of\ 5', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('702', 'EN', 'Terrain:\ %1\ of\ 5', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('703', 'EN', 'List of attendees', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('704', 'EN', 'Log this cache', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('705', 'EN', 'Don\'t watch', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('706', 'EN', 'Watch', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('707', 'EN', 'Don\'t ignore', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('708', 'EN', 'Ignore', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('709', 'EN', 'Print', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('710', 'EN', 'Convert coordinates', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('711', 'EN', 'Size', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('712', 'EN', 'Time required:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('713', 'EN', 'Distance', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('715', 'EN', 'Hidden on:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('716', 'EN', 'Listed since', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('717', 'EN', 'Last update:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('718', 'EN', 'Waypoint', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('719', 'EN', 'Also listed at:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('720', 'EN', 'Notes', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('721', 'EN', 'Watchers', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('722', 'EN', 'Ignorers', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('723', 'EN', 'Page visits', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('724', 'EN', 'Cache attributes', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('725', 'EN', 'Additional hint', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('726', 'EN', 'Decrypt', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('727', 'EN', 'Pictures', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('728', 'EN', 'Utilities', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('729', 'EN', 'Show cache recommendations from users that recommended this geocache: <a href=\"recommendations.php?cacheid=%1\">all</a>', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('730', 'EN', 'Search geocaches nearby:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('731', 'EN', 'all', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('732', 'EN', 'searchable', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('733', 'EN', 'Download as file:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('734', 'EN', 'GPS Exchange Format .gpx', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('735', 'EN', 'Waypoint file .loc', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('736', 'EN', 'Google Earth .kml', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('737', 'EN', 'TomTom POI .ov2', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('738', 'EN', 'TOP50 Overlay .ovl', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('739', 'EN', 'Text file .txt', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('740', 'EN', 'C O P Y', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('741', 'EN', 'Edit picture', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('742', 'EN', 'Sorry, the requested picture does not exist.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('743', 'EN', 'Sorry, the requested cachelog does not exist.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('744', 'EN', 'Show statistics', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('745', 'EN', 'Age', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('747', 'EN', 'Location', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('748', 'EN', 'MiniMap-Zoom', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('749', 'EN', 'Report this cache', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('750', 'EN', 'Reported caches', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('751', 'EN', 'File:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('752', 'EN', 'Please name the picture!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('753', 'EN', 'Add picture for geocache %1', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('754', 'EN', 'Add picture for log entry %1', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('755', 'EN', 'Edit picture for geocache %1', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('756', 'EN', 'Edit picture for log entry %1', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('757', 'EN', 'Name:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('758', 'EN', 'Name the picture!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('759', 'EN', 'After clicking <i>upload</i>, it may take a while until the next page appears.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('760', 'EN', 'This picture is a spoiler - don\'t show a thumbnail.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('761', 'EN', 'Upload', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'EN', 'Only the following picture formats are allowed: %1. We recommend JPEG for photos.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'EN', 'The file size of the picture must not exeed %1 KB. We recommend 640x480 pixels picture size.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('764', 'EN', 'Report for %1 has been submitted.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('765', 'EN', 'Reason:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('766', 'EN', 'Comment:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('767', 'EN', 'Report %1', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('768', 'EN', 'You have to select a reason for your report!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('769', 'EN', 'Comment: (required)', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('770', 'EN', 'It is required to enter a comment for reporting a cache!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('771', 'EN', 'An unknown error occurred. Reporting failed.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('772', 'EN', 'Report cache', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('773', 'EN', 'New', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('774', 'EN', 'In progress', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('775', 'EN', 'Done', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('776', 'EN', 'Cache on private property', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('777', 'EN', 'Copyright violation', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('778', 'EN', 'Cache is gone', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('779', 'EN', 'Other reason', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('780', 'EN', 'This report is already assigned to another admin! It must be at least two weeks old before you can assume it.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('781', 'EN', 'This report is already assigned to you! ', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('782', 'EN', 'You cannot work on this report, it is already assigned to another admin!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('783', 'EN', 'To work on a report you have to assign it to you!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('784', 'EN', 'No reported caches', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('785', 'EN', 'Details for report of ', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('786', 'EN', ' by ', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('787', 'EN', 'not assigned', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('788', 'EN', 'Assign to me', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('789', 'EN', 'Contact owner', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('792', 'EN', 'Mark as done', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('793', 'EN', 'Action', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('794', 'EN', 'Prior to reporting a cache to the Opencaching team, you should try to contact the owner and try to solve the presumed problems yourself. This does not apply for caches violating the Opencaching terms of use in a way that requires immediate action of an Opencaching administrator.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('795', 'EN', 'Do not separately display this picture (which is only used in HTML description etc.)', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('796', 'EN', 'No information on user details found.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('797', 'EN', 'Coordinates', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('798', 'EN', 'Geokrets', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('799', 'EN', 'Details', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('801', 'EN', 'User details', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('802', 'EN', 'My profile details', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('803', 'EN', 'The following additional information is stored in your user profile:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('805', 'EN', 'Error while saving.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('806', 'EN', 'Illegal characters found in', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('807', 'EN', 'Field values too long in', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('808', 'EN', 'Original values have been restored.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('809', 'EN', 'visible', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('810', 'EN', 'invisible', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('811', 'EN', 'internal', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('812', 'EN', '(*) New reports', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('814', 'EN', 'User statistics', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('815', 'EN', 'show', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('817', 'EN', 'This geocache has been locked by an administrator because it did not comply with the Opencaching terms of use. If you wish to unlock it, contact us using the \"report cache\" link. Please choose \"other\" as reason and explain briefly what you have changed to make the listing compliant with our terms of use. Thank you!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('818', 'EN', '/sql/static-data/data.sql has been changed with last CVS checkout.<br /> Before you edit translastions, update database from data.sql!<br /> \ ', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('819', 'EN', 'Sorry, this geocache is locked and cannot be viewed.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('821', 'EN', 'Locked, visible', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('822', 'EN', 'Locked, invisible', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('823', 'EN', 'Last modified', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('826', 'EN', '-- Please select --', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('827', 'EN', 'Adoptions', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('828', 'EN', 'Date', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('829', 'EN', 'Yes, I have read and will comply with the Opencaching.de <a href=\"articles.php?page=impressum#tos\">terms of use</a>.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('830', 'EN', 'To complete the adoption, you have to submit this form.<br /> By submitting this form, you will become the responsible owner of this geocache.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('831', 'EN', 'on %2, <strong>%1</strong> offered this geocache to you for adoption.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('832', 'EN', 'Thank you for adopting <strong>%1</strong>.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('833', 'EN', 'Commit the adoption of %1', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('834', 'EN', 'There are no caches that can be adopted by you at the moment.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('835', 'EN', 'Adopt now', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('836', 'EN', 'Geocaches which are offered to you for adoption', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('837', 'EN', 'Yes, I have read and understand the above and agree with it.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('839', 'EN', 'Offer <b>%1</b> for adoption', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('840', 'EN', 'You have not invited any users to adopt this cache.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('841', 'EN', 'Reject adoption', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('842', 'EN', 'List of users you offered %1 for adoption', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('843', 'EN', 'Username unknown', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('844', 'EN', 'You cannot adopt your own cache!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('845', 'EN', 'Sorry, you have to read and accept the above to proceed!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('846', 'EN', 'Sorry, you have to read and accept the terms of use to proceed!', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('847', 'EN', 'This rules ensures that your password cannot be guessed by an automated script.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('849', 'EN', 'Not all characters are allowed. You may only use latin-european letters, 0-9 and .-_ @=)(/\\\&*+~#.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('850', 'EN', 'Do not use dictionary words like \'master\'.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('851', 'EN', 'Do not use common geocaching words.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('852', 'EN', 'Do not use parts of your username, real name or e-mail address.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('853', 'EN', 'Between 6 and 60 characters long', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('854', 'EN', 'Please verify that your password matches the following criteria:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('855', 'EN', 'Your password did not pass our security check.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('856', 'EN', 'Montenegro', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('857', 'EN', 'Serbia', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('858', 'EN', '* If the user explicitly logged out after his last visit or more than<br /> 90 days have passed since last login, the last login cannot be determined. ', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('859', 'EN', 'Manage users', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('860', 'EN', 'Sure?', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('861', 'EN', 'Disable (and lock all geocaches owned)', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('862', 'EN', 'Unknown', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('863', 'EN', 'Last known login:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('864', 'EN', 'Active geocaches:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('865', 'EN', 'Total hidden:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('866', 'EN', 'Log entries:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('867', 'EN', 'User active:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('868', 'EN', 'Date created:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('869', 'EN', 'View user account details', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('870', 'EN', 'User account details', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('871', 'EN', 'E-mail:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('872', 'EN', 'Waypoint download', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('873', 'EN', 'News entries', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('874', 'EN', 'Hide', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('875', 'EN', 'Terrain', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('876', 'EN', 'Difficulty', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('877', 'EN', 'Send this waypoint to GPS device:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('882', 'EN', 'Current top ratings', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('884', 'EN', '%1 recommendations within the last 30 days ', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('885', 'EN', 'You can find more recommendations \><a href=\"tops.php\">here</a>\<.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('887', 'EN', 'Last\ login:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('888', 'EN', 'Within the last month', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('889', 'EN', '1 to 6 months ago', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('890', 'EN', '6 to 12 months ago', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('891', 'EN', '1 to 2 years ago', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('892', 'EN', 'The user account has been disabled.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('893', 'EN', 'A new activation mail has been sent.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('894', 'EN', 'of', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('900', 'EN', 'Donations', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('902', 'EN', 'Text', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('905', 'EN', 'OC waypoint', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('906', 'EN', 'Terms of use', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('907', 'EN', 'Our team', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('914', 'EN', 'Nature reserve', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('915', 'EN', 'Scan complete', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('916', 'EN', 'Current file:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('921', 'EN', 'Info', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('922', 'EN', 'EN', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('923', 'EN', 'The compilation of the template failed. This should be a temporary failure. Please try again in some minutes.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('933', 'EN', 'Scan source codes', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('954', 'EN', 'Default', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1059', 'EN', 'An account with that username already exists.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1060', 'EN', 'Opencaching Wiki', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1061', 'EN', 'Terms of use and legal information', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1062', 'EN', 'Page performance:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1063', 'EN', 'Page creation:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1097', 'EN', 'D/T', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1123', 'EN', 'Cache\ name', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1141', 'EN', 'N', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1142', 'EN', 'S', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1143', 'EN', 'E', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1144', 'EN', 'W', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1146', 'EN', 'Kilometer', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1164', 'EN', 'Some more items found...', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1165', 'EN', 'city, cachename or waypoint', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1166', 'EN', 'Show link to this map', '2010-08-29 23:43:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1206', 'EN', 'km', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1208', 'EN', 'h', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1269', 'EN', 'map', '2010-09-02 00:15:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1272', 'EN', 'show fullscreen', '2010-09-02 00:15:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1275', 'EN', 'Menu', '2010-09-02 00:15:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1278', 'EN', 'Editor', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1279', 'EN', '\<html\>', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1292', 'EN', 'Setting smilies is not supported.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'EN', 'Only the following picture formats are allowed: %1.', '2010-08-28 11:50:56');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1297', 'EN', 'am', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1298', 'EN', 'The following list is generated automatically by the given recommendations of the users. You can find more informations on regional classification in the %1Wiki</a>.<br /> <br /> The numbers in the list below means:<br /> <img src=\"images/rating-star.gif\" border=\"0\" alt=\"Recommendations\" /> Number of users that recommend this cache<br /> <img src=\"resource2/%2/images/log/16x16-found.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"Found\" /> Checks = Number of time the cache was found<br /> Index tries to take the number of recommendations and founds in an order to show \'the best\' geocache first.<br /> <img src=\"images/tops-formula.png\" border=\"0\" alt=\"Formula\" />', '2010-08-29 22:49:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1299', 'EN', 'File upload failed!', '2010-08-29 22:50:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1300', 'EN', 'XML file could not be loaded!', '2010-08-29 22:50:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1301', 'EN', 'SQL Export', '2010-08-29 23:28:25');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1302', 'EN', 'XML Download', '2010-08-29 23:29:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1303', 'EN', 'XML Import', '2010-08-29 23:29:17');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1304', 'EN', 'XML file containing the translations:', '2010-08-29 23:30:09');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1305', 'EN', 'Check the following languages in the XML file:', '2010-08-29 23:31:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1306', 'EN', 'Scan file', '2010-08-29 23:32:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1307', 'EN', 'Source code changed, text no longer used', '2010-08-29 23:32:24');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1308', 'EN', 'New translation', '2010-08-29 23:32:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1309', 'EN', 'Modified translation', '2010-08-29 23:33:34');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1310', 'EN', 'old', '2010-08-29 23:33:40');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1311', 'EN', 'Toggle all', '2010-08-29 23:33:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1312', 'EN', 'Commit', '2010-08-29 23:27:44');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1315', 'EN', 'Date:', '2010-09-10 23:33:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1316', 'EN', 'Log-entry:', '2010-09-10 23:56:35');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1317', 'EN', 'Passwort to log:', '2010-09-10 23:57:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1319', 'EN', 'Invalid password!', '2010-09-11 00:06:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1322', 'EN', 'New log-entry', '2010-09-11 00:07:30');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1323', 'EN', 'Type of log-entry:', '2010-09-11 00:06:42');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1326', 'EN', 'Recommendations:', '2010-09-11 00:06:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1327', 'EN', 'A recommendation can only be made with a \"found\" or \"attended\" log!', '2010-09-11 00:05:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1328', 'EN', 'This cache is one of my recommendations.', '2010-09-11 00:05:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1329', 'EN', 'Alternatively, you can withdraw a <a href=\"mytop5.php\">existing recommendation</a>.', '2010-09-11 00:05:34');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1330', 'EN', 'You have given %1 of %2 possible recommendations.', '2010-09-11 00:05:25');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1331', 'EN', 'Dangers', '2010-09-10 23:58:24');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1332', 'EN', 'Infrastructure', '2010-09-11 00:05:18');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1333', 'EN', 'Waypoints', '2010-09-11 00:05:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1334', 'EN', 'General', '2010-09-11 00:05:01');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1335', 'EN', 'Time', '2010-09-11 00:04:26');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1336', 'EN', 'Seasonal', '2010-09-11 00:04:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1337', 'EN', 'Listing', '2010-09-11 00:03:50');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1338', 'EN', 'Tools needed', '2010-09-11 00:03:40');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1339', 'EN', 'Preparation needed', '2010-09-11 00:03:27');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1340', 'EN', 'Persons', '2010-09-11 00:03:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1341', 'EN', 'Transportation', '2010-09-11 00:03:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1342', 'EN', 'Properties', '2010-09-11 00:02:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1343', 'EN', 'Restrictions / Preconditions', '2010-09-11 00:02:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1344', 'EN', 'Recommendations / Prohibitions', '2010-09-11 00:02:40');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1345', 'EN', 'Only loggable at Opencaching', '2010-09-11 00:02:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1346', 'EN', 'Time and effort (optional):', '2010-09-11 00:02:20');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1347', 'EN', 'Of course, this effort can only be estimated and can vary depending on enviromental influences. If you cannot make sufficiently detailed information, fill both fields up with a O (zero)', '2010-09-11 00:02:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1348', 'EN', 'Waypoints (optional):', '2010-09-11 00:02:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1349', 'EN', 'If the cache was published at another geocaching website, enter the corresponding waypoint here.', '2010-09-11 00:01:54');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1350', 'EN', 'No data will be imported automatically from these listing services.', '2010-09-11 00:00:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1351', 'EN', 'Descriptions', '2010-09-11 00:00:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1352', 'EN', 'Add description in another language', '2010-09-11 00:00:39');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1353', 'EN', 'Your description contains at least one link to a picture hosted on geocaching.com!', '2010-09-11 00:00:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1354', 'EN', 'To prevent any problems with geocaching.com, please upload all linked pictures to %1 as well and link the pictures in the HTML code to these on %1.', '2010-09-11 00:00:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1355', 'EN', 'Upload a picture', '2010-09-10 23:59:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1356', 'EN', 'Listed since:', '2010-09-10 23:59:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1357', 'EN', 'This cache is yours', '2010-09-10 23:57:34');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1358', 'EN', 'You found this cache', '2010-09-10 23:59:21');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1359', 'EN', 'You havn\'t found this cache, yet', '2010-09-10 23:59:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1360', 'EN', 'This cache stores a GeoKrety', '2010-09-10 23:58:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1361', 'EN', 'This cache has %1 recommandation(s)', '2010-09-10 23:58:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1362', 'EN', 'Edit log entry for the cache %1', '2010-09-10 23:58:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1363', 'EN', 'Type of log entry', '2010-09-10 23:57:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1364', 'EN', 'JavaScript is disabled in your browser, you can enter text only. To use HTML, or the editor, please enable JavaScript.', '2010-09-10 23:57:54');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1365', 'EN', 'New cache', '2010-09-10 23:57:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1366', 'EN', 'Owner:', '2010-09-10 23:56:45');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1367', 'EN', 'Cache\ type:', '2010-09-10 23:55:47');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1368', 'EN', 'Size:', '2010-09-10 23:55:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1369', 'EN', 'Coordinates:', '2010-09-10 23:55:24');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1370', 'EN', 'Rating:', '2010-09-10 23:55:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1371', 'EN', 'Difficulty:', '2010-09-10 23:54:45');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1372', 'EN', 'Terrain:', '2010-09-10 23:54:37');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1373', 'EN', 'Time effort:', '2010-09-10 23:54:24');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1374', 'EN', 'Notice', '2010-09-10 23:54:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1376', 'EN', 'Hidden since:', '2010-09-10 23:53:53');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1377', 'EN', '(leave blank for no password)', '2010-09-10 23:53:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1378', 'EN', 'Please note the <a href=\"articles.php?page=cacheinfo#logpw\" target=\"_blank\">description</a>', '2010-09-10 23:53:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1379', 'EN', 'Less', '2010-09-10 23:52:53');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1380', 'EN', 'Search for caches', '2010-09-10 23:52:44');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1381', 'EN', 'JavaScript is not activated, you cannot use the above options (hide caches .. sort results) - basic search works nevertheless.', '2010-09-10 23:52:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1382', 'EN', 'Sort results by:', '2010-09-10 23:52:28');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1383', 'EN', 'Last logs', '2010-09-10 23:52:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1384', 'EN', 'Show caches recommended by other users first', '2010-09-10 23:51:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1386', 'EN', 'Hide these caches:', '2010-09-10 23:51:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1387', 'EN', 'My owned', '2010-09-10 23:51:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1388', 'EN', 'My finds', '2010-09-10 23:51:21');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1389', 'EN', 'My ignored', '2010-09-10 23:51:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1391', 'EN', 'Inactive', '2010-09-10 23:50:53');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1392', 'EN', 'Cache attributes:', '2010-09-10 23:50:44');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1396', 'EN', 'Miles', '2010-09-10 23:50:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1397', 'EN', 'Seamiles', '2010-09-10 23:49:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1399', 'EN', 'Postal code:', '2010-09-10 23:49:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1400', 'EN', 'City:', '2010-09-10 23:47:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1404', 'EN', 'Logtype:', '2010-09-10 23:48:59');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1405', 'EN', 'Error while loading the page', '2010-09-10 23:48:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1406', 'EN', 'In an attempt to create the page, an error has occurred. If you pass through a hyperlink on our side and the problem persists do not hesitate to contact us by email.', '2010-09-10 23:48:34');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1408', 'EN', 'Page:', '2010-09-10 23:48:10');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1411', 'EN', 'Are you sure that this log entry shall be removed?', '2010-09-10 23:47:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1412', 'EN', 'Do you want to send {log_user_name} a note? ', '2010-09-10 23:46:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1413', 'EN', 'Remove log entry', '2010-09-10 23:46:43');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1414', 'EN', 'Date is invalid', '2012-08-26 09:10:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1415', 'EN', 'only for found logs', '2010-09-10 23:44:54');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1416', 'EN', 'Submit a new cache', '2010-09-10 23:44:37');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1417', 'EN', 'If this is your first cache on %1, be sure to check out the <a href=\"articles.php?page=cacheinfo\">description</a> of the individual fields.', '2010-09-10 23:46:21');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1418', 'EN', 'Distance', '2010-09-10 23:32:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1419', 'EN', 'The effort is of course only be estimated and can vary depending on environmental influences. If you can not make sufficiently detailed information, write 0 (zero) in both fields. (See also: <a href=\"articles.php?page=cacheinfo#time\" target=\"_blank\">description</a>)', '2010-09-10 23:46:13');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1420', 'EN', 'Language:', '2010-09-10 23:45:25');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1421', 'EN', 'You can add more descriptions in other languages publishing the cache.', '2010-09-10 23:44:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1422', 'EN', 'Short description:', '2010-09-10 23:44:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1423', 'EN', 'Description:', '2010-09-10 23:43:43');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1425', 'EN', 'Additional note, will be shown encrypted:', '2010-09-10 23:42:28');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1426', 'EN', 'You can add additional pictures after creating the cache.', '2010-09-10 23:42:15');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1427', 'EN', 'Publication:', '2010-09-10 23:40:53');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1428', 'EN', 'Publish now', '2010-09-10 23:40:13');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1429', 'EN', 'Publish on', '2010-09-10 23:40:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1430', 'EN', 'Do not publish now.', '2010-09-10 23:40:30');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1431', 'EN', 'I have read and agree to the <a href=\"articles.php?page=impressum#tos\" target=\"_blank\">Opencaching.de Terms of Service</a> and <a href=\"articles.php?page=impressum#datalicense\" target=\"_blank\">Opencaching.de Data license</a>.', '2010-09-10 23:39:25');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1432', 'EN', 'Info: Your log entry has been removed by the cache owner.', '2010-09-10 23:39:09');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1433', 'EN', 'Selection of city', '2010-09-10 23:39:01');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1434', 'EN', 'Total of %1 cities matched', '2010-09-10 23:38:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1435', 'EN', 'For the search criterion no clear result was found. Please choose the desired location:', '2010-09-10 23:38:27');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1436', 'EN', 'Add log-entry for the cache %1', '2010-09-10 23:38:20');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1437', 'EN', 'Cachename is invalid', '2010-09-10 23:34:40');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1438', 'EN', 'The used coordinates are invalid.', '2010-09-10 23:38:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1439', 'EN', 'The entered time is invalid.', '2010-09-10 23:37:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1440', 'EN', 'The distance you have entered is invalid. Format aa.aaa', '2010-09-10 23:37:28');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1441', 'EN', 'The cache-status does not fit to your publishing options', '2010-09-10 23:34:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1442', 'EN', 'Choose both valuations!', '2010-09-10 23:33:56');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1443', 'EN', 'No pictures available', '2010-09-10 23:32:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1444', 'EN', '%1 caches<span style=\"%2\"> matched</span>', '2010-09-10 23:33:47');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1445', 'EN', 'Result %1 to %2 (as zip)', '2010-09-10 23:33:37');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1446', 'EN', 'This description was created on another Opencaching-webserver and can only be deleted there.', '2010-09-10 23:31:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1447', 'EN', 'The cache description has been deleted', '2010-09-10 23:31:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1448', 'EN', 'Delete this cache description', '2010-09-10 23:31:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1451', 'EN', 'Please do not use any images that are hosted on geocaching.com. Upload your fotos instead on our server as well.', '2010-09-10 23:28:13');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1452', 'EN', 'Encrypted note:', '2010-09-10 23:28:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1453', 'EN', 'Do you really want to delete this description of your cache \"{cachename}\"', '2010-09-10 23:26:47');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1454', 'EN', 'Yes, delete cache description', '2010-09-10 23:26:27');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1455', 'EN', 'Submit cache', '2010-09-10 23:26:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1456', 'EN', 'Format: DD-MM-YYYY', '2010-09-10 23:26:10');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1457', 'EN', 'Some errors occurred, please check the marked fields.', '2010-09-10 23:27:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1458', 'EN', 'Your entered coordinates are invalid', '2010-09-10 23:19:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1459', 'EN', 'The entered distance is invalid, Format: aa.aaa', '2010-09-10 23:24:17');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1460', 'EN', 'Invalid date, format:\ DD-MM-JJJJ', '2010-09-10 23:20:18');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1461', 'EN', 'The cache can only be adopted if you agree our terms of use.', '2010-09-10 23:19:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1463', 'EN', 'No cache-type is chosen.', '2010-09-10 23:18:20');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1464', 'EN', 'No cache-size is chosen.', '2010-09-10 23:17:59');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1466', 'EN', 'Your cache is successfully added to the database. You will be redirected to the cache page, now.', '2010-09-10 23:17:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1467', 'EN', 'Select', '2010-09-10 23:17:25');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1468', 'EN', '(internal error) The description is not available.', '2010-09-10 23:17:15');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1469', 'EN', '(internal error) There already exists a description for this language.', '2010-09-10 23:17:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1471', 'EN', 'There already exists a description in this language.', '2010-09-10 23:16:13');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1473', 'EN', 'Are you sure to remove your log entry?', '2010-09-10 23:15:56');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1475', 'EN', 'A database command could not be performed.', '2010-09-11 02:46:21');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1476', 'EN', 'Edit cache <a href=\"viewcache.php?cacheid={cacheid}\">{name}</a>', '2010-09-11 02:36:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1477', 'EN', 'offer for adoption', '2010-09-11 02:34:42');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1478', 'EN', 'Status:', '2010-09-11 02:33:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1479', 'EN', 'Waypoint search', '2010-09-11 02:35:20');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1480', 'EN', 'Country sites', '2010-09-11 02:46:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1482', 'EN', 'Waypoints:', '2010-09-11 02:33:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1483', 'EN', '\ ', '2010-09-11 02:46:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1486', 'EN', 'If your browser does not support automatic forwarding please click here.', '2010-09-11 02:34:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1489', 'EN', 'EN', '2010-09-11 02:33:05');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1490', 'EN', 'Password:', '2010-09-11 02:33:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1491', 'EN', 'edit cache description for <a href=\"viewcache.php?cacheid={cacheid}\">{cachename}</a>', '2010-09-11 02:32:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1494', 'EN', 'Add', '2010-09-11 02:33:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1495', 'EN', 'Enter a name, please!', '2010-09-11 02:32:57');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1496', 'EN', 'Fill out the text field, please!', '2010-09-11 02:32:39');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1497', 'EN', 'You have to check at least one field!', '2010-09-11 02:32:34');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1498', 'EN', 'Longitude must be a number!\\nFormat: hh° mm.mmm', '2010-09-11 02:32:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1499', 'EN', 'Latitude must be a number!\\nFormat: hh° mm.mmm', '2010-09-11 02:32:24');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1500', 'EN', 'The maximum distance must be a number!', '2010-09-11 02:32:18');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1501', 'EN', 'The distance must range between 0 and 9999.', '2010-09-11 02:32:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1502', 'EN', 'Enter the postal code, please!', '2010-09-11 02:32:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1503', 'EN', 'Enter the city, please!', '2010-09-11 02:32:01');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1504', 'EN', 'Enter the owner, please!', '2010-09-11 02:31:54');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1505', 'EN', 'Enter the username, please!', '2010-09-11 02:31:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1506', 'EN', 'also listed at GC.com', '2010-09-11 02:31:44');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1507', 'EN', 'The selected output format is unknown!', '2010-09-11 02:31:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1508', 'EN', 'The search operation could not be executed, please reenter the search data.', '2010-09-11 02:31:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1509', 'EN', 'Find', '2010-09-11 02:31:18');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1512', 'EN', 'The postal code could not be found.', '2010-09-11 02:30:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1513', 'EN', 'There is no city with this name.', '2010-09-11 02:30:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1514', 'EN', 'There are no coordinates available for the selected city.', '2010-09-11 02:31:27');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1516', 'EN', 'The entered text is invalid.', '2010-09-11 02:30:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1517', 'EN', 'The entered text contains more than 50 words.', '2010-09-11 02:45:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1518', 'EN', 'All countries', '2010-09-11 02:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1521', 'EN', 'This cache has been created on another Opencaching website. The cache can only be edited there.', '2010-09-11 02:14:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1522', 'EN', 'Save options', '2010-09-11 02:45:45');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1523', 'EN', 'Edit options', '2010-09-11 02:45:39');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1524', 'EN', 'Type', '2010-09-11 02:28:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1525', 'EN', 'Last logs', '2010-09-11 02:29:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1526', 'EN', 'Downloads', '2010-09-11 02:45:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1527', 'EN', 'Results on this page:', '2010-09-11 02:27:59');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1529', 'EN', 'With the download you accept the <a href=\"articles.php?page=impressum#tos\">terms of use</a> from opencaching.de.\ \ ', '2010-09-11 02:27:43');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1530', 'EN', 'This log entry has been created on another Opencaching website. It can only be edited there.', '2010-09-11 02:18:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1531', 'EN', 'This description has been created on another Opencaching website. It can only be edited there.', '2010-09-11 02:18:20');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1532', 'EN', 'The owner of the cache has written you the following comment to you:', '2010-09-11 02:23:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1533', 'EN', 'For virtual and webcam caches, the cache size has to be -no container-!', '2010-09-11 02:45:28');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1537', 'EN', 'Your HTML code will be changed again by a special filter. This is necessary to avoid dangerous HTML-tags, such as \<script\>. A list of allowed HTML tags can be find <a href=\"articles.php?page=htmltags\">here</a>.', '2010-09-11 02:56:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1538', 'EN', 'Language:', '2010-09-11 02:57:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1539', 'EN', 'Didn\'t find', '2010-09-12 22:28:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1541', 'EN', 'Only at night', '2010-09-12 22:54:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1542', 'EN', 'Hyperlink to another caching portal only', '2010-09-12 22:54:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1543', 'EN', 'Letterbox (needs stamp)', '2010-09-12 22:55:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1544', 'EN', 'Dangerous area', '2010-09-12 22:55:05');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1545', 'EN', 'This geocache can be found at night only - it is a so-called <i>night cache</i>. There may be reflectors which have to be flashlighted and will point to the hiding place, or other special night-caching mechanisms.', '2010-09-12 22:54:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1546', 'EN', 'This geocache is listed at Opencaching only. This attribute will enable users of other geocaching platforms to find interesting OC caches quickly.', '2010-09-12 22:54:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1548', 'EN', 'There is a stamp in the cache for stamping your personal logbook, and the cache’s logbook will be stamped with your personal stamp. Take care not to mix up stamps and to leave the cache’s stamp in the cache! Frequently letterboxes can be found without GPS, maybe with a compass and paces from a location - add the \"without GPS\" attribute for those.', '2010-09-12 22:54:24');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1549', 'EN', 'The cache is located within a dangerous area. Use this attribute to mark non-obvious dangers, like high-traffic roads, steep ground or falling rocks. Security measures should be taken or the cache be omitted, especially when geocaching with children, large groups or at unfavourable weather conditions.', '2010-09-12 22:53:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1550', 'EN', 'Active railway nearby', '2010-09-12 23:13:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1551', 'EN', 'Cliff / Rocks', '2010-09-12 23:17:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1552', 'EN', 'Hunting', '2010-09-12 23:17:34');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1553', 'EN', 'Thorns', '2010-09-12 23:17:39');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1554', 'EN', 'Ticks', '2010-09-12 23:17:17');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1555', 'EN', 'Abandoned mines', '2010-09-12 23:17:25');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1556', 'EN', 'Poisonous plants', '2010-09-12 23:17:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1557', 'EN', 'Dangerous animals', '2010-09-12 23:16:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1558', 'EN', 'Parking area nearby', '2010-09-12 23:17:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1559', 'EN', 'Public transportation', '2010-09-12 23:17:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1560', 'EN', 'Drinking water nearby', '2010-09-12 23:16:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1561', 'EN', 'Public restrooms nearby', '2010-09-12 23:16:54');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1562', 'EN', 'Public phone nearby', '2010-09-12 23:16:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1563', 'EN', 'First aid available', '2010-09-12 23:16:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1564', 'EN', 'Near the parking area', '2010-09-12 23:16:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1565', 'EN', 'Long walk', '2010-09-12 23:16:27');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1566', 'EN', 'Swamp, marsh or wading', '2010-09-12 23:16:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1567', 'EN', 'Hilly area', '2010-09-12 23:16:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1568', 'EN', 'Some climbing (no gear needed)', '2010-09-12 23:15:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1569', 'EN', 'Swimming required', '2010-09-12 23:15:28');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1570', 'EN', 'Point of interest', '2010-09-12 23:16:15');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1571', 'EN', 'Moving target', '2010-09-12 23:15:56');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1572', 'EN', 'Webcam', '2010-09-12 23:15:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1573', 'EN', 'Wihin enclosed rooms (caves, buildings etc.)', '2010-09-12 23:16:05');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1575', 'EN', 'Without GPS (letterboxes, cistes, compass juggling ...)', '2010-09-12 23:15:09');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1576', 'EN', 'Access or parking fee', '2010-09-12 23:15:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1577', 'EN', 'Overnight stay necessary', '2010-09-12 23:15:47');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1578', 'EN', 'Available 24 hours', '2010-09-12 23:15:05');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1579', 'EN', 'Only available at specified times', '2010-09-12 23:16:10');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1580', 'EN', 'By day only', '2010-09-12 23:15:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1581', 'EN', 'Not at high water level', '2010-09-12 23:15:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1582', 'EN', 'All seasons', '2010-09-12 23:14:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1583', 'EN', 'Breeding season / protected nature', '2010-09-12 23:15:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1584', 'EN', 'Snow-proof hiding place', '2010-09-12 23:14:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1585', 'EN', 'Special equipment', '2010-09-12 23:14:50');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1586', 'EN', 'Compass', '2010-09-12 23:14:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1587', 'EN', 'Flashlight', '2010-09-12 23:14:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1588', 'EN', 'Climbing gear', '2010-09-12 23:14:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1589', 'EN', 'Cave equipment', '2010-09-12 23:14:28');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1590', 'EN', 'Diving equipment', '2010-09-12 23:14:17');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1591', 'EN', 'Watercraft', '2010-09-12 23:14:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1592', 'EN', 'Aircraft', '2010-09-12 23:14:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1593', 'EN', 'Investigation', '2010-09-12 23:13:56');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1594', 'EN', 'Puzzle / Mystery', '2010-09-12 23:13:45');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1595', 'EN', 'Arithmetical problem', '2010-09-12 23:13:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1596', 'EN', 'Other cache type', '2010-09-12 23:13:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1597', 'EN', 'Ask owner for start conditions', '2010-09-12 23:13:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1598', 'EN', 'Suited for children', '2010-09-12 23:13:18');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1599', 'EN', 'There are active railroads nearby. Please be careful, keep a safe distance and cross the rails only at level crossings etc.!', '2010-09-12 23:13:13');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1600', 'EN', 'There are cliffs or dangerous rocks nearby. Beware of falling rocks at the lower side, and be careful at the upper side of cliffs - especially with children and while mountain biking. It can be very dangerous to take a steep slope towards a cliff, because you may not notice in time where the former ends and the latter starts.', '2010-09-12 23:13:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1601', 'EN', 'The geocache is placed within a hunting ground. At twilight and in the dark, a flashlight or headlight should always be used for security reasons. Be considerate when meeting hunters.', '2010-09-12 23:13:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1602', 'EN', 'There are thorns near the cache. Wear appropriate clothes.', '2010-09-12 23:12:57');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1603', 'EN', 'There are seasonably many ticks in this area. It is recommended to wear long trousers and to check yourself for ticks after geocaching. There are risk maps for <i>tick-borne encephalitis</i> in the internet, e.g. for Germany at sites like www.meningitis.de (look for FSME there).', '2010-09-12 23:12:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1604', 'EN', 'In the water', '2010-09-12 23:19:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1605', 'EN', 'This cache can be done both at daylight and at night, and on all weekdays.', '2010-09-12 23:30:34');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1606', 'EN', 'This cache can only be done at certain times of day - see the cache description for more details. For example, the cache may be placed in an area with restricted opening hours.', '2010-09-12 23:30:39');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1607', 'EN', 'This cache shoud be attempted during daylight only. For example, the area may be dangerous and contain cliffs or abysses. Or using flashlights may be inadvisable because it would look suspicious within a residential area.', '2010-09-12 23:30:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1608', 'EN', 'This cache can be done only at low or normal water level. At flood or high-tide it is not accessible.', '2010-09-12 23:30:43');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1609', 'EN', 'This cache can be found the whole year round, while difficulty may depend on seasons. Specify difficulty for <i>good</i> conditions.', '2010-09-12 23:30:47');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1610', 'EN', 'Don’t seek this cache during animal breeding season! Please indicate in the cache description which time of year must be avoided. Also, pay attention to the local terms and signs regarding nature protection.', '2010-09-12 23:30:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1611', 'EN', 'This cache can be found even after heavy snowing. All stages and the geocache are hidden in a snow-safe way: they will not be covered by fallen snow an not by snow-piles created by snow-clearing vehicles.', '2010-09-12 23:30:13');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1612', 'EN', 'You will need special equipment which is not specified by other attributes, e.g. a laser pointer, walkie-talkies or a car jack.', '2010-09-12 23:30:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1613', 'EN', 'A compass is required.', '2010-09-12 23:29:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1614', 'EN', 'A flashlight is required for finding this cache. Don’t forget spare batteries!', '2010-09-12 23:30:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1615', 'EN', 'For this cache, you will need climbing equipment and the knowledge how to use it properly. If you are a beginner, don’t do it alone but use the support of an experienced climber or mountaineer.', '2010-09-12 23:29:40');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1616', 'EN', 'This geocache is hidden in a cave, and you should use appropriate equipment to access it. Beware: Even small caves may confront you with unforeseen problems and dangers, like thunder storms (water!) or a sprained ankle. Have advice first from cave-experienced people! Also take care of protected nature; e.g. bat places must not be disturbed.', '2010-09-12 23:29:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1617', 'EN', 'You will need diving equipment to find this geocache. The water depth of the cache location is specified in the description. Please note that secure diving requires special training. Without diving experience, you may search this cache in company of a diving teacher.', '2010-09-12 23:29:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1618', 'EN', 'This cache usually can be found only using a watercraft. Swimming is impossible because of the distance or currents. See the cache description for more details.', '2010-09-12 23:29:27');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1619', 'EN', 'You must investigate additional information before you can seek this cache. This commonly applies to puzzle/mystery caches.', '2010-09-12 23:29:18');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1620', 'EN', 'Puzzles or mysteries have to be solved before or while seeking this cache.', '2010-09-12 23:29:13');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1621', 'EN', 'Before or while seeking this cache, arithmetical problems must be solved which go beyond very basic calculations.', '2010-09-12 23:29:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1622', 'EN', 'This is none of the standard, pre-defined types of cache. Use this attribute for special, unusual caches.', '2010-09-12 23:28:58');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1623', 'EN', 'Before doing this cache, you must ask the owner for the starting conditions. E.g. the cache may be linked to certain events at varying dates.', '2010-09-12 23:28:53');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1624', 'EN', 'This geocache is suitable for children. All challenges can be solved by child in the age of 10 to 12 years and the terrain has no risks (like highways, abysms). There should be a large geocache container with trading items inside and the challanges are interesting.', '2010-09-12 23:28:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1625', 'EN', 'This cache leads into a (former) mining area. There may be dangers by collapsing adits, or you may need to enter adits. Be careful and use appropriate equipment, especially in the dark. Old mines may be covered by historic preservation.', '2010-09-12 23:43:40');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1626', 'EN', 'There are poisonous plants near the cache. Take care and prevent children and dogs from touching or eating them.', '2010-09-12 23:43:45');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1627', 'EN', 'The area is inhabited by possibly dangerous animals, e.g. rabies areas, venomous snakes, scorpions or bears.', '2010-09-12 23:43:35');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1628', 'EN', 'A nearby parking area is situated as starting point for doing this cache. If no free parking is available, add the \"access or parking fee\" attribute.', '2010-09-12 23:43:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1629', 'EN', 'This cache is located outside of urban areas and has a public transport station nearby. Don’t set this attribute for geocaches in urban areas that are commonly equipped with public transportation.', '2010-09-12 23:43:17');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1630', 'EN', 'There is drinking water along the trail or near the cache. This attribute is useful especially for planning event caches, longer hikes or caches at probably dirty locations like caves.', '2010-09-12 23:43:10');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1631', 'EN', 'There are public restrooms along the way or near the cache. This attribute is useful especially for planning event caches or extensive multicaches.', '2010-09-12 23:43:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1632', 'EN', 'There is a public phone along the way or near the cache. Especially for event caches you should enquire for nearby phones and set this attribute if applicable.', '2010-09-12 23:42:59');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1633', 'EN', 'There is a first aid station, call box, mountain rescue or similar arrangement near the cache. This attribute is useful especially in demanding areas, like climbing caches, cave caches, high mountains or at the water. Check if you can add emergency phone numbers (like a mountain rescue) to your cache listing.', '2010-09-12 23:42:20');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1634', 'EN', 'The geocache is located close to a parking area, only a few steps away - it’s a \"cache and dash\".', '2010-09-12 23:42:28');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1635', 'EN', 'This cache requires a long walk - more than 5 km round trip. In the mountains and other steep areas, the distance for a \"long walk\" may be shorter. Walking shoes and appropriate equipment are recommended.', '2010-09-12 23:42:50');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1636', 'EN', 'This cache requires passing swampy or marshy ground or wading through shallow water. Wear appropriate clothes. After rainfall, the terrain may be very demanding or not passable at all.', '2010-09-12 23:42:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1637', 'EN', 'One or more ascents lie between you and the cache.', '2010-09-12 23:42:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1638', 'EN', 'This cache requires some climbing and you may have to use your hands, but you won’t need climbing gear. Be very careful during rainy weather or before thunderstorms!', '2010-09-12 23:41:57');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1639', 'EN', 'This cache requires crossing a river or a lake. The water is steep.', '2010-09-12 23:42:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1640', 'EN', 'There is a point of interest at the cache, like a nice scenic overlook or a larger castle ruin. This place is worth visiting it even without a geocache nearby.', '2010-09-12 23:42:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1641', 'EN', 'This geocache is moving around. For example, the owner might regularly move the cache from one place to another, or the finders will do this task and post new coordinates in their log entries. The owner must update coordinates in the cache description after each move.', '2010-09-12 23:41:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1642', 'EN', 'There is a webcam at the target location. You must record a webcam picture of your visit and include it in your \"found\" log entry. There may be additional requirements like a geocaching banner on the photo. The webcam’s address is included in the cache description, and it must be publicly accessible, i.e. no user account or similar is required.', '2010-09-12 23:41:44');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1643', 'EN', 'This geocache is not hidden in the open air, but within a building, a cave or similar.', '2010-09-12 23:41:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1644', 'EN', 'This cache or one of the stages is placed underwater. You may have to enter the water, swim or dive.', '2010-09-12 23:41:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1645', 'EN', 'This cache can be found without a GPS device. No additional coordinates are used besides of the starting coordinates.', '2010-09-12 23:41:26');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1646', 'EN', 'You must pay an access or parking fee to access this cache, e.g. if the cache is located within a theme park. If there are alternative free parking areas nearby, please include them in the cache description. Please note our current terms of use regarding \"commercial geocaches\".', '2010-09-12 23:41:20');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1647', 'EN', 'This cache cannot be done within a single day or a single night. You will have to visit the location for more than one time, or you must stay overnight. Preparation time is not included in this calculation, but only the time on site.', '2010-09-12 23:41:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1648', 'EN', 'A newsentry was created on opencaching', '2010-09-13 00:18:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1650', 'EN', 'The called page does not exist!', '2010-09-13 00:17:45');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1652', 'EN', 'Redirect - opencaching', '2010-09-13 00:18:01');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1653', 'EN', 'Do you really want to delete the saved search?', '2010-09-13 00:16:43');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1654', 'EN', 'Status', '2010-09-13 00:16:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1655', 'EN', 'Set status', '2010-09-13 00:16:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1657', 'EN', 'to', '2010-09-14 01:27:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1658', 'EN', 'Route', '2010-09-27 00:21:59');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1659', 'EN', 'Cache\ size:', '2010-09-27 00:23:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1660', 'EN', 'Link', '2010-09-27 00:23:50');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1661', 'EN', 'Open', '2010-09-27 00:23:44');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1662', 'EN', 'Add to favorites...', '2010-09-27 00:23:38');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1663', 'EN', 'Caches displayed:', '2010-09-27 00:23:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1664', 'EN', 'Time to load:', '2010-09-27 00:23:26');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1665', 'EN', 'Sec.', '2010-09-27 00:23:21');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1666', 'EN', 'Only show Geocaches with the following properties:', '2010-09-27 00:23:15');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1667', 'EN', 'Cachetype', '2010-09-27 00:23:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1668', 'EN', 'Container', '2010-09-27 00:23:01');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1669', 'EN', 'Hide', '2010-09-27 00:22:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1670', 'EN', 'My owns', '2010-09-27 00:22:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1672', 'EN', 'GC listings', '2010-09-27 00:22:37');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1673', 'EN', 'Rating', '2010-09-27 00:22:31');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1674', 'EN', 'Min. recommendations:', '2010-09-27 00:22:25');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1678', 'EN', 'Enter a search text, please!', '2010-09-27 00:21:52');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1680', 'EN', 'Waypoint %1 not found!', '2010-09-27 00:21:46');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1681', 'EN', 'D/T:', '2010-09-27 00:21:37');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1683', 'EN', 'Error: Unable to download the search result (HTTP error code %1)', '2010-09-27 00:21:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1684', 'EN', 'Error: Unable to download the search result. The data was not available on the server.', '2010-09-27 00:21:15');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1685', 'EN', 'There are %1 Geocaches in the selected area, matching the filter options. Please zoom in to display the caches.', '2010-09-27 00:21:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1687', 'EN', 'Create a logentry', '2010-10-03 20:32:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1688', 'EN', 'Edit logentry', '2010-10-03 20:32:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1689', 'EN', 'Remove logentry', '2010-10-03 20:32:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1690', 'EN', 'Edit cache', '2010-10-03 20:31:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1691', 'EN', 'Add description', '2010-10-03 20:31:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1692', 'EN', 'Edit description', '2010-10-03 20:31:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1693', 'EN', 'Remove description', '2010-10-03 20:31:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1694', 'EN', 'Select city', '2010-10-03 20:30:47');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1695', 'EN', 'Show search result', '2010-10-03 20:30:11');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1696', 'EN', 'Result', '2010-10-03 20:29:57');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1697', 'EN', 'Description - Create a cache', '2010-10-03 20:29:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1698', 'EN', 'Add picture', '2010-10-03 20:29:41');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1699', 'EN', 'Message', '2010-10-03 20:29:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1700', 'EN', 'There is no google maps key registered for this domain.', '2010-10-03 22:28:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1701', 'EN', 'Attention! This Geocache is \"<span class=\"errormsg\">%1</span>\"!</strong> There is no physical container at the specified (or to be determined) coordinates. In the interest of the place it should not be necessarily to search!', '2010-10-06 22:35:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1702', 'EN', 'Attention! This Geocache is \"<span class=\"errormsg\">%1</span>\"!</strong> The geocache itself or parts of it are missing or there are other issues that make a successful search impossible. In the interest of the place it should not be necessarily to search!', '2010-10-06 22:35:19');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1703', 'EN', 'You have attended this event!', '2010-10-06 22:35:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1704', 'EN', 'You have already found this cache!', '2010-10-06 22:35:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1705', 'EN', '<i>Obsolete: This attribute cannot be assigned to new caches, because it does not fit our current terms of use.</i><br />This cache is listed at multiple geocaching sites, and the cache description at Opencaching may be incomplete. Links to the description at the external site(s) should be included in the listing. Please note that descriptions and status of multiple-listed caches have to be equally maintained at all sites including Opencaching, according to our current terms of use.', '2010-10-21 22:55:33');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1706', 'EN', 'This OC node', '2010-10-21 22:55:51');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1707', 'EN', 'Other OC nodes', '2010-10-21 22:55:43');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1708', 'EN', 'The next events in %1', '2010-10-21 22:55:16');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1709', 'EN', 'Geocaches with most recommendations in the last %2 days in %1.', '2010-10-21 22:54:59');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1710', 'EN', 'Newest caches in %1', '2010-10-21 22:54:47');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1711', 'EN', 'You need %1 more found log(s) to make another recommendation.', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1713', 'EN', 'You have recommended this cache.', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1714', 'EN', 'Revoke the recommendation', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1717', 'EN', 'Please select!', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1718', 'EN', 'Results on this page', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1722', 'EN', 'Do you really want to delete this entry?', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1723', 'EN', 'Do you really want to remove this recommendation?', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1724', 'EN', 'Route:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1725', 'EN', 'Download as...', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1726', 'EN', 'Remove log entry for <a href=\"viewcache.php?cacheid={cacheid}\">{cachename}</a>', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1727', 'EN', 'Add new cache description to <a href=\"viewcache.php?cacheid={cacheid}\">{name}</a>', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1728', 'EN', 'Send to GPS device', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1729', 'EN', 'Geokrety history', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1730', 'EN', 'New forum topcis (%1)', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1731', 'EN', 'Team blog', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1732', 'EN', 'Forum', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1733', 'EN', 'Geokrety', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1735', 'EN', 'For Event Caches: The date of event!', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1736', 'EN', 'User-ID:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1737', 'EN', 'List', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1738', 'EN', 'Event date:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1739', 'EN', 'Found: %1 Hidden: %2', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1740', 'EN', '<Unknown user>', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1745', 'EN', 'Default logo', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1747', 'EN', 'Alternative logo by nybbler', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1752', 'EN', 'Alternative logo', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1753', 'EN', 'Slimline', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1754', 'EN', 'Red logo, slimline', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1755', 'EN', 'Slimline, without statistics', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1756', 'EN', 'Slimline red, without statistics', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1757', 'EN', 'Round corners', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1758', 'EN', 'The account is already activated. Please try to <a href=\"login.php\">login</a>.<br /> If you cannot login, please read the following page: <a href=\"%1\">Login problems</a>', '2011-05-23 22:29:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1759', 'EN', 'Note:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1760', 'EN', 'Coordinates:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1761', 'EN', 'The note is not visible to other users. The note and the optional coordinate will be included in GPX-file downloads and sent to the GPS device.', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1763', 'EN', 'Your browser has rejected our cookie.<br /> For more information on this topic, see <a href=\"%1\">Opencaching help</a>.', '2011-05-23 22:25:18');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1764', 'EN', 'Personal cache note', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1765', 'EN', 'This geocache is probably placed within a nature reserve! Please see %1here</a> for further information.', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1766', 'EN', 'This geocache is probably placed within the following protected areas (%1Info</a>):', '2011-05-23 22:19:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1767', 'EN', 'Quick translation', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1768', 'EN', 'Disable', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1769', 'EN', 'Enable - new', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1770', 'EN', 'Enable - all', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1771', 'EN', 'Text download (new)', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1772', 'EN', 'Text download (all)', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1773', 'EN', 'Text import', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1774', 'EN', 'Text file containing the translations:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1775', 'EN', 'Child waypoints', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1776', 'EN', 'Waypoint type:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1777', 'EN', 'Please select type', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1778', 'EN', 'Coordinate:', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1779', 'EN', 'Download GPX file (max. 500 caches)', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1780', 'EN', 'Add waypoint', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1781', 'EN', 'Add new', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1782', 'EN', 'Delete waypoint', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1783', 'EN', 'Edit waypoint', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1788', 'EN', 'Parking', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1789', 'EN', 'Stage or reference point', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1790', 'EN', 'Additional waypoints', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1791', 'EN', 'Add a waypoint', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1792', 'EN', 'Additional waypoints can be entered to make searching easier, for example by pointing to a suitable parking location or start of a path (the waypoint\'s description may contain more information). They may also specify the stages of a multicache. The waypoints are shown on the map when the cache is selected, are included in GPX file downloads and will be sent to the GPS device.', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1793', 'EN', 'No waypoints available', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1794', 'EN', 'The additional waypoints are shown on the map when the cache is selected, are included in GPX file downloads and will be sent to the GPS device.', '2012-08-24 17:35:49');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1796', 'EN', 'Published on:', '2012-08-24 17:38:05');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1797', 'EN', 'Changelog', '2012-08-24 17:38:05');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1798', 'EN', 'Opencaching e.V.', '2012-07-08 14:50:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1799', 'EN', 'Only available during specified seasons', '2012-10-29 14:28:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1800', 'EN', 'This cache can be done at certain seasons only - see the cache description for more details. For example, the cache may be placed in a corn labyrinth, which only exists from bloom to harvest season.', '2012-10-29 14:28:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1801', 'EN', 'Help', '2012-11-09 19:32:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1802', 'EN', 'Warning: This report is already assigned to another admin. Consult him first before you assume the report!', '2013-02-09 18:29:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1803', 'EN', 'nano', '2012-11-10 15:56:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1804', 'EN', 'Data license', '2013-02-09 18:30:12');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1806', 'EN', 'Please select only one of the delete/disable options!', '2013-02-09 17:34:01');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1807', 'EN', 'By submitting I accept the <a href=\"articles.php?page=impressum#tos\" target=\"_blank\">Opencaching.de Terms of Service</a> and the <a href=\"articles.php?page=impressum#datalicense\" target=\"_blank\">Opencaching.de Data license</a>.', '2013-02-09 19:23:36');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1808', 'EN', 'I\'ve read and understand the <a target=\"_blank\" href=\"articles.php?page=dsb\">privacy statement</a>, the <a target=\"_blank\" href=\"articles.php?page=impressum#tos\">terms of service</a> and the <a href=\"articles.php?page=impressum#datalicense\" target=\"_blank\">Data license</a> and accept them.', '2013-02-09 19:07:39');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1809', 'EN', 'You have to accept the privacy statement, the terms of service and the data license to register at %1.', '2013-02-09 19:23:21');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1810', 'EN', 'When downloading this file, you accept our <a href=\"articles.php?page=impressum#tos\">terms of use</a> and <a href=\"articles.php?page=impressum#datalicense\" target=\"_blank\">Data license</a>.', '2013-02-09 19:23:02');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1811', 'EN', 'Disable (and lock all geocaches owned) and remove all foreign licensed content', '2013-02-09 19:30:44');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1812', 'EN', 'ID', '2013-02-09 19:13:54');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1813', 'EN', 'Owner', '2013-02-09 19:30:32');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1814', 'EN', 'Reporter', '2013-02-09 19:30:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1815', 'EN', 'You have to check that you are sure!', '2013-02-09 19:30:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1816', 'EN', 'The cache description was removed, because the owner declined the Opencaching.de data license.', '2013-02-09 19:30:23');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1817', 'EN', 'User status was successfully changed.', '2013-02-09 19:31:30');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1818', 'EN', 'Spoiler', '2013-02-11 11:40:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1819', 'EN', 'After saving, you may need to press the reload button in your browser to see the selected picture in your profile.', '2013-02-14 00:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1820', 'EN', 'You can now <a href=\"login.php\">login</a> with the new password.', '2013-02-14 00:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1821', 'EN', 'OC.de new', '2013-02-14 00:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1822', 'EN', 'OC.de new, slimline', '2013-02-14 00:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1823', 'EN', 'OC.de new, without statistics', '2013-02-14 00:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1824', 'EN', 'Verify email address', '2013-02-17 18:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1825', 'EN', 'One or more e-mails could not be delivered to the address you specified in your user profile:', '2013-02-17 18:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1826', 'EN', 'Please confirm that this email address is correct, or enter a new one.', '2013-02-17 18:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1827', 'EN', 'Enter new email address', '2013-02-17 18:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1828', 'EN', 'Confirm this email address', '2013-02-17 18:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1829', 'EN', 'Mark e-mail address as invalid', '2013-02-17 18:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1830', 'EN', 'data license mail was not delivered', '2013-02-17 18:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1831', 'EN', 'Admins', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1832', 'EN', 'Rights', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1833', 'EN', 'Admin rights can be granted and revoked by a system administrator with database access.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1834', 'EN', 'declined data license', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1835', 'EN', 'The user account has been disabled, because the user declined the <a href=\"articles.php?page=impressum#datalicense\">data license</a>. Cache descriptions, log texts and pictures have been deleted.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1838', 'EN', 'Username or email address:', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1839', 'EN', 'You must select a search to overwrite.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1840', 'EN', 'Link to this map view:', '2013-02-24 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1841', 'EN', 'Your Internet Explorer is too old to display the map. Please upgrade at least to version 7, better 8.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1842', 'EN', 'Go to home coordinates', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1843', 'EN', 'Switch to small map', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1844', 'EN', 'Between 1 and 500 caches must be displayed for download.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1846', 'EN', 'Please select waypoint type ', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1847', 'EN', 'invalid coordinate ', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1848', 'EN', 'Registered since:', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1849', 'EN', 'Map is being updated', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1850', 'EN', 'was not found (with the selected settings)', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1851', 'EN', 'Map display with Microsoft Internet Explorer is slow and restricted to %1 geocaches. Use another browser for better performance.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1852', 'EN', 'Geocaches found, nearest first:', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1853', 'EN', 'Places found via Google:', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1855', 'EN', 'Traditional', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1857', 'EN', 'Virtual', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1859', 'EN', 'Event', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1860', 'EN', 'Quiz', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1861', 'EN', 'Math/Physics', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1862', 'EN', 'Moving', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1863', 'EN', 'Drive-in', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1865', 'EN', 'Loading map', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1866', 'EN', 'Instructions', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1867', 'EN', 'Menu option \'Map\' shows:', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1868', 'EN', 'small map', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1869', 'EN', 'fullscreen map', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1870', 'EN', 'Show overview map:', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1871', 'EN', 'Maximum caches on map<br />(%1-%2, 0=automatic):', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1872', 'EN', 'Cache icons:', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1873', 'EN', 'classic OC', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1874', 'EN', 'OKAPI style', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1875', 'EN', 'You must be logged in to change map settings.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1876', 'EN', 'Map data \© <a href=\"http://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1877', 'EN', 'tiles provided by <a href=\"http://www.mapquest.com/\" target=\"_blank\">MapQuest</a>', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1878', 'EN', 'Map data \© <a href=\"http://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> and <a href=\"http://www.thunderforest.com/opencyclemap/\" target=\"_blank\">OpenCycleMap</a> contributors', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1879', 'EN', 'Cache reports', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1880', 'EN', 'Vandalism', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1881', 'EN', 'Revert Vandalism', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1882', 'EN', 'User \'%1\' is unknown', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1883', 'EN', '%1 has not listed any caches', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1884', 'EN', 'Restore cache listings of %1', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1885', 'EN', 'User \'%1\' is not disabled. You can view recorded changes, but not revert them.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1886', 'EN', 'You did not select any caches.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1887', 'EN', 'No saved data is available for these caches.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1888', 'EN', 'You must select a date.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1889', 'EN', 'Use your browser\'s \'back\' button to try again.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1890', 'EN', 'You must choose the listing elements to be restored.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1891', 'EN', 'You did not say that you are sure.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1892', 'EN', 'Please select the listings to restore', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1893', 'EN', 'modified', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1894', 'EN', 'The user changed one or more of these caches today, therefore you cannot revert changes. This can be done not before tomorrow.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1895', 'EN', 'none', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1896', 'EN', 'Go on', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1897', 'EN', 'to the date selection', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1898', 'EN', 'Please select the date from which on all changes are to be reverted.<br />The listing will be reset to the contents it had on that day at 00:00:00.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1900', 'EN', 'Changes', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1901', 'EN', 'Warning: If you revert any owner-made listing changes of <em>today</em>, your revert will be final. It cannot be corrected / undone afterwards. Only reverts of coords \& country, logs and pictures will be logged in this case, so all other changes will not be comprehensible. Therefore <span style=\"text-decoration:underline\">it is strongly recommended to revert vandalism not before the next day!</span>', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1902', 'EN', 'coordinates and country', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1903', 'EN', 'name, settings, attributes and hide-date', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1904', 'EN', 'GC/NC waypoints', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1905', 'EN', 'description(s) incl. pictures', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1906', 'EN', 'logs incl. pictures', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1907', 'EN', 'nothing', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1908', 'EN', 'Excluded from restore: cache status, OConly attribute, additional waypoints, log password, preview picture status', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1909', 'EN', 'simulate', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1910', 'EN', 'You are root admin and can override the warnings. Take care!', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1911', 'EN', 'The following cache listings would have been reset to the state before %1', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1912', 'EN', 'The following cache listings have been reset to the state before %1', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1913', 'EN', 'Restore', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1914', 'EN', 'all', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1915', 'EN', 'deleted', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1916', 'EN', 'Archived', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1919', 'EN', 'New log pictures', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1920', 'EN', 'D', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1921', 'EN', 'T', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1922', 'EN', 'click on spoiler to display', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1923', 'EN', 'for', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1924', 'EN', 'The cache has %1 %2additional waypoints%3.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1925', 'EN', 'The cache has an %2additional waypoint%3.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1926', 'EN', 'Path', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1927', 'EN', 'Final', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1928', 'EN', 'Show %1preview pictures</a><br />(% of map area, 0=off):', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1929', 'EN', 'Preview picture for map \– is shown when this cache is selected on the map.<br />You can have only <em>one</em> preview picture per cache.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1930', 'EN', 'Max. %1 caches can be displayed with Microsoft Internet Explorer.', '2012-10-11 00:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1940', 'EN', 'Picture gallery', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1941', 'EN', 'Dates show the date of picture upload, wich can differ from the log date. Therefore old dates can appear in the list.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1942', 'EN', 'Maximum one picture per day and user is displayed here. The small gallery on the start page is additionally limited to one picture per cache and day.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1943', 'EN', 'All pictures are copyrighted and subject to the <a href=\"articles.php?page=impressum#datalicense\">Opencaching.de data license</a>.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1944', 'EN', 'Show picture stats and gallery', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1945', 'EN', 'Log pictures', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1946', 'EN', 'Log pictures: %1', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1947', 'EN', 'Log pictures of %1', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1948', 'EN', 'Your log pictures:', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1949', 'EN', 'Your latest log pictures:', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1950', 'EN', 'In your <a href=\"mydetails.php\">profile settings</a> you can choose if your log pictures stat and gallery is visible for other users.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1952', 'EN', 'Public profile', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1953', 'EN', 'You did not upload any log pictures yet.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1954', 'EN', 'Pictures marked as spoiler are not shown; therefore the number of pictures on this page can be smaller than in the profile statistics.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1955', 'EN', 'Other information', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1956', 'EN', 'Log picture', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1957', 'EN', '\"Spoiler\" pictures which show details of the stash should not be visible here. If you encounter an open visible spoiler, you may contact the logger by the e-mail button in his profile and ask him to mark it as spoiler.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1958', 'EN', 'Back to the cache description', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1960', 'EN', 'Page', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1962', 'EN', 'at', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1963', 'EN', 'About Opencaching', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1964', 'EN', 'Cache descriptions, log texts and pictures have been deleted, because the account was disabled before transition to the <a href=\"articles.php?page=impressum#datalicense\">new data license</a>.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1965', 'EN', 'cache description was removed because the owner\'s account was inactive when the <a href=\"articles.php?page=impressum#datalicense\">new content license</a> was launched', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1966', 'EN', 'as of', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1967', 'EN', 'all log entries \© their authors', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1968', 'EN', 'more', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1969', 'EN', 'Only the <span class=\"public-setting\">green entries</span> are visible to other users.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1970', 'EN', 'Date / time:', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1971', 'EN', 'date or time is invalid', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1973', 'EN', 'Generally, spoiler pictures should not be logged. In the case that en exception from this rule makes sense, e.g. to document your finding or problems with the stash, please mark the picture als spoiler so that it won\'t appear in galleries.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1974', 'EN', 'If you do not see any E-Mail, please check the spam folder of your mailbox.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1975', 'EN', 'Do not use easy-to-guess number and letter sequences like \'123456\' or \'qwerty\'.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1976', 'EN', 'currently not available', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1977', 'EN', 'Password for \'found\' logs:', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1978', 'EN', 'only for \'attended\' logs', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1979', 'EN', 'Contact reporter', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1980', 'EN', 'For \'Found\' and \'Not found\' logs: Date and (optional) time of the cache search.', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1982', 'EN', 'Page not found', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1983', 'EN', 'Cache database', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1984', 'EN', 'Here you can find a lot of individual caches.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1985', 'EN', 'The newest caches:', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1986', 'EN', 'Here you can discuss, improve or ask questions.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1987', 'EN', 'The newest forumposts:', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1988', 'EN', 'Any time there are news to post, you\'ll find them here.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1989', 'EN', 'The newest blogposts:', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1990', 'EN', 'Here you get tutorials, howtos and any information about Geocaching and Opencaching.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1991', 'EN', 'The newest wiki articles:', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1992', 'EN', 'Not found? Contact us using', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1993', 'EN', 'Opencaching at Facebook', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1994', 'EN', 'Opencaching at Google+', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1995', 'EN', 'Opencaching at Twitter', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1996', 'EN', 'The visited website <b>%1</b> does not exists, we found the following suitable pages:', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1998', 'EN', 'OK', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1999', 'EN', 'Show', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2000', 'EN', 'My last log', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2001', 'EN', 'Own logs', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2002', 'EN', 'Geocaches found', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2003', 'EN', 'Geocaches logged', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2004', 'EN', '%1 of these are active', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2006', 'EN', 'Deleted by', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2007', 'EN', 'User data', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2008', 'EN', 'OKAPI Applications', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2009', 'EN', 'OKAPI Apps', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2010', 'EN', 'Large map', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2011', 'EN', 'without logs', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2012', 'EN', 'with 5 logs', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2013', 'EN', 'with 10 logs', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2014', 'EN', 'with all logs', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2015', 'EN', 'Safari Cache', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2016', 'EN', 'This geocache can be found at different places. The places to look for are explained in the cache description. They must be located \"away from home\" and exist for a considerable period of time, so that they can be re-visited later. There is no container and no logbook; instead the find must be documented by a photo and noting the coordinates.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2017', 'EN', 'Only virtual caches can be safari caches.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2023', 'EN', 'Locked', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2025', 'EN', '%2 has archived %1', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2026', 'EN', '%2 has maintainted %1', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2027', 'EN', '%2 has disabled %1', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2028', 'EN', '%2 has locked %1', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2029', 'EN', 'OC team comment', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2030', 'EN', 'Maintenance logs', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2031', 'EN', 'To change the state, you need to {a}log</a> the new state.', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2035', 'EN', '%1 has archived the cache', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2036', 'EN', '%1 has maintained the cache', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2037', 'EN', '%1 has disabled the cache', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2038', 'EN', '%1 has locked the cache', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2039', 'EN', '%1 has locked and hidden the cache', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2040', 'EN', 'Deleted text:', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2041', 'EN', 'total', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2042', 'EN', 'The following text is displayed in your <a href=\"viewprofile.php\">public profile</a>:', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2043', 'EN', 'no text entered yet', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2045', 'EN', 'The current filter settings have been permamently saved.', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2046', 'EN', 'Watcher', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2047', 'EN', 'Ignorer', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2048', 'EN', 'Maintenance log', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2049', 'EN', 'Page visit', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2050', 'EN', 'JavaScript is disabled in your browser, you can enter (HTML) text only. To use the editor, please enable JavaScript.', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2051', 'EN', 'Recommended on', '2013-05-12 22:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2052', 'EN', 'Nature Protection', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2053', 'EN', 'Withdraw adoption offer', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2055', 'EN', 'Other reports for this cache', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2056', 'EN', 'Report\ date', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2057', 'EN', 'Reason', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2058', 'EN', 'Deleted logs', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2059', 'EN', 'Cache history', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2060', 'EN', 'Cache code:', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2061', 'EN', 'Cache not found', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2062', 'EN', 'Status changes', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2063', 'EN', 'Changed by', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2065', 'EN', 'Guest', '2013-02-19 05:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2067', 'EN', 'Status', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2068', 'EN', 'since June 2013', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2069', 'EN', 'since deletion date February 2012', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2070', 'EN', 'One ore more emails to this user could not be delivered. It might be a good idea to additionally log comments on the user\'s geocaches, and/or use alternative contact addresses like a message board account or another geocaching platform.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2071', 'EN', 'This cache has been \"temporarily unavailable\" for more than %1 months now; therefore it is being archived automatically. The owner may decide to maintain the cache and re-enable the listing.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2072', 'EN', 'This event took place more than five weeks ago; therefore it is being archived automatically. The owner may re-enable the listing if it should stay active for some exceptional reason.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2073', 'EN', 'This user account is disabled.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2074', 'EN', 'Adoptions', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2075', 'EN', 'since September 2012', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2076', 'EN', 'From Owner', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2077', 'EN', 'To Owner', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2078', 'EN', 'Maintenance', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2079', 'EN', 'Show details', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2080', 'EN', 'only active caches', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2081', 'EN', 'Finds', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2083', 'EN', 'NEW', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2084', 'EN', 'show archived', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2085', 'EN', 'hide archived', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2086', 'EN', 'unknown search type', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2087', 'EN', 'Show on map', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2088', 'EN', 'Search options', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2089', 'EN', 'disabled', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2090', 'EN', 'archived', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2091', 'EN', 'Test for and fix inconsistencies in database tables', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2092', 'EN', 'You submitted more than %1 identical logs. Please make sure that you are entering the date of your cache visit, not the current date - also when \"late logging\" old finds.', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2093', 'EN', 'Wrong log dates can impair several OC functions like searching by last log date. Also, the owner and other caches may think that the cache has been currently found (date and type of the last log are shown in the owner\'s caches list!), which can adversely affect cache maintenance and lead to more DNFs.', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2094', 'EN', 'You found %1 caches until now.', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2095', 'EN', 'This log already exists - you tried to submit it twice!', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2096', 'EN', '%2 has activated %1', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2097', 'EN', '%1 has activated the geocache', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2098', 'EN', 'converted from HTML', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2099', 'EN', 'unknown search option', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2100', 'EN', 'no coordinates available', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2101', 'EN', 'Alternatively, you can visit %1 and enter the following code manually:', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2102', 'EN', 'Before you can login for the first time, you have to activate your account by clicking on the following link:', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2103', 'EN', 'Perimeter:', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2104', 'EN', 'from coordinates:', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2105', 'EN', 'Log entries', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2106', 'EN', 'by user:', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2107', 'EN', 'in', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2108', 'EN', 'All caches', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2111', 'EN', 'My caches', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2112', 'EN', 'Opencaching', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2113', 'EN', 'New Wiki articles', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2114', 'EN', 'Cardinal direction:', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2115', 'EN', 'New features', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2116', 'EN', 'Also notify about newly marked %1OConly%2 caches.', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2117', 'EN', 'Do not notify about newly marked %1OConly%2 caches.', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2118', 'EN', 'Notify about newly marked %1OConly%2 caches.', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2119', 'EN', 'with recommendation', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2121', 'EN', 'You have given {curr} of {max} possible recommendations.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2122', 'EN', 'You need {anzahl} more found log(s) to make another recommendation.', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2123', 'EN', 'A recommendation can only be made within a \"found\" log!', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2125', 'EN', 'Log pictures gallery', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2126', 'EN', 'Log history', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2127', 'EN', 'Log entries for caches of %1', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2128', 'EN', 'Hide own logs', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2129', 'EN', 'Show own logs', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2130', 'EN', 'Log entries for your geocaches', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2131', 'EN', 'When you have found a user who wants to adopt your geocache, fill in the username here and submit. The user will see this geocache in My Profile \> Adoptions. To complete the adoption, the user has to accept our terms of use and commit the adoption.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2132', 'EN', 'You may offer this geocache to more than one user. The first user committing the adoption will become the new owner of this cache. With the adoption, you will grant to the committing user an unlimited right to use, modifiy, publish and sublicense content of this geocache.', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2133', 'EN', 'Copy EN', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2134', 'EN', 'I know what I am doing, do not show this advice again today.', '2013-07-22 15:50:48');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2135', 'EN', 'Show OConly-81 stats', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2136', 'EN', 'OConly statistics', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2137', 'EN', 'The user has found <b>%1</b> of <b>81</b> theoretically possible terrain/difficulty combinations.', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2139', 'EN', 'OConly-81', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2140', 'EN', 'Users with OConly-81 statistics:', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2141', 'EN', 'OConly-81 statistics:', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2142', 'EN', 'inactive', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2143', 'EN', '<b>OConly-81</b> is a new challenge about finding OConly caches under varying conditions, i.e. with different difficulty and terrain ratings. To participate, you can enable the OConly-81 statistics in your <a href=\"mydetails.php\">user profile settings</a>.', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2144', 'EN', 'Participants', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2146', 'EN', 'Statistics', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2147', 'EN', 'Overall terrain and difficulty distribution of active OConly caches:', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2148', 'EN', '... by cache type:', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2149', 'EN', '... by region:', '2010-09-07 20:19:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2150', 'EN', 'This geocache is probably placed within the following protection areas:', '2011-05-20 23:48:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2151', 'EN', 'Also listed as:', '2011-05-20 23:48:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2152', 'EN', 'Loading more log entries ...', '2011-05-20 23:48:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2153', 'EN', 'Auto-load log entries', '2011-05-20 23:48:29');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2155', 'EN', 'Social media', '2013-08-07 18:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2156', 'EN', 'Follow us:', '2013-08-07 18:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2157', 'EN', 'Join discussions:', '2013-08-07 18:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2158', 'EN', 'Opencaching Forum', '2013-08-07 18:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2159', 'EN', 'Google+ Community', '2013-08-07 18:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2160', 'EN', 'Facebook Group', '2013-08-07 18:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2161', 'EN', 'Only one account can be created per E-Mail address. First name, last name and country are optional.', '2013-08-07 18:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2162', 'EN', 'Your log entries', '2010-08-28 11:48:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2163', 'EN', 'There are no log entries yet for your geocaches.', '2010-08-28 11:48:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2164', 'EN', 'Cache listing {occode} has been modified by {username}', '2010-08-28 11:48:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2165', 'EN', 'The cache description of {occode} has been modified by {username}', '2010-08-28 11:48:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2166', 'EN', 'The modifications can be checked via vandalism restore function.', '2010-08-28 11:48:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2167', 'EN', 'OC Admins', '2013-08-24 12:56:09');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2168', 'EN', 'Newest log entries for caches of %1', '2013-08-24 12:56:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2169', 'EN', 'Do you really want to delete this picture?', '2013-10-01 18:10:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2170', 'EN', 'Nearby search at geocaching.com', '2013-10-02 18:40:04');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2171', 'EN', 'Please send me mailings about news and campaigns on %1. (max. 2-5 per year)', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2172', 'EN', 'Yes, I want to recieve mailings about news and campaigns on %1. (max. 2-5 per year)', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2173', 'EN', 'No, I dont\'t want any mailings about news and campaigns on %1.', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2174', 'EN', 'Newsletter:', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2175', 'EN', 'Disclose my e-mail address by default when sending e-mails to other users.', '2015-05-25 19:50:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2176', 'EN', 'Planned events', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2177', 'EN', 'Another cache (<a href=\"viewcache.php?wp=%1\">%1</a>) exists at these coords. Maybe you pressed \"submit cache\" twice. To publish a cache with identical coords, enter other coords first, then edit the listing and change coords.', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2178', 'EN', 'GC waypoint is invalid, must be GCxxxxx', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2179', 'EN', 'Safari caches list', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2180', 'EN', 'Add to list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2181', 'EN', 'Add geocache to list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2182', 'EN', 'Add the geocache <b>%1</b> to the following list:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2183', 'EN', 'New cache list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2184', 'EN', 'Invalid name', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2185', 'EN', 'public list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2186', 'EN', 'You can maintain your personal cache lists in your <a href=\"mylists.php\">user profile</a>.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2187', 'EN', 'public', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2188', 'EN', 'private', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2189', 'EN', 'Cache lists', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2190', 'EN', 'Since July 2015, all registered Opencaching users can create and publish own geocache lists via their <a href=\"mylists.php\">user profile</a>. The following lists have been published so far:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2191', 'EN', 'Cache list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2192', 'EN', 'There are no lists yet.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2193', 'EN', 'My cache lists', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2194', 'EN', 'Do you really want to delete the list \\\'%1\\\'?', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2195', 'EN', 'Create new list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2196', 'EN', 'Public lists are displayed in your <a href=\"viewprofile.php?userid=%1\">public user profile</a>, on the <a href=\"cachelists.php\">lists overwiew page</a> and (if enabled) in the cache listings.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2197', 'EN', 'Space-separated list of OC waypoints.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2198', 'EN', 'You may also add caches via \"Add to list\" button in cache listings.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2199', 'EN', 'This is optional, caches may be added to the list later.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2200', 'EN', 'Create list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2201', 'EN', 'Edit cache list', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2202', 'EN', 'Add caches:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2203', 'EN', 'Remove caches:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2204', 'EN', 'The following waypoints are invalid and could not be added to the list:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2205', 'EN', 'Show all cache lists', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2206', 'EN', 'I want to receive notifications about any logs for caches in this list.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2207', 'EN', 'I am watching this list.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2208', 'EN', 'watch', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2209', 'EN', 'do not watch', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2210', 'EN', 'Single caches:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2211', 'EN', 'Lists:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2212', 'EN', 'edit', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2213', 'EN', 'delete', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2214', 'EN', 'do not ignore', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2215', 'EN', 'List name:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2216', 'EN', 'By:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2217', 'EN', 'don\'t watch', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2218', 'EN', 'Another of your cache lists already has this name.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2219', 'EN', 'minimum length for public lists is 10 characters', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2220', 'EN', 'You are still watching this geocache via one or more cache lists.', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2221', 'EN', 'Create new cachelist', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2222', 'EN', 'visible for all users in cache listings', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2223', 'EN', 'semi-public', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2224', 'EN', 'listing display', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2225', 'EN', 'without Geokrets', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2226', 'EN', 'hidden', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2227', 'EN', 'Coordinate changes', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2228', 'EN', 'Password for sharing:', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2229', 'EN', 'List has password; click here to share it', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2230', 'EN', 'Own lists', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2231', 'EN', 'Bookmarked lists', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2232', 'EN', 'Do you really want to unbookmark the list \\\'%1\\\'?', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2233', 'EN', 'bookmark', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2234', 'EN', 'I have bookmarked this list.', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2235', 'EN', 'locked/hidden cache', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2236', 'EN', 'Watch:', '2010-12-09 00:17:55');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2237', 'EN', 'Caches:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2238', 'EN', 'Link to share this cache list:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2240', 'EN', 'Chinese', '2015-08-18 15:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2241', 'EN', 'Thai', '2015-08-18 15:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2242', 'EN', 'Luxembourgish', '2015-08-18 15:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2243', 'EN', 'Catalan', '2015-08-18 15:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2244', 'EN', 'Waypoint:', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2245', 'EN', 'without regional reference', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2246', 'EN', '<span></span>', '2010-08-28 11:48:08');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2247', 'EN', 'User:', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2248', 'EN', 'All languages', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2249', 'EN', 'Caches in %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2250', 'EN', 'New caches without %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2251', 'EN', 'All new logs', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2252', 'EN', 'New logs in %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2253', 'EN', 'New logs without %1', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2254', 'EN', 'Please select a language.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2255', 'EN', 'OConly ', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2256', 'EN', 'New cache:', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2257', 'EN', 'New OConly cache:', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2258', 'EN', 'No new log entries.', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2259', 'EN', '{user} has logged your cache \"{cachename}\":', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2260', 'EN', '{user} has logged the cache \"{cachename}\":', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2261', 'EN', 'Your watchlist of', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2262', 'EN', 'Cache was marked as OConly:', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2263', 'EN', 'View description', '2010-08-28 11:48:03');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2264', 'EN', 'Type:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2265', 'EN', 'Name: {cachename} by {owner}\r\nCoordinates: {lon} {lat}\r\nStatus: {status}\r\nCondition: {condition}\r\n\r\nHidden on: {time}\r\nWaypoint: {waypoint}\r\nCountry: {country}\r\nType: {type}\r\nContainer: {container}\r\nD/T: {difficulty}/{terrain}\r\nOnline: {siteurl}viewcache.php?wp={waypoint}\r\n\r\nShort description: {shortdesc}\r\n\r\nDescription{htmlwarn}:\r\n<===================>\r\n{desc}\r\n<===================>\r\n\r\nAdditional hint:\r\n<===================>\r\n{hints}\r\n<===================>\r\nA|B|C|D|E|F|G|H|I|J|K|L|M\r\nN|O|P|Q|R|S|T|U|V|W|X|Y|Z\r\n\r\nLog entries: {logs}\r\n', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2270', 'EN', 'Berlin', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2271', 'EN', 'Bremen', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2272', 'EN', 'Dresden', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2273', 'EN', 'Düsseldorf', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2274', 'EN', 'Erfurt', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2275', 'EN', 'Hamburg', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2276', 'EN', 'Hannover', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2277', 'EN', 'Kiel', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2278', 'EN', 'Mainz', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2279', 'EN', 'Magdeburg', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2280', 'EN', 'Munich', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2281', 'EN', 'Potsdam', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2282', 'EN', 'Saarbrücken', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2283', 'EN', 'Schwerin', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2284', 'EN', 'Stuttgart', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2285', 'EN', 'Wiesbaden', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2286', 'EN', 'Frankfurt am Main', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2287', 'EN', 'Dortmund', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2288', 'EN', 'Essen', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2289', 'EN', 'Leipzig', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2290', 'EN', 'Nuremberg', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2291', 'EN', 'Bologna', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2292', 'EN', 'Bolzano', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2293', 'EN', 'Corsica', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2294', 'EN', 'Cosenza', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2295', 'EN', 'Genoa', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2296', 'EN', 'Milan', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2297', 'EN', 'Naples', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2298', 'EN', 'Palermo', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2299', 'EN', 'Rome', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2300', 'EN', 'Sardinia', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2301', 'EN', 'Udine', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2302', 'EN', 'A Coruña', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2303', 'EN', 'Albacete', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2304', 'EN', 'Alicante', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2305', 'EN', 'Almería', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2306', 'EN', 'Ávila', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2307', 'EN', 'Badajoz', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2308', 'EN', 'Barcelona', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2309', 'EN', 'Bilbao', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2310', 'EN', 'Burgos', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2311', 'EN', 'Cáceres', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2312', 'EN', 'Cádiz', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2313', 'EN', 'Castellón', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2314', 'EN', 'Ceuta', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2315', 'EN', 'Ciudad Real', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2316', 'EN', 'Córdoba', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2317', 'EN', 'Cuenca', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2318', 'EN', 'Gerona', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2319', 'EN', 'Granada', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2320', 'EN', 'Guadalajara', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2321', 'EN', 'Huesca', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2322', 'EN', 'Huelva', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2323', 'EN', 'Jaén', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2324', 'EN', 'Las Palmas de Gran Canaria', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2325', 'EN', 'León', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2326', 'EN', 'Lleida', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2327', 'EN', 'Logroño', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2328', 'EN', 'Lugo', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2329', 'EN', 'Madrid', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2330', 'EN', 'Málaga', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2331', 'EN', 'Melilla', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2332', 'EN', 'Murcia', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2333', 'EN', 'Ourense', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2334', 'EN', 'Oviedo', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2335', 'EN', 'Palencia', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2336', 'EN', 'Palma de Mallorca', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2337', 'EN', 'Pamplona', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2338', 'EN', 'Pontevedra', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2339', 'EN', 'Salamanca', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2340', 'EN', 'San Sebastián', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2341', 'EN', 'Santa Cruz de Tenerife', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2342', 'EN', 'Santander', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2343', 'EN', 'Segovia', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2344', 'EN', 'Seville', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2345', 'EN', 'Soria', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2346', 'EN', 'Tarragona', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2347', 'EN', 'Teruel', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2348', 'EN', 'Toledo', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2349', 'EN', 'Valencia', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2350', 'EN', 'Valladolid', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2351', 'EN', 'Vitoria-Gasteiz', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2352', 'EN', 'Zamora', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2353', 'EN', 'Zaragoza', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2354', 'EN', 'Paris', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2355', 'EN', 'Marseille', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2356', 'EN', 'Lyon', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2357', 'EN', 'Toulouse', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2358', 'EN', 'Nice', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2359', 'EN', 'Nantes', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2360', 'EN', 'Strasbourg', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2361', 'EN', 'Montpellier', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2362', 'EN', 'Bordeaux', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2363', 'EN', 'Lille', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2364', 'EN', 'Rennes', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2365', 'EN', 'Reims', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2366', 'EN', 'Le Havre', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2367', 'EN', 'Saint-Étienne', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2368', 'EN', 'Toulon', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2369', 'EN', 'Bregenz', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2370', 'EN', 'Eisenstadt', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2371', 'EN', 'Graz', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2372', 'EN', 'Innsbruck', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2373', 'EN', 'Klagenfurt', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2374', 'EN', 'Linz', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2375', 'EN', 'Salzburg', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2376', 'EN', 'Sankt Pölten', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2377', 'EN', 'Vienna', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2378', 'EN', 'Aarau', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2379', 'EN', 'Appenzell', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2380', 'EN', 'Herisau', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2381', 'EN', 'Liestal', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2382', 'EN', 'Basel', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2383', 'EN', 'Bern', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2384', 'EN', 'Fribourg', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2385', 'EN', 'Geneva', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2386', 'EN', 'Glarus', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2387', 'EN', 'Chur', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2388', 'EN', 'Delémont', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2389', 'EN', 'Lucerne', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2390', 'EN', 'Neuchâtel', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2391', 'EN', 'Lausanne', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2392', 'EN', 'Zürich', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2522', 'EN', 'OConly', '2013-11-03 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2523', 'EN', 'Official OC logos (up-to-date):', '2015-11-24 23:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2524', 'EN', 'Stored query', '2015-01-20 20:37:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2525', 'EN', 'Alternavite logos (partly outdated):', '2015-11-24 22:36:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2526', 'EN', 'found', '2016-01-21 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2527', 'EN', 'not\ found', '2016-01-21 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2528', 'EN', 'attended', '2016-01-21 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2529', 'EN', 'recommended', '2016-01-21 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2530', 'EN', 'Current new entries', '2015-01-20 20:37:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2531', 'EN', 'All new entries', '2015-01-20 20:37:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2532', 'EN', '... by log date', '2015-01-20 20:37:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2536', 'EN', 'Cache list:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2537', 'EN', 'Cache lists:', '2015-06-17 10:09:14');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2632', 'EN', 'Handicap: Blind', '2017-05-02 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2633', 'EN', 'This Cache can be found by blind people.', '2017-05-02 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2634', 'EN', 'More information', '2017-05-14 21:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2635', 'EN', 'Close', '2017-05-14 21:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2636', 'EN', 'This website uses cookies. If you stay on this site you accept the usage of cookies.', '2017-05-14 21:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2662', 'EN', 'Handicap: Wheelchair', '2020-01-04 19:30:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2663', 'EN', 'This cache is findable for persons with a wheelchair.', '2020-01-04 19:30:00');
|
CREATE TABLE units (
unit CHAR(44) NOT NULL PRIMARY KEY, -- sha256 in base64
creation_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
version VARCHAR(3) NOT NULL DEFAULT '1.0',
alt VARCHAR(3) NOT NULL DEFAULT '1',
witness_list_unit CHAR(44) NULL,
last_ball_unit CHAR(44) NULL,
content_hash CHAR(44) NULL,
headers_commission INT NOT NULL,
payload_commission INT NOT NULL,
is_free TINYINT NOT NULL DEFAULT 1,
is_on_main_chain TINYINT NOT NULL DEFAULT 0,
main_chain_index INT NULL, -- when it first appears
latest_included_mc_index INT NULL, -- latest MC ball that is included in this ball (excluding itself)
level INT NULL,
witnessed_level INT NULL,
is_stable TINYINT NOT NULL DEFAULT 0,
sequence TEXT CHECK (sequence IN('good','temp-bad','final-bad')) NOT NULL DEFAULT 'good',
best_parent_unit CHAR(44) NULL,
FOREIGN KEY (best_parent_unit) REFERENCES units(unit)
);
CREATE INDEX byLB ON units(last_ball_unit);
CREATE INDEX byBestParent ON units(best_parent_unit);
CREATE INDEX byWL ON units(witness_list_unit);
CREATE INDEX byMainChain ON units(is_on_main_chain);
CREATE INDEX byMcIndex ON units(main_chain_index);
CREATE INDEX byLimci ON units(latest_included_mc_index);
CREATE INDEX byLevel ON units(level);
CREATE INDEX byFree ON units(is_free);
CREATE INDEX byStableMci ON units(is_stable, main_chain_index);
CREATE TABLE balls (
ball CHAR(44) NOT NULL PRIMARY KEY, -- sha256 in base64
creation_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
unit CHAR(44) NOT NULL UNIQUE, -- sha256 in base64
-- count_witnesses TINYINT NOT NULL DEFAULT 0,
count_paid_witnesses TINYINT NULL,
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX byCountPaidWitnesses ON balls(count_paid_witnesses);
CREATE TABLE skiplist_units (
unit CHAR(44) NOT NULL,
skiplist_unit CHAR(44) NOT NULL, -- only for MC units with MCI divisible by 10: previous MC units divisible by 10
PRIMARY KEY (unit, skiplist_unit),
FOREIGN KEY (unit) REFERENCES units(unit),
FOREIGN KEY (skiplist_unit) REFERENCES units(unit)
);
CREATE INDEX bySkiplistUnit ON skiplist_units(skiplist_unit);
-- must be sorted by parent_unit
CREATE TABLE parenthoods (
child_unit CHAR(44) NOT NULL,
parent_unit CHAR(44) NOT NULL,
PRIMARY KEY (parent_unit, child_unit)
);
CREATE INDEX byChildUnit ON parenthoods(child_unit);
CREATE TABLE definitions (
definition_chash CHAR(32) NOT NULL PRIMARY KEY,
definition TEXT NOT NULL,
has_references TINYINT NOT NULL
);
-- current list of all known from-addresses
CREATE TABLE addresses (
address CHAR(32) NOT NULL PRIMARY KEY,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
-- must be sorted by address
CREATE TABLE unit_authors (
unit CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
definition_chash CHAR(32) NULL, -- only with 1st ball from this address, and with next ball after definition change
_mci INT NULL,
PRIMARY KEY (unit, address),
FOREIGN KEY (unit) REFERENCES units(unit),
FOREIGN KEY (definition_chash) REFERENCES definitions(definition_chash)
);
CREATE INDEX byDefinitionChash ON unit_authors(definition_chash);
CREATE INDEX unitAuthorsIndexByAddress ON unit_authors(address);
CREATE INDEX unitAuthorsIndexByAddressMci ON unit_authors(address, _mci);
CREATE TABLE authentifiers (
unit CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
path VARCHAR(40) NOT NULL,
authentifier VARCHAR(4096) NOT NULL,
PRIMARY KEY (unit, address, path),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX authentifiersIndexByAddress ON authentifiers(address);
-- must be sorted by address
CREATE TABLE unit_witnesses (
unit CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
PRIMARY KEY (unit, address),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX byAddress ON unit_witnesses(address);
CREATE TABLE witness_list_hashes (
witness_list_unit CHAR(44) NOT NULL PRIMARY KEY,
witness_list_hash CHAR(44) NOT NULL UNIQUE,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (witness_list_unit) REFERENCES units(unit)
);
-- if this ball wins headers commission from at least one of the included balls, how it is distributed
-- required if more than one author
-- if one author, all commission goes to the author by default
CREATE TABLE earned_headers_commission_recipients (
unit CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
earned_headers_commission_share INT NOT NULL, -- percentage
PRIMARY KEY (unit, address),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX earnedbyAddress ON earned_headers_commission_recipients(address);
CREATE TABLE messages (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
app VARCHAR(30) NOT NULL,
payload_location TEXT CHECK (payload_location IN ('inline','uri','none')) NOT NULL,
payload_hash CHAR(44) NOT NULL,
payload TEXT NULL,
payload_uri_hash CHAR(44) NULL,
payload_uri VARCHAR(500) NULL,
PRIMARY KEY (unit, message_index),
FOREIGN KEY (unit) REFERENCES units(unit)
);
-- must be sorted by spend_proof
CREATE TABLE spend_proofs (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
spend_proof_index TINYINT NOT NULL,
spend_proof CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
PRIMARY KEY (unit, message_index, spend_proof_index),
UNIQUE (spend_proof, unit),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX spendProofsIndexByAddress ON spend_proofs(address);
-- -------------------------
-- Specific message types
CREATE TABLE address_definition_changes (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
address CHAR(32) NOT NULL,
definition_chash CHAR(32) NOT NULL, -- might not be defined in definitions yet (almost always, it is not defined)
PRIMARY KEY (unit, message_index),
UNIQUE (address, unit),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE TABLE data_feeds (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
feed_name VARCHAR(64) NOT NULL,
-- type ENUM('string', 'number') NOT NULL,
`value` VARCHAR(64) NULL,
`int_value` BIGINT NULL,
PRIMARY KEY (unit, feed_name),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX byNameStringValue ON data_feeds(feed_name, `value`);
CREATE INDEX byNameIntValue ON data_feeds(feed_name, `int_value`);
CREATE TABLE polls (
unit CHAR(44) NOT NULL PRIMARY KEY,
message_index TINYINT NOT NULL,
question VARCHAR(4096) NOT NULL,
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE TABLE poll_choices (
unit CHAR(44) NOT NULL,
choice_index TINYINT NOT NULL,
choice VARCHAR(32) NOT NULL,
PRIMARY KEY (unit, choice_index),
UNIQUE (unit, choice),
FOREIGN KEY (unit) REFERENCES polls(unit)
);
CREATE TABLE votes (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
poll_unit CHAR(44) NOT NULL,
choice VARCHAR(32) NOT NULL,
PRIMARY KEY (unit, message_index),
UNIQUE (unit, choice),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX votesIndexByPollUnitChoice ON votes(poll_unit, choice);
CREATE TABLE attestations (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
attestor_address CHAR(32) NOT NULL,
address CHAR(32) NOT NULL,
-- name VARCHAR(44) NOT NULL,
PRIMARY KEY (unit, message_index),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX attestationsByAddress ON attestations(address);
CREATE INDEX attestationsIndexByAttestorAddress ON attestations(attestor_address);
CREATE TABLE assets (
unit CHAR(44) NOT NULL PRIMARY KEY,
message_index TINYINT NOT NULL,
cap BIGINT NULL,
is_private TINYINT NOT NULL,
is_transferrable TINYINT NOT NULL,
auto_destroy TINYINT NOT NULL,
fixed_denominations TINYINT NOT NULL,
issued_by_definer_only TINYINT NOT NULL,
cosigned_by_definer TINYINT NOT NULL,
spender_attested TINYINT NOT NULL, -- must subsequently publish and update the list of trusted attestors
issue_condition TEXT NULL,
transfer_condition TEXT NULL,
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE TABLE asset_denominations (
asset CHAR(44) NOT NULL,
denomination INT NOT NULL,
count_coins BIGINT NULL,
max_issued_serial_number BIGINT NOT NULL DEFAULT 0,
PRIMARY KEY (asset, denomination),
FOREIGN KEY (asset) REFERENCES assets(unit)
);
CREATE TABLE asset_attestors (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
asset CHAR(44) NOT NULL, -- in the initial attestor list: same as unit
attestor_address CHAR(32) NOT NULL,
PRIMARY KEY (unit, message_index),
UNIQUE (asset, attestor_address, unit),
FOREIGN KEY (unit) REFERENCES units(unit)
);
-- -------------------------
-- Payments
CREATE TABLE inputs (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
input_index TINYINT NOT NULL,
asset CHAR(44) NULL,
denomination INT NOT NULL DEFAULT 1,
is_unique TINYINT NULL DEFAULT 1,
type TEXT CHECK (type IN('transfer','headers_commission','witnessing','issue')) NOT NULL,
src_unit CHAR(44) NULL, -- transfer
src_message_index TINYINT NULL, -- transfer
src_output_index TINYINT NULL, -- transfer
from_main_chain_index INT NULL, -- witnessing/hc
to_main_chain_index INT NULL, -- witnessing/hc
serial_number BIGINT NULL, -- issue
amount BIGINT NULL, -- issue
address CHAR(32) NULL, -- in light we allow NULL because address is copied from previous output which might not be known to light client
PRIMARY KEY (unit, message_index, input_index),
UNIQUE (src_unit, src_message_index, src_output_index, is_unique), -- UNIQUE guarantees there'll be no double spend for type=transfer
UNIQUE (type, from_main_chain_index, address, is_unique), -- UNIQUE guarantees there'll be no double spend for type=hc/witnessing
UNIQUE (asset, denomination, serial_number, address, is_unique), -- UNIQUE guarantees there'll be no double issue
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX inputsIndexByAddress ON inputs(address);
CREATE INDEX inputsIndexByAddressTypeToMci ON inputs(address, type, to_main_chain_index);
CREATE INDEX inputsIndexByAssetType ON inputs(asset, type);
CREATE TABLE outputs (
output_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
output_index TINYINT NOT NULL,
asset CHAR(44) NULL,
denomination INT NOT NULL DEFAULT 1,
address CHAR(32) NULL, -- NULL if hidden by output_hash
amount BIGINT NOT NULL,
blinding CHAR(16) NULL,
output_hash CHAR(44) NULL,
is_serial TINYINT NULL, -- NULL if not stable yet
is_spent TINYINT NOT NULL DEFAULT 0,
UNIQUE (unit, message_index, output_index),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX dobyAddressSpent ON outputs(address, is_spent);
CREATE INDEX outputsIndexByAsset ON outputs(asset);
CREATE INDEX outputsIsSerial ON outputs(is_serial);
-- ------------
-- Commissions
-- updated immediately after main chain is updated
CREATE TABLE headers_commission_contributions (
unit CHAR(44) NOT NULL, -- child unit that receives (and optionally redistributes) commission from parent units
address CHAR(32) NOT NULL, -- address of the commission receiver: author of child unit or address named in earned_headers_commission_recipients
amount BIGINT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (unit, address),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX hccbyAddress ON headers_commission_contributions(address);
CREATE TABLE headers_commission_outputs (
main_chain_index INT NOT NULL,
address CHAR(32) NOT NULL, -- address of the commission receiver
amount BIGINT NOT NULL,
is_spent TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (main_chain_index, address)
);
-- CREATE INDEX hcobyAddressSpent ON headers_commission_outputs(address, is_spent);
CREATE UNIQUE INDEX hcobyAddressMci ON headers_commission_outputs(address, main_chain_index);
CREATE UNIQUE INDEX hcobyAddressSpentMci ON headers_commission_outputs(address, is_spent, main_chain_index);
CREATE TABLE paid_witness_events (
unit CHAR(44) NOT NULL,
address CHAR(32) NOT NULL, -- witness address
-- witnessed_in_ball CHAR(44) NOT NULL, -- if expired, MC ball next after expiry. Or NULL?
delay TINYINT NULL, -- NULL if expired
PRIMARY KEY (unit, address),
FOREIGN KEY (unit) REFERENCES units(unit),
FOREIGN KEY (address) REFERENCES addresses(address)
);
CREATE INDEX pweIndexByAddress ON paid_witness_events(address);
CREATE TABLE witnessing_outputs (
main_chain_index INT NOT NULL,
address CHAR(32) NOT NULL,
amount BIGINT NOT NULL,
is_spent TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (main_chain_index, address),
FOREIGN KEY (address) REFERENCES addresses(address)
);
-- CREATE INDEX byWitnessAddressSpent ON witnessing_outputs(address, is_spent);
CREATE UNIQUE INDEX byWitnessAddressMci ON witnessing_outputs(address, main_chain_index);
CREATE UNIQUE INDEX byWitnessAddressSpentMci ON witnessing_outputs(address, is_spent, main_chain_index);
-- ---------------------------------------
-- Networking
CREATE TABLE dependencies (
unit CHAR(44) NOT NULL,
depends_on_unit CHAR(44) NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE (depends_on_unit, unit)
);
CREATE INDEX depbyUnit ON dependencies(unit);
CREATE TABLE unhandled_joints (
unit CHAR(44) NOT NULL PRIMARY KEY,
peer VARCHAR(100) NOT NULL,
json TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE archived_joints (
unit CHAR(44) NOT NULL PRIMARY KEY,
reason TEXT CHECK (reason IN('uncovered', 'voided')) NOT NULL,
-- is_retrievable TINYINT NOT NULL,
json TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE known_bad_joints (
joint CHAR(44) NULL UNIQUE,
unit CHAR(44) NULL UNIQUE,
json TEXT NOT NULL,
error TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE joints (
unit CHAR(44) NOT NULL PRIMARY KEY,
json TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE unhandled_private_payments (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
output_index TINYINT NOT NULL,
json TEXT NOT NULL,
peer VARCHAR(100) NOT NULL,
linked TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (unit, message_index, output_index)
);
-- ------------------
-- Catching up
CREATE TABLE hash_tree_balls (
ball_index INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -- in increasing level order
ball CHAR(44) NOT NULL UNIQUE,
unit CHAR(44) NOT NULL UNIQUE
);
CREATE TABLE catchup_chain_balls (
member_index INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -- in increasing level order
ball CHAR(44) NOT NULL UNIQUE
);
-- ------------------------
-- Peers
CREATE TABLE peer_hosts (
peer_host VARCHAR(100) NOT NULL PRIMARY KEY, -- domain or IP
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
count_new_good_joints INT NOT NULL DEFAULT 0,
count_invalid_joints INT NOT NULL DEFAULT 0,
count_nonserial_joints INT NOT NULL DEFAULT 0
);
CREATE TABLE peers (
peer VARCHAR(100) NOT NULL PRIMARY KEY, -- wss:// address
peer_host VARCHAR(100) NOT NULL, -- domain or IP
learnt_from_peer_host VARCHAR(100) NULL, -- domain or IP
is_self TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (learnt_from_peer_host) REFERENCES peer_hosts(peer_host),
FOREIGN KEY (peer_host) REFERENCES peer_hosts(peer_host)
);
CREATE INDEX peersIndexByPeerHost ON peers(peer_host);
CREATE INDEX peersIndexByLearntHost ON peers(learnt_from_peer_host);
-- INSERT INTO peer_hosts (peer_host) VALUES('127.0.0.1');
-- INSERT INTO peers (peer_host, peer) VALUES('127.0.0.1', 'ws://127.0.0.1:8081');
CREATE TABLE peer_events (
peer_host VARCHAR(100) NOT NULL, -- domain or IP
event_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
event TEXT CHECK (event IN('new_good', 'invalid', 'nonserial', 'known_good', 'known_bad')) NOT NULL,
FOREIGN KEY (peer_host) REFERENCES peer_hosts(peer_host)
);
CREATE INDEX peerEventsIndexByPeerHost ON peer_events(peer_host);
-- self advertised urls
-- only inbound peers can advertise their urls
CREATE TABLE peer_host_urls (
peer_host VARCHAR(100) NOT NULL, -- IP
url VARCHAR(100) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
is_active TINYINT NULL DEFAULT 1,
revocation_date TIMESTAMP NULL,
UNIQUE (peer_host, is_active),
FOREIGN KEY (peer_host) REFERENCES peer_hosts(peer_host)
);
-- -----------------------
-- wallet tables
-- wallets composed of BIP44 keys, the keys live on different devices, each device knows each other's extended public key
CREATE TABLE wallets (
wallet CHAR(44) NOT NULL PRIMARY KEY,
account INT NOT NULL,
definition_template TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
full_approval_date TIMESTAMP NULL,
ready_date TIMESTAMP NULL -- when all members notified me that they saw the wallet fully approved
);
-- BIP44 addresses. Coin type and account are fixed and stored in credentials in localstorage.
-- derivation path is m/44'/0'/account'/is_change/address_index
CREATE TABLE my_addresses (
address CHAR(32) NOT NULL PRIMARY KEY,
wallet CHAR(44) NOT NULL,
is_change TINYINT NOT NULL,
address_index INT NOT NULL,
definition TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE (wallet, is_change, address_index),
FOREIGN KEY (wallet) REFERENCES wallets(wallet)
);
CREATE TABLE my_witnesses (
address CHAR(32) NOT NULL PRIMARY KEY
);
-- --------------------
-- hub tables
CREATE TABLE devices (
device_address CHAR(33) NOT NULL PRIMARY KEY,
pubkey CHAR(44) NOT NULL,
temp_pubkey_package TEXT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE device_messages (
message_hash CHAR(44) NOT NULL PRIMARY KEY,
device_address CHAR(33) NOT NULL, -- the device this message is addressed to
message TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (device_address) REFERENCES devices(device_address)
);
CREATE INDEX deviceMessagesIndexByDeviceAddress ON device_messages(device_address);
-- --------------------
-- hub client tables
CREATE TABLE correspondent_devices (
device_address CHAR(33) NOT NULL PRIMARY KEY,
name VARCHAR(100) NOT NULL,
pubkey CHAR(44) NOT NULL,
hub VARCHAR(100) NOT NULL, -- domain name of the hub this address is subscribed to
is_confirmed TINYINT NOT NULL DEFAULT 0,
is_indirect TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE pairing_secrets (
pairing_secret VARCHAR(40) NOT NULL PRIMARY KEY,
is_permanent TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
expiry_date TIMESTAMP NOT NULL
);
CREATE TABLE extended_pubkeys (
wallet CHAR(44) NOT NULL, -- no FK because xpubkey may arrive earlier than the wallet is approved by the user and written to the db
extended_pubkey CHAR(112) NULL, -- base58 encoded, see bip32, NULL while pending
device_address CHAR(33) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
approval_date TIMESTAMP NULL,
member_ready_date TIMESTAMP NULL, -- when this member notified us that he has collected all member xpubkeys
PRIMARY KEY (wallet, device_address)
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address)
);
CREATE TABLE wallet_signing_paths (
wallet CHAR(44) NOT NULL, -- no FK because xpubkey may arrive earlier than the wallet is approved by the user and written to the db
signing_path VARCHAR(255) NULL, -- NULL if xpubkey arrived earlier than the wallet was approved by the user
device_address CHAR(33) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (wallet, signing_path),
FOREIGN KEY (wallet) REFERENCES wallets(wallet)
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address)
);
-- addresses composed of several other addresses (such as ["and", [["address", "ADDRESS1"], ["address", "ADDRESS2"]]]),
-- member addresses live on different devices, member addresses themselves may be composed of several keys
CREATE TABLE shared_addresses (
shared_address CHAR(32) NOT NULL PRIMARY KEY,
definition TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE pending_shared_addresses (
definition_template_chash CHAR(32) NOT NULL PRIMARY KEY,
definition_template TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE pending_shared_address_signing_paths (
definition_template_chash CHAR(32) NOT NULL,
device_address CHAR(33) NOT NULL,
signing_path TEXT NOT NULL, -- path from root to member address
address CHAR(32) NULL, -- member address
device_addresses_by_relative_signing_paths TEXT NULL, -- json
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
approval_date TIMESTAMP NULL,
PRIMARY KEY (definition_template_chash, signing_path),
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address),
FOREIGN KEY (definition_template_chash) REFERENCES pending_shared_addresses(definition_template_chash)
);
CREATE TABLE shared_address_signing_paths (
shared_address CHAR(32) NOT NULL,
signing_path VARCHAR(255) NULL, -- full path to signing key which is a member of the member address
address CHAR(32) NOT NULL, -- member address
member_signing_path VARCHAR(255) NULL, -- path to signing key from root of the member address
device_address CHAR(33) NOT NULL, -- where this signing key lives or is reachable through
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (shared_address, signing_path),
FOREIGN KEY (shared_address) REFERENCES shared_addresses(shared_address)
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address)
);
CREATE TABLE outbox (
message_hash CHAR(44) NOT NULL PRIMARY KEY,
`to` CHAR(33) NOT NULL, -- the device this message is addressed to, no FK because of pairing case
message TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
last_error TEXT NULL
);
-- light clients
CREATE TABLE watched_light_addresses (
peer VARCHAR(100) NOT NULL,
address CHAR(32) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (peer, address)
);
CREATE INDEX wlabyAddress ON watched_light_addresses(address);
CREATE INDEX "bySequence" ON "units" ("sequence");
DROP TABLE IF EXISTS paid_witness_events;
CREATE TABLE IF NOT EXISTS push_registrations (
registrationId TEXT,
device_address TEXT NOT NULL,
PRIMARY KEY (device_address)
);
CREATE TABLE chat_messages (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
correspondent_address CHAR(33) NOT NULL,
message LONGTEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
is_incoming INTEGER(1) NOT NULL,
type CHAR(15) NOT NULL DEFAULT 'text',
FOREIGN KEY (correspondent_address) REFERENCES correspondent_devices(device_address) ON DELETE CASCADE
);
CREATE INDEX chatMessagesIndexByDeviceAddress ON chat_messages(correspondent_address, id);
ALTER TABLE correspondent_devices ADD COLUMN my_record_pref INTEGER DEFAULT 1;
ALTER TABLE correspondent_devices ADD COLUMN peer_record_pref INTEGER DEFAULT 1;
CREATE TABLE watched_light_units (
peer VARCHAR(100) NOT NULL,
unit CHAR(44) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (peer, unit)
);
CREATE INDEX wlabyUnit ON watched_light_units(unit);
CREATE TABLE bots (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
rank INTEGER NOT NULL DEFAULT 0,
name VARCHAR(100) NOT NULL UNIQUE,
pairing_code VARCHAR(200) NOT NULL,
description LONGTEXT NOT NULL
);
CREATE TABLE asset_metadata (
asset CHAR(44) NOT NULL PRIMARY KEY,
metadata_unit CHAR(44) NOT NULL,
registry_address CHAR(32) NULL, -- filled only on the hub
suffix VARCHAR(20) NULL, -- added only if the same name is registered by different registries for different assets, equal to registry name
name VARCHAR(20) NULL,
decimals TINYINT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE (name, registry_address),
FOREIGN KEY (asset) REFERENCES assets(unit),
FOREIGN KEY (metadata_unit) REFERENCES units(unit)
-- FOREIGN KEY (registry_address) REFERENCES addresses(address) -- addresses is not always filled on light
);
CREATE TABLE sent_mnemonics (
unit CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
mnemonic VARCHAR(107) NOT NULL,
textAddress VARCHAR(120) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX sentByAddress ON sent_mnemonics(address);
CREATE INDEX sentByUnit ON sent_mnemonics(unit);
CREATE TABLE private_profiles (
private_profile_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
unit CHAR(44) NOT NULL,
payload_hash CHAR(44) NOT NULL,
attestor_address CHAR(32) NOT NULL,
address CHAR(32) NOT NULL,
src_profile TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE TABLE private_profile_fields (
private_profile_id INTEGER NOT NULL ,
`field` VARCHAR(50) NOT NULL,
`value` VARCHAR(50) NOT NULL,
blinding CHAR(16) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE (private_profile_id, `field`),
FOREIGN KEY (private_profile_id) REFERENCES private_profiles(private_profile_id)
);
CREATE INDEX ppfByField ON private_profile_fields(`field`);
CREATE TABLE attested_fields (
unit CHAR(44) NOT NULL,
message_index TINYINT NOT NULL,
attestor_address CHAR(32) NOT NULL,
address CHAR(32) NOT NULL,
`field` VARCHAR(50) NOT NULL,
`value` VARCHAR(100) NOT NULL,
PRIMARY KEY (unit, message_index, `field`),
FOREIGN KEY (unit) REFERENCES units(unit)
);
CREATE INDEX attestedFieldsByAttestorFieldValue ON attested_fields(attestor_address, `field`, `value`);
CREATE INDEX attestedFieldsByAddressField ON attested_fields(address, `field`);
-- user enters an email address (it is original address) and it is translated to BB address
CREATE TABLE original_addresses (
unit CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
original_address VARCHAR(100) NOT NULL, -- email
PRIMARY KEY (unit, address),
FOREIGN KEY (unit) REFERENCES units(unit)
);
PRAGMA user_version=19;
|
DROP TABLE IF EXISTS `arena_pvp`;
CREATE TABLE `arena_pvp` (
`char_id` int(11) unsigned NOT NULL,
`char_name` varchar(24) NOT NULL,
`matou` int(10) unsigned NOT NULL,
`morreu` int(10) unsigned NOT NULL,
`total` int(10) NOT NULL,
PRIMARY KEY (`char_id`)
) ENGINE=MyISAM;
DROP TABLE IF EXISTS `arena_pvp_logs`;
CREATE TABLE `arena_pvp_logs` (
`assassino` VARCHAR( 32 ) NOT NULL ,
`alvo` VARCHAR( 32 ) NOT NULL ,
`data` VARCHAR( 32 ) NOT NULL ,
`ID` INT( 11 ) NOT NULL AUTO_INCREMENT ,
PRIMARY KEY ( `ID` )
) ENGINE=MYISAM;
DROP TABLE IF EXISTS `ranking_woe`;
CREATE TABLE `ranking_woe` (
`guild_id` int(11) unsigned NOT NULL,
`guild_name` varchar(24) NOT NULL,
`matou` int(10) unsigned NOT NULL,
`morreu` int(10) unsigned NOT NULL,
`total` int(10) NOT NULL,
PRIMARY KEY (`guild_id`)
) ENGINE=MyISAM;
DROP TABLE IF EXISTS `tickets`;
CREATE TABLE `tickets` (
`id` int(11) NOT NULL,
`title` varchar(24) NOT NULL,
`login` varchar(24) NOT NULL,
`email` varchar(100) NOT NULL default '',
`category` varchar(24) NOT NULL,
`body` text NOT NULL,
`tickets` varchar(24) NOT NULL DEFAULT 'Aberto',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `tickets_replys`;
CREATE TABLE `tickets_replys` (
`id` int(11) NOT NULL,
`ticket_id` int(11) NOT NULL,
`login` varchar(24) NOT NULL,
`body` text NOT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `tickets_category`;
CREATE TABLE `tickets_category` (
`id` int(11) NOT NULL,
`name` varchar(24) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
INSERT INTO `tickets_category` (`id`, `name`) VALUES
(1, 'Doações'),
(2, 'Suporte'),
(3, 'Bug'),
(4, 'Denúncia');
DROP TABLE IF EXISTS `painel_configs`;
CREATE TABLE `painel_configs` (
`id` int(11) NOT NULL,
`name` varchar(24) NOT NULL,
`content` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
INSERT INTO `painel_configs` (`id`, `name`, `content`) VALUES
(1, 'title', 'RS CODE - Painel'),
(2, 'title_mini', 'RS'),
(3, 'email', 'rsantos@rscode.com.br'),
(4, 'discord', 'https://discord.gg/'),
(5, 'facebook', 'https://www.facebook.com/'),
(7, 'color', 'purple'),
(8, 'colorbg', 'black'),
(9, 'levelvip', '5'),
(10, 'leveladm', '99'),
(11, 'levelgm', '50'),
(12, 'levelcm', '20');
DROP TABLE IF EXISTS `item_db`;
CREATE TABLE `item_db` (
`id` int(11) UNSIGNED NOT NULL DEFAULT '0',
`name_english` varchar(50) NOT NULL DEFAULT '',
`name_japanese` varchar(50) NOT NULL DEFAULT '',
`type` tinyint(2) UNSIGNED NOT NULL DEFAULT '0',
`subtype` tinyint(2) UNSIGNED DEFAULT NULL,
`price_buy` mediumint(10) DEFAULT NULL,
`price_sell` mediumint(10) DEFAULT NULL,
`weight` smallint(5) UNSIGNED DEFAULT NULL,
`atk` smallint(5) UNSIGNED DEFAULT NULL,
`matk` smallint(5) UNSIGNED DEFAULT NULL,
`defence` smallint(5) UNSIGNED DEFAULT NULL,
`range` tinyint(2) UNSIGNED DEFAULT NULL,
`slots` tinyint(2) UNSIGNED DEFAULT NULL,
`equip_jobs` bigint(20) UNSIGNED DEFAULT NULL,
`equip_upper` tinyint(8) UNSIGNED DEFAULT NULL,
`equip_genders` tinyint(2) UNSIGNED DEFAULT NULL,
`equip_locations` mediumint(8) UNSIGNED DEFAULT NULL,
`weapon_level` tinyint(2) UNSIGNED DEFAULT NULL,
`equip_level_min` smallint(5) UNSIGNED DEFAULT NULL,
`equip_level_max` smallint(5) UNSIGNED DEFAULT NULL,
`refineable` tinyint(1) UNSIGNED DEFAULT NULL,
`disable_options` tinyint(1) UNSIGNED DEFAULT NULL,
`view_sprite` smallint(3) UNSIGNED DEFAULT NULL,
`bindonequip` tinyint(1) UNSIGNED DEFAULT NULL,
`forceserial` tinyint(1) UNSIGNED DEFAULT NULL,
`buyingstore` tinyint(1) UNSIGNED DEFAULT NULL,
`delay` mediumint(9) UNSIGNED DEFAULT NULL,
`trade_flag` smallint(4) UNSIGNED DEFAULT NULL,
`trade_group` smallint(3) UNSIGNED DEFAULT NULL,
`nouse_flag` smallint(4) UNSIGNED DEFAULT NULL,
`nouse_group` smallint(4) UNSIGNED DEFAULT NULL,
`stack_amount` mediumint(6) UNSIGNED DEFAULT NULL,
`stack_flag` tinyint(2) UNSIGNED DEFAULT NULL,
`sprite` mediumint(6) UNSIGNED DEFAULT NULL,
`script` text,
`equip_script` text,
`unequip_script` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
DROP TABLE IF EXISTS `mob_db`;
CREATE TABLE `mob_db` (
`ID` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Sprite` TEXT NOT NULL,
`kName` TEXT NOT NULL,
`iName` TEXT NOT NULL,
`LV` TINYINT(6) UNSIGNED NOT NULL DEFAULT '0',
`HP` INT(9) UNSIGNED NOT NULL DEFAULT '0',
`SP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
`EXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
`JEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Range1` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
`ATK1` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`ATK2` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`DEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`MDEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`STR` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`AGI` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`VIT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`INT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`DEX` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`LUK` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`Range2` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
`Range3` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
`Scale` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
`Race` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
`Element` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
`Mode` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`Speed` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`aDelay` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`aMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`dMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
`MEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
`MVP1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`MVP1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`MVP2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`MVP2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`MVP3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`MVP3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop4id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop4per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop5id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop5per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop6id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop6per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop7id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop7per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop8id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop8per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop9id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`Drop9per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`DropCardid` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
`DropCardper` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM;
ALTER TABLE `tickets` ADD PRIMARY KEY (`id`);
ALTER TABLE `tickets_category` ADD PRIMARY KEY (`id`);
ALTER TABLE `tickets_replys` ADD PRIMARY KEY (`id`);
ALTER TABLE `tickets` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `tickets_replys` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `tickets_category` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `painel_configs` ADD PRIMARY KEY (`id`);
ALTER TABLE `painel_configs`MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
ALTER TABLE `login` ADD `remember_token` varchar(100) DEFAULT NULL AFTER `user_pass`;
ALTER TABLE `login` ADD `photo` VARCHAR(200) NOT NULL DEFAULT 'default.png' AFTER `remember_token`;
ALTER TABLE `login` ADD `cash` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `char` ADD `eventos` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `char` ADD `mvps` INT( 11 ) NOT NULL DEFAULT '0';
|
-- --------------------------------------------------------
-- Host: localhost
-- Versión del servidor: 5.7.24 - MySQL Community Server (GPL)
-- SO del servidor: Win32
-- HeidiSQL Versión: 10.2.0.5599
-- --------------------------------------------------------
/*!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' */;
-- Volcando estructura de base de datos para posts
CREATE DATABASE IF NOT EXISTS `posts` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `posts`;
-- Volcando estructura para tabla posts.blogs
CREATE TABLE IF NOT EXISTS `blogs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL DEFAULT '0',
`title` char(255) NOT NULL DEFAULT '0',
`body` text NOT NULL,
`slug` varchar(255) DEFAULT NULL,
`date_published` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
-- Volcando datos para la tabla posts.blogs: ~7 rows (aproximadamente)
/*!40000 ALTER TABLE `blogs` DISABLE KEYS */;
REPLACE INTO `blogs` (`id`, `user_id`, `title`, `body`, `slug`, `date_published`) VALUES
(1, 5, 'second post edit 2', 'this is a body efit 2', 'second-post', '2021-03-26 22:19:26'),
(2, 5, 'firts pots', 'this is a body', 'firts-pots', '2021-03-26 22:20:31'),
(3, 5, 'third post', 'this is a body', 'third-post', '2021-03-26 22:19:26'),
(4, 5, 'four post', 'this is a body', 'four-post', '2021-03-26 22:19:26'),
(5, 5, 'five post', 'this is a body', 'five-post', '2021-03-26 22:19:26'),
(6, 0, 'title of new post by jagol', 'lorem ipsun saten doles', 'title-of-new-post-by-jagol', '2021-03-29 15:50:00'),
(7, 0, 'jagol dev', 'lorem ipsin lorem ipsin lorem ipsin lorem ipsin lorem ipsin lorem ipsin lorem ipsin lorem ipsin ', 'jagol-dev', '0000-00-00 00:00:00'),
(10, 0, 'The new virus COVID-19', 'lorem ipsun lorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsun', 'the-new-virus-covid-19', '0000-00-00 00:00:00'),
(11, 0, 'by jhon doe', 'lorem ipsun lorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsunlorem ipsun', 'by-jhon-doe', '0000-00-00 00:00:00');
/*!40000 ALTER TABLE `blogs` ENABLE KEYS */;
-- Volcando estructura para tabla posts.user
CREATE TABLE IF NOT EXISTS `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`firstname` text,
`lastname` text,
`email` text,
`password` text NOT NULL,
`location` text NOT NULL,
`is_admin` int(11) NOT NULL DEFAULT '0',
`registered_at` datetime NOT NULL,
`dept` text NOT NULL,
`age` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
-- Volcando datos para la tabla posts.user: ~2 rows (aproximadamente)
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
REPLACE INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `location`, `is_admin`, `registered_at`, `dept`, `age`) VALUES
(1, 'jhon', 'martin', 'jgol@gmail.com', '123', 'pandora st', 1, '2021-03-29 18:06:54', 'sales', 25),
(2, 'clara', 'stevens', 'csl33@gmail.com', '2222', 'cro st 334', 0, '2021-03-29 18:07:45', 'IT', 28),
(3, 'jhon ', 'doe', 'jhondoe@gmail.com', '122', 'boston 331 ', 0, '2021-03-29 18:08:23', 'Engineering', 50);
/*!40000 ALTER TABLE `user` 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 */;
|
# ---------- MdbToMySQL XP 0.9 MySQL IMPORT FROM `C:\Data\vss\Components\EBACombo\v32\Test\Lib\Common\Datasources\en\emaildb.mdb` ----------
# ---------- DROP TABLE `tblContacts` BEFORE (RE)CREATION ----------
DROP TABLE IF EXISTS `tblContacts`;
# ---------- CREATE TABLE `tblContacts` ----------
CREATE TABLE `tblContacts` (
`ContactID` INT NOT NULL AUTO_INCREMENT,
`ContactInfo` VARCHAR(255) NULL,
`TimesEmailed` INT NULL DEFAULT '0',
PRIMARY KEY (`ContactID`),
KEY `ContactID` (`ContactID`)
) TYPE=MyISAM;
# ---------- EMPTY TABLE `tblContacts` ----------
DELETE FROM `tblContacts`;
# ---------- POPUPLATE TABLE `tblContacts` ----------
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10001, '"Willene Gould" <willenegould@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10002, '"Leisha Mendoza" <lmendoza@northvan.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10003, '"Branden Adkins" <br.adki@qbooks.com>', 85);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10004, '"Myrtie Pratt" <myrtie-pratt@calgary.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10005, '"Shanita Stephens" <shan_stephens@superinternet.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10006, '"Sylvie Rodgers" <sylrodgers@northvan.com>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10007, '"Malcolm Oliver" <malc.olive@scriptshq.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10008, '"Michaela Britt" <mich_britt@gov.bc.ca>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10009, '"Bryan Hendrix" <bryahendrix@yayamailserv.net>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10010, '"Sherwood Fitzpatrick" <sherfitzpatrick@microsoft.com>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10011, '"Donnell Espinoza" <donespinoza@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10012, '"Kathline Conway" <kconwa@interchange.ubc.ca>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10013, '"Dan Pugh" <dpugh@picasa.com>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10014, '"Soo Vance" <svance@mozilla.org>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10015, '"Irina Lynch" <ilync@dasani.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10016, '"Leda Ruiz" <led-ruiz@pilates.org>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10017, '"Kindra Neal" <kindraneal@sharesync.com>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10018, '"Garfield House" <garfieldhouse@gov.bc.ca>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10019, '"Junie Foreman" <ju_foreman@sfx.ca>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10020, '"Eladia Page" <elapage@hotmail.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10021, '"Johnathan Walton" <johnatwalton@mezzotop.com>', 8);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10022, '"Marylou Myers" <marylou.myers@pallata.de>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10023, '"Steve Francis" <stefrancis@yukatan.net>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10024, '"Angelyn Nixon" <angenixon@cipdr.fr>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10025, '"Jed Griffith" <jegriffith@toronto.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10026, '"Desiree Gentry" <desiregentr@purosync.net>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10027, '"Althea Glass" <altglas@ajito.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10028, '"Ellis Kennedy" <ellkennedy@textpad.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10029, '"Shawna Pearson" <shawnpearson@qbooks.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10030, '"Karisa Dudley" <kdudley@professional.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10031, '"Filomena Cook" <filomenacook@sfx.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10032, '"Iesha Weiss" <iweiss@yukatan.net>', 85);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10033, '"Byron Richmond" <byrrichmond@caridonet.ca>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10034, '"Rosemary Cooper" <r-cooper@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10035, '"Christal Moses" <cmoses@jitterbug.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10036, '"Remona Sharpe" <remonsharpe@megadecision.net>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10037, '"Maribeth Frederick" <marifrederick@sharesync.com>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10038, '"Mable Weiss" <mableweiss@topreproducer.com>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10039, '"Vina Johns" <vijohns@ostore.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10040, '"Shawna Underwood" <shawunder@javanut.org>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10041, '"Sabine Burris" <sabineburris@dal.ca>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10042, '"Essie Ford" <essie.ford@textpad.com>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10043, '"Carlie Irwin" <cirwin@qbooks.com>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10044, '"Alaine Wilcox" <awilcox@flashpoint.org>', 69);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10045, '"Arvilla Wolfe" <arvilwolfe@applicationstop.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10046, '"Elouise Andrews" <elouiseandrews@halifax.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10047, '"Arlean Harvey" <arl_harve@cipdr.fr>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10048, '"Melodie Rogers" <melorogers@vancouver.com>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10049, '"Rhonda Norton" <rhnorton@hotmail.com>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10050, '"Von Strong" <vstrong@mydomains.org>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10051, '"Cicely Bates" <cbates@superinternet.com>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10052, '"Demetrice Carr" <demetcarr@fastserver.com>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10053, '"Homer Witt" <hwitt@jitterbug.org>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10054, '"Phylicia Odom" <phy_odom@tjyworld.com>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10055, '"Sherri Copeland" <shecopeland@sfu.ca>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10056, '"Bok Serrano" <bserrano@professional.com>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10057, '"Ela Odom" <eodom@election.com>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10058, '"Ariana Conner" <ariconner@glue.it.com>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10059, '"Lashunda Moreno" <lmoreno@programmer.com>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10060, '"Mila Mercer" <milmercer@jitterbug.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10061, '"Sharmaine Mack" <sha.mack@qbooks.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10062, '"Elin Cortez" <elcorte@gov.bc.ca>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10063, '"Mafalda Carney" <mafal.carney@tjyworld.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10064, '"Hung Fletcher" <hfletc@extreme.net>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10065, '"Kristi Hardin" <khardin@microsoft.com>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10066, '"Salome Kane" <salokane@universalweb.com>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10067, '"Katerine Kerr" <katekerr@kabama.it>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10068, '"Man Moody" <mmoody@aeresources.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10069, '"Mui Webb" <m-webb@textpad.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10070, '"Billy Sexton" <bilsexton@pallata.de>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10071, '"Lila Jimenez" <ljimenez@textpad.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10072, '"Rina Hinton" <rhinton@newyork.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10073, '"Ricky Barr" <rickybarr@ajito.net>', 50);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10074, '"Kenny Alvarez" <kennalvarez@dotsterworld.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10075, '"Eilene Spencer" <eilspence@purosync.net>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10076, '"Erich Horne" <ehorne@fastweb.com>', 33);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10077, '"Cristen Hodge" <crishodge@picrific.com>', 8);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10078, '"Jonathan Santana" <jsantan@ostore.net>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10079, '"Yaeko Horton" <yhorton@ostore.net>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10080, '"Lavinia Jennings" <lavinjennings@picrific.com>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10081, '"Flor Taylor" <flor_taylor@email.com>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10082, '"Guillermo Ashley" <guil_ashley@aeresources.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10083, '"Carlyn York" <car_york@dotsterworld.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10084, '"Verdell Foley" <verdelfoley@dasani.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10085, '"Lisandra Davidson" <ldavid@quickstyle.com>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10086, '"Mao Hendricks" <mahendricks@harvard.org>', 10);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10087, '"Brandie Foreman" <brandieforeman@topreproducer.com>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10088, '"Tiara Owen" <tiaowen@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10089, '"Hayden Cooke" <h.cooke@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10090, '"Marlin Reid" <marreid@firefox.com>', 108);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10091, '"Faye Cantu" <facantu@greatresources.net>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10092, '"Shawna Horton" <shawna.horton@fastweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10093, '"Bridgett Mckay" <bridgmckay@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10094, '"Shae Smith" <shae_smith@newyork.com>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10095, '"Classie Floyd" <cfloyd@pallata.de>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10096, '"Charles Gentry" <ch_gentry@firefox.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10097, '"Cornell Cotton" <cornellcotton@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10098, '"Lucile Johns" <lucjohns@yukatan.net>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10099, '"Belkis Lucas" <blucas@ebusinessapps.com>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10100, '"Dena Campbell" <denacampbell@tjyworld.com>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10101, '"Allison Rowe" <allisrowe@ebusinessapps.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10102, '"Georgeanna Hendrix" <georgeannhendrix@intl.fr>', 3);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10103, '"Jinny Obrien" <jobrie@dal.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10104, '"Kathline Moran" <kmoran@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10105, '"Alisia Chambers" <a.chambe@ottawa.ca>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10106, '"Kacey Hoffman" <kahoffm@professional.com>', 50);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10107, '"Michale Jackson" <mjack@cipdr.fr>', 72);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10108, '"Georgianna Meyers" <georgiameyers@jitterbug.org>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10109, '"Loren Black" <lblack@topreproducer.com>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10110, '"Isaura Fulton" <isa.fulto@ebusinessapps.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10111, '"Cleta Pacheco" <c_pacheco@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10112, '"Cristy Stafford" <cstaffor@fastserver.com>', 8);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10113, '"Carita Fry" <cfry@textpad.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10114, '"Lachelle Soto" <lachellsoto@realnews.ca>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10115, '"Ginger Carroll" <gingcarrol@sfx.ca>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10116, '"Jill Carver" <j.carver@lightspeed.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10117, '"Angel Noel" <a.noel@kabama.it>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10118, '"Dreama Shaw" <dreashaw@fastweb.com>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10119, '"Mack Mclean" <mmclean@hotmail.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10120, '"Keri Dyer" <kedyer@softwareop.net>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10121, '"Pa Vaughan" <pavaughan@gov.sask.ca>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10122, '"Zora Ayala" <zorayala@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10123, '"Glinda Silva" <glin_silva@picasa.com>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10124, '"Reva Williams" <revwilliams@tjyworld.com>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10125, '"Marhta Simon" <marhtasimon@freeinterweb.com>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10126, '"Cheryle Crawford" <cherylecrawford@gov.sask.ca>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10127, '"Zofia Mosley" <zmosley@dasani.org>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10128, '"Michiko Blake" <mblake@sfx.ca>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10129, '"Carlee Dawson" <cardawson@applicationstop.com>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10130, '"Celestine Christensen" <celestchristensen@fastweb.com>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10131, '"Trudie Rush" <trush@email.com>', 18);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10132, '"Lura Glass" <lglass@microsoft.com>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10133, '"Malisa Simon" <msimon@caridonet.ca>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10134, '"Grant Ortega" <gorteg@dasani.org>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10135, '"Lorie Bonner" <loriebonner@superinternet.com>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10136, '"Vilma Malone" <v-malone@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10137, '"Kymberly Joyce" <kjoyce@javanut.org>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10138, '"Darren Lucas" <dar.lucas@programmer.com>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10139, '"Gilma Estes" <g.estes@universalweb.com>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10140, '"China Kirkland" <chkirkland@gmail.com>', 69);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10141, '"Donella Vaughan" <dvaughan@extreme.net>', 14);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10142, '"Britni Leach" <b.leach@softwareop.net>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10143, '"Marian Case" <m-case@javanut.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10144, '"Lyle Wheeler" <lylwheel@topreproducer.com>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10145, '"Craig Walter" <crwalt@professional.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10146, '"Johana Henderson" <johanahenderson@ebusinessapps.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10147, '"Sharell Kirkland" <s.kirkland@javanut.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10148, '"Nakesha Patton" <napatton@dal.ca>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10149, '"Raina Gallagher" <rai.gallaghe@fastweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10150, '"Marylouise Wilcox" <marylouiwilcox@gov.bc.ca>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10151, '"Hong Buchanan" <hongbuchanan@dotsterworld.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10152, '"Sherrie Lester" <sherrielester@flashpoint.org>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10153, '"Helene Simon" <helenesimon@fastserver.com>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10154, '"Cameron Yates" <camyates@ostore.net>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10155, '"Mee Rasmussen" <merasmussen@applicationstop.com>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10156, '"Kara Crane" <karcrane@toronto.com>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10157, '"Jay Floyd" <jafloyd@javanut.org>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10158, '"Donnie England" <dengland@jitterbug.org>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10159, '"Bertha Cox" <bcox@b-ap.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10160, '"Werner Larsen" <wernerlarsen@tjyworld.com>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10161, '"Foster Hudson" <foshudso@caridonet.ca>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10162, '"Johna Martinez" <jmartine@microsoft.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10163, '"Art Duran" <a_duran@dotsterworld.net>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10164, '"Paola Drake" <pdrake@megareseller.net>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10165, '"Kalyn Bray" <kalyn.bray@aeresources.com>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10166, '"Catrina Norman" <catrinanorman@universalweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10167, '"Zelma Ortega" <zortega@interchange.ubc.ca>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10168, '"Dagmar Cline" <dagmcline@professional.com>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10169, '"Emmitt Allen" <emmiallen@programmer.com>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10170, '"Neville Guthrie" <nevilguthrie@halifax.com>', 108);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10171, '"Emmitt Faulkner" <e.faulkner@pilates.org>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10172, '"Pam Boyd" <pboyd@megareseller.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10173, '"Clarisa Wilkins" <cl.wilkin@tjyworld.com>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10174, '"Lizabeth Holmes" <lizabethholmes@jitterbug.org>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10175, '"Goldie Sanchez" <g.sanchez@dal.ca>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10176, '"Rex Reid" <rreid@dal.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10177, '"Kyong Richardson" <kyonrichardson@pallata.de>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10178, '"Chanell Mullins" <chanelmullins@extreme.net>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10179, '"Lucinda Benton" <lucindbenton@freeinterweb.com>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10180, '"Norberto Wiley" <norbewile@firefox.com>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10181, '"Ping Clark" <p-clark@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10182, '"Salina Rutledge" <srutled@programmer.com>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10183, '"Jarred Savage" <jarrsavage@mezzotop.com>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10184, '"Willene Klein" <willklei@pallata.de>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10185, '"Elias William" <ewill@ajito.net>', 106);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10186, '"Adela Nixon" <adnixon@ostore.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10187, '"Devora Sosa" <devososa@picrific.com>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10188, '"Ulrike Carney" <ulrikecarney@dasani.org>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10189, '"Karly Watts" <kawatts@sfx.ca>', 106);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10190, '"Brent Baker" <brebaker@javanut.org>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10191, '"Jesus Whitney" <jesuwhitney@superinternet.com>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10192, '"Amberly Noble" <anoble@fastweb.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10193, '"Robin Stuart" <rstuart@flashpoint.org>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10194, '"Lamont Nicholson" <lnicho@picasa.com>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10195, '"Joellen Vargas" <j.vargas@sharesync.com>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10196, '"Martin Spence" <marspenc@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10197, '"Lulu Lyons" <llyon@mezzotop.com>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10198, '"Miranda Greene" <mgreene@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10199, '"Mellissa King" <mellissaking@ebusinessapps.com>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10200, '"Daisy Klein" <daiklein@ajito.net>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10201, '"Forest Price" <fprice@professional.com>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10202, '"Winona Terrell" <witerrell@megareseller.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10203, '"Keeley Kelley" <keelekelle@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10204, '"Beryl Hall" <bhall@quickstyle.com>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10205, '"Guadalupe Day" <guad.day@softwareop.net>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10206, '"Sally Battle" <sall.battle@ottawa.ca>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10207, '"Geraldo Nolan" <geranolan@ottawa.ca>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10208, '"Nora Duran" <nduran@jamworld.sc>', 17);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10209, '"Carlee Rowe" <crowe@cipdr.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10210, '"Lynda Mclean" <lmclean@jamworld.sc>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10211, '"Mandi Schwartz" <manschwartz@harvard.org>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10212, '"King Walker" <k_walker@topreproducer.com>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10213, '"Alecia Decker" <alecia_decker@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10214, '"Pauletta Glass" <pglass@picrific.com>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10215, '"Octavia Pope" <octavi.pope@ubc.ca>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10216, '"Shila Cobb" <shicobb@jitterbug.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10217, '"Jerrica Franco" <jerricafranco@universalweb.com>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10218, '"Maryellen Bass" <maryellen_bass@caridonet.ca>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10219, '"Babara Church" <bachurc@topreproducer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10220, '"Claudine Rodgers" <claudinerodgers@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10221, '"Ross Salas" <ross.salas@hotmail.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10222, '"Noreen Kennedy" <norekennedy@microsoft.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10223, '"Ashley Vincent" <asvincent@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10224, '"Sherly Lawrence" <sherlawr@professional.com>', 31);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10225, '"Kurtis Lambert" <kurtilambert@superinternet.com>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10226, '"Heath Jacobson" <h.jacobson@scriptshq.ca>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10227, '"Brigida Rocha" <brigrocha@scriptshq.ca>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10228, '"Filiberto Clemons" <filclem@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10229, '"Yuriko Crane" <ycrane@gov.sask.ca>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10230, '"Abigail Ratliff" <abigratliff@ebusinessapps.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10231, '"Lyndon Lambert" <lylambe@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10232, '"Virginia Levy" <virginlevy@tjyworld.com>', 19);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10233, '"Many Nolan" <manola@caridonet.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10234, '"Aleisha Burt" <aleishaburt@kabama.it>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10235, '"Walter Travis" <waltertravis@halifax.com>', 8);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10236, '"Damion Guerra" <dguerra@megadecision.net>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10237, '"Salome Oneal" <saloneal@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10238, '"Sandi Griffith" <sandigriffith@interchange.ubc.ca>', 3);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10239, '"Lue Powers" <lpowers@quickweb.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10240, '"Jen Hutchinson" <jhutchinson@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10241, '"Yolando Ball" <yball@dal.ca>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10242, '"Sean Duran" <sduran@ostore.net>', 21);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10243, '"Teresia Romero" <tromero@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10244, '"Assunta Mckenzie" <assuntamckenzie@megareseller.net>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10245, '"Lashawna Kaufman" <lkaufman@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10246, '"Jestine Mccoy" <j-mcco@textpad.com>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10247, '"Essie Sims" <essisims@superinternet.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10248, '"Kiley Marks" <kmarks@yayamailserv.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10249, '"Son Sheppard" <sonsheppard@aeresources.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10250, '"Audrey Butler" <audreybutler@dasani.org>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10251, '"Clyde Orr" <corr@extreme.net>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10252, '"Cira Byers" <cirabyers@superinternet.com>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10253, '"Irena Stafford" <ire_stafford@freeinterweb.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10254, '"Bryanna Nelson" <bnelson@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10255, '"Vena Branch" <venbranc@halifax.com>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10256, '"Joann Blevins" <joa_blevins@ebusinessapps.com>', 51);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10257, '"Kristofer Gonzales" <kristofergonzales@superinternet.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10258, '"Wilma William" <wiwilliam@ottawa.ca>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10259, '"Alphonse Singleton" <a.singleton@jitterbug.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10260, '"Phyllis Cook" <phylliscook@mydomains.org>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10261, '"Martin Bird" <martbird@email.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10262, '"Basilia Simmons" <basimmons@picasa.com>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10263, '"Roxy Pope" <rpope@greatresources.net>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10264, '"Keely Ellis" <keelyellis@quickstyle.com>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10265, '"Coretta Salazar" <coresalaza@ostore.net>', 52);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10266, '"Russel Beasley" <russelbeasley@ottawa.ca>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10267, '"Naoma Larson" <nlarso@mydomains.org>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10268, '"Beata Benson" <beatabenson@jamworld.sc>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10269, '"Latoyia Golden" <lagolden@ubc.ca>', 18);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10270, '"Louetta Hanson" <louehanson@halifax.com>', 47);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10271, '"Candyce Aguirre" <canaguir@dotsterworld.net>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10272, '"Temple Guthrie" <tguthrie@dasani.org>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10273, '"Candance Jacobs" <candancjacobs@aeresources.com>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10274, '"Samella Mendez" <s-mend@sharesync.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10275, '"Josefa West" <jos.west@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10276, '"Hue Wiley" <hwiley@universalweb.com>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10277, '"Franchesca Weaver" <fweav@caridonet.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10278, '"Tayna Leonard" <ta_leonard@quickweb.ca>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10279, '"Cassaundra Charles" <cassaucharles@northvan.com>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10280, '"Toi Morris" <toimorris@megareseller.net>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10281, '"Letty Mcbride" <lmcbride@sharesync.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10282, '"Doretha Turner" <dorethaturner@gov.bc.ca>', 14);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10283, '"Lavinia Hendrix" <lahendrix@tjyworld.com>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10284, '"Tonja Church" <tchurch@cipdr.fr>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10285, '"Doris Cain" <doricain@intl.fr>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10286, '"Edison Levine" <e.levin@toronto.com>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10287, '"Brianna Ingram" <bingra@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10288, '"Roselyn Gilbert" <roselygilbert@freeinterweb.com>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10289, '"Rhona Hardy" <rh_hardy@tjyworld.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10290, '"Gisela Cochran" <gcochran@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10291, '"David Burnett" <daburne@caridonet.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10292, '"Veronique Vargas" <veroniquevargas@caridonet.ca>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10293, '"Liane Callahan" <l_calla@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10294, '"Timmy Morgan" <timmy-morgan@caridonet.ca>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10295, '"Ella Carver" <ecarver@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10296, '"Rolf Page" <rpage@mozilla.org>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10297, '"Alesia Carrillo" <alecarri@b-ap.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10298, '"Herta Orr" <h.orr@intl.fr>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10299, '"Nathaniel Glass" <na-glass@lightspeed.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10300, '"Nobuko Hunt" <nobu_hunt@yukatan.net>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10301, '"Lakiesha Cross" <lcross@b-ap.com>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10302, '"Carmela Browning" <cbrownin@picrific.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10303, '"Tena Jimenez" <te_jimene@ebusinessapps.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10304, '"Chan Wise" <chwise@programmer.com>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10305, '"Kit Bruce" <kbruce@picrific.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10306, '"Linh Nunez" <linhnunez@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10307, '"Ellyn Garza" <ellygarza@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10308, '"Julieann Barry" <julieannbarry@textpad.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10309, '"Hildegard Mendoza" <hmend@dotsterworld.net>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10310, '"Caroline Clemons" <c.clemons@yukatan.net>', 40);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10311, '"Diann Oneill" <doneill@picasa.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10312, '"Bridgette Holcomb" <bridgholcomb@b-ap.com>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10313, '"Lan Lang" <llang@aeresources.com>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10314, '"Daina Hartman" <dai-hartma@caridonet.ca>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10315, '"Conrad Garza" <congarza@softwareop.net>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10316, '"Johnny Vaughan" <johnvaughan@newyork.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10317, '"Hedy Mcguire" <hmcgui@qbooks.com>', 31);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10318, '"Concepcion Browning" <concepcionbrowning@superinternet.com>', 106);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10319, '"Kylie Barnes" <kbarnes@sfu.ca>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10320, '"Tommy Forbes" <toforbes@caridonet.ca>', 50);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10321, '"Farrah Miranda" <farmira@sharesync.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10322, '"Kathleen Branch" <katbranc@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10323, '"Melanie Mcfarland" <melanmcfarla@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10324, '"Tomeka Glass" <tomglass@cipdr.fr>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10325, '"Ping Hayes" <phayes@northvan.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10326, '"Lane Cardenas" <lane_cardenas@newyork.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10327, '"Alease Rivers" <alrivers@freeinterweb.com>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10328, '"Sherri Shelton" <sshelton@calgary.net>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10329, '"Bruno Ortega" <brortega@halifax.com>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10330, '"Natosha Ayers" <nayers@b-ap.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10331, '"Wilhelmina Gross" <wilhgross@microsoft.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10332, '"Carolyn Mann" <carmann@intl.fr>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10333, '"Reynaldo Faulkner" <reynaldofaulkner@mezzotop.com>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10334, '"Jeanett Levine" <jeanelevine@quickstyle.com>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10335, '"Veronica Carson" <verocars@megadecision.net>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10336, '"Charles Fletcher" <chfletcher@javanut.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10337, '"Cleveland Weaver" <cweaver@pilates.org>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10338, '"Bonita Hooper" <bohooper@ebusinessapps.com>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10339, '"Hal Travis" <htravis@topreproducer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10340, '"Florentino Saunders" <florenti_saunde@ajito.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10341, '"Myron Joyner" <myrjoyner@northvan.com>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10342, '"Carl Leon" <cleon@superinternet.com>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10343, '"Lyndon Hernandez" <lynherna@qbooks.com>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10344, '"Antwan Vargas" <avargas@mydomains.org>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10345, '"Precious Nelson" <preci.nels@universalweb.com>', 33);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10346, '"Terrell Mccormick" <t.mccormick@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10347, '"Bernard Huffman" <bernhuffma@mydomains.org>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10348, '"Paulette Guzman" <pauletguzman@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10349, '"Pricilla Ellis" <pricilla-ellis@flashpoint.org>', 41);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10350, '"Signe Hanson" <signehanson@purosync.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10351, '"Darcel Sandoval" <dsandoval@yukatan.net>', 20);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10352, '"Ruthanne Whitehead" <ruwhitehead@javanut.org>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10353, '"Britany Blackwell" <britblackwell@realnews.ca>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10354, '"Iola Patton" <iolpatt@pallata.de>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10355, '"Holli England" <holengl@sfx.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10356, '"Maxima Jarvis" <max_jarvis@email.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10357, '"Dario Steele" <dastee@interchange.ubc.ca>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10358, '"Tenesha Glenn" <teneshaglenn@mezzotop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10359, '"Aleen Mckinney" <alemckinney@extreme.net>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10360, '"Mirella Nunez" <mirel_nunez@yukatan.net>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10361, '"Julio Holman" <jholma@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10362, '"Roselee Berry" <rosberry@halifax.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10363, '"Kiera Mcgee" <kieramcgee@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10364, '"Eva Gregory" <e.gregor@lightspeed.net>', 3);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10365, '"Ethel Lynn" <ethellynn@ebusinessapps.com>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10366, '"Kay Neal" <ka_neal@cnn.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10367, '"Elicia Bailey" <elbailey@caridonet.ca>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10368, '"Tiffiny Frazier" <ti.frazier@caridonet.ca>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10369, '"Brenton Young" <br-young@cnn.com>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10370, '"Hosea Trevino" <hotrevino@realnews.ca>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10371, '"Nicholle Oliver" <nicholloliver@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10372, '"Tristan Forbes" <t-forbes@extreme.net>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10373, '"Elvina Maddox" <e_maddox@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10374, '"Sterling Mccormick" <sterlmccormick@sfu.ca>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10375, '"Diego Gilliam" <dieggill@gov.bc.ca>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10376, '"Rafael Buck" <rafbuck@intl.fr>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10377, '"Dorotha Allen" <doroallen@pallata.de>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10378, '"Hyon Jimenez" <hyonjimenez@mozilla.org>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10379, '"Dorian Rodgers" <dorrodger@ubc.ca>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10380, '"Rosenda Lee" <rlee@qbooks.com>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10381, '"Jadwiga Campbell" <jadwcampbe@megadecision.net>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10382, '"Felica Griffin" <fgrif@ostore.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10383, '"Cherryl Rosa" <cherrosa@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10384, '"Judson Gates" <judgates@megareseller.net>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10385, '"Ciera Petersen" <c_peterse@quickweb.ca>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10386, '"Ashly Baird" <asbaird@email.com>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10387, '"Hailey Carrillo" <hai-carril@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10388, '"Cheryll Foster" <cfoster@extreme.net>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10389, '"Tona Lott" <tolott@javanut.org>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10390, '"Anneliese Downs" <anneldowns@lightspeed.net>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10391, '"Ellis Molina" <emolina@ajito.net>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10392, '"Elodia Daniels" <elodiadaniels@kabama.it>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10393, '"Boyce Hanson" <bohanson@gov.bc.ca>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10394, '"Melba Sanchez" <msanchez@professional.com>', 44);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10395, '"Everette Avila" <eavila@qbooks.com>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10396, '"Dong Stark" <dongstark@sfu.ca>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10397, '"Bernita Avila" <b-avila@qbooks.com>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10398, '"Francisca Kemp" <frkemp@realnews.ca>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10399, '"Sherlene Bruce" <sbruc@professional.com>', 4);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10400, '"Jolene Baker" <jolebaker@superinternet.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10401, '"Erminia Donovan" <ermdonov@ottawa.ca>', 72);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10402, '"Jeremy Blake" <jblake@cipdr.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10403, '"Fredricka Newman" <fredrickanewman@ubc.ca>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10404, '"Fletcher Jordan" <fletjorda@picasa.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10405, '"Cassie Sexton" <cassext@northvan.com>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10406, '"Ja Gilmore" <j_gilmore@gov.bc.ca>', 4);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10407, '"Catherina Jefferson" <cjefferso@toronto.com>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10408, '"Dixie Albert" <dialbert@topreproducer.com>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10409, '"Albert Mann" <albmann@yayamailserv.net>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10410, '"Maria Blackburn" <mablackbu@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10411, '"Milissa Fry" <m_fry@intl.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10412, '"Margarita Harding" <margar-hardin@mydomains.org>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10413, '"Franklin Cruz" <frcruz@vancouver.com>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10414, '"Lamonica Bates" <lbates@quickstyle.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10415, '"Heide William" <hwilli@gov.bc.ca>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10416, '"Suzan Hays" <s.hays@cipdr.fr>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10417, '"Kathyrn Maxwell" <kathyrnmaxwell@dasani.org>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10418, '"Kelvin Bauer" <kelvinbauer@ajito.net>', 44);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10419, '"Magda Decker" <mdecker@cipdr.fr>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10420, '"Jarred Shaw" <jarr-shaw@pallata.de>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10421, '"Terry Hickman" <thickm@mezzotop.com>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10422, '"Venus Solomon" <vsolomon@calgary.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10423, '"Rudolph Spence" <rspence@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10424, '"Marla Jackson" <marjacks@interchange.ubc.ca>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10425, '"Yukiko Lindsay" <yukilindsa@newyork.com>', 50);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10426, '"Eneida Duran" <eneidaduran@programmer.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10427, '"Helen Murray" <hel.murra@ajito.net>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10428, '"Venetta Bolton" <venettbolton@quickstyle.com>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10429, '"Cassondra Parker" <cassondraparker@fastserver.com>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10430, '"Toccara Bailey" <tbaile@microsoft.com>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10431, '"Napoleon Harrington" <napharring@megareseller.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10432, '"Pricilla Huber" <prichuber@intl.fr>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10433, '"Phylis Page" <phpage@textpad.com>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10434, '"Drusilla Watson" <drusilwatso@election.com>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10435, '"Daryl Simpson" <dsimpson@textpad.com>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10436, '"Judi Grimes" <jgrimes@cnn.com>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10437, '"Dorthea Franks" <dorthfran@newyork.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10438, '"Monet Russell" <morussell@quickstyle.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10439, '"Etta Ryan" <ett_ryan@quickstyle.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10440, '"Karren Mclean" <karremclean@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10441, '"Andre Freeman" <afreema@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10442, '"Marlana Gutierrez" <mgutierrez@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10443, '"Hipolito Bauer" <hipol.bauer@mezzotop.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10444, '"Debbie Watkins" <deb_watkins@halifax.com>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10445, '"Kimberlie Kelley" <kimberkelley@quickstyle.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10446, '"Kim Holloway" <kholloway@megareseller.net>', 17);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10447, '"Shemika Gray" <shemgray@firefox.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10448, '"Avelina Clayton" <a.clayton@northvan.com>', 40);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10449, '"Bernard Miles" <bmiles@megadecision.net>', 101);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10450, '"Nakia Rivera" <nrivera@applicationstop.com>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10451, '"Carmella Lancaster" <carmelanca@calgary.net>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10452, '"John Blackburn" <joblackburn@ebusinessapps.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10453, '"Chris Kidd" <ckidd@fastserver.com>', 85);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10454, '"Marcelo Christian" <marcechristia@ottawa.ca>', 110);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10455, '"Mack Forbes" <macforbes@picrific.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10456, '"Rashad Hester" <rhester@qbooks.com>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10457, '"Charissa Sykes" <charisssykes@programmer.com>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10458, '"Minda Hendrix" <mhendri@dotsterworld.net>', 14);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10459, '"Nanette Kemp" <nanettekemp@pilates.org>', 8);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10460, '"Jason Wyatt" <jasonwyatt@picasa.com>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10461, '"Joey Mcclain" <jmccla@jamworld.sc>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10462, '"Emerald Ellison" <eelliso@programmer.com>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10463, '"Salvatore Stone" <salvatston@caridonet.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10464, '"Saran Mcbride" <samcbride@realnews.ca>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10465, '"Kanisha Gordon" <kgordo@fastserver.com>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10466, '"Shantay Lawson" <shantalaws@northvan.com>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10467, '"Gregg Deleon" <gregg_deleon@caridonet.ca>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10468, '"Hilton Weeks" <hiltonweeks@scriptshq.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10469, '"Maricela Wooten" <maricelawooten@scriptshq.ca>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10470, '"Paulita Whitney" <pauliwhitney@intl.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10471, '"Ollie Glass" <ollglass@scriptshq.ca>', 3);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10472, '"Katrice Trevino" <kattrevino@tjyworld.com>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10473, '"Francisco English" <francienglish@quickstyle.com>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10474, '"Janessa Guy" <jguy@election.com>', 41);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10475, '"Georgiann Woods" <gwoods@b-ap.com>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10476, '"Lilla Cross" <lcross@qbooks.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10477, '"Victor Wilkins" <v.wilkins@mydomains.org>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10478, '"Dudley Lawrence" <dlawrence@ubc.ca>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10479, '"Luetta Waters" <luet.waters@dal.ca>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10480, '"Alishia Mullins" <a.mullins@softwareop.net>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10481, '"Ty Suarez" <tysuarez@freeinterweb.com>', 47);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10482, '"Melynda Copeland" <melyndcopeland@mezzotop.com>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10483, '"Tereasa Adkins" <tadkins@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10484, '"Dorcas Alvarez" <dorcasalvarez@quickweb.ca>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10485, '"Michal Robinson" <michalrobinson@freeinterweb.com>', 108);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10486, '"Arthur Coleman" <arthcoleman@gov.sask.ca>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10487, '"Merri Walsh" <merriwalsh@programmer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10488, '"Maybelle Bishop" <maybellbishop@dasani.org>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10489, '"Lilian Howard" <lilihoward@firefox.com>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10490, '"Sharie Eaton" <sharieaton@scriptshq.ca>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10491, '"Ester Levine" <eslevine@cipdr.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10492, '"Mckenzie Mcmillan" <mckmcmilla@interchange.ubc.ca>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10493, '"Amparo Nguyen" <amp_nguyen@pilates.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10494, '"Janean Craft" <janeancraft@election.com>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10495, '"Dalene Mason" <dalenmason@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10496, '"Maximina Henderson" <maximinhenderson@dasani.org>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10497, '"Julia Cruz" <julicruz@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10498, '"Cory Russo" <coryrusso@b-ap.com>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10499, '"Reba Schroeder" <reschroe@cipdr.fr>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10500, '"Arlinda Dorsey" <adorsey@megadecision.net>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10501, '"Else Stephenson" <else_stephenson@universalweb.com>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10502, '"Lezlie Shannon" <lez.shannon@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10503, '"Jeanice Boone" <j-boone@kabama.it>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10504, '"Elaina Tyson" <eltyson@tjyworld.com>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10505, '"Sueann Hoffman" <shoff@megadecision.net>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10506, '"Vicki Blankenship" <vblankensh@purosync.net>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10507, '"Lillie Cabrera" <l.cabrera@qbooks.com>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10508, '"Moira Cleveland" <moclevel@fastweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10509, '"Mica Myers" <mmyers@ebusinessapps.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10510, '"Raphael Frye" <rafrye@ajito.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10511, '"Mafalda Preston" <mafaldapreston@sfu.ca>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10512, '"Otha Sharp" <otsharp@ottawa.ca>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10513, '"Asha Glass" <ashaglass@caridonet.ca>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10514, '"Isreal Gay" <igay@hotmail.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10515, '"Veola Pace" <v.pace@yukatan.net>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10516, '"Rubi Murray" <rubimurray@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10517, '"Joline Emerson" <joli_emerson@topreproducer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10518, '"Edwardo Travis" <e.travis@pallata.de>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10519, '"Adan Robinson" <arobins@megareseller.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10520, '"Fernanda Hodges" <fhodges@qbooks.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10521, '"Easter Crane" <eas.crane@purosync.net>', 10);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10522, '"Randee Sargent" <randeesargent@ajito.net>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10523, '"Christena Rivers" <chririvers@dotsterworld.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10524, '"Melania Velez" <mvelez@intl.fr>', 72);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10525, '"Steven Weaver" <sweaver@caridonet.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10526, '"Fairy Slater" <fslater@flashpoint.org>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10527, '"Sharita Hunter" <sharihunte@professional.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10528, '"Dusty Walsh" <duwalsh@yayamailserv.net>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10529, '"Noreen Everett" <noevere@glue.it.com>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10530, '"Eura Rodriquez" <erodriquez@gmail.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10531, '"Joeann Mercado" <joeamercado@yukatan.net>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10532, '"Kenneth Dixon" <kennethdixon@mydomains.org>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10533, '"Daina Wheeler" <dwheel@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10534, '"Chelsey Head" <chehead@ajito.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10535, '"Ignacia Bailey" <ignabaile@programmer.com>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10536, '"Roxann Mercer" <roxa_mercer@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10537, '"Naomi Romero" <nromer@interchange.ubc.ca>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10538, '"Edwin Juarez" <edwjuarez@fastweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10539, '"Audrey Jefferson" <a_jeffers@yayamailserv.net>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10540, '"Lise Skinner" <l_skinner@fastweb.com>', 18);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10541, '"Matha Lowe" <math.lowe@glue.it.com>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10542, '"Annalee Sanders" <annalsand@superinternet.com>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10543, '"Tabetha Porter" <tabeporter@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10544, '"Dede Perkins" <deperk@superinternet.com>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10545, '"Joette Albert" <joalbert@hotmail.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10546, '"Tara Charles" <taracharles@purosync.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10547, '"Edmund Mcdowell" <edmundmcdowell@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10548, '"Cathern Adkins" <catheradkins@yukatan.net>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10549, '"Kenneth Weeks" <kenneweeks@picasa.com>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10550, '"Devin Garner" <devigarner@sharesync.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10551, '"Luana Schwartz" <lschw@ajito.net>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10552, '"Palmer Justice" <pajustice@dal.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10553, '"Deana Church" <dchurch@microsoft.com>', 20);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10554, '"Jolanda Blankenship" <j.blankenshi@dal.ca>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10555, '"Emma Daniels" <edaniels@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10556, '"Jenette Watson" <je-wats@interchange.ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10557, '"Zandra Hoover" <zahoover@purosync.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10558, '"Wendie Cooke" <wcooke@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10559, '"Philomena Maddox" <philomenamaddox@newyork.com>', 19);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10560, '"Mao Clark" <mclark@halifax.com>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10561, '"Donetta Lloyd" <done_lloyd@yayamailserv.net>', 57);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10562, '"Coretta Jarvis" <cjarvis@textpad.com>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10563, '"Inge Melendez" <inmelendez@calgary.net>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10564, '"Nga Walters" <n_walters@jamworld.sc>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10565, '"Hermelinda Doyle" <h-doyle@cipdr.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10566, '"Kerrie Nunez" <knunez@dotsterworld.net>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10567, '"Malcolm Clarke" <malcolclar@purosync.net>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10568, '"Burma Baker" <bbaker@topreproducer.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10569, '"Roderick Graham" <rograham@picasa.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10570, '"Gaylord Mcintosh" <gayl_mcinto@newyork.com>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10571, '"Scarlett Ashley" <sashley@jamworld.sc>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10572, '"Denis David" <dendavid@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10573, '"Tari Mooney" <tamooney@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10574, '"Bethany Alston" <bealsto@kabama.it>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10575, '"Jeniffer Vinson" <jeniffervinson@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10576, '"Juan Francis" <juanfrancis@ostore.net>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10577, '"Brigette Stephenson" <b-stephenson@gov.bc.ca>', 106);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10578, '"Christiane Parks" <c-parks@gov.sask.ca>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10579, '"Shaquana Oneill" <shaquana.oneill@megareseller.net>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10580, '"Dennis Bean" <dbean@cipdr.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10581, '"Sabina Simpson" <sabisimps@lightspeed.net>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10582, '"Wanetta Huber" <wanetthuber@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10583, '"Johnny Blackwell" <joblackw@harvard.org>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10584, '"Tonja Douglas" <tdougl@professional.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10585, '"Jennifer Gillespie" <jenngilles@gmail.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10586, '"Terry Barrera" <terbarrera@ubc.ca>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10587, '"Millard Stark" <mstark@kabama.it>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10588, '"Walker Norris" <walknorris@email.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10589, '"Heide Callahan" <hecallahan@ottawa.ca>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10590, '"Irish Douglas" <ir.douglas@jamworld.sc>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10591, '"Torrie Snider" <tsnider@megadecision.net>', 57);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10592, '"Pete Buck" <pbuck@sfu.ca>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10593, '"Amelia Alexander" <amelalexa@jitterbug.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10594, '"Serita Sosa" <se_sosa@ottawa.ca>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10595, '"Lydia Sandoval" <lsandov@ajito.net>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10596, '"Misty Gilliam" <mis.gilliam@yukatan.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10597, '"Samuel Quinn" <squinn@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10598, '"Marcela Mullen" <marcmullen@b-ap.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10599, '"Brook Lawson" <brook.lawson@halifax.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10600, '"Cordie Carlson" <ccarlso@intl.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10601, '"Chanda Butler" <c.butler@toronto.com>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10602, '"Cleveland Hensley" <chensley@quickstyle.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10603, '"Shenita Riggs" <shenitariggs@ajito.net>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10604, '"Marsha Foreman" <maforem@newyork.com>', 19);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10605, '"Jaimie Wade" <jwade@pilates.org>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10606, '"Tana Valdez" <tanavaldez@sfx.ca>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10607, '"Domingo Gates" <doming-gates@gov.sask.ca>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10608, '"Kanesha Mcgowan" <kaneshamcgowan@tjyworld.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10609, '"Allyson Ware" <allyware@aeresources.com>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10610, '"Cristobal Ward" <cward@cipdr.fr>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10611, '"Millie Wooten" <miwooten@dal.ca>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10612, '"Bette Rutledge" <bettrutle@halifax.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10613, '"Ina Ward" <iward@gov.bc.ca>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10614, '"Julia Faulkner" <j_faulkner@realnews.ca>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10615, '"Lloyd Le" <l_le@tjyworld.com>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10616, '"Suellen Pena" <supena@extreme.net>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10617, '"Timothy Paul" <timothypaul@jamworld.sc>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10618, '"Carrol Pate" <carpate@qbooks.com>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10619, '"Genny Petersen" <genpetersen@flashpoint.org>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10620, '"Ehtel Brock" <ehbrock@ostore.net>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10621, '"Alex Baker" <abaker@pallata.de>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10622, '"Lorine Adkins" <l-adkins@quickweb.ca>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10623, '"Hee Grant" <heegrant@election.com>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10624, '"Marti Ray" <marray@mozilla.org>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10625, '"Bernardo Ochoa" <bernaochoa@firefox.com>', 44);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10626, '"Domonique Weaver" <do.weaver@flashpoint.org>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10627, '"Becki Curry" <bcurry@ebusinessapps.com>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10628, '"Jefferey Horton" <jeffhorto@sfx.ca>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10629, '"Lani Hopkins" <l-hopkins@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10630, '"Kerry Gay" <kergay@sfx.ca>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10631, '"Sixta Blankenship" <sixblankenshi@picrific.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10632, '"Alissa Whitaker" <alwhitaker@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10633, '"Raguel Brennan" <ragubrennan@applicationstop.com>', 40);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10634, '"Renita Villarreal" <renitavillarreal@dal.ca>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10635, '"Chanel Petty" <cpetty@scriptshq.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10636, '"Scotty Bonner" <sbonner@yayamailserv.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10637, '"Corrin Hoffman" <corhoffman@picasa.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10638, '"Juliette Lang" <julietlang@mozilla.org>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10639, '"Ferne Wall" <fwall@applicationstop.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10640, '"Dusty Mccullough" <dustymccullough@jitterbug.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10641, '"Darnell Curry" <dcurry@gov.sask.ca>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10642, '"Yolande Sutton" <yolandesutton@topreproducer.com>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10643, '"Rochel Kemp" <rochelkemp@dal.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10644, '"Neville Dyer" <nevill.dyer@mydomains.org>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10645, '"Dia Dillon" <ddillon@jamworld.sc>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10646, '"Ophelia Sanchez" <ophelisanchez@microsoft.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10647, '"Wenona Cleveland" <wclevel@quickweb.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10648, '"Lurlene Suarez" <lurlesuarez@vancouver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10649, '"Merry Fields" <merr-fields@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10650, '"Candelaria Blake" <candelablake@b-ap.com>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10651, '"Edwina Roach" <eroach@sfx.ca>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10652, '"Gabriel Delgado" <gabrdelgado@cnn.com>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10653, '"Tommie Byrd" <tbyrd@hotmail.com>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10654, '"Lavenia Hunter" <lhunter@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10655, '"Belen Bentley" <belebentley@interchange.ubc.ca>', 18);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10656, '"Evia Brennan" <evbrenna@dasani.org>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10657, '"Ivelisse Macias" <ivel_macias@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10658, '"Jared Ramirez" <jramirez@superinternet.com>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10659, '"Samella Sawyer" <sasawyer@ajito.net>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10660, '"Trista Dudley" <trisdudley@yayamailserv.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10661, '"Kevin Gilliam" <kegilliam@javanut.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10662, '"Cher Pena" <cpena@gov.sask.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10663, '"Talia Shannon" <tashan@b-ap.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10664, '"Marcelo Jordan" <mjordan@ebusinessapps.com>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10665, '"Marty Estes" <mestes@applicationstop.com>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10666, '"Charla Carroll" <chcarroll@extreme.net>', 41);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10667, '"Nan Strickland" <nanstrickland@javanut.org>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10668, '"Renae Marshall" <renaemarshall@aeresources.com>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10669, '"Dennise Cabrera" <dennicabrera@mozilla.org>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10670, '"Rudolf Scott" <ruscott@freeinterweb.com>', 14);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10671, '"Mavis Pruitt" <mpruitt@tjyworld.com>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10672, '"Rosanna Fields" <rfields@flashpoint.org>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10673, '"Mayra Osborn" <mosborn@interchange.ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10674, '"Lavone Levine" <llevin@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10675, '"Christopher Cooper" <christophercooper@megareseller.net>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10676, '"Brenna Hicks" <b_hicks@ubc.ca>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10677, '"Geraldo Pruitt" <ger_pruitt@jamworld.sc>', 40);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10678, '"Ranae Barton" <ranaebarton@greatresources.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10679, '"Margarito Barnes" <margaribarnes@aeresources.com>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10680, '"Bethann Reed" <betreed@quickweb.ca>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10681, '"Mitsuko Bennett" <mitsubennett@sharesync.com>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10682, '"Son Carrillo" <scarrill@vancouver.com>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10683, '"Joie Barber" <jbarber@ajito.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10684, '"Christin Bird" <c-bird@realnews.ca>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10685, '"Breann Holcomb" <b.holcomb@election.com>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10686, '"Elana Merrill" <elmerrill@caridonet.ca>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10687, '"Aracely Wilkerson" <a.wilkerson@ajito.net>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10688, '"Oretha Carpenter" <orethacarpenter@textpad.com>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10689, '"Yer Molina" <ymolin@scriptshq.ca>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10690, '"Hallie Dominguez" <halliedominguez@email.com>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10691, '"Sarina Molina" <samolina@vancouver.com>', 17);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10692, '"Darlene Rice" <darlenerice@gmail.com>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10693, '"Peg Horn" <p_horn@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10694, '"Lia Ruiz" <lia_ruiz@lightspeed.net>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10695, '"Conception Rosales" <crosa@realnews.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10696, '"Zack Parsons" <zparsons@greatresources.net>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10697, '"Rory Moss" <rmoss@interchange.ubc.ca>', 4);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10698, '"Elsy Black" <elblac@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10699, '"Ladawn Dickson" <ladadickso@glue.it.com>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10700, '"Kathlyn Rasmussen" <krasmuss@lightspeed.net>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10701, '"Latia Ballard" <lat.ballar@sfx.ca>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10702, '"Thora Shepard" <thshepard@superinternet.com>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10703, '"Edmundo Ratliff" <edratliff@cipdr.fr>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10704, '"Bryan Oliver" <bryoliv@purosync.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10705, '"Herta Guthrie" <hguthr@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10706, '"Staci Strong" <sstro@greatresources.net>', 110);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10707, '"Roselle Buchanan" <rbuchana@cnn.com>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10708, '"Dwight Fernandez" <dwightfernandez@ostore.net>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10709, '"Nilsa House" <nilhouse@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10710, '"Leontine Wolf" <lewolf@applicationstop.com>', 69);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10711, '"Leah Brewer" <leahbrewer@quickstyle.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10712, '"Genaro Garza" <gengarza@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10713, '"Whitley Barrera" <whibarrera@ebusinessapps.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10714, '"Hyo Vaughn" <h.vaughn@ostore.net>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10715, '"Tess Kent" <tkent@gov.sask.ca>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10716, '"Quiana Mcmillan" <quianamcmillan@textpad.com>', 106);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10717, '"Laurel Wallace" <lawallace@election.com>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10718, '"Pok Joseph" <p_joseph@northvan.com>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10719, '"Eneida Booker" <eneid-booker@newyork.com>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10720, '"Toni Terry" <toterry@vancouver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10721, '"Shamika Tyson" <shatyson@microsoft.com>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10722, '"Barabara Horton" <barhorton@firefox.com>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10723, '"Boyce Morin" <bomorin@extreme.net>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10724, '"Donte Williamson" <dwill@purosync.net>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10725, '"Dung Randolph" <dungrandolph@fastweb.com>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10726, '"Pearle Mcdonald" <pearmcdona@superinternet.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10727, '"Osvaldo Weeks" <osweeks@kabama.it>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10728, '"Carmela Molina" <c.molina@lightspeed.net>', 17);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10729, '"Dawne Delacruz" <dawdelacruz@pallata.de>', 4);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10730, '"Coralee Page" <c.page@professional.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10731, '"Magen Rush" <magrush@jitterbug.org>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10732, '"Wendell Moran" <wmoran@dal.ca>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10733, '"Buffy Cannon" <bufcannon@mozilla.org>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10734, '"Robbi Macias" <robb.macias@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10735, '"Cassie Whitley" <c.whitley@ebusinessapps.com>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10736, '"Cori Rodriguez" <corirodriguez@cipdr.fr>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10737, '"Gregg Dudley" <gdudle@yukatan.net>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10738, '"Vonnie Wall" <vonnwall@fastweb.com>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10739, '"Neida Davidson" <ndavids@mezzotop.com>', 85);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10740, '"Coleen Simpson" <coleensimpson@gov.bc.ca>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10741, '"Greta Goodwin" <gretgood@kabama.it>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10742, '"Carlota Meyers" <c_meye@kabama.it>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10743, '"Ozie Greer" <ogree@quickweb.ca>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10744, '"Glynis Mcmillan" <gmcmillan@professional.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10745, '"Krystle David" <kdavid@intl.fr>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10746, '"Merlin Hayes" <me.hayes@ubc.ca>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10747, '"Maria Chambers" <mchambers@scriptshq.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10748, '"Carla Sims" <carlsims@megareseller.net>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10749, '"Doreen Morris" <doremorris@hotmail.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10750, '"Alayna Battle" <alaynabattle@cipdr.fr>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10751, '"Ronald Hatfield" <ron_hatfiel@quickstyle.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10752, '"Susannah Gonzalez" <susan.gonzalez@sharesync.com>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10753, '"Vashti Hartman" <vashhartma@qbooks.com>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10754, '"Lawerence Gonzales" <lawegonzales@harvard.org>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10755, '"Mariela Snyder" <masnyder@dasani.org>', 14);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10756, '"Antwan Tate" <atate@pallata.de>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10757, '"Alysia Duran" <alduran@quickweb.ca>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10758, '"Monroe Bonner" <mbonner@calgary.net>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10759, '"Len Gaines" <l.gaines@sfu.ca>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10760, '"Alpha Dyer" <alpdyer@ajito.net>', 52);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10761, '"Tamie Anthony" <taanthony@ottawa.ca>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10762, '"Shea Baird" <sbair@pallata.de>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10763, '"Waltraud Mason" <walmason@newyork.com>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10764, '"Deangelo Delaney" <dedelan@firefox.com>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10765, '"Venetta Howard" <venettahoward@picasa.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10766, '"Jay Wiley" <j_wiley@ottawa.ca>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10767, '"Eli Hancock" <el.hancoc@yukatan.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10768, '"Altagracia Mcdowell" <altagramcdowel@pilates.org>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10769, '"Lynne Giles" <lynnegiles@election.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10770, '"Santa Ortega" <santa_ortega@sfx.ca>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10771, '"Stephany Long" <s.long@glue.it.com>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10772, '"Silva Burch" <sburch@microsoft.com>', 41);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10773, '"Edwina Hyde" <edwihyde@gov.sask.ca>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10774, '"Johnathon Whitney" <j-whitn@tjyworld.com>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10775, '"Cristopher Sellers" <cristophersellers@topreproducer.com>', 44);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10776, '"Cathi Mcdonald" <catmcdonald@picrific.com>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10777, '"Garret Mcpherson" <ga.mcpherso@programmer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10778, '"Ninfa Mcclure" <ninfamcclure@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10779, '"Man Bailey" <mbailey@extreme.net>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10780, '"Dorie Rosales" <drosale@megadecision.net>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10781, '"Deja Mack" <demack@pallata.de>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10782, '"Alyssa Fuller" <alyfull@programmer.com>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10783, '"Letha Valentine" <lvalent@purosync.net>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10784, '"Madaline Kline" <madaline.kline@b-ap.com>', 108);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10785, '"Fredric Bonner" <fredribonner@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10786, '"Roberta Weiss" <robertaweiss@professional.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10787, '"Jerri Ewing" <jewing@javanut.org>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10788, '"Manual Lamb" <manulamb@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10789, '"Augustina Wiley" <augustwiley@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10790, '"Jacinto Farley" <jacifarley@fastweb.com>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10791, '"Marlyn Sweet" <mar-sweet@halifax.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10792, '"Mohamed Mcgee" <mohamcgee@picrific.com>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10793, '"Sharell Adkins" <shadkins@javanut.org>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10794, '"Elois Benson" <e.benson@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10795, '"Lorie Little" <llittle@megadecision.net>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10796, '"Delsie Lee" <delsilee@topreproducer.com>', 4);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10797, '"Arla Whitaker" <arl_whit@picrific.com>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10798, '"Saundra Bradford" <saubradford@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10799, '"Michal Acevedo" <miacevedo@interchange.ubc.ca>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10800, '"Marianela Brewer" <mabrewe@universalweb.com>', 3);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10801, '"Cara Miles" <cmiles@firefox.com>', 3);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10802, '"Joan Carroll" <jcarro@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10803, '"Felipa Bennett" <felbennett@northvan.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10804, '"Ferne Bowman" <fernbowma@aeresources.com>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10805, '"Jeri Roberson" <j-roberson@javanut.org>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10806, '"Lavinia Alvarez" <lalvare@megadecision.net>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10807, '"Thad Kim" <thad.kim@northvan.com>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10808, '"Miquel Evans" <miquevans@pallata.de>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10809, '"Jamison Cooke" <jami.cooke@qbooks.com>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10810, '"Larry Irwin" <larr.irwin@dotsterworld.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10811, '"Soo Brennan" <sbrenna@fastserver.com>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10812, '"Chae Hoover" <choove@fastserver.com>', 18);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10813, '"Joni Nixon" <jonixon@ottawa.ca>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10814, '"Sabine Fitzpatrick" <sfitzpa@sharesync.com>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10815, '"Lupe Mooney" <lmooney@calgary.net>', 51);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10816, '"Bradly Gross" <bra.gros@purosync.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10817, '"Willette Wilkerson" <willetwilkerson@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10818, '"Romeo Ellison" <ro-ellison@picasa.com>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10819, '"Khalilah Thomas" <khalthomas@ubc.ca>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10820, '"Vernie Shaw" <vershaw@newyork.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10821, '"Heidy Sutton" <heidsutton@greatresources.net>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10822, '"Stewart Clarke" <stewclarke@mydomains.org>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10823, '"Zoila Neal" <zo_neal@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10824, '"Carita Mitchell" <cmitch@tjyworld.com>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10825, '"Ardis Conrad" <aconrad@scriptshq.ca>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10826, '"Kara Rowe" <ka.rowe@purosync.net>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10827, '"Junko Patterson" <ju_patter@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10828, '"Adolfo Leblanc" <adollebl@megareseller.net>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10829, '"Jeanetta Obrien" <jeanettaobrien@qbooks.com>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10830, '"Zenobia Valentine" <zenobvale@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10831, '"Georgine Schneider" <georgschne@intl.fr>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10832, '"Agatha Frederick" <afrederick@lightspeed.net>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10833, '"Tanya Burke" <taburke@universalweb.com>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10834, '"Shanae Frazier" <shanafrazi@aeresources.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10835, '"Alexander Rodgers" <arodgers@dasani.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10836, '"Lashandra Rhodes" <lashandrhodes@cipdr.fr>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10837, '"Stacia Flowers" <sflowers@caridonet.ca>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10838, '"Jaclyn Rice" <jaclyrice@extreme.net>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10839, '"Tana Guzman" <t.guzman@ajito.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10840, '"Ada Neal" <aneal@applicationstop.com>', 33);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10841, '"Quiana Workman" <quiworkman@universalweb.com>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10842, '"Calandra Beasley" <cbeasley@dasani.org>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10843, '"Ilana Gutierrez" <i.gutierrez@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10844, '"Roseline Roman" <roselineroman@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10845, '"Violette Woods" <viowoods@purosync.net>', 31);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10846, '"Hanh Whitney" <hwhitney@purosync.net>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10847, '"Tayna Manning" <taymanning@election.com>', 33);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10848, '"Glenda Vinson" <glevinson@picasa.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10849, '"Sybil Berg" <syberg@tjyworld.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10850, '"Lettie Faulkner" <lettiefaulkner@picrific.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10851, '"Sharie Peterson" <sharpeter@cnn.com>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10852, '"Arielle Sparks" <ariesparks@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10853, '"Tyrone Aguilar" <tyron_aguila@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10854, '"Carletta Roach" <croach@picasa.com>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10855, '"Magen Moon" <mmoon@jitterbug.org>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10856, '"Filiberto Guerra" <filiberto.guerra@sharesync.com>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10857, '"Laquanda Mcdaniel" <laquanda.mcdaniel@pallata.de>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10858, '"Jessie Diaz" <jesdiaz@cnn.com>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10859, '"Marcell Booth" <marceboot@newyork.com>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10860, '"Lavelle Dean" <l.dean@superinternet.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10861, '"Ashleigh Mcintosh" <ashmcintosh@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10862, '"Tony Hopper" <tonyhopper@ostore.net>', 50);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10863, '"Elli Singleton" <ellsinglet@javanut.org>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10864, '"Celsa Davis" <c.davis@ottawa.ca>', 101);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10865, '"Una Sanders" <usanders@kabama.it>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10866, '"Yuk Clarke" <yukclarke@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10867, '"Yang Patton" <ypatton@newyork.com>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10868, '"Kristine Cantrell" <kcantrell@ebusinessapps.com>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10869, '"Lisa Anderson" <l_anderson@picrific.com>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10870, '"Amee Curry" <amecurry@dal.ca>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10871, '"Chara Howe" <chowe@b-ap.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10872, '"Bebe Ratliff" <bebe_ratliff@mezzotop.com>', 72);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10873, '"Heath Woodard" <hewood@picasa.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10874, '"Jose Glover" <jglover@mezzotop.com>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10875, '"Clementina Sims" <csims@scriptshq.ca>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10876, '"Denae Silva" <desilva@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10877, '"Oliver Knapp" <o_knap@caridonet.ca>', 10);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10878, '"Millicent Glover" <millglover@mezzotop.com>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10879, '"Julieann Oneill" <julieaoneil@kabama.it>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10880, '"Henry Conway" <henrconway@sfx.ca>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10881, '"Ashton Green" <agreen@yukatan.net>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10882, '"Briana York" <brianyork@lightspeed.net>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10883, '"Jesus Randall" <jrandal@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10884, '"Tobi Mcfadden" <tmcfadden@kabama.it>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10885, '"Renay Gardner" <renaygardner@gmail.com>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10886, '"Carri Bond" <carribond@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10887, '"Keira Sanford" <kei_sanf@kabama.it>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10888, '"Elma Sanchez" <esanc@cipdr.fr>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10889, '"Elisha Cohen" <eliscohen@purosync.net>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10890, '"Clarisa Hammond" <clarisahammond@ajito.net>', 10);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10891, '"Angella Newman" <a.newman@jitterbug.org>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10892, '"Shelton Montoya" <shemontoya@microsoft.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10893, '"Vonda Perry" <voperry@ebusinessapps.com>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10894, '"Margarita Nolan" <margnolan@gov.bc.ca>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10895, '"Kandra Blankenship" <kandblank@superinternet.com>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10896, '"Annett Short" <ann-short@microsoft.com>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10897, '"Dotty Patton" <dotpatton@quickstyle.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10898, '"Terrence Puckett" <terrpucket@ottawa.ca>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10899, '"Debby Shepherd" <d-shephe@textpad.com>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10900, '"Elane Daniel" <elane_daniel@calgary.net>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10901, '"Lavenia Walsh" <lavewalsh@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10902, '"Jarrett Gutierrez" <jgutierrez@harvard.org>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10903, '"Melaine Pitts" <mepitts@professional.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10904, '"Toby Lowe" <tlowe@dal.ca>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10905, '"Donovan Cohen" <dcohen@jitterbug.org>', 4);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10906, '"Lillia Gill" <ligill@programmer.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10907, '"Delinda Lee" <dlee@gov.sask.ca>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10908, '"Jani Mckenzie" <jmcken@aeresources.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10909, '"Randee Delacruz" <ra_delacruz@pilates.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10910, '"Ramiro Hodge" <rhodge@ubc.ca>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10911, '"Eugenia Arnold" <euge.arnol@firefox.com>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10912, '"Chris Charles" <chcharles@ubc.ca>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10913, '"Kiana Sosa" <kisosa@extreme.net>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10914, '"Jacqualine Hess" <jacquhess@greatresources.net>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10915, '"Evia Winters" <ewinters@scriptshq.ca>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10916, '"Leigh Avila" <lavila@caridonet.ca>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10917, '"Stephany Slater" <st-slate@b-ap.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10918, '"Temika Boyd" <temboyd@gov.sask.ca>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10919, '"Marshall Conrad" <mconrad@textpad.com>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10920, '"Ailene Weiss" <ail_weiss@ajito.net>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10921, '"Elwood Wood" <elwoowood@mydomains.org>', 97);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10922, '"Melia Davidson" <mdavidson@firefox.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10923, '"Nola Horne" <nolhorne@glue.it.com>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10924, '"Tommy Pruitt" <t_pruitt@pilates.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10925, '"Carylon Bartlett" <c_bartlett@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10926, '"Birgit Mcmahon" <birg_mcmahon@microsoft.com>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10927, '"Ursula Knowles" <urs.knowles@quickstyle.com>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10928, '"Nickole Chapman" <nicchap@sfu.ca>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10929, '"Season Sanchez" <seasanchez@jitterbug.org>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10930, '"Luba Anderson" <lubanderson@ubc.ca>', 51);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10931, '"Nicky Christian" <nchrist@mydomains.org>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10932, '"Rhona Aguilar" <rho.agui@sharesync.com>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10933, '"Renita Berg" <renberg@flashpoint.org>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10934, '"Livia Dejesus" <livi-dejes@interchange.ubc.ca>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10935, '"Jimmie Cross" <jimcross@picrific.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10936, '"Larissa Barron" <larissa-barron@jamworld.sc>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10937, '"Ignacio Mccray" <ignacmccray@b-ap.com>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10938, '"Jodi Barlow" <jo-barlow@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10939, '"Latashia Henson" <lhenson@ajito.net>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10940, '"Herbert Benjamin" <hbenja@calgary.net>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10941, '"Aubrey Cervantes" <aubrcervant@quickstyle.com>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10942, '"Magaly Cross" <mcros@picrific.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10943, '"Israel Lyons" <islyons@qbooks.com>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10944, '"Neva Shepherd" <nevashepherd@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10945, '"Debbi Marquez" <debbimarquez@pallata.de>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10946, '"Kaitlin Livingston" <kaitlinlivingston@ebusinessapps.com>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10947, '"Jerry Hernandez" <jerherna@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10948, '"Vennie Chambers" <vcham@intl.fr>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10949, '"Donita Mccall" <donimccall@megareseller.net>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10950, '"Jewell Rowland" <jewellrowland@pilates.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10951, '"Arnold Roberts" <a.roberts@vancouver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10952, '"Kenda Russo" <kenda_russo@firefox.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10953, '"Leonard Woodward" <leona-woodward@microsoft.com>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10954, '"Tomas Rivas" <trivas@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10955, '"Merissa Hogan" <merissahogan@javanut.org>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10956, '"Ramona Macias" <ram_maci@topreproducer.com>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10957, '"Letisha Mayer" <lmayer@harvard.org>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10958, '"Foster Dodson" <fododson@dasani.org>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10959, '"Micha Carney" <michacarney@sfu.ca>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10960, '"Charlie Collins" <char.collins@textpad.com>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10961, '"Merle Bullock" <mbullock@mezzotop.com>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10962, '"Annett Wooten" <annwooten@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10963, '"Karey Patel" <karepatel@jamworld.sc>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10964, '"Ashanti Kelley" <akelley@b-ap.com>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10965, '"Elliot Harrison" <ellharrison@aeresources.com>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10966, '"Kemberly Rosales" <kember_rosales@freeinterweb.com>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10967, '"Katie Thomas" <katthom@quickweb.ca>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10968, '"Terrence Dixon" <tdixon@ottawa.ca>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10969, '"Ronny Combs" <r.combs@pallata.de>', 17);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10970, '"Billie Holmes" <bholmes@ubc.ca>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10971, '"Candie Key" <candkey@sfx.ca>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10972, '"Bok Davenport" <bdaven@topreproducer.com>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10973, '"Mariah Fisher" <marifisher@fastserver.com>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10974, '"Deloris Palmer" <del_palmer@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10975, '"Ramon Fischer" <ramonfischer@softwareop.net>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10976, '"Alyson Cunningham" <alyson_cunningham@toronto.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10977, '"Crista Jackson" <crisjackson@ostore.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10978, '"Exie Griffith" <exigriff@mydomains.org>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10979, '"Shanel Baxter" <shbaxter@firefox.com>', 72);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10980, '"Calvin Zamora" <cal.zamora@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10981, '"Stephane Knowles" <s-knowle@gmail.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10982, '"Pearline Cruz" <pear-cruz@ostore.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10983, '"Pamella Martinez" <pmartinez@toronto.com>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10984, '"Quentin Graham" <q_graham@mydomains.org>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10985, '"Brant Conrad" <brconra@dal.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10986, '"Vaughn Ayala" <vaughnayala@northvan.com>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10987, '"Sunday Mendoza" <s_mendoz@scriptshq.ca>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10988, '"Hassan Berry" <hassan_berry@calgary.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10989, '"Edwin Francis" <edfranci@vancouver.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10990, '"Flor Mcclure" <fmcclu@aeresources.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10991, '"Merlyn Wolf" <merwolf@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10992, '"Ginette Valenzuela" <g_valenzuela@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10993, '"Renate Meyer" <renmeyer@extreme.net>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10994, '"Edmond Nicholson" <edmondnicholson@aeresources.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10995, '"Kimberely Horton" <kimhorton@picasa.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10996, '"Bronwyn Odonnell" <bronwynodonnell@sharesync.com>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10997, '"Ann Velazquez" <avelazquez@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10998, '"Corrine Bender" <corrine.bender@quickstyle.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (10999, '"Rosina Rodriquez" <rosrodriquez@microsoft.com>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11000, '"Anya Carpenter" <acarpente@firefox.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11001, '"Julietta Zimmerman" <juzimmerm@calgary.net>', 41);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11002, '"Kelsey Lloyd" <kelselloyd@calgary.net>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11003, '"Vivien Rogers" <v_roger@flashpoint.org>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11004, '"Loraine Boyd" <loraineboyd@pilates.org>', 85);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11005, '"Jovan Meyer" <jovmeyer@qbooks.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11006, '"Lyndon Talley" <lyndon.talley@pilates.org>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11007, '"Inger Day" <iday@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11008, '"Bula Fletcher" <bfletcher@picrific.com>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11009, '"Jeffrey Mays" <jeffmays@jitterbug.org>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11010, '"Terra Taylor" <tetaylor@sfx.ca>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11011, '"Kelly Talley" <kelltalle@firefox.com>', 20);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11012, '"Anna Logan" <a_logan@halifax.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11013, '"Reita Morris" <rmorris@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11014, '"Samara Garza" <sa_garz@mozilla.org>', 47);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11015, '"Mireya Maddox" <mmaddox@ostore.net>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11016, '"Richie Meadows" <r_meado@vancouver.com>', 8);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11017, '"Tereasa Mclean" <tmcle@universalweb.com>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11018, '"Pamila Winters" <pamiwinters@sfx.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11019, '"Gwenda Alexander" <gwenda_alexander@ajito.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11020, '"Palmer Finch" <pfinc@aeresources.com>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11021, '"Denna Dillard" <dendillard@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11022, '"Benita Miles" <benmiles@textpad.com>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11023, '"Treena Avery" <treenavery@quickstyle.com>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11024, '"Fermin Goff" <ferm-goff@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11025, '"Charlie Gay" <charliegay@professional.com>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11026, '"Donn Bates" <donbates@textpad.com>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11027, '"Rosia Hardy" <ros.hardy@sharesync.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11028, '"Timika Maynard" <timmaynard@calgary.net>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11029, '"Barbara Nelson" <barba_nels@scriptshq.ca>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11030, '"Marketta Bailey" <markettabailey@fastserver.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11031, '"Howard Stone" <hstone@extreme.net>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11032, '"Vickie Ratliff" <viratliff@caridonet.ca>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11033, '"Jadwiga Allison" <jadwigaallison@yukatan.net>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11034, '"Mia Goff" <miagoff@caridonet.ca>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11035, '"Basilia Farrell" <bas-farrell@kabama.it>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11036, '"Shanelle Myers" <shanellemyers@microsoft.com>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11037, '"Leonie Cervantes" <lecerva@ebusinessapps.com>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11038, '"Peggie Rodriguez" <peggierodriguez@gmail.com>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11039, '"Emma Guthrie" <eguthri@firefox.com>', 20);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11040, '"Vincenzo Blake" <viblake@javanut.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11041, '"Trinidad Sweeney" <trisweene@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11042, '"Elin Butler" <el_butler@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11043, '"Jeanette Wall" <jwall@yayamailserv.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11044, '"Ozella Rodriguez" <ozrodrigue@dasani.org>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11045, '"Twanna Wise" <twannawise@professional.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11046, '"Matt Carson" <macarson@pilates.org>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11047, '"Tanja Rasmussen" <tanrasmuss@purosync.net>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11048, '"Lindsey Massey" <lindsmassey@dal.ca>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11049, '"Wilton Curtis" <wilcurtis@newyork.com>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11050, '"Eryn Moore" <er_moore@ebusinessapps.com>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11051, '"Brittani Mckinney" <brittanmckinney@sharesync.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11052, '"Stanton Cox" <stanton.cox@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11053, '"Jordan Hamilton" <jordahamil@flashpoint.org>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11054, '"Mackenzie Gutierrez" <magutierrez@northvan.com>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11055, '"Joselyn England" <jengland@freeinterweb.com>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11056, '"Annmarie Jones" <annmarijones@quickweb.ca>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11057, '"Robbyn Donaldson" <r_donaldson@jamworld.sc>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11058, '"Zella Calderon" <zecalderon@calgary.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11059, '"Hanna Lester" <hleste@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11060, '"Keitha Christensen" <keithchrist@ebusinessapps.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11061, '"Hector Mckenzie" <hmckenzie@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11062, '"Shira Page" <shipage@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11063, '"Denice Clark" <denicclark@hotmail.com>', 20);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11064, '"Margy Bennett" <mbennett@quickstyle.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11065, '"Maia David" <mdavid@aeresources.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11066, '"Magdalena Snider" <magda.snider@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11067, '"Johnnie William" <johnn.william@sfu.ca>', 33);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11068, '"Sherilyn Vinson" <sherivinson@superinternet.com>', 51);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11069, '"Tom Thompson" <tthomp@topreproducer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11070, '"Maybelle Haney" <mahane@extreme.net>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11071, '"Joel Perez" <jperez@professional.com>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11072, '"Linnea Manning" <linnea_manning@sfx.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11073, '"Natosha Head" <natoshahead@universalweb.com>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11074, '"Jackelyn Benson" <jackelybenson@ostore.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11075, '"Maple Cline" <mcline@programmer.com>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11076, '"Dalton Porter" <daltoporte@megareseller.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11077, '"Harry Lara" <harr_lara@yayamailserv.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11078, '"Dustin Nolan" <dustinnolan@mozilla.org>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11079, '"Herman Carrillo" <hcarrillo@picasa.com>', 17);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11080, '"Carolyn Dean" <carodean@sfx.ca>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11081, '"Fermin Ballard" <ferm_ballar@sfx.ca>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11082, '"Mandi Zamora" <manzamor@dal.ca>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11083, '"Candance Hawkins" <chawkins@yayamailserv.net>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11084, '"Renae Serrano" <renserran@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11085, '"Vernia Perry" <verniperry@qbooks.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11086, '"Tawana Savage" <tsava@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11087, '"Drew Pennington" <d_penningt@purosync.net>', 7);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11088, '"Lavelle Fuentes" <lafuen@ajito.net>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11089, '"Mona Greer" <m.greer@flashpoint.org>', 51);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11090, '"Kia Vang" <kvang@sharesync.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11091, '"Crysta Strickland" <cstrickland@b-ap.com>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11092, '"Shaquita James" <shajames@cipdr.fr>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11093, '"Travis Pruitt" <tpruitt@mozilla.org>', 65);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11094, '"Sharyl Blackwell" <s_blackwell@quickstyle.com>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11095, '"Gena Noel" <gnoel@dal.ca>', 92);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11096, '"Austin Blackwell" <ablackwell@sharesync.com>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11097, '"Bernie Morgan" <bernmorgan@softwareop.net>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11098, '"Filomena Best" <filbest@superinternet.com>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11099, '"Boris Stephenson" <borstephenson@newyork.com>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11100, '"Marissa Travis" <matravis@megareseller.net>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11101, '"Lee Sherman" <l-sherman@b-ap.com>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11102, '"Garry Oliver" <garroliver@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11103, '"Stefan Ellison" <stelli@mydomains.org>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11104, '"Vernie Randall" <vrandall@purosync.net>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11105, '"Patria Burris" <pburris@lightspeed.net>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11106, '"Ettie Palmer" <etpalmer@lightspeed.net>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11107, '"Benita Mitchell" <bmitchell@megadecision.net>', 85);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11108, '"Jay Hanson" <jhanso@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11109, '"Ashley Elliott" <aselliott@glue.it.com>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11110, '"Marcelle Thornton" <ma_thornton@ostore.net>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11111, '"Candi Ramos" <c.ramos@quickstyle.com>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11112, '"Joey Mcgee" <joeymcgee@newyork.com>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11113, '"Tiffany Beach" <tiffany.beach@purosync.net>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11114, '"Nedra Benton" <nedrabenton@email.com>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11115, '"Inga Hayden" <inghayden@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11116, '"Jewell Castillo" <jewcastillo@fastserver.com>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11117, '"Nicolasa Edwards" <nicoledwar@intl.fr>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11118, '"Vilma Wilkins" <vilmawilkins@microsoft.com>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11119, '"Felice Grimes" <feligrimes@intl.fr>', 89);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11120, '"Roxanna Snow" <rsnow@cnn.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11121, '"Shizue Odonnell" <shiz_odonnell@mozilla.org>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11122, '"Rivka Hendrix" <rivkhendri@intl.fr>', 40);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11123, '"Elza Holcomb" <elzholcomb@glue.it.com>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11124, '"Vannesa Jenkins" <vajenkins@cipdr.fr>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11125, '"Quyen Bowman" <qbowman@tjyworld.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11126, '"Luana Carver" <lucarver@freeinterweb.com>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11127, '"Nicholas Guzman" <nichguzman@greatresources.net>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11128, '"Elina Rollins" <elrollins@topreproducer.com>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11129, '"Samuel Eaton" <seaton@gmail.com>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11130, '"Roberta Wong" <roberta.wong@megadecision.net>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11131, '"Agustina Williams" <aguswilliams@cnn.com>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11132, '"Coy Mcconnell" <coymcconnell@mezzotop.com>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11133, '"Joane Woodard" <joanewoodard@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11134, '"Rena Oneil" <renaoneil@softwareop.net>', 102);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11135, '"Liana Armstrong" <l_armstrong@vancouver.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11136, '"Breanna Moran" <b_moran@email.com>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11137, '"Annelle Barron" <annbarron@programmer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11138, '"Vita Barrett" <vbarrett@lightspeed.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11139, '"Ross Fernandez" <rfernan@ubc.ca>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11140, '"Janay Preston" <janpreston@programmer.com>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11141, '"Allyn Crosby" <allycrosby@election.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11142, '"Porsche Sellers" <porsseller@pilates.org>', 4);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11143, '"Carmelia Lynn" <carm-lynn@yayamailserv.net>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11144, '"Laticia Neal" <laticianeal@ajito.net>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11145, '"Robby Estrada" <robbyestrada@extreme.net>', 14);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11146, '"Leonila Serrano" <lserrano@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11147, '"Trey Mcknight" <trmcknigh@intl.fr>', 43);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11148, '"Stefania Coleman" <stefancoleman@ostore.net>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11149, '"Patience Allison" <paallison@freeinterweb.com>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11150, '"Rickey Scott" <rscott@harvard.org>', 108);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11151, '"Maris Daniel" <mdaniel@dal.ca>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11152, '"Shane Bridges" <sbridges@softwareop.net>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11153, '"Ernesto Cote" <ercote@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11154, '"Setsuko Mckenzie" <setmckenzie@purosync.net>', 41);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11155, '"Marlo Cohen" <macohen@cnn.com>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11156, '"Sanora Cleveland" <san-clevel@textpad.com>', 46);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11157, '"Sherell Moon" <smoon@megadecision.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11158, '"Bruno Wagner" <br-wagne@interchange.ubc.ca>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11159, '"Glynda Farmer" <glyndafarmer@dasani.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11160, '"Don Craig" <dcraig@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11161, '"Sandy Bowen" <sandybowen@qbooks.com>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11162, '"Alonso Mcknight" <amcknigh@professional.com>', 69);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11163, '"Colton Faulkner" <coltonfaulkner@ajito.net>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11164, '"Kermit Whitley" <kermwhitley@mozilla.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11165, '"Lynnette Gibbs" <lynnettegibbs@mydomains.org>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11166, '"Yan Harrison" <yharri@mezzotop.com>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11167, '"Lahoma Wilkinson" <lahwilkinson@sharesync.com>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11168, '"Alease Delgado" <aldelgad@b-ap.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11169, '"Mahalia Chase" <mahaliachase@harvard.org>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11170, '"Iluminada Bowers" <ilumina_bower@quickstyle.com>', 93);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11171, '"Ronnie Cannon" <roncann@ebusinessapps.com>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11172, '"Claudio Ross" <claudioross@firefox.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11173, '"Dorine Green" <dorine_green@lightspeed.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11174, '"Matthew Hurley" <mhurley@glue.it.com>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11175, '"Isobel Maddox" <iso_maddox@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11176, '"Illa Holcomb" <i_holco@javanut.org>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11177, '"Tobi Padilla" <tpadil@election.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11178, '"Columbus Foreman" <co_forema@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11179, '"Parthenia Alford" <paalford@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11180, '"Barbie Vasquez" <bvasq@megareseller.net>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11181, '"Andreas Whitaker" <andrewhita@interchange.ubc.ca>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11182, '"Herb Harding" <hharding@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11183, '"Denisse Farley" <denisfarl@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11184, '"Margo Barton" <marbarton@yayamailserv.net>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11185, '"Abbey Vinson" <abbevinson@jamworld.sc>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11186, '"Marlene Key" <marlenekey@picrific.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11187, '"Ela Carey" <ecarey@picasa.com>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11188, '"Joshua Mcdaniel" <jmcdaniel@northvan.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11189, '"Dawna Harding" <dawhardi@email.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11190, '"Iluminada Hess" <iluminadahess@ostore.net>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11191, '"Edelmira Hardin" <edehardin@programmer.com>', 80);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11192, '"Winfred Garrison" <wgarr@pilates.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11193, '"Bettyann Buck" <bettybuck@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11194, '"Alva Velasquez" <alvavelasquez@ajito.net>', 67);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11195, '"Manual Rojas" <man_rojas@pallata.de>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11196, '"Loreta Baxter" <lobaxter@dal.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11197, '"Ami Swanson" <aswan@softwareop.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11198, '"Veronica Russo" <veronrusso@sfu.ca>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11199, '"Peg Caldwell" <pe.caldwel@harvard.org>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11200, '"Mitchell Levine" <mlevine@cnn.com>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11201, '"Joanne Kennedy" <jokennedy@textpad.com>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11202, '"Loren Sharp" <losharp@superinternet.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11203, '"Ardella Conway" <ardellaconway@greatresources.net>', 105);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11204, '"Moriah Maddox" <moria-maddox@interchange.ubc.ca>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11205, '"Parthenia Pearson" <papearso@gmail.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11206, '"Flor Roth" <froth@glue.it.com>', 52);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11207, '"Twyla Richards" <trichards@toronto.com>', 101);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11208, '"Alan Tran" <atran@ebusinessapps.com>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11209, '"Floyd Gardner" <fgard@dasani.org>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11210, '"Lester Jennings" <lesterjennings@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11211, '"Sabrina Mercer" <sabrmercer@sfx.ca>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11212, '"Angelic Graham" <agraham@textpad.com>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11213, '"Lu Bullock" <lbullock@intl.fr>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11214, '"Oleta Morton" <omorton@gmail.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11215, '"Bernita Little" <b.little@textpad.com>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11216, '"Craig Owens" <cowens@tjyworld.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11217, '"Vito Solomon" <vitosolomon@firefox.com>', 94);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11218, '"Dee Bray" <debray@sfx.ca>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11219, '"Cherrie Fowler" <chefowler@vancouver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11220, '"Socorro Park" <s_park@ostore.net>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11221, '"Shanita Gilliam" <shanitagilliam@purosync.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11222, '"Jerri Mclaughlin" <j-mclaughlin@dal.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11223, '"Jennette Pacheco" <j.pacheco@interchange.ubc.ca>', 50);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11224, '"Karin Cash" <kacash@yukatan.net>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11225, '"Maragret Gilmore" <maraggilmore@scriptshq.ca>', 88);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11226, '"Romeo Watts" <r_watts@kabama.it>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11227, '"Francoise Kim" <fkim@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11228, '"Jenice Shepard" <jeshepard@fastserver.com>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11229, '"Nona Morin" <nonamorin@kabama.it>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11230, '"Moriah Valenzuela" <morvalenzuela@picasa.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11231, '"Diego Kemp" <dkemp@hotmail.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11232, '"Carroll Levy" <carrollevy@cipdr.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11233, '"Lavina Avila" <lavila@dal.ca>', 75);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11234, '"Laurinda Figueroa" <laufigueroa@dotsterworld.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11235, '"Linn Hunt" <lhunt@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11236, '"Yaeko Atkins" <y_atkins@mydomains.org>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11237, '"Kelsey English" <kengli@newyork.com>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11238, '"Peggie Shaw" <peggie-shaw@picasa.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11239, '"Patti Clements" <pattclement@superinternet.com>', 76);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11240, '"Ines Bond" <inbond@ostore.net>', 41);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11241, '"Yong Castro" <ycastro@mozilla.org>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11242, '"Nicol Good" <nigood@sfx.ca>', 20);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11243, '"Chelsie Holden" <chelsholden@microsoft.com>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11244, '"Raven Kent" <r-kent@realnews.ca>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11245, '"Janetta Jarvis" <janettajarvis@purosync.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11246, '"Sheldon Medina" <sheldomedina@firefox.com>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11247, '"Darcey Acevedo" <daceved@dasani.org>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11248, '"Korey Bates" <kobates@lightspeed.net>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11249, '"Dagny Wright" <dwright@mezzotop.com>', 21);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11250, '"Leonel Hayden" <lehayden@ubc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11251, '"Fanny Nichols" <fannicho@fastweb.com>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11252, '"Angelika Lancaster" <anglancaste@ubc.ca>', 11);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11253, '"Odell Kidd" <odekidd@quickstyle.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11254, '"Dorotha Kennedy" <dkenned@extreme.net>', 35);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11255, '"Soraya Crawford" <sorcrawford@newyork.com>', 31);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11256, '"Pauline Oliver" <poliver@pallata.de>', 104);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11257, '"Jannet Rivers" <jannet.rivers@fastserver.com>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11258, '"Fredda Ochoa" <frochoa@harvard.org>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11259, '"Erwin Herrera" <erwinherrera@glue.it.com>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11260, '"Annamaria Garrison" <annama.garri@cipdr.fr>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11261, '"Mike Mckenzie" <mikemckenzie@mezzotop.com>', 68);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11262, '"Damian Porter" <damiaporte@megareseller.net>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11263, '"Zack Bell" <zbell@picrific.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11264, '"Genevieve Diaz" <gdiaz@microsoft.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11265, '"Thad Reid" <threid@freeinterweb.com>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11266, '"Elda Hooper" <elhooper@jamworld.sc>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11267, '"Gwenn Vega" <gwennvega@quickweb.ca>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11268, '"Andrew Coleman" <ancoleman@ubc.ca>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11269, '"Kym Baird" <ky_baird@aeresources.com>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11270, '"Valarie Mcbride" <valariemcbride@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11271, '"Sadye Rosales" <sadyerosales@dotsterworld.net>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11272, '"Laurence Wheeler" <laur.wheel@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11273, '"Tiffanie Compton" <tiffanie.compton@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11274, '"Maria Wade" <mar_wade@superinternet.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11275, '"Pricilla Houston" <pricillhoust@megadecision.net>', 2);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11276, '"Edmund Giles" <edmugile@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11277, '"Khalilah Ball" <kball@freeinterweb.com>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11278, '"Owen Faulkner" <ow_faulk@quickweb.ca>', 38);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11279, '"Loyd Nicholson" <lnichol@professional.com>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11280, '"Lynn Britt" <lynbritt@sharesync.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11281, '"Monserrate Gardner" <monserrategardner@northvan.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11282, '"Melvina Heath" <meheath@ubc.ca>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11283, '"Olivia Delaney" <oli.delaney@textpad.com>', 52);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11284, '"Willetta Banks" <wbanks@election.com>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11285, '"Sung Solomon" <susolom@dotsterworld.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11286, '"Sebrina Bowman" <seb_bowman@election.com>', 19);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11287, '"Linwood Velez" <lvelez@yukatan.net>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11288, '"Reta Valdez" <r-valdez@ebusinessapps.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11289, '"Karry Hensley" <khensley@firefox.com>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11290, '"Margaretta Bryant" <margarettabryant@fastweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11291, '"Larry Lester" <llester@ebusinessapps.com>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11292, '"Jason Lawrence" <jlawren@yayamailserv.net>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11293, '"Tawanda Rhodes" <trhode@megareseller.net>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11294, '"Julian Drake" <judrake@calgary.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11295, '"Alease Schwartz" <aleas_schwart@dal.ca>', 108);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11296, '"Federico Morris" <federicomorris@gov.bc.ca>', 10);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11297, '"Laurel Owens" <laure.owens@sfx.ca>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11298, '"Qiana Floyd" <qfloyd@dotsterworld.net>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11299, '"Janel Mcfarland" <jmcfarlan@ajito.net>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11300, '"Sherley Becker" <sbecker@quickstyle.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11301, '"Rudy Workman" <rworkman@email.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11302, '"Tenisha Avery" <tenishavery@universalweb.com>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11303, '"Chastity Medina" <chastitymedina@sfx.ca>', 62);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11304, '"Jonathan Lopez" <jonathlopez@aeresources.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11305, '"Cami Hogan" <camihogan@softwareop.net>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11306, '"Felica Cummings" <f-cummin@javanut.org>', 85);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11307, '"Margarette Nichols" <margare-nichol@scriptshq.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11308, '"Lacresha Sullivan" <lacrsullivan@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11309, '"Shondra Rosario" <shondrrosari@harvard.org>', 101);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11310, '"Ileen Moss" <imoss@qbooks.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11311, '"Donny Lindsay" <donlindsay@yayamailserv.net>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11312, '"Josh Soto" <josoto@firefox.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11313, '"Jon Spence" <jonspence@ajito.net>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11314, '"Lauran Buckner" <laubuckner@toronto.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11315, '"Janeth Adams" <jaadams@superinternet.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11316, '"Micki Duke" <mickduke@halifax.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11317, '"Evan Hill" <evhill@pilates.org>', 10);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11318, '"Clemencia Hanson" <chans@kabama.it>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11319, '"Lavern Simpson" <l_simpson@textpad.com>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11320, '"Lise Sims" <l-sims@universalweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11321, '"Ryan Downs" <rydowns@firefox.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11322, '"Mollie Dominguez" <m.domin@gov.bc.ca>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11323, '"Andrew Sloan" <andresloan@yayamailserv.net>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11324, '"Levi Hicks" <l.hicks@halifax.com>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11325, '"Ila Byers" <ibyers@picrific.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11326, '"Kenton Jennings" <kejennings@aeresources.com>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11327, '"Essie Roth" <esroth@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11328, '"Archie Raymond" <arcraymond@megadecision.net>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11329, '"Jerome Sharpe" <jshar@gmail.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11330, '"Alessandra Snow" <ale_snow@superinternet.com>', 44);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11331, '"Orpha Hutchinson" <o_hutchinson@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11332, '"Jessia Mitchell" <jessiamitchell@email.com>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11333, '"Hang Castaneda" <hangcastaneda@calgary.net>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11334, '"Maria Christian" <mchristian@vancouver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11335, '"Pia Montoya" <p.montoya@javanut.org>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11336, '"Cathryn Sellers" <cathryn.sellers@mezzotop.com>', 70);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11337, '"Liz Steele" <lstee@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11338, '"Rachael Cooley" <rachaelcooley@quickstyle.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11339, '"Raeann Boyd" <raboyd@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11340, '"Leandra Calhoun" <leancalhoun@picasa.com>', 64);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11341, '"Karole Reyes" <ka_reyes@qbooks.com>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11342, '"Roy Phillips" <rphillips@newyork.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11343, '"Ciara Mcneil" <c.mcneil@ottawa.ca>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11344, '"Bernie Galloway" <bergallow@northvan.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11345, '"Kasha Mcleod" <ka_mcleo@ebusinessapps.com>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11346, '"Collette Le" <cole@picrific.com>', 72);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11347, '"Hassie Williams" <hassiewilliams@gov.sask.ca>', 33);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11348, '"Chantal Cleveland" <ccleveland@cipdr.fr>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11349, '"Zack Colon" <zacolo@dal.ca>', 49);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11350, '"Elsa Hanson" <ehanson@professional.com>', 98);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11351, '"Rex Wiley" <rwiley@mozilla.org>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11352, '"Cedric Juarez" <cjuarez@megareseller.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11353, '"Jade Fleming" <jadfleming@fastserver.com>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11354, '"Kyle Bonner" <ky_bonner@megareseller.net>', 5);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11355, '"Rosia Hale" <rohale@megadecision.net>', 52);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11356, '"Kallie Atkins" <kal.atkins@qbooks.com>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11357, '"Ceola Owen" <c.owen@applicationstop.com>', 47);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11358, '"Eusebio Hayes" <eusehayes@scriptshq.ca>', 24);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11359, '"Shayne Wilkerson" <shaynewilkerson@mydomains.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11360, '"Lenna Mason" <lenmason@qbooks.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11361, '"Luigi Clements" <lclements@applicationstop.com>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11362, '"Andrew Burnett" <andrewburnett@quickstyle.com>', 84);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11363, '"Florence Livingston" <florelivingston@dotsterworld.net>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11364, '"Rodney Trevino" <rod_trevino@toronto.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11365, '"Corey Lawson" <clawson@quickweb.ca>', 54);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11366, '"Carlos Austin" <carlosaustin@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11367, '"Marcela Solomon" <marcsolomon@freeinterweb.com>', 95);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11368, '"Lorelei Sargent" <loreleisargent@programmer.com>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11369, '"Eveline Lambert" <ev.lambert@mozilla.org>', 55);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11370, '"Wilfred Sweet" <wsweet@javanut.org>', 47);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11371, '"Christoper Peck" <cpeck@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11372, '"Georgia Booth" <gbooth@interchange.ubc.ca>', 90);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11373, '"Hassie Vincent" <hassie_vincent@cnn.com>', 110);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11374, '"Zachary Kinney" <zacharykinney@yayamailserv.net>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11375, '"Gillian Sullivan" <gilliansullivan@applicationstop.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11376, '"Junita Kane" <j_kane@programmer.com>', 22);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11377, '"Reva Lynn" <revalynn@jitterbug.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11378, '"Loree Moreno" <lmoreno@javanut.org>', 81);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11379, '"Loria Carver" <loria-carver@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11380, '"Hillary Salazar" <hillsalaza@freeinterweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11381, '"Valentin Chambers" <vchambers@applicationstop.com>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11382, '"Chet Bowers" <chetbowers@yayamailserv.net>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11383, '"Elnora Flynn" <elnora_flynn@pallata.de>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11384, '"Julienne Schwartz" <j_schwa@megareseller.net>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11385, '"Elena Little" <elenalittle@greatresources.net>', 45);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11386, '"Candance Meyers" <candmeyers@ajito.net>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11387, '"Shanta Britt" <shantabritt@glue.it.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11388, '"Charlyn Gamble" <chgamble@fastweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11389, '"Christian Ingram" <cingram@email.com>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11390, '"Sonia Baird" <s.baird@ostore.net>', 103);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11391, '"Melodee Gomez" <mgome@interchange.ubc.ca>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11392, '"Scottie Boone" <scboone@applicationstop.com>', 44);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11393, '"Alton Phelps" <altophelps@purosync.net>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11394, '"Santiago Bowers" <sbower@fastserver.com>', 61);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11395, '"Claris Santiago" <csantia@fastserver.com>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11396, '"Teri Summers" <tsummers@textpad.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11397, '"Elenor Branch" <ebranch@b-ap.com>', 36);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11398, '"Honey Mcbride" <homcbride@flashpoint.org>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11399, '"Piper Finley" <pifinley@ostore.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11400, '"Ronnie Knox" <rknox@extreme.net>', 73);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11401, '"Ethan Greene" <ethagreene@aeresources.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11402, '"Verda Fernandez" <vefernandez@freeinterweb.com>', 83);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11403, '"Selina Long" <se_long@extreme.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11404, '"Tasia Price" <tasiaprice@sfx.ca>', 52);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11405, '"Kurt Foster" <kfoster@megadecision.net>', 57);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11406, '"Tyra Witt" <tywitt@dasani.org>', 6);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11407, '"Rosaline Gregory" <rosaligrego@tjyworld.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11408, '"Marcus Gould" <marcgould@picasa.com>', 13);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11409, '"Genie Page" <geniepage@picasa.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11410, '"Phyliss Humphrey" <phyhumphrey@sfx.ca>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11411, '"Aurora Leonard" <aleonard@quickweb.ca>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11412, '"Hilda Cannon" <hicannon@extreme.net>', 37);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11413, '"Christine Gentry" <christinegentry@mydomains.org>', 12);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11414, '"Rosalee Kemp" <rosalkemp@scriptshq.ca>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11415, '"Annika Scott" <anniscott@realnews.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11416, '"Leslie Steele" <lesteele@fastweb.com>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11417, '"Irmgard Wood" <irmgarwood@election.com>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11418, '"Kareem Stafford" <karstafford@b-ap.com>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11419, '"Cathrine Ballard" <cballard@yayamailserv.net>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11420, '"Louis Gates" <lgates@quickweb.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11421, '"Joanie Hooper" <joanihooper@greatresources.net>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11422, '"Danille Green" <dgreen@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11423, '"Peggie Villarreal" <peggievillarreal@pallata.de>', 59);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11424, '"Signe Fowler" <sfowler@hotmail.com>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11425, '"Nita Jenkins" <nitajenkins@pallata.de>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11426, '"Hershel Reese" <h.reese@fastserver.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11427, '"Emanuel Flynn" <emflynn@professional.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11428, '"Robyn Mason" <robynmason@b-ap.com>', 99);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11429, '"Maranda Steele" <m.steele@quickweb.ca>', 29);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11430, '"Jacklyn Sharpe" <jacklsharpe@glue.it.com>', 28);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11431, '"Cherilyn Vang" <cherilyn.vang@cnn.com>', 25);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11432, '"Regina Travis" <regtravis@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11433, '"Leona Henson" <lhenso@megadecision.net>', 108);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11434, '"Murray Hall" <murrayhall@intl.fr>', 56);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11435, '"Rae Mayer" <rmayer@ajito.net>', 26);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11436, '"Delmar Brennan" <d.brennan@dotsterworld.net>', 100);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11437, '"Tula Stokes" <tstokes@mezzotop.com>', 15);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11438, '"Maureen Chapman" <mchapma@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11439, '"Korey Bartlett" <korebartlett@cnn.com>', 47);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11440, '"Lavada Velazquez" <lavavelazq@gmail.com>', 91);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11441, '"Cierra Bauer" <cbauer@universalweb.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11442, '"Mitzi Winters" <m_winte@purosync.net>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11443, '"Sam Buckley" <sbuckley@sfx.ca>', 17);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11444, '"Ceola Church" <ceochurc@quickweb.ca>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11445, '"Martina Patterson" <mpatterson@dal.ca>', 87);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11446, '"Dannielle Mcknight" <danniemcknight@gmail.com>', 42);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11447, '"Bee Mann" <beemann@dal.ca>', 14);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11448, '"Jazmin Mendoza" <jmendoza@intl.fr>', 3);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11449, '"Roberta Moore" <robemoor@sfu.ca>', 110);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11450, '"Lynna Sanford" <l-sanford@firefox.com>', 19);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11451, '"Nanette Charles" <na_charles@pallata.de>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11452, '"Rory Barrera" <robarrera@sfu.ca>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11453, '"Abbey Mendez" <amendez@programmer.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11454, '"Ethelyn Hartman" <ethelynhartman@purosync.net>', 71);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11455, '"Booker Payne" <bopayne@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11456, '"Mellissa Davis" <meldavis@mozilla.org>', 50);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11457, '"Migdalia Hodge" <mhodge@greatresources.net>', 79);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11458, '"Morris Cabrera" <mocabrera@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11459, '"Melonie Wise" <mewise@cipdr.fr>', 74);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11460, '"Jermaine Weber" <jerma.weber@glue.it.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11461, '"Dinah Sims" <dinahsims@email.com>', 34);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11462, '"Cyrstal Rose" <cyrose@intl.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11463, '"Sammie Ratliff" <saratlif@cipdr.fr>', 82);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11464, '"Kristen Adkins" <kriadkins@gov.bc.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11465, '"Bernie Nguyen" <benguyen@yukatan.net>', 77);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11466, '"Darcey Clay" <dclay@lightspeed.net>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11467, '"Vina Salazar" <vinasalazar@election.com>', 66);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11468, '"Fay Chambers" <fchamber@picrific.com>', 86);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11469, '"Maranda Murphy" <maranda.murphy@harvard.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11470, '"Catherina Beach" <cbeach@sfx.ca>', 60);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11471, '"Keena Vinson" <keevinson@sfx.ca>', 107);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11472, '"Denita Cooper" <dcoope@superinternet.com>', 106);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11473, '"Dwayne Mclaughlin" <dmclaughlin@sfu.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11474, '"Ilse Cote" <icote@email.com>', 27);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11475, '"Shad Thompson" <shadthompson@cipdr.fr>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11476, '"Mia Turner" <mturner@b-ap.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11477, '"Irvin Fischer" <ifisc@ajito.net>', 23);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11478, '"Hershel Herrera" <hersheherrera@tjyworld.com>', 96);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11479, '"Herschel Kent" <hers_kent@kabama.it>', 78);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11480, '"Apolonia Bernard" <abernard@kabama.it>', 39);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11481, '"Joane Kelly" <jkelly@microsoft.com>', 9);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11482, '"Kelli Hutchinson" <kellihutchinson@superinternet.com>', 47);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11483, '"Laronda Kinney" <lkinney@quickweb.ca>', 16);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11484, '"Raymon Hudson" <rhudson@ottawa.ca>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11485, '"Rutha York" <rutyork@ajito.net>', 32);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11486, '"Christopher Callahan" <christopher-callahan@superinternet.com>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11487, '"Nerissa Page" <npage@purosync.net>', 30);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11488, '"Devin Slater" <dslater@mezzotop.com>', 109);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11489, '"Taylor Mcclain" <tmcclain@softwareop.net>', 19);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11490, '"Renita Cotton" <rcotto@yukatan.net>', 63);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11491, '"Felicidad Stanley" <festanley@intl.fr>', 48);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11492, '"Shelby Barrett" <shbarrett@flashpoint.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11493, '"Carissa Baker" <cbaker@picrific.com>', 51);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11494, '"Penelope Hunt" <pehunt@ebusinessapps.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11495, '"Penney Rollins" <penn_rolli@election.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11496, '"Altha Rutledge" <alrutled@sharesync.com>', 53);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11497, '"Stanton Burns" <stburns@javanut.org>', 58);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11498, '"Karlene Obrien" <karlobrien@cnn.com>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11499, '"Javier Donovan" <ja_donov@pilates.org>', 1);
INSERT INTO `tblContacts` (`ContactID`, `ContactInfo`, `TimesEmailed`) VALUES (11500, '"Cira Vazquez" <cvazqu@quickstyle.com>', 8);
# ---------- END OF IMPORT FROM `C:\Data\vss\Components\EBACombo\v32\Test\Lib\Common\Datasources\en\emaildb.mdb` ----------
|
# Wiktionary chy http://wiktionary.org/ CC BY-SA
01503061-n chy:lemma vé'kése
01662784-n chy:lemma ma'ëno
01770081-n chy:lemma tó'êseóhtavé'ho'e
01772222-n chy:lemma vé'ho'e
01774384-n chy:lemma mo'ôhtáevé'ho'á'e
01774750-n chy:lemma ma'xemo'ôhtáevé'ho'e
02084071-n chy:lemma oeškeso
02274259-n chy:lemma hevávȧhkema
02512053-n chy:lemma nomaˀne
03584829-n chy:lemma hesó'xôhéó'o
03584829-n chy:lemma hesó'xâho'hovahtôtse
06908700-n chy:lemma Tsêhesenêstsestôtse
07802026-n chy:lemma moˀëˀėsṣe
07844042-n chy:lemma matana
07850329-n chy:lemma he'koneame
08740875-n chy:lemma Meško
08921850-n chy:lemma Japan
09536058-n chy:lemma ma'heo'o
09638875-n chy:lemma vé'ho'e
10157549-n chy:lemma tsêhésevé'ho'e
10287213-n chy:lemma hetane
11608250-n chy:lemma hoóxe'e
11620673-n chy:lemma vé'evêšéstótó'e
11620673-n chy:lemma vó'komêšéstótó'e
11624531-n chy:lemma šéstótó'e
11636566-n chy:lemma évoneešenose
11636566-n chy:lemma heškóšéstótó'e
11636566-n chy:lemma vé'evêšéstótó'e
12268246-n chy:lemma oó'omêše
12303462-n chy:lemma mótó'e
12318378-n chy:lemma otaesémenôtse
12405714-n chy:lemma homenó'e
12409231-n chy:lemma kó'koemenó'e
12638218-n chy:lemma ma'xemenó'e
12650556-n chy:lemma ménó'e
12650556-n chy:lemma vénôho'kôhtse
12724942-n chy:lemma ménó'ke
12733647-n chy:lemma vé'škee'e
12752205-n chy:lemma me'êškema
12762896-n chy:lemma no'aneonó'e
12946849-n chy:lemma ma'kóomeeheso
14642417-n chy:lemma ma'aata
|
drop table `hotel`.`quarto_reserva`;
|
WITH source AS (
SELECT *
FROM {{ source('gitlab_dotcom', 'approver_groups') }}
QUALIFY ROW_NUMBER() OVER (PARTITION BY id ORDER BY updated_at DESC) = 1
), renamed AS (
SELECT
id::NUMBER AS approver_group_id,
target_type::VARCHAR AS target_type,
group_id::NUMBER AS group_id,
created_at::TIMESTAMP AS created_at,
updated_at::TIMESTAMP AS updated_at
FROM source
)
SELECT *
FROM renamed
|
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
--
-- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
--
-- Name: ltree; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS ltree WITH SCHEMA public;
--
-- Name: EXTENSION ltree; Type: COMMENT; Schema: -; Owner: -
--
-- COMMENT ON EXTENSION ltree IS 'data type for hierarchical tree-like structures';
--
-- Name: pgcrypto; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS pgcrypto WITH SCHEMA public;
--
-- Name: EXTENSION pgcrypto; Type: COMMENT; Schema: -; Owner: -
--
-- COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions';
--
-- Name: gender_enum; Type: TYPE; Schema: public; Owner: -
--
CREATE TYPE public.gender_enum AS ENUM (
'female',
'male',
'transgender'
);
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: accesses; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.accesses (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
user_id uuid NOT NULL,
resource_type character varying,
resource_id uuid,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: addresses; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.addresses (
id uuid NOT NULL,
street_address character varying,
village_or_colony character varying,
district character varying,
state character varying,
country character varying,
pin character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
zone character varying
);
--
-- Name: appointments; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.appointments (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
patient_id uuid NOT NULL,
facility_id uuid NOT NULL,
scheduled_date date NOT NULL,
status character varying,
cancel_reason character varying,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
remind_on date,
agreed_to_visit boolean,
deleted_at timestamp without time zone,
appointment_type character varying NOT NULL,
user_id uuid,
creation_facility_id uuid
);
--
-- Name: ar_internal_metadata; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.ar_internal_metadata (
key character varying NOT NULL,
value character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: blood_pressures; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.blood_pressures (
id uuid NOT NULL,
systolic integer NOT NULL,
diastolic integer NOT NULL,
patient_id uuid NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
facility_id uuid NOT NULL,
user_id uuid,
deleted_at timestamp without time zone,
recorded_at timestamp without time zone
);
--
-- Name: facilities; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.facilities (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name character varying,
street_address character varying,
village_or_colony character varying,
district character varying,
state character varying,
country character varying,
pin character varying,
facility_type character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
latitude double precision,
longitude double precision,
deleted_at timestamp without time zone,
facility_group_id uuid,
slug character varying,
zone character varying,
enable_diabetes_management boolean DEFAULT false NOT NULL,
facility_size character varying NOT NULL,
monthly_estimated_opd_load integer,
enable_teleconsultation boolean DEFAULT false NOT NULL,
short_name character varying NOT NULL
);
--
-- Name: medical_histories; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.medical_histories (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
patient_id uuid NOT NULL,
prior_heart_attack_boolean boolean,
prior_stroke_boolean boolean,
chronic_kidney_disease_boolean boolean,
receiving_treatment_for_hypertension_boolean boolean,
diabetes_boolean boolean,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
diagnosed_with_hypertension_boolean boolean,
prior_heart_attack text,
prior_stroke text,
chronic_kidney_disease text,
receiving_treatment_for_hypertension text,
diabetes text,
diagnosed_with_hypertension text,
deleted_at timestamp without time zone,
user_id uuid,
hypertension text,
receiving_treatment_for_diabetes text
);
--
-- Name: blood_pressures_per_facility_per_days; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.blood_pressures_per_facility_per_days AS
WITH latest_bp_per_patient_per_day AS (
SELECT DISTINCT ON (blood_pressures.facility_id, blood_pressures.patient_id, (date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text, (date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text) blood_pressures.id AS bp_id,
blood_pressures.facility_id,
(date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text AS day,
(date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text AS month,
(date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text AS quarter,
(date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text AS year
FROM (public.blood_pressures
JOIN public.medical_histories ON (((blood_pressures.patient_id = medical_histories.patient_id) AND (medical_histories.hypertension = 'yes'::text))))
WHERE (blood_pressures.deleted_at IS NULL)
ORDER BY blood_pressures.facility_id, blood_pressures.patient_id, (date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text, (date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, blood_pressures.recorded_at))))::text, blood_pressures.recorded_at DESC, blood_pressures.id
)
SELECT count(latest_bp_per_patient_per_day.bp_id) AS bp_count,
facilities.id AS facility_id,
timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, facilities.deleted_at)) AS deleted_at,
latest_bp_per_patient_per_day.day,
latest_bp_per_patient_per_day.month,
latest_bp_per_patient_per_day.quarter,
latest_bp_per_patient_per_day.year
FROM (latest_bp_per_patient_per_day
JOIN public.facilities ON ((facilities.id = latest_bp_per_patient_per_day.facility_id)))
GROUP BY latest_bp_per_patient_per_day.day, latest_bp_per_patient_per_day.month, latest_bp_per_patient_per_day.quarter, latest_bp_per_patient_per_day.year, facilities.deleted_at, facilities.id
WITH NO DATA;
--
-- Name: blood_sugars; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.blood_sugars (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
blood_sugar_type character varying NOT NULL,
blood_sugar_value numeric NOT NULL,
patient_id uuid NOT NULL,
user_id uuid NOT NULL,
facility_id uuid NOT NULL,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
recorded_at timestamp without time zone NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: bsnl_delivery_details; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.bsnl_delivery_details (
id bigint NOT NULL,
message_id character varying NOT NULL,
message_status character varying,
result character varying,
recipient_number character varying NOT NULL,
dlt_template_id character varying NOT NULL,
delivered_on timestamp without time zone,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
message character varying
);
--
-- Name: bsnl_delivery_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.bsnl_delivery_details_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: bsnl_delivery_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.bsnl_delivery_details_id_seq OWNED BY public.bsnl_delivery_details.id;
--
-- Name: call_logs; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.call_logs (
id bigint NOT NULL,
session_id character varying,
result character varying,
duration integer,
callee_phone_number character varying NOT NULL,
start_time timestamp without time zone,
end_time timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
caller_phone_number character varying NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: call_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.call_logs_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: call_logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.call_logs_id_seq OWNED BY public.call_logs.id;
--
-- Name: call_results; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.call_results (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
user_id uuid NOT NULL,
appointment_id uuid NOT NULL,
remove_reason character varying,
result_type character varying NOT NULL,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: clean_medicine_to_dosages; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.clean_medicine_to_dosages (
rxcui bigint NOT NULL,
medicine character varying NOT NULL,
dosage double precision NOT NULL
);
--
-- Name: communications; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.communications (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
appointment_id uuid,
communication_type character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
detailable_type character varying,
detailable_id bigint,
notification_id uuid
);
--
-- Name: configurations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.configurations (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name character varying NOT NULL,
value character varying NOT NULL,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: data_migrations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.data_migrations (
version character varying NOT NULL
);
--
-- Name: deduplication_logs; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.deduplication_logs (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
user_id uuid,
record_type character varying NOT NULL,
deleted_record_id character varying NOT NULL,
deduped_record_id character varying NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: drug_stocks; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.drug_stocks (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
facility_id uuid,
user_id uuid NOT NULL,
protocol_drug_id uuid NOT NULL,
in_stock integer,
received integer,
for_end_of_month date NOT NULL,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
region_id uuid NOT NULL,
redistributed integer
);
--
-- Name: email_authentications; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.email_authentications (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
email character varying DEFAULT ''::character varying NOT NULL,
encrypted_password character varying DEFAULT ''::character varying NOT NULL,
reset_password_token character varying,
reset_password_sent_at timestamp without time zone,
remember_created_at timestamp without time zone,
sign_in_count integer DEFAULT 0 NOT NULL,
current_sign_in_at timestamp without time zone,
last_sign_in_at timestamp without time zone,
current_sign_in_ip inet,
last_sign_in_ip inet,
failed_attempts integer DEFAULT 0 NOT NULL,
unlock_token character varying,
locked_at timestamp without time zone,
invitation_token character varying,
invitation_created_at timestamp without time zone,
invitation_sent_at timestamp without time zone,
invitation_accepted_at timestamp without time zone,
invitation_limit integer,
invited_by_id uuid,
invited_by_type character varying,
invitations_count integer DEFAULT 0,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
session_token character varying
);
--
-- Name: encounters; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.encounters (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
facility_id uuid NOT NULL,
patient_id uuid NOT NULL,
encountered_on date NOT NULL,
timezone_offset integer NOT NULL,
notes text,
metadata jsonb,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: estimated_populations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.estimated_populations (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
region_id uuid NOT NULL,
population integer,
diagnosis character varying DEFAULT 'HTN'::character varying NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: exotel_phone_number_details; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.exotel_phone_number_details (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
patient_phone_number_id uuid NOT NULL,
whitelist_status character varying,
whitelist_requested_at timestamp without time zone,
whitelist_status_valid_until timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: experiments; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.experiments (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name character varying NOT NULL,
experiment_type character varying NOT NULL,
start_time timestamp without time zone NOT NULL,
end_time timestamp without time zone NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
max_patients_per_day integer DEFAULT 0
);
--
-- Name: facilities_teleconsultation_medical_officers; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.facilities_teleconsultation_medical_officers (
facility_id uuid NOT NULL,
user_id uuid NOT NULL
);
--
-- Name: facility_business_identifiers; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.facility_business_identifiers (
id bigint NOT NULL,
identifier character varying NOT NULL,
identifier_type character varying NOT NULL,
facility_id uuid NOT NULL,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: facility_business_identifiers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.facility_business_identifiers_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: facility_business_identifiers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.facility_business_identifiers_id_seq OWNED BY public.facility_business_identifiers.id;
--
-- Name: facility_groups; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.facility_groups (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name character varying,
description text,
organization_id uuid NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
protocol_id uuid,
slug character varying
);
--
-- Name: flipper_features; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.flipper_features (
id bigint NOT NULL,
key character varying NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: flipper_features_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.flipper_features_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: flipper_features_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.flipper_features_id_seq OWNED BY public.flipper_features.id;
--
-- Name: flipper_gates; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.flipper_gates (
id bigint NOT NULL,
feature_key character varying NOT NULL,
key character varying NOT NULL,
value character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: flipper_gates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.flipper_gates_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: flipper_gates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.flipper_gates_id_seq OWNED BY public.flipper_gates.id;
--
-- Name: patients; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.patients (
id uuid NOT NULL,
full_name character varying,
age integer,
gender character varying,
date_of_birth date,
status character varying,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
address_id uuid,
age_updated_at timestamp without time zone,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
test_data boolean DEFAULT false NOT NULL,
registration_facility_id uuid,
registration_user_id uuid,
deleted_at timestamp without time zone,
contacted_by_counsellor boolean DEFAULT false,
could_not_contact_reason character varying,
recorded_at timestamp without time zone,
reminder_consent character varying DEFAULT 'denied'::character varying NOT NULL,
deleted_by_user_id uuid,
deleted_reason character varying,
assigned_facility_id uuid
);
--
-- Name: latest_blood_pressures_per_patient_per_months; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.latest_blood_pressures_per_patient_per_months AS
SELECT DISTINCT ON (blood_pressures.patient_id, (date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, blood_pressures.recorded_at))))::text, (date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, blood_pressures.recorded_at))))::text) blood_pressures.id AS bp_id,
blood_pressures.patient_id,
patients.registration_facility_id,
patients.assigned_facility_id,
patients.status AS patient_status,
blood_pressures.facility_id AS bp_facility_id,
timezone('UTC'::text, timezone('UTC'::text, blood_pressures.recorded_at)) AS bp_recorded_at,
timezone('UTC'::text, timezone('UTC'::text, patients.recorded_at)) AS patient_recorded_at,
blood_pressures.systolic,
blood_pressures.diastolic,
timezone('UTC'::text, timezone('UTC'::text, blood_pressures.deleted_at)) AS deleted_at,
medical_histories.hypertension AS medical_history_hypertension,
(date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, blood_pressures.recorded_at))))::text AS month,
(date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, blood_pressures.recorded_at))))::text AS quarter,
(date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, blood_pressures.recorded_at))))::text AS year
FROM ((public.blood_pressures
JOIN public.patients ON ((patients.id = blood_pressures.patient_id)))
LEFT JOIN public.medical_histories ON ((medical_histories.patient_id = blood_pressures.patient_id)))
WHERE ((blood_pressures.deleted_at IS NULL) AND (patients.deleted_at IS NULL))
ORDER BY blood_pressures.patient_id, (date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, blood_pressures.recorded_at))))::text, (date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, blood_pressures.recorded_at))))::text, blood_pressures.recorded_at DESC, blood_pressures.id
WITH NO DATA;
--
-- Name: latest_blood_pressures_per_patient_per_quarters; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.latest_blood_pressures_per_patient_per_quarters AS
SELECT DISTINCT ON (latest_blood_pressures_per_patient_per_months.patient_id, latest_blood_pressures_per_patient_per_months.year, latest_blood_pressures_per_patient_per_months.quarter) latest_blood_pressures_per_patient_per_months.bp_id,
latest_blood_pressures_per_patient_per_months.patient_id,
latest_blood_pressures_per_patient_per_months.registration_facility_id,
latest_blood_pressures_per_patient_per_months.assigned_facility_id,
latest_blood_pressures_per_patient_per_months.patient_status,
latest_blood_pressures_per_patient_per_months.bp_facility_id,
latest_blood_pressures_per_patient_per_months.bp_recorded_at,
latest_blood_pressures_per_patient_per_months.patient_recorded_at,
latest_blood_pressures_per_patient_per_months.systolic,
latest_blood_pressures_per_patient_per_months.diastolic,
latest_blood_pressures_per_patient_per_months.deleted_at,
latest_blood_pressures_per_patient_per_months.medical_history_hypertension,
latest_blood_pressures_per_patient_per_months.month,
latest_blood_pressures_per_patient_per_months.quarter,
latest_blood_pressures_per_patient_per_months.year
FROM public.latest_blood_pressures_per_patient_per_months
ORDER BY latest_blood_pressures_per_patient_per_months.patient_id, latest_blood_pressures_per_patient_per_months.year, latest_blood_pressures_per_patient_per_months.quarter, latest_blood_pressures_per_patient_per_months.bp_recorded_at DESC, latest_blood_pressures_per_patient_per_months.bp_id
WITH NO DATA;
--
-- Name: latest_blood_pressures_per_patients; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.latest_blood_pressures_per_patients AS
SELECT DISTINCT ON (latest_blood_pressures_per_patient_per_months.patient_id) latest_blood_pressures_per_patient_per_months.bp_id,
latest_blood_pressures_per_patient_per_months.patient_id,
latest_blood_pressures_per_patient_per_months.registration_facility_id,
latest_blood_pressures_per_patient_per_months.assigned_facility_id,
latest_blood_pressures_per_patient_per_months.patient_status,
latest_blood_pressures_per_patient_per_months.bp_facility_id,
latest_blood_pressures_per_patient_per_months.bp_recorded_at,
latest_blood_pressures_per_patient_per_months.patient_recorded_at,
latest_blood_pressures_per_patient_per_months.systolic,
latest_blood_pressures_per_patient_per_months.diastolic,
latest_blood_pressures_per_patient_per_months.deleted_at,
latest_blood_pressures_per_patient_per_months.medical_history_hypertension,
latest_blood_pressures_per_patient_per_months.month,
latest_blood_pressures_per_patient_per_months.quarter,
latest_blood_pressures_per_patient_per_months.year
FROM public.latest_blood_pressures_per_patient_per_months
ORDER BY latest_blood_pressures_per_patient_per_months.patient_id, latest_blood_pressures_per_patient_per_months.bp_recorded_at DESC, latest_blood_pressures_per_patient_per_months.bp_id
WITH NO DATA;
--
-- Name: patient_business_identifiers; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.patient_business_identifiers (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
identifier character varying NOT NULL,
identifier_type character varying NOT NULL,
patient_id uuid NOT NULL,
metadata_version character varying,
metadata json,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: patient_phone_numbers; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.patient_phone_numbers (
id uuid NOT NULL,
number character varying,
phone_type character varying,
active boolean,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
patient_id uuid,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
dnd_status boolean DEFAULT true NOT NULL
);
--
-- Name: materialized_patient_summaries; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.materialized_patient_summaries AS
SELECT p.recorded_at,
concat(date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))), ' Q', date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) AS registration_quarter,
p.full_name,
CASE
WHEN (p.date_of_birth IS NOT NULL) THEN date_part('year'::text, age((p.date_of_birth)::timestamp with time zone))
ELSE floor(((p.age)::double precision + date_part('year'::text, age(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.age_updated_at))))))
END AS current_age,
p.gender,
p.status,
latest_phone_number.number AS latest_phone_number,
addresses.village_or_colony,
addresses.street_address,
addresses.district,
addresses.state,
addresses.zone AS block,
reg_facility.name AS registration_facility_name,
reg_facility.facility_type AS registration_facility_type,
reg_facility.district AS registration_district,
reg_facility.state AS registration_state,
p.assigned_facility_id,
assigned_facility.name AS assigned_facility_name,
assigned_facility.facility_type AS assigned_facility_type,
assigned_facility.district AS assigned_facility_district,
assigned_facility.state AS assigned_facility_state,
latest_blood_pressure.systolic AS latest_blood_pressure_systolic,
latest_blood_pressure.diastolic AS latest_blood_pressure_diastolic,
latest_blood_pressure.recorded_at AS latest_blood_pressure_recorded_at,
concat(date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, latest_blood_pressure.recorded_at))), ' Q', date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, latest_blood_pressure.recorded_at)))) AS latest_blood_pressure_quarter,
latest_blood_pressure_facility.name AS latest_blood_pressure_facility_name,
latest_blood_pressure_facility.facility_type AS latest_blood_pressure_facility_type,
latest_blood_pressure_facility.district AS latest_blood_pressure_district,
latest_blood_pressure_facility.state AS latest_blood_pressure_state,
latest_blood_sugar.id AS latest_blood_sugar_id,
latest_blood_sugar.blood_sugar_type AS latest_blood_sugar_type,
latest_blood_sugar.blood_sugar_value AS latest_blood_sugar_value,
latest_blood_sugar.recorded_at AS latest_blood_sugar_recorded_at,
concat(date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, latest_blood_sugar.recorded_at))), ' Q', date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, latest_blood_sugar.recorded_at)))) AS latest_blood_sugar_quarter,
latest_blood_sugar_facility.name AS latest_blood_sugar_facility_name,
latest_blood_sugar_facility.facility_type AS latest_blood_sugar_facility_type,
latest_blood_sugar_facility.district AS latest_blood_sugar_district,
latest_blood_sugar_facility.state AS latest_blood_sugar_state,
GREATEST((0)::double precision, date_part('day'::text, (now() - (next_scheduled_appointment.scheduled_date)::timestamp with time zone))) AS days_overdue,
next_scheduled_appointment.id AS next_scheduled_appointment_id,
next_scheduled_appointment.scheduled_date AS next_scheduled_appointment_scheduled_date,
next_scheduled_appointment.status AS next_scheduled_appointment_status,
next_scheduled_appointment.remind_on AS next_scheduled_appointment_remind_on,
next_scheduled_appointment_facility.id AS next_scheduled_appointment_facility_id,
next_scheduled_appointment_facility.name AS next_scheduled_appointment_facility_name,
next_scheduled_appointment_facility.facility_type AS next_scheduled_appointment_facility_type,
next_scheduled_appointment_facility.district AS next_scheduled_appointment_district,
next_scheduled_appointment_facility.state AS next_scheduled_appointment_state,
CASE
WHEN (next_scheduled_appointment.scheduled_date IS NULL) THEN 0
WHEN (next_scheduled_appointment.scheduled_date > date_trunc('day'::text, (now() - '30 days'::interval))) THEN 0
WHEN ((latest_blood_pressure.systolic >= 180) OR (latest_blood_pressure.diastolic >= 110)) THEN 1
WHEN (((mh.prior_heart_attack = 'yes'::text) OR (mh.prior_stroke = 'yes'::text)) AND ((latest_blood_pressure.systolic >= 140) OR (latest_blood_pressure.diastolic >= 90))) THEN 1
WHEN ((((latest_blood_sugar.blood_sugar_type)::text = 'random'::text) AND (latest_blood_sugar.blood_sugar_value >= (300)::numeric)) OR (((latest_blood_sugar.blood_sugar_type)::text = 'post_prandial'::text) AND (latest_blood_sugar.blood_sugar_value >= (300)::numeric)) OR (((latest_blood_sugar.blood_sugar_type)::text = 'fasting'::text) AND (latest_blood_sugar.blood_sugar_value >= (200)::numeric)) OR (((latest_blood_sugar.blood_sugar_type)::text = 'hba1c'::text) AND (latest_blood_sugar.blood_sugar_value >= 9.0))) THEN 1
ELSE 0
END AS risk_level,
latest_bp_passport.id AS latest_bp_passport_id,
latest_bp_passport.identifier AS latest_bp_passport_identifier,
mh.hypertension,
mh.diabetes,
p.id
FROM ((((((((((((public.patients p
LEFT JOIN public.addresses ON ((addresses.id = p.address_id)))
LEFT JOIN public.facilities reg_facility ON ((reg_facility.id = p.registration_facility_id)))
LEFT JOIN public.facilities assigned_facility ON ((assigned_facility.id = p.assigned_facility_id)))
LEFT JOIN ( SELECT DISTINCT ON (medical_histories.patient_id) medical_histories.id,
medical_histories.patient_id,
medical_histories.prior_heart_attack_boolean,
medical_histories.prior_stroke_boolean,
medical_histories.chronic_kidney_disease_boolean,
medical_histories.receiving_treatment_for_hypertension_boolean,
medical_histories.diabetes_boolean,
medical_histories.device_created_at,
medical_histories.device_updated_at,
medical_histories.created_at,
medical_histories.updated_at,
medical_histories.diagnosed_with_hypertension_boolean,
medical_histories.prior_heart_attack,
medical_histories.prior_stroke,
medical_histories.chronic_kidney_disease,
medical_histories.receiving_treatment_for_hypertension,
medical_histories.diabetes,
medical_histories.diagnosed_with_hypertension,
medical_histories.deleted_at,
medical_histories.user_id,
medical_histories.hypertension
FROM public.medical_histories
WHERE (medical_histories.deleted_at IS NULL)) mh ON ((mh.patient_id = p.id)))
LEFT JOIN ( SELECT DISTINCT ON (patient_phone_numbers.patient_id) patient_phone_numbers.id,
patient_phone_numbers.number,
patient_phone_numbers.phone_type,
patient_phone_numbers.active,
patient_phone_numbers.created_at,
patient_phone_numbers.updated_at,
patient_phone_numbers.patient_id,
patient_phone_numbers.device_created_at,
patient_phone_numbers.device_updated_at,
patient_phone_numbers.deleted_at,
patient_phone_numbers.dnd_status
FROM public.patient_phone_numbers
WHERE (patient_phone_numbers.deleted_at IS NULL)
ORDER BY patient_phone_numbers.patient_id, patient_phone_numbers.device_created_at DESC) latest_phone_number ON ((latest_phone_number.patient_id = p.id)))
LEFT JOIN ( SELECT DISTINCT ON (blood_pressures.patient_id) blood_pressures.id,
blood_pressures.systolic,
blood_pressures.diastolic,
blood_pressures.patient_id,
blood_pressures.created_at,
blood_pressures.updated_at,
blood_pressures.device_created_at,
blood_pressures.device_updated_at,
blood_pressures.facility_id,
blood_pressures.user_id,
blood_pressures.deleted_at,
blood_pressures.recorded_at
FROM public.blood_pressures
WHERE (blood_pressures.deleted_at IS NULL)
ORDER BY blood_pressures.patient_id, blood_pressures.recorded_at DESC) latest_blood_pressure ON ((latest_blood_pressure.patient_id = p.id)))
LEFT JOIN public.facilities latest_blood_pressure_facility ON ((latest_blood_pressure_facility.id = latest_blood_pressure.facility_id)))
LEFT JOIN ( SELECT DISTINCT ON (blood_sugars.patient_id) blood_sugars.id,
blood_sugars.blood_sugar_type,
blood_sugars.blood_sugar_value,
blood_sugars.patient_id,
blood_sugars.user_id,
blood_sugars.facility_id,
blood_sugars.device_created_at,
blood_sugars.device_updated_at,
blood_sugars.deleted_at,
blood_sugars.recorded_at,
blood_sugars.created_at,
blood_sugars.updated_at
FROM public.blood_sugars
WHERE (blood_sugars.deleted_at IS NULL)
ORDER BY blood_sugars.patient_id, blood_sugars.recorded_at DESC) latest_blood_sugar ON ((latest_blood_sugar.patient_id = p.id)))
LEFT JOIN public.facilities latest_blood_sugar_facility ON ((latest_blood_sugar_facility.id = latest_blood_sugar.facility_id)))
LEFT JOIN ( SELECT DISTINCT ON (patient_business_identifiers.patient_id) patient_business_identifiers.id,
patient_business_identifiers.identifier,
patient_business_identifiers.identifier_type,
patient_business_identifiers.patient_id,
patient_business_identifiers.metadata_version,
patient_business_identifiers.metadata,
patient_business_identifiers.device_created_at,
patient_business_identifiers.device_updated_at,
patient_business_identifiers.deleted_at,
patient_business_identifiers.created_at,
patient_business_identifiers.updated_at
FROM public.patient_business_identifiers
WHERE (((patient_business_identifiers.identifier_type)::text = 'simple_bp_passport'::text) AND (patient_business_identifiers.deleted_at IS NULL))
ORDER BY patient_business_identifiers.patient_id, patient_business_identifiers.device_created_at DESC) latest_bp_passport ON ((latest_bp_passport.patient_id = p.id)))
LEFT JOIN ( SELECT DISTINCT ON (appointments.patient_id) appointments.id,
appointments.patient_id,
appointments.facility_id,
appointments.scheduled_date,
appointments.status,
appointments.cancel_reason,
appointments.device_created_at,
appointments.device_updated_at,
appointments.created_at,
appointments.updated_at,
appointments.remind_on,
appointments.agreed_to_visit,
appointments.deleted_at,
appointments.appointment_type,
appointments.user_id,
appointments.creation_facility_id
FROM public.appointments
WHERE (((appointments.status)::text = 'scheduled'::text) AND (appointments.deleted_at IS NULL))
ORDER BY appointments.patient_id, appointments.scheduled_date DESC) next_scheduled_appointment ON ((next_scheduled_appointment.patient_id = p.id)))
LEFT JOIN public.facilities next_scheduled_appointment_facility ON ((next_scheduled_appointment_facility.id = next_scheduled_appointment.facility_id)))
WHERE (p.deleted_at IS NULL)
WITH NO DATA;
--
-- Name: medicine_purposes; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.medicine_purposes (
name character varying NOT NULL,
hypertension boolean NOT NULL,
diabetes boolean NOT NULL
);
--
-- Name: notifications; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.notifications (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
remind_on date NOT NULL,
status character varying NOT NULL,
message character varying NOT NULL,
experiment_id uuid,
reminder_template_id uuid,
patient_id uuid NOT NULL,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
subject_type character varying,
subject_id uuid,
purpose character varying NOT NULL
);
--
-- Name: observations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.observations (
id bigint NOT NULL,
encounter_id uuid NOT NULL,
user_id uuid NOT NULL,
observable_type character varying,
observable_id uuid,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: observations_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.observations_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: observations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.observations_id_seq OWNED BY public.observations.id;
--
-- Name: organizations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.organizations (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name character varying NOT NULL,
description text,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
slug character varying
);
--
-- Name: passport_authentications; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.passport_authentications (
id bigint NOT NULL,
access_token character varying NOT NULL,
otp character varying NOT NULL,
otp_expires_at timestamp without time zone NOT NULL,
patient_business_identifier_id uuid NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: passport_authentications_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.passport_authentications_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: passport_authentications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.passport_authentications_id_seq OWNED BY public.passport_authentications.id;
--
-- Name: patient_registrations_per_day_per_facilities; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.patient_registrations_per_day_per_facilities AS
SELECT count(patients.id) AS registration_count,
patients.registration_facility_id AS facility_id,
timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, facilities.deleted_at)) AS deleted_at,
(date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text AS day,
(date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text AS month,
(date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text AS quarter,
(date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text AS year
FROM ((public.patients
JOIN public.facilities ON ((patients.registration_facility_id = facilities.id)))
JOIN public.medical_histories ON (((patients.id = medical_histories.patient_id) AND (medical_histories.hypertension = 'yes'::text))))
WHERE (patients.deleted_at IS NULL)
GROUP BY (date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text, (date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text, (date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text, (date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, patients.recorded_at))))::text, patients.registration_facility_id, facilities.deleted_at
WITH NO DATA;
--
-- Name: patient_summaries; Type: VIEW; Schema: public; Owner: -
--
CREATE VIEW public.patient_summaries AS
SELECT p.recorded_at,
concat(date_part('year'::text, p.recorded_at), ' Q', date_part('quarter'::text, p.recorded_at)) AS registration_quarter,
p.full_name,
CASE
WHEN (p.date_of_birth IS NOT NULL) THEN date_part('year'::text, age((p.date_of_birth)::timestamp with time zone))
ELSE ((p.age)::double precision + date_part('years'::text, age(now(), (p.age_updated_at)::timestamp with time zone)))
END AS current_age,
p.gender,
p.status,
p.assigned_facility_id,
latest_phone_number.number AS latest_phone_number,
addresses.village_or_colony,
addresses.street_address,
addresses.district,
addresses.state,
reg_facility.name AS registration_facility_name,
reg_facility.facility_type AS registration_facility_type,
reg_facility.district AS registration_district,
reg_facility.state AS registration_state,
latest_blood_pressure.systolic AS latest_blood_pressure_systolic,
latest_blood_pressure.diastolic AS latest_blood_pressure_diastolic,
latest_blood_pressure.recorded_at AS latest_blood_pressure_recorded_at,
concat(date_part('year'::text, latest_blood_pressure.recorded_at), ' Q', date_part('quarter'::text, latest_blood_pressure.recorded_at)) AS latest_blood_pressure_quarter,
latest_blood_pressure_facility.name AS latest_blood_pressure_facility_name,
latest_blood_pressure_facility.facility_type AS latest_blood_pressure_facility_type,
latest_blood_pressure_facility.district AS latest_blood_pressure_district,
latest_blood_pressure_facility.state AS latest_blood_pressure_state,
latest_blood_sugar.blood_sugar_type AS latest_blood_sugar_type,
latest_blood_sugar.blood_sugar_value AS latest_blood_sugar_value,
latest_blood_sugar.recorded_at AS latest_blood_sugar_recorded_at,
concat(date_part('year'::text, latest_blood_sugar.recorded_at), ' Q', date_part('quarter'::text, latest_blood_sugar.recorded_at)) AS latest_blood_sugar_quarter,
latest_blood_sugar_facility.name AS latest_blood_sugar_facility_name,
latest_blood_sugar_facility.facility_type AS latest_blood_sugar_facility_type,
latest_blood_sugar_facility.district AS latest_blood_sugar_district,
latest_blood_sugar_facility.state AS latest_blood_sugar_state,
GREATEST((0)::double precision, date_part('day'::text, (now() - (next_appointment.scheduled_date)::timestamp with time zone))) AS days_overdue,
next_appointment.id AS next_appointment_id,
next_appointment.scheduled_date AS next_appointment_scheduled_date,
next_appointment.status AS next_appointment_status,
next_appointment.cancel_reason AS next_appointment_cancel_reason,
next_appointment.remind_on AS next_appointment_remind_on,
next_appointment_facility.id AS next_appointment_facility_id,
next_appointment_facility.name AS next_appointment_facility_name,
next_appointment_facility.facility_type AS next_appointment_facility_type,
next_appointment_facility.district AS next_appointment_district,
next_appointment_facility.state AS next_appointment_state,
CASE
WHEN (next_appointment.scheduled_date IS NULL) THEN 0
WHEN (next_appointment.scheduled_date > date_trunc('day'::text, (now() - '30 days'::interval))) THEN 0
WHEN ((latest_blood_pressure.systolic >= 180) OR (latest_blood_pressure.diastolic >= 110)) THEN 1
WHEN (((mh.prior_heart_attack = 'yes'::text) OR (mh.prior_stroke = 'yes'::text)) AND ((latest_blood_pressure.systolic >= 140) OR (latest_blood_pressure.diastolic >= 90))) THEN 1
WHEN ((((latest_blood_sugar.blood_sugar_type)::text = 'random'::text) AND (latest_blood_sugar.blood_sugar_value >= (300)::numeric)) OR (((latest_blood_sugar.blood_sugar_type)::text = 'post_prandial'::text) AND (latest_blood_sugar.blood_sugar_value >= (300)::numeric)) OR (((latest_blood_sugar.blood_sugar_type)::text = 'fasting'::text) AND (latest_blood_sugar.blood_sugar_value >= (200)::numeric)) OR (((latest_blood_sugar.blood_sugar_type)::text = 'hba1c'::text) AND (latest_blood_sugar.blood_sugar_value >= 9.0))) THEN 1
ELSE 0
END AS risk_level,
latest_bp_passport.id AS latest_bp_passport_id,
latest_bp_passport.identifier AS latest_bp_passport_identifier,
p.id
FROM (((((((((((public.patients p
LEFT JOIN public.addresses ON ((addresses.id = p.address_id)))
LEFT JOIN public.facilities reg_facility ON ((reg_facility.id = p.registration_facility_id)))
LEFT JOIN public.medical_histories mh ON ((mh.patient_id = p.id)))
LEFT JOIN LATERAL ( SELECT ppn.id,
ppn.number,
ppn.phone_type,
ppn.active,
ppn.created_at,
ppn.updated_at,
ppn.patient_id,
ppn.device_created_at,
ppn.device_updated_at,
ppn.deleted_at,
ppn.dnd_status
FROM public.patient_phone_numbers ppn
WHERE (ppn.patient_id = p.id)
ORDER BY ppn.device_created_at DESC
LIMIT 1) latest_phone_number ON (true))
LEFT JOIN LATERAL ( SELECT bp.id,
bp.systolic,
bp.diastolic,
bp.patient_id,
bp.created_at,
bp.updated_at,
bp.device_created_at,
bp.device_updated_at,
bp.facility_id,
bp.user_id,
bp.deleted_at,
bp.recorded_at
FROM public.blood_pressures bp
WHERE (bp.patient_id = p.id)
ORDER BY bp.recorded_at DESC
LIMIT 1) latest_blood_pressure ON (true))
LEFT JOIN public.facilities latest_blood_pressure_facility ON ((latest_blood_pressure_facility.id = latest_blood_pressure.facility_id)))
LEFT JOIN LATERAL ( SELECT bs.id,
bs.blood_sugar_type,
bs.blood_sugar_value,
bs.patient_id,
bs.user_id,
bs.facility_id,
bs.device_created_at,
bs.device_updated_at,
bs.deleted_at,
bs.recorded_at,
bs.created_at,
bs.updated_at
FROM public.blood_sugars bs
WHERE (bs.patient_id = p.id)
ORDER BY bs.recorded_at DESC
LIMIT 1) latest_blood_sugar ON (true))
LEFT JOIN public.facilities latest_blood_sugar_facility ON ((latest_blood_sugar_facility.id = latest_blood_sugar.facility_id)))
LEFT JOIN LATERAL ( SELECT bp_passport.id,
bp_passport.identifier,
bp_passport.identifier_type,
bp_passport.patient_id,
bp_passport.metadata_version,
bp_passport.metadata,
bp_passport.device_created_at,
bp_passport.device_updated_at,
bp_passport.deleted_at,
bp_passport.created_at,
bp_passport.updated_at
FROM public.patient_business_identifiers bp_passport
WHERE (((bp_passport.identifier_type)::text = 'simple_bp_passport'::text) AND (bp_passport.patient_id = p.id))
ORDER BY bp_passport.device_created_at DESC
LIMIT 1) latest_bp_passport ON (true))
LEFT JOIN LATERAL ( SELECT a.id,
a.patient_id,
a.facility_id,
a.scheduled_date,
a.status,
a.cancel_reason,
a.device_created_at,
a.device_updated_at,
a.created_at,
a.updated_at,
a.remind_on,
a.agreed_to_visit,
a.deleted_at,
a.appointment_type,
a.user_id,
a.creation_facility_id
FROM public.appointments a
WHERE (a.patient_id = p.id)
ORDER BY a.scheduled_date DESC
LIMIT 1) next_appointment ON (true))
LEFT JOIN public.facilities next_appointment_facility ON ((next_appointment_facility.id = next_appointment.facility_id)))
WHERE (p.deleted_at IS NULL);
--
-- Name: phone_number_authentications; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.phone_number_authentications (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
phone_number character varying NOT NULL,
password_digest character varying NOT NULL,
otp character varying NOT NULL,
otp_expires_at timestamp without time zone NOT NULL,
logged_in_at timestamp without time zone,
access_token character varying NOT NULL,
registration_facility_id uuid,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
failed_attempts integer DEFAULT 0 NOT NULL,
locked_at timestamp without time zone
);
--
-- Name: prescription_drugs; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.prescription_drugs (
id uuid NOT NULL,
name character varying NOT NULL,
rxnorm_code character varying,
dosage character varying,
device_created_at timestamp without time zone NOT NULL,
device_updated_at timestamp without time zone NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
patient_id uuid NOT NULL,
facility_id uuid NOT NULL,
is_protocol_drug boolean NOT NULL,
is_deleted boolean NOT NULL,
deleted_at timestamp without time zone,
user_id uuid,
frequency character varying,
duration_in_days integer,
teleconsultation_id uuid
);
--
-- Name: protocol_drugs; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.protocol_drugs (
id uuid NOT NULL,
name character varying NOT NULL,
dosage character varying NOT NULL,
rxnorm_code character varying,
protocol_id uuid,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
drug_category character varying,
stock_tracked boolean DEFAULT false NOT NULL
);
--
-- Name: protocols; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.protocols (
id uuid NOT NULL,
name character varying NOT NULL,
follow_up_days integer,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: raw_to_clean_medicines; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.raw_to_clean_medicines (
raw_name character varying NOT NULL,
raw_dosage character varying NOT NULL,
rxcui bigint NOT NULL
);
--
-- Name: regions; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.regions (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name character varying NOT NULL,
slug character varying NOT NULL,
description character varying,
source_type character varying,
source_id uuid,
path public.ltree,
deleted_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
region_type character varying NOT NULL
);
--
-- Name: reminder_templates; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.reminder_templates (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
message character varying NOT NULL,
remind_on_in_days integer NOT NULL,
treatment_group_id uuid NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: reporting_daily_follow_ups; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_daily_follow_ups AS
WITH follow_up_blood_pressures AS (
SELECT DISTINCT ON (p.id, bp.facility_id, ((date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at))))::integer)) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
bp.id AS visit_id,
'BloodPressure'::text AS visit_type,
bp.facility_id,
bp.user_id,
bp.recorded_at AS visited_at,
(date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at))))::integer AS day_of_year
FROM (public.patients p
JOIN public.blood_pressures bp ON (((p.id = bp.patient_id) AND (date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at))) > date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE ((p.deleted_at IS NULL) AND (bp.recorded_at > (CURRENT_TIMESTAMP - '30 days'::interval)))
), follow_up_blood_sugars AS (
SELECT DISTINCT ON (p.id, bs.facility_id, ((date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at))))::integer)) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
bs.id AS visit_id,
'BloodSugar'::text AS visit_type,
bs.facility_id,
bs.user_id,
bs.recorded_at AS visited_at,
(date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at))))::integer AS day_of_year
FROM (public.patients p
JOIN public.blood_sugars bs ON (((p.id = bs.patient_id) AND (date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at))) > date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE ((p.deleted_at IS NULL) AND (bs.recorded_at > (CURRENT_TIMESTAMP - '30 days'::interval)))
), follow_up_prescription_drugs AS (
SELECT DISTINCT ON (p.id, pd.facility_id, ((date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, pd.device_created_at))))::integer)) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
pd.id AS visit_id,
'PrescriptionDrug'::text AS visit_type,
pd.facility_id,
pd.user_id,
pd.device_created_at AS visited_at,
(date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, pd.device_created_at))))::integer AS day_of_year
FROM (public.patients p
JOIN public.prescription_drugs pd ON (((p.id = pd.patient_id) AND (date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, pd.device_created_at))) > date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE ((p.deleted_at IS NULL) AND (pd.device_created_at > (CURRENT_TIMESTAMP - '30 days'::interval)))
), follow_up_appointments AS (
SELECT DISTINCT ON (p.id, app.creation_facility_id, ((date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, app.device_created_at))))::integer)) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
app.id AS visit_id,
'Appointment'::text AS visit_type,
app.creation_facility_id AS facility_id,
app.user_id,
app.device_created_at AS visited_at,
(date_part('doy'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, app.device_created_at))))::integer AS day_of_year
FROM (public.patients p
JOIN public.appointments app ON (((p.id = app.patient_id) AND (date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, app.device_created_at))) > date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE ((p.deleted_at IS NULL) AND (app.device_created_at > (CURRENT_TIMESTAMP - '30 days'::interval)))
), all_follow_ups AS (
SELECT follow_up_blood_pressures.patient_id,
follow_up_blood_pressures.patient_gender,
follow_up_blood_pressures.visit_id,
follow_up_blood_pressures.visit_type,
follow_up_blood_pressures.facility_id,
follow_up_blood_pressures.user_id,
follow_up_blood_pressures.visited_at,
follow_up_blood_pressures.day_of_year
FROM follow_up_blood_pressures
UNION
SELECT follow_up_blood_sugars.patient_id,
follow_up_blood_sugars.patient_gender,
follow_up_blood_sugars.visit_id,
follow_up_blood_sugars.visit_type,
follow_up_blood_sugars.facility_id,
follow_up_blood_sugars.user_id,
follow_up_blood_sugars.visited_at,
follow_up_blood_sugars.day_of_year
FROM follow_up_blood_sugars
UNION
SELECT follow_up_prescription_drugs.patient_id,
follow_up_prescription_drugs.patient_gender,
follow_up_prescription_drugs.visit_id,
follow_up_prescription_drugs.visit_type,
follow_up_prescription_drugs.facility_id,
follow_up_prescription_drugs.user_id,
follow_up_prescription_drugs.visited_at,
follow_up_prescription_drugs.day_of_year
FROM follow_up_prescription_drugs
UNION
SELECT follow_up_appointments.patient_id,
follow_up_appointments.patient_gender,
follow_up_appointments.visit_id,
follow_up_appointments.visit_type,
follow_up_appointments.facility_id,
follow_up_appointments.user_id,
follow_up_appointments.visited_at,
follow_up_appointments.day_of_year
FROM follow_up_appointments
)
SELECT DISTINCT ON (all_follow_ups.day_of_year, all_follow_ups.facility_id, all_follow_ups.patient_id) all_follow_ups.patient_id,
all_follow_ups.patient_gender,
all_follow_ups.facility_id,
mh.diabetes,
mh.hypertension,
all_follow_ups.user_id,
all_follow_ups.visit_id,
all_follow_ups.visit_type,
all_follow_ups.visited_at,
all_follow_ups.day_of_year
FROM (all_follow_ups
JOIN public.medical_histories mh ON ((all_follow_ups.patient_id = mh.patient_id)))
WITH NO DATA;
--
-- Name: reporting_facilities; Type: VIEW; Schema: public; Owner: -
--
CREATE VIEW public.reporting_facilities AS
SELECT facilities.id AS facility_id,
facilities.name AS facility_name,
facilities.facility_type,
facilities.facility_size,
facility_regions.id AS facility_region_id,
facility_regions.name AS facility_region_name,
facility_regions.slug AS facility_region_slug,
block_regions.id AS block_region_id,
block_regions.name AS block_name,
block_regions.slug AS block_slug,
district_regions.source_id AS district_id,
district_regions.id AS district_region_id,
district_regions.name AS district_name,
district_regions.slug AS district_slug,
state_regions.id AS state_region_id,
state_regions.name AS state_name,
state_regions.slug AS state_slug,
org_regions.source_id AS organization_id,
org_regions.id AS organization_region_id,
org_regions.name AS organization_name,
org_regions.slug AS organization_slug
FROM (((((public.regions facility_regions
JOIN public.facilities ON ((facilities.id = facility_regions.source_id)))
JOIN public.regions block_regions ON ((block_regions.path OPERATOR(public.=) public.subpath(facility_regions.path, 0, '-1'::integer))))
JOIN public.regions district_regions ON ((district_regions.path OPERATOR(public.=) public.subpath(block_regions.path, 0, '-1'::integer))))
JOIN public.regions state_regions ON ((state_regions.path OPERATOR(public.=) public.subpath(district_regions.path, 0, '-1'::integer))))
JOIN public.regions org_regions ON ((org_regions.path OPERATOR(public.=) public.subpath(state_regions.path, 0, '-1'::integer))))
WHERE ((facility_regions.region_type)::text = 'facility'::text);
--
-- Name: VIEW reporting_facilities; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON VIEW public.reporting_facilities IS 'List of Simple facililities with size, type, and geographical information. These facilities are used to segment reports by region.';
--
-- Name: COLUMN reporting_facilities.facility_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.facility_id IS 'ID of the facility';
--
-- Name: COLUMN reporting_facilities.facility_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.facility_name IS 'Name of the facility';
--
-- Name: COLUMN reporting_facilities.facility_type; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.facility_type IS 'Type of the facility (eg. ''District Hospital'')';
--
-- Name: COLUMN reporting_facilities.facility_size; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.facility_size IS 'Size of the facility (community, small, medium, large)';
--
-- Name: COLUMN reporting_facilities.facility_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.facility_region_id IS 'ID of the facility region';
--
-- Name: COLUMN reporting_facilities.facility_region_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.facility_region_name IS 'Name of the facility region. Usually the same as the facility name';
--
-- Name: COLUMN reporting_facilities.facility_region_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.facility_region_slug IS 'Human readable ID of the facility region';
--
-- Name: COLUMN reporting_facilities.block_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.block_region_id IS 'ID of the block region that the facility is in';
--
-- Name: COLUMN reporting_facilities.block_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.block_name IS 'Name of the block region that the facility is in';
--
-- Name: COLUMN reporting_facilities.block_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.block_slug IS 'Human readable ID of the block region that the facility is in';
--
-- Name: COLUMN reporting_facilities.district_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.district_id IS 'ID of the facility group that the facility is in';
--
-- Name: COLUMN reporting_facilities.district_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.district_region_id IS 'ID of the district region that the facility is in';
--
-- Name: COLUMN reporting_facilities.district_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.district_name IS 'Name of the district region that the facility is in';
--
-- Name: COLUMN reporting_facilities.district_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.district_slug IS 'Human readable ID of the district region that the facility is in';
--
-- Name: COLUMN reporting_facilities.state_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.state_region_id IS 'ID of the state region that the facility is in';
--
-- Name: COLUMN reporting_facilities.state_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.state_name IS 'Name of the state region that the facility is in';
--
-- Name: COLUMN reporting_facilities.state_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.state_slug IS 'Human readable ID of the state region that the facility is in';
--
-- Name: COLUMN reporting_facilities.organization_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.organization_id IS 'ID of the organization that the facility is in';
--
-- Name: COLUMN reporting_facilities.organization_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.organization_region_id IS 'ID of the organization region that the facility is in';
--
-- Name: COLUMN reporting_facilities.organization_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.organization_name IS 'Name of the organization region that the facility is in';
--
-- Name: COLUMN reporting_facilities.organization_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facilities.organization_slug IS 'Human readable ID of the organization region that the facility is in';
--
-- Name: reporting_facility_appointment_scheduled_days; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_facility_appointment_scheduled_days AS
WITH latest_appointments_per_patient_per_month AS (
SELECT DISTINCT ON (a.patient_id, (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, a.device_created_at)), 'YYYY-MM-01'::text))::date) a.id,
a.patient_id,
a.facility_id,
a.scheduled_date,
a.status,
a.cancel_reason,
a.device_created_at,
a.device_updated_at,
a.created_at,
a.updated_at,
a.remind_on,
a.agreed_to_visit,
a.deleted_at,
a.appointment_type,
a.user_id,
a.creation_facility_id,
mh.hypertension,
mh.diabetes,
(to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, a.device_created_at)), 'YYYY-MM-01'::text))::date AS month_date
FROM ((public.appointments a
JOIN public.patients p ON ((p.id = a.patient_id)))
JOIN public.medical_histories mh ON ((mh.patient_id = a.patient_id)))
WHERE ((a.scheduled_date >= date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, a.device_created_at)))) AND (a.device_created_at >= date_trunc('month'::text, (timezone('UTC'::text, now()) - '6 mons'::interval))) AND (date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, a.device_created_at))) > date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) AND (p.deleted_at IS NULL) AND (a.deleted_at IS NULL) AND ((mh.hypertension = 'yes'::text) OR (mh.diabetes = 'yes'::text)))
ORDER BY a.patient_id, (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, a.device_created_at)), 'YYYY-MM-01'::text))::date, a.device_created_at DESC
), scheduled_days_distribution AS (
SELECT latest_appointments_per_patient_per_month.month_date,
width_bucket((date_part('days'::text, ((latest_appointments_per_patient_per_month.scheduled_date)::timestamp without time zone - date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, latest_appointments_per_patient_per_month.device_created_at))))))::integer, ARRAY[0, 15, 32, 63]) AS bucket,
count(*) AS number_of_appointments,
latest_appointments_per_patient_per_month.hypertension,
latest_appointments_per_patient_per_month.diabetes,
latest_appointments_per_patient_per_month.creation_facility_id AS facility_id
FROM latest_appointments_per_patient_per_month
GROUP BY (width_bucket((date_part('days'::text, ((latest_appointments_per_patient_per_month.scheduled_date)::timestamp without time zone - date_trunc('day'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, latest_appointments_per_patient_per_month.device_created_at))))))::integer, ARRAY[0, 15, 32, 63])), latest_appointments_per_patient_per_month.creation_facility_id, latest_appointments_per_patient_per_month.month_date, latest_appointments_per_patient_per_month.hypertension, latest_appointments_per_patient_per_month.diabetes
)
SELECT scheduled_days_distribution.facility_id,
scheduled_days_distribution.month_date,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 1) AND (scheduled_days_distribution.hypertension = 'yes'::text))))::integer AS htn_appts_scheduled_0_to_14_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 2) AND (scheduled_days_distribution.hypertension = 'yes'::text))))::integer AS htn_appts_scheduled_15_to_31_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 3) AND (scheduled_days_distribution.hypertension = 'yes'::text))))::integer AS htn_appts_scheduled_32_to_62_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 4) AND (scheduled_days_distribution.hypertension = 'yes'::text))))::integer AS htn_appts_scheduled_more_than_62_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE (scheduled_days_distribution.hypertension = 'yes'::text)))::integer AS htn_total_appts_scheduled,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 1) AND (scheduled_days_distribution.diabetes = 'yes'::text))))::integer AS diabetes_appts_scheduled_0_to_14_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 2) AND (scheduled_days_distribution.diabetes = 'yes'::text))))::integer AS diabetes_appts_scheduled_15_to_31_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 3) AND (scheduled_days_distribution.diabetes = 'yes'::text))))::integer AS diabetes_appts_scheduled_32_to_62_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE ((scheduled_days_distribution.bucket = 4) AND (scheduled_days_distribution.diabetes = 'yes'::text))))::integer AS diabetes_appts_scheduled_more_than_62_days,
(sum(scheduled_days_distribution.number_of_appointments) FILTER (WHERE (scheduled_days_distribution.diabetes = 'yes'::text)))::integer AS diabetes_total_appts_scheduled
FROM scheduled_days_distribution
GROUP BY scheduled_days_distribution.facility_id, scheduled_days_distribution.month_date
WITH NO DATA;
--
-- Name: reporting_months; Type: VIEW; Schema: public; Owner: -
--
CREATE VIEW public.reporting_months AS
WITH month_dates AS (
SELECT date(generate_series.generate_series) AS month_date
FROM generate_series(('2018-01-01'::date)::timestamp with time zone, (CURRENT_DATE)::timestamp with time zone, '1 mon'::interval) generate_series(generate_series)
)
SELECT month_dates.month_date,
date_part('month'::text, month_dates.month_date) AS month,
date_part('quarter'::text, month_dates.month_date) AS quarter,
date_part('year'::text, month_dates.month_date) AS year,
to_char((month_dates.month_date)::timestamp with time zone, 'YYYY-MM'::text) AS month_string,
to_char((month_dates.month_date)::timestamp with time zone, 'YYYY-Q'::text) AS quarter_string
FROM month_dates;
--
-- Name: VIEW reporting_months; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON VIEW public.reporting_months IS 'List of calendar months with relevant calendar information. These months are used to segment reports by time into monthly or quarterly reports.';
--
-- Name: COLUMN reporting_months.month_date; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_months.month_date IS 'A date representing the first day of the month';
--
-- Name: COLUMN reporting_months.month; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_months.month IS 'The ordinal number of the month in the year. Eg. January = 1, February = 2, March = 3, etc.';
--
-- Name: COLUMN reporting_months.quarter; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_months.quarter IS 'The quarter number that the month falls in. Jan-Mar = 1, Apr-June = 2, Jul-Sept = 3, Oct-Dec = 4';
--
-- Name: COLUMN reporting_months.year; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_months.year IS 'The calendar year';
--
-- Name: COLUMN reporting_months.month_string; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_months.month_string IS 'A human readable version of the month in YYYY-MM format';
--
-- Name: COLUMN reporting_months.quarter_string; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_months.quarter_string IS 'A human readable version of the quarter that the month is in, in YYYY-Q format';
--
-- Name: reporting_patient_blood_pressures; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_patient_blood_pressures AS
SELECT DISTINCT ON (bp.patient_id, cal.month_date) cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string,
timezone('UTC'::text, timezone('UTC'::text, bp.recorded_at)) AS blood_pressure_recorded_at,
bp.id AS blood_pressure_id,
bp.patient_id,
bp.systolic,
bp.diastolic,
bp.facility_id AS blood_pressure_facility_id,
timezone('UTC'::text, timezone('UTC'::text, p.recorded_at)) AS patient_registered_at,
p.assigned_facility_id AS patient_assigned_facility_id,
p.registration_facility_id AS patient_registration_facility_id,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) * (12)::double precision) + (cal.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))))) AS months_since_registration,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) * (4)::double precision) + (cal.quarter - date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))))) AS quarters_since_registration,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at)))) * (12)::double precision) + (cal.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at))))) AS months_since_bp,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at)))) * (4)::double precision) + (cal.quarter - date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at))))) AS quarters_since_bp
FROM ((public.blood_pressures bp
LEFT JOIN public.reporting_months cal ON ((to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at)), 'YYYY-MM'::text) <= to_char((cal.month_date)::timestamp with time zone, 'YYYY-MM'::text))))
JOIN public.patients p ON (((bp.patient_id = p.id) AND (p.deleted_at IS NULL))))
WHERE (bp.deleted_at IS NULL)
ORDER BY bp.patient_id, cal.month_date, bp.recorded_at DESC
WITH NO DATA;
--
-- Name: reporting_patient_blood_sugars; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_patient_blood_sugars AS
SELECT DISTINCT ON (bs.patient_id, cal.month_date) cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string,
timezone('UTC'::text, timezone('UTC'::text, bs.recorded_at)) AS blood_sugar_recorded_at,
bs.id AS blood_sugar_id,
bs.patient_id,
bs.blood_sugar_type,
bs.blood_sugar_value,
bs.facility_id AS blood_sugar_facility_id,
CASE
WHEN (((bs.blood_sugar_type)::text = 'random'::text) OR ((bs.blood_sugar_type)::text = 'post_prandial'::text)) THEN
CASE
WHEN (bs.blood_sugar_value < 200.0) THEN 'bs_below_200'::text
WHEN ((bs.blood_sugar_value >= 200.0) AND (bs.blood_sugar_value < 300.0)) THEN 'bs_200_to_300'::text
WHEN (bs.blood_sugar_value >= 300.0) THEN 'bs_over_300'::text
ELSE NULL::text
END
WHEN ((bs.blood_sugar_type)::text = 'fasting'::text) THEN
CASE
WHEN (bs.blood_sugar_value < 126.0) THEN 'bs_below_200'::text
WHEN ((bs.blood_sugar_value >= 126.0) AND (bs.blood_sugar_value < 200.0)) THEN 'bs_200_to_300'::text
WHEN (bs.blood_sugar_value >= 200.0) THEN 'bs_over_300'::text
ELSE NULL::text
END
WHEN ((bs.blood_sugar_type)::text = 'hba1c'::text) THEN
CASE
WHEN (bs.blood_sugar_value < 7.0) THEN 'bs_below_200'::text
WHEN ((bs.blood_sugar_value >= 7.0) AND (bs.blood_sugar_value < 9.0)) THEN 'bs_200_to_300'::text
WHEN (bs.blood_sugar_value >= 9.0) THEN 'bs_over_300'::text
ELSE NULL::text
END
ELSE NULL::text
END AS blood_sugar_risk_state,
timezone('UTC'::text, timezone('UTC'::text, p.recorded_at)) AS patient_registered_at,
p.assigned_facility_id AS patient_assigned_facility_id,
p.registration_facility_id AS patient_registration_facility_id,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) * (12)::double precision) + (cal.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))))) AS months_since_registration,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) * (4)::double precision) + (cal.quarter - date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))))) AS quarters_since_registration,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at)))) * (12)::double precision) + (cal.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at))))) AS months_since_bs,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at)))) * (4)::double precision) + (cal.quarter - date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at))))) AS quarters_since_bs
FROM ((public.blood_sugars bs
LEFT JOIN public.reporting_months cal ON ((to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at)), 'YYYY-MM'::text) <= to_char((cal.month_date)::timestamp with time zone, 'YYYY-MM'::text))))
JOIN public.patients p ON (((bs.patient_id = p.id) AND (p.deleted_at IS NULL))))
WHERE (bs.deleted_at IS NULL)
ORDER BY bs.patient_id, cal.month_date, bs.recorded_at DESC
WITH NO DATA;
--
-- Name: reporting_patient_follow_ups; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_patient_follow_ups AS
WITH follow_up_blood_pressures AS (
SELECT DISTINCT ON (p.id, bp.facility_id, bp.user_id, (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at)), 'YYYY-MM'::text))) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
bp.id AS visit_id,
'BloodPressure'::text AS visit_type,
bp.facility_id,
bp.user_id,
bp.recorded_at AS visited_at,
to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at)), 'YYYY-MM'::text) AS month_string
FROM (public.patients p
JOIN public.blood_pressures bp ON (((p.id = bp.patient_id) AND (date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bp.recorded_at))) > date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE (p.deleted_at IS NULL)
), follow_up_blood_sugars AS (
SELECT DISTINCT ON (p.id, bs.facility_id, bs.user_id, (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at)), 'YYYY-MM'::text))) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
bs.id AS visit_id,
'BloodSugar'::text AS visit_type,
bs.facility_id,
bs.user_id,
bs.recorded_at AS visited_at,
to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at)), 'YYYY-MM'::text) AS month_string
FROM (public.patients p
JOIN public.blood_sugars bs ON (((p.id = bs.patient_id) AND (date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, bs.recorded_at))) > date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE (p.deleted_at IS NULL)
), follow_up_prescription_drugs AS (
SELECT DISTINCT ON (p.id, pd.facility_id, pd.user_id, (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, pd.device_created_at)), 'YYYY-MM'::text))) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
pd.id AS visit_id,
'PrescriptionDrug'::text AS visit_type,
pd.facility_id,
pd.user_id,
pd.device_created_at AS visited_at,
to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, pd.device_created_at)), 'YYYY-MM'::text) AS month_string
FROM (public.patients p
JOIN public.prescription_drugs pd ON (((p.id = pd.patient_id) AND (date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, pd.device_created_at))) > date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE (p.deleted_at IS NULL)
), follow_up_appointments AS (
SELECT DISTINCT ON (p.id, app.creation_facility_id, app.user_id, (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, app.device_created_at)), 'YYYY-MM'::text))) p.id AS patient_id,
(p.gender)::public.gender_enum AS patient_gender,
app.id AS visit_id,
'Appointment'::text AS visit_type,
app.creation_facility_id AS facility_id,
app.user_id,
app.device_created_at AS visited_at,
to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, app.device_created_at)), 'YYYY-MM'::text) AS month_string
FROM (public.patients p
JOIN public.appointments app ON (((p.id = app.patient_id) AND (date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, app.device_created_at))) > date_trunc('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))))))
WHERE (p.deleted_at IS NULL)
), all_follow_ups AS (
SELECT follow_up_blood_pressures.patient_id,
follow_up_blood_pressures.patient_gender,
follow_up_blood_pressures.visit_id,
follow_up_blood_pressures.visit_type,
follow_up_blood_pressures.facility_id,
follow_up_blood_pressures.user_id,
follow_up_blood_pressures.visited_at,
follow_up_blood_pressures.month_string
FROM follow_up_blood_pressures
UNION
SELECT follow_up_blood_sugars.patient_id,
follow_up_blood_sugars.patient_gender,
follow_up_blood_sugars.visit_id,
follow_up_blood_sugars.visit_type,
follow_up_blood_sugars.facility_id,
follow_up_blood_sugars.user_id,
follow_up_blood_sugars.visited_at,
follow_up_blood_sugars.month_string
FROM follow_up_blood_sugars
UNION
SELECT follow_up_prescription_drugs.patient_id,
follow_up_prescription_drugs.patient_gender,
follow_up_prescription_drugs.visit_id,
follow_up_prescription_drugs.visit_type,
follow_up_prescription_drugs.facility_id,
follow_up_prescription_drugs.user_id,
follow_up_prescription_drugs.visited_at,
follow_up_prescription_drugs.month_string
FROM follow_up_prescription_drugs
UNION
SELECT follow_up_appointments.patient_id,
follow_up_appointments.patient_gender,
follow_up_appointments.visit_id,
follow_up_appointments.visit_type,
follow_up_appointments.facility_id,
follow_up_appointments.user_id,
follow_up_appointments.visited_at,
follow_up_appointments.month_string
FROM follow_up_appointments
)
SELECT DISTINCT ON (cal.month_string, all_follow_ups.facility_id, all_follow_ups.user_id, all_follow_ups.patient_id) all_follow_ups.patient_id,
all_follow_ups.patient_gender,
all_follow_ups.facility_id,
mh.diabetes,
mh.hypertension,
all_follow_ups.user_id,
all_follow_ups.visit_id,
all_follow_ups.visit_type,
all_follow_ups.visited_at,
cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string
FROM ((all_follow_ups
JOIN public.medical_histories mh ON ((all_follow_ups.patient_id = mh.patient_id)))
LEFT JOIN public.reporting_months cal ON ((all_follow_ups.month_string = cal.month_string)))
ORDER BY cal.month_string DESC
WITH NO DATA;
--
-- Name: reporting_patient_visits; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_patient_visits AS
SELECT DISTINCT ON (p.id, p.month_date) p.id AS patient_id,
p.month_date,
p.month,
p.quarter,
p.year,
p.month_string,
p.quarter_string,
p.assigned_facility_id,
p.registration_facility_id,
timezone('UTC'::text, timezone('UTC'::text, p.recorded_at)) AS patient_recorded_at,
e.id AS encounter_id,
e.facility_id AS encounter_facility_id,
timezone('UTC'::text, timezone('UTC'::text, e.recorded_at)) AS encounter_recorded_at,
pd.id AS prescription_drug_id,
pd.facility_id AS prescription_drug_facility_id,
timezone('UTC'::text, timezone('UTC'::text, pd.recorded_at)) AS prescription_drug_recorded_at,
app.id AS appointment_id,
app.creation_facility_id AS appointment_creation_facility_id,
timezone('UTC'::text, timezone('UTC'::text, app.recorded_at)) AS appointment_recorded_at,
array_remove(ARRAY[
CASE
WHEN (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, e.recorded_at)), 'YYYY-MM'::text) = p.month_string) THEN e.facility_id
ELSE NULL::uuid
END,
CASE
WHEN (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, pd.recorded_at)), 'YYYY-MM'::text) = p.month_string) THEN pd.facility_id
ELSE NULL::uuid
END,
CASE
WHEN (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, app.recorded_at)), 'YYYY-MM'::text) = p.month_string) THEN app.creation_facility_id
ELSE NULL::uuid
END], NULL::uuid) AS visited_facility_ids,
timezone('UTC'::text, timezone('UTC'::text, GREATEST(e.recorded_at, pd.recorded_at, app.recorded_at))) AS visited_at,
(((p.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, p.recorded_at)))) * (12)::double precision) + (p.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, p.recorded_at))))) AS months_since_registration,
(((p.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, p.recorded_at)))) * (4)::double precision) + (p.quarter - date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, p.recorded_at))))) AS quarters_since_registration,
(((p.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, GREATEST(e.recorded_at, pd.recorded_at, app.recorded_at))))) * (12)::double precision) + (p.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, GREATEST(e.recorded_at, pd.recorded_at, app.recorded_at)))))) AS months_since_visit,
(((p.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, GREATEST(e.recorded_at, pd.recorded_at, app.recorded_at))))) * (4)::double precision) + (p.quarter - date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, GREATEST(e.recorded_at, pd.recorded_at, app.recorded_at)))))) AS quarters_since_visit
FROM (((( SELECT p_1.id,
p_1.full_name,
p_1.age,
p_1.gender,
p_1.date_of_birth,
p_1.status,
p_1.created_at,
p_1.updated_at,
p_1.address_id,
p_1.age_updated_at,
p_1.device_created_at,
p_1.device_updated_at,
p_1.test_data,
p_1.registration_facility_id,
p_1.registration_user_id,
p_1.deleted_at,
p_1.contacted_by_counsellor,
p_1.could_not_contact_reason,
p_1.recorded_at,
p_1.reminder_consent,
p_1.deleted_by_user_id,
p_1.deleted_reason,
p_1.assigned_facility_id,
cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string
FROM (public.patients p_1
LEFT JOIN public.reporting_months cal ON ((to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, p_1.recorded_at)), 'YYYY-MM'::text) <= cal.month_string)))) p
LEFT JOIN LATERAL ( SELECT timezone('UTC'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), (encounters.encountered_on)::timestamp without time zone)) AS recorded_at,
encounters.id,
encounters.facility_id,
encounters.patient_id,
encounters.encountered_on,
encounters.timezone_offset,
encounters.notes,
encounters.metadata,
encounters.device_created_at,
encounters.device_updated_at,
encounters.deleted_at,
encounters.created_at,
encounters.updated_at
FROM public.encounters
WHERE ((encounters.patient_id = p.id) AND (to_char((encounters.encountered_on)::timestamp with time zone, 'YYYY-MM'::text) <= p.month_string) AND (encounters.deleted_at IS NULL))
ORDER BY encounters.encountered_on DESC
LIMIT 1) e ON (true))
LEFT JOIN LATERAL ( SELECT prescription_drugs.device_created_at AS recorded_at,
prescription_drugs.id,
prescription_drugs.name,
prescription_drugs.rxnorm_code,
prescription_drugs.dosage,
prescription_drugs.device_created_at,
prescription_drugs.device_updated_at,
prescription_drugs.created_at,
prescription_drugs.updated_at,
prescription_drugs.patient_id,
prescription_drugs.facility_id,
prescription_drugs.is_protocol_drug,
prescription_drugs.is_deleted,
prescription_drugs.deleted_at,
prescription_drugs.user_id,
prescription_drugs.frequency,
prescription_drugs.duration_in_days,
prescription_drugs.teleconsultation_id
FROM public.prescription_drugs
WHERE ((prescription_drugs.patient_id = p.id) AND (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, prescription_drugs.device_created_at)), 'YYYY-MM'::text) <= p.month_string) AND (prescription_drugs.deleted_at IS NULL))
ORDER BY prescription_drugs.device_created_at DESC
LIMIT 1) pd ON (true))
LEFT JOIN LATERAL ( SELECT appointments.device_created_at AS recorded_at,
appointments.id,
appointments.patient_id,
appointments.facility_id,
appointments.scheduled_date,
appointments.status,
appointments.cancel_reason,
appointments.device_created_at,
appointments.device_updated_at,
appointments.created_at,
appointments.updated_at,
appointments.remind_on,
appointments.agreed_to_visit,
appointments.deleted_at,
appointments.appointment_type,
appointments.user_id,
appointments.creation_facility_id
FROM public.appointments
WHERE ((appointments.patient_id = p.id) AND (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, appointments.device_created_at)), 'YYYY-MM'::text) <= p.month_string) AND (appointments.deleted_at IS NULL))
ORDER BY appointments.device_created_at DESC
LIMIT 1) app ON (true))
WHERE (p.deleted_at IS NULL)
ORDER BY p.id, p.month_date, (timezone('UTC'::text, timezone('UTC'::text, GREATEST(e.recorded_at, pd.recorded_at, app.recorded_at)))) DESC
WITH NO DATA;
--
-- Name: reporting_prescriptions; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_prescriptions AS
SELECT p.id AS patient_id,
p.month_date,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE ((prescriptions.clean_name)::text = 'Amlodipine'::text)), (0)::double precision) AS amlodipine,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE ((prescriptions.clean_name)::text = 'Telmisartan'::text)), (0)::double precision) AS telmisartan,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE ((prescriptions.clean_name)::text = 'Losartan Potassium'::text)), (0)::double precision) AS losartan,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE ((prescriptions.clean_name)::text = 'Atenolol'::text)), (0)::double precision) AS atenolol,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE ((prescriptions.clean_name)::text = 'Enalapril'::text)), (0)::double precision) AS enalapril,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE ((prescriptions.clean_name)::text = 'Chlorthalidone'::text)), (0)::double precision) AS chlorthalidone,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE ((prescriptions.clean_name)::text = 'Hydrochlorothiazide'::text)), (0)::double precision) AS hydrochlorothiazide,
COALESCE(max(prescriptions.clean_dosage) FILTER (WHERE (((prescriptions.clean_name)::text <> ALL (ARRAY[('Amlodipine'::character varying)::text, ('Telmisartan'::character varying)::text, ('Losartan'::character varying)::text, ('Atenolol'::character varying)::text, ('Enalapril'::character varying)::text, ('Chlorthalidone'::character varying)::text, ('Hydrochlorothiazide'::character varying)::text])) AND (prescriptions.medicine_purpose_hypertension = true))), (0)::double precision) AS other_bp_medications
FROM (( SELECT p_1.id,
p_1.full_name,
p_1.age,
p_1.gender,
p_1.date_of_birth,
p_1.status,
p_1.created_at,
p_1.updated_at,
p_1.address_id,
p_1.age_updated_at,
p_1.device_created_at,
p_1.device_updated_at,
p_1.test_data,
p_1.registration_facility_id,
p_1.registration_user_id,
p_1.deleted_at,
p_1.contacted_by_counsellor,
p_1.could_not_contact_reason,
p_1.recorded_at,
p_1.reminder_consent,
p_1.deleted_by_user_id,
p_1.deleted_reason,
p_1.assigned_facility_id,
cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string
FROM (public.patients p_1
LEFT JOIN public.reporting_months cal ON ((to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('utc'::text, p_1.recorded_at)), 'YYYY-MM'::text) <= cal.month_string)))
WHERE (p_1.deleted_at IS NULL)) p
LEFT JOIN LATERAL ( SELECT DISTINCT ON (clean.medicine) actual.name AS actual_name,
actual.dosage AS actual_dosage,
clean.medicine AS clean_name,
clean.dosage AS clean_dosage,
purpose.hypertension AS medicine_purpose_hypertension,
purpose.diabetes AS medicine_purpose_diabetes
FROM (((public.prescription_drugs actual
LEFT JOIN public.raw_to_clean_medicines raw ON (((lower(regexp_replace((raw.raw_name)::text, '\s+'::text, ''::text, 'g'::text)) = lower(regexp_replace((actual.name)::text, '\s+'::text, ''::text, 'g'::text))) AND (lower(regexp_replace((raw.raw_dosage)::text, '\s+'::text, ''::text, 'g'::text)) = lower(regexp_replace((actual.dosage)::text, '\s+'::text, ''::text, 'g'::text))))))
LEFT JOIN public.clean_medicine_to_dosages clean ON ((clean.rxcui = raw.rxcui)))
LEFT JOIN public.medicine_purposes purpose ON (((clean.medicine)::text = (purpose.name)::text)))
WHERE ((actual.patient_id = p.id) AND (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, actual.device_created_at)), 'YYYY-MM'::text) <= p.month_string) AND (actual.deleted_at IS NULL) AND ((actual.is_deleted = false) OR ((actual.is_deleted = true) AND (to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, actual.device_updated_at)), 'YYYY-MM'::text) > p.month_string))))
ORDER BY clean.medicine, actual.device_created_at DESC) prescriptions ON (true))
GROUP BY p.id, p.month_date
WITH NO DATA;
--
-- Name: reporting_patient_states; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_patient_states AS
SELECT DISTINCT ON (p.id, cal.month_date) p.id AS patient_id,
timezone('UTC'::text, timezone('UTC'::text, p.recorded_at)) AS recorded_at,
p.status,
p.gender,
p.age,
timezone('UTC'::text, timezone('UTC'::text, p.age_updated_at)) AS age_updated_at,
p.date_of_birth,
date_part('year'::text, COALESCE(age((p.date_of_birth)::timestamp with time zone), (make_interval(years => p.age) + age(p.age_updated_at)))) AS current_age,
cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string,
mh.hypertension,
mh.prior_heart_attack,
mh.prior_stroke,
mh.chronic_kidney_disease,
mh.receiving_treatment_for_hypertension,
mh.diabetes,
p.assigned_facility_id,
assigned_facility.facility_size AS assigned_facility_size,
assigned_facility.facility_type AS assigned_facility_type,
assigned_facility.facility_region_slug AS assigned_facility_slug,
assigned_facility.facility_region_id AS assigned_facility_region_id,
assigned_facility.block_slug AS assigned_block_slug,
assigned_facility.block_region_id AS assigned_block_region_id,
assigned_facility.district_slug AS assigned_district_slug,
assigned_facility.district_region_id AS assigned_district_region_id,
assigned_facility.state_slug AS assigned_state_slug,
assigned_facility.state_region_id AS assigned_state_region_id,
assigned_facility.organization_slug AS assigned_organization_slug,
assigned_facility.organization_region_id AS assigned_organization_region_id,
p.registration_facility_id,
registration_facility.facility_size AS registration_facility_size,
registration_facility.facility_type AS registration_facility_type,
registration_facility.facility_region_slug AS registration_facility_slug,
registration_facility.facility_region_id AS registration_facility_region_id,
registration_facility.block_slug AS registration_block_slug,
registration_facility.block_region_id AS registration_block_region_id,
registration_facility.district_slug AS registration_district_slug,
registration_facility.district_region_id AS registration_district_region_id,
registration_facility.state_slug AS registration_state_slug,
registration_facility.state_region_id AS registration_state_region_id,
registration_facility.organization_slug AS registration_organization_slug,
registration_facility.organization_region_id AS registration_organization_region_id,
bps.blood_pressure_id,
bps.blood_pressure_facility_id AS bp_facility_id,
bps.blood_pressure_recorded_at AS bp_recorded_at,
bps.systolic,
bps.diastolic,
bss.blood_sugar_id,
bss.blood_sugar_facility_id AS bs_facility_id,
bss.blood_sugar_recorded_at AS bs_recorded_at,
bss.blood_sugar_type,
bss.blood_sugar_value,
bss.blood_sugar_risk_state,
visits.encounter_id,
visits.encounter_recorded_at,
visits.prescription_drug_id,
visits.prescription_drug_recorded_at,
visits.appointment_id,
visits.appointment_recorded_at,
visits.visited_facility_ids,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) * (12)::double precision) + (cal.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))))) AS months_since_registration,
(((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) * (4)::double precision) + (cal.quarter - date_part('quarter'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))))) AS quarters_since_registration,
visits.months_since_visit,
visits.quarters_since_visit,
bps.months_since_bp,
bps.quarters_since_bp,
bss.months_since_bs,
bss.quarters_since_bs,
CASE
WHEN ((bps.systolic IS NULL) OR (bps.diastolic IS NULL)) THEN 'unknown'::text
WHEN ((bps.systolic < 140) AND (bps.diastolic < 90)) THEN 'controlled'::text
ELSE 'uncontrolled'::text
END AS last_bp_state,
CASE
WHEN ((p.status)::text = 'dead'::text) THEN 'dead'::text
WHEN (((((cal.year - date_part('year'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)))) * (12)::double precision) + (cal.month - date_part('month'::text, timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at))))) < (12)::double precision) OR (visits.months_since_visit < (12)::double precision)) THEN 'under_care'::text
ELSE 'lost_to_follow_up'::text
END AS htn_care_state,
CASE
WHEN ((visits.months_since_visit >= (3)::double precision) OR (visits.months_since_visit IS NULL)) THEN 'missed_visit'::text
WHEN ((bps.months_since_bp >= (3)::double precision) OR (bps.months_since_bp IS NULL)) THEN 'visited_no_bp'::text
WHEN ((bps.systolic < 140) AND (bps.diastolic < 90)) THEN 'controlled'::text
ELSE 'uncontrolled'::text
END AS htn_treatment_outcome_in_last_3_months,
CASE
WHEN ((visits.months_since_visit >= (2)::double precision) OR (visits.months_since_visit IS NULL)) THEN 'missed_visit'::text
WHEN ((bps.months_since_bp >= (2)::double precision) OR (bps.months_since_bp IS NULL)) THEN 'visited_no_bp'::text
WHEN ((bps.systolic < 140) AND (bps.diastolic < 90)) THEN 'controlled'::text
ELSE 'uncontrolled'::text
END AS htn_treatment_outcome_in_last_2_months,
CASE
WHEN ((visits.quarters_since_visit >= (1)::double precision) OR (visits.quarters_since_visit IS NULL)) THEN 'missed_visit'::text
WHEN ((bps.quarters_since_bp >= (1)::double precision) OR (bps.quarters_since_bp IS NULL)) THEN 'visited_no_bp'::text
WHEN ((bps.systolic < 140) AND (bps.diastolic < 90)) THEN 'controlled'::text
ELSE 'uncontrolled'::text
END AS htn_treatment_outcome_in_quarter,
CASE
WHEN ((visits.months_since_visit >= (3)::double precision) OR (visits.months_since_visit IS NULL)) THEN 'missed_visit'::text
WHEN ((bss.months_since_bs >= (3)::double precision) OR (bss.months_since_bs IS NULL)) THEN 'visited_no_bs'::text
ELSE bss.blood_sugar_risk_state
END AS diabetes_treatment_outcome_in_last_3_months,
CASE
WHEN ((visits.months_since_visit >= (2)::double precision) OR (visits.months_since_visit IS NULL)) THEN 'missed_visit'::text
WHEN ((bss.months_since_bs >= (2)::double precision) OR (bss.months_since_bs IS NULL)) THEN 'visited_no_bs'::text
ELSE bss.blood_sugar_risk_state
END AS diabetes_treatment_outcome_in_last_2_months,
CASE
WHEN ((visits.quarters_since_visit >= (1)::double precision) OR (visits.quarters_since_visit IS NULL)) THEN 'missed_visit'::text
WHEN ((bss.quarters_since_bs >= (1)::double precision) OR (bss.quarters_since_bs IS NULL)) THEN 'visited_no_bs'::text
ELSE bss.blood_sugar_risk_state
END AS diabetes_treatment_outcome_in_quarter,
((current_meds.amlodipine > past_meds.amlodipine) OR (current_meds.telmisartan > past_meds.telmisartan) OR (current_meds.losartan > past_meds.losartan) OR (current_meds.atenolol > past_meds.atenolol) OR (current_meds.enalapril > past_meds.enalapril) OR (current_meds.chlorthalidone > past_meds.chlorthalidone) OR (current_meds.hydrochlorothiazide > past_meds.hydrochlorothiazide)) AS titrated
FROM (((((((((public.patients p
LEFT JOIN public.reporting_months cal ON ((to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, p.recorded_at)), 'YYYY-MM'::text) <= to_char((cal.month_date)::timestamp with time zone, 'YYYY-MM'::text))))
LEFT JOIN public.reporting_patient_blood_pressures bps ON (((p.id = bps.patient_id) AND (cal.month = bps.month) AND (cal.year = bps.year))))
LEFT JOIN public.reporting_patient_blood_sugars bss ON (((p.id = bss.patient_id) AND (cal.month = bss.month) AND (cal.year = bss.year))))
LEFT JOIN public.reporting_patient_visits visits ON (((p.id = visits.patient_id) AND (cal.month = visits.month) AND (cal.year = visits.year))))
LEFT JOIN public.medical_histories mh ON (((p.id = mh.patient_id) AND (mh.deleted_at IS NULL))))
LEFT JOIN public.reporting_prescriptions current_meds ON (((current_meds.patient_id = p.id) AND (cal.month_date = current_meds.month_date))))
LEFT JOIN public.reporting_prescriptions past_meds ON (((past_meds.patient_id = p.id) AND (cal.month_date = (past_meds.month_date + '1 mon'::interval)))))
JOIN public.reporting_facilities registration_facility ON ((registration_facility.facility_id = p.registration_facility_id)))
JOIN public.reporting_facilities assigned_facility ON ((assigned_facility.facility_id = p.assigned_facility_id)))
WHERE (p.deleted_at IS NULL)
ORDER BY p.id, cal.month_date
WITH NO DATA;
--
-- Name: MATERIALIZED VIEW reporting_patient_states; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON MATERIALIZED VIEW public.reporting_patient_states IS 'Monthly summary of a patient''s information and health indicators. This table has one row per patient, per month, from the month of the patient''s registration.';
--
-- Name: COLUMN reporting_patient_states.patient_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.patient_id IS 'ID of the patient';
--
-- Name: COLUMN reporting_patient_states.recorded_at; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.recorded_at IS 'Time (in UTC) at which the patient was registered';
--
-- Name: COLUMN reporting_patient_states.status; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.status IS 'active, dead, migrated, etc';
--
-- Name: COLUMN reporting_patient_states.gender; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.gender IS 'Gender of the patient';
--
-- Name: COLUMN reporting_patient_states.age; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.age IS 'Age of the patient as entered by a nurse';
--
-- Name: COLUMN reporting_patient_states.age_updated_at; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.age_updated_at IS 'Time (in UTC) at which the field ''age'' was last updated';
--
-- Name: COLUMN reporting_patient_states.date_of_birth; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.date_of_birth IS 'Date of birth of the patient';
--
-- Name: COLUMN reporting_patient_states.current_age; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.current_age IS 'Patient''s age as of today, based on ''age'', ''age_updated_at'' and ''date_of_birth''. This will have the same value for a patient across all rows.';
--
-- Name: COLUMN reporting_patient_states.month_date; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.month_date IS 'The reporting month for this row, represented as the date at the beginning of the month';
--
-- Name: COLUMN reporting_patient_states.month; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.month IS 'Month (1-12) of year';
--
-- Name: COLUMN reporting_patient_states.quarter; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.quarter IS 'Quarter (1-4) of year';
--
-- Name: COLUMN reporting_patient_states.year; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.year IS 'Year in YYYY format';
--
-- Name: COLUMN reporting_patient_states.month_string; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.month_string IS 'String that represents a month, in YYYY-MM format';
--
-- Name: COLUMN reporting_patient_states.quarter_string; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.quarter_string IS 'String that represents a quarter, in YYYY-Q format';
--
-- Name: COLUMN reporting_patient_states.hypertension; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.hypertension IS 'Has the patient been diagnosed with hypertension? Values can be yes, no, unknown, or null if the data is unavailable.';
--
-- Name: COLUMN reporting_patient_states.prior_heart_attack; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.prior_heart_attack IS 'Has the patient had a heart attack? Values can be yes, no, unknown, or null if the data is unavailable.';
--
-- Name: COLUMN reporting_patient_states.prior_stroke; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.prior_stroke IS 'Has the patient has had a stroke? Values can be yes, no, unknown, or null if the data is unavailable.';
--
-- Name: COLUMN reporting_patient_states.chronic_kidney_disease; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.chronic_kidney_disease IS 'Has the patient had a chronic kidney disease? Values can be yes, no, unknown, or null if the data is unavailable.';
--
-- Name: COLUMN reporting_patient_states.receiving_treatment_for_hypertension; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.receiving_treatment_for_hypertension IS 'Was the patient already receiving treatment for hypertension during registration? Values can be yes, no, unknown, or null if the data is unavailable.';
--
-- Name: COLUMN reporting_patient_states.diabetes; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.diabetes IS 'Has the patient been diagnosed with diabetes? Values can be yes, no, unknown, or null if the data is unavailable.';
--
-- Name: COLUMN reporting_patient_states.assigned_facility_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_facility_id IS 'ID of the patient''s assigned facility';
--
-- Name: COLUMN reporting_patient_states.assigned_facility_size; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_facility_size IS 'Size of the patient''s assigned facility';
--
-- Name: COLUMN reporting_patient_states.assigned_facility_type; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_facility_type IS 'Type of the patient''s assigned facility';
--
-- Name: COLUMN reporting_patient_states.assigned_facility_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_facility_slug IS 'Human readable ID of the patient''s assigned facility';
--
-- Name: COLUMN reporting_patient_states.assigned_facility_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_facility_region_id IS 'Region ID of the patient''s assigned facility';
--
-- Name: COLUMN reporting_patient_states.assigned_block_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_block_slug IS 'Human readable ID of the patient''s assigned facility''s block';
--
-- Name: COLUMN reporting_patient_states.assigned_block_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_block_region_id IS 'ID of the patient''s assigned facility''s block';
--
-- Name: COLUMN reporting_patient_states.assigned_district_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_district_slug IS 'Human readable ID of the patient''s assigned facility''s district';
--
-- Name: COLUMN reporting_patient_states.assigned_district_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_district_region_id IS 'ID of the patient''s assigned facility''s district';
--
-- Name: COLUMN reporting_patient_states.assigned_state_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_state_slug IS 'Human readable ID of the patient''s assigned facility''s state';
--
-- Name: COLUMN reporting_patient_states.assigned_state_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_state_region_id IS 'ID of the patient''s assigned facility''s state';
--
-- Name: COLUMN reporting_patient_states.assigned_organization_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_organization_slug IS 'Human readable ID of the patient''s assigned facility''s organization';
--
-- Name: COLUMN reporting_patient_states.assigned_organization_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.assigned_organization_region_id IS 'ID of the patient''s assigned facility''s organization';
--
-- Name: COLUMN reporting_patient_states.registration_facility_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_facility_id IS 'ID of the patient''s registration facility';
--
-- Name: COLUMN reporting_patient_states.registration_facility_size; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_facility_size IS 'Size of the patient''s registration facility';
--
-- Name: COLUMN reporting_patient_states.registration_facility_type; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_facility_type IS 'Type of the patient''s registration facility';
--
-- Name: COLUMN reporting_patient_states.registration_facility_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_facility_slug IS 'Human readable ID of the patient''s registration facility';
--
-- Name: COLUMN reporting_patient_states.registration_facility_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_facility_region_id IS 'Region ID of the patient''s registration facility';
--
-- Name: COLUMN reporting_patient_states.registration_block_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_block_slug IS 'Human readable ID of the patient''s registration facility''s block';
--
-- Name: COLUMN reporting_patient_states.registration_block_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_block_region_id IS 'ID of the patient''s registration facility''s block';
--
-- Name: COLUMN reporting_patient_states.registration_district_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_district_slug IS 'Human readable ID of the patient''s registration facility''s district';
--
-- Name: COLUMN reporting_patient_states.registration_district_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_district_region_id IS 'ID of the patient''s registration facility''s district';
--
-- Name: COLUMN reporting_patient_states.registration_state_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_state_slug IS 'Human readable ID of the patient''s registration facility''s state';
--
-- Name: COLUMN reporting_patient_states.registration_state_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_state_region_id IS 'ID of the patient''s registration facility''s state';
--
-- Name: COLUMN reporting_patient_states.registration_organization_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_organization_slug IS 'Human readable ID of the patient''s registration facility''s organization';
--
-- Name: COLUMN reporting_patient_states.registration_organization_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.registration_organization_region_id IS 'ID of the patient''s registration facility''s organization';
--
-- Name: COLUMN reporting_patient_states.blood_pressure_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.blood_pressure_id IS 'ID of the latest BP as of this month. Use this to join with the blood_pressures table.';
--
-- Name: COLUMN reporting_patient_states.bp_facility_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.bp_facility_id IS 'ID of the facility at which the latest BP was recorded as of this month';
--
-- Name: COLUMN reporting_patient_states.bp_recorded_at; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.bp_recorded_at IS 'Time (in UTC) at which the latest BP as of this month was recorded';
--
-- Name: COLUMN reporting_patient_states.systolic; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.systolic IS 'Systolic of the latest BP as of this month';
--
-- Name: COLUMN reporting_patient_states.diastolic; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.diastolic IS 'Diastolic of the latest BP as of this month';
--
-- Name: COLUMN reporting_patient_states.blood_sugar_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.blood_sugar_id IS 'ID of the latest blood sugar as of this month. Use this to join with the blood_sugars table.';
--
-- Name: COLUMN reporting_patient_states.bs_facility_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.bs_facility_id IS 'ID of the facility at which the latest blood sugar was recorded as of this month';
--
-- Name: COLUMN reporting_patient_states.bs_recorded_at; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.bs_recorded_at IS 'Time (in UTC) at which the latest blood sugar as of this month was recorded';
--
-- Name: COLUMN reporting_patient_states.blood_sugar_type; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.blood_sugar_type IS 'Blood sugar type of the latest measure as of this month';
--
-- Name: COLUMN reporting_patient_states.blood_sugar_value; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.blood_sugar_value IS 'Blood sugar value of the latest measure as of this month';
--
-- Name: COLUMN reporting_patient_states.blood_sugar_risk_state; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.blood_sugar_risk_state IS 'Blood sugar risk state of the latest measure as of this month';
--
-- Name: COLUMN reporting_patient_states.encounter_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.encounter_id IS 'ID of the latest encounter as of this month. Use this to join with the encounters table.';
--
-- Name: COLUMN reporting_patient_states.encounter_recorded_at; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.encounter_recorded_at IS 'Time (in UTC) at which the latest encounter as of this month was recorded';
--
-- Name: COLUMN reporting_patient_states.prescription_drug_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.prescription_drug_id IS 'ID of the latest prescription drug as of this month. Use this to join with the prescription drugs table.';
--
-- Name: COLUMN reporting_patient_states.prescription_drug_recorded_at; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.prescription_drug_recorded_at IS 'Time (in UTC) at which the latest prescription drug as of this month was recorded';
--
-- Name: COLUMN reporting_patient_states.appointment_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.appointment_id IS 'ID of the latest appointment as of this month. Use this to join with the appointments table.';
--
-- Name: COLUMN reporting_patient_states.appointment_recorded_at; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.appointment_recorded_at IS 'Time (in UTC) at which the latest appointment as of this month was recorded';
--
-- Name: COLUMN reporting_patient_states.visited_facility_ids; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.visited_facility_ids IS 'IDs of the facilities visited this month';
--
-- Name: COLUMN reporting_patient_states.months_since_registration; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.months_since_registration IS 'Number of months since registration. If a patient was registered on 31st Jan, it would be 1 month since registration on 1st Feb.';
--
-- Name: COLUMN reporting_patient_states.quarters_since_registration; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.quarters_since_registration IS 'Number of quarters since registration. If a patient was registered on 31st Dec, it would be 1 quarter since registration on 1st Jan.';
--
-- Name: COLUMN reporting_patient_states.months_since_visit; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.months_since_visit IS 'Number of months since the patient''s last visit. If a patient visited on 31st Jan, it would be 1 month since the visit on 1st Feb.';
--
-- Name: COLUMN reporting_patient_states.quarters_since_visit; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.quarters_since_visit IS 'Number of quarters since the patient''s last visit. If a patient visited on 31st Jan, it would be 1 quarter since the visit on 1st Jan.';
--
-- Name: COLUMN reporting_patient_states.months_since_bp; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.months_since_bp IS 'Number of months since the patient''s last BP recording. If a patient had a BP reading on 31st Jan, it would be 1 month since BP on 1st Feb.';
--
-- Name: COLUMN reporting_patient_states.quarters_since_bp; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.quarters_since_bp IS 'Number of quarters since the patient''s last BP recording. If a patient had a BP reading on 31st Jan, it would be 1 quarter since BP on 1st Jan.';
--
-- Name: COLUMN reporting_patient_states.months_since_bs; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.months_since_bs IS 'Number of months since the patient''s last blood sugar recording. If a patient had a blood sugar reading on 31st Jan, it would be 1 month since blood sugar on 1st Feb.';
--
-- Name: COLUMN reporting_patient_states.quarters_since_bs; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.quarters_since_bs IS 'Number of quarters since the patient''s last blood sugar recording. If a patient had a blood sugar reading on 31st Jan, it would be 1 quarter since blood sugar on 1st Jan.';
--
-- Name: COLUMN reporting_patient_states.last_bp_state; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.last_bp_state IS 'The state of the last BP recorded: controlled, uncontrolled, or unknown';
--
-- Name: COLUMN reporting_patient_states.htn_care_state; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.htn_care_state IS 'Is the patient under_care, lost_to_follow_up, or dead as of this month?';
--
-- Name: COLUMN reporting_patient_states.htn_treatment_outcome_in_last_3_months; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.htn_treatment_outcome_in_last_3_months IS 'For the visiting period of the last 3 months, is this patient''s treatment outcome controlled, uncontrolled, missed_visit, or visited_no_bp?';
--
-- Name: COLUMN reporting_patient_states.htn_treatment_outcome_in_last_2_months; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.htn_treatment_outcome_in_last_2_months IS 'For the visiting period of the last 2 months, is this patient''s treatment outcome controlled, uncontrolled, missed_visit, or visited_no_bp?';
--
-- Name: COLUMN reporting_patient_states.htn_treatment_outcome_in_quarter; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.htn_treatment_outcome_in_quarter IS 'For the visiting period of the current quarter, is this patient''s treatment outcome controlled, uncontrolled, missed_visit, or visited_no_bp?';
--
-- Name: COLUMN reporting_patient_states.diabetes_treatment_outcome_in_last_3_months; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.diabetes_treatment_outcome_in_last_3_months IS 'For the visiting period of the last 3 months, is this patient''s diabetes treatment outcome bs_under_200, bs_200_to_300, bs_over_300, missed_visit, or visited_no_bp?';
--
-- Name: COLUMN reporting_patient_states.diabetes_treatment_outcome_in_last_2_months; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.diabetes_treatment_outcome_in_last_2_months IS 'For the visiting period of the last 2 months, is this patient''s diabetes treatment outcome bs_under_200, bs_200_to_300, bs_over_300, missed_visit, or visited_no_bp?';
--
-- Name: COLUMN reporting_patient_states.diabetes_treatment_outcome_in_quarter; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.diabetes_treatment_outcome_in_quarter IS 'For the visiting period of the current quarter, is this patient''s diabetes treatment outcome bs_under_200, bs_200_to_300, bs_over_300, missed_visit, or visited_no_bp?';
--
-- Name: COLUMN reporting_patient_states.titrated; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_patient_states.titrated IS 'True, if the patient had an increase in dosage of any hypertension drug in a visit this month.';
--
-- Name: reporting_facility_state_dimensions; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_facility_state_dimensions AS
WITH monthly_registration_patient_states AS (
SELECT reporting_patient_states.registration_facility_id AS facility_id,
reporting_patient_states.month_date,
reporting_patient_states.gender,
reporting_patient_states.hypertension,
reporting_patient_states.diabetes
FROM public.reporting_patient_states
WHERE (reporting_patient_states.months_since_registration = (0)::double precision)
), registered_patients AS (
SELECT monthly_registration_patient_states.facility_id,
monthly_registration_patient_states.month_date,
count(*) AS monthly_registrations_all,
count(*) FILTER (WHERE (monthly_registration_patient_states.hypertension = 'yes'::text)) AS monthly_registrations_htn_all,
count(*) FILTER (WHERE ((monthly_registration_patient_states.hypertension = 'yes'::text) AND ((monthly_registration_patient_states.gender)::text = 'female'::text))) AS monthly_registrations_htn_female,
count(*) FILTER (WHERE ((monthly_registration_patient_states.hypertension = 'yes'::text) AND ((monthly_registration_patient_states.gender)::text = 'male'::text))) AS monthly_registrations_htn_male,
count(*) FILTER (WHERE ((monthly_registration_patient_states.hypertension = 'yes'::text) AND ((monthly_registration_patient_states.gender)::text = 'transgender'::text))) AS monthly_registrations_htn_transgender,
count(*) FILTER (WHERE (monthly_registration_patient_states.diabetes = 'yes'::text)) AS monthly_registrations_dm_all,
count(*) FILTER (WHERE ((monthly_registration_patient_states.diabetes = 'yes'::text) AND ((monthly_registration_patient_states.gender)::text = 'female'::text))) AS monthly_registrations_dm_female,
count(*) FILTER (WHERE ((monthly_registration_patient_states.diabetes = 'yes'::text) AND ((monthly_registration_patient_states.gender)::text = 'male'::text))) AS monthly_registrations_dm_male,
count(*) FILTER (WHERE ((monthly_registration_patient_states.diabetes = 'yes'::text) AND ((monthly_registration_patient_states.gender)::text = 'transgender'::text))) AS monthly_registrations_dm_transgender
FROM monthly_registration_patient_states
GROUP BY monthly_registration_patient_states.facility_id, monthly_registration_patient_states.month_date
), follow_ups AS (
SELECT reporting_patient_follow_ups.facility_id,
reporting_patient_follow_ups.month_date,
count(DISTINCT reporting_patient_follow_ups.patient_id) AS monthly_follow_ups_all,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE (reporting_patient_follow_ups.hypertension = 'yes'::text)) AS monthly_follow_ups_htn_all,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE ((reporting_patient_follow_ups.hypertension = 'yes'::text) AND (reporting_patient_follow_ups.patient_gender = 'female'::public.gender_enum))) AS monthly_follow_ups_htn_female,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE ((reporting_patient_follow_ups.hypertension = 'yes'::text) AND (reporting_patient_follow_ups.patient_gender = 'male'::public.gender_enum))) AS monthly_follow_ups_htn_male,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE ((reporting_patient_follow_ups.hypertension = 'yes'::text) AND (reporting_patient_follow_ups.patient_gender = 'transgender'::public.gender_enum))) AS monthly_follow_ups_htn_transgender,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE (reporting_patient_follow_ups.diabetes = 'yes'::text)) AS monthly_follow_ups_dm_all,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE ((reporting_patient_follow_ups.diabetes = 'yes'::text) AND (reporting_patient_follow_ups.patient_gender = 'female'::public.gender_enum))) AS monthly_follow_ups_dm_female,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE ((reporting_patient_follow_ups.diabetes = 'yes'::text) AND (reporting_patient_follow_ups.patient_gender = 'male'::public.gender_enum))) AS monthly_follow_ups_dm_male,
count(DISTINCT reporting_patient_follow_ups.patient_id) FILTER (WHERE ((reporting_patient_follow_ups.diabetes = 'yes'::text) AND (reporting_patient_follow_ups.patient_gender = 'transgender'::public.gender_enum))) AS monthly_follow_ups_dm_transgender
FROM public.reporting_patient_follow_ups
GROUP BY reporting_patient_follow_ups.facility_id, reporting_patient_follow_ups.month_date
)
SELECT rf.facility_region_slug,
rf.facility_id,
rf.facility_region_id,
rf.block_region_id,
rf.district_region_id,
rf.state_region_id,
cal.month_date,
registered_patients.monthly_registrations_all,
registered_patients.monthly_registrations_htn_all,
registered_patients.monthly_registrations_htn_male,
registered_patients.monthly_registrations_htn_female,
registered_patients.monthly_registrations_htn_transgender,
registered_patients.monthly_registrations_dm_all,
registered_patients.monthly_registrations_dm_male,
registered_patients.monthly_registrations_dm_female,
registered_patients.monthly_registrations_dm_transgender,
follow_ups.monthly_follow_ups_all,
follow_ups.monthly_follow_ups_htn_all,
follow_ups.monthly_follow_ups_htn_female,
follow_ups.monthly_follow_ups_htn_male,
follow_ups.monthly_follow_ups_htn_transgender,
follow_ups.monthly_follow_ups_dm_all,
follow_ups.monthly_follow_ups_dm_female,
follow_ups.monthly_follow_ups_dm_male,
follow_ups.monthly_follow_ups_dm_transgender
FROM (((public.reporting_facilities rf
JOIN public.reporting_months cal ON (true))
LEFT JOIN registered_patients ON (((registered_patients.month_date = cal.month_date) AND (registered_patients.facility_id = rf.facility_id))))
LEFT JOIN follow_ups ON (((follow_ups.month_date = cal.month_date) AND (follow_ups.facility_id = rf.facility_id))))
ORDER BY cal.month_date DESC
WITH NO DATA;
--
-- Name: reporting_overdue_calls; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_overdue_calls AS
SELECT DISTINCT ON (a.patient_id, cal.month_date) cal.month_date,
cal.month_string,
cal.month,
cal.quarter,
cal.year,
timezone('UTC'::text, timezone('UTC'::text, cr.device_created_at)) AS call_result_created_at,
cr.id AS call_result_id,
cr.user_id,
a.id AS appointment_id,
a.facility_id AS appointment_facility_id,
a.patient_id,
appointment_facility.facility_size AS appointment_facility_size,
appointment_facility.facility_type AS appointment_facility_type,
appointment_facility.facility_region_slug AS appointment_facility_slug,
appointment_facility.facility_region_id AS appointment_facility_region_id,
appointment_facility.block_slug AS appointment_block_slug,
appointment_facility.block_region_id AS appointment_block_region_id,
appointment_facility.district_slug AS appointment_district_slug,
appointment_facility.district_region_id AS appointment_district_region_id,
appointment_facility.state_slug AS appointment_state_slug,
appointment_facility.state_region_id AS appointment_state_region_id,
appointment_facility.organization_slug AS appointment_organization_slug,
appointment_facility.organization_region_id AS appointment_organization_region_id
FROM (((public.call_results cr
JOIN public.reporting_months cal ON ((to_char(timezone(( SELECT current_setting('TIMEZONE'::text) AS current_setting), timezone('UTC'::text, cr.device_created_at)), 'YYYY-MM'::text) = to_char((cal.month_date)::timestamp with time zone, 'YYYY-MM'::text))))
JOIN public.appointments a ON (((cr.appointment_id = a.id) AND (a.deleted_at IS NULL))))
JOIN public.reporting_facilities appointment_facility ON ((a.facility_id = appointment_facility.facility_id)))
WHERE (cr.deleted_at IS NULL)
ORDER BY a.patient_id, cal.month_date, cr.device_created_at DESC
WITH NO DATA;
--
-- Name: reporting_facility_states; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_facility_states AS
WITH registered_patients AS (
SELECT reporting_patient_states.registration_facility_region_id AS region_id,
reporting_patient_states.month_date,
count(*) AS cumulative_registrations,
count(*) FILTER (WHERE (reporting_patient_states.months_since_registration = (0)::double precision)) AS monthly_registrations
FROM public.reporting_patient_states
WHERE (reporting_patient_states.hypertension = 'yes'::text)
GROUP BY reporting_patient_states.registration_facility_region_id, reporting_patient_states.month_date
), registered_diabetes_patients AS (
SELECT reporting_patient_states.registration_facility_region_id AS region_id,
reporting_patient_states.month_date,
count(*) AS cumulative_diabetes_registrations,
count(*) FILTER (WHERE (reporting_patient_states.months_since_registration = (0)::double precision)) AS monthly_diabetes_registrations
FROM public.reporting_patient_states
WHERE (reporting_patient_states.diabetes = 'yes'::text)
GROUP BY reporting_patient_states.registration_facility_region_id, reporting_patient_states.month_date
), assigned_patients AS (
SELECT reporting_patient_states.assigned_facility_region_id AS region_id,
reporting_patient_states.month_date,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'under_care'::text)) AS under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'lost_to_follow_up'::text)) AS lost_to_follow_up,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'dead'::text)) AS dead,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state <> 'dead'::text)) AS cumulative_assigned_patients
FROM public.reporting_patient_states
WHERE (reporting_patient_states.hypertension = 'yes'::text)
GROUP BY reporting_patient_states.assigned_facility_region_id, reporting_patient_states.month_date
), assigned_diabetes_patients AS (
SELECT reporting_patient_states.assigned_facility_region_id AS region_id,
reporting_patient_states.month_date,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'under_care'::text)) AS diabetes_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'lost_to_follow_up'::text)) AS diabetes_lost_to_follow_up,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'dead'::text)) AS diabetes_dead,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state <> 'dead'::text)) AS cumulative_assigned_diabetic_patients
FROM public.reporting_patient_states
WHERE (reporting_patient_states.diabetes = 'yes'::text)
GROUP BY reporting_patient_states.assigned_facility_region_id, reporting_patient_states.month_date
), adjusted_outcomes AS (
SELECT reporting_patient_states.assigned_facility_region_id AS region_id,
reporting_patient_states.month_date,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.htn_treatment_outcome_in_last_3_months = 'controlled'::text))) AS controlled_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.htn_treatment_outcome_in_last_3_months = 'uncontrolled'::text))) AS uncontrolled_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.htn_treatment_outcome_in_last_3_months = 'missed_visit'::text))) AS missed_visit_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.htn_treatment_outcome_in_last_3_months = 'visited_no_bp'::text))) AS visited_no_bp_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'lost_to_follow_up'::text) AND (reporting_patient_states.htn_treatment_outcome_in_last_3_months = 'missed_visit'::text))) AS missed_visit_lost_to_follow_up,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'lost_to_follow_up'::text) AND (reporting_patient_states.htn_treatment_outcome_in_last_3_months = 'visited_no_bp'::text))) AS visited_no_bp_lost_to_follow_up,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'under_care'::text)) AS patients_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'lost_to_follow_up'::text)) AS patients_lost_to_follow_up
FROM public.reporting_patient_states
WHERE ((reporting_patient_states.hypertension = 'yes'::text) AND (reporting_patient_states.months_since_registration >= (3)::double precision))
GROUP BY reporting_patient_states.assigned_facility_region_id, reporting_patient_states.month_date
), adjusted_diabetes_outcomes AS (
SELECT reporting_patient_states.assigned_facility_region_id AS region_id,
reporting_patient_states.month_date,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_below_200'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'random'::text))) AS random_bs_below_200_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_below_200'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'post_prandial'::text))) AS post_prandial_bs_below_200_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_below_200'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'fasting'::text))) AS fasting_bs_below_200_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_below_200'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'hba1c'::text))) AS hba1c_bs_below_200_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_below_200'::text))) AS bs_below_200_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_200_to_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'random'::text))) AS random_bs_200_to_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_200_to_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'post_prandial'::text))) AS post_prandial_bs_200_to_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_200_to_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'fasting'::text))) AS fasting_bs_200_to_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_200_to_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'hba1c'::text))) AS hba1c_bs_200_to_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_200_to_300'::text))) AS bs_200_to_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_over_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'random'::text))) AS random_bs_over_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_over_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'post_prandial'::text))) AS post_prandial_bs_over_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_over_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'fasting'::text))) AS fasting_bs_over_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_over_300'::text) AND ((reporting_patient_states.blood_sugar_type)::text = 'hba1c'::text))) AS hba1c_bs_over_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'bs_over_300'::text))) AS bs_over_300_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'missed_visit'::text))) AS bs_missed_visit_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'under_care'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'visited_no_bs'::text))) AS visited_no_bs_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE ((reporting_patient_states.htn_care_state = 'lost_to_follow_up'::text) AND (reporting_patient_states.diabetes_treatment_outcome_in_last_3_months = 'missed_visit'::text))) AS bs_missed_visit_lost_to_follow_up,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'under_care'::text)) AS diabetes_patients_under_care,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_care_state = 'lost_to_follow_up'::text)) AS diabetes_patients_lost_to_follow_up
FROM public.reporting_patient_states
WHERE ((reporting_patient_states.diabetes = 'yes'::text) AND (reporting_patient_states.months_since_registration >= (3)::double precision))
GROUP BY reporting_patient_states.assigned_facility_region_id, reporting_patient_states.month_date
), monthly_cohort_outcomes AS (
SELECT reporting_patient_states.assigned_facility_region_id AS region_id,
reporting_patient_states.month_date,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_last_2_months = 'controlled'::text)) AS controlled,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_last_2_months = 'uncontrolled'::text)) AS uncontrolled,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_last_2_months = 'missed_visit'::text)) AS missed_visit,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_last_2_months = 'visited_no_bp'::text)) AS visited_no_bp,
count(DISTINCT reporting_patient_states.patient_id) AS patients
FROM public.reporting_patient_states
WHERE ((reporting_patient_states.hypertension = 'yes'::text) AND (reporting_patient_states.months_since_registration = (2)::double precision))
GROUP BY reporting_patient_states.assigned_facility_region_id, reporting_patient_states.month_date
), monthly_overdue_calls AS (
SELECT reporting_overdue_calls.appointment_facility_region_id AS region_id,
reporting_overdue_calls.month_date,
count(DISTINCT reporting_overdue_calls.appointment_id) AS call_results
FROM public.reporting_overdue_calls
GROUP BY reporting_overdue_calls.appointment_facility_region_id, reporting_overdue_calls.month_date
), monthly_follow_ups AS (
SELECT reporting_patient_follow_ups.facility_id,
reporting_patient_follow_ups.month_date,
count(DISTINCT reporting_patient_follow_ups.patient_id) AS follow_ups
FROM public.reporting_patient_follow_ups
WHERE (reporting_patient_follow_ups.hypertension = 'yes'::text)
GROUP BY reporting_patient_follow_ups.facility_id, reporting_patient_follow_ups.month_date
), monthly_diabetes_follow_ups AS (
SELECT reporting_patient_follow_ups.facility_id,
reporting_patient_follow_ups.month_date,
count(DISTINCT reporting_patient_follow_ups.patient_id) AS follow_ups
FROM public.reporting_patient_follow_ups
WHERE (reporting_patient_follow_ups.diabetes = 'yes'::text)
GROUP BY reporting_patient_follow_ups.facility_id, reporting_patient_follow_ups.month_date
)
SELECT cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string,
rf.facility_id,
rf.facility_name,
rf.facility_type,
rf.facility_size,
rf.facility_region_id,
rf.facility_region_name,
rf.facility_region_slug,
rf.block_region_id,
rf.block_name,
rf.block_slug,
rf.district_id,
rf.district_region_id,
rf.district_name,
rf.district_slug,
rf.state_region_id,
rf.state_name,
rf.state_slug,
rf.organization_id,
rf.organization_region_id,
rf.organization_name,
rf.organization_slug,
registered_patients.cumulative_registrations,
registered_patients.monthly_registrations,
registered_diabetes_patients.cumulative_diabetes_registrations,
registered_diabetes_patients.monthly_diabetes_registrations,
assigned_patients.under_care,
assigned_patients.lost_to_follow_up,
assigned_patients.dead,
assigned_patients.cumulative_assigned_patients,
assigned_diabetes_patients.diabetes_under_care,
assigned_diabetes_patients.diabetes_lost_to_follow_up,
assigned_diabetes_patients.diabetes_dead,
assigned_diabetes_patients.cumulative_assigned_diabetic_patients,
adjusted_outcomes.controlled_under_care AS adjusted_controlled_under_care,
adjusted_outcomes.uncontrolled_under_care AS adjusted_uncontrolled_under_care,
adjusted_outcomes.missed_visit_under_care AS adjusted_missed_visit_under_care,
adjusted_outcomes.visited_no_bp_under_care AS adjusted_visited_no_bp_under_care,
adjusted_outcomes.missed_visit_lost_to_follow_up AS adjusted_missed_visit_lost_to_follow_up,
adjusted_outcomes.visited_no_bp_lost_to_follow_up AS adjusted_visited_no_bp_lost_to_follow_up,
adjusted_outcomes.patients_under_care AS adjusted_patients_under_care,
adjusted_outcomes.patients_lost_to_follow_up AS adjusted_patients_lost_to_follow_up,
adjusted_diabetes_outcomes.random_bs_below_200_under_care AS adjusted_random_bs_below_200_under_care,
adjusted_diabetes_outcomes.fasting_bs_below_200_under_care AS adjusted_fasting_bs_below_200_under_care,
adjusted_diabetes_outcomes.post_prandial_bs_below_200_under_care AS adjusted_post_prandial_bs_below_200_under_care,
adjusted_diabetes_outcomes.hba1c_bs_below_200_under_care AS adjusted_hba1c_bs_below_200_under_care,
adjusted_diabetes_outcomes.bs_below_200_under_care AS adjusted_bs_below_200_under_care,
adjusted_diabetes_outcomes.random_bs_200_to_300_under_care AS adjusted_random_bs_200_to_300_under_care,
adjusted_diabetes_outcomes.fasting_bs_200_to_300_under_care AS adjusted_fasting_bs_200_to_300_under_care,
adjusted_diabetes_outcomes.post_prandial_bs_200_to_300_under_care AS adjusted_post_prandial_bs_200_to_300_under_care,
adjusted_diabetes_outcomes.hba1c_bs_200_to_300_under_care AS adjusted_hba1c_bs_200_to_300_under_care,
adjusted_diabetes_outcomes.bs_200_to_300_under_care AS adjusted_bs_200_to_300_under_care,
adjusted_diabetes_outcomes.random_bs_over_300_under_care AS adjusted_random_bs_over_300_under_care,
adjusted_diabetes_outcomes.fasting_bs_over_300_under_care AS adjusted_fasting_bs_over_300_under_care,
adjusted_diabetes_outcomes.post_prandial_bs_over_300_under_care AS adjusted_post_prandial_bs_over_300_under_care,
adjusted_diabetes_outcomes.hba1c_bs_over_300_under_care AS adjusted_hba1c_bs_over_300_under_care,
adjusted_diabetes_outcomes.bs_over_300_under_care AS adjusted_bs_over_300_under_care,
adjusted_diabetes_outcomes.bs_missed_visit_under_care AS adjusted_bs_missed_visit_under_care,
adjusted_diabetes_outcomes.visited_no_bs_under_care AS adjusted_visited_no_bs_under_care,
adjusted_diabetes_outcomes.bs_missed_visit_lost_to_follow_up AS adjusted_bs_missed_visit_lost_to_follow_up,
adjusted_diabetes_outcomes.diabetes_patients_under_care AS adjusted_diabetes_patients_under_care,
adjusted_diabetes_outcomes.diabetes_patients_lost_to_follow_up AS adjusted_diabetes_patients_lost_to_follow_up,
monthly_cohort_outcomes.controlled AS monthly_cohort_controlled,
monthly_cohort_outcomes.uncontrolled AS monthly_cohort_uncontrolled,
monthly_cohort_outcomes.missed_visit AS monthly_cohort_missed_visit,
monthly_cohort_outcomes.visited_no_bp AS monthly_cohort_visited_no_bp,
monthly_cohort_outcomes.patients AS monthly_cohort_patients,
monthly_overdue_calls.call_results AS monthly_overdue_calls,
monthly_follow_ups.follow_ups AS monthly_follow_ups,
monthly_diabetes_follow_ups.follow_ups AS monthly_diabetes_follow_ups,
reporting_facility_appointment_scheduled_days.htn_total_appts_scheduled AS total_appts_scheduled,
reporting_facility_appointment_scheduled_days.htn_appts_scheduled_0_to_14_days AS appts_scheduled_0_to_14_days,
reporting_facility_appointment_scheduled_days.htn_appts_scheduled_15_to_31_days AS appts_scheduled_15_to_31_days,
reporting_facility_appointment_scheduled_days.htn_appts_scheduled_32_to_62_days AS appts_scheduled_32_to_62_days,
reporting_facility_appointment_scheduled_days.htn_appts_scheduled_more_than_62_days AS appts_scheduled_more_than_62_days,
reporting_facility_appointment_scheduled_days.diabetes_total_appts_scheduled,
reporting_facility_appointment_scheduled_days.diabetes_appts_scheduled_0_to_14_days,
reporting_facility_appointment_scheduled_days.diabetes_appts_scheduled_15_to_31_days,
reporting_facility_appointment_scheduled_days.diabetes_appts_scheduled_32_to_62_days,
reporting_facility_appointment_scheduled_days.diabetes_appts_scheduled_more_than_62_days
FROM ((((((((((((public.reporting_facilities rf
JOIN public.reporting_months cal ON (true))
LEFT JOIN registered_patients ON (((registered_patients.month_date = cal.month_date) AND (registered_patients.region_id = rf.facility_region_id))))
LEFT JOIN registered_diabetes_patients ON (((registered_diabetes_patients.month_date = cal.month_date) AND (registered_diabetes_patients.region_id = rf.facility_region_id))))
LEFT JOIN assigned_patients ON (((assigned_patients.month_date = cal.month_date) AND (assigned_patients.region_id = rf.facility_region_id))))
LEFT JOIN assigned_diabetes_patients ON (((assigned_diabetes_patients.month_date = cal.month_date) AND (assigned_diabetes_patients.region_id = rf.facility_region_id))))
LEFT JOIN adjusted_outcomes ON (((adjusted_outcomes.month_date = cal.month_date) AND (adjusted_outcomes.region_id = rf.facility_region_id))))
LEFT JOIN adjusted_diabetes_outcomes ON (((adjusted_diabetes_outcomes.month_date = cal.month_date) AND (adjusted_diabetes_outcomes.region_id = rf.facility_region_id))))
LEFT JOIN monthly_cohort_outcomes ON (((monthly_cohort_outcomes.month_date = cal.month_date) AND (monthly_cohort_outcomes.region_id = rf.facility_region_id))))
LEFT JOIN monthly_overdue_calls ON (((monthly_overdue_calls.month_date = cal.month_date) AND (monthly_overdue_calls.region_id = rf.facility_region_id))))
LEFT JOIN monthly_follow_ups ON (((monthly_follow_ups.month_date = cal.month_date) AND (monthly_follow_ups.facility_id = rf.facility_id))))
LEFT JOIN monthly_diabetes_follow_ups ON (((monthly_diabetes_follow_ups.month_date = cal.month_date) AND (monthly_diabetes_follow_ups.facility_id = rf.facility_id))))
LEFT JOIN public.reporting_facility_appointment_scheduled_days ON (((reporting_facility_appointment_scheduled_days.month_date = cal.month_date) AND (reporting_facility_appointment_scheduled_days.facility_id = rf.facility_id))))
WITH NO DATA;
--
-- Name: MATERIALIZED VIEW reporting_facility_states; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON MATERIALIZED VIEW public.reporting_facility_states IS 'Monthly summary of a facility''s indicators. This table has one row per facility, per month, from the month of the facility''s first registration.';
--
-- Name: COLUMN reporting_facility_states.month_date; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.month_date IS 'The reporting month for this row, represented as the date at the beginning of the month';
--
-- Name: COLUMN reporting_facility_states.month; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.month IS 'Month (1-12) of year';
--
-- Name: COLUMN reporting_facility_states.quarter; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.quarter IS 'Quarter (1-4) of year';
--
-- Name: COLUMN reporting_facility_states.year; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.year IS 'Year in YYYY format';
--
-- Name: COLUMN reporting_facility_states.month_string; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.month_string IS 'String that represents a month, in YYYY-MM format';
--
-- Name: COLUMN reporting_facility_states.quarter_string; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.quarter_string IS 'String that represents a quarter, in YYYY-Q format';
--
-- Name: COLUMN reporting_facility_states.facility_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.facility_id IS 'ID of the facility';
--
-- Name: COLUMN reporting_facility_states.facility_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.facility_name IS 'Name of the facility';
--
-- Name: COLUMN reporting_facility_states.facility_type; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.facility_type IS 'Type of the facility (eg. ''District Hospital'')';
--
-- Name: COLUMN reporting_facility_states.facility_size; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.facility_size IS 'Size of the facility (community, small, medium, large)';
--
-- Name: COLUMN reporting_facility_states.facility_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.facility_region_id IS 'ID of the facility region';
--
-- Name: COLUMN reporting_facility_states.facility_region_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.facility_region_name IS 'Name of the facility region. Usually the same as the facility name';
--
-- Name: COLUMN reporting_facility_states.facility_region_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.facility_region_slug IS 'Human readable ID of the facility region';
--
-- Name: COLUMN reporting_facility_states.block_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.block_region_id IS 'ID of the block region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.block_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.block_name IS 'Name of the block region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.block_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.block_slug IS 'Human readable ID of the block region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.district_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.district_id IS 'ID of the facility group that the facility is in';
--
-- Name: COLUMN reporting_facility_states.district_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.district_region_id IS 'ID of the district region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.district_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.district_name IS 'Name of the district region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.district_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.district_slug IS 'Human readable ID of the district region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.state_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.state_region_id IS 'ID of the state region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.state_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.state_name IS 'Name of the state region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.state_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.state_slug IS 'Human readable ID of the state region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.organization_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.organization_id IS 'ID of the organization that the facility is in';
--
-- Name: COLUMN reporting_facility_states.organization_region_id; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.organization_region_id IS 'ID of the organization region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.organization_name; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.organization_name IS 'Name of the organization region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.organization_slug; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.organization_slug IS 'Human readable ID of the organization region that the facility is in';
--
-- Name: COLUMN reporting_facility_states.cumulative_registrations; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.cumulative_registrations IS 'The total number of hypertensive patients registered at the facility up to the end of the reporting month';
--
-- Name: COLUMN reporting_facility_states.monthly_registrations; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_registrations IS 'The number of hypertensive patients registered at the facility in the reporting month';
--
-- Name: COLUMN reporting_facility_states.cumulative_diabetes_registrations; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.cumulative_diabetes_registrations IS 'The total number of diabetic patients registered at the facility up to the end of the reporting month';
--
-- Name: COLUMN reporting_facility_states.monthly_diabetes_registrations; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_diabetes_registrations IS 'The number of diabetic patients registered at the facility in the reporting month';
--
-- Name: COLUMN reporting_facility_states.under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.under_care IS 'The number of patients assigned to the facility as of the reporting month where the patient had a BP recorded within the last year, and is not dead';
--
-- Name: COLUMN reporting_facility_states.lost_to_follow_up; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.lost_to_follow_up IS 'The number of patients assigned to the facility as of the reporting month where the patient did not have a BP recorded within the last year, and is not dead';
--
-- Name: COLUMN reporting_facility_states.dead; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.dead IS 'The number of hypertensive patients assigned to the facility as of the reporting month who are dead';
--
-- Name: COLUMN reporting_facility_states.cumulative_assigned_patients; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.cumulative_assigned_patients IS 'The total number of hypertensive patients assigned to the facility up to the end of the reporting month';
--
-- Name: COLUMN reporting_facility_states.diabetes_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_under_care IS 'The number of patients assigned to the facility as of the reporting month where the patient had a blood sugar recorded within the last year, and is not dead';
--
-- Name: COLUMN reporting_facility_states.diabetes_lost_to_follow_up; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_lost_to_follow_up IS 'The number of diabetic patients assigned to the facility as of the reporting month where the patient did not have a blood sugar recorded within the last year, and is not dead';
--
-- Name: COLUMN reporting_facility_states.diabetes_dead; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_dead IS 'The number of diabetic patients assigned to the facility as of the reporting month who are dead';
--
-- Name: COLUMN reporting_facility_states.cumulative_assigned_diabetic_patients; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.cumulative_assigned_diabetic_patients IS 'The total number of diabetic patients assigned to the facility up to the end of the reporting month';
--
-- Name: COLUMN reporting_facility_states.adjusted_controlled_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_controlled_under_care IS 'The number of hypertensive patients registered before the last 3 months, with a BP < 140/90 at their last visit in the last 3 months. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_uncontrolled_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_uncontrolled_under_care IS 'The number of hypertensive patients assigned to the facility that were registered before the last 3 months, with a BP >= 140/90 at their last visit in the last 3 months. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_missed_visit_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_missed_visit_under_care IS 'The number of hypertensive patients assigned to the facility that were registered before the last 3 months, with no visit in the last 3 months. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_visited_no_bp_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_visited_no_bp_under_care IS 'The number of hypertensive patients assigned to the facility that were registered before the last 3 months, with no BP taken at their last visit in the last 3 months. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_missed_visit_lost_to_follow_up; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_missed_visit_lost_to_follow_up IS 'adjusted_missed_visit_lost_to_follow_up';
--
-- Name: COLUMN reporting_facility_states.adjusted_visited_no_bp_lost_to_follow_up; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_visited_no_bp_lost_to_follow_up IS 'adjusted_visited_no_bp_lost_to_follow_up';
--
-- Name: COLUMN reporting_facility_states.adjusted_patients_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_patients_under_care IS 'The number of hypertensive patients assigned to the facility that were registered before the last 3 months';
--
-- Name: COLUMN reporting_facility_states.adjusted_patients_lost_to_follow_up; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_patients_lost_to_follow_up IS 'The number of hypertensive patients assigned to the facility that were registered before the last 3 months, with no visit in the last year';
--
-- Name: COLUMN reporting_facility_states.adjusted_random_bs_below_200_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_random_bs_below_200_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a random blood sugar < 200 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_fasting_bs_below_200_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_fasting_bs_below_200_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a fasting blood sugar < 126 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_post_prandial_bs_below_200_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_post_prandial_bs_below_200_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a post-prandial blood sugar < 200 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_hba1c_bs_below_200_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_hba1c_bs_below_200_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a hba1c blood sugar < 7%. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_bs_below_200_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_bs_below_200_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar value as of a month is categorized as bs_below_200. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_random_bs_200_to_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_random_bs_200_to_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a random blood sugar >= 200 mg/dL and < 300 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_fasting_bs_200_to_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_fasting_bs_200_to_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a fasting blood sugar >= 126 and < 200 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_post_prandial_bs_200_to_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_post_prandial_bs_200_to_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a post-prandial blood sugar >= 200 and < 300 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_hba1c_bs_200_to_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_hba1c_bs_200_to_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a hba1c blood sugar >= 7% and < 9%. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_bs_200_to_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_bs_200_to_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar value as of a month is categorized as bs_200_to_300. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_random_bs_over_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_random_bs_over_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a random blood sugar >= 300 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_fasting_bs_over_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_fasting_bs_over_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a fasting blood sugar >= 200 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_post_prandial_bs_over_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_post_prandial_bs_over_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a post-prandial blood sugar >= 300 mg/dL. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_hba1c_bs_over_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_hba1c_bs_over_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar measurement is a hba1c blood sugar >= 9%. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_bs_over_300_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_bs_over_300_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, where their latest blood sugar value as of a month is categorized as bs_over_300. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_bs_missed_visit_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_bs_missed_visit_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, with no visit in the last 3 months. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_visited_no_bs_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_visited_no_bs_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, with no blood sugar taken at their last visit in the last 3 months. Dead and lost to follow-up patients are excluded.';
--
-- Name: COLUMN reporting_facility_states.adjusted_bs_missed_visit_lost_to_follow_up; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_bs_missed_visit_lost_to_follow_up IS 'adjusted_diabetes_missed_visit_lost_to_follow_up';
--
-- Name: COLUMN reporting_facility_states.adjusted_diabetes_patients_under_care; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_diabetes_patients_under_care IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months';
--
-- Name: COLUMN reporting_facility_states.adjusted_diabetes_patients_lost_to_follow_up; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.adjusted_diabetes_patients_lost_to_follow_up IS 'The number of diabetic patients assigned to the facility that were registered before the last 3 months, with no visit in the last year';
--
-- Name: COLUMN reporting_facility_states.monthly_cohort_controlled; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_cohort_controlled IS 'The number of patients from `monthly_cohort_patients` with a BP <140/90 at their latest visit in the next two months. Eg. The number of patients registered in Jan 2020 with a controlled BP at their latest visit in Feb-Mar 2020';
--
-- Name: COLUMN reporting_facility_states.monthly_cohort_uncontrolled; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_cohort_uncontrolled IS 'The number of patients from `monthly_cohort_patients` with a BP >=140/90 at their latest visit in the next two months. Eg. The number of patients registered in Jan 2020 with an uncontrolled BP at their latest visit in Feb-Mar 2020';
--
-- Name: COLUMN reporting_facility_states.monthly_cohort_missed_visit; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_cohort_missed_visit IS 'The number of patients from `monthly_cohort_patients` with no visit in the next two months. Eg. The number of patients registered in Jan 2020 with no visit in Feb-Mar 2020';
--
-- Name: COLUMN reporting_facility_states.monthly_cohort_visited_no_bp; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_cohort_visited_no_bp IS 'The number of patients from `monthly_cohort_patients` with no BP recorded at their latest visit in the next two months. Eg. The number of patients registered in Jan 2020 with no BP recorded at their latest visit in Feb-Mar 2020';
--
-- Name: COLUMN reporting_facility_states.monthly_cohort_patients; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_cohort_patients IS 'The number of patients assigned to the facility that were registered two months before the reporting month, and have a . Eg. For a March 2020 report, the number of patients registered in Jan 2020';
--
-- Name: COLUMN reporting_facility_states.monthly_overdue_calls; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_overdue_calls IS 'The number of overdue calls made by healthcare workers at the facility in the reporting month';
--
-- Name: COLUMN reporting_facility_states.monthly_follow_ups; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_follow_ups IS 'The number of hypertensive follow-up patient visits at the facility in the reporting month';
--
-- Name: COLUMN reporting_facility_states.monthly_diabetes_follow_ups; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.monthly_diabetes_follow_ups IS 'The number of diabetic follow-up patient visits at the facility in the reporting month';
--
-- Name: COLUMN reporting_facility_states.total_appts_scheduled; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.total_appts_scheduled IS 'The total number of appointments scheduled by healthcare workers for hypertensive patients at the facility in the reporting month';
--
-- Name: COLUMN reporting_facility_states.appts_scheduled_0_to_14_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.appts_scheduled_0_to_14_days IS 'The total number of appointments scheduled by healthcare workers for hypertensive patients at the facility in the reporting month between 0 and 14 days from the visit date';
--
-- Name: COLUMN reporting_facility_states.appts_scheduled_15_to_31_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.appts_scheduled_15_to_31_days IS 'The total number of appointments scheduled by healthcare workers for hypertensive patients at the facility in the reporting month between 15 and 31 days from the visit date';
--
-- Name: COLUMN reporting_facility_states.appts_scheduled_32_to_62_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.appts_scheduled_32_to_62_days IS 'The total number of appointments scheduled by healthcare workers for hypertensive patients at the facility in the reporting month between 32 and 62 days from the visit date';
--
-- Name: COLUMN reporting_facility_states.appts_scheduled_more_than_62_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.appts_scheduled_more_than_62_days IS 'The total number of appointments scheduled by healthcare workers for hypertensive patients at the facility in the reporting month more than 62 days from the visit date';
--
-- Name: COLUMN reporting_facility_states.diabetes_total_appts_scheduled; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_total_appts_scheduled IS 'The total number of appointments scheduled by healthcare workers for diabetic patients at the facility in the reporting month';
--
-- Name: COLUMN reporting_facility_states.diabetes_appts_scheduled_0_to_14_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_appts_scheduled_0_to_14_days IS 'The total number of appointments scheduled by healthcare workers for diabetic patients at the facility in the reporting month between 0 and 14 days from the visit date';
--
-- Name: COLUMN reporting_facility_states.diabetes_appts_scheduled_15_to_31_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_appts_scheduled_15_to_31_days IS 'The total number of appointments scheduled by healthcare workers for diabetic patients at the facility in the reporting month between 15 and 31 days from the visit date';
--
-- Name: COLUMN reporting_facility_states.diabetes_appts_scheduled_32_to_62_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_appts_scheduled_32_to_62_days IS 'The total number of appointments scheduled by healthcare workers for diabetic patients at the facility in the reporting month between 32 and 62 days from the visit date';
--
-- Name: COLUMN reporting_facility_states.diabetes_appts_scheduled_more_than_62_days; Type: COMMENT; Schema: public; Owner: -
--
COMMENT ON COLUMN public.reporting_facility_states.diabetes_appts_scheduled_more_than_62_days IS 'The total number of appointments scheduled by healthcare workers for diabetic patients at the facility in the reporting month more than 62 days from the visit date';
--
-- Name: reporting_quarterly_facility_states; Type: MATERIALIZED VIEW; Schema: public; Owner: -
--
CREATE MATERIALIZED VIEW public.reporting_quarterly_facility_states AS
WITH quarterly_cohort_outcomes AS (
SELECT reporting_patient_states.assigned_facility_region_id AS region_id,
reporting_patient_states.quarter_string,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_quarter = 'visited_no_bp'::text)) AS visited_no_bp,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_quarter = 'controlled'::text)) AS controlled,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_quarter = 'uncontrolled'::text)) AS uncontrolled,
count(DISTINCT reporting_patient_states.patient_id) FILTER (WHERE (reporting_patient_states.htn_treatment_outcome_in_quarter = 'missed_visit'::text)) AS missed_visit,
count(DISTINCT reporting_patient_states.patient_id) AS patients
FROM public.reporting_patient_states
WHERE ((reporting_patient_states.hypertension = 'yes'::text) AND ((((reporting_patient_states.month)::integer % 3) = 0) OR (reporting_patient_states.month_string = to_char(now(), 'YYYY-MM'::text))) AND (reporting_patient_states.quarters_since_registration = (1)::double precision))
GROUP BY reporting_patient_states.assigned_facility_region_id, reporting_patient_states.quarter_string
)
SELECT cal.month_date,
cal.month,
cal.quarter,
cal.year,
cal.month_string,
cal.quarter_string,
rf.facility_id,
rf.facility_name,
rf.facility_type,
rf.facility_size,
rf.facility_region_id,
rf.facility_region_name,
rf.facility_region_slug,
rf.block_region_id,
rf.block_name,
rf.block_slug,
rf.district_id,
rf.district_region_id,
rf.district_name,
rf.district_slug,
rf.state_region_id,
rf.state_name,
rf.state_slug,
rf.organization_id,
rf.organization_region_id,
rf.organization_name,
rf.organization_slug,
quarterly_cohort_outcomes.controlled AS quarterly_cohort_controlled,
quarterly_cohort_outcomes.uncontrolled AS quarterly_cohort_uncontrolled,
quarterly_cohort_outcomes.missed_visit AS quarterly_cohort_missed_visit,
quarterly_cohort_outcomes.visited_no_bp AS quarterly_cohort_visited_no_bp,
quarterly_cohort_outcomes.patients AS quarterly_cohort_patients
FROM ((public.reporting_facilities rf
JOIN public.reporting_months cal ON (((((cal.month)::integer % 3) = 0) OR (cal.month_string = to_char(now(), 'YYYY-MM'::text)))))
LEFT JOIN quarterly_cohort_outcomes ON (((quarterly_cohort_outcomes.quarter_string = cal.quarter_string) AND (quarterly_cohort_outcomes.region_id = rf.facility_region_id))))
WITH NO DATA;
--
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.schema_migrations (
version character varying NOT NULL
);
--
-- Name: teleconsultations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.teleconsultations (
id uuid NOT NULL,
patient_id uuid NOT NULL,
medical_officer_id uuid NOT NULL,
requested_medical_officer_id uuid,
requester_id uuid,
facility_id uuid,
requester_completion_status character varying,
requested_at timestamp without time zone,
recorded_at timestamp without time zone,
teleconsultation_type character varying,
patient_took_medicines character varying,
patient_consented character varying,
medical_officer_number character varying,
deleted_at timestamp without time zone,
device_updated_at timestamp without time zone,
device_created_at timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: treatment_group_memberships; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.treatment_group_memberships (
id bigint NOT NULL,
treatment_group_id uuid NOT NULL,
patient_id uuid NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
experiment_id uuid NOT NULL,
appointment_id uuid,
experiment_name character varying NOT NULL,
treatment_group_name character varying NOT NULL,
experiment_inclusion_date timestamp without time zone,
expected_return_date timestamp without time zone,
expected_return_facility_id uuid,
expected_return_facility_type character varying,
expected_return_facility_name character varying,
expected_return_facility_block character varying,
expected_return_facility_district character varying,
expected_return_facility_state character varying,
appointment_creation_time timestamp without time zone,
appointment_creation_facility_id uuid,
appointment_creation_facility_type character varying,
appointment_creation_facility_name character varying,
appointment_creation_facility_block character varying,
appointment_creation_facility_district character varying,
appointment_creation_facility_state character varying,
gender character varying,
age integer,
risk_level character varying,
diagnosed_htn character varying,
assigned_facility_id uuid,
assigned_facility_name character varying,
assigned_facility_type character varying,
assigned_facility_block character varying,
assigned_facility_district character varying,
assigned_facility_state character varying,
registration_facility_id uuid,
registration_facility_name character varying,
registration_facility_type character varying,
registration_facility_block character varying,
registration_facility_district character varying,
registration_facility_state character varying,
visited_at timestamp without time zone,
visit_facility_id uuid,
visit_facility_name character varying,
visit_facility_type character varying,
visit_facility_block character varying,
visit_facility_district character varying,
visit_facility_state character varying,
visit_blood_pressure_id uuid,
visit_blood_sugar_id uuid,
visit_prescription_drug_created boolean,
days_to_visit integer,
messages jsonb,
status character varying,
status_reason character varying,
status_updated_at timestamp without time zone,
deleted_at timestamp without time zone
);
--
-- Name: treatment_group_memberships_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.treatment_group_memberships_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: treatment_group_memberships_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.treatment_group_memberships_id_seq OWNED BY public.treatment_group_memberships.id;
--
-- Name: treatment_groups; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.treatment_groups (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
description character varying NOT NULL,
experiment_id uuid NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: twilio_sms_delivery_details; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.twilio_sms_delivery_details (
id bigint NOT NULL,
session_id character varying,
result character varying,
callee_phone_number character varying NOT NULL,
delivered_on timestamp without time zone,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
read_at timestamp without time zone
);
--
-- Name: twilio_sms_delivery_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.twilio_sms_delivery_details_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: twilio_sms_delivery_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.twilio_sms_delivery_details_id_seq OWNED BY public.twilio_sms_delivery_details.id;
--
-- Name: user_authentications; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.user_authentications (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
user_id uuid,
authenticatable_type character varying,
authenticatable_id uuid,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone
);
--
-- Name: users; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.users (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
full_name character varying,
sync_approval_status character varying NOT NULL,
sync_approval_status_reason character varying,
device_updated_at timestamp without time zone NOT NULL,
device_created_at timestamp without time zone NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
role character varying,
organization_id uuid,
access_level character varying,
teleconsultation_phone_number character varying,
teleconsultation_isd_code character varying,
receive_approval_notifications boolean DEFAULT true NOT NULL
);
--
-- Name: bsnl_delivery_details id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.bsnl_delivery_details ALTER COLUMN id SET DEFAULT nextval('public.bsnl_delivery_details_id_seq'::regclass);
--
-- Name: call_logs id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.call_logs ALTER COLUMN id SET DEFAULT nextval('public.call_logs_id_seq'::regclass);
--
-- Name: facility_business_identifiers id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.facility_business_identifiers ALTER COLUMN id SET DEFAULT nextval('public.facility_business_identifiers_id_seq'::regclass);
--
-- Name: flipper_features id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.flipper_features ALTER COLUMN id SET DEFAULT nextval('public.flipper_features_id_seq'::regclass);
--
-- Name: flipper_gates id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.flipper_gates ALTER COLUMN id SET DEFAULT nextval('public.flipper_gates_id_seq'::regclass);
--
-- Name: observations id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.observations ALTER COLUMN id SET DEFAULT nextval('public.observations_id_seq'::regclass);
--
-- Name: passport_authentications id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.passport_authentications ALTER COLUMN id SET DEFAULT nextval('public.passport_authentications_id_seq'::regclass);
--
-- Name: treatment_group_memberships id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_group_memberships ALTER COLUMN id SET DEFAULT nextval('public.treatment_group_memberships_id_seq'::regclass);
--
-- Name: twilio_sms_delivery_details id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.twilio_sms_delivery_details ALTER COLUMN id SET DEFAULT nextval('public.twilio_sms_delivery_details_id_seq'::regclass);
--
-- Name: accesses accesses_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.accesses
ADD CONSTRAINT accesses_pkey PRIMARY KEY (id);
--
-- Name: addresses addresses_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.addresses
ADD CONSTRAINT addresses_pkey PRIMARY KEY (id);
--
-- Name: appointments appointments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.appointments
ADD CONSTRAINT appointments_pkey PRIMARY KEY (id);
--
-- Name: ar_internal_metadata ar_internal_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.ar_internal_metadata
ADD CONSTRAINT ar_internal_metadata_pkey PRIMARY KEY (key);
--
-- Name: blood_pressures blood_pressures_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.blood_pressures
ADD CONSTRAINT blood_pressures_pkey PRIMARY KEY (id);
--
-- Name: blood_sugars blood_sugars_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.blood_sugars
ADD CONSTRAINT blood_sugars_pkey PRIMARY KEY (id);
--
-- Name: bsnl_delivery_details bsnl_delivery_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.bsnl_delivery_details
ADD CONSTRAINT bsnl_delivery_details_pkey PRIMARY KEY (id);
--
-- Name: call_logs call_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.call_logs
ADD CONSTRAINT call_logs_pkey PRIMARY KEY (id);
--
-- Name: call_results call_results_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.call_results
ADD CONSTRAINT call_results_pkey PRIMARY KEY (id);
--
-- Name: communications communications_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.communications
ADD CONSTRAINT communications_pkey PRIMARY KEY (id);
--
-- Name: configurations configurations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.configurations
ADD CONSTRAINT configurations_pkey PRIMARY KEY (id);
--
-- Name: data_migrations data_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.data_migrations
ADD CONSTRAINT data_migrations_pkey PRIMARY KEY (version);
--
-- Name: deduplication_logs deduplication_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.deduplication_logs
ADD CONSTRAINT deduplication_logs_pkey PRIMARY KEY (id);
--
-- Name: drug_stocks drug_stocks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.drug_stocks
ADD CONSTRAINT drug_stocks_pkey PRIMARY KEY (id);
--
-- Name: email_authentications email_authentications_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.email_authentications
ADD CONSTRAINT email_authentications_pkey PRIMARY KEY (id);
--
-- Name: encounters encounters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.encounters
ADD CONSTRAINT encounters_pkey PRIMARY KEY (id);
--
-- Name: estimated_populations estimated_populations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.estimated_populations
ADD CONSTRAINT estimated_populations_pkey PRIMARY KEY (id);
--
-- Name: exotel_phone_number_details exotel_phone_number_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.exotel_phone_number_details
ADD CONSTRAINT exotel_phone_number_details_pkey PRIMARY KEY (id);
--
-- Name: experiments experiments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.experiments
ADD CONSTRAINT experiments_pkey PRIMARY KEY (id);
--
-- Name: facilities facilities_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.facilities
ADD CONSTRAINT facilities_pkey PRIMARY KEY (id);
--
-- Name: facility_business_identifiers facility_business_identifiers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.facility_business_identifiers
ADD CONSTRAINT facility_business_identifiers_pkey PRIMARY KEY (id);
--
-- Name: facility_groups facility_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.facility_groups
ADD CONSTRAINT facility_groups_pkey PRIMARY KEY (id);
--
-- Name: flipper_features flipper_features_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.flipper_features
ADD CONSTRAINT flipper_features_pkey PRIMARY KEY (id);
--
-- Name: flipper_gates flipper_gates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.flipper_gates
ADD CONSTRAINT flipper_gates_pkey PRIMARY KEY (id);
--
-- Name: medical_histories medical_histories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.medical_histories
ADD CONSTRAINT medical_histories_pkey PRIMARY KEY (id);
--
-- Name: notifications notifications_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.notifications
ADD CONSTRAINT notifications_pkey PRIMARY KEY (id);
--
-- Name: observations observations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.observations
ADD CONSTRAINT observations_pkey PRIMARY KEY (id);
--
-- Name: organizations organizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.organizations
ADD CONSTRAINT organizations_pkey PRIMARY KEY (id);
--
-- Name: passport_authentications passport_authentications_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.passport_authentications
ADD CONSTRAINT passport_authentications_pkey PRIMARY KEY (id);
--
-- Name: patient_business_identifiers patient_business_identifiers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.patient_business_identifiers
ADD CONSTRAINT patient_business_identifiers_pkey PRIMARY KEY (id);
--
-- Name: patient_phone_numbers patient_phone_numbers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.patient_phone_numbers
ADD CONSTRAINT patient_phone_numbers_pkey PRIMARY KEY (id);
--
-- Name: patients patients_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.patients
ADD CONSTRAINT patients_pkey PRIMARY KEY (id);
--
-- Name: phone_number_authentications phone_number_authentications_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.phone_number_authentications
ADD CONSTRAINT phone_number_authentications_pkey PRIMARY KEY (id);
--
-- Name: prescription_drugs prescription_drugs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.prescription_drugs
ADD CONSTRAINT prescription_drugs_pkey PRIMARY KEY (id);
--
-- Name: protocol_drugs protocol_drugs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.protocol_drugs
ADD CONSTRAINT protocol_drugs_pkey PRIMARY KEY (id);
--
-- Name: protocols protocols_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.protocols
ADD CONSTRAINT protocols_pkey PRIMARY KEY (id);
--
-- Name: regions regions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.regions
ADD CONSTRAINT regions_pkey PRIMARY KEY (id);
--
-- Name: reminder_templates reminder_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.reminder_templates
ADD CONSTRAINT reminder_templates_pkey PRIMARY KEY (id);
--
-- Name: schema_migrations schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.schema_migrations
ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (version);
--
-- Name: teleconsultations teleconsultations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.teleconsultations
ADD CONSTRAINT teleconsultations_pkey PRIMARY KEY (id);
--
-- Name: treatment_group_memberships treatment_group_memberships_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_group_memberships
ADD CONSTRAINT treatment_group_memberships_pkey PRIMARY KEY (id);
--
-- Name: treatment_groups treatment_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_groups
ADD CONSTRAINT treatment_groups_pkey PRIMARY KEY (id);
--
-- Name: twilio_sms_delivery_details twilio_sms_delivery_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.twilio_sms_delivery_details
ADD CONSTRAINT twilio_sms_delivery_details_pkey PRIMARY KEY (id);
--
-- Name: user_authentications user_authentications_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.user_authentications
ADD CONSTRAINT user_authentications_pkey PRIMARY KEY (id);
--
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.users
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
--
-- Name: clean_medicine_to_dosages__unique_name_and_dosage; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX clean_medicine_to_dosages__unique_name_and_dosage ON public.clean_medicine_to_dosages USING btree (medicine, dosage, rxcui);
--
-- Name: daily_follow_ups_day_patient_facility; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX daily_follow_ups_day_patient_facility ON public.reporting_daily_follow_ups USING btree (patient_id, facility_id, day_of_year);
--
-- Name: idx_deduplication_logs_lookup_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX idx_deduplication_logs_lookup_deleted_at ON public.deduplication_logs USING btree (deleted_at, deleted_record_id);
--
-- Name: idx_deduplication_logs_lookup_deleted_record; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX idx_deduplication_logs_lookup_deleted_record ON public.deduplication_logs USING btree (record_type, deleted_record_id);
--
-- Name: idx_observations_on_observable_type_and_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX idx_observations_on_observable_type_and_id ON public.observations USING btree (observable_type, observable_id);
--
-- Name: index_accesses_on_resource_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_accesses_on_resource_id ON public.accesses USING btree (resource_id);
--
-- Name: index_accesses_on_resource_type_and_resource_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_accesses_on_resource_type_and_resource_id ON public.accesses USING btree (resource_type, resource_id);
--
-- Name: index_accesses_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_accesses_on_user_id ON public.accesses USING btree (user_id);
--
-- Name: index_accesses_on_user_id_and_resource_id_and_resource_type; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_accesses_on_user_id_and_resource_id_and_resource_type ON public.accesses USING btree (user_id, resource_id, resource_type);
--
-- Name: index_addresses_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_addresses_on_deleted_at ON public.addresses USING btree (deleted_at);
--
-- Name: index_addresses_on_zone; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_addresses_on_zone ON public.addresses USING btree (zone);
--
-- Name: index_appointments_on_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_appointments_on_facility_id ON public.appointments USING btree (facility_id);
--
-- Name: index_appointments_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_appointments_on_patient_id ON public.appointments USING btree (patient_id);
--
-- Name: index_appointments_on_patient_id_and_scheduled_date; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_appointments_on_patient_id_and_scheduled_date ON public.appointments USING btree (patient_id, scheduled_date DESC);
--
-- Name: index_appointments_on_patient_id_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_appointments_on_patient_id_and_updated_at ON public.appointments USING btree (patient_id, updated_at);
--
-- Name: index_appointments_on_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_appointments_on_updated_at ON public.appointments USING btree (updated_at);
--
-- Name: index_appointments_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_appointments_on_user_id ON public.appointments USING btree (user_id);
--
-- Name: index_blood_pressures_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_deleted_at ON public.blood_pressures USING btree (deleted_at);
--
-- Name: index_blood_pressures_on_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_facility_id ON public.blood_pressures USING btree (facility_id);
--
-- Name: index_blood_pressures_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_patient_id ON public.blood_pressures USING btree (patient_id);
--
-- Name: index_blood_pressures_on_patient_id_and_recorded_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_patient_id_and_recorded_at ON public.blood_pressures USING btree (patient_id, recorded_at DESC);
--
-- Name: index_blood_pressures_on_patient_id_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_patient_id_and_updated_at ON public.blood_pressures USING btree (patient_id, updated_at);
--
-- Name: index_blood_pressures_on_recorded_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_recorded_at ON public.blood_pressures USING btree (recorded_at);
--
-- Name: index_blood_pressures_on_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_updated_at ON public.blood_pressures USING btree (updated_at);
--
-- Name: index_blood_pressures_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_pressures_on_user_id ON public.blood_pressures USING btree (user_id);
--
-- Name: index_blood_pressures_per_facility_per_days; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_blood_pressures_per_facility_per_days ON public.blood_pressures_per_facility_per_days USING btree (facility_id, day, year);
--
-- Name: index_blood_sugars_on_blood_sugar_type; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_sugars_on_blood_sugar_type ON public.blood_sugars USING btree (blood_sugar_type);
--
-- Name: index_blood_sugars_on_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_sugars_on_facility_id ON public.blood_sugars USING btree (facility_id);
--
-- Name: index_blood_sugars_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_sugars_on_patient_id ON public.blood_sugars USING btree (patient_id);
--
-- Name: index_blood_sugars_on_patient_id_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_sugars_on_patient_id_and_updated_at ON public.blood_sugars USING btree (patient_id, updated_at);
--
-- Name: index_blood_sugars_on_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_sugars_on_updated_at ON public.blood_sugars USING btree (updated_at);
--
-- Name: index_blood_sugars_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_blood_sugars_on_user_id ON public.blood_sugars USING btree (user_id);
--
-- Name: index_bp_months_assigned_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_bp_months_assigned_facility_id ON public.latest_blood_pressures_per_patient_per_months USING btree (assigned_facility_id);
--
-- Name: index_bp_months_bp_recorded_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_bp_months_bp_recorded_at ON public.latest_blood_pressures_per_patient_per_months USING btree (bp_recorded_at);
--
-- Name: index_bp_months_patient_recorded_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_bp_months_patient_recorded_at ON public.latest_blood_pressures_per_patient_per_months USING btree (patient_recorded_at);
--
-- Name: index_communications_on_appointment_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_communications_on_appointment_id ON public.communications USING btree (appointment_id);
--
-- Name: index_communications_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_communications_on_deleted_at ON public.communications USING btree (deleted_at);
--
-- Name: index_communications_on_detailable_type_and_detailable_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_communications_on_detailable_type_and_detailable_id ON public.communications USING btree (detailable_type, detailable_id);
--
-- Name: index_communications_on_notification_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_communications_on_notification_id ON public.communications USING btree (notification_id);
--
-- Name: index_configurations_on_name; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_configurations_on_name ON public.configurations USING btree (name);
--
-- Name: index_deduplication_logs_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_deduplication_logs_on_user_id ON public.deduplication_logs USING btree (user_id);
--
-- Name: index_dfu_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_dfu_facility_id ON public.reporting_daily_follow_ups USING btree (facility_id);
--
-- Name: index_drug_stocks_on_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_drug_stocks_on_facility_id ON public.drug_stocks USING btree (facility_id);
--
-- Name: index_email_authentications_invited_by; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_email_authentications_invited_by ON public.email_authentications USING btree (invited_by_type, invited_by_id);
--
-- Name: index_email_authentications_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_email_authentications_on_deleted_at ON public.email_authentications USING btree (deleted_at);
--
-- Name: index_email_authentications_on_email; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_email_authentications_on_email ON public.email_authentications USING btree (email);
--
-- Name: index_email_authentications_on_invitation_token; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_email_authentications_on_invitation_token ON public.email_authentications USING btree (invitation_token);
--
-- Name: index_email_authentications_on_invitations_count; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_email_authentications_on_invitations_count ON public.email_authentications USING btree (invitations_count);
--
-- Name: index_email_authentications_on_invited_by_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_email_authentications_on_invited_by_id ON public.email_authentications USING btree (invited_by_id);
--
-- Name: index_email_authentications_on_reset_password_token; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_email_authentications_on_reset_password_token ON public.email_authentications USING btree (reset_password_token);
--
-- Name: index_email_authentications_on_unlock_token; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_email_authentications_on_unlock_token ON public.email_authentications USING btree (unlock_token);
--
-- Name: index_encounters_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_encounters_on_deleted_at ON public.encounters USING btree (deleted_at);
--
-- Name: index_encounters_on_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_encounters_on_facility_id ON public.encounters USING btree (facility_id);
--
-- Name: index_encounters_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_encounters_on_patient_id ON public.encounters USING btree (patient_id);
--
-- Name: index_encounters_on_patient_id_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_encounters_on_patient_id_and_updated_at ON public.encounters USING btree (patient_id, updated_at);
--
-- Name: index_estimated_populations_on_region_id_and_diagnosis; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_estimated_populations_on_region_id_and_diagnosis ON public.estimated_populations USING btree (region_id, diagnosis);
--
-- Name: index_experiments_on_name; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_experiments_on_name ON public.experiments USING btree (name);
--
-- Name: index_facilities_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facilities_on_deleted_at ON public.facilities USING btree (deleted_at);
--
-- Name: index_facilities_on_enable_diabetes_management; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facilities_on_enable_diabetes_management ON public.facilities USING btree (enable_diabetes_management);
--
-- Name: index_facilities_on_facility_group_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facilities_on_facility_group_id ON public.facilities USING btree (facility_group_id);
--
-- Name: index_facilities_on_slug; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_facilities_on_slug ON public.facilities USING btree (slug);
--
-- Name: index_facilities_on_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facilities_on_updated_at ON public.facilities USING btree (updated_at);
--
-- Name: index_facilities_teleconsult_mos_on_facility_id_and_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facilities_teleconsult_mos_on_facility_id_and_user_id ON public.facilities_teleconsultation_medical_officers USING btree (facility_id, user_id);
--
-- Name: index_facility_business_identifiers_on_facility_and_id_type; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_facility_business_identifiers_on_facility_and_id_type ON public.facility_business_identifiers USING btree (facility_id, identifier_type);
--
-- Name: index_facility_business_identifiers_on_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facility_business_identifiers_on_facility_id ON public.facility_business_identifiers USING btree (facility_id);
--
-- Name: index_facility_groups_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facility_groups_on_deleted_at ON public.facility_groups USING btree (deleted_at);
--
-- Name: index_facility_groups_on_organization_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facility_groups_on_organization_id ON public.facility_groups USING btree (organization_id);
--
-- Name: index_facility_groups_on_protocol_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_facility_groups_on_protocol_id ON public.facility_groups USING btree (protocol_id);
--
-- Name: index_facility_groups_on_slug; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_facility_groups_on_slug ON public.facility_groups USING btree (slug);
--
-- Name: index_flipper_features_on_key; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_flipper_features_on_key ON public.flipper_features USING btree (key);
--
-- Name: index_flipper_gates_on_feature_key_and_key_and_value; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_flipper_gates_on_feature_key_and_key_and_value ON public.flipper_gates USING btree (feature_key, key, value);
--
-- Name: index_fs_dimensions_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_fs_dimensions_facility_id ON public.reporting_facility_state_dimensions USING btree (facility_id);
--
-- Name: index_fs_dimensions_month_date_facility_region_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_fs_dimensions_month_date_facility_region_id ON public.reporting_facility_state_dimensions USING btree (month_date, facility_region_id);
--
-- Name: index_fs_month_date_region_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_fs_month_date_region_id ON public.reporting_facility_states USING btree (month_date, facility_region_id);
--
-- Name: index_gin_email_authentications_on_email; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_gin_email_authentications_on_email ON public.email_authentications USING gin (to_tsvector('simple'::regconfig, COALESCE((email)::text, ''::text)));
--
-- Name: index_gin_phone_number_authentications_on_phone_number; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_gin_phone_number_authentications_on_phone_number ON public.phone_number_authentications USING gin (to_tsvector('simple'::regconfig, COALESCE((phone_number)::text, ''::text)));
--
-- Name: index_gin_users_on_full_name; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_gin_users_on_full_name ON public.users USING gin (to_tsvector('simple'::regconfig, COALESCE((full_name)::text, ''::text)));
--
-- Name: index_latest_blood_pressures_per_patient_per_months; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_latest_blood_pressures_per_patient_per_months ON public.latest_blood_pressures_per_patient_per_months USING btree (bp_id);
--
-- Name: index_latest_blood_pressures_per_patient_per_quarters; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_latest_blood_pressures_per_patient_per_quarters ON public.latest_blood_pressures_per_patient_per_quarters USING btree (bp_id);
--
-- Name: index_latest_blood_pressures_per_patients; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_latest_blood_pressures_per_patients ON public.latest_blood_pressures_per_patients USING btree (bp_id);
--
-- Name: index_latest_bp_per_patient_per_months_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_latest_bp_per_patient_per_months_patient_id ON public.latest_blood_pressures_per_patient_per_months USING btree (patient_id);
--
-- Name: index_latest_bp_per_patient_per_quarters_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_latest_bp_per_patient_per_quarters_patient_id ON public.latest_blood_pressures_per_patient_per_quarters USING btree (patient_id);
--
-- Name: index_materialized_patient_summaries_on_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_materialized_patient_summaries_on_id ON public.materialized_patient_summaries USING btree (id);
--
-- Name: index_medical_histories_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_medical_histories_on_patient_id ON public.medical_histories USING btree (patient_id);
--
-- Name: index_medical_histories_on_patient_id_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_medical_histories_on_patient_id_and_updated_at ON public.medical_histories USING btree (patient_id, updated_at);
--
-- Name: index_notifications_on_experiment_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_notifications_on_experiment_id ON public.notifications USING btree (experiment_id);
--
-- Name: index_notifications_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_notifications_on_patient_id ON public.notifications USING btree (patient_id);
--
-- Name: index_notifications_on_reminder_template_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_notifications_on_reminder_template_id ON public.notifications USING btree (reminder_template_id);
--
-- Name: index_notifications_on_subject_type_and_subject_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_notifications_on_subject_type_and_subject_id ON public.notifications USING btree (subject_type, subject_id);
--
-- Name: index_observations_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_observations_on_deleted_at ON public.observations USING btree (deleted_at);
--
-- Name: index_observations_on_encounter_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_observations_on_encounter_id ON public.observations USING btree (encounter_id);
--
-- Name: index_observations_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_observations_on_user_id ON public.observations USING btree (user_id);
--
-- Name: index_organizations_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_organizations_on_deleted_at ON public.organizations USING btree (deleted_at);
--
-- Name: index_organizations_on_slug; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_organizations_on_slug ON public.organizations USING btree (slug);
--
-- Name: index_patient_business_identifiers_identifier; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patient_business_identifiers_identifier ON public.patient_business_identifiers USING btree (identifier);
--
-- Name: index_patient_business_identifiers_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patient_business_identifiers_on_deleted_at ON public.patient_business_identifiers USING btree (deleted_at);
--
-- Name: index_patient_business_identifiers_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patient_business_identifiers_on_patient_id ON public.patient_business_identifiers USING btree (patient_id);
--
-- Name: index_patient_phone_numbers_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patient_phone_numbers_on_deleted_at ON public.patient_phone_numbers USING btree (deleted_at);
--
-- Name: index_patient_phone_numbers_on_dnd_status; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patient_phone_numbers_on_dnd_status ON public.patient_phone_numbers USING btree (dnd_status);
--
-- Name: index_patient_phone_numbers_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patient_phone_numbers_on_patient_id ON public.patient_phone_numbers USING btree (patient_id);
--
-- Name: index_patient_registrations_per_day_per_facilities; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_patient_registrations_per_day_per_facilities ON public.patient_registrations_per_day_per_facilities USING btree (facility_id, day, year);
--
-- Name: index_patients_on_address_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_address_id ON public.patients USING btree (address_id);
--
-- Name: index_patients_on_assigned_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_assigned_facility_id ON public.patients USING btree (assigned_facility_id);
--
-- Name: index_patients_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_deleted_at ON public.patients USING btree (deleted_at);
--
-- Name: index_patients_on_id_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_id_and_updated_at ON public.patients USING btree (id, updated_at);
--
-- Name: index_patients_on_recorded_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_recorded_at ON public.patients USING btree (recorded_at);
--
-- Name: index_patients_on_registration_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_registration_facility_id ON public.patients USING btree (registration_facility_id);
--
-- Name: index_patients_on_registration_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_registration_user_id ON public.patients USING btree (registration_user_id);
--
-- Name: index_patients_on_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_patients_on_updated_at ON public.patients USING btree (updated_at);
--
-- Name: index_phone_number_authentications_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_phone_number_authentications_on_deleted_at ON public.phone_number_authentications USING btree (deleted_at);
--
-- Name: index_prescription_drugs_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_prescription_drugs_on_deleted_at ON public.prescription_drugs USING btree (deleted_at);
--
-- Name: index_prescription_drugs_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_prescription_drugs_on_patient_id ON public.prescription_drugs USING btree (patient_id);
--
-- Name: index_prescription_drugs_on_patient_id_and_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_prescription_drugs_on_patient_id_and_updated_at ON public.prescription_drugs USING btree (patient_id, updated_at);
--
-- Name: index_prescription_drugs_on_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_prescription_drugs_on_updated_at ON public.prescription_drugs USING btree (updated_at);
--
-- Name: index_prescription_drugs_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_prescription_drugs_on_user_id ON public.prescription_drugs USING btree (user_id);
--
-- Name: index_protocol_drugs_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_protocol_drugs_on_deleted_at ON public.protocol_drugs USING btree (deleted_at);
--
-- Name: index_protocols_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_protocols_on_deleted_at ON public.protocols USING btree (deleted_at);
--
-- Name: index_protocols_on_updated_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_protocols_on_updated_at ON public.protocols USING btree (updated_at);
--
-- Name: index_qfs_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_qfs_facility_id ON public.reporting_quarterly_facility_states USING btree (facility_id);
--
-- Name: index_qfs_quarter_string_region_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_qfs_quarter_string_region_id ON public.reporting_quarterly_facility_states USING btree (quarter_string, facility_region_id);
--
-- Name: index_regions_on_path; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_regions_on_path ON public.regions USING gist (path);
--
-- Name: index_regions_on_region_type; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_regions_on_region_type ON public.regions USING btree (region_type);
--
-- Name: index_regions_on_slug; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_regions_on_slug ON public.regions USING btree (slug);
--
-- Name: index_regions_on_source_type_and_source_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_regions_on_source_type_and_source_id ON public.regions USING btree (source_type, source_id);
--
-- Name: index_regions_on_unique_path; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_regions_on_unique_path ON public.regions USING btree (path);
--
-- Name: index_reminder_templates_on_treatment_group_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_reminder_templates_on_treatment_group_id ON public.reminder_templates USING btree (treatment_group_id);
--
-- Name: index_reporting_facility_appointment_scheduled_days; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_reporting_facility_appointment_scheduled_days ON public.reporting_facility_appointment_scheduled_days USING btree (month_date, facility_id);
--
-- Name: index_teleconsultations_on_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_teleconsultations_on_facility_id ON public.teleconsultations USING btree (facility_id);
--
-- Name: index_teleconsultations_on_medical_officer_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_teleconsultations_on_medical_officer_id ON public.teleconsultations USING btree (medical_officer_id);
--
-- Name: index_teleconsultations_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_teleconsultations_on_patient_id ON public.teleconsultations USING btree (patient_id);
--
-- Name: index_teleconsultations_on_requested_medical_officer_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_teleconsultations_on_requested_medical_officer_id ON public.teleconsultations USING btree (requested_medical_officer_id);
--
-- Name: index_teleconsultations_on_requester_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_teleconsultations_on_requester_id ON public.teleconsultations USING btree (requester_id);
--
-- Name: index_tgm_patient_id_and_experiment_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_tgm_patient_id_and_experiment_id ON public.treatment_group_memberships USING btree (patient_id, experiment_id);
--
-- Name: index_treatment_group_memberships_on_appointment_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_treatment_group_memberships_on_appointment_id ON public.treatment_group_memberships USING btree (appointment_id);
--
-- Name: index_treatment_group_memberships_on_experiment_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_treatment_group_memberships_on_experiment_id ON public.treatment_group_memberships USING btree (experiment_id);
--
-- Name: index_treatment_group_memberships_on_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_treatment_group_memberships_on_patient_id ON public.treatment_group_memberships USING btree (patient_id);
--
-- Name: index_treatment_group_memberships_on_treatment_group_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_treatment_group_memberships_on_treatment_group_id ON public.treatment_group_memberships USING btree (treatment_group_id);
--
-- Name: index_treatment_groups_on_experiment_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_treatment_groups_on_experiment_id ON public.treatment_groups USING btree (experiment_id);
--
-- Name: index_twilio_sms_delivery_details_on_session_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_twilio_sms_delivery_details_on_session_id ON public.twilio_sms_delivery_details USING btree (session_id);
--
-- Name: index_unique_exotel_phone_number_details_on_phone_number_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_unique_exotel_phone_number_details_on_phone_number_id ON public.exotel_phone_number_details USING btree (patient_phone_number_id);
--
-- Name: index_user_authentications_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_user_authentications_on_user_id ON public.user_authentications USING btree (user_id);
--
-- Name: index_users_on_access_level; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_users_on_access_level ON public.users USING btree (access_level);
--
-- Name: index_users_on_deleted_at; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_users_on_deleted_at ON public.users USING btree (deleted_at);
--
-- Name: index_users_on_organization_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_users_on_organization_id ON public.users USING btree (organization_id);
--
-- Name: index_users_on_teleconsultation_phone_number; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_users_on_teleconsultation_phone_number ON public.users USING btree (teleconsultation_phone_number);
--
-- Name: medicine_purposes_unique_name; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX medicine_purposes_unique_name ON public.medicine_purposes USING btree (name);
--
-- Name: overdue_calls_month_date_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX overdue_calls_month_date_patient_id ON public.reporting_overdue_calls USING btree (month_date, patient_id);
--
-- Name: patient_blood_pressures_patient_id_month_date; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX patient_blood_pressures_patient_id_month_date ON public.reporting_patient_blood_pressures USING btree (month_date, patient_id);
--
-- Name: patient_blood_sugars_month_date_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX patient_blood_sugars_month_date_patient_id ON public.reporting_patient_blood_sugars USING btree (month_date, patient_id);
--
-- Name: patient_states_assigned_block; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX patient_states_assigned_block ON public.reporting_patient_states USING btree (assigned_block_region_id);
--
-- Name: patient_states_assigned_district; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX patient_states_assigned_district ON public.reporting_patient_states USING btree (assigned_district_region_id);
--
-- Name: patient_states_assigned_facility; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX patient_states_assigned_facility ON public.reporting_patient_states USING btree (assigned_facility_region_id);
--
-- Name: patient_states_assigned_state; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX patient_states_assigned_state ON public.reporting_patient_states USING btree (assigned_state_region_id);
--
-- Name: patient_states_care_state; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX patient_states_care_state ON public.reporting_patient_states USING btree (hypertension, htn_care_state, htn_treatment_outcome_in_last_3_months);
--
-- Name: patient_states_month_date_patient_id; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX patient_states_month_date_patient_id ON public.reporting_patient_states USING btree (month_date, patient_id);
--
-- Name: patient_visits_patient_id_month_date; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX patient_visits_patient_id_month_date ON public.reporting_patient_visits USING btree (month_date, patient_id);
--
-- Name: raw_to_clean_medicines_unique_name_and_dosage; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX raw_to_clean_medicines_unique_name_and_dosage ON public.raw_to_clean_medicines USING btree (raw_name, raw_dosage);
--
-- Name: reporting_patient_follow_ups_unique_index; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX reporting_patient_follow_ups_unique_index ON public.reporting_patient_follow_ups USING btree (patient_id, user_id, facility_id, month_date);
--
-- Name: reporting_patient_states_bp_facility_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX reporting_patient_states_bp_facility_id ON public.reporting_patient_states USING btree (bp_facility_id);
--
-- Name: reporting_patient_states_titrated; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX reporting_patient_states_titrated ON public.reporting_patient_states USING btree (titrated);
--
-- Name: reporting_prescriptions_patient_month_date; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX reporting_prescriptions_patient_month_date ON public.reporting_prescriptions USING btree (patient_id, month_date);
--
-- Name: user_authentications_master_users_authenticatable_uniq_index; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX user_authentications_master_users_authenticatable_uniq_index ON public.user_authentications USING btree (user_id, authenticatable_type, authenticatable_id);
--
-- Name: patient_phone_numbers fk_rails_0145dd0b05; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.patient_phone_numbers
ADD CONSTRAINT fk_rails_0145dd0b05 FOREIGN KEY (patient_id) REFERENCES public.patients(id);
--
-- Name: facility_groups fk_rails_0ba9e6af98; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.facility_groups
ADD CONSTRAINT fk_rails_0ba9e6af98 FOREIGN KEY (organization_id) REFERENCES public.organizations(id);
--
-- Name: treatment_group_memberships fk_rails_14fd76db1b; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_group_memberships
ADD CONSTRAINT fk_rails_14fd76db1b FOREIGN KEY (treatment_group_id) REFERENCES public.treatment_groups(id);
--
-- Name: communications fk_rails_17477eedd4; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.communications
ADD CONSTRAINT fk_rails_17477eedd4 FOREIGN KEY (notification_id) REFERENCES public.notifications(id);
--
-- Name: treatment_groups fk_rails_1c30d535fa; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_groups
ADD CONSTRAINT fk_rails_1c30d535fa FOREIGN KEY (experiment_id) REFERENCES public.experiments(id);
--
-- Name: patients fk_rails_256d8f15cb; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.patients
ADD CONSTRAINT fk_rails_256d8f15cb FOREIGN KEY (registration_facility_id) REFERENCES public.facilities(id);
--
-- Name: patients fk_rails_39783febcc; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.patients
ADD CONSTRAINT fk_rails_39783febcc FOREIGN KEY (address_id) REFERENCES public.addresses(id);
--
-- Name: teleconsultations fk_rails_3e1ccaa4cb; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.teleconsultations
ADD CONSTRAINT fk_rails_3e1ccaa4cb FOREIGN KEY (medical_officer_id) REFERENCES public.users(id);
--
-- Name: observations fk_rails_47dc1837b8; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.observations
ADD CONSTRAINT fk_rails_47dc1837b8 FOREIGN KEY (encounter_id) REFERENCES public.encounters(id);
--
-- Name: teleconsultations fk_rails_4aa89bd48e; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.teleconsultations
ADD CONSTRAINT fk_rails_4aa89bd48e FOREIGN KEY (requested_medical_officer_id) REFERENCES public.users(id);
--
-- Name: treatment_group_memberships fk_rails_4b8f85a6e7; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_group_memberships
ADD CONSTRAINT fk_rails_4b8f85a6e7 FOREIGN KEY (appointment_id) REFERENCES public.appointments(id);
--
-- Name: drug_stocks fk_rails_5230adeadd; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.drug_stocks
ADD CONSTRAINT fk_rails_5230adeadd FOREIGN KEY (protocol_drug_id) REFERENCES public.protocol_drugs(id);
--
-- Name: estimated_populations fk_rails_58af12b1a9; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.estimated_populations
ADD CONSTRAINT fk_rails_58af12b1a9 FOREIGN KEY (region_id) REFERENCES public.regions(id);
--
-- Name: observations fk_rails_60d667a791; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.observations
ADD CONSTRAINT fk_rails_60d667a791 FOREIGN KEY (user_id) REFERENCES public.users(id);
--
-- Name: patients fk_rails_66733b5dc0; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.patients
ADD CONSTRAINT fk_rails_66733b5dc0 FOREIGN KEY (assigned_facility_id) REFERENCES public.facilities(id);
--
-- Name: blood_sugars fk_rails_7c63b0ef2d; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.blood_sugars
ADD CONSTRAINT fk_rails_7c63b0ef2d FOREIGN KEY (user_id) REFERENCES public.users(id);
--
-- Name: reminder_templates fk_rails_7d64d6b790; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.reminder_templates
ADD CONSTRAINT fk_rails_7d64d6b790 FOREIGN KEY (treatment_group_id) REFERENCES public.treatment_groups(id);
--
-- Name: teleconsultations fk_rails_811d7873b8; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.teleconsultations
ADD CONSTRAINT fk_rails_811d7873b8 FOREIGN KEY (facility_id) REFERENCES public.facilities(id);
--
-- Name: appointments fk_rails_81e897bb97; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.appointments
ADD CONSTRAINT fk_rails_81e897bb97 FOREIGN KEY (facility_id) REFERENCES public.facilities(id);
--
-- Name: encounters fk_rails_8df9902cc7; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.encounters
ADD CONSTRAINT fk_rails_8df9902cc7 FOREIGN KEY (facility_id) REFERENCES public.facilities(id);
--
-- Name: blood_sugars fk_rails_8e56e1055e; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.blood_sugars
ADD CONSTRAINT fk_rails_8e56e1055e FOREIGN KEY (facility_id) REFERENCES public.facilities(id);
--
-- Name: drug_stocks fk_rails_8eb7cdedd2; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.drug_stocks
ADD CONSTRAINT fk_rails_8eb7cdedd2 FOREIGN KEY (user_id) REFERENCES public.users(id);
--
-- Name: clean_medicine_to_dosages fk_rails_96b1526de4; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.clean_medicine_to_dosages
ADD CONSTRAINT fk_rails_96b1526de4 FOREIGN KEY (medicine) REFERENCES public.medicine_purposes(name);
--
-- Name: notifications fk_rails_a0b99d451b; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.notifications
ADD CONSTRAINT fk_rails_a0b99d451b FOREIGN KEY (experiment_id) REFERENCES public.experiments(id);
--
-- Name: notifications fk_rails_aa9c165c6f; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.notifications
ADD CONSTRAINT fk_rails_aa9c165c6f FOREIGN KEY (reminder_template_id) REFERENCES public.reminder_templates(id);
--
-- Name: exotel_phone_number_details fk_rails_b7da75c721; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.exotel_phone_number_details
ADD CONSTRAINT fk_rails_b7da75c721 FOREIGN KEY (patient_phone_number_id) REFERENCES public.patient_phone_numbers(id);
--
-- Name: treatment_group_memberships fk_rails_b892696282; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_group_memberships
ADD CONSTRAINT fk_rails_b892696282 FOREIGN KEY (experiment_id) REFERENCES public.experiments(id);
--
-- Name: treatment_group_memberships fk_rails_ba05256ae6; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.treatment_group_memberships
ADD CONSTRAINT fk_rails_ba05256ae6 FOREIGN KEY (patient_id) REFERENCES public.patients(id);
--
-- Name: teleconsultations fk_rails_c436ea0008; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.teleconsultations
ADD CONSTRAINT fk_rails_c436ea0008 FOREIGN KEY (requester_id) REFERENCES public.users(id);
--
-- Name: facilities fk_rails_c44117c78f; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.facilities
ADD CONSTRAINT fk_rails_c44117c78f FOREIGN KEY (facility_group_id) REFERENCES public.facility_groups(id);
--
-- Name: protocol_drugs fk_rails_dbcef01693; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.protocol_drugs
ADD CONSTRAINT fk_rails_dbcef01693 FOREIGN KEY (protocol_id) REFERENCES public.protocols(id);
--
-- Name: accesses fk_rails_e47574ce84; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.accesses
ADD CONSTRAINT fk_rails_e47574ce84 FOREIGN KEY (user_id) REFERENCES public.users(id);
--
-- Name: notifications fk_rails_e966d86b08; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.notifications
ADD CONSTRAINT fk_rails_e966d86b08 FOREIGN KEY (patient_id) REFERENCES public.patients(id);
--
-- PostgreSQL database dump complete
--
SET search_path TO "$user", public;
INSERT INTO "schema_migrations" (version) VALUES
('20210517195627'),
('20210517201622'),
('20210517213259'),
('20210517214940'),
('20210517215935'),
('20210518072610'),
('20210518072611'),
('20210518074409'),
('20210518092103'),
('20210518094025'),
('20210518182324'),
('20210518212747'),
('20210603193527'),
('20210607235412'),
('20210614090147'),
('20210615191355'),
('20210620144826'),
('20210622142216'),
('20210622191111'),
('20210628154848'),
('20210702063413'),
('20210702192822'),
('20210706215522'),
('20210707014011'),
('20210708133404'),
('20210708133405'),
('20210712223435'),
('20210713134836'),
('20210714165255'),
('20210714183848'),
('20210715085219'),
('20210715120731'),
('20210715165453'),
('20210728062811'),
('20210728062812'),
('20210728100307'),
('20210728100308'),
('20210813061906'),
('20210826080108'),
('20210826121045'),
('20210907205603'),
('20210910200224'),
('20210915134540'),
('20210923204541'),
('20210924102745'),
('20210928134120'),
('20211007075808'),
('20211018065146'),
('20211018080612'),
('20211019135407'),
('20211019144905'),
('20211029070915'),
('20211105065243'),
('20211115070346'),
('20211123060535'),
('20211123060537'),
('20211125062406'),
('20211125072030'),
('20211201230130'),
('20211202183101'),
('20211207043358'),
('20211207043615'),
('20211209103527'),
('20211209104346'),
('20211209110618'),
('20211210152751'),
('20211210152752'),
('20211214014913'),
('20211215192748'),
('20211216144440'),
('20211216154413'),
('20211220230913'),
('20211231084747'),
('20211231110314'),
('20220106075216'),
('20220112142707'),
('20220118190607'),
('20220124212048'),
('20220124215220'),
('20220202091240'),
('20220203073617'),
('20220204224734'),
('20220209233034'),
('20220217102418'),
('20220217102500'),
('20220217202441'),
('20220223080958'),
('20220315095931'),
('20220321074052'),
('20220321095014'),
('20220322115123'),
('20220403123845'),
('20220406075313'),
('20220408132514'),
('20220408135115'),
('20220411035535'),
('20220412112538'),
('20220414134624'),
('20220519201430'),
('20220524112732');
|
DROP TABLE IF EXISTS central.discovery;
CREATE TABLE central.discovery
(
id SERIAL NOT NULL,
inserted_ts TIMESTAMP NOT NULL DEFAULT NOW(),
updated_ts TIMESTAMP NOT NULL,
environment VARCHAR(3) NOT NULL,
service_name VARCHAR(50) NOT NULL,
name VARCHAR(250) NOT NULL,
value VARCHAR(1000) NOT NULL,
PRIMARY KEY(environment, service_name, name)
);
CREATE TRIGGER updated_ts_trigger BEFORE INSERT OR UPDATE ON central.discovery FOR EACH ROW EXECUTE PROCEDURE public.update_updated_ts();
|
-- boundary2.test
--
-- db eval {
-- SELECT a FROM t1 WHERE r < 4294967296 ORDER BY r DESC
-- }
SELECT a FROM t1 WHERE r < 4294967296 ORDER BY r DESC
|
SELECT * FROM funcionarios WHERE id_departamento IS NULL;
SELECT * FROM funcionarios WHERE id_departamento IS NOT NULL;
|
/*iWeb在线课堂项目必需的数据库结构*/
/*SQL语句不区分大小写,习惯上:关键字都大写,非关键字都小写*/
#删除数据库iweb,如果它存在的话
DROP DATABASE IF EXISTS iweb;
#重新创建数据库iweb
CREATE DATABASE iweb CHARSET=UTF8;
#进入数据库iweb
USE iweb;
#创建校区表
CREATE TABLE iw_school(
sid INT PRIMARY KEY AUTO_INCREMENT, #校区编号(自增的主键)
sname VARCHAR(32), #名称
pic VARCHAR(128), #图片URL
address VARCHAR(64), #联系地址
phone VARCHAR(32), #联系电话
postcode CHAR(6), #邮编
longitude DECIMAL(9,6), #经度
latitude DECIMAL(8,6) #纬度
);
INSERT INTO iw_school VALUES(NULL, '北京中关村中心', 'img/school/bjzgc.jpg', '北京市海淀区北三环西路甲18号(大钟寺附近)中鼎大厦B座7层', '010-62130963', '100098', 116.347527, 39.972529);
INSERT INTO iw_school VALUES(NULL, '北京天坛中心', 'img/school/bjtt.jpg', '北京市崇文区珠市口东大街6号珍贝大厦西侧3层达内科技', '010-67028668', '100050', 116.417928, 39.898673);
INSERT INTO iw_school VALUES(NULL, '北京广渠门中心', 'img/school/bjgqm.jpg', '北京市东城区广渠门东广渠家园25号楼启达大厦一层', '15321130620', '100010', 116.457211, 39.897629);
#创建讲师表
CREATE TABLE iw_teacher(
tid INT PRIMARY KEY AUTO_INCREMENT, #讲师编号
tname VARCHAR(64), #姓名
pic VARCHAR(128), #照片URL
skills VARCHAR(32), #擅长的领域
experience VARCHAR(1024), #工作经历
style VARCHAR(1024) #授课风格
);
INSERT INTO iw_teacher VALUES(NULL,'成亮', 'img/teacher/cl.jpg', 'WEB全栈开发', '10年互联网开发经验, 精通HTML5,CSS3,js,vue,angualr 等网页前端技术及 php后端 开发;先后就职于多家 IT 互联网公司,曾任某网络公司技术主管,服务机构有首都师范大学、中国联通、中国石油、国家图书馆、中国摄影协会等。', '讲课诙谐幽默,深处浅出,深得学生喜爱。');
INSERT INTO iw_teacher VALUES(NULL,'李然', 'img/teacher/lr.jpg', '高级网页设计', '从事前端开发多年,参与 及主导研发过多个省级政府项目及海 外项目,参与 NEC,福特等大型企业 CRM 系统的研发。项目涉及金融,汽 车,电子等多个领域。于文思海辉专 职负责前端产品线培训时,积累了大量的教学经验。', '教学风格风趣幽默,细致严谨。善于以项目流程反推知识点讲解,深受学员好评。');
INSERT INTO iw_teacher VALUES(NULL,'张东', 'img/teacher/zd.jpg', 'JS高级编程', '美国PMP认证高级项目经理,微软认证解决方案开发专家。先后在中软国际、中国搜索、太极计算机担任高级开发工程师,架构师,项目经理。曾担任中央外汇管理中心、中国石油、二炮工程研究院、首都国际机场技术咨询顾问。', '一切从实际项目出发,快速入门,学以致用。讲课极富激情,语言表达精准,有感染力。案例丰富、直观,步骤细致,清晰。注重从学习到实际工作的快速转化。');
INSERT INTO iw_teacher VALUES(NULL,'吴华', 'img/teacher/wh.jpg', '移动APP开发', '曾就职于北京塞博维尔信息咨询公司,具备多年的互联网应用经验,精通PHP框架技术。在Web3.0前沿技术方面有着深入的研究,曾参与Shop EX核心模块开发。', '感情充沛,富有激情,容易引起学生们的共鸣。授课时能旁征博引,使学生从诸多的材料中得出结论,并且启迪学生的想象能力。');
INSERT INTO iw_teacher VALUES(NULL,'纪盈鑫', 'img/teacher/jyx.jpg', '前端框架开发', '曾就职于东软集团。参与开发家乐福,津津会员卡等多款上线app。拥有外包和产品两种开发经历。已指导并帮助学员上架多个项目到AppStore。授课风趣幽默,亲和力强。教学耐心,循序渐进,课堂气氛活跃。善于结合生活中的实例,把艰涩难懂的知识点传授给学员。', '授课风趣幽默,亲和力强。教学耐心,循序渐进,课堂气氛活跃。善于结合生活中的实例,把艰涩难懂的知识点传授给学员。');
#创建课程类别表
CREATE TABLE iw_course_type(
tid INT PRIMARY KEY AUTO_INCREMENT, #类别编号
tname VARCHAR(16) #类别名称
);
INSERT INTO iw_course_type VALUES(NULL, '基础课程');
INSERT INTO iw_course_type VALUES(NULL, '核心课程');
INSERT INTO iw_course_type VALUES(NULL, '进阶课程');
#创建课程表
CREATE TABLE iw_course(
cid INT PRIMARY KEY AUTO_INCREMENT, #课程编号
cname VARCHAR(64), #课程名称
pic VARCHAR(128), #介绍性图片
teacher_id INT, #讲师编号,注意:此处不能保存讲师姓名
duration VARCHAR(16), #课程时长
start_time VARCHAR(16),#开课时间
#注意:一门课程可能在多个校区开课,此处无法保存多个校区
price DECIMAL(8,2), #价格
details VARCHAR(4096) #课程详细介绍
);
INSERT INTO iw_course VALUES(NULL,'微信小程序开发','img/course/01.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'Unity地形环境搭建','img/course/02.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'UI控件之基本控件','img/course/03.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'微信小程序概述','img/course/04.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'手机图标绘制','img/course/05.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'jQuery操作DOM','img/course/06.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'一周上手小程序','img/course/07.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'零基础手绘教程','img/course/08.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'Linux系统管理','img/course/09.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'视频剪辑课程','img/course/10.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'数据分析与可视化体验课','img/course/11.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'好看的插画动起来体验课','img/course/12.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'视频剪辑直播体验课','img/course/13.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'WUI界面设计','img/course/14.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'红帽认证课程','img/course/15.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'WEB前端课程','img/course/16.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'RHEL 8 培训课程','img/course/17.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'WEB前端基础精品课','img/course/18.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'PS入门基础课','img/course/19.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'前端开发框架 jQuery','img/course/20.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'mongoDB','img/course/21.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'微信小程序开发','img/course/22.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'LInux云计算之Shell脚本编程','img/course/23.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'EME之微信运营','img/course/24.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'Java项目实战课','img/course/25.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'hadoop','img/course/26.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'功能测试工具(QTP)','img/course/27.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'Linux平台部署网站','img/course/28.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'手绘商业宣传图案','img/course/29.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'一节课教你绘制魔童小挪吒','img/course/30.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
INSERT INTO iw_course VALUES(NULL,'MySQL存储过程','img/course/31.jpg',5,'五天','每月底开课',599,'<p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p><p>本课程详细讲解了HTML5的各个方面,课程从环境搭建开始,依次讲述了HTML5新元素、Canvas、SVG、Audio、GPS定位、拖拽效果、WEB存储、App Cache、HTML5 多线程和HTML5消息推送等内容。</p>');
#创建校区开课表,记录哪个校区开设了哪些课程——典型的“多对多”
CREATE TABLE iw_school_course(
scid INT PRIMARY KEY AUTO_INCREMENT,#开课编号
school_id INT, #校区编号
course_id INT #课程编号
);
INSERT INTO iw_school_course VALUES(NULL,5,1);
INSERT INTO iw_school_course VALUES(NULL,3,1);
INSERT INTO iw_school_course VALUES(NULL,2,1);
INSERT INTO iw_school_course VALUES(NULL,1,2);
INSERT INTO iw_school_course VALUES(NULL,2,2);
INSERT INTO iw_school_course VALUES(NULL,2,3);
INSERT INTO iw_school_course VALUES(NULL,4,3);
INSERT INTO iw_school_course VALUES(NULL,1,3);
INSERT INTO iw_school_course VALUES(NULL,5,4);
INSERT INTO iw_school_course VALUES(NULL,3,4);
INSERT INTO iw_school_course VALUES(NULL,2,4);
INSERT INTO iw_school_course VALUES(NULL,1,5);
INSERT INTO iw_school_course VALUES(NULL,2,5);
INSERT INTO iw_school_course VALUES(NULL,2,6);
INSERT INTO iw_school_course VALUES(NULL,4,6);
INSERT INTO iw_school_course VALUES(NULL,3,6);
INSERT INTO iw_school_course VALUES(NULL,5,7);
INSERT INTO iw_school_course VALUES(NULL,3,7);
INSERT INTO iw_school_course VALUES(NULL,2,8);
INSERT INTO iw_school_course VALUES(NULL,1,8);
INSERT INTO iw_school_course VALUES(NULL,2,9);
INSERT INTO iw_school_course VALUES(NULL,5,9);
INSERT INTO iw_school_course VALUES(NULL,4,9);
INSERT INTO iw_school_course VALUES(NULL,3,9);
INSERT INTO iw_school_course VALUES(NULL,2,10);
INSERT INTO iw_school_course VALUES(NULL,1,10);
INSERT INTO iw_school_course VALUES(NULL,3,10);
INSERT INTO iw_school_course VALUES(NULL,5,10);
INSERT INTO iw_school_course VALUES(NULL,4,10);
INSERT INTO iw_school_course VALUES(NULL,3,11);
INSERT INTO iw_school_course VALUES(NULL,2,11);
INSERT INTO iw_school_course VALUES(NULL,1,12);
INSERT INTO iw_school_course VALUES(NULL,3,12);
INSERT INTO iw_school_course VALUES(NULL,5,12);
INSERT INTO iw_school_course VALUES(NULL,4,13);
INSERT INTO iw_school_course VALUES(NULL,2,13);
INSERT INTO iw_school_course VALUES(NULL,1,14);
INSERT INTO iw_school_course VALUES(NULL,3,14);
INSERT INTO iw_school_course VALUES(NULL,5,15);
INSERT INTO iw_school_course VALUES(NULL,4,15);
INSERT INTO iw_school_course VALUES(NULL,2,16);
INSERT INTO iw_school_course VALUES(NULL,1,17);
INSERT INTO iw_school_course VALUES(NULL,3,17);
INSERT INTO iw_school_course VALUES(NULL,5,18);
INSERT INTO iw_school_course VALUES(NULL,4,19);
INSERT INTO iw_school_course VALUES(NULL,2,19);
INSERT INTO iw_school_course VALUES(NULL,1,20);
INSERT INTO iw_school_course VALUES(NULL,3,20);
INSERT INTO iw_school_course VALUES(NULL,5,21);
INSERT INTO iw_school_course VALUES(NULL,4,22);
INSERT INTO iw_school_course VALUES(NULL,2,23);
INSERT INTO iw_school_course VALUES(NULL,1,23);
INSERT INTO iw_school_course VALUES(NULL,3,23);
INSERT INTO iw_school_course VALUES(NULL,5,23);
INSERT INTO iw_school_course VALUES(NULL,4,24);
INSERT INTO iw_school_course VALUES(NULL,2,25);
INSERT INTO iw_school_course VALUES(NULL,1,25);
INSERT INTO iw_school_course VALUES(NULL,3,26);
INSERT INTO iw_school_course VALUES(NULL,5,26);
INSERT INTO iw_school_course VALUES(NULL,4,27);
INSERT INTO iw_school_course VALUES(NULL,2,27);
INSERT INTO iw_school_course VALUES(NULL,1,27);
INSERT INTO iw_school_course VALUES(NULL,3,28);
INSERT INTO iw_school_course VALUES(NULL,5,28);
INSERT INTO iw_school_course VALUES(NULL,4,28);
INSERT INTO iw_school_course VALUES(NULL,2,29);
INSERT INTO iw_school_course VALUES(NULL,1,29);
INSERT INTO iw_school_course VALUES(NULL,3,29);
INSERT INTO iw_school_course VALUES(NULL,5,30);
INSERT INTO iw_school_course VALUES(NULL,4,30);
INSERT INTO iw_school_course VALUES(NULL,2,30);
INSERT INTO iw_school_course VALUES(NULL,1,31);
INSERT INTO iw_school_course VALUES(NULL,3,31);
INSERT INTO iw_school_course VALUES(NULL,5,31);
INSERT INTO iw_school_course VALUES(NULL,4,31);
#创建用户信息表
CREATE TABLE iw_user(
uid INT PRIMARY KEY AUTO_INCREMENT, #用户编号
email VARCHAR(64), #邮箱
phone VARCHAR(32), #电话
password VARCHAR(128) #登录密码
);
INSERT INTO iw_user VALUES(NULL,'ding@tedu.cn','13501111111',password('123456'));
INSERT INTO iw_user VALUES(NULL,'dang@tedu.cn','13502222222',password('123456'));
INSERT INTO iw_user VALUES(NULL,'dou@tedu.cn','13503333333',password('abc666'));
INSERT INTO iw_user VALUES(NULL,'ya@tedu.cn','13504444444',password('abc888'));
#创建购物车表
#创建订单表
#创建用户收藏夹表
#创建....
|
SELECT SUM(buts) AS buts
FROM ((SELECT butsl AS buts
FROM match
WHERE paysl = 'France')
UNION ALL
(SELECT butsv AS buts
FROM match
WHERE paysv = 'France')) AS R;
|
/* Deletes records associated with a volunteer upon deletion, [ON UPDATE DELETE] Fails :(
*
*/
DROP TRIGGER IF EXISTS tDeleteVolunteer;
delimiter $$
CREATE TRIGGER tDeleteVolunteer AFTER DELETE ON Volunteer
FOR EACH ROW
BEGIN
DELETE FROM VolunteerLog WHERE VolunteerID=OLD.VolunteerID;
DELETE FROM CheckIn WHERE VolunteerID=OLD.VolunteerID;
END$$
delimiter ;
|
DELETE FROM header;
DELETE FROM street;
DELETE FROM street_descriptor;
DELETE FROM basic_land_property_unit;
DELETE FROM application_cross_reference;
DELETE FROM local_property_identifier;
DELETE FROM delivery_point_address;
DELETE FROM metadata;
DELETE FROM successor;
DELETE FROM organisation;
DELETE FROM classification;
DELETE FROM trailer;
|
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Mar 06, 2018 at 04:40 PM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 7.0.13
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: `pdmis`
--
-- --------------------------------------------------------
--
-- Table structure for table `activitylog`
--
CREATE TABLE `activitylog` (
`employeeid` varchar(15) NOT NULL,
`activity` text NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
`activityid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `activitylog`
--
INSERT INTO `activitylog` (`employeeid`, `activity`, `date`, `time`, `activityid`) VALUES
('E0001', 'Login', '2018-02-28', '08:13:00', 33),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 36),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 37),
('E0005', 'Login', '2018-02-28', '08:25:00', 38),
('E0001', 'Login', '2018-02-28', '08:26:00', 39),
('E0001', 'Login', '2018-03-01', '04:31:00', 40),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 41),
('E0001', 'Login', '2018-03-02', '10:27:00', 42),
('E0001', 'Login', '2018-03-03', '12:24:00', 43),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 44),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 45),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 46),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 47),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 48),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 49),
('E0001', 'Update Patient Record', '0000-00-00', '08:13:00', 50),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 51),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 52),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 53),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 54),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 55),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 56),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 57),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 58),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 59),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 60),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 61),
('E0001', 'Login', '2018-03-03', '12:21:00', 62),
('E0001', 'Login', '2018-03-03', '12:25:00', 63),
('E0001', 'Login', '2018-03-03', '12:25:00', 64),
('E0001', 'Login', '2018-03-03', '12:55:00', 65),
('E0001', 'Login', '2018-03-02', '03:12:00', 66),
('E0001', 'Login', '2018-03-02', '03:13:00', 67),
('E0001', 'Login', '2018-03-02', '03:33:00', 68),
('E00013', 'Login', '2018-03-02', '03:36:00', 69),
('', 'Update Patient Record', '0000-00-00', '00:00:00', 70),
('E0001', 'Login', '2018-03-02', '04:37:00', 71),
('E0001', 'Login', '2018-03-03', '11:07:00', 72),
('E00014', 'Login', '2018-03-03', '11:12:00', 73);
-- --------------------------------------------------------
--
-- Table structure for table `confinement`
--
CREATE TABLE `confinement` (
`hospitalname` varchar(30) NOT NULL,
`confinementdate` date NOT NULL,
`confinementreason` varchar(100) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`confinement_id` int(11) NOT NULL,
`confinement_monthyear` char(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `confinement`
--
INSERT INTO `confinement` (`hospitalname`, `confinementdate`, `confinementreason`, `Hospital_Id`, `confinement_id`, `confinement_monthyear`) VALUES
('Doctors', '2015-12-15', 'Car accident', '86-89-17', 1, ''),
('asda', '2018-02-14', 'Highblood', '01-26-22', 2, '2018, February'),
('sample', '2018-02-10', 'wala', '01-26-22', 3, '2018, February'),
('cebs', '2018-01-18', 'wla', '01-26-22', 4, '2018, January'),
('TLJPH', '2018-02-12', 'Pneumonia', '05-29-07', 5, '2018, February'),
('asd', '2018-02-12', 'asd', '01-26-22', 6, '2018, February'),
('doctors', '2018-01-28', 'reason', '01-26-22', 9, '2018, January'),
('Corazon Locsin', '2017-12-29', 'difficulty of breathing', '45-42-23', 10, '2017, December'),
('Corazon Locsin', '2014-02-22', 're', '33-42-13', 12, '2014, February'),
('test1', '2018-02-06', 'test', '12-12-12', 13, '2018, February'),
('test', '2018-01-31', 's', '12-12-12', 14, '2018, January'),
('tljph', '2018-02-07', 'fever', '86-89-17', 15, '2018, February'),
('s', '2018-02-06', 'a', '', 16, '2018, February'),
('s', '2018-02-13', 'a', '', 17, '2018, February'),
('aaa', '2018-02-21', 'aa', '', 18, '2018, February'),
('a', '2018-01-31', 'a', '', 19, '2018, January'),
('a', '2018-01-31', 'a', '', 20, '2018, January'),
('a', '2018-02-07', 'a', '', 21, '2018, February'),
('A', '2018-03-02', 'A', '01-26-22', 22, '2018, March'),
('TLJPH', '2015-02-10', 'Menstrual Bleeding', '01-15-33', 23, '2015, February'),
('TLJPH', '2012-07-13', 'Pneumonia', '09-18-46', 24, '2012, July'),
('BOLMSH', '2016-10-25', 'Pneumonia', '08-19-35', 25, '2016, October'),
('TLJPH', '2012-09-22', 'Pneumonia', '03-18-20', 26, '2012, September'),
('TLJPH', '2015-10-27', 'Accident', '03-25-11', 27, '2015, October'),
('TLJPH', '2016-10-27', 'Pneumonia', '05-19-21', 28, '2016, October'),
('BOLMSH', '2016-10-29', 'Accident', '06-08-23', 29, '2016, October'),
('BOLMSH', '2015-10-28', 'Accident', '06-15-11', 30, '2015, October'),
('TLJPH', '2016-09-28', 'Pneumonia', '07-18-01', 31, '2016, September'),
('BOLMSH', '2016-09-29', 'Pneumonia', '07-36-23', 32, '2016, September'),
('TLJPH', '2016-10-28', 'Pneumonia', '09-21-35', 33, '2016, October'),
('TLJPH', '2016-09-30', 'Pneumonia', '10-12-56', 34, '2016, September'),
('BOLMSH', '2015-09-26', 'Pneumonia', '10-25-17', 35, '2015, September'),
('BOLMSH', '2016-09-26', 'Accident', '10-25-17', 36, '2016, September'),
('BOLMSH', '2015-09-27', 'Pneumonia', '11-07-17', 37, '2015, September'),
('BOLMSH', '2016-09-28', 'Menstrual Bleeding', '11-26-17', 38, '2016, September'),
('TLJPH', '2016-10-29', 'Pneumonia', '11-37-17', 39, '2016, October'),
('doctors', '2018-03-02', 'difficulty of breathing', '12-23-45', 40, '2018, March');
-- --------------------------------------------------------
--
-- Table structure for table `diagnostic/examination`
--
CREATE TABLE `diagnostic/examination` (
`PIO_others` varchar(10) NOT NULL,
`PSH_others` varchar(10) NOT NULL,
`DM` int(1) NOT NULL,
`HPN` int(1) NOT NULL,
`PTB` int(1) NOT NULL,
`Cancer` int(1) NOT NULL,
`Asthma` int(1) NOT NULL,
`Alcoholintake` int(1) NOT NULL,
`SmokingHistory` int(1) NOT NULL,
`DrugAllergy` int(1) NOT NULL,
`FoodAllergy` int(1) NOT NULL,
`BP` varchar(15) NOT NULL,
`CR` varchar(15) NOT NULL,
`RR` varchar(15) NOT NULL,
`Skin` varchar(50) NOT NULL,
`Heent` varchar(50) NOT NULL,
`Chest/lungs` varchar(50) NOT NULL,
`Cardiovascular` varchar(50) NOT NULL,
`Abdomen` varchar(50) NOT NULL,
`Rectal` varchar(50) NOT NULL,
`Extremeties` varchar(50) NOT NULL,
`Neurological` varchar(50) NOT NULL,
`Diagnosis` varchar(50) NOT NULL,
`Historyby` varchar(30) NOT NULL,
`Doneon` varchar(20) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`diagnostic/examination_id` int(11) NOT NULL,
`date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `diagnostic/examination`
--
INSERT INTO `diagnostic/examination` (`PIO_others`, `PSH_others`, `DM`, `HPN`, `PTB`, `Cancer`, `Asthma`, `Alcoholintake`, `SmokingHistory`, `DrugAllergy`, `FoodAllergy`, `BP`, `CR`, `RR`, `Skin`, `Heent`, `Chest/lungs`, `Cardiovascular`, `Abdomen`, `Rectal`, `Extremeties`, `Neurological`, `Diagnosis`, `Historyby`, `Doneon`, `Hospital_Id`, `diagnostic/examination_id`, `date`) VALUES
('PIO_others', 'PSH_others', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' BP', ' CR', ' RR', ' Skin', ' Heent', ' Chest/lungs', ' Cardiovascular', ' Abdomen', ' Rectal', ' Extremeties', ' Neurological', ' Diagnosis', ' Historyby', ' Doneon', ' Hospital_Id', 1, '0000-00-00'),
('', '', 1, 1, 1, 1, 1, 1, 0, 1, 1, ' 160/75', '12', '12', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2018-02-18', '01-26-22', 2, '0000-00-00'),
('', '', 0, 0, 0, 1, 0, 0, 1, 1, 0, ' 160/76', '12', '12', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2018-02-25', ' 01-26-22', 5, '0000-00-00'),
('', '', 0, 1, 0, 0, 0, 1, 1, 0, 0, ' 160/77', '12', '12', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2018-02-15', ' 01-26-22', 6, '0000-00-00'),
('', '', 0, 1, 0, 0, 0, 0, 1, 0, 0, ' 160/78', '12', '12', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', '2018-02-19', ' 01-26-22', 7, '0000-00-00'),
('', '', 0, 0, 1, 0, 0, 0, 1, 1, 0, ' 160/79', '12', '12', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2018-02-23 12:03', ' 05-29-07', 8, '2018-02-23'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', '2014-05-03T13:25', ' 02-07-15', 9, '2018-02-26'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Normal', ' Pale conjunctiva', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2014-07-31T22:58', ' 01-15-33', 10, '2018-03-01'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Normal', ' Pale conjunctiva', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2016-11-17T09:51', ' 01-21-19', 11, '2018-03-01'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '42', '53', ' Normal', ' Pale conjunctiva', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2015-07-05T13:25', ' 02-07-15', 12, '2018-03-02'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Normal', ' Pale conjunctiva', ' Clear', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2014-07-31T22:58', ' 03-01-15', 13, '2018-02-07'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Unremarkable', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2016-11-17T09:51', '03-18-20', 14, '2018-02-14'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Unremarkable', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2015-01-03T13:25', ' 03-25-11', 15, '2018-01-09'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Unremarkable', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2015-10-03T13:25', ' 04-15-08', 16, '2017-12-06'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '72', ' Unremarkable', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2016-07-31T22:58', ' 04-17-26', 17, '2017-10-12'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Unremarkable', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2015-10-17T09:51', ' 05-19-21', 18, '2017-11-09'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Unremarkable', ' Pale conjunctiva', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2016-05-03T13:25', ' 11-26-17', 19, '2017-12-04'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Sallow', ' Pale conjunctiva', ' Clear lungs', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Diabetic Nep', ' Ricky Alayon', ' 2015-11-30T22:58', ' 12-35-11', 20, '2018-01-08'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Sallow', ' Pale conjunctiva', ' Clear lungs', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2015-11-17T09:51', ' 13-18-17', 21, '2015-07-11'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Sallow', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2015-03-05T13:25', ' 06-08-23', 22, '2017-11-13'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Sallow', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2016-05-03T13:25', ' 06-15-11', 23, '2016-07-21'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Sallow', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2013-01-03T22:58', ' 07-18-01', 24, '2015-03-08'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Sallow', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' AP', ' Soft non tender', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2015-10-11T09:51', ' 07-36-23', 25, '2015-04-19'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Normal', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' AP', ' Soft non tender', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2016-05-03T13:25', ' 08-19-35', 26, '2016-05-18'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Normal', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2016-01-22T11:58', ' 09-18-46', 27, '2016-03-13'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Normal', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2015-10-20T09:51', ' 09-21-35', 28, '2016-01-26'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Normal', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Ricky Alayon', ' 2016-06-10T09:51', ' 10-12-56', 29, '2016-03-15'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Normal', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Ricky Alayon', ' 2015-07-31T22:58', ' 10-25-17', 30, '2017-09-26'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Unremarkable', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Ricky Alayon', ' 2016-11-17T09:51', ' 11-07-17', 31, '2016-07-25'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Unremarkable', ' Pale conjunctiva', ' Clear', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Ricky Alayon', ' 2015-01-03T13:25', ' 13-38-01', 32, '2018-01-09'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Unremarkable', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Ricky Alayon', ' 2015-10-03T13:25', ' 13-67-08', 33, '2017-12-06'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '72', ' Unremarkable', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Ricky Alayon', ' 2016-07-31T22:58', ' 14-65-95', 34, '2017-10-12'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Unremarkable', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Brian Antonio D Togle', ' 2015-10-17T09:51', ' 15-16-25', 35, '2017-11-09'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Unremarkable', 'Pale conjunctiva without anicterice sclerae', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Brian Antonio D Togle', ' 2016-05-03T13:25', ' 15-28-07', 36, '2017-12-04'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Unremarkable', ' Pale conjunctiva', ' Clear lungs', ' Dynamic', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Brian Antonio D Togle', ' 2015-11-30T22:58', ' 16-35-17', 37, '2018-01-08'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Unremarkable', ' Pale conjunctiva', ' Clear lungs', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Brian Antonio D Togle', ' 2015-11-17T09:51', ' 17-46-21', 38, '2015-07-11'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Normal', ' Pale conjunctiva', ' Clear lungs', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Brian Antonio D Togle', ' 2015-03-05T13:25', ' 18-23-51', 39, '2017-11-13'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Normal', ' Pale conjunctiva', ' Clear lungs', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Brian Antonio D Togle', ' 2016-05-03T13:25', ' 18-46-15', 40, '2016-07-21'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Normal', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', ' Franelin D Paylado', ' 2013-01-03T22:58', ' 19-11-36', 41, '2015-03-08'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Normal', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' NA', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Franelin D Paylado', '2015-10-11T09:51', ' 20-12-17', 42, '2015-04-19'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '118', '18', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' AP', ' Soft non tender', ' NA', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Franelin D Paylado', ' 2016-05-03T13:25', ' 20-45-17', 43, '2016-05-18'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Franelin D Paylado', ' 2016-01-22T11:58''', ' 20-80-17', 44, '2016-03-13'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Franelin D Paylado', ' 2015-10-20T09:51', ' 21-26-17', 45, '2016-01-26'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Normal', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Joseph Peter D Austria', ' 2016-06-10T09:51', ' 21-29-18', 46, '2016-03-15'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Sallow', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' Dynamic', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Joseph Peter D Austria', ' 2015-07-31T22:58', ' 22-25-20', 47, '2017-09-26'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Sallow', ' Pale conjunctiva without anicterice sclerae', ' Clear', ' AP', ' Soft non tender', ' Na', ' Positive edema lower extremeties', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Joseph Peter D Austria', ' 2016-11-17T09:51', ' 23-22-02', 48, '2016-07-25'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Sallow', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Joseph Peter D Austria', ' 2015-10-20T09:51', ' 24-06-46', 49, '2016-01-26'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Sallow', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Joseph Peter D Austria', ' 2016-06-10T09:51', ' 24-19-46', 50, '2016-03-15'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 160/80', '72', '18', ' Sallow', ' Pale conjunctiva', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Joseph Peter D Austria', ' 2015-07-31T22:58', ' 25-84-10', 51, '2017-09-26'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, ' 180/70', '118', '18', ' Sallow', ' ''Pale conjunctiva''', ' Clear', ' AP', ' Soft Abdomen', ' Na', ' Positive edema', ' Normal', ' End Stage Renal Disease Secondary to Chronic Glom', ' Joseph Peter D Austria', ' 2016-11-17T09:51', ' 30-11-10', 52, '2016-07-25'),
('', '', 1, 1, 0, 0, 0, 1, 0, 1, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2015-10-25T17:20', '01-15-33', 53, '2018-03-03'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', 'Vicente Potaro Sr.', '2015-12-15T13:25', '01-21-19', 54, '2018-03-03'),
('', '', 1, 0, 1, 0, 0, 0, 1, 1, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2015-09-19T08:46', '02-07-15', 55, '2018-03-03'),
('', '', 1, 0, 1, 0, 0, 1, 1, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva without anicterice sclerae', 'Clear lungs', 'Dynamic', ' Soft non tender', 'Na', 'Positive edema', 'Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', 'Vicente Potaro Sr.', '2016-06-25T14:50', '03-01-15', 56, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Normal', 'Pale conjunctiva without anicterice sclerae', 'Clear', 'AP', ' Soft non tender', 'Na', 'Positive edema', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2015-10-01T11:22', '04-17-26', 57, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, '180/70', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', 'Vicente Potaro Sr.', '2017-02-11T11:02', '04-15-08', 58, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 0, 1, 0, 0, '160/80', '118', '18', 'Normal', 'Pale conjunctiva without anicterice sclerae', 'ECO bibasal rales', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2015-02-08T14:57', '09-18-46', 59, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Normal', 'Pale conjunctiva without anicterice sclerae', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-12-20T07:30', '09-21-35', 60, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 0, 1, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', 'Ricky Alayon', '2015-02-10T11:20', '08-19-35', 61, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '76', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-04-25T12:59', '03-25-11', 62, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva without anicterice sclerae', 'Clear lungs', 'AP', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-12-31T11:58', '05-19-21', 63, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Vicente Potaro Sr.', '2016-08-11T16:07', '05-29-07', 64, '2018-03-03'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', 'Vicente Potaro Sr.', '2016-11-24T11:58', '06-08-23', 65, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '180/70', '118', '18', 'Unremarkable', 'Pale conjunctiva without anicterice sclerae', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-10-24T11:50', '06-15-11', 66, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva without anicterice sclerae', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Obstructive U', 'Vicente Potaro Sr.', '2015-10-27T10:58', '06-36-13', 67, '2018-03-03'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-09-26T10:58', '07-18-01', 68, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '180/70', '76', '18', 'Unremarkable', 'Pale conjunctiva without anicterice sclerae', 'ECO bibasal rales', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-10-26T11:58', '07-36-23', 69, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'Na', 'Positive edema', 'Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', 'Vicente Potaro Sr.', '2015-12-12T11:20', '10-12-56', 70, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 0, 1, 0, 0, '160/80', '76', '18', 'Normal', 'Pale conjunctiva without anicterice sclerae', 'Clear', 'AP', 'Soft Abdomen', 'Na', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-10-27T10:57', '10-25-17', 71, '2018-03-03'),
('', '', 1, 1, 0, 0, 0, 1, 1, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Vicente Potaro Sr.', '2016-10-10T14:00', '10-25-17', 72, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '180/100', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2012-05-15T09:55', '10-35-56', 73, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 0, 1, 0, 0, '160/80', '118', '18', 'Normal', 'Pale conjunctiva without anicterice sclerae', 'CleAR', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2015-10-23T10:58', '11-07-17', 74, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-10-12T12:00', '11-26-17', 75, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-11-26T10:57', '11-37-17', 76, '2018-03-03'),
('', '', 1, 1, 0, 0, 0, 0, 0, 0, 0, '160/80', '76', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-10-27T11:58', '12-12-12', 77, '2018-03-03'),
('', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '160/80', '76', '18', 'Unremarkable', 'Pale conjunctiva', 'Clear lungs', 'AP', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-10-27T10:56', '12-35-11', 78, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '180/70', '76', '18', 'Unremarkable', '', 'Clear lungs', 'Dynamic', 'Soft Abdomen', 'NA', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Diabetic Neph', 'Vicente Potaro Sr.', '2016-09-27T10:57', '13-18-17', 79, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 0, 1, 0, 0, '160/80', '118', '18', 'Unremarkable', 'Pale conjunctiva without anicterice sclerae', 'Cle', 'AP', ' Soft non tender', 'Na', 'Positive edema lower extremeties', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Vicente Potaro Sr.', '2016-09-29T09:57', '13-38-01', 80, '2018-03-03'),
('', '', 1, 0, 0, 0, 0, 1, 0, 0, 0, '160/80', '76', '18', 'Normal', 'Pale conjunctiva without anicterice sclerae', 'Cle', 'AP', 'Soft Abdomen', 'NA', 'Positive edema', 'Normal', 'End Stage Renal Disease Secondary to Chronic Glome', 'Ricky Alayon', '2016-09-28T10:58', '13-18-17', 81, '2018-03-03'),
('', '', 0, 0, 0, 1, 1, 0, 1, 0, 0, '140/60', '72', '20', 'normal', 'normal', 'clear lungs', '', 'soft non-tender', 'N/A', '', '', 'ESRD Secondary to , Diabetic Nephropathy, Chronic ', 'Dr. Alayon', '2018-03-02T15:00', '22-34-76', 82, '2018-03-02'),
('', '', 0, 1, 0, 1, 1, 0, 1, 0, 1, '140/60', '72', '20', 'normal', 'normal', 'clear lungs', '', 'soft non-tender', 'N/A', 'edema', '', 'ESRD Secondary to , Chronic Gromerulonephritis', 'Dr. Alayon', '2018-03-02T15:42', '12-23-45', 83, '2018-03-02');
-- --------------------------------------------------------
--
-- Table structure for table `employeeprofile`
--
CREATE TABLE `employeeprofile` (
`employee_num` int(5) NOT NULL,
`status` int(1) NOT NULL,
`firstname` char(50) NOT NULL,
`middlename` char(1) NOT NULL,
`address` text NOT NULL,
`telephone` varchar(10) NOT NULL,
`mobile` varchar(18) NOT NULL,
`position` char(15) NOT NULL,
`lastname` char(50) NOT NULL,
`transaction` int(1) NOT NULL,
`employeeid` varchar(10) NOT NULL,
`username` varchar(30) NOT NULL,
`password` varchar(30) NOT NULL,
`transaction_a` int(1) NOT NULL,
`patientprofile_a` int(1) NOT NULL,
`employeeprofile_a` int(1) NOT NULL,
`schedule_a` int(1) NOT NULL,
`nephrologist_a` int(1) NOT NULL,
`userprofile_a` int(1) NOT NULL,
`maintenance_a` int(1) NOT NULL,
`reports_a` int(1) NOT NULL,
`account` varchar(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `employeeprofile`
--
INSERT INTO `employeeprofile` (`employee_num`, `status`, `firstname`, `middlename`, `address`, `telephone`, `mobile`, `position`, `lastname`, `transaction`, `employeeid`, `username`, `password`, `transaction_a`, `patientprofile_a`, `employeeprofile_a`, `schedule_a`, `nephrologist_a`, `userprofile_a`, `maintenance_a`, `reports_a`, `account`) VALUES
(1, 1, 'Carl', 'a', 'admin', '', '123', 'Admin', 'Betio', 0, 'E0001', 'admin', 'admin', 1, 1, 1, 1, 1, 1, 1, 1, '1'),
(10, 1, 'Smith', 'D', 'La Carlota', '', '+09 (504) 563-55-6', 'Nurse', 'Smith', 1, 'E00010', 'Carlagi', '123', 1, 1, 0, 1, 1, 0, 0, 1, 'a'),
(11, 1, 'Miriam', 'P', 'Bacolod City', '', '+63 (912) 345-67-8', 'Nurse', 'Gayoba', 1, 'E00011', 'gayoba', 'miriam', 1, 1, 1, 0, 1, 1, 1, 0, 'a'),
(12, 1, 'Q', 'Q', 'Q', '', '+09 (129) 817-11-2', 'Technician', 'Q', 1, 'E00012', '', '', 0, 0, 0, 0, 0, 0, 0, 0, ''),
(13, 1, 'Mercy', 'A', 'Bacolod City', '', '+09 (129) 817-11-2', 'Nurse', 'Dohinog', 1, 'E00013', 'mercy', 'mercy', 1, 1, 0, 1, 1, 0, 0, 1, 'a'),
(14, 1, 'Michael', 'M', 'Bago City', '', '+63 (907) 087-93-4', 'Nurse', 'Aglubat', 0, 'E00014', 'mike', 'mike', 1, 1, 1, 1, 1, 1, 1, 1, 'b'),
(2, 1, 'Jay Allan', 'L', 'Aguinaldo Street, Silay City, Negros Occidental', '', '09206348946', 'Nurse', 'Vasquez', 1, 'E0002', 'vasquez', 'vasquez', 1, 1, 0, 1, 1, 0, 0, 1, 'a'),
(3, 1, 'John Paul', 'J', '#90 Bayabas St. Elena Subdivision, Silay City, Negros Occidental', '495 - 4538', '09228167114', 'Nurse', 'Peornato', 1, 'E0003', 'peornato', 'peornato', 1, 1, 0, 1, 1, 0, 0, 1, 'a'),
(4, 1, 'Guillermo', 'R', 'Purok Golf, Brgy. Guinhalaran, Silay City, Negros Occidental', '', '09207918057', 'Technician', 'Margate Sr.', 1, 'E0004', 'margate', 'margate', 1, 1, 0, 1, 1, 0, 0, 1, 'a'),
(5, 1, 'Jenelle Marco', 'A', 'Lot 42 Block 30 St. Francis Subdivision, Silay City, Negros Occidental', '495 - 5569', '09055406423', 'Nurse', 'Paez', 1, 'E0005', 'paez', 'paez', 1, 1, 0, 1, 1, 0, 0, 1, 'a'),
(6, 1, 'Christopher Niño', 'R', '#10 Villa City High, Bacolod City, Negros Occidental', '706 - 0186', '09182446674', 'Nurse', 'Tolimao', 1, 'E0006', 'tolimao', 'tolimao', 1, 1, 0, 1, 1, 0, 0, 1, 'a'),
(8, 1, 'Joebert', 'P', 'Purok Pag-asa, Talabaan Zone 1 Cadiz City, Negros Occidental', '', '09234346532', 'Nurse', 'Datu-on', 1, 'E0008', 'datu-on', 'datu-on', 0, 0, 0, 0, 0, 0, 0, 0, ''),
(9, 1, 'Alvin', 'L', 'Bacolod City', '', '+23 (321) 332-32-3', 'Technician', 'Yanson', 1, 'E0009', 'yanson', '1234', 1, 1, 0, 1, 1, 0, 0, 1, 'a');
-- --------------------------------------------------------
--
-- Table structure for table `hemo_order`
--
CREATE TABLE `hemo_order` (
`esrd_diabetic` int(1) NOT NULL,
`esrd_chronic` int(1) NOT NULL,
`esrd_hypertensive` int(1) NOT NULL,
`esrd_others` varchar(30) NOT NULL,
`freq_others` varchar(15) NOT NULL,
`dur_others` varchar(15) NOT NULL,
`hepastat` int(1) NOT NULL,
`antihstat` int(1) NOT NULL,
`hepstatdate` date NOT NULL,
`antihstatdate` date NOT NULL,
`access` int(1) NOT NULL,
`insertdate` date NOT NULL,
`surgeon` char(25) NOT NULL,
`avfistula` int(1) NOT NULL,
`avdate` date NOT NULL,
`avsurgeon` char(25) NOT NULL,
`ptfe` int(1) NOT NULL,
`ptdate` date NOT NULL,
`ptsurgeon` char(25) NOT NULL,
`frequency` varchar(10) NOT NULL,
`duration` varchar(10) NOT NULL,
`dialyzer` char(20) NOT NULL,
`reuse` int(1) NOT NULL,
`dialysatebath` int(1) NOT NULL,
`hdrug` char(25) NOT NULL,
`hdose` char(25) NOT NULL,
`bloodflow` char(5) NOT NULL,
`targetwt` char(5) NOT NULL,
`medication` varchar(50) NOT NULL,
`Hospital_id` varchar(30) NOT NULL,
`order_id` int(11) NOT NULL,
`order_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `hemo_order`
--
INSERT INTO `hemo_order` (`esrd_diabetic`, `esrd_chronic`, `esrd_hypertensive`, `esrd_others`, `freq_others`, `dur_others`, `hepastat`, `antihstat`, `hepstatdate`, `antihstatdate`, `access`, `insertdate`, `surgeon`, `avfistula`, `avdate`, `avsurgeon`, `ptfe`, `ptdate`, `ptsurgeon`, `frequency`, `duration`, `dialyzer`, `reuse`, `dialysatebath`, `hdrug`, `hdose`, `bloodflow`, `targetwt`, `medication`, `Hospital_id`, `order_id`, `order_date`) VALUES
(1, 1, 1, 'sampleothers', 'freqothers', 'durothers', 0, 1, '2018-01-29', '2018-01-29', 2, '2018-01-22', 'sad', 1, '2018-01-29', 'sad', 1, '2018-01-29', 'sad', '1', '3 hours', 'HIPS-18', 0, 0, 'sa', 'dsada', 'sad', '21 Kg', 'sdasdasd', '01-26-22', 13, '2018-02-09'),
(1, 0, 0, '', '0', '0', 0, 0, '2018-01-29', '2018-01-29', 0, '2018-01-29', 'as', 1, '2018-01-29', 'asd', 1, '2018-01-29', 'a', '2', '', 'F8HPS', 1, 0, 'sad', 'dsad', 'sad', ' Kg', 'sadasd', '05-29-07', 14, '2018-01-29'),
(1, 1, 0, '', '0', '0', 0, 0, '2018-02-08', '2018-02-08', 1, '2018-02-09', 'mango', 1, '2018-02-09', 'mango', 1, '2018-02-09', 'mango', '2', '3 hours', 'F8HPS', 0, 0, 'asd', '250', 'sad', ' Kg', 'sad', '01-26-22', 25, '2018-02-09'),
(1, 1, 1, 'leptospirosis', '1', '0', 0, 0, '2018-02-12', '2018-02-20', 0, '2018-02-07', 'a', 1, '2018-02-20', 'as', 1, '2018-02-11', 's', '2', '3.5 hours', 'F8HPS', 0, 0, 'as', 'as', 'as', '55', 'as', 'A', 26, '2018-02-11'),
(1, 1, 0, '', '0', '0', 0, 1, '2017-10-30', '2017-12-30', 1, '2018-01-02', '', 0, '2017-03-06', '', 0, '2017-03-05', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '45-42-23', 27, '2018-02-07'),
(1, 1, 1, '', '0', '0', 0, 1, '2017-09-16', '2017-09-16', 0, '2015-07-01', 'Dr. Ranile', 1, '2015-07-01', 'Dr. Ranile', 0, '2017-07-31', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '33-42-13', 28, '2017-11-22'),
(1, 1, 0, '', '0', '0', 0, 1, '2018-01-29', '2018-01-29', 0, '2018-01-22', 'sad', 1, '2018-01-29', 'sad', 1, '2018-01-29', 'sad', '1', '3 hours', 'HIPS-18', 0, 0, '', '', '', '21 Kg', 'sdasdasd', '33-42-13', 29, '2018-02-09'),
(1, 0, 1, '', '0', '0', 0, 0, '2018-01-29', '2018-01-29', 0, '2018-01-29', 'as', 1, '2018-01-29', '', 1, '2018-01-29', 'a', '2', '', 'F8HPS', 1, 0, '', '', '', ' Kg', 'sadasd', '65-10-03', 30, '2018-01-29'),
(1, 1, 0, '', '0', '0', 0, 0, '2018-02-08', '2018-02-08', 1, '2018-02-09', 'mango', 1, '2018-02-09', 'mango', 1, '2018-02-09', 'mango', '2', '3 hours', 'F8HPS', 0, 0, '', '', '', ' Kg', 'sad', '33-42-13', 31, '2018-02-09'),
(1, 0, 1, '', '0', '0', 0, 0, '2018-01-31', '2018-01-28', 1, '2018-01-30', 'surgeon', 1, '2018-02-12', 'surgeon', 1, '2018-01-31', 'sssa', '2', '3 hours', 'HIPS-18', 1, 1, '', '', '', ' Kg', 'mdnkadkwdwdas', '01-26-22', 32, '2018-02-11'),
(1, 1, 0, '', '0', '0', 0, 1, '2017-10-30', '2017-12-30', 1, '2018-01-02', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '45-42-23', 33, '2018-02-07'),
(1, 0, 1, '', '0', '0', 0, 1, '2017-09-16', '2017-09-16', 0, '2015-07-01', 'Dr. Ranile', 1, '2015-07-01', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '33-42-13', 34, '2017-11-22'),
(1, 1, 0, '', '0', '0', 0, 1, '2017-09-16', '2017-09-16', 0, '2015-07-01', 'Dr. Ranile', 1, '2015-07-01', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', '50 Kg', '', '86-89-17', 35, '2017-11-22'),
(0, 1, 0, '', '', '', 0, 1, '2011-01-11', '2011-01-11', 0, '0000-00-00', '', 1, '2018-02-20', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'alex', '123', '170', '75 Kg', '', '12-12-12', 36, '2018-02-28'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '2018-02-28', 'ranile', 1, '2018-02-14', 'gonzaga', 0, '0000-00-00', '', '1', '3 hours', 'F8HPS', 0, 0, 'dalteparin sodium', '2500iu', '300cc', '75 Kg', '', 'AAA-AAA', 37, '2018-02-28'),
(1, 0, 0, '', '', '', 0, 1, '2015-02-10', '2015-02-10', 0, '0000-00-00', '', 1, '2015-02-10', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '01-15-33', 38, '2018-03-03'),
(1, 1, 0, '', '', '', 0, 1, '2015-02-12', '2015-02-12', 0, '0000-00-00', '', 1, '2015-02-12', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '01-21-19', 39, '2018-03-03'),
(1, 0, 0, '', '', '', 0, 1, '2016-12-12', '2016-12-12', 0, '0000-00-00', '', 1, '2016-12-12', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '02-07-15', 40, '2018-03-03'),
(1, 0, 0, '', '', '', 0, 1, '2016-12-12', '2016-12-12', 0, '0000-00-00', '', 1, '2016-12-12', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '03-01-15', 41, '2018-03-03'),
(0, 1, 0, '', '', '', 0, 1, '2015-12-20', '2015-12-20', 0, '0000-00-00', '', 1, '2016-12-30', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '03-18-20', 42, '2018-03-03'),
(1, 1, 0, '', '0', '0', 0, 1, '2017-03-07', '2017-03-07', 1, '2017-03-07', '', 0, '2017-03-07', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '03-25-11', 43, '2017-03-07'),
(1, 1, 1, '', '0', '0', 0, 1, '2017-06-21', '2017-06-21', 0, '0000-00-00', 'Dr. Ranile', 1, '2017-06-21', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg K', '', '03-45-15', 44, '2017-06-21'),
(1, 1, 0, '', '0', '0', 0, 1, '2018-01-13', '2018-01-13', 0, '0000-00-00', 'sad', 1, '2018-01-13', 'sad', 1, '0000-00-00', 'sad', '1', '3 hours', 'HIPS-18', 0, 0, '', '', '', '21 Kg', 'Fennous sulfate 1tab TID', '04-15-08', 45, '2018-01-13'),
(1, 0, 1, '', '0', '0', 0, 0, '2017-03-06', '2017-03-06', 0, '0000-00-00', 'as', 1, '2017-03-06', 'asd', 1, '0000-00-00', 'a', '2', '', 'F8HPS', 1, 0, '', '', '', ' Kg', '', '04-17-26', 46, '2017-03-06'),
(1, 1, 0, '', '', '', 0, 0, '2017-05-23', '2017-05-23', 1, '0000-00-00', '', 1, '2017-05-23', 'mango', 0, '0000-00-00', '', '2', '3 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Calcium carbonate 1 tab', '05-19-21', 47, '2017-05-23'),
(1, 0, 1, '', '', '', 0, 0, '2017-03-15', '2017-03-15', 1, '0000-00-00', '', 1, '2017-03-15', 'Dr. Alayon', 1, '0000-00-00', '', '2', '3 hours', 'HIPS-18', 0, 1, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID', '05-29-07', 48, '2017-03-15'),
(1, 1, 0, '', '0', '0', 0, 1, '2017-03-13', '2017-03-13', 1, '0000-00-00', '', 0, '2017-03-13', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '06/08/2023', 49, '2017-03-13'),
(1, 0, 1, '', '', '', 0, 1, '2016-10-02', '2016-10-02', 0, '0000-00-00', '', 1, '2016-10-02', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg K', 'Calcium carbonate 1 tab', '06-15-11', 50, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '2016-10-20', '2014-10-20', 0, '0000-00-00', '', 1, '2016-10-20', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', '50 Kg', '', '06-36-13', 51, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '2017-01-30', '2017-01-30', 0, '0000-00-00', '', 1, '2017-01-30', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '170', '75 Kg', '', '07-18-01', 52, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '2016-11-11', '2014-11-11', 0, '0000-00-00', '', 1, '2016-11-11', 'Dr. Gonzaga', 0, '0000-00-00', '', '1', '3 hours', 'F8HPS', 0, 0, 'dalteparin sodium', '2500iu', '300cc', '75 Kg', '', '07-36-23', 53, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '2014-02-15', '2013-02-15', 0, '0000-00-00', '', 1, '2010-02-15', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '08-19-35', 54, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '2015-02-10', '2015-02-10', 0, '0000-00-00', '', 1, '2015-10-20', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '09-18-46', 55, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '2017-02-10', '2017-02-10', 0, '0000-00-00', '', 1, '2014-02-10', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '09-21-35', 56, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '10/12/1956', 57, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '2007-12-12', '2007-12-12', 0, '0000-00-00', '', 1, '2007-12-12', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '10-25-17', 58, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '2015-08-22', '2016-09-22', 0, '0000-00-00', '', 1, '2016-10-28', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '10-35-56', 59, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '11/07/2017', 60, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 0, '2016-10-22', '2015-11-29', 0, '0000-00-00', '', 1, '2017-10-28', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '11-26-17', 61, '0000-00-00'),
(1, 1, 1, '', '', '', 0, 1, '2016-11-22', '2016-10-29', 0, '0000-00-00', '', 1, '2016-10-28', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '11-37-17', 62, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '12/12/2012', 63, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '2016-02-11', '2016-02-11', 1, '0000-00-00', '', 1, '2016-02-11', 'Dr. Alayon', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '12-35-11', 64, '0000-00-00'),
(1, 1, 1, '', '', '', 0, 1, '2016-02-10', '2016-02-10', 0, '0000-00-00', 'Dr. Ranile', 1, '2016-02-10', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg K', '', '13-18-17', 65, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', '1', '3 hours', 'HIPS-18', 0, 0, '', '', '', '21 Kg', 'Fennous sulfate 1tab TID', '13-38-01', 66, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'as', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'a', '2', '', 'F8HPS', 1, 0, '', '', '', ' Kg', '', '13-67-08', 67, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', '2', '3 hours', 'F8HPS', 0, 0, '', '', '', ' Kg', 'Calcium carbonate 1 tab', '14-65-95', 68, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'sssa', '2', '3 hours', 'HIPS-18', 1, 1, '', '', '', ' Kg', 'Fennous sulfate 1tab TID', '15-16-25', 69, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 1, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '15-28-07', 70, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Calcium carbonate 1 tab', '16-35-17', 71, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', '50 Kg', '', '17-46-21', 72, '0000-00-00'),
(0, 1, 0, '', '1', '1', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', '1', '4 hours', 'HIPS-18', 0, 0, 'alex', '123', '170', '75 Kg', '', '18-23-51', 73, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'ranile', 1, '0000-00-00', 'gonzaga', 0, '0000-00-00', '', '1', '3 hours', 'F8HPS', 0, 0, 'dalteparin sodium', '2500iu', '300cc', '75 Kg', '', '18-46-15', 74, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '19/11/1936', 75, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '19-45-36', 76, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '20/12/2017', 77, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '20-42-17', 78, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '20-45-17', 79, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '20-80-17', 80, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '21-26-17', 81, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '21-29-18', 82, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '22-25-20', 83, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '23-22-02', 84, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 1, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '24/06/1946', 85, '0000-00-00'),
(1, 1, 1, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '24-19-46', 86, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', '1', '3 hours', 'HIPS-18', 0, 0, '', '', '', '21 Kg', 'Fennous sulfate 1tab TID', '24-35-46', 87, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'as', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'a', '2', '', 'F8HPS', 1, 0, '', '', '', ' Kg', '', '25-84-10', 88, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', '2', '3 hours', 'F8HPS', 0, 0, '', '', '', ' Kg', 'Calcium carbonate 1 tab', '30/11/2010', 89, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'sssa', '2', '3 hours', 'HIPS-18', 1, 1, '', '', '', ' Kg', 'Fennous sulfate 1tab TID', '30-21-10', 90, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 1, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '31-24-32', 91, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Calcium carbonate 1 tab', '33-36-10', 92, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', '50 Kg', '', '33-42-13', 93, '0000-00-00'),
(0, 1, 0, '', '1', '1', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', '1', '4 hours', 'HIPS-18', 0, 0, 'alex', '123', '170', '75 Kg', '', '36-39-15', 94, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'ranile', 1, '0000-00-00', 'gonzaga', 0, '0000-00-00', '', '1', '3 hours', 'F8HPS', 0, 0, 'dalteparin sodium', '2500iu', '300cc', '75 Kg', '', '37-67-12', 95, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '40-24-17', 96, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '40-78-21', 97, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '40-89-11', 98, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '41-10-17', 99, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '45-18-16', 100, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '45-42-23', 101, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '45-45-24', 102, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '46-10-20', 103, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '46-17-40', 104, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '46-20-04', 105, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 1, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '47-10-18', 106, '0000-00-00'),
(1, 1, 1, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '50-21-17', 107, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', '1', '3 hours', 'HIPS-18', 0, 0, '', '', '', '21 Kg', 'Fennous sulfate 1tab TID', '51-27-19', 108, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'as', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'a', '2', '', 'F8HPS', 1, 0, '', '', '', ' Kg', '', '52-04-23', 109, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', '2', '3 hours', 'F8HPS', 0, 0, '', '', '', ' Kg', 'Calcium carbonate 1 tab', '53-16-35', 110, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'sssa', '2', '3 hours', 'HIPS-18', 1, 1, '', '', '', ' Kg', 'Fennous sulfate 1tab TID', '54-21-36', 111, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 1, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '55-14-06', 112, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Calcium carbonate 1 tab', '57-01-15', 113, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', '50 Kg', '', '58-67-08', 114, '0000-00-00'),
(0, 1, 0, '', '1', '1', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', '1', '4 hours', 'HIPS-18', 0, 0, 'alex', '123', '170', '75 Kg', '', '61-39-06', 115, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'ranile', 1, '0000-00-00', 'gonzaga', 0, '0000-00-00', '', '1', '3 hours', 'F8HPS', 0, 0, 'dalteparin sodium', '2500iu', '300cc', '75 Kg', '', '62-17-06', 116, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '63-01-17', 117, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '65-10-03', 118, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '71-26-19', 119, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '73-23-13', 120, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '76-25-36', 121, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '77-10-06', 122, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '79-86-17', 123, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '80-67-10', 124, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '83-49-22', 125, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '', '', '', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '84-63-02', 126, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 1, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', '86-11-12', 127, '0000-00-00'),
(1, 1, 1, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '86-89-17', 128, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', 1, '0000-00-00', 'sad', '1', '3 hours', 'HIPS-18', 0, 0, '', '', '', '21 Kg', 'Fennous sulfate 1tab TID', '89-93-08', 129, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'as', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'a', '2', '', 'F8HPS', 1, 0, '', '', '', ' Kg', '', '89-96-01', 130, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', 1, '0000-00-00', 'mango', '2', '3 hours', 'F8HPS', 0, 0, '', '', '', ' Kg', 'Calcium carbonate 1 tab', '93-91-13', 131, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 0, '0000-00-00', '0000-00-00', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'surgeon', 1, '0000-00-00', 'sssa', '2', '3 hours', 'HIPS-18', 1, 1, '', '', '', ' Kg', 'Fennous sulfate 1tab TID', '93-94-12', 132, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 1, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', '', '96-34-17', 133, '0000-00-00'),
(1, 0, 1, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', ' Kg', 'Calcium carbonate 1 tab', '96-52-17', 134, '0000-00-00'),
(1, 1, 0, '', '0', '0', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'Dr. Ranile', 1, '0000-00-00', 'Dr. Ranile', 0, '0000-00-00', '', '2', '4 hours', 'F8HPS', 0, 0, 'LMWH', '2.5 iu', '300cc', '50 Kg', '', '99-06-03', 135, '0000-00-00'),
(0, 1, 0, '', '1', '1', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', 1, '0000-00-00', 'asd', '1', '4 hours', 'HIPS-18', 0, 0, 'alex', '123', '170', '75 Kg', '', 'A', 136, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', 'ranile', 1, '0000-00-00', 'gonzaga', 0, '0000-00-00', '', '1', '3 hours', 'F8HPS', 0, 0, 'dalteparin sodium', '2500iu', '300cc', '75 Kg', '', 'AAA-AAA', 137, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', 'Abc', 138, '0000-00-00'),
(1, 1, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', 'B', 139, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', 'C', 140, '0000-00-00'),
(1, 0, 0, '', '', '', 0, 1, '0000-00-00', '0000-00-00', 0, '0000-00-00', '', 1, '0000-00-00', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', 'Fennous sulfate 1tab TID\r\nCalcium carbonate 1 tab ', 'Q', 141, '0000-00-00'),
(0, 1, 0, '', '', '', 0, 1, '2016-10-25', '2016-10-25', 0, '0000-00-00', '', 1, '2016-10-25', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Anti-coagulation regular', '2,500 iu', '300 c', ' Kg K', '', '06-08-23', 142, '2018-03-03'),
(1, 0, 0, '', '', '', 0, 1, '2016-12-12', '2012-12-12', 0, '0000-00-00', '', 1, '2016-12-12', 'Dr. Ranile', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 0, 'Low Molecular Weight Hepa', '2,500 iu', '300 c', ' Kg K', '', '10-12-56', 143, '2018-03-03'),
(1, 0, 1, '', '', '', 0, 1, '2015-05-23', '2015-11-23', 0, '0000-00-00', '', 1, '2016-10-22', '', 0, '0000-00-00', '', '1', '', 'HIPS-18', 0, 0, 'Low Molecular Weight Hepa', '2.5 iu', '300 c', ' Kg K', '', '11-07-17', 144, '2018-03-03'),
(1, 1, 0, '', '', '', 0, 1, '2017-03-02', '2017-03-02', 0, '2018-03-02', 'Dr P', 1, '2018-03-03', 'Dr P', 0, '0000-00-00', '', '2', '4 hours', 'HIPS-18', 0, 0, 'LMWH', '2.5 iu', '300cc', '70 Kg', '', '22-34-76', 145, '2018-03-02'),
(0, 1, 0, '', '', '', 0, 1, '2016-01-11', '2016-10-12', 1, '2017-06-07', 'Dr. Alson', 1, '2017-10-17', 'Dr. Alayon', 0, '0000-00-00', '', '1', '4 hours', 'F8HPS', 0, 1, 'LMWH', '2.5 iu', '300cc', '70 Kg', '', '12-23-45', 146, '2018-03-02');
-- --------------------------------------------------------
--
-- Table structure for table `hepatitisbvaccine`
--
CREATE TABLE `hepatitisbvaccine` (
`description` varchar(10) NOT NULL,
`administeredby` varchar(50) NOT NULL,
`hepa_daterecieved` date NOT NULL,
`hepa_nextdate` date NOT NULL,
`hepa_id` int(11) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`hepa_year` char(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `hepatitisbvaccine`
--
INSERT INTO `hepatitisbvaccine` (`description`, `administeredby`, `hepa_daterecieved`, `hepa_nextdate`, `hepa_id`, `Hospital_Id`, `hepa_year`) VALUES
('1', 'johnsaa', '2018-02-10', '2018-02-15', 1, '01-26-22', ''),
('2', 'asd', '2018-02-03', '2018-02-23', 2, '01-26-22', ''),
('2', 'haha', '2018-02-15', '2018-02-15', 3, '01-26-22', ''),
('1', 's4', '2018-02-04', '2018-02-04', 4, '01-26-22', ''),
('1', 'johnsa', '2018-02-10', '2018-02-10', 5, '01-26-22', '2018'),
('2', 'sam.e', '2018-02-19', '0000-00-00', 14, '01-26-22', '2018'),
('2', 's', '2018-02-27', '2018-02-28', 15, '06-08-23', '2018'),
('2', 'a', '2018-02-07', '2018-02-14', 16, '12-12-12', '2018'),
('1', 'sample1', '2017-10-19', '2018-02-07', 17, '12-12-12', '2017'),
('1', 'r.banc', '2018-02-07', '2018-04-12', 18, '86-89-17', '2018'),
('1', 'Datuon', '2015-02-10', '2016-02-01', 19, '01-15-33', '2015'),
('2', 'Datuon', '2016-10-20', '2017-01-20', 20, '01-15-33', '2016'),
('1', 'Vasquez', '2015-02-12', '2015-08-12', 21, '01-21-19', '2015'),
('2', 'Vasquez', '2015-12-12', '2016-04-12', 22, '01-21-19', '2015'),
('1', 'Datuon', '2016-12-20', '2017-04-20', 23, '02-07-15', '2016'),
('2', 'Datuon', '2016-10-20', '2017-03-20', 24, '02-07-15', '2016'),
('2', 'Vasquez', '2015-10-15', '2016-10-15', 25, '03-01-15', '2015'),
('2', 'Datuon', '2015-02-11', '2015-02-11', 26, '04-17-26', '2015'),
('1', 'Paylado', '2015-02-10', '2015-02-10', 27, '04-15-08', '2015'),
('2', 'Vasquez', '2017-02-10', '2017-02-10', 28, '04-15-08', '2017'),
('1', 'Vasquez', '2015-06-14', '2016-08-16', 29, '09-18-46', '2015'),
('2', 'Paylado', '2015-07-14', '2016-07-25', 30, '09-18-46', '2015'),
('1', 'Datuon', '2017-10-24', '2017-10-28', 31, '09-21-35', '2017'),
('2', 'Paylado', '2015-02-22', '2016-07-21', 32, '09-21-35', '2015'),
('2', 'Vasquez', '2014-09-24', '2015-09-27', 33, '08-19-35', '2014'),
('2', 'Datuon', '2015-11-22', '2016-11-24', 34, '03-18-20', '2015'),
('1', 'Vasquez', '2015-10-25', '2016-10-29', 35, '03-25-11', '2015'),
('1', 'Datuon', '2015-09-27', '2016-10-28', 36, '05-19-21', '2015'),
('1', 'Datuon', '2015-10-23', '2016-10-29', 37, '05-29-07', '2015'),
('1', 'Vasquez', '2016-10-24', '2017-10-29', 38, '06-08-23', '2016'),
('1', 'Vasquez', '2015-10-28', '2016-10-28', 39, '06-15-11', '2015'),
('1', 'Datuon', '2015-09-27', '2016-10-27', 40, '06-36-13', '2015'),
('1', 'Vasquez', '2015-09-22', '2016-09-29', 41, '07-18-01', '2015'),
('3', 'Datuon', '2017-10-29', '2018-10-29', 42, '07-18-01', '2017'),
('1', 'Datuon', '2015-09-27', '2016-10-29', 43, '07-36-23', '2015'),
('1', 'Vasquez', '2017-11-25', '2017-09-28', 44, '10-12-56', '2017'),
('2', 'Vasquez', '2016-09-27', '2017-10-30', 45, '10-25-17', '2016'),
('1', 'Vasquez', '2016-10-25', '2017-10-29', 46, '10-25-17', '2016'),
('2', 'Datuon', '2014-09-25', '2015-09-26', 47, '10-35-56', '2014'),
('2', 'Datuon', '2016-09-27', '2017-09-29', 48, '11-07-17', '2016'),
('1', 'Vasquez', '2016-10-28', '2017-10-29', 49, '11-07-17', '2016'),
('1', 'Datuon', '2015-10-28', '2016-10-29', 50, '11-26-17', '2015'),
('2', 'Paylado', '2016-09-28', '2017-10-27', 51, '11-26-17', '2016'),
('1', 'Vasquez', '2015-09-22', '2016-10-28', 52, '11-37-17', '2015'),
('2', 'Datuon', '2015-10-28', '2016-10-29', 53, '11-37-17', '2015'),
('1', 'Paylado', '2015-09-27', '2016-10-28', 54, '12-35-11', '2015'),
('1', 'Alson', '2018-03-02', '2018-04-14', 55, '22-34-76', '2018'),
('1', 'tljph', '2018-03-02', '2018-05-11', 56, '12-23-45', '2018');
-- --------------------------------------------------------
--
-- Table structure for table `hepatitisprofile`
--
CREATE TABLE `hepatitisprofile` (
`hepatitisdate` date NOT NULL,
`HbsAg` varchar(3) NOT NULL,
`AntiHBs` varchar(3) NOT NULL,
`HCV` varchar(3) NOT NULL,
`HIV` varchar(3) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`hepatitisprofile_id` int(11) NOT NULL,
`hepatitismonthyear` char(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `hepatitisprofile`
--
INSERT INTO `hepatitisprofile` (`hepatitisdate`, `HbsAg`, `AntiHBs`, `HCV`, `HIV`, `Hospital_Id`, `hepatitisprofile_id`, `hepatitismonthyear`) VALUES
('2018-02-09', 'r', 'r', 'nr', 'nr', '01-26-22', 10, '2018, February'),
('2018-01-19', 'nr', 'r', 'nr', 'r', '01-26-22', 11, '2018, January'),
('2018-02-15', '', '', '', '', '', 12, '2018, February'),
('2018-02-15', '', '', '', '', '', 13, '2018, February'),
('2018-02-06', 'nr', 'nr', 'nr', 'nr', '05-29-07', 14, '2018, February'),
('2018-01-24', 'r', 'r', 'r', 'r', '01-26-22', 15, '2018, January'),
('2018-01-25', 'r', 'r', 'nr', 'nr', '01-26-22', 16, '2018, January'),
('2017-12-30', 'nr', 'nr', 'nr', 'nr', '45-42-23', 20, '2017, December'),
('2018-02-05', 'nr', 'nr', 'nr', 'nr', '45-42-23', 21, '2018, February'),
('2016-02-24', 'nr', 'r', 'nr', 'nr', '33-42-13', 22, '2016, February'),
('2016-08-27', 'nr', 'r', 'nr', 'nr', '33-42-13', 23, '2016, August'),
('2017-09-16', 'nr', 'r', 'nr', 'nr', '33-42-13', 24, '2017, September'),
('2018-02-26', 'r', 'r', 'nr', 'nr', '13-38-01', 25, '2018, February'),
('2018-02-27', 'r', 'nr', 'nr', 'nr', '01-26-22', 26, '2018, February'),
('2018-02-27', 'r', 'nr', 'nr', 'nr', '06-08-23', 27, '2018, February'),
('2018-02-12', 'r', 'r', 'nr', 'nr', '12-12-12', 28, '2018, February'),
('2018-01-31', 'nr', 'nr', 'nr', 'nr', '12-12-12', 29, '2018, January'),
('2018-02-05', 'nr', 'r', 'nr', 'nr', '86-89-17', 30, '2018, February'),
('2018-03-02', 'r', 'r', 'nr', 'nr', '01-26-22', 31, '2018, March'),
('2015-11-20', 'nr', 'nr', 'nr', 'nr', '01-15-33', 32, '2015, November'),
('2016-12-20', 'nr', 'nr', 'nr', 'nr', '01-15-33', 33, '2016, December'),
('2017-02-10', 'nr', 'nr', 'nr', 'nr', '01-15-33', 34, '2017, February'),
('2015-02-10', 'nr', 'nr', 'nr', 'nr', '01-21-19', 35, '2015, February'),
('2015-06-10', 'nr', 'nr', 'r', 'nr', '01-21-19', 36, '2015, June'),
('2015-11-10', 'nr', 'nr', 'nr', 'nr', '01-21-19', 37, '2015, November'),
('2016-02-10', 'nr', 'nr', 'nr', 'nr', '01-21-19', 38, '2016, February'),
('2016-10-20', 'nr', 'nr', 'nr', 'nr', '02-07-15', 39, '2016, October'),
('2017-02-12', 'nr', 'nr', 'nr', 'nr', '02-07-15', 40, '2017, February'),
('2015-12-12', 'nr', 'nr', 'nr', 'nr', '02-07-15', 41, '2015, December'),
('2015-02-15', 'nr', 'r', 'nr', 'nr', '03-01-15', 42, '2015, February'),
('2016-02-15', 'r', 'nr', 'r', 'nr', '03-01-15', 43, '2016, February'),
('2017-10-26', 'nr', 'nr', 'nr', 'nr', '03-01-15', 44, '2017, October'),
('2015-11-11', 'r', 'nr', 'r', 'nr', '04-17-26', 45, '2015, November'),
('2017-04-11', 'nr', 'nr', 'nr', 'nr', '04-17-26', 46, '2017, April'),
('2017-10-11', 'nr', 'nr', 'nr', 'nr', '04-17-26', 47, '2017, October'),
('2016-11-25', 'nr', 'nr', 'nr', 'nr', '04-15-08', 48, '2016, November'),
('2017-10-15', 'nr', 'nr', 'nr', 'nr', '04-15-08', 49, '2017, October'),
('2013-04-15', 'nr', 'nr', 'nr', 'nr', '09-18-46', 50, '2013, April'),
('2014-01-19', 'nr', 'nr', 'nr', 'nr', '09-18-46', 51, '2014, January'),
('2016-11-14', 'nr', 'nr', 'nr', 'nr', '09-18-46', 52, '2016, November'),
('2012-07-10', 'nr', 'nr', 'nr', 'nr', '09-21-35', 53, '2012, July'),
('2014-05-26', 'nr', 'nr', 'nr', 'nr', '09-21-35', 54, '2014, May'),
('2016-02-10', 'nr', 'nr', 'nr', 'nr', '08-19-35', 55, '2016, February'),
('2015-08-26', 'nr', 'nr', 'nr', 'nr', '08-19-35', 56, '2015, August'),
('2016-07-13', 'nr', 'nr', 'nr', 'nr', '08-19-35', 57, '2016, July'),
('2015-08-09', 'nr', 'nr', 'nr', 'nr', '03-18-20', 58, '2015, August'),
('2015-10-25', 'nr', 'nr', 'nr', 'nr', '03-18-20', 59, '2015, October'),
('2016-10-28', 'nr', 'nr', 'nr', 'nr', '03-25-11', 60, '2016, October'),
('2016-10-24', 'nr', 'nr', 'nr', 'nr', '03-25-11', 61, '2016, October'),
('2016-11-30', 'nr', 'nr', 'r', 'nr', '05-19-21', 62, '2016, November'),
('2016-10-25', 'nr', 'nr', 'nr', 'nr', '05-19-21', 63, '2016, October'),
('2016-10-24', 'nr', 'nr', 'nr', 'nr', '05-29-07', 64, '2016, October'),
('2017-11-22', 'nr', 'nr', 'nr', 'nr', '05-29-07', 65, '2017, November'),
('2016-10-23', 'nr', 'nr', 'nr', 'nr', '06-08-23', 66, '2016, October'),
('2017-09-22', 'nr', 'nr', 'nr', 'nr', '06-08-23', 67, '2017, September'),
('2016-10-22', 'nr', 'nr', 'r', 'nr', '06-15-11', 68, '2016, October'),
('2016-09-26', 'nr', 'nr', 'r', 'nr', '06-36-13', 69, '2016, September'),
('2017-12-25', 'nr', 'nr', 'nr', 'r', '06-36-13', 70, '2017, December'),
('2015-10-25', 'nr', 'nr', 'nr', 'nr', '07-18-01', 71, '2015, October'),
('2015-01-03', 'nr', 'nr', 'nr', 'nr', '07-18-01', 72, '2015, January'),
('2015-10-23', 'nr', 'nr', 'nr', 'nr', '07-36-23', 73, '2015, October'),
('2015-12-12', 'r', 'r', 'nr', 'nr', '10-12-56', 74, '2015, December'),
('2016-11-11', 'nr', 'nr', 'nr', 'nr', '10-12-56', 75, '2016, November'),
('2014-02-12', 'nr', 'nr', 'nr', 'nr', '10-25-17', 76, '2014, February'),
('2012-12-12', 'nr', 'nr', 'nr', 'nr', '10-25-17', 77, '2012, December'),
('2017-11-11', 'nr', 'nr', 'nr', 'nr', '10-25-17', 78, '2017, November'),
('2016-10-18', 'nr', 'nr', 'nr', 'nr', '10-35-56', 79, '2016, October'),
('2017-04-24', 'nr', 'nr', 'nr', 'nr', '10-35-56', 80, '2017, April'),
('2014-02-18', 'nr', 'nr', 'nr', 'nr', '10-35-56', 81, '2014, February'),
('2015-10-22', 'nr', 'nr', 'nr', 'nr', '11-07-17', 82, '2015, October'),
('2015-09-21', 'nr', 'r', 'nr', 'nr', '11-07-17', 83, '2015, September'),
('2010-10-10', 'nr', 'nr', 'nr', 'nr', '11-07-17', 84, '2010, October'),
('2015-09-20', 'nr', 'nr', 'nr', 'nr', '11-26-17', 85, '2015, September'),
('2016-12-12', 'nr', 'nr', 'nr', 'nr', '11-26-17', 86, '2016, December'),
('2014-04-14', 'nr', 'r', 'nr', 'nr', '11-26-17', 87, '2014, April'),
('2016-11-25', 'nr', 'nr', 'nr', 'nr', '11-37-17', 88, '2016, November'),
('2016-10-25', 'nr', 'nr', 'nr', 'nr', '11-37-17', 89, '2016, October'),
('2016-11-25', 'nr', 'r', 'r', 'nr', '12-12-12', 90, '2016, November'),
('2017-10-25', 'nr', 'nr', 'nr', 'nr', '12-12-12', 91, '2017, October'),
('2013-07-21', 'nr', 'nr', 'nr', 'nr', '12-12-12', 92, '2013, July'),
('2012-12-12', 'nr', 'nr', 'nr', 'nr', '12-12-12', 93, '2012, December'),
('2016-09-27', 'nr', 'nr', 'nr', 'nr', '12-35-11', 94, '2016, September'),
('2014-10-26', 'nr', 'nr', 'nr', 'nr', '12-35-11', 95, '2014, October'),
('2018-03-02', 'nr', 'nr', 'nr', 'nr', '22-34-76', 96, '2018, March'),
('2017-06-14', 'r', 'r', 'nr', 'nr', '12-23-45', 97, '2017, June');
-- --------------------------------------------------------
--
-- Table structure for table `influenzavaccine`
--
CREATE TABLE `influenzavaccine` (
`influenza_administeredby` varchar(50) NOT NULL,
`influenza_daterecieved` date NOT NULL,
`influenza_datenext` date NOT NULL,
`influenza_id` int(11) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`influenza_year` char(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `influenzavaccine`
--
INSERT INTO `influenzavaccine` (`influenza_administeredby`, `influenza_daterecieved`, `influenza_datenext`, `influenza_id`, `Hospital_Id`, `influenza_year`) VALUES
('johnsaac', '2018-02-03', '2018-02-28', 1, '01-26-22', ''),
('asda', '2018-02-14', '2018-02-28', 5, '01-26-22', ''),
('hehe', '2018-02-09', '2018-02-22', 6, '01-26-22', '2018'),
('johna', '2018-02-03', '2018-02-28', 7, '01-26-22', ''),
('c/o LYF vaccination & medical services', '2016-07-17', '2016-11-17', 8, '33-42-13', ''),
('s', '2018-02-06', '2018-02-07', 9, '12-12-12', '2018'),
('SASA', '2018-02-21', '2018-02-28', 12, '12-12-12', '2018'),
('rhiban', '2018-02-07', '2018-03-14', 13, '86-89-17', '2018'),
('TLJPH', '2015-02-10', '2016-02-01', 14, '01-15-33', '2015'),
('TLJPH', '2016-10-20', '2017-01-20', 15, '01-15-33', '2016'),
('TLJPH', '2015-10-12', '2015-01-12', 16, '01-21-19', '2015'),
('Vasquez', '2016-06-12', '2016-12-12', 17, '01-21-19', '2016'),
('TLJPH', '2015-12-20', '2016-04-20', 18, '02-07-15', '2015'),
('TLJPH', '2016-12-20', '2017-12-20', 19, '02-07-15', '2016'),
('Vasquez', '2015-02-15', '2016-02-15', 20, '03-01-15', '2015'),
('TLJPH', '2017-02-11', '2017-02-11', 21, '04-17-26', '2017'),
('Vasquez', '2017-02-10', '2018-02-10', 22, '04-15-08', '2017'),
('Vasquez', '2015-03-21', '2016-04-26', 23, '09-18-46', '2015'),
('Vasquez', '2014-07-26', '2015-08-26', 24, '09-21-35', '2014'),
('Vasquez', '2017-06-19', '2018-04-26', 25, '08-19-35', '2017'),
('Vasquez', '2015-10-24', '2016-09-28', 26, '03-18-20', '2015'),
('TLJPH', '2016-10-27', '2017-11-29', 27, '03-25-11', '2016'),
('Vasquez', '2016-10-29', '2017-10-29', 28, '05-19-21', '2016'),
('TLJPH', '2015-10-28', '2016-10-28', 29, '05-29-07', '2015'),
('Vasquez', '2015-10-19', '2016-10-29', 30, '06-08-23', '2015'),
('Vasquez', '2016-10-29', '2017-10-30', 31, '06-15-11', '2016'),
('Vasquez', '2017-10-29', '2018-09-29', 32, '06-36-13', '2017'),
('TLJPH', '2015-10-23', '2016-10-29', 33, '07-18-01', '2015'),
('Vasquez', '2016-10-28', '2017-10-29', 34, '07-18-01', '2016'),
('Vasquez', '2016-09-28', '2017-10-29', 35, '07-36-23', '2016'),
('Vasquez', '2016-10-27', '2017-09-29', 36, '10-12-56', '2016'),
('Vasquez', '2016-10-27', '2017-10-29', 37, '10-25-17', '2016'),
('TLJPH', '2015-10-27', '2016-10-28', 38, '10-25-17', '2015'),
('TLJPH', '2015-09-28', '2016-09-28', 39, '10-35-56', '2015'),
('Vasquez', '2015-09-28', '2016-10-29', 40, '11-07-17', '2015'),
('Vasquez', '2015-09-28', '2016-08-29', 41, '11-07-17', '2015'),
('Vasquez', '2016-09-27', '2016-10-29', 42, '11-26-17', '2016'),
('TLJPH', '2015-09-27', '2017-09-29', 43, '11-26-17', '2015'),
('Vasquez', '2015-09-28', '2016-10-28', 44, '11-37-17', '2015'),
('Vasquez', '2016-09-28', '2017-10-29', 45, '11-37-17', '2016'),
('TLJPH', '2015-09-28', '2015-08-28', 46, '12-35-11', '2015'),
('Alson', '2018-03-02', '2018-06-16', 47, '22-34-76', '2018'),
('tljph', '2018-03-02', '2018-04-13', 48, '12-23-45', '2018');
-- --------------------------------------------------------
--
-- Table structure for table `initialtestresult`
--
CREATE TABLE `initialtestresult` (
`initialtemperature` varchar(5) NOT NULL,
`bloodpressure` varchar(10) NOT NULL,
`cardiacrate` varchar(10) NOT NULL,
`repulsiverate` varchar(10) NOT NULL,
`initialtestresult_id` int(10) NOT NULL,
`Hospital_Id` varchar(8) NOT NULL,
`initialtest_date` date NOT NULL,
`initialtest_time` varchar(12) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `initialtestresult`
--
INSERT INTO `initialtestresult` (`initialtemperature`, `bloodpressure`, `cardiacrate`, `repulsiverate`, `initialtestresult_id`, `Hospital_Id`, `initialtest_date`, `initialtest_time`) VALUES
('36', '164/91', '74', '18', 1, '01-26-22', '2016-07-03', '7:11 AM'),
('36', '169/90', '70', '19', 2, '01-26-22', '2016-06-26', '7:00 AM'),
('35.5', '152/85', '68', '19', 3, '01-26-22', '2018-02-26', '6:41 AM'),
('35.2', '176/93', '68', '19', 4, '01-26-22', '2018-02-28', '6:50 AM'),
('35.8', '176/95', '68', '19', 5, '01-26-22', '2018-02-28', '6:55 AM'),
('35.6', '167/81', '76', '20', 6, '01-26-22', '2018-03-01', '6:37 AM'),
('35.6', '167/81', '76', '20', 7, '01-26-22', '2018-03-02', '5:13 AM'),
('32', '151/171', '78', '22', 8, '45-45-24', '2018-01-22', '10:37 AM'),
('32', '152/72', '78', '22', 9, '01-26-22', '2018-01-29', '11:41 AM'),
('35', '175/80', '70', '40', 10, '45-45-24', '2018-01-29', '8:15 PM'),
('31', '170 / 90', '23', '23', 11, '86-89-17', '2018-02-05', '1:32 AM'),
('23', '23 / 32', '32', '23', 12, '86-89-17', '2018-02-11', '9:36 PM'),
('1', '01-Jan', '1123', '1', 13, '05-29-07', '2018-02-14', '3:27 AM'),
('12', '12 / 12', '12', '12', 15, '05-29-07', '2018-02-22', '1:34 am'),
('36', '207 / 70', '81', '20', 16, '40-89-11', '2017-06-26', '6:50 am'),
('2', '2 / 2', '2', '2', 17, '86-89-17', '2018-02-26', '3:55 am'),
('2', '2 / 2', '2', '2', 18, '12-12-12', '2018-02-28', '4:08 am'),
('36', '170 / 60', '90', '22', 19, 'AAA-AAA', '2018-02-28', '11:01 am'),
('35', '207 / 70', '81', '20', 20, '12-23-45', '2018-03-02', '3:57 pm');
-- --------------------------------------------------------
--
-- Table structure for table `laboratory`
--
CREATE TABLE `laboratory` (
`Creatinine` varchar(10) NOT NULL,
`BUN` varchar(10) NOT NULL,
`Magnesium` varchar(10) NOT NULL,
`Calcium` varchar(10) NOT NULL,
`Phosphorus` varchar(10) NOT NULL,
`Potassium` varchar(10) NOT NULL,
`Sodium` varchar(10) NOT NULL,
`TCholesterol` varchar(10) NOT NULL,
`Triglycerides` varchar(10) NOT NULL,
`HDL` varchar(10) NOT NULL,
`LDL` varchar(10) NOT NULL,
`FBS` varchar(10) NOT NULL,
`RBS` varchar(10) NOT NULL,
`UricAcid` varchar(10) NOT NULL,
`RBCBlood` varchar(10) NOT NULL,
`WBC` varchar(10) NOT NULL,
`Hemoglobin` varchar(10) NOT NULL,
`Hematocrit` varchar(10) NOT NULL,
`PlateletCount` varchar(10) NOT NULL,
`Polys` varchar(10) NOT NULL,
`Lymph` varchar(10) NOT NULL,
`Eosinophyl` varchar(10) NOT NULL,
`Monocytes` varchar(10) NOT NULL,
`Basophil` varchar(10) NOT NULL,
`pH` varchar(10) NOT NULL,
`SpGravity` varchar(10) NOT NULL,
`Albumin` varchar(10) NOT NULL,
`Sugar` varchar(10) NOT NULL,
`PlusCells` varchar(10) NOT NULL,
`RBCUrine` varchar(10) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`Laboratory_date` date NOT NULL,
`Laboratory_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `laboratory`
--
INSERT INTO `laboratory` (`Creatinine`, `BUN`, `Magnesium`, `Calcium`, `Phosphorus`, `Potassium`, `Sodium`, `TCholesterol`, `Triglycerides`, `HDL`, `LDL`, `FBS`, `RBS`, `UricAcid`, `RBCBlood`, `WBC`, `Hemoglobin`, `Hematocrit`, `PlateletCount`, `Polys`, `Lymph`, `Eosinophyl`, `Monocytes`, `Basophil`, `pH`, `SpGravity`, `Albumin`, `Sugar`, `PlusCells`, `RBCUrine`, `Hospital_Id`, `Laboratory_date`, `Laboratory_id`) VALUES
('a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', 'a1', '86-89-17', '2018-01-27', 1),
('1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '01-26-22', '2018-02-06', 15),
('1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', '', '', '', '', '', '', '01-26-22', '2018-02-07', 16),
('1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '23-22-02', '2018-02-12', 17),
('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '23-22-02', '2018-02-14', 18),
('1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '05-29-07', '2018-02-12', 19),
('1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', '', '', '', '', '', '', '01-26-22', '2018-02-07', 20),
('18.67', '116.01', '', '', '', '3.70', '', '', '', '', '', '', '', '', '2.84', '9.2', '', '0.25', '219', '', '5', '4', '2', '', '', '', '', '', '', '', '45-42-23', '2018-01-03', 21),
('1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', '', '', '', '', '', '', '45-42-23', '2018-02-07', 24),
('7.08', '72.75', '', '6.32', '2.47', '3.83', '134.9', '235', '163.73', '67.18', '136.68', '107.27', '', '8.71', '4.3', '7.1', '121', '0.36', '244', '0.61', '0.19', '0.07', '0.12', '0.01', '', '', '', '', '', '', '33-42-13', '2016-12-05', 25),
('7.23', '59.55', '', '', '', '4.76', '137.30', '266.41', '152.21', '88.03', '146.69', '109.09', '', '6.86', '2.3', '8.4', '64', '0.20', 'adequate', '0.69', '', '0.11', '0.04', '0.01', '', '', '', '', '', '', '33-42-13', '2017-02-02', 26),
('10.2', '36.24', '', '7.68', '', '4.87', '136.5', '193.05', '152.21', '56.37', '105.11', '123.64', '', '9.85', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '33-42-13', '2017-04-11', 27),
('8.45', '41.29', '', '', '', '4.40', '136', '239.38', '194.69', '59.07', '140.91', '123.64', '', '7.43', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '33-42-13', '2017-08-07', 28),
('', '', '', '', '', '', '', '', '', '', '', '', '', '', '4.12', '8.1', '114', '0.34', 'adequate', '0.60', '0.28', '0.03', '0.09', '', '', '', '', '', '', '', '33-42-13', '2016-11-05', 29),
('', '', '', '', '', '', '', '', '', '', '', '', '', '', '4.05', '8', '114', '0.34', 'adequate', '', '0.36', '', '0.12', '', '', '', '', '', '', '', '33-42-13', '2017-01-07', 30),
('', '', '', '', '', '', '', '', '', '', '', '', '', '', '3.57', '7.6', '103', '0.31', 'adequate', '0.61', '0.21', '0.02', '0.15', '0.01', '', '', '', '', '', '', '33-42-13', '2017-03-04', 31),
('', '', '', '', '', '', '', '', '', '', '', '', '', '', '4.49', '10', '127', '0.40', 'adequate', '0.66', '0.21', '0.05', '0.08', '', '', '', '', '', '', '', '33-42-13', '2017-05-06', 32),
('11.75', '77.47', '', '', '', '4.45', '134', '201.93', '172.57', '51.74', '114.73', '120', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '33-42-13', '2017-11-14', 33),
('9.67', '', '', '', '', '4.63', '137.90', '', '', '', '', '118', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '33-42-13', '2018-01-18', 35),
('', '', '', '', '', '', '', '', '', '', '', '', '', '', '4.4', '11.1', '124', '0.39', '183', '0.71', '0.14', '0.05', '0.10', '0', '', '', '', '', '', '', '33-42-13', '2017-06-06', 36),
('7.08', '72.75', '', '6.32', '2.47', '3.83', '134.9', '235', '163.73', '67.18', '136.68', '107.27', '', '8.71', '4.3', '7.1', '121', '0.36', '244', '0.61', '0.19', '0.07', '0.12', '0.01', '', '', '', '', '', '', '86-89-17', '2016-12-05', 37),
('7.23', '59.55', '', '', '', '4.76', '137.30', '266.41', '152.21', '88.03', '146.69', '109.09', '', '6.86', '2.3', '8.4', '64', '0.20', 'adequate', '0.69', '', '0.11', '0.04', '0.01', '', '', '', '', '', '', '86-89-17', '2017-02-02', 38),
('10.2', '36.24', '', '7.68', '', '4.87', '136.5', '193.05', '152.21', '56.37', '105.11', '123.64', '', '9.85', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '86-89-17', '2017-04-11', 39),
('8.45', '41.29', '', '', '', '4.40', '136', '239.38', '194.69', '59.07', '140.91', '123.64', '', '7.43', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '86-89-17', '2017-08-07', 40),
('s', 's', 's', 's', 'ss', 's', 's', 's', 's', 's', 's', 's', 's', 's', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'A', '0000-00-00', 41),
('123', '123', '123', '123', '123', '123', '123', '123', '123', '123', '123', '123', '123', '123', '456', '456', '456', '456', '456', '456', '456', '456', '456', '456', '789', '789', '789', '789', '789', '789', '12-12-12', '2018-02-28', 42),
('12.98', '', '', '', '', '5.6', '141.60', '', '', '', '', '', '', '', '2.9', '7.8', '86', '0.30', '191', '0.72', '0.27', '0.06', '0.06', '0.00', '', '', '', '', '', '', '02-07-15', '2016-10-25', 43),
('12.98', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '262', '', '0.23', '0.04', '', '0.00', '', '', '', '', '', '2.9', '01-15-33', '2015-02-10', 44),
('12.00', '', '', '', '', '4.0', '135.00', '', '', '', '', '', '', '', '3.3', '8.4', '86', '0.33', '191', '0.68', '0.10', '0.05', '0.04', '0.00', '', '', '', '', '', '', '01-15-33', '2016-05-25', 45),
('11.06', '', '', '', '', '3.6', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '01-15-33', '2016-02-12', 46),
('12.98', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '2.9', '8.4', '93', '0.31', '262', '0.72', '0.10', '0.05', '0.05', '0.00', '', '', '', '', '', '', '01-21-19', '2015-11-02', 47),
('11.06', '', '', '', '', '4.2', '135.00', '', '', '', '', '', '', '', '3.4', '8.4', '93', '0.31', '262', '0.83', '0.10', '0.04', '0.05', '0.00', '', '', '', '', '', '', '01-21-19', '2016-02-15', 48),
('', '', '', '', '', '', '', '', '', '', '', '', '3.1', '5.2', '99', '0.33', '140', '0.83', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '', '', '01-21-19', '2016-02-16', 49),
('8.04', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '3.1', '5.2', '99', '0.31', '262', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '03-18-20', '2016-10-12', 50),
('12.98', '', '', '', '', '3.8', '137.00', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '262', '', '0.23', '0.04', '', '0.00', '', '', '', '', '', '', '03-18-20', '2015-02-10', 51),
('11.06', '', '', '', '', '4.6', '135.00', '', '', '', '', '', '', '', '2.9', '5.2', '99', '0.33', '140', '0.83', '0.10', '0.05', '0.04', '0.00', '', '', '', '', '', '', '03-25-11', '2009-02-12', 52),
('8.04', '', '', '', '', '3.8', '137.00', '', '', '', '', '', '', '', '3.3', '6.4', '99', '0.33', '140', '0.83', '0.23', '0.04', '', '0', '', '', '', '', '', '', '03-25-11', '2012-02-12', 53),
('11.06', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '3.3', '8.4', '99', '0.31', '262', '0.83', '0.10', '0.04', '0.05', '0', '', '', '', '', '', '', '04-15-08', '2014-02-15', 54),
('12.98', '', '', '', '', '4.2', '137.00', '', '', '', '', '', '', '', '3.3', '8.4', '93', '0.31', '262', '0.68', '0.10', '0.05', '0.04', '0.00', '', '', '', '', '', '', '04-15-08', '2015-02-25', 55),
('11.06', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '2.9', '8.4', '93', '0.31', '140', '0.83', '0.10', '0.04', '0.05', '0', '', '', '', '', '', '', '04-15-08', '2016-12-20', 56),
('11.06', '', '', '', '', '4.2', '137.00', '', '', '', '', '', '', '', '3.4', '8.4', '93', '0.31', '262', '0.83', '0.10', '0.04', '0.05', '0.00', '', '', '', '', '', '', '04-17-26', '2016-02-15', 57),
('11.06', '', '', '', '', '4.2', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '04-17-26', '2017-11-20', 58),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '5.2', '3.3', '8.4', '93', '0.31', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '04-17-26', '2016-11-20', 59),
('11.06', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '2.9', '5.2', '99', '0.33', '140', '0.68', '0.23', '0.05', '0.04', '0', '', '', '', '', '', '', '05-19-21', '2015-01-20', 60),
('8.04', '', '', '', '', '3.8', '137.00', '', '', '', '', '', '', '', '2.5', '8.4', '93', '0.31', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '05-19-21', '2016-05-15', 61),
('8.04', '', '', '', '', '4.2', '139.60', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '05-29-07', '2014-01-15', 62),
('', '', '', '', '', '', '', '', '', '', '', '', '', '5.2', '93', '0.31', '262', '0.83', '0.10', '0.04', '0.04', '0.00', '', '', '', '', '', '', '', '', '05-29-07', '2014-03-15', 63),
('', '', '', '', '', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '140', '0.68', '0.23', '0.05', '0.04', '0.00', '', '', '', '', '', '', '', '', '05-29-07', '2015-02-25', 64),
('12.98', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '3.3', '8.4', '99', '0.31', '262', '0.83', '0.10', '0.04', '0.05', '0', '', '', '', '', '', '', '06-08-23', '2014-02-15', 65),
('8.04', '', '', '', '', '4.2', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '06-08-23', '2015-12-20', 66),
('8.68', '', '', '', '', '4.2', '135.00', '', '', '', '', '', '', '', '3.3', '7.8', '101', '0.30', '116', '0.58', '0.28', '0.06', '0.05', '0.00', '', '', '', '', '', '', '02-07-15', '2017-10-25', 67),
('8.04', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '3.3', '8.4', '93', '0.31', '262', '0.83', '0.10', '0.04', '0.04', '0.00', '', '', '', '', '', '3.1', '03-01-15', '2016-12-15', 68),
('8.68', '', '', '', '', '3.8', '135.00', '', '', '', '', '', '', '', '2.5', '7.8', '93', '0.33', '140', '0.72', '0.30', '0.04', '9', '0.00', '', '', '', '', '', '', '03-01-15', '2017-06-15', 69),
('9.04', '', '', '', '', '6.4', '137.60', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '03-01-15', '2017-02-20', 70),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '8.4', '99', '0.31', '140', '0.83', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '', '', '03-01-15', '2017-12-15', 71),
('12.98', '', '', '', '', '5.6', '141.6', '', '', '', '', '', '', '', '2.9', '7.8', '86', '0.3', '191', '0.72', '0.27', '0.06', '0.06', '0', '', '', '', '', '', '', '03-18-20', '2015-03-01', 72),
('12.98', '', '', '', '', '4.6', '137', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '262', '', '0.23', '0.04', '', '0', '', '', '', '', '', '2.9', '03-18-20', '2015-09-06', 73),
('12', '', '', '', '', '4', '135', '', '', '', '', '', '', '', '3.3', '8.4', '86', '0.33', '191', '0.68', '0.1', '0.05', '0.04', '0', '', '', '', '', '', '', '03-18-20', '2016-09-12', 74),
('11.06', '', '', '', '', '3.6', '137', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '03-18-20', '2016-03-03', 75),
('12.98', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '2.9', '8.4', '93', '0.31', '262', '0.72', '0.1', '0.05', '0.05', '0', '', '', '', '', '', '', '04-17-26', '2017-08-16', 76),
('11.06', '', '', '', '', '4.2', '135', '', '', '', '', '', '', '', '3.4', '8.4', '93', '0.31', '262', '0.83', '0.1', '0.04', '0.05', '0', '', '', '', '', '', '', '04-17-26', '2017-06-14', 77),
('', '', '', '', '', '', '', '', '', '', '', '', '3.1', '5.2', '99', '0.33', '140', '0.83', '0.23', '0.04', '0.05', '0', '', '', '', '', '', '', '', '', '04-17-26', '2015-09-13', 78),
('8.04', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '3.1', '5.2', '99', '0.31', '262', '0.68', '0.23', '0.04', '0.05', '0', '', '', '', '', '', '', '04-17-26', '0000-00-00', 79),
('12.98', '', '', '', '', '3.8', '137', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '262', '', '0.23', '0.04', '', '0', '', '', '', '', '', '', '06-15-11', '0000-00-00', 80),
('11.06', '', '', '', '', '4.6', '135', '', '', '', '', '', '', '', '2.9', '5.2', '99', '0.33', '140', '0.83', '0.1', '0.05', '0.04', '0', '', '', '', '', '', '', '06-15-11', '0000-00-00', 81),
('8.04', '', '', '', '', '3.8', '137', '', '', '', '', '', '', '', '3.4', '5.2', '99', '0.33', '262', '0.83', '0.23', '0.04', '0.05', '0', '', '', '', '', '', '', '06-15-11', '0000-00-00', 82),
('11.06', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '3.3', '8.4', '99', '0.31', '262', '0.83', '0.1', '0.04', '0.05', '0', '', '', '', '', '', '', '06-15-11', '0000-00-00', 83),
('12.98', '', '', '', '', '4.2', '137', '', '', '', '', '', '', '', '3.3', '8.4', '93', '0.31', '262', '0.68', '0.1', '0.05', '0.04', '0', '', '', '', '', '', '', '06-15-11', '0000-00-00', 84),
('11.06', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '2.9', '8.4', '93', '0.31', '140', '0.83', '0.1', '0.04', '0.05', '0', '', '', '', '', '', '', '09-18-46', '0000-00-00', 85),
('11.06', '', '', '', '', '4.2', '137', '', '', '', '', '', '', '', '3.4', '8.4', '93', '0.31', '262', '0.83', '0.1', '0.04', '0.05', '0', '', '', '', '', '', '', '09-18-46', '0000-00-00', 86),
('11.06', '', '', '', '', '4.2', '137', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '09-18-46', '0000-00-00', 87),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '5.2', '99', '0.33', '140', '0.68', '0.23', '0.05', '0.04', '0', '', '', '', '', '', '', '', '', '09-18-46', '0000-00-00', 88),
('11.06', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '2.9', '5.2', '99', '0.33', '140', '0.68', '0.23', '0.05', '0.04', '0', '', '', '', '', '', '', '09-18-56', '0000-00-00', 89),
('8.04', '', '', '', '', '3.8', '137', '', '', '', '', '', '', '', '3.4', '5.2', '99', '0.33', '140', '0.68', '0.23', '0.05', '0.04', '0', '', '', '', '', '', '', '11-26-17', '0000-00-00', 90),
('8.04', '', '', '', '', '4.2', '139.6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '11-26-17', '0000-00-00', 91),
('', '', '', '', '', '', '', '', '', '', '', '', '', '5.2', '93', '0.31', '262', '0.83', '0.1', '0.04', '0.04', '0', '', '', '', '', '', '', '', '', '11-26-17', '0000-00-00', 92),
('', '', '', '', '', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '140', '0.68', '0.23', '0.05', '0.04', '0', '', '', '', '', '', '', '', '', '11-26-17', '0000-00-00', 93),
('12.98', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '3.3', '8.4', '99', '0.31', '262', '0.83', '0.1', '0.04', '0.05', '0', '', '', '', '', '', '', '11-26-17', '0000-00-00', 94),
('8.04', '', '', '', '', '4.2', '137', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '11-26-17', '0000-00-00', 95),
('8.68', '', '', '', '', '4.2', '135', '', '', '', '', '', '', '', '3.3', '7.8', '101', '0.3', '116', '0.58', '0.28', '0.06', '0.05', '0', '', '', '', '', '', '', '11-37-17', '0000-00-00', 96),
('8.04', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '3.3', '8.4', '93', '0.31', '262', '0.83', '0.1', '0.04', '0.04', '0', '', '', '', '', '', '3.1', '11-37-17', '0000-00-00', 97),
('8.68', '', '', '', '', '3.8', '135', '', '', '', '', '', '', '', '2.5', '7.8', '93', '0.33', '140', '0.72', '0.3', '0.04', '9', '0', '', '', '', '', '', '', '11-37-17', '0000-00-00', 98),
('9.04', '', '', '', '', '6.4', '137.6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '11-37-17', '0000-00-00', 99),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '8.4', '99', '0.31', '140', '0.83', '0.23', '0.04', '0.05', '0', '', '', '', '', '', '', '', '', '11-37-17', '0000-00-00', 100),
('12.98', '', '', '', '', '4.2', '135.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '09-18-46', '2017-02-11', 101),
('11.06', '', '', '', '', '4.6', '139.6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '09-18-46', '2016-06-12', 102),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '8.4', '93', '0.31', '140', '0.83', '0.1', '0.04', '0.05', '0', '', '', '', '', '', '', '', '', '09-18-46', '2017-10-15', 103),
('9.04', '', '', '', '', '4.2', '139.60', '', '', '', '', '', '', '', '2.9', '5.2', '103', '0.29', '191', '0.68', '0.27', '0.06', '0.04', '0.00', '', '', '', '', '', '', '09-21-35', '2010-02-20', 104),
('8.04', '', '', '', '', '4.0', '139.60', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '09-21-35', '2018-11-02', 105),
('12.00', '', '', '', '', '4.0', '137.60', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '09-21-35', '2014-02-05', 106),
('', '', '', '', '', '', '', '', '', '', '', '', '2.5', '8.2', '101', '0.29', '258', '0.67', '0.23', '0.02', '9', '0.00', '', '', '', '', '', '', '', '', '09-21-35', '2014-09-04', 107),
('8.04', '', '', '', '', '4.2', '139.60', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '140', '0.68', '0.10', '0.05', '0.04', '0.00', '', '', '', '', '', '', '08-19-35', '2017-08-24', 108),
('8.04', '', '', '', '', '4.2', '139.60', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '08-19-35', '2017-08-20', 109),
('', '', '', '', '', '', '', '', '', '', '', '', '3.4', '8.2', '93', '0.31', '140', '0.83', '0.23', '0.05', '0.05', '0.00', '', '', '', '', '', '', '', '', '08-19-35', '2016-06-09', 110),
('8.04', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.4', '6.4', '99', '0.33', '140', '0.68', '0.23', '0.05', '0.05', '0.00', '', '', '', '', '', '', '03-45-15', '2015-09-16', 111),
('11.06', '', '', '', '', '3.8', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '03-45-15', '2016-06-07', 112),
('', '', '', '', '', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '', '', '03-45-15', '2016-12-13', 113),
('', '', '', '', '', '', '', '', '', '', '', '', '3.4', '8.4', '93', '0.33', '140', '0.83', '0.10', '0.04', '0.05', '0', '', '', '', '', '', '', '', '2.9', '06-15-11', '2016-10-28', 114),
('8.04', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '2.9', '8.4', '93', '0.33', '140', '0.68', '0.23', '0.04', '0.05', '0', '', '', '', '', '', '', '06-36-13', '2015-08-07', 115),
('12.98', '', '', '', '', '3.8', '135.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '06-36-13', '2016-10-23', 116),
('', '', '', '', '', '', '', '', '', '', '', '', '2.93', '8.2', '86', '0.30', '262', '0.72', '0.10', '0.05', '0.04', '0', '', '', '', '', '', '', '', '', '06-36-13', '2016-02-10', 117),
('11.06', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.3', '8.4', '93', '0.31', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '07-18-01', '2016-11-20', 118),
('12.98', '', '', '', '', '4.2', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '07-18-01', '2017-08-09', 119),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '5.2', '99', '0.31', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '', '', '07-18-01', '2017-11-20', 120),
('8.04', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.3', '6.4', '99', '0.31', '262', '0.83', '0.10', '0.05', '0.05', '0.00', '', '', '', '', '', '', '07-36-23', '2015-12-31', 121),
('12.98', '', '', '', '', '3.8', '135.00', '', '', '', '', '', '', '', '3.3', '8.4', '99', '0.31', '262', '0.83', '0.10', '0.04', '0.05', '0.00', '', '', '', '', '', '', '07-36-23', '2016-06-15', 122),
('8.04', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '3.4', '5.2', '99', '0.33', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '10-12-56', '2016-02-11', 123),
('8.04', '', '', '', '', '3.8', '137.00', '', '', '', '', '', '', '', '3.4', '5.2', '93', '0.33', '140', '0.68', '0.10', '0.05', '0.04', '0', '', '', '', '', '', '', '10-12-56', '2017-12-12', 124),
('8.04', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.3', '8.4', '99', '0.31', '262', '0.83', '0.23', '0.05', '0.05', '0.00', '', '', '', '', '', '', '10-25-17', '2013-03-13', 125),
('12.98', '', '', '', '', '3.8', '135.00', '', '', '', '', '', '', '', '3.4', '5.2', '99', '0.31', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '10-25-17', '2014-04-14', 126),
('12.98', '', '', '', '', '4.0', '137.00', '', '', '', '', '', '', '', '3.3', '6.4', '99', '0.33', '140', '0.83', '0.23', '0.04', '', '0', '', '', '', '', '', '', '10-25-17', '2012-02-12', 127),
('12.98', '', '', '', '', '4.2', '135.00', '', '', '', '', '', '', '', '3.4', '6.0', '86', '0.30', '262', '0.83', '0.10', '0.05', '0.04', '0.00', '', '', '', '', '', '', '10-35-56', '2013-06-17', 128),
('11.06', '', '', '', '', '3.8', '139.60', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '10-35-56', '2014-03-17', 129),
('', '', '', '', '', '', '', '', '', '', '', '', '3.1', '6.4', '93', '0.31', '140', '0.83', '0.10', '0.05', '0.04', '0', '', '', '', '', '', '', '', '', '10-35-56', '2016-05-17', 130),
('11.06', '', '', '', '', '4.6', '139.60', '', '', '', '', '', '', '', '3.0', '6.4', '99', '0.33', '262', '0.83', '0.10', '0.05', '0.04', '0.00', '', '', '', '', '', '', '11-07-17', '2015-08-24', 131),
('12.98', '', '', '', '', '3.8', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '11-07-17', '0000-00-00', 132),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '8.4', '93', '0.33', '140', '0.83', '0.10', '0.04', '0.05', '0.00', '', '', '', '', '', '', '', '', '11-07-17', '2017-12-20', 133),
('11.06', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '11-26-17', '2017-10-12', 134),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '8.4', '99', '0.33', '140', '0.83', '0.23', '0.04', '0.04', '0.00', '', '', '', '', '', '', '', '', '11-26-17', '2016-10-12', 135),
('11.06', '', '', '', '', '4.0', '135.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '11-37-17', '2014-02-22', 136),
('', '', '', '', '', '', '', '', '', '', '', '', '2.9', '7.8', '99', '0.33', '140', '0.67', '0.28', '0.01', '0.08', '0.00', '', '', '', '', '', '', '', '', '11-37-17', '2017-03-12', 137),
('12.98', '', '', '', '', '4.2', '137.00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '12-12-12', '2016-04-12', 138),
('', '', '', '', '', '', '', '', '', '', '', '', '3.4', '5.2', '3.4', '8.4', '99', '0.31', '140', '0.68', '0.10', '0.04', '0.04', '0.00', '', '', '', '', '', '', '12-12-12', '2016-12-12', 139),
('11.06', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '2.5', '8.4', '93', '0.31', '140', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '12-12-12', '2016-05-15', 140),
('11.06', '', '', '', '', '4.2', '137.00', '', '', '', '', '', '', '', '3.4', '8.4', '99', '0.31', '140', '0.68', '0.10', '0.04', '0.04', '0.00', '', '', '', '', '', '', '12-35-11', '2016-12-12', 141),
('8.04', '', '', '', '', '4.6', '141.60', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '12-35-11', '2015-11-11', 142),
('', '', '', '', '', '', '', '', '', '', '', '', '3.4', '8.4', '86', '0.31', '262', '0.68', '0.23', '0.04', '0.05', '0.00', '', '', '', '', '', '', '', '', '12-35-11', '2016-11-11', 143),
('11.06', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.4', '8.4', '93', '0.33', '262', '0.83', '0.10', '0.05', '0.04', '0', '', '', '', '', '', '', '13-18-17', '2015-12-06', 144),
('8.04', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.3', '5.2', '99', '0.31', '140', '0.83', '0.23', '0.05', '0.05', '0.00', '', '', '', '', '', '', '13-38-01', '2015-02-11', 145),
('8.04', '', '', '', '', '4.6', '137.00', '', '', '', '', '', '', '', '3.3', '5.2', '99', '0.31', '140', '0.83', '0.23', '0.05', '0.05', '0.00', '', '', '', '', '', '', '13-38-01', '2016-03-10', 146),
('43', '43', '24', '43', '54', '3.70', '545', '43', '43', '67.18', '43', '43', '43', '43', '2.3', '8.4', '64', '0.20', 'adequate', '0.69', '', '0.11', '0.04', '0.01', '', '', '', '', '', '', '22-34-76', '2017-02-02', 147),
('10.2', '116.01', '4545', '6.32', '2.47', '3.70', '134.9', '193.05', '152.21', '88.03', '136.68', '123.64', '43', '8.72', '2.3', '8.4', '65', '0.20', 'adequate', '0.61', '0.21', '0.05', '0.12', '0.02', '7', '2.34', '31.0', '12.43', '12.1', '3.57', '12-23-45', '2018-03-02', 148),
('10.2', '116.01', '', '6.32', '', '3.70', '', '193.05', '', '88.03', '136.68', '123.64', '43', '8.72', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '12-23-45', '2018-03-03', 149);
-- --------------------------------------------------------
--
-- Table structure for table `laboratory_info`
--
CREATE TABLE `laboratory_info` (
`hiv` varchar(10) NOT NULL,
`hcv` varchar(10) NOT NULL,
`rm` varchar(10) NOT NULL,
`hbag` varchar(10) NOT NULL,
`bloodtype` varchar(10) NOT NULL,
`antihbv` varchar(10) NOT NULL,
`rhfactor` varchar(10) NOT NULL,
`labinfo_id` int(11) NOT NULL,
`Hospital_id` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `laboratory_info`
--
INSERT INTO `laboratory_info` (`hiv`, `hcv`, `rm`, `hbag`, `bloodtype`, `antihbv`, `rhfactor`, `labinfo_id`, `Hospital_id`) VALUES
('a', 'a', 'a', 'a', 'type b', 'b', 'a', 1, '01-26-22'),
('NR', 'NR', '', 'NR', 'O', 'NR', '', 2, '11-37-17'),
('NR', 'NR', '', 'NR', 'O', 'NR', '', 3, '12-35-11'),
('NR', 'NR', '', 'NR', '', 'NR', '', 4, '13-38-01');
-- --------------------------------------------------------
--
-- Table structure for table `laboratory_others`
--
CREATE TABLE `laboratory_others` (
`labothers_id` int(11) NOT NULL,
`description` text NOT NULL,
`value` varchar(10) NOT NULL,
`labothers_date` date NOT NULL,
`Hospital_Id` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `laboratory_others`
--
INSERT INTO `laboratory_others` (`labothers_id`, `description`, `value`, `labothers_date`, `Hospital_Id`) VALUES
(1, 's', 's', '2018-02-05', 'sad'),
(2, 'desc', 's', '2018-02-05', '86-89-17'),
(3, 'red blood ', '24', '2018-02-21', '01-26-22'),
(4, 'as', 'as', '2018-02-07', '01-26-22'),
(5, 'sample_two', '2', '2018-02-12', '01-26-22'),
(6, 'aa', 'bb', '2018-02-14', '23-22-02'),
(7, 'sample_two', '2', '2018-02-12', '23-22-02'),
(8, '1', '1', '2018-02-28', '23-22-02'),
(9, 'a', '1', '2018-02-15', '23-22-02'),
(10, '1zzzz', 'a', '2018-02-27', '23-22-02'),
(11, 'sample_two', '2', '2018-02-12', '05-29-07'),
(12, 'sample_two1', '22', '2018-02-12', '05-29-07'),
(13, 'desc', '2', '2018-01-27', '86-89-17'),
(14, 'sample other', '101112', '2018-02-28', '12-12-12');
-- --------------------------------------------------------
--
-- Table structure for table `machineresult`
--
CREATE TABLE `machineresult` (
`m_bloodpressure` varchar(10) NOT NULL,
`m_cardiacrate` varchar(10) NOT NULL,
`m_bloodflowrate` varchar(10) NOT NULL,
`m_transmempressure` varchar(10) NOT NULL,
`m_venpressure` varchar(10) NOT NULL,
`machineresult_id` int(10) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`m_date` date NOT NULL,
`m_time` varchar(12) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `machineresult`
--
INSERT INTO `machineresult` (`m_bloodpressure`, `m_cardiacrate`, `m_bloodflowrate`, `m_transmempressure`, `m_venpressure`, `machineresult_id`, `Hospital_Id`, `m_date`, `m_time`) VALUES
('164/91', '72', '250', '80', '180', 1, '86-89-17', '2017-06-26', '7:25 AM'),
('165/88', '78', '300', '80', '200', 2, '86-89-17', '2017-06-26', '8:45 AM'),
('172/86', '75', '300', '80', '200', 3, '86-89-17', '2017-06-26', '9:45 AM'),
('165/95', '78', '300', '80', '200', 4, '86-89-17', '2017-06-26', '10:20 AM'),
('170/83', '70', '300', '80', '200', 5, '86-89-17', '2017-06-26', '11:15 AM'),
('160/80', '', '', '', '', 6, '86-89-17', '2017-06-26', '11:25 AM'),
('160/80', '', '', '', '', 7, '86-89-17', '2017-06-26', '11:55 AM'),
('152/88', '70', '250', '36.3', '200', 8, '86-89-17', '2017-07-03', '7:12 AM'),
('175/90', '78', '250', '80', '200', 9, '86-89-17', '2017-07-03', '7:45 AM'),
('174/90', '78', '250', '80', '200', 10, '86-89-17', '2017-07-03', '8:05 PM'),
('174/93', '78', '250', '80', '200', 11, '86-89-17', '2017-07-03', '9:05 PM'),
('160/80', '80', '300', '80', '240', 12, '86-89-17', '2017-07-03', '10:25 PM'),
('180/90', '', '', '', '', 13, '86-89-17', '2017-07-03', '11:15 PM'),
('160/90', '', '', '', '', 14, '86-89-17', '2017-07-03', '11:31 PM'),
('151/83', '55', '250', '120', '180', 15, '86-89-17', '2017-10-07', '7:00 AM'),
('180/88', '77', '300', '120', '220', 16, '86-89-17', '2017-10-07', '8:00 PM'),
('150/80', '80', '300', '140', '200', 17, '86-89-17', '2017-10-07', '8:42 PM'),
('162/90', '71', '300', '140', '200', 18, '86-89-17', '2017-10-07', '9:30 AM'),
('171/90', '80', '300', '100', '200', 19, '86-89-17', '2017-10-07', '10:05 AM'),
('171/90', '80', '300', '100', '200', 20, '86-89-17', '2017-10-07', '11:05'),
('160/90', '', '', '', '', 21, '86-89-17', '2017-10-07', '11:05'),
('162/90', '67', '250', '120', '180', 22, '86-89-17', '2017-07-17', '6.5'),
('169/85', '68', '350', '120', '240', 23, '86-89-17', '2017-07-17', '7:45'),
('173/88', '65', '300', '120', '240', 24, '86-89-17', '2017-07-17', '820'),
('186/91', '70', '300', '120', '240', 25, '86-89-17', '2017-07-17', '8:43'),
('173/91', '72', '300', '120', '220', 26, '86-89-17', '2017-07-17', '9:15'),
('186/85', '70', '300', '120', '220', 27, '86-89-17', '2017-07-17', '10:00'),
('160/80', '70', '300', '120', '200', 28, '86-89-17', '2017-07-17', '10:20'),
('154/80', '', '', '', '', 29, '86-89-17', '2017-07-17', '11:10'),
('150/80', '', '', '', '', 30, '86-89-17', '2017-07-17', '11:25'),
('156/86', '66', '250', '100', '160', 31, '86-89-17', '2017-07-24', '7:15'),
('156/83', '67', '300', '140', '200', 32, '86-89-17', '2017-07-24', '7:50'),
('179/93', '72', '300', '140', '220', 33, '86-89-17', '2017-07-24', '8:05'),
('176/88', '68', '300', '140', '220', 34, '86-89-17', '2017-07-24', '10:30'),
('164/93', '73', '300', '120', '220', 35, '86-89-17', '2017-07-24', '11:10'),
('168/93', '', '', '', '', 36, '86-89-17', '2017-07-24', '11:32'),
('160/90', '', '', '', '', 37, '86-89-17', '2017-07-24', '11:40'),
('153/80', '72', '250', '120', '180', 38, '01-15-33 ', '2017-06-26', '6:45'),
('160/80', '77', '300', '140', '200', 39, '01-15-33', '2017-07-03', '7:45'),
('170/90', '80', '300', '140', '220', 40, '01-15-33', '2017-07-03', '8:30'),
('165/83', '77', '300', '140', '220', 41, '01-15-33', '2017-07-03', '9:00'),
('185/92', '73', '300', '160', '220', 42, '01-15-33', '2017-07-03', '10:00'),
('160/90', '', '', '', '', 43, '01-15-33 ', '2017-07-03', '10:45'),
('160/90', '', '', '', '', 44, '01-15-33 ', '2017-07-03', '11:15'),
('160/90', '73', '300', '160', '220', 45, '86-89-17', '2018-01-22', '5:12 AM'),
('139/69', '75', '220', '42', '52', 46, '01-21-19', '2016-07-31', '10:39 AM'),
('151/180', '75', '200', '44', '60', 47, '01-21-19', '2016-07-31', '10:40 AM'),
('151/181', '75', '200', '44', '60', 48, '01-21-19', '2016-07-31', '11:41 AM'),
('151/182', '75', '200', '44', '60', 49, '01-21-19', '2016-07-31', '11:45 AM'),
('175/90', '75', '200', '44', '60', 50, '01-26-22', '2016-07-31', '8:16 PM'),
('175/91', '75', '200', '44', '60', 51, '01-26-22', '2016-06-26', '1:39 AM'),
('175/92', '75', '200', '44', '60', 52, '01-26-22', '2016-06-26', '9:36 PM'),
('175/93', '75', '200', '44', '60', 53, '01-26-22', '2016-06-26', '9:37 PM'),
('175/94', '75', '200', '44', '60', 54, '01-26-22', '2016-06-26', '9:46 PM'),
('175/95', '75', '200', '44', '60', 55, '03-18-20', '2016-06-26', '2:08 AM'),
('175/96', '75', '200', '44', '60', 56, '03-18-20', '2018-02-12', '2:47 AM'),
('175/97', '75', '200', '44', '60', 57, '03-18-20', '2018-02-12', '2:49 AM'),
('175/98', '75', '200', '44', '60', 58, '03-18-20', '2018-02-12', '3:12 AM'),
('175/99', '75', '200', '44', '60', 59, '03-25-11', '2018-02-12', '3:12 AM'),
('175/100', '75', '200', '44', '60', 60, '03-25-11', '2018-02-12', '3:13 AM'),
('175/101', '75', '200', '44', '60', 61, '03-25-11', '2018-02-12', '3:23 AM'),
('175/102', '75', '200', '44', '60', 62, '03-25-11', '2018-02-14', '3:28 AM'),
('175/103', '75', '200', '44', '60', 63, '03-25-11', '2018-02-14', '3:42 AM'),
('175/104', '75', '200', '44', '60', 64, '03-25-11', '2018-02-14', '5:19 AM'),
('175/105', '75', '200', '44', '60', 65, '03-25-11', '2018-02-14', '1:39 AM'),
('12 / 12', '12', '12', '12', '12', 66, '05-29-07', '2018-02-22', '1:34 am'),
('12 / 12', 'sa', 'sa', 'as', 'as', 67, '05-29-07', '2018-02-22', '2:00 am'),
('198 / 64', '78', '200', '40', '80', 68, '40-89-11', '2017-06-26', '7:10 am'),
('206 / 68', '76', '200', '40', '80', 69, '40-89-11', '2017-06-26', '8:10 am'),
('194 / 60', '76', '220', '40', '80', 70, '40-89-11', '2017-06-26', '8:50 am'),
('216 / 72', '76', '220', '20', '80', 71, '40-89-11', '2017-06-26', '9:45 am'),
('193 / 66', '76', '220', '20', '80', 72, '40-89-11', '2017-06-26', '10:20 am'),
('195 / 71', '-', '-', '-', '-', 73, '40-89-11', '2017-06-26', '11:10 am'),
('150 / 80', '-', '-', '-', '-', 74, '40-89-11', '2017-06-26', '11:30 am'),
('2 / 2', '72', '2', '2', '2', 75, '86-89-17', '2018-02-26', '3:55 am'),
('2 / 2', '2', '2', '2', '2', 76, '12-12-12', '2018-02-28', '4:08 am'),
('2 / 2', '2', '2', '2', '2', 77, '12-12-12', '2018-02-28', '4:08 am'),
('170 / 60', '85', '300', '150', '180', 78, '12-12-12', '2018-02-28', '10:43 am'),
('198 / 64', '78', '200', '40', '80', 79, 'AAA-AAA', '2018-02-28', '11:02 am'),
('206 / 68', '76', '200', '40', '80', 80, 'AAA-AAA', '2018-02-28', '11:03 am'),
('120 / 100', '65', '200', '56', '57', 81, 'AAA-AAA', '2018-02-28', '11:51 am'),
('198 / 64', '78', '200', '40', '80', 82, '12-23-45', '2018-03-02', '3:58 pm');
-- --------------------------------------------------------
--
-- Table structure for table `maintenance`
--
CREATE TABLE `maintenance` (
`employeeid` varchar(7) NOT NULL,
`action` char(6) NOT NULL,
`m_date` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `maintenance`
--
INSERT INTO `maintenance` (`employeeid`, `action`, `m_date`) VALUES
('E0001', 'Export', '2018-03-02 03:05 pm'),
('E0001', 'Import', '2018-03-02 03:05 pm');
-- --------------------------------------------------------
--
-- Table structure for table `nephrologist`
--
CREATE TABLE `nephrologist` (
`nephrologistnum` int(6) NOT NULL,
`nephrologistid` varchar(8) NOT NULL,
`n_lname` char(50) NOT NULL,
`n_fname` char(50) NOT NULL,
`n_mname` char(2) NOT NULL,
`n_telephone` varchar(18) NOT NULL,
`n_mobile` varchar(15) NOT NULL,
`n_address` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `nephrologist`
--
INSERT INTO `nephrologist` (`nephrologistnum`, `nephrologistid`, `n_lname`, `n_fname`, `n_mname`, `n_telephone`, `n_mobile`, `n_address`) VALUES
(1, 'N0001', 'Alayon', 'Ricky', 'A', '444 - 2045', '09173101106', '#20 Celso Tan - Caroll sts, Brgy. Sum-ag, Bacolod City, Negros Occidental'),
(10, 'N00010', 'Paylado', 'Franelin', 'D', '', '', ''),
(11, 'N00011', 'Austria', 'Joseph Peter', 'D', '', '', ''),
(12, 'N00012', 'Togle', 'Brian Antonio', 'D', '', '', ''),
(13, 'N00013', 'Garcia', 'Nina', 'A.', '', '', ''),
(2, 'N0002', 'Pramio', 'Celeste-Jo', 'V', '434 - 2348', '09231429248', '#323, 109 St. Green Plains Subdivision, Bacolod City, Negros Occidental'),
(3, 'N0003', 'Pepingco', 'Jerome', 'A', '', '', 'A'),
(4, 'N0004', 'Tumaneng', 'Leo Manuel', 'A', '', '', 'A'),
(5, 'N0005', 'Antonio', 'Allan', 'D', '', '', 'Victorias'),
(6, 'N0006', 'Pramio', 'Vicente', 'D', '', '', ''),
(7, 'N0007', 'Araneta', 'Maricris', '', '', '', ''),
(8, 'N0008', 'Maravilla', 'Socorro', '', '', '', ''),
(9, 'N0009', 'Tomas', 'Remedios', '', '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `nephrologistschedule`
--
CREATE TABLE `nephrologistschedule` (
`nephroschedule_id` int(5) NOT NULL,
`nephrologistid` varchar(30) NOT NULL,
`monday` int(1) NOT NULL,
`tuesday` int(1) NOT NULL,
`wednesday` int(1) NOT NULL,
`thursday` int(1) NOT NULL,
`friday` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `nephrologistschedule`
--
INSERT INTO `nephrologistschedule` (`nephroschedule_id`, `nephrologistid`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`) VALUES
(6, 'N0001', 1, 0, 1, 1, 0),
(7, 'N00010', 0, 0, 0, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `nephronotesorder`
--
CREATE TABLE `nephronotesorder` (
`nephrologistid` varchar(8) NOT NULL,
`nephro_notes` text NOT NULL,
`nephro_order` text NOT NULL,
`notes_order_date` date NOT NULL,
`notes_order_Id` int(5) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `nephronotesorder`
--
INSERT INTO `nephronotesorder` (`nephrologistid`, `nephro_notes`, `nephro_order`, `notes_order_date`, `notes_order_Id`, `Hospital_Id`) VALUES
('N0001', 'comfortable 160/80', 'UF to DW', '2017-07-03', 1, '86-89-17'),
('N0001', 'Comfortable \r\nclear bs\r\nP edema\r\n', 'UF to BW', '2017-10-07', 2, '86-89-17'),
('N0001', 'Comfortable clear ruls P edema 160/80', 'UF to 3.8 li talat\r\n', '2017-07-17', 3, '86-89-17'),
('N0001', 'comfortable clear ruls, med edema', 'UF to DW', '2017-07-24', 4, '86-89-17'),
('N00010', 'a', 'a', '2017-07-31', 6, '86-89-17'),
('N00010', 'a', 'a', '2018-01-22', 7, '86-89-17'),
('N00010', 'asdasd', 'sadasd', '2018-01-29', 8, '01-26-22'),
('N00010', 'this is a note', 'this is an order', '2018-01-29', 9, '45-45-24'),
('N00010', 'asd', 'asd', '2018-02-11', 10, 'A'),
('N00010', 'asd', 'asd', '2018-02-26', 11, '86-89-17'),
('N0002', 'test`', 'test1', '2018-02-28', 12, '12-12-12'),
('N0002', 'sample...lllll', 'sample', '2018-02-28', 13, 'AAA-AAA'),
('N0001', 'This is a note, additional comment', 'This is a note', '2018-03-02', 14, '12-23-45');
-- --------------------------------------------------------
--
-- Table structure for table `nursenotes`
--
CREATE TABLE `nursenotes` (
`focus` text NOT NULL,
`data` text NOT NULL,
`action` text NOT NULL,
`resolution` text NOT NULL,
`employeeid` varchar(8) NOT NULL,
`nurse_notes_date` date NOT NULL,
`nurse_notes_id` int(5) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `nursenotes`
--
INSERT INTO `nursenotes` (`focus`, `data`, `action`, `resolution`, `employeeid`, `nurse_notes_date`, `nurse_notes_id`, `Hospital_Id`) VALUES
('For hemodialysis', 'Recieved ambulatory concious and coherent', 'Recieved Ambulatory, consent signed, Avf site', 'Uf goal recieved, Hd assessment done. Post HD weight and vital signs checked. eposino 6000 iu given @ at R abdominal well', 'E0001', '2017-06-26', 1, '86-89-17'),
('For Hemodialysis', 'Recieved ambulatory concious and coherent', 'Consent for HD signed 4vf site dressed aseptically, Uf goal set to 3,000ml connulation', 'Uf goal reacted, HD treatment ended and terminated past HD assessment done, epueno 6,000 is given at abdominal wall', 'E0001', '2017-07-03', 2, '86-89-17'),
('Health teaching in diet', '', 'advised to strictly limit oral fluid in less than 1 liter per day', 'able to comprehend', 'E0001', '2017-07-03', 3, '86-89-17'),
('elevated blood pressure', 'BP 190/95', 'Due meds given', 'BP 160/90\r\n', 'E0001', '2017-07-03', 4, '86-89-17'),
('For Hemodialysis', 'Came in ambulatory; concious and coherent; ready for hemodialysis', 'Pre HD assessment done, HD consent signed; mode comfortable on bedchair.', '11:00 AM HD ended & terminated', 'E0001', '2017-10-07', 5, '86-89-17'),
('Health Teaching', '', 'Instructed to limit fluid intake to 800 ml/day\r\n-kept monitored', 'Able to Comprehend\r\n-Epokine 4000 IU injected subcotaneously @the R abdominal wall\r\n-Post HD weight taken and recorded. 11:25PM Discharged ambulatory; in fair\r\n', 'E0001', '2017-10-07', 6, '86-89-17'),
('aaaaaaa', 'aaaa', 'aaaa', 'aaaaa', 'E0001', '0000-00-00', 7, '05-29-07'),
('For Hemodialysis', 'Recieved ambulatory consumes and coherent', 'Pre Hemodialysis assessment done, consent signed,', '11:05 UF goal reached, HD ended and terminated, Post HD assessment done, Eporis 4000 ml given at (P) Abdominal wall.', 'E0003', '2017-07-17', 8, '86-89-17'),
('Health teaching on diet', '', 'Advised to shortly limit oral fluid intake, to less than 1 liter per day', '11:25 Discharged ambulatory in fair condition accompanied by folks\r\n', 'E0003', '2017-07-17', 9, '86-89-17'),
('for hemodialysis', 'patient came in ambulatory and ready for HD', 'pre HD in, recorded UF goal set to 3800', 'UF goal recorded, HD ended', 'E0008', '2017-07-24', 10, '86-89-17'),
('Health teach', '', 'instructed on proper one of AUF al to in OF to 800ml/day', 'able to complete', 'E0008', '2017-07-24', 11, '86-89-17'),
('For Hemodialysis', 'Recieved ambulatory concious and consent', 'consent for Hemodialysis signs, C AUF site dressed aseptically, UF goal set to 3,400 ml ', '10:45 UF goal reached, HD ended and terminated, post HD weight and vital signs checked Eposino 6,000 ml given at R abdominal wall\r\n', 'E0003', '2017-07-31', 12, '86-89-17'),
('Health teaching an diet', '', 'Advised to strictly limit oral fluid intake to less than 1 liter per day', 'Able to comprehend\r\n', 'E0003', '2017-07-31', 13, '86-89-17'),
('a', 'a', 'a', 'a', 'E0001', '2018-01-22', 14, '86-89-17'),
('for hemodialysis', 'came in ambulatory ', 'pre HD consent signed ', '12:30pm HD ended', 'E0001', '2018-01-22', 15, '45-45-24'),
('sda', 'sdas', 'dasda', 'dasdas', 'E0001', '2018-01-29', 16, '01-26-22'),
('for hemodialysis', 'bp 170/40', 'give medicine', 'bp normal', 'E0001', '2018-01-29', 17, '45-45-24'),
('as', 'dasd', 'asd', 'asd', 'E0001', '2018-02-11', 18, 'A'),
('as', 'sa', 'sa', 'sa', 'E0001', '2018-02-12', 19, '86-89-17'),
('for hemodialysis', 'came in per wheelchair; conscious and coherent; ready for HD', 'pre HD assessment done; HD consent signed; made comfortable on bed chair;\r\nL AVF site cleansed & dressed aseptically;\r\n7:10 am HD started; UF goal set to 2 liters;\r\nTVSS flushing 50cc given IV bolus for 15 mins until end of HD', '11:10 am HD ended and terminated', 'E0001', '2017-06-26', 21, '40-89-11'),
('Health teaching', '', 'Instructed to limit fluid intake to 800ml/day', 'able to comprehend;\r\nEposino 6000 IV injected subcutaneously @ the abdominal wall;\r\nPast HD weight taken and recorded\r\n12pm discharged ambulatory; in fair condition', 'E0001', '2017-06-26', 22, '40-89-11'),
('test', 'test1', 'test2', 'test3', 'E0001', '2018-02-28', 23, '12-12-12'),
('test4', 'test5', 'test6', 'test7', 'E0001', '2018-02-28', 24, '12-12-12'),
('for hemodialysis', 'came in per wheelchair', 'pre hd assesment', '11:00 am finished hemo\r\n', 'E0001', '2018-02-28', 25, 'AAA-AAA'),
('test', 'test', 'test', 'solved', 'E0001', '2018-02-28', 26, 'AAA-AAA'),
('health teaching', 'yyyyy', 'ccccc', '', 'E0001', '2018-02-28', 27, 'AAA-AAA'),
('For Hemodialysis', 'Came in per wheelchair', 'pre HD assessment done', '11:10 am HD ended and terminated', 'E00013', '2018-03-02', 28, '12-23-45'),
('health teaching', '', '', '', 'E00013', '2018-03-02', 29, '12-23-45');
-- --------------------------------------------------------
--
-- Table structure for table `patientdrugprofile`
--
CREATE TABLE `patientdrugprofile` (
`drug_strength` varchar(30) NOT NULL,
`dosage` varchar(15) NOT NULL,
`frequency` varchar(20) NOT NULL,
`ROA` varchar(20) NOT NULL,
`dateordered` date NOT NULL,
`PRN` int(1) NOT NULL,
`remarks` varchar(50) NOT NULL,
`nephrologistid` varchar(30) NOT NULL,
`drugprofile_id` int(11) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`drugprofile_date` char(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `patientdrugprofile`
--
INSERT INTO `patientdrugprofile` (`drug_strength`, `dosage`, `frequency`, `ROA`, `dateordered`, `PRN`, `remarks`, `nephrologistid`, `drugprofile_id`, `Hospital_Id`, `drugprofile_date`) VALUES
(' s', 's', 's', 's', '2018-02-09', 0, 's', 'N00011', 9, '01-26-22', '2018, February'),
(' s', 's', 's', 's', '2018-02-09', 0, 's', 'N0002', 10, '01-26-22', '2018, February'),
(' a', 'a', 'a', 'a', '2018-01-12', 0, 'a', 'N00010', 11, '01-26-22', '2018, January'),
(' 12', '45', '3 times a day', 'oral', '2017-01-31', 0, 'ksfkeer', 'N0005', 12, '01-26-22', '2017, January'),
(' 3434', '434', '434', 'oral', '2018-01-09', 0, '343434', 'N0001', 13, '01-26-22', '2018, January'),
('Fennous sulfate', '1 tab', 'TID', 'P.O.', '2018-02-07', 0, '', '', 18, '45-42-23', '2018, February'),
(' Calcium carbonate', '1 tab', 'TID', 'P.O.', '2018-02-07', 0, '', '', 19, '45-42-23', '2018, February'),
('Sodium bicarbonate', '1 tab', 'TID', 'P.O.', '2018-02-07', 0, '', '', 20, '45-42-23', ''),
('amlodipine 10mg', '1 tab', 'OD', 'P.O.', '2018-02-07', 0, '', '', 22, '45-42-23', ''),
('losartan 50mg', '1 tab', 'OD', 'P.O.', '2018-02-07', 0, '', '', 23, '45-42-23', ''),
('Epa alfa 4000iu', '1 PFS', '2x/week', 'SC', '2018-02-07', 0, '', '', 24, '45-42-23', ''),
('Felodipine 5mg', '1 tab', 'O.D.', 'P.O.', '2016-04-20', 0, '', '', 27, '33-42-13', '2016, April'),
('Fero 8', '1 capsule', 'B.I.D.', 'P.O.', '2016-04-20', 0, '', '', 28, '33-42-13', '2016, April'),
('NaHCoO3', '1 tab', 'B.I.D.', 'P.O.', '2016-04-20', 0, '', '', 29, '33-42-13', '2016, April'),
('CaCO3', '1 tab', 'B.I.D.', 'P.O.', '2016-04-20', 0, '', '', 30, '33-42-13', '2016, April'),
('Tragenta 5mg', '1 tab', 'ODAC', 'P.O.', '2016-04-20', 0, '', '', 31, '33-42-13', '2016, April'),
('Epo Alfa (renogen)', '4000 in', '3x/week', 'SQ', '2016-04-20', 0, '', '', 32, '33-42-13', '2016, April'),
('Felodipine 5mg', '1 tab', 'OD', 'P.O.', '2017-01-04', 0, '', '', 33, '33-42-13', '2017, January'),
('Fero B', '1 capsule', 'B.I.O.', 'P.O.', '2017-01-04', 0, '', '', 34, '33-42-13', '2017, January'),
('Epo Alfa (renogen)', '4000 iu', '2x/week alternate 1x', 'SQ', '2017-01-04', 0, '', '', 35, '33-42-13', '2017, January'),
('Felodipine 5mg', '1 tab', 'OD', '', '2018-01-03', 0, '', '', 36, '33-42-13', '2018, January'),
('Fero B', '1 capsule', 'OD', '', '2018-01-03', 0, '', '', 37, '33-42-13', '2018, January'),
('calcium carbonate', '1 cap', 'ODHS', '', '2018-01-03', 0, '', '', 38, '33-42-13', '2018, January'),
('EPO alfa ', '4000 iu', '2x/week', '', '2018-01-03', 0, '', '', 39, '33-42-13', '2018, January'),
('clonidine 150mg', '1 tab', 'PRN', '', '2018-01-03', 0, '', '', 40, '33-42-13', '2018, January'),
(' sad', '12', 'asd', '12', '2018-02-26', 0, 'sad', 'N0002', 41, '13-38-01', '2018, February'),
(' a', 'a', 'a', 'a', '2018-02-27', 0, 'a', 'N0001', 42, '01-26-22', '2018, February'),
(' a', 'a', 'a', 'a', '2018-02-28', 0, 'a', 'N00013', 43, '12-12-12', '2018, February'),
(' b', 'b', 'b', 'b', '2018-01-17', 0, 'b', 'N0001', 44, '12-12-12', '2018, January'),
(' 1', '1', '1', '1', '2018-02-12', 1, '1', 'N00013', 45, '12-12-12', '2018, February'),
(' 1', '1', '1', '1', '2018-02-06', 1, '1', 'N00010', 46, '12-12-12', '2018, February'),
(' 1.01', '1', '1', '1', '2018-02-19', 1, '1', 'N00010', 47, '12-12-12', '2018, February'),
('test 10.01', '1', '1', '1', '2018-02-19', 1, '1', 'N0001', 48, '12-12-12', '2018, February'),
(' 10.01', '1', '1', '1', '2018-02-19', 1, '1', 'N0001', 49, '12-12-12', '2018, February'),
('test2 10.01', '1', '1', '1', '2018-02-19', 1, '1', 'N0001', 50, '12-12-12', '2018, February'),
('test23 10.01', '1', '1', '1', '2018-02-19', 1, '1', 'N0001', 51, '12-12-12', '2018, February'),
('amlodipine 10mg', '1 tablet', 'od', 'po', '2018-01-02', 0, 'for bp of 170/100', 'N0003', 52, '86-89-17', '2018, January'),
('biogesics 10', '1', '1', 'a', '2018-03-02', 0, '1', 'N00010', 53, '01-26-22', '2018, March'),
('s s', 's', 's', 's', '2018-03-02', 0, '', 'N00010', 54, '01-26-22', '2018, March'),
('Fennous sulfate 50mg', '1 tab', 'TID', 'P.O', '2015-02-10', 0, '', 'N00010', 55, '01-15-33', '2015, February'),
(' Calcium carbonate 10mg', '1 tab', 'TID', 'P.O', '2015-10-20', 0, '', 'N0001', 56, '01-15-33', '2015, October'),
('Sodium bicarbonate 10mg', '1 tab', 'TID', 'P.O', '2016-02-02', 0, '', 'N00011', 57, '01-15-33', '2016, February'),
('amlodipine 10mg', '1 tab', 'TID', 'P.O', '2016-10-05', 0, '', 'N00010', 58, '01-15-33', '2016, October'),
('losartan 50mg', ' 1 tab', 'OD', 'P.O', '2017-10-20', 0, '', 'N00012', 59, '01-15-33', '2017, October'),
('Fennous sulfate 10mg', '1 tab', 'TID', 'P.O', '2015-05-12', 0, '', 'N0002', 60, '01-21-19', '2015, May'),
(' Calcium carbonate 500mg', '1 tab', 'TID', 'P.O', '2015-02-10', 0, '', 'N00012', 61, '01-21-19', '2015, February'),
('amlodipine 10mg', '1 tab', 'TID', 'P.O', '2016-10-25', 0, '', 'N00012', 62, '01-21-19', '2016, October'),
('Fennous sulfate 500mg', '1 tab', 'OD', 'P.O', '2016-02-10', 0, '', 'N0002', 63, '02-07-15', '2016, February'),
(' Calcium carbonate 500mg', '1 tab', 'OD', 'P.O', '2016-10-20', 0, '', 'N00011', 64, '02-07-15', '2016, October'),
(' Calcium carbonate 500mg', 'SC', 'OD', 'P.O.', '2016-04-12', 0, '', 'N0004', 65, '03-01-15', '2016, April'),
('Fennous sulfate 500mg', 'SC', 'OD', 'P.O.', '2016-02-11', 0, '', 'N00012', 66, '03-01-15', '2016, February'),
('Fennous sulfate 10mg', '1 tab', 'TID', 'P.O', '2015-02-15', 1, '', 'N0003', 67, '03-18-20', '2015, February'),
(' Calcium carbonate 10mg', '1 tab', 'TID', 'P.O', '2016-02-10', 0, '', 'N00013', 68, '04-17-26', '2016, February'),
(' Calcium carbonate 500mg', 'SC', 'TID', 'P.O.', '2016-02-15', 0, '', 'N00010', 69, '04-17-26', '2016, February'),
('Fennous sulfate 50mg', '1 tab', 'TID', 'P.O', '2016-02-25', 0, '', 'N00010', 70, '04-17-26', '2016, February'),
('Fennous sulfate 10mg', '1 tab', 'TID', 'P.O', '2017-11-22', 0, '', 'N00011', 71, '04-15-08', '2017, November'),
('Fennous sulfate 10mg', '1 tab', 'TID', 'P.O', '2017-11-22', 0, '', 'N00011', 72, '04-15-08', '2017, November'),
('Fennous sulfate 10mg', '1 tab', 'OD', 'P.O.', '2015-03-12', 0, '', 'N00011', 73, '09-18-46', '2015, March'),
('amlodipine 10mg', '1 tab', 'TID', 'P.O', '2015-05-15', 0, '', 'N00010', 74, '09-18-46', '2015, May'),
(' Calcium carbonate 500mg', 'SC', 'TID', 'P.O', '2014-07-08', 0, '', 'N00010', 75, '09-21-35', '2014, July'),
('Fennous sulfate 500mg', '1 tab', 'TID', 'P.O', '2016-05-25', 0, '', 'N00010', 76, '09-21-35', '2016, May'),
('amlodipine 650mg', 'SC', 'TID', 'P.O', '2015-10-12', 0, '', 'N00010', 77, '08-19-35', '2015, October'),
('Fennous sulfate 10mg', '1 tab', 'TID', 'P.O', '2016-02-12', 0, '', 'N00011', 78, '08-19-35', '2016, February'),
('Fennous sulfate 500mg', 'SC', 'OD', 'P.O', '2015-12-22', 0, '', 'N00010', 79, '03-25-11', '2015, December'),
(' Calcium carbonate 500mg', '1 tab', 'OD', 'P.O', '2017-10-29', 0, '', 'N00011', 80, '03-25-11', '2017, October'),
('Fennous sulfate 500mg', '1 tab', 'TID', 'P.O', '2016-09-23', 0, '', 'N00010', 81, '05-19-21', '2016, September'),
(' Calcium carbonate 10mg', '1 tab', 'OD', 'P.O', '2016-10-27', 0, '', 'N00012', 82, '05-19-21', '2016, October'),
(' Calcium carbonate 500mg', '1 tab', 'OD', 'P.O', '2016-10-27', 0, '', 'N00010', 83, '05-29-07', '2016, October'),
(' Calcium carbonate 500mg', 'SC', 'OD', 'P.O', '2016-10-27', 0, '', 'N00010', 84, '05-29-07', '2016, October'),
(' Calcium carbonate 10mg', '1 tab', 'TID', 'P.O', '2016-10-22', 0, '', 'N00010', 85, '06-08-23', '2016, October'),
('Fennous sulfate 10mg', '1 tab', 'TID', 'P.O.', '2017-10-24', 0, '', 'N00011', 86, '06-08-23', '2017, October'),
(' Calcium carbonate 500mg', '1 tab', 'TID', 'P.O', '2016-11-23', 0, '', 'N0001', 87, '06-15-11', '2016, November'),
(' Calcium carbonate 10mg', 'SC', 'TID', 'P.O', '2016-11-29', 0, '', 'N0001', 88, '06-36-13', '2016, November'),
(' Calcium carbonate 10mg', '1 tab', 'TID', 'P.O', '2016-10-26', 0, '', 'N0003', 89, '06-36-13', '2016, October'),
('Fennous sulfate 500mg', '1 tab', 'TID', 'P.O', '2016-10-17', 0, '', 'N00010', 90, '07-18-01', '2016, October'),
('Fennous sulfate 500mg', 'SC', 'OD', 'P.O.', '2015-10-25', 0, '', 'N00013', 91, '07-18-01', '2015, October'),
('amlodipine 500mg', 'SC', 'OD', 'P.O.', '2016-10-23', 0, '', 'N00012', 92, '07-36-23', '2016, October'),
(' Calcium carbonate 500mg', '1 tab', 'TID', 'P.O', '2016-11-29', 0, '', 'N00012', 93, '07-36-23', '2016, November'),
(' Calcium carbonate 10mg', '1 tab', 'TID', 'P.O', '2016-01-12', 0, '', 'N00011', 94, '10-12-56', '2016, January'),
('Fennous sulfate 10mg', 'SC', 'OD', 'P.O', '2015-11-11', 0, '', 'N00012', 95, '10-12-56', '2015, November'),
('amlodipine 500mg', 'SC', 'OD', 'P.O', '2012-12-12', 0, '', 'N00012', 96, '10-25-17', '2012, December'),
('Fennous sulfate 500mg', 'SC', 'TID', 'P.O', '2014-02-12', 0, '', 'N00011', 97, '10-25-17', '2014, February'),
('Fennous sulfate 500mg', '1 tab', 'TID', 'P.O', '2016-01-17', 0, '', 'N00012', 98, '10-25-17', '2016, January'),
(' Calcium carbonate 500mg', '1 tab', 'OD', 'P.O', '2010-10-10', 0, '', 'N0002', 99, '10-25-17', '2010, October'),
('amlodipine 10mg', '1 tab', 'TID', 'P.O', '2016-06-06', 0, '', 'N0005', 100, '10-25-17', '2016, June'),
(' Calcium carbonate 500mg', 'SC', 'TID', 'P.O', '2016-11-22', 0, '', 'N00010', 101, '10-35-56', '2016, November'),
('Fennous sulfate 10mg', 'SC', 'OD', 'P.O.', '2017-12-26', 0, '', 'N0001', 102, '11-07-17', '2017, December'),
(' Calcium carbonate 10mg', 'SC', 'OD', 'P.O', '2016-10-25', 0, '', 'N00011', 103, '11-07-17', '2016, October'),
('amlodipine 10mg', 'SC', 'OD', 'P.O', '2016-09-23', 0, '', 'N0001', 104, '11-07-17', '2016, September'),
(' Calcium carbonate 500mg', '1 tab', 'TID', 'P.O', '2016-10-21', 0, '', 'N0001', 105, '11-26-17', '2016, October'),
('Fennous sulfate 10mg', 'SC', 'OD', 'P.O', '2016-10-27', 0, '', 'N00011', 106, '11-26-17', '2016, October'),
('Fennous sulfate 10mg', 'SC', 'OD', 'P.O.', '2015-02-12', 0, '', 'N0001', 107, '11-37-17', '2015, February'),
(' Calcium carbonate 500mg', 'SC', 'OD', 'P.O', '2017-10-27', 0, '', 'N00012', 108, '12-12-12', '2017, October'),
('Fennous sulfate 650mg', 'SC', 'OD', 'P.O.', '2016-09-28', 0, '', 'N00013', 109, '12-12-12', '2016, September'),
(' Calcium carbonate 10mg', '1 tab', 'OD', 'P.O.', '2016-09-27', 0, '', 'N00010', 110, '12-35-11', '2016, September'),
('Fennous sulfate 500mg', 'SC', 'OD', 'P.O.', '2016-10-29', 0, '', 'N00011', 111, '12-35-11', '2016, October'),
('amlodipine 10mg', 'SC', 'OD', 'P.O.', '2015-09-28', 0, '', 'N00013', 112, '12-35-11', '2015, September'),
('biogesic 5mg', '1 tab', '3 times a day', 'oral', '2018-03-02', 1, '', 'N00012', 113, '22-34-76', '2018, March'),
('biogesic 5mg', '1 tab', '3 times a day', 'oral', '2018-03-02', 1, '', 'N00012', 114, '12-23-45', '2018, March');
-- --------------------------------------------------------
--
-- Table structure for table `patientprofile`
--
CREATE TABLE `patientprofile` (
`Hospital_Id` varchar(50) NOT NULL,
`P_Lname` char(50) NOT NULL,
`P_Fname` char(50) NOT NULL,
`P_Mname` char(50) NOT NULL,
`P_BirthDate` date NOT NULL,
`P_Age` int(5) NOT NULL,
`P_Sex` char(11) NOT NULL,
`P_Nationality` char(11) NOT NULL,
`P_Religion` char(25) NOT NULL,
`P_CivilStatus` char(11) NOT NULL,
`P_PermanentAdd` varchar(150) NOT NULL,
`P_ConNum1` varchar(18) NOT NULL,
`P_PresentAdd` varchar(150) NOT NULL,
`P_ConNum2` varchar(18) NOT NULL,
`P_Relative` char(50) NOT NULL,
`P_RelativeAdd` varchar(150) NOT NULL,
`P_RelativeConNum` varchar(18) NOT NULL,
`P_AgeFD` int(5) NOT NULL,
`P_Erythropoetin` varchar(50) NOT NULL,
`P_Diagnosis` varchar(100) NOT NULL,
`P_PhilHealthNum` varchar(50) NOT NULL,
`P_DFBName` char(50) NOT NULL,
`P_DFBRelation` char(50) NOT NULL,
`P_InDial` date NOT NULL,
`dialysistype` int(1) NOT NULL,
`nephrologistid` varchar(8) NOT NULL,
`P_Status` int(1) NOT NULL,
`P_Date` varchar(10) NOT NULL,
`P_Month` varchar(10) NOT NULL,
`P_Year` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `patientprofile`
--
INSERT INTO `patientprofile` (`Hospital_Id`, `P_Lname`, `P_Fname`, `P_Mname`, `P_BirthDate`, `P_Age`, `P_Sex`, `P_Nationality`, `P_Religion`, `P_CivilStatus`, `P_PermanentAdd`, `P_ConNum1`, `P_PresentAdd`, `P_ConNum2`, `P_Relative`, `P_RelativeAdd`, `P_RelativeConNum`, `P_AgeFD`, `P_Erythropoetin`, `P_Diagnosis`, `P_PhilHealthNum`, `P_DFBName`, `P_DFBRelation`, `P_InDial`, `dialysistype`, `nephrologistid`, `P_Status`, `P_Date`, `P_Month`, `P_Year`) VALUES
('01-15-33', 'Diaz', 'Precious', 'Jaspi', '1945-11-29', 72, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09128338521', 'Bacolod City, Negros Occidental', '09236367547', 'Zyra Diaz', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09078953622', 70, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', '', '1112-2568-8565', 'Precious Diaz', 'Self', '2015-06-15', 0, 'N00010', 0, '2018-02-25', 'Feb', '2018'),
('01-21-19', 'Mana-ay', 'Marc', 'Asin', '1975-06-25', 42, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'La Carlota City, Negros Occidental', '09852685106', 'La Carlota City, Negros Occidental', '09852685106', 'Alec Asin', 'Bacolod City, Negros Occidental', '09075698512', 38, 'Eposino 4,000 iu alternate (once & twice a week)', '', '', 'Marc Mana-ay', 'Self', '2013-10-15', 0, 'N00011', 0, '2018-02-25', 'Feb', '2018'),
('01-26-22', 'Orota', 'Rosario', 'Abanilla', '1933-09-24', 83, 'Female', 'F', 'Dating Daan', 'Widowed', 'Comboy St. Phase II St. Francis Subd. Brgy. 5, Silay City, Negros Occidental', '09064459636', 'Comboy St. Phase II St. Francis Subd. Brgy. 5, Silay City, Negros Occidental', '09064459636', 'Jake Joaquin', 'HDA. Puyas Brgy. IV, Silay City, Negros Occidental', '09126634789', 83, 'Eposino 4,000 iu', 'ESRD Secondary to , Diabetic Nephropathy, Chronic Gromerulonephritis, Hypertensive Nephrosclerosis, ', '1117-5342-4950', 'Dennis Valladarez', 'Guardian', '2017-03-01', 0, 'N0007', 1, '', 'Jan', '2018'),
('02-07-15', 'Montalvo', 'Zyra', 'Grande', '1989-02-01', 29, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Magallon, Moises Padilla, Negros Occidental', '09079536854', 'Magallon, Moises Padilla, Negros Occidental', '09079536854', 'Precious Montalvo', 'Magallon, Moises Padilla, Negros Occidental', '09788568952', 27, 'Epoetin Alpha 4,000 ui 2x/week', '', '2013-3688-8968', 'Zyra Montalvo', 'Sibling', '2015-10-20', 0, 'N00010', 1, '2018-02-25', 'Feb', '2018'),
('03-01-15', 'Velez', 'Keir', 'Montecillo', '1985-11-10', 32, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'La Carlota City, Negros Occidental', '09079856826', 'La Carlota City, Negros Occidental', '09079856826', 'Carla Velez', 'La Carlota, Negros Occidental', '09079856863', 30, 'Epoetin Alpha 6,000 ui 2x/week', 'ESRD Secondary to , Diabetic Nephropathy', '', 'Keir Velez', 'Self', '2015-09-25', 0, 'N0002', 1, '2018-02-25', 'Feb', '2018'),
('03-18-20', 'Rubiato', 'Alessander', 'Legaspi', '1967-12-31', 50, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09128338521', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09168430493', 'Alyana Rubiato', 'Dos Hermanas, Talisay City, Negros Occidental', '09198446769', 46, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', '', '', 'Alessander Rubiato', 'Self', '2013-06-12', 0, 'N00010', 1, '2018-02-25', 'Feb', '2018'),
('03-25-11', 'Britania', 'Michael', 'Dahildahil', '1965-06-12', 50, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09124685215', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09124685215', 'May Anne Gonzaga', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09079682451', 51, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', '', '', 'May Anne Gonzaga', 'Child', '2015-03-01', 0, 'N00012', 0, '2018-02-25', 'Feb', '2018'),
('03-45-15', 'Velez', 'Keir', 'Montecillo', '0000-00-00', 32, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'La Carlota City, Negros Occidental', '9079856826', 'La Carlota City, Negros Occidental', '9079856826', 'Carla Velez', 'La Carlota, Negros Occidental', '9079856863', 30, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Keir Velez', 'Self', '0000-00-00', 0, 'N0002', 1, '25/02/2018', 'Feb', '2018'),
('04-15-08', 'Martir Sr.', 'Edgardo', 'Cordova', '1971-11-22', 46, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '090785684215', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '090785684215', 'Edgardo Martir Jr.', 'Dos Hermanas, Talisay City, Negros Occidental', '091285246841', 42, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Edgardo Martir Jr.', 'Child', '2013-07-05', 0, 'N0002', 1, '2018-02-25', 'Feb', '2018'),
('04-17-26', 'Plaza', 'Christan', 'Dela Pena', '1975-08-27', 42, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09078685692', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09078685692', 'Suzette Plaza', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09186953613', 40, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', '', '', 'Christan Plaza', 'Self', '2016-02-18', 0, 'N00012', 1, '2018-02-25', 'Feb', '2018'),
('05-19-21', 'Lagdamen', 'Vira', 'Resonable', '1968-04-04', 49, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'La Carlota City, Negros Occidental', '09852685106', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09074507590', 'JP Dolocanog', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09198446769', 47, 'Eposino 4,000 iu alternate (once & twice a week)', '', '1136-6986-6532', 'JP Dolocanog', 'Spouse', '2015-12-06', 0, 'N0001', 1, '2018-02-25', 'JAN', '2018'),
('05-29-07', 'Cordova', 'Ronnie Sr.', 'Dusaran', '1959-08-22', 58, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'HDA. Dacudao, Brgy. Guimbala-on, Silay City, Negros Occidental', '09216844881', 'HDA. Dacudao, Brgy. Guimbala-on, Silay City, Negros Occidental', '09216844881', 'Ronely Gerota', 'Panaogao 1, Brgy. 4, Silay City, Negros Occidental', '09074632447', 37, 'Epoetin Alpha 4,000 ui 2x/week', 'ESRD Secondary to , Diabetic Nephropathy', '4000-6000-3707', 'Ma. Nelly Cordova', '', '1997-09-07', 0, 'N00011', 1, '', 'Feb', '2018'),
('06-08-23', 'Ignacio', 'Rafael', 'Mayang', '1955-10-24', 61, 'Male', 'Filipino', 'MCG I', 'Married', 'Rizal St., Brgy. 4, Poblacion, Victorias City, Negros Occidental', '09094652572', 'Rizal St., Brgy. 4, Poblacion, Victorias City, Negros Occidental', '09466773230', 'Francisca Ignacio', 'Rizal St., Brgy. 4, Poblacion, Victorias City, Negros Occidental', '09092673505', 61, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Diabetic Nephropathy', '0802-5420-0615', 'Josephine Ignacio', 'Wife', '2017-03-17', 0, 'N0001', 1, '', 'Dec', '2017'),
('06-15-11', 'Pallarco', 'Miles', 'Vista', '1975-06-25', 42, 'Male', 'Filipino', 'Roman Catholic', 'Divorced', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09236367547', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09236367547', 'Marlyn Tulia', 'Brgy. Concepcion, Talisay City, Negros Occidental', '0918662686', 40, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Miles Pallarco', 'Self', '2015-12-25', 0, 'N0001', 0, '2018-02-25', 'Feb', '2018'),
('06-36-13', 'Ignacio', 'Rafael', 'Mayang', '0000-00-00', 61, 'Male', 'Filipino', 'MCG I', 'Married', 'Rizal St., Brgy. 4, Poblacion, Victorias City, Negros Occidental', '9094652572', 'Rizal St., Brgy. 4, Poblacion, Victorias City, Negros Occidental', '9466773230', 'Francisca Ignacio', 'Rizal St., Brgy. 4, Poblacion, Victorias City, Negros Occidental', '9092673505', 61, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Diabetic Nephropathy', '0802-5420-0615', 'Josephine Ignacio', 'Wife', '0000-00-00', 0, 'N0001', 1, '', 'Dec', '2017'),
('07-18-01', 'Samiilano', 'Joshua', 'Estrella', '1942-06-26', 75, 'Male', 'Filipino', 'Roman Catholic', 'Widowed', 'Blk 5, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09073585215', 'Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09073585215', 'Hannah Samillano', 'Blk 5, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09076284521', 73, 'Epoetin Alpha 4,000 ui 2x/week', '', '1112-2568-8565', 'Hannah Samillano', 'Child', '2015-10-06', 0, 'N0003', 0, '2018-02-25', 'Feb', '2018'),
('07-36-23', 'Labarejos', 'Matt', 'Cacana', '1965-11-11', 52, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09168430493', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '09236367547', 'Alex Entera', 'Dos Hermanas, Talisay City, Negros Occidental', '0918662686', 50, 'Epoetin Alpha 4,000 ui 2x/week', '', '1120-0762-8091', 'Matt Labarejos', 'Sibling', '2015-12-31', 0, 'N0001', 1, '2018-02-25', 'Feb', '2018'),
('08-19-35', 'Licanel', 'Franz', 'Panganiban', '1945-02-15', 73, 'Male', 'Filipino', 'Catholic', 'Single', 'Bago City, Philippines', '09645464604', 'Bago city, Philppines', '09898454552', ' Miriam Panganiban', 'Brgy. Concepcion, Talisay City, Negros Occidental', '0918662686', 70, 'Epoetin Alpha 6,000 ui 2x/week', '', '1120-0762-8091', 'Edgardo Martir Jr.', 'Cousin', '2014-10-30', 0, 'N00012', 0, '2018-02-25', 'Feb', '2018'),
('09-18-46', 'Juarez', 'Kathyryne', 'Muyco', '1989-08-09', 28, 'Female', 'Filipino', 'Roman Catholic', 'Single', 'Bago City, Negros Occidental', '09098685462', 'Bago City, Negros Occidental', '09098685462', 'Kent Juarez', 'Bago City, Negros Occidental', '09089652863', 28, 'Epoetin Alpha 6,000 ui 2x/week', '', '1117-5342-4950', 'Kent Juarez', 'Sibling', '2017-12-20', 0, 'N00010', 1, '2018-02-25', 'Feb', '2018'),
('09-21-35', 'Lacson', 'John Mark', 'Legaspi', '1965-05-25', 52, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09075226835', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09075226835', 'Alexander Legaspi', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09218689521', 47, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'John Mark Lacson', 'Self', '2013-10-09', 0, 'N00012', 0, '2018-02-25', 'Feb', '2018'),
('10-12-56', 'Torres', 'Mark', 'Jandog', '1956-07-20', 61, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Dumaguete City, Negros Occidental', '09071685426', 'Dumaguete City, Negros Occidental', '09168430493', 'James Diaz', 'Dumaguete City, Negros Occidental', '09198446769', 57, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'James Diaz', 'Cousin', '2013-08-16', 0, 'N00011', 1, '2018-02-25', 'Feb', '2018'),
('10-25-17', 'Macabangon', 'John Kenneth', 'Chua', '1945-06-13', 72, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09236367547', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Kenny Macabangon', 'Bacolod City, Negros Occidental', '09078953622', 67, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'John Kenneth Macabayan', 'Self', '2012-04-29', 0, 'N00010', 0, '2018-03-01', 'Mar', '2018'),
('10-35-56', 'Torres', 'Mark', 'Jandog', '0000-00-00', 61, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Dumaguete City, Negros Occidental', '9071685426', 'Dumaguete City, Negros Occidental', '9168430493', 'James Diaz', 'Dumaguete City, Negros Occidental', '9198446769', 57, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'James Diaz', 'Cousin', '0000-00-00', 0, 'N00011', 1, '25/02/2018', 'Feb', '2018'),
('11-07-17', 'Abella', 'Dancel', 'Yu', '1975-02-01', 43, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09168430493', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '', 'Maine Yu', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09078953622', 41, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'Dancel Abella', 'Self', '2015-12-31', 0, 'N00011', 0, '2018-03-01', 'Mar', '2018'),
('11-26-17', 'Geduriagao', 'Decebel', 'Valdeviezo', '1965-06-11', 52, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'La Carlota City, Negros Occidental', '09168430493', 'La Carlota City, Negros Occidental', '09168430493', 'Marie Villasis', 'Bacolod City, Negros Occidental', '09079856231', 49, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Decebel Geduriagao', 'Self', '2014-06-05', 0, 'N00012', 1, '2018-02-25', 'Feb', '2018'),
('11-37-17', 'Abella', 'Dancel', 'Yu', '0000-00-00', 43, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '9168430493', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '', 'Maine Yu', 'Brgy. Concepcion, Talisay City, Negros Occidental', '9078953622', 41, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'Dancel Abella', 'Self', '0000-00-00', 0, 'N00011', 0, '01/03/2018', 'Mar', '2018'),
('12-12-12', 'Lad', 'Merc', 'A', '1997-07-16', 20, 'Male', 'A', 'A', 'Single', 'A', '1', 'A', '1', 'A', 'A', '1', 20, 'A', '', 'A', 'A', 'Guardian', '2018-03-01', 0, 'N00011', 1, '2018-02-28', 'Feb', '2018'),
('12-23-45', 'Betio', 'Carl louie', 'Ganza', '1997-06-18', 20, 'Male', 'Fiilipino', 'Roman Catholic', 'Single', 'Bacolod City', '09129817112', 'Bacolod City', '', 'Mercy Dohinog', 'Bacolod City', '09491132720', 19, 'Renogen 4,000 iu', '', '', 'Menard Gardose', 'Guardian', '2016-06-16', 0, 'N0001', 1, '2018-03-02', 'Mar', '2018'),
('12-35-11', 'Basanes', 'Jackylyn', 'Padilla', '1945-11-11', 72, 'Female', 'Filipino', 'Iglesia ni Cristo', 'Divorced', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '09183773619', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '09236367547', 'Kath Padilla', 'Dos Hermanas, Talisay City, Negros Occidental', '0918662686', 69, 'Eposino 4,000 iu alternate (once & twice a week)', '', '', 'Kath Padilla', 'Sibling', '2014-06-15', 0, 'N00011', 1, '2018-02-25', 'Feb', '2018'),
('13-18-17', 'Baroy', 'Edwin', 'Canindo', '1960-07-19', 57, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'Antilla Subd., Brgy. 4, Silay City, Negros Occidental', '495-4496', 'Antilla Subd., Brgy. 4, Silay City, Negros Occidental', '495-4496', 'Dolores Baloy', 'Antilla Subd., Brgy. 4, Silay City, Negros Occidental', '495-4496', 52, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Neproclerosis', '1102-5157-3190', 'Edwin Baroy', 'Self', '2012-12-27', 0, 'N0009', 1, '', 'Dec', '2017'),
('13-38-01', 'Duyo', 'Cerezille', 'Abella', '1970-05-15', 47, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Purok Acasia, Boulevard, Brgy. Mambulac, Silay City, Negros Occidental', '495-6126', 'Purok Acasia, Boulevard, Brgy. Mambulac, Silay City, Negros Occidental', '09462542671', 'Saturnina Duyo', 'Purok Acasia, Boulevard, Brgy. Mambulac, Silay City, Negros Occidental', '714-5757', 38, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Chronic Glomerulonephritis', '', 'Cerezille Duyo', 'Self', '2008-08-26', 0, 'N00012', 1, '', '', ''),
('13-67-08', 'Baroquillo', 'Jeresa', 'Serato', '1970-01-13', 47, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '09183773619', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '09183773619', 'Marlyn Tulia', 'Dos Hermanas, Talisay City, Negros Occidental', '09198446769', 41, 'Epoetin Alpha 6,000 ui 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Nephrosclerosis', '', 'Jeresa Baroquillo', 'Self', '2011-08-23', 0, 'N0003', 1, '', '', ''),
('14-65-95', 'Nieles', 'Glenn', 'Malayang', '1942-06-05', 75, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09128338521', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Christine Nieles', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09194474423', 73, 'Eposino 4,000 iu alternate (once & twice a week)', '', '', 'Christine Niels', 'Spouse', '2016-02-20', 0, 'N0002', 1, '2018-02-25', 'Feb', '2018'),
('15-16-25', 'Mori', 'John', 'Vincent', '1985-11-25', 32, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'La Carlota City, Negros Occidental', '09168430493', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09183773619', 'Merry Lim', 'Dos Hermanas, Talisay City, Negros Occidental', '09505758070', 30, 'Eposino 4,000 iu alternate (once & twice a week)', '', '', 'John Mori', 'Self', '2015-11-20', 0, 'N0003', 0, '2018-02-25', 'Feb', '2018'),
('15-28-07', 'Mayo', 'Paolo', 'Reyes', '1975-06-15', 42, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09168430493', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09236367547', 'Paulita Mayo', 'Dos Hermanas, Talisay City, Negros Occidental', '0918662686', 41, 'Epoetin Alpha 6,000 ui 2x/week', '', '1126-2536-5632', 'Paulita Mayo', 'Sibling', '2016-12-20', 0, 'N00012', 0, '2018-02-25', 'Feb', '2018'),
('16-35-17', 'Puen', 'Michael', 'Lim', '1986-06-15', 31, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09128338521', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Jay R Casiano', 'Bacolod City, Negros Occidental', '0918662686', 28, 'Epoetin Alpha 6,000 ui 2x/week', '', '1121-2563-5896', 'Michael Puen', 'Self', '2014-12-12', 0, 'N0002', 1, '2018-02-25', 'Feb', '2018'),
('17-46-21', 'Domingo', 'Christopher', 'German', '1965-02-15', 53, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09168430493', 'Lolita Domingo', 'Bacolod City, Negros Occidental', '09505758070', 51, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'Christopher Domingo', 'Self', '2015-06-20', 0, 'N00012', 0, '2018-02-25', 'Feb', '2018'),
('18-23-51', 'Hilado', 'Maui', 'Coleongco', '1965-06-06', 52, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09183773619', 'Myra Hilado', 'Brgy. Concepcion, Talisay City, Negros Occidental', '0918662686', 51, 'Epoetin Alpha 4,000 ui 2x/week', '', '1136-6986-6532', 'Maui Hilado', 'Self', '2016-06-26', 0, 'N0003', 0, '2018-02-25', 'Feb', '2018'),
('18-46-15', 'Garcia', 'Von', 'Realon', '1968-08-08', 49, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09236367547', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09183773619', 'Marie Guanzon', 'Brgy. Concepcion, Talisay City, Negros Occidental', '0918662686', 46, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'Marie Guanzon', 'Cousin', '2015-02-22', 0, 'N00012', 1, '2018-02-25', 'Feb', '2018'),
('19-11-36', 'Ausan', 'Joemar', 'Diongson', '1946-05-12', 71, 'Male', 'Filipino', 'Roman Catholic', 'Widowed', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Macky Ausan', 'Bacolod City, Negros Occidental', '0918662686', 70, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Macky Ausan', 'Child', '2016-06-12', 0, 'N0002', 1, '2018-02-25', 'Feb', '2018'),
('19-45-36', 'Ausan', 'Joemar', 'Diongson', '0000-00-00', 71, 'Male', 'Filipino', 'Roman Catholic', 'Widowed', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '9168430493', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '9168430493', 'Macky Ausan', 'Bacolod City, Negros Occidental', '918662686', 70, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Macky Ausan', 'Child', '0000-00-00', 0, 'N0002', 1, '25/02/2018', 'Feb', '2018'),
('20-12-17', 'Bebit', 'Venacia', 'Mejasco', '1968-08-05', 48, 'Female', 'Filipino', 'Roman Catholic', 'Divorced', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09129417216', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09129417216', 'Rose Mae Hulleza', 'Brgy. Tanza, EB Magalona, Negros Occidental', '0912836737', 46, 'Eposino 4,000 iu twice a week', 'ESRD SEC TO CGN AND HPN NEPHROCLEROSIS', '1120-2668-7147', 'Venancia Bebit', 'Self', '2015-06-22', 0, 'N0006', 1, '', '', ''),
('20-42-17', 'Bebit', 'Venacia', 'Mejasco', '0000-00-00', 48, 'Female', 'Filipino', 'Roman Catholic', 'Divorced', 'Brgy. Tanza, EB Magalona, Negros Occidental', '9129417216', 'Brgy. Tanza, EB Magalona, Negros Occidental', '9129417216', 'Rose Mae Hulleza', 'Brgy. Tanza, EB Magalona, Negros Occidental', '912836737', 46, 'Eposino 4,000 iu twice a week', 'ESRD SEC TO CGN AND HPN NEPHROCLEROSIS', '1120-2668-7147', 'Venancia Bebit', 'Self', '0000-00-00', 0, 'N0006', 1, '', '', ''),
('20-45-17', 'Perez', 'Julian', 'Go', '1946-12-18', 71, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'La Carlota City, Negros Occidental', '09128338521', 'La Carlota City, Negros Occidental', '09168430493', 'Anne Go', 'Bacolod City, Negros Occidental', '09505758070', 68, 'Eposino 4,000 iu alternate (once & twice a week)', '', '113-5698-5632', 'Anne Go', 'Sibling', '2015-01-12', 0, 'N0004', 1, '2018-02-25', 'Feb', '2018'),
('20-80-17', 'Pangue', 'Hubert', 'Castilla', '1946-02-27', 67, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Gov. Alfelon, Poblacion 2, Sagay City', '09213310502', 'Gov. Alfelon, Poblacion 2, Sagay City', '09213310502', 'Anita Zante', 'Patricia Homes Subd., Sta. Fe, Bacolod City', '7098028', 69, 'Eposino 4000 iu (Tuesday); Eposino 6,000 iu (frida', 'ESRD 2 degree to HPN Nephrosclerosis', '111751916309', 'Eleanor Pangue', 'Wife', '2015-02-01', 0, 'N0009', 1, '', '', ''),
('21-26-17', 'Arboleda', 'Ma. Theresa', 'Aldea', '1960-01-12', 57, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Villa Barbas 2, Cadiz City, Negros Occidental', '493-0719', 'Villa Barbas 2, Cadiz City, Negros Occidental', '09326160944', 'Joresa Arboleda', 'Villa Barbas 2, Cadiz City, Negros Occidental', '09232225140', 54, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Nephrosclerosis', '1100-0070-7430', 'Ma. Theresa Arboleda', 'Self', '2014-03-19', 0, 'N00012', 1, '', '', ''),
('21-29-18', 'Casiano', 'Jay', 'Relo', '1956-12-26', 61, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09183773619', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '', 'Precious Casiano', 'Bacolod City, Negros Occidental', '0918662686', 47, 'Eposino 4,000 iu alternate (once & twice a week)', '', '', 'Jay Casiano', 'Self', '2003-11-14', 0, 'N0001', 0, '2018-02-25', 'Feb', '2018'),
('22-25-20', 'Guanzon', 'Khay', 'Gasendo', '1949-03-22', 68, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Bago City, Negros Occidental', '09168430493', 'Bago City, Negros Occidental', '09074507590', 'Clarisse Gasendo', 'Bacolod City, Negros Occidental', '09194474423', 67, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', '', '', 'Khay Guanzon', 'Self', '2016-11-14', 0, 'N00012', 1, '2018-02-25', 'Feb', '2018'),
('22-34-76', 'Stark', 'Tony', 'G.', '1986-03-27', 31, 'Male', 'American', 'Roman Catholic', 'Single', 'Stark Tower, NYC', '+639254884699', '#47 P. Hernaez St.', '+639254884699', 'Menard Gardose', '#47 P. Hernaez St.', '+63 (219) 304-82-0', 30, 'LMWH 2500 iu', '', '', 'Menard Gardose', 'Cousin', '2016-03-24', 0, 'N00012', 1, '2018-03-02', 'Mar', '2018'),
('23-22-02', 'Medel', 'Rebecca', 'Delgado', '1956-11-01', 61, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'HDA. Guadalupe, Brgy. Salvacion, Murcia, Negros Occidental', '09292538764', 'HDA. Guadalupe, Brgy. Salvacion, Murcia, Negros Occidental', '09292538764', 'Archie Marcial', 'Gardenville Subdivision, Bacolod City, Negros Occidental', '09128559773', 53, 'Epoetin Alpha (Eposino) 6,000 ui 2x/week', 'End Stage Renal Disease Secondary to Diabetic Nephropathy', '1120-1295-5017', 'Rolando Medel', 'Husband', '2017-01-02', 0, 'N00010', 1, '', '', ''),
('24-06-46', 'Lacson', 'Kimberly', 'Bocablo', '1966-05-12', 51, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09434297658', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '', 'Hazel Bocablo', 'Buenavista Subd., Phase IV, Brgy.Guinhalaran, Silay City, Negros Occidental', '09505758070', 49, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Kimberly Lacson', 'Self', '2015-05-12', 0, 'N0001', 1, '2018-02-25', 'Feb', '2018'),
('24-19-46', 'Hinojales', 'Joseph', 'Majometano', '1976-12-12', 41, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Bacolod City, Negros Occidental', '09078956362', 'Bacolod City, Negros Occidental', '09078956362', 'Shanelle Hinojales', 'Bacolod City, Negros Occidental', '09079562631', 39, 'Eposino 4,000 iu alternate (once & twice a week)', '', '1121-2658-5639', 'Joseph Hinojales', 'Self', '2016-02-10', 0, 'N00012', 1, '2018-02-25', 'Feb', '2018'),
('24-35-46', 'Lacson', 'Kimberly', 'Bocablo', '0000-00-00', 51, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '9434297658', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '', 'Hazel Bocablo', 'Buenavista Subd., Phase IV, Brgy.Guinhalaran, Silay City, Negros Occidental', '9505758070', 49, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Kimberly Lacson', 'Self', '0000-00-00', 0, 'N0001', 1, '25/02/2018', 'Feb', '2018'),
('25-84-10', 'Nolido', 'Mario Jr', 'Jentelizo', '1985-11-29', 32, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'St. Francis De Asissi, Brgy. Lantad, Silay City, Negros Occidetal', '09468572829', 'St. Francis De Asissi, Brgy. Lantad, Silay City, Negros Occidetal', '09468572830', 'Dolores Baroy', 'Antilla Subd., Brgy. 4, Silay City, Negros Occidetal', '495-4496', 25, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Chronic Glomerulonephritis', '', 'Mario Nolido Jr.', 'Self', '2001-10-17', 0, 'N00010', 1, '', '', ''),
('30-11-10', 'Amonin', 'Elyza', 'Pearl', '1945-02-15', 73, 'Female', 'Filipino', 'Born Again Christian', 'Divorced', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09123769375', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09123769375', 'Pearlyn Amonin', 'Buenavista Subd., Phase IV, Brgy.Guinhalaran, Silay City, Negros Occidental', '09194474423', 69, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', '', '', 'Pearl Amonin', 'Self', '2013-12-20', 0, 'N00012', 1, '2018-02-25', 'Feb', '2018'),
('30-21-10', 'Amonin', 'Elyza', 'Pearl', '0000-00-00', 73, 'Female', 'Filipino', 'Born Again Christian', 'Divorced', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '9123769375', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '9123769375', 'Pearlyn Amonin', 'Buenavista Subd., Phase IV, Brgy.Guinhalaran, Silay City, Negros Occidental', '9194474423', 69, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', '', '', 'Pearl Amonin', 'Self', '0000-00-00', 0, 'N00012', 1, '25/02/2018', 'Feb', '2018'),
('31-24-32', 'Lanada', 'Fremrose', 'Gallego', '1982-10-05', 34, 'Female', 'Filipino', 'Roman Catholic', 'Single', 'New Site, Brgy. E Lopez, Silay City, Negros Occidental', '09122408667', 'New Site, Brgy. E Lopez, Silay City, Negros Occidental', '09122408667', 'Ma. Theresa Lanada', 'New Site, Brgy. E Lopez, Silay City, Negros Occidental', '09752975653', 33, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Chronic Glomerulonephritis', '0202-6170-8907', 'Fremrose Lanasa', 'Self', '2016-03-29', 0, 'N0007', 1, '', '', ''),
('33-36-10', 'Diaz', 'Kim', 'Jalandoni', '1965-08-11', 52, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09168430493', 'La Carlota City, Negros Occidental', '09074507590', 'Lovely Diaz', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09076328521', 51, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', '', '1123-5636-5697', 'Kim Diaz', 'Self', '2016-09-18', 0, 'N0006', 1, '2018-02-25', 'Feb', '2018'),
('33-42-13', 'Araneta', 'Arnold', 'Lacson', '1965-04-09', 52, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Lopez Jaena St., Brgy. 5, Silay City, Negros Occidental', '714-5557', 'Lopez Jaena St., Brgy. 5, Silay City, Negros Occidental', '09093670837', 'Allen Parrocho', 'Carmela Valley Subd., Talisay City, Negros Occidental', '702-2017', 50, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Diabetic Nephropathy', '1100-0098-8928', 'Jennifer Araneta', 'Wife', '2015-08-11', 0, 'N00011', 1, '', '', ''),
('36-39-15', 'Balayo', 'Dianne', 'Garcia', '1946-03-14', 71, 'Female', 'Filipino', 'Roman Catholic', 'Single', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09128338521', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '', 'Emily Mabaquiao', 'Buenavista Subd., Phase IV, Brgy.Guinhalaran, Silay City, Negros Occidental', '09194474423', 67, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Emily Mabaquiao', 'Sibling', '2013-03-20', 0, 'N0003', 0, '2018-02-25', 'Feb', '2018'),
('37-67-12', 'Ditchella', 'Dionisio', 'Constantino', '1949-10-03', 68, 'Male', 'Fiilipino', 'Roman Catholic', 'Married', 'Yap Quina St., Brgy.4, Victorias City, Negros Occidental', '09152910941', 'Yap Quina St., Brgy.4, Victorias City, Negros Occidental', '09152910941', 'Marilyn Ditchella', 'Osmena Avenue, Brgy.5, Victorias, Negros Occidental', '09152910941', 63, 'Epoetin Alpha 4,000 iu 2x/week', 'End Stage Renal Disease Secondary to Diabetic Nephropathy', '', 'Teresita Ditchella', 'Wife', '2013-04-23', 0, 'N0005', 1, '', '', ''),
('40-24-17', 'Roa', 'Corazon', 'Dionio', '1937-09-06', 80, 'Female', 'Filipino', 'Roman Catholic', 'Widowed', '361 Quezon Street, Brgy. 5, Victorias City, Negros Occidental', '09194040465', '361 Quezon Street, Brgy. 5, Victorias City, Negros Occidental', '09194040465', 'Sheila Seballos', 'Purok 1B, Da-an Banwa, Brgy.9, Victorias City, Negros Occidental', '399-2719', 76, 'Epoetin Alfa 4,000 IU 2x/week', 'ESRD SECONDARY TO HYPERTENSIVE NEPHROSCLEROSIS', '1117-5245-5909', 'Sheila Seballos', 'Daughter', '2013-09-21', 0, 'N0004', 1, '', '', ''),
('40-78-21', 'Mahilum', 'Edbert', 'Jamora', '1971-12-29', 45, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09128338521', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09074507590', 'Eduardo Mahilum Jr.', 'Buenavista Subd., Phase IV, Brgy.Guinhalaran, Silay City, Negros Occidental', '0918662686', 36, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', 'ESRD SEC.TO CGN; S/P KT W/ CHRONIC REJECTION (2008)', '1102-5121-3933', 'Almira Mahilum', 'Wife', '2007-05-01', 0, 'N0003', 1, '', '', ''),
('40-89-11', 'De Asis', 'Myrna', 'Abancio', '1944-08-10', 73, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Lopez Subd. Brgy. 16, Victorias City, Negros Occidental', '09466127045', 'Lopez Subd. Brgy. 16, Victorias City, Negros Occidental', '09466127045', 'Maribelle De Asis', 'Lopez Subd. Brgy. 16, Victorias City, Negros Occidental', '09328752532', 68, 'Epoetin Alpha 4,000 iu 2x/week', '', '', 'Maribelle De Asis', 'Sibling', '2013-05-08', 0, 'N0008', 1, '', '', ''),
('41-10-17', 'Pegariz', 'Alex', 'Surmaco', '1975-10-07', 42, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '09236367547', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09434297658', 'Kurt Pegariz', 'Brgy. Concepcion, Talisay City, Negros Occidental', '0918662686', 41, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', '', '', 'Kurt Pegariz', 'Sibling', '2016-06-24', 0, 'N00011', 0, '2018-02-25', 'Feb', '2018'),
('45-18-16', 'Inquig', 'Van Calvin', 'Bincal', '1986-10-11', 30, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Antilla Subd., Silay City, Negros Occidental ', '09488030713', 'Paglaum Village, Mansilingan, Bacolod City, Negros Occidental', '09484052091', 'Lamberto Inquig', 'Paglaum Village, Mansilingan, Bacolod City, Negros Occidental', '09274675655', 28, 'Epoetin Alpha 4,000 ui ', 'ESRD Secondary to CGN', '1105-0363-0907', 'Van Calvin Inquig', 'Patient', '2015-02-04', 0, 'N0006', 1, '', '', ''),
('45-42-23', 'Hermano', 'Herman', 'Tacda', '1974-03-29', 43, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'Crossing Luguay, Brgy. Balaring, Silay City', '09484038866', 'Crossing Luguay, Brgy. Balaring, Silay City', '09072022155', 'Anabelle Guadalupe', 'Crossing Luguay, Brgy. Balaring, Silay City', '09508915617', 43, 'Epo Alpha 4000 ui', '', '', 'Hermano, Herman', 'Self', '2018-01-02', 0, 'N0004', 1, '', '', ''),
('45-45-24', 'Ano', 'Jemmel', 'V', '1997-11-20', 20, 'Male', 'Filipino', 'RC', 'Divorced', 'Bacolod City', '09129817112', 'Bacolod City', '09129817112', 'Jems', 'Bacolod City', '09129817112', 20, 'Epoetin Alpha 4,000 ui', 'ESRD', '', 'Jems', 'Guardian', '2018-01-22', 0, 'N00010', 1, '', '', ''),
('46-10-20', 'Distrito', 'Jakielyn', 'Bonavente', '1965-06-15', 52, 'Female', 'Filipino', 'Born Again Christian', 'Divorced', 'Carmella, Phase I, Brgy. V, Silay City, Negros Occidental', '09078963561', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09168430493', 'Sharmaine Distrito', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09078953622', 52, 'Epoetin Alpha 6,000 ui 2x/week', '', '1112-2568-8565', 'Jackielyn Distrito', 'Self', '2017-11-06', 0, 'N0001', 0, '2018-02-25', 'Feb', '2018'),
('46-17-40', 'Espinase', 'Kim', 'Delos Santos', '1965-12-07', 52, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Bacolod City, Negros Occidental', '09076853215', 'Bacolod City, Negros Occidental', '09076853215', 'Sheila Gamgam', 'Bacolod City, Negros Occidental', '0918662686', 50, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', '', '', 'Shiela Gamgam', 'Self', '2015-06-19', 0, 'N00010', 0, '2018-02-25', 'Feb', '2018'),
('46-20-04', 'Escalona', 'Elbert', 'Leonida', '1970-04-16', 45, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Antonio Luna Interior Brgy Mambulac, Silay City', '099332599656', 'Antonio Luna Interior Brgy Mambulac, Silay City', '09984979689', 'Elma Superficial', 'Antonio Luna Interior Brgy Mambulac, Silay City', '09297598448', 43, 'Epoetin Alfa (Eposino) 6,000 IO', 'ESRD 2 degree to Dm Nephropathy', '', 'Elbert Escalona', 'Self', '2014-12-16', 0, 'N0006', 1, '', '', ''),
('47-10-18', 'Benavente', 'Khalid', 'Ramos', '1965-02-15', 53, 'Male', 'Filipino', 'Catholic', 'Married', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09128338521', 'Bacolod City, Negros Occidental', '09074507590', 'Jerome Palma', 'Dos Hermanas, Talisay City, Negros Occidental', '09078953622', 51, 'Epoetin Alpha 4,000 ui 2x/week', '', '1117-5342-4950', 'Khalid Benvente', 'Self', '2015-12-20', 0, 'N0001', 1, '2018-02-25', 'Feb', '2018'),
('50-21-17', 'Sollano', 'Hana', 'Cuevas', '1942-02-20', 76, 'Female', 'Filipino', 'Roman Catholic', 'Widowed', 'Bacolod City, Negros Occidental', '09852685106', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09078963561', 'Jam Cueva', 'Dos Hermanas, Talisay City, Negros Occidental', '09505758070', 75, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Hana Sollano', 'Self', '2016-07-22', 0, 'N0001', 0, '2018-02-25', 'Feb', '2018'),
('51-27-19', 'Beldia', 'Renchelle', 'Beldia', '1971-05-14', 46, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09852685106', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09236367547', 'Shane Ambos', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09075698512', 44, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', '', '1136-6895-5631', 'Shane Ambos', 'Sibling', '2015-09-18', 0, 'N0001', 0, '2018-02-25', 'Feb', '2018'),
('52-04-23', 'Valle', 'Restituto', '', '1955-10-14', 62, 'Male', 'F', 'Roman Catholic', 'Married', 'Brgy. Tanza, EB Magalona, Silay City, Negros Occidental', '09092954332', 'Brgy. Tanza, EB Magalona, Silay City, Negros Occidental', '09092954332', 'Leilanie V. Lima', 'Brgy. Tanza, EB Magalona, Silay City, Negros Occidental', '09217464044', 60, 'Epoetin Alpha (Eposino) 6,000 ui 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Nephrosclerosis', '1105-0229-0398', '', 'Wife', '2015-09-06', 0, 'N00011', 1, '', '', ''),
('53-16-35', 'Velasco', 'Nikol', 'Estanol', '1941-07-12', 76, 'Female', 'Filipino', 'Roman Catholic', 'Widowed', 'La Carlota City, Negros Occidental', '09123769375', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09852685106', 'Patricia Ignacio', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09194474423', 71, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'Patricia Ignacio', 'Child', '2012-05-26', 0, 'N00012', 1, '2018-02-25', 'Feb', '2018'),
('54-21-36', 'Lagreo', 'Loise', 'Borja', '1985-01-26', 33, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '09123769375', 'Brgy. Cabatangan, Talisay City, Negros Occidental', '', 'Esfe Langreo', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09198446769', 32, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', '', '', 'Esfe Langreo', 'Self', '2016-09-19', 0, 'N00011', 0, '2018-02-25', 'Feb', '2018'),
('55-14-06', 'Mabacquiao', 'Lilibeth', 'Vega', '1967-04-18', 50, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'HDA. Bagacay, Brgy. Bagtic, Silay City, Negros Occidental', '495-2761', 'HDA. Bagacay, Brgy. Bagtic, Silay City, Negros Occidental', '0912533652', 'Judie Vega', 'St. Francis Subd., Silay City, Negros Occidental', '0912533652', 44, 'Epoetin Alpha (Eposino) 6,000 ui 2x/week', 'End Stage Renal Disease Secondary to Chronic Glomerulonephritis; Anemia Secondary to CKD', '1105-0228-7353-9', 'Lilibeth Mabacquiao', 'Self', '2011-09-29', 0, 'N0004', 1, '', '', ''),
('57-01-15', 'Ambos', 'Diane Claire', 'Pablon', '1963-10-20', 54, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09168430493', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '09236367547', 'Shane Ambos', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09198446769', 52, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'Shane Ambos', 'Sibling', '2015-12-15', 0, 'N0007', 1, '2018-02-25', 'Feb', '2018'),
('58-67-08', 'Jimena', 'Josue', 'Abian', '1949-03-10', 68, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Tuburan Takas, Brgy. Tuburan, E.B Magalona, Negros Occidental', '09214153247', 'Tuburan Takas, Brgy. Tuburan, E.B Magalona, Negros Occidental', '09214153247', 'Jobosan Villaflor', 'Sagay City, Negros Occidental', '09391217423', 61, 'Epoetin Alpha(Renogen) 6,000 iu 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Nephrosclerosis', '', 'Josue Jimena', 'Self', '2010-06-07', 0, 'N0008', 1, '', '', ''),
('61-39-06', 'Gonzales', 'Lerma', 'Agbay', '1963-08-28', 54, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'HDA. Makina, Brgy. Rizal, Silay City, Negros Occidental', '09997739530', 'HDA. Makina, Brgy. Rizal, Silay City, Negros Occidental', '09997739530', 'Mary Ann Ubay', 'HDA. Makina, Brgy. Rizal, Silay City, Negros Occidental', '09997739530', 53, 'Epoetin Alpha 4,000 iu 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Nephrosclerosis', '', 'Lerma Gonzales', 'Self', '2016-09-24', 0, 'N0001', 1, '', '', ''),
('62-17-06', 'Lanaza', 'Marie', 'Gall', '0000-00-00', 34, 'Female', 'Filipino', 'Roman Catholic', 'Single', 'New Site, Brgy. E Lopez, Silay City, Negros Occidental', '9122408667', 'New Site, Brgy. E Lopez, Silay City, Negros Occidental', '9122408667', 'Ma. Theresa Lanada', 'New Site, Brgy. E Lopez, Silay City, Negros Occidental', '9752975653', 33, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Chronic Glomerulonephritis', '0202-6170-8907', 'Fremrose Lanasa', 'Self', '0000-00-00', 0, 'N0007', 1, '', '', ''),
('63-01-17', 'Jaranilla', 'Gwehn', 'Flora', '1975-12-15', 42, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Bacolod City, Negros Occidental', '09123769375', 'La Carlota City, Negros Occidental', '09168430493', 'Joey Flora', 'Dos Hermanas, Talisay City, Negros Occidental', '09198446769', 42, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'Gwehn Jaranilla', 'Self', '2017-07-07', 0, 'N00010', 1, '2018-02-25', 'Feb', '2018'),
('65-10-03', 'Marayan', 'Brenda', 'Magbanua', '1967-10-08', 50, 'Female', 'Filipino', 'Roman Catholic', 'Single', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09123769375', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09123769375', 'Myra Davo', 'Brgy. Tanza, EB Magalona, Negros Occidental', '09505758070', 48, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Diabetic Nephropathy', '', 'Brenda Marayan', 'Self', '2015-03-05', 0, 'N0004', 0, '', '', ''),
('71-26-19', 'Sartorio', 'Diane', 'Robles', '0000-00-00', 72, 'Female', 'Filipino', 'Born Again Christian', 'Widowed', 'La Carlota City, Negros Occidental', '9128338521', 'Bacolod City, Negros Occidental', '9078963561', 'Nam Thai', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '9078953622', 68, 'Eposino 4,000 iu alternate (once & twice a week)', '', '', 'Diane Sartorio', 'Self', '0000-00-00', 0, 'N0005', 1, '25/02/2018', 'Feb', '2018'),
('73-23-13', 'Aguinaldo', 'Raymart', 'Vergara', '0000-00-00', 72, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'La Carlota City, Negros Occidental', '9078963561', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '', 'John Aguinaldo', 'Bacolod City, Negros Occidental', '9194474423', 65, 'Epoetin Alpha 4,000 ui 2x/week', '', '', 'John Aguinaldo', 'Child', '0000-00-00', 0, 'N0002', 1, '25/02/2018', 'Feb', '2018'),
('76-25-36', 'Caporas', 'Armando', 'Genova', '0000-00-00', 52, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '9168430493', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '9078963561', 'Romenick Diaz', 'Brgy. Concepcion, Talisay City, Negros Occidental', '9198446769', 51, 'Epoetin Alfa (Eposino) 6,000 ui 2x/week', '', '', 'Edgardo Martir Jr.', 'Self', '0000-00-00', 0, 'N00010', 0, '25/02/2018', 'Feb', '2018'),
('77-10-06', 'Piansay', 'Emmanuel', 'Abello', '0000-00-00', 55, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'La Carlota City, Negros Occidental', '9078963561', 'Prk. Gumamela, Brgy. Zone 14B, Talisay City, Negros Occidental', '9078963561', 'Ryan Medrano', 'Brgy. Tanza, EB Magalona, Negros Occidental', '9198446769', 53, 'Epoetin Alpha 6,000 ui 2x/week', '', '1120-0762-8091', 'Ryan Medrano', 'Self', '0000-00-00', 0, 'N00010', 0, '25/02/2018', 'Feb', '2018'),
('79-86-17', 'Borromeo', 'Paolo', 'Arcillas', '0000-00-00', 52, 'Male', 'Filipino', 'Born Again Christian', 'Married', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '9128338521', 'Bacolod City, Negros Occidental', '9236367547', 'Hannah Samillano', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '918662686', 51, 'Epoetin Alpha 6,000 ui 2x/week', '', '', 'Edgardo Martir Jr.', 'Cousin', '0000-00-00', 0, 'N0001', 1, '25/02/2018', 'Feb', '2018'),
('80-67-10', 'Liven', 'Allan', 'Gutierrez', '1971-11-11', 46, 'Male', 'Filipino', 'Roman Catholic', 'Single', 'HDA. Necoton Brgy 13, Victorias City, Negros Occidental', '09278852865', 'HDA. Necoton Brgy 13, Victorias City, Negros Occidental', '09100317020', 'Lucily Gutierrez', 'HDA. Necoton Brgy 13, Victorias City, Negros Occidental', '09278852865', 45, 'Epoetin Alfa(Eposino) 4000 units', 'CKD 2 degree to Hypertensive Nephrosclerosis', '', 'Lucily Gutierrez', 'Guardian', '2017-08-01', 0, 'N0007', 0, '', '', ''),
('83-49-22', 'Hibionada', 'Ma. Carel', 'Dionio', '1963-03-17', 53, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Yap Quina Subd. Brgy.3, Victorias City, Negros Occidental', '09226597988', 'Yap Quina Subd. Brgy.3, Victorias City, Negros Occidental', '09226597988', 'Cyril Gustillo', 'Cantown Subd., Victorias City, Negros Occidental', '09328657897', 52, 'Eposino 4,000 iu alternate (once & twice a week)', 'ESRD Secondary to Hypertensive Nephrosclerosis', '1150-0145-4893', 'Ma. Carel Hibionada', 'Self', '2016-02-20', 0, 'N00011', 0, '', '', ''),
('84-63-02', 'Pedrajas', 'Lolita', 'Patrimonio', '1939-02-19', 78, 'Female', 'Filipino', 'Roman Catholic', 'Widowed', '#52 Francisco Maravilla St., Brgy. 3, EB Magalona, Negros Occidental', '09125896891', 'Antonio Luna St., Silay City, Negros Occidental', '09125896891', 'Daisy Pedrajas', '#52 Francisco Maravilla St., Brgy. 3, EB Magalona, Negros Occidental', '09125896891', 73, 'Epoetin Alpha (Eposino) 4,000 iu 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Nephroclerosis', '', 'Daisy Pedrojas', 'Daughter', '2013-02-10', 0, 'N0003', 0, '', '', ''),
('86-11-12', 'Toriano', 'Josette', 'Ballesteros', '1971-10-14', 44, 'Female', 'Filipino', 'Roman Catholic', 'Single', 'Blk. 11 Lot 4, Manmar Subd. Brgy Zone 15, Talisay City, Negros Occidental', '09232381390', 'Blk. 11 Lot 4, Manmar Subd. Brgy Zone 15, Talisay City, Negros Occidental', '09258746582', 'Gil Demis Toriano', 'Blk. 11 Lot 4, Manmar Subd. Brgy Zone 15, Talisay City, Negros Occidental', '0923747400', 40, 'Eposino 6,000 iu once a week', 'CKD Secondary to Hypertensive Nephrosclerosis', '', 'Josette Toriano', 'Self', '2013-02-27', 0, 'N0003', 0, '', '', ''),
('86-89-17', 'Bacaron', 'Genelyn', 'Amante', '1979-09-25', 36, 'Female', 'Filipino', 'Baptist', 'Single', 'HDA. Juliana Washington, Escalante City, Negros Occidental', '09282278493', 'HDA. Juliana Washington, Escalante City, Negros Occidental', '09303286809', 'Judith Amante', 'Quezon St. Victorias City, Negros Occidental', '09185985952', 31, 'Renogen 4,000 iu', ' ESRD Secondary to Diabetic Nephropathy and Hypertensive Nephrosclorosis', '', 'Genelyn Bacaron', 'Self', '2011-01-05', 0, 'N00010', 1, '', '', ''),
('89-93-08', 'Deliva', 'Hazel Mae', 'Abancio', '1980-02-07', 37, 'Female', 'Filipino', 'Roman Catholic', 'Single', '#359 Auxilladora St., Canetown Subd., Victorias City, Negros Occidental', '09463696469', '#359 Auxilladora St., Canetown Subd., Victorias City, Negros Occidental', '09463696469', 'Cheryl Lademora', 'Brgy. 16, Bacolod City, Negros Occidenral', '', 31, 'Epoetin Alpha 4,000 ui 2x/week', 'End Stage Renal Disease Secondary to Chronic Glomerulonephritis', '1100-0099-2372', 'Ma. Theresa Arboleda', 'Patient', '2011-05-20', 0, 'N00011', 0, '', '', ''),
('89-96-01', 'Catigan', 'Sheryl', 'Entera', '1978-11-23', 38, 'Female', 'Filipino', 'Roman Catholic', 'Married', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09168430493', 'Blk 15, Talisay Town Heights, Matab - ang, Talisay City, Negros Occidental', '09168430493', 'Alex Entera', 'Brgy. Concepcion, Talisay City, Negros Occidental', '09194474423', 31, 'Renogen 4,000 iu', 'ESRD Secondary to CGN', '', 'Edita Entera', 'Guardian', '2013-05-13', 0, 'N0005', 0, '', '', ''),
('93-91-13', 'Boteros', 'Ma. Andrea', 'Marcasote', '1983-11-30', 34, 'Female', 'Filipino', 'Roman Catholic', 'Single', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09236367547', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09236367547', 'Ma. Donna Ortega', 'Brgy. 3, EB Magalona, Silay City, Negros Occidental', '09198446769', 30, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', 'End Stage Renal Disease Secondary to Chronic Glomerulonephritis', '', 'Ma. Andrea Boteros', 'Self', '2014-02-17', 0, 'N0007', 0, '', '', ''),
('93-94-12', 'Nitro', 'Jose Marie', 'Rivas', '1968-09-29', 49, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Cinco De Noviembre, Brgy. III, Silay City, Negros Occidental', '714-8416', 'Cinco De Noviembre, Brgy. III, Silay City, Negros Occidental', '714-8416', 'Marivic Golez', 'Rizal Street, Silay City, Negros Occidental', '09226763042', 44, 'Epoetin Beta (Recormon) 5,000 ui 2x/week', 'End Stage Renal Disease Secondary to Hypertensive Nephrosclerosis', '1102-5136-3412', 'Ma. Soccoro Nitro', 'Wife', '2013-01-28', 0, 'N0009', 0, '', '', ''),
('96-34-17', 'Susmiran', 'Liezl Corazon', 'Lavadia', '1972-03-24', 44, 'Female', 'Filipino', 'Born Again', 'Married', 'Purok Ipil-ipil, Brgy. Mambulac, Silay City, Negros Occidental', '09079749850', 'Purok Ipil-ipil, Brgy. Mambulac, Silay City, Negros Occidental', '09079749850', 'Mary Jane Lavadia', 'Purok Paghidaet, Brgy. Mambulac, Silay City, Negros Occidental', '09103794462', 43, 'Epoetin Alfa (Esposino 4000 units)', 'ESRD 2 degree Hypertensive Nephrosclerosis', '', 'Liezl Susmiran', 'Self', '2015-05-25', 0, 'N0004', 0, '', '', ''),
('96-52-17', 'Acosta', 'Ireneo Jr.', 'Chavez', '1949-02-23', 67, 'Male', 'Filipino', 'Roman Catholic', 'Married', 'Brgy. 19 Mallorca, Victorias City, Negros Occidental', '09064975176', 'Brgy. 19 Mallorca, Victorias City, Negros Occidental', '09064975176', 'Elena Marinas', 'Brgy. 19 Mallorca, Victorias City, Negros Occidental', '09064975176', 65, 'Eposino 4,000 iu', 'ESRD Secondary to DM Nephropathy, Urate Nephropathy', '1120-0762-8091', 'Vilma Acosta', 'Wife', '2014-08-01', 0, 'N0007', 0, '', '', ''),
('99-06-03', 'Villarte Sr.', 'Edwin', 'Condada', '1954-08-19', 63, '', 'Filipino', 'Roman Catholic', '', 'Sampaguita Village, Brgy. Lantad, Silay City, Negros Occidental', '09951334869', 'Sampaguita Village, Brgy. Lantad, Silay City, Negros Occidental', '09951334869', 'Alma Juarez', 'Sitio Berano, Brgy. Lantad, Silay City, Negross Occidental', '09191623435', 58, 'Epoetin Alpha (Renogen) 4,000 iu 2x/week', 'ESRD Secondary to Hypertensive Nephrosclerosis', '1120-1172-3406', 'Edwin Villarte Sr.', 'Self', '2012-11-24', 0, 'N0005', 0, '', '', ''),
('A', 'A', 'A', 'A', '2018-01-21', 20, 'Male', 'A', 'A', 'Single', 'A', 'a', 'A', '123', 'A', 'A', '123', 12, '123', '', 'Asd', 'Asd', 'Guardian', '2018-01-21', 0, 'N00010', 1, '', '', '');
INSERT INTO `patientprofile` (`Hospital_Id`, `P_Lname`, `P_Fname`, `P_Mname`, `P_BirthDate`, `P_Age`, `P_Sex`, `P_Nationality`, `P_Religion`, `P_CivilStatus`, `P_PermanentAdd`, `P_ConNum1`, `P_PresentAdd`, `P_ConNum2`, `P_Relative`, `P_RelativeAdd`, `P_RelativeConNum`, `P_AgeFD`, `P_Erythropoetin`, `P_Diagnosis`, `P_PhilHealthNum`, `P_DFBName`, `P_DFBRelation`, `P_InDial`, `dialysistype`, `nephrologistid`, `P_Status`, `P_Date`, `P_Month`, `P_Year`) VALUES
('AAA-AAA', 'Bayon-on', 'Alson', 'J', '1990-03-08', 27, 'Male', 'Filipino', 'Catholic', 'Single', 'Bacolod', '0912345678', 'Bacolod ', '0912345678', 'Alex', 'Bacolod', '09123456789', 27, 'Epoetin Alpha 4000iu', 'ESRD Secondary to , Diabetic Nephropathy', '', 'Alex', 'Sibling', '2018-02-28', 0, 'N0001', 1, '2018-02-28', 'Feb', '2018'),
('Abc', 'Abc', 'Abc', 'Abc', '1998-02-22', 20, 'Male', 'F', 'F', 'Single', 'F', '12313', 'F', '12313', 'F', 'Asdasdad', '123123123', 20, 'Asdasdas', '', '3', 'Asdasd', 'Sibling', '2018-02-13', 0, 'N0001', 1, '2018-02-24', '', ''),
('B', 'B', 'B', 'B', '2018-01-21', 2, 'Male', 'B', 'B', 'Married', 'B', '123', 'B', '123', 'B', 'B', '123', 2, 'Ds', 'Asd', '123', '123', 'Guardian', '2018-01-22', 0, 'N00011', 0, '', '', ''),
('C', 'C', 'C', 'C', '2018-01-21', 2, 'Male', 'B', 'B', 'Married', 'B', '123', 'B', '123', 'B', 'B', '123', 12, 'Asd', 'Asd', 'Asd', 'Asd', 'Parent', '2018-01-17', 0, 'N00010', 0, '', '', ''),
('Q', 'Q', 'Q', 'Q', '2018-02-06', 0, 'Female', 'Q', 'Q', 'Single', 'Q', '2', 'Q', '2', 'Q', 'Q', '2', 0, 'Q', '', 'Q', 'Q', 'Guardian', '2018-01-10', 0, 'N00011', 1, '2018-02-25', 'Feb', '2018');
-- --------------------------------------------------------
--
-- Table structure for table `patientschedule`
--
CREATE TABLE `patientschedule` (
`schedule_id` int(5) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`treatment_day` varchar(10) NOT NULL,
`treatment_time` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `patientschedule`
--
INSERT INTO `patientschedule` (`schedule_id`, `Hospital_Id`, `treatment_day`, `treatment_time`) VALUES
(11, '13-18-17', 'Monday', 'morning'),
(12, '86-89-17', 'Monday', 'morning'),
(13, '40-89-11', 'Monday', 'morning'),
(14, '86-11-12', 'Monday', 'morning'),
(15, '93-94-12', 'Monday', 'afternoon'),
(16, '05-29-07', 'Monday', 'afternoon'),
(17, '40-78-21', 'Monday', 'morning'),
(18, '01-26-22', 'Tuesday', 'morning'),
(19, '45-45-24', 'Monday', 'morning'),
(21, '45-42-23', 'Wednesday', 'morning'),
(22, '33-42-13', 'Wednesday', 'morning'),
(23, '25-84-10', 'Monday', 'afternoon'),
(24, '45-18-16', 'Tuesday', 'morning'),
(25, '06-08-23', 'Tuesday', 'morning'),
(26, '13-38-01', 'Tuesday', 'afternoon'),
(27, '31-24-32', 'Tuesday', 'afternoon'),
(28, '20-12-17', 'Tuesday', 'afternoon'),
(29, '21-26-17', 'Wednesday', 'morning'),
(30, '52-04-23', 'Wednesday', 'morning'),
(31, '13-67-08', 'Wednesday', 'morning'),
(32, '58-67-08', 'Thursday', 'morning'),
(33, '37-67-12', 'Thursday', 'morning'),
(34, '61-39-06', 'Thursday', 'morning'),
(35, '46-20-04', 'Thursday', 'morning'),
(36, '23-22-02', 'Friday', 'morning'),
(37, '12-12-12', 'Wednesday', 'afternoon'),
(38, 'AAA-AAA', 'Wednesday', 'morning'),
(39, '02-07-15', 'Monday', 'morning'),
(40, '03-01-15', 'Tuesday', 'afternoon'),
(41, '03-18-20', 'Wednesday', 'afternoon'),
(42, '04-15-08', 'Thursday', 'morning'),
(43, '04-17-26', 'Friday', 'morning'),
(44, '05-19-21', 'Tuesday', 'morning'),
(45, '06-36-13', 'Tuesday', 'afternoon'),
(46, '12-23-45', 'Friday', 'afternoon');
-- --------------------------------------------------------
--
-- Table structure for table `pneumococcal_vaccine`
--
CREATE TABLE `pneumococcal_vaccine` (
`pneumococcal_administeredby` varchar(50) NOT NULL,
`pneumococcal_datenext` date NOT NULL,
`pneumococcal_daterecieved` date NOT NULL,
`pneumococcal_id` int(11) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`pneumococcal_year` char(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `pneumococcal_vaccine`
--
INSERT INTO `pneumococcal_vaccine` (`pneumococcal_administeredby`, `pneumococcal_datenext`, `pneumococcal_daterecieved`, `pneumococcal_id`, `Hospital_Id`, `pneumococcal_year`) VALUES
('johnhahaa', '2018-02-15', '2018-02-21', 1, '01-26-22', '2018'),
('qwer', '2018-02-10', '2018-02-14', 2, '01-26-22', ''),
('rtys', '2018-02-09', '2018-02-22', 3, '01-26-22', ''),
('asd', '2018-02-03', '2018-02-16', 4, '01-26-22', ''),
('gr', '2018-02-23', '2018-02-24', 5, '01-26-22', ''),
('', '0000-00-00', '0000-00-00', 6, '86-89-17', ''),
('c/o TLJPH hemodialysis unit', '2017-03-22', '2017-08-22', 7, '33-42-13', ''),
('SA', '2018-02-28', '2018-02-21', 9, '12-12-12', '2018'),
('', '0000-00-00', '0000-00-00', 10, '86-89-17', '1970'),
('Brgy. Tanza Health Center', '2016-02-01', '2015-02-10', 11, '01-15-33', '2015'),
('Brgy. Tanza Health Center', '2017-10-20', '2016-10-20', 12, '01-15-33', '2016'),
('Brgy. Tanza Health Center', '2017-12-20', '2016-12-20', 13, '01-21-19', '2016'),
('BOLMH', '2016-12-20', '2015-12-20', 14, '01-21-19', '2015'),
('Brgy. Tanza Health Center', '2017-02-14', '2016-02-14', 15, '02-07-15', '2016'),
('Brgy. Tanza Health Center', '2016-06-01', '2016-02-15', 16, '02-07-15', '2016'),
('BOLMH', '2016-02-15', '2015-02-15', 17, '03-01-15', '2015'),
('Brgy. Tanza Health Center', '2017-02-11', '2017-02-11', 18, '04-17-26', '2017'),
('Brgy. Tanza Health Center', '2018-10-10', '2017-10-10', 19, '04-15-08', '2017'),
('Brgy. Tanza Health Center', '2016-07-26', '2015-05-18', 20, '09-18-46', '2015'),
('Brgy. Tanza Health Center', '2015-11-26', '2014-10-20', 21, '09-21-35', '2014'),
('Brgy. Tanza Health Center', '2017-10-29', '2016-11-25', 22, '08-19-35', '2016'),
('BOLMH', '2015-10-29', '2015-10-23', 23, '03-18-20', '2015'),
('Brgy. Tanza Health Center', '2017-10-30', '2016-10-27', 24, '03-25-11', '2016'),
('Brgy. Tanza Health Center', '2017-11-29', '2016-10-29', 25, '05-19-21', '2016'),
('BOLMH', '2017-11-29', '2015-10-28', 26, '05-29-07', '2015'),
('Brgy. Tanza Health Center', '2017-10-30', '2016-10-28', 27, '06-08-23', '2016'),
('Brgy. Tanza Health Center', '2015-10-29', '2014-09-28', 28, '06-36-13', '2014'),
('BOLMH', '2017-10-30', '2016-10-29', 29, '07-18-01', '2016'),
('BOLMH', '2017-09-29', '2016-10-27', 30, '10-12-56', '2016'),
('Brgy. Tanza Health Center', '2016-10-28', '2015-10-26', 31, '10-25-17', '2015'),
('BOLMH', '2017-10-29', '2016-10-27', 32, '10-25-17', '2016'),
('BOLMH', '2016-09-29', '2015-09-27', 33, '10-35-56', '2015'),
('Brgy. Tanza Health Center', '2016-09-29', '2015-09-28', 34, '11-07-17', '2015'),
('BOLMH', '2017-10-29', '2016-09-27', 35, '11-26-17', '2016'),
('Brgy. Tanza Health Center', '2017-10-29', '2016-09-29', 36, '11-37-17', '2016'),
('Brgy. Tanza Health Center', '2016-10-29', '2016-10-28', 37, '11-37-17', '2016'),
('BOLMH', '2017-10-28', '2016-09-28', 38, '12-35-11', '2016'),
('Alson', '2018-04-21', '2018-03-02', 39, '22-34-76', '2018'),
('tljph', '2018-04-13', '2018-03-02', 40, '12-23-45', '2018');
-- --------------------------------------------------------
--
-- Table structure for table `problemlist`
--
CREATE TABLE `problemlist` (
`problem` varchar(50) NOT NULL,
`datenoted` date NOT NULL,
`dateresolved` date NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`problemlist_id` int(11) NOT NULL,
`problemlist_monthyear` char(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `problemlist`
--
INSERT INTO `problemlist` (`problem`, `datenoted`, `dateresolved`, `Hospital_Id`, `problemlist_id`, `problemlist_monthyear`) VALUES
('sadsad', '2018-01-28', '2018-01-28', '86-89-17', 9, ''),
('asda', '2018-02-22', '2018-02-07', '01-26-22', 10, ''),
('gh', '2018-02-14', '2018-02-14', '01-26-22', 11, ''),
('haha', '2018-02-10', '2018-02-17', '01-26-22', 12, '2018, February'),
('sample', '2018-01-19', '2018-02-16', '01-26-22', 13, '2018, January'),
('asd', '2018-02-13', '2018-02-13', '01-26-22', 14, '2018, February'),
('Fever', '2018-02-12', '2018-02-12', '05-29-07', 15, '2018, February'),
('here', '2018-02-06', '2018-02-14', '01-26-22', 17, '2018, February'),
('test1', '2018-02-21', '2018-02-28', '12-12-12', 18, '2018, February'),
('test2', '2018-02-28', '2018-02-28', '12-12-12', 19, '2018, February'),
('pneumonia', '2018-02-21', '2018-02-28', '86-89-17', 20, '2018, February'),
('sepsis', '2018-02-07', '2018-02-08', '86-89-17', 21, '2018, February'),
('SAMPLE', '2018-03-15', '2018-03-24', '01-26-22', 22, '2018, March'),
('Fever', '2015-02-10', '2015-02-10', '01-15-33', 23, '2015, February'),
('Hypertension', '2015-02-20', '2015-02-20', '01-21-19', 24, '2015, February'),
('Fever', '2014-06-20', '2014-06-25', '02-07-15', 25, '2014, June'),
('Hypertension', '2017-02-11', '2017-02-11', '04-17-26', 26, '2017, February'),
('Hypertension', '2015-06-20', '0000-00-00', '09-18-46', 27, '2015, June'),
('Hypertension', '2015-06-20', '0000-00-00', '09-18-46', 28, '2015, June'),
('Fever', '2015-10-24', '2015-10-27', '08-19-35', 29, '2015, October'),
('Hypertension', '2016-10-24', '2016-10-29', '03-18-20', 30, '2016, October'),
('Leg Injured', '2015-10-24', '2016-10-31', '03-25-11', 31, '2015, October'),
('Leg Injured', '2016-09-28', '2017-09-29', '05-19-21', 32, '2016, September'),
('Leg Injured', '2015-10-28', '2016-10-29', '06-08-23', 33, '2015, October'),
('Fever', '2016-10-28', '2017-10-29', '06-15-11', 34, '2016, October'),
('Hypertension', '2016-09-28', '2017-10-29', '06-36-13', 35, '2016, September'),
('Hypertension', '2015-10-28', '2016-10-29', '07-18-01', 36, '2015, October'),
('Hypertension', '2016-09-29', '2017-10-29', '07-36-23', 37, '2016, September'),
('Hypertension', '2015-10-29', '2016-10-29', '09-21-35', 38, '2015, October'),
('Hypertension', '2016-09-28', '2017-10-29', '10-12-56', 39, '2016, September'),
('Fever', '2016-09-28', '2016-10-29', '10-25-17', 40, '2016, September'),
('Hypertension', '2015-10-27', '2016-10-28', '10-25-17', 41, '2015, October'),
('Fever', '2016-10-28', '2016-10-29', '11-07-17', 42, '2016, October'),
('Hypertension', '2017-10-28', '2018-11-29', '11-07-17', 43, '2017, October'),
('Hypertension', '2016-09-27', '2017-10-29', '11-26-17', 44, '2016, September'),
('Fever', '2016-09-29', '2017-10-29', '11-37-17', 45, '2016, September'),
('Hypertension', '2016-09-28', '2017-10-29', '12-35-11', 46, '2016, September'),
('difficulty in breathing', '2018-02-08', '2018-03-03', '12-23-45', 47, '2018, February');
-- --------------------------------------------------------
--
-- Table structure for table `treatment`
--
CREATE TABLE `treatment` (
`treatment_id` int(5) NOT NULL,
`treatment_date` date NOT NULL,
`BFR` varchar(20) NOT NULL,
`dialyzer_user` varchar(20) NOT NULL,
`access` varchar(20) NOT NULL,
`heparin` varchar(20) NOT NULL,
`machine_num` int(2) NOT NULL,
`Hospital_Id` varchar(30) NOT NULL,
`preweight` varchar(10) NOT NULL,
`employeeid` varchar(10) NOT NULL,
`technicianid` varchar(10) NOT NULL,
`postweight` varchar(10) NOT NULL,
`treatment_start` varchar(10) NOT NULL,
`treatment_end` varchar(10) NOT NULL,
`targetwt` int(5) NOT NULL,
`dialyzer` char(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `treatment`
--
INSERT INTO `treatment` (`treatment_id`, `treatment_date`, `BFR`, `dialyzer_user`, `access`, `heparin`, `machine_num`, `Hospital_Id`, `preweight`, `employeeid`, `technicianid`, `postweight`, `treatment_start`, `treatment_end`, `targetwt`, `dialyzer`) VALUES
(1, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '86-89-17 ', '44.2', 'E0003', 'E0005', '55', '8:34 am', '12:10 pm', 70, 'F8HPS'),
(2, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '86-89-17 ', '43.9', 'E0003', 'E0003', '41', '6:50 am', '11:30 am', 70, 'F8HPS'),
(3, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '86-89-17 ', '44.3', 'E0006', 'E0003', '50', '7:00 am', '11:45 am', 75, 'F8HPS'),
(4, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '86-89-17 ', '44.3', 'E0003', 'E0003', '45', '8:13 am', '12:00 pm', 70, 'F8HPS'),
(5, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '86-89-17 ', '44.7', 'E0003', 'E0003', '50', '6:45 am', '11:49 am', 75, 'F8HPS'),
(6, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '86-89-17 ', '44.1', 'E0008', 'E0003', '44', '7:00 am', '11:30 am', 70, 'F8HPS'),
(7, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '86-89-17 ', '44.1', 'E0003', 'E0003', '50', '8:05 am', '12:00 pm', 75, 'HIPS-18'),
(8, '2018-01-29', 'dasd', 'dasd', 'R AVF', 'dsad', 3, '01-26-22 ', '30', 'E0001', 'E0004', '31', '', '', 0, ''),
(9, '2018-01-29', 'dasd', 'dasd', 'R AVF', '0.261 lmwh', 3, '01-26-22 ', '30', 'E0001', 'E0004', '31', '7:05 am', '11:45 am', 70, 'HIPS-18'),
(10, '2018-01-29', '300', 'reuse', 'L AVF', 'free', 4, '45-45-24 ', '78', 'E0001', 'E00010', '73', '7:05 am', '12:30 pm', 71, 'F8HPS'),
(11, '2018-02-11', 'AS', 'ASD', 'R AVF', 'ASD', 1, 'A ', '23', 'E0001', 'E0001', '41', '7:10 am', '11:30 am', 70, 'F8HPS'),
(12, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '33-42-13', '44.3', 'E0006', 'E0003', '', '', '', 0, ''),
(13, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '33-42-13', '44.3', 'E0006', 'E0003', '', '', '', 0, ''),
(14, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '33-42-13', '44.3', 'E0003', 'E0003', '', '', '', 0, ''),
(15, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '33-42-13', '44.7', 'E0003', 'E0003', '', '', '', 0, ''),
(16, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '33-42-13', '44.1', 'E0008', 'E0003', '', '', '', 0, ''),
(17, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '33-42-13', '44.1', 'E0003', 'E0003', '', '', '', 0, ''),
(18, '2018-01-29', '300cc/min', '2nd reuse', 'R AVF', 'free', 3, '33-42-13', '30', 'E0001', 'E0004', '31', '', '', 0, ''),
(19, '2018-01-29', '300', 'reuse', 'L AVF', 'free', 4, '33-42-13', '78', 'E0001', 'E00010', '73', '', '', 0, ''),
(20, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '01-26-22', '44.2', 'E0003', 'E0005', '', '', '', 0, ''),
(21, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '01-26-22', '43.9', 'E0003', 'E0003', '', '', '', 0, ''),
(22, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '01-26-22', '44.3', 'E0006', 'E0003', '', '', '', 0, ''),
(23, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '01-26-22', '44.3', 'E0003', 'E0003', '', '', '', 0, ''),
(24, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '01-26-22', '44.7', 'E0003', 'E0003', '', '', '', 0, ''),
(25, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '01-26-22', '44.1', 'E0008', 'E0003', '', '', '', 0, ''),
(26, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '01-26-22', '44.1', 'E0003', 'E0003', '', '', '', 0, ''),
(27, '2018-01-29', '300cc/min', '2nd reuse', 'R AVF', 'free', 3, '01-26-22', '30', 'E0001', 'E0004', '31', '', '', 0, ''),
(28, '2018-01-29', '300', 'reuse', 'L AVF', 'free', 4, '01-26-22', '78', 'E0001', 'E00010', '73', '', '', 0, ''),
(29, '2017-06-26', '300cc/min', '3rd re-use', 'L AVF', 'free', 6, '40-89-11 ', '51.6', 'E0001', 'E0006', '50', '6:50 AM', '11:30 AM', 0, ''),
(30, '2018-02-22', '1', '12', 'R AVF', '12', 1, '05-29-07 ', '12', 'E0001', 'E0001', '12', '8:34 am', '12:10 pm', 73, 'HIPS-18'),
(31, '2017-06-26', '300cc/min', '3rd re-use', 'L AVF', 'free', 6, '40-89-11 ', '51.6', 'E0001', 'E0006', '50', '6:50 am', '11:30 am', 70, 'HIPS-18'),
(32, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '40-89-11', '44.1', 'E0003', 'E0003', '50', '7:00 am', '11:45 am', 70, 'HIPS-18'),
(33, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '40-89-11', '44.1', 'E0008', 'E0003', '49', '8:13 am', '12:00 pm', 70, 'HIPS-18'),
(34, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '40-89-11', '44.7', 'E0003', 'E0003', '51', '6:45 am', '11:49 am', 73, 'HIPS-18'),
(35, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '40-89-11', '44.3', 'E0003', 'E0003', '52', '7:05 am', '11:30 am', 75, 'HIPS-18'),
(36, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '40-89-11', '44.3', 'E0006', 'E0003', '51', '7:00 am', '12:05 pm', 75, 'F8HPS'),
(37, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '40-89-11', '43.9', 'E0003', 'E0003', '50', '8:05 am', '12:00 pm', 75, 'F8HPS'),
(38, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '40-89-11', '44.2', 'E0003', 'E0005', '51', '7:25 am', '11:45 am', 75, 'F8HPS'),
(39, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, 'AAA-AAA ', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(40, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '01-15-33 ', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(41, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '01-15-33', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(42, '2018-02-26', '300cc', 'last use', 'L AVF', '0.261 lmwh', 2, '86-89-17 ', '80', 'E0001', 'E0001', '100', '7:25 am', '11:30 am', 50, 'F8HPS'),
(43, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '12-12-12 ', '50', 'E0001', 'E00010', '40', '7:08 am', '10:43 am', 75, 'HIPS-18'),
(44, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, 'AAA-AAA ', '83', 'E0001', 'E00010', '85', '11:01 am', '11:51 am', 75, 'HIPS-18'),
(45, '2018-03-02', '300cc', '1ST REUSE', 'L AVF', 'free', 1, '54-98-39 ', '75', 'E0001', 'E0003', '80', '2:44 pm', '2:46 pm', 70, 'HIPS-18'),
(46, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '01-15-33', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(47, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '01-21-19', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '11:45 AM', 0, ''),
(48, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '01-21-19', '44.1', 'E0008', 'E0003', '49', '8:13 AM', '12:00 PM', 0, ''),
(49, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '01-21-19', '44.7', 'E0003', 'E0003', '51', '6:45 AM', '11:49 PM', 0, ''),
(50, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '01-21-19', '44.3', 'E0003', 'E0003', '52', '7:05 AM', '11:30 AM', 0, ''),
(51, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '01-21-19', '44.3', 'E0006', 'E0003', '51', '7:00 AM', '12:05 PM', 0, ''),
(52, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '01-26-22', '43.9', 'E0003', 'E0003', '50', '8:05 AM', '12:00 PM', 0, ''),
(53, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '01-26-22', '44.2', 'E0003', 'E0005', '51', '7:25 AM', '11:45 AM', 0, ''),
(54, '2018-02-26', '300cc', 'zxc', 'L AVF', 'zxc', 2, '01-26-22', '80', 'E0001', 'E0001', '100', '', '', 50, 'F8HPS'),
(55, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '01-26-22', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(56, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '01-26-22', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(57, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '02/07/2015', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(58, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '02/07/2015', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(59, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '02/07/2015', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(60, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '03/01/2015', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(61, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '03-18-20', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(62, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '03-18-20', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(63, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '03-18-20', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(64, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '03-18-20', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(65, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '03-18-20', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(66, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '03-25-11', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(67, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '03-25-11', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(68, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '03-25-11', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(69, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '03-25-11', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(70, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '03-25-11', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(71, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '03-45-15', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(72, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '03-45-15', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(73, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '03-45-15', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '11:45 AM', 0, ''),
(74, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '03-45-15', '44.1', 'E0008', 'E0003', '49', '8:13 AM', '12:00 PM', 0, ''),
(75, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '03-45-15', '44.7', 'E0003', 'E0003', '51', '6:45 AM', '11:49 PM', 0, ''),
(76, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '03-45-15', '44.3', 'E0003', 'E0003', '52', '7:05 AM', '11:30 AM', 0, ''),
(77, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '03-45-15', '44.3', 'E0006', 'E0003', '51', '7:00 AM', '12:05 PM', 0, ''),
(78, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '03-45-15', '43.9', 'E0003', 'E0003', '50', '8:05 AM', '12:00 PM', 0, ''),
(79, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '04-15-08', '44.2', 'E0003', 'E0005', '51', '7:25 AM', '11:45 AM', 0, ''),
(80, '2018-02-26', '300cc', 'zxc', 'L AVF', 'zxc', 2, '04-15-08', '80', 'E0001', 'E0001', '100', '', '', 50, 'F8HPS'),
(81, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '04-15-08', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(82, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '04-15-08', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(83, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '04-15-08', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(84, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '04-15-08', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(85, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '04-17-26', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(86, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '04-17-26', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(87, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '04-17-26', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(88, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '04-17-26', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(89, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '04-17-26', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(90, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '05-19-21', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(91, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '05-19-21', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(92, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '05-19-21', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(93, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '05-19-21', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(94, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '05-19-21', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(95, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '05-19-21', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(96, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '05-29-07', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(97, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '05-29-07', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(98, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '05-29-07', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(99, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '05-29-07', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '11:45 AM', 0, ''),
(100, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '05-29-07', '44.1', 'E0008', 'E0003', '49', '8:13 AM', '12:00 PM', 0, ''),
(101, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '06/08/2023', '44.7', 'E0003', 'E0003', '51', '6:45 AM', '11:49 PM', 0, ''),
(102, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '06/08/2023', '44.3', 'E0003', 'E0003', '52', '7:05 AM', '11:30 AM', 0, ''),
(103, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '06/08/2023', '44.3', 'E0006', 'E0003', '51', '7:00 AM', '12:05 PM', 0, ''),
(104, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '06/08/2023', '43.9', 'E0003', 'E0003', '50', '8:05 AM', '12:00 PM', 0, ''),
(105, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '06/08/2023', '44.2', 'E0003', 'E0005', '51', '7:25 AM', '11:45 AM', 0, ''),
(106, '2018-02-26', '300cc', 'zxc', 'L AVF', 'zxc', 2, '06-15-11', '80', 'E0001', 'E0001', '100', '', '', 50, 'F8HPS'),
(107, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '06-15-11', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(108, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '06-15-11', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(109, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '06-15-11', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(110, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '06-15-11', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(111, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '06-36-13', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(112, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '06-36-13', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(113, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '06-36-13', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(114, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '06-36-13', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(115, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '07-18-01', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(116, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '07-18-01', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(117, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '07-18-01', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(118, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '07-18-01', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(119, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '07-18-01', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(120, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '07-36-23', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(121, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '07-36-23', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(122, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '07-36-23', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(123, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '07-36-23', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(124, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '07-36-23', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(125, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '08-19-35', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '11:45 AM', 0, ''),
(126, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '09-18-46', '44.1', 'E0008', 'E0003', '49', '8:13 AM', '12:00 PM', 0, ''),
(127, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '09-21-35', '44.7', 'E0003', 'E0003', '51', '6:45 AM', '11:49 PM', 0, ''),
(128, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '09-21-35', '44.3', 'E0003', 'E0003', '52', '7:05 AM', '11:30 AM', 0, ''),
(129, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '09-21-35', '44.3', 'E0006', 'E0003', '51', '7:00 AM', '12:05 PM', 0, ''),
(130, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '09-21-35', '43.9', 'E0003', 'E0003', '50', '8:05 AM', '12:00 PM', 0, ''),
(131, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '09-21-35', '44.2', 'E0003', 'E0005', '51', '7:25 AM', '11:45 AM', 0, ''),
(132, '2018-02-26', '300cc', 'zxc', 'L AVF', 'zxc', 2, '09-21-35', '80', 'E0001', 'E0001', '100', '', '', 50, 'F8HPS'),
(133, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '10-25-17', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(134, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '10-25-17', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(135, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '10-25-17', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(136, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '10-25-17', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(137, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '10-25-17', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(138, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '10-35-56', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(139, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '10-35-56', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(140, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '10-35-56', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(141, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '10-35-56', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(142, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '10-35-56', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(143, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '10-35-56', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(144, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '11-26-17', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(145, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '11-26-17', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(146, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '11-26-17', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(147, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '11-26-17', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(148, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '11-26-17', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(149, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '11-26-17', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(150, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '11-37-17', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(151, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '11-37-17', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '11:45 AM', 0, ''),
(152, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '11-37-17', '44.1', 'E0008', 'E0003', '49', '8:13 AM', '12:00 PM', 0, ''),
(153, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '11-37-17', '44.7', 'E0003', 'E0003', '51', '6:45 AM', '11:49 PM', 0, ''),
(154, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '11-37-17', '44.3', 'E0003', 'E0003', '52', '7:05 AM', '11:30 AM', 0, ''),
(155, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '11-37-17', '44.3', 'E0006', 'E0003', '51', '7:00 AM', '12:05 PM', 0, ''),
(156, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '12-35-11', '43.9', 'E0003', 'E0003', '50', '8:05 AM', '12:00 PM', 0, ''),
(157, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '12-35-11', '44.2', 'E0003', 'E0005', '51', '7:25 AM', '11:45 AM', 0, ''),
(158, '2018-02-26', '300cc', 'zxc', 'L AVF', 'zxc', 2, '12-35-11', '80', 'E0001', 'E0001', '100', '', '', 50, 'F8HPS'),
(159, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '12-35-11', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(160, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '12-35-11', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(161, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '12-35-11', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(162, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '13-18-17', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(163, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '13-18-17', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(164, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '13-18-17', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(165, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '13-18-17', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(166, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '13-18-17', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(167, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '13-18-17', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(168, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '13-38-01', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(169, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '13-38-01', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(170, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '13-38-01', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(171, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '13-38-01', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(172, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '13-38-01', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(173, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '13-38-01', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(174, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '13-38-01', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(175, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '13-38-01', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(176, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '13-67-08', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(177, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '13-67-08', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '11:45 AM', 0, ''),
(178, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '13-67-08', '44.1', 'E0008', 'E0003', '49', '8:13 AM', '12:00 PM', 0, ''),
(179, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '13-67-08', '44.7', 'E0003', 'E0003', '51', '6:45 AM', '11:49 PM', 0, ''),
(180, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '13-67-08', '44.3', 'E0003', 'E0003', '52', '7:05 AM', '11:30 AM', 0, ''),
(181, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '13-67-08', '44.3', 'E0006', 'E0003', '51', '7:00 AM', '12:05 PM', 0, ''),
(182, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '13-67-08', '43.9', 'E0003', 'E0003', '50', '8:05 AM', '12:00 PM', 0, ''),
(183, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '14-65-95', '44.2', 'E0003', 'E0005', '51', '7:25 AM', '11:45 AM', 0, ''),
(184, '2018-02-26', '300cc', 'zxc', 'L AVF', 'zxc', 2, '14-65-95', '80', 'E0001', 'E0001', '100', '', '', 50, 'F8HPS'),
(185, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '14-65-95', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(186, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '14-65-95', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(187, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '14-65-95', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(188, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '14-65-95', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(189, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '15-16-25', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(190, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '15-16-25', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(191, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '15-16-25', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(192, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '15-16-25', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(193, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '15-16-25', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(194, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '15-16-25', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(195, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '15-28-07', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(196, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '15-28-07', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(197, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '15-28-07', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(198, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '15-28-07', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(199, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '15-28-07', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(200, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '15-28-07', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(201, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '16-35-17', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(202, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '16-35-17', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(203, '2016-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '16-35-17', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '11:45 AM', 0, ''),
(204, '2016-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '16-35-17', '44.1', 'E0008', 'E0003', '49', '8:13 AM', '12:00 PM', 0, ''),
(205, '2016-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '16-35-17', '44.7', 'E0003', 'E0003', '51', '6:45 AM', '11:49 PM', 0, ''),
(206, '2016-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '16-35-17', '44.3', 'E0003', 'E0003', '52', '7:05 AM', '11:30 AM', 0, ''),
(207, '2016-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '17-46-21', '44.3', 'E0006', 'E0003', '51', '7:00 AM', '12:05 PM', 0, ''),
(208, '2016-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '17-46-21', '43.9', 'E0003', 'E0003', '50', '8:05 AM', '12:00 PM', 0, ''),
(209, '2016-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '17-46-21', '44.2', 'E0003', 'E0005', '51', '7:25 AM', '11:45 AM', 0, ''),
(210, '2018-02-26', '300cc', 'zxc', 'L AVF', 'zxc', 2, '17-46-21', '80', 'E0001', 'E0001', '100', '', '', 50, 'F8HPS'),
(211, '2018-02-28', '170', 'test', 'R AVF', '1230', 1, '17-46-21', '50', 'E0001', 'E00010', '40', '4:08 AM', '10:43 AM', 75, 'HIPS-18'),
(212, '2018-02-28', '300cc', '1st reuse', 'R AVF', '2500 iu', 7, '17-46-21', '83', 'E0001', 'E00010', '80', '11:01 AM', '11:51 AM', 75, 'HIPS-18'),
(213, '2017-06-26', '350 cc/min', '5th Re-use', 'AVF', '0.261 lmwh', 5, '18-23-51', '44.2', 'E0003', 'E0005', '55', '8:34 AM', '12:10 PM', 50, 'F8HPS'),
(214, '2017-07-03', '300 cc/min', 'last use', 'AVF', '0.261 lmwh', 5, '18-23-51', '43.9', 'E0003', 'E0003', '41', '6:50 AM', '11:30 AM', 75, 'HIPS-18'),
(215, '2017-10-07', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '18-23-51', '44.3', 'E0006', 'E0003', '50', '7:00 AM', '11:45 AM', 75, 'HIPS-18'),
(216, '2017-07-10', '300 cc/min', 'NEWSET', 'L AVF', '0.261 lmwh', 5, '18-23-51', '44.3', 'E0003', 'E0003', '45', '8:13 AM', '12:00 PM', 50, 'F8HPS'),
(217, '2017-07-17', '300 cc/min', '1st reuse', 'L AVF', '0.261 lmwh', 5, '18-23-51', '44.7', 'E0003', 'E0003', '50', '6:45 AM', '11:49 PM', 75, 'HIPS-18'),
(218, '2017-07-24', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '18-23-51', '44.1', 'E0008', 'E0003', '44', '7:05 AM', '11:30 AM', 75, 'HIPS-18'),
(219, '2017-07-31', '300 cc/min', '2nd reuse', 'L AVF', '0.261 lmwh', 5, '18-23-51', '44.1', 'E0003', 'E0003', '50', '7:00 AM', '12:05 PM', 50, 'F8HPS'),
(220, '2018-03-02', '300cc', '1st reuse', 'R AVF', 'free', 2, '12-23-45 ', '83', 'E00013', 'E00010', '75', '3:57 pm', '3:58 pm', 70, 'F8HPS');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `activitylog`
--
ALTER TABLE `activitylog`
ADD PRIMARY KEY (`activityid`);
--
-- Indexes for table `confinement`
--
ALTER TABLE `confinement`
ADD PRIMARY KEY (`confinement_id`);
--
-- Indexes for table `diagnostic/examination`
--
ALTER TABLE `diagnostic/examination`
ADD PRIMARY KEY (`diagnostic/examination_id`);
--
-- Indexes for table `employeeprofile`
--
ALTER TABLE `employeeprofile`
ADD PRIMARY KEY (`employeeid`) USING BTREE,
ADD KEY `employee_num` (`employee_num`) USING BTREE;
--
-- Indexes for table `hemo_order`
--
ALTER TABLE `hemo_order`
ADD PRIMARY KEY (`order_id`);
--
-- Indexes for table `hepatitisbvaccine`
--
ALTER TABLE `hepatitisbvaccine`
ADD PRIMARY KEY (`hepa_id`);
--
-- Indexes for table `hepatitisprofile`
--
ALTER TABLE `hepatitisprofile`
ADD PRIMARY KEY (`hepatitisprofile_id`);
--
-- Indexes for table `influenzavaccine`
--
ALTER TABLE `influenzavaccine`
ADD PRIMARY KEY (`influenza_id`);
--
-- Indexes for table `initialtestresult`
--
ALTER TABLE `initialtestresult`
ADD PRIMARY KEY (`initialtestresult_id`);
--
-- Indexes for table `laboratory`
--
ALTER TABLE `laboratory`
ADD PRIMARY KEY (`Laboratory_id`);
--
-- Indexes for table `laboratory_info`
--
ALTER TABLE `laboratory_info`
ADD PRIMARY KEY (`labinfo_id`);
--
-- Indexes for table `laboratory_others`
--
ALTER TABLE `laboratory_others`
ADD PRIMARY KEY (`labothers_id`);
--
-- Indexes for table `machineresult`
--
ALTER TABLE `machineresult`
ADD PRIMARY KEY (`machineresult_id`);
--
-- Indexes for table `nephrologist`
--
ALTER TABLE `nephrologist`
ADD PRIMARY KEY (`nephrologistid`),
ADD KEY `nephrologistnum` (`nephrologistnum`);
--
-- Indexes for table `nephrologistschedule`
--
ALTER TABLE `nephrologistschedule`
ADD PRIMARY KEY (`nephroschedule_id`);
--
-- Indexes for table `nephronotesorder`
--
ALTER TABLE `nephronotesorder`
ADD PRIMARY KEY (`notes_order_Id`);
--
-- Indexes for table `nursenotes`
--
ALTER TABLE `nursenotes`
ADD PRIMARY KEY (`nurse_notes_id`),
ADD KEY `Hospital_Id` (`Hospital_Id`);
--
-- Indexes for table `patientdrugprofile`
--
ALTER TABLE `patientdrugprofile`
ADD PRIMARY KEY (`drugprofile_id`);
--
-- Indexes for table `patientprofile`
--
ALTER TABLE `patientprofile`
ADD PRIMARY KEY (`Hospital_Id`),
ADD KEY `nephrologistid` (`nephrologistid`);
--
-- Indexes for table `patientschedule`
--
ALTER TABLE `patientschedule`
ADD PRIMARY KEY (`schedule_id`);
--
-- Indexes for table `pneumococcal_vaccine`
--
ALTER TABLE `pneumococcal_vaccine`
ADD PRIMARY KEY (`pneumococcal_id`);
--
-- Indexes for table `problemlist`
--
ALTER TABLE `problemlist`
ADD PRIMARY KEY (`problemlist_id`);
--
-- Indexes for table `treatment`
--
ALTER TABLE `treatment`
ADD PRIMARY KEY (`treatment_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `activitylog`
--
ALTER TABLE `activitylog`
MODIFY `activityid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=74;
--
-- AUTO_INCREMENT for table `confinement`
--
ALTER TABLE `confinement`
MODIFY `confinement_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
--
-- AUTO_INCREMENT for table `diagnostic/examination`
--
ALTER TABLE `diagnostic/examination`
MODIFY `diagnostic/examination_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84;
--
-- AUTO_INCREMENT for table `employeeprofile`
--
ALTER TABLE `employeeprofile`
MODIFY `employee_num` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `hemo_order`
--
ALTER TABLE `hemo_order`
MODIFY `order_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=147;
--
-- AUTO_INCREMENT for table `hepatitisbvaccine`
--
ALTER TABLE `hepatitisbvaccine`
MODIFY `hepa_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57;
--
-- AUTO_INCREMENT for table `hepatitisprofile`
--
ALTER TABLE `hepatitisprofile`
MODIFY `hepatitisprofile_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=98;
--
-- AUTO_INCREMENT for table `influenzavaccine`
--
ALTER TABLE `influenzavaccine`
MODIFY `influenza_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;
--
-- AUTO_INCREMENT for table `initialtestresult`
--
ALTER TABLE `initialtestresult`
MODIFY `initialtestresult_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT for table `laboratory`
--
ALTER TABLE `laboratory`
MODIFY `Laboratory_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=150;
--
-- AUTO_INCREMENT for table `laboratory_info`
--
ALTER TABLE `laboratory_info`
MODIFY `labinfo_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `laboratory_others`
--
ALTER TABLE `laboratory_others`
MODIFY `labothers_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `machineresult`
--
ALTER TABLE `machineresult`
MODIFY `machineresult_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=83;
--
-- AUTO_INCREMENT for table `nephrologist`
--
ALTER TABLE `nephrologist`
MODIFY `nephrologistnum` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `nephrologistschedule`
--
ALTER TABLE `nephrologistschedule`
MODIFY `nephroschedule_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `nephronotesorder`
--
ALTER TABLE `nephronotesorder`
MODIFY `notes_order_Id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `nursenotes`
--
ALTER TABLE `nursenotes`
MODIFY `nurse_notes_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- AUTO_INCREMENT for table `patientdrugprofile`
--
ALTER TABLE `patientdrugprofile`
MODIFY `drugprofile_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=115;
--
-- AUTO_INCREMENT for table `patientschedule`
--
ALTER TABLE `patientschedule`
MODIFY `schedule_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;
--
-- AUTO_INCREMENT for table `pneumococcal_vaccine`
--
ALTER TABLE `pneumococcal_vaccine`
MODIFY `pneumococcal_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
--
-- AUTO_INCREMENT for table `problemlist`
--
ALTER TABLE `problemlist`
MODIFY `problemlist_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=48;
--
-- AUTO_INCREMENT for table `treatment`
--
ALTER TABLE `treatment`
MODIFY `treatment_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=221;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `nursenotes`
--
ALTER TABLE `nursenotes`
ADD CONSTRAINT `Hospital_Id` FOREIGN KEY (`Hospital_Id`) REFERENCES `patientprofile` (`Hospital_Id`);
/*!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.1.0
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Aug 22, 2021 at 04:58 PM
-- 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: `secure`
--
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(8) NOT NULL,
`fullName` varchar(300) NOT NULL,
`email` varchar(300) NOT NULL,
`password` varchar(300) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(8) 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 */;
|
--drop database if exists RabbitDb
--go
--create database RabbitDb
--go
--Select 'Here is a comment'
--use RabbitDb
--go
--CREATE TABLE Rabbits(
-- RabbitID INT NOT NULL IDENTITY PRIMARY KEY,
-- Age INT NULL,
-- Name NVARCHAR(50) NULL
-- );
--select 'Here is a comment'
INSERT INTO Rabbits (Age) VALUES (1);
UPDATE Rabbits SET Name = 'Jeff' WHERE RabbitID = 1; --updates records
INSERT INTO Rabbits (Name) values ('Jimbo');
delete from rabbits where RabbitID >1;
update Rabbits SET Age = '12' WHERE RabbitID =1;
INSERT INTO Rabbits (Age, Name) VALUES (10, 'Jimbo')
SELECT * FROM Rabbits
|
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 23 Jul 2016 pada 07.39
-- Versi Server: 10.1.13-MariaDB
-- PHP Version: 7.0.5
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: `db_keuangan`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `dagang`
--
CREATE TABLE `dagang` (
`id` char(12) NOT NULL,
`id_pasar` char(5) NOT NULL,
`id_komoditas` int(10) NOT NULL,
`nama_dagang` varchar(100) NOT NULL,
`jenis_dagang` enum('PN','KS') NOT NULL,
`lokasi` varchar(100) NOT NULL,
`status` enum('AP','PD','DL') NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_by` int(10) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `dagang`
--
INSERT INTO `dagang` (`id`, `id_pasar`, `id_komoditas`, `nama_dagang`, `jenis_dagang`, `lokasi`, `status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`) VALUES
('DG1606000001', 'PS03', 3, 'Dagang Bunga', 'PN', 'deket parkiran', 'AP', '2016-06-21 19:03:41', '2016-06-23 06:22:12', 1, 1, NULL),
('DG1606000002', 'PS01', 1, 'Kios Petra', 'KS', 'lantai 2', 'PD', '2016-06-21 19:13:09', '2016-07-01 08:44:14', 1, NULL, NULL),
('DG1606000003', 'PS03', 1, 'Kios Jagung', 'KS', 'lantai 3', 'AP', '2016-06-21 19:13:53', '2016-06-21 19:18:55', 1, 1, NULL),
('DG1606000004', 'PS02', 9, 'Dagang Ransel', 'PN', 'parkiran', 'PD', '2016-06-29 15:03:13', '2016-06-29 15:03:34', 1, 1, NULL),
('DG1607000001', 'PS01', 1, 'Dagang Baju', 'KS', 'lantai 2', 'PD', '2016-07-11 06:08:13', '2016-07-23 05:24:50', 3, NULL, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `komoditas`
--
CREATE TABLE `komoditas` (
`id` int(10) NOT NULL,
`nama_komoditas` varchar(100) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_by` int(10) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `komoditas`
--
INSERT INTO `komoditas` (`id`, `nama_komoditas`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`) VALUES
(1, 'Sembako', '2016-04-30 18:41:04', '2016-04-30 10:41:04', 1, 1, NULL),
(2, 'Canang', '2016-04-30 10:13:06', '2016-04-30 10:13:06', 1, NULL, NULL),
(3, 'Bunga', '2016-06-23 06:22:31', '2016-06-23 06:22:12', 1, NULL, NULL),
(8, 'Beras', '2016-04-30 10:51:28', '2016-04-30 10:51:28', 1, NULL, NULL),
(9, 'Ransel', '2016-06-10 17:53:41', '2016-06-10 17:53:41', 1, 1, NULL),
(10, 'Pangan', '2016-06-21 18:05:56', '2016-06-21 18:05:42', 1, 1, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `migrations`
--
CREATE TABLE `migrations` (
`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 untuk tabel `migrations`
--
INSERT INTO `migrations` (`migration`, `batch`) VALUES
('2014_10_12_000000_create_users_table', 1),
('2014_10_12_100000_create_password_resets_table', 1),
('2016_01_01_145345_create_roles_table', 2),
('2016_01_01_145745_create_role_user_table', 2),
('2016_01_01_150253_create_permissions_table', 2),
('2016_01_01_154441_create_permission_role_table', 2);
-- --------------------------------------------------------
--
-- Struktur dari tabel `pasar`
--
CREATE TABLE `pasar` (
`id` char(4) NOT NULL,
`nama_pasar` varchar(100) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_by` int(10) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `pasar`
--
INSERT INTO `pasar` (`id`, `nama_pasar`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`) VALUES
('PS01', 'Pasar Badung', '2016-04-29 04:37:26', '2016-07-01 06:59:55', 1, 3, NULL),
('PS02', 'Pasar Kreneng', '2016-04-29 04:37:41', '2016-06-21 18:08:11', 1, NULL, NULL),
('PS03', 'Pasar Sanglah', '2016-04-29 04:37:47', '2016-04-30 18:57:32', 1, 1, NULL),
('PS04', 'Pasar Sempidi', '2016-05-07 11:10:04', '2016-05-07 11:10:04', 1, NULL, NULL),
('PS05', 'Pasar Anyarsari', '2016-06-22 14:27:07', '2016-06-22 14:27:13', 1, NULL, NULL),
('PS06', 'Pasar Kuning Sari', '2016-06-22 14:27:17', '2016-07-01 07:02:21', 1, 1, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `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 NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data untuk tabel `password_resets`
--
INSERT INTO `password_resets` (`email`, `token`, `created_at`) VALUES
('wijaya.imd@gmail.com', '0218cb9ef2a9a8e86cdafd50daec81a1372bc72403676752f626d3794f9b1466', '2016-07-02 17:25:21'),
('petugas2@gmail.com', 'b2fef4ab5b856f0ab64c14d49708882fb4ed9960968ff5e28ce91b68fb7de4e5', '2016-07-12 13:40:34');
-- --------------------------------------------------------
--
-- Struktur dari tabel `pegawai`
--
CREATE TABLE `pegawai` (
`id` char(9) NOT NULL,
`id_users` int(10) UNSIGNED NOT NULL,
`id_pasar` char(5) DEFAULT NULL,
`nama_lengkap` varchar(50) NOT NULL,
`jenis_kelamin` enum('P','L') NOT NULL,
`alamat` varchar(100) NOT NULL,
`no_telp` varchar(12) NOT NULL,
`photo` varchar(255) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_by` int(10) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `pegawai`
--
INSERT INTO `pegawai` (`id`, `id_users`, `id_pasar`, `nama_lengkap`, `jenis_kelamin`, `alamat`, `no_telp`, `photo`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`) VALUES
('PG1604001', 1, NULL, 'Manik Operator', 'L', 'Jalan Nangka Utara', '082247464196', 'PG1604001mwx37haoMR.jpg', '2016-07-02 16:22:22', '2016-07-12 13:24:54', 1, NULL, NULL),
('PG1604002', 2, 'PS03', 'Windu Petugas Jele', 'L', 'Jalan Ayani Utara', '085474121363', 'PG1604002HE5Ut06qzQ.jpg', '2016-07-02 16:43:53', '2016-07-08 06:07:01', 1, NULL, NULL),
('PG1604003', 3, NULL, 'Hendra Awesome', 'L', 'Jalan Awesome No.888', '085737353569', 'PG1604003UwoRMQmw6x.jpg', '2016-07-01 16:24:26', '2016-07-07 07:19:55', 1, NULL, NULL),
('PG1604004', 12, NULL, 'Test Operator', 'L', 'Jalan Test asd', '082247464196', NULL, '2016-07-02 16:24:43', NULL, 3, NULL, NULL),
('PG1604005', 13, 'PS06', 'Gusti Bagus', 'L', 'Jalan Ayani', '082247464196', NULL, '2016-07-02 16:44:33', NULL, 3, NULL, NULL),
('PG1604006', 10, NULL, 'Dirut Mahesa 2', 'L', 'Jalan Kematian 2', '082247464196', NULL, '2016-07-02 16:05:14', NULL, 3, NULL, NULL),
('PG1604007', 11, NULL, 'Awesome Dirut', 'L', 'Jalan Raya Bedugul', '082247464196', NULL, '2016-07-02 16:08:41', NULL, 3, NULL, NULL),
('PG1607001', 14, NULL, 'New Operator', 'L', 'Jalan Gak Jelas', '084637362726', NULL, '2016-07-02 16:59:29', '2016-07-02 16:59:29', 3, NULL, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `permissions`
--
CREATE TABLE `permissions` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Struktur dari tabel `permission_role`
--
CREATE TABLE `permission_role` (
`id` int(10) UNSIGNED NOT NULL,
`permission_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;
-- --------------------------------------------------------
--
-- Struktur dari tabel `pungutan`
--
CREATE TABLE `pungutan` (
`id` bigint(20) NOT NULL,
`id_pasar` char(4) NOT NULL,
`id_dagang` char(12) NOT NULL,
`tgl_pungutan` date NOT NULL,
`type` enum('PG','TG') NOT NULL,
`deposited` timestamp NULL DEFAULT NULL,
`deposited_to` int(10) DEFAULT NULL,
`detail` enum('HR','BL') DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `pungutan`
--
INSERT INTO `pungutan` (`id`, `id_pasar`, `id_dagang`, `tgl_pungutan`, `type`, `deposited`, `deposited_to`, `detail`, `created_at`, `created_by`, `updated_at`, `deleted_at`) VALUES
(12, 'PS03', 'DG1606000001', '2016-06-27', 'PG', NULL, NULL, 'HR', '2016-06-27 12:23:23', 2, '2016-06-30 06:31:32', NULL),
(13, 'PS03', 'DG1606000003', '2016-06-27', 'PG', NULL, NULL, 'HR', '2016-06-27 12:23:43', 2, '2016-06-30 06:31:32', NULL),
(14, 'PS03', 'DG1606000003', '2016-06-26', 'TG', NULL, NULL, 'HR', '2016-06-27 16:21:52', 2, '2016-06-29 15:52:51', NULL),
(16, 'PS03', 'DG1606000001', '2016-06-26', 'TG', NULL, NULL, 'HR', '2016-06-27 16:25:06', 2, '2016-06-29 15:52:51', NULL),
(18, 'PS03', 'DG1606000001', '2016-06-21', 'TG', NULL, NULL, 'HR', '2016-06-28 06:10:33', 2, '2016-06-29 15:52:51', NULL),
(19, 'PS03', 'DG1606000003', '2016-06-21', 'TG', NULL, NULL, 'HR', '2016-06-28 06:10:37', 2, '2016-06-29 15:52:51', NULL),
(20, 'PS03', 'DG1606000001', '2016-06-20', 'TG', NULL, NULL, 'HR', '2016-06-28 06:11:41', 2, '2016-06-29 15:52:51', NULL),
(21, 'PS03', 'DG1606000003', '2016-06-20', 'TG', '2016-06-29 15:52:51', 1, 'HR', '2016-06-28 06:11:49', 2, '2016-06-29 15:52:51', NULL),
(22, 'PS03', 'DG1606000001', '2016-06-15', 'TG', '2016-06-29 15:52:51', 1, 'HR', '2016-06-28 06:13:58', 2, '2016-06-29 15:52:51', NULL),
(23, 'PS03', 'DG1606000003', '2016-06-15', 'TG', '2016-06-29 15:52:51', 1, 'HR', '2016-06-28 06:14:50', 2, '2016-06-29 15:52:51', NULL),
(24, 'PS03', 'DG1606000003', '2016-06-16', 'TG', NULL, NULL, 'HR', '2016-06-28 06:15:45', 2, '2016-06-29 15:52:51', NULL),
(25, 'PS03', 'DG1606000001', '2016-06-28', 'PG', '2016-06-29 15:52:51', 1, 'HR', '2016-06-28 06:18:03', 2, '2016-06-29 15:52:51', NULL),
(26, 'PS03', 'DG1606000003', '2016-06-28', 'PG', NULL, NULL, 'HR', '2016-06-28 06:18:06', 2, '2016-06-29 15:52:51', NULL),
(27, 'PS03', 'DG1606000001', '2016-06-06', 'TG', NULL, NULL, 'HR', '2016-06-28 07:15:06', 2, '2016-06-29 15:52:51', NULL),
(28, 'PS03', 'DG1606000001', '2016-06-28', 'PG', NULL, NULL, 'BL', '2016-06-28 07:15:47', 2, '2016-06-29 15:52:51', NULL),
(29, 'PS03', 'DG1606000003', '2016-06-28', 'PG', '2016-06-29 15:52:51', 1, 'BL', '2016-06-28 07:24:51', 2, '2016-06-29 15:52:51', NULL),
(30, 'PS03', 'DG1606000001', '2016-05-28', 'TG', '2016-06-29 15:52:51', 1, 'BL', '2016-06-28 08:04:35', 2, '2016-06-29 15:52:51', NULL),
(31, 'PS03', 'DG1606000003', '2016-05-28', 'TG', NULL, NULL, 'BL', '2016-06-28 08:04:51', 2, '2016-06-29 15:52:51', NULL),
(32, 'PS03', 'DG1606000001', '2016-07-10', 'PG', NULL, NULL, 'HR', '2016-07-09 19:17:06', 2, '2016-07-09 19:17:06', NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `pungutan_bulanan`
--
CREATE TABLE `pungutan_bulanan` (
`id` bigint(20) NOT NULL,
`id_pungutan` bigint(20) NOT NULL,
`sewa_tempat` int(11) NOT NULL,
`ppn` int(11) NOT NULL,
`total` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `pungutan_bulanan`
--
INSERT INTO `pungutan_bulanan` (`id`, `id_pungutan`, `sewa_tempat`, `ppn`, `total`, `created_at`, `created_by`, `updated_at`, `deleted_at`) VALUES
(1, 28, 54000, 5400, 59400, '2016-06-28 07:15:47', 2, '2016-06-28 07:15:47', NULL),
(2, 29, 54000, 5400, 59400, '2016-06-28 07:24:51', 2, '2016-06-28 07:24:51', NULL),
(3, 30, 54000, 5400, 59400, '2016-06-28 08:04:35', 2, '2016-06-28 08:04:35', NULL),
(4, 31, 54000, 5400, 59400, '2016-06-28 08:04:51', 2, '2016-06-28 08:04:51', NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `pungutan_harian`
--
CREATE TABLE `pungutan_harian` (
`id` bigint(20) NOT NULL,
`id_pungutan` bigint(20) NOT NULL,
`tempat_berjualan` int(11) NOT NULL,
`listrik` int(11) NOT NULL,
`air` int(11) NOT NULL,
`jumlah` int(11) NOT NULL,
`ppn` int(11) NOT NULL,
`total` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `pungutan_harian`
--
INSERT INTO `pungutan_harian` (`id`, `id_pungutan`, `tempat_berjualan`, `listrik`, `air`, `jumlah`, `ppn`, `total`, `created_at`, `created_by`, `updated_at`, `deleted_at`) VALUES
(1, 12, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-27 12:23:23', 2, '2016-06-27 12:23:23', NULL),
(2, 13, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-27 12:23:43', 2, '2016-06-27 12:23:43', NULL),
(3, 14, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-27 16:21:52', 2, '2016-06-27 16:21:52', NULL),
(5, 16, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-27 16:25:06', 2, '2016-06-27 16:25:06', NULL),
(7, 18, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:10:33', 2, '2016-06-28 06:10:33', NULL),
(8, 19, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:10:37', 2, '2016-06-28 06:10:37', NULL),
(9, 20, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:11:41', 2, '2016-06-28 06:11:41', NULL),
(10, 21, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:11:49', 2, '2016-06-28 06:11:49', NULL),
(11, 22, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:13:58', 2, '2016-06-28 06:13:58', NULL),
(12, 23, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:14:50', 2, '2016-06-28 06:14:50', NULL),
(13, 24, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:15:45', 2, '2016-06-28 06:15:45', NULL),
(14, 25, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:18:03', 2, '2016-06-28 06:18:03', NULL),
(15, 26, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 06:18:06', 2, '2016-06-28 06:18:06', NULL),
(16, 27, 2500, 2000, 1000, 5500, 550, 6050, '2016-06-28 07:15:06', 2, '2016-06-28 07:15:06', NULL),
(17, 32, 2500, 2000, 1000, 5500, 550, 6050, '2016-07-09 19:17:06', 2, '2016-07-09 19:17:06', NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `roles`
--
CREATE TABLE `roles` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data untuk tabel `roles`
--
INSERT INTO `roles` (`id`, `name`, `slug`, `description`, `created_at`, `updated_at`) VALUES
(1, 'Petugas', 'petugas', 'Petugas lapangan', '2016-04-22 08:36:40', '2016-04-22 08:36:40'),
(2, 'Operator', 'operator', 'Editor data pusat', '2016-04-22 08:36:40', '2016-04-22 08:36:40'),
(3, 'Dirut', 'dirut', 'Pimpinan tertinggi', '2016-04-22 08:36:40', '2016-04-22 08:36:40');
-- --------------------------------------------------------
--
-- Struktur dari tabel `role_user`
--
CREATE TABLE `role_user` (
`id` int(10) UNSIGNED NOT NULL,
`role_id` int(11) NOT NULL,
`user_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 untuk tabel `role_user`
--
INSERT INTO `role_user` (`id`, `role_id`, `user_id`, `created_at`, `updated_at`) VALUES
(1, 2, 1, '2016-04-22 08:39:06', '2016-04-22 08:39:06'),
(2, 1, 2, '2016-04-22 08:39:06', '2016-04-22 08:39:06'),
(3, 3, 3, '2016-06-30 17:13:56', '2016-06-30 17:13:58'),
(4, 3, 10, '2016-07-02 16:05:14', '2016-07-02 16:05:14'),
(5, 3, 11, '2016-07-02 16:08:41', '2016-07-02 16:08:41'),
(6, 2, 12, '2016-07-02 16:24:43', '2016-07-02 16:24:43'),
(7, 1, 13, '2016-07-02 16:44:33', '2016-07-02 16:44:33'),
(8, 2, 14, '2016-07-02 16:59:29', '2016-07-02 16:59:29');
-- --------------------------------------------------------
--
-- Struktur dari tabel `settings`
--
CREATE TABLE `settings` (
`id` int(10) UNSIGNED NOT NULL,
`key` varchar(100) DEFAULT NULL,
`value` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `tarif`
--
CREATE TABLE `tarif` (
`id` int(11) NOT NULL,
`label` varchar(50) NOT NULL,
`tarif` int(11) NOT NULL,
`type` enum('HR','BL') NOT NULL,
`jenis_dagang` enum('PN','KS') NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`created_by` int(10) NOT NULL,
`updated_by` int(10) DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tarif`
--
INSERT INTO `tarif` (`id`, `label`, `tarif`, `type`, `jenis_dagang`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`) VALUES
(1, 'Tempat Berjualan', 2500, 'HR', 'KS', '2016-06-24 04:31:55', '2016-07-01 08:10:56', 1, NULL, NULL),
(2, 'Listrik', 2000, 'HR', 'KS', '2016-06-24 04:36:51', '2016-07-01 08:11:02', 1, NULL, NULL),
(3, 'Air', 1000, 'HR', 'KS', '2016-06-24 04:37:30', '2016-07-01 08:11:07', 1, NULL, NULL),
(4, 'Sewa Tempat', 54000, 'BL', 'KS', '2016-06-28 06:38:01', '2016-07-01 08:11:13', 1, NULL, NULL),
(6, 'Tempat Berjualan', 2500, 'HR', 'PN', '2016-06-28 06:38:01', '2016-06-28 06:38:01', 1, NULL, NULL),
(7, 'Listrik', 2000, 'HR', 'PN', '2016-06-28 06:38:01', '2016-06-28 06:38:01', 1, NULL, NULL),
(8, 'Air', 1000, 'HR', 'PN', '2016-06-28 06:38:01', '2016-06-28 06:38:01', 1, NULL, NULL),
(9, 'Sewa Tempat', 54000, 'BL', 'PN', '2016-06-28 06:38:01', '2016-06-28 06:38:01', 1, NULL, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`type` enum('P','O','D') COLLATE utf8_unicode_ci NOT NULL,
`status` enum('200','303','666') COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id`, `email`, `password`, `remember_token`, `type`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'operator@mail.com', '$2y$10$SBGUtP4jIp5aOnt1HgVwU.D8uASzapMM3Zry5MasszxqkATwFqeDC', '1KKGg7WllR2BXtksmM6pYIYQbduPCm4RhmJ5iO0jww7T0tzE5tH9EUvXFOMU', 'O', '200', '2016-04-22 06:20:11', '2016-07-22 13:40:13', NULL),
(2, 'petugas@mail.com', '$2y$10$8hFOBK0r7mTVUGQgYT5g8.901Ngw/YncTfZrSOxEwQhRBtJiuxr.u', '8p5j52HVWZMQg2lVv9RbDQs8jBteQZNk2Q1vk5drbOCGi7q2A30T4XobA6pw', 'P', '200', '2016-04-22 08:46:14', '2016-07-22 13:27:47', NULL),
(3, 'dirut@mail.com', '$2y$10$UW0THjM3mkUkB.YI4lkW9unWuyDG1jsiVCvE3H3C2ZTWcv7uzEz3i', 'Y2sFByDH8KL7vWEqtAPrYNOPQEtdMqEZXZ9HjGXq9C8Gu8yfESSFcREDLElY', 'D', '200', '2016-06-30 17:12:31', '2016-07-22 13:23:24', NULL),
(10, 'dirut2@gmail.com', '$2y$10$pByyBk5xwhVNKMz2r1W3..mXaRtI5bP7wIDhMI5EjOm6nHc0y/P0e', NULL, 'D', '200', '2016-07-02 16:05:14', '2016-07-02 16:07:27', NULL),
(11, 'dirut3@gmail.com', '$2y$10$SZUIqaR9JW9DeQpnrSGQDOFQ/AaHsnEGg2u4PFlTQBmPXjGbcI4mu', 'SWyOq5Nwje2HTK45EKn5j11wEcs5fQzoeQD5ybcXb1aml3sIwVuTJPjvQFRD', 'D', '200', '2016-07-02 16:08:41', '2016-07-12 14:11:51', NULL),
(12, 'operator2@gmail.com', '$2y$10$iP.LCHuXMFEJPQreMzETb.Epqo7HB7vqCxYL.ZY1yZitEEV3DvbKq', 'G9bQlGH30RiTdxrgmMgG2LWVeNJbOwK8TiNUHHMwvthBmQVQ3fXyLyvsmQzi', 'O', '200', '2016-07-02 16:24:43', '2016-07-12 14:05:40', NULL),
(13, 'petugas2@gmail.com', '$2y$10$6XgAlX95J3xndWK00p0WyuOD/faYoBAroK5D/QISngIFGEqufyNc6', NULL, 'P', '200', '2016-07-02 16:44:33', '2016-07-02 16:44:33', NULL),
(14, 'wijaya.imd@gmail.com', '$2y$10$D77DNKh3.QuPR0vQJLDBuO8hsLNYXAjIvW0Q7pISInhnyOnchcla2', NULL, 'O', '200', '2016-07-02 16:59:29', '2016-07-02 16:59:29', NULL);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `dagang`
--
ALTER TABLE `dagang`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_dagang_komuditas` (`id_komoditas`),
ADD KEY `FK_dagang_pasar` (`id_pasar`);
--
-- Indexes for table `komoditas`
--
ALTER TABLE `komoditas`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `nama_komoditas` (`nama_komoditas`);
--
-- Indexes for table `pasar`
--
ALTER TABLE `pasar`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`),
ADD KEY `password_resets_token_index` (`token`);
--
-- Indexes for table `pegawai`
--
ALTER TABLE `pegawai`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_pegawai_users` (`id_users`);
--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `permissions_slug_unique` (`slug`);
--
-- Indexes for table `permission_role`
--
ALTER TABLE `permission_role`
ADD PRIMARY KEY (`id`),
ADD KEY `permission_role_permission_id_index` (`permission_id`),
ADD KEY `permission_role_role_id_index` (`role_id`);
--
-- Indexes for table `pungutan`
--
ALTER TABLE `pungutan`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pungutan_bulanan`
--
ALTER TABLE `pungutan_bulanan`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_pungutan_bulanan_pungutan` (`id_pungutan`);
--
-- Indexes for table `pungutan_harian`
--
ALTER TABLE `pungutan_harian`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_pungutan_harian_pungutan` (`id_pungutan`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `roles_slug_unique` (`slug`);
--
-- Indexes for table `role_user`
--
ALTER TABLE `role_user`
ADD PRIMARY KEY (`id`),
ADD KEY `role_user_role_id_index` (`role_id`),
ADD KEY `role_user_user_id_index` (`user_id`);
--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tarif`
--
ALTER TABLE `tarif`
ADD PRIMARY KEY (`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 `komoditas`
--
ALTER TABLE `komoditas`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `permission_role`
--
ALTER TABLE `permission_role`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pungutan`
--
ALTER TABLE `pungutan`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT for table `pungutan_bulanan`
--
ALTER TABLE `pungutan_bulanan`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `pungutan_harian`
--
ALTER TABLE `pungutan_harian`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `role_user`
--
ALTER TABLE `role_user`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `tarif`
--
ALTER TABLE `tarif`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
--
-- Ketidakleluasaan untuk tabel `dagang`
--
ALTER TABLE `dagang`
ADD CONSTRAINT `FK_dagang_komoditas` FOREIGN KEY (`id_komoditas`) REFERENCES `komoditas` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `FK_dagang_pasar` FOREIGN KEY (`id_pasar`) REFERENCES `pasar` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Ketidakleluasaan untuk tabel `pegawai`
--
ALTER TABLE `pegawai`
ADD CONSTRAINT `FK_pegawai_users` FOREIGN KEY (`id_users`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Ketidakleluasaan untuk tabel `pungutan_bulanan`
--
ALTER TABLE `pungutan_bulanan`
ADD CONSTRAINT `FK_pungutan_bulanan_pungutan` FOREIGN KEY (`id_pungutan`) REFERENCES `pungutan` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Ketidakleluasaan untuk tabel `pungutan_harian`
--
ALTER TABLE `pungutan_harian`
ADD CONSTRAINT `FK_pungutan_harian_pungutan` FOREIGN KEY (`id_pungutan`) REFERENCES `pungutan` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
SELECT
CONCAT(Name, "(", SUBSTR(Occupation, 1, 1), ")")
FROM
OCCUPATIONS
ORDER BY
Name;
SELECT
CONCAT("There are a total of ", COUNT(Occupation), " ", LOWER(Occupation), "s.")
FROM
OCCUPATIONS
GROUP BY
Occupation
ORDER BY
COUNT(Occupation), Occupation;
|
CREATE TABLE [dbo].[sqlwatch_logger_xes_query_processing]
(
[event_time] datetime,
[max_workers] bigint,
[workers_created] bigint,
[idle_workers] bigint,
[pending_tasks] bigint,
[unresolvable_deadlocks] int,
[deadlocked_scheduler] int,
[snapshot_time] datetime2(0) not null,
[snapshot_type_id] tinyint not null constraint df_sqlwatch_logger_xes_query_processing_type default (1) ,
[sql_instance] varchar(32) not null constraint df_sqlwatch_logger_xes_query_processing_sql_instance default (@@SERVERNAME),
constraint fk_logger_xe_query_processing_snapshot_header foreign key ([snapshot_time],[sql_instance],[snapshot_type_id]) references [dbo].[sqlwatch_logger_snapshot_header]([snapshot_time],[sql_instance],[snapshot_type_id]) on delete cascade on update cascade,
constraint [pk_logger_xe_query_processing] primary key (
[snapshot_time], [snapshot_type_id], [sql_instance], [event_time]
),
constraint fk_sqlwatch_logger_xes_query_processing_server foreign key ([sql_instance])
references [dbo].[sqlwatch_meta_server] ([servername]) on delete cascade
)
go
--CREATE NONCLUSTERED INDEX idx_sqlwatch_xes_query_processing_001
--ON [dbo].[sqlwatch_logger_xes_query_processing] ([sql_instance])
--INCLUDE ([snapshot_time],[snapshot_type_id])
|
select id,nombre,fecha_nacimiento,nombre_contacto,telefono,tipo
from mascota
where id = :id
|
-- @testpoint:openGauss关键字exec(非保留),作为列名带反引号(合理报错)
drop table if exists exec_test;
create table exec_test(
c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer,
c_real real, c_double real,
c_decimal decimal(38), c_number number(38), c_numeric numeric(38),
c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000),
c_date date, c_datetime date, c_timestamp timestamp,
`exec` char(50)
)
PARTITION BY RANGE (c_integer)
(
partition P_20180121 values less than (0),
partition P_20190122 values less than (50000),
partition P_20200123 values less than (100000),
partition P_max values less than (maxvalue)
);
|
UPDATE activity_detail
SET cut_line_length_unit_type_code = 'KMT'
FROM (SELECT ad.activity_detail_id
FROM activity_detail ad
JOIN activity_summary_detail_xref asdx ON asdx.activity_detail_id = ad.activity_detail_id
JOIN activity_summary as2 ON as2.activity_summary_id = asdx.activity_summary_id
WHERE as2.activity_type_code = 'cut_lines_polarization_survey') AS cut_lines
WHERE cut_lines.activity_detail_id = activity_detail.activity_detail_id;
UPDATE activity_detail
SET length_unit_type_code = 'KMT'
FROM (SELECT ad.activity_detail_id
FROM activity_detail ad
JOIN activity_summary_detail_xref asdx ON asdx.activity_detail_id = ad.activity_detail_id
JOIN activity_summary as2 ON as2.activity_summary_id = asdx.activity_summary_id
WHERE as2.activity_type_code = 'exploration_access') AS cut_lines
WHERE cut_lines.activity_detail_id = activity_detail.activity_detail_id;
UPDATE activity_detail
SET length_unit_type_code = 'MTR'
,depth_unit_type_code = 'MTR'
,width_unit_type_code = 'MTR'
FROM (SELECT ad.activity_detail_id
FROM activity_detail ad
JOIN activity_summary_detail_xref asdx ON asdx.activity_detail_id = ad.activity_detail_id
JOIN activity_summary as2 ON as2.activity_summary_id = asdx.activity_summary_id
WHERE as2.activity_type_code = 'settling_pond') AS cut_lines
WHERE cut_lines.activity_detail_id = activity_detail.activity_detail_id;
UPDATE activity_detail
SET length_unit_type_code = 'MTR'
,height_unit_type_code = 'MTR'
,width_unit_type_code = 'MTR'
FROM (SELECT ad.activity_detail_id
FROM activity_detail ad
JOIN activity_summary_detail_xref asdx ON asdx.activity_detail_id = ad.activity_detail_id
JOIN activity_summary as2 ON as2.activity_summary_id = asdx.activity_summary_id
WHERE as2.activity_type_code = 'underground_exploration') AS cut_lines
WHERE cut_lines.activity_detail_id = activity_detail.activity_detail_id;
UPDATE activity_detail
SET length_unit_type_code = 'MTR'
,width_unit_type_code = 'MTR'
FROM (SELECT ad.activity_detail_id
FROM activity_detail ad
JOIN activity_summary_detail_xref asdx ON asdx.activity_detail_id = ad.activity_detail_id
JOIN activity_summary as2 ON as2.activity_summary_id = asdx.activity_summary_id
WHERE as2.activity_type_code = 'placer_operation') AS cut_lines
WHERE cut_lines.activity_detail_id = activity_detail.activity_detail_id;
|
0|0 - Continuada por
1|1 - Continuada en parte por
2|2 - Reemplazada por
3|3 - Reemplaza en parte por
4|4 - Absobida por
5|5 - Absorbida en parte por
6|6 - Dividida en
y
7|7 - Se fusionó con
para formar
8|8 - Volvió a ser
|
USE dqlab;
CREATE TABLE IF NOT EXISTS invoice (
`invoice_id` INT,
`invoice_code` VARCHAR(15) CHARACTER SET utf8,
`customer_id` INT,
`invoice_date` DATETIME,
`product_id` INT,
`total_price` INT,
`pinalty` VARCHAR(10) CHARACTER SET utf8
);
INSERT INTO
invoice
VALUES
(
1,
'INV-43378-1',
1,
'2018-10-05 00:00:00',
10001,
100000,
'NULL'
),
(
2,
'INV-43379-2',
2,
'2018-10-06 00:00:00',
10001,
100000,
'NULL'
),
(
3,
'INV-43380-3',
3,
'2018-10-07 00:00:00',
10003,
300000,
'NULL'
),
(
4,
'INV-43381-4',
4,
'2018-10-08 00:00:00',
10001,
100000,
'NULL'
),
(
5,
'INV-43382-5',
5,
'2018-10-09 00:00:00',
10003,
300000,
'NULL'
),
(
6,
'INV-43383-6',
6,
'2018-10-10 00:00:00',
10004,
500000,
'NULL'
),
(
7,
'INV-43384-7',
7,
'2018-10-11 00:00:00',
10002,
250000,
'NULL'
),
(
8,
'INV-43385-8',
8,
'2018-10-12 00:00:00',
10003,
300000,
'NULL'
),
(
9,
'INV-43386-9',
9,
'2018-10-13 00:00:00',
10002,
250000,
'NULL'
),
(
10,
'INV-43387-10',
10,
'2018-10-14 00:00:00',
10002,
250000,
'NULL'
),
(
11,
'INV-43388-11',
11,
'2018-10-15 00:00:00',
10002,
250000,
'NULL'
),
(
12,
'INV-43389-12',
12,
'2018-10-16 00:00:00',
10002,
250000,
'NULL'
),
(
13,
'INV-43390-13',
13,
'2018-10-17 00:00:00',
10002,
250000,
'NULL'
),
(
14,
'INV-43391-14',
14,
'2018-10-18 00:00:00',
10004,
500000,
'NULL'
),
(
15,
'INV-43392-15',
15,
'2018-10-19 00:00:00',
10002,
250000,
'NULL'
),
(
16,
'INV-43393-16',
16,
'2018-10-20 00:00:00',
10002,
250000,
'NULL'
),
(
17,
'INV-43394-17',
17,
'2018-10-21 00:00:00',
10002,
250000,
'NULL'
),
(
18,
'INV-43395-18',
18,
'2018-10-22 00:00:00',
10001,
100000,
'NULL'
),
(
19,
'INV-43396-19',
19,
'2018-10-23 00:00:00',
10001,
100000,
'NULL'
),
(
20,
'INV-43397-20',
20,
'2018-10-24 00:00:00',
10002,
250000,
'NULL'
),
(
21,
'INV-43398-21',
21,
'2018-10-25 00:00:00',
10005,
1200000,
'NULL'
),
(
22,
'INV-43398-22',
22,
'2018-10-25 00:00:00',
10003,
300000,
'NULL'
),
(
23,
'INV-43398-23',
23,
'2018-10-25 00:00:00',
10002,
250000,
'NULL'
),
(
24,
'INV-43398-24',
24,
'2018-10-25 00:00:00',
10002,
250000,
'NULL'
),
(
25,
'INV-43399-25',
25,
'2018-10-26 00:00:00',
10002,
250000,
'NULL'
),
(
26,
'INV-43399-26',
26,
'2018-10-26 00:00:00',
10003,
300000,
'NULL'
),
(
27,
'INV-43399-27',
27,
'2018-10-26 00:00:00',
10002,
250000,
'NULL'
),
(
28,
'INV-43400-28',
28,
'2018-10-27 00:00:00',
10002,
250000,
'NULL'
),
(
29,
'INV-43400-29',
29,
'2018-10-27 00:00:00',
10004,
500000,
'NULL'
),
(
30,
'INV-43400-30',
30,
'2018-10-27 00:00:00',
10004,
500000,
'NULL'
),
(
31,
'INV-43400-31',
31,
'2018-10-27 00:00:00',
10003,
300000,
'NULL'
),
(
32,
'INV-43400-32',
32,
'2018-10-27 00:00:00',
10002,
250000,
'NULL'
),
(
33,
'INV-43400-33',
33,
'2018-10-27 00:00:00',
10003,
300000,
'NULL'
),
(
34,
'INV-43401-34',
34,
'2018-10-28 00:00:00',
10002,
250000,
'NULL'
),
(
35,
'INV-43401-35',
35,
'2018-10-28 00:00:00',
10002,
250000,
'NULL'
),
(
36,
'INV-43401-36',
36,
'2018-10-28 00:00:00',
10002,
250000,
'NULL'
),
(
37,
'INV-43401-37',
37,
'2018-10-28 00:00:00',
10002,
250000,
'NULL'
),
(
38,
'INV-43401-38',
38,
'2018-10-28 00:00:00',
10003,
300000,
'NULL'
),
(
39,
'INV-43402-39',
39,
'2018-10-29 00:00:00',
10005,
1200000,
'NULL'
),
(
40,
'INV-43402-40',
40,
'2018-10-29 00:00:00',
10002,
250000,
'NULL'
),
(
41,
'INV-43402-41',
41,
'2018-10-29 00:00:00',
10003,
300000,
'NULL'
),
(
42,
'INV-43402-42',
42,
'2018-10-29 00:00:00',
10004,
500000,
'NULL'
),
(
43,
'INV-43402-43',
43,
'2018-10-29 00:00:00',
10003,
300000,
'NULL'
),
(
44,
'INV-43402-44',
44,
'2018-10-29 00:00:00',
10004,
500000,
'NULL'
),
(
45,
'INV-43402-45',
45,
'2018-10-29 00:00:00',
10005,
1200000,
'NULL'
),
(
46,
'INV-43402-46',
46,
'2018-10-29 00:00:00',
10002,
250000,
'NULL'
),
(
47,
'INV-43405-47',
47,
'2018-11-01 00:00:00',
10003,
300000,
'NULL'
),
(
48,
'INV-43405-48',
48,
'2018-11-01 00:00:00',
10004,
500000,
'NULL'
),
(
49,
'INV-43405-49',
49,
'2018-11-01 00:00:00',
10003,
300000,
'NULL'
),
(
50,
'INV-43405-50',
50,
'2018-11-01 00:00:00',
10002,
250000,
'NULL'
),
(
51,
'INV-43424-51',
1,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
52,
'INV-43424-52',
2,
'2018-11-20 00:00:00',
10001,
100000,
'NULL'
),
(
53,
'INV-43424-53',
3,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
54,
'INV-43424-54',
4,
'2018-11-20 00:00:00',
10001,
100000,
'NULL'
),
(
55,
'INV-43424-55',
5,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
56,
'INV-43424-56',
6,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
57,
'INV-43424-57',
7,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
58,
'INV-43424-58',
8,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
59,
'INV-43424-59',
9,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
60,
'INV-43424-60',
10,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
61,
'INV-43424-61',
11,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
62,
'INV-43424-62',
12,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
63,
'INV-43424-63',
13,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
64,
'INV-43424-64',
14,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
65,
'INV-43424-65',
15,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
66,
'INV-43424-66',
16,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
67,
'INV-43424-67',
17,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
68,
'INV-43424-68',
18,
'2018-11-20 00:00:00',
10001,
100000,
'NULL'
),
(
69,
'INV-43424-69',
19,
'2018-11-20 00:00:00',
10001,
100000,
'NULL'
),
(
70,
'INV-43424-70',
20,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
71,
'INV-43424-71',
21,
'2018-11-20 00:00:00',
10005,
1200000,
'NULL'
),
(
72,
'INV-43424-72',
22,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
73,
'INV-43424-73',
23,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
74,
'INV-43424-74',
24,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
75,
'INV-43424-75',
25,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
76,
'INV-43424-76',
26,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
77,
'INV-43424-77',
27,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
78,
'INV-43424-78',
28,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
79,
'INV-43424-79',
29,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
80,
'INV-43424-80',
30,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
81,
'INV-43424-81',
31,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
82,
'INV-43424-82',
32,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
83,
'INV-43424-83',
33,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
84,
'INV-43424-84',
34,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
85,
'INV-43424-85',
35,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
86,
'INV-43424-86',
36,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
87,
'INV-43424-87',
37,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
88,
'INV-43424-88',
38,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
89,
'INV-43424-89',
39,
'2018-11-20 00:00:00',
10005,
1200000,
'NULL'
),
(
90,
'INV-43424-90',
40,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
91,
'INV-43424-91',
41,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
92,
'INV-43424-92',
42,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
93,
'INV-43424-93',
43,
'2018-11-20 00:00:00',
10003,
300000,
'NULL'
),
(
94,
'INV-43424-94',
44,
'2018-11-20 00:00:00',
10004,
500000,
'NULL'
),
(
95,
'INV-43424-95',
45,
'2018-11-20 00:00:00',
10005,
1200000,
'NULL'
),
(
96,
'INV-43424-96',
46,
'2018-11-20 00:00:00',
10002,
250000,
'NULL'
),
(
97,
'INV-43454-97',
47,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
98,
'INV-43454-98',
48,
'2018-12-20 00:00:00',
10004,
500000,
'NULL'
),
(
99,
'INV-43454-99',
49,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
100,
'INV-43454-100',
50,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
101,
'INV-43454-101',
1,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
102,
'INV-43454-102',
2,
'2018-12-20 00:00:00',
10001,
100000,
'NULL'
),
(
103,
'INV-43454-103',
3,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
104,
'INV-43454-104',
4,
'2018-12-20 00:00:00',
10001,
100000,
'NULL'
),
(
105,
'INV-43454-105',
5,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
106,
'INV-43454-106',
6,
'2018-12-20 00:00:00',
10004,
500000,
'NULL'
),
(
107,
'INV-43454-107',
7,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
108,
'INV-43454-108',
8,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
109,
'INV-43454-109',
9,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
110,
'INV-43454-110',
10,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
111,
'INV-43454-111',
11,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
112,
'INV-43454-112',
12,
'2018-12-20 00:00:00',
10004,
500000,
'NULL'
),
(
113,
'INV-43454-113',
13,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
114,
'INV-43454-114',
14,
'2018-12-20 00:00:00',
10004,
500000,
'NULL'
),
(
115,
'INV-43454-115',
15,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
116,
'INV-43454-116',
16,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
117,
'INV-43454-117',
17,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
118,
'INV-43454-118',
18,
'2018-12-20 00:00:00',
10001,
100000,
'NULL'
),
(
119,
'INV-43454-119',
19,
'2018-12-20 00:00:00',
10001,
100000,
'NULL'
),
(
120,
'INV-43454-120',
20,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
121,
'INV-43454-121',
21,
'2018-12-20 00:00:00',
10005,
1200000,
'NULL'
),
(
122,
'INV-43454-122',
22,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
123,
'INV-43454-123',
23,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
124,
'INV-43454-124',
24,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
125,
'INV-43454-125',
25,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
126,
'INV-43454-126',
26,
'2018-12-20 00:00:00',
10003,
300000,
'NULL'
),
(
127,
'INV-43454-127',
27,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
128,
'INV-43454-128',
28,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
129,
'INV-43454-129',
29,
'2018-12-20 00:00:00',
10004,
500000,
'NULL'
),
(
130,
'INV-43454-130',
30,
'2018-12-20 00:00:00',
10004,
500000,
'NULL'
),
(
131,
'INV-43454-131',
31,
'2018-12-20 00:00:00',
10004,
500000,
'NULL'
),
(
132,
'INV-43454-132',
32,
'2018-12-20 00:00:00',
10002,
250000,
'NULL'
),
(
133,
'INV-43454-133',
33,
'2018-12-20 00:00:00',
10003,
300000,
'30000.0'
),
(
134,
'INV-43454-134',
34,
'2018-12-20 00:00:00',
10002,
250000,
'25000.0'
),
(
135,
'INV-43454-135',
35,
'2018-12-20 00:00:00',
10002,
250000,
'25000.0'
),
(
136,
'INV-43454-136',
36,
'2018-12-20 00:00:00',
10002,
250000,
'25000.0'
),
(
137,
'INV-43454-137',
37,
'2018-12-20 00:00:00',
10002,
250000,
'25000.0'
),
(
138,
'INV-43454-138',
38,
'2018-12-20 00:00:00',
10003,
300000,
'30000.0'
),
(
139,
'INV-43454-139',
39,
'2018-12-20 00:00:00',
10005,
1200000,
'120000.0'
),
(
140,
'INV-43454-140',
40,
'2018-12-20 00:00:00',
10003,
300000,
'30000.0'
),
(
141,
'INV-43454-141',
41,
'2018-12-20 00:00:00',
10003,
300000,
'30000.0'
),
(
142,
'INV-43454-142',
42,
'2018-12-20 00:00:00',
10004,
500000,
'50000.0'
),
(
143,
'INV-43454-143',
43,
'2018-12-20 00:00:00',
10003,
300000,
'30000.0'
),
(
144,
'INV-43454-144',
44,
'2018-12-20 00:00:00',
10004,
500000,
'50000.0'
),
(
145,
'INV-43454-145',
45,
'2018-12-20 00:00:00',
10005,
1200000,
'120000.0'
),
(
146,
'INV-43454-146',
46,
'2018-12-20 00:00:00',
10002,
250000,
'25000.0'
),
(
147,
'INV-43485-147',
47,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
148,
'INV-43485-148',
48,
'2019-01-20 00:00:00',
10004,
500000,
'NULL'
),
(
149,
'INV-43485-149',
49,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
150,
'INV-43485-150',
50,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
151,
'INV-43485-151',
1,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
152,
'INV-43485-152',
2,
'2019-01-20 00:00:00',
10001,
100000,
'NULL'
),
(
153,
'INV-43485-153',
3,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
154,
'INV-43485-154',
4,
'2019-01-20 00:00:00',
10001,
100000,
'NULL'
),
(
155,
'INV-43485-155',
5,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
156,
'INV-43485-156',
6,
'2019-01-20 00:00:00',
10004,
500000,
'NULL'
),
(
157,
'INV-43485-157',
7,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
158,
'INV-43485-158',
8,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
159,
'INV-43485-159',
9,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
160,
'INV-43485-160',
10,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
161,
'INV-43485-161',
11,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
162,
'INV-43485-162',
12,
'2019-01-20 00:00:00',
10004,
500000,
'NULL'
),
(
163,
'INV-43485-163',
13,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
164,
'INV-43485-164',
14,
'2019-01-20 00:00:00',
10004,
500000,
'NULL'
),
(
165,
'INV-43485-165',
15,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
166,
'INV-43485-166',
16,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
167,
'INV-43485-167',
17,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
168,
'INV-43485-168',
18,
'2019-01-20 00:00:00',
10001,
100000,
'NULL'
),
(
169,
'INV-43485-169',
19,
'2019-01-20 00:00:00',
10001,
100000,
'NULL'
),
(
170,
'INV-43485-170',
20,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
171,
'INV-43485-171',
21,
'2019-01-20 00:00:00',
10005,
1200000,
'NULL'
),
(
172,
'INV-43485-172',
22,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
173,
'INV-43485-173',
23,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
174,
'INV-43485-174',
24,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
175,
'INV-43485-175',
25,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
176,
'INV-43485-176',
26,
'2019-01-20 00:00:00',
10003,
300000,
'NULL'
),
(
177,
'INV-43485-177',
27,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
178,
'INV-43485-178',
28,
'2019-01-20 00:00:00',
10002,
250000,
'NULL'
),
(
179,
'INV-43485-179',
29,
'2019-01-20 00:00:00',
10004,
500000,
'NULL'
),
(
180,
'INV-43485-180',
30,
'2019-01-20 00:00:00',
10004,
500000,
'NULL'
),
(
181,
'INV-43485-181',
31,
'2019-01-20 00:00:00',
10004,
500000,
'50000.0'
),
(
182,
'INV-43485-182',
32,
'2019-01-20 00:00:00',
10002,
250000,
'25000.0'
),
(
183,
'INV-43485-183',
33,
'2019-01-20 00:00:00',
10003,
300000,
'33000.0'
),
(
184,
'INV-43485-184',
34,
'2019-01-20 00:00:00',
10002,
250000,
'27500.0'
),
(
185,
'INV-43485-185',
35,
'2019-01-20 00:00:00',
10002,
250000,
'27500.0'
),
(
186,
'INV-43485-186',
36,
'2019-01-20 00:00:00',
10002,
250000,
'27500.0'
),
(
187,
'INV-43485-187',
37,
'2019-01-20 00:00:00',
10002,
250000,
'27500.0'
),
(
188,
'INV-43485-188',
38,
'2019-01-20 00:00:00',
10003,
300000,
'33000.0'
),
(
189,
'INV-43485-189',
39,
'2019-01-20 00:00:00',
10005,
1200000,
'132000.0'
),
(
190,
'INV-43485-190',
40,
'2019-01-20 00:00:00',
10003,
300000,
'33000.0'
),
(
191,
'INV-43485-191',
41,
'2019-01-20 00:00:00',
10003,
300000,
'33000.0'
),
(
192,
'INV-43485-192',
42,
'2019-01-20 00:00:00',
10004,
500000,
'55000.0'
),
(
193,
'INV-43485-193',
43,
'2019-01-20 00:00:00',
10003,
300000,
'33000.0'
),
(
194,
'INV-43485-194',
44,
'2019-01-20 00:00:00',
10004,
500000,
'55000.0'
),
(
195,
'INV-43485-195',
45,
'2019-01-20 00:00:00',
10005,
1200000,
'132000.0'
),
(
196,
'INV-43485-196',
46,
'2019-01-20 00:00:00',
10002,
250000,
'27500.0'
),
(
197,
'INV-43516-197',
47,
'2019-02-20 00:00:00',
10003,
300000,
'NULL'
),
(
198,
'INV-43516-198',
48,
'2019-02-20 00:00:00',
10004,
500000,
'NULL'
),
(
199,
'INV-43516-199',
49,
'2019-02-20 00:00:00',
10003,
300000,
'NULL'
),
(
200,
'INV-43516-200',
50,
'2019-02-20 00:00:00',
10002,
250000,
'NULL'
);
|
SET ANSI_NULLS ON;
SET ANSI_PADDING ON;
SET ANSI_WARNINGS ON;
SET ANSI_NULL_DFLT_ON ON;
SET CONCAT_NULL_YIELDS_NULL ON;
SET QUOTED_IDENTIFIER ON;
go
/************************************
* Tables to drop *
*************************************/
-- Scribe needs to recreate these tables, however the fields we needed in the views will still be present
DROP TABLE dbo.Account;
DROP TABLE dbo.Lead;
DROP TABLE dbo.Opportunity;
DROP TABLE dbo.OpportunityLineItem;
DROP TABLE dbo.OpportunityStage;
DROP TABLE dbo.Product2;
DROP TABLE dbo.[User];
DROP TABLE dbo.[UserRole];
DROP TABLE dbo.Scribe_ReplicationStatus;
/************************************
* Tables to truncate *
*************************************/
|
SELECT COUNT(*)
FROM site AS s,
so_user AS u1,
tag AS t1,
tag_question AS tq1,
question AS q1,
badge AS b1,
account AS acc
WHERE s.site_id = u1.site_id
AND s.site_id = b1.site_id
AND s.site_id = t1.site_id
AND s.site_id = tq1.site_id
AND s.site_id = q1.site_id
AND t1.id = tq1.tag_id
AND q1.id = tq1.question_id
AND q1.owner_user_id = u1.id
AND acc.id = u1.account_id
AND b1.user_id = u1.id
AND (q1.view_count >= 100)
AND (q1.view_count <= 100000)
AND s.site_name = 'stackoverflow'
AND (t1.name in ('android-linearlayout',
'c#',
'constants',
'deprecated',
'ecmascript-5',
'google-docs',
'google-glass',
'less',
'operators',
'release-management',
'windows-10-mobile',
'yii2-advanced-app'))
AND (LOWER(acc.website_url) LIKE ('%in'))
|
CREATE DATABASE go_orm_example CHARACTER SET utf8mb4;
|
-- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 31, 2020 at 04:41 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.28
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: `interviewdb`
--
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`catId` int(11) NOT NULL,
`catName` varchar(100) NOT NULL,
`createdDate` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`catId`, `catName`, `createdDate`) VALUES
(1, 'General', '2020-10-30'),
(2, 'Service', '2020-10-30'),
(3, 'Support', '2020-10-30');
-- --------------------------------------------------------
--
-- Table structure for table `departments`
--
CREATE TABLE `departments` (
`deptId` int(11) NOT NULL,
`deptName` varchar(100) NOT NULL,
`createdDate` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `departments`
--
INSERT INTO `departments` (`deptId`, `deptName`, `createdDate`) VALUES
(1, 'Support', '2020-10-30'),
(2, 'Marketing', '2020-10-30');
-- --------------------------------------------------------
--
-- Table structure for table `login`
--
CREATE TABLE `login` (
`userId` int(11) NOT NULL,
`userName` varchar(50) NOT NULL,
`userLastName` varchar(100) NOT NULL,
`userEmail` varchar(100) NOT NULL,
`userPwd` varchar(20) NOT NULL,
`contactId` varchar(200) NOT NULL,
`createdDateTime` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `login`
--
INSERT INTO `login` (`userId`, `userName`, `userLastName`, `userEmail`, `userPwd`, `contactId`, `createdDateTime`) VALUES
(1, 'User1', 'user1', 'user1@gmail.com', '12345', '7189000002900009', '2020-10-29'),
(2, 'User2', 'user2', 'user2@gmail.com', '12345', '7189000002907001', '2020-10-29'),
(3, 'User3', 'user3', 'user3@gmail.com', '12345', '7189000002904077', '2020-10-30');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`catId`);
--
-- Indexes for table `departments`
--
ALTER TABLE `departments`
ADD PRIMARY KEY (`deptId`);
--
-- Indexes for table `login`
--
ALTER TABLE `login`
ADD PRIMARY KEY (`userId`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `login`
--
ALTER TABLE `login`
MODIFY `userId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
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 "Generico_4"(
"col_00" varchar(37),
"col_01" varchar(19),
"col_02" smallint NOT NULL,
"col_03" varchar(30),
"col_04" varchar(47) NOT NULL,
"col_05" varchar(21),
"col_06" integer NOT NULL,
"col_07" smallint NOT NULL,
"col_08" varchar(54),
"col_09" varchar(77),
"col_10" smallint,
"col_11" smallint,
"col_12" smallint NOT NULL,
"col_13" smallint,
"col_14" smallint,
"col_15" varchar(3),
"col_16" date NOT NULL,
"col_17" varchar(25),
"col_18" varchar(22),
"col_19" varchar(9) NOT NULL,
"col_20" integer,
"col_21" double NOT NULL,
"col_22" double NOT NULL,
"col_23" varchar(37) NOT NULL,
"col_24" varchar(19) NOT NULL,
"col_25" varchar(7) NOT NULL,
"col_26" smallint NOT NULL,
"col_27" smallint NOT NULL,
"col_28" smallint NOT NULL,
"col_29" smallint,
"col_30" varchar(90),
"col_31" varchar(46) NOT NULL,
"col_32" smallint,
"col_33" varchar(40) NOT NULL,
"col_34" varchar(84),
"col_35" varchar(41) NOT NULL,
"col_36" varchar(1),
"col_37" varchar(77),
"col_38" varchar(23) NOT NULL,
"col_39" varchar(5),
"col_40" varchar(2),
"col_41" varchar(31),
"col_42" varchar(57)
);
|
--
-- Copyright 2010-2016 the original author or authors.
--
-- Licensed 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.
--
-- // create app state token table
-- Migration SQL that makes the change goes here.
CREATE TABLE core.app_state_token
(
id bigserial NOT NULL,
name character varying UNIQUE NOT NULL,
description character varying,
value character varying,
last_edited_date bigint,
PRIMARY KEY (id)
)
WITH (
OIDS = FALSE
) TABLESPACE ${core_tablespace};
-- //@UNDO
-- SQL to undo the change goes here.
DROP TABLE core.app_state_token;
|
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 14, 2021 at 06:42 PM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 8.0.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `sistem-administrasi-sekolah`
--
-- --------------------------------------------------------
--
-- 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` (
`nama` varchar(100) DEFAULT NULL,
`nip` int(20) NOT NULL,
`jeniskelamin` enum('Laki-laki','Perempuan') NOT NULL,
`alamat` varchar(100) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `guru`
--
INSERT INTO `guru` (`nama`, `nip`, `jeniskelamin`, `alamat`, `created_at`, `updated_at`) VALUES
('Susi', 2021005678, 'Perempuan', 'Jl. Rambutan', '2021-06-14 08:50:43', '2021-06-14 08:50:43'),
('Rayhan', 2021134080, 'Laki-laki', 'Jl. Banaran', '2021-06-14 08:58:16', '2021-06-14 08:58:16'),
('Adella', 2021338902, 'Perempuan', 'Jl. Sirandu', '2021-06-14 08:54:41', '2021-06-14 08:54:41'),
('Budi', 2021379087, 'Laki-laki', 'Jl. Mangga', '2021-06-14 08:51:29', '2021-06-14 08:51:29'),
('Fuad', 2021389002, 'Laki-laki', 'Jl. Cokro', '2021-06-14 09:02:32', '2021-06-14 09:02:32'),
('Henny', 2021441250, 'Perempuan', 'Jl. Nangka', '2021-06-14 09:00:30', '2021-06-14 09:00:30'),
('Anton', 2021450908, 'Laki-laki', 'Jl. Cokro', '2021-06-14 08:55:13', '2021-06-14 08:55:13'),
('Virna', 2021512009, 'Perempuan', 'Jl. Gahari', '2021-06-14 08:56:58', '2021-06-14 08:56:58'),
('Mila', 2021621224, 'Perempuan', 'Jl. Waru', '2021-06-14 08:53:40', '2021-06-14 08:53:40'),
('Gita', 2021625331, 'Perempuan', 'Jl. Rusak', '2021-06-14 09:03:08', '2021-06-14 09:03:08'),
('Arya', 2021653422, 'Laki-laki', 'Jl. Pisang', '2021-06-14 08:53:00', '2021-06-14 08:53:00'),
('Elena', 2021654009, 'Perempuan', 'Jl. Kalimasada', '2021-06-14 09:02:00', '2021-06-14 09:02:00'),
('Ramzi', 2021678943, 'Laki-laki', 'Jl. Manggis', '2021-06-14 08:52:15', '2021-06-14 08:52:15'),
('Sulis', 2021721321, 'Perempuan', 'Jl. Kalimasada', '2021-06-14 08:59:44', '2021-06-14 08:59:44'),
('Kirno', 2021760900, 'Laki-laki', 'Jl. Cempaka', '2021-06-14 08:59:02', '2021-06-14 08:59:02');
-- --------------------------------------------------------
--
-- Table structure for table `karyawan`
--
CREATE TABLE `karyawan` (
`nama` varchar(100) DEFAULT NULL,
`nip` int(20) NOT NULL,
`jeniskelamin` enum('Laki-laki','Perempuan') NOT NULL,
`alamat` varchar(100) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `karyawan`
--
INSERT INTO `karyawan` (`nama`, `nip`, `jeniskelamin`, `alamat`, `created_at`, `updated_at`) VALUES
('Airin', 1981062919, 'Perempuan', 'Jl. Pertama', '2021-06-14 08:31:36', '2021-06-14 08:31:36'),
('Rendi', 1983053076, 'Laki-laki', 'Jl. Rindu', '2021-06-14 08:37:48', '2021-06-14 08:37:48'),
('Raini', 1984102346, 'Perempuan', 'Jl. Santai', '2021-06-14 08:32:26', '2021-06-14 08:32:26'),
('Bara', 1986112254, 'Laki-laki', 'Jl. Rute', '2021-06-14 08:33:10', '2021-06-14 08:33:10'),
('Faiz', 1987092397, 'Laki-laki', 'Jl. Kedua', '2021-06-14 08:39:22', '2021-06-14 08:39:22'),
('Sendi', 1987121423, 'Perempuan', 'Jl. Bersama', '2021-06-14 08:33:53', '2021-06-14 08:33:53'),
('Resa', 1988090892, 'Perempuan', 'Jl. Berhenti', '2021-06-14 08:40:19', '2021-06-14 08:40:19'),
('Rara', 1991062148, 'Perempuan', 'Jl. Sania', '2021-06-14 08:34:32', '2021-06-14 08:34:32'),
('Deki', 1992010288, 'Laki-laki', 'Jl. Sukaindah', '2021-06-14 08:29:36', '2021-06-14 08:30:45'),
('Amanda', 1992121868, 'Perempuan', 'Jl. Kasih', '2021-06-14 08:37:03', '2021-06-14 08:37:03'),
('Dendra', 1993042126, 'Laki-laki', 'Jl. Sukamaju', '2021-06-14 08:30:29', '2021-06-14 08:30:29'),
('Budi', 1995071498, 'Laki-laki', 'Jl. Sulit', '2021-06-14 08:35:11', '2021-06-14 08:35:11'),
('Ira', 1996032658, 'Perempuan', 'Jl. Kangen', '2021-06-14 08:38:38', '2021-06-14 08:38:38'),
('Surya', 1996071261, 'Laki-laki', 'Jl. Setia', '2021-06-14 08:41:47', '2021-06-14 08:41:47'),
('Elang', 1997082135, 'Laki-laki', 'Jl. Awan', '2021-06-14 08:36:24', '2021-06-14 08:36:24');
-- --------------------------------------------------------
--
-- 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);
-- --------------------------------------------------------
--
-- 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 `pembayaran`
--
CREATE TABLE `pembayaran` (
`id` int(15) NOT NULL,
`nis` int(15) NOT NULL,
`nama` varchar(100) DEFAULT NULL,
`kelas` varchar(10) NOT NULL,
`tgl_pembayaran` date NOT NULL,
`kode_pembayaran` varchar(100) NOT NULL,
`total_pembayaran` varchar(100) NOT NULL,
`jenis_pembayaran` varchar(100) NOT NULL,
`bukti_pembayaran` varchar(100) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `pembayaran`
--
INSERT INTO `pembayaran` (`id`, `nis`, `nama`, `kelas`, `tgl_pembayaran`, `kode_pembayaran`, `total_pembayaran`, `jenis_pembayaran`, `bukti_pembayaran`, `created_at`, `updated_at`) VALUES
(1, 1234567, NULL, '10', '2021-06-09', '23456', '23456', 'SPP', 'asdfgh.png', '2021-06-08 10:28:14', '2021-06-08 10:28:14');
-- --------------------------------------------------------
--
-- Table structure for table `presensi`
--
CREATE TABLE `presensi` (
`nip` int(20) DEFAULT NULL,
`id` int(20) UNSIGNED NOT NULL,
`user_id` int(20) NOT NULL,
`tgl` date NOT NULL,
`jammasuk` time DEFAULT NULL,
`jamkeluar` time DEFAULT NULL,
`jamkerja` time DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `presensi`
--
INSERT INTO `presensi` (`nip`, `id`, `user_id`, `tgl`, `jammasuk`, `jamkeluar`, `jamkerja`, `created_at`, `updated_at`) VALUES
(NULL, 2, 1, '2021-06-14', '14:51:55', '14:52:01', '00:00:06', '2021-06-14 00:51:55', '2021-06-14 00:52:01');
-- --------------------------------------------------------
--
-- Table structure for table `siswa`
--
CREATE TABLE `siswa` (
`nis` int(20) NOT NULL,
`id_kelas` varchar(20) NOT NULL,
`nama` varchar(100) DEFAULT NULL,
`jenis_kelamin` enum('Laki-laki','Perempuan') NOT NULL,
`alamat` varchar(100) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `siswa`
--
INSERT INTO `siswa` (`nis`, `id_kelas`, `nama`, `jenis_kelamin`, `alamat`, `created_at`, `updated_at`) VALUES
(213043001, 'X MIPA 1', 'Ahmad', 'Laki-laki', 'Jl. Sejahtera', '2021-06-14 08:08:04', '2021-06-14 08:15:03'),
(213043002, 'X MIPA 2', 'Alfina', 'Perempuan', 'Jl. Gaharu', '2021-06-14 08:11:12', '2021-06-14 08:15:16'),
(213043003, 'X MIPA 3', 'Ariqah', 'Perempuan', 'Jl. Mangga', '2021-06-14 08:11:40', '2021-06-14 08:11:40'),
(213043004, 'X MIPA 4', 'Arba\'an', 'Perempuan', 'Jl. in aja', '2021-06-14 08:12:16', '2021-06-14 08:15:42'),
(213043005, 'X MIPA 5', 'Samuel', 'Laki-laki', 'Jl. Manggis', '2021-06-14 08:12:38', '2021-06-14 08:15:53'),
(213043025, 'X IPS 3', 'Anya', 'Perempuan', 'Jl. Rambutan', '2021-06-14 09:39:49', '2021-06-14 09:39:49'),
(213044001, 'XI MIPA 1', 'Abay', 'Laki-laki', 'Jl. Sehati', '2021-06-14 08:16:49', '2021-06-14 08:16:49'),
(213044002, 'XI MIPA 2', 'Audrey', 'Perempuan', 'Jl. Cempaka Sari', '2021-06-14 08:18:02', '2021-06-14 08:18:02'),
(213044003, 'XI MIPA 3', 'Nova', 'Laki-laki', 'Jl. Belimbing', '2021-06-14 08:18:50', '2021-06-14 08:18:50'),
(213044004, 'XI MIPA 4', 'Diana', 'Perempuan', 'Jl. Seharian', '2021-06-14 08:19:24', '2021-06-14 08:19:24'),
(213044005, 'XI MIPA 5', 'Edo', 'Laki-laki', 'Jl. Kelengkeng', '2021-06-14 08:19:53', '2021-06-14 08:19:53'),
(213045001, 'XII MIPA 1', 'Vivin', 'Perempuan', 'Jl. Pete', '2021-06-14 08:20:49', '2021-06-14 08:20:49'),
(213045002, 'XII MIPA 2', 'Tasya', 'Perempuan', 'Jl. Cakrawala', '2021-06-14 08:21:31', '2021-06-14 08:21:31'),
(213045003, 'XII MIPA 3', 'Riyan', 'Laki-laki', 'Jl. Santai', '2021-06-14 08:22:52', '2021-06-14 08:22:52'),
(213045004, 'XII MIPA 4', 'Julian', 'Laki-laki', 'Jl. Sahara', '2021-06-14 08:23:42', '2021-06-14 08:23:42'),
(213045005, 'XII MIPA 5', 'Rangga', 'Laki-laki', 'Jl. Kenangan', '2021-06-14 08:24:20', '2021-06-14 08:24:20');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`level` enum('Admin','Guru','Karyawan','Siswa') 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`, `name`, `level`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Agus Bayu Pamungkas', 'Admin', 'abay@students.unnes.ac.id', '2021-06-08 10:25:54', '$2y$10$I0a/L3sehabg4KO0UoME/uEHrNJg6VVN3rEPs1mztYf15W.kQCPr6', NULL, '2021-06-08 10:25:54', '2021-06-08 10:25:54'),
(2, 'Ariqah Salma Intannisa', 'Admin', 'ariqahsalma@students.unnes.ac.id', '2021-06-14 07:56:52', '$2y$10$GAce7HYNm3gALnEQA/uvTOCqXptSNItxyDnpEu5eDJuUY4h2V2emq', NULL, '2021-06-14 07:56:52', '2021-06-14 07:56:52');
--
-- 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 (`nip`);
--
-- Indexes for table `karyawan`
--
ALTER TABLE `karyawan`
ADD PRIMARY KEY (`nip`);
--
-- 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 `pembayaran`
--
ALTER TABLE `pembayaran`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `presensi`
--
ALTER TABLE `presensi`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `siswa`
--
ALTER TABLE `siswa`
ADD PRIMARY KEY (`nis`);
--
-- 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=4;
--
-- AUTO_INCREMENT for table `pembayaran`
--
ALTER TABLE `pembayaran`
MODIFY `id` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `presensi`
--
ALTER TABLE `presensi`
MODIFY `id` int(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
DELETE FROM `ci_sessions`;
DELETE FROM `captcha`;
DELETE FROM `iplog_log`;
DELETE FROM `iplog_pages`;
DELETE FROM `iplog_ua`;
|
CREATE TABLE Payroll
(
PayrollId INTEGER NOT NULL UNIQUE IDENTITY(1,1),
PrcId INTEGER NOT NULL UNIQUE,
BudgetLevel NVARCHAR(255) NULL,
RPIO NVARCHAR(255) NULL,
BFY NVARCHAR(255) NULL,
FundCode NVARCHAR(255) NULL,
AhCode NVARCHAR(255) NULL,
OrgCode NVARCHAR(255) NULL,
RcCode NVARCHAR(255) NULL,
AccountCode NVARCHAR(255) NULL,
BocCode NVARCHAR(255) NULL,
Amount FLOAT NULL,
FundName NVARCHAR(255) NULL,
BocName NVARCHAR(255) NULL,
Division NVARCHAR(255) NULL,
DivisionName NVARCHAR(255) NULL,
ActivityCode NVARCHAR(255) NULL,
NpmCode NVARCHAR(255) NULL,
NpmName NVARCHAR(255) NULL,
ProgramProjectCode NVARCHAR(255) NULL,
ProgramProjectName NVARCHAR(255) NULL,
ProgramAreaCode NVARCHAR(255) NULL,
ProgramAreaName NVARCHAR(255) NULL,
GoalCode NVARCHAR(255) NULL,
GoalName NVARCHAR(255) NULL,
ObjectiveCode NVARCHAR(255) NULL,
ObjectiveName NVARCHAR(255) NULL,
AllocationRatio FLOAT NULL,
ChangeDate DATETIME NULL,
CONSTRAINT FK_Payroll
FOREIGN KEY (PrcId)
REFERENCES Allocations
);
|
ALTER TABLE simulation_runs
ADD results_data TEXT,
ADD status VARCHAR(64);
UPDATE simulation_runs
SET
results_data = IF(
JSON_TYPE(simulation_runs.model_runs->'$[0].results_data') = 'NULL',
NULL,
IF(
simulation_runs.model_runs->>'$[0].results_data' = '',
NULL,
simulation_runs.model_runs->>'$[0].results_data')),
status = simulation_runs.model_runs->>'$[0].status';
ALTER TABLE simulation_runs
CHANGE status status VARCHAR(64) NOT NULL;
ALTER TABLE simulation_runs
DROP model_runs;
|
create table if not exists migrations (
version text primary key,
created_at timestamp not null default CURRENT_TIMESTAMP
);
|
CREATE TABLE time
(
time_code INT,
order_date DATE,
month_code SMALLINT,
month_name CHAR(10),
quarter_code SMALLINT,
quarter_name CHAR(10),
year INTEGER
);
CREATE TABLE geography
(
district_code SERIAL,
district_name CHAR(15),
state_code CHAR(2),
state_name CHAR(18),
region SMALLINT
);
CREATE TABLE product (
product_code INTEGER,
product_name CHAR(31),
vendor_code CHAR(3),
vendor_name CHAR(15),
product_line_code SMALLINT,
product_line_name CHAR(15)
);
/
CREATE TABLE customer (
customer_code INTEGER,
customer_name CHAR(31),
company_name CHAR(20)
);
CREATE TABLE geography
(
district_code SERIAL,
district_name CHAR(15),
state_code CHAR(2),
state_name CHAR(18),
region SMALLINT
);
CREATE TABLE DIM_PRODUCT(
PRODUCT_KEY INTEGER,
PRODUCT_ID INTEGER,
PRODUCT_NAME CHAR(31),
PRODUCT_TYPE CHAR(3),
PRODUCT_CATEGORY CHAR(15),
PRODUCT_SUB_CATEGORY SMALLINT,
PRODUCT_SIZE CHAR(15),
PRODUCT_WEIGHT CHAR(31),
PRODUCT_UNIT_COST CHAR(3),
PRODUCT_LIST_PRICE CHAR(15),
PRODUCT_ACTV_RCRD_FL DATE,
PRODUCT_ACTV_RCRD_START_DT_KEY DATE,
PRODUCT_ACTV_RCRD_END_DT_KEY DATE,
PRODUCT_INSERT_DTM CHAR(15),
CONSTRAINT supplier_pk PRIMARY KEY (PRODUCT_KEY )
,CONSTRAINT supplier_pk PRIMARY KEY (PRODUCT_ID)
);
CREATE TABLE FACT_SALE (
SALE_MONTH_KEY INTEGER,
SALE_PRODUCT_KEY INTEGER,
SALE_STORE_KEY INTEGER,
SALE_QTY INTEGER,
SALE_AMT INTEGER
, CONSTRAINT supplier_pk PRIMARY KEY (SALE_MONTH_KEY,SALE_PRODUCT_KEY,SALE_STORE_KEY)
, CONSTRAINT supplier_pk FOREIGN KEY (SALE_STORE_KEY)
, CONSTRAINT supplier_pk FOREIGN KEY (SALE_MONTH_KEY)
, CONSTRAINT supplier_pk FOREIGN KEY (SALE_PRODUCT_KEY)
);
CREATE TABLE DIM_STORE (
STORE_KEY INTEGER,
STORE_ID INTEGER,
STORE_NAME CHAR(31),
STORE_CITY CHAR(31),
STORE_POSTAL_CODE CHAR(2),
STORE_COUNTRY CHAR(31),
STORE_DISTRICT CHAR(31),
STORE_ACTV_RCRD_FL DATE,
STORE_ACTV_RCRD_START_DT_KEY DATE,
STORE_ACTV_RCRD_END_DT_KEY DATE,
STORE_INSERT_DTM DATE,
, CONSTRAINT supplier_pk PRIMARY KEY (STORE_KEY)
);
CREATE TABLE Customer (
customer_code INTEGER,
customer_name CHAR(31),
company_name CHAR(20)
);
CREATE TABLE BABY_NAMES_RF (
customer_code INTEGER,
customer_name CHAR(31),
company_name CHAR(20)
);
CREATE TABLE DEFINITION (
TABLE_NAME INTEGER,
COULMN_Name CHAR(31),
DESCRITION_NAME CHAR(20),
COMMENTS CHAR(20)
);
CREATE TABLE POPULTAION_RF (
PLACE CHAR(31),
POPULTAION INTEGER,
lat NUMBER(7,-2),
longt NUMBER(7,-2)
);
CREATE TABLE LIFE_SPAN_RF (
REF_DATE DATE,
GEO NUMBER(7,-2,
SEX CHAR(2),AGE CHAR(31),VECTOR NUMBER(7,-2),
COORDINATES NUMBER(7,-2),
LIFE_SPAN_RF NUMBER(7,-2)
);
CREATE TABLE Employee (
Employee_key INTEGER,
Employee_Name CHAR(31),
Employee_Title CHAR(31),
Employee_Manager CHAR(31)
);
CREATE TABLE EMPLOYEES
(Emp# NUMBER(5),
Lastname VARCHAR(30),
Firstname VARCHAR(30),
Job_class CHAR(4));
CREATE TABLE Payment_Type (
Payment_Type_Key CHAR(31),
Payment_Type_Description CHAR(100),
Payment_Type_Category CHAR(10)
);
CREATE TABLE Promotion (
Promotion_Key CHAR(31),
Promotion_Description CHAR(100),
Promotion_Category CHAR(10)
);
/*Index*/
CREATE BITMAP INDEX sales_cust_gender_ms_bjix
ON sales(customers.cust_gender, customers.cust_marital_status)
FROM sales, customers
WHERE sales.cust_id = customers.cust_id
LOCAL NOLOGGING COMPUTE STATISTICS;
CREATE BITMAP INDEX sales_c_gender_p_cat_bjix
ON sales(customers.cust_gender, products.prod_category)
FROM sales, customers, products
WHERE sales.cust_id = customers.cust_id
AND sales.prod_id = products.prod_id
LOCAL NOLOGGING COMPUTE STATISTICS;
/*Integrity Constraints*/
ALTER TABLE sales ADD CONSTRAINT sales_uk
UNIQUE (prod_id, cust_id, promo_id, channel_id, time_id);
ALTER TABLE sales ADD CONSTRAINT sales_time_fk
FOREIGN KEY (time_id) REFERENCES times (time_id)
RELY DISABLE NOVALIDATE;
/*data Compresion*/
CREATE TABLE costs_demo (
prod_id NUMBER(6), time_id DATE,
unit_cost NUMBER(10,2), unit_price NUMBER(10,2))
PARTITION BY RANGE (time_id)
(PARTITION costs_old
VALUES LESS THAN (TO_DATE('01-JAN-2003', 'DD-MON-YYYY')) COMPRESS,
PARTITION costs_q1_2003
VALUES LESS THAN (TO_DATE('01-APR-2003', 'DD-MON-YYYY')),
PARTITION costs_q2_2003
VALUES LESS THAN (TO_DATE('01-JUN-2003', 'DD-MON-YYYY')),
PARTITION costs_recent VALUES LESS THAN (MAXVALUE));
/*Summary TABLE*/
CREATE TABLE Employee (
department INTEGER,
region CHAR(31),
quarter CHAR(31),
Month CHAR(31),Count_Sales,
Count_Profit
,Count_Unit_Sales
,Sum_Sales
,Sum_Cost,
,Sum_Profit,Sum_Unit_Sales
);
CREATE TABLE FACT_SALE (
SALE_PRODUCT_KEY INTEGER,
SALE_MONTH_KEY INTEGER,
SALE_STORE_KEY INTEGER,
SALE_QTY INTEGER,
SALE_AMT INTEGER
, CONSTRAINT supplier_pk PRIMARY KEY (SALE_MONTH_KEY,SALE_PRODUCT_KEY,SALE_STORE_KEY)
, CONSTRAINT supplier_pk FOREIGN KEY (SALE_STORE_KEY)
, CONSTRAINT supplier_pk FOREIGN KEY (SALE_MONTH_KEY)
, CONSTRAINT supplier_pk FOREIGN KEY (SALE_PRODUCT_KEY)
);
CREATE TABLE SALES (
SALES_ID NUMBER(7,0) PRIMARY KEY,
COUNTRY_ID NUMBER(7,0) REFERENCES COUNTRY NOT NULL,
SALES_OUTLET_ID NUMBER(7,0) REFERENCES SALES_OUTLET NOT NULL,
DISTRIBUTION_CHANNEL_ID NUMBER(7,0) REFERENCES DISTRIBUTION_CHANNEL NOT NULL,
PRODUCT_CATEGORY_ID NUMBER(7,0) REFERENCES PRODUCT_CATEGORY NOT NULL,
PRODUCT_ID NUMBER(7,0) REFERENCES PRODUCT NOT NULL,
SALES_YEAR NUMBER(4) NOT NULL,
SALES_MONTH VARCHAR(3) NOT NULL,
SALES_REVENUE NUMBER(20,0) NOT NULL,
SALES_QUANTITY NUMBER (20) NOT NULL
)
|
-- This SQL code was generated by sklearn2sql (development version).
-- Copyright 2018
-- Model : CaretRegressor_ctree2
-- Dataset : diabetes
-- Database : firebird
-- This SQL code can contain one or more statements, to be executed in the order they appear in this file.
-- Model deployment code
WITH "DT_node_lookup" AS
(SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_2" <= 0.008883414899) THEN CASE WHEN ("ADS"."Feature_8" <= -0.009918957363) THEN 3 ELSE 4 END ELSE CASE WHEN ("ADS"."Feature_8" <= -0.00149858682) THEN 6 ELSE CASE WHEN ("ADS"."Feature_2" <= 0.055229334075) THEN CASE WHEN ("ADS"."Feature_3" <= 0.014986613607) THEN 9 ELSE 10 END ELSE 11 END END END AS node_id_2
FROM diabetes AS "ADS"),
"DT_node_data" AS
(SELECT "Values".nid AS nid, "Values"."E" AS "E"
FROM (SELECT 3 AS nid, 95.8515625 AS "E" FROM rdb$database UNION ALL SELECT 4 AS nid, 163.30526315789498 AS "E" FROM rdb$database UNION ALL SELECT 6 AS nid, 160.742857142857 AS "E" FROM rdb$database UNION ALL SELECT 9 AS nid, 157.826086956522 AS "E" FROM rdb$database UNION ALL SELECT 10 AS nid, 224.612903225806 AS "E" FROM rdb$database UNION ALL SELECT 11 AS nid, 253.31707317073202 AS "E" FROM rdb$database) AS "Values"),
"DT_Output" AS
(SELECT "DT_node_lookup"."KEY" AS "KEY", "DT_node_lookup".node_id_2 AS node_id_2, "DT_node_data".nid AS nid, "DT_node_data"."E" AS "E"
FROM "DT_node_lookup" LEFT OUTER JOIN "DT_node_data" ON "DT_node_lookup".node_id_2 = "DT_node_data".nid)
SELECT "DT_Output"."KEY" AS "KEY", "DT_Output"."E" AS "Estimator"
FROM "DT_Output"
|
CREATE USER typeorm;
CREATE DATABASE typeorm;
GRANT ALL PRIVILEGES ON typeorm.* TO typeorm;
|
DELETE FROM ADMINISTRADORENTITY_CAMBIOENTITY WHERE 1=1;
DELETE FROM ADMINISTRADORENTITY_NOTIFICACIONENTITY WHERE 1=1;
DELETE FROM CAMBIOENTITY WHERE 1=1;
DELETE FROM NOTIFICACIONENTITY WHERE 1=1;
DELETE FROM ESTADOWEBENTITY WHERE 1=1;
DELETE FROM SITIOWEBENTITY_ADMINISTRADORENTITY WHERE 1=1;
DELETE FROM ADMINISTRADORENTITY WHERE 1=1;
DELETE FROM DEPENDENCIAENTITY WHERE 1=1;
DELETE FROM SITIOWEBENTITY_SITIOWEBENTITY WHERE 1=1;
DELETE FROM SITIOWEBENTITY_TECNOLOGIAENTITY WHERE 1=1;
DELETE FROM TECNOLOGIAENTITY WHERE 1=1;
DELETE FROM USUARIOENTITY_TICKETENTITY WHERE 1=1;
DELETE FROM TICKETENTITY WHERE 1=1;
DELETE FROM SITIOWEBENTITY WHERE 1=1;
DELETE FROM PLATAFORMADEDESPLIEGUEENTITY WHERE 1=1;
DELETE FROM USUARIOENTITY WHERE 1=1;
ALTER TABLE ADMINISTRADORENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE CAMBIOENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE DEPENDENCIAENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE ESTADOWEBENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE NOTIFICACIONENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE PLATAFORMADEDESPLIEGUEENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE SITIOWEBENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE TECNOLOGIAENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE TICKETENTITY ALTER COLUMN ID RESTART WITH 1;
ALTER TABLE USUARIOENTITY ALTER COLUMN ID RESTART WITH 1;
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?',NULL,5471774913331200,'Back','Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.','Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.',NULL,49180931772121088,'Back','Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.',NULL,83890761514352640,'Front','Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.',NULL,82590065028497408,'Back','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.',NULL,89677319412645888,'Front','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.',NULL,17875385450496000,'Front','Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.','Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?',NULL,74868967960739840,'Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?','Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?',NULL,16038293720268800,'Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.','Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.',NULL,49398385966317568,'Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?','Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?',NULL,13751353557909504,'Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.',NULL,31430849845002240,'Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?',NULL,28263856925048832,'Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?',NULL,70543012475699200,'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.','Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.',NULL,68393991229407232,'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.','Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.',NULL,49638878365089792,'Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.',NULL,92674905937543168,'Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?','Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?',NULL,77102539933220864,'Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.','Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.',NULL,81839699882147840,'Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.',NULL,90051359524519936,'Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.');
INSERT INTO CAMBIOENTITY(DESCRIPCION,FECHACAMBIO,IDASOCIADO,LUGARCAMBIO,NUEVO,PREVIO) VALUES ('Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?',NULL,54902631369277440,'Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.','Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('tggayp.jctrwv@hrvwfwi.com','Sistemas','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('hhxwf.cepic@fqawpl.com','Industrial','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('oaxhe.uhgiut@vsio.com','Fisica','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('fhrpndp.qbhdte@ilpvf.co','Quimica','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('tnbqnwdlc.gfrxxrs@ahu.com','Biologia','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('vdkumtgb.eughlj@pzqn.org','Sistemas','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('gijsss.vuhsn@wal.co','Matematicas','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('rydemrvcx.jswjs@rqt.co','Industrial','+57 3132266270');
INSERT INTO DEPENDENCIAENTITY(EMAIL,NOMBREDEPENDENCIA,TELEFONO) VALUES ('hskgwqx.xhpowov@rpq.com','Sistemas','+57 3132266270');
INSERT INTO TECNOLOGIAENTITY(DESCRIPTION,NAME,TECHCATEGORY,URL,VERSION) VALUES ('Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.','Javascript','LenguajeDeProgramacion','https://www.sueitwep.com/jknsxdmpqkt/hxntgc.php','74.0.8600');
INSERT INTO TECNOLOGIAENTITY(DESCRIPTION,NAME,TECHCATEGORY,URL,VERSION) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','Laravel','FrameWork','http://www.oggnudd.co/qtcrxvol/toevzu.html','78.4.3500');
INSERT INTO TECNOLOGIAENTITY(DESCRIPTION,NAME,TECHCATEGORY,URL,VERSION) VALUES ('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.','CodeIgniter','FrameWork','http://www.njtkzrf.org/tkuflavktfl/lxqsxom.aspx','62.4.9800');
INSERT INTO TECNOLOGIAENTITY(DESCRIPTION,NAME,TECHCATEGORY,URL,VERSION) VALUES ('Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?','Typescript','LenguajeDeProgramacion','http://www.hpxqfood.co/bwutovrz/xptdpb.php','15.3.2800');
INSERT INTO TECNOLOGIAENTITY(DESCRIPTION,NAME,TECHCATEGORY,URL,VERSION) VALUES ('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.','WebLogic','ServidorDeAplicacion','https://www.devgzrs.org/nagpxhvry/ceflrggjf.php','61.7.9900');
INSERT INTO TECNOLOGIAENTITY(DESCRIPTION,NAME,TECHCATEGORY,URL,VERSION) VALUES ('Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?','Red Hat','ServidorDeAplicacion','https://www.jsdcjhx.net/yitvhhur/jtvqvhqs.php','53.8.9100');
INSERT INTO TECNOLOGIAENTITY(DESCRIPTION,NAME,TECHCATEGORY,URL,VERSION) VALUES ('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.','Fstream','Libreria','https://www.ofzntmnem.net/bgeobxjcm/nesrggx.html','14.7.6600');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('mxwyuu.unadt@pafm.co','Anna Lee',13,'pxy15pjb3ep','+621 4 845 1216','Lauren06');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('cfccs.scmnkmc@tmxbns.co','Alyssa Lewis',9,'ts5kfv4tl','+540 6 647 3806','Ernest529');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('qepfh.ksawel@djn.org','Eliana Richardson',20,'ff02me4uk','+951 4 477 7586','Salvador6');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('rtyju.kpyqqhu@bdbc.com','Samantha Sanchez',0,'mdk5556qsl261vxr','+745 9 838 4675','Andy3');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('fxjywoqoi.gberknh@idv.co','Madison Phillips',18,'vwd756zm8dzr','+691 8 235 3935','Ray5');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('rmpjfzd.wjfvn@ywo.com','Savannah Perez',20,'nk741tvt72ux','+413 0 412 9858','Aria4');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('ddrmfgi.ivlueq@xeg.org','Piper Edwards',14,'kgc3tx4kr','+503 2 488 1803','Juan138');
INSERT INTO USUARIOENTITY(EMAIL,NOMBRE,NUMEROTICKETS,PASSWORD,TELEFONO,USERNAME) VALUES ('nyior.zthht@bbbl.org','Ella Reyes',6,'gq883hg75lt','+097 3 895 4553','Stella84');
/*Estos datos se esta generando de forma extraña*/
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',8,'CO 2591338','SAAS','144.66.241.32',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',4,'Cyrix FasMath CX83D87 33 GP','PAAS','26.12.22.68',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',7,'Cyrix 486 DX2 66GP Light Green H/S','ONPREMISE','65.17.95.98',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',6,'AMD Elan SC520100AC','IAAS','28.142.59.52',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',7,'AMI S6551P','IAAS','124.23.17.56',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',4,'AMD K6 200 ALR 2.9V','PAAS','66.28.36.17',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',9,'AMD K6-2 350 AFQ 2.2V','ONPREMISE','35.244.17.45',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',5,'AMD K6 300 AFR 2.2V','ONPREMISE','22.27.89.22',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',9,'AMD 486 DX2 80','SAAS','23.122.77.135',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',8,'AMD K6 200 ALR 2.9V (Logo)','PAAS','48.77.19.67',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',2,'AMD K6-2 475 AFX 2.2V','IAAS','51.15.95.43',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',6,'AMI S6809P','PAAS','28.27.71.85',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',6,'Cyrix FasMath CX83S87 25 JP','PAAS','14.27.11.53',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',4,'AMD K5 PR100 ABR','ONPREMISE','37.55.52.32',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',4,'AMD R80186','IAAS','15.82.38.29',0);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',6,'AMD K6-2 400 AFR 2.2V','IAAS','62.42.82.76',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('2800',4,'AMD K6-2 266 AFR 2.2V (Black Print)','ONPREMISE','27.48.94.42',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',3,'Cyrix FasMath CX83D87 40 GP','SAAS','144.26.16.26',1);
INSERT INTO PLATAFORMADEDESPLIEGUEENTITY(CLOCK,CORES,CPU,HOSTING,IP,ISVIRTUALIZACION) VALUES ('3600',4,'AMD K6-2 266 AFR 2.2V (Black Print)','SAAS','16.43.88.77',1);
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (2,'ADMINISTRATIVO','Similarly , janitor is driving all day long. ','29.01.1774','mibanner.uniandes.edu.co','Banner Uniandes','Onversely , crooked lab rat isnt leaving the school. ',1,'mibanner.uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (90,'INFORMATIVO','Nonetheless , fat scientists are making dinner. ','28.05.1810','sistemas.uniandes.edu.co','Sistemas Uniandes','Hence , obedient janitors were leaving the school. ',2,'sistemas.uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (40,'OTRO','Namely , massive soldier has been escaping. ','26.01.1957','uniandes.edu.co','Uniandes','In comparison , John wrote letters. ',3,'uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (82,'OTRO','Bird wrote essays. ','02.05.1824','sisinfo.uniandes.edu.co','Sis Info','Otherwise , teacher has waited for the bus. ',4,'sisinfo.uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (45,'OTRO','Furthermore , heavy pilgrims are going to school. ','13.09.1934','labsis.uniandes.edu.co','Laboratorio Sistemas','Consequently , relieved programmer has been leaving the house. ',5,'labsis.uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (32,'INFORMATIVO','Certainly , obedient producer hasn''t been running late. ','05.09.1922','industrial.uniandes.edu.co','Ingenieria Industrial','Namely , early boxer wrote essays. ',6,'industrial.uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (7,'ADMINISTRATIVO','Besides , crooked fighters haven''t been writting essays. ','13.01.1917','sicuaplus.uniandes.edu.co','Sicua','Indeed , strong scientists are putting the fire out.',7,'sicuaplus.uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (31,'ACADEMICO','Incidentally , clever bird has left the house. ','27.08.1925','matriculas.uniandes.edu.co','Matriculas','Boxers were going home for lunch. ',8,'matriculas.uniandes.edu.co');
INSERT INTO SITIOWEBENTITY(AUDIENCIAESPERADA,CATEGORIASITIO,DESCRIPCION,FECHALANZAMIENTO,IMAGEN,NOMBRE,PROPOSITO,PLATAFORMADEDESPLIEGUE_ID,URL) VALUES (50,'OTRO','Next , blue airplanes aren''t running late. ','20.11.1901','registro.uniandes.edu.co','Admisiones y registro','Dogs have been writting letters. ',9,'registro.uniandes.edu.co');
INSERT INTO ADMINISTRADORENTITY(EMAIL,NIVEL,NOMBRE,NOMBRECARGO,PASSWORD,TELEFONO,SITIOWEB_ID,DEPENDENCIA_ID) VALUES ('udyudi.byyue@hddun.co',5,'Charlotte Robinson','Auditor','ry0pg2csz','+503 8 514 3881',1,1);
INSERT INTO ADMINISTRADORENTITY(EMAIL,NIVEL,NOMBRE,NOMBRECARGO,PASSWORD,TELEFONO,SITIOWEB_ID,DEPENDENCIA_ID) VALUES ('tiior.ktsgkk@prt.org',4,'Sadie Ward','Appraiser','fnd6bho73la','+748 4 958 0723',2,2);
INSERT INTO ADMINISTRADORENTITY(EMAIL,NIVEL,NOMBRE,NOMBRECARGO,PASSWORD,TELEFONO,SITIOWEB_ID,DEPENDENCIA_ID) VALUES ('oljdk.rgkoc@ltj.co',5,'Savannah Perez','Budget Analyst','ymf3eqg1225rc','+811 4 556 3628',3,3);
INSERT INTO ADMINISTRADORENTITY(EMAIL,NIVEL,NOMBRE,NOMBRECARGO,PASSWORD,TELEFONO,SITIOWEB_ID,DEPENDENCIA_ID) VALUES ('rtvhv.foicw@kftj.co',1,'Victoria Gray','Banking Manager','zjo8av8mwm','+824 4 175 2872',4,4);
INSERT INTO ADMINISTRADORENTITY(EMAIL,NIVEL,NOMBRE,NOMBRECARGO,PASSWORD,TELEFONO,SITIOWEB_ID,DEPENDENCIA_ID) VALUES ('umwhcm.tjxma@hch.org',1,'Madison Phillips','Banking Analyst','ju6rhv1hu','+289 6 713 2279',5,5);
INSERT INTO ADMINISTRADORENTITY(EMAIL,NIVEL,NOMBRE,NOMBRECARGO,PASSWORD,TELEFONO,SITIOWEB_ID,DEPENDENCIA_ID) VALUES ('dchvhj.tngubi@wvp.com',2,'Riley Hall','Accountant','rd62tor5teu','+993 1 812 0213',6,6);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','ACTIVO','01.01.2019', 1);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','INACTIVO','01.01.2019', 2);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','INACTIVO','01.01.2019', 3);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','OTROS','01.01.2019', 4);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','ENFALLA','01.01.2019', 5);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','ACTIVO','01.01.2019', 6);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','ACTIVO','01.01.2019', 7);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','INACTIVO','01.01.2019', 8);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION1','ACTIVO','01.01.2019', 9);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','ACTIVO','01.01.2019', 1);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','INACTIVO','01.01.2019', 2);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','INACTIVO','01.01.2019', 3);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','OTROS','01.01.2019', 4);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','ENFALLA','01.01.2019', 5);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','ACTIVO','01.01.2019', 6);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','ACTIVO','01.01.2019', 7);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','INACTIVO','01.01.2019', 8);
INSERT INTO ESTADOWEBENTITY(DESCRIPCION, ESTADO, FECHACAMBIO, SITIOASOCIADO_ID) VALUES ('DESCRIPCION2','ACTIVO','01.01.2019', 9);
|
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: p2boards; Type: SCHEMA; Schema: -; Owner: -
--
CREATE SCHEMA p2boards;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: categories; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.categories (
id integer NOT NULL,
name character varying(100) DEFAULT ''::character varying NOT NULL,
map_id character varying(6) DEFAULT ''::character varying NOT NULL,
rules character varying(1000) DEFAULT ''::character varying NOT NULL
);
--
-- Name: categories_id_seq; Type: SEQUENCE; Schema: p2boards; Owner: -
--
CREATE SEQUENCE p2boards.categories_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: categories_id_seq; Type: SEQUENCE OWNED BY; Schema: p2boards; Owner: -
--
ALTER SEQUENCE p2boards.categories_id_seq OWNED BY p2boards.categories.id;
--
-- Name: changelog; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.changelog (
id bigint NOT NULL,
"timestamp" timestamp(6) without time zone,
profile_number character varying(50) NOT NULL,
score integer NOT NULL,
map_id character varying(6) DEFAULT ''::character varying NOT NULL,
demo_id bigint,
banned boolean DEFAULT false NOT NULL,
youtube_id character varying(30),
previous_id integer,
coop_id bigint,
post_rank integer,
pre_rank integer,
submission boolean DEFAULT false NOT NULL,
note character varying(100),
category_id integer DEFAULT 1 NOT NULL,
score_delta integer,
verified boolean,
admin_note character varying(200)
);
--
-- Name: changelog_id_seq; Type: SEQUENCE; Schema: p2boards; Owner: -
--
CREATE SEQUENCE p2boards.changelog_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: changelog_id_seq; Type: SEQUENCE OWNED BY; Schema: p2boards; Owner: -
--
/* https://stackoverflow.com/questions/244243/how-to-reset-postgres-primary-key-sequence-when-it-falls-out-of-sync */
ALTER SEQUENCE p2boards.changelog_id_seq OWNED BY p2boards.changelog.id;
--
-- Name: chapters; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.chapters (
id integer NOT NULL,
chapter_name character varying(50),
is_multiplayer boolean DEFAULT false NOT NULL,
game_id integer DEFAULT 1 NOT NULL
);
--
-- Name: chapters_id_seq; Type: SEQUENCE; Schema: p2boards; Owner: -
--
CREATE SEQUENCE p2boards.chapters_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: chapters_id_seq; Type: SEQUENCE OWNED BY; Schema: p2boards; Owner: -
--
ALTER SEQUENCE p2boards.chapters_id_seq OWNED BY p2boards.chapters.id;
--
-- Name: coop_bundled; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.coop_bundled (
id bigint NOT NULL,
p_id1 character varying(50) NOT NULL,
p_id2 character varying(50),
p1_is_host boolean,
cl_id1 bigint NOT NULL,
cl_id2 bigint
);
--
-- Name: coop_bundled_id_seq; Type: SEQUENCE; Schema: p2boards; Owner: -
--
CREATE SEQUENCE p2boards.coop_bundled_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: coop_bundled_id_seq; Type: SEQUENCE OWNED BY; Schema: p2boards; Owner: -
--
ALTER SEQUENCE p2boards.coop_bundled_id_seq OWNED BY p2boards.coop_bundled.id;
--
-- Name: demos; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.demos (
id bigint NOT NULL,
file_id character varying(100) NOT NULL,
partner_name character varying(50),
parsed_successfully boolean DEFAULT false NOT NULL,
sar_version character varying(50),
cl_id bigint NOT NULL
);
--
-- Name: demos_id_seq; Type: SEQUENCE; Schema: p2boards; Owner: -
--
CREATE SEQUENCE p2boards.demos_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: demos_id_seq; Type: SEQUENCE OWNED BY; Schema: p2boards; Owner: -
--
ALTER SEQUENCE p2boards.demos_id_seq OWNED BY p2boards.demos.id;
--
-- Name: games; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.games (
id integer NOT NULL,
game_name character varying(50) DEFAULT 'Portal 2'::character varying NOT NULL
);
--
-- Name: games_id_seq; Type: SEQUENCE; Schema: p2boards; Owner: -
--
CREATE SEQUENCE p2boards.games_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: games_id_seq; Type: SEQUENCE OWNED BY; Schema: p2boards; Owner: -
--
ALTER SEQUENCE p2boards.games_id_seq OWNED BY p2boards.games.id;
--
-- Name: maps; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.maps (
id integer NOT NULL,
steam_id character varying(6) DEFAULT ''::character varying NOT NULL,
lp_id character varying(6) DEFAULT ''::character varying NOT NULL,
name character varying(50) NOT NULL,
chapter_id integer,
is_public boolean DEFAULT false NOT NULL
);
--
-- Name: maps_id_seq; Type: SEQUENCE; Schema: p2boards; Owner: -
--
CREATE SEQUENCE p2boards.maps_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: maps_id_seq; Type: SEQUENCE OWNED BY; Schema: p2boards; Owner: -
--
ALTER SEQUENCE p2boards.maps_id_seq OWNED BY p2boards.maps.id;
--
-- Name: users; Type: TABLE; Schema: p2boards; Owner: -
--
CREATE TABLE p2boards.users (
profile_number character varying(50) DEFAULT ''::character varying NOT NULL,
board_name character varying(50),
steam_name character varying(50),
banned boolean DEFAULT false NOT NULL,
registered integer DEFAULT 0 NOT NULL,
avatar character varying(200),
twitch character varying(100),
youtube character varying(100),
title character varying(200),
admin integer DEFAULT 0 NOT NULL,
donation_amount character varying(11),
discord_id character varying(40)
);
--
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.schema_migrations (
version character varying(255) NOT NULL
);
--
-- Name: categories id; Type: DEFAULT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.categories ALTER COLUMN id SET DEFAULT nextval('p2boards.categories_id_seq'::regclass);
--
-- Name: changelog id; Type: DEFAULT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.changelog ALTER COLUMN id SET DEFAULT nextval('p2boards.changelog_id_seq'::regclass);
--
-- Name: chapters id; Type: DEFAULT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.chapters ALTER COLUMN id SET DEFAULT nextval('p2boards.chapters_id_seq'::regclass);
--
-- Name: coop_bundled id; Type: DEFAULT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.coop_bundled ALTER COLUMN id SET DEFAULT nextval('p2boards.coop_bundled_id_seq'::regclass);
--
-- Name: demos id; Type: DEFAULT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.demos ALTER COLUMN id SET DEFAULT nextval('p2boards.demos_id_seq'::regclass);
--
-- Name: games id; Type: DEFAULT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.games ALTER COLUMN id SET DEFAULT nextval('p2boards.games_id_seq'::regclass);
--
-- Name: maps id; Type: DEFAULT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.maps ALTER COLUMN id SET DEFAULT nextval('p2boards.maps_id_seq'::regclass);
--
-- Name: categories pk_categories_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.categories
ADD CONSTRAINT pk_categories_id PRIMARY KEY (id);
--
-- Name: changelog pk_changelog_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.changelog
ADD CONSTRAINT pk_changelog_id PRIMARY KEY (id);
--
-- Name: chapters pk_chapters_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.chapters
ADD CONSTRAINT pk_chapters_id PRIMARY KEY (id);
--
-- Name: coop_bundled pk_coop_bundled_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.coop_bundled
ADD CONSTRAINT pk_coop_bundled_id PRIMARY KEY (id);
--
-- Name: games pk_game_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.games
ADD CONSTRAINT pk_game_id PRIMARY KEY (id);
--
-- Name: maps pk_maps_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.maps
ADD CONSTRAINT pk_maps_id PRIMARY KEY (id);
--
-- Name: users pk_users_profile_number; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.users
ADD CONSTRAINT pk_users_profile_number PRIMARY KEY (profile_number);
--
-- Name: demos unq_demos_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.demos
ADD CONSTRAINT unq_demos_id UNIQUE (id);
--
-- Name: maps unq_maps_steam_id; Type: CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.maps
ADD CONSTRAINT unq_maps_steam_id UNIQUE (steam_id);
--
-- Name: schema_migrations schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.schema_migrations
ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (version);
--
-- Name: changelog fk_changelog_categories; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.changelog
ADD CONSTRAINT fk_changelog_categories FOREIGN KEY (category_id) REFERENCES p2boards.categories(id);
--
-- Name: changelog fk_changelog_coop_bundled; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.changelog
ADD CONSTRAINT fk_changelog_coop_bundled FOREIGN KEY (coop_id) REFERENCES p2boards.coop_bundled(id);
--
-- Name: changelog fk_changelog_demos; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.changelog
ADD CONSTRAINT fk_changelog_demos FOREIGN KEY (demo_id) REFERENCES p2boards.demos(id);
--
-- Name: changelog fk_changelog_maps; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.changelog
ADD CONSTRAINT fk_changelog_maps FOREIGN KEY (map_id) REFERENCES p2boards.maps(steam_id);
--
-- Name: changelog fk_changelog_users; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.changelog
ADD CONSTRAINT fk_changelog_users FOREIGN KEY (profile_number) REFERENCES p2boards.users(profile_number);
--
-- Name: chapters fk_chapters_game_id; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.chapters
ADD CONSTRAINT fk_chapters_game_id FOREIGN KEY (game_id) REFERENCES p2boards.games(id);
--
-- Name: coop_bundled fk_coop_bundled_chapters_cl_id2; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.coop_bundled
ADD CONSTRAINT fk_coop_bundled_chapters_cl_id2 FOREIGN KEY (cl_id2) REFERENCES p2boards.changelog(id);
--
-- Name: coop_bundled fk_coop_bundled_cl_id1; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.coop_bundled
ADD CONSTRAINT fk_coop_bundled_cl_id1 FOREIGN KEY (cl_id1) REFERENCES p2boards.changelog(id);
--
-- Name: coop_bundled fk_coop_bundled_users_u1; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.coop_bundled
ADD CONSTRAINT fk_coop_bundled_users_u1 FOREIGN KEY (p_id1) REFERENCES p2boards.users(profile_number);
--
-- Name: coop_bundled fk_coop_bundled_users_u2; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.coop_bundled
ADD CONSTRAINT fk_coop_bundled_users_u2 FOREIGN KEY (p_id2) REFERENCES p2boards.users(profile_number);
--
-- Name: maps fk_maps_chapters; Type: FK CONSTRAINT; Schema: p2boards; Owner: -
--
ALTER TABLE ONLY p2boards.maps
ADD CONSTRAINT fk_maps_chapters FOREIGN KEY (chapter_id) REFERENCES p2boards.chapters(id);
--
-- PostgreSQL database dump complete
--
--
-- Dbmate schema migrations
--
INSERT INTO public.schema_migrations (version) VALUES
('20210903015758'),
('20210903015804');
|
INSERT INTO user_tags (user_id, name) (
SELECT DISTINCT ON (users.id) users.id, 'editor-beta' FROM org_members INNER JOIN users ON users.auth0_id = org_members.user_id
);
INSERT INTO org_tags (org_id, name) (
SELECT DISTINCT ON (orgs.id) orgs.id, 'editor-beta' FROM orgs
);
|
CREATE DATABASE foodfacts ENCODING 'UTF8';
\c foodfacts
CREATE TABLE openfoodfacts (
index INT,
product_name VARCHAR,
countries_en VARCHAR,
ingredients_text VARCHAR
);
\copy openfoodfacts from '/docker-entrypoint-initdb.d/foodfacts.csv' with (format csv, header)
|
--
-- Test citext datatype
--
CREATE EXTENSION citext;
-- Check whether any of our opclasses fail amvalidate
SELECT amname, opcname
FROM pg_opclass opc LEFT JOIN pg_am am ON am.oid = opcmethod
WHERE opc.oid >= 16384 AND NOT amvalidate(opc.oid);
-- Test the operators and indexing functions
-- Test = and <>.
SELECT 'a'::citext = 'a'::citext AS t;
SELECT 'a'::citext = 'A'::citext AS t;
SELECT 'a'::citext = 'A'::text AS f; -- text wins the discussion
SELECT 'a'::citext = 'b'::citext AS f;
SELECT 'a'::citext = 'ab'::citext AS f;
SELECT 'a'::citext <> 'ab'::citext AS t;
-- Multibyte sanity tests. Uncomment to run.
-- SELECT 'À'::citext = 'À'::citext AS t;
-- SELECT 'À'::citext = 'à'::citext AS t;
-- SELECT 'À'::text = 'à'::text AS f; -- text wins.
-- SELECT 'À'::citext <> 'B'::citext AS t;
-- Test combining characters making up canonically equivalent strings.
-- SELECT 'Ä'::text <> 'Ä'::text AS t;
-- SELECT 'Ä'::citext <> 'Ä'::citext AS t;
-- Test the Turkish dotted I. The lowercase is a single byte while the
-- uppercase is multibyte. This is why the comparison code can't be optimized
-- to compare string lengths.
-- SELECT 'i'::citext = 'İ'::citext AS t;
-- Regression.
-- SELECT 'láska'::citext <> 'laská'::citext AS t;
-- SELECT 'Ask Bjørn Hansen'::citext = 'Ask Bjørn Hansen'::citext AS t;
-- SELECT 'Ask Bjørn Hansen'::citext = 'ASK BJØRN HANSEN'::citext AS t;
-- SELECT 'Ask Bjørn Hansen'::citext <> 'Ask Bjorn Hansen'::citext AS t;
-- SELECT 'Ask Bjørn Hansen'::citext <> 'ASK BJORN HANSEN'::citext AS t;
-- SELECT citext_cmp('Ask Bjørn Hansen'::citext, 'Ask Bjørn Hansen'::citext) AS zero;
-- SELECT citext_cmp('Ask Bjørn Hansen'::citext, 'ask bjørn hansen'::citext) AS zero;
-- SELECT citext_cmp('Ask Bjørn Hansen'::citext, 'ASK BJØRN HANSEN'::citext) AS zero;
-- SELECT citext_cmp('Ask Bjørn Hansen'::citext, 'Ask Bjorn Hansen'::citext) AS positive;
-- SELECT citext_cmp('Ask Bjorn Hansen'::citext, 'Ask Bjørn Hansen'::citext) AS negative;
-- Test > and >=
SELECT 'B'::citext > 'a'::citext AS t;
SELECT 'b'::citext > 'A'::citext AS t;
SELECT 'B'::citext > 'b'::citext AS f;
SELECT 'B'::citext >= 'b'::citext AS t;
-- Test < and <=
SELECT 'a'::citext < 'B'::citext AS t;
SELECT 'a'::citext <= 'B'::citext AS t;
-- Test implicit casting. citext casts to text, but not vice-versa.
SELECT 'a'::citext = 'a'::text AS t;
SELECT 'A'::text <> 'a'::citext AS t;
SELECT 'B'::citext < 'a'::text AS t; -- text wins.
SELECT 'B'::citext <= 'a'::text AS t; -- text wins.
SELECT 'a'::citext > 'B'::text AS t; -- text wins.
SELECT 'a'::citext >= 'B'::text AS t; -- text wins.
-- Test implicit casting. citext casts to varchar, but not vice-versa.
SELECT 'a'::citext = 'a'::varchar AS t;
SELECT 'A'::varchar <> 'a'::citext AS t;
SELECT 'B'::citext < 'a'::varchar AS t; -- varchar wins.
SELECT 'B'::citext <= 'a'::varchar AS t; -- varchar wins.
SELECT 'a'::citext > 'B'::varchar AS t; -- varchar wins.
SELECT 'a'::citext >= 'B'::varchar AS t; -- varchar wins.
-- A couple of longer examples to ensure that we don't get any issues with bad
-- conversions to char[] in the c code. Yes, I did do this.
SELECT 'aardvark'::citext = 'aardvark'::citext AS t;
SELECT 'aardvark'::citext = 'aardVark'::citext AS t;
-- Check the citext_cmp() function explicitly.
SELECT citext_cmp('aardvark'::citext, 'aardvark'::citext) AS zero;
SELECT citext_cmp('aardvark'::citext, 'aardVark'::citext) AS zero;
SELECT citext_cmp('AARDVARK'::citext, 'AARDVARK'::citext) AS zero;
SELECT citext_cmp('B'::citext, 'a'::citext) > 0 AS true;
-- Do some tests using a table and index.
CREATE TEMP TABLE try (
name citext PRIMARY KEY
);
INSERT INTO try (name)
VALUES ('a'), ('ab'), ('â'), ('aba'), ('b'), ('ba'), ('bab'), ('AZ');
SELECT name, 'a' = name AS eq_a FROM try WHERE name <> 'â';
SELECT name, 'a' = name AS t FROM try where name = 'a';
SELECT name, 'A' = name AS "eq_A" FROM try WHERE name <> 'â';
SELECT name, 'A' = name AS t FROM try where name = 'A';
SELECT name, 'A' = name AS t FROM try where name = 'A';
-- expected failures on duplicate key
INSERT INTO try (name) VALUES ('a');
INSERT INTO try (name) VALUES ('A');
INSERT INTO try (name) VALUES ('aB');
-- Make sure that citext_smaller() and citext_larger() work properly.
SELECT citext_smaller( 'ab'::citext, 'ac'::citext ) = 'ab' AS t;
SELECT citext_smaller( 'ABC'::citext, 'bbbb'::citext ) = 'ABC' AS t;
SELECT citext_smaller( 'aardvark'::citext, 'Aaba'::citext ) = 'Aaba' AS t;
SELECT citext_smaller( 'aardvark'::citext, 'AARDVARK'::citext ) = 'AARDVARK' AS t;
SELECT citext_larger( 'ab'::citext, 'ac'::citext ) = 'ac' AS t;
SELECT citext_larger( 'ABC'::citext, 'bbbb'::citext ) = 'bbbb' AS t;
SELECT citext_larger( 'aardvark'::citext, 'Aaba'::citext ) = 'aardvark' AS t;
-- Test aggregate functions and sort ordering
CREATE TEMP TABLE srt (
name CITEXT
);
INSERT INTO srt (name)
VALUES ('abb'),
('ABA'),
('ABC'),
('abd');
CREATE INDEX srt_name ON srt (name);
-- Check the min() and max() aggregates, with and without index.
set enable_seqscan = off;
SELECT MIN(name) AS "ABA" FROM srt;
SELECT MAX(name) AS abd FROM srt;
reset enable_seqscan;
set enable_indexscan = off;
SELECT MIN(name) AS "ABA" FROM srt;
SELECT MAX(name) AS abd FROM srt;
reset enable_indexscan;
-- Check sorting likewise
set enable_seqscan = off;
SELECT name FROM srt ORDER BY name;
reset enable_seqscan;
set enable_indexscan = off;
SELECT name FROM srt ORDER BY name;
reset enable_indexscan;
-- Test assignment casts.
SELECT LOWER(name) as aba FROM srt WHERE name = 'ABA'::text;
SELECT LOWER(name) as aba FROM srt WHERE name = 'ABA'::varchar;
SELECT LOWER(name) as aba FROM srt WHERE name = 'ABA'::bpchar;
SELECT LOWER(name) as aba FROM srt WHERE name = 'ABA';
SELECT LOWER(name) as aba FROM srt WHERE name = 'ABA'::citext;
-- LIKE should be case-insensitive
SELECT name FROM srt WHERE name LIKE '%a%' ORDER BY name;
SELECT name FROM srt WHERE name NOT LIKE '%b%' ORDER BY name;
SELECT name FROM srt WHERE name LIKE '%A%' ORDER BY name;
SELECT name FROM srt WHERE name NOT LIKE '%B%' ORDER BY name;
-- ~~ should be case-insensitive
SELECT name FROM srt WHERE name ~~ '%a%' ORDER BY name;
SELECT name FROM srt WHERE name !~~ '%b%' ORDER BY name;
SELECT name FROM srt WHERE name ~~ '%A%' ORDER BY name;
SELECT name FROM srt WHERE name !~~ '%B%' ORDER BY name;
-- ~ should be case-insensitive
SELECT name FROM srt WHERE name ~ '^a' ORDER BY name;
SELECT name FROM srt WHERE name !~ 'a$' ORDER BY name;
SELECT name FROM srt WHERE name ~ '^A' ORDER BY name;
SELECT name FROM srt WHERE name !~ 'A$' ORDER BY name;
-- SIMILAR TO should be case-insensitive.
SELECT name FROM srt WHERE name SIMILAR TO '%a.*';
SELECT name FROM srt WHERE name SIMILAR TO '%A.*';
-- Explicit casts.
SELECT true::citext = 'true' AS t;
SELECT 'true'::citext::boolean = true AS t;
SELECT 4::citext = '4' AS t;
SELECT 4::int4::citext = '4' AS t;
SELECT '4'::citext::int4 = 4 AS t;
SELECT 4::integer::citext = '4' AS t;
SELECT '4'::citext::integer = 4 AS t;
SELECT 4::int8::citext = '4' AS t;
SELECT '4'::citext::int8 = 4 AS t;
SELECT 4::bigint::citext = '4' AS t;
SELECT '4'::citext::bigint = 4 AS t;
SELECT 4::int2::citext = '4' AS t;
SELECT '4'::citext::int2 = 4 AS t;
SELECT 4::smallint::citext = '4' AS t;
SELECT '4'::citext::smallint = 4 AS t;
SELECT 4.0::numeric = '4.0' AS t;
SELECT '4.0'::citext::numeric = 4.0 AS t;
SELECT 4.0::decimal = '4.0' AS t;
SELECT '4.0'::citext::decimal = 4.0 AS t;
SELECT 4.0::real = '4.0' AS t;
SELECT '4.0'::citext::real = 4.0 AS t;
SELECT 4.0::float4 = '4.0' AS t;
SELECT '4.0'::citext::float4 = 4.0 AS t;
SELECT 4.0::double precision = '4.0' AS t;
SELECT '4.0'::citext::double precision = 4.0 AS t;
SELECT 4.0::float8 = '4.0' AS t;
SELECT '4.0'::citext::float8 = 4.0 AS t;
SELECT 'foo'::name::citext = 'foo' AS t;
SELECT 'foo'::citext::name = 'foo'::name AS t;
SELECT 'f'::char::citext = 'f' AS t;
SELECT 'f'::citext::char = 'f'::char AS t;
SELECT 'f'::"char"::citext = 'f' AS t;
SELECT 'f'::citext::"char" = 'f'::"char" AS t;
SELECT '100'::money::citext = '$100.00' AS t;
SELECT '100'::citext::money = '100'::money AS t;
SELECT 'a'::char::citext = 'a' AS t;
SELECT 'a'::citext::char = 'a'::char AS t;
SELECT 'foo'::varchar::citext = 'foo' AS t;
SELECT 'foo'::citext::varchar = 'foo'::varchar AS t;
SELECT 'foo'::text::citext = 'foo' AS t;
SELECT 'foo'::citext::text = 'foo'::text AS t;
SELECT '192.168.100.128/25'::cidr::citext = '192.168.100.128/25' AS t;
SELECT '192.168.100.128/25'::citext::cidr = '192.168.100.128/25'::cidr AS t;
SELECT '192.168.100.128'::inet::citext = '192.168.100.128/32' AS t;
SELECT '192.168.100.128'::citext::inet = '192.168.100.128'::inet AS t;
SELECT '08:00:2b:01:02:03'::macaddr::citext = '08:00:2b:01:02:03' AS t;
SELECT '08:00:2b:01:02:03'::citext::macaddr = '08:00:2b:01:02:03'::macaddr AS t;
SELECT '1999-01-08 04:05:06'::timestamp::citext = '1999-01-08 04:05:06'::timestamp::text AS t;
SELECT '1999-01-08 04:05:06'::citext::timestamp = '1999-01-08 04:05:06'::timestamp AS t;
SELECT '1999-01-08 04:05:06'::timestamptz::citext = '1999-01-08 04:05:06'::timestamptz::text AS t;
SELECT '1999-01-08 04:05:06'::citext::timestamptz = '1999-01-08 04:05:06'::timestamptz AS t;
SELECT '1 hour'::interval::citext = '1 hour'::interval::text AS t;
SELECT '1 hour'::citext::interval = '1 hour'::interval AS t;
SELECT '1999-01-08'::date::citext = '1999-01-08'::date::text AS t;
SELECT '1999-01-08'::citext::date = '1999-01-08'::date AS t;
SELECT '04:05:06'::time::citext = '04:05:06' AS t;
SELECT '04:05:06'::citext::time = '04:05:06'::time AS t;
SELECT '04:05:06'::timetz::citext = '04:05:06'::timetz::text AS t;
SELECT '04:05:06'::citext::timetz = '04:05:06'::timetz AS t;
SELECT '( 1 , 1)'::point::citext = '(1,1)' AS t;
SELECT '( 1 , 1)'::citext::point ~= '(1,1)'::point AS t;
SELECT '( 1 , 1 ) , ( 2 , 2 )'::lseg::citext = '[(1,1),(2,2)]' AS t;
SELECT '( 1 , 1 ) , ( 2 , 2 )'::citext::lseg = '[(1,1),(2,2)]'::lseg AS t;
SELECT '( 0 , 0 ) , ( 1 , 1 )'::box::citext = '(0,0),(1,1)'::box::text AS t;
SELECT '( 0 , 0 ) , ( 1 , 1 )'::citext::box ~= '(0,0),(1,1)'::text::box AS t;
SELECT '((0,0),(1,1),(2,0))'::path::citext = '((0,0),(1,1),(2,0))' AS t;
SELECT '((0,0),(1,1),(2,0))'::citext::path = '((0,0),(1,1),(2,0))'::path AS t;
SELECT '((0,0),(1,1))'::polygon::citext = '((0,0),(1,1))' AS t;
SELECT '((0,0),(1,1))'::citext::polygon ~= '((0,0),(1,1))'::polygon AS t;
SELECT '((0,0),2)'::circle::citext = '((0,0),2)'::circle::text AS t;
SELECT '((0,0),2)'::citext::circle ~= '((0,0),2)'::text::circle AS t;
SELECT '101'::bit::citext = '101'::bit::text AS t;
SELECT '101'::citext::bit = '101'::text::bit AS t;
SELECT '101'::bit varying::citext = '101'::bit varying::text AS t;
SELECT '101'::citext::bit varying = '101'::text::bit varying AS t;
SELECT 'a fat cat'::tsvector::citext = '''a'' ''cat'' ''fat''' AS t;
SELECT 'a fat cat'::citext::tsvector = 'a fat cat'::tsvector AS t;
SELECT 'fat & rat'::tsquery::citext = '''fat'' & ''rat''' AS t;
SELECT 'fat & rat'::citext::tsquery = 'fat & rat'::tsquery AS t;
SELECT 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid::citext = 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11' AS t;
SELECT 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::citext::uuid = 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid AS t;
CREATE TYPE mood AS ENUM ('sad', 'ok', 'happy');
SELECT 'sad'::mood::citext = 'sad' AS t;
SELECT 'sad'::citext::mood = 'sad'::mood AS t;
-- Assignment casts.
CREATE TABLE caster (
citext citext,
text text,
varchar varchar,
bpchar bpchar,
char char,
chr "char",
name name,
bytea bytea,
boolean boolean,
float4 float4,
float8 float8,
numeric numeric,
int8 int8,
int4 int4,
int2 int2,
cidr cidr,
inet inet,
macaddr macaddr,
money money,
timestamp timestamp,
timestamptz timestamptz,
interval interval,
date date,
time time,
timetz timetz,
point point,
lseg lseg,
box box,
path path,
polygon polygon,
circle circle,
bit bit,
bitv bit varying,
tsvector tsvector,
tsquery tsquery,
uuid uuid
);
INSERT INTO caster (text) VALUES ('foo'::citext);
INSERT INTO caster (citext) VALUES ('foo'::text);
INSERT INTO caster (varchar) VALUES ('foo'::text);
INSERT INTO caster (text) VALUES ('foo'::varchar);
INSERT INTO caster (varchar) VALUES ('foo'::citext);
INSERT INTO caster (citext) VALUES ('foo'::varchar);
INSERT INTO caster (bpchar) VALUES ('foo'::text);
INSERT INTO caster (text) VALUES ('foo'::bpchar);
INSERT INTO caster (bpchar) VALUES ('foo'::citext);
INSERT INTO caster (citext) VALUES ('foo'::bpchar);
INSERT INTO caster (char) VALUES ('f'::text);
INSERT INTO caster (text) VALUES ('f'::char);
INSERT INTO caster (char) VALUES ('f'::citext);
INSERT INTO caster (citext) VALUES ('f'::char);
INSERT INTO caster (chr) VALUES ('f'::text);
INSERT INTO caster (text) VALUES ('f'::"char");
INSERT INTO caster (chr) VALUES ('f'::citext);
INSERT INTO caster (citext) VALUES ('f'::"char");
INSERT INTO caster (name) VALUES ('foo'::text);
INSERT INTO caster (text) VALUES ('foo'::name);
INSERT INTO caster (name) VALUES ('foo'::citext);
INSERT INTO caster (citext) VALUES ('foo'::name);
-- Cannot cast to bytea on assignment.
INSERT INTO caster (bytea) VALUES ('foo'::text);
INSERT INTO caster (text) VALUES ('foo'::bytea);
INSERT INTO caster (bytea) VALUES ('foo'::citext);
INSERT INTO caster (citext) VALUES ('foo'::bytea);
-- Cannot cast to boolean on assignment.
INSERT INTO caster (boolean) VALUES ('t'::text);
INSERT INTO caster (text) VALUES ('t'::boolean);
INSERT INTO caster (boolean) VALUES ('t'::citext);
INSERT INTO caster (citext) VALUES ('t'::boolean);
-- Cannot cast to float8 on assignment.
INSERT INTO caster (float8) VALUES ('12.42'::text);
INSERT INTO caster (text) VALUES ('12.42'::float8);
INSERT INTO caster (float8) VALUES ('12.42'::citext);
INSERT INTO caster (citext) VALUES ('12.42'::float8);
-- Cannot cast to float4 on assignment.
INSERT INTO caster (float4) VALUES ('12.42'::text);
INSERT INTO caster (text) VALUES ('12.42'::float4);
INSERT INTO caster (float4) VALUES ('12.42'::citext);
INSERT INTO caster (citext) VALUES ('12.42'::float4);
-- Cannot cast to numeric on assignment.
INSERT INTO caster (numeric) VALUES ('12.42'::text);
INSERT INTO caster (text) VALUES ('12.42'::numeric);
INSERT INTO caster (numeric) VALUES ('12.42'::citext);
INSERT INTO caster (citext) VALUES ('12.42'::numeric);
-- Cannot cast to int8 on assignment.
INSERT INTO caster (int8) VALUES ('12'::text);
INSERT INTO caster (text) VALUES ('12'::int8);
INSERT INTO caster (int8) VALUES ('12'::citext);
INSERT INTO caster (citext) VALUES ('12'::int8);
-- Cannot cast to int4 on assignment.
INSERT INTO caster (int4) VALUES ('12'::text);
INSERT INTO caster (text) VALUES ('12'::int4);
INSERT INTO caster (int4) VALUES ('12'::citext);
INSERT INTO caster (citext) VALUES ('12'::int4);
-- Cannot cast to int2 on assignment.
INSERT INTO caster (int2) VALUES ('12'::text);
INSERT INTO caster (text) VALUES ('12'::int2);
INSERT INTO caster (int2) VALUES ('12'::citext);
INSERT INTO caster (citext) VALUES ('12'::int2);
-- Cannot cast to cidr on assignment.
INSERT INTO caster (cidr) VALUES ('192.168.100.128/25'::text);
INSERT INTO caster (text) VALUES ('192.168.100.128/25'::cidr);
INSERT INTO caster (cidr) VALUES ('192.168.100.128/25'::citext);
INSERT INTO caster (citext) VALUES ('192.168.100.128/25'::cidr);
-- Cannot cast to inet on assignment.
INSERT INTO caster (inet) VALUES ('192.168.100.128'::text);
INSERT INTO caster (text) VALUES ('192.168.100.128'::inet);
INSERT INTO caster (inet) VALUES ('192.168.100.128'::citext);
INSERT INTO caster (citext) VALUES ('192.168.100.128'::inet);
-- Cannot cast to macaddr on assignment.
INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:03'::text);
INSERT INTO caster (text) VALUES ('08:00:2b:01:02:03'::macaddr);
INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:03'::citext);
INSERT INTO caster (citext) VALUES ('08:00:2b:01:02:03'::macaddr);
-- Cannot cast to money on assignment.
INSERT INTO caster (money) VALUES ('12'::text);
INSERT INTO caster (text) VALUES ('12'::money);
INSERT INTO caster (money) VALUES ('12'::citext);
INSERT INTO caster (citext) VALUES ('12'::money);
-- Cannot cast to timestamp on assignment.
INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05:06'::text);
INSERT INTO caster (text) VALUES ('1999-01-08 04:05:06'::timestamp);
INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05:06'::citext);
INSERT INTO caster (citext) VALUES ('1999-01-08 04:05:06'::timestamp);
-- Cannot cast to timestamptz on assignment.
INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05:06'::text);
INSERT INTO caster (text) VALUES ('1999-01-08 04:05:06'::timestamptz);
INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05:06'::citext);
INSERT INTO caster (citext) VALUES ('1999-01-08 04:05:06'::timestamptz);
-- Cannot cast to interval on assignment.
INSERT INTO caster (interval) VALUES ('1 hour'::text);
INSERT INTO caster (text) VALUES ('1 hour'::interval);
INSERT INTO caster (interval) VALUES ('1 hour'::citext);
INSERT INTO caster (citext) VALUES ('1 hour'::interval);
-- Cannot cast to date on assignment.
INSERT INTO caster (date) VALUES ('1999-01-08'::text);
INSERT INTO caster (text) VALUES ('1999-01-08'::date);
INSERT INTO caster (date) VALUES ('1999-01-08'::citext);
INSERT INTO caster (citext) VALUES ('1999-01-08'::date);
-- Cannot cast to time on assignment.
INSERT INTO caster (time) VALUES ('04:05:06'::text);
INSERT INTO caster (text) VALUES ('04:05:06'::time);
INSERT INTO caster (time) VALUES ('04:05:06'::citext);
INSERT INTO caster (citext) VALUES ('04:05:06'::time);
-- Cannot cast to timetz on assignment.
INSERT INTO caster (timetz) VALUES ('04:05:06'::text);
INSERT INTO caster (text) VALUES ('04:05:06'::timetz);
INSERT INTO caster (timetz) VALUES ('04:05:06'::citext);
INSERT INTO caster (citext) VALUES ('04:05:06'::timetz);
-- Cannot cast to point on assignment.
INSERT INTO caster (point) VALUES ('( 1 , 1)'::text);
INSERT INTO caster (text) VALUES ('( 1 , 1)'::point);
INSERT INTO caster (point) VALUES ('( 1 , 1)'::citext);
INSERT INTO caster (citext) VALUES ('( 1 , 1)'::point);
-- Cannot cast to lseg on assignment.
INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::text);
INSERT INTO caster (text) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::lseg);
INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::citext);
INSERT INTO caster (citext) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::lseg);
-- Cannot cast to box on assignment.
INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::text);
INSERT INTO caster (text) VALUES ('(0,0),(1,1)'::box);
INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::citext);
INSERT INTO caster (citext) VALUES ('(0,0),(1,1)'::box);
-- Cannot cast to path on assignment.
INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,0))'::text);
INSERT INTO caster (text) VALUES ('((0,0),(1,1),(2,0))'::path);
INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,0))'::citext);
INSERT INTO caster (citext) VALUES ('((0,0),(1,1),(2,0))'::path);
-- Cannot cast to polygon on assignment.
INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::text);
INSERT INTO caster (text) VALUES ('((0,0),(1,1))'::polygon);
INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::citext);
INSERT INTO caster (citext) VALUES ('((0,0),(1,1))'::polygon);
-- Cannot cast to circle on assignment.
INSERT INTO caster (circle) VALUES ('((0,0),2)'::text);
INSERT INTO caster (text) VALUES ('((0,0),2)'::circle);
INSERT INTO caster (circle) VALUES ('((0,0),2)'::citext);
INSERT INTO caster (citext) VALUES ('((0,0),2)'::circle);
-- Cannot cast to bit on assignment.
INSERT INTO caster (bit) VALUES ('101'::text);
INSERT INTO caster (text) VALUES ('101'::bit);
INSERT INTO caster (bit) VALUES ('101'::citext);
INSERT INTO caster (citext) VALUES ('101'::bit);
-- Cannot cast to bit varying on assignment.
INSERT INTO caster (bitv) VALUES ('101'::text);
INSERT INTO caster (text) VALUES ('101'::bit varying);
INSERT INTO caster (bitv) VALUES ('101'::citext);
INSERT INTO caster (citext) VALUES ('101'::bit varying);
-- Cannot cast to tsvector on assignment.
INSERT INTO caster (tsvector) VALUES ('the fat cat'::text);
INSERT INTO caster (text) VALUES ('the fat cat'::tsvector);
INSERT INTO caster (tsvector) VALUES ('the fat cat'::citext);
INSERT INTO caster (citext) VALUES ('the fat cat'::tsvector);
-- Cannot cast to tsquery on assignment.
INSERT INTO caster (tsquery) VALUES ('fat & rat'::text);
INSERT INTO caster (text) VALUES ('fat & rat'::tsquery);
INSERT INTO caster (tsquery) VALUES ('fat & rat'::citext);
INSERT INTO caster (citext) VALUES ('fat & rat'::tsquery);
-- Cannot cast to uuid on assignment.
INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::text);
INSERT INTO caster (text) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);
INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::citext);
INSERT INTO caster (citext) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);
-- Table 9-5. SQL String Functions and Operators
SELECT 'D'::citext || 'avid'::citext = 'David'::citext AS citext_concat;
SELECT 'Value: '::citext || 42 = 'Value: 42' AS text_concat;
SELECT 42 || ': value'::citext ='42: value' AS int_concat;
SELECT bit_length('jose'::citext) = 32 AS t;
SELECT bit_length( name ) = bit_length( name::text ) AS t FROM srt;
SELECT textlen( name ) = textlen( name::text ) AS t FROM srt;
SELECT char_length( name ) = char_length( name::text ) AS t FROM srt;
SELECT lower( name ) = lower( name::text ) AS t FROM srt;
SELECT octet_length( name ) = octet_length( name::text ) AS t FROM srt;
SELECT overlay( name placing 'hom' from 2 for 4) = overlay( name::text placing 'hom' from 2 for 4) AS t FROM srt;
SELECT position( 'a' IN name ) = position( 'a' IN name::text ) AS t FROM srt;
SELECT substr('alphabet'::citext, 3) = 'phabet' AS t;
SELECT substr('alphabet'::citext, 3, 2) = 'ph' AS t;
SELECT substring('alphabet'::citext, 3) = 'phabet' AS t;
SELECT substring('alphabet'::citext, 3, 2) = 'ph' AS t;
SELECT substring('Thomas'::citext from 2 for 3) = 'hom' AS t;
SELECT substring('Thomas'::citext from 2) = 'homas' AS t;
SELECT substring('Thomas'::citext from '...$') = 'mas' AS t;
SELECT substring('Thomas'::citext from '%#"o_a#"_' for '#') = 'oma' AS t;
SELECT trim(' trim '::citext) = 'trim' AS t;
SELECT trim('xxxxxtrimxxxx'::citext, 'x'::citext) = 'trim' AS t;
SELECT trim('xxxxxxtrimxxxx'::text, 'x'::citext) = 'trim' AS t;
SELECT trim('xxxxxtrimxxxx'::text, 'x'::citext) = 'trim' AS t;
SELECT upper( name ) = upper( name::text ) AS t FROM srt;
-- Table 9-6. Other String Functions.
SELECT ascii( name ) = ascii( name::text ) AS t FROM srt;
SELECT btrim(' trim'::citext ) = 'trim' AS t;
SELECT btrim('xxxxxtrimxxxx'::citext, 'x'::citext ) = 'trim' AS t;
SELECT btrim('xyxtrimyyx'::citext, 'xy'::citext) = 'trim' AS t;
SELECT btrim('xyxtrimyyx'::text, 'xy'::citext) = 'trim' AS t;
SELECT btrim('xyxtrimyyx'::citext, 'xy'::text ) = 'trim' AS t;
-- chr() takes an int and returns text.
-- convert() and convert_from take bytea and return text.
SELECT convert_from( name::bytea, 'SQL_ASCII' ) = convert_from( name::text::bytea, 'SQL_ASCII' ) AS t FROM srt;
SELECT decode('MTIzAAE='::citext, 'base64') = decode('MTIzAAE='::text, 'base64') AS t;
-- encode() takes bytea and returns text.
SELECT initcap('hi THOMAS'::citext) = initcap('hi THOMAS'::text) AS t;
SELECT length( name ) = length( name::text ) AS t FROM srt;
SELECT lpad('hi'::citext, 5 ) = ' hi' AS t;
SELECT lpad('hi'::citext, 5, 'xy'::citext) = 'xyxhi' AS t;
SELECT lpad('hi'::text, 5, 'xy'::citext) = 'xyxhi' AS t;
SELECT lpad('hi'::citext, 5, 'xy'::text ) = 'xyxhi' AS t;
SELECT ltrim(' trim'::citext ) = 'trim' AS t;
SELECT ltrim('zzzytrim'::citext, 'xyz'::citext) = 'trim' AS t;
SELECT ltrim('zzzytrim'::text, 'xyz'::citext) = 'trim' AS t;
SELECT ltrim('zzzytrim'::citext, 'xyz'::text ) = 'trim' AS t;
SELECT md5( name ) = md5( name::text ) AS t FROM srt;
-- pg_client_encoding() takes no args and returns name.
SELECT quote_ident( name ) = quote_ident( name::text ) AS t FROM srt;
SELECT quote_literal( name ) = quote_literal( name::text ) AS t FROM srt;
SELECT regexp_match('foobarbequebaz'::citext, '(bar)(beque)') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext) = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, '') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)', '') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_match('foobarbequebaz', '(BAR)(BEQUE)'::citext, '') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, ''::citext) = ARRAY[ 'bar', 'beque' ] AS t;
-- c forces case-sensitive
SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, 'c'::citext) = ARRAY[ 'bar', 'beque' ] AS "no result";
-- g is not allowed
SELECT regexp_match('foobarbequebazmorebarbequetoo'::citext, '(BAR)(BEQUE)'::citext, 'g') AS "error";
SELECT regexp_matches('foobarbequebaz'::citext, '(bar)(beque)') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_matches('foobarbequebaz'::citext, '(BAR)(BEQUE)') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_matches('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext) = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_matches('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, '') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_matches('foobarbequebaz'::citext, '(BAR)(BEQUE)', '') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_matches('foobarbequebaz', '(BAR)(BEQUE)'::citext, '') = ARRAY[ 'bar', 'beque' ] AS t;
SELECT regexp_matches('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, ''::citext) = ARRAY[ 'bar', 'beque' ] AS t;
-- c forces case-sensitive
SELECT regexp_matches('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, 'c'::citext) = ARRAY[ 'bar', 'beque' ] AS "no rows";
-- g allows multiple output rows
SELECT regexp_matches('foobarbequebazmorebarbequetoo'::citext, '(BAR)(BEQUE)'::citext, 'g'::citext) AS "two rows";
SELECT regexp_replace('Thomas'::citext, '.[mN]a.', 'M') = 'ThM' AS t;
SELECT regexp_replace('Thomas'::citext, '.[MN]A.', 'M') = 'ThM' AS t;
SELECT regexp_replace('Thomas', '.[MN]A.'::citext, 'M') = 'ThM' AS t;
SELECT regexp_replace('Thomas'::citext, '.[MN]A.'::citext, 'M') = 'ThM' AS t;
-- c forces case-sensitive
SELECT regexp_replace('Thomas'::citext, '.[MN]A.'::citext, 'M', 'c') = 'Thomas' AS t;
SELECT regexp_split_to_array('hello world'::citext, E'\\s+') = ARRAY[ 'hello', 'world' ] AS t;
SELECT regexp_split_to_array('helloTworld'::citext, 't') = ARRAY[ 'hello', 'world' ] AS t;
SELECT regexp_split_to_array('helloTworld', 't'::citext) = ARRAY[ 'hello', 'world' ] AS t;
SELECT regexp_split_to_array('helloTworld'::citext, 't'::citext) = ARRAY[ 'hello', 'world' ] AS t;
SELECT regexp_split_to_array('helloTworld'::citext, 't', 's') = ARRAY[ 'hello', 'world' ] AS t;
SELECT regexp_split_to_array('helloTworld', 't'::citext, 's') = ARRAY[ 'hello', 'world' ] AS t;
SELECT regexp_split_to_array('helloTworld'::citext, 't'::citext, 's') = ARRAY[ 'hello', 'world' ] AS t;
-- c forces case-sensitive
SELECT regexp_split_to_array('helloTworld'::citext, 't'::citext, 'c') = ARRAY[ 'helloTworld' ] AS t;
SELECT regexp_split_to_table('hello world'::citext, E'\\s+') AS words;
SELECT regexp_split_to_table('helloTworld'::citext, 't') AS words;
SELECT regexp_split_to_table('helloTworld', 't'::citext) AS words;
SELECT regexp_split_to_table('helloTworld'::citext, 't'::citext) AS words;
-- c forces case-sensitive
SELECT regexp_split_to_table('helloTworld'::citext, 't'::citext, 'c') AS word;
SELECT repeat('Pg'::citext, 4) = 'PgPgPgPg' AS t;
SELECT replace('abcdefabcdef'::citext, 'cd', 'XX') = 'abXXefabXXef' AS t;
SELECT replace('abcdefabcdef'::citext, 'CD', 'XX') = 'abXXefabXXef' AS t;
SELECT replace('ab^is$abcdef'::citext, '^is$', 'XX') = 'abXXabcdef' AS t;
SELECT replace('abcdefabcdef', 'cd'::citext, 'XX') = 'abXXefabXXef' AS t;
SELECT replace('abcdefabcdef', 'CD'::citext, 'XX') = 'abXXefabXXef' AS t;
SELECT replace('ab^is$abcdef', '^is$'::citext, 'XX') = 'abXXabcdef' AS t;
SELECT replace('abcdefabcdef'::citext, 'cd'::citext, 'XX') = 'abXXefabXXef' AS t;
SELECT replace('abcdefabcdef'::citext, 'CD'::citext, 'XX') = 'abXXefabXXef' AS t;
SELECT replace('ab^is$abcdef'::citext, '^is$'::citext, 'XX') = 'abXXabcdef' AS t;
SELECT rpad('hi'::citext, 5 ) = 'hi ' AS t;
SELECT rpad('hi'::citext, 5, 'xy'::citext) = 'hixyx' AS t;
SELECT rpad('hi'::text, 5, 'xy'::citext) = 'hixyx' AS t;
SELECT rpad('hi'::citext, 5, 'xy'::text ) = 'hixyx' AS t;
SELECT rtrim('trim '::citext ) = 'trim' AS t;
SELECT rtrim('trimxxxx'::citext, 'x'::citext) = 'trim' AS t;
SELECT rtrim('trimxxxx'::text, 'x'::citext) = 'trim' AS t;
SELECT rtrim('trimxxxx'::text, 'x'::text ) = 'trim' AS t;
SELECT split_part('abc~@~def~@~ghi'::citext, '~@~', 2) = 'def' AS t;
SELECT split_part('abcTdefTghi'::citext, 't', 2) = 'def' AS t;
SELECT split_part('abcTdefTghi'::citext, 't'::citext, 2) = 'def' AS t;
SELECT split_part('abcTdefTghi', 't'::citext, 2) = 'def' AS t;
SELECT strpos('high'::citext, 'gh' ) = 3 AS t;
SELECT strpos('high', 'gh'::citext) = 3 AS t;
SELECT strpos('high'::citext, 'gh'::citext) = 3 AS t;
SELECT strpos('high'::citext, 'GH' ) = 3 AS t;
SELECT strpos('high', 'GH'::citext) = 3 AS t;
SELECT strpos('high'::citext, 'GH'::citext) = 3 AS t;
-- to_ascii() does not support UTF-8.
-- to_hex() takes a numeric argument.
SELECT substr('alphabet', 3, 2) = 'ph' AS t;
SELECT translate('abcdefabcdef'::citext, 'cd', 'XX') = 'abXXefabXXef' AS t;
SELECT translate('abcdefabcdef'::citext, 'CD', 'XX') = 'abXXefabXXef' AS t;
SELECT translate('abcdefabcdef'::citext, 'CD'::citext, 'XX') = 'abXXefabXXef' AS t;
SELECT translate('abcdefabcdef', 'CD'::citext, 'XX') = 'abXXefabXXef' AS t;
-- Table 9-20. Formatting Functions
SELECT to_date('05 Dec 2000'::citext, 'DD Mon YYYY'::citext)
= to_date('05 Dec 2000', 'DD Mon YYYY') AS t;
SELECT to_date('05 Dec 2000'::citext, 'DD Mon YYYY')
= to_date('05 Dec 2000', 'DD Mon YYYY') AS t;
SELECT to_date('05 Dec 2000', 'DD Mon YYYY'::citext)
= to_date('05 Dec 2000', 'DD Mon YYYY') AS t;
SELECT to_number('12,454.8-'::citext, '99G999D9S'::citext)
= to_number('12,454.8-', '99G999D9S') AS t;
SELECT to_number('12,454.8-'::citext, '99G999D9S')
= to_number('12,454.8-', '99G999D9S') AS t;
SELECT to_number('12,454.8-', '99G999D9S'::citext)
= to_number('12,454.8-', '99G999D9S') AS t;
SELECT to_timestamp('05 Dec 2000'::citext, 'DD Mon YYYY'::citext)
= to_timestamp('05 Dec 2000', 'DD Mon YYYY') AS t;
SELECT to_timestamp('05 Dec 2000'::citext, 'DD Mon YYYY')
= to_timestamp('05 Dec 2000', 'DD Mon YYYY') AS t;
SELECT to_timestamp('05 Dec 2000', 'DD Mon YYYY'::citext)
= to_timestamp('05 Dec 2000', 'DD Mon YYYY') AS t;
-- Try assigning function results to a column.
SELECT COUNT(*) = 8::bigint AS t FROM try;
INSERT INTO try
VALUES ( to_char( now()::timestamp, 'HH12:MI:SS') ),
( to_char( now() + '1 sec'::interval, 'HH12:MI:SS') ), -- timetamptz
( to_char( '15h 2m 12s'::interval, 'HH24:MI:SS') ),
( to_char( current_date, '999') ),
( to_char( 125::int, '999') ),
( to_char( 127::int4, '999') ),
( to_char( 126::int8, '999') ),
( to_char( 128.8::real, '999D9') ),
( to_char( 125.7::float4, '999D9') ),
( to_char( 125.9::float8, '999D9') ),
( to_char( -125.8::numeric, '999D99S') );
SELECT COUNT(*) = 19::bigint AS t FROM try;
SELECT like_escape( name, '' ) = like_escape( name::text, '' ) AS t FROM srt;
SELECT like_escape( name::text, ''::citext ) = like_escape( name::text, '' ) AS t FROM srt;
-- Ensure correct behavior for citext with materialized views.
CREATE TABLE citext_table (
id serial primary key,
name citext
);
INSERT INTO citext_table (name)
VALUES ('one'), ('two'), ('three'), (NULL), (NULL);
CREATE MATERIALIZED VIEW citext_matview AS
SELECT * FROM citext_table;
CREATE UNIQUE INDEX citext_matview_id
ON citext_matview (id);
SELECT *
FROM citext_matview m
FULL JOIN citext_table t ON (t.id = m.id AND t *= m)
WHERE t.id IS NULL OR m.id IS NULL;
UPDATE citext_table SET name = 'Two' WHERE name = 'TWO';
SELECT *
FROM citext_matview m
FULL JOIN citext_table t ON (t.id = m.id AND t *= m)
WHERE t.id IS NULL OR m.id IS NULL;
REFRESH MATERIALIZED VIEW CONCURRENTLY citext_matview;
SELECT * FROM citext_matview ORDER BY id;
|
CREATE TABLE [lookups].[AdCycles]
(
[AdCycleId] INT NOT NULL IDENTITY,
[Name] VARCHAR(100) NULL,
[Active] BIT NOT NULL DEFAULT 1,
CONSTRAINT [PK_AdCycles] PRIMARY KEY ([AdCycleId])
)
|
-- 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.
select
ps_partkey,
sum(ps_supplycost * ps_availqty) as value
from
partsupp,
supplier,
nation
where
ps_suppkey = s_suppkey
and s_nationkey = n_nationkey
and n_name = 'GERMANY'
group by
ps_partkey having
sum(ps_supplycost * ps_availqty) > (
select
sum(ps_supplycost * ps_availqty) * 0.0001000000
from
partsupp,
supplier,
nation
where
ps_suppkey = s_suppkey
and s_nationkey = n_nationkey
and n_name = 'GERMANY'
)
order by
value desc;
|
-- DropForeignKey
ALTER TABLE "Address" DROP CONSTRAINT "Address_userId_fkey";
-- AddForeignKey
ALTER TABLE "Address" ADD CONSTRAINT "Address_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF OBJECT_ID('dbo.DBFileSpaceHistory', 'U') IS NULL
BEGIN
CREATE TABLE [dbo].[DBFileSpaceHistory](
DBFileSpaceHistoryID int IDENTITY(1,1) NOT NULL,
DBName sysname NOT NULL,
FileGroupName varchar(150) NULL,
LogicalFilename nvarchar(520) NOT NULL,
[Filename] nvarchar(520) NULL,
FileSizeMB int NULL,
FreeSpaceMB int NULL,
FileType varchar(15) NULL,
DriveTotalGB smallint NULL,
DriveAvailableGB smallint NULL,
DrivePercentUsed decimal(5, 2) NULL,
DateCollected datetime2(2) NOT NULL
PRIMARY KEY CLUSTERED
(
[DBFileSpaceHistoryID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
IF NOT EXISTS (select * from sys.default_constraints dc
join sys.columns c on c.column_id = dc.parent_column_id
and c.name = 'DateCollected')
ALTER TABLE [dbo].[DBFileSpaceHistory] ADD DEFAULT (sysdatetime()) FOR [DateCollected]
END
|
--
-- Database Schema: commedit
-- Automatically generated sql script for the service microservicetesttemplate, created by the CAE.
-- --------------------------------------------------------
--
-- Table structure for table track.
--
CREATE TABLE commedit.track (
singer VARCHAR(255) ,
trackId VARCHAR(255) ,
CONSTRAINT trackId_PK PRIMARY KEY (trackId)
);
|
# Write your MySQL query statement below
Select dep.Name as Department, emp.Name as Employee, emp.Salary from Department dep,
Employee emp where emp.departmentId=dep.id and (Select count(distinct Salary) From Employee where DepartmentId=dep.Id and Salary>emp.Salary)<3
|
CREATE OR REPLACE TRIGGER uploaders__
FOR UPDATE OR INSERT OR DELETE ON uploaders
COMPOUND TRIGGER
in_updated_by CONSTANT users.updated_by%TYPE := sess.get_user_id();
in_updated_at CONSTANT users.updated_at%TYPE := SYSDATE;
--
rows_inserted SIMPLE_INTEGER := 0;
rows_updated SIMPLE_INTEGER := 0;
rows_deleted SIMPLE_INTEGER := 0;
--
is_audited VARCHAR2(1);
last_rowid ROWID; -- mini audit
--
root_log_id logs.log_id%TYPE;
BEFORE STATEMENT IS
BEGIN
root_log_id := tree.log_module(); -- to track all folowing events under one tree
EXCEPTION
WHEN tree.app_exception THEN
RAISE;
WHEN OTHERS THEN
tree.raise_error();
END BEFORE STATEMENT;
BEFORE EACH ROW IS
BEGIN
IF NOT DELETING THEN
-- overwrite some values
:NEW.app_id := COALESCE(:NEW.app_id, sess.get_app_id());
:NEW.is_active := NULLIF(:NEW.is_active, 'N');
--
:NEW.updated_by := in_updated_by;
:NEW.updated_at := in_updated_at;
END IF;
-- remove mappings
IF DELETING THEN
DELETE FROM uploaders_mapping m
WHERE m.app_id = :OLD.app_id
AND m.uploader_id = :OLD.uploader_id;
END IF;
EXCEPTION
WHEN tree.app_exception THEN
RAISE;
WHEN OTHERS THEN
tree.raise_error();
END BEFORE EACH ROW;
AFTER EACH ROW IS
BEGIN
-- track affected rows
IF INSERTING THEN
rows_inserted := rows_inserted + 1;
last_rowid := :NEW.ROWID;
ELSIF UPDATING THEN
rows_updated := rows_updated + 1;
last_rowid := :OLD.ROWID;
ELSIF DELETING THEN
rows_deleted := rows_deleted + 1;
last_rowid := :OLD.ROWID;
END IF;
EXCEPTION
WHEN tree.app_exception THEN
RAISE;
WHEN OTHERS THEN
tree.raise_error();
END AFTER EACH ROW;
AFTER STATEMENT IS
BEGIN
-- store affected rows and time needed to process trigger
tree.update_trigger (
in_log_id => root_log_id,
in_rows_inserted => rows_inserted,
in_rows_updated => rows_updated,
in_rows_deleted => rows_deleted,
in_last_rowid => TO_CHAR(last_rowid)
);
EXCEPTION
WHEN tree.app_exception THEN
RAISE;
WHEN OTHERS THEN
tree.raise_error();
END AFTER STATEMENT;
END;
/
|
-- ApprenticeshipStdRoute
Go
CREATE TABLE [AsData_PL].[ApprenticeshipStdRoute](
[StdRouteID] Int IDENTITY(1,1) PRIMARY KEY,
[Reference] [varchar](20),
[LARSCode] [varchar](20),
[Route] [varchar](200) NULL,
AppendDateTime DateTime Default getdate()
) ON [PRIMARY]
GO
|
alter table gx_email_template add column sender_email_address varchar(200);
|
CREATE OR ALTER PROCEDURE [projection].[test intersecting_tables_and_dates_restricts_results]
AS
BEGIN
-----------------------------------------------------------------------------------------------------------------
-- Arrange:
-----------------------------------------------------------------------------------------------------------------
EXEC [tSQLt].[FakeTable]
@TableName = N'dda.audits';
INSERT INTO dda.[audits] (
[audit_id],
[timestamp],
[schema],
[table],
[user],
[operation],
[transaction_id],
[row_count],
[audit]
)
VALUES
(
1117,
N'2021-05-13 07:16:53.587',
N'dbo',
N'login_metrics',
N'mikec',
N'UPDATE',
38228873,
4,
N'[{"key":[{"row_id":650}],"detail":[{"entry_date":{"from":"2019-11-26T18:08:44.180","to":"2019-12-26T18:08:44.180"}}]},{"key":[{"row_id":649}],"detail":[{"entry_date":{"from":"2019-11-26T18:08:44.117","to":"2019-12-26T18:08:44.117"}}]},{"key":[{"row_id":648}],"detail":[{"entry_date":{"from":"2019-11-26T18:08:22.820","to":"2019-12-26T18:08:22.820"}}]},{"key":[{"row_id":647}],"detail":[{"entry_date":{"from":"2019-11-26T18:08:09.443","to":"2019-12-26T18:08:09.443"}}]}]'
),
(
1118,
N'2021-05-13 07:18:00.987',
N'dbo',
N'login_metrics',
N'sa',
N'UPDATE',
38229788,
4,
N'[{"key":[{"row_id":650}],"detail":[{"operation_type":{"from":"CL","to":"DL"}}]},{"key":[{"row_id":649}],"detail":[{"operation_type":{"from":"CL","to":"DL"}}]},{"key":[{"row_id":648}],"detail":[{"operation_type":{"from":"DL","to":"CL"}}]},{"key":[{"row_id":647}],"detail":[{"operation_type":{"from":"DL","to":"CL"}}]}]'
),
(
1119,
N'2021-05-13 07:22:08.940',
N'dbo',
N'login_metrics',
N'mikec',
N'INSERT',
38252253,
2,
N'[{"key":[{"row_id":5452}],"detail":[{"row_id":5452,"entry_date":"2019-11-26T18:28:44.580","operation_type":"DL","batch_size":20,"login_creation_time_ms":140,"count_of_sys_principals":3633}]},{"key":[{"row_id":5451}],"detail":[{"row_id":5451,"entry_date":"2019-11-26T18:28:44.440","operation_type":"DL","batch_size":20,"login_creation_time_ms":140,"count_of_sys_principals":3653}]}]'
),
(
1120,
N'2021-05-13 07:29:31.050',
N'dbo',
N'SortTable',
N'billm',
N'UPDATE',
38330595,
1,
N'[{"key":[{"OrderID":98,"CustomerID":138}],"detail":[{"ColChar":{"from":"61C32AAB-9528-4B1F-AC30-936C2C72C312 ","to":"0xSecretInfoHere "}}]}]'
),
(
1121,
N'2021-05-25 11:55:51.777',
N'dbo',
N'Errors',
N'sayidk',
N'UPDATE',
5589718,
1,
N'[{"key":[{"ErrorID":31}],"detail":[{"ErrorMessage":{"from":"Test Error Here","to":"Modified without bypass"}}]}]'
),
(
1122,
N'2021-05-27 17:55:51.777',
N'dbo',
N'SortTable',
N'sa',
N'INSERT',
49491372,
4,
N'[{"key":[{"OrderID":101049,"CustomerID":30}],"detail":[{"OrderID":101049,"CustomerID":30,"OrderDate":"2021-06-25T13:01:45.867","Value":2268.33,"ColChar":"aaaa_aaaa "}]},{"key":[{"OrderID":101048,"CustomerID":30}],"detail":[{"OrderID":101048,"CustomerID":30,"OrderDate":"2021-06-25T13:01:45.867","Value":2258.33,"ColChar":"zzzzz_zzzz "}]},{"key":[{"OrderID":101047,"CustomerID":28}],"detail":[{"OrderID":101047,"CustomerID":28,"OrderDate":"2021-06-25T13:01:45.867","Value":1187.33,"ColChar":"yyyy_yyyy "}]},{"key":[{"OrderID":101046,"CustomerID":27}],"detail":[{"OrderID":101046,"CustomerID":27,"OrderDate":"2021-06-25T13:01:45.867","Value":999.33,"ColChar":"xxxx_xxxx "}]}]'
),
(
1125,
N'2021-05-27 17:55:51.777',
N'dbo',
N'SortTable',
N'sa',
N'INSERT',
49467912,
4,
N'[{"key":[{"OrderID":101049,"CustomerID":30}],"detail":[{"OrderID":101049,"CustomerID":30,"OrderDate":"2021-06-25T13:01:45.867","Value":2268.33,"ColChar":"aaaa_aaaa "}]},{"key":[{"OrderID":101048,"CustomerID":30}],"detail":[{"OrderID":101048,"CustomerID":30,"OrderDate":"2021-06-25T13:01:45.867","Value":2258.33,"ColChar":"zzzzz_zzzz "}]},{"key":[{"OrderID":101047,"CustomerID":28}],"detail":[{"OrderID":101047,"CustomerID":28,"OrderDate":"2021-06-25T13:01:45.867","Value":1187.33,"ColChar":"yyyy_yyyy "}]},{"key":[{"OrderID":101046,"CustomerID":27}],"detail":[{"OrderID":101046,"CustomerID":27,"OrderDate":"2021-06-25T13:01:45.867","Value":999.33,"ColChar":"xxxx_xxxx "}]}]'
);
DROP TABLE IF EXISTS #search_output;
CREATE TABLE #search_output (
[row_number] int NOT NULL,
[total_rows] int NOT NULL,
[audit_id] int NOT NULL,
[timestamp] datetime NOT NULL,
[user] sysname NOT NULL,
[transaction_id] sysname NOT NULL,
[table] sysname NOT NULL,
[operation_type] char(9) NOT NULL,
[row_count] int NOT NULL,
[change_details] nvarchar(max) NULL,
);
-----------------------------------------------------------------------------------------------------------------
-- Act:
-----------------------------------------------------------------------------------------------------------------
INSERT INTO [#search_output] (
[row_number],
[total_rows],
[audit_id],
[timestamp],
[user],
[table],
[transaction_id],
[operation_type],
[row_count],
[change_details]
)
EXEC dda.[get_audit_data]
@TargetTables = N'SortTable',
@StartTime = '2021-05-27 00:30:00';
-----------------------------------------------------------------------------------------------------------------
-- Assert:
-----------------------------------------------------------------------------------------------------------------
DECLARE @rowCount int = (SELECT COUNT(*) FROM [#search_output]);
EXEC [tSQLt].[AssertEquals] @Expected = 2, @Actual = @rowCount;
END;
|
BEGIN;
DROP MATERIALIZED VIEW IF EXISTS gnosis_protocol_v2.view_solvers;
CREATE MATERIALIZED VIEW gnosis_protocol_v2.view_solvers (address, environment, name, active) AS
WITH
-- Aggregate the solver added and removed events into a single table
-- with true/false for adds/removes respectively
solver_activation_events as (
select solver, evt_block_number, evt_index, True as activated
from gnosis_protocol_v2."GPv2AllowListAuthentication_evt_SolverAdded"
union
select solver, evt_block_number, evt_index, False as activated
from gnosis_protocol_v2."GPv2AllowListAuthentication_evt_SolverRemoved"
),
-- Sorting by (evt_block_number, evt_index) allows us to pick the most recent activation status of each unique solver
registered_solvers as (
select distinct on (solver) solver,
activated as active
from solver_activation_events
order by solver, evt_block_number desc, evt_index desc
),
-- Manually inserting environment and name for each "known" solver
known_solver_metadata (address, environment, name) as (
SELECT *
FROM (VALUES (decode('f2d21ad3c88170d4ae52bbbeba80cb6078d276f4', 'hex'), 'prod', 'MIP'),
(decode('15f4c337122ec23859ec73bec00ab38445e45304', 'hex'), 'prod', 'ParaSwap'),
(decode('de1c59bc25d806ad9ddcbe246c4b5e5505645718', 'hex'), 'prod', '1inch'),
(decode('340185114f9d2617dc4c16088d0375d09fee9186', 'hex'), 'prod', 'Naive'),
(decode('833f076d182123ca8dde2743045ea02957bd61ef', 'hex'), 'prod', 'Baseline'),
(decode('e92f359e6f05564849afa933ce8f62b8007a1d5d', 'hex'), 'prod', '0x'),
(decode('77ec2a722c2393d3fd64617bbaf1499c713e616b', 'hex'), 'prod', 'QuasiModo'),
(decode('a6ddbd0de6b310819b49f680f65871bee85f517e', 'hex'), 'prod', 'Legacy'),
(decode('2d15894fac906386ff7f4bd07fceac43fcf80c73', 'hex'), 'prod', 'DexCowAgg'),
(decode('a97DEF4fBCBa3b646dd169Bc2eeE40f0f3fE7771', 'hex'), 'prod', 'BalancerSOR'),
(decode('70f3c870b6e7e1d566e40c41e2e3d6e895fcee23', 'hex'), 'barn', 'QuasiModo'),
(decode('97dd6a023b06ba4722aF8Af775ec3C2361e66684', 'hex'), 'barn', '0x'),
(decode('6372bcbf66656e91b9213b61d861b5e815296207', 'hex'), 'barn', 'ParaSwap'),
(decode('158261d17d2983b2cbaecc1ae71a34617ae4cb16', 'hex'), 'barn', 'MIP'),
(decode('8c9d33828dace1eb9fc533ffde88c4a9db115061', 'hex'), 'barn', '1inch'),
(decode('bfaf2b5e351586551d8bf461ba5b2b5455b173da', 'hex'), 'barn', 'Baseline'),
(decode('b8650702412d0aa7f01f6bee70335a18d6a78e77', 'hex'), 'barn', 'Naive'),
(decode('583cD88b9D7926357FE6bddF0E8950557fcDA0Ca', 'hex'), 'barn', 'DexCowAgg'),
(decode('6c2999b6b1fad608ecea71b926d68ee6c62beef8', 'hex'), 'barn', 'Legacy'),
(decode('ED94b86275447e28ddbDd17BBEB1f62D607b5119', 'hex'), 'barn', 'Legacy'),
(decode('8ccc61dba297833dbe5d95fd6360f106b9a7576e', 'hex'), 'barn', 'Naive'),
(decode('0d2584da2f637805071f184bcfa1268ebae8a24a', 'hex'), 'barn', 'Baseline'),
(decode('a0044c620da7f2876da7004719b8370eb7be5e50', 'hex'), 'barn', 'MIP'),
(decode('da324c2f06d3544e7965767ce9ca536dcb67a660', 'hex'), 'barn', 'QuasiModo'),
(decode('e33062a24149f7801a48b2675ed5111d3278f0f5', 'hex'), 'barn', '1inch'),
(decode('080a8b1e2f3695e179453c5e617b72a381be44b9', 'hex'), 'barn', 'ParaSwap'),
(decode('de786877a10dbb7eba25a4da65aecf47654f08ab', 'hex'), 'barn', '0x'),
(decode('dae69affe582d36f330ee1145995a53fab670962', 'hex'), 'barn', 'DexCowAgg'),
(decode('0b78e29ee55aa73b366730cf512d65c514eeb196', 'hex'), 'barn', 'BalancerSOR'),
(decode('22dee0935c77d32c7241362b14e76fc2d5ef657d', 'hex'), 'barn', 'BalancerSOR'),
(decode('0798540ee03a8c2e68cef19c56d1faa86271d5cf', 'hex'), 'service', 'Withdraw'),
(decode('df30c9502eafea21ecc8410108dda338dd5047c5', 'hex'), 'service', 'Withdraw'),
(decode('256bb5ad3dbdf61ae08d7cbc0b9223ccb1c60aae', 'hex'), 'service', 'Withdraw'),
(decode('84e5c8518c248de590d5302fd7c32d2ae6b0123c', 'hex'), 'service', 'Withdraw'),
(decode('a03be496e67ec29bc62f01a428683d7f9c204930', 'hex'), 'service', 'Withdraw'),
(decode('2caef7f0ee82fb0abf1ab0dcd3a093803002e705', 'hex'), 'test', 'Test Solver 1'),
(decode('56d4ed5e49539ebb1366c7d6b8f2530f1e4fe753', 'hex'), 'test', 'Test Solver 2')
) as _
)
-- Combining the metadata with current activation status for final table
select solver as address,
case when environment is not null then environment else 'new' end as environment,
case when name is not null then name else 'Uncatalogued' end as name,
active
from registered_solvers
left outer join known_solver_metadata
on solver = address;
CREATE UNIQUE INDEX IF NOT EXISTS view_solvers_address_unique_idx ON gnosis_protocol_v2.view_solvers (address);
-- This job updates the view every half day to capture any new (but currently uncatalogued solvers)
INSERT INTO cron.job (schedule, command)
VALUES ('0 */12 * * *', 'REFRESH MATERIALIZED VIEW CONCURRENTLY gnosis_protocol_v2.view_solvers')
ON CONFLICT (command) DO UPDATE SET schedule=EXCLUDED.schedule;
COMMIT;
|
CREATE TABLE MAPS (
MAP_ID INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1),
MAP_NAME VARCHAR(24) NOT NULL,
REGION VARCHAR(26),
AREA DECIMAL(8,4) NOT NULL,
PHOTO_FORMAT VARCHAR(26) NOT NULL,
UNIQUE (MAP_ID, MAP_NAME)
)
;
CREATE TABLE MAPS (
MAP_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1),
MAP_NAME VARCHAR(24) NOT NULL,
REGION VARCHAR(26),
AREA DECIMAL(8,4) NOT NULL,
PHOTO_FORMAT VARCHAR(26) NOT NULL,
UNIQUE (MAP_ID, MAP_NAME)
)
;
|
/****** Object: Stored Procedure dbo.b4nGetOrderTypes Script Date: 23/06/2005 13:31:55 ******/
CREATE PROCEDURE dbo.b4nGetOrderTypes
@custid int
AS
Select * from b4nClassCodes
Where b4nClassSysId = 'DelDocketType'
And b4nValid = 'Y'
select attributeuservalue from b4nbasketattribute
where attributeid = 1074
and basketid in (
select basketid from b4nbasket
where customerid = @custid)
GRANT EXECUTE ON b4nGetOrderTypes TO b4nuser
GO
GRANT EXECUTE ON b4nGetOrderTypes TO helpdesk
GO
GRANT EXECUTE ON b4nGetOrderTypes TO ofsuser
GO
GRANT EXECUTE ON b4nGetOrderTypes TO reportuser
GO
GRANT EXECUTE ON b4nGetOrderTypes TO b4nexcel
GO
GRANT EXECUTE ON b4nGetOrderTypes TO b4nloader
GO
|
create temp view gstest1(a,b,v)
as values (1,1,10),(1,1,11),(1,2,12),(1,2,13),(1,3,14),
(2,3,15),(3,3,16),(3,4,17),(4,1,18),(4,1,19);
alter table gstest3 add primary key (a);
create temp table gstest_empty (a integer, b integer, v integer);
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by rollup (a,b);
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by rollup (a,b) order by a,b;
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by rollup (a,b) order by b desc, a;
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by rollup (a,b) order by coalesce(a,0)+coalesce(b,0);
-- various types of ordered aggs
select a, b, grouping(a,b),
array_agg(v order by v),
string_agg(v::text, ':' order by v desc),
percentile_disc(0.5) within group (order by v),
rank(1,2,12) within group (order by a,b,v)
from gstest1 group by rollup (a,b) order by a,b;
-- test usage of grouped columns in direct args of aggs
select grouping(a), a, array_agg(b),
rank(a) within group (order by b nulls first),
rank(a) within group (order by b nulls last)
from (values (1,1),(1,4),(1,5),(3,1),(3,2)) v(a,b)
group by rollup (a) order by a;
-- nesting with window functions
select a, b, sum(c), sum(sum(c)) over (order by a,b) as rsum
from gstest2 group by rollup (a,b) order by rsum, a, b;
-- nesting with grouping sets
select sum(c) from gstest2
group by grouping sets((), grouping sets((), grouping sets(())))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets((), grouping sets((), grouping sets(((a, b)))))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets(grouping sets(rollup(c), grouping sets(cube(c))))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets(a, grouping sets(a, cube(b)))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets(grouping sets((a, (b))))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets(grouping sets((a, b)))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets(grouping sets(a, grouping sets(a), a))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets(grouping sets(a, grouping sets(a, grouping sets(a), ((a)), a, grouping sets(a), (a)), a))
order by 1 desc;
select sum(c) from gstest2
group by grouping sets((a,(a,b)), grouping sets((a,(a,b)),a))
order by 1 desc;
-- empty input: first is 0 rows, second 1, third 3 etc.
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),a);
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),());
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),());
select sum(v), count(*) from gstest_empty group by grouping sets ((),(),());
-- empty input with joins tests some important code paths
select t1.a, t2.b, sum(t1.v), count(*) from gstest_empty t1, gstest_empty t2
group by grouping sets ((t1.a,t2.b),());
-- simple joins, var resolution, GROUPING on join vars
select t1.a, t2.b, grouping(t1.a, t2.b), sum(t1.v), max(t2.a)
from gstest1 t1, gstest2 t2
group by grouping sets ((t1.a, t2.b), ());
select t1.a, t2.b, grouping(t1.a, t2.b), sum(t1.v), max(t2.a)
from gstest1 t1 join gstest2 t2 on (t1.a=t2.a)
group by grouping sets ((t1.a, t2.b), ());
select a, b, grouping(a, b), sum(t1.v), max(t2.c)
from gstest1 t1 join gstest2 t2 using (a,b)
group by grouping sets ((a, b), ());
-- check that functionally dependent cols are not nulled
select a, d, grouping(a,b,c)
from gstest3
group by grouping sets ((a,b), (a,c));
-- check that distinct grouping columns are kept separate
-- even if they are equal()
explain (costs off)
select g as alias1, g as alias2
from generate_series(1,3) g
group by alias1, rollup(alias2);
select g as alias1, g as alias2
from generate_series(1,3) g
group by alias1, rollup(alias2);
-- check that pulled-up subquery outputs still go to null when appropriate
select four, x
from (select four, ten, 'foo'::text as x from tenk1) as t
group by grouping sets (four, x)
having x = 'foo';
select four, x || 'x'
from (select four, ten, 'foo'::text as x from tenk1) as t
group by grouping sets (four, x)
order by four;
select (x+y)*1, sum(z)
from (select 1 as x, 2 as y, 3 as z) s
group by grouping sets (x+y, x);
select x, not x as not_x, q2 from
(select *, q1 = 1 as x from int8_tbl i1) as t
group by grouping sets(x, q2)
order by x, q2;
-- simple rescan tests
select a, b, sum(v.x)
from (values (1),(2)) v(x), gstest_data(v.x)
group by rollup (a,b);
select *
from (values (1),(2)) v(x),
lateral (select a, b, sum(v.x) from gstest_data(v.x) group by rollup (a,b)) s;
-- min max optimization should still work with GROUP BY ()
explain (costs off)
select min(unique1) from tenk1 GROUP BY ();
-- Views with GROUPING SET queries
CREATE VIEW gstest_view AS select a, b, grouping(a,b), sum(c), count(*), max(c)
from gstest2 group by rollup ((a,b,c),(c,d));
select pg_get_viewdef('gstest_view'::regclass, true);
-- Nested queries with 3 or more levels of nesting
select(select (select grouping(a,b) from (values (1)) v2(c)) from (values (1,2)) v1(a,b) group by (a,b)) from (values(6,7)) v3(e,f) GROUP BY ROLLUP(e,f);
select(select (select grouping(e,f) from (values (1)) v2(c)) from (values (1,2)) v1(a,b) group by (a,b)) from (values(6,7)) v3(e,f) GROUP BY ROLLUP(e,f);
select(select (select grouping(c) from (values (1)) v2(c) GROUP BY c) from (values (1,2)) v1(a,b) group by (a,b)) from (values(6,7)) v3(e,f) GROUP BY ROLLUP(e,f);
-- Combinations of operations
select a, b, c, d from gstest2 group by rollup(a,b),grouping sets(c,d);
select a, b from (values (1,2),(2,3)) v(a,b) group by a,b, grouping sets(a);
-- Tests for chained aggregates
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by grouping sets ((a,b),(a+1,b+1),(a+2,b+2)) order by 3,6;
select(select (select grouping(a,b) from (values (1)) v2(c)) from (values (1,2)) v1(a,b) group by (a,b)) from (values(6,7)) v3(e,f) GROUP BY ROLLUP((e+1),(f+1));
select(select (select grouping(a,b) from (values (1)) v2(c)) from (values (1,2)) v1(a,b) group by (a,b)) from (values(6,7)) v3(e,f) GROUP BY CUBE((e+1),(f+1)) ORDER BY (e+1),(f+1);
select a, b, sum(c), sum(sum(c)) over (order by a,b) as rsum
from gstest2 group by cube (a,b) order by rsum, a, b;
select a, b, sum(c) from (values (1,1,10),(1,1,11),(1,2,12),(1,2,13),(1,3,14),(2,3,15),(3,3,16),(3,4,17),(4,1,18),(4,1,19)) v(a,b,c) group by rollup (a,b);
select a, b, sum(v.x)
from (values (1),(2)) v(x), gstest_data(v.x)
group by cube (a,b) order by a,b;
-- Agg level check. This query should error out.
select (select grouping(a,b) from gstest2) from gstest2 group by a,b;
--Nested queries
select a, b, sum(c), count(*) from gstest2 group by grouping sets (rollup(a,b),a);
-- HAVING queries
select ten, sum(distinct four) from onek a
group by grouping sets((ten,four),(ten))
having exists (select 1 from onek b where sum(distinct a.four) = b.four);
-- Tests around pushdown of HAVING clauses, partially testing against previous bugs
select a,count(*) from gstest2 group by rollup(a) order by a;
select a,count(*) from gstest2 group by rollup(a) having a is distinct from 1 order by a;
explain (costs off)
select a,count(*) from gstest2 group by rollup(a) having a is distinct from 1 order by a;
select v.c, (select count(*) from gstest2 group by () having v.c)
from (values (false),(true)) v(c) order by v.c;
explain (costs off)
select v.c, (select count(*) from gstest2 group by () having v.c)
from (values (false),(true)) v(c) order by v.c;
-- HAVING with GROUPING queries
select ten, grouping(ten) from onek
group by grouping sets(ten) having grouping(ten) >= 0
order by 2,1;
select ten, grouping(ten) from onek
group by grouping sets(ten, four) having grouping(ten) > 0
order by 2,1;
select ten, grouping(ten) from onek
group by rollup(ten) having grouping(ten) > 0
order by 2,1;
select ten, grouping(ten) from onek
group by cube(ten) having grouping(ten) > 0
order by 2,1;
select ten, grouping(ten) from onek
group by (ten) having grouping(ten) >= 0
order by 2,1;
-- FILTER queries
select ten, sum(distinct four) filter (where four::text ~ '123') from onek a
group by rollup(ten);
-- More rescan tests
select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by cube(four,ten)) s on true order by v.a,four,ten;
select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by cube(two,four) order by two,four) s1) from (values (1),(2)) v(a);
-- Grouping on text columns
select sum(ten) from onek group by two, rollup(four::text) order by 1;
select sum(ten) from onek group by rollup(four::text), two order by 1;
-- hashing support
-- failure cases
select count(*) from gstest4 group by rollup(unhashable_col,unsortable_col);
select array_agg(v order by v) from gstest4 group by grouping sets ((id,unsortable_col),(id));
-- simple cases
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by grouping sets ((a),(b)) order by 3,1,2;
explain (costs off) select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by grouping sets ((a),(b)) order by 3,1,2;
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by cube(a,b) order by 3,1,2;
explain (costs off) select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by cube(a,b) order by 3,1,2;
-- shouldn't try and hash
explain (costs off)
select a, b, grouping(a,b), array_agg(v order by v)
from gstest1 group by cube(a,b);
-- unsortable cases
select unsortable_col, count(*)
from gstest4 group by grouping sets ((unsortable_col),(unsortable_col))
order by unsortable_col::text;
-- mixed hashable/sortable cases
select unhashable_col, unsortable_col,
grouping(unhashable_col, unsortable_col),
count(*), sum(v)
from gstest4 group by grouping sets ((unhashable_col),(unsortable_col))
order by 3, 5;
explain (costs off)
select unhashable_col, unsortable_col,
grouping(unhashable_col, unsortable_col),
count(*), sum(v)
from gstest4 group by grouping sets ((unhashable_col),(unsortable_col))
order by 3,5;
select unhashable_col, unsortable_col,
grouping(unhashable_col, unsortable_col),
count(*), sum(v)
from gstest4 group by grouping sets ((v,unhashable_col),(v,unsortable_col))
order by 3,5;
explain (costs off)
select unhashable_col, unsortable_col,
grouping(unhashable_col, unsortable_col),
count(*), sum(v)
from gstest4 group by grouping sets ((v,unhashable_col),(v,unsortable_col))
order by 3,5;
-- empty input: first is 0 rows, second 1, third 3 etc.
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),a);
explain (costs off)
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),a);
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),());
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),());
explain (costs off)
select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),());
select sum(v), count(*) from gstest_empty group by grouping sets ((),(),());
explain (costs off)
select sum(v), count(*) from gstest_empty group by grouping sets ((),(),());
-- check that functionally dependent cols are not nulled
select a, d, grouping(a,b,c)
from gstest3
group by grouping sets ((a,b), (a,c));
explain (costs off)
select a, d, grouping(a,b,c)
from gstest3
group by grouping sets ((a,b), (a,c));
-- simple rescan tests
select a, b, sum(v.x)
from (values (1),(2)) v(x), gstest_data(v.x)
group by grouping sets (a,b)
order by 1, 2, 3;
explain (costs off)
select a, b, sum(v.x)
from (values (1),(2)) v(x), gstest_data(v.x)
group by grouping sets (a,b)
order by 3, 1, 2;
select *
from (values (1),(2)) v(x),
lateral (select a, b, sum(v.x) from gstest_data(v.x) group by grouping sets (a,b)) s;
explain (costs off)
select *
from (values (1),(2)) v(x),
lateral (select a, b, sum(v.x) from gstest_data(v.x) group by grouping sets (a,b)) s;
-- Tests for chained aggregates
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by grouping sets ((a,b),(a+1,b+1),(a+2,b+2)) order by 3,6;
explain (costs off)
select a, b, grouping(a,b), sum(v), count(*), max(v)
from gstest1 group by grouping sets ((a,b),(a+1,b+1),(a+2,b+2)) order by 3,6;
select a, b, sum(c), sum(sum(c)) over (order by a,b) as rsum
from gstest2 group by cube (a,b) order by rsum, a, b;
explain (costs off)
select a, b, sum(c), sum(sum(c)) over (order by a,b) as rsum
from gstest2 group by cube (a,b) order by rsum, a, b;
select a, b, sum(v.x)
from (values (1),(2)) v(x), gstest_data(v.x)
group by cube (a,b) order by a,b;
explain (costs off)
select a, b, sum(v.x)
from (values (1),(2)) v(x), gstest_data(v.x)
group by cube (a,b) order by a,b;
-- More rescan tests
select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by cube(four,ten)) s on true order by v.a,four,ten;
select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by cube(two,four) order by two,four) s1) from (values (1),(2)) v(a);
-- Rescan logic changes when there are no empty grouping sets, so test
-- that too:
select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by grouping sets(four,ten)) s on true order by v.a,four,ten;
select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by grouping sets(two,four) order by two,four) s1) from (values (1),(2)) v(a);
-- test the knapsack
explain (costs off)
select unique1,
count(two), count(four), count(ten),
count(hundred), count(thousand), count(twothousand),
count(*)
from tenk1 group by grouping sets (unique1,twothousand,thousand,hundred,ten,four,two);
explain (costs off)
select unique1,
count(two), count(four), count(ten),
count(hundred), count(thousand), count(twothousand),
count(*)
from tenk1 group by grouping sets (unique1,hundred,ten,four,two);
-- check collation-sensitive matching between grouping expressions
-- (similar to a check for aggregates, but there are additional code
-- paths for GROUPING, so check again here)
select v||'a', case grouping(v||'a') when 1 then 1 else 0 end, count(*)
from unnest(array[1,1], array['a','b']) u(i,v)
group by rollup(i, v||'a') order by 1,3;
select v||'a', case when grouping(v||'a') = 1 then 1 else 0 end, count(*)
from unnest(array[1,1], array['a','b']) u(i,v)
group by rollup(i, v||'a') order by 1,3;
-- end
|
-- phpMyAdmin SQL Dump
-- version 4.4.15.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: 2016-04-28 21:58:13
-- 服务器版本: 5.5.48-log
-- PHP Version: 5.6.20
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: `glzjin_ss2`
--
-- --------------------------------------------------------
--
-- 表的结构 `alive_ip`
--
CREATE TABLE IF NOT EXISTS `alive_ip` (
`id` bigint(20) NOT NULL,
`nodeid` int(11) NOT NULL,
`userid` int(11) NOT NULL,
`ip` text NOT NULL,
`datetime` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `announcement`
--
CREATE TABLE IF NOT EXISTS `announcement` (
`id` int(11) NOT NULL,
`date` datetime NOT NULL,
`content` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `blockip`
--
CREATE TABLE IF NOT EXISTS `blockip` (
`id` bigint(20) NOT NULL,
`nodeid` int(11) NOT NULL,
`ip` text NOT NULL,
`datetime` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `code`
--
CREATE TABLE IF NOT EXISTS `code` (
`id` bigint(20) NOT NULL,
`code` text NOT NULL,
`type` int(11) NOT NULL,
`number` int(11) NOT NULL,
`isused` int(11) NOT NULL DEFAULT '0',
`userid` bigint(20) NOT NULL,
`usedatetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `link`
--
CREATE TABLE IF NOT EXISTS `link` (
`id` bigint(20) NOT NULL,
`type` int(11) NOT NULL,
`address` text NOT NULL,
`port` int(11) NOT NULL,
`token` text NOT NULL,
`ios` int(11) NOT NULL DEFAULT '0',
`userid` bigint(20) NOT NULL,
`isp` text,
`geo` int(11) DEFAULT NULL,
`method` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `login_ip`
--
CREATE TABLE IF NOT EXISTS `login_ip` (
`id` bigint(20) NOT NULL,
`userid` bigint(20) NOT NULL,
`ip` text NOT NULL,
`datetime` bigint(20) NOT NULL,
`type` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `radius_ban`
--
CREATE TABLE IF NOT EXISTS `radius_ban` (
`id` int(11) NOT NULL,
`userid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `speedtest`
--
CREATE TABLE IF NOT EXISTS `speedtest` (
`id` bigint(20) NOT NULL,
`nodeid` int(11) NOT NULL,
`datetime` bigint(20) NOT NULL,
`telecomping` text NOT NULL,
`telecomeupload` text NOT NULL,
`telecomedownload` text NOT NULL,
`unicomping` text NOT NULL,
`unicomupload` text NOT NULL,
`unicomdownload` text NOT NULL,
`cmccping` text NOT NULL,
`cmccupload` text NOT NULL,
`cmccdownload` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `ss_invite_code`
--
CREATE TABLE IF NOT EXISTS `ss_invite_code` (
`id` int(11) NOT NULL,
`code` varchar(128) NOT NULL,
`user_id` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '2016-06-01 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `ss_node`
--
CREATE TABLE IF NOT EXISTS `ss_node` (
`id` int(11) NOT NULL,
`name` varchar(128) NOT NULL,
`type` int(3) NOT NULL,
`server` varchar(128) NOT NULL,
`method` varchar(64) NOT NULL,
`info` varchar(128) NOT NULL,
`status` varchar(128) NOT NULL,
`sort` int(3) NOT NULL,
`custom_method` tinyint(1) NOT NULL DEFAULT '0',
`traffic_rate` float NOT NULL DEFAULT '1',
`node_class` int(11) NOT NULL DEFAULT '0',
`node_speedlimit` int(11) NOT NULL DEFAULT '0',
`node_connector` int(11) NOT NULL DEFAULT '0',
`node_bandwidth` bigint(20) NOT NULL DEFAULT '0',
`node_bandwidth_limit` bigint(20) NOT NULL DEFAULT '0',
`bandwidthlimit_resetday` int(11) NOT NULL DEFAULT '0',
`node_heartbeat` bigint(20) NOT NULL DEFAULT '0',
`node_ip` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- 表的结构 `ss_node_info`
--
CREATE TABLE IF NOT EXISTS `ss_node_info` (
`id` int(11) NOT NULL,
`node_id` int(11) NOT NULL,
`uptime` float NOT NULL,
`load` varchar(32) NOT NULL,
`log_time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `ss_node_online_log`
--
CREATE TABLE IF NOT EXISTS `ss_node_online_log` (
`id` int(11) NOT NULL,
`node_id` int(11) NOT NULL,
`online_user` int(11) NOT NULL,
`log_time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `ss_password_reset`
--
CREATE TABLE IF NOT EXISTS `ss_password_reset` (
`id` int(11) NOT NULL,
`email` varchar(32) NOT NULL,
`token` varchar(128) NOT NULL,
`init_time` int(11) NOT NULL,
`expire_time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- 表的结构 `unblockip`
--
CREATE TABLE IF NOT EXISTS `unblockip` (
`id` bigint(20) NOT NULL,
`ip` text NOT NULL,
`datetime` bigint(20) NOT NULL,
`userid` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`id` int(11) NOT NULL,
`user_name` varchar(128) CHARACTER SET utf8mb4 NOT NULL,
`email` varchar(32) NOT NULL,
`pass` varchar(256) NOT NULL,
`passwd` varchar(16) NOT NULL,
`t` int(11) NOT NULL DEFAULT '0',
`u` bigint(20) NOT NULL,
`d` bigint(20) NOT NULL,
`plan` varchar(2) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'A',
`transfer_enable` bigint(20) NOT NULL,
`port` int(11) NOT NULL,
`switch` tinyint(4) NOT NULL DEFAULT '1',
`enable` tinyint(4) NOT NULL DEFAULT '1',
`type` tinyint(4) NOT NULL DEFAULT '1',
`last_get_gift_time` int(11) NOT NULL DEFAULT '0',
`last_check_in_time` int(11) NOT NULL DEFAULT '0',
`last_rest_pass_time` int(11) NOT NULL DEFAULT '0',
`reg_date` datetime NOT NULL,
`invite_num` int(8) NOT NULL,
`money` decimal(12,2) NOT NULL,
`ref_by` int(11) NOT NULL DEFAULT '0',
`expire_time` int(11) NOT NULL DEFAULT '0',
`method` varchar(64) NOT NULL DEFAULT 'rc4-md5',
`is_email_verify` tinyint(4) NOT NULL DEFAULT '0',
`reg_ip` varchar(128) NOT NULL DEFAULT '127.0.0.1',
`node_speedlimit` text NOT NULL,
`node_connector` int(11) NOT NULL DEFAULT '0',
`is_admin` int(2) NOT NULL DEFAULT '0',
`im_type` int(11) DEFAULT '1',
`im_value` text,
`last_day_t` bigint(20) NOT NULL DEFAULT '0',
`sendDailyMail` int(11) NOT NULL DEFAULT '0',
`class` int(11) NOT NULL DEFAULT '0',
`class_expire` datetime NOT NULL DEFAULT '1989-06-04 00:05:00',
`expire_in` datetime NOT NULL DEFAULT '2099-06-04 00:05:00',
`theme` text NOT NULL,
`ga_token` text NOT NULL,
`ga_enable` int(11) NOT NULL DEFAULT '0',
`pac` longtext,
`remark` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `user_token`
--
CREATE TABLE IF NOT EXISTS `user_token` (
`id` int(11) NOT NULL,
`token` varchar(256) NOT NULL,
`user_id` int(11) NOT NULL,
`create_time` int(11) NOT NULL,
`expire_time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `user_traffic_log`
--
CREATE TABLE IF NOT EXISTS `user_traffic_log` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`u` int(11) NOT NULL,
`d` int(11) NOT NULL,
`node_id` int(11) NOT NULL,
`rate` float NOT NULL,
`traffic` varchar(32) NOT NULL,
`log_time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `alive_ip`
--
ALTER TABLE `alive_ip`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `announcement`
--
ALTER TABLE `announcement`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `blockip`
--
ALTER TABLE `blockip`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `code`
--
ALTER TABLE `code`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `link`
--
ALTER TABLE `link`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `login_ip`
--
ALTER TABLE `login_ip`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `radius_ban`
--
ALTER TABLE `radius_ban`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `speedtest`
--
ALTER TABLE `speedtest`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `ss_invite_code`
--
ALTER TABLE `ss_invite_code`
ADD PRIMARY KEY (`id`),
ADD KEY `user_id` (`user_id`);
--
-- Indexes for table `ss_node`
--
ALTER TABLE `ss_node`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `ss_node_info`
--
ALTER TABLE `ss_node_info`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `ss_node_online_log`
--
ALTER TABLE `ss_node_online_log`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `ss_password_reset`
--
ALTER TABLE `ss_password_reset`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `unblockip`
--
ALTER TABLE `unblockip`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`),
ADD KEY `user_name` (`user_name`),
ADD KEY `uid` (`id`),
ADD KEY `email` (`email`);
--
-- Indexes for table `user_token`
--
ALTER TABLE `user_token`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user_traffic_log`
--
ALTER TABLE `user_traffic_log`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `alive_ip`
--
ALTER TABLE `alive_ip`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `announcement`
--
ALTER TABLE `announcement`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `blockip`
--
ALTER TABLE `blockip`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `code`
--
ALTER TABLE `code`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `link`
--
ALTER TABLE `link`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `login_ip`
--
ALTER TABLE `login_ip`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `radius_ban`
--
ALTER TABLE `radius_ban`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `speedtest`
--
ALTER TABLE `speedtest`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ss_invite_code`
--
ALTER TABLE `ss_invite_code`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ss_node`
--
ALTER TABLE `ss_node`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ss_node_info`
--
ALTER TABLE `ss_node_info`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ss_node_online_log`
--
ALTER TABLE `ss_node_online_log`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ss_password_reset`
--
ALTER TABLE `ss_password_reset`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
--
-- AUTO_INCREMENT for table `unblockip`
--
ALTER TABLE `unblockip`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `user_token`
--
ALTER TABLE `user_token`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `user_traffic_log`
--
ALTER TABLE `user_traffic_log`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- phpMyAdmin SQL Dump
-- version 4.4.15.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: 2016-04-28 21:59:55
-- 服务器版本: 5.5.48-log
-- PHP Version: 5.6.20
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: `glzjin_ss2`
--
-- --------------------------------------------------------
--
-- 表的结构 `ss_node`
--
CREATE TABLE IF NOT EXISTS `ss_node` (
`id` int(11) NOT NULL,
`name` varchar(128) NOT NULL,
`type` int(3) NOT NULL,
`server` varchar(128) NOT NULL,
`method` varchar(64) NOT NULL,
`info` varchar(128) NOT NULL,
`status` varchar(128) NOT NULL,
`sort` int(3) NOT NULL,
`custom_method` tinyint(1) NOT NULL DEFAULT '0',
`traffic_rate` float NOT NULL DEFAULT '1',
`node_class` int(11) NOT NULL DEFAULT '0',
`node_speedlimit` int(11) NOT NULL DEFAULT '0',
`node_connector` int(11) NOT NULL DEFAULT '0',
`node_bandwidth` bigint(20) NOT NULL DEFAULT '0',
`node_bandwidth_limit` bigint(20) NOT NULL DEFAULT '0',
`bandwidthlimit_resetday` int(11) NOT NULL DEFAULT '0',
`node_heartbeat` bigint(20) NOT NULL DEFAULT '0',
`node_ip` text
) ENGINE=InnoDB AUTO_INCREMENT=178 DEFAULT CHARSET=utf8mb4;
--
-- 转存表中的数据 `ss_node`
--
INSERT INTO `ss_node` (`id`, `name`, `type`, `server`, `method`, `info`, `status`, `sort`, `custom_method`, `traffic_rate`, `node_class`, `node_speedlimit`, `node_connector`, `node_bandwidth`, `node_bandwidth_limit`, `bandwidthlimit_resetday`, `node_heartbeat`, `node_ip`) VALUES
(NULL, '统一验证登陆', 0, 'zhaojin97.cn', 'radius', '统一登陆验证', '可用', 999, 0, 1, 0, 0, 0, 0, 0, 0, 0, ''),
(NULL, 'VPN 统一流量结算', 0, 'zhaojin97.cn', 'radius', 'VPN 统一流量结算', '可用', 999, 0, 1, 0, 0, 0, 0, 0, 0, 0, NULL);
ALTER TABLE `user` ADD `node_group` INT NOT NULL DEFAULT '0' AFTER `remark`;
ALTER TABLE `ss_node` ADD `node_group` INT NOT NULL DEFAULT '0' AFTER `node_ip`;
CREATE TABLE `payback` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `total` DECIMAL(12,2) NOT NULL , `userid` BIGINT NOT NULL , `ref_by` BIGINT NOT NULL , `ref_get` DECIMAL(12,2) NOT NULL , `datetime` BIGINT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
CREATE TABLE `shop` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `name` TEXT NOT NULL , `price` DECIMAL(12,2) NOT NULL , `content` TEXT NOT NULL , `auto_renew` INT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
CREATE TABLE `coupon` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `code` TEXT NOT NULL , `onetime` INT NOT NULL , `expire` BIGINT NOT NULL , `shop` TEXT NOT NULL , `credit` INT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
CREATE TABLE `bought` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `userid` BIGINT NOT NULL , `shopid` BIGINT NOT NULL , `datetime` BIGINT NOT NULL , `renew` INT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
ALTER TABLE `bought` ADD `coupon` TEXT NOT NULL AFTER `renew`, ADD `price` DECIMAL(12,2) NOT NULL AFTER `coupon`;
ALTER TABLE `bought` CHANGE `renew` `renew` BIGINT(11) NOT NULL;
ALTER TABLE `announcement` ADD `markdown` LONGTEXT NOT NULL AFTER `content`;
ALTER TABLE `announcement` CHANGE `content` `content` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
CREATE TABLE `ticket` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `title` LONGTEXT NOT NULL , `content` LONGTEXT NOT NULL , `rootid` BIGINT NOT NULL , `userid` BIGINT NOT NULL , `datetime` BIGINT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
ALTER TABLE `ticket` ADD `status` INT NOT NULL DEFAULT '1' AFTER `datetime`;
ALTER TABLE `shop` ADD `status` INT NOT NULL DEFAULT '1' AFTER `auto_renew`;
ALTER TABLE `user` ADD `auto_reset_day` INT NOT NULL DEFAULT '0' AFTER `node_group`, ADD `auto_reset_bandwidth` DECIMAL(12,2) NOT NULL DEFAULT '0.00' AFTER `auto_reset_day`;
ALTER TABLE `shop` ADD `auto_reset_bandwidth` INT NOT NULL DEFAULT '0' AFTER `auto_renew`;
ALTER TABLE `code` CHANGE `number` `number` DECIMAL(11,2) NOT NULL;
CREATE TABLE `auto` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `type` INT NOT NULL , `value` LONGTEXT NOT NULL , `datetime` BIGINT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
ALTER TABLE `auto` ADD `sign` LONGTEXT NOT NULL AFTER `value`;ALTER TABLE `user` ADD `relay_enable` INT NOT NULL DEFAULT '0' AFTER `auto_reset_bandwidth`, ADD `relay_info` LONGTEXT NULL AFTER `relay_enable`;
ALTER TABLE `ss_node` ADD `custom_rss` INT NOT NULL DEFAULT '0' AFTER `node_group`;
ALTER TABLE `user` ADD `protocol` VARCHAR(128) NOT NULL DEFAULT 'origin' AFTER `relay_info`, ADD `protocol_param` VARCHAR(128) NULL DEFAULT NULL AFTER `protocol`, ADD `obfs` VARCHAR(128) NOT NULL DEFAULT 'plain' AFTER `protocol_param`, ADD `obfs_param` VARCHAR(128) NULL DEFAULT NULL AFTER `obfs`;
ALTER TABLE `user` ADD `forbidden_ip` LONGTEXT NULL DEFAULT '' AFTER `obfs_param`, ADD `forbidden_port` LONGTEXT NULL DEFAULT '' AFTER `forbidden_ip`, ADD `disconnect_ip` LONGTEXT NULL DEFAULT '' AFTER `forbidden_port`;
CREATE TABLE `disconnect_ip` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `userid` BIGINT NOT NULL , `ip` TEXT NOT NULL , `datetime` BIGINT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
ALTER TABLE `user` CHANGE `node_speedlimit` `node_speedlimit` DECIMAL(12,2) NOT NULL DEFAULT '0.00';
ALTER TABLE `ss_node` CHANGE `node_speedlimit` `node_speedlimit` DECIMAL(12,2) NOT NULL DEFAULT '0.00';
ALTER TABLE `user`
DROP `relay_enable`,
DROP `relay_info`;
ALTER TABLE `user` CHANGE `protocol` `protocol` VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'origin', CHANGE `obfs` `obfs` VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'plain';
CREATE TABLE `email_verify` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `email` TEXT NOT NULL , `ip` TEXT NOT NULL , `code` TEXT NOT NULL , `expire_in` BIGINT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;ALTER TABLE `user` ADD `is_hide` INT NOT NULL DEFAULT '0' AFTER `disconnect_ip`;
CREATE TABLE `detect_list` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `name` LONGTEXT NOT NULL , `text` LONGTEXT NOT NULL , `regex` LONGTEXT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
CREATE TABLE `detect_log` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `user_id` BIGINT NOT NULL , `list_id` BIGINT NOT NULL , `datetime` BIGINT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
ALTER TABLE `detect_list` ADD `type` INT NOT NULL AFTER `regex`;
ALTER TABLE `detect_log` ADD `node_id` INT NOT NULL AFTER `datetime`;
ALTER TABLE `user` ADD `is_multi_user` INT NOT NULL DEFAULT '0' AFTER `is_hide`;
ALTER TABLE `ss_node` ADD `mu_only` INT NULL DEFAULT '0' AFTER `custom_rss`;
CREATE TABLE IF NOT EXISTS `relay` (
`id` bigint(20) NOT NULL,
`user_id` bigint(20) NOT NULL,
`source_node_id` bigint(20) NOT NULL,
`dist_node_id` bigint(20) NOT NULL,
`dist_ip` text NOT NULL,
`port` int(11) NOT NULL,
`priority` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `relay`
ADD PRIMARY KEY (`id`);
ALTER TABLE `relay`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
CREATE TABLE `telegram_session` ( `id` BIGINT NOT NULL AUTO_INCREMENT , `user_id` BIGINT NOT NULL , `type` INT NOT NULL , `session_content` TEXT NOT NULL , `datetime` BIGINT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
ALTER TABLE `user` ADD `telegram_id` BIGINT NULL AFTER `is_multi_user`;
CREATE TABLE IF NOT EXISTS `paylist` (
`id` bigint(20) NOT NULL,
`userid` bigint(20) NOT NULL,
`total` decimal(12,2) NOT NULL,
`status` int(11) NOT NULL DEFAULT '0',
`tradeno` text,
`datetime` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `paylist`
--
ALTER TABLE `paylist`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `paylist`
--
ALTER TABLE `paylist`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;ALTER TABLE `user_traffic_log` CHANGE `u` `u` BIGINT(20) NOT NULL, CHANGE `d` `d` BIGINT(20) NOT NULL;
--
-- 用户订阅日志
--
CREATE TABLE IF NOT EXISTS `user_subscribe_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`user_name` varchar(128) NOT NULL COMMENT '用户名',
`user_id` int(11) NOT NULL COMMENT '用户 ID',
`email` varchar(32) NOT NULL COMMENT '用户邮箱',
`subscribe_type` varchar(20) NOT NULL COMMENT '获取的订阅类型',
`request_ip` varchar(128) NOT NULL COMMENT '请求 IP',
`request_time` datetime NOT NULL COMMENT '请求时间',
`request_user_agent` text COMMENT '请求 UA 信息',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='用户订阅日志';
--
-- 审计封禁日志
--
CREATE TABLE IF NOT EXISTS `detect_ban_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`user_name` varchar(128) NOT NULL COMMENT '用户名',
`user_id` int(11) NOT NULL COMMENT '用户 ID',
`email` varchar(32) NOT NULL COMMENT '用户邮箱',
`detect_number` int(11) NOT NULL COMMENT '本次违规次数',
`ban_time` int(11) NOT NULL COMMENT '本次封禁时长',
`start_time` bigint(20) NOT NULL COMMENT '统计开始时间',
`end_time` bigint(20) NOT NULL COMMENT '统计结束时间',
`all_detect_number` int(11) NOT NULL COMMENT '累计违规次数',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='审计封禁日志';
ALTER TABLE `user` ADD `last_detect_ban_time` datetime DEFAULT '1989-06-04 00:05:00' AFTER `enable`;
ALTER TABLE `user` ADD `all_detect_number` int(11) NOT NULL DEFAULT '0' AFTER `last_detect_ban_time`;
--
-- 网站配置
--
CREATE TABLE IF NOT EXISTS `gconfig` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`key` varchar(128) NOT NULL COMMENT '配置键名',
`type` varchar(32) NOT NULL COMMENT '值类型',
`value` text NOT NULL COMMENT '配置值',
`oldvalue` text NOT NULL COMMENT '之前的配置值',
`name` varchar(128) NOT NULL COMMENT '配置名称',
`comment` text NOT NULL COMMENT '配置描述',
`operator_id` int(11) NOT NULL COMMENT '操作员 ID',
`operator_name` varchar(128) NOT NULL COMMENT '操作员名称',
`operator_email` varchar(32) NOT NULL COMMENT '操作员邮箱',
`last_update` bigint(20) NOT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='网站配置';
--
-- Telegram 任务列表
--
CREATE TABLE IF NOT EXISTS `telegram_tasks` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`type` int(8) NOT NULL COMMENT '任务类型',
`status` int(2) NOT NULL DEFAULT '0' COMMENT '任务状态',
`chatid` varchar(128) NOT NULL DEFAULT '0' COMMENT 'Telegram Chat ID',
`messageid` varchar(128) NOT NULL DEFAULT '0' COMMENT 'Telegram Message ID',
`content` text DEFAULT NULL COMMENT '任务详细内容',
`process` varchar(32) DEFAULT NULL COMMENT '临时任务进度',
`userid` int(11) NOT NULL DEFAULT '0' COMMENT '网站用户 ID',
`tguserid` varchar(32) NOT NULL DEFAULT '0' COMMENT 'Telegram User ID',
`executetime` bigint(20) NOT NULL COMMENT '任务执行时间',
`datetime` bigint(20) NOT NULL COMMENT '任务产生时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Telegram 任务列表';
ALTER TABLE `detect_log` ADD `status` int(2) NOT NULL DEFAULT '0' AFTER `node_id`;
ALTER TABLE `user` ADD COLUMN `uuid` TEXT NULL DEFAULT NULL COMMENT 'uuid' AFTER `passwd`;
|
ALTER TABLE link RENAME COLUMN value_id TO entity_id;
ALTER TABLE link RENAME TO alias;
ALTER TABLE value RENAME TO entity;
ALTER TABLE entity RENAME COLUMN value TO name;
ALTER TABLE alias RENAME COLUMN key TO name;
ALTER TABLE dataset RENAME COLUMN match_links TO match_aliases;
|
# --- Created by Slick DDL
# To stop Slick DDL generation, remove this comment and start using Evolutions
# --- !Ups
create table "newsletters" ("id" INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,"version" BIGINT NOT NULL,"subject" VARCHAR(254) NOT NULL,"text" VARCHAR(254) NOT NULL,"status" INTEGER NOT NULL,"date_sent" TIMESTAMP,"date_created" TIMESTAMP NOT NULL,"date_updated" TIMESTAMP NOT NULL);
create table "reset_password_tokens" ("user_id" INTEGER NOT NULL PRIMARY KEY,"password_token" VARCHAR(254) NOT NULL);
create table "users" ("id" INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,"version" BIGINT NOT NULL,"role" VARCHAR(254) NOT NULL,"email" VARCHAR(254) NOT NULL,"password" VARCHAR(254) NOT NULL,"date_created" TIMESTAMP NOT NULL,"date_updated" TIMESTAMP NOT NULL,"location" VARCHAR(254) NOT NULL,"latitude" DOUBLE PRECISION NOT NULL,"longitude" DOUBLE PRECISION NOT NULL);
create unique index "users_idx_a" on "users" ("email");
alter table "reset_password_tokens" add constraint "reset_password_tokens_user_fk" foreign key("user_id") references "users"("id") on update NO ACTION on delete NO ACTION;
# --- !Downs
alter table "reset_password_tokens" drop constraint "reset_password_tokens_user_fk";
drop table "users";
drop table "reset_password_tokens";
drop table "newsletters";
|
-- file:money.sql ln:121 expect:true
SELECT (-1234567890)::int4::money
|
DELIMITER $$
CREATE PROCEDURE `ocena_restorana`(idRez INT)
BEGIN
DECLARE IDR int;
DECLARE BP int;
DECLARE O float;
DECLARE S varchar(100);
DECLARE ORez int;
DECLARE IDStoFK int;
SET S := (
SELECT R.Status
FROM rezervacija R
WHERE R.IDRezervacija = idRez);
SET ORez := (
SELECT R.Ocena
FROM rezervacija R
WHERE R.IDRezervacija = idRez);
SET IDStoFK := (
SELECT R.IDStoFK
FROM rezervacija R
WHERE R.IDRezervacija = idRez);
IF S ='Ocenjena'
THEN
BEGIN
SET IDR := (
SELECT S.IDRestoranFK
FROM sto S
WHERE S.IDSto = IDStoFK);
SET BP := (
SELECT R.BrojPosetilaca
FROM restoran R
WHERE R.IDRestoran = IDR);
SET O := (
SELECT R.Ocena
FROM restoran R
WHERE R.IDRestoran = IDR);
SET O = O + ORez;
SET BP = BP + 1;
SET O = O / BP;
UPDATE restoran SET BrojPosetilaca = BP, Ocena = O WHERE IDRestoran = IDR;
END;
END IF;
END$$
DELIMITER ;
DELIMITER $$
CREATE PROCEDURE `sve_rezervacije`(idK INT)
BEGIN
SELECT R.ImeObjekta, R.Opis, Z.Ocena, Z.VremeOd, Z.VremeDo,Z.Status, Z.IDRezervacija
FROM sto S, restoran R, rezervacija Z
WHERE Z.IDKorisnikFK = idK
AND Z.IDStoFK = S.IDSto
AND S.IDRestoranFK = R.IDRestoran
;
END$$
DELIMITER ;
DELIMITER $$
CREATE PROCEDURE `slobodni_stolovi`(idRes INT, brLjudi INT,vremeOd TIMESTAMP, vremeDo TIMESTAMP )
BEGIN
SELECT *
FROM sto ss
WHERE ss.IDRestoranFK = idRes
AND ss.BrojOsoba = brLjudi
AND ss.IDSto NOT IN
(
SELECT IDStoFK
FROM rezervacija r
WHERE
r.Status='Nadolazeca'
AND
(
(vremeOd <= r.VremeDo AND vremeOd >= r.VremeOd )
OR (vremeDo <= r.VremeDo AND vremeDo >= r.VremeOd)
OR (vremeOd <= r.VremeOd AND vremeDo >= r.VremeDo)
)
AND r.IDStoFK IN
(
SELECT s.IDSto
FROM sto s
WHERE s.IDRestoranFK = idRes
AND s.BrojOsoba = brLjudi
)
);
END$$
DELIMITER ;
DELIMITER $$
CREATE PROCEDURE `slobodni_stolovi_restorani`(opstina VARCHAR(30) , brLjudi INT,vremeOd TIMESTAMP, vremeDo TIMESTAMP )
BEGIN
SELECT *
FROM restoran res
WHERE res.Opstina = opstina
AND EXISTS
(
SELECT *
FROM sto ss
WHERE ss.IDRestoranFK = res.IDRestoran
AND ss.BrojOsoba = brLjudi
AND ss.IDSto NOT IN
(
SELECT IDStoFK
FROM rezervacija r
WHERE
r.Status='Nadolazeca'
AND
(
(vremeOd <= r.VremeDo AND vremeOd >= r.VremeOd )
OR (vremeDo <= r.VremeDo AND vremeDo >= r.VremeOd)
OR (vremeOd <= r.VremeOd AND vremeDo >= r.VremeDo)
)
AND r.IDStoFK IN
(
SELECT s.IDSto
FROM sto s
WHERE s.IDRestoranFK = res.IDRestoran
AND s.BrojOsoba = brLjudi
)
)
);
END$$
DELIMITER ;
|
select `orderkey`, `suppkey`, `quantity`, round(sum(`quantity`) over (partition by `suppkey` order by `orderkey` rows unbounded_preceding), 5) as `total_quantity`
from `tpch`.`tiny`.`lineitem`
where `partkey` = 272
|
#create database if not exists talent default charset utf8;
#use talent;
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`mobile` char(11) NOT NULL COMMENT '手机号',
`auth_key` varchar(32) NOT NULL,
`password_hash` varchar(255) NOT NULL,
`password_reset_token` varchar(255) DEFAULT NULL,
`access_token` varchar(255) DEFAULT NULL,
`openid` varchar(255) DEFAULT NULL,
`status` tinyint(6) unsigned NOT NULL DEFAULT 0 COMMENT '状态,公开1、隐藏2',
`uuid` varchar(255) NOT NULL COMMENT '用户uuid',
`created_at` bigint NOT NULL DEFAULT 0 COMMENT '创建时间',
`updated_at` bigint NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `mobile` (`mobile`, `openid`),
UNIQUE KEY `uuid` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `thirdauth`;
CREATE TABLE `thirdauth` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL COMMENT '用户id',
`appid` varchar(255) NOT NULL COMMENT 'appid',
`app_secret` varchar(255) NOT NULL COMMENT 'appkey',
`openid` varchar(255) NOT NULL COMMENT 'openid',
`access_token` varchar(255) NOT NULL COMMENT 'access_token',
`source_type` int(10) unsigned NOT NULL COMMENT '来源渠道, 微信1,qq2,微博3',
`created_at` int(11) DEFAULT NULL,
`updated_at` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='第三方登录';
DROP TABLE IF EXISTS `talentinfo`;
CREATE TABLE `talentinfo` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL COMMENT '用户id',
`mobile` char(11) DEFAULT NULL COMMENT '手机号',
`user_name` varchar(60) NOT NULL DEFAULT '' COMMENT '姓名',
`gender` varchar(10) NOT NULL DEFAULT '' COMMENT '性别,男、女',
`id_number` varchar(20) NULL COMMENT '身份证号',
`idcardup` varchar(255) NULL COMMENT '身份证正面',
`idcarddown` varchar(255) NULL COMMENT '身份证反面',
`certificate` varchar(255) NOT NULL DEFAULT '' COMMENT '学位证书',
`pol_visage` varchar(20) NOT NULL DEFAULT '' COMMENT '政治面貌,中共党员,中国民主同盟,中国民主建国会,无党派人士',
`maxdegree` varchar(10) NOT NULL DEFAULT '' COMMENT '最高学历,1博士后、2博士、3硕士、4本科、5专科、6专科以下',
`address` varchar(511) NOT NULL DEFAULT '' COMMENT '联系地址',
`email` varchar(60) NOT NULL DEFAULT '' COMMENT '邮箱',
`qq` char(20) NOT NULL DEFAULT '' COMMENT 'qq',
`wechat` char(50) NOT NULL DEFAULT '' COMMENT '微信号',
`brief` text DEFAULT NULL COMMENT '个人简介',
`portrait` text DEFAULT NULL COMMENT '头像',
`good_fields` varchar(511) DEFAULT NULL COMMENT '擅长领域',
`authstatus` tinyint(6) unsigned NOT NULL DEFAULT 2 COMMENT '人才认证状态, 1未认证, 2认证中, 3认证失败, 4认证成功',
`category` bigint NULL COMMENT '人才级别',
`catestatus` varchar(255) NULL COMMENT '人才级别状态, 1学历自动认证状态,2人才后台认证',
`status` tinyint(6) unsigned NOT NULL DEFAULT 1 COMMENT '状态,公开1、隐藏2',
`isshow` tinyint(6) unsigned NOT NULL DEFAULT 1 COMMENT '状态,隐藏1、公开展示2、',
`created_at` bigint NOT NULL DEFAULT 0 COMMENT '创建时间',
`updated_at` bigint NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `user_id` (`user_id`),
UNIQUE KEY `id_number` (`id_number`),
KEY `created_at` (`created_at`,`updated_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `education`;
CREATE TABLE `education` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL COMMENT '用户id',
`school` varchar(255) NOT NULL COMMENT '学校名称',
`institute` varchar(255) NOT NULL COMMENT '学院',
`degree` varchar(10) NOT NULL DEFAULT '' COMMENT '学历,1博士后、2博士、3硕士、4本科、5专科、6专科以下',
`vcode` varchar(255) NOT NULL DEFAULT '' COMMENT '学信网学历报告验证码',
`degreereport` text DEFAULT NULL COMMENT '学信网报告',
`graduation_year` varchar(255) NOT NULL COMMENT '毕业年份',
`certificate` varchar(255) NOT NULL DEFAULT '' COMMENT '学位证书',
`diploma` varchar(255) NOT NULL DEFAULT '' COMMENT '学历证书',
`status` tinyint(6) unsigned NOT NULL DEFAULT 0 COMMENT '状态,公开0、隐藏1',
`created_at` bigint NOT NULL DEFAULT 0 COMMENT '创建时间',
`updated_at` bigint NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `honor`;
CREATE TABLE `honor` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL COMMENT '用户id',
`name` varchar(255) NOT NULL COMMENT '人才名称//长江学者、西部之光访问学者、国千、万人计划、海智计划',
`year` varchar(10) NOT NULL COMMENT '评选年份',
`status` tinyint(6) unsigned NOT NULL DEFAULT 0 COMMENT '状态,公开0、隐藏1',
`created_at` bigint NOT NULL DEFAULT 0 COMMENT '创建时间',
`updated_at` bigint NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `honorfiles`;
CREATE TABLE `honorfiles` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`honorid` int(10) unsigned NOT NULL COMMENT '荣誉id',
`user_id` int(10) unsigned NOT NULL COMMENT '用户id',
`filesign` varchar(255) NOT NULL COMMENT '文件sign',
`created_at` bigint NOT NULL DEFAULT 0 COMMENT '创建时间',
`updated_at` bigint NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `talentcard`;
CREATE TABLE `talentcard` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL COMMENT '用户id',
`cardid` int(10) unsigned NOT NULL COMMENT ' 人才卡id',
`tlevel` varchar(10) NOT NULL DEFAULT '' COMMENT '人才级别',
`status` tinyint(6) unsigned NOT NULL DEFAULT 0 COMMENT '状态,认证中1,已认证2,未通过3',
`created_at` bigint NOT NULL DEFAULT 0 COMMENT '创建时间',
`updated_at` bigint NOT NULL DEFAULT 0 COMMENT '更新时间',
UNIQUE KEY (`cardid`),
UNIQUE KEY (`user_id`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `userback`;
CREATE TABLE `userback` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`mobile` char(11) NOT NULL COMMENT '手机号',
`nickname` varchar(60) DEFAULT NULL COMMENT '昵称',
`auth_key` varchar(32) NOT NULL,
`password_hash` varchar(255) NOT NULL,
`password_reset_token` varchar(255) DEFAULT NULL,
`access_token` varchar(255) DEFAULT NULL,
`email` varchar(60) DEFAULT NULL COMMENT '邮箱',
`portrait` text DEFAULT NULL COMMENT '头像',
`user_name` varchar(60) DEFAULT NULL COMMENT '姓名',
`gender` enum('male','female','other') NOT NULL DEFAULT 'male' COMMENT '性别',
`id_number` varchar(20) DEFAULT NULL COMMENT '身份证号',
`pol_visage` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '政治面貌',
`address` varchar(511) DEFAULT NULL COMMENT '联系地址',
`qq` char(20) NOT NULL COMMENT 'qq',
`brief` text DEFAULT NULL COMMENT '个人简介',
`good_fields` varchar(255) DEFAULT NULL COMMENT '擅长领域',
`status` tinyint(6) unsigned NOT NULL DEFAULT 0 COMMENT '状态,公开0、隐藏1',
`created_at` bigint NOT NULL DEFAULT 0 COMMENT '创建时间',
`updated_at` bigint NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `mobile` (`mobile`),
UNIQUE KEY `email` (`email`),
KEY `created_at` (`created_at`,`updated_at`),
KEY `gender` (`gender`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
CREATE TABLE `tb_permission`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`parent_id` bigint(20) DEFAULT NULL COMMENT '父权限',
`name` varchar(64) NOT NULL COMMENT '权限名称',
`enname` varchar(64) NOT NULL COMMENT '权限英文名称',
`url` varchar(255) NOT NULL COMMENT '授权路径',
`description` varchar(200) DEFAULT NULL COMMENT '备注',
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB
AUTO_INCREMENT = 44
DEFAULT CHARSET = utf8 COMMENT ='权限表';
insert into `tb_permission`(`id`, `parent_id`, `name`, `enname`, `url`, `description`, `created`, `updated`)
values (37, 0, '系统管理', 'System', '/', NULL, '2019-04-04 23:22:54', '2019-04-04 23:22:56'),
(38, 37, '用户管理', 'SystemUser', '/users/', NULL, '2019-04-04 23:25:31', '2019-04-04 23:25:33'),
(39, 38, '查看用户', 'SystemUserView', '', NULL, '2019-04-04 15:30:30', '2019-04-04 15:30:43'),
(40, 38, '新增用户', 'SystemUserInsert', '', NULL, '2019-04-04 15:30:31', '2019-04-04 15:30:44'),
(41, 38, '编辑用户', 'SystemUserUpdate', '', NULL, '2019-04-04 15:30:32', '2019-04-04 15:30:45'),
(42, 38, '删除用户', 'SystemUserDelete', '', NULL, '2019-04-04 15:30:48', '2019-04-04 15:30:45');
CREATE TABLE `tb_role`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`parent_id` bigint(20) DEFAULT NULL COMMENT '父角色',
`name` varchar(64) NOT NULL COMMENT '角色名称',
`enname` varchar(64) NOT NULL COMMENT '角色英文名称',
`description` varchar(200) DEFAULT NULL COMMENT '备注',
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB
AUTO_INCREMENT = 38
DEFAULT CHARSET = utf8 COMMENT ='角色表';
insert into `tb_role`(`id`, `parent_id`, `name`, `enname`, `description`, `created`, `updated`)
values (37, 0, '超级管理员', 'admin', NULL, '2019-04-04 23:22:03', '2019-04-04 23:22:05');
CREATE TABLE `tb_role_permission`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`role_id` bigint(20) NOT NULL COMMENT '角色 ID',
`permission_id` bigint(20) NOT NULL COMMENT '权限 ID',
PRIMARY KEY (`id`)
) ENGINE = InnoDB
AUTO_INCREMENT = 43
DEFAULT CHARSET = utf8 COMMENT ='角色权限表';
insert into `tb_role_permission`(`id`, `role_id`, `permission_id`)
values (37, 37, 37),
(38, 37, 38),
(39, 37, 39),
(40, 37, 40),
(41, 37, 41),
(42, 37, 42);
CREATE TABLE `tb_user`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL COMMENT '用户名',
`password` varchar(64) NOT NULL COMMENT '密码,加密存储',
`phone` varchar(20) DEFAULT NULL COMMENT '注册手机号',
`email` varchar(50) DEFAULT NULL COMMENT '注册邮箱',
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`) USING BTREE,
UNIQUE KEY `phone` (`phone`) USING BTREE,
UNIQUE KEY `email` (`email`) USING BTREE
) ENGINE = InnoDB
AUTO_INCREMENT = 38
DEFAULT CHARSET = utf8 COMMENT ='用户表';
insert into `tb_user`(`id`, `username`, `password`, `phone`, `email`, `created`, `updated`)
values (37, 'admin', '$2a$10$9ZhDOBp.sRKat4l14ygu/.LscxrMUcDAfeVOEPiYwbcRkoB09gCmi', '15888888888',
'lee.lusifer@gmail.com', '2019-04-04 23:21:27', '2019-04-04 23:21:29');
CREATE TABLE `tb_user_role`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL COMMENT '用户 ID',
`role_id` bigint(20) NOT NULL COMMENT '角色 ID',
PRIMARY KEY (`id`)
) ENGINE = InnoDB
AUTO_INCREMENT = 38
DEFAULT CHARSET = utf8 COMMENT ='用户角色表';
insert into `tb_user_role`(`id`, `user_id`, `role_id`)
values (37, 37, 37);
|
CREATE TABLE IF NOT EXISTS a_news (
id int(11) AUTO_INCREMENT,
subject varchar(256) NOT NULL,
entry varchar(1000),
created datetime,
PRIMARY KEY (id)
);
CREATE TABLE IF NOT EXISTS a_admin (
id int(11) AUTO_INCREMENT,
username varchar(256),
password varchar(2048),
PRIMARY KEY (id),
UNIQUE KEY(username)
);
|
BEGIN;
ALTER TABLE job DROP COLUMN data;
COMMIT;
|
-- =============================================
-- Author: Scott Kirkland
-- Create date: 9/15/06
-- Description:
-- =============================================
CREATE PROCEDURE [dbo].[usp_deleteSecondaryDepartment]
-- Add the parameters for the stored procedure here
@Accession char(7),
@CRISDeptCd char(4)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Select all Projects by Accession in the CRISDeptCd that are associated through the
-- 204_Acct_Prog_Asso table
SELECT P.Project
FROM ReportingOrg INNER JOIN
OrgXOrgR AS O ON ReportingOrg.OrgR = O.OrgR RIGHT OUTER JOIN
[204AcctXProj] AS E LEFT OUTER JOIN
Project AS P ON E.Accession = P.Accession LEFT OUTER JOIN
FISDataMart.dbo.Accounts AS A ON E.AccountID = A.Account AND E.Chart = A.Chart ON O.Org = A.Org AND O.Chart = A.Chart
AND A.Period = '--' AND A.Year = 9999
WHERE (E.Accession = @Accession) AND (ReportingOrg.CRISDeptCd = @CRISDeptCd) AND (ReportingOrg.IsActive = 1)
-- If there were any associated projects, then we can't allow the delete to continue
IF @@ROWCOUNT <> 0
RETURN -1
-- If there were not any associated project, then delete the projXOrgR relationship
DELETE FROM ProjXOrgR
FROM ProjXOrgR INNER JOIN
ReportingOrg ON ProjXOrgR.OrgR = ReportingOrg.OrgR
WHERE (ProjXOrgR.Accession = @Accession) AND (ReportingOrg.CRISDeptCd = @CRISDeptCd)
END
|
DROP DATABASE IF EXISTS employeetracker_db;
CREATE database employeetracker_db;
USE employeetracker_db;
CREATE TABLE department (
id INT NOT NULL AUTO_INCREMENT,
department_name VARCHAR(30) NULL,
PRIMARY KEY (id)
);
CREATE TABLE role (
id INT NOT NULL AUTO_INCREMENT,
title VARCHAR(100) NULL,
Salary INT NULL,
department_id INT NOT NULL ,
PRIMARY KEY (id)
);
CREATE TABLE employee (
id INT NOT NULL AUTO_INCREMENT,
first_name VARCHAR(30) NULL,
last_name VARCHAR(30) NULL,
role_id INT NULL,
manager_id INT NOT NULL T,
PRIMARY KEY (id)
);
SELECT * FROM department;
SELECT * FROM role;
SELECT * FROM employee;
|
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 26 Jul 2021 pada 06.44
-- Versi server: 10.4.18-MariaDB
-- Versi PHP: 7.4.18
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: `pengaduan_masyarakat`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `masyarakat`
--
CREATE TABLE `masyarakat` (
`nik` char(16) NOT NULL,
`nama` varchar(50) NOT NULL,
`username` varchar(20) NOT NULL,
`password` varchar(255) NOT NULL,
`telp` char(13) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `masyarakat`
--
INSERT INTO `masyarakat` (`nik`, `nama`, `username`, `password`, `telp`) VALUES
('312312', 'user', 'user', 'user', '23526');
-- --------------------------------------------------------
--
-- Struktur dari tabel `pengaduan`
--
CREATE TABLE `pengaduan` (
`id_pengaduan` int(11) NOT NULL,
`tgl_pengaduan` date NOT NULL,
`nik` varchar(16) NOT NULL,
`isi_laporan` text NOT NULL,
`foto` varchar(255) NOT NULL,
`status` enum('0','proses','selesai') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Struktur dari tabel `petugas`
--
CREATE TABLE `petugas` (
`id_petugas` int(11) NOT NULL,
`nama_petugas` varchar(35) NOT NULL,
`username` varchar(20) NOT NULL,
`password` varchar(50) NOT NULL,
`telp` char(13) NOT NULL,
`level` enum('admin','petugas') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `petugas`
--
INSERT INTO `petugas` (`id_petugas`, `nama_petugas`, `username`, `password`, `telp`, `level`) VALUES
(1, 'admin', 'admin', 'admin', '12345678', 'admin'),
(2, 'petugas', 'petugas', 'petugas', '87654321', 'petugas');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tanggapan`
--
CREATE TABLE `tanggapan` (
`id_tanggapan` int(11) NOT NULL,
`id_pengaduan` int(11) NOT NULL,
`tgl_tanggapan` date NOT NULL,
`tanggapan` text NOT NULL,
`id_petugas` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `masyarakat`
--
ALTER TABLE `masyarakat`
ADD PRIMARY KEY (`nik`);
--
-- Indeks untuk tabel `pengaduan`
--
ALTER TABLE `pengaduan`
ADD PRIMARY KEY (`id_pengaduan`);
--
-- Indeks untuk tabel `petugas`
--
ALTER TABLE `petugas`
ADD PRIMARY KEY (`id_petugas`);
--
-- Indeks untuk tabel `tanggapan`
--
ALTER TABLE `tanggapan`
ADD PRIMARY KEY (`id_tanggapan`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `pengaduan`
--
ALTER TABLE `pengaduan`
MODIFY `id_pengaduan` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `petugas`
--
ALTER TABLE `petugas`
MODIFY `id_petugas` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT untuk tabel `tanggapan`
--
ALTER TABLE `tanggapan`
MODIFY `id_tanggapan` 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 */;
|
--
-- KEY Pushdown Processing.
-- This file tests key-pushdown for system table scan.
--
-- Different from UserTable, system tables and its indexes are centralized in one tablet. To take
-- advantage of this fact, systable-scan queries the data using an INDEX key in one operation.
-- Normally it'd take two operations, one to select ROWID and another to select actual data.
--
-- Test forward scan.
EXPLAIN SELECT classid, objid, objsubid, refclassid, refobjid, deptype FROM pg_depend
WHERE deptype != 'p' AND deptype != 'e' AND deptype != 'i'
ORDER BY classid, objid, objsubid
LIMIT 2;
-- We cannot run the following SELECT on test because different platforms have different system
-- catalog data.
--
-- SELECT classid, objid, objsubid, refclassid, refobjid, deptype FROM pg_depend
-- WHERE deptype != 'p' AND deptype != 'e' AND deptype != 'i'
-- ORDER BY classid, objid, objsubid
-- LIMIT 2;
-- Test reverse scan.
EXPLAIN SELECT classid, objid, objsubid, refclassid, refobjid, deptype FROM pg_depend
WHERE deptype != 'p' AND deptype != 'e' AND deptype != 'i'
ORDER BY classid DESC, objid DESC, objsubid DESC
LIMIT 2;
-- We cannot run the following SELECT on test because different platforms have different system
-- catalog data.
--
-- SELECT classid, objid, objsubid, refclassid, refobjid, deptype FROM pg_depend
-- WHERE deptype != 'p' AND deptype != 'e' AND deptype != 'i'
-- ORDER BY classid DESC, objid DESC, objsubid DESC
-- LIMIT 2;
|
-- Deploy cd_changeset_status
BEGIN;
CREATE TYPE cd_changeset_status AS ENUM('open',
'closed');
COMMIT;
|
DROP TABLE IF EXISTS locations;
CREATE TABLE locations (
id SERIAL PRIMARY KEY,
search_query VARCHAR(255),
formatted_query VARCHAR(255),
latitude NUMERIC(10, 7),
longitude NUMERIC(10, 7),
created_at BIGINT
);
DROP TABLE IF EXISTS weather;
CREATE TABLE weather (
id SERIAL PRIMARY KEY,
search_query VARCHAR(255),
forecast VARCHAR(255),
time VARCHAR(255),
created_at BIGINT
);
DROP TABLE IF EXISTS events;
CREATE TABLE events (
id SERIAL PRIMARY KEY,
search_query VARCHAR(255),
link VARCHAR(255),
name VARCHAR(255),
event_date VARCHAR(255),
summary TEXT,
created_at NUMERIC
);
DROP TABLE IF EXISTS movies;
CREATE TABLE movies (
id SERIAL PRIMARY KEY,
search_query VARCHAR(255),
title VARCHAR(255),
overview VARCHAR,
average_votes VARCHAR(255),
total_votes VARCHAR(255),
image_url VARCHAR(255),
popularity VARCHAR(255),
released_on VARCHAR(255)
);
DROP TABLE IF EXISTS reviews;
CREATE TABLE reviews (
id SERIAL PRIMARY KEY,
search_query VARCHAR(255),
name VARCHAR(255),
image_url VARCHAR(255),
price VARCHAR(255),
rating NUMERIC(10,7),
url VARCHAR(255)
);
|
#아래순서로 테이블생성 및 기초데이터 입력
# ID Generation
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('BBS_ID',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('FILE_ID',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('GROUP_ID',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('LOGINLOG_ID',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('ROLE_ID',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('SAMPLE',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('SYSLOG_ID',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('TMPLAT_ID',1);
INSERT INTO IDS(TABLE_NAME,NEXT_ID) VALUES ('USRCNFRM_ID',2);
# 분류코드
INSERT INTO LETTCCMMNCLCODE(CL_CODE,CL_CODE_NM,CL_CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('LET','전자정부 프레임워크 경량환경 템플릿','전자정부 프레임워크 경량환경 템플릿1','Y','2011-08-02 21:13:03','SYSTEM','2011-08-09 17:17:08',null);
# 공통코드
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM001','등록구분','게시판, 커뮤니티, 동호회 등록구분코드1','Y','LET','2011-08-02 21:13:03','SYSTEM','2011-08-09 17:56:24',null);
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM003','업무구분','업무구분코드','Y','LET','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM004','게시판유형','게시판유형구분코드','Y','LET','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM005','템플릿유형','템플릿유형구분코드','Y','LET','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM009','게시판속성','게시판 속성','Y','LET','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM013','회원상태','회원 가입 신청/승인/삭제를 위한 상태 구분','Y','LET','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM014','성별구분','남녀 성별 구분','Y','LET','2011-08-11 11:32:50','SYSTEM','2011-08-11 11:32:50','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM022','비밀번호 힌트','비밀번호 힌트 구분코드','Y','LET','2011-08-11 11:31:02','SYSTEM','2011-08-11 11:31:02','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM025','소속기관','소속기관정보를 관리할때 사용하는 구분코드(시스템별로 재정의)','Y','LET','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNCODE(CODE_ID,CODE_ID_NM,CODE_ID_DC,USE_AT,CL_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM029','롤유형코드','','Y','LET','2011-08-12 10:45:16','SYSTEM','2011-08-12 10:45:16','SYSTEM');
# 공통상세코드
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM001','REGC01','단일 게시판 이용등록','단일 게시판 이용등록','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM001','REGC07','게시판사용자등록','게시판사용자등록','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM003','BBS','게시판','게시판','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM004','BBST01','일반게시판','일반게시판','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM004','BBST02','익명게시판','익명게시판','N','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM004','BBST03','공지게시판','공지게시판','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM005','TMPT01','게시판템플릿','게시판템플릿','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM009','BBSA01','유효게시판','유효게시판','N','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM009','BBSA02','갤러리','갤러리','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM009','BBSA03','일반게시판','일반게시판','Y','2011-08-02 21:13:03','SYSTEM','2011-08-02 21:13:03','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM013','A','회원 가입 신청 상태','회원 가입 신청 상태','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM013','D','회원 가입 삭제 상태','회원 가입 삭제 상태','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM013','P','회원 가입 승인 상태','회원 가입 승인 상태','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM014','F','여자','여자','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM014','M','남자','남자','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM022',' P01','가장 기억에 남는 장소는?','가장 기억에 남는 장소는?','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM022',' P02','나의 좌우명은?','나의 좌우명은?','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM022',' P03','나의 보물 제1호는?','나의 보물 제1호는?','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM022',' P04','가장 기억에 남는 선생님 성함은?','가장 기억에 남는 선생님 성함은?','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM022',' P05','다른 사람은 모르는 나만의 신체비밀은?','다른 사람은 모르는 나만의 신체비밀은?','Y','2011-08-11 11:32:57','SYSTEM','2011-08-11 11:32:57','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM025','00000001','공공기관','공공기관','Y','2011-08-11 11:33:10','SYSTEM','2011-08-11 11:33:10','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM025','00000002','금융기관','금융기관','Y','2011-08-11 11:33:10','SYSTEM','2011-08-11 11:33:10','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM025','00000003','교육기관','교육기관','Y','2011-08-11 11:33:10','SYSTEM','2011-08-11 11:33:10','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM025','00000004','의료기관','의료기관','Y','2011-08-11 11:33:10','SYSTEM','2011-08-11 11:33:10','SYSTEM');
INSERT INTO LETTCCMMNDETAILCODE(CODE_ID,CODE,CODE_NM,CODE_DC,USE_AT,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('COM029','url','URL','URL','Y','2011-08-12 10:46:18','SYSTEM','2011-08-12 10:46:18','SYSTEM');
# 조직정보
INSERT INTO LETTNORGNZTINFO(ORGNZT_ID,ORGNZT_NM,ORGNZT_DC) VALUES ('ORGNZT_0000000000000','기본조직','기본조직');
# 그룹정보
INSERT INTO LETTNAUTHORGROUPINFO(GROUP_ID,GROUP_NM,GROUP_CREAT_DE,GROUP_DC) VALUES ('GROUP_00000000000000','기본 그룹입니다','2011-08-02 21:01:59','기본 그룹');
# 권한정보
INSERT INTO LETTNAUTHORINFO(AUTHOR_CODE,AUTHOR_NM,AUTHOR_DC,AUTHOR_CREAT_DE) VALUES ('ROLE_ADMIN','관리자','시스템관리자','2011-08-03');
INSERT INTO LETTNAUTHORINFO(AUTHOR_CODE,AUTHOR_NM,AUTHOR_DC,AUTHOR_CREAT_DE) VALUES ('ROLE_ANONYMOUS','오픈기능','오픈기능','2011-08-03');
INSERT INTO LETTNAUTHORINFO(AUTHOR_CODE,AUTHOR_NM,AUTHOR_DC,AUTHOR_CREAT_DE) VALUES ('ROLE_USER_MEMBER','사용자','일반사용자','2011-08-03');
# 권한(롤)계층정보
INSERT INTO LETTNROLES_HIERARCHY(PARNTS_ROLE,CHLDRN_ROLE) VALUES ('ROLE_USER_MEMBER','ROLE_ADMIN');
INSERT INTO LETTNROLES_HIERARCHY(PARNTS_ROLE,CHLDRN_ROLE) VALUES ('ROLE_ANONYMOUS','ROLE_USER_MEMBER');
# 롤정보
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('cop-bbs','cop-bbs','/cop/bbs/.*.do.*','게시판','url','1','2011-08-31 15:41:24');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('cop-com','cop-com','/cop/com/.*.do.*','게시판사용','url','2','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sec-gmt','sec-gmt','/sec/gmt/.*.do.*','그룹관리','url','3','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sec-ram','sec-ram','/sec/ram/.*.do.*','권한관리','url','4','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sec-rgm','sec-rgm','/sec/rgm/.*.do.*','권한그룹관리','url','5','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sec-rmt','sec-rmt','/sec/rmt/.*.do.*','롤관리','url','6','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sts-cst','sts-cst','/sts/cst/.*.do.*','접속통계','url','7','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-ccm-cca','sym-ccm-cca','/sym/ccm/cca/.*.do.*','공통코드 등록','url','8','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-ccm-ccc','sym-ccm-ccc','/sym/ccm/ccc/.*.do.*','공통분류코드 상세조회','url','9','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-ccm-cde','sym-ccm-cde','/sym/ccm/cde/.*.do.*','공통상세코드 등록','url','10','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-ccm-zip','sym-ccm-zip','/sym/ccm/zip/.*.do.*','우편번호','url','11','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-cmm','sym-cmm','/sym/cmm/.*.do.*','우편번호 찾기','url','12','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-log-clg','sym-log-clg','/sym/log/clg/.*.do.*','로그인로그조회','url','13','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-mnu-mcm','sym-mnu-mcm','/sym/mnu/mcm/.*.do.*','메뉴생성관리','url','14','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-mnu-mpm','sym-mnu-mpm','/sym/mnu/mpm/.*.do.*','메뉴관리','url','15','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('sym-prm','sym-prm','/sym/prm/.*.do.*','프로그램목록관리','url','16','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('uat-uap','uat-uap','/uat/uap/.*.do.*','로그인정책관리','url','17','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('uat-uia','uat-uia','/uat/uia/.*.do.*','로그인메인','url','18','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('uss-ion-uas','uss-ion-uas','/uss/ion/uas/.*.do.*','사용자부재관리','url','19','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('uss-umt-cmm','uss-umt-cmm','/uss/umt/cmm/.*.do.*','아이디중복확인','url','20','2011-08-24 0:00');
INSERT INTO LETTNROLEINFO(ROLE_CODE,ROLE_NM,ROLE_PTTRN,ROLE_DC,ROLE_TY,ROLE_SORT,ROLE_CREAT_DE) VALUES ('uss-umt-user','uss-umt-user','/uss/umt/user/.*.do.*','사용자등록','url','21','2011-08-24 0:00');
# 권한별 롤
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sec-gmt','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sec-ram','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sec-rgm','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sec-rmt','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sym-ccm-cca','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sym-ccm-ccc','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sym-ccm-cde','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sym-ccm-zip','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sym-mnu-mcm','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sym-mnu-mpm','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','sym-prm','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','uat-uap','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','uss-umt-cmm','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ADMIN','uss-umt-user','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ANONYMOUS','cop-bbs','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ANONYMOUS','sym-cmm','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_ANONYMOUS','uat-uia','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_USER_MEMBER','cop-com','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_USER_MEMBER','sts-cst','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_USER_MEMBER','sym-log-clg','2009-08-25 00:00:00');
INSERT INTO LETTNAUTHORROLERELATE(AUTHOR_CODE,ROLE_CODE,CREAT_DT) VALUES ('ROLE_USER_MEMBER','uss-ion-uas','2009-08-25 00:00:00');
# 사용자정보
INSERT INTO LETTNEMPLYRINFO(EMPLYR_ID,ORGNZT_ID,USER_NM,PASSWORD,EMPL_NO,IHIDNUM,SEXDSTN_CODE,BRTHDY,FXNUM,HOUSE_ADRES,PASSWORD_HINT,PASSWORD_CNSR,HOUSE_END_TELNO,AREA_NO,DETAIL_ADRES,ZIP,OFFM_TELNO,MBTLNUM,EMAIL_ADRES,OFCPS_NM,HOUSE_MIDDLE_TELNO,GROUP_ID,PSTINST_CODE,EMPLYR_STTUS_CODE,ESNTL_ID,CRTFC_DN_VALUE,SBSCRB_DE) VALUES ('admin','ORGNZT_0000000000000','관리자','JfQ7FIatlaE5jj7rPYO8QBABX8yb7bNbQy4AKY1QIfc=','','','','','','','P01','123','','','','','','123456789','admin@test.com','','','GROUP_00000000000000','00000000','P','USRCNFRM_00000000000','','2011-08-02 21:13:03');
INSERT INTO LETTNEMPLYRINFO(EMPLYR_ID,ORGNZT_ID,USER_NM,PASSWORD,EMPL_NO,IHIDNUM,SEXDSTN_CODE,BRTHDY,FXNUM,HOUSE_ADRES,PASSWORD_HINT,PASSWORD_CNSR,HOUSE_END_TELNO,AREA_NO,DETAIL_ADRES,ZIP,OFFM_TELNO,MBTLNUM,EMAIL_ADRES,OFCPS_NM,HOUSE_MIDDLE_TELNO,GROUP_ID,PSTINST_CODE,EMPLYR_STTUS_CODE,ESNTL_ID,CRTFC_DN_VALUE,SBSCRB_DE) VALUES ('user1','ORGNZT_0000000000000','유저1','gRFeMeIqWAGxl3UOwS16Ua1pOqAX7Mi8oDPL1QCpKLY=','','','','','','','P01','123','','','','','','123456789','test01@test.com','','','GROUP_00000000000000','00000000','P','USRCNFRM_00000000001','','2011-08-11 17:00:18');
# 사용자별권한설정
INSERT INTO LETTNEMPLYRSCRTYESTBS(SCRTY_DTRMN_TRGET_ID,MBER_TY_CODE,AUTHOR_CODE) VALUES ('USRCNFRM_00000000000','USR','ROLE_ADMIN');
INSERT INTO LETTNEMPLYRSCRTYESTBS(SCRTY_DTRMN_TRGET_ID,MBER_TY_CODE,AUTHOR_CODE) VALUES ('USRCNFRM_00000000001','USR','ROLE_USER_MEMBER');
# 게시판템플릿
INSERT INTO LETTNTMPLATINFO(TMPLAT_ID,TMPLAT_NM,TMPLAT_COURS,USE_AT,TMPLAT_SE_CODE,FRST_REGISTER_ID,FRST_REGIST_PNTTM,LAST_UPDUSR_ID,LAST_UPDT_PNTTM) VALUES ('TMPLAT_BOARD_DEFAULT','게시판 기본템플릿','/css/egovframework/cop/bbs/egovbbsTemplate.css','Y','TMPT01','USRCNFRM_00000000000','2011-08-02 21:01:59','USRCNFRM_00000000000','2011-08-08 16:12:57');
# 게시판마스터
INSERT INTO LETTNBBSMASTER(BBS_ID,BBS_NM,BBS_INTRCN,BBS_TY_CODE,BBS_ATTRB_CODE,REPLY_POSBL_AT,FILE_ATCH_POSBL_AT,ATCH_POSBL_FILE_NUMBER,ATCH_POSBL_FILE_SIZE,USE_AT,TMPLAT_ID,FRST_REGISTER_ID,FRST_REGIST_PNTTM,LAST_UPDUSR_ID,LAST_UPDT_PNTTM) VALUES ('BBSMSTR_AAAAAAAAAAAA','공지사항','공지사항게시판','BBST03','BBSA03','Y','Y',2,5242880,'Y','TMPLAT_BOARD_DEFAULT','USRCNFRM_00000000000','2011-08-31 12:00:00','USRCNFRM_00000000000','2011-08-31 12:00:00');
INSERT INTO LETTNBBSMASTER(BBS_ID,BBS_NM,BBS_INTRCN,BBS_TY_CODE,BBS_ATTRB_CODE,REPLY_POSBL_AT,FILE_ATCH_POSBL_AT,ATCH_POSBL_FILE_NUMBER,ATCH_POSBL_FILE_SIZE,USE_AT,TMPLAT_ID,FRST_REGISTER_ID,FRST_REGIST_PNTTM,LAST_UPDUSR_ID,LAST_UPDT_PNTTM) VALUES ('BBSMSTR_BBBBBBBBBBBB','갤러리','갤러리게시판','BBST01','BBSA02','Y','Y',2,5242880,'Y','TMPLAT_BOARD_DEFAULT','USRCNFRM_00000000000','2011-08-31 12:00:00','USRCNFRM_00000000000','2011-08-31 12:00:00');
INSERT INTO LETTNBBSMASTER(BBS_ID,BBS_NM,BBS_INTRCN,BBS_TY_CODE,BBS_ATTRB_CODE,REPLY_POSBL_AT,FILE_ATCH_POSBL_AT,ATCH_POSBL_FILE_NUMBER,ATCH_POSBL_FILE_SIZE,USE_AT,TMPLAT_ID,FRST_REGISTER_ID,FRST_REGIST_PNTTM,LAST_UPDUSR_ID,LAST_UPDT_PNTTM) VALUES ('BBSMSTR_CCCCCCCCCCCC','자료실','자료실게시판','BBST01','BBSA03','Y','Y',2,5242880,'Y','TMPLAT_BOARD_DEFAULT','USRCNFRM_00000000000','2011-08-31 12:00:00','USRCNFRM_00000000000','2011-08-31 12:00:00');
# 게시판사용
INSERT INTO LETTNBBSUSE(BBS_ID,TRGET_ID,USE_AT,REGIST_SE_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('BBSMSTR_AAAAAAAAAAAA','SYSTEM_DEFAULT_BOARD','Y','REGC01','2011-08-31 12:00:00','USRCNFRM_00000000000','2011-08-31 12:00:00','USRCNFRM_00000000000');
INSERT INTO LETTNBBSUSE(BBS_ID,TRGET_ID,USE_AT,REGIST_SE_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('BBSMSTR_BBBBBBBBBBBB','SYSTEM_DEFAULT_BOARD','Y','REGC01','2011-08-31 12:00:00','USRCNFRM_00000000000','2011-08-31 12:00:00','USRCNFRM_00000000000');
INSERT INTO LETTNBBSUSE(BBS_ID,TRGET_ID,USE_AT,REGIST_SE_CODE,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES ('BBSMSTR_CCCCCCCCCCCC','SYSTEM_DEFAULT_BOARD','Y','REGC01','2011-08-31 12:00:00','USRCNFRM_00000000000','2011-08-31 12:00:00','USRCNFRM_00000000000');
#프로그램목록
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('dir','/','디렉토리','디렉토리','/');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovAuthorGroupManage','/sec/rgm/','권한그룹관리','권한그룹관리','/sec/rgm/EgovAuthorGroupListView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovAuthorInsert','/sec/ram/','권한등록','권한등록','/sec/ram/EgovAuthorInsertView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovAuthorManage','/sec/ram/','권한관리','권한관리','/sec/ram/EgovAuthorList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovAuthorRoleManage','/sec/ram/','사용자별권한관리','사용자별권한롤관리','/sec/rgm/EgovAuthorGroupListView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovAuthorUpdt','/sec/ram/','권한수정','권한수정','/sec/ram/EgovAuthor.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovBoardMstrList','/cop/bbs/','게시판 목록조회','게시판 목록조회','/cop/bbs/SelectBBSMasterInfs.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovBoardMstrRegist','/cop/bbs/','게시판 생성','게시판 생성','/cop/bbs/addBBSMaster.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovBoardMstrUpdt','/cop/bbs/','게시판 수정','게시판 수정','/cop/bbs/SelectBBSMasterInf.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovBoardUseInfInqire','/cop/com/','게시판사용여부 상세조회','게시판사용여부 상세조회','/cop/com/selectBBSUseInf.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovBoardUseInfList','/cop/com/','게시판사용여부 목록 조회','게시판사용여부 목록 조회','/cop/com/selectBBSUseInfs.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovBoardUseInfRegist','/cop/com/','게시판사용여부 등록','게시판사용여부 등록','/cop/com/addBBSUseInf.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnClCodeDetail','/sym/ccm/ccc/','공통분류코드 상세조회','공통분류코드 상세조회','/sym/ccm/ccc/EgovCcmCmmnClCodeDetail.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnClCodeList','/sym/ccm/ccc/','공통분류코드목록 조회','공통분류코드목록 조회','/sym/ccm/ccc/EgovCcmCmmnClCodeList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnClCodeModify','/sym/ccm/ccc/','공통분류코드 수정','공통분류코드 수정','/sym/ccm/ccc/EgovCcmCmmnClCodeModify.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnClCodeRegist','/sym/ccm/ccc/','공통분류코드 등록','공통분류코드 등록','/sym/ccm/ccc/EgovCcmCmmnClCodeRegist.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnCodeDetail','/sym/ccm/cca/','공통코드 상세조회','공통코드 상세조회','/sym/ccm/cca/EgovCcmCmmnCodeDetail.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnCodeList','/sym/ccm/cca/','공통코드목록 조회','공통코드목록 조회','/sym/ccm/cca/EgovCcmCmmnCodeList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnCodeModify','/sym/ccm/cca/','공통코드 수정','공통코드 수정','/sym/ccm/cca/EgovCcmCmmnCodeModify.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnCodeRegist','/sym/ccm/cca/','공통코드 등록','공통코드 등록','/sym/ccm/cca/EgovCcmCmmnCodeRegist.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnDetailCodeDetail','/sym/ccm/cde/','공통상세코드 상세조회','공통상세코드 상세조회','/sym/ccm/cde/EgovCcmCmmnDetailCodeDetail.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnDetailCodeList','/sym/ccm/cde/','공통상세코드목록 조회','공통상세코드목록 조회','/sym/ccm/cde/EgovCcmCmmnDetailCodeList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnDetailCodeModify','/sym/ccm/cde/','공통상세코드 수정','공통상세코드 수정','/sym/ccm/cde/EgovCcmCmmnDetailCodeModify.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmCmmnDetailCodeRegist','/sym/ccm/cde/','공통상세코드 등록','공통상세코드 등록','/sym/ccm/cde/EgovCcmCmmnDetailCodeRegist.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmExcelZipRegist','/sym/ccm/zip/','우편번호 엑셀파일 등록','우편번호 엑셀파일 등록','/sym/ccm/zip/EgovCcmExcelZipRegist.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmZipDetail','/sym/ccm/zip/','우편번호 상세조회','우편번호 상세조회','/sym/ccm/zip/EgovCcmZipDetail.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmZipList','/sym/ccm/zip/','우편번호목록 조회','우편번호목록 조회','/sym/ccm/zip/EgovCcmZipList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmZipModify','/sym/ccm/zip/','우편번호 수정','우편번호 수정','/sym/ccm/zip/EgovCcmZipModify.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmZipRegist','/sym/ccm/zip/','우편번호 등록','우편번호 등록','/sym/ccm/zip/EgovCcmZipRegist.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovCcmZipSearchPopup','/sym/cmm/','우편번호 찾기','우편번호 찾기','/sym/cmm/EgovCcmZipSearchPopup.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovConectStats','/sts/cst/','접속통계','접속통계','/sts/cst/selectConectStats.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovFileNmSearch','/sym/prm/','파일명검색','파일명검색','/sym/prm/EgovProgramListSearch.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovGroupInsert','/sec/gmt/','그룹등록','그룹등록','/sec/gmt/EgovGroupInsertView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovGroupManage','/sec/gmt/','그룹관리','그룹관리','/sec/gmt/EgovGroupList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovGroupUpdt','/sec/gmt/','그룹수정','그룹수정','/sec/gmt/EgovGroup.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovIdDplctCnfirm','/uss/umt/cmm/','아이디중복확인','아이디중복확인','/uss/umt/cmm/EgovIdDplctCnfirmView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovInfoNotice','/cop/bbs/','공지사항','공지사항','/cop/bbs/selectBoardList.do?bbsId=BBSMSTR_AAAAAAAAAAAA');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovInfoNoticeAdmin','/cop/bbs/','공지사항관리','공지사항관리','/cop/bbs/selectBoardList.do?bbsId=BBSMSTR_AAAAAAAAAAAA');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovInfoWork','/cop/bbs/','업무게시판','업무게시판','/cop/bbs/selectBoardList.do?bbsId=BBSMSTR_CCCCCCCCCCCC');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovInfoWorkAdmin','/cop/bbs/','업무게시판관리','업무게시판관리','/cop/bbs/selectBoardList.do?bbsId=BBSMSTR_CCCCCCCCCCCC');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovJoinHistory','/','입퇴사정보 관리','입퇴사정보 관리','/EgovPageLink.do?link=main/sample_menu/Sample');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovLoginLogInqire','/sym/log/clg/','로그인로그상세조회','로그인로그상세조회','/sym/log/clg/SelectLoginLogList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovLoginLogList','/sym/log/clg/','로그인로그조회','로그인로그조회','/sym/log/clg/SelectLoginLogList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovLoginPolicyList','/uat/uap/','로그인정책관리','로그인정책관리','/uat/uap/selectLoginPolicyList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovLoginPolicyRegist','/uat/uap/','로그인정책등록','로그인정책등록','/uat/uap/getLoginPolicy.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovLoginPolicyUpdt','/uat/uia/','로그인정책수정','로그인정책수정','/uat/uap/getLoginPolicy.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovLoginUsr','/uat/uia/','내부업무 로그인','내부업무 로그인','/uat/uia/egovLoginUsr.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMainHome','/uat/uia/','내부업무 메인','내부업무 메인','/uat/uia/actionMain.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMberPositionl','/','직위정보 관리','직위정보 관리','/EgovPageLink.do?link=main/sample_menu/Sample');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMberRank','/','직급정보 관리','직급정보 관리','/EgovPageLink.do?link=main/sample_menu/Sample');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMenuBndeRegist','/sym/mnu/mpm/','메뉴일괄등록','메뉴일괄등록','/sym/mnu/mpm/EgovMenuBndeRegist.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMenuCreat','/sym/mnu/mcm/','메뉴생성','메뉴생성','/sym/mnu/mcm/EgovMenuCreatSelect.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMenuCreatManage','/sym/mnu/mcm/','메뉴생성관리','메뉴생성관리','/sym/mnu/mcm/EgovMenuCreatManageSelect.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMenuDetailSelectUpdt','/sym/mnu/mpm/','메뉴상세조회/수정','메뉴상세조회/수정','/sym/mnu/mpm/EgovMenuManageListDetailSelect.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMenuManage','/sym/mnu/mpm/','메뉴관리','메뉴관리','/sym/mnu/mpm/EgovMenuManageSelect.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovMenuRegist','/sym/mnu/mpm/','메뉴등록','메뉴등록','/sym/mnu/mpm/EgovMenuRegistInsert.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovNoticeInqire','/cop/bbs/','게시물조회','게시물조회','/cop/bbs/selectBoardArticle.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovNoticeList','/cop/bbs/','게시물 목록','게시물 목록','/cop/bbs/selectBoardList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovNoticeRegist','/cop/bbs/','게시물 등록','게시물 등록','/cop/bbs/addBoardArticle.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovNoticeReply','/cop/bbs/','답글 작성','답글 작성','/cop/bbs/addReplyBoardArticle.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovNoticeUpdt','/cop/bbs/','게시물 수정','게시물 수정','/cop/bbs/forUpdateBoardArticle.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovProgramListDetailSelectUpdt','/sym/prm/','프로그램목록상세조회/수정','프로그램목록상세조회/수정','/sym/prm/EgovProgramListDetailSelect.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovProgramListManage','/sym/prm/','프로그램목록관리','프로그램목록관리','/sym/prm/EgovProgramListManageSelect.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovProgramListRegist','/sym/prm/','프로그램목록등록','프로그램목록등록','/sym/prm/EgovProgramListRegist.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovRoleInsert','/sec/rmt/','롤등록','롤등록','/sec/rmt/EgovRoleInsertView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovRoleManage','/sec/rmt/','롤관리','롤관리','/sec/rmt/EgovRoleList.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovRoleUpdt','/sec/rmt/','롤수정','롤수정','/sec/rmt/EgovRole.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovTemplateInqirePopup','/cop/com/','템플릿 조회팝업','템플릿 조회팝업','/cop/com/selectTemplateInfs.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovTemplateList','/cop/com/','템플릿 목록 조회','템플릿 목록 조회','/cop/com/selectTemplateInfs.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovTemplateRegist','/cop/com/','템플릿 등록','템플릿 등록','/cop/com/addTemplateInf.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovTemplateUpdt','/cop/com/','템플릿 수정','템플릿 수정','/cop/com/selectTemplateInf.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovUserAbsnceList','/uss/ion/uas/','사용자부재관리','사용자부재관리','/uss/ion/uas/selectUserAbsnceListView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovUserAbsnceRegist','/uss/ion/uas/','사용자부재등록','사용자부재등록','/uss/ion/uas/addViewUserAbsnce.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovUserAbsnceUpdt','/uss/ion/uas/','사용자부재수정','사용자부재수정','/uss/ion/uas/getUserAbsnce.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovUserInsert','/uss/umt/user/','사용자등록','사용자등록','/uss/umt/user/EgovUserInsertView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovUserManage','/uss/umt/user/','사용자관리(조회,삭제)','사용자관리(조회,삭제)','/uss/umt/user/EgovUserManage.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovUserPasswordUpdt','/uss/umt/user/','사용자암호수정','사용자암호수정','/uss/umt/user/EgovUserPasswordUpdtView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovUserSelectUpdt','/uss/umt/user/','사용자상세조회,수정','사용자상세조회,수정','/uss/umt/user/EgovUserSelectUpdtView.do');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovWorkAttendance','/','출퇴근정보 관리','출퇴근정보 관리','/EgovPageLink.do?link=main/sample_menu/Sample');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovWorkAward','/','상벌정보 관리','상벌정보 관리','/EgovPageLink.do?link=main/sample_menu/Sample');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovWorkEstimation','/','업무평가점수 관리','업무평가점수 관리','/EgovPageLink.do?link=main/sample_menu/Sample');
INSERT INTO LETTNPROGRMLIST(PROGRM_FILE_NM,PROGRM_STRE_PATH,PROGRM_KOREAN_NM,PROGRM_DC,URL) VALUES ('EgovWorkVacation','/','휴무정보 관리','휴무정보 관리','/EgovPageLink.do?link=main/sample_menu/Sample');
#메뉴목록
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('root','dir',0,0,1,'root','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('알림정보','dir',1000000,0,1,'알림정보','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('공지사항','EgovInfoNotice',1010000,1000000,1,'공지사항','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('업무게시판','EgovInfoWork',1020000,1000000,2,'업무게시판','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('직급체계관리','dir',2000000,0,2,'직급체계관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('입퇴사정보 관리','EgovJoinHistory',2010000,2000000,1,'입퇴사정보 관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('직급정보 관리','EgovMberRank',2020000,2000000,2,'직급정보 관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('직위정보 관리','EgovMberPositionl',2030000,2000000,3,'직위정보 관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('진급관리','dir',3000000,0,3,'진급관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('업무평가점수 관리','EgovWorkEstimation',3010000,3000000,1,'업무평가점수 관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('상벌정보 관리','EgovWorkAward',3040000,3000000,2,'상벌정보 관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('근태관리','dir',4000000,0,4,'근태관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('출퇴근정보 관리','EgovWorkAttendance',4010000,4000000,1,'출퇴근정보 관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('휴무정보 관리','EgovWorkVacation',4020000,4000000,2,'휴무정보 관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('내부서비스관리','dir',5000000,0,5,'내부서비스관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('내부업무게시판관리','dir',5010000,5000000,1,'내부업무게시판관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('게시판템플릿관리','EgovTemplateList',5010100,5010000,1,'게시판템플릿관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('게시판생성관리','EgovBoardMstrList',5010200,5010000,2,'게시판생성관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('게시판사용관리','EgovBoardUseInfList',5010300,5010000,3,'게시판사용관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('공지사항관리','EgovInfoNoticeAdmin',5010400,5010000,4,'공지사항관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('업무게시판관리','EgovInfoWorkAdmin',5010500,5010000,5,'업무게시판관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('사용현황관리','dir',5020000,5000000,2,'사용현황관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('접속로그관리','EgovLoginLogList',5020100,5020000,1,'접속로그관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('접속통계관리','EgovConectStats',5020200,5020000,2,'접속통계관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('로그인정책관리','EgovLoginPolicyList',5020300,5020000,3,'로그인정책관리','','');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('내부시스템관리','dir',6000000,0,6,'내부시스템관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('사용자관리','dir',6010000,6000000,1,'사용자관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('사용자등록관리','EgovUserManage',6010100,6010000,1,'사용자등록관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('사용자부재관리','EgovUserAbsnceList',6010200,6010000,2,'사용자부재관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('사용자권한관리','dir',6020000,6000000,2,'사용자권한관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('권한관리','EgovAuthorManage',6020100,6020000,1,'권한관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('사용자그룹관리','EgovGroupManage',6020200,6020000,2,'사용자그룹관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('사용자별권한관리','EgovAuthorRoleManage',6020300,6020000,3,'사용자별권한관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('롤관리','EgovRoleManage',6020400,6020000,4,'롤관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('메뉴관리','dir',6030000,6000000,3,'메뉴관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('프로그램목록관리','EgovProgramListManage',6030100,6030000,1,'프로그램목록관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('메뉴생성관리','EgovMenuCreatManage',6030200,6030000,2,'메뉴생성관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('메뉴목록관리','EgovMenuManage',6030300,6030000,4,'메뉴목록관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('코드관리','dir',6040000,6000000,4,'코드관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('분류코드관리','EgovCcmCmmnClCodeList',6040100,6040000,1,'분류코드관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('공통코드관리','EgovCcmCmmnCodeList',6040200,6040000,2,'공통코드관리','/','/');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('상세코드관리','EgovCcmCmmnDetailCodeList',6040300,6040000,3,'상세코드관리','','');
INSERT INTO LETTNMENUINFO(MENU_NM,PROGRM_FILE_NM,MENU_NO,UPPER_MENU_NO,MENU_ORDR,MENU_DC,RELATE_IMAGE_PATH,RELATE_IMAGE_NM) VALUES ('우편번호관리','EgovCcmZipList',6040400,6040000,4,'우편번호관리','/','/');
#메뉴생성목록
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (1000000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (1000000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (1010000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (1010000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (1020000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (1020000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2000000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2000000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2010000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2010000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2020000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2020000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2030000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (2030000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (3000000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (3000000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (3010000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (3010000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (3040000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (3040000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (4000000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (4000000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (4010000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (4010000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (4020000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (4020000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5000000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5000000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010100,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010100,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010200,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010200,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010300,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010300,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010400,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010400,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010500,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5010500,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020000,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020100,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020100,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020200,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020200,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020300,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (5020300,'ROLE_USER_MEMBER',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6000000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6010000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6010100,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6010200,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6020000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6020100,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6020200,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6020300,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6020400,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6030000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6030100,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6030200,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6030300,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6040000,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6040100,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6040200,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6040300,'ROLE_ADMIN',null);
INSERT INTO LETTNMENUCREATDTLS(MENU_NO,AUTHOR_CODE,MAPNG_CREAT_ID) VALUES (6040400,'ROLE_ADMIN',null);
#게시물
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (1,'BBSMSTR_AAAAAAAAAAAA',1,'홈페이지 샘플공지1','홈페이지 샘플공지1','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (2,'BBSMSTR_AAAAAAAAAAAA',1,'홈페이지 샘플공지2','홈페이지 샘플공지2','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (3,'BBSMSTR_AAAAAAAAAAAA',1,'홈페이지 샘플공지3','홈페이지 샘플공지3','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (4,'BBSMSTR_AAAAAAAAAAAA',1,'홈페이지 샘플공지4','홈페이지 샘플공지4','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (5,'BBSMSTR_AAAAAAAAAAAA',1,'홈페이지 샘플공지5','홈페이지 샘플공지5','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (6,'BBSMSTR_CCCCCCCCCCCC',1,'홈페이지 샘플업무1','홈페이지 샘플업무1','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (7,'BBSMSTR_CCCCCCCCCCCC',1,'홈페이지 샘플업무2','홈페이지 샘플업무2','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (8,'BBSMSTR_CCCCCCCCCCCC',1,'홈페이지 샘플업무3','홈페이지 샘플업무3','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (9,'BBSMSTR_CCCCCCCCCCCC',1,'홈페이지 샘플업무4','홈페이지 샘플업무4','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
INSERT INTO LETTNBBS(NTT_ID,BBS_ID,NTT_NO,NTT_SJ,NTT_CN,ANSWER_AT,PARNTSCTT_NO,ANSWER_LC,SORT_ORDR,RDCNT,USE_AT,NTCE_BGNDE,NTCE_ENDDE,NTCR_ID,NTCR_NM,PASSWORD,ATCH_FILE_ID,FRST_REGIST_PNTTM,FRST_REGISTER_ID,LAST_UPDT_PNTTM,LAST_UPDUSR_ID) VALUES (10,'BBSMSTR_CCCCCCCCCCCC',1,'홈페이지 샘플업무5','홈페이지 샘플업무5','N',0,0,2,0,'Y','10000101','99991231','','','',null,NOW(),'USRCNFRM_00000000000',null,null);
#우편번호
INSERT INTO LETTCZIP(ZIP, SN, CTPRVN_NM, SIGNGU_NM, EMD_NM, LI_BULD_NM, LNBR_DONG_HO, FRST_REGIST_PNTTM, FRST_REGISTER_ID, LAST_UPDT_PNTTM, LAST_UPDUSR_ID) VALUES ('100775',7381,'서울','중구','무교동','한국정보화진흥원','',SYSDATE(),'SYSTEM',SYSDATE(),'SYSTEM');
|
WITH
raw_events AS (
SELECT
type,
REPLACE(repo.url, 'https://api.github.com/repos/', '') AS repo,
JSON_EXTRACT(payload, '$.action') AS action,
cast(JSON_EXTRACT(payload, '$.distinct_size') AS INT64) AS size
FROM `githubarchive.day.DAY_ID`
WHERE TYPE IN ('ForkEvent', 'PullRequestEvent', 'PushEvent')),
events AS (
SELECT
repo,
type,
action,
size,
CASE WHEN type = 'ForkEvent'
THEN 1 END AS number_of_forks,
CASE WHEN type = 'PushEvent' AND size > 0
THEN size END AS number_of_commits,
CASE WHEN type = 'PullRequestEvent' AND action = '"closed"'
THEN 1 END AS number_of_closed_pull_requests
FROM raw_events )
SELECT
DAY_ID AS day_id,
split(repo, '/')[OFFSET (0)] AS user,
split(repo, '/')[OFFSET (1)] AS repository,
sum(number_of_forks) AS number_of_forks,
sum(number_of_commits) AS number_of_commits,
sum(number_of_closed_pull_requests) AS number_of_closed_pull_requests
FROM events
GROUP BY user, repository
HAVING (number_of_forks > 0 OR number_of_commits > 0 OR number_of_closed_pull_requests > 0)
AND repository IS NOT NULL AND repository != '';
|
CREATE TABLE [dbo].[Ticket] (
[TicketId] INT IDENTITY (1, 1) NOT NULL,
[UserId] INT NOT NULL,
[MovieShowtimeId] INT NOT NULL,
[SeatId] INT NULL,
CONSTRAINT [PK_Ticket] PRIMARY KEY CLUSTERED ([TicketId] ASC),
CONSTRAINT [FK_Ticket_MovieShowtime] FOREIGN KEY ([MovieShowtimeId]) REFERENCES [dbo].[MovieShowtime] ([MovieShowtimeId]),
CONSTRAINT [FK_Ticket_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([UserId])
);
|
CREATE TABLE Score (Id int IDENTITY NOT NULL, Place int NOT NULL, Points int NOT NULL, ScoreSystemId int NOT NULL, PRIMARY KEY (Id));
CREATE TABLE ScoreSystem (Id int IDENTITY NOT NULL, Name varchar(255) NOT NULL UNIQUE, FastestLapPoints int DEFAULT 0 NOT NULL, PRIMARY KEY (Id));
CREATE TABLE Season (Id int IDENTITY NOT NULL, Year int NOT NULL, ScoreSystemId int NOT NULL, PRIMARY KEY (Id));
CREATE TABLE Discipline (Id int IDENTITY NOT NULL, Name varchar(100) NOT NULL UNIQUE, PRIMARY KEY (Id), CONSTRAINT CK_RS_Discipline_NameNotEmpty CHECK (Name <> ''));
CREATE TABLE Team (Id int IDENTITY NOT NULL, Name varchar(100) NOT NULL, Country varchar(100) NOT NULL, BaseTeamId int NULL, PRIMARY KEY (Id));
CREATE TABLE Race (Id int IDENTITY NOT NULL, Name varchar(100) NOT NULL, [Date] date NULL, SeasonId int NOT NULL, CircuitId int NOT NULL, PRIMARY KEY (Id));
CREATE TABLE Circuit (Id int IDENTITY NOT NULL, Name varchar(100) NOT NULL, City varchar(100) NOT NULL, Country varchar(100) NOT NULL, PRIMARY KEY (Id));
CREATE TABLE Result (RaceId int NOT NULL, DriverId int NOT NULL, Place int NOT NULL, HasFastestLap bit DEFAULT '0' NOT NULL, Status int DEFAULT 0 NOT NULL, PRIMARY KEY (RaceId, DriverId));
CREATE TABLE Driver (Id int IDENTITY NOT NULL, Name varchar(100) NOT NULL, BirthDate date NULL, Country varchar(100) NOT NULL, PRIMARY KEY (Id));
CREATE TABLE Driver_Team_season (TeamId int NOT NULL, DriverId int NOT NULL, SeasonId int NOT NULL, PRIMARY KEY (TeamId, DriverId, SeasonId));
CREATE TABLE Season_Team (SeasonId int NOT NULL, TeamId int NOT NULL, PRIMARY KEY (SeasonId, TeamId));
CREATE TABLE Discipline_Season (DisciplineId int NOT NULL, SeasonId int NOT NULL, PRIMARY KEY (DisciplineId, SeasonId));
ALTER TABLE Driver_Team_season ADD CONSTRAINT FKDriver_Tea866716 FOREIGN KEY (TeamId) REFERENCES Team (Id);
ALTER TABLE Driver_Team_season ADD CONSTRAINT FKDriver_Tea902940 FOREIGN KEY (DriverId) REFERENCES Driver (Id);
ALTER TABLE Result ADD CONSTRAINT FKResult203429 FOREIGN KEY (RaceId) REFERENCES Race (Id);
ALTER TABLE Result ADD CONSTRAINT FKResult868869 FOREIGN KEY (DriverId) REFERENCES Driver (Id);
ALTER TABLE Driver_Team_season ADD CONSTRAINT FKDriver_Tea485130 FOREIGN KEY (SeasonId) REFERENCES Season (Id);
ALTER TABLE Score ADD CONSTRAINT FKScore893897 FOREIGN KEY (ScoreSystemId) REFERENCES ScoreSystem (Id);
ALTER TABLE Season ADD CONSTRAINT FKSeason288211 FOREIGN KEY (ScoreSystemId) REFERENCES ScoreSystem (Id);
ALTER TABLE Race ADD CONSTRAINT FKRace351860 FOREIGN KEY (SeasonId) REFERENCES Season (Id);
ALTER TABLE Race ADD CONSTRAINT FKRace65468 FOREIGN KEY (CircuitId) REFERENCES Circuit (Id);
ALTER TABLE Season_Team ADD CONSTRAINT FKSeason_Tea486215 FOREIGN KEY (SeasonId) REFERENCES Season (Id);
ALTER TABLE Season_Team ADD CONSTRAINT FKSeason_Tea838062 FOREIGN KEY (TeamId) REFERENCES Team (Id);
ALTER TABLE Team ADD CONSTRAINT FKTeam200905 FOREIGN KEY (BaseTeamId) REFERENCES Team (Id);
ALTER TABLE Discipline_Season ADD CONSTRAINT FKDiscipline773057 FOREIGN KEY (DisciplineId) REFERENCES Discipline (Id);
ALTER TABLE Discipline_Season ADD CONSTRAINT FKDiscipline314335 FOREIGN KEY (SeasonId) REFERENCES Season (Id);
|
# Write your MySQL query statement below
DELETE FROM PERSON
WHERE ID NOT IN(
SELECT ID FROM(
SELECT
EMAIL, MIN(ID) AS ID
FROM
PERSON
GROUP BY 1) AS A)
|
USE [Koski_SA]
GO
if not exists (
SELECT top 1 *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_schema = 'sa'
AND table_name = 'sa_koski_opiskeluoikeus'
AND column_name = 'oppivelvollisuuden_suorittamiseen_kelpaava'
)
alter table [sa].[sa_koski_opiskeluoikeus]
add [oppivelvollisuuden_suorittamiseen_kelpaava] [int] NULL
|
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 08, 2021 at 02:24 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.30
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: `newshop`
--
-- --------------------------------------------------------
--
-- Table structure for table `paytm`
--
CREATE TABLE `paytm` (
`pay_id` int(11) NOT NULL,
`gateway_name` varchar(255) NOT NULL,
`bank_name` varchar(255) NOT NULL,
`pay_mode` varchar(255) NOT NULL,
`txn_id` varchar(255) NOT NULL,
`txn_amt` varchar(255) NOT NULL,
`order_id` varchar(255) NOT NULL,
`status` varchar(255) NOT NULL,
`bank_txn_id` varchar(255) NOT NULL,
`checksumhash` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `paytm`
--
INSERT INTO `paytm` (`pay_id`, `gateway_name`, `bank_name`, `pay_mode`, `txn_id`, `txn_amt`, `order_id`, `status`, `bank_txn_id`, `checksumhash`, `created_at`) VALUES
(1, 'WALLET', 'WALLET', 'PPI', '20210108111212800110168362202241881', '120.00', '44', 'TXN_SUCCESS', '63882127', '9fZsF5uydCX3ro5SOlJ1vrzqUxUO0Yxllh7/QYxYiNzwvvVYy8Tsx78Pv12OnR9ffyi1OMoKEJS8oiIlqQdh30h8UNojesEoO1M5SBx5bWA=', '2021-01-07 21:54:52'),
(2, 'WALLET', 'WALLET', 'PPI', '20210108111212800110168388502229662', '300.00', '46', 'TXN_SUCCESS', '63887664', 'hpcgpPiQny8L3i/RjhUYkmF6RjErSh386ahSDe7jvw4412vvU71Op8jFRBs8CxXdFxy9M2Sqd3aIZTz1/fwGblpc7u+FV4V/sXzKmCjOmXc=', '2021-01-08 12:30:52'),
(3, 'WALLET', 'WALLET', 'PPI', '20210108111212800110168388502229662', '300.00', '46', 'TXN_SUCCESS', '63887664', 'hpcgpPiQny8L3i/RjhUYkmF6RjErSh386ahSDe7jvw4412vvU71Op8jFRBs8CxXdFxy9M2Sqd3aIZTz1/fwGblpc7u+FV4V/sXzKmCjOmXc=', '2021-01-08 12:34:50'),
(4, 'WALLET', 'WALLET', 'PPI', '20210108111212800110168388502229662', '300.00', '46', 'TXN_SUCCESS', '63887664', 'hpcgpPiQny8L3i/RjhUYkmF6RjErSh386ahSDe7jvw4412vvU71Op8jFRBs8CxXdFxy9M2Sqd3aIZTz1/fwGblpc7u+FV4V/sXzKmCjOmXc=', '2021-01-08 12:36:20'),
(5, 'SBI', 'SBI', 'NB', '20210108111212800110168666102248641', '50000.00', '53', 'TXN_SUCCESS', '10931714555', 'W8I67AvMABkJiDnykbQB6bu4BEn262MGa0OnDRy+iEcZcU9G5gscs9Spdlnb0A6Y1Gt07y5hTO7aTl6wNBT9IR3cGRxOUU/XuJQM++aU8Ck=', '2021-01-08 13:14:12');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `paytm`
--
ALTER TABLE `paytm`
ADD PRIMARY KEY (`pay_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `paytm`
--
ALTER TABLE `paytm`
MODIFY `pay_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
SELECT t.name
FROM towns AS t
ORDER BY t.name ASC;
SELECT d.name
FROM departments AS d
ORDER BY d.name ASC;
SELECT e.first_name, e.last_name, e.job_title, e.salary
FROM employees AS e
ORDER BY salary DESC;
|
--create list partiition table with cast function to change time data type to char data type as a partition value
create table list_test(id int,
test_time time,
test_date date,
test_timestamp timestamp, primary key(id,test_time))
PARTITION BY LIST (cast(test_time as char(12))) (
PARTITION p0 VALUES IN ('09:00:00 AM','09:30:00 AM','09:50:00 AM','12:00:00 PM','12:30:00 PM'),
PARTITION p1 VALUES IN ('12:50:00 PM','15:00:00 PM','15:30:00 PM','15:50:00 PM'),
PARTITION p2 VALUES IN ('18:00:00 PM','18:30:00 PM','18:50:00 PM','21:00:00 PM'),
PARTITION p3 VALUES IN ('21:30:00 PM','21:50:00 PM','23:00:00 PM',null)
);
insert into list_test values(1,'09:00:00','1991-01-01','1991-01-01 09:00:00');
insert into list_test values(2,'09:30:00','1992-01-11','1992-01-11 09:30:00');
insert into list_test values(3,'09:50:00','1994-02-01','1994-02-01 09:50:00');
insert into list_test values(4,'12:00:00','1995-02-11','1995-02-11 12:00:00');
insert into list_test values(5,'12:30:00','1996-03-01','1996-03-01 12:30:00');
insert into list_test values(6,'12:50:00','1997-03-11','1997-03-11 12:50:00');
select * from list_test__p__p0 order by id;
select * from list_test__p__p1 order by id;
select * from list_test__p__p2 order by id;
select * from list_test__p__p3 order by id;
drop class list_test;
|
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 14, 2020 at 05:32 AM
-- Server version: 10.4.6-MariaDB
-- PHP Version: 7.3.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 */;
--
-- Database: `menu-ci`
--
-- --------------------------------------------------------
--
-- Table structure for table `menus`
--
CREATE TABLE `menus` (
`id` int(11) NOT NULL,
`nama_menu` varchar(50) NOT NULL,
`icon` varchar(50) NOT NULL,
`url` varchar(128) DEFAULT NULL,
`orderby` int(3) NOT NULL,
`is_active` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `menus`
--
INSERT INTO `menus` (`id`, `nama_menu`, `icon`, `url`, `orderby`, `is_active`) VALUES
(1, 'Home', 'fas fa-fw fa-home', 'home', 2, 0),
(2, 'User', 'fas fa-fw fa-users', '#', 3, 1),
(3, 'Managemen Menu', 'fas fa-fw fa-folder', '#', 1, 1),
(4, 'Coba', 'fas fa-fw fa-users', '#', 4, 1);
-- --------------------------------------------------------
--
-- Table structure for table `submenus`
--
CREATE TABLE `submenus` (
`id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL,
`nama_submenu` varchar(50) NOT NULL,
`icon` varchar(50) NOT NULL,
`url` varchar(128) NOT NULL,
`is_active` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `submenus`
--
INSERT INTO `submenus` (`id`, `menu_id`, `nama_submenu`, `icon`, `url`, `is_active`) VALUES
(1, 2, 'Profil', 'fas fa-fw fa-users', 'user', 1),
(3, 3, 'Menu', 'fas fa-fw fa-folder', 'menu', 1),
(4, 3, 'Submenu', 'fas fa-fw fa-folder-open', 'submenu', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `menus`
--
ALTER TABLE `menus`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `submenus`
--
ALTER TABLE `submenus`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `menus`
--
ALTER TABLE `menus`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `submenus`
--
ALTER TABLE `submenus`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
select 1 as id
union all
select * from {{ ref('node_0') }}
union all
select * from {{ ref('node_2') }}
union all
select * from {{ ref('node_70') }}
union all
select * from {{ ref('node_290') }}
|
--
-- The contents of this file are subject to the license and copyright
-- detailed in the LICENSE and NOTICE files at the root of the source
-- tree and available online at
--
-- http://www.dspace.org/license/
--
-----------------------------------------------------------------------------------
-- Drop the 'workflowitem' and 'tasklistitem' tables
-----------------------------------------------------------------------------------
DROP TABLE workflowitem CASCADE CONSTRAINTS;
DROP TABLE tasklistitem CASCADE CONSTRAINTS;
DROP SEQUENCE workflowitem_seq;
DROP SEQUENCE tasklistitem_seq;
|
alter table broadcasts
drop subject,
drop audience;
|
CREATE OR REPLACE function f_alter_ddl (OUT success bool)
LANGUAGE plpgsql AS
$func$
BEGIN
success := TRUE;
BEGIN
-- this constraint is unnecessary, because notifications can get deleted (e.g. when clearing notifications from previous automated check runs).
ALTER TABLE user_email_notification_frequency_last_runs DROP CONSTRAINT fk_last_max_notification_id;
EXCEPTION
WHEN undefined_object THEN
RAISE NOTICE 'constraint does not exist.';
success := FALSE;
END;
END
$func$;
SELECT f_alter_ddl();
DROP FUNCTION f_alter_ddl();
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.