text stringlengths 6 9.38M |
|---|
--集团服务
--1)新增“集团服务指令表”
create table BIS_GROUP_EXC (
ID NUMBER(10) not null,
PRENT_ACC VARCHAR2(30),
BANK_ACC VARCHAR2(30),
BEGIN_DATE DATE,
END_DATE DATE,
SEARCH_CODE VARCHAR2(20),
MIN_MONEY NUMBER(15,2),
MAX_MONEY NUMBER(15,2),
VOUCHER_STAT CHAR(1),
RETURN_TIME DATE,
RETURN_MSG VARCHAR2(140),
BANK_TYPE CHAR(4),
OPERATION_TYPE CHAR(1),
constraint PK_BIS_GROUP_EXC primary key (ID)
);
comment on table BIS_GROUP_EXC is
'集团服务指令表';
comment on column BIS_GROUP_EXC.ID is
'主键ID';
comment on column BIS_GROUP_EXC.PRENT_ACC is
'银行账号(网点账号)';
comment on column BIS_GROUP_EXC.BANK_ACC is
'子账号(成员账号)';
comment on column BIS_GROUP_EXC.BEGIN_DATE is
'开始日期';
comment on column BIS_GROUP_EXC.END_DATE is
'截止日期';
comment on column BIS_GROUP_EXC.SEARCH_CODE is
'查询代码';
comment on column BIS_GROUP_EXC.MIN_MONEY is
'最小金额';
comment on column BIS_GROUP_EXC.MAX_MONEY is
'最大金额';
comment on column BIS_GROUP_EXC.VOUCHER_STAT is
'状态
0:成功
2:失败
9:接口失败';
comment on column BIS_GROUP_EXC.RETURN_TIME is
'返回时间';
comment on column BIS_GROUP_EXC.RETURN_MSG is
'返回信息';
comment on column BIS_GROUP_EXC.BANK_TYPE is
'银行类别';
comment on column BIS_GROUP_EXC.OPERATION_TYPE is
'指令类型
1——成员账户指令(网点账号)
2——账户可用余额指令(网点账号、成员账号)
3——历史留存金额查询指令(网点账号、成员账号、开始日期、截止日期)
4——归集调拨查询指令(父账号、子账号、开始日期、截止日期、查询代码:MEM)
5——内部往来查询指令(账号、父帐号)
6——成员交易查询指令(所选账号、开始日期、截止日期、最小金额、最大金额)';
--2)新增“成员账号查询指令”
create table BIS_BANK_ACC (
SERIAL_ID CHAR(32) not null,
BANK_ACC VARCHAR2(30),
ACC_NAME VARCHAR2(100),
BANK_NAME VARCHAR2(140),
COL_TYPE VARCHAR2(50),
HIERARCHY_RELATION VARCHAR2(60),
COL_PERIOD DATE,
COL_DATE NUMERIC(10),
COL_TIME VARCHAR2(20),
RETAINED_AMT NUMBER(15,2),
MIN_COL_VALUE NUMBER(15,2),
REGISTER_MODEL CHAR(1),
RETURN_TIME DATE,
RETURN_MSG VARCHAR2(140),
BANK_TYPE CHAR(4),
constraint PK_BIS_BANK_ACC primary key (SERIAL_ID)
);
comment on table BIS_BANK_ACC is
'成员账户信息表';
comment on column BIS_BANK_ACC.SERIAL_ID is
'序列号(32位MD5值,确保唯一)';
comment on column BIS_BANK_ACC.BANK_ACC is
'银行账号';
comment on column BIS_BANK_ACC.ACC_NAME is
'户名';
comment on column BIS_BANK_ACC.BANK_NAME is
'开户行';
comment on column BIS_BANK_ACC.COL_TYPE is
'归集类型
逐笔归集、定时归集、 定额归集(单向归集)、 实时定额管理(双向自动归集) 、不归集 、 定时定额管理(双向自动归集) 、 多笔归集';
comment on column BIS_BANK_ACC.HIERARCHY_RELATION is
'层级关系';
comment on column BIS_BANK_ACC.COL_PERIOD is
'归集周期
0 每天;1 每周;2 每旬;3 每月;4 隔天';
comment on column BIS_BANK_ACC.COL_DATE is
'归集日期
如果col_period为周,这里的数字为0-6表示周日周一到周六;CYCLE为旬,这里的数字表示旬的第1-10天;CYCLE为月,表示这个月的1-31天';
comment on column BIS_BANK_ACC.COL_TIME is
'归集时间
HHMMSS为管理员在企业网银归集方式设置里面设置的原值,时间范围为000000-205000,例如081120表示早上8点11分20秒';
comment on column BIS_BANK_ACC.RETAINED_AMT is
'留存金额';
comment on column BIS_BANK_ACC.MIN_COL_VALUE is
'最低归集金额';
comment on column BIS_BANK_ACC.REGISTER_MODEL is
'登记模式
0集团模式 1循环委托贷款模式';
comment on column BIS_BANK_ACC.RETURN_TIME is
'返回时间';
comment on column BIS_BANK_ACC.RETURN_MSG is
'返回信息';
comment on column BIS_BANK_ACC.BANK_TYPE is
'银行类别';
--3)新增”账户可用余额表”
create table BIS_BANKACC_BAL (
ID NUMBER(10) not null,
PRENT_ACC VARCHAR2(30),
PRENT_ACCNAME VARCHAR2(100),
BANK_ACC VARCHAR2(30) not null,
BANK_ACCNAME VARCHAR2(100),
BANK_NAME VARCHAR2(140),
REAL_BAL NUMBER(15,2),
RETAINED_AMT NUMBER(15,2),
RETURN_TIME DATE,
RETURN_MSG VARCHAR2(140),
BANK_TYPE CHAR(4),
constraint PK_BIS_BANKACC_BAL primary key (ID),
constraint AK_UQ_BANK_ACC unique (BANK_ACC)
);
comment on table BIS_BANKACC_BAL is
'账户可用余额信息表';
comment on column BIS_BANKACC_BAL.ID is
'主键ID';
comment on column BIS_BANKACC_BAL.PRENT_ACC is
'银行账号(网点账号)';
comment on column BIS_BANKACC_BAL.PRENT_ACCNAME is
'网点账号户名';
comment on column BIS_BANKACC_BAL.BANK_ACC is
'子账号(成员账号)';
comment on column BIS_BANKACC_BAL.BANK_ACCNAME is
'成员账号户名';
comment on column BIS_BANKACC_BAL.BANK_NAME is
'开户行';
comment on column BIS_BANKACC_BAL.REAL_BAL is
'实际金额';
comment on column BIS_BANKACC_BAL.RETAINED_AMT is
'留存金额';
comment on column BIS_BANKACC_BAL.RETURN_TIME is
'返回时间';
comment on column BIS_BANKACC_BAL.RETURN_MSG is
'返回信息';
comment on column BIS_BANKACC_BAL.BANK_TYPE is
'银行类别';
--4)新增“历史留存余额信息表”
create table BIS_BANKACC_HIS_BAL (
ID NUMBER(10) not null,
PRENT_ACC VARCHAR2(30),
PRENT_ACCNAME VARCHAR2(100),
BANK_ACC VARCHAR2(30),
BANK_ACCNAME VARCHAR2(100),
BANK_NAME VARCHAR2(140),
TRANS_TIME DATE,
Y_COL_AMT NUMBER(15,2),
Y_ALLOT_AMT NUMERIC(15, 2),
HIS_RETAINED_AMT NUMBER(15,2),
RETURN_TIME DATE,
RETURN_MSG VARCHAR2(140),
BANK_TYPE CHAR(4),
constraint PK_BIS_BANKACC_HIS_BAL primary key (ID),
constraint AK_UQ_BIS_BANKACC_HIS_BAL unique (BANK_ACC,TRANS_TIME)
);
comment on table BIS_BANKACC_HIS_BAL is
'历史留存余额信息表';
comment on column BIS_BANKACC_HIS_BAL.ID is
'主键ID';
comment on column BIS_BANKACC_HIS_BAL.PRENT_ACC is
'银行账号(网点账号)';
comment on column BIS_BANKACC_HIS_BAL.PRENT_ACCNAME is
'网点账号户名';
comment on column BIS_BANKACC_HIS_BAL.BANK_ACC is
'子账号(成员账号)';
comment on column BIS_BANKACC_HIS_BAL.BANK_ACCNAME is
'成员账号户名';
comment on column BIS_BANKACC_HIS_BAL.BANK_NAME is
'开户行';
comment on column BIS_BANKACC_HIS_BAL.TRANS_TIME is
'交易日期';
comment on column BIS_BANKACC_HIS_BAL.Y_COL_AMT is
'年归集金额';
comment on column BIS_BANKACC_HIS_BAL.Y_ALLOT_AMT is
'年调拨金额';
comment on column BIS_BANKACC_HIS_BAL.HIS_RETAINED_AMT is
'留存金额';
comment on column BIS_BANKACC_HIS_BAL.RETURN_TIME is
'返回时间';
comment on column BIS_BANKACC_HIS_BAL.RETURN_MSG is
'返回信息';
comment on column BIS_BANKACC_HIS_BAL.BANK_TYPE is
'银行类别';
--5)新增“内部往来信息表”
create table BIS_INNER_CONTACTS (
SERIAL_ID CHAR(32) not null,
PRENT_ACC VARCHAR2(30),
PRENT_ACCNAME VARCHAR2(100),
BANK_ACC VARCHAR2(30),
BANK_ACCNAME VARCHAR2(100),
BANK_NAME VARCHAR2(140),
REGISTER_DATE DATE,
Y_COL_TOTAL NUMERIC(15, 2),
Y_ALLOT_TOTAL NUMBER(15,2),
RETURN_TIME DATE,
RETURN_MSG VARCHAR2(140),
BANK_TYPE CHAR(4),
constraint PK_BIS_INNER_CONTACTS primary key (SERIAL_ID)
);
comment on table BIS_INNER_CONTACTS is
'内部往来信息表';
comment on column BIS_INNER_CONTACTS.SERIAL_ID is
'序列号(32位MD5值,确保唯一)';
comment on column BIS_INNER_CONTACTS.PRENT_ACC is
'银行账号(网点账号)';
comment on column BIS_INNER_CONTACTS.PRENT_ACCNAME is
'网点账号户名';
comment on column BIS_INNER_CONTACTS.BANK_ACC is
'子账号(成员账号)';
comment on column BIS_INNER_CONTACTS.BANK_ACCNAME is
'成员账号户名';
comment on column BIS_INNER_CONTACTS.BANK_NAME is
'开户行';
comment on column BIS_INNER_CONTACTS.REGISTER_DATE is
'登记日期';
comment on column BIS_INNER_CONTACTS.Y_COL_TOTAL is
'年归集累计';
comment on column BIS_INNER_CONTACTS.Y_ALLOT_TOTAL is
'年下拨累计';
comment on column BIS_INNER_CONTACTS.RETURN_TIME is
'返回时间';
comment on column BIS_INNER_CONTACTS.RETURN_MSG is
'返回信息';
comment on column BIS_INNER_CONTACTS.BANK_TYPE is
'银行类别';
--6)新增“成员交易明细表”
create table BIS_BANKACC_TRADE_DTL (
SERIAL_ID CHAR(32) not null,
BANK_ACC VARCHAR2(30),
ACC_NAME VARCHAR2(140),
BANK_NAME VARCHAR2(140),
OPP_ACC_NO VARCHAR2(30),
OPP_ACC_NAME VARCHAR2(140),
OPP_ACC_BANK VARCHAR2(140),
CD_SIGN CHAR(1),
RB_SIGN CHAR(1),
AMT NUMBER(15,2),
BAL NUMBER(15,2),
FEE_1 NUMBER(15,2),
FEE_2 NUMBER(15,2),
BANK_SERIAL_ID VARCHAR2(30),
BIF_CODE CHAR(4),
CUR CHAR(2),
USES VARCHAR2(140),
ABS VARCHAR2(140),
POSTSCRIPT VARCHAR2(140),
TRANS_TIME DATE,
VOUCHER_NO VARCHAR2(30),
VOUCHER_TYPE VARCHAR2(20),
ACC_SERIAL_NO VARCHAR2(20),
REC_TIME DATE,
constraint PK_BIS_BANKACC_TRADE_DTL primary key (SERIAL_ID)
);
comment on table BIS_BANKACC_TRADE_DTL is
'成员交易明细表';
comment on column BIS_BANKACC_TRADE_DTL.SERIAL_ID is
'明细唯一标识.该标志由银行接口根据银行返回明细中取关键字段进行MD5,生成一个32位的加密串。 另此字段也作为接口收款记帐的唯一标识。
注意:各个银行的加密关键数据都不太一样。同一银行不同交易产生明细的关键数据也不一样故同一银行更改交易要考虑到交易的改变导致收款记帐的重复.
';
comment on column BIS_BANKACC_TRADE_DTL.BANK_ACC is
'银行账号(本方)';
comment on column BIS_BANKACC_TRADE_DTL.ACC_NAME is
'账户名(本方)';
comment on column BIS_BANKACC_TRADE_DTL.BANK_NAME is
'开户行(本方)';
comment on column BIS_BANKACC_TRADE_DTL.OPP_ACC_NO is
'对方帐号
';
comment on column BIS_BANKACC_TRADE_DTL.OPP_ACC_NAME is
'对方户名';
comment on column BIS_BANKACC_TRADE_DTL.OPP_ACC_BANK is
'对方开户行';
comment on column BIS_BANKACC_TRADE_DTL.CD_SIGN is
'收支标志:
1: 支出
2:收入
';
comment on column BIS_BANKACC_TRADE_DTL.RB_SIGN is
'凭证红蓝标志(R -红,B 蓝)
';
comment on column BIS_BANKACC_TRADE_DTL.AMT is
'金额';
comment on column BIS_BANKACC_TRADE_DTL.BAL is
'余额';
comment on column BIS_BANKACC_TRADE_DTL.FEE_1 is
'手续费1';
comment on column BIS_BANKACC_TRADE_DTL.FEE_2 is
'手续费2';
comment on column BIS_BANKACC_TRADE_DTL.BANK_SERIAL_ID is
'接口取明细关键数据的明文值,即未MD5之前的关键要素的明文';
comment on column BIS_BANKACC_TRADE_DTL.BIF_CODE is
'银行接口代码,可参见bis_bif_init表';
comment on column BIS_BANKACC_TRADE_DTL.CUR is
'币别.默认值为01:人民币
具体可参见bt_currency表
';
comment on column BIS_BANKACC_TRADE_DTL.USES is
'用途';
comment on column BIS_BANKACC_TRADE_DTL.ABS is
'摘要';
comment on column BIS_BANKACC_TRADE_DTL.POSTSCRIPT is
'附言';
comment on column BIS_BANKACC_TRADE_DTL.TRANS_TIME is
'交易时间';
comment on column BIS_BANKACC_TRADE_DTL.VOUCHER_NO is
'凭证号
';
comment on column BIS_BANKACC_TRADE_DTL.VOUCHER_TYPE is
'凭证类型';
comment on column BIS_BANKACC_TRADE_DTL.ACC_SERIAL_NO is
'账号序列号';
comment on column BIS_BANKACC_TRADE_DTL.REC_TIME is
'接收时间';
--7)新增“归集调拨明细表”
create table BIS_BANKACC_DTL (
SERIAL_ID CHAR(32) not null,
PRENT_ACCNAME VARCHAR2(100),
PRENT_ACC VARCHAR2(30),
BANK_ACC VARCHAR2(30),
COL_TYPE VARCHAR2(50),
ATM NUMBER(15,2),
TRANS_TIME DATE,
BANK_ACCNAME VARCHAR2(100),
BANK_NAME VARCHAR2(140),
PURPOSE VARCHAR2(100),
DTL_TYPE CHAR(1),
RETURN_TIME DATE,
RETURN_MSG VARCHAR2(140),
BANK_TYPE CHAR(4),
constraint PK_BIS_BANKACC_DTL primary key (SERIAL_ID)
);
comment on table BIS_BANKACC_DTL is
'归集调拨明细表';
comment on column BIS_BANKACC_DTL.SERIAL_ID is
'序列号(32位MD5值,确保唯一)';
comment on column BIS_BANKACC_DTL.PRENT_ACCNAME is
'网点账号户名';
comment on column BIS_BANKACC_DTL.PRENT_ACC is
'银行账号(网点账号)';
comment on column BIS_BANKACC_DTL.BANK_ACC is
'子账号(成员账号)';
comment on column BIS_BANKACC_DTL.COL_TYPE is
'归集类型';
comment on column BIS_BANKACC_DTL.ATM is
'金额';
comment on column BIS_BANKACC_DTL.TRANS_TIME is
'交易日期';
comment on column BIS_BANKACC_DTL.BANK_ACCNAME is
'成员账号户名';
comment on column BIS_BANKACC_DTL.BANK_NAME is
'开户行';
comment on column BIS_BANKACC_DTL.PURPOSE is
'用途';
comment on column BIS_BANKACC_DTL.DTL_TYPE is
'明细类型
0,归集明细 1,下拨明细';
comment on column BIS_BANKACC_DTL.RETURN_TIME is
'返回时间';
comment on column BIS_BANKACC_DTL.RETURN_MSG is
'返回信息';
comment on column BIS_BANKACC_DTL.BANK_TYPE is
'银行类别';
commit;
|
DROP TABLE participate;
DROP TABLE event_at;
DROP TABLE create_event;
DROP TABLE event;
DROP TABLE photo_tags_IN;
DROP TABLE album_contain;
DROP TABLE album_belong;
DROP TABLE album;
DROP TABLE photo;
DROP TRIGGER checkDup;
DROP TABLE friend;
DROP TABLE chat;
DROP SEQUENCE message_sequence;
DROP TABLE message;
DROP TABLE has_education;
DROP SEQUENCE university_sequence;
DROP TABLE university;
DROP TABLE cur_location;
DROP TABLE town_location;
DROP SEQUENCE address_sequence;
DROP TABLE address;
DROP TABLE users; |
alter table curso
add column useVisorTema boolean not null default 1 after Creador;
INSERT INTO curso VALUES('Curso de Segundo Grado','window.open("SegundoGrado/index.jsp","Curso de Segundo Grado","width=800,height=600");','Administrador',0);
/*update curso
set useVisorTema = 0,
Url='window.open("SegundoGrado/index.jsp","Curso de Segundo Grado","width=800,height=600");'
where Nombre='Curso de Segundo Grado';
delete from curso
where Nombre='Curso de Segundo Grado';*/
|
SHOW DATABASES;
CREATE DATABASE pepito;
USE pepito;
CREATE TABLE trabajadores (
idTrabajador INT PRIMARY KEY AUTO_INCREMENT,
nombre VARCHAR(20) NOT NULL,
puesto VARCHAR(30) NOT NULL
);
INSERT INTO trabajadores
(nombre, puesto)
VALUES
("felipe", "RH" ),
("carlos", "empleado" ),
("cristian", "gerente" );
SELECT nombre,puesto
FROM trabajadores
WHERE puesto != "RH";
UPDATE trabajadores
SET puesto="empleado"
WHERE idTrabajador=1;
DELETE FROM trabajadores
WHERE idTrabajador =3;
DROP TABLE trabajadores;
DROP DATABASE pepito; |
CREATE TABLE `order_attachment` (
`order_attachment_id` int(11) NOT NULL AUTO_INCREMENT,
`order_logs_id` int(11) NOT NULL,
`path` varchar(100) NOT NULL,
PRIMARY KEY (`order_attachment_id`),
KEY `order_attachment_order_logs_FK` (`order_logs_id`),
CONSTRAINT `order_attachment_order_logs_FK` FOREIGN KEY (`order_logs_id`) REFERENCES `order_logs` (`order_logs_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
CREATE TABLE `messages` (
`id_messages` Int AUTO_INCREMENT NOT NULL UNIQUE,
`key` LONGTEXT NOT NULL,
`message` LONGTEXT NOT NULL,
`date` DATETIME NOT NULL,
`id_usr` INT NOT NULL,
CONSTRAINT messages_PK PRIMARY KEY (`id_messages`),
CONSTRAINT messages_users_FK FOREIGN KEY (`id_usr`) REFERENCES users(`id_usr`) ON DELETE CASCADE
);
|
-- lots of dynamic_insulin and bg values are null. Let's find dates where we can try our predictive model
-- this file only looks at BG, not BG and CGM which works better. Look at that.
select date(rtime),count(*) as n
from insulin_carb_smoothed_2
where dynamic_insulin is not null
and bg is not null
group by date(rtime)
order by n desc
limit 10;
create temporary table good_dates (rtime date);
insert into good_dates
select date(rtime)
from insulin_carb_smoothed_2
where dynamic_insulin is not null
and bg is not null
group by date(rtime)
having count(*)=21;
select * from good_dates;
select rtime,bg,dynamic_insulin
from insulin_carb_smoothed_2
where date(rtime) in (select * from good_dates);
|
/*
Navicat MySQL Data Transfer
Source Server : 192.168.1.12
Source Server Version : 50629
Source Host : 192.168.1.12:3006
Source Database : hxs_challenge
Target Server Type : MYSQL
Target Server Version : 50629
File Encoding : 65001
Date: 2016-07-22 20:01:00
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `concrete_task`
-- ----------------------------
DROP TABLE IF EXISTS `concrete_task`;
CREATE TABLE `concrete_task` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`uuid` varchar(32) DEFAULT NULL,
`concrete_task_name` varchar(256) DEFAULT NULL,
`concrete_task_code` varchar(32) DEFAULT NULL,
`concrete_task_desc` varchar(512) DEFAULT NULL,
`create_date` datetime DEFAULT NULL,
`update_date` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COMMENT='具体任务';
-- ----------------------------
-- Records of concrete_task
-- ----------------------------
INSERT INTO `concrete_task` VALUES ('1', '80b804869f1a4500aebe0f8518272251', '信息完善任务', 'perfect_information', '信息完善任务', '2016-07-22 14:55:28', '2016-07-22 14:55:31');
INSERT INTO `concrete_task` VALUES ('2', '92b804869f1a4500aebe0f8518272252', '对战任务', 'novice', '对战任务', '2016-07-22 14:55:48', '2016-07-22 14:55:50');
INSERT INTO `concrete_task` VALUES ('3', '32b804869f1a4500aebe0f8518272253', '好友对战任务', 'friend_battle', '好友对战任务', '2016-07-22 14:56:03', '2016-07-22 14:56:06');
INSERT INTO `concrete_task` VALUES ('4', '17b804869f1a4500aebe0f8518272254', '对战胜利任务', 'battle_victory', '对战胜利任务', '2016-07-22 14:56:23', '2016-07-22 14:56:25');
INSERT INTO `concrete_task` VALUES ('5', '63b804869f1a4500aebe0f8518272255', '挑战任务', 'challenge_task', '挑战任务', '2016-07-22 14:56:40', '2016-07-22 14:56:43');
INSERT INTO `concrete_task` VALUES ('6', '54b804869f1a4500aebe0f8518272256', '挑战胜利任务', 'challenge_victory', '挑战胜利任务', '2016-07-22 14:56:58', '2016-07-22 14:57:02');
INSERT INTO `concrete_task` VALUES ('7', '65b804869f1a4500aebe0f8518272257', '对战战报分享任务', 'battle_stand_share', '对战战报分享任务', '2016-07-22 14:57:15', '2016-07-22 14:57:17');
INSERT INTO `concrete_task` VALUES ('8', '87b804869f1a4500aebe0f8518272258', '挑战战报分享任务', 'challenge_stand_share', '挑战战报分享任务', '2016-07-22 14:57:31', '2016-07-22 14:57:35');
INSERT INTO `concrete_task` VALUES ('9', '72b804869f1a4500aebe0f8518272259', '排行榜分享任务', 'rank_share', '排行榜分享任务', '2016-07-22 14:57:51', '2016-07-22 14:57:54');
INSERT INTO `concrete_task` VALUES ('10', '34b804869f1a4500aebe0f8518272210', '好友添加任务', 'friend_add', '好友添加任务', '2016-07-22 14:58:07', '2016-07-22 14:58:09');
INSERT INTO `concrete_task` VALUES ('11', '56b804869f1a4500aebe0f8518272211', '学习视频任务', 'learn_video', '学习视频任务', '2016-07-22 14:58:22', '2016-07-22 14:58:25');
INSERT INTO `concrete_task` VALUES ('12', '23b804869f1a4500aebe0f8518272212', '学习试题任务', 'learn_question', '学习试题任务', '2016-07-22 14:58:37', '2016-07-22 14:58:39');
INSERT INTO `concrete_task` VALUES ('13', '98b804869f1a4500aebe0f8518272213', '战斗力测试', 'fighting_test', '战斗力测试', '2016-07-22 15:11:00', '2016-07-22 15:11:04');
INSERT INTO `concrete_task` VALUES ('14', '76b804869f1a4500aebe0f8518272214', '购买体力', 'buy_physical_power', '购买体力', '2016-07-22 15:11:17', '2016-07-22 15:11:20');
INSERT INTO `concrete_task` VALUES ('15', 'etb804869f1a4500aebe0f85182722op', '战报任务分享', 'stand_share', '战报任务分享', '2016-07-22 18:58:31', '2016-07-22 18:58:34');
|
CREATE OR REPLACE PROCEDURE clear_alarm_for_interface
( xtid_id IN tids.id%TYPE,
xinterface_id IN interfaces.id%TYPE,
status IN OUT tids.flag%TYPE
)
AS
CURSOR get_alarm_cursor IS
SELECT 9 as newstat FROM alarms WHERE tid_id = xtid_id AND interface_id = xinterface_id AND acknowledge_date IS NULL;
alarm get_alarm_cursor%ROWTYPE;
xxnewstat tids.flag%TYPE := 4;
currdate VARCHAR2(25);
xxstatus NUMBER := 0;
BEGIN
SELECT to_char(SYSDATE, 'MM/DD/YYYY HH24:MI:SS') INTO currdate FROM dual;
UPDATE alarms SET cleared = 't', time_cleared = to_date(currdate, 'MM/DD/YYYY HH24:MI:SS') WHERE tid_id = xtid_id AND interface_id = xinterface_id AND time_cleared IS NULL;
OPEN get_alarm_cursor;
FETCH get_alarm_cursor INTO alarm;
xxnewstat := alarm.newstat;
CLOSE get_alarm_cursor;
IF xxnewstat = 9 THEN
status := xxnewstat;
END IF;
SELECT MAX(DECODE(SIGN(m.recv_seq), -1, 0, 1) + DECODE(SIGN(m.trans_seq), -1, 0, 1)) INTO xxstatus FROM tid_facility_map m WHERE m.tid_id = xtid_id AND m.interface_id = xinterface_id;
IF xxstatus = 0 THEN
status := 0;
END IF;
END;
/
SHOW ERRORS
|
truncate table t1;
truncate table t2;
exec runstats_pkg.rs_start;
insert into t1 select * from big_table.big_table where rownum <= 1000000;
commit;
exec runstats_pkg.rs_middle;
begin
for x in (select * from big_table.big_table where rownum <= 1000000) loop
insert into t2 values x;
end loop
commit;
end;
/
exec runstats_pkg.rs_stop(1000000);
|
# Host: 172.17.104.22
# Database: tx
# Table: 'CHARBASE'
#
CREATE TABLE `CHARBASE` (
`CHARID` int(10) unsigned NOT NULL auto_increment,
`ACCID` int(10) unsigned NOT NULL default '0',
`NAME` varchar(33) NOT NULL default '',
`TYPE` smallint(5) unsigned NOT NULL default '0',
`LEVEL` smallint(5) unsigned NOT NULL default '1',
`FACE` int(10) unsigned NOT NULL default '0',
`HAIR` int(10) unsigned NOT NULL default '0',
`BODYCOLOR` int(10) unsigned NOT NULL default '0',
`GOODNESS` int(10) unsigned NOT NULL default '0',
`MAPID` int(10) unsigned NOT NULL default '0',
`MAPNAME` varchar(33) default '',
`X` int(10) unsigned NOT NULL default '0',
`Y` int(10) unsigned NOT NULL default '0',
`UNIONID` int(10) unsigned NOT NULL default '0',
`SCHOOLID` int(10) unsigned NOT NULL default '0',
`SEPTID` int(10) unsigned NOT NULL default '0',
`HP` int(10) unsigned NOT NULL default '0',
`MP` int(10) unsigned NOT NULL default '0',
`SP` int(10) unsigned NOT NULL default '0',
`EXP` bigint(20) unsigned NOT NULL default '0',
`SKILLPOINTS` smallint(5) unsigned NOT NULL default '0',
`POINTS` smallint(5) unsigned NOT NULL default '0',
`COUNTRY` int(10) unsigned NOT NULL default '0',
`CONSORT` int(10) unsigned NOT NULL default '0',
`FORBIDTALK` bigint(20) unsigned NOT NULL default '0',
`BITMASK` int(10) unsigned NOT NULL default '0',
`ONLINETIME` int(10) unsigned NOT NULL default '0',
`AVAILABLE` tinyint(3) unsigned NOT NULL default '1',
`CON` smallint(5) unsigned NOT NULL default '0',
`MEN` smallint(5) unsigned NOT NULL default '0',
`INT` smallint(5) unsigned NOT NULL default '0',
`DEX` smallint(5) unsigned NOT NULL default '0',
`STR` smallint(5) unsigned NOT NULL default '0',
`GRACE` int(10) unsigned NOT NULL default '0',
`RELIVEWEAKTIME` smallint(5) unsigned NOT NULL default '0',
`EXPLOIT` int(10) unsigned NOT NULL default '0',
`TIRETIME` tinyblob NOT NULL,
`OFFLINETIME` int(10) unsigned NOT NULL default '0',
`FIVETYPE` int(10) unsigned NOT NULL default '0',
`FIVELEVEL` int(10) unsigned NOT NULL default '0',
`PKADDITION` int(10) unsigned NOT NULL default '0',
`MONEY` int(10) unsigned NOT NULL default '0',
`ANSWERCOUNT` int(10) unsigned NOT NULL default '0',
`HONOR` int(10) unsigned NOT NULL default '0',
`GOMAPTYPE` int(10) unsigned NOT NULL default '0',
`MAXHONOR` int(10) unsigned NOT NULL default '0',
`MSGTIME` int(10) unsigned NOT NULL default '0',
`GOLD` int(10) unsigned NOT NULL default '0',
`TICKET` int(10) unsigned NOT NULL default '0',
`ACCPRIV` int(10) unsigned NOT NULL default '0',
`CREATEIP` int(10) unsigned NOT NULL default '0',
`CREATETIME` int(10) unsigned NOT NULL default '0',
`GOLDGIVE` int(10) unsigned NOT NULL default '0',
`PETPACK` smallint(5) unsigned NOT NULL default '0',
`LEVELSEPT` int(10) unsigned NOT NULL default '0',
`PETPOINT` int(10) unsigned NOT NULL default '0',
`PUNISHTIME` int(10) unsigned NOT NULL default '0',
`TRAINTIME` int(10) unsigned NOT NULL default '0',
`ZS` int(10) unsigned NOT NULL default '0',
`DOUBLETIME` int(10) unsigned NOT NULL default '0',
`ZONE_STATE` int(10) unsigned NOT NULL default '0',
`SOURCE_ID` int(10) unsigned NOT NULL default '0',
`SOURCE_ZONE` int(10) unsigned NOT NULL default '0',
`TARGET_ZONE` int(10) unsigned NOT NULL default '0',
`ALLBINARY` blob,
PRIMARY KEY (`CHARID`),
UNIQUE KEY `NAME` (`NAME`),
KEY `ACCID` (`ACCID`),
KEY `COUNTRYID` (`COUNTRY`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Host: 172.17.104.22
# Database: tx
# Table: 'SAMPLERELATION'
#
CREATE TABLE `SAMPLERELATION` (
`CHARID` int(10) unsigned NOT NULL default '0',
`RELATIONID` int(10) unsigned NOT NULL default '0',
`RELATIONNAME` varchar(33) NOT NULL default '',
`TYPE` tinyint(3) unsigned NOT NULL default '0',
`LASTTIME` int(10) unsigned NOT NULL default '0',
`OCCUPATION` smallint(5) unsigned NOT NULL default '0',
`DEGREE` smallint(5) unsigned NOT NULL default '0',
`TODAY_ADD` int(10) unsigned NOT NULL default '0',
`LAST_REDUCE` int(10) unsigned NOT NULL default '0',
`REVENGE_TIME` int(10) unsigned NOT NULL default '0',
`GROUP` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`CHARID`,`RELATIONID`),
KEY `id` (`CHARID`),
KEY `relationid` (`RELATIONID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Host: 172.17.104.22
# Database: tx
# Table: 'SORTLIST'
#
CREATE TABLE `SORTLIST` (
`CHARID` int(10) unsigned NOT NULL default '0',
`LEVEL` smallint(5) unsigned NOT NULL default '0',
`EXP` bigint(20) unsigned NOT NULL default '0',
`COUNTRY` int(10) unsigned NOT NULL default '0',
`JOB` int(11) NOT NULL default '0',
`NAME` varchar(33) NOT NULL default '0',
PRIMARY KEY (`CHARID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Host: 172.17.104.22
# Database: tx
# Table: 'MAIL'
#
CREATE TABLE `MAIL` (
`ID` int(10) unsigned NOT NULL auto_increment,
`STATE` tinyint(3) unsigned NOT NULL default '0',
`FROMNAME` varchar(32) NOT NULL default '',
`TONAME` varchar(32) NOT NULL default '',
`TITLE` varchar(32) NOT NULL default '',
`TYPE` tinyint(3) unsigned NOT NULL default '0',
`CREATETIME` int(10) unsigned NOT NULL default '0',
`DELTIME` int(10) unsigned NOT NULL default '0',
`ACCESSORY` tinyint(3) unsigned NOT NULL default '0',
`ITEMGOT` tinyint(3) unsigned NOT NULL default '0',
`TEXT` varchar(255) NOT NULL default '',
`SENDMONEY` int(10) unsigned NOT NULL default '0',
`RECVMONEY` int(10) unsigned NOT NULL default '0',
`SENDGOLD` int(10) unsigned NOT NULL default '0',
`RECVGOLD` int(10) unsigned NOT NULL default '0',
`BIN` blob,
`TOID` int(10) unsigned NOT NULL default '0',
`FROMID` int(10) unsigned NOT NULL default '0',
`ITEMID` int(10) unsigned NOT NULL default '0',
`DANGERVALUE` int(10) unsigned NOT NULL default '0',
`BIN2` blob,
`BIN3` blob,
`ITEMID2` int(10) unsigned NOT NULL default '0',
`ITEMID3` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
create or replace view v_fs_fszzb as
select e.*
from (select (case a.jsde955
when '601030' then
'601012'
else
a.jsde955
end) jsde955,
a.de001,
a.de322,
a.jsde662,
a.jsde912,
nvl(a.czde067, 0) czde067,
a.de022,
a.czde049
from fs010 a
left join fs001 b
on a.de322 = b.de322
and a.jsde955 = b.jsde955
and a.de022 = b.de022
where nvl(a.czde049, 0) = 4
and (b.czde951 = '0207' or b.czde951 = '0208')
and nvl(a.jsde662, 0) > 0
and a.jsde955 in (select jsde955
from czcs041
where jsde070 = 2
and nvl(de192, 0) <> 9)) e
left join fs001 f
on e.de322 = f.de322
and e.jsde955 = f.jsde955
and e.de022 = f.de022
where nvl(f.czde067, 0) <> 0;
|
-- Deliverable 1
-- 1. Create Retriement Titles table and export it to a csv file titled retirement_titles.
SELECT e.emp_no,
e.first_name,
e.last_name,
t.title,
t.from_date,
t.to_date
INTO retirement_titles
FROM employees as e
INNER JOIN titles as t
ON e.emp_no = t.emp_no
WHERE (e.birth_date BETWEEN '1952-01-01' AND '1955-12-31')
ORDER BY e.emp_no;
--2. -- Use Dictinct on with Orderby to remove duplicate rows. Export the table into a csv file labeled unique_titles
SELECT DISTINCT ON (emp_no) emp_no,
first_name,
last_name,
title
INTO unique_titles
FROM retirement_titles
ORDER BY emp_no ASC, to_date DESC;
--3. Create a query to retrieve the number retirees by title. Export the table into a csv file titled retiring_titles
SELECT COUNT(title) as "count",
title
INTO retiring_titles
FROM unique_titles
GROUP BY title
ORDER BY count DESC;
--Deliverable 2.
--Create a query of employees eligible for mentorship. Export the table into a csv file titled mentorship_eligibility.
SELECT DISTINCT ON (e.emp_no) e.emp_no,
e.first_name,
e.last_name,
e.birth_date,
de.from_date,
de.to_date,
t.title
INTO mentorship_eligibilty
FROM employees AS e
JOIN dept_emp AS de
ON e.emp_no = de.emp_no
JOIN titles AS t
ON e.emp_no = t.emp_no
WHERE (e.birth_date BETWEEN '1965-01-01' AND '1965-12-31')
AND (de.to_date = '9999-01-01');
ORDER BY emp_no;
-- Additional queries for challenge
-- Create table query to retrieve all current employees who were born in 1961 or after. Supports information in the Pewlett-Hackard Analysis Summary.
SELECT DISTINCT ON (e.emp_no) e.emp_no,
e.first_name,
e.last_name,
e.birth_date,
de.from_date,
de.to_date,
t.title
INTO current_emp_bd_1961_or_aft
FROM employees AS e
JOIN dept_emp AS de
ON e.emp_no = de.emp_no
JOIN titles AS t
ON e.emp_no = t.emp_no
WHERE (e.birth_date >'1960-12-31')
AND (de.to_date = '9999-01-01')
ORDER BY emp_no;
-- Create table query to return the number of current employees who were born in 1961 of after by title. Supports information in the Pewlett-Hackard Analysis Summary.
SELECT COUNT(title) as "count",
title
INTO current_emp_not_retiring
FROM current_emp_bd_1961_or_aft
GROUP BY title
ORDER BY count DESC;
--Create table query to retrieve retiring employees specific to the sales and development areas of Pewlett-Hackard.
SELECT ri.emp_no,
ri.first_name,
ri.last_name,
de.dept_no,
d.dept_name
INTO sales_dev_retiring
FROM retirement_info as ri
JOIN dept_emp as de
ON ri.emp_no = de.emp_no
JOIN departments as d
ON d.dept_no = de.dept_no
WHERE de.dept_no IN ('d005', 'd007');
--Create table query to retrieve retiring employees specific to the sales and development areas of Pewlett-Hackard by department employee count.
SELECT COUNT(dept_no) as "Count",
dept_name AS "Department"
INTO retiring_salesdev_count
FROM sales_dev_retiring
GROUP BY dept_name
ORDER BY "Count" DESC;
--Create table query to retrieve employees from the sales and development areas of Pewlett-Hackard who are not retiring.
SELECT e.emp_no,
e.first_name,
e.last_name,
e.birth_date,
de.dept_no,
de.to_date
INTO sales_dev_not_retiring
FROM employees as e
JOIN dept_emp as de
ON e.emp_no = de.emp_no
JOIN departments as d
ON d.dept_no = de.dept_no
WHERE (e.birth_date >'1960-12-31')
AND (de.to_date = '9999-01-01')
AND de.dept_no IN ('d005', 'd007');
--Create query to retrive the count of Pewlett-Hackard sales and develpment employees who are not retiring.
SELECT COUNT(dept_no) as "Count S/D Not Retiring"
FROM sales_dev_not_retiring
ORDER BY "Count S/D Not Retiring" DESC;
|
DROP TABLE IF EXISTS journeys;
DROP TABLE IF EXISTS stations;
CREATE TABLE stations (
logical_terminal INTEGER NOT NULL,
street_name VARCHAR(100),
village VARCHAR(100),
full_name VARCHAR(200) NOT NULL,
latitude FLOAT,
longitude FLOAT,
PRIMARY KEY (logical_terminal),
UNIQUE(full_name)
) DEFAULT CHARSET=utf8 ENGINE=INNODB;
CREATE TABLE journeys (
rental_id INTEGER NOT NULL,
billable_duration INTEGER NOT NULL,
duration INTEGER NOT NULL,
customer_record_number INTEGER NOT NULL,
subscription_id INTEGER NOT NULL,
bike_id INTEGER NOT NULL,
end_timestamp DATETIME NOT NULL,
end_station_id INTEGER NOT NULL,
end_station_logical_term INTEGER NOT NULL,
end_station_priority_id INTEGER NOT NULL,
end_hour_category_id INTEGER NOT NULL,
start_timestamp DATETIME NOT NULL,
start_station_id INTEGER NOT NULL,
start_station_logical_term INTEGER NOT NULL,
start_station_priority_id INTEGER NOT NULL,
start_hour_category_id INTEGER NOT NULL,
bike_user_type_id INTEGER NOT NULL,
PRIMARY KEY (rental_id),
FOREIGN KEY (end_station_logical_term) REFERENCES stations(logical_terminal),
FOREIGN KEY (start_station_logical_term) REFERENCES stations(logical_terminal)
) DEFAULT CHARSET=utf8 ENGINE=INNODB;
|
DROP DATABASE IF EXISTS bloodtime;
CREATE DATABASE IF NOT EXISTS bloodtime;
USE bloodtime;
CREATE TABLE spielfigur(
entityId INT NOT NULL auto_increment,
entity_name VARCHAR(255) NOT NULL,
title VARCHAR(255) NOT NULL,
health INT NOT NULL,
delay INT NOT NULL,
damage INT NOT NULL,
speed INT NOT NULL,
image MEDIUMBLOB,
costs INT NOT NULL,
PRIMARY KEY(entityId)
);
CREATE TABLE stats(
timestamp TIMESTAMP,
xp INT NOT NULL,
gameTime VARCHAR(255) NOT NULL
); |
CREATE TABLE IF NOT EXISTS offense (
uuid integer,
game_id integer,
player varchar(7),
passing_attempts smallint,
passing_completions smallint,
passing_yardage integer,
interceptions smallint,
passing_touchdowns smallint,
rushing_attempts smallint,
successful_rushing_attempts smallint,
rushing_yardage integer,
rushing_touchdowns smallint,
times_targeted smallint,
receptions smallint,
receiving_yardage integer,
receiving_touchdowns smallint,
returns smallint,
return_yardage integer,
return_touchdowns smallint,
fumbles_lost smallint,
penalty_yardage smallint,
conversion smallint,
snaps smallint,
fantasy_points_nfl numeric,
fantasy_points_fd numeric,
fantasy_points_dk numeric,
player_game_number smallint,
seasons_played smallint,
year integer,
team varchar(3),
position_detail varchar(8),
jersey_number smallint,
depth_chart smallint
);
COPY offense
FROM '/Users/sean.costello/Development/nfl_00-16/OFFENSE.csv' DELIMITER ',' CSV HEADER; |
UPDATE professors
SET specialization = 'Super cool new specialization'
WHERE id IN (
SELECT professor_id
FROM thesis
WHERE thesis_area = 'Semantic Web'
);
|
select round(propensity_score,2) ps, treatment, count(*) person_count
from @resultsTableQualifier.cca_matched_pop
where execution_id = @executionId
group by round(propensity_score,2), treatment
order by round(propensity_score,2) asc |
CREATE TABLE [display].[cmn_skill]
(
[sys_id_display_value] NVARCHAR(255) NULL,
[sys_replace_on_upgrade_display_value] NVARCHAR(255) NULL,
[sys_mod_count_display_value] NVARCHAR(255) NULL,
[description_display_value] NVARCHAR(255) NULL,
[active_display_value] NVARCHAR(255) NULL,
[sys_updated_on_display_value] DATETIME NULL,
[sys_tags_display_value] NVARCHAR(255) NULL,
[sys_class_name_display_value] NVARCHAR(255) NULL,
[sys_package_display_value] NVARCHAR(255) NULL,
[sys_update_name_display_value] NVARCHAR(255) NULL,
[sys_updated_by_display_value] NVARCHAR(255) NULL,
[sys_created_on_display_value] DATETIME NULL,
[name_display_value] NVARCHAR(255) NULL,
[sys_name_display_value] NVARCHAR(255) NULL,
[sys_customer_update_display_value] NVARCHAR(255) NULL,
[sys_created_by_display_value] NVARCHAR(255) NULL,
[sys_policy_display_value] NVARCHAR(255) NULL
)
|
-- AlterTable
ALTER TABLE "assessment" ADD COLUMN "instructions" TEXT;
|
/* 1.
а) Да се направи така,
че да не може два
филма да имат
еднаква дължина.
б) Да се направи така,
че да не може едно
студио да има два
филма с еднаква
дължина. */
use movies
alter table movie
add constraint unique_length unique(length)
alter table movie
add constraint studio_unique_length unique(length, studioname)
/* 2. Изтрийте
ограниченията,
създадени в зад. 1. */
alter table movie
drop constraint unique_length, studio_unique_length
/* 3. */
create database students
use students
create table student1(
fn int check(fn > 0 and fn < 99999) not null primary key,
name varchar(100) not null,
egn char(10) unique not null,
email varchar(100) unique not null,
birthdate date not null,
admission_date date not null,
constraint at_least_18yrs check(year(admission_date) - year(birthdate) >= 18)
)
alter table student1
add constraint email_val check(email like '%@%.%')
create table courses(
id int identity primary key,
name varchar(50) not null
)
insert into courses(name) values('DB');
insert into courses(name) values('OOP');
insert into courses(name) values('Android');
insert into courses(name) values('iOS');
select * from courses;
-- всеки студент може да се запише в много курсове и във всеки курс
-- може да има записани много студенти.
-- При изтриване на даден курс автоматично да се отписват всички студенти от него.
create table StudentsIn
(
student_fn int references student1(fn),
course_id int references courses(id) on delete cascade,
primary key(student_fn, course_id)
);
insert into StudentsIn values(81888, 2);
insert into StudentsIn values(81888, 3);
insert into StudentsIn values(81888, 4);
select * from StudentsIn;
-- id-тата на всички курсове, в които се е записал студент 81888:
select course_id
from StudentsIn
where student_fn = 81888;
-- факултетните номера на всички студенти, записали се в курс с id=3 (Android):
select student_fn
from StudentsIn
where course_id = 3;
delete from courses
where name = 'iOS';
select * from StudentsIn;
-- виждаме, че вече няма студенти, записани в курс с id = 4
use master
drop database students
|
select `p_partkey`, `n_name`, `r_name`
from `part`
right join `nation` on `n_regionkey` = `p_partkey`
left join `region` on `n_nationkey` = `r_regionkey` |
/*
SQLyog Community Edition- MySQL GUI v6.52
MySQL - 5.1.24-rc-community : Database - eMeetingDB
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!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' */;
create database if not exists `eMeetingDB`;
USE `eMeetingDB`;
/*Table structure for table `branch` */
DROP TABLE IF EXISTS `branch`;
CREATE TABLE `branch` (
`br_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '编号,自增列,主键',
`br_name` varchar(100) NOT NULL COMMENT '部门名称',
`br_memo` text COMMENT '门部备注',
PRIMARY KEY (`br_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `branch` */
/*Table structure for table `sysconfig` */
DROP TABLE IF EXISTS `sysconfig`;
CREATE TABLE `sysconfig` (
`cfg_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列,主键',
`cfg_item` varchar(100) DEFAULT NULL COMMENT '条目',
`cfg_value` varchar(100) DEFAULT NULL COMMENT '值',
`cfg_memo` text COMMENT '备注',
PRIMARY KEY (`cfg_id`)
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8;
/*Data for the table `sysconfig` */
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (1,'过期会议自动清理','3','清除当会议的结束日期超过此配置过期天数的会议');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (2,'分行名称','北京分行','无');
/*
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (3,'分行名称','广州分行','无');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (4,'分行名称','上海分行','无');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (5,'分行名称','深圳分行','无');
*/
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (10,'部门','财务部','无');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (11,'部门','办公室','无');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (12,'部门','营业部','无');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (13,'部门','人事部','无');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (14,'部门','科技部','无');
insert into `sysconfig`(`cfg_id`,`cfg_item`,`cfg_value`,`cfg_memo`) values (15,'部门','后勤部','无');
/*Table structure for table `primarykeycn` */
DROP TABLE IF EXISTS `primarykeycn`;
CREATE TABLE `primarykeycn` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列,主键',
`text` varchar(100) DEFAULT NULL COMMENT '关键字名(节点名)',
`parent_id` int(11) DEFAULT NULL COMMENT '父节点的编号',
`leaf` tinyint(1) DEFAULT NULL COMMENT '否是为叶子节点',
`link_url` varchar(100) DEFAULT NULL COMMENT '链接的url',
`iconCls` varchar(100) DEFAULT NULL COMMENT '图标样式',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
/*Data for the table `primarykeycn` */
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (1,'会议管理系统',0,0,'',NULL);
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (2,'用户管理',1,0,'','sys-treeNodePackageIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (3,'注册与编辑用户',2,1,'cmsfactory/userinfo/userInfo.jsp','sys-treeNodeLeafIcon');
/* insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (4,'用户权限分配',2,1,'cmsfactory/userinfo/dispatchUserInfoRow.jsp','sys-treeNodeLeafIcon'); */
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (5,'系统设置',1,0,NULL,'sys-treeNodePackageIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (6,'查看角色权限',5,1,'cmsfactory/userrole/userRole.jsp','sys-treeNodeLeafIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (7,'数据字典设置',5,1,'cmsfactory/sysconfig/sysConfig.jsp','sys-treeNodeLeafIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (8,'会议管理',1,0,'','sys-treeNodePackageIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (9,'添加会议',8,1,'cmsfactory/conference/addConference.jsp','sys-treeNodeLeafIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (10,'会议维护',8,1,'cmsfactory/conference/editConference.jsp','sys-treeNodeLeafIcon');
/* insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (11,'删除会议',8,1,'cmsfactory/conference/deleteConference.jsp','sys-treeNodeLeafIcon'); */
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (20,'会议管理(模版式)',1,0,'','sys-treeNodePackageIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (21,'添加会议',20,1,'cmsfactory/conference2/addConference2.jsp','sys-treeNodeLeafIcon');
insert into `primarykeycn`(`id`,`text`,`parent_id`,`leaf`,`link_url`,`iconCls`) values (22,'会议维护',20,1,'cmsfactory/conference2/editConference2.jsp','sys-treeNodeLeafIcon');
/*Table structure for table `userinfo` */
DROP TABLE IF EXISTS `userinfo`;
CREATE TABLE `userinfo` (
`user_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列,主键',
`user_account` varchar(100) DEFAULT NULL COMMENT '用户账号',
`user_pass` varchar(100) DEFAULT NULL COMMENT '密码',
`user_true_name` varchar(100) DEFAULT NULL COMMENT '真实姓名',
`user_create_date` datetime DEFAULT NULL COMMENT '用户创建时间',
`user_role_id` int(11) DEFAULT NULL COMMENT '用户权限编号,FK',
`user_department_id` int(11) DEFAULT NULL COMMENT '用户部门编号,FK',
`user_department_name` varchar(100) DEFAULT NULL COMMENT '部门名字',
`user_company_id` int(11) DEFAULT NULL COMMENT '用户分公司编号,FK',
`user_company_name` varchar(100) DEFAULT NULL COMMENT '分公司名字',
`user_memo` text COMMENT '备注',
PRIMARY KEY (`user_id`),
UNIQUE KEY `user_account` (`user_account`),
KEY `user_role_id` (`user_role_id`),
CONSTRAINT `userinfo_ibfk_1` FOREIGN KEY (`user_role_id`) REFERENCES `userrole` (`ur_id`),
CONSTRAINT `userinfo_ibfk_2` FOREIGN KEY (`user_department_id`) REFERENCES `sysconfig` (`cfg_id`),
CONSTRAINT `userinfo_ibfk_3` FOREIGN KEY (`user_company_id`) REFERENCES `sysconfig` (`cfg_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `userinfo` */
insert into `userinfo`(`user_id`,`user_account`,`user_pass`,`user_true_name`,`user_create_date`,`user_department_id`,`user_role_id`,`user_memo`) values (1,'admin','123','administrator','2009-11-26 16:14:55',11,1,'超级管理员(拥有所有权限)');
insert into `userinfo`(`user_id`,`user_account`,`user_pass`,`user_true_name`,`user_create_date`,`user_department_id`,`user_role_id`,`user_memo`) values (2,'test','test','test','2009-12-1 15:18:49',11,2,'测试帐号');
/*Table structure for table `userrole` */
DROP TABLE IF EXISTS `userrole`;
CREATE TABLE `userrole` (
`ur_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增列,主键',
`ur_name` varchar(100) DEFAULT NULL COMMENT '角色名称',
`ur_memo` text COMMENT '备注',
PRIMARY KEY (`ur_id`),
UNIQUE KEY `ur_name` (`ur_name`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `userrole` */
insert into `userrole`(`ur_id`,`ur_name`,`ur_memo`) values (1,'超级管理员','拥有所有权限');
insert into `userrole`(`ur_id`,`ur_name`,`ur_memo`) values (2,'部门用户','拥有所在部门的权限');
insert into `userrole`(`ur_id`,`ur_name`,`ur_memo`) values (3,'与会者','听众');
/*Table structure for table `conference` */
DROP TABLE IF EXISTS `conference`;
CREATE TABLE `conference` (
`CONFERENCE_ID` int(11) NOT NULL auto_increment,
`NAME` varchar(255) NOT NULL,
`LOCATION` varchar(255) default NULL,
`TOPIC` varchar(255) default NULL,
`TOPIC_ORDER` varchar(255) default NULL,
`START_DATE` datetime NOT NULL,
`END_DATE` datetime NOT NULL,
`DESCRIPTION` text default NULL,
`URL` text default NULL,
`FILES_NAME` text default NULL,
`REPRESENTOR` varchar(255) default NULL,
`EXTENSION` text default NULL,
`TEMPLATE_MODE` int(2) DEFAULT 0,
`OWNER_ID` int(11) DEFAULT NULL COMMENT '主讲人,FK',
`USER_ID` int(11) NOT NULL COMMENT '创建者,FK',
PRIMARY KEY (`CONFERENCE_ID`),
KEY `owner_id` (`owner_id`),
KEY `USER_ID` (`USER_ID`),
CONSTRAINT `conference_ibfk_1` FOREIGN KEY (`OWNER_ID`) REFERENCES `userinfo` (`USER_ID`),
CONSTRAINT `conference_ibfk_2` FOREIGN KEY (`USER_ID`) REFERENCES `userinfo` (`USER_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `conference` */
/*Table structure for table `paper` */
DROP TABLE IF EXISTS `paper`;
CREATE TABLE `paper` (
`PAPER_ID` int(11) NOT NULL auto_increment,
`FILE_NAME` varchar(255) default NULL,
`CONTENT_TYPE` varchar(255) default NULL,
`STATUS` varchar(255) default NULL,
`ABSTRACT` varchar(5000) default NULL,
`KEYWORDS` varchar(255) default NULL,
`SUBMITTED_DATE` datetime default NULL,
`ORIGINAL_PAPER` longblob default NULL,
`TITLE` varchar(500) default NULL,
`USER_ID` int(11) DEFAULT NULL COMMENT '创建者,FK',
`CONFERENCE_ID` int(11) default NULL,
PRIMARY KEY (`PAPER_ID`),
KEY `CONFERENCE_ID` (`CONFERENCE_ID`),
KEY `USER_ID` (`USER_ID`),
CONSTRAINT `paper_USER_ID_fk` FOREIGN KEY (`USER_ID`) REFERENCES `userinfo` (`USER_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
/*Data for the table `paper` */
/*Table structure for table `meeting` */
DROP TABLE IF EXISTS `meeting`;
CREATE TABLE `meeting` (
`ID` int(10) unsigned NOT NULL auto_increment,
`sender` varchar(50) NOT NULL default '',
`starttime` varchar(20) default NULL,
`endtime` varchar(20) default NULL,
`address` varchar(100) default NULL,
`title` varchar(100) default NULL,
`content` text,
PRIMARY KEY (`ID`),
UNIQUE KEY `ID` (`ID`),
KEY `ID_2` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
/*Data for the table `meeting` */
/*Table structure for table `notice` */
DROP TABLE IF EXISTS `notice`;
CREATE TABLE `notice` (
`ID` int(10) unsigned NOT NULL auto_increment,
`sender` varchar(50) NOT NULL default '',
`title` varchar(100) default NULL,
`content` text,
`sendtime` varchar(20) default NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `ID` (`ID`),
KEY `ID_2` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
/*Data for the table `notice` */
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
CREATE Procedure sp_Get_ReconcileDocumentDetail (@ReconcileID Integer)
As
Select ReconcileDetail.Product_Code, Items.ProductName From ReconcileDetail, Items
Where ReconcileID = @ReconcileID
and ReconcileDetail.Product_Code = Items.Product_Code
Order by ReconcileDetail.Product_Code
|
insert into produtos (id, nome, quantidade) values (1, 'BMW', 81);
insert into produtos (id, nome, quantidade) values (2, 'Jeep', 95);
insert into produtos (id, nome, quantidade) values (3, 'Smart', 54);
insert into produtos (id, nome, quantidade) values (4, 'Ford', 52);
insert into produtos (id, nome, quantidade) values (5, 'BMW', 71);
insert into produtos (id, nome, quantidade) values (6, 'Lexus', 83);
insert into produtos (id, nome, quantidade) values (7, 'Chrysler', 89);
insert into produtos (id, nome, quantidade) values (8, 'Hyundai', 91);
insert into produtos (id, nome, quantidade) values (9, 'Volkswagen', 94);
insert into produtos (id, nome, quantidade) values (10, 'GMC', 53);
insert into produtos (id, nome, quantidade) values (11, 'Isuzu', 92);
insert into produtos (id, nome, quantidade) values (12, 'Dodge', 96);
insert into produtos (id, nome, quantidade) values (13, 'Chevrolet', 76);
insert into produtos (id, nome, quantidade) values (14, 'GMC', 76);
insert into produtos (id, nome, quantidade) values (15, 'Lexus', 82);
insert into produtos (id, nome, quantidade) values (16, 'Honda', 50);
insert into produtos (id, nome, quantidade) values (17, 'Subaru', 89);
insert into produtos (id, nome, quantidade) values (18, 'Mercedes-Benz', 71);
insert into produtos (id, nome, quantidade) values (19, 'Ford', 71);
insert into produtos (id, nome, quantidade) values (20, 'Mercedes-Benz', 61);
insert into produtos (id, nome, quantidade) values (21, 'Volkswagen', 98);
insert into produtos (id, nome, quantidade) values (22, 'Mercedes-Benz', 87);
insert into produtos (id, nome, quantidade) values (23, 'Acura', 98);
insert into produtos (id, nome, quantidade) values (24, 'Lexus', 99);
insert into produtos (id, nome, quantidade) values (25, 'Ford', 89);
insert into produtos (id, nome, quantidade) values (26, 'Acura', 58);
insert into produtos (id, nome, quantidade) values (27, 'Maybach', 74);
insert into produtos (id, nome, quantidade) values (28, 'Lincoln', 65);
insert into produtos (id, nome, quantidade) values (29, 'Lincoln', 90);
insert into produtos (id, nome, quantidade) values (30, 'Ford', 54);
insert into produtos (id, nome, quantidade) values (31, 'Lamborghini', 68);
insert into produtos (id, nome, quantidade) values (32, 'Buick', 72);
insert into produtos (id, nome, quantidade) values (33, 'Mercedes-Benz', 95);
insert into produtos (id, nome, quantidade) values (34, 'Subaru', 66);
insert into produtos (id, nome, quantidade) values (35, 'Chevrolet', 69);
insert into produtos (id, nome, quantidade) values (36, 'Lotus', 86);
insert into produtos (id, nome, quantidade) values (37, 'Bentley', 94);
insert into produtos (id, nome, quantidade) values (38, 'BMW', 50);
insert into produtos (id, nome, quantidade) values (39, 'GMC', 70);
insert into produtos (id, nome, quantidade) values (40, 'Audi', 59);
insert into produtos (id, nome, quantidade) values (41, 'Ford', 53);
insert into produtos (id, nome, quantidade) values (42, 'GMC', 75);
insert into produtos (id, nome, quantidade) values (43, 'Toyota', 98);
insert into produtos (id, nome, quantidade) values (44, 'Infiniti', 93);
insert into produtos (id, nome, quantidade) values (45, 'Ford', 58);
insert into produtos (id, nome, quantidade) values (46, 'Ford', 64);
insert into produtos (id, nome, quantidade) values (47, 'Rolls-Royce', 60);
insert into produtos (id, nome, quantidade) values (48, 'Toyota', 97);
insert into produtos (id, nome, quantidade) values (49, 'Volvo', 62);
insert into produtos (id, nome, quantidade) values (50, 'Dodge', 71);
insert into produtos (id, nome, quantidade) values (51, 'GMC', 73);
insert into produtos (id, nome, quantidade) values (52, 'Audi', 51);
insert into produtos (id, nome, quantidade) values (53, 'Lincoln', 77);
insert into produtos (id, nome, quantidade) values (54, 'Saab', 61);
insert into produtos (id, nome, quantidade) values (55, 'Ford', 71);
insert into produtos (id, nome, quantidade) values (56, 'Saab', 93);
insert into produtos (id, nome, quantidade) values (57, 'Mazda', 76);
insert into produtos (id, nome, quantidade) values (58, 'Honda', 50);
insert into produtos (id, nome, quantidade) values (59, 'Toyota', 82);
insert into produtos (id, nome, quantidade) values (60, 'Subaru', 55);
insert into produtos (id, nome, quantidade) values (61, 'Toyota', 60);
insert into produtos (id, nome, quantidade) values (62, 'Pontiac', 55);
insert into produtos (id, nome, quantidade) values (63, 'Acura', 100);
insert into produtos (id, nome, quantidade) values (64, 'Ford', 65);
insert into produtos (id, nome, quantidade) values (65, 'Chrysler', 64);
insert into produtos (id, nome, quantidade) values (66, 'Toyota', 91);
insert into produtos (id, nome, quantidade) values (67, 'Audi', 84);
insert into produtos (id, nome, quantidade) values (68, 'Audi', 89);
insert into produtos (id, nome, quantidade) values (69, 'Mitsubishi', 59);
insert into produtos (id, nome, quantidade) values (70, 'Audi', 95);
insert into produtos (id, nome, quantidade) values (71, 'GMC', 92);
insert into produtos (id, nome, quantidade) values (72, 'Mitsubishi', 78);
insert into produtos (id, nome, quantidade) values (73, 'Volvo', 80);
insert into produtos (id, nome, quantidade) values (74, 'Mazda', 85);
insert into produtos (id, nome, quantidade) values (75, 'Lincoln', 55);
insert into produtos (id, nome, quantidade) values (76, 'Nissan', 98);
insert into produtos (id, nome, quantidade) values (77, 'Lexus', 68);
insert into produtos (id, nome, quantidade) values (78, 'GMC', 83);
insert into produtos (id, nome, quantidade) values (79, 'Jensen', 85);
insert into produtos (id, nome, quantidade) values (80, 'Daewoo', 64);
insert into produtos (id, nome, quantidade) values (81, 'Hyundai', 63);
insert into produtos (id, nome, quantidade) values (82, 'Toyota', 78);
insert into produtos (id, nome, quantidade) values (83, 'Ford', 84);
insert into produtos (id, nome, quantidade) values (84, 'Chevrolet', 75);
insert into produtos (id, nome, quantidade) values (85, 'Bentley', 62);
insert into produtos (id, nome, quantidade) values (86, 'Mazda', 92);
insert into produtos (id, nome, quantidade) values (87, 'Dodge', 82);
insert into produtos (id, nome, quantidade) values (88, 'Mercury', 92);
insert into produtos (id, nome, quantidade) values (89, 'Holden', 78);
insert into produtos (id, nome, quantidade) values (90, 'Chevrolet', 52);
insert into produtos (id, nome, quantidade) values (91, 'Mazda', 89);
insert into produtos (id, nome, quantidade) values (92, 'Ford', 92);
insert into produtos (id, nome, quantidade) values (93, 'Volkswagen', 72);
insert into produtos (id, nome, quantidade) values (94, 'Dodge', 54);
insert into produtos (id, nome, quantidade) values (95, 'Isuzu', 92);
insert into produtos (id, nome, quantidade) values (96, 'Toyota', 71);
insert into produtos (id, nome, quantidade) values (97, 'Honda', 99);
insert into produtos (id, nome, quantidade) values (98, 'Pontiac', 96);
insert into produtos (id, nome, quantidade) values (99, 'Hummer', 93);
insert into produtos (id, nome, quantidade) values (100, 'Dodge', 74);
insert into produtos (id, nome, quantidade) values (101, 'Ford', 86);
insert into produtos (id, nome, quantidade) values (102, 'Volvo', 63);
insert into produtos (id, nome, quantidade) values (103, 'Ford', 76);
insert into produtos (id, nome, quantidade) values (104, 'Mazda', 69);
insert into produtos (id, nome, quantidade) values (105, 'Ram', 72);
insert into produtos (id, nome, quantidade) values (106, 'Ford', 66);
insert into produtos (id, nome, quantidade) values (107, 'Chevrolet', 70);
insert into produtos (id, nome, quantidade) values (108, 'Buick', 64);
insert into produtos (id, nome, quantidade) values (109, 'Dodge', 59);
insert into produtos (id, nome, quantidade) values (110, 'Chevrolet', 75);
insert into produtos (id, nome, quantidade) values (111, 'Mazda', 53);
insert into produtos (id, nome, quantidade) values (112, 'Honda', 58);
insert into produtos (id, nome, quantidade) values (113, 'Chevrolet', 62);
insert into produtos (id, nome, quantidade) values (114, 'Ford', 87);
insert into produtos (id, nome, quantidade) values (115, 'GMC', 60);
insert into produtos (id, nome, quantidade) values (116, 'Buick', 96);
insert into produtos (id, nome, quantidade) values (117, 'Scion', 74);
insert into produtos (id, nome, quantidade) values (118, 'GMC', 91);
insert into produtos (id, nome, quantidade) values (119, 'Suzuki', 91);
insert into produtos (id, nome, quantidade) values (120, 'Ford', 90);
insert into produtos (id, nome, quantidade) values (121, 'Hyundai', 70);
insert into produtos (id, nome, quantidade) values (122, 'Plymouth', 71);
insert into produtos (id, nome, quantidade) values (123, 'Buick', 95);
insert into produtos (id, nome, quantidade) values (124, 'Chevrolet', 67);
insert into produtos (id, nome, quantidade) values (125, 'Kia', 53);
insert into produtos (id, nome, quantidade) values (126, 'Ford', 58);
insert into produtos (id, nome, quantidade) values (127, 'Pontiac', 86);
insert into produtos (id, nome, quantidade) values (128, 'Volvo', 99);
insert into produtos (id, nome, quantidade) values (129, 'Bentley', 99);
insert into produtos (id, nome, quantidade) values (130, 'Pontiac', 85);
insert into produtos (id, nome, quantidade) values (131, 'BMW', 53);
insert into produtos (id, nome, quantidade) values (132, 'Toyota', 51);
insert into produtos (id, nome, quantidade) values (133, 'Audi', 52);
insert into produtos (id, nome, quantidade) values (134, 'BMW', 96);
insert into produtos (id, nome, quantidade) values (135, 'Ford', 80);
insert into produtos (id, nome, quantidade) values (136, 'Subaru', 91);
insert into produtos (id, nome, quantidade) values (137, 'Buick', 94);
insert into produtos (id, nome, quantidade) values (138, 'Saab', 92);
insert into produtos (id, nome, quantidade) values (139, 'Mitsubishi', 92);
insert into produtos (id, nome, quantidade) values (140, 'Mitsubishi', 89);
insert into produtos (id, nome, quantidade) values (141, 'Suzuki', 71);
insert into produtos (id, nome, quantidade) values (142, 'Isuzu', 81);
insert into produtos (id, nome, quantidade) values (143, 'Acura', 66);
insert into produtos (id, nome, quantidade) values (144, 'Dodge', 68);
insert into produtos (id, nome, quantidade) values (145, 'Chrysler', 99);
insert into produtos (id, nome, quantidade) values (146, 'Kia', 63);
insert into produtos (id, nome, quantidade) values (147, 'Volkswagen', 93);
insert into produtos (id, nome, quantidade) values (148, 'Acura', 60);
insert into produtos (id, nome, quantidade) values (149, 'GMC', 100);
insert into produtos (id, nome, quantidade) values (150, 'Porsche', 51);
insert into produtos (id, nome, quantidade) values (151, 'Lexus', 60);
insert into produtos (id, nome, quantidade) values (152, 'Mercury', 84);
insert into produtos (id, nome, quantidade) values (153, 'Mercedes-Benz', 60);
insert into produtos (id, nome, quantidade) values (154, 'Chevrolet', 65);
insert into produtos (id, nome, quantidade) values (155, 'Pontiac', 74);
insert into produtos (id, nome, quantidade) values (156, 'Chevrolet', 51);
insert into produtos (id, nome, quantidade) values (157, 'Chevrolet', 64);
insert into produtos (id, nome, quantidade) values (158, 'Mercedes-Benz', 65);
insert into produtos (id, nome, quantidade) values (159, 'Volvo', 71);
insert into produtos (id, nome, quantidade) values (160, 'Ford', 75);
insert into produtos (id, nome, quantidade) values (161, 'Ford', 76);
insert into produtos (id, nome, quantidade) values (162, 'Buick', 62);
insert into produtos (id, nome, quantidade) values (163, 'GMC', 66);
insert into produtos (id, nome, quantidade) values (164, 'Chevrolet', 88);
insert into produtos (id, nome, quantidade) values (165, 'Volvo', 60);
insert into produtos (id, nome, quantidade) values (166, 'Chevrolet', 63);
insert into produtos (id, nome, quantidade) values (167, 'Maybach', 52);
insert into produtos (id, nome, quantidade) values (168, 'GMC', 79);
insert into produtos (id, nome, quantidade) values (169, 'Oldsmobile', 71);
insert into produtos (id, nome, quantidade) values (170, 'Mercury', 91);
insert into produtos (id, nome, quantidade) values (171, 'Ford', 86);
insert into produtos (id, nome, quantidade) values (172, 'Hummer', 72);
insert into produtos (id, nome, quantidade) values (173, 'Chevrolet', 53);
insert into produtos (id, nome, quantidade) values (174, 'Mazda', 79);
insert into produtos (id, nome, quantidade) values (175, 'Chrysler', 99);
insert into produtos (id, nome, quantidade) values (176, 'Ford', 53);
insert into produtos (id, nome, quantidade) values (177, 'Toyota', 97);
insert into produtos (id, nome, quantidade) values (178, 'Isuzu', 93);
insert into produtos (id, nome, quantidade) values (179, 'Ford', 99);
insert into produtos (id, nome, quantidade) values (180, 'Ford', 68);
insert into produtos (id, nome, quantidade) values (181, 'Lincoln', 51);
insert into produtos (id, nome, quantidade) values (182, 'Cadillac', 82);
insert into produtos (id, nome, quantidade) values (183, 'Dodge', 98);
insert into produtos (id, nome, quantidade) values (184, 'Suzuki', 69);
insert into produtos (id, nome, quantidade) values (185, 'Lincoln', 89);
insert into produtos (id, nome, quantidade) values (186, 'Chevrolet', 54);
insert into produtos (id, nome, quantidade) values (187, 'Ford', 51);
insert into produtos (id, nome, quantidade) values (188, 'Chevrolet', 93);
insert into produtos (id, nome, quantidade) values (189, 'Mercedes-Benz', 57);
insert into produtos (id, nome, quantidade) values (190, 'Dodge', 58);
insert into produtos (id, nome, quantidade) values (191, 'Chevrolet', 53);
insert into produtos (id, nome, quantidade) values (192, 'Audi', 84);
insert into produtos (id, nome, quantidade) values (193, 'Ford', 90);
insert into produtos (id, nome, quantidade) values (194, 'Acura', 100);
insert into produtos (id, nome, quantidade) values (195, 'Hyundai', 62);
insert into produtos (id, nome, quantidade) values (196, 'Land Rover', 64);
insert into produtos (id, nome, quantidade) values (197, 'Chrysler', 61);
insert into produtos (id, nome, quantidade) values (198, 'Audi', 93);
insert into produtos (id, nome, quantidade) values (199, 'Suzuki', 63);
insert into produtos (id, nome, quantidade) values (200, 'Mercury', 75);
insert into produtos (id, nome, quantidade) values (201, 'BMW', 63);
insert into produtos (id, nome, quantidade) values (202, 'Mercedes-Benz', 62);
insert into produtos (id, nome, quantidade) values (203, 'Mercedes-Benz', 92);
insert into produtos (id, nome, quantidade) values (204, 'Volvo', 68);
insert into produtos (id, nome, quantidade) values (205, 'Lexus', 83);
insert into produtos (id, nome, quantidade) values (206, 'Acura', 96);
insert into produtos (id, nome, quantidade) values (207, 'GMC', 79);
insert into produtos (id, nome, quantidade) values (208, 'Honda', 83);
insert into produtos (id, nome, quantidade) values (209, 'GMC', 63);
insert into produtos (id, nome, quantidade) values (210, 'Jaguar', 69);
insert into produtos (id, nome, quantidade) values (211, 'Scion', 66);
insert into produtos (id, nome, quantidade) values (212, 'BMW', 60);
insert into produtos (id, nome, quantidade) values (213, 'Mercury', 64);
insert into produtos (id, nome, quantidade) values (214, 'Chevrolet', 88);
insert into produtos (id, nome, quantidade) values (215, 'Lexus', 71);
insert into produtos (id, nome, quantidade) values (216, 'Chevrolet', 94);
insert into produtos (id, nome, quantidade) values (217, 'Ford', 57);
insert into produtos (id, nome, quantidade) values (218, 'Subaru', 95);
insert into produtos (id, nome, quantidade) values (219, 'Jeep', 89);
insert into produtos (id, nome, quantidade) values (220, 'BMW', 79);
insert into produtos (id, nome, quantidade) values (221, 'Ford', 76);
insert into produtos (id, nome, quantidade) values (222, 'BMW', 80);
insert into produtos (id, nome, quantidade) values (223, 'Nissan', 78);
insert into produtos (id, nome, quantidade) values (224, 'Ford', 71);
insert into produtos (id, nome, quantidade) values (225, 'Nissan', 78);
insert into produtos (id, nome, quantidade) values (226, 'Dodge', 79);
insert into produtos (id, nome, quantidade) values (227, 'Volkswagen', 54);
insert into produtos (id, nome, quantidade) values (228, 'Suzuki', 92);
insert into produtos (id, nome, quantidade) values (229, 'Mazda', 98);
insert into produtos (id, nome, quantidade) values (230, 'Infiniti', 80);
insert into produtos (id, nome, quantidade) values (231, 'Land Rover', 94);
insert into produtos (id, nome, quantidade) values (232, 'Mitsubishi', 82);
insert into produtos (id, nome, quantidade) values (233, 'Mazda', 96);
insert into produtos (id, nome, quantidade) values (234, 'Buick', 66);
insert into produtos (id, nome, quantidade) values (235, 'Honda', 68);
insert into produtos (id, nome, quantidade) values (236, 'Isuzu', 75);
insert into produtos (id, nome, quantidade) values (237, 'Ford', 85);
insert into produtos (id, nome, quantidade) values (238, 'Ford', 86);
insert into produtos (id, nome, quantidade) values (239, 'Honda', 62);
insert into produtos (id, nome, quantidade) values (240, 'Nissan', 70);
insert into produtos (id, nome, quantidade) values (241, 'Mercury', 99);
insert into produtos (id, nome, quantidade) values (242, 'BMW', 88);
insert into produtos (id, nome, quantidade) values (243, 'Ford', 90);
insert into produtos (id, nome, quantidade) values (244, 'Lexus', 54);
insert into produtos (id, nome, quantidade) values (245, 'Chevrolet', 58);
insert into produtos (id, nome, quantidade) values (246, 'Plymouth', 51);
insert into produtos (id, nome, quantidade) values (247, 'Oldsmobile', 71);
insert into produtos (id, nome, quantidade) values (248, 'Saab', 58);
insert into produtos (id, nome, quantidade) values (249, 'Plymouth', 90);
insert into produtos (id, nome, quantidade) values (250, 'Ford', 74);
insert into produtos (id, nome, quantidade) values (251, 'GMC', 70);
insert into produtos (id, nome, quantidade) values (252, 'Ford', 77);
insert into produtos (id, nome, quantidade) values (253, 'Mercedes-Benz', 56);
insert into produtos (id, nome, quantidade) values (254, 'Ford', 97);
insert into produtos (id, nome, quantidade) values (255, 'Mercedes-Benz', 90);
insert into produtos (id, nome, quantidade) values (256, 'Buick', 66);
insert into produtos (id, nome, quantidade) values (257, 'Hummer', 95);
insert into produtos (id, nome, quantidade) values (258, 'Ford', 70);
insert into produtos (id, nome, quantidade) values (259, 'Dodge', 60);
insert into produtos (id, nome, quantidade) values (260, 'Oldsmobile', 68);
insert into produtos (id, nome, quantidade) values (261, 'Ferrari', 85);
insert into produtos (id, nome, quantidade) values (262, 'Chevrolet', 50);
insert into produtos (id, nome, quantidade) values (263, 'Mercedes-Benz', 85);
insert into produtos (id, nome, quantidade) values (264, 'Chevrolet', 87);
insert into produtos (id, nome, quantidade) values (265, 'Infiniti', 70);
insert into produtos (id, nome, quantidade) values (266, 'Toyota', 81);
insert into produtos (id, nome, quantidade) values (267, 'Mitsubishi', 76);
insert into produtos (id, nome, quantidade) values (268, 'Buick', 75);
insert into produtos (id, nome, quantidade) values (269, 'Subaru', 90);
insert into produtos (id, nome, quantidade) values (270, 'BMW', 56);
insert into produtos (id, nome, quantidade) values (271, 'Hyundai', 52);
insert into produtos (id, nome, quantidade) values (272, 'Toyota', 96);
insert into produtos (id, nome, quantidade) values (273, 'GMC', 74);
insert into produtos (id, nome, quantidade) values (274, 'Chrysler', 79);
insert into produtos (id, nome, quantidade) values (275, 'Pontiac', 80);
insert into produtos (id, nome, quantidade) values (276, 'Plymouth', 100);
insert into produtos (id, nome, quantidade) values (277, 'Subaru', 57);
insert into produtos (id, nome, quantidade) values (278, 'Lexus', 88);
insert into produtos (id, nome, quantidade) values (279, 'BMW', 65);
insert into produtos (id, nome, quantidade) values (280, 'Mazda', 54);
insert into produtos (id, nome, quantidade) values (281, 'Subaru', 56);
insert into produtos (id, nome, quantidade) values (282, 'GMC', 57);
insert into produtos (id, nome, quantidade) values (283, 'Mitsubishi', 88);
insert into produtos (id, nome, quantidade) values (284, 'BMW', 72);
insert into produtos (id, nome, quantidade) values (285, 'Audi', 91);
insert into produtos (id, nome, quantidade) values (286, 'Volkswagen', 88);
insert into produtos (id, nome, quantidade) values (287, 'Ford', 70);
insert into produtos (id, nome, quantidade) values (288, 'GMC', 61);
insert into produtos (id, nome, quantidade) values (289, 'Subaru', 79);
insert into produtos (id, nome, quantidade) values (290, 'Toyota', 90);
insert into produtos (id, nome, quantidade) values (291, 'Nissan', 50);
insert into produtos (id, nome, quantidade) values (292, 'Honda', 91);
insert into produtos (id, nome, quantidade) values (293, 'Pontiac', 89);
insert into produtos (id, nome, quantidade) values (294, 'Mitsubishi', 77);
insert into produtos (id, nome, quantidade) values (295, 'Mercury', 69);
insert into produtos (id, nome, quantidade) values (296, 'Hyundai', 81);
insert into produtos (id, nome, quantidade) values (297, 'Ford', 95);
insert into produtos (id, nome, quantidade) values (298, 'Dodge', 98);
insert into produtos (id, nome, quantidade) values (299, 'Mitsubishi', 51);
insert into produtos (id, nome, quantidade) values (300, 'Nissan', 90);
insert into produtos (id, nome, quantidade) values (301, 'Infiniti', 61);
insert into produtos (id, nome, quantidade) values (302, 'BMW', 60);
insert into produtos (id, nome, quantidade) values (303, 'Nissan', 71);
insert into produtos (id, nome, quantidade) values (304, 'Mitsubishi', 94);
insert into produtos (id, nome, quantidade) values (305, 'Land Rover', 78);
insert into produtos (id, nome, quantidade) values (306, 'Chevrolet', 61);
insert into produtos (id, nome, quantidade) values (307, 'Ford', 83);
insert into produtos (id, nome, quantidade) values (308, 'Cadillac', 84);
insert into produtos (id, nome, quantidade) values (309, 'Audi', 56);
insert into produtos (id, nome, quantidade) values (310, 'Infiniti', 88);
insert into produtos (id, nome, quantidade) values (311, 'Geo', 96);
insert into produtos (id, nome, quantidade) values (312, 'Dodge', 93);
insert into produtos (id, nome, quantidade) values (313, 'Audi', 86);
insert into produtos (id, nome, quantidade) values (314, 'Pontiac', 99);
insert into produtos (id, nome, quantidade) values (315, 'Chevrolet', 96);
insert into produtos (id, nome, quantidade) values (316, 'Nissan', 94);
insert into produtos (id, nome, quantidade) values (317, 'Mitsubishi', 54);
insert into produtos (id, nome, quantidade) values (318, 'Volkswagen', 97);
insert into produtos (id, nome, quantidade) values (319, 'Chrysler', 62);
insert into produtos (id, nome, quantidade) values (320, 'Chevrolet', 63);
insert into produtos (id, nome, quantidade) values (321, 'Honda', 85);
insert into produtos (id, nome, quantidade) values (322, 'Mercury', 62);
insert into produtos (id, nome, quantidade) values (323, 'Jaguar', 58);
insert into produtos (id, nome, quantidade) values (324, 'Dodge', 56);
insert into produtos (id, nome, quantidade) values (325, 'Mazda', 97);
insert into produtos (id, nome, quantidade) values (326, 'Lotus', 58);
insert into produtos (id, nome, quantidade) values (327, 'Mitsubishi', 78);
insert into produtos (id, nome, quantidade) values (328, 'Subaru', 80);
insert into produtos (id, nome, quantidade) values (329, 'Chevrolet', 77);
insert into produtos (id, nome, quantidade) values (330, 'Kia', 73);
insert into produtos (id, nome, quantidade) values (331, 'Nissan', 77);
insert into produtos (id, nome, quantidade) values (332, 'Mazda', 86);
insert into produtos (id, nome, quantidade) values (333, 'Mercedes-Benz', 100);
insert into produtos (id, nome, quantidade) values (334, 'GMC', 83);
insert into produtos (id, nome, quantidade) values (335, 'Chrysler', 57);
insert into produtos (id, nome, quantidade) values (336, 'Dodge', 84);
insert into produtos (id, nome, quantidade) values (337, 'Mazda', 52);
insert into produtos (id, nome, quantidade) values (338, 'Kia', 63);
insert into produtos (id, nome, quantidade) values (339, 'BMW', 99);
insert into produtos (id, nome, quantidade) values (340, 'Acura', 54);
insert into produtos (id, nome, quantidade) values (341, 'Chevrolet', 74);
insert into produtos (id, nome, quantidade) values (342, 'Pontiac', 73);
insert into produtos (id, nome, quantidade) values (343, 'Mitsubishi', 72);
insert into produtos (id, nome, quantidade) values (344, 'Infiniti', 77);
insert into produtos (id, nome, quantidade) values (345, 'Chrysler', 73);
insert into produtos (id, nome, quantidade) values (346, 'Isuzu', 61);
insert into produtos (id, nome, quantidade) values (347, 'Cadillac', 61);
insert into produtos (id, nome, quantidade) values (348, 'Volkswagen', 73);
insert into produtos (id, nome, quantidade) values (349, 'Infiniti', 52);
insert into produtos (id, nome, quantidade) values (350, 'Dodge', 82);
insert into produtos (id, nome, quantidade) values (351, 'Buick', 58);
insert into produtos (id, nome, quantidade) values (352, 'Chevrolet', 100);
insert into produtos (id, nome, quantidade) values (353, 'Mitsubishi', 88);
insert into produtos (id, nome, quantidade) values (354, 'Subaru', 79);
insert into produtos (id, nome, quantidade) values (355, 'Pontiac', 79);
insert into produtos (id, nome, quantidade) values (356, 'Hummer', 57);
insert into produtos (id, nome, quantidade) values (357, 'Toyota', 67);
insert into produtos (id, nome, quantidade) values (358, 'Toyota', 62);
insert into produtos (id, nome, quantidade) values (359, 'Audi', 96);
insert into produtos (id, nome, quantidade) values (360, 'Maserati', 59);
insert into produtos (id, nome, quantidade) values (361, 'Porsche', 78);
insert into produtos (id, nome, quantidade) values (362, 'Suzuki', 78);
insert into produtos (id, nome, quantidade) values (363, 'Toyota', 71);
insert into produtos (id, nome, quantidade) values (364, 'Chevrolet', 52);
insert into produtos (id, nome, quantidade) values (365, 'BMW', 77);
insert into produtos (id, nome, quantidade) values (366, 'Ford', 52);
insert into produtos (id, nome, quantidade) values (367, 'GMC', 71);
insert into produtos (id, nome, quantidade) values (368, 'Nissan', 74);
insert into produtos (id, nome, quantidade) values (369, 'Oldsmobile', 78);
insert into produtos (id, nome, quantidade) values (370, 'Toyota', 85);
insert into produtos (id, nome, quantidade) values (371, 'Buick', 60);
insert into produtos (id, nome, quantidade) values (372, 'Mercury', 52);
insert into produtos (id, nome, quantidade) values (373, 'GMC', 64);
insert into produtos (id, nome, quantidade) values (374, 'Porsche', 65);
insert into produtos (id, nome, quantidade) values (375, 'Mercury', 71);
insert into produtos (id, nome, quantidade) values (376, 'Toyota', 100);
insert into produtos (id, nome, quantidade) values (377, 'Ford', 98);
insert into produtos (id, nome, quantidade) values (378, 'Chrysler', 99);
insert into produtos (id, nome, quantidade) values (379, 'Jeep', 76);
insert into produtos (id, nome, quantidade) values (380, 'Cadillac', 60);
insert into produtos (id, nome, quantidade) values (381, 'Pontiac', 88);
insert into produtos (id, nome, quantidade) values (382, 'Chevrolet', 86);
insert into produtos (id, nome, quantidade) values (383, 'Chrysler', 62);
insert into produtos (id, nome, quantidade) values (384, 'GMC', 78);
insert into produtos (id, nome, quantidade) values (385, 'Buick', 99);
insert into produtos (id, nome, quantidade) values (386, 'Lexus', 94);
insert into produtos (id, nome, quantidade) values (387, 'Audi', 81);
insert into produtos (id, nome, quantidade) values (388, 'Chevrolet', 84);
insert into produtos (id, nome, quantidade) values (389, 'GMC', 91);
insert into produtos (id, nome, quantidade) values (390, 'Ford', 94);
insert into produtos (id, nome, quantidade) values (391, 'Ford', 81);
insert into produtos (id, nome, quantidade) values (392, 'Lexus', 85);
insert into produtos (id, nome, quantidade) values (393, 'GMC', 84);
insert into produtos (id, nome, quantidade) values (394, 'Ford', 69);
insert into produtos (id, nome, quantidade) values (395, 'Lexus', 78);
insert into produtos (id, nome, quantidade) values (396, 'Ford', 67);
insert into produtos (id, nome, quantidade) values (397, 'Isuzu', 75);
insert into produtos (id, nome, quantidade) values (398, 'Subaru', 78);
insert into produtos (id, nome, quantidade) values (399, 'Oldsmobile', 73);
insert into produtos (id, nome, quantidade) values (400, 'Mercury', 78);
insert into produtos (id, nome, quantidade) values (401, 'Subaru', 61);
insert into produtos (id, nome, quantidade) values (402, 'Hummer', 64);
insert into produtos (id, nome, quantidade) values (403, 'Mercedes-Benz', 66);
insert into produtos (id, nome, quantidade) values (404, 'Dodge', 92);
insert into produtos (id, nome, quantidade) values (405, 'Ford', 75);
insert into produtos (id, nome, quantidade) values (406, 'Oldsmobile', 52);
insert into produtos (id, nome, quantidade) values (407, 'Jaguar', 80);
insert into produtos (id, nome, quantidade) values (408, 'Nissan', 80);
insert into produtos (id, nome, quantidade) values (409, 'Toyota', 87);
insert into produtos (id, nome, quantidade) values (410, 'Mazda', 89);
insert into produtos (id, nome, quantidade) values (411, 'BMW', 63);
insert into produtos (id, nome, quantidade) values (412, 'MINI', 86);
insert into produtos (id, nome, quantidade) values (413, 'Mercedes-Benz', 87);
insert into produtos (id, nome, quantidade) values (414, 'Chevrolet', 74);
insert into produtos (id, nome, quantidade) values (415, 'BMW', 81);
insert into produtos (id, nome, quantidade) values (416, 'Chrysler', 88);
insert into produtos (id, nome, quantidade) values (417, 'BMW', 95);
insert into produtos (id, nome, quantidade) values (418, 'Buick', 79);
insert into produtos (id, nome, quantidade) values (419, 'Nissan', 81);
insert into produtos (id, nome, quantidade) values (420, 'Kia', 91);
insert into produtos (id, nome, quantidade) values (421, 'Suzuki', 77);
insert into produtos (id, nome, quantidade) values (422, 'Volkswagen', 69);
insert into produtos (id, nome, quantidade) values (423, 'Mercedes-Benz', 61);
insert into produtos (id, nome, quantidade) values (424, 'Audi', 93);
insert into produtos (id, nome, quantidade) values (425, 'Suzuki', 56);
insert into produtos (id, nome, quantidade) values (426, 'Subaru', 74);
insert into produtos (id, nome, quantidade) values (427, 'Honda', 62);
insert into produtos (id, nome, quantidade) values (428, 'GMC', 81);
insert into produtos (id, nome, quantidade) values (429, 'Lincoln', 97);
insert into produtos (id, nome, quantidade) values (430, 'Chevrolet', 54);
insert into produtos (id, nome, quantidade) values (431, 'BMW', 64);
insert into produtos (id, nome, quantidade) values (432, 'Ford', 52);
insert into produtos (id, nome, quantidade) values (433, 'Lincoln', 80);
insert into produtos (id, nome, quantidade) values (434, 'Ford', 74);
insert into produtos (id, nome, quantidade) values (435, 'Rolls-Royce', 76);
insert into produtos (id, nome, quantidade) values (436, 'Volvo', 91);
insert into produtos (id, nome, quantidade) values (437, 'Suzuki', 86);
insert into produtos (id, nome, quantidade) values (438, 'Cadillac', 86);
insert into produtos (id, nome, quantidade) values (439, 'Hyundai', 66);
insert into produtos (id, nome, quantidade) values (440, 'Isuzu', 60);
insert into produtos (id, nome, quantidade) values (441, 'Lexus', 56);
insert into produtos (id, nome, quantidade) values (442, 'Buick', 55);
insert into produtos (id, nome, quantidade) values (443, 'Audi', 91);
insert into produtos (id, nome, quantidade) values (444, 'Suzuki', 99);
insert into produtos (id, nome, quantidade) values (445, 'Pontiac', 76);
insert into produtos (id, nome, quantidade) values (446, 'Pontiac', 72);
insert into produtos (id, nome, quantidade) values (447, 'Chevrolet', 76);
insert into produtos (id, nome, quantidade) values (448, 'Nissan', 63);
insert into produtos (id, nome, quantidade) values (449, 'Ford', 79);
insert into produtos (id, nome, quantidade) values (450, 'Lamborghini', 55);
insert into produtos (id, nome, quantidade) values (451, 'Nissan', 52);
insert into produtos (id, nome, quantidade) values (452, 'Mercedes-Benz', 73);
insert into produtos (id, nome, quantidade) values (453, 'Maserati', 69);
insert into produtos (id, nome, quantidade) values (454, 'Ford', 53);
insert into produtos (id, nome, quantidade) values (455, 'Audi', 69);
insert into produtos (id, nome, quantidade) values (456, 'Ford', 98);
insert into produtos (id, nome, quantidade) values (457, 'Buick', 80);
insert into produtos (id, nome, quantidade) values (458, 'Lamborghini', 72);
insert into produtos (id, nome, quantidade) values (459, 'Mercedes-Benz', 76);
insert into produtos (id, nome, quantidade) values (460, 'Mazda', 83);
insert into produtos (id, nome, quantidade) values (461, 'Lexus', 77);
insert into produtos (id, nome, quantidade) values (462, 'Suzuki', 67);
insert into produtos (id, nome, quantidade) values (463, 'Chrysler', 76);
insert into produtos (id, nome, quantidade) values (464, 'Mitsubishi', 71);
insert into produtos (id, nome, quantidade) values (465, 'Chrysler', 61);
insert into produtos (id, nome, quantidade) values (466, 'Mercedes-Benz', 100);
insert into produtos (id, nome, quantidade) values (467, 'Scion', 98);
insert into produtos (id, nome, quantidade) values (468, 'Ford', 54);
insert into produtos (id, nome, quantidade) values (469, 'Acura', 90);
insert into produtos (id, nome, quantidade) values (470, 'Chevrolet', 71);
insert into produtos (id, nome, quantidade) values (471, 'Volkswagen', 90);
insert into produtos (id, nome, quantidade) values (472, 'Ford', 57);
insert into produtos (id, nome, quantidade) values (473, 'Nissan', 77);
insert into produtos (id, nome, quantidade) values (474, 'Chevrolet', 54);
insert into produtos (id, nome, quantidade) values (475, 'Honda', 73);
insert into produtos (id, nome, quantidade) values (476, 'GMC', 76);
insert into produtos (id, nome, quantidade) values (477, 'Chrysler', 58);
insert into produtos (id, nome, quantidade) values (478, 'Hyundai', 61);
insert into produtos (id, nome, quantidade) values (479, 'Dodge', 76);
insert into produtos (id, nome, quantidade) values (480, 'Land Rover', 79);
insert into produtos (id, nome, quantidade) values (481, 'Toyota', 53);
insert into produtos (id, nome, quantidade) values (482, 'Eagle', 93);
insert into produtos (id, nome, quantidade) values (483, 'Dodge', 89);
insert into produtos (id, nome, quantidade) values (484, 'Nissan', 70);
insert into produtos (id, nome, quantidade) values (485, 'Nissan', 54);
insert into produtos (id, nome, quantidade) values (486, 'Lamborghini', 50);
insert into produtos (id, nome, quantidade) values (487, 'GMC', 72);
insert into produtos (id, nome, quantidade) values (488, 'BMW', 85);
insert into produtos (id, nome, quantidade) values (489, 'Mitsubishi', 71);
insert into produtos (id, nome, quantidade) values (490, 'Honda', 78);
insert into produtos (id, nome, quantidade) values (491, 'Audi', 75);
insert into produtos (id, nome, quantidade) values (492, 'Chevrolet', 100);
insert into produtos (id, nome, quantidade) values (493, 'Ferrari', 72);
insert into produtos (id, nome, quantidade) values (494, 'Mercury', 84);
insert into produtos (id, nome, quantidade) values (495, 'Ford', 77);
insert into produtos (id, nome, quantidade) values (496, 'Kia', 70);
insert into produtos (id, nome, quantidade) values (497, 'Maserati', 88);
insert into produtos (id, nome, quantidade) values (498, 'Lincoln', 79);
insert into produtos (id, nome, quantidade) values (499, 'Suzuki', 61);
insert into produtos (id, nome, quantidade) values (500, 'Chevrolet', 89);
insert into produtos (id, nome, quantidade) values (501, 'Ford', 70);
insert into produtos (id, nome, quantidade) values (502, 'Nissan', 88);
insert into produtos (id, nome, quantidade) values (503, 'Aston Martin', 51);
insert into produtos (id, nome, quantidade) values (504, 'MINI', 97);
insert into produtos (id, nome, quantidade) values (505, 'Chrysler', 68);
insert into produtos (id, nome, quantidade) values (506, 'Audi', 54);
insert into produtos (id, nome, quantidade) values (507, 'GMC', 78);
insert into produtos (id, nome, quantidade) values (508, 'Buick', 52);
insert into produtos (id, nome, quantidade) values (509, 'Volkswagen', 80);
insert into produtos (id, nome, quantidade) values (510, 'GMC', 87);
insert into produtos (id, nome, quantidade) values (511, 'Buick', 67);
insert into produtos (id, nome, quantidade) values (512, 'Dodge', 90);
insert into produtos (id, nome, quantidade) values (513, 'Buick', 75);
insert into produtos (id, nome, quantidade) values (514, 'Jaguar', 78);
insert into produtos (id, nome, quantidade) values (515, 'Infiniti', 76);
insert into produtos (id, nome, quantidade) values (516, 'Audi', 53);
insert into produtos (id, nome, quantidade) values (517, 'Plymouth', 71);
insert into produtos (id, nome, quantidade) values (518, 'BMW', 80);
insert into produtos (id, nome, quantidade) values (519, 'Toyota', 99);
insert into produtos (id, nome, quantidade) values (520, 'Chevrolet', 65);
insert into produtos (id, nome, quantidade) values (521, 'Ford', 53);
insert into produtos (id, nome, quantidade) values (522, 'Chevrolet', 71);
insert into produtos (id, nome, quantidade) values (523, 'Kia', 100);
insert into produtos (id, nome, quantidade) values (524, 'Chevrolet', 72);
insert into produtos (id, nome, quantidade) values (525, 'Lincoln', 95);
insert into produtos (id, nome, quantidade) values (526, 'Infiniti', 55);
insert into produtos (id, nome, quantidade) values (527, 'Ford', 71);
insert into produtos (id, nome, quantidade) values (528, 'Saturn', 95);
insert into produtos (id, nome, quantidade) values (529, 'Cadillac', 73);
insert into produtos (id, nome, quantidade) values (530, 'Toyota', 88);
insert into produtos (id, nome, quantidade) values (531, 'Subaru', 91);
insert into produtos (id, nome, quantidade) values (532, 'Mazda', 79);
insert into produtos (id, nome, quantidade) values (533, 'Jaguar', 95);
insert into produtos (id, nome, quantidade) values (534, 'Ford', 87);
insert into produtos (id, nome, quantidade) values (535, 'Buick', 51);
insert into produtos (id, nome, quantidade) values (536, 'BMW', 62);
insert into produtos (id, nome, quantidade) values (537, 'GMC', 84);
insert into produtos (id, nome, quantidade) values (538, 'Kia', 98);
insert into produtos (id, nome, quantidade) values (539, 'Ford', 76);
insert into produtos (id, nome, quantidade) values (540, 'Ford', 51);
insert into produtos (id, nome, quantidade) values (541, 'Mitsubishi', 72);
insert into produtos (id, nome, quantidade) values (542, 'Toyota', 89);
insert into produtos (id, nome, quantidade) values (543, 'Lexus', 89);
insert into produtos (id, nome, quantidade) values (544, 'Buick', 100);
insert into produtos (id, nome, quantidade) values (545, 'Volvo', 70);
insert into produtos (id, nome, quantidade) values (546, 'Mitsubishi', 70);
insert into produtos (id, nome, quantidade) values (547, 'Kia', 70);
insert into produtos (id, nome, quantidade) values (548, 'Jeep', 85);
insert into produtos (id, nome, quantidade) values (549, 'Ford', 58);
insert into produtos (id, nome, quantidade) values (550, 'Suzuki', 67);
insert into produtos (id, nome, quantidade) values (551, 'Isuzu', 81);
insert into produtos (id, nome, quantidade) values (552, 'Dodge', 65);
insert into produtos (id, nome, quantidade) values (553, 'Mercedes-Benz', 61);
insert into produtos (id, nome, quantidade) values (554, 'Mazda', 81);
insert into produtos (id, nome, quantidade) values (555, 'BMW', 94);
insert into produtos (id, nome, quantidade) values (556, 'Kia', 99);
insert into produtos (id, nome, quantidade) values (557, 'BMW', 85);
insert into produtos (id, nome, quantidade) values (558, 'Porsche', 64);
insert into produtos (id, nome, quantidade) values (559, 'Ford', 70);
insert into produtos (id, nome, quantidade) values (560, 'Dodge', 75);
insert into produtos (id, nome, quantidade) values (561, 'Aston Martin', 60);
insert into produtos (id, nome, quantidade) values (562, 'Dodge', 99);
insert into produtos (id, nome, quantidade) values (563, 'Ford', 63);
insert into produtos (id, nome, quantidade) values (564, 'Volvo', 89);
insert into produtos (id, nome, quantidade) values (565, 'Pontiac', 64);
insert into produtos (id, nome, quantidade) values (566, 'Jeep', 52);
insert into produtos (id, nome, quantidade) values (567, 'Nissan', 81);
insert into produtos (id, nome, quantidade) values (568, 'Land Rover', 90);
insert into produtos (id, nome, quantidade) values (569, 'Ford', 73);
insert into produtos (id, nome, quantidade) values (570, 'Maserati', 61);
insert into produtos (id, nome, quantidade) values (571, 'Jeep', 58);
insert into produtos (id, nome, quantidade) values (572, 'Mazda', 98);
insert into produtos (id, nome, quantidade) values (573, 'Mercury', 62);
insert into produtos (id, nome, quantidade) values (574, 'Ford', 66);
insert into produtos (id, nome, quantidade) values (575, 'Chevrolet', 93);
insert into produtos (id, nome, quantidade) values (576, 'Chevrolet', 52);
insert into produtos (id, nome, quantidade) values (577, 'GMC', 91);
insert into produtos (id, nome, quantidade) values (578, 'Mercedes-Benz', 81);
insert into produtos (id, nome, quantidade) values (579, 'Audi', 75);
insert into produtos (id, nome, quantidade) values (580, 'Chrysler', 55);
insert into produtos (id, nome, quantidade) values (581, 'Chevrolet', 96);
insert into produtos (id, nome, quantidade) values (582, 'Chevrolet', 92);
insert into produtos (id, nome, quantidade) values (583, 'Buick', 71);
insert into produtos (id, nome, quantidade) values (584, 'MINI', 66);
insert into produtos (id, nome, quantidade) values (585, 'Audi', 58);
insert into produtos (id, nome, quantidade) values (586, 'Pontiac', 60);
insert into produtos (id, nome, quantidade) values (587, 'Mercedes-Benz', 90);
insert into produtos (id, nome, quantidade) values (588, 'Chrysler', 55);
insert into produtos (id, nome, quantidade) values (589, 'Mazda', 82);
insert into produtos (id, nome, quantidade) values (590, 'Chevrolet', 82);
insert into produtos (id, nome, quantidade) values (591, 'Dodge', 79);
insert into produtos (id, nome, quantidade) values (592, 'Maybach', 63);
insert into produtos (id, nome, quantidade) values (593, 'Dodge', 100);
insert into produtos (id, nome, quantidade) values (594, 'Ford', 60);
insert into produtos (id, nome, quantidade) values (595, 'Pontiac', 79);
insert into produtos (id, nome, quantidade) values (596, 'Pontiac', 59);
insert into produtos (id, nome, quantidade) values (597, 'Chevrolet', 63);
insert into produtos (id, nome, quantidade) values (598, 'Ford', 73);
insert into produtos (id, nome, quantidade) values (599, 'Dodge', 88);
insert into produtos (id, nome, quantidade) values (600, 'Hummer', 92);
insert into produtos (id, nome, quantidade) values (601, 'GMC', 94);
insert into produtos (id, nome, quantidade) values (602, 'Bentley', 100);
insert into produtos (id, nome, quantidade) values (603, 'Lincoln', 86);
insert into produtos (id, nome, quantidade) values (604, 'Land Rover', 91);
insert into produtos (id, nome, quantidade) values (605, 'Lexus', 61);
insert into produtos (id, nome, quantidade) values (606, 'Pontiac', 76);
insert into produtos (id, nome, quantidade) values (607, 'Kia', 54);
insert into produtos (id, nome, quantidade) values (608, 'Maybach', 63);
insert into produtos (id, nome, quantidade) values (609, 'Mercedes-Benz', 62);
insert into produtos (id, nome, quantidade) values (610, 'Audi', 70);
insert into produtos (id, nome, quantidade) values (611, 'Mercedes-Benz', 84);
insert into produtos (id, nome, quantidade) values (612, 'Oldsmobile', 68);
insert into produtos (id, nome, quantidade) values (613, 'Acura', 75);
insert into produtos (id, nome, quantidade) values (614, 'Honda', 93);
insert into produtos (id, nome, quantidade) values (615, 'Hummer', 82);
insert into produtos (id, nome, quantidade) values (616, 'Buick', 58);
insert into produtos (id, nome, quantidade) values (617, 'Pontiac', 57);
insert into produtos (id, nome, quantidade) values (618, 'MG', 78);
insert into produtos (id, nome, quantidade) values (619, 'Citroën', 68);
insert into produtos (id, nome, quantidade) values (620, 'Ford', 94);
insert into produtos (id, nome, quantidade) values (621, 'Dodge', 63);
insert into produtos (id, nome, quantidade) values (622, 'Maserati', 87);
insert into produtos (id, nome, quantidade) values (623, 'Buick', 64);
insert into produtos (id, nome, quantidade) values (624, 'Honda', 54);
insert into produtos (id, nome, quantidade) values (625, 'Ford', 53);
insert into produtos (id, nome, quantidade) values (626, 'Bentley', 85);
insert into produtos (id, nome, quantidade) values (627, 'Lexus', 82);
insert into produtos (id, nome, quantidade) values (628, 'Cadillac', 88);
insert into produtos (id, nome, quantidade) values (629, 'Mazda', 63);
insert into produtos (id, nome, quantidade) values (630, 'Toyota', 54);
insert into produtos (id, nome, quantidade) values (631, 'Land Rover', 85);
insert into produtos (id, nome, quantidade) values (632, 'Chrysler', 65);
insert into produtos (id, nome, quantidade) values (633, 'Pontiac', 77);
insert into produtos (id, nome, quantidade) values (634, 'Ford', 78);
insert into produtos (id, nome, quantidade) values (635, 'Dodge', 68);
insert into produtos (id, nome, quantidade) values (636, 'Subaru', 51);
insert into produtos (id, nome, quantidade) values (637, 'Dodge', 84);
insert into produtos (id, nome, quantidade) values (638, 'Ford', 71);
insert into produtos (id, nome, quantidade) values (639, 'Buick', 71);
insert into produtos (id, nome, quantidade) values (640, 'GMC', 83);
insert into produtos (id, nome, quantidade) values (641, 'Chevrolet', 81);
insert into produtos (id, nome, quantidade) values (642, 'BMW', 97);
insert into produtos (id, nome, quantidade) values (643, 'Porsche', 98);
insert into produtos (id, nome, quantidade) values (644, 'Audi', 81);
insert into produtos (id, nome, quantidade) values (645, 'GMC', 68);
insert into produtos (id, nome, quantidade) values (646, 'Toyota', 58);
insert into produtos (id, nome, quantidade) values (647, 'Volvo', 57);
insert into produtos (id, nome, quantidade) values (648, 'Dodge', 95);
insert into produtos (id, nome, quantidade) values (649, 'Chevrolet', 99);
insert into produtos (id, nome, quantidade) values (650, 'BMW', 51);
insert into produtos (id, nome, quantidade) values (651, 'Suzuki', 100);
insert into produtos (id, nome, quantidade) values (652, 'Chevrolet', 98);
insert into produtos (id, nome, quantidade) values (653, 'Pontiac', 96);
insert into produtos (id, nome, quantidade) values (654, 'Audi', 74);
insert into produtos (id, nome, quantidade) values (655, 'Jaguar', 80);
insert into produtos (id, nome, quantidade) values (656, 'Chrysler', 74);
insert into produtos (id, nome, quantidade) values (657, 'Chevrolet', 94);
insert into produtos (id, nome, quantidade) values (658, 'Ford', 77);
insert into produtos (id, nome, quantidade) values (659, 'Chevrolet', 67);
insert into produtos (id, nome, quantidade) values (660, 'Lincoln', 89);
insert into produtos (id, nome, quantidade) values (661, 'Plymouth', 68);
insert into produtos (id, nome, quantidade) values (662, 'Toyota', 51);
insert into produtos (id, nome, quantidade) values (663, 'Mitsubishi', 63);
insert into produtos (id, nome, quantidade) values (664, 'Chevrolet', 52);
insert into produtos (id, nome, quantidade) values (665, 'Honda', 90);
insert into produtos (id, nome, quantidade) values (666, 'GMC', 86);
insert into produtos (id, nome, quantidade) values (667, 'Chevrolet', 83);
insert into produtos (id, nome, quantidade) values (668, 'Saab', 82);
insert into produtos (id, nome, quantidade) values (669, 'Dodge', 68);
insert into produtos (id, nome, quantidade) values (670, 'Mercedes-Benz', 76);
insert into produtos (id, nome, quantidade) values (671, 'Chevrolet', 96);
insert into produtos (id, nome, quantidade) values (672, 'Honda', 58);
insert into produtos (id, nome, quantidade) values (673, 'Chevrolet', 60);
insert into produtos (id, nome, quantidade) values (674, 'Chevrolet', 58);
insert into produtos (id, nome, quantidade) values (675, 'Infiniti', 95);
insert into produtos (id, nome, quantidade) values (676, 'Mercury', 55);
insert into produtos (id, nome, quantidade) values (677, 'Chevrolet', 88);
insert into produtos (id, nome, quantidade) values (678, 'Oldsmobile', 100);
insert into produtos (id, nome, quantidade) values (679, 'Ford', 75);
insert into produtos (id, nome, quantidade) values (680, 'Mercedes-Benz', 96);
insert into produtos (id, nome, quantidade) values (681, 'Chrysler', 91);
insert into produtos (id, nome, quantidade) values (682, 'Chevrolet', 77);
insert into produtos (id, nome, quantidade) values (683, 'Audi', 65);
insert into produtos (id, nome, quantidade) values (684, 'Ford', 72);
insert into produtos (id, nome, quantidade) values (685, 'Lexus', 75);
insert into produtos (id, nome, quantidade) values (686, 'Isuzu', 89);
insert into produtos (id, nome, quantidade) values (687, 'Jaguar', 68);
insert into produtos (id, nome, quantidade) values (688, 'Mazda', 51);
insert into produtos (id, nome, quantidade) values (689, 'GMC', 79);
insert into produtos (id, nome, quantidade) values (690, 'BMW', 53);
insert into produtos (id, nome, quantidade) values (691, 'Dodge', 85);
insert into produtos (id, nome, quantidade) values (692, 'GMC', 65);
insert into produtos (id, nome, quantidade) values (693, 'Suzuki', 94);
insert into produtos (id, nome, quantidade) values (694, 'Saab', 61);
insert into produtos (id, nome, quantidade) values (695, 'GMC', 68);
insert into produtos (id, nome, quantidade) values (696, 'Acura', 69);
insert into produtos (id, nome, quantidade) values (697, 'Ford', 93);
insert into produtos (id, nome, quantidade) values (698, 'Mercury', 77);
insert into produtos (id, nome, quantidade) values (699, 'Dodge', 62);
insert into produtos (id, nome, quantidade) values (700, 'Mazda', 76);
insert into produtos (id, nome, quantidade) values (701, 'GMC', 69);
insert into produtos (id, nome, quantidade) values (702, 'Ford', 73);
insert into produtos (id, nome, quantidade) values (703, 'Kia', 67);
insert into produtos (id, nome, quantidade) values (704, 'Chrysler', 56);
insert into produtos (id, nome, quantidade) values (705, 'Kia', 90);
insert into produtos (id, nome, quantidade) values (706, 'Ford', 88);
insert into produtos (id, nome, quantidade) values (707, 'Chevrolet', 93);
insert into produtos (id, nome, quantidade) values (708, 'Dodge', 83);
insert into produtos (id, nome, quantidade) values (709, 'Chevrolet', 88);
insert into produtos (id, nome, quantidade) values (710, 'Kia', 78);
insert into produtos (id, nome, quantidade) values (711, 'Isuzu', 65);
insert into produtos (id, nome, quantidade) values (712, 'Ford', 73);
insert into produtos (id, nome, quantidade) values (713, 'Dodge', 51);
insert into produtos (id, nome, quantidade) values (714, 'Audi', 60);
insert into produtos (id, nome, quantidade) values (715, 'Dodge', 87);
insert into produtos (id, nome, quantidade) values (716, 'Toyota', 97);
insert into produtos (id, nome, quantidade) values (717, 'Cadillac', 79);
insert into produtos (id, nome, quantidade) values (718, 'Nissan', 56);
insert into produtos (id, nome, quantidade) values (719, 'Ford', 67);
insert into produtos (id, nome, quantidade) values (720, 'Hyundai', 84);
insert into produtos (id, nome, quantidade) values (721, 'Kia', 63);
insert into produtos (id, nome, quantidade) values (722, 'Chevrolet', 64);
insert into produtos (id, nome, quantidade) values (723, 'Ford', 95);
insert into produtos (id, nome, quantidade) values (724, 'Dodge', 81);
insert into produtos (id, nome, quantidade) values (725, 'Chevrolet', 63);
insert into produtos (id, nome, quantidade) values (726, 'Jaguar', 57);
insert into produtos (id, nome, quantidade) values (727, 'Cadillac', 81);
insert into produtos (id, nome, quantidade) values (728, 'Suzuki', 50);
insert into produtos (id, nome, quantidade) values (729, 'Toyota', 99);
insert into produtos (id, nome, quantidade) values (730, 'Mazda', 55);
insert into produtos (id, nome, quantidade) values (731, 'Dodge', 56);
insert into produtos (id, nome, quantidade) values (732, 'Porsche', 64);
insert into produtos (id, nome, quantidade) values (733, 'Ford', 60);
insert into produtos (id, nome, quantidade) values (734, 'Mercury', 66);
insert into produtos (id, nome, quantidade) values (735, 'Chevrolet', 57);
insert into produtos (id, nome, quantidade) values (736, 'Chevrolet', 82);
insert into produtos (id, nome, quantidade) values (737, 'Lexus', 98);
insert into produtos (id, nome, quantidade) values (738, 'Volkswagen', 84);
insert into produtos (id, nome, quantidade) values (739, 'Ford', 83);
insert into produtos (id, nome, quantidade) values (740, 'BMW', 54);
insert into produtos (id, nome, quantidade) values (741, 'Chrysler', 53);
insert into produtos (id, nome, quantidade) values (742, 'Ford', 64);
insert into produtos (id, nome, quantidade) values (743, 'BMW', 94);
insert into produtos (id, nome, quantidade) values (744, 'BMW', 81);
insert into produtos (id, nome, quantidade) values (745, 'Lincoln', 59);
insert into produtos (id, nome, quantidade) values (746, 'Mercedes-Benz', 78);
insert into produtos (id, nome, quantidade) values (747, 'Ford', 86);
insert into produtos (id, nome, quantidade) values (748, 'Dodge', 62);
insert into produtos (id, nome, quantidade) values (749, 'BMW', 68);
insert into produtos (id, nome, quantidade) values (750, 'Mitsubishi', 53);
insert into produtos (id, nome, quantidade) values (751, 'Saab', 55);
insert into produtos (id, nome, quantidade) values (752, 'Ford', 58);
insert into produtos (id, nome, quantidade) values (753, 'Ford', 81);
insert into produtos (id, nome, quantidade) values (754, 'Mitsubishi', 77);
insert into produtos (id, nome, quantidade) values (755, 'Audi', 66);
insert into produtos (id, nome, quantidade) values (756, 'Ford', 52);
insert into produtos (id, nome, quantidade) values (757, 'Ford', 94);
insert into produtos (id, nome, quantidade) values (758, 'GMC', 79);
insert into produtos (id, nome, quantidade) values (759, 'Dodge', 53);
insert into produtos (id, nome, quantidade) values (760, 'Acura', 70);
insert into produtos (id, nome, quantidade) values (761, 'Saab', 94);
insert into produtos (id, nome, quantidade) values (762, 'Hyundai', 99);
insert into produtos (id, nome, quantidade) values (763, 'Saab', 100);
insert into produtos (id, nome, quantidade) values (764, 'Infiniti', 93);
insert into produtos (id, nome, quantidade) values (765, 'Buick', 91);
insert into produtos (id, nome, quantidade) values (766, 'Audi', 97);
insert into produtos (id, nome, quantidade) values (767, 'Volvo', 66);
insert into produtos (id, nome, quantidade) values (768, 'Pontiac', 70);
insert into produtos (id, nome, quantidade) values (769, 'Chevrolet', 50);
insert into produtos (id, nome, quantidade) values (770, 'Ford', 92);
insert into produtos (id, nome, quantidade) values (771, 'Ford', 78);
insert into produtos (id, nome, quantidade) values (772, 'Isuzu', 65);
insert into produtos (id, nome, quantidade) values (773, 'Nissan', 88);
insert into produtos (id, nome, quantidade) values (774, 'Volvo', 61);
insert into produtos (id, nome, quantidade) values (775, 'Mitsubishi', 59);
insert into produtos (id, nome, quantidade) values (776, 'Hyundai', 58);
insert into produtos (id, nome, quantidade) values (777, 'Chevrolet', 91);
insert into produtos (id, nome, quantidade) values (778, 'Scion', 100);
insert into produtos (id, nome, quantidade) values (779, 'Dodge', 73);
insert into produtos (id, nome, quantidade) values (780, 'Chevrolet', 79);
insert into produtos (id, nome, quantidade) values (781, 'BMW', 75);
insert into produtos (id, nome, quantidade) values (782, 'Mercury', 57);
insert into produtos (id, nome, quantidade) values (783, 'Chevrolet', 60);
insert into produtos (id, nome, quantidade) values (784, 'Dodge', 99);
insert into produtos (id, nome, quantidade) values (785, 'Subaru', 54);
insert into produtos (id, nome, quantidade) values (786, 'BMW', 75);
insert into produtos (id, nome, quantidade) values (787, 'Cadillac', 81);
insert into produtos (id, nome, quantidade) values (788, 'Pontiac', 57);
insert into produtos (id, nome, quantidade) values (789, 'Ford', 63);
insert into produtos (id, nome, quantidade) values (790, 'BMW', 85);
insert into produtos (id, nome, quantidade) values (791, 'Pontiac', 83);
insert into produtos (id, nome, quantidade) values (792, 'Bentley', 63);
insert into produtos (id, nome, quantidade) values (793, 'Pontiac', 66);
insert into produtos (id, nome, quantidade) values (794, 'Hyundai', 59);
insert into produtos (id, nome, quantidade) values (795, 'BMW', 93);
insert into produtos (id, nome, quantidade) values (796, 'Lexus', 96);
insert into produtos (id, nome, quantidade) values (797, 'Chevrolet', 62);
insert into produtos (id, nome, quantidade) values (798, 'GMC', 95);
insert into produtos (id, nome, quantidade) values (799, 'Mercury', 57);
insert into produtos (id, nome, quantidade) values (800, 'Bentley', 81);
insert into produtos (id, nome, quantidade) values (801, 'Lotus', 67);
insert into produtos (id, nome, quantidade) values (802, 'Morgan', 87);
insert into produtos (id, nome, quantidade) values (803, 'Ford', 52);
insert into produtos (id, nome, quantidade) values (804, 'Mercedes-Benz', 55);
insert into produtos (id, nome, quantidade) values (805, 'Scion', 97);
insert into produtos (id, nome, quantidade) values (806, 'GMC', 91);
insert into produtos (id, nome, quantidade) values (807, 'Nissan', 100);
insert into produtos (id, nome, quantidade) values (808, 'Honda', 99);
insert into produtos (id, nome, quantidade) values (809, 'Volkswagen', 99);
insert into produtos (id, nome, quantidade) values (810, 'Ford', 85);
insert into produtos (id, nome, quantidade) values (811, 'Lincoln', 99);
insert into produtos (id, nome, quantidade) values (812, 'Chevrolet', 76);
insert into produtos (id, nome, quantidade) values (813, 'Land Rover', 81);
insert into produtos (id, nome, quantidade) values (814, 'Cadillac', 91);
insert into produtos (id, nome, quantidade) values (815, 'GMC', 66);
insert into produtos (id, nome, quantidade) values (816, 'Nissan', 88);
insert into produtos (id, nome, quantidade) values (817, 'Honda', 92);
insert into produtos (id, nome, quantidade) values (818, 'Subaru', 75);
insert into produtos (id, nome, quantidade) values (819, 'Mitsubishi', 65);
insert into produtos (id, nome, quantidade) values (820, 'Volkswagen', 76);
insert into produtos (id, nome, quantidade) values (821, 'Mercury', 92);
insert into produtos (id, nome, quantidade) values (822, 'Plymouth', 51);
insert into produtos (id, nome, quantidade) values (823, 'Toyota', 57);
insert into produtos (id, nome, quantidade) values (824, 'Chevrolet', 55);
insert into produtos (id, nome, quantidade) values (825, 'BMW', 52);
insert into produtos (id, nome, quantidade) values (826, 'Hyundai', 61);
insert into produtos (id, nome, quantidade) values (827, 'Chevrolet', 68);
insert into produtos (id, nome, quantidade) values (828, 'Audi', 92);
insert into produtos (id, nome, quantidade) values (829, 'Toyota', 50);
insert into produtos (id, nome, quantidade) values (830, 'Mazda', 94);
insert into produtos (id, nome, quantidade) values (831, 'Mazda', 70);
insert into produtos (id, nome, quantidade) values (832, 'Jaguar', 90);
insert into produtos (id, nome, quantidade) values (833, 'Audi', 51);
insert into produtos (id, nome, quantidade) values (834, 'Pontiac', 63);
insert into produtos (id, nome, quantidade) values (835, 'Saab', 84);
insert into produtos (id, nome, quantidade) values (836, 'Mercedes-Benz', 99);
insert into produtos (id, nome, quantidade) values (837, 'Mitsubishi', 70);
insert into produtos (id, nome, quantidade) values (838, 'Plymouth', 74);
insert into produtos (id, nome, quantidade) values (839, 'Acura', 75);
insert into produtos (id, nome, quantidade) values (840, 'Pontiac', 78);
insert into produtos (id, nome, quantidade) values (841, 'Volkswagen', 68);
insert into produtos (id, nome, quantidade) values (842, 'Land Rover', 97);
insert into produtos (id, nome, quantidade) values (843, 'Infiniti', 92);
insert into produtos (id, nome, quantidade) values (844, 'Mitsubishi', 67);
insert into produtos (id, nome, quantidade) values (845, 'Acura', 85);
insert into produtos (id, nome, quantidade) values (846, 'Nissan', 92);
insert into produtos (id, nome, quantidade) values (847, 'Buick', 67);
insert into produtos (id, nome, quantidade) values (848, 'Mercedes-Benz', 84);
insert into produtos (id, nome, quantidade) values (849, 'Daewoo', 91);
insert into produtos (id, nome, quantidade) values (850, 'Pontiac', 94);
insert into produtos (id, nome, quantidade) values (851, 'Aston Martin', 53);
insert into produtos (id, nome, quantidade) values (852, 'Mercury', 86);
insert into produtos (id, nome, quantidade) values (853, 'Honda', 91);
insert into produtos (id, nome, quantidade) values (854, 'Land Rover', 66);
insert into produtos (id, nome, quantidade) values (855, 'Cadillac', 91);
insert into produtos (id, nome, quantidade) values (856, 'Smart', 97);
insert into produtos (id, nome, quantidade) values (857, 'Lexus', 70);
insert into produtos (id, nome, quantidade) values (858, 'Toyota', 96);
insert into produtos (id, nome, quantidade) values (859, 'Pontiac', 65);
insert into produtos (id, nome, quantidade) values (860, 'Volkswagen', 58);
insert into produtos (id, nome, quantidade) values (861, 'Volvo', 58);
insert into produtos (id, nome, quantidade) values (862, 'Chevrolet', 90);
insert into produtos (id, nome, quantidade) values (863, 'Subaru', 57);
insert into produtos (id, nome, quantidade) values (864, 'Kia', 78);
insert into produtos (id, nome, quantidade) values (865, 'Lincoln', 74);
insert into produtos (id, nome, quantidade) values (866, 'Toyota', 54);
insert into produtos (id, nome, quantidade) values (867, 'Isuzu', 76);
insert into produtos (id, nome, quantidade) values (868, 'Hyundai', 91);
insert into produtos (id, nome, quantidade) values (869, 'Mercedes-Benz', 80);
insert into produtos (id, nome, quantidade) values (870, 'Ford', 99);
insert into produtos (id, nome, quantidade) values (871, 'Pontiac', 83);
insert into produtos (id, nome, quantidade) values (872, 'Chevrolet', 88);
insert into produtos (id, nome, quantidade) values (873, 'Ford', 96);
insert into produtos (id, nome, quantidade) values (874, 'Mazda', 52);
insert into produtos (id, nome, quantidade) values (875, 'Subaru', 83);
insert into produtos (id, nome, quantidade) values (876, 'Nissan', 93);
insert into produtos (id, nome, quantidade) values (877, 'Volkswagen', 57);
insert into produtos (id, nome, quantidade) values (878, 'Toyota', 80);
insert into produtos (id, nome, quantidade) values (879, 'Mercedes-Benz', 91);
insert into produtos (id, nome, quantidade) values (880, 'Geo', 88);
insert into produtos (id, nome, quantidade) values (881, 'Land Rover', 66);
insert into produtos (id, nome, quantidade) values (882, 'Toyota', 72);
insert into produtos (id, nome, quantidade) values (883, 'Volvo', 67);
insert into produtos (id, nome, quantidade) values (884, 'Isuzu', 80);
insert into produtos (id, nome, quantidade) values (885, 'Dodge', 57);
insert into produtos (id, nome, quantidade) values (886, 'BMW', 93);
insert into produtos (id, nome, quantidade) values (887, 'Mitsubishi', 80);
insert into produtos (id, nome, quantidade) values (888, 'Chevrolet', 66);
insert into produtos (id, nome, quantidade) values (889, 'Dodge', 90);
insert into produtos (id, nome, quantidade) values (890, 'Acura', 90);
insert into produtos (id, nome, quantidade) values (891, 'Lotus', 81);
insert into produtos (id, nome, quantidade) values (892, 'Honda', 65);
insert into produtos (id, nome, quantidade) values (893, 'Mazda', 70);
insert into produtos (id, nome, quantidade) values (894, 'Ford', 68);
insert into produtos (id, nome, quantidade) values (895, 'Audi', 59);
insert into produtos (id, nome, quantidade) values (896, 'Ford', 86);
insert into produtos (id, nome, quantidade) values (897, 'Scion', 53);
insert into produtos (id, nome, quantidade) values (898, 'Dodge', 70);
insert into produtos (id, nome, quantidade) values (899, 'Subaru', 70);
insert into produtos (id, nome, quantidade) values (900, 'Chevrolet', 74);
insert into produtos (id, nome, quantidade) values (901, 'Mazda', 73);
insert into produtos (id, nome, quantidade) values (902, 'Toyota', 93);
insert into produtos (id, nome, quantidade) values (903, 'Toyota', 79);
insert into produtos (id, nome, quantidade) values (904, 'Toyota', 79);
insert into produtos (id, nome, quantidade) values (905, 'Mitsubishi', 54);
insert into produtos (id, nome, quantidade) values (906, 'Lexus', 86);
insert into produtos (id, nome, quantidade) values (907, 'Pontiac', 64);
insert into produtos (id, nome, quantidade) values (908, 'Mazda', 80);
insert into produtos (id, nome, quantidade) values (909, 'GMC', 63);
insert into produtos (id, nome, quantidade) values (910, 'Cadillac', 70);
insert into produtos (id, nome, quantidade) values (911, 'Jeep', 99);
insert into produtos (id, nome, quantidade) values (912, 'Mitsubishi', 82);
insert into produtos (id, nome, quantidade) values (913, 'Isuzu', 87);
insert into produtos (id, nome, quantidade) values (914, 'Honda', 85);
insert into produtos (id, nome, quantidade) values (915, 'Buick', 81);
insert into produtos (id, nome, quantidade) values (916, 'Cadillac', 95);
insert into produtos (id, nome, quantidade) values (917, 'Volkswagen', 53);
insert into produtos (id, nome, quantidade) values (918, 'Oldsmobile', 76);
insert into produtos (id, nome, quantidade) values (919, 'Jeep', 93);
insert into produtos (id, nome, quantidade) values (920, 'Pontiac', 93);
insert into produtos (id, nome, quantidade) values (921, 'Volvo', 54);
insert into produtos (id, nome, quantidade) values (922, 'BMW', 51);
insert into produtos (id, nome, quantidade) values (923, 'Toyota', 90);
insert into produtos (id, nome, quantidade) values (924, 'Chevrolet', 66);
insert into produtos (id, nome, quantidade) values (925, 'BMW', 63);
insert into produtos (id, nome, quantidade) values (926, 'Infiniti', 54);
insert into produtos (id, nome, quantidade) values (927, 'GMC', 65);
insert into produtos (id, nome, quantidade) values (928, 'Volvo', 71);
insert into produtos (id, nome, quantidade) values (929, 'BMW', 87);
insert into produtos (id, nome, quantidade) values (930, 'BMW', 70);
insert into produtos (id, nome, quantidade) values (931, 'Ford', 52);
insert into produtos (id, nome, quantidade) values (932, 'Land Rover', 50);
insert into produtos (id, nome, quantidade) values (933, 'Mercedes-Benz', 94);
insert into produtos (id, nome, quantidade) values (934, 'Chevrolet', 91);
insert into produtos (id, nome, quantidade) values (935, 'Honda', 84);
insert into produtos (id, nome, quantidade) values (936, 'Porsche', 57);
insert into produtos (id, nome, quantidade) values (937, 'Ford', 100);
insert into produtos (id, nome, quantidade) values (938, 'Cadillac', 95);
insert into produtos (id, nome, quantidade) values (939, 'Toyota', 72);
insert into produtos (id, nome, quantidade) values (940, 'Dodge', 95);
insert into produtos (id, nome, quantidade) values (941, 'Buick', 68);
insert into produtos (id, nome, quantidade) values (942, 'Mazda', 60);
insert into produtos (id, nome, quantidade) values (943, 'Volkswagen', 71);
insert into produtos (id, nome, quantidade) values (944, 'Mitsubishi', 63);
insert into produtos (id, nome, quantidade) values (945, 'Dodge', 85);
insert into produtos (id, nome, quantidade) values (946, 'Mercedes-Benz', 88);
insert into produtos (id, nome, quantidade) values (947, 'Lexus', 83);
insert into produtos (id, nome, quantidade) values (948, 'Acura', 87);
insert into produtos (id, nome, quantidade) values (949, 'Toyota', 50);
insert into produtos (id, nome, quantidade) values (950, 'Pontiac', 51);
insert into produtos (id, nome, quantidade) values (951, 'Lotus', 95);
insert into produtos (id, nome, quantidade) values (952, 'Volkswagen', 82);
insert into produtos (id, nome, quantidade) values (953, 'GMC', 78);
insert into produtos (id, nome, quantidade) values (954, 'Cadillac', 91);
insert into produtos (id, nome, quantidade) values (955, 'Mitsubishi', 73);
insert into produtos (id, nome, quantidade) values (956, 'Suzuki', 50);
insert into produtos (id, nome, quantidade) values (957, 'Mitsubishi', 69);
insert into produtos (id, nome, quantidade) values (958, 'Bentley', 92);
insert into produtos (id, nome, quantidade) values (959, 'Mercury', 70);
insert into produtos (id, nome, quantidade) values (960, 'Honda', 63);
insert into produtos (id, nome, quantidade) values (961, 'Infiniti', 93);
insert into produtos (id, nome, quantidade) values (962, 'Land Rover', 94);
insert into produtos (id, nome, quantidade) values (963, 'Kia', 87);
insert into produtos (id, nome, quantidade) values (964, 'Ford', 96);
insert into produtos (id, nome, quantidade) values (965, 'Ford', 54);
insert into produtos (id, nome, quantidade) values (966, 'Mazda', 68);
insert into produtos (id, nome, quantidade) values (967, 'Aston Martin', 79);
insert into produtos (id, nome, quantidade) values (968, 'Toyota', 96);
insert into produtos (id, nome, quantidade) values (969, 'GMC', 71);
insert into produtos (id, nome, quantidade) values (970, 'GMC', 51);
insert into produtos (id, nome, quantidade) values (971, 'Hyundai', 65);
insert into produtos (id, nome, quantidade) values (972, 'Infiniti', 98);
insert into produtos (id, nome, quantidade) values (973, 'Mercury', 81);
insert into produtos (id, nome, quantidade) values (974, 'Toyota', 91);
insert into produtos (id, nome, quantidade) values (975, 'Ford', 75);
insert into produtos (id, nome, quantidade) values (976, 'Chrysler', 98);
insert into produtos (id, nome, quantidade) values (977, 'Studebaker', 70);
insert into produtos (id, nome, quantidade) values (978, 'Oldsmobile', 52);
insert into produtos (id, nome, quantidade) values (979, 'Chevrolet', 56);
insert into produtos (id, nome, quantidade) values (980, 'Saturn', 67);
insert into produtos (id, nome, quantidade) values (981, 'Volkswagen', 51);
insert into produtos (id, nome, quantidade) values (982, 'Toyota', 64);
insert into produtos (id, nome, quantidade) values (983, 'Audi', 84);
insert into produtos (id, nome, quantidade) values (984, 'Ford', 61);
insert into produtos (id, nome, quantidade) values (985, 'Maserati', 77);
insert into produtos (id, nome, quantidade) values (986, 'Mercedes-Benz', 70);
insert into produtos (id, nome, quantidade) values (987, 'Mitsubishi', 89);
insert into produtos (id, nome, quantidade) values (988, 'Lincoln', 66);
insert into produtos (id, nome, quantidade) values (989, 'Pontiac', 59);
insert into produtos (id, nome, quantidade) values (990, 'Audi', 100);
insert into produtos (id, nome, quantidade) values (991, 'Jaguar', 95);
insert into produtos (id, nome, quantidade) values (992, 'Isuzu', 82);
insert into produtos (id, nome, quantidade) values (993, 'Mercedes-Benz', 66);
insert into produtos (id, nome, quantidade) values (994, 'Chevrolet', 78);
insert into produtos (id, nome, quantidade) values (995, 'Chrysler', 97);
insert into produtos (id, nome, quantidade) values (996, 'Mazda', 61);
insert into produtos (id, nome, quantidade) values (997, 'Infiniti', 98);
insert into produtos (id, nome, quantidade) values (998, 'Mercedes-Benz', 89);
insert into produtos (id, nome, quantidade) values (999, 'Acura', 83);
insert into produtos (id, nome, quantidade) values (1000, 'Lexus', 50);
|
SELECT floor(avg(population)) from city; |
CREATE
ALGORITHM = UNDEFINED
DEFINER = `root`@`localhost`
SQL SECURITY DEFINER
VIEW `interactions_in_posts_replied` AS
SELECT
`comments_replied_by_reaction`.`po_fbid` AS `po_fbid`,
`comments_replied_by_reaction`.`po_id` AS `po_id`,
`comments_replied_by_reaction`.`post_owner` AS `post_owner`,
`comments_replied_by_reaction`.`friend_fbid` AS `friend_fbid`,
`comments_replied_by_reaction`.`friend_id` AS `friend_id`,
`comments_replied_by_reaction`.`friend` AS `friend`,
`comments_replied_by_reaction`.`total_interactions` AS `total_interactions`
FROM
`comments_replied_by_reaction`
UNION ALL SELECT
`comments_replied_by_comment`.`po_fbid` AS `po_fbid`,
`comments_replied_by_comment`.`po_id` AS `po_id`,
`comments_replied_by_comment`.`post_owner` AS `post_owner`,
`comments_replied_by_comment`.`friend_fbid` AS `friend_fbid`,
`comments_replied_by_comment`.`friend_id` AS `friend_id`,
`comments_replied_by_comment`.`friend` AS `friend`,
`comments_replied_by_comment`.`total_interactions` AS `total_interactions`
FROM
`comments_replied_by_comment` |
DELIMITER //
CREATE PROCEDURE index_salaries(percent DECIMAL(5,2))
BEGIN
DECLARE emp_id INTEGER;
DECLARE emp_sal DECIMAL(10,2);
DECLARE new_sal DECIMAL(10,2);
DECLARE done BOOLEAN DEFAULT FALSE;
DECLARE emps CURSOR FOR
SELECT empno, sal
FROM emp;
DECLARE CONTINUE HANDLER FOR NOT FOUND
SET done := TRUE;
OPEN emps;
emps_loop: LOOP
FETCH emps INTO emp_id, emp_sal;
IF done THEN
LEAVE emps_loop;
END IF;
SET new_sal := emp_sal
+ (emp_sal*percent/100);
UPDATE emp
SET sal = new_sal
WHERE empno = emp_id;
/* Log the increase */
INSERT INTO sal_changes (empno, sal, since)
VALUES (emp_id, new_sal, CURDATE());
END LOOP;
CLOSE emps;
END //
DELIMITER ;
|
-- Todos os funcionários foram promovidos a atores. Monte uma query que exiba
-- a união da tabela staff com a tabela actor , exibindo apenas o nome e o
-- sobrenome . Seu resultado não deve excluir nenhum funcionário ao unir as tabelas.
(SELECT
first_name, last_name
FROM
sakila.staff) UNION ALL (SELECT
first_name, last_name
FROM
sakila.actor);
-- Monte uma query que una os resultados das tabelas customer e actor ,
-- exibindo os nomes que contêm a palavra "tracy" na tabela customer e os que
-- contêm "je" na tabela actor . Exiba apenas os resultados únicos.
SELECT
first_name
FROM
sakila.customer
WHERE
first_name LIKE '%tracy%'
UNION SELECT
first_name
FROM
sakila.actor
WHERE
first_name LIKE '%je%';
-- Monte uma query que exiba a união dos cinco últimos nomes da tabela actor ,
-- o primeiro nome da tabela staff e cinco nomes a partir da 15ª posição da tabela customer .
-- Não permita que dados repetidos sejam exibidos. Ordene os resultados em ordem alfabética.
(SELECT
first_name
FROM
sakila.actor
ORDER BY first_name DESC
LIMIT 5) UNION (SELECT
first_name
FROM
sakila.staff
LIMIT 1) UNION (SELECT
first_name
FROM
sakila.customer
LIMIT 5 OFFSET 15) ORDER BY first_name ASC;
-- Você quer exibir uma lista paginada com os nomes e sobrenomes de todos os clientes
-- e atores do banco de dados, em ordem alfabética. Considere que a paginação está sendo
-- feita de 15 em 15 resultados e que você está na 4ª página. Monte uma query que simule esse
-- cenário.
(SELECT
first_name, last_name
FROM
sakila.customer
LIMIT 60) UNION (SELECT
first_name, last_name
FROM
sakila.actor
LIMIT 60) ORDER BY first_name , last_name LIMIT 15 OFFSET 45;
|
-- CREATE TABLE user_courses (
-- user_id INT NOT NULL,
-- FOREIGN KEY (user_id) REFERENCES users(user_id),
-- course_id INT NOT NULL,
-- FOREIGN KEY (course_id) REFERENCES courses(course_id),
-- is_obligatory BIT,
-- is_started BIT,
-- is_finished BIT,
-- is_enrolled_in BIT
-- );
-- These are the setup inserts for location table
INSERT INTO user_courses (user_id, course_id, is_obligatory, is_started, is_finished, is_enrolled_in)
VALUES (1, 1, true, true),
(1, 2, true),
(1, 3, true),
(1, 5, true),
(1, 8, true, false,false, true),
(1, 10, false, false, true, false);
INSERT INTO user_courses (user_id, course_id, is_obligatory, is_started, is_finished, is_enrolled_in)
VALUES (1, 11, false, true, false, false),
(1, 12, true, true, false, false),
(1, 13, false, false, true, false),
(1, 14, true, false, true, false),
(1, 15, false, false, true, false),
(1, 16, false, false, true, false),
(1, 17, false, false, false, true),
(1, 18, true, false, false, true); |
#
# * Coppermine 1.6.x Plugin - final_extract
# *
# * @copyright Copyright (c) 2009 Donnovan Bray
# * @license GNU General Public License version 3 or later; see LICENSE
# *
# * @author Donnovan Bray (original)
# * @author ron4mac (23 Dec 2018); version for CPG 1.6.x
#
INSERT INTO `CPG_final_extract_config` VALUES ('1', '0','0','0','0','0','0','0','0','0','0','0','0','1');
INSERT INTO `CPG_final_extract_config` VALUES ('2', '0','1','0','0','0','0','0','0','0','0','0','0','1');
INSERT INTO `CPG_final_extract_config` VALUES ('3', '0','0','1','1','1','0','0','0','0','1','0','0','0');
INSERT INTO `CPG_final_extract_config` VALUES ('4', '0','1','1','1','1','1','1','1','1','1','1','1','0'); |
use smartcarth;
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Agulhinha', '1k', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Agulhinha', '5k', '14.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Carreteiro', 'Agulhinha', '1k', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Carreteiro', 'Agulhinha', '5k', '12.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Prato Fino', 'Agulhinha', '5k', '16.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Super Máximo', 'Agulhinha', '1k', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Super Máximo', 'Agulhinha', '5k', '9.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Granfino', 'Agulhinha', '1k', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Granfino', 'Agulhinha', '5k', '11.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Brejeiro', 'Agulhinha', '1k', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Brejeiro', 'Agulhinha', '5k', '12.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Urbano', 'Agulhinha', '1k', '2.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Fantástoco', 'Agulhinha', '5k', '11.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Ouro Nobre', 'Agulhinha', '1k', '2.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Ouro Nobre', 'Agulhinha', '5k', '10.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Urbano Premiun', 'Agulhinha', '5k', '14.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Cedro', 'Agulhinha', '5k', '9.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Rei do Sul', 'Agulhinha', '1k', '2.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Rei do Sul', 'Agulhinha', '5k', '11.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Parbolizado', '1k', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Parbolizado', '5k', '14.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Carreteiro', 'Parbolizado', '1k', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Carreteiro', 'Parbolizado', '5k', '12.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Prato Fino', 'Parbolizado', '5k', '16.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Super Máximo', 'Parbolizado', '1k', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Super Máximo', 'Parbolizado', '5k', '9.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Granfino', 'Parbolizado', '1k', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Granfino', 'Parbolizado', '5k', '11.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Brejeiro', 'Parbolizado', '1k', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Brejeiro', 'Parbolizado', '5k', '12.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Urbano', 'Parbolizado', '1k', '2.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Fantástoco', 'Parbolizado', '5k', '11.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Ouro Nobre', 'Parbolizado', '1k', '2.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Ouro Nobre', 'Parbolizado', '5k', '10.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Urbano Premiun', 'Parbolizado', '5k', '14.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Cedro', 'Parbolizado', '5k', '9.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Rei do Sul', 'Parbolizado', '1k', '2.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Rei do Sul', 'Parbolizado', '5k', '11.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'Guarani', '', '1k', '2.36', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', '', '1k', '2.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', '', '250g em cubos', '7.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', 'premiun', '1k', '5.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'magro', 'Light', '500g', '5.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'união', 'Confeiteiro', '1k', '5.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', 'Cristal Organico', '1k', '3.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', 'Glaçucar', '500g', '2.26', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', 'Demerara', '1k', '4.46', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'energy', 'Demerara', '1k', '3.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', 'Diet Sulcralose', '40g sachet', '6.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Açucar', 'União', 'Orgânico', '200g sachet', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sal', 'Cisne', 'Iodado', '1k', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sal', 'Lebre', 'Iodado', '1k', '1.46', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sal', 'Cisne', 'Grosso', '1k', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sal', 'Lebre', 'Grosso', '1k', '1.46', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'sal', 'Cisne', 'Iodado', '500g', '4.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Combrasil', 'Preto', '1k', '3.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Carreteiro', 'Preto', '1k', '3.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Super Máximo', 'Preto', '1k', '3.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Granfino', 'Carioquinha', '1k', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Combrasil', 'Carioquinha', '1k', '5.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Super Máximo', 'Carioquinha', '1k', '4.36', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Copa', 'Preto', '1k', '2.96', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'chinesinho', 'Carioquinha', '1k', '4.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Vapza', 'Preto', '500g', '9.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Vapza', 'Carioca', '500g', '6.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Mandioca', 'Vapza', '', '500g', '6.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'grão de bico', 'Vapza', '', '500g', '8.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Carne Seca', 'Vapza', '', '400g', '38.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijoada', 'Vapza', '', '400g', '18.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Carnarole', '', '500g', '18.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Swfit', 'Carioca', '400g', '8.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Cozinha italiana', '1k', '12.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Preto', '500g', '16.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Cozinha Francesa', '500g', '12.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Cozinha indiana', '500g', '11.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Rizoto', 'Tio João', 'Parmegiana', '185g', '5.86', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Milanes', '185g', '5.86', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Carreteiro', '185g', '5.08', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'A Grega', '250g', '4.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Com Brócolis', '250g', '4.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Tomate e manjericão', '250g', '4.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Cury', '250g', '4.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Prato Fino', 'Integral', '1k', '3.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Urbano', 'Integral', '1k Sachet', '3.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Urbano', 'Vitaminado', '1k', '2.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Urbano', 'Arboreo', '500g', '2.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Granfino', 'Integral', '1k', '3.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Tio João', 'Integral', '1k Sachet', '5.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Uncle Bens', 'Integral', '1k sachet', '6.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Uncle Bens', 'Integral', '1k', '7.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Raris', 'Integral', '500g', '8.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Arroz', 'Raris', 'Integral', '500g', '8.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Quinoa', 'Raris', '', '200g', '1.76', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Yoki', '', '250g ', '3.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Yoki', 'Soja', '250g ', '3.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Yoki', 'Com Carne Seca Temperara', '250g ', '3.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Yoki', 'De milho', '250g ', '3.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Granfino', '', '500g', '3.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Chinezinho', '', '500g', '3.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Chinezinho', 'Com Bacom', '500g', '3.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Chinezinho', 'Light', '500g', '3.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', '', '250g ', '2.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', 'Banana', '250g ', '2.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', 'Picante', '250g ', '2.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', 'Galinha com Pequi', '250g ', '2.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', 'Suave', '250g ', '2.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', 'Bacon', '250g ', '2.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', 'Carne Seca', '250g ', '2.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farofa Pronta', 'Amafil', '', '500g', '3.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Milho', 'Yoki', 'amarela', '500g', '2.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Milho', 'Hikari', 'amarela', '500g', '3.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cuscus', 'Chinezinho', 'Semi pronto', '450g', '4.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjiguinha de milho', 'Yoki', '', '500g', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjica', 'Yoki', 'Cozido no Vapor', '280G', '3.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pão de queijo', 'Yoki', 'Mistura', '250g', '4.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pure de Batata', 'Yoki', 'Intantãneo', '180g', '6.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Mistura para empanar', 'Yoki', '', '300g', '6.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Curau de Milho', 'Yoki', '', '200g ', '3.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Fubá', 'Sinhá Mimoso', '', '1k', '1.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polenta', 'Yoki', 'Pronta', '1k', '6.09', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polenta', 'Yoki', 'Massa Pronta', '500g', '2.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Kimilho', 'Yoki', 'Farinha de Milho', '500g', '2.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Fubarina', 'Granfino', 'Farinha de Milho', '500g', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Fubá Instantãneo', 'Granfino', '', '500g', '1.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Kimilho', 'Yoki', 'Flocão', '500g', '1.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Milho', 'Vitamilho', 'Flocão', '500g', '1.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Fubá', 'Chinezinho', '', '500g', '1.46', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Tapioca', 'Toque do Norderte', 'Tradicional', '500g', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Tapioca', 'Toque do Norderte', 'Coco', '500g', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Tapioca', 'Toque do Norderte', 'Queijo', '500g', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Renata', 'Especial', '1k', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Boa Sorte', 'Com Fermento', '1k', '3.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Boa Sorte', 'Especial', '1k', '2.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Dona Benta', 'Especial', '1k', '3.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Dona Benta', 'Com Fermento', '1k', '3.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Guti', 'Com Fermento', '1k', '2.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Rosa Branca', 'Com Fermento', '1k', '2.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Util', 'Normal', '1k', '3.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Rosa BRanca', 'Enriquecida', '1k', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Buquet', 'Normal', '1k', '2.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Buquet', 'Com Fermento', '1k', '2.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Arroz', 'Urbano', '', '500g', '3.96', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Trigo', 'Da Magrinha', 'Integral', '1k', '3.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Mandioca', 'Tipity', '', '500g', '1.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Mandioca', 'Amafil', '', '1k', '1.97', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Mandioca', 'Chinezinho', '', '1k', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Mandioca', 'Chinezinho', '', '500g', '1.62', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Farinha de Mandioca', 'Yoki', '', '500g', '3.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Milho de Pipoca', 'Chinezinho', '', '500g', '1.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Amendoim', 'Chinezinho', '', '500g', '5.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Amendoim', 'Chinezinho', 'Branco', '500g', '3.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ervilha', 'Chinezinho', '', '500g', '3.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Chinezinho', 'Manteiga', '500g', '6.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Chinezinho', 'Rajado', '500g', '3.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Chinezinho', 'Fradinho', '500g', '2.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lentijha', 'Chinezinho', '', '500g', '2.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Milho de Pipoca ', 'Chinezinho', 'Premiun', '500g', '2.09', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Grão de Bico', 'Chinezinho', '', '500g', '8.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Chinezinho', 'Mulatinho', '500g', '4.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjica', 'Chinezinho', '', '500g', '1.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Tapioca', 'Chinezinho', '', '500g', '3.09', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polvilho Doce', 'Chinezinho', '', '500g', '3.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sagu', 'Chinezinho', '', '500g', '4.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Trigo para quibe', 'Chinezinho', '', '500g', '3.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ervilha', 'Granfino', '', '500g', '3.76', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Milho de Pipoca', 'Granfino', '', '500g', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjica Vermelha', 'Granfino', '', '500g', '0.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjica', 'Granfino', '', '500g', '1.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lentilha', 'Granfino', '', '500g', '6.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Granfino', 'Carioquinha', '500g', '3.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Tapioca', 'Granfino', '', '500g', '3.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polvilho Azedo', 'Granfino', '', '500g', '2.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polvilho Doce', 'Granfino', '', '500g', '2.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Granfino', 'Mulatinho', '500g', '4.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Granfino', 'Fradinho', '500g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sagu', 'Amafil', '', '500g', '3.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Granfino', 'Vermelho', '500g', '2.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Amendoim', 'Granfino', '', '500g', '4.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Grão de Bico', 'Granfino', '', '500g', '6.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Trigo Para Quibe', 'Granfino', '', '500g', '9.96', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pão de Queijo', 'Amafil', 'Mistura', '500g', '4.09', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polvilho Azedo', 'Amafil', '', '500g', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polvilho Dove', 'Amafil', '', '500g', '3.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chipa', 'Amafil', 'Mistura', '500g', '5.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjiquinha', 'Combrasil', '', '500g', '1.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Grão de Bico', 'Combrasil', '', '500g', '7.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjica', 'Combrasil', '', '500g', '1.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ervilha', 'Combrasil', '', '500g', '4.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Combrasil', 'Rajado', '500g', '3.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Milho de Pipoca', 'Combrasil', '', '500g', '1.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Amendoim', 'Combrasil', '', '500g', '4.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Milho de Pipoca', 'Super Máximo', '', '500g', '1.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Super Máximo', 'Vermelho', '500g', '3.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Super Máximo', 'Manteiga', '500g', '5.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Super Máximo', 'Fradinho', '500g', '5.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjica', 'Super Máximo', '', '500g', '1.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Super Máximo', 'Branco', '500g', '5.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Grão de Bico', 'Super Máximo', '', '500g', '5.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Canjica', 'Yoki', '', '500g', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ervilha', 'Yoki', '', '500g', '5.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Grão e Bico', 'Yoki', '', '500g', '6.36', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Feijão', 'Yoki', 'Branco', '500g', '9.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sagu', 'Yoki', '', '500g', '7.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Plovilho Azedo', 'Yoki', '', '500g', '5.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Amendoim ', 'Yoki', 'Branco', '500g', '5.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Trigo para Quibe', 'Yoki', '', '500g', '3.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lentilha', 'Yoki', '', '500g', '5.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Milho de pipoca', 'Yoki', 'Premiun', '500g', '2.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Yoki', 'Manteiga de cinema', '100g', '2.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Yoki', 'Tempero do Chef', '100g', '2.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Yoki', 'Manteiga', '100g', '2.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Yoki', 'Natural com sal', '100g', '2.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Yoki', 'Cobertura de Beijinho', '160g', '3.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Yoki', 'Cobertura de morango', '100g', '3.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Chinezinho', 'Light', '100g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Chinezinho', 'Natural com sal', '100g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Chinezinho', 'Queijo', '100g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Chinezinho', 'Natural Light', '100g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Chinezinho', 'Manteiga Light', '100g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Chinezinho', 'Manteiga', '100g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Picopca de Microondas', 'Chinezinho', 'Bacon', '100g', '2.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Antartica', '', '550ml', '3.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Antartica', '', '473ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Skol', '', '473ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Brahma', '', '473ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Antartica', '', '1l', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Antartica', '', '355ml ', '2.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Antartica', '', '269ml', '1.37', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Brahma extra', '', '355ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Brahma', '', '355ml Long neck ', '2.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Skol beats', '', '355ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Stella Artois', '', '269ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cerveja', 'Stella Artois', '', '989ml', '10.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'laranja', '200ml', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Abacaxi', '200ml', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Uva', '200ml', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Maçã', '200ml', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Maracujá', '200ml', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yakult', 'Maracujá', '200ml', '2.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yakult', 'Abacaxi', '200ml', '2.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yakult', 'Morango', '200ml', '2.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Laranja', '200ml', '2.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Solys', 'Pessego', '200ml', '1.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Solys', 'Laranja', '200ml', '1.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Solys', 'Morango', '200ml', '1.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Solys', 'Uva', '200ml', '1.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Morango', '1L', '4.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Maracuja', '1L', '4.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Uva ', '1L', '4.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Pesego', '1L', '4.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Abacaxi', '1L', '4.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Laranja', '1L', '6.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Uva', '1L', '6.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Laranja', '1.5L', '7.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Ades', 'Uva', '1.5L', '7.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Sollys', 'Pessego', '1L', '2.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yoki', 'laranja', '1L', '3.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yoki', 'Morango', '1L', '3.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yoki', 'Maçã ', '1L', '3.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yoki', 'Uva', '1L', '3.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Yoki', 'Pêssego', '1L', '3.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Soyos', 'Maracuja ', '1L', '3.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Soyos', 'Morango', '1L', '2.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Soyos', 'Larajanha', '1L', '2.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Soyos', 'Uva', '1L', '3.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Soyos', 'Maça', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Bebida de Soja', 'Soyos', 'Pêssego', '1L', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá Verde', 'Liv', '', '1L', '10.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá Vermelho', 'Feel Good', '', '1L', '5.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá Branco', 'Feel Good', '', '1L', '5.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cha Verde', 'Feel Good', 'Laranja e Gengibre', '1L', '5.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cha Verde', 'Suma', 'Com Limonada', '1L', '5.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cha Verde', 'Suma', 'Laranja e mel', '1L', '5.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Xarope de Guaraná', 'Guaraplus', '', '1L', '4.2', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Xarope de Groselha', 'Guaraplus', '', '1L', '4.44', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Guaraná natural', 'Guaraplus', 'Diet ', '1.5L', '3.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Xarope de Uva', 'Guaralife', '', '1L', '3.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Xarope de Groselha', 'Guaracamp', '', '1L', '5.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Xarope de Guarana', 'Guaracamp', 'Diet', '1L', '5.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Xarope de Guarana', 'Guaralife', '', '1L', '3.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Xarope de Guarana', 'Guaralife', 'Diet', '1L', '3.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá mate', 'Leão', '', '1.5L', '5.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá mate', 'Leão', 'Limão', '1.5L', '5.52', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá mate', 'Leão', 'Diet', '1.5L', '5.52', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá mate', 'Leão', 'Diet Limão', '1.5L', '5.52', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ice Tea', 'Leão', 'Limão', '1.5L', '5.52', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ice Tea', 'Lipton', 'Pessego', '1.5L', '4.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ice Tea', 'Lipton', 'Light', '1.5L', '4.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ice Tea', 'Lipton', 'Limão Ligth', '1.5L', '4.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Ice Tea', 'Leão', 'Limão Ligth', '1.5L', '5.52', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Limão', '1L', '5.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Tangerina', '1L', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Maracujá', '500ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Limão', '500ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Cítricos', '500ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Morango com Maracujá', '500ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Uva', '500ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Tangerina', '500ml', '3.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Laranja', '500ml', '3.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Limão ', '500ml', '3.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Isotônico', 'Powerade', 'Uva', '500ml', '3.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Guarana Natural', 'Tron', 'Zero', '500ml', '1.35', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Minalba', 'Com gás ', '500ml', '1.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Teresópolis ', 'Com gás ', '510ml', '1.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Teresópolis ', 'Com gás ', '310ml', '1.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Ativa', 'Com gás ', '510ml', '1.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Prata', 'Com gás ', '510ml', '1.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Minalba', 'Com gás ', '300ml', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Teresópolis ', 'Sem gás', '310ml', '1.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Minalba', 'Sem gás', '510ml', '1.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Cristal', 'Sem gás', '350ml', '2.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Nestle', 'Sem gás', '1.5L', '2.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Teresópolis ', 'Sem gás', '1.5L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água Mineral', 'Minalba', 'Com gás ', '1.5L', '2.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'H2OH', 'Laranja', '500ml', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'H2OH', 'Limoneto', '500ml', '2.6', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'H2OH', 'Limão', '500ml', '4.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Heloo', '', '500ml', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Pepsi', '', '3L', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Pepsi', '', '2.5L', '5.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Pepsi', '', '2L', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Pepsi', 'Twist', '2L', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Pepsi', 'Zero', '2L', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Agua Tonica', 'Antartica', 'Citrus', '2L', '2.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Agua Tonica', 'sheps', '', '2L', '2.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água de Coco', 'Quero Coco', '', '2L', '4.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água de Coco', 'Ducoco', '', '2L', '6.55', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água de Coco', 'Do Bem', '', '2L', '10.2', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água de Coco', 'Do Vale', '', '2L', '5.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água de Coco', 'Quero Coco', '', '350ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água de Coco', 'Bom Coco', '', '195ml', '1.96', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Água de Coco', 'Du Coco', '', '350ml', '4.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '3L', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '2L', '2.55', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '2.5L', '2.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '3.3l', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '1.5L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '1.5L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Soda', '1.5L', '3.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Kapo', 'Soda', '1.5L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Kapo', 'Laranja ', '200ml', '1.36', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Kapo', 'Abacaxi', '', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Vigor', 'Morango', '200ml', '1.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Vigor', 'Maçã', '', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Vigor', 'Laranja', '', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Del Vale', 'Sabores', '450ml', '2.14', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Guaracamp', 'Guaraná', '259ml', '0.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Guaracamp', 'Guaraná', '', '0.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Guaracamp', 'Limão', '', '0.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Guaracamp', 'Maracuja', '', '0.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refresco', 'Guaracamp', 'Guarana com açai', '', '0.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá Mate', 'Leão', '', '300ml', '2.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá Mate', 'Leão', 'limão', '', '2.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá Mate', 'Real', '', '', '2.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá Mate', 'Real', 'limão', '', '2.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Chá', 'Leao', 'Ice Tea', '', '2.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '600ml', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná', '275ml', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', '', '', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', '', '', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'pepsi', '', '', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Sukita', '', '', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Conveção', 'Guaraná', '1l', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Grapete', '', '290ml', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Convenção', 'Sabores', '600ml', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Convenção', 'Sabores', '350ml', '0.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Convenção', 'Laranja', '250ml', '1.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Mineirinho', 'Sabores', '250ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Mineirinho', '', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Pepsi', '', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Soda', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Sukita', '', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Sukita Uva', '', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Zero', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guarana ', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Antartica', 'Guaraná Black', '350ml', '1.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Fanta', 'Sabores', '350ml', '2.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Coca Cola', '', '350ml', '2.63', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Refrigerante', 'Coca Cola', 'Zero', '350ml', '2.63', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Catafesta', 'Integral', '1.5L', '14.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Casa De Bento', 'Integral', '1L', '15.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Aurora', 'Integral', '1L', '13.4', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Pergola', 'Integral', '1L', '11.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Canção', 'Integral', '1L', '13.4', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Catafesta', 'Integral', '1L', '8.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Casa de piccolli', 'Integral', '1.5L', '14.9', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Aliança', 'Integral', '1L', '15.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Aliança', 'Integral', '1L', '15.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Uvas Só', 'Integral', '1L', '20.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', '7 Irmão', 'Integral', '500ml', '7.17', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Uva', 'Casa de Piccolli', 'Integral', '500ml', '7.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Bela Ischia', 'uva', '1L', '9.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Fruta Bom', 'uva', '1L', '5.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Curumam', 'uva', '1L', '3.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Da Fruta', 'uva', '1L', '6.35', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Sancho', 'Maçã', '1L', '8.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Sanjito', 'Maçã', '1L', '9.68', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Curumatam', 'Goiaba', '1L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Curumatam', 'Maracujá', '1L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Curumatam', 'Frutas Cítricas', '1L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Curumatam', 'Manga', '1L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Curumatam', 'Caju', '1L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Curumatam', 'Laranja', '1L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Sabor da Fruta', 'Maracuja', '1L', '9.9', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'FrutaBom', 'Goiaba', '1L', '5.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'FrutaBom', 'Caju', '1L', '4.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Da Fruta', 'Caju', '1L', '4.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Da Fruta', 'Goiaba', '1L', '6.35', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Da Fruta', 'Manga', '1L', '6.2', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Bela Ischia', 'Manga', '1L', '6.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Bela Ischia', 'Goiaba', '1L', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Maguary', 'Caju', '500ml', '6.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Maguary', 'Goiaba', '500ml', '4.4', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Maguary', 'Laranja', '500ml', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Maguary', 'Abacaxi', '500ml', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Da Fruta', 'Manga', '500ml', '3.55', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Strong', 'Caju', '500ml', '5.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Strong', 'Maracuja', '500ml', '5.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Fruta Bom', 'Maracujá', '500ml', '2.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Strong', 'Uva', '500ml', '3.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Seregy', 'Uva', '500ml', '3.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Maguari', 'Uva', '500ml', '4.4', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Seregy', 'Abacaxi', '500ml', '3.6', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Seregy', 'Manga', '500ml', '3.6', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Imbiará', 'Uva', '500ml', '4.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Imperial', 'Cajú', '500ml', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Imbiará', 'Goiaba', '500ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Imbiará', 'Manga', '500ml', '2.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Imbiará', 'Abacaxi', '500ml', '3.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco concentrado', 'Imbiará', 'Acerola', '500ml', '4.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pó para refresco', 'Frisco', 'Sabores', '30g', '0.82', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pó para refresco', 'Mid', 'Sabores', '30g', '0.9', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pó para refresco', 'Fit Diet', 'Sabores', '10g', '0.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pó para refresco', 'Fresh', 'Sabores', '30g', '0.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pó para refresco', 'Tang', 'Sabores', '30g', '1.09', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pó para refresco', 'Claight', 'Sabores', '9g', '1.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Ropas', 'Omo', 'Liquido', '1L', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Ropas', 'Brilhante', 'Liquido', '1L', '6.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em barra', 'Vanish', '', '75g', '3.77', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em barra', 'Rio', '', '200g', '1.37', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em barra', 'Bio Brilho', '', '200g', '1.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão de coco', 'Minuano', '', '200g', '3.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Ropas', 'Surf', 'Liquido', '6.30ml', '9.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Ropas', 'Surf', 'Liquido', '3.15ml', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Omo', 'Multiação', '3.5k', '25.83', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Omo', 'Multiação', '2k', '14.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Omo', 'Multiação confort', '1k', '9.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Omo', 'Progress', '900g', '9.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão de Coco', 'Barra', '', '100g', '0.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão de Coco', 'Barra', '', '500g', '4.4', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Omo', 'Multiação poder acelerador', '1K', '7.54', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão de Coco', 'Ruth', '', '100g', '1.33', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão de Coco', 'Ruele', '', '500g', '4.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão de Coco', 'Ruth', '', '1k', '4.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em Barra', 'Minuano', '', '1k', '5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Ace', '', '1k', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Ariel', '', '2K', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em Barra', 'Ype', '', '200g', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em Barra', 'Lavarte', '', '1K', '4.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Amaciante', 'Downy', 'Concentrado', '500ml', '3.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Amaciante', 'Downy', 'Concentrado', '1L', '7.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em Barra', 'Rio', '', '1K ', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Roupa', 'Ariel', 'Líquido', '1.8L', '12.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Roupa', 'Ariel', 'Líquido', '1.5L', '12.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Roupa', 'Ariel', 'Líquido', '1L', '6.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Roupa', 'Ariel', 'Líquido', '1K', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Ype', '', '1K', '6.35', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em Barra', 'Ype', 'Premiun', '1K', '4.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em Barra', 'Barra', '', '1K', '4.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Ruth', 'Coco', '500g', '7.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão em pó', 'Roma', 'Coco', '500g', '16.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Maracujá', '1L', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Manga', '1L', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Cajú', '1L', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Abacaxi', '1L', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Pessego', '1L', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Laranja', '1L', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Uva', '1L', '4.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Uva', '1L', '5.61', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Goiaba', '1L', '5.61', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Cajú', '1L', '5.61', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Del Vale', 'Pêssego', '1L', '5.61', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Uva', '1L', '4.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Pêssego', '1L', '4.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Maguary', 'Goiaba', '1L', '3.9', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Maguary', 'Manga', '1L', '3.9', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Tial', 'uva', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Tial', 'Goiaba', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Tial', 'Maracujá', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Tial', 'Laranja', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Tial', 'Pêssego', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Tial', 'Cajú', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Tial', 'Laranja', '1L', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Do Bem', 'Laranja com gomos', '1L', '6.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Do Bem', 'Abacaxi com Hortelã', '1L', '6.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Do Bem', 'Tangerina', '1L', '6.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Do Bem', 'Detox', '1L', '11.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Abacaxi', '1L', '4.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Maçã', '1L', '4.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Cajú', '1L', '4.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Pêssego', '1L', '4.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Laranja', '1L', '4.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Sufresh', 'Morango', '1L', '4.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'DaFruta', 'Uva', '1L', '3.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'DaFruta', 'Pêssego', '1L', '3.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'DaFruta', 'Manga', '1L', '3.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'DaFruta', 'Goiaba', '1L', '3.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'DaFruta', 'Maracujá', '1L', '3.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Native', 'Laranja', '1L', '4.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Native', 'Açaí', '1L', '23.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Native', 'Manga', '1L', '12.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Amazu', 'Açai + Banana', '720ml', '12.2', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'FastFruit', 'Laranja', '1L', '6.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'Gourmet', 'Laranja', '1L', '4.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'SuFresh', 'Laranja', '1L', '9.2', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'SuFresh', 'Uva', '1L', '10.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'SuFresh', 'Tangerina', '1L', '5.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'SuFresh', 'Uva ', '1L', '5.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Suco de Fruta', 'SuFresh', 'Cranberry', '1L', '11.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Álcool', 'Cooperalcool', '', '1L', '5.16', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Álcool', 'Montebelo', '', '1L', '4.2', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Álcool', 'Montebelo', '', '500ml', '2.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Álcool', 'Cooperalcool', '', '500ml', '3.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Álcool', 'Cooperalcool', '', '750ml', '6.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'SBP', '', '300ml', '7.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'SBP', '', '450ml', '7.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Detefom', '', '300ml', '8.03', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Matinset', '', '300ml', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Matinset', '', '450ml', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Matinset', 'Refil Líquido', '', '6.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Matinset', 'Aparelho mais refil liquido', '', '8.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Matinset', 'Refil pastilhas', '12 unidades', '2.16', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Matinset', 'Ar Livre', '500ml', '10.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'SBP', 'Aparelho ', '2.44 ml', '22.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Mortein ', 'aerosol', '300ml', '9.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Mortein ', 'aerosol', '300ml', '10.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Mortein ', 'aerosol', '300ml', '7.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Mortein ', 'aerosol', '', '9.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Ufa', 'aerosol', '400ml', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Eletrico', '', '11.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Baygon', 'Aparelho', '', '30.78', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Aparelho', '', '25.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Repelex', '', '100ml', '12', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Repelex', '', '100ml', '10.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Repelex', '', '100ml', '10.04', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', '', '', '138ml', '16.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Noinset', '', '110ml', '11.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', '', 'Aerosol', '150ml', '11.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Repelex', 'Spray super', '100ml', '10.51', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Inseticida ', 'Raid', 'Automático', '', '26.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Aerosol', '450ml', '8.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Aerosol', '450ml', '10.16', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Aerosol', '300ml', '10.16', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Aerosol', '300ml', '8.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Baygon', 'Aerosol', '300ml', '8.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Detefom', 'Liquido', '500ml', '11.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Baygon', 'Liquido ', '475ml', '14.6', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Matinset', 'Liquido ', '500ml', '9.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Aerosol', '300ml', '8.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Insetcida', 'Raid', 'Aerosol', '450ml', '8.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'off', 'Aerosol', '17ml', '17.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'off', '', '17ml', '17.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'off', '', '200ml', '18.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'off', '', '100ml', '10.53', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Noinset', '', '100ml', '9.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Off', 'Spray', '100ml', '11.42', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Repelentes', 'Off', 'Spray', '200ml', '20.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'PinhoSol', '', '500ml', '3.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'PinhoBrill', '', '500ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'PinhoIpe', '', '500ml', '2.82', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'PinhoSanol', '', '500ml', '2.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'Sanol', '', '3L', '3.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'Minuano', '', '500ml', '1.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'Desodor', '', '500ml', '3.35', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'Mazal', '', '2L', '2.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'PinhoBrill', '', '500ml', '5.03', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'Harpic', '', '500ml', '5.93', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'Harpic', '', '500ml', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Harpic', '', '500ml', '6.24', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Pato', '', '750ml', '8.55', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Pato', '', '750ml', '7.55', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Pato', '', '500ml', '3.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Pato', '', '500ml', '3.9', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Mr Musculo', '', '500ml', '8.55', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Uau', '', '500ml', '3.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Cif', 'Refil', '500ml', '8.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Cif', 'Com bomba', '500ml', '9.9', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desinfetantes', 'Lysoform', '', '500ml', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pedra Sanitária', 'Desodor', 'pastilha com cesta', '', '6.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pedra Sanitária', 'Biolimp', '', '', '1.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Pedra Sanitária', 'Desodor', '', '', '1.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'X14', 'Bomba', '500ml', '11.57', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', '', 'Refil', '500ml', '8.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', '', '', '500ml', '100.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Veja', '', '500ml', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Ype', '', '500ml', '5.21', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Gleid', 'Aparelho', '269ml', '23.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Gleid', 'Automático', '', '13.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'BomAr', 'Aerosol', '360ml', '2.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Antimoso', 'Secar', '', '180g', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Antimoso', 'Secar', '', '80g', '5.72', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Removedor', 'ZapClean', '', '900ml', '3.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador de piso', 'Destack', ' ', '500ml', '5.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador de piso', '', '', '', '6.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador de piso', '', '', '750ml', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador de piso', 'Veja', '', '900ml', '6.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador de piso', 'Optimum', 'Refil', '500ml', '5.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cera', 'Poliflor', '', '750ml', '10.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cera', 'Poliflor', '', '750ml', '7.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cera', 'Bravo', '', '750ml', '7.76', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cera', 'Brilho Facil', '', '750ml', '8.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Cera', 'Inglesa', '', '750ml', '9.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Destaque', '', '200ml', '2.5', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Bravo', '', '200ml', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Briosol', '', '200ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Bravo', '', '500ml', '7.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Bravo', '', '500ml', '9.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Poliflor', '', '200ml', '5.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Ype', '', '200ml', '3.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', 'Peroba', '', '200ml', '1.88', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lustra Móveis', '', '', '200ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Óleo', '', '', '200ml', '9.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Graxa', 'Negget', 'Liquida', '60ml', '9.22', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Zap', '', '500ml', '2.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Briosol', '', '500ml', '3.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'VitroClean', '', '500ml', '4.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Veja', '', '500ml', '3.64', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Mr Musculo', '', '500ml', '4.62', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Ual', '', '500ml', '4.65', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Zap', 'Com bomba', '500ml', '7.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Cif', 'Com bomba', '500ml', '7.47', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Veja', 'Com bomba', '500ml', '12.63', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Mr Musculo', 'Com bomba', '500ml', '11', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Mr Musculo', 'Refil', '500ml', '7.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Veja', 'Refil', '500ml', '5.58', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'BomBrill', 'Refil', '500ml', '5.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Vidros', 'Zap', 'Refil', '500ml', '11', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponácio', 'Radiun', '', '300g', '3.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão Pastoso', 'Neutral', '', '200g', '2.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão Pastoso', 'Cristal', '', '500g', '3.09', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponácio', 'Radiun', '', '300ml', '5.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponácio', 'EcoBril', '', '500g', '9.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponácio', 'EcoBril', 'Refil', '500g', '6.48', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desentupidor', 'bomBrill', '', '300g', '9.51', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desentupidor', 'Diabo Verde', '', '300g', '9.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Desentupidor', 'ZapClean', '', '300g', '5.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polidor', 'Polibril', '', '200g', '2.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polidor', 'Prato', '', '200ml', '3.97', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Polidor', 'Silvo', '', '200ml', '3.28', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Aluminio', 'Sanol', '', '500ml', '4.72', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Forno', 'ZapCleam', 'Aerosol', '400ml', '12.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Forno', 'Força Azul', 'Pasta', '230g', '5.6', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Forno', 'EasyOff', '', '270ml', '4.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Forno', 'Ual', '', '200ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Inox', 'Ual', '', '200ml', '6.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa Aluminio', 'Limpol', '', '500ml', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponácio', 'Mr Musculo', '', '200ml', '3.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão Pastoso', 'Neutral', '', '200g', '3.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponácio', 'Mr Musculo', '', '450ml', '7.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão Pastoso', 'Limpol', '', '500g', '3.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Mr Musculo', 'Bomba', '500ml', '12.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Mr Musculo', 'Refil', '500ml', '7.95', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Mr Musculo', 'refil', '500ml', '7.05', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Mr Musculo', 'Spray', '500ml', 0, 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Veja', 'Bom mais refil', '1L', '16.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão Pastoso', 'Barra', '', '500g', '3.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Sabão Pastoso', 'Rio', '', '500g', '3.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Veja', 'Refil', '500ml', '5.83', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Veja', 'Refil', '500ml', '6.82', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Veja', 'Bomba', '500ml', '12.03', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'ZapCleam', 'Bomba', '500ml', '8.66', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'ZapCleam', 'Refil', '500ml', '5.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'BomBrill', 'Refil', '500ml', '6.38', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'BomBrill', 'Spray', '500ml', '3.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'ClinLImp', 'Bomba', '500ml', '8.6', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Desodor', 'Bomba', '500ml', '8.25', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Desodor', 'Refil', '500ml', '5.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Ual', 'Spray', '500ml', '5.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Cif', 'Spray', '500ml', '5.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Cif', 'Bomba', '500ml', '7.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpa cozinha', 'Cif', 'Refil', '500ml', '5.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'ZapClean', '', '1L', '5.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Urca', '', '500ml', '2.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Ual', '', '500ml', '3.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Urca', '', '1L', '4.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Fúria', '', '500ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Renovar', '', '1l', '4.89', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Minuano', '', '500ml', '2.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Ajax', '', '500ml', '4.27', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Pratice', '', '500ml', '2.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'EcoBrill', '', '500ml', '4.85', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Casa e Perfume', '', '500ml', '2.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Veja', '', '500ml', '2.4', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Veja', '', '', '3.43', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Minuano', '', '', '3.19', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Mr Musculo', '', '900ml', '6.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Mr Musculo', '', '1.8L', '8.29', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Veja', '', '2l', '11.82', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Ajax', '', '1L', '7.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Pratice', '', '1L', '7.18', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Mr Musculo', '', '500ml', '5.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Veja', '', '500ml', '4.8', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Lysoform', '', '500ml', '3.45', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Ajax', '', '500ml', '4.27', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Minuano', '', '500ml', '3.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Ual', '', '500ml', '5.09', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'ZapClean', '', '500ml', '4.79', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador', 'Furia', '', '500ml', '3.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'ZapClean', '', '500ml', '2.49', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'Minuano', '', '500ml', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'Pratice', '', '500ml', '2.59', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'EcoBrill', '', '500ml', '4.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'Ype', '', '500ml', '2.69', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'Mr Musculo', '', '500ml', '2.75', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'Veja', '', '500ml', '2.32', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'Veja', '', '750ml', '5.2', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Limpador Multiuso', 'Veja', '', '500ml', '4.7', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponáceo', '', '', '250ml', '4.99', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Saponáceo', '', '', '500ml', '6.98', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Louças', 'Finish', 'Pó', '1K', '23.56', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Louças', 'Sun', 'Pó', '1K', '23.3', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Louças', 'Finish', 'Tablet', '294g', '3.57', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Lava Louças', 'Finish', 'Abrilhantador', '250ml', '15.1', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Detergente', 'ZapClean', '', '500ml', '4.15', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Detergente', 'Veja', '', '400ml', '3.41', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Detergente', 'Limpol', '', '500ml', '4.27', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Detergente', 'Limpol', '', '500ml', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Detergente', 'Ype', '', '500ml', '1.39', 0, 'nome do setor' , -1, -1, now());
INSERT INTO products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
VALUES ('rótulo completo', 'Detergente', 'BioBrilho', '', '500ml', '0.99', 0, 'nome do setor' , -1, -1, now());
UPDATE products SET label = concat(name, ' ', brand, ' ', packing_type)
WHERE uid > 0;
UPDATE products SET last_price = price
WHERE uid > 0;
/* copy products
insert into products (label, name, brand, type_description, packing_type, price, owner_uid, aisle_label, aisle, aisle_order, created_at)
select label, name, brand, type_description, packing_type, price, -1, aisle_label, aisle, aisle_order, now() from products;
* */
SELECT * FROM products ORDER BY owner_uid, aisle_label, aisle, aisle_order, likes DESC, uid;
|
DROP TABLE "bam.hausrat_neugeschaeft";
CREATE TABLE "bam.hausrat_neugeschaeft" (
pid varchar(20),
beitrag DECIMAL,
tarif varchar(50),
vertriebskanal varchar(50),
qm INTEGER,
state varchar(50),
datum TIMESTAMP,
haustyp varchar(10)
);
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000001', 30+ROUND(RANDOM()*100), 'Standard', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '5', 'efh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000002', 30+ROUND(RANDOM()*100), 'Premium', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '5', 'efh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000003', 30+ROUND(RANDOM()*100), 'Eco', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '5', 'efh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000004', 30+ROUND(RANDOM()*100), 'Standard', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '4', 'efh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000005', 30+ROUND(RANDOM()*100), 'Premium', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '4', 'efh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000006', 30+ROUND(RANDOM()*100), 'Eco', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '3', 'efh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000007', 30+ROUND(RANDOM()*100), 'Standard', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '3', 'mfh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000008', 30+ROUND(RANDOM()*100), 'Premium', 'Vermittler', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Aktiv', CURRENT_DATE - INTEGER '3', 'mfh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000009', 30+ROUND(RANDOM()*100), 'Standard', 'Internet', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Abgeschlossen', CURRENT_DATE - INTEGER '3', 'mfh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000010', 30+ROUND(RANDOM()*100), 'Standard', 'Internet', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Abgeschlossen', CURRENT_DATE - INTEGER '2', 'mfh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000011', 30+ROUND(RANDOM()*100), 'Premium', 'Internet', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Abgeschlossen', CURRENT_DATE - INTEGER '1', 'mfh');
INSERT INTO "bam.hausrat_neugeschaeft" VALUES ('0000000012', 30+ROUND(RANDOM()*100), 'Standard', 'Internet', 50+ROUND(RANDOM()*100)*2.0*RANDOM()*100 , 'Abgeschlossen', CURRENT_DATE - INTEGER '1', 'mfh');
DROP TABLE "customer";
CREATE TABLE "customer" (
salesforceID varchar(50),
firstname varchar(50),
lastname varchar(50) primary key
);
INSERT INTO "customer" VALUES ('003240000016nU9AAI', 'Patrick', 'Steiner');
INSERT INTO "customer" VALUES ('00324000001YLBVAA4', 'Rose', 'Gonzales');
INSERT INTO "customer" VALUES ('00324000001YLBXAA4', 'Jack', 'Rogers');
|
# --- !Ups
ALTER TABLE transactions ADD COLUMN archived boolean NOT NULL DEFAULT(false);
# --- !Downs
ALTER TABLE transactions DROP COLUMN archived; |
--PROBLEM 07
SELECT
FlightId
,SUM(Price) AS [TOTAL PRICE]
FROM Tickets
GROUP BY FlightId
ORDER BY [TOTAL PRICE] DESC,FlightId
|
(
SELECT
c.`id` AS id,
c.`started` AS started,
c.`stopped` AS stopped,
c.`client` AS client,
c.`user` AS user,
NULL AS topic,
"connect" AS type
FROM `connects` c
INNER JOIN `clients` cc ON c.`client` = cc.`uuid`
WHERE c.`client` = ?
)
UNION
(
SELECT
c.`id` AS id,
c.`started` AS started,
c.`stopped` AS stopped,
c.`client` AS client,
c.`user` AS user,
c.`topic` AS topic,
"subscribe" AS type
FROM `subscribes` c
INNER JOIN `clients` cc ON c.`client` = cc.`uuid`
WHERE c.`client` = ?
)
UNION
(
SELECT
c.`id` AS id,
c.`issued` AS started,
NULL AS stopped,
c.`client` AS client,
c.`user` AS user,
c.`topic` AS topic,
"publish" AS type
FROM `publishs` c
INNER JOIN `clients` cc ON c.`client` = cc.`uuid`
WHERE c.`client` = ?
)
ORDER BY started DESC
LIMIT ?,?; |
DROP TABLE IF EXISTS `tenant_data`;
DROP TABLE IF EXISTS `tenant_field`;
DROP TABLE IF EXISTS `tenant_model_info`;
DROP TABLE IF EXISTS `tenant`;
DROP TABLE IF EXISTS `user_info`;
DROP TABLE IF EXISTS `sdlcmodel`;
CREATE TABLE `sdlcmodel` (
`modelId` int(11) NOT NULL AUTO_INCREMENT,
`modelType` varchar(45) NOT NULL,
PRIMARY KEY (`modelId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `sdlcmodel` VALUES (1,'waterfall'),(2,'kanban'),(3,'scrum');
CREATE TABLE `sdlc_tables` (
`sdlc_id` int(11) NOT NULL,
`table_id` int(11) NOT NULL,
`table_name` varchar(100) NOT NULL,
KEY `fk_sdlc_id_ref_idx` (`sdlc_id`),
CONSTRAINT `fk_sdlc_id_ref` FOREIGN KEY (`sdlc_id`) REFERENCES `sdlcmodel` (`modelId`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `sdlc_tables` VALUES (1,1,'project'),(1,2,'task'),(1,3,'resource')
,(2,1,'project'), (2,4,'card'),(2,5,'group')
,(3,1,'project'),(3,6,'sprint'), (3,7,'team'), (3,8,'story');
CREATE TABLE `tenant_field` (
`fieldId` int(11) NOT NULL AUTO_INCREMENT,
`tenantId` int(11) NOT NULL,
`field_name` varchar(45) DEFAULT NULL,
`field_type` varchar(45) DEFAULT NULL,
PRIMARY KEY (`fieldId`,`tenantId`),
KEY `tenantId` (`tenantId`),
CONSTRAINT `tenantId` FOREIGN KEY (`tenantId`) REFERENCES `tenant` (`tenantId`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
INSERT INTO `sdlc_fields` VALUES
(1,'project_id','int'),(1,'project_name','varchar')
,(1,'project_desc','varchar'),(1,'project_owner','varchar')
,(1,'start_date','date'),(1,'end_date','date')
,(2,'project_id','int')
,(2,'task_name','varchar'),(2,'task_desc','varchar')
,(2,'start_date','date'),(2,'end_date','date'),(2,'resource_id','lookup')
,(2,'resource_name', 'varchar'), (2, 'status', 'varchar')
,(3,'resource_id','int'),(3,'resource_name','varchar'),(3,'project_id','int')
,(4,'project_id','int'), (4,'card_name','varchar')
,(4,'status_lane','varchar'), (4,'start_date','date')
,(4,'end_date','date'), (4,'group_id','int')
,(4,'status','varchar')
,(5,'group_id','int'),(5,'group_name','varchar'),(5,'project_id','int')
,(6,'sprint_id','int'),(6,'sprint_name','varchar'),(6,'project_id','int')
,(7,'team_id','int'),(7,'team_name','varchar'),(7, 'team_size','int')
,(7,'project_id','int')
,(8,'story_points','int'),(8,'story_name','varchar'),(8,'project_id','int')
,(8,'story_days','int'),(8,'sprint_id','int'),(8,'sprint_name','varchar')
,(8,'hours_remaining','int'),(8,'team_id','int'),(8,'status','varchar');
CREATE TABLE `user_info` (
`userId` int(11) NOT NULL AUTO_INCREMENT,
`firstName` varchar(45) NOT NULL,
`lastName` varchar(45) NOT NULL,
`address` varchar(45) DEFAULT NULL,
`Email` varchar(45) NOT NULL,
`phone` bigint(10) DEFAULT NULL,
'password' varchar(45) NOT NULL,
PRIMARY KEY (`userId`,`Email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `tenant` (
`tenantId` int(11) NOT NULL AUTO_INCREMENT,
`userId` int(11) DEFAULT NULL,
`modelId` int(11) DEFAULT NULL,
`modelTable` varchar(45) DEFAULT NULL,
PRIMARY KEY (`tenantId`),
KEY `userId_idx` (`userId`),
KEY `modelId_idx` (`modelId`),
CONSTRAINT `model_Id` FOREIGN KEY (`modelId`) REFERENCES `sdlcmodel` (`modelId`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `user_id` FOREIGN KEY (`userId`) REFERENCES `user_info` (`userId`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `tenant_field` (
`tenantId` int(11) NOT NULL AUTO_INCREMENT,
`fieldId` int(11) NOT NULL,
`field_name` varchar(45) DEFAULT NULL,
`field_type` varchar(45) DEFAULT NULL,
PRIMARY KEY (`tenantId`,`fieldId`),
CONSTRAINT `tenantId` FOREIGN KEY (`tenantId`) REFERENCES `tenant` (`tenantId`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `tenant_model_info` (
`userId` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(45) NOT NULL,
`modelId` int(11) NOT NULL,
PRIMARY KEY (`userId`,`modelId`),
KEY `modelId_idx` (`modelId`),
CONSTRAINT `modelId` FOREIGN KEY (`modelId`) REFERENCES `sdlcmodel` (`modelId`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `userId` FOREIGN KEY (`userId`) REFERENCES `user_info` (`userId`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `tenant_data` (
`recordId` int(11) NOT NULL,
`tenantId` int(11) NOT NULL,
`fieldId` int(11) NOT NULL,
`value` varchar(45) DEFAULT NULL,
PRIMARY KEY (`recordId`,`tenantId`,`fieldId`),
KEY `tenant_id_idx` (`tenantId`),
KEY `field_id_idx` (`fieldId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
CREATE procedure sp_acc_list_Others_DebitNote(@OthersID Int,
@FromDate datetime,
@ToDate datetime)
as
If @OthersID=0
Begin
select DocumentID, DocumentDate, AccountsMaster.AccountID, AccountsMaster.AccountName, NoteValue,
DebitID,
case
When Status & 64 <> 0 Then dbo.LookupDictionaryItem('Cancelled',Default)
When isnull(status,0) = 0 and isnull(RefDocid,0) = 0 Then ''
when isnull(status & 128,0 ) = 128 and isnull(RefDocid,0) <> 0 then dbo.LookupDictionaryItem('Amended',Default)
when isnull(status & 128,0 ) = 128 and Balance = 0 then dbo.LookupDictionaryItem('Amended',Default)
when isnull(status & 128,0 ) = 0 and isnull(RefDocid,0) <> 0 then dbo.LookupDictionaryItem('Amendment',Default)
Else ''
end,DocumentReference
from DebitNote, AccountsMaster
where DocumentDate between @FromDate and @ToDate and
AccountsMaster.AccountID = DebitNote.Others
order by AccountsMaster.AccountName,AccountsMaster.AccountID, DocumentDate
End
Else
Begin
select DocumentID, DocumentDate, AccountsMaster.AccountID, AccountsMaster.AccountName, NoteValue,
DebitID,
case
When Status & 64 <> 0 Then dbo.LookupDictionaryItem('Cancelled',Default)
When isnull(status,0) = 0 and isnull(RefDocid,0) = 0 Then ''
when isnull(status & 128,0 ) = 128 and isnull(RefDocid,0) <> 0 then dbo.LookupDictionaryItem('Amended',Default)
when isnull(status & 128,0 ) = 128 and Balance = 0 then dbo.LookupDictionaryItem('Amended',Default)
when isnull(status & 128,0 ) = 0 and isnull(RefDocid,0) <> 0 then dbo.LookupDictionaryItem('Amendment',Default)
Else ''
end,DocumentReference
from DebitNote, AccountsMaster
where AccountsMaster.AccountID like @OthersID and
DocumentDate between @FromDate and @ToDate and
AccountsMaster.AccountID = DebitNote.Others
order by AccountsMaster.AccountName,AccountsMaster.AccountID, DocumentDate
End
|
-- phpMyAdmin SQL Dump
-- version 4.9.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 06, 2020 at 11:58 AM
-- Server version: 10.4.8-MariaDB
-- PHP Version: 7.3.11
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: `exam`
--
-- --------------------------------------------------------
--
-- Table structure for table `callgroups`
--
CREATE TABLE `callgroups` (
`id` int(11) NOT NULL,
`groupname` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `callgroups`
--
INSERT INTO `callgroups` (`id`, `groupname`) VALUES
(1, 'Group 1'),
(2, 'Group 2'),
(3, 'Group 3');
-- --------------------------------------------------------
--
-- Table structure for table `calllists`
--
CREATE TABLE `calllists` (
`id` int(11) NOT NULL,
`clid` int(11) NOT NULL,
`level` int(11) NOT NULL,
`name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `calllists`
--
INSERT INTO `calllists` (`id`, `clid`, `level`, `name`) VALUES
(1, 1, 1, 'Name 1'),
(2, 1, 2, 'Name 2'),
(3, 1, 3, 'Name 3'),
(4, 1, 4, 'Name 4'),
(7, 2, 1, 'Name 1'),
(8, 2, 2, 'Name 2'),
(9, 2, 3, 'Name 3'),
(10, 2, 4, 'Name 4'),
(11, 3, 1, 'Name 1'),
(12, 3, 2, 'Name 2'),
(13, 3, 3, 'Name 3'),
(14, 3, 4, 'Name 4');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `callgroups`
--
ALTER TABLE `callgroups`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `calllists`
--
ALTER TABLE `calllists`
ADD PRIMARY KEY (`id`),
ADD KEY `clid` (`clid`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `callgroups`
--
ALTER TABLE `callgroups`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `calllists`
--
ALTER TABLE `calllists`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `calllists`
--
ALTER TABLE `calllists`
ADD CONSTRAINT `calllists_ibfk_1` FOREIGN KEY (`clid`) REFERENCES `callgroups` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
--Find the location of the files currently
SELECT name, physical_name AS current_file_location
FROM sys.master_files
--Move this for all files for the database, mdf, ldf & ndf files
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='tempdev',
filename='D:\tempdb.mdf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='temp2',
filename='D:\tempdb_mssql_2.ndf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='temp3',
filename='D:\tempdb_mssql_3.ndf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='temp4',
filename='D:\tempdb_mssql_4.ndf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='temp5',
filename='D:\tempdb_mssql_5.ndf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='temp6',
filename='D:\tempdb_mssql_6.ndf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='temp7',
filename='D:\tempdb_mssql_7.ndf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='temp8',
filename='D:\tempdb_mssql_8.ndf'
); --Filename is new location
USE master; --do this all from the master
ALTER DATABASE [tempdb]
MODIFY FILE
(
name='templog',
filename='L:\templog_log.ldf'
); --Filename is new location
|
INSERT INTO burgers (burger_name, devoured) VALUES ('fat burger', false);
INSERT INTO burgers (burger_name, devoured) VALUES ('bacon avo burger', false);
INSERT INTO burgers (burger_name, devoured) VALUES ('classic cheese burger', false);
INSERT INTO burgers (burger_name, devoured) VALUES ('kimchi burger', false);
INSERT INTO burgers (burger_name, devoured) VALUES ('bbq chicken burger', false); |
--[Users]表插入数据
INSERT INTO [Users]
([Name],
[UserName],
[Password])
VALUES
('admin',
'超级无敌大帅哥',
'admin')
INSERT INTO [Users]
([Name],
[UserName],
[Password])
VALUES
('list',
'超级管理员',
'list') |
SELECT DISTINCT state
FROM sale.customer X
WHERE NOT EXISTS
(
SELECT A.product_id, A.product_name, B.product_id, B.order_id, C.order_id, C.customer_id, D.*
FROM product.product A, sale.order_item B, sale.orders C, sale.customer D
WHERE A.product_id = B.product_id
AND B.order_id = C.order_id
AND C.customer_id = D.customer_id
AND A.product_name = 'Trek Remedy 9.8 - 2019'
AND X.state = D.state
)
SELECT A.product_id, A.product_name, B.product_id, B.order_id, C.order_id, C.customer_id, D.*
FROM product.product A, sale.order_item B, sale.orders C, sale.customer D
WHERE A.product_id = B.product_id
AND B.order_id = C.order_id
AND C.customer_id = D.customer_id
AND A.product_name = 'Trek Remedy 9.8 - 2019'
CREATE VIEW new_view AS
SELECT DISTINCT product.product_id, product.product_name, product.model_year
FROM product.product
WHERE model_year > 2019
;
SELECT *
FROM new_view
;
-- List the customers who ordered before the last order of Sharyn Hopkins and located in San Diego
SELECT A.customer_id,A.first_name, A.last_name, B.order_date, A.state
FROM sale.customer A, sale.orders B
WHERE A.state = 'San Diego'
AND NOT (A.first_name = 'Sharyn' AND A.last_name = 'Hopkins')
AND B.order_date < (
SELECT TOP 1 B.order_date
FROM sale.orders B
WHERE A.first_name = 'Sharyn' AND A.last_name = 'Hopkins'
ORDER BY B.order_date)
;
WITH T1 AS
(
SELECT max(order_date) last_purchase
FROM sale.customer A, sale.orders B
WHERE A.customer_id = B.customer_id
AND A.first_name = 'Sharyn'
AND A.last_name = 'Hopkins'
)
SELECT DISTINCT A.order_date, A.order_id, B.customer_id, B.first_name, B.last_name, B.city
FROM sale.orders A, sale.customer B, T1
WHERE A.customer_id = B.customer_id
AND A.order_date < T1.last_purchase
AND B.city = 'San Diego'
|
create table sample.LastName (
LastNameId int identity(1, 1) not null primary key clustered,
Name varchar(50)
);
|
■問題文
ユーザテーブル(usr)、アンケート回答テーブル(quest)それぞれに含まれるユーザ氏名を比較し、双方に含まれるデータのみを取り出してみましょう。
■実行文
# 氏名を取得
SELECT
CONCAT(u.l_name, u.f_name) AS 氏名
# ユーザテーブルとアンケート回答テーブルを氏名が一致することを条件に内部結合し、その結果から氏名を取得
FROM
usr AS u
INNER JOIN
quest AS q
ON
q.name = CONCAT(u.l_name, u.f_name)
;
■返却値
mysql> SELECT
-> CONCAT(u.l_name, u.f_name) AS 氏名
-> FROM
-> usr AS u
-> INNER JOIN
-> quest AS q
-> ON
-> q.name = CONCAT(u.l_name, u.f_name)
-> ;
+----------+
| 氏名 |
+----------+
| 山田太郎 |
+----------+
1 row in set (0.00 sec)
★★★PostgreSQLでの実行結果★★★
SELECT
CONCAT(u.l_name, u.f_name) AS 氏名
FROM
usr AS u
INTERSECT
SELECT
q.name AS 氏名
FROM
quest AS q
;
postgres=#
postgres=# SELECT
postgres-# CONCAT(u.l_name, u.f_name) AS 氏名
postgres-# FROM
postgres-# usr AS u
postgres-# INTERSECT
postgres-# SELECT
postgres-# q.name AS 氏名
postgres-# FROM
postgres-# quest AS q
postgres-# ;
氏名
----------
山田太郎
(1 行) |
--
-- Update sql for MailWizz EMA from version 1.3.8.4 to 1.3.8.5
-- |
/*Query the list of CITY names from STATION that either do not start with vowels or do not end with vowels. Your result cannot contain duplicates.*/
select distinct city from station where city not in
(select city from station where LEFT(CITY,1) IN ('a','e','i','o','u'))
union
select distinct city from station where city not in
(select city from station where RIGHT(CITY,1) IN ('a','e','i','o','u'))
|
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jan 12, 2015 at 01:13 PM
-- Server version: 5.6.17
-- PHP Version: 5.5.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `jukebox`
--
-- --------------------------------------------------------
--
-- Table structure for table `album`
--
CREATE TABLE IF NOT EXISTS `album` (
`artistID` int(11) NOT NULL,
`albumID` int(11) NOT NULL AUTO_INCREMENT,
`albumname` varchar(50) NOT NULL,
PRIMARY KEY (`albumID`),
KEY `FK_AlbumArtist` (`artistID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ;
-- --------------------------------------------------------
--
-- Table structure for table `artist`
--
CREATE TABLE IF NOT EXISTS `artist` (
`artistID` int(11) NOT NULL AUTO_INCREMENT,
`artistName` varchar(100) NOT NULL,
PRIMARY KEY (`artistID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ;
-- --------------------------------------------------------
--
-- Table structure for table `artistofalbum`
--
CREATE TABLE IF NOT EXISTS `artistofalbum` (
`artistID` int(11) NOT NULL,
`albumID` int(11) NOT NULL,
PRIMARY KEY (`artistID`,`albumID`),
KEY `albumID` (`albumID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `member`
--
CREATE TABLE IF NOT EXISTS `member` (
`memberID` int(11) NOT NULL AUTO_INCREMENT,
`artistID` int(11) NOT NULL,
`firstname` char(20) NOT NULL,
`surname` char(8) DEFAULT NULL,
`lastname` char(25) NOT NULL,
PRIMARY KEY (`memberID`),
KEY `FK_ArtistMember` (`artistID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ;
-- --------------------------------------------------------
--
-- Table structure for table `playlist`
--
CREATE TABLE IF NOT EXISTS `playlist` (
`playlistID` int(11) NOT NULL AUTO_INCREMENT,
`name` char(50) NOT NULL,
`userID` int(11) NOT NULL,
PRIMARY KEY (`playlistID`),
KEY `FK_PlaylistUser` (`userID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ;
-- --------------------------------------------------------
--
-- Table structure for table `rating`
--
CREATE TABLE IF NOT EXISTS `rating` (
`rating` int(11) NOT NULL,
`userID` int(11) NOT NULL,
`trackID` int(11) NOT NULL,
PRIMARY KEY (`userID`,`trackID`),
KEY `FK_RatingTrack` (`trackID`),
KEY `FK_RatingUser` (`userID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `track`
--
CREATE TABLE IF NOT EXISTS `track` (
`trackID` int(11) NOT NULL AUTO_INCREMENT,
`artistID` int(11) NOT NULL,
`title` varchar(50) NOT NULL,
`duration` time NOT NULL,
PRIMARY KEY (`trackID`),
KEY `FK_TrackArtist` (`artistID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ;
-- --------------------------------------------------------
--
-- Table structure for table `trackdetail`
--
CREATE TABLE IF NOT EXISTS `trackdetail` (
`trackID` int(11) NOT NULL,
`tracknumber` int(11) NOT NULL,
`genre` varchar(20) DEFAULT NULL,
`releaseyear` int(11) DEFAULT NULL,
PRIMARY KEY (`trackID`),
KEY `FK_TrackdetailTrack` (`trackID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `tracklocation`
--
CREATE TABLE IF NOT EXISTS `tracklocation` (
`trackID` int(11) NOT NULL,
`path` varchar(256) NOT NULL,
PRIMARY KEY (`trackID`,`path`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `trackonalbum`
--
CREATE TABLE IF NOT EXISTS `trackonalbum` (
`trackID` int(11) NOT NULL,
`albumID` int(11) NOT NULL,
PRIMARY KEY (`trackID`,`albumID`),
KEY `FK_trackopalbumalbumID` (`albumID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `trackonplaylist`
--
CREATE TABLE IF NOT EXISTS `trackonplaylist` (
`playlistID` int(11) NOT NULL,
`trackID` int(11) NOT NULL,
PRIMARY KEY (`playlistID`,`trackID`),
KEY `trackID` (`trackID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`name` varchar(50) NOT NULL,
`userID` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`name`),
UNIQUE KEY `userID` (`userID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `artistofalbum`
--
ALTER TABLE `artistofalbum`
ADD CONSTRAINT `artistofalbum_ibfk_1` FOREIGN KEY (`artistID`) REFERENCES `artist` (`artistID`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `artistofalbum_ibfk_2` FOREIGN KEY (`albumID`) REFERENCES `album` (`albumID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `member`
--
ALTER TABLE `member`
ADD CONSTRAINT `FK_ArtistMember` FOREIGN KEY (`artistID`) REFERENCES `artist` (`artistID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `playlist`
--
ALTER TABLE `playlist`
ADD CONSTRAINT `FK_PlaylistUser` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `rating`
--
ALTER TABLE `rating`
ADD CONSTRAINT `FK_RatingTrack` FOREIGN KEY (`trackID`) REFERENCES `track` (`trackID`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `rating_ibfk_1` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `track`
--
ALTER TABLE `track`
ADD CONSTRAINT `FK_TrackArtist` FOREIGN KEY (`artistID`) REFERENCES `artist` (`artistID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `trackdetail`
--
ALTER TABLE `trackdetail`
ADD CONSTRAINT `FK_TrackdetailTrack` FOREIGN KEY (`trackID`) REFERENCES `track` (`trackID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `tracklocation`
--
ALTER TABLE `tracklocation`
ADD CONSTRAINT `FK_tracklocation` FOREIGN KEY (`trackID`) REFERENCES `track` (`trackID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `trackonalbum`
--
ALTER TABLE `trackonalbum`
ADD CONSTRAINT `FK_trackopalbumalbumID` FOREIGN KEY (`albumID`) REFERENCES `album` (`albumID`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `FK_trackopalbumtrackID` FOREIGN KEY (`trackID`) REFERENCES `track` (`trackID`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `trackonplaylist`
--
ALTER TABLE `trackonplaylist`
ADD CONSTRAINT `trackonplaylist_ibfk_1` FOREIGN KEY (`trackID`) REFERENCES `track` (`trackID`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `trackonplaylist_ibfk_2` FOREIGN KEY (`playlistID`) REFERENCES `playlist` (`playlistID`) ON DELETE CASCADE ON UPDATE CASCADE;
/*!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 DEAL_NO,
TX_CODE,
DEAL_TYPE,
DEAL_STAT,
VOL_OK,
CUST_NO,
CUST_NAME,
CUST_BANK_ID,
ID_TYPE,
ID_NO,
BANK_ACCT,
BANK_CODE,
PRODUCT_CODE,
PRODUCT_NAME,
APP_DT,
APP_TM,
APP_AMT,
APP_VOL,
SYS_TRADE_DT,
PD_TRADE_DT,
INVST_TYPE,
TRADE_CHAN,
OUTLET_CODE,
CONS_CODE,
TRANSACTOR,
TRANSACTOR_ID_TYPE,
TRANSACTOR_ID_NO,
DIS_CODE,
DIS_FUND_TX_ACCT_NO,
PROTOCAL_NO,
TX_IP,
CORP_DEAL_NO,
PIGGY_PAY_DEAL_NO,
PIGGY_PAY_PNO,
PIGGY_PAY_PNM,
PIGGY_PAY_PTP,
RET_CODE,
RET_MSG,
ACTIVE_NAME,
MEMO,
CREATOR,
MODIFIER,
CHECKER,
CRE_DT,
MOD_DT,
CHECK_FLAG,
STIMESTAMP,
UPDATED_STIMESTAMP
from TP_DEAL
where REQUEST_ID <> ''
AND TRADE_CHAN <> ''
alter table TP_DEAL add request_id varchar2(50);
|
CREATE OR REPLACE PUBLIC SYNONYM vehicle_accident_pkg FOR orient.vehicle_accident_pkg; |
CREATE PROCEDURE sp_list_SplSchemes
AS
SELECT SchemeID, SchemeName FROM Schemes
WHERE SchemeType IN (18,19,20,21,22,81,82,84,97,98,99,100)
AND Active = 1
|
/*
SQLyog - Free MySQL GUI v5.02
Host - 5.0.19-nt : Database - bank
*********************************************************************
Server version : 5.0.19-nt
*/
create database if not exists `bank`;
USE `bank`;
/*Table structure for table `account_bal` */
DROP TABLE IF EXISTS `account_bal`;
CREATE TABLE `account_bal` (
`accountno` int(20) NOT NULL,
`balance` float default NULL,
PRIMARY KEY (`accountno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `account_bal` */
insert into `account_bal` values
(1,7350),
(2,4400),
(3,10000);
/*Table structure for table `users` */
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`accountno` int(20) NOT NULL,
`password` varchar(15) default NULL,
PRIMARY KEY (`accountno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `users` */
insert into `users` values
(1,'abc'),
(2,'pqr'),
(3,'xyz'),
(4,'iop');
|
USE sust_archive;
INSERT INTO department VALUES(1, "Computer Science and Engineering", "CSE");
INSERT INTO department VALUES(2, "Electrical & Electronic Engineering", "EEE");
INSERT INTO department VALUES(3, "Industrial Production and Engineering", "IPE");
INSERT INTO department VALUES(4, "Physics", "PHY");
INSERT INTO department VALUES(5, "Genetic Engineering and Biotechnology", "GEB");
INSERT INTO user_type VALUES(1, "Administrator", "Primary level authority.");
INSERT INTO user_type VALUES(2, "Teacher", "Secondary level authority");
INSERT INTO user_type VALUES(3, "Student", "Tertiary level authority");
-- admin account
INSERT INTO user VALUES(1, "admin", "1234", 1, "admin@sustarchive.com");
-- teacher accounts(3)
INSERT INTO user VALUES(2, "sknabil", "1234", 2, "sknabil@sustarchive.com");
INSERT INTO user VALUES(3, "sabir_ismail", "1234", 2, "sabir_ismail@sustarchive.com");
INSERT INTO user VALUES(4, "eamin_rahman", "1234", 2, "eamin_rahman@sustarchive.com");
--STUDENT ACCOUNTS
INSERT INTO user VALUES(5, "2011331001", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(6, "2011331002", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(7, "2011331003", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(8, "2011331004", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(9, "2011331005", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(10, "2011331006", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(11, "2011331007", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(12, "2011331008", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(13, "2011331009", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(14, "2011331012", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(15, "2011331013", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(16, "2011331015", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(17, "2011331016", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(18, "2011331017", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(19, "2011331018", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(20, "2011331019", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(21, "2011331021", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(22, "2011331022", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(23, "2011331024", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(24, "2011331025", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(25, "2011331026", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(26, "2011331027", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(27, "2011331029", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(28, "2011331030", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(29, "2011331031", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(30, "2011331032", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(31, "2011331033", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(32, "2011331034", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(33, "2011331035", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(34, "2011331036", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(35, "2011331037", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(36, "2011331039", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(37, "2011331040", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(38, "2011331041", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(39, "2011331042", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(40, "2011331043", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(41, "2011331044", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(42, "2011331045", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(43, "2011331046", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(44, "2011331047", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(45, "2011331048", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(46, "2011331049", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(47, "2011331050", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(48, "2011331051", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(49, "2011331052", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(50, "2011331054", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(51, "2011331055", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(52, "2011331057", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(53, "2011331058", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(54, "2011331059", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(55, "2011331060", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(56, "2011331063", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(57, "2011331064", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(58, "2011331065", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(59, "2011331067", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(60, "2011331068", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(61, "2011331069", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(62, "2011331070", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(63, "2011331071", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(64, "2011331072", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(65, "2011331073", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(66, "2011331074", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(67, "2011331075", "1234", 3, "abc@student.sust.edu");
-- 2012 batch
INSERT INTO user VALUES(68, "2012331002", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(69, "2012331005", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(70, "2012331007", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(71, "2012331008", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(72, "2012331009", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(73, "2012331012", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(74, "2012331013", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(75, "2012331014", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(76, "2012331015", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(77, "2012331016", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(78, "2012331017", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(79, "2012331018", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(80, "2012331019", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(81, "2012331020", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(82, "2012331021", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(83, "2012331022", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(84, "2012331023", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(85, "2012331024", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(86, "2012331025", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(87, "2012331027", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(88, "2012331028", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(89, "2012331029", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(90, "2012331030", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(91, "2012331031", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(92, "2012331033", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(93, "2012331034", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(94, "2012331035", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(95, "2012331036", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(96, "2012331039", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(97, "2012331041", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(98, "2012331042", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(99, "2012331043", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(100, "2012331044", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(101, "2012331045", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(102, "2012331046", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(103, "2012331047", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(104, "2012331048", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(105, "2012331049", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(106, "2012331050", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(107, "2012331051", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(108, "2012331052", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(109, "2012331054", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(110, "2012331055", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(111, "2012331056", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(112, "2012331057", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(113, "2012331058", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(114, "2012331059", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(115, "2012331060", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(116, "2012331061", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(117, "2012331062", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(118, "2012331063", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(119, "2012331064", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(120, "2012331066", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(121, "2012331067", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(122, "2012331068", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(123, "2012331069", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(124, "2012331070", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(125, "2012331071", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(126, "2012331072", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(127, "2012331073", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(128, "2012331074", "1234", 3, "abc@student.sust.edu");
-- batch 2013
INSERT INTO user VALUES(129, "2012331065", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(130, "2013331001", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(131, "2013331002", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(132, "2013331003", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(133, "2013331004", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(134, "2013331005", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(135, "2013331006", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(136, "2013331007", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(137, "2013331008", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(138, "2013331009", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(139, "2013331010", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(140, "2013331011", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(141, "2013331012", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(142, "2013331013", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(143, "2013331014", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(144, "2013331015", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(145, "2013331016", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(146, "2013331017", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(147, "2013331018", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(148, "2013331019", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(149, "2013331020", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(150, "2013331021", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(151, "2013331022", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(152, "2013331023", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(153, "2013331024", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(154, "2013331025", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(155, "2013331026", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(156, "2013331027", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(157, "2013331028", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(158, "2013331029", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(159, "2013331030", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(160, "2013331031", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(161, "2013331032", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(162, "2013331033", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(163, "2013331034", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(164, "2013331035", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(165, "2013331036", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(166, "2013331037", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(167, "2013331038", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(168, "2013331039", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(169, "2013331040", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(170, "2013331041", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(171, "2013331042", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(172, "2013331043", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(173, "2013331044", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(174, "2013331045", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(175, "2013331046", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(176, "2013331047", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(177, "2013331048", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(178, "2013331050", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(179, "2013331051", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(180, "2013331052", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(181, "2013331053", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(182, "2013331054", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(183, "2013331055", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(184, "2013331056", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(185, "2013331057", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(186, "2013331058", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(187, "2013331059", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(188, "2013331060", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(189, "2013331061", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(190, "2013331062", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(191, "2013331063", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(192, "2013331064", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(193, "2013331065", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(194, "2013331067", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(195, "2013331068", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(196, "2013331069", "1234", 3, "abc@student.sust.edu");
--batch 2014
INSERT INTO user VALUES(197, "2014331001", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(198, "2014331002", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(199, "2014331003", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(200, "2014331004", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(201, "2014331006", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(202, "2014331007", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(203, "2014331008", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(204, "2014331009", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(205, "2014331011", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(206, "2014331012", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(207, "2014331013", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(208, "2014331014", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(209, "2014331015", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(210, "2014331020", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(211, "2014331022", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(212, "2014331024", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(213, "2014331025", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(214, "2014331026", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(215, "2014331027", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(216, "2014331029", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(217, "2014331032", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(218, "2014331033", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(219, "2014331034", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(220, "2014331035", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(221, "2014331036", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(222, "2014331037", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(223, "2014331038", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(224, "2014331039", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(225, "2014331040", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(226, "2014331041", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(227, "2014331042", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(228, "2014331043", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(229, "2014331044", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(230, "2014331045", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(231, "2014331046", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(232, "2014331047", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(233, "2014331048", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(234, "2014331049", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(235, "2014331050", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(236, "2014331051", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(237, "2014331052", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(238, "2014331053", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(239, "2014331054", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(240, "2014331055", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(241, "2014331056", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(242, "2014331057", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(243, "2014331058", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(244, "2014331060", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(245, "2014331061", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(246, "2014331062", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(247, "2014331063", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(248, "2014331064", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(249, "2014331065", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(250, "2014331066", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(251, "2014331067", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(252, "2014331068", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(253, "2014331069", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(254, "2014331070", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(255, "2014331071", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(256, "2014331072", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(257, "2014331073", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(258, "2014331074", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(259, "2014331075", "1234", 3, "abc@student.sust.edu");
-- batch 15
INSERT INTO user VALUES(260, "2015331001", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(261, "2015331002", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(262, "2015331003", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(263, "2015331004", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(264, "2015331005", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(265, "2015331006", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(266, "2015331007", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(267, "2015331008", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(268, "2015331009", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(269, "2015331010", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(270, "2015331011", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(271, "2015331012", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(272, "2015331013", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(273, "2015331014", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(274, "2015331015", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(275, "2015331016", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(276, "2015331017", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(277, "2015331018", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(278, "2015331019", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(279, "2015331020", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(280, "2015331021", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(281, "2015331022", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(282, "2015331023", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(283, "2015331024", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(284, "2015331025", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(285, "2015331026", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(286, "2015331027", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(287, "2015331028", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(288, "2015331029", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(289, "2015331030", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(290, "2015331031", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(291, "2015331032", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(292, "2015331033", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(293, "2015331034", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(294, "2015331035", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(295, "2015331036", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(296, "2015331037", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(297, "2015331038", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(298, "2015331039", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(299, "2015331040", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(300, "2015331041", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(301, "2015331042", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(302, "2015331043", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(303, "2015331044", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(304, "2015331045", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(305, "2015331046", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(306, "2015331047", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(307, "2015331048", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(308, "2015331049", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(309, "2015331050", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(310, "2015331051", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(311, "2015331052", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(312, "2015331053", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(313, "2015331054", "1234", 3, "saumik12@student.sust.edu");
INSERT INTO user VALUES(314, "2015331055", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(315, "2015331056", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(316, "2015331057", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(317, "2015331058", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(318, "2015331059", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(319, "2015331060", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(320, "2015331061", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(321, "2015331062", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(322, "2015331063", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(323, "2015331064", "1234", 3, "abc@student.sust.edu");
INSERT INTO user VALUES(324, "2015331065", "1234", 3, "abc@student.sust.edu");
-- Teacher Rest entries
INSERT INTO user VALUES(325, "mzi", "1234", 2, "mzi@sustarchive.com");
INSERT INTO user VALUES(326, "msr", "1234", 2, "msr@sustarchive.com");
INSERT INTO user VALUES(327, "mrs", "1234", 2, "mrs@sustarchive.com");
INSERT INTO user VALUES(328, "mji", "1234", 2, "mji@sustarchive.com");
INSERT INTO user VALUES(329, "mmasum", "1234", 2, "mmasum@sustarchive.com");
INSERT INTO user VALUES(330, "maam", "1234", 2, "maam@sustarchive.com");
INSERT INTO user VALUES(331, "rk", "1234", 2, "rk@sustarchive.com");
INSERT INTO user VALUES(332, "msc", "1234", 2, "msc@sustarchive.com");
INSERT INTO user VALUES(333, "hac", "1234", 2, "hac@sustarchive.com");
INSERT INTO user VALUES(334, "fc", "1234", 2, "fc@sustarchive.com");
INSERT INTO user VALUES(335, "at", "1234", 2, "at@sustarchive.com");
INSERT INTO user VALUES(336, "msi", "1234", 2, "msi@sustarchive.com");
INSERT INTO user VALUES(337, "ss", "1234", 2, "ss@sustarchive.com");
INSERT INTO user VALUES(338, "an", "1234", 2, "an@sustarchive.com");
INSERT INTO user VALUES(339, "mk", "1234", 2, "mk@sustarchive.com");
INSERT INTO user VALUES(340, "fr", "1234", 2, "fr@sustarchive.com");
INSERT INTO user VALUES(341, "mkh", "1234", 2, "mkh@sustarchive.com");
INSERT INTO user VALUES(342, "mra", "1234", 2, "mra@sustarchive.com");
INSERT INTO user VALUES(343, "si", "1234", 2, "si@sustarchive.com");
INSERT INTO user VALUES(344, "aams", "1234", 2, "aams@sustarchive.com");
INSERT INTO user VALUES(345, "ah", "1234", 2, "ah@sustarchive.com");
INSERT INTO user VALUES(346, "anb", "1234", 2, "anb@sustarchive.com");
INSERT INTO user VALUES(347, "dsp", "1234", 2, "dsp@sustarchive.com");
INSERT INTO user VALUES(348, "mej", "1234", 2, "mej@sustarchive.com");
INSERT INTO user VALUES(349, "bpc", "1234", 2, "bpc@sustarchive.com");
INSERT INTO user VALUES(350, "mm", "1234", 2, "mm@sustarchive.com");
-- Student Table
INSERT INTO student VALUES(1, 2011331001, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHEIKH", " SHAFIN MAHMUD", "single", "AB+", "Islam", "1990-01-01", "male", 5);
INSERT INTO student VALUES(2, 2011331002, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"PRANON", " RAHMAN KHAN", "single", "AB+", "Islam", "1990-01-01", "male", 6);
INSERT INTO student VALUES(3, 2011331003, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " AHSAN KABIR", "single", "AB+", "Islam", "1990-01-01", "male", 7);
INSERT INTO student VALUES(4, 2011331004, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SAKHAWAT", " HOSSAIN SAIMON", "single", "AB+", "Islam", "1990-01-01", "male", 8);
INSERT INTO student VALUES(5, 2011331005, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHUVANON", " RAZIK", "single", "AB+", "Islam", "1990-01-01", "male", 9);
INSERT INTO student VALUES(6, 2011331006, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHAMMAD", " FAHIM RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 10);
INSERT INTO student VALUES(7, 2011331007, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ASSADUZZAMAN", "single", "AB+", "Islam", "1990-01-01", "male", 11);
INSERT INTO student VALUES(8, 2011331008, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " HASIN IBTIDA ALAM", "single", "AB+", "Islam", "1990-01-01", "male", 12);
INSERT INTO student VALUES(9, 2011331009, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"BISWAJIT", " DEBNATH", "single", "AB+", "Islam", "1990-01-01", "male", 13);
INSERT INTO student VALUES(10, 2011331012, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHIBBIR", " AHMAD OSMANI", "single", "AB+", "Islam", "1990-01-01", "male", 14);
INSERT INTO student VALUES(11, 2011331013, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " TARIQ HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 15);
INSERT INTO student VALUES(12, 2011331015, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANZIRA", " NAJNIN", "single", "AB+", "Islam", "1990-01-01", "male", 16);
INSERT INTO student VALUES(13, 2011331016, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"KAZI", " EHSAN AZIZ", "single", "AB+", "Islam", "1990-01-01", "male", 17);
INSERT INTO student VALUES(14, 2011331017, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SAKIBUL", " MOWLA", "single", "AB+", "Islam", "1990-01-01", "male", 18);
INSERT INTO student VALUES(15, 2011331018, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHAMMAD", " ASHFAQ- UR- RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 19);
INSERT INTO student VALUES(16, 2011331019, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUMAIYA", " FAHMIDA CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 20);
INSERT INTO student VALUES(17, 2011331021, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RASHIDUL", " HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 21);
INSERT INTO student VALUES(18, 2011331022, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SADMAN", " ABEDIN", "single", "AB+", "Islam", "1990-01-01", "male", 22);
INSERT INTO student VALUES(19, 2011331024, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SIDDARTHA", " MALLICK", "single", "AB+", "Islam", "1990-01-01", "male", 23);
INSERT INTO student VALUES(20, 2011331025, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHAMMAD", " NUR UDDIN", "single", "AB+", "Islam", "1990-01-01", "male", 24);
INSERT INTO student VALUES(21, 2011331026, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOZAMMEL", " HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 25);
INSERT INTO student VALUES(22, 2011331027, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ASRAFUZZAMAN MOLLAH", "single", "AB+", "Islam", "1990-01-01", "male", 26);
INSERT INTO student VALUES(23, 2011331029, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"KHANDOKER", " RAQIBUL HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 27);
INSERT INTO student VALUES(24, 2011331030, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ARIFUR RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 28);
INSERT INTO student VALUES(25, 2011331031, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUBRATA", " NATH", "single", "AB+", "Islam", "1990-01-01", "male", 29);
INSERT INTO student VALUES(26, 2011331032, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"FATEMA", " TABASSUM LIZA", "single", "AB+", "Islam", "1990-01-01", "male", 30);
INSERT INTO student VALUES(27, 2011331033, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUNNY", " CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 31);
INSERT INTO student VALUES(28, 2011331034, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " RUMMAN MAHMUD", "single", "AB+", "Islam", "1990-01-01", "male", 32);
INSERT INTO student VALUES(29, 2011331035, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Arafat", " Bin Hossain", "single", "AB+", "Islam", "1990-01-01", "male", 33);
INSERT INTO student VALUES(30, 2011331036, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"FAZLA", " ELAHI MD. JUBAYER", "single", "AB+", "Islam", "1990-01-01", "male", 34);
INSERT INTO student VALUES(31, 2011331037, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NAYEEM IQUBAL", "single", "AB+", "Islam", "1990-01-01", "male", 35);
INSERT INTO student VALUES(32, 2011331039, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NAJMUZ SAKIB", "single", "AB+", "Islam", "1990-01-01", "male", 36);
INSERT INTO student VALUES(33, 2011331040, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAFI", " ISLAM ARNOB", "single", "AB+", "Islam", "1990-01-01", "male", 37);
INSERT INTO student VALUES(34, 2011331041, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SULAYMAN", "single", "AB+", "Islam", "1990-01-01", "male", 38);
INSERT INTO student VALUES(35, 2011331042, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ANIK", " CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 39);
INSERT INTO student VALUES(36, 2011331043, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SOURAV", " GANGULY", "single", "AB+", "Islam", "1990-01-01", "male", 40);
INSERT INTO student VALUES(37, 2011331044, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MOHAIMINUL ISLAM BHUIYAN", "single", "AB+", "Islam", "1990-01-01", "male", 41);
INSERT INTO student VALUES(38, 2011331045, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " TAIZUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 42);
INSERT INTO student VALUES(39, 2011331046, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MEZANUL", " HOQUE CHY", "single", "AB+", "Islam", "1990-01-01", "male", 43);
INSERT INTO student VALUES(40, 2011331047, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"FAISAL", " AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 44);
INSERT INTO student VALUES(41, 2011331048, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SAJID SHAHRIAR", "single", "AB+", "Islam", "1990-01-01", "male", 45);
INSERT INTO student VALUES(42, 2011331049, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TAHSIN", " RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 46);
INSERT INTO student VALUES(43, 2011331050, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NAEEM", " BIN NASIR", "single", "AB+", "Islam", "1990-01-01", "male", 47);
INSERT INTO student VALUES(44, 2011331051, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ENAMUL", " HASSAN", "single", "AB+", "Islam", "1990-01-01", "male", 48);
INSERT INTO student VALUES(45, 2011331052, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHAMMAD", " SADDAM HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 49);
INSERT INTO student VALUES(46, 2011331054, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SULTANA", " RAZIA", "single", "AB+", "Islam", "1990-01-01", "male", 50);
INSERT INTO student VALUES(47, 2011331055, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " AL- AMIN", "single", "AB+", "Islam", "1990-01-01", "male", 51);
INSERT INTO student VALUES(48, 2011331057, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ARUP", " SARKER", "single", "AB+", "Islam", "1990-01-01", "male", 52);
INSERT INTO student VALUES(49, 2011331058, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MANSUR UDDIN KHAN", "single", "AB+", "Islam", "1990-01-01", "male", 53);
INSERT INTO student VALUES(50, 2011331059, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHAPAN", " DAS UZZAL", "single", "AB+", "Islam", "1990-01-01", "male", 54);
INSERT INTO student VALUES(51, 2011331060, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NURUL WAHED", "single", "AB+", "Islam", "1990-01-01", "male", 55);
INSERT INTO student VALUES(52, 2011331063, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " KHAIRULLAH GAURAB", "single", "AB+", "Islam", "1990-01-01", "male", 56);
INSERT INTO student VALUES(53, 2011331064, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ASHZABIN", " WADUD", "single", "AB+", "Islam", "1990-01-01", "male", 57);
INSERT INTO student VALUES(54, 2011331065, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANVIR", " MAHBUB", "single", "AB+", "Islam", "1990-01-01", "male", 58);
INSERT INTO student VALUES(55, 2011331067, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"KAZI", " SHAMSIL AREFINE", "single", "AB+", "Islam", "1990-01-01", "male", 59);
INSERT INTO student VALUES(56, 2011331068, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Sushen", " Chandra Das", "single", "AB+", "Islam", "1990-01-01", "male", 60);
INSERT INTO student VALUES(57, 2011331069, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Nourin", " Ahmed", "single", "AB+", "Islam", "1990-01-01", "male", 61);
INSERT INTO student VALUES(58, 2011331070, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Arnab", " Gaswami", "single", "AB+", "Islam", "1990-01-01", "male", 62);
INSERT INTO student VALUES(59, 2011331071, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Md.", " Mamun Hossain", "single", "AB+", "Islam", "1990-01-01", "male", 63);
INSERT INTO student VALUES(60, 2011331072, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Evan", " Hossain", "single", "AB+", "Islam", "1990-01-01", "male", 64);
INSERT INTO student VALUES(61, 2011331073, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Syed", " Ikhtiar Ahmed", "single", "AB+", "Islam", "1990-01-01", "male", 65);
INSERT INTO student VALUES(62, 2011331074, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Abdullah-Al-Mosabbir", " ", "single", "AB+", "Islam", "1990-01-01", "male", 66);
INSERT INTO student VALUES(63, 2011331075, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"PRANAB", " SINGHA", "single", "AB+", "Islam", "1990-01-01", "male", 67);
INSERT INTO student VALUES(64, 2012331002, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " TOUHIDUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 68);
INSERT INTO student VALUES(65, 2012331005, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"FARZAD", " BIN FAZLE", "single", "AB+", "Islam", "1990-01-01", "male", 69);
INSERT INTO student VALUES(66, 2012331007, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " TANVEER ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 70);
INSERT INTO student VALUES(67, 2012331008, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ABU TALHA", "single", "AB+", "Islam", "1990-01-01", "male", 71);
INSERT INTO student VALUES(68, 2012331009, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SIKDER", " MOHAMMAD SHAKHAWAT AMIN", "single", "AB+", "Islam", "1990-01-01", "male", 72);
INSERT INTO student VALUES(69, 2012331012, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHARMISHTHA", " DUTTA", "single", "AB+", "Islam", "1990-01-01", "male", 73);
INSERT INTO student VALUES(70, 2012331013, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"BISHWAJIT", " PURKAYSTHA", "single", "AB+", "Islam", "1990-01-01", "male", 74);
INSERT INTO student VALUES(71, 2012331014, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUMMIT", " HAQUE", "single", "AB+", "Islam", "1990-01-01", "male", 75);
INSERT INTO student VALUES(72, 2012331015, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOQSADUR", " RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 76);
INSERT INTO student VALUES(73, 2012331016, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANVIR", " AHAMED NAYEEM", "single", "AB+", "Islam", "1990-01-01", "male", 77);
INSERT INTO student VALUES(74, 2012331017, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"M.", " TAHMID HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 78);
INSERT INTO student VALUES(75, 2012331018, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHAMMAD", " SHADMAN HASHEM", "single", "AB+", "Islam", "1990-01-01", "male", 79);
INSERT INTO student VALUES(76, 2012331019, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUDIPTA", " CHANDRA DAS DIPU", "single", "AB+", "Islam", "1990-01-01", "male", 80);
INSERT INTO student VALUES(77, 2012331020, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAIHAN", " AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 81);
INSERT INTO student VALUES(78, 2012331021, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SHAHED MAMUN", "single", "AB+", "Islam", "1990-01-01", "male", 82);
INSERT INTO student VALUES(79, 2012331022, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " RASEL PARVEJ", "single", "AB+", "Islam", "1990-01-01", "male", 83);
INSERT INTO student VALUES(80, 2012331023, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Mehedi", " Al Hasan", "single", "AB+", "Islam", "1990-01-01", "male", 84);
INSERT INTO student VALUES(81, 2012331024, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NUSRAT", " MUBIN ARA", "single", "AB+", "Islam", "1990-01-01", "male", 85);
INSERT INTO student VALUES(82, 2012331025, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SHARIF SIDDIQUE", "single", "AB+", "Islam", "1990-01-01", "male", 86);
INSERT INTO student VALUES(83, 2012331027, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " KAZI NAYEEM", "single", "AB+", "Islam", "1990-01-01", "male", 87);
INSERT INTO student VALUES(84, 2012331028, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MASIUR", " RAHMAN SIDDIKI", "single", "AB+", "Islam", "1990-01-01", "male", 88);
INSERT INTO student VALUES(85, 2012331029, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " HABIBUR RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 89);
INSERT INTO student VALUES(86, 2012331030, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SYED", " MEHEDI HASAN NIROB", "single", "AB+", "Islam", "1990-01-01", "male", 90);
INSERT INTO student VALUES(87, 2012331031, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SABIK", " SAFKAT", "single", "AB+", "Islam", "1990-01-01", "male", 91);
INSERT INTO student VALUES(88, 2012331033, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"JAHID", " HASAN POLASH", "single", "AB+", "Islam", "1990-01-01", "male", 92);
INSERT INTO student VALUES(89, 2012331034, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NOYMUL", " ISLAM CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 93);
INSERT INTO student VALUES(90, 2012331035, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHAMIM", " EHSAN", "single", "AB+", "Islam", "1990-01-01", "male", 94);
INSERT INTO student VALUES(91, 2012331036, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TAMANNA", " AKTER", "single", "AB+", "Islam", "1990-01-01", "male", 95);
INSERT INTO student VALUES(92, 2012331039, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"OBYDUL", " ISLAM KHAN", "single", "AB+", "Islam", "1990-01-01", "male", 96);
INSERT INTO student VALUES(93, 2012331041, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MUHAIMEEN", " AHMED CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 97);
INSERT INTO student VALUES(94, 2012331042, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MEHNAZ", " TABASSUM", "single", "AB+", "Islam", "1990-01-01", "male", 98);
INSERT INTO student VALUES(95, 2012331043, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RANIT", " DEBNATH AKASH", "single", "AB+", "Islam", "1990-01-01", "male", 99);
INSERT INTO student VALUES(96, 2012331044, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TASMIA", " HOSSAIN ANANYA", "single", "AB+", "Islam", "1990-01-01", "male", 100);
INSERT INTO student VALUES(97, 2012331045, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANJILA", " MAWLA", "single", "AB+", "Islam", "1990-01-01", "male", 101);
INSERT INTO student VALUES(98, 2012331046, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.MAHMUDUN", " NOBI KAKON", "single", "AB+", "Islam", "1990-01-01", "male", 102);
INSERT INTO student VALUES(99, 2012331047, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SOURAV", " BHOWMIK.", "single", "AB+", "Islam", "1990-01-01", "male", 103);
INSERT INTO student VALUES(100, 2012331048, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MITHUN", " DAS", "single", "AB+", "Islam", "1990-01-01", "male", 104);
INSERT INTO student VALUES(101, 2012331049, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MOSHIUR RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 105);
INSERT INTO student VALUES(102, 2012331050, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " WALLY UDDIN", "single", "AB+", "Islam", "1990-01-01", "male", 106);
INSERT INTO student VALUES(103, 2012331051, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"QUAZI", " ISHTIAQUE MAHMUD", "single", "AB+", "Islam", "1990-01-01", "male", 107);
INSERT INTO student VALUES(104, 2012331052, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NOWSHAD HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 108);
INSERT INTO student VALUES(105, 2012331054, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ASIF", " MOHAIMEN", "single", "AB+", "Islam", "1990-01-01", "male", 109);
INSERT INTO student VALUES(106, 2012331055, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.ABDULLAH", " AL-AWAL", "single", "AB+", "Islam", "1990-01-01", "male", 110);
INSERT INTO student VALUES(107, 2012331056, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TAPOS", " DATTA", "single", "AB+", "Islam", "1990-01-01", "male", 111);
INSERT INTO student VALUES(108, 2012331057, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUN", " IBNE SAZZAD", "single", "AB+", "Islam", "1990-01-01", "male", 112);
INSERT INTO student VALUES(109, 2012331058, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MUSTAFIJUR RAHMAN NEBIR", "single", "AB+", "Islam", "1990-01-01", "male", 113);
INSERT INTO student VALUES(110, 2012331059, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " AL-AMIN NOWSHAD", "single", "AB+", "Islam", "1990-01-01", "male", 114);
INSERT INTO student VALUES(111, 2012331060, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHIAM", " CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 115);
INSERT INTO student VALUES(112, 2012331061, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NILOY", " MD. AZAM", "single", "AB+", "Islam", "1990-01-01", "male", 116);
INSERT INTO student VALUES(113, 2012331062, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AYESHA", " SIDDIKA NIPU", "single", "AB+", "Islam", "1990-01-01", "male", 117);
INSERT INTO student VALUES(114, 2012331063, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"URMEE", " PAL", "single", "AB+", "Islam", "1990-01-01", "male", 118);
INSERT INTO student VALUES(115, 2012331064, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"U", " KHYOI NU", "single", "AB+", "Islam", "1990-01-01", "male", 119);
INSERT INTO student VALUES(116, 2012331066, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ASHRAFUL ALAM SUJAN", "single", "AB+", "Islam", "1990-01-01", "male", 120);
INSERT INTO student VALUES(117, 2012331067, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " JILLUR RAHMAN SAURAV", "single", "AB+", "Islam", "1990-01-01", "male", 121);
INSERT INTO student VALUES(118, 2012331068, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SADDAM HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 122);
INSERT INTO student VALUES(119, 2012331069, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"DIPALOKE", " SAHA", "single", "AB+", "Islam", "1990-01-01", "male", 123);
INSERT INTO student VALUES(120, 2012331070, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"DHRUBA", " CHAKRABORTY", "single", "AB+", "Islam", "1990-01-01", "male", 124);
INSERT INTO student VALUES(121, 2012331071, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NISHIKANTO", " SARKAR", "single", "AB+", "Islam", "1990-01-01", "male", 125);
INSERT INTO student VALUES(122, 2012331072, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SADIA", " TASNIM SWARNA", "single", "AB+", "Islam", "1990-01-01", "male", 126);
INSERT INTO student VALUES(123, 2012331073, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ABU HANIFE NAYEM", "single", "AB+", "Islam", "1990-01-01", "male", 127);
INSERT INTO student VALUES(124, 2012331074, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SADI", " MD. TARMIM HOQUE", "single", "AB+", "Islam", "1990-01-01", "male", 128);
INSERT INTO student VALUES(125, 2012331065, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Dhananjoy", " Biswas", "single", "AB+", "Islam", "1990-01-01", "male", 129);
INSERT INTO student VALUES(126, 2013331001, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ADNAN HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 130);
INSERT INTO student VALUES(127, 2013331002, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"LIMON", " MIA", "single", "AB+", "Islam", "1990-01-01", "male", 131);
INSERT INTO student VALUES(128, 2013331003, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SAYED", " MAHMUD AL AMIN", "single", "AB+", "Islam", "1990-01-01", "male", 132);
INSERT INTO student VALUES(129, 2013331004, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOUDUD", " AHMED KHAN", "single", "AB+", "Islam", "1990-01-01", "male", 133);
INSERT INTO student VALUES(130, 2013331005, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAQIBUL", " HASAN RAFI", "single", "AB+", "Islam", "1990-01-01", "male", 134);
INSERT INTO student VALUES(131, 2013331006, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MIR", " NIAZ AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 135);
INSERT INTO student VALUES(132, 2013331007, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SAIFUL", " ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 136);
INSERT INTO student VALUES(133, 2013331008, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ZUBAYER RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 137);
INSERT INTO student VALUES(134, 2013331009, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NISHAT", " TASNIM AHMED MEEM", "single", "AB+", "Islam", "1990-01-01", "male", 138);
INSERT INTO student VALUES(135, 2013331010, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SIFAT", " NAHIYAN", "single", "AB+", "Islam", "1990-01-01", "male", 139);
INSERT INTO student VALUES(136, 2013331011, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ABDUR", " RAZZAK", "single", "AB+", "Islam", "1990-01-01", "male", 140);
INSERT INTO student VALUES(137, 2013331012, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.AHSAN", " SERNIABAT", "single", "AB+", "Islam", "1990-01-01", "male", 141);
INSERT INTO student VALUES(138, 2013331013, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.JAMIL", " AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 142);
INSERT INTO student VALUES(139, 2013331014, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MIR", " RAGIB ISHRAQ", "single", "AB+", "Islam", "1990-01-01", "male", 143);
INSERT INTO student VALUES(140, 2013331015, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MARUF", " AHMED MRIDUL", "single", "AB+", "Islam", "1990-01-01", "male", 144);
INSERT INTO student VALUES(141, 2013331016, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NURUL AZIM", "single", "AB+", "Islam", "1990-01-01", "male", 145);
INSERT INTO student VALUES(142, 2013331017, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ARNAB", " SEN SHARMA", "single", "AB+", "Islam", "1990-01-01", "male", 146);
INSERT INTO student VALUES(143, 2013331018, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SAIFUL ISLAM BHUIYAN", "single", "AB+", "Islam", "1990-01-01", "male", 147);
INSERT INTO student VALUES(144, 2013331019, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"FAISAL", " AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 148);
INSERT INTO student VALUES(145, 2013331020, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.MONTASER", " HAMID", "single", "AB+", "Islam", "1990-01-01", "male", 149);
INSERT INTO student VALUES(146, 2013331021, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SAYF", " UDDIN AL AZAD SAGOR", "single", "AB+", "Islam", "1990-01-01", "male", 150);
INSERT INTO student VALUES(147, 2013331022, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"JEB-UN-NESA", " JAMAL JAME", "single", "AB+", "Islam", "1990-01-01", "male", 151);
INSERT INTO student VALUES(148, 2013331023, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " RUMAN ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 152);
INSERT INTO student VALUES(149, 2013331024, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TALAT", " MURSALIN", "single", "AB+", "Islam", "1990-01-01", "male", 153);
INSERT INTO student VALUES(150, 2013331025, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"PROSENJITH", " ROY SHUVO", "single", "AB+", "Islam", "1990-01-01", "male", 154);
INSERT INTO student VALUES(151, 2013331026, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHADMAN", " HABIB", "single", "AB+", "Islam", "1990-01-01", "male", 155);
INSERT INTO student VALUES(152, 2013331027, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.MINHAZUL", " KABIR", "single", "AB+", "Islam", "1990-01-01", "male", 156);
INSERT INTO student VALUES(153, 2013331028, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MUHAMMAD", " MAHIR HASAN CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 157);
INSERT INTO student VALUES(154, 2013331029, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NAHAR-E-ZOBAIDA", " PAPRY", "single", "AB+", "Islam", "1990-01-01", "male", 158);
INSERT INTO student VALUES(155, 2013331030, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SABRIN", " NOWRIN", "single", "AB+", "Islam", "1990-01-01", "male", 159);
INSERT INTO student VALUES(156, 2013331031, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"IFTE", " ARAF ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 160);
INSERT INTO student VALUES(157, 2013331032, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD", " RAFIKUL ISLAM FARHAD", "single", "AB+", "Islam", "1990-01-01", "male", 161);
INSERT INTO student VALUES(158, 2013331033, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NAFISA", " NOWSHIN", "single", "AB+", "Islam", "1990-01-01", "male", 162);
INSERT INTO student VALUES(159, 2013331034, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"BUDDHA", " CHANDRA BANIK", "single", "AB+", "Islam", "1990-01-01", "male", 163);
INSERT INTO student VALUES(160, 2013331035, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ANWAR HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 164);
INSERT INTO student VALUES(161, 2013331036, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ABHIJEET", " KURI PRITOM", "single", "AB+", "Islam", "1990-01-01", "male", 165);
INSERT INTO student VALUES(162, 2013331037, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"FOWZIA", " YESMIN MUNNI", "single", "AB+", "Islam", "1990-01-01", "male", 166);
INSERT INTO student VALUES(163, 2013331038, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NAZIM UDDIN", "single", "AB+", "Islam", "1990-01-01", "male", 167);
INSERT INTO student VALUES(164, 2013331039, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AMIT", " KUMAR DATTA", "single", "AB+", "Islam", "1990-01-01", "male", 168);
INSERT INTO student VALUES(165, 2013331040, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"KAZI", " SOWKOT HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 169);
INSERT INTO student VALUES(166, 2013331041, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"HAFSA", " AKTHER SAMIA", "single", "AB+", "Islam", "1990-01-01", "male", 170);
INSERT INTO student VALUES(167, 2013331042, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.ALIMUR", " RAZI", "single", "AB+", "Islam", "1990-01-01", "male", 171);
INSERT INTO student VALUES(168, 2013331043, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ASHIK SHAFAYET", "single", "AB+", "Islam", "1990-01-01", "male", 172);
INSERT INTO student VALUES(169, 2013331044, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MUSTAFA ABRAR", "single", "AB+", "Islam", "1990-01-01", "male", 173);
INSERT INTO student VALUES(170, 2013331045, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ZAKIA", " SULTANA RITU", "single", "AB+", "Islam", "1990-01-01", "male", 174);
INSERT INTO student VALUES(171, 2013331046, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ASHRAF", " UDDIN TAFADAR", "single", "AB+", "Islam", "1990-01-01", "male", 175);
INSERT INTO student VALUES(172, 2013331047, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " TOWHIDUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 176);
INSERT INTO student VALUES(173, 2013331048, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ASHIKUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 177);
INSERT INTO student VALUES(174, 2013331050, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " JAKIR HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 178);
INSERT INTO student VALUES(175, 2013331051, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAHUL", " RAFIG", "single", "AB+", "Islam", "1990-01-01", "male", 179);
INSERT INTO student VALUES(176, 2013331052, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " THOUHIDUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 180);
INSERT INTO student VALUES(177, 2013331053, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"S", " M MOTAHARUZZAMAN", "single", "AB+", "Islam", "1990-01-01", "male", 181);
INSERT INTO student VALUES(178, 2013331054, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANVIR", " ALAM", "single", "AB+", "Islam", "1990-01-01", "male", 182);
INSERT INTO student VALUES(179, 2013331055, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SAIKOT", " MAHMUD", "single", "AB+", "Islam", "1990-01-01", "male", 183);
INSERT INTO student VALUES(180, 2013331056, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " RAHAT- UL- AMIN", "single", "AB+", "Islam", "1990-01-01", "male", 184);
INSERT INTO student VALUES(181, 2013331057, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"GAUTAM", " CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 185);
INSERT INTO student VALUES(182, 2013331058, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " HAMIMUL HASAN CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 186);
INSERT INTO student VALUES(183, 2013331059, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD", " NURUL HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 187);
INSERT INTO student VALUES(184, 2013331060, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ALIF AL AMIN", "single", "AB+", "Islam", "1990-01-01", "male", 188);
INSERT INTO student VALUES(185, 2013331061, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " IMTIAZ AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 189);
INSERT INTO student VALUES(186, 2013331062, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " OZAYER ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 190);
INSERT INTO student VALUES(187, 2013331063, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAJESH", " SINGHA", "single", "AB+", "Islam", "1990-01-01", "male", 191);
INSERT INTO student VALUES(188, 2013331064, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHOAIB", " ALAM", "single", "AB+", "Islam", "1990-01-01", "male", 192);
INSERT INTO student VALUES(189, 2013331065, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NITESH", " KHADKA", "single", "AB+", "Islam", "1990-01-01", "male", 193);
INSERT INTO student VALUES(190, 2013331067, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MYDUL HASSAN TARIF", "single", "AB+", "Islam", "1990-01-01", "male", 194);
INSERT INTO student VALUES(191, 2013331068, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ABUL KASHEM", "single", "AB+", "Islam", "1990-01-01", "male", 195);
INSERT INTO student VALUES(192, 2013331069, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AKIDA", " AKTER", "single", "AB+", "Islam", "1990-01-01", "male", 196);
INSERT INTO student VALUES(193, 2014331001, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RIDOY", " AKANDA", "single", "AB+", "Islam", "1990-01-01", "male", 197);
INSERT INTO student VALUES(194, 2014331002, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " FAISAL", "single", "AB+", "Islam", "1990-01-01", "male", 198);
INSERT INTO student VALUES(195, 2014331003, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"KAZI", " SALAY MAHMUD DIPTA", "single", "AB+", "Islam", "1990-01-01", "male", 199);
INSERT INTO student VALUES(196, 2014331004, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ABDUR", " RAZZAK KANAK", "single", "AB+", "Islam", "1990-01-01", "male", 200);
INSERT INTO student VALUES(197, 2014331006, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MALIHA", " TABASSUM", "single", "AB+", "Islam", "1990-01-01", "male", 201);
INSERT INTO student VALUES(198, 2014331007, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAHIMA", " JAHAN MITU", "single", "AB+", "Islam", "1990-01-01", "male", 202);
INSERT INTO student VALUES(199, 2014331008, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MALIHA", " NUSRAT ARPA", "single", "AB+", "Islam", "1990-01-01", "male", 203);
INSERT INTO student VALUES(200, 2014331009, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " FOYAZ RAHMAN AKANDA", "single", "AB+", "Islam", "1990-01-01", "male", 204);
INSERT INTO student VALUES(201, 2014331011, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ABDULLAH", " AZIZ SHARFUDDIN", "single", "AB+", "Islam", "1990-01-01", "male", 205);
INSERT INTO student VALUES(202, 2014331012, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"BULBUL", " ISTEHAQUE", "single", "AB+", "Islam", "1990-01-01", "male", 206);
INSERT INTO student VALUES(203, 2014331013, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MOTAHER HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 207);
INSERT INTO student VALUES(204, 2014331014, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"FARHAN", " REJWAN SHAHREAR", "single", "AB+", "Islam", "1990-01-01", "male", 208);
INSERT INTO student VALUES(205, 2014331015, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " GOLAM AZAM ABBASY", "single", "AB+", "Islam", "1990-01-01", "male", 209);
INSERT INTO student VALUES(206, 2014331020, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NEAMUL", " AHASAN SHOVON", "single", "AB+", "Islam", "1990-01-01", "male", 210);
INSERT INTO student VALUES(207, 2014331022, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"UMME", " SUMAYA JANNAT", "single", "AB+", "Islam", "1990-01-01", "male", 211);
INSERT INTO student VALUES(208, 2014331024, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ZAHID", " HASAN PRANTO", "single", "AB+", "Islam", "1990-01-01", "male", 212);
INSERT INTO student VALUES(209, 2014331025, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SYED", " MD. HASNAYEEN", "single", "AB+", "Islam", "1990-01-01", "male", 213);
INSERT INTO student VALUES(210, 2014331026, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NAFIS TIHAMI", "single", "AB+", "Islam", "1990-01-01", "male", 214);
INSERT INTO student VALUES(211, 2014331027, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"JANNATUL", " FERDOUS TULI", "single", "AB+", "Islam", "1990-01-01", "male", 215);
INSERT INTO student VALUES(212, 2014331029, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"A.F.M.KAMRUZZAMAN", " ", "single", "AB+", "Islam", "1990-01-01", "male", 216);
INSERT INTO student VALUES(213, 2014331032, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RUPASREE", " DEY", "single", "AB+", "Islam", "1990-01-01", "male", 217);
INSERT INTO student VALUES(214, 2014331033, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SADIA", " YEASMIN", "single", "AB+", "Islam", "1990-01-01", "male", 218);
INSERT INTO student VALUES(215, 2014331034, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NAZMUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 219);
INSERT INTO student VALUES(216, 2014331035, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MINHAZ", " MUKTADIR", "single", "AB+", "Islam", "1990-01-01", "male", 220);
INSERT INTO student VALUES(217, 2014331036, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AHMED", " YUNUS", "single", "AB+", "Islam", "1990-01-01", "male", 221);
INSERT INTO student VALUES(218, 2014331037, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MIRZA", " KAMRUL BASHAR SHUHAN", "single", "AB+", "Islam", "1990-01-01", "male", 222);
INSERT INTO student VALUES(219, 2014331038, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHAMMAD", " MAIZIED HASAN MAJUMDER", "single", "AB+", "Islam", "1990-01-01", "male", 223);
INSERT INTO student VALUES(220, 2014331039, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SOURAV", " SARKER", "single", "AB+", "Islam", "1990-01-01", "male", 224);
INSERT INTO student VALUES(221, 2014331040, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"YEASIR", " AFSAR", "single", "AB+", "Islam", "1990-01-01", "male", 225);
INSERT INTO student VALUES(222, 2014331041, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANMOY", " BIPRO DAS", "single", "AB+", "Islam", "1990-01-01", "male", 226);
INSERT INTO student VALUES(223, 2014331042, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ARIF", " AKMAL", "single", "AB+", "Islam", "1990-01-01", "male", 227);
INSERT INTO student VALUES(224, 2014331043, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ASIF", " MAHMUD", "single", "AB+", "Islam", "1990-01-01", "male", 228);
INSERT INTO student VALUES(225, 2014331044, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " REZAUL ISLAM CHOWDHURY", "single", "AB+", "Islam", "1990-01-01", "male", 229);
INSERT INTO student VALUES(226, 2014331045, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ARIFUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 230);
INSERT INTO student VALUES(227, 2014331046, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " YUSUF ALI", "single", "AB+", "Islam", "1990-01-01", "male", 231);
INSERT INTO student VALUES(228, 2014331047, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOZUMDER", " YEASIN AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 232);
INSERT INTO student VALUES(229, 2014331048, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHEHAB", " AHMED SAYEM", "single", "AB+", "Islam", "1990-01-01", "male", 233);
INSERT INTO student VALUES(230, 2014331049, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MEHADI HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 234);
INSERT INTO student VALUES(231, 2014331050, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUJOY", " NATH", "single", "AB+", "Islam", "1990-01-01", "male", 235);
INSERT INTO student VALUES(232, 2014331051, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"DIN", " MOHAMMAD OBAYDUL", "single", "AB+", "Islam", "1990-01-01", "male", 236);
INSERT INTO student VALUES(233, 2014331052, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MIRZA", " MEHRAB UDDIN", "single", "AB+", "Islam", "1990-01-01", "male", 237);
INSERT INTO student VALUES(234, 2014331053, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ABID-IBN-RAHMAN", " AKASH", "single", "AB+", "Islam", "1990-01-01", "male", 238);
INSERT INTO student VALUES(235, 2014331054, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHAMMAD", " BAYEED HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 239);
INSERT INTO student VALUES(236, 2014331055, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MONIRUZZAMAN", "single", "AB+", "Islam", "1990-01-01", "male", 240);
INSERT INTO student VALUES(237, 2014331056, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"DIBYENDU", " DEBNATH", "single", "AB+", "Islam", "1990-01-01", "male", 241);
INSERT INTO student VALUES(238, 2014331057, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANVIR", " ALAM NIBIR", "single", "AB+", "Islam", "1990-01-01", "male", 242);
INSERT INTO student VALUES(239, 2014331058, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MUSFIQUR", " RAHMAN CHISTY", "single", "AB+", "Islam", "1990-01-01", "male", 243);
INSERT INTO student VALUES(240, 2014331060, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " AZIZUL HAQUE IMON", "single", "AB+", "Islam", "1990-01-01", "male", 244);
INSERT INTO student VALUES(241, 2014331061, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Hemayet", " Ahmed Chowdhury", "single", "AB+", "Islam", "1990-01-01", "male", 245);
INSERT INTO student VALUES(242, 2014331062, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ALIM AL SAJIB", "single", "AB+", "Islam", "1990-01-01", "male", 246);
INSERT INTO student VALUES(243, 2014331063, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SHAMSUL ARAFIN MAHTAB", "single", "AB+", "Islam", "1990-01-01", "male", 247);
INSERT INTO student VALUES(244, 2014331064, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MONG", " TING WONG MARMA", "single", "AB+", "Islam", "1990-01-01", "male", 248);
INSERT INTO student VALUES(245, 2014331065, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SYEDA", " TAMANNA ALAM MONISHA", "single", "AB+", "Islam", "1990-01-01", "male", 249);
INSERT INTO student VALUES(246, 2014331066, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Tahsin", " Ferdousi", "single", "AB+", "Islam", "1990-01-01", "male", 250);
INSERT INTO student VALUES(247, 2014331067, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Hiba", " Mohammad Noor", "single", "AB+", "Islam", "1990-01-01", "male", 251);
INSERT INTO student VALUES(248, 2014331068, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SADIA", " AFRIN KHAN", "single", "AB+", "Islam", "1990-01-01", "male", 252);
INSERT INTO student VALUES(249, 2014331069, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 253);
INSERT INTO student VALUES(250, 2014331070, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHADAT", " MUFAKHKHAR TONMOY", "single", "AB+", "Islam", "1990-01-01", "male", 254);
INSERT INTO student VALUES(251, 2014331071, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SARWAR", " HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 255);
INSERT INTO student VALUES(252, 2014331072, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SHAHNUR ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 256);
INSERT INTO student VALUES(253, 2014331073, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NAYEM", " HASAN APU", "single", "AB+", "Islam", "1990-01-01", "male", 257);
INSERT INTO student VALUES(254, 2014331074, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MUHAMMAD", " SHAKIB JAHAN", "single", "AB+", "Islam", "1990-01-01", "male", 258);
INSERT INTO student VALUES(255, 2014331075, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MARUFUL ALAM", "single", "AB+", "Islam", "1990-01-01", "male", 259);
INSERT INTO student VALUES(256, 2015331001, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"DOLAN", " BAIRAGI", "single", "AB+", "Islam", "1990-01-01", "male", 260);
INSERT INTO student VALUES(257, 2015331002, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"A.K.M.FAKHRUL", " HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 261);
INSERT INTO student VALUES(258, 2015331003, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AREFIN", " NIAM", "single", "AB+", "Islam", "1990-01-01", "male", 262);
INSERT INTO student VALUES(259, 2015331004, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " AHSAN UDDIN SHATIL", "single", "AB+", "Islam", "1990-01-01", "male", 263);
INSERT INTO student VALUES(260, 2015331005, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"OVISHEK", " PAUL", "single", "AB+", "Islam", "1990-01-01", "male", 264);
INSERT INTO student VALUES(261, 2015331006, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ANIK", " BISWAS SHUVO", "single", "AB+", "Islam", "1990-01-01", "male", 265);
INSERT INTO student VALUES(262, 2015331007, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.OMUR", " FARUQUE", "single", "AB+", "Islam", "1990-01-01", "male", 266);
INSERT INTO student VALUES(263, 2015331008, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHAHRIAR-SHOVON", " ", "single", "AB+", "Islam", "1990-01-01", "male", 267);
INSERT INTO student VALUES(264, 2015331009, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NAYEEM", " EHTESHAM", "single", "AB+", "Islam", "1990-01-01", "male", 268);
INSERT INTO student VALUES(265, 2015331010, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAJAN", " SAHA RAJU", "single", "AB+", "Islam", "1990-01-01", "male", 269);
INSERT INTO student VALUES(266, 2015331011, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"PARTHA", " PROTIM DAS", "single", "AB+", "Islam", "1990-01-01", "male", 270);
INSERT INTO student VALUES(267, 2015331012, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"PRITHWIRAJ", " BHATTACHARJEE", "single", "AB+", "Islam", "1990-01-01", "male", 271);
INSERT INTO student VALUES(268, 2015331013, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"JAMIMA", " SULTANA", "single", "AB+", "Islam", "1990-01-01", "male", 272);
INSERT INTO student VALUES(269, 2015331014, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SK.", " IFTEKHAR ALAM", "single", "AB+", "Islam", "1990-01-01", "male", 273);
INSERT INTO student VALUES(270, 2015331015, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ANWER HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 274);
INSERT INTO student VALUES(271, 2015331016, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AVIJIT", " DAS", "single", "AB+", "Islam", "1990-01-01", "male", 275);
INSERT INTO student VALUES(272, 2015331017, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NAZMUS SAKIB", "single", "AB+", "Islam", "1990-01-01", "male", 276);
INSERT INTO student VALUES(273, 2015331018, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ALFA", " SUNNY", "single", "AB+", "Islam", "1990-01-01", "male", 277);
INSERT INTO student VALUES(274, 2015331019, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SRISTY", " SANGSKRITI", "single", "AB+", "Islam", "1990-01-01", "male", 278);
INSERT INTO student VALUES(275, 2015331020, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ASHIKUL ALAM", "single", "AB+", "Islam", "1990-01-01", "male", 279);
INSERT INTO student VALUES(276, 2015331021, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " RAHAT MIA", "single", "AB+", "Islam", "1990-01-01", "male", 280);
INSERT INTO student VALUES(277, 2015331022, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"PROTIK", " NAG", "single", "AB+", "Islam", "1990-01-01", "male", 281);
INSERT INTO student VALUES(278, 2015331023, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ANAM", " IBNA HARUN", "single", "AB+", "Islam", "1990-01-01", "male", 282);
INSERT INTO student VALUES(279, 2015331024, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SAROWAR", " HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 283);
INSERT INTO student VALUES(280, 2015331025, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"TANMOY", " KRISHNA DAS", "single", "AB+", "Islam", "1990-01-01", "male", 284);
INSERT INTO student VALUES(281, 2015331026, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AVI", " MALLICK", "single", "AB+", "Islam", "1990-01-01", "male", 285);
INSERT INTO student VALUES(282, 2015331027, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MAHFUZ", " AHMED MASUM", "single", "AB+", "Islam", "1990-01-01", "male", 286);
INSERT INTO student VALUES(283, 2015331028, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ANISUR", " RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 287);
INSERT INTO student VALUES(284, 2015331029, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHISHIR", " ROY", "single", "AB+", "Islam", "1990-01-01", "male", 288);
INSERT INTO student VALUES(285, 2015331030, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " NAZMUL HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 289);
INSERT INTO student VALUES(286, 2015331031, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHABIKUN", " NAHAR", "single", "AB+", "Islam", "1990-01-01", "male", 290);
INSERT INTO student VALUES(287, 2015331032, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " MONIRUL ISLAM", "single", "AB+", "Islam", "1990-01-01", "male", 291);
INSERT INTO student VALUES(288, 2015331033, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"RAIHAN", " KABIR FAHIM", "single", "AB+", "Islam", "1990-01-01", "male", 292);
INSERT INTO student VALUES(289, 2015331034, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AHNAF", " MOZIB SAMIN", "single", "AB+", "Islam", "1990-01-01", "male", 293);
INSERT INTO student VALUES(290, 2015331035, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHUVONGKAR", " ROY", "single", "AB+", "Islam", "1990-01-01", "male", 294);
INSERT INTO student VALUES(291, 2015331036, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " SUMAN HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 295);
INSERT INTO student VALUES(292, 2015331037, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ZOBAER HOSSAIN", "single", "AB+", "Islam", "1990-01-01", "male", 296);
INSERT INTO student VALUES(293, 2015331038, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"YEAHEA", " HOQUE", "single", "AB+", "Islam", "1990-01-01", "male", 297);
INSERT INTO student VALUES(294, 2015331039, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AUNDRILA", " ACHARJEE", "single", "AB+", "Islam", "1990-01-01", "male", 298);
INSERT INTO student VALUES(295, 2015331040, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"LUBNA", " HAQUE", "single", "AB+", "Islam", "1990-01-01", "male", 299);
INSERT INTO student VALUES(296, 2015331041, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " OMAR HASAN", "single", "AB+", "Islam", "1990-01-01", "male", 300);
INSERT INTO student VALUES(297, 2015331042, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AISHA", " KHATUN", "single", "AB+", "Islam", "1990-01-01", "male", 301);
INSERT INTO student VALUES(298, 2015331043, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"JANNATUL", " HOMYRA", "single", "AB+", "Islam", "1990-01-01", "male", 302);
INSERT INTO student VALUES(299, 2015331044, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHEIKH", " JUNAYED AHMED", "single", "AB+", "Islam", "1990-01-01", "male", 303);
INSERT INTO student VALUES(300, 2015331045, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"HUMAYUN", " RASHID KABBYA", "single", "AB+", "Islam", "1990-01-01", "male", 304);
INSERT INTO student VALUES(301, 2015331046, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " HABIBUR RAHAMAN EMON", "single", "AB+", "Islam", "1990-01-01", "male", 305);
INSERT INTO student VALUES(302, 2015331047, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"NAZNIN", " HAQUE", "single", "AB+", "Islam", "1990-01-01", "male", 306);
INSERT INTO student VALUES(303, 2015331048, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MEHEDI", " HASAN PALASH", "single", "AB+", "Islam", "1990-01-01", "male", 307);
INSERT INTO student VALUES(304, 2015331049, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MST.KAMRUNNAHAR", " KONA", "single", "AB+", "Islam", "1990-01-01", "male", 308);
INSERT INTO student VALUES(305, 2015331050, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ABU JOBAYER SARKAR", "single", "AB+", "Islam", "1990-01-01", "male", 309);
INSERT INTO student VALUES(306, 2015331051, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"Tapan", " Basak", "single", "AB+", "Islam", "1990-01-01", "male", 310);
INSERT INTO student VALUES(307, 2015331052, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MERAJATUL", " FERDAUS", "single", "AB+", "Islam", "1990-01-01", "male", 311);
INSERT INTO student VALUES(308, 2015331053, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ROMANA", " MAHJABIN ESHITA", "single", "AB+", "Islam", "1990-01-01", "male", 312);
INSERT INTO student VALUES(309, 2015331054, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " ASHRAFUL RAHMAN", "single", "AB+", "Islam", "1990-01-01", "male", 313);
INSERT INTO student VALUES(310, 2015331055, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"AKASH", " SAHA", "single", "AB+", "Islam", "1990-01-01", "male", 314);
INSERT INTO student VALUES(311, 2015331056, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MOHSINA", " JANNAT", "single", "AB+", "Islam", "1990-01-01", "male", 315);
INSERT INTO student VALUES(312, 2015331057, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " HUMAYON KOBIR", "single", "AB+", "Islam", "1990-01-01", "male", 316);
INSERT INTO student VALUES(313, 2015331058, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"DAYAMOY", " DATTA SAIKAT", "single", "AB+", "Islam", "1990-01-01", "male", 317);
INSERT INTO student VALUES(314, 2015331059, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " AKHTER- UZ- ZAMAN ASHIK", "single", "AB+", "Islam", "1990-01-01", "male", 318);
INSERT INTO student VALUES(315, 2015331060, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MD.", " JANNATUL ASHIK ARMAN", "single", "AB+", "Islam", "1990-01-01", "male", 319);
INSERT INTO student VALUES(316, 2015331061, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"IFTEHER", " ALOM", "single", "AB+", "Islam", "1990-01-01", "male", 320);
INSERT INTO student VALUES(317, 2015331062, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SHOUVIK", " ROY", "single", "AB+", "Islam", "1990-01-01", "male", 321);
INSERT INTO student VALUES(318, 2015331063, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"SUMIT", " SINGHA", "single", "AB+", "Islam", "1990-01-01", "male", 322);
INSERT INTO student VALUES(319, 2015331064, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"ROUSHNI", " RAFA MAJUMDER", "single", "AB+", "Islam", "1990-01-01", "male", 323);
INSERT INTO student VALUES(320, 2015331065, "abc@student.sust.edu", 1, "+8809999999999", "Unknown",
"MAHBUBUL", " HOQUE SIDDIQUE", "single", "AB+", "Islam", "1990-01-01", "male", 324);
INSERT INTO course VALUES(1, "CSE 300", "Project 300", 2.0, 6, 2011, "1", "1");
INSERT INTO course VALUES(2, "CSE 361", "Networking", 3.0, 6, 2011, "1", "1");
INSERT INTO course VALUES(3, "CSE 331", "Software Engineering", 3.0, 6, 2011, "1", "1");
-- all students registered for CSE 300
INSERT INTO course_registration VALUES(1, 1, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(2, 2, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(3, 3, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(4, 4, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(5, 5, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(6, 6, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(7, 7, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(8, 8, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(9, 9, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(10, 10, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(11, 11, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(12, 12, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(13, 13, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(14, 14, 1, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(15, 15, 1, true, 0.0, 0.0);
-- all students registered for CSE 361
INSERT INTO course_registration VALUES(16, 1, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(17, 2, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(18, 3, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(19, 4, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(20, 5, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(21, 6, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(22, 7, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(23, 8, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(24, 9, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(25, 10, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(26, 11, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(27, 12, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(28, 13, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(29, 14, 2, true, 0.0, 0.0);
INSERT INTO course_registration VALUES(30, 15, 2, true, 0.0, 0.0);
INSERT INTO designation VALUES(1, "Professor", "No description available");
INSERT INTO designation VALUES(2, "Associate Professor", "No description available");
INSERT INTO designation VALUES(3, "Assistant Professor", "No description available");
INSERT INTO designation VALUES(4, "Lecturer", "No description available");
-- Teacher
INSERT INTO teacher VALUES(1, "SKN", 1, 4, true, "sknabil@sustarchive.com", true, 2);
INSERT INTO teacher VALUES(2, "MSI", 1, 3, true, "sabir_ismail@sustarchive.com", true, 3);
INSERT INTO teacher VALUES(3, "ERM", 1, 3, true, "eamin_rahman@sustarchive.com", true, 4);
INSERT INTO teacher VALUES(4, "mzi", 1, 1, true, "mzi@sustarchive.com", true, 325);
INSERT INTO teacher VALUES(5, "msr", 1, 1, true, "msr@sustarchive.com", true, 326);
INSERT INTO teacher VALUES(6, "mrs", 1, 1, true, "mrs@sustarchive.com", true, 327);
INSERT INTO teacher VALUES(7, "mji", 1, 1, true, "mji@sustarchive.com", true, 328);
INSERT INTO teacher VALUES(8, "mmasum", 1, 2, true, "mmasum@sustarchive.com", true, 329);
INSERT INTO teacher VALUES(9, "maam", 1, 2, true, "maam@sustarchive.com", true, 330);
INSERT INTO teacher VALUES(10, "rk", 1, 2, true, "rk@sustarchive.com", true, 331);
INSERT INTO teacher VALUES(11, "msc", 1, 3, true, "msc@sustarchive.com", true, 332);
INSERT INTO teacher VALUES(12, "hac", 1, 3, true, "hac@sustarchive.com", true, 333);
INSERT INTO teacher VALUES(13, "fc", 1, 3, true, "fc@sustarchive.com", true, 334);
INSERT INTO teacher VALUES(14, "at", 1, 3, true, "at@sustarchive.com", true, 335);
INSERT INTO teacher VALUES(15, "msaiful", 1, 3, true, "msi@sustarchive.com", true, 336);
INSERT INTO teacher VALUES(16, "ss", 1, 3, true, "ss@sustarchive.com", true, 337);
INSERT INTO teacher VALUES(17, "an", 1, 3, true, "an@sustarchive.com", true, 338);
INSERT INTO teacher VALUES(18, "mk", 1, 3, true, "mk@sustarchive.com", true, 339);
INSERT INTO teacher VALUES(19, "fr", 1, 3, true, "fr@sustarchive.com", true, 340);
INSERT INTO teacher VALUES(20, "mkh", 1, 3, true, "mkh@sustarchive.com", true, 341);
INSERT INTO teacher VALUES(21, "mra", 1, 3, true, "mra@sustarchive.com", true, 342);
INSERT INTO teacher VALUES(22, "si", 1, 3, true, "si@sustarchive.com", true, 343);
INSERT INTO teacher VALUES(23, "aams", 1, 3, true, "aams@sustarchive.com", true, 344);
INSERT INTO teacher VALUES(24, "ah", 1, 3, true, "ah@sustarchive.com", true, 345);
INSERT INTO teacher VALUES(25, "anb", 1, 3, true, "anb@sustarchive.com", true, 346);
INSERT INTO teacher VALUES(26, "dsp", 1, 3, true, "dsp@sustarchive.com", true, 347);
INSERT INTO teacher VALUES(27, "mej", 1, 4, true, "mej@sustarchive.com", true, 348);
INSERT INTO teacher VALUES(28, "bpc", 1, 4, true, "bpc@sustarchive.com", true, 349);
INSERT INTO teacher VALUES(29, "mm", 1, 4, true, "mm@sustarchive.com", true, 350);
INSERT INTO `teaches` (`teaches_id`,`course_id`,`instructor_id`) VALUES (1,24,1);
INSERT INTO exam VALUES(1, 1, 1, "2014-12-01", "2014-12-15", "2014-11-01", "2014-11-25");
INSERT INTO exam_committee VALUES(1, 1, 2011, 6, 1, "2014-07-01", "2014-12-31");
INSERT INTO task_type VALUES(1, "Assignment");
INSERT INTO task_type VALUES(2, "Project");
INSERT INTO task_type VALUES(3, "Thesis");
|
CREATE DATABASE Agenda
USE Agenda
CREATE TABLE Usuario(
id int primary key identity(1,1),
usuario varchar(30),
password varchar(30)
)
CREATE UNIQUE INDEX IDX_Usuario on usuario(usuario)
CREATE TABLE Agenda(
id int primary key identity,
idUsuario int,
nombreContacto varchar(50),
telefono varchar(15),
email varchar(60),
direccion varchar(70)
)
ALTER TABLE Agenda ADD CONSTRAINT FK_idUSUARIO FOREIGN KEY (idUsuario) REFERENCES Usuario(id)
insert into usuario VALUES ('manito@gmail.com','123456')
insert into usuario VALUES ('usuario@gmail.com','usuario')
SELECT * FROM Usuario
SELECT * FROM Agenda
INSERT INTO Agenda VALUES (1,'Gouri Ramirez','829-546-8509','g.ramirez159@gmail.com','Mi direccion de Cache')
INSERT INTO Agenda VALUES (2,'Luis Daniel','809-597-4259','20175184@itla.edu.do','Mi direccion Bonita para web')
INSERT INTO Agenda VALUES (1,'Willis Polanco','829-132-6547','wpolanco@itla.edu.do','Direccion de Wilis')
DELETE FROM usuario WHERE id >2 |
CREATE Procedure sp_save_SchemeAbstract_Pidilite
(@SCHEMENAME NVARCHAR (255),
@SCHEMETYPE INT,
@VALIDFROM DATETIME ,
@VALIDTO DATETIME,
@PROMPTONLY INT,
@MESSAGE NVARCHAR(255),
@DESCRIPTION NVARCHAR(255),
@SECONDARYSCHEME INT,
@HASSLABS int = 1,
@BudgetAmt Decimal(18,6) = 0,
@Customer int = 0,
@HappyScheme Integer = 0 ,
@FromHour DateTime = '',
@ToHour DateTime = '',
@FromWeekDay Integer = 0,
@ToWeekDay Integer = 0,
@FromDayMonth Integer = 0,
@ToDayMonth Integer = 0,
@ApplyOn Integer = null,
@PaymentMode nvarchar(255)=N''
)
AS
if @ApplyOn =0 or @ApplyOn =1
Begin
Insert into Schemes
(SchemeName,
SchemeType,
validFrom,
ValidTo,
PromptOnly,
Message,
SchemeDescription,
HasSlabs,
SecondaryScheme,
BudgetedAmount,
Customer,
HappyScheme ,
FromHour ,
ToHour ,
FromWeekDay ,
ToWeekDay ,
FromDayMonth,
ToDayMonth,
PaymentMode ,
ApplyOn)
values
(@SCHEMENAME,
@SCHEMETYPE,
@VALIDFROM,
@VALIDTO,
@PROMPTONLY,
@MESSAGE,
@DESCRIPTION,
@HASSLABS,
@SECONDARYSCHEME,
@BudgetAmt,
@Customer,
@HappyScheme ,
@FromHour ,
@ToHour ,
@FromWeekDay ,
@ToWeekDay ,
@FromDayMonth,
@ToDayMonth,
@PaymentMode,
@ApplyOn)
end
else
Begin
Insert into Schemes
(SchemeName,
SchemeType,
validFrom,
ValidTo,
PromptOnly,
Message,
SchemeDescription,
HasSlabs,
SecondaryScheme,
BudgetedAmount,
Customer,
HappyScheme ,
FromHour ,
ToHour ,
FromWeekDay ,
ToWeekDay ,
FromDayMonth,
ToDayMonth,
PaymentMode)
values
(@SCHEMENAME,
@SCHEMETYPE,
@VALIDFROM,
@VALIDTO,
@PROMPTONLY,
@MESSAGE,
@DESCRIPTION,
@HASSLABS,
@SECONDARYSCHEME,
@BudgetAmt,
@Customer,
@HappyScheme ,
@FromHour ,
@ToHour ,
@FromWeekDay ,
@ToWeekDay ,
@FromDayMonth,
@ToDayMonth,
@PaymentMode)
end
Select @@Identity
|
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1:3306
-- Généré le : lun. 28 sep. 2020 à 14:02
-- Version du serveur : 5.7.26
-- Version de PHP : 7.2.18
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de données : `ecole`
--
-- --------------------------------------------------------
--
-- Structure de la table `compte`
--
DROP TABLE IF EXISTS `compte`;
CREATE TABLE IF NOT EXISTS `compte` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(40) COLLATE utf8_bin NOT NULL,
`prenom` varchar(40) COLLATE utf8_bin NOT NULL,
`email` varchar(40) COLLATE utf8_bin NOT NULL,
`mdp` varchar(60) COLLATE utf8_bin NOT NULL,
`role` varchar(40) COLLATE utf8_bin NOT NULL DEFAULT 'user',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Déchargement des données de la table `compte`
--
INSERT INTO `compte` (`id`, `nom`, `prenom`, `email`, `mdp`, `role`) VALUES
(1, 'a', 'a', 'a@a', '86f7e437faa5a7fce15d1ddcb9eaeaea377667b8', 'user'),
(2, 'i', 'i', 'i@i', '042dc4512fa3d391c5170cf3aa61e6a638f84342', 'user');
-- --------------------------------------------------------
--
-- Structure de la table `prof`
--
DROP TABLE IF EXISTS `prof`;
CREATE TABLE IF NOT EXISTS `prof` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`nom` varchar(30) NOT NULL,
`mdp` varchar(30) NOT NULL,
`prenom` varchar(30) NOT NULL,
`classe p` varchar(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
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 */;
|
alter session set nls_date_format = 'RR-MM-DD'
/
alter session set nls_date_language = 'JAPANESE'
/
SELECT TO_DATE(20110101)
FROM dual
/
|
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 24, 2016 at 11:57 AM
-- Server version: 5.5.35-1ubuntu1
-- PHP Version: 5.5.9-1ubuntu4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `health_centre`
--
-- --------------------------------------------------------
--
-- Table structure for table `consultation`
--
CREATE TABLE IF NOT EXISTS `consultation` (
`PatientId` varchar(11) NOT NULL,
`Dependent` varchar(255) NOT NULL,
`Date` date NOT NULL,
`Cause` varchar(255) NOT NULL,
`MedicineName` varchar(255) NOT NULL,
`Timings` varchar(25) NOT NULL,
`NoOfDays` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `consultation`
--
INSERT INTO `consultation` (`PatientId`, `Dependent`, `Date`, `Cause`, `MedicineName`, `Timings`, `NoOfDays`) VALUES
('b120381cs', 'mom', '2015-05-01', 'fever', 'paracetamol', '1-0-1', 10),
('b120381cs', 'mom', '2015-05-01', 'fever', 'deuterox-591', '1-1-1', 2),
('b120381cs', '', '2015-05-01', 'vomiting', 'haley-11', '3-3-0', 12),
('b120806cs', '', '2015-05-01', 'dry skin', 'nivea', '0-0-1', 100),
('b120806cs', '', '2015-05-01', 'tooth ache', 'pain killer', '1-1-1', 3),
('b120806cs', '', '2015-05-01', 'tooth ache', 'deuterox-591', '9-9-9', 20),
('b120806cs', '', '2015-05-01', 'tooth ache', 'deuterox-591', '9-9-9', 10),
('b120806cs', '', '2015-05-01', 'fever', 'paracetamol', '1-1-1', 2);
-- --------------------------------------------------------
--
-- Table structure for table `Medical_Certificate`
--
CREATE TABLE IF NOT EXISTS `Medical_Certificate` (
`CftNo` int(15) NOT NULL,
`IssueDate` date NOT NULL,
`Name` varchar(255) NOT NULL,
`PatientType` varchar(255) NOT NULL DEFAULT 'Student',
`RollNo` varchar(255) NOT NULL,
`Dependent` varchar(255) NOT NULL,
`FromDate` date NOT NULL,
`NoOfDays` int(4) NOT NULL,
`Cause` varchar(1000) NOT NULL,
`Doctor` varchar(255) NOT NULL,
PRIMARY KEY (`CftNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `Medical_Certificate`
--
INSERT INTO `Medical_Certificate` (`CftNo`, `IssueDate`, `Name`, `PatientType`, `RollNo`, `Dependent`, `FromDate`, `NoOfDays`, `Cause`, `Doctor`) VALUES
(1, '2015-05-05', 'asif muhammad', 'student', 'b120381cs', '', '2015-05-05', 10, 'vomiting', 'dr. sankar'),
(2, '2015-04-27', 'asif muhammad', 'student', 'b120381cs', 'mom', '2015-05-14', 2, 'fever', 'dr. akbar'),
(3, '2015-05-05', 'Vishal Peter', 'student', 'b120806cs', '', '2015-05-05', 23, 'yyy', 'dr.akbar'),
(4, '2015-05-01', 'Vishal Peter', 'Student', 'B120806CS', 'Asif Muhammad', '2015-05-01', 2, 'Cough', 'AA Celine'),
(5, '2015-05-05', 'Abhijith K A', 'Student', 'B120771CS', '', '2015-05-01', 20, 'Viral Fever', 'AA Celine'),
(6, '2015-04-28', 'b', 'Student', '1234', 'b', '2015-05-02', 20, 'Cancer', 'Shiva Sundar'),
(7, '2015-05-12', 'b', 'Faculty', '1234', 'b', '2015-05-02', 2, 'Whooping Cough', 'Sankar Lal'),
(8, '2015-05-03', 'Abhijith K A', 'Student', 'b120771cs', '', '2015-05-03', 20, 'Cold', 'AA Celine');
-- --------------------------------------------------------
--
-- Table structure for table `medicine_stock`
--
CREATE TABLE IF NOT EXISTS `medicine_stock` (
`Date` date NOT NULL,
`BillNo` varchar(255) NOT NULL,
`RecievedFrom` varchar(255) NOT NULL,
`MedicineName` varchar(255) NOT NULL,
`BatchNo` varchar(255) NOT NULL,
`Expiry` date NOT NULL,
`Qty` int(11) NOT NULL,
`Cost` float NOT NULL,
PRIMARY KEY (`MedicineName`,`BatchNo`),
KEY `Medicine Name` (`MedicineName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `medicine_stock`
--
INSERT INTO `medicine_stock` (`Date`, `BillNo`, `RecievedFrom`, `MedicineName`, `BatchNo`, `Expiry`, `Qty`, `Cost`) VALUES
('2015-01-06', '3453', '343', '2343', '234', '2015-02-09', 234, 234),
('2014-08-13', 'fe43', 'fadsf', 'fasdf', 'fadsf', '2016-02-09', 34, 5435),
('2015-02-18', 'gfd', 'sdfsd', 'fds', 'faf', '2015-02-12', 34, 3454),
('2015-02-02', '354354', 'dafdf', 'gafg', '3453', '2016-02-25', 43, 222);
-- --------------------------------------------------------
--
-- Table structure for table `patient`
--
CREATE TABLE IF NOT EXISTS `patient` (
`Patient_Id` varchar(11) NOT NULL,
`Name` varchar(255) NOT NULL,
`Dependent` varchar(255) NOT NULL DEFAULT '',
`Sex` varchar(255) NOT NULL,
`Age` int(11) DEFAULT NULL,
`Ph.No` varchar(255) DEFAULT NULL,
`Alt.Ph.No` varchar(255) DEFAULT NULL,
`DOB` date DEFAULT NULL,
`PermanentAddress` text,
`LocalAddress` text,
PRIMARY KEY (`Patient_Id`,`Name`,`Dependent`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `patient`
--
INSERT INTO `patient` (`Patient_Id`, `Name`, `Dependent`, `Sex`, `Age`, `Ph.No`, `Alt.Ph.No`, `DOB`, `PermanentAddress`, `LocalAddress`) VALUES
('1111', 'san', '', 'Male', 20, '', '', '2015-05-05', '', ''),
('123', 'a', 'a', 'Male', 0, '', '', '1999-01-01', '', ''),
('123', 'a', 'aa', 'Male', 0, '', '', '1979-01-01', 'putty', 'putty'),
('12333333', 'jujuju', '', 'Male', 0, '', '', '1970-01-01', '', ''),
('1234', 'b', '', 'Male', 0, '', '', '1970-01-01', '', ''),
('1234', 'b', 'b', 'Male', 0, '', '', '2015-05-05', '', ''),
('1234', 'b', 'bb', 'Male', 0, '', '', '2022-05-24', '', ''),
('133', 'anjal', '', 'Male', 20, '', '', '2001-05-01', '', ''),
('B120301CS', 'Akshay J Nambiar', '', 'Male', 20, '8547045231', '', '1995-02-21', 'c-228', 'c-228'),
('b120381cs', 'asif muhammad', '', 'Male', 19, '5678', '6789', '2015-01-10', 'dufai', 'dubai'),
('b120381cs', 'asif muhammad', 'mom', 'Male', 50, '111122', '222233', '1979-05-14', 'duf', 'dufff'),
('b120771cs', 'Abhijith K A', '', 'Male', 20, '', '', '1994-07-27', 'Cheruvila h', 'cheruvila veedu'),
('B120806cs', 'Vishal Peter', '', 'Male', 20, '000', '9887', '1994-08-27', 'myaliparampil House\r\nPoozhikol PO\r\nKaduthuruthy\r\nKottayam\r\nKerala', 'myaliparamp'),
('b120877cs', 'arpit', '', 'Male', 20, '', '', '2015-05-05', 'iuvbuivbou', 'iuvbuivbou'),
('b120999cs', 'francis', '', 'Male', 0, '655', 'uuhfjhfjf', '2015-05-07', 'gjgjgjgj', 'gjgjgjgj');
-- --------------------------------------------------------
--
-- Table structure for table `Remarks`
--
CREATE TABLE IF NOT EXISTS `Remarks` (
`Date` date NOT NULL,
`Pat_Id` varchar(64) NOT NULL,
`Dep_Name` varchar(256) NOT NULL,
`Remark` varchar(1024) NOT NULL,
`Entered_By` varchar(255) NOT NULL,
KEY `Date` (`Date`,`Pat_Id`,`Dep_Name`,`Remark`(767))
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `Remarks`
--
INSERT INTO `Remarks` (`Date`, `Pat_Id`, `Dep_Name`, `Remark`, `Entered_By`) VALUES
('2015-05-01', 'b120381cs', '', ' Patient is allergic to Vomiting', ''),
('2015-05-01', 'b120381cs', 'mom', ' Allergic to PEanuTs!!', ''),
('2015-05-01', 'b120806cs', '', ' too many allergies', ''),
('2015-05-01', 'b120301cs', '', ' Akshay has issues!!', ''),
('2015-05-01', 'b120806cs', '', ' allergy!!!', ''),
('2015-05-08', 'b120771cs', '', ' Allergic to penicillin', 'doctor (Doctor) '),
('2015-05-08', 'b120771cs', '', ' Xray scan report', 'lab (labadmin) '),
('2015-05-14', 'b120381cs', '', 'allergic to pencillin\r\n', 'anjal (Doctor) '),
('2016-01-03', 'b120806cs', '', ' ', 'lab (labadmin) '),
('2016-01-03', 'b120806cs', '', ' sfdga', 'lab (labadmin) ');
-- --------------------------------------------------------
--
-- Table structure for table `temp_consultation`
--
CREATE TABLE IF NOT EXISTS `temp_consultation` (
`PatientId` varchar(11) NOT NULL,
`Dependent` varchar(255) NOT NULL,
`Date` date NOT NULL,
`Cause` varchar(255) NOT NULL,
`MedicineName` varchar(255) NOT NULL,
`Timings` varchar(25) NOT NULL,
`NoOfDays` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `Temp_Medical_Certificate`
--
CREATE TABLE IF NOT EXISTS `Temp_Medical_Certificate` (
`CftNo` int(15) NOT NULL,
`IssueDate` date NOT NULL,
`Name` varchar(255) NOT NULL,
`PatientType` varchar(255) NOT NULL DEFAULT 'Student',
`RollNo` varchar(255) NOT NULL,
`Dependent` varchar(255) NOT NULL,
`FromDate` date NOT NULL,
`NoOfDays` int(4) NOT NULL,
`Cause` varchar(1000) NOT NULL,
`Doctor` varchar(255) NOT NULL,
PRIMARY KEY (`CftNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `temp_medicine_stock`
--
CREATE TABLE IF NOT EXISTS `temp_medicine_stock` (
`Date` date NOT NULL,
`BillNo` varchar(255) NOT NULL,
`RecievedFrom` varchar(255) NOT NULL,
`MedicineName` varchar(255) NOT NULL,
`BatchNo` varchar(255) NOT NULL,
`Expiry` date DEFAULT '3000-01-01',
`Qty` int(11) NOT NULL,
`Cost` float NOT NULL,
PRIMARY KEY (`MedicineName`,`BatchNo`),
KEY `Medicine Name` (`MedicineName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `Transactions`
--
CREATE TABLE IF NOT EXISTS `Transactions` (
`Type` varchar(30) NOT NULL DEFAULT 'Addition',
`Transaction_Date` date NOT NULL,
`Date` date NOT NULL,
`BillNo` varchar(255) NOT NULL,
`RecievedFrom` varchar(255) NOT NULL,
`MedicineName` varchar(255) NOT NULL,
`BatchNo` varchar(255) NOT NULL,
`Expiry` date NOT NULL,
`Qty` int(11) NOT NULL,
`Cost` float NOT NULL,
KEY `Medicine Name` (`MedicineName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `Transactions`
--
INSERT INTO `Transactions` (`Type`, `Transaction_Date`, `Date`, `BillNo`, `RecievedFrom`, `MedicineName`, `BatchNo`, `Expiry`, `Qty`, `Cost`) VALUES
('Addition', '2015-04-30', '2015-04-30', 'io', 'io', 'io', 'io', '2015-04-30', 99, 99),
('Removal', '2015-04-30', '2015-04-30', 'jj', 'jjjj', 'jj', 'jj', '2015-04-30', 100, 0),
('Removal', '2015-04-30', '2015-04-30', 'io', 'io', 'io', 'io', '2015-04-30', 98, 0),
('Removal', '2015-04-30', '2015-04-30', 'io', 'io', 'io', 'io', '2015-04-30', 1, 0),
('Addition', '2015-04-30', '2015-04-30', 'a', 'a', 'a', 'a', '2015-04-30', 2000, 4000),
('Removal', '2015-04-30', '2015-04-30', 'a', 'a', 'a', 'a', '2015-04-30', 100, 0),
('Addition', '2015-04-30', '2015-04-09', 'kjh', 'kjh', 'kjh', 'kjh', '2021-04-14', 87, 87),
('Removal', '2015-04-30', '2015-04-30', 'a', 'a', 'a', 'a', '2015-04-30', 10, 21.0526),
('Addition', '2015-05-01', '2015-05-06', '11', 'm10', 'medicine1', '11', '2015-05-12', 2, 12),
('Addition', '2015-05-01', '2015-05-02', 'b12', 'NITC', 'paracetamol', 'b12', '2015-05-06', 100, 1000),
('Removal', '2015-05-01', '2015-05-02', 'b12', 'NITC', 'paracetamol', 'b12', '2015-05-06', 50, 500),
('Removal', '2015-05-01', '2015-04-09', 'kjh', 'kjh', 'kjh', 'kjh', '2021-04-14', 7, 7),
('Addition', '2015-05-01', '2015-05-01', 'b234', 'Essar ec', 'gggg', 'b234', '2015-05-21', 20, 1000),
('Removal', '2015-05-01', '2015-05-01', 'b234', 'Essar ec', 'gggg', 'b234', '2015-05-21', 5, 250),
('Addition', '2015-07-09', '2015-07-01', '1223', '123', '1234', '1223', '2015-06-29', 1, 123),
('Removal', '2015-08-14', '2015-07-01', '1223', '123', '1234', '1223', '2015-06-29', 1, 123),
('Addition', '2016-01-06', '2016-01-05', '123', 'essar', 'para', '123', '2021-01-14', 20, 100),
('Addition', '2016-02-24', '2016-02-10', '232', 'fdsaf', 'fdsaf', '232', '2016-02-02', 34, 34343),
('Removal', '2016-02-24', '2015-05-01', 'b234', 'Essar ec', 'gggg', 'b234', '2015-05-21', 5, 250),
('Removal', '2016-02-24', '2015-05-01', 'b234', 'Essar ec', 'gggg', 'b234', '2015-05-21', 10, 500),
('Removal', '2016-02-24', '2015-05-02', 'b12', 'NITC', 'paracetamol', 'b12', '2015-05-06', 50, 500),
('Removal', '2016-02-24', '2016-01-05', '123', 'essar', 'para', '123', '2021-01-14', 20, 100),
('Removal', '2016-02-24', '2015-05-06', '11', 'm10', 'medicine1', '11', '2015-05-12', 2, 12),
('Removal', '2016-02-24', '2015-04-09', 'kjh', 'kjh', 'kjh', 'kjh', '2021-04-14', 80, 80),
('Removal', '2016-02-24', '2016-02-10', '232', 'fdsaf', 'fdsaf', '232', '2016-02-02', 34, 34343),
('Removal', '2016-02-24', '2015-04-30', 'a', 'a', 'a', 'a', '2015-04-30', 1890, 3978.95),
('Addition', '2016-02-24', '2014-08-13', 'fadsf', 'fadsf', 'fasdf', 'fadsf', '2016-02-09', 34, 5435),
('Addition', '2016-02-24', '2015-02-02', '3453', 'dafdf', 'gafg', '3453', '2016-02-25', 43, 222),
('Addition', '2015-02-24', '2015-01-06', '234', '343', '2343', '234', '2015-02-09', 234, 234),
('Addition', '2015-02-24', '2015-02-18', 'faf', 'sdfsd', 'fds', 'faf', '2015-02-12', 34, 3454);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`Name` varchar(255) NOT NULL,
`UserName` varchar(255) NOT NULL,
`Password` varchar(255) NOT NULL,
`SecQn1` text NOT NULL,
`Ans1` varchar(255) NOT NULL,
`SecQn2` text NOT NULL,
`Ans2` varchar(255) NOT NULL,
`Type` varchar(255) NOT NULL DEFAULT 'Doctor',
PRIMARY KEY (`UserName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`Name`, `UserName`, `Password`, `SecQn1`, `Ans1`, `SecQn2`, `Ans2`, `Type`) VALUES
('Sachin Tendulkar', 'admin', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'admin', 'd033e22ae348aeb5660fc2140aec35850c4da997', 'admin', 'd033e22ae348aeb5660fc2140aec35850c4da997', 'admin'),
('ajn', 'ajn', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'abcd', '81fe8bfe87576c3ecb22426f8e57847382917acf', 'abcd', '81fe8bfe87576c3ecb22426f8e57847382917acf', 'Doctor'),
('anjal', 'anjal', '17ca20cfa601aec3e03f5c4d6e8aa042c97f7744', 'how are you?', '2a1b875b84fa7245c2d4dfa761170884db7b31d9', 'what are you?', 'd787f56b080945c1ec0b3343cbf962ca427bb8ef', 'Doctor'),
('anjalsan', 'anjal.saneen', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', '1+1', 'da4b9237bacccdf19c0760cab7aec4a8359010b0', '2+5', '902ba3cda1883801594b6e1b452790cc53948fda', 'Doctor'),
('doctor', 'doctor', '1f0160076c9f42a157f0a8f0dcc68e02ff69045b', 'doctor', '1f0160076c9f42a157f0a8f0dcc68e02ff69045b', 'doctor', '1f0160076c9f42a157f0a8f0dcc68e02ff69045b', 'Doctor'),
('lab', 'lab', '3953f9ddf975ab5097ee468d99555c5b441169bf', 'lab', '3953f9ddf975ab5097ee468d99555c5b441169bf', 'lab', '3953f9ddf975ab5097ee468d99555c5b441169bf', 'labadmin');
-- --------------------------------------------------------
--
-- Table structure for table `Yearly_Report`
--
CREATE TABLE IF NOT EXISTS `Yearly_Report` (
`Year` int(4) NOT NULL AUTO_INCREMENT,
`OpeningBal` float NOT NULL,
`Purchase` float DEFAULT NULL,
`Consumption` float DEFAULT NULL,
`ClosingBal` float DEFAULT NULL,
PRIMARY KEY (`Year`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2016 ;
--
-- Dumping data for table `Yearly_Report`
--
INSERT INTO `Yearly_Report` (`Year`, `OpeningBal`, `Purchase`, `Consumption`, `ClosingBal`) VALUES
(2014, 0, 0, 0, 0),
(2015, 0, 3688, 0, 3688);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
Create procedure FSU_SP_getNodeID @clientid int
AS
Begin
Select top 1 node from tblclientmaster where clientid= @clientid
End
|
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1
-- Généré le : jeu. 15 avr. 2021 à 18:19
-- Version du serveur : 10.4.17-MariaDB
-- Version de PHP : 7.3.26
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de données : `blissim`
--
-- --------------------------------------------------------
--
-- Structure de la table `commentary`
--
CREATE TABLE `commentary` (
`commentID` int(100) NOT NULL,
`productID` int(11) NOT NULL,
`comment` text NOT NULL,
`date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Déchargement des données de la table `commentary`
--
INSERT INTO `commentary` (`commentID`, `productID`, `comment`, `date`) VALUES
(18, 2, 'un tshirt blanc', '2021-04-14'),
(31, 1, 'un commentaire modifié encore une fois', '2021-04-15');
-- --------------------------------------------------------
--
-- Structure de la table `customer`
--
CREATE TABLE `customer` (
`customerID` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`firstname` varchar(50) NOT NULL,
`address` text NOT NULL,
`mail` text NOT NULL,
`pwd` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Déchargement des données de la table `customer`
--
INSERT INTO `customer` (`customerID`, `name`, `firstname`, `address`, `mail`, `pwd`) VALUES
(1, 'doe', 'john', '7682, new road 12926-3874 kilcoole', 'm38rmF$', ''),
(2, 'morrison', 'david', '7267, Lovers Ln 12926-3874 kilcoole', '83r5^_', ''),
(3, 'ryan', 'kevin', '86, Frances Ct 29567-1452 Cullman', 'kev02937@', ''),
(4, 'romer', 'don', '6454, Hunters Creek Dr 98234-1734 San Antonio', 'ewedon', ''),
(5, 'powell', 'derek', '245, adams St 80796-1234 san Antonio', 'jklg*_56', ''),
(6, 'russell', 'david', '124, prospect st 12346-0456 el paso', '3478*#54', ''),
(7, 'snyder', 'miriam', '1342, saddle st 96378-0245 fresno', 'f238&@*$', ''),
(8, 'hopkins', 'william', '1342, vally view ln 96378-0245 mesa', 'William56$hj', ''),
(9, 'hale', 'kate', '345, avondale ave 96378-0245 miami', 'kfejk@*_', ''),
(10, 'klein', 'jimmie', '526, oak lawn ave 10256-4532 fort wayne', 'klein*#%*', '');
-- --------------------------------------------------------
--
-- Structure de la table `orderdetail`
--
CREATE TABLE `orderdetail` (
`orderID` int(11) NOT NULL,
`productID` int(255) NOT NULL,
`qt` int(3) NOT NULL,
`price` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Déchargement des données de la table `orderdetail`
--
INSERT INTO `orderdetail` (`orderID`, `productID`, `qt`, `price`) VALUES
(1, 1, 1, 109.95),
(1, 2, 1, 22.3),
(1, 3, 1, 55.99),
(2, 14, 1, 999.99),
(3, 8, 3, 10.99),
(4, 9, 2, 64),
(5, 15, 1, 56.99),
(5, 1, 1, 109.95);
-- --------------------------------------------------------
--
-- Structure de la table `orders`
--
CREATE TABLE `orders` (
`orderID` int(11) NOT NULL,
`customerID` bigint(255) NOT NULL,
`orderDate` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Déchargement des données de la table `orders`
--
INSERT INTO `orders` (`orderID`, `customerID`, `orderDate`) VALUES
(1, 1, '2021-04-12'),
(2, 2, '2021-04-10'),
(3, 3, '2021-04-01'),
(4, 4, '2021-03-29'),
(5, 5, '2021-03-28');
-- --------------------------------------------------------
--
-- Structure de la table `product`
--
CREATE TABLE `product` (
`productID` int(11) NOT NULL,
`prodName` varchar(100) NOT NULL,
`prodDescript` text NOT NULL,
`prodPrice` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Déchargement des données de la table `product`
--
INSERT INTO `product` (`productID`, `prodName`, `prodDescript`, `prodPrice`) VALUES
(1, 'Fjallraven - Foldsack No. 1 Backpack, Fits 15 Laptops', 'Your perfect pack for everyday use and walks in the forest. Stash your laptop (up to 15 inches) in the padded sleeve, your everyday', 109.95),
(2, 'Mens Casual Premium Slim Fit T-Shirts ', 'Slim-fitting style, contrast raglan long sleeve, three-button henley placket, light weight & soft fabric for breathable and comfortable wearing. And Solid stitched shirts with round neck made for durability and a great fit for casual fashion wear and diehard baseball fans. The Henley style round neckline includes a three-button placket.', 22.3),
(3, 'Mens Cotton Jacket', 'great outerwear jackets for Spring/Autumn/Winter, suitable for many occasions, such as working, hiking, camping, mountain/rock climbing, cycling, traveling or other outdoors. Good gift choice for you or your family member. A warm hearted love to Father, husband or son in this thanksgiving or Christmas Day.', 55.99),
(4, 'Mens Casual Slim Fit', 'The color could be slightly different between on the screen and in practice. / Please note that body builds vary by person, therefore, detailed size information should be reviewed below on the product description.', 15.99),
(5, 'John Hardy Women\'s Legends Naga Gold & Silver Dragon Station Chain Bracelet', 'From our Legends Collection, the Naga was inspired by the mythical water dragon that protects the ocean\'s pearl. Wear facing inward to be bestowed with love and abundance, or outward for protection.', 695),
(6, 'Solid Gold Petite Micropave ', 'Satisfaction Guaranteed. Return or exchange any order within 30 days.Designed and sold by Hafeez Center in the United States. Satisfaction Guaranteed. Return or exchange any order within 30 days.', 168),
(7, 'White Gold Plated Princess', 'Classic Created Wedding Engagement Solitaire Diamond Promise Ring for Her. Gifts to spoil your love more for Engagement, Wedding, Anniversary, Valentine\'s Day...', 9.99),
(8, 'Pierced Owl Rose Gold Plated Stainless Steel Double', 'Rose Gold Plated Double Flared Tunnel Plug Earrings. Made of 316L Stainless Steel', 10.99),
(9, 'WD 2TB Elements Portable External Hard Drive - USB 3.0 ', 'USB 3.0 and USB 2.0 Compatibility Fast data transfers Improve PC Performance High Capacity; Compatibility Formatted NTFS for Windows 10, Windows 8.1, Windows 7; Reformatting may be required for other operating systems; Compatibility may vary depending on user’s hardware configuration and operating system', 64),
(10, 'SanDisk SSD PLUS 1TB Internal SSD - SATA III 6 Gb/s', 'Easy upgrade for faster boot up, shutdown, application load and response (As compared to 5400 RPM SATA 2.5” hard drive; Based on published specifications and internal benchmarking tests using PCMark vantage scores) Boosts burst write performance, making it ideal for typical PC workloads The perfect balance of performance and reliability Read/write speeds of up to 535MB/s/450MB/s (Based on internal testing; Performance may vary depending upon drive capacity, host device, OS and application.)', 109),
(11, 'Silicon Power 256GB SSD 3D NAND A55 SLC Cache Performance Boost SATA III 2.5', '3D NAND flash are applied to deliver high transfer speeds Remarkable transfer speeds that enable faster bootup and improved overall system performance. The advanced SLC Cache Technology allows performance boost and longer lifespan 7mm slim design suitable for Ultrabooks and Ultra-slim notebooks. Supports TRIM command, Garbage Collection technology, RAID, and ECC (Error Checking & Correction) to provide the optimized performance and enhanced reliability.', 109),
(12, 'WD 4TB Gaming Drive Works with Playstation 4 Portable External Hard Drive', 'Expand your PS4 gaming experience, Play anywhere Fast and easy, setup Sleek design with high capacity, 3-year manufacturer\'s limited warranty', 114),
(13, 'Acer SB220Q bi 21.5 inches Full HD (1920 x 1080) IPS Ultra-Thin', '21. 5 inches Full HD (1920 x 1080) widescreen IPS display And Radeon free Sync technology. No compatibility for VESA Mount Refresh Rate: 75Hz - Using HDMI port Zero-frame design | ultra-thin | 4ms response time | IPS panel Aspect ratio - 16: 9. Color Supported - 16. 7 million colors. Brightness - 250 nit Tilt angle -5 degree to 15 degree. Horizontal viewing angle-178 degree. Vertical viewing angle-178 degree 75 hertz', 599),
(14, 'Samsung 49-Inch CHG90 144Hz Curved Gaming Monitor (LC49HG90DMNXZA) – Super Ultrawide Screen QLED ', '49 INCH SUPER ULTRAWIDE 32:9 CURVED GAMING MONITOR with dual 27 inch screen side by side QUANTUM DOT (QLED) TECHNOLOGY, HDR support and factory calibration provides stunningly realistic and accurate color and contrast 144HZ HIGH REFRESH RATE and 1ms ultra fast response time work to eliminate motion blur, ghosting, and reduce input lag', 999.99),
(15, 'BIYLACLESEN Women\'s 3-in-1 Snowboard Jacket Winter Coats', 'Note:The Jackets is US standard size, Please choose size as your usual wear Material: 100% Polyester; Detachable Liner Fabric: Warm Fleece. Detachable Functional Liner: Skin Friendly, Lightweigt and Warm.Stand Collar Liner jacket, keep you warm in cold weather. Zippered Pockets: 2 Zippered Hand Pockets, 2 Zippered Pockets on Chest (enough to keep cards or keys)and 1 Hidden Pocket Inside.Zippered Hand Pockets and Hidden Pocket keep your things secure. Humanized Design: Adjustable and Detachable Hood and Adjustable cuff to prevent the wind and water,for a comfortable fit. 3 in 1 Detachable Design provide more convenience, you can separate the coat and inner as needed, or wear it together. It is suitable for different season and help you adapt to different climates', 56.99),
(16, 'Lock and Love Women\'s Removable Hooded Faux Leather Moto Biker Jacket', '100% POLYURETHANE(shell) 100% POLYESTER(lining) 75% POLYESTER 25% COTTON (SWEATER), Faux leather material for style and comfort / 2 pockets of front, 2-For-One Hooded denim style faux leather jacket, Button detail on waist / Detail stitching at sides, HAND WASH ONLY / DO NOT BLEACH / LINE DRY / DO NOT IRON', 29.95),
(17, 'Rain Jacket Women Windbreaker Striped Climbing Raincoats', 'Lightweight perfet for trip or casual wear---Long sleeve with hooded, adjustable drawstring waist design. Button and zipper front closure raincoat, fully stripes Lined and The Raincoat has 2 side pockets are a good size to hold all kinds of things, it covers the hips, and the hood is generous but doesn\'t overdo it.Attached Cotton Lined Hood with Adjustable Drawstrings give it a real styled look.', 39.99),
(18, 'MBJ Women\'s Solid Short Sleeve Boat Neck V ', '95% RAYON 5% SPANDEX, Made in USA or Imported, Do Not Bleach, Lightweight fabric with great stretch for comfort, Ribbed on sleeves and neckline / Double stitching on bottom hem', 9.85),
(19, 'Opna Women\'s Short Sleeve Moisture', '100% Polyester, Machine wash, 100% cationic polyester interlock, Machine Wash & Pre Shrunk for a Great Fit, Lightweight, roomy and highly breathable with moisture wicking fabric which helps to keep moisture away, Soft Lightweight Fabric with comfortable V-neck collar and a slimmer fit, delivers a sleek, more feminine silhouette and Added Comfort', 7.95),
(20, 'DANVOUY Womens T Shirt Casual Cotton Short', '95%Cotton,5%Spandex, Features: Casual, Short Sleeve, Letter Print,V-Neck,Fashion Tees, The fabric is soft and has some stretch., Occasion: Casual/Office/Beach/School/Home/Street. Season: Spring,Summer,Autumn,Winter.', 12.99);
--
-- Index pour les tables déchargées
--
--
-- Index pour la table `commentary`
--
ALTER TABLE `commentary`
ADD PRIMARY KEY (`commentID`),
ADD KEY `createComment` (`productID`);
--
-- Index pour la table `customer`
--
ALTER TABLE `customer`
ADD PRIMARY KEY (`customerID`);
--
-- Index pour la table `orderdetail`
--
ALTER TABLE `orderdetail`
ADD KEY `createOrder` (`orderID`),
ADD KEY `addProduct` (`productID`);
--
-- Index pour la table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`orderID`);
--
-- Index pour la table `product`
--
ALTER TABLE `product`
ADD PRIMARY KEY (`productID`);
--
-- AUTO_INCREMENT pour les tables déchargées
--
--
-- AUTO_INCREMENT pour la table `commentary`
--
ALTER TABLE `commentary`
MODIFY `commentID` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT pour la table `customer`
--
ALTER TABLE `customer`
MODIFY `customerID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT pour la table `orders`
--
ALTER TABLE `orders`
MODIFY `orderID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT pour la table `product`
--
ALTER TABLE `product`
MODIFY `productID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- Contraintes pour les tables déchargées
--
--
-- Contraintes pour la table `commentary`
--
ALTER TABLE `commentary`
ADD CONSTRAINT `createComment` FOREIGN KEY (`productID`) REFERENCES `product` (`productID`);
--
-- Contraintes pour la table `orderdetail`
--
ALTER TABLE `orderdetail`
ADD CONSTRAINT `addProduct` FOREIGN KEY (`productID`) REFERENCES `product` (`productID`),
ADD CONSTRAINT `createOrder` FOREIGN KEY (`orderID`) REFERENCES `orders` (`orderID`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
DROP TABLE Participant CASCADE;
DROP TABLE Equipe CASCADE;
DROP TABLE Joueur CASCADE;
DROP TABLE Ligue CASCADE;
DROP TABLE Resultat CASCADE; |
CREATE TABLE `{$prefix}customer` (
`userId` varbinary(31) NOT NULL DEFAULT '',
`payments` enum('stripe','authnet') NOT NULL DEFAULT 'stripe' COMMENT 'the payment processor for the customer',
`customerId` varbinary(255) NOT NULL DEFAULT '' COMMENT 'the customer id in the payments processor',
PRIMARY KEY (`userId`,`payments`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `{$prefix}charge`
ADD COLUMN `subscriptionPublisherId` varbinary(255) NOT NULL DEFAULT '' AFTER `id`,
CHANGE `subscriptionId` `subscriptionStreamName` varbinary(255) NOT NULL DEFAULT '',
ADD PRIMARY KEY (id, userId); |
CREATE OR REPLACE FORCE VIEW "AEROFRANCE_LIAO"."VIEW_FOURNIR" ("PRODNUM", "HISTODATE", "PROPRIX", "SEUIL") AS
SELECT "PRODNUM","HISTODATE","PROPRIX","SEUIL"
FROM CHEF_GUO.FOURNIR
WHERE FOURNUM = 4;
CREATE OR REPLACE TRIGGER "AEROFRANCE_LIAO"."MODIFIER_FOURNIR"
INSTEAD OF UPDATE ON VIEW_FOURNIR
REFERENCING OLD AS A NEW AS N
FOR EACH ROW
BEGIN
if to_char(:n.histodate, 'DD/MM/YY') = to_char(sysdate, 'DD/MM/YY') then
modification_fournir(:n.prodnum, :n.histodate, :n.proprix, :n.seuil);
end if;
END;
/
ALTER TRIGGER "AEROFRANCE_LIAO"."MODIFIER_FOURNIR" ENABLE; |
-- burwood
INSERT INTO `s_region` VALUES (null, 45108, 'Albert Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Angel Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Angelo Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Appian Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Archer Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Arrowfield Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Arthursleigh Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Badminton Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Baker Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Beaumaris Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Belgrave Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Belmore Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Bennett Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Bold Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Boronia Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Brady Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Britannia Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Brooklyn Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Broughton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Burleigh Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Burwood Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Carilla Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Carlyle Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Charles Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Charles Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Cheltenham Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Church Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Claremont Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Clarence Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Clarendon Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Clifton Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Cobden Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Comer Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Conder Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Cooper Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Culdees Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Deane Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Devonshire Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Duff Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Dunns Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Elizabeth Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Elsie Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Emanuel Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Esher Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Esher Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Ethel Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Eurella Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Everton Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Fitzroy Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Ford Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Frankie Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Genders Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Genders Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'George Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Gladstone Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Gloucester Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Gordon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Grantham Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Heydon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Highclere Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Hornsey Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Iceton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Ilfracombe Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Ireland Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Jersey Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'John Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Kelso Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'King Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Lindsay Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Liverpool Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Livingstone Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Loftus Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Lucas Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Luke Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Marmaduke Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Mary Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Melbourne Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Meryla Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Mills Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Milton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Milton Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Minna Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Moore Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Morris Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Morwick Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Mt Pleasant Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Murray Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Neich Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Neichs Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'New Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Nicholson Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Nicoll Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Nixon Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Norwood Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Orontes Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Oxford Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Paisley Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Park Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Park Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Parnell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Parramatta Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Pilchers Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Princes Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Quandong Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Queen Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Railway Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Railway Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Riley Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Rostherne Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Rowley Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Russell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Seale Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Selborne Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Shaftesbury Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Sherars Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Simpson Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'St Pauls Close', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Stanley Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Stuart Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Sunbeam Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Sym Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Sym Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Tahlee Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Taylor Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'The Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Trevena Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Victoria East Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Victoria Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Waimea Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wallace Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Webbs Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Weldon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wentworth Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'White Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wilga Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wonga Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Woodside Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wyalong Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wyatt Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wyatt Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Wynne Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45108, 'Youth Lane', 3, 'A', 0, 1, 0, 0);
-- blacktown
INSERT INTO `s_region` VALUES (null, 45107, 'Abelia Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Adella Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ailsa Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Alam Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Alexander Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Aliberti Drive', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Allawah Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Allay Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Allen Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Alpha Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Altona Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Amiens Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Andre Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Anne Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Anthony Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Apex Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Archer Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Arthur Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ash Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ashgrove Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ashwell Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Athlone Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ayrton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Azalea Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bailey Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Balbeek Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Balin Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Balmoral Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Barnes Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Baronta Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bates Pl', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Batten Pl', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Beaufort Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Becharry Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bedford Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bedivere Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bellevista Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bellevue Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Benaud Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Berg Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bessemer Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Betty Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bimbil Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Blacktown Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Blattman Close', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Blue Hills Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Booreea Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Boronia Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bowral Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Boys Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Braddon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Brickfield Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bridge View Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bristol Circuit', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bruce Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Bungarribee Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Burdett Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Burke Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Burnie Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Burrell Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Butterfield Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Caldwell Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cambridge Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Camellia Pl', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Campbell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cansdale Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cardiff Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Carinya Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Carnegie Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Castle Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Catalpa Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cavendish Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cedar Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Chansa Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Charles Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Chester Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Chicago Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Civic Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Clare Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Clarence Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Clayton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Clifton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cobb Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Colo Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Coolabah Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cooper Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Coralgum Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cornell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Craig Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Craiglea Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cumberland Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Cypress Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dagmar Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Daniela Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Daphne Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'David Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dawn Dr', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Day Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'De Castella Drive', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Deodar Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Derby Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Derwent Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Devitt Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dina Beth Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Donnellan Pl', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Doonside Crs', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dora Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dorset Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Drake Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Duckmallois Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dudley Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dunn Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Dunstable Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Eggleton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Elanora Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Elliot St', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Elouera Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Eltham Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Erith Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Essex Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Eta Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Farmingdale Drive', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Felicia Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Fern Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Fife Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Fifth Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Filey Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Finlay Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Finlay Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'First Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Flame Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Flushcombe Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Forge Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Foss Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Fourth Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Frederick Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Friend Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Fullam Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Garden Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Gardenset Grove', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Gareth Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Gate Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'George Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Gibson Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Glamorgan Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Gordon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Gould Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Grafton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Grant Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Green Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Greenwood Grove', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Greenwood Grove', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Gribble Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Griffiths Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hackett Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hadrian Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Harold Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Havenwood Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hawkins Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hayley Grove', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Heapy St', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Heart Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Heath Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Heliotrope Crs', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hereward Highway', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Herrick Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Highland Crs', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Highlands Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Highpoint Drive', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Highview Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hillside Ln', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hillside Rd', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hilltop Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Huegill Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Humphries Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Hunter Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Huntley Drive', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ida Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Indigo Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Iona Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Irelands Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Iris Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ironbark Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Jabiru Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Jane Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Jem Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Jennifer Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Jim Simpson Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'John Boy Pl', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'John Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Jones Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Joseph Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Julie Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'June Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Juniper Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kastelan Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kauri Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kay Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Keld Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kelso Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kempsey Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kenji Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kent Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kerry Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Keyworth Drive', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kieren Drive', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kildare Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Killarney Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kingsford Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kirkman Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Klim Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Kurrajong Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lacey Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Laker Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lancaster Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lancelot Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lander Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Laurel Pl', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lavender Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Leat Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lees Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Leicester Square', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Leonard Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Leslie Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lismore Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lloyd Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lock Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'London Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lorne Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Love Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Luton Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lynwood Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Lyton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Madden Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Main Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Mala Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Malcolm Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Maloney Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Malouf Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Mantaka Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Marana Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Marcel Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Maree Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Maria Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Mariko Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Marion Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Mary Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Matthew Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Maud Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Maureen Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Maxwell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'McClean Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'McCulloch Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Meadowlands', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Meath Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Meela Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Merlin Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Meroo Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Monash Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Monroe Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Moren Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Mort Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Mulgi Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Muringo Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Murray Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Nash Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Nerada Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Newhaven Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Newman Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Newton Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Nicholas Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Norfolk Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Northumberland Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Oft Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Olga Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ondieki Court', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Orallo Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Oregon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Orwell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Outlook Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Oxford Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Palmer Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Pank Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Panorama Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Parkland Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Patricia Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Patrick Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Paul Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Pavonia Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Pelleas Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Pembroke Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Pendant Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Peter Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Philip Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Phlox Cl', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Picken Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Pollack Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Prince Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Privet Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Prospect St', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Quail Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Queensway', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Railway Pde', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Raymond Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Redwood Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Reservoir Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ridley Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Roa Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Robina Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Robyn Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Roma Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Roma Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ronald Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Rosemary Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Ross Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Royena Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Russell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Rutherford Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Rutland Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sackville Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Saint Martins Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Saint Pauls Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sarsfield Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Savery Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Saxby Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Second Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Selby Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Shirley Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Siebel Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sinclair Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sparkle Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Spoonbill Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Springfield Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Spruce Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Stanley Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Starr Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Steel Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Stella Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Stephen Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sterlini Close', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Stewart Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Suffolk Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sullivan Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sunningdale', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sunnyholt Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sunville Court', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Surrey Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sutton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Swinson Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sydney Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Sylvia Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Tara Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Taronga Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Teagan Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Teal Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Templar Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Tenby Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Tenby Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'The Palms', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Theresa Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Third Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Thistle Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Thorpe Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Tress Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Tudor Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Tulloch Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Turner Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Turvey Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Tyrone Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Valda Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Valentine Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Valetta Court', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Van Bentum Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Vella Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Venn Ave', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Vezey Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Vincent Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Virginia Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wall Park Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wallaby Close', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wallace Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Walters Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Warrick Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Warrigal Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wattle Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Watts Grove', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'West Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Western Crs', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Westfield Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wilga Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'William Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Winifred Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Winter Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wirilda Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wirruna Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wistaria Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Woodside Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wright Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Wye Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Yale Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Yamba Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Zinnia Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45107, 'Zolyomi Lane', 3, 'A', 0, 1, 0, 0);
-- canada bay
INSERT INTO `s_region` VALUES (null, 45109, 'Banksia Place ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Bayview Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Bellbird Close ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Cook Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Coonardoo Close ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Crane Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Gipps Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Louden Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Lyons West Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Maple Close ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Marceau Drive ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Noongah Place ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Queens Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Regatta Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Renown Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Taylor Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Thornton Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Walker Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Ward Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45109, 'Watts Street ', 3, 'A', 0, 1, 0, 0);
-- strathfield
INSERT INTO `s_region` VALUES (null, 45130, 'Abbotsford Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Ada Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Ada Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Agnes Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Albert Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Albyn Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Allenby Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Alviston Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Amaroo Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Angel Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Ardittos Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Arrowfield Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Arthur Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Augusta Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Badgery Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Bakers Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Bareena Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Barker Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Barton Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Bates Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Beaumaris Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Bede Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Belgrave Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Belleverde Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Bells Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Beresford Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Birnam Grove ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Boden Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Boyce Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Braidwood Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Brooklyn Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Broughton Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Brunswick Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Burlington Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Byer Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cameron Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Carrington Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cave Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Centenary Drive ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Chalmers Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Chapman Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Churchill Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Clarence Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Coles Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Concord Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cooper Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cooper Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Coronation Parade ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cosgrove Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cotswold Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Coventry Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cowdery Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Cross Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Dickson Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Duke Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Eastbourne Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Edgar Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Edward Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Elva Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Elwin Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Emu Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Esplin Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Eve Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Everton Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Everton Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Fairholm Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Firth Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Fitzgerald Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Florence Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Frances Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Francis Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Franklyn Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Fraser Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Gees Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Gelling Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Gladstone Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Glenarvon Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Gould Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Gould Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Grantham Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hampstead Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hedges Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Henley Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Henry Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Heyde Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'High Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Highfield Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Highgate Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hill Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hilts Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Holmwood Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Homebush Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hornsey Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hornsey Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Howard Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hume Highway ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hunter Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Hydebrae Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Jersey Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Karuah Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Kingsland Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Leicester Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Liverpool Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Llandilo Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Lloyd George Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Long Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Lyons Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Macarthur Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mackenzie Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Malvern Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Manning Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Manson Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Margaret Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Marion Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mcdonald Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Melbourne Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Melrose Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Melville Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Memorial Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Meredith Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Merley Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Minna Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mintaro Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mirrabooka Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mitchell Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Moore Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Morgan Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Morgan Place ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Morwick Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mosely Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mount Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Mt Pleasant Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Myall Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Myee Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Myrna Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Newton Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Nichol Parade ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Nicholson Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Nixon Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Noble Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Norwood Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Orrs Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Oxford Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Oxford Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Palmer Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Parnell Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Parramatta Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Parsons Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Pemberton Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Phillip Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Pilgrim Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Plymouth Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Prentice Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Queen Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Railway Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Railway Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Railway Parade ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Ravenna Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Raw Square ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Redmyre Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Richmond Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Rickard Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Roberts Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Rochester Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Rowley Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Russell Lane ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Russell Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Sherars Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Shortland Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Simone Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'South Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Stewart Place ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Strathfield Square ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Strathfield Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Strathlora Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Summit Place ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Swan Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Telopea Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'The Boulevarde ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'The Close ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'The Crescent ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Thomas Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Tiptree Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Todman Place ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Torrington Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Vernon Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Verona Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Victoria Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Wakeford Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Wallis Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Weeroona Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Wentworth Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'West Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Western Motorway ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'White Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Willee Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Wilson Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Wonga Street ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Woodside Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Woodward Avenue ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Yarrowee Road ', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45130, 'Young Street ', 3, 'A', 0, 1, 0, 0);
-- bankstown
INSERT INTO `s_region` VALUES (null, 45111, 'Adept Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Allum Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Antwerp Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Archer Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Arkley Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Artegall Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Arthur Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Aster Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Augusta Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Avoca Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Avon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Banksia Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Bankstown City Plaza', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Belrose Court', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Beresford Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Bower Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Boxley Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Brancourt Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Brandon Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Braunbeck Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Bungalow Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Cairds Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Calidore Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Cambridge Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Canterbury Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Cantrell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Carmen Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Carnation Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Carrisbrook Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Chapel Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Chelmsford Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Chertsey Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Clarence Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Claribel Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Clements Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Cole Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Coleman Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Columbine Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Conway Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Corbett Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Cottam Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Cragg Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Cross Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Dale Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Daphne Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Davis Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'De Witt Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Dellwood Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Depot Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Dudley Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Dutton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'East Terrace', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Edgar Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Edward Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Egan Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Eldridge Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Exceller Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Fairford Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Fenwick Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Fetherstone Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Fortril Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Frank Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Frederick Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'French Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gail Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gallipoli Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gardenia Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gartmore Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'George Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gibson Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Glassop Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gordon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gould Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Gow Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Greenacre Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Greenfield Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Greenwood Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Griffiths Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Heath Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Herbert Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'High Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Highland Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Highview Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Hillcrest Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Hillview Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Hixson Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Homedale Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Hoskins Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Hume Highway', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Hunter Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Irvine Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Jacobs Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'James Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'John Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'John Wall Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'June Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Kardella Court', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Kearns Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Kelly Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Kitchener Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Koonya Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Lady Cutler Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Lancaster Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Lancelot Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Lavender Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Leonard Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Little Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Lopez Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Macauley Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Marcella Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Marina Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Marion Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Market Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Marshall Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Mcdonald Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Megan Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Melanie Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Meredith Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Michaels Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Milton Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Mimosa Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Mitcham Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Mona Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Morgan Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Mount Lewis Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Mulla Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Myrtle Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Nelson Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Nevada Crescent', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Neville Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Nioka Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'North Terrace', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Northam Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Noumea Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Ogmore Court', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Old Kent Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Olympic Parade', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Ostend Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Oxford Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Percy Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Petunia Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Powell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Prairie Vale Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Price Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Pringle Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Raw Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Raymond Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Remi Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Reservoir Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Resthaven Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Restwell Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Reynolds Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Rickard Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Rookwood Road', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Rosedale Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Ross Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Salvia Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Saurine Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Scott Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Seddon Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Shenton Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Short Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Sir Joseph Banks Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'South Terrace', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Stacey Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Stanley Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Stansfield Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Stewart Lane', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Sunset Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'The Appian Way', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'The Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'The Boulevarde', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'The Mall', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Topaz Place', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Tumut Close', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Verbena Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Vimy Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Warren Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Waruda Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Wattle Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Weigand Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'West Terrace', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'White Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Wilga Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Wilkins Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'William Street', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Winspear Avenue', 3, 'A', 0, 1, 0, 0);
INSERT INTO `s_region` VALUES (null, 45111, 'Woodbine Street', 3, 'A', 0, 1, 0, 0);
|
CREATE DATABASE EntityRelationsDemo
USE [EntityRelationsDemo]
-----------------------------------
-- Problem 1. One-To-One Relationship
CREATE TABLE Passports(
PassportID INT PRIMARY KEY IDENTITY(101, 1),
PassportNumber CHAR(8) NOT NULL
)
CREATE TABLE Persons(
PersonID INT PRIMARY KEY IDENTITY,
FirstName VARCHAR(50) NOT NULL,
Salary DECIMAL(7,2) NOT NULL,
PassportID INT NOT NULL FOREIGN KEY REFERENCES Passports(PassportID) UNIQUE
)
INSERT INTO Passports(PassportNumber)
VALUES
('N34FG21B'),
('K65LO4R7'),
('ZE657QP2')
INSERT INTO Persons(FirstName, Salary, PassportID)
VALUES
('Roberto', 43300.00, 102),
('Tom', 56100.00, 103),
('Yana', 60200.00, 101)
--------------------------------------------
-- Problem 2. One-To-Many Relationship
CREATE TABLE Manufacturers(
ManufacturerID INT PRIMARY KEY IDENTITY,
[Name] VARCHAR(30) NOT NULL,
EstablishedOn DATE NOT NULL
)
CREATE TABLE Models(
ModelID INT PRIMARY KEY IDENTITY(101, 1),
[Name] VARCHAR(30) NOT NULL,
ManufacturerID INT NOT NULL FOREIGN KEY REFERENCES Manufacturers(ManufacturerID)
)
INSERT INTO Manufacturers([Name], EstablishedOn)
VALUES
('BMW', '03/07/1916'),
('Tesla', '01/01/2003'),
('Lada', '05/01/1966')
INSERT INTO Models([Name], ManufacturerID)
VALUES
('X1', 1),
('i6', 1),
('Model S', 2),
('Model X', 2),
('Model 3', 2),
('Nova', 3)
------------------------------------------
-- Problem 3. Many-To-Many Relationship
CREATE TABLE Students(
StudentID INT PRIMARY KEY IDENTITY,
[Name] VARCHAR(30) NOT NULL
)
CREATE TABLE Exams(
ExamID INT PRIMARY KEY IDENTITY(101, 1),
[Name] VARCHAR(30) NOT NULL
)
CREATE TABLE StudentsExams(
StudentID INT NOT NULL FOREIGN KEY REFERENCES Students(StudentID),
ExamID INT NOT NULL FOREIGN KEY REFERENCES Exams(ExamID),
PRIMARY KEY(StudentID, ExamID) -------- Composite Primary Key
)
INSERT INTO Students([Name])
VALUES
('Mila'),
('Toni'),
('Ron')
INSERT INTO Exams([Name])
VALUES
('SpringMVC'),
('Neo4j'),
('Oracle 11g')
INSERT INTO StudentsExams(StudentID, ExamID)
VALUES
(1, 101),
(1, 102),
(2, 101),
(3, 103),
(2, 102),
(2, 103)
SELECT s.[Name], e.[Name]
FROM StudentsExams AS se
JOIN Students AS s ON se.StudentID = s.StudentID
JOIN Exams AS e ON se.ExamID = e.ExamID
-------------------------------------------
-- Problem 4. Self-Referencing
CREATE TABLE Teachers(
TeacherID INT PRIMARY KEY IDENTITY(101, 1),
[Name] VARCHAR(30) NOT NULL,
ManagerID INT FOREIGN KEY REFERENCES Teachers(TeacherID)
)
INSERT INTO Teachers([Name], ManagerID)
VALUES
('John', NULL),
('Maya', 106),
('Silvia', 106),
('Ted', 105),
('Mark', 101),
('Greta', 101)
----------------------------------------
-- Problem 5. Online Store Database
CREATE DATABASE OnlineStore
USE OnlineStore
CREATE TABLE Cities(
CityID INT PRIMARY KEY IDENTITY,
[Name] VARCHAR(50) NOT NULL
)
CREATE TABLE Customers(
CustomerID INT PRIMARY KEY IDENTITY,
[Name] VARCHAR(50) NOT NULL,
Birthday DATE NOT NULL,
CityID INT NOT NULL FOREIGN KEY REFERENCES Cities(CityID)
)
CREATE TABLE Orders(
OrderID INT PRIMARY KEY IDENTITY,
CustomerID INT NOT NULL FOREIGN KEY REFERENCES Customers(CustomerID)
)
CREATE TABLE ItemTypes(
ItemTypeID INT PRIMARY KEY IDENTITY,
[Name] VARCHAR(50) NOT NULL
)
CREATE TABLE Items(
ItemID INT PRIMARY KEY IDENTITY,
[Name] VARCHAR(50) NOT NULL,
ItemTypeID INT NOT NULL FOREIGN KEY REFERENCES ItemTypes(ItemTypeID)
)
CREATE TABLE OrderItems(
OrderID INT NOT NULL FOREIGN KEY REFERENCES Orders(OrderID),
ItemID INT NOT NULL FOREIGN KEY REFERENCES Items(ItemID),
PRIMARY KEY(OrderID, ItemID)
)
----------------------------------------
-- Problem 6. University Database
CREATE DATABASE University
USE [University]
CREATE TABLE Majors(
MajorID INT PRIMARY KEY IDENTITY,
[Name] VARCHAR(50) NOT NULL
)
CREATE TABLE Students(
StudentID INT PRIMARY KEY IDENTITY,
StudentNumber CHAR(10) NOT NULL,
StudentName VARCHAR(50) NOT NULL,
MajorID INT NOT NULL FOREIGN KEY REFERENCES Majors(MajorID)
)
CREATE TABLE Payments(
PaymentID INT PRIMARY KEY IDENTITY,
PaymentDate DATE NOT NULL,
PaymentAmount DECIMAL(7,2) NOT NULL,
StudentID INT NOT NULL FOREIGN KEY REFERENCES Students(StudentID)
)
CREATE TABLE Subjects(
SubjectID INT PRIMARY KEY IDENTITY,
SubjectName VARCHAR(50) NOT NULL
)
CREATE TABLE Agenda(
StudentID INT NOT NULL FOREIGN KEY REFERENCES Students(StudentID),
SubjectID INT NOT NULL FOREIGN KEY REFERENCES Subjects(SubjectID),
PRIMARY KEY(StudentID, SubjectID)
)
-----------------------------------------
-- Problem 7. SoftUni Design
-----------------------------------------
-- Problem 8. Geography Design
----------------------------------------
-- Problem 9. *Peaks in Rila
USE [Geography]
SELECT m.MountainRange, p.PeakName, p.Elevation
FROM Mountains AS m
JOIN Peaks AS p ON m.Id = p.MountainId
WHERE m.MountainRange = 'Rila'
ORDER BY p.Elevation DESC |
delete from siopened;
delete from spropened;
delete from siclosed;
delete from sprclosed;
|
DELETE
FROM
ft_table
LIMIT 5; |
CREATE TABLE actor(
act_id Integer NOT NULL,
act_fname Char(20) NOT NULL,
act_lname Char(20) NOT NULL,
act_gender Char(1) NOT NULL,
CONSTRAINT actor_pk primary key(act_id)
);
CREATE TABLE director(
dir_id Integer NOT NULL,
dir_fname char(20) NULL,
dir_lname char(20) NULL,
CONSTRAINT director_pk primary key(dir_id)
);
CREATE TABLE movie(
mov_id integer NOT NULL,
mov_title char(50) NOT NULL,
mov_year integer NOT NULL,
mov_time integer NOT NULL,
mov_lang char(50) NOT NULL,
mov_dt_rel date NOT NULL,
mov_rel_country char(5) NOT NULL,
constraint movie primary key(mov_id)
);
CREATE TABLE movie_cast(
act_id Integer NOT NULL,
mov_id Integer NOT NULL,
movie_role Char(30) NULL,
CONSTRAINT movie_cast_pk primary key(act_id, mov_id),
CONSTRAINT movie_cast_fk foreign key(act_id)
references actor(act_id),
CONSTRAINT movie_cast1_fk foreign key(mov_id)
references movie(mov_id)
);
CREATE TABLE movie_direction(
dir_id Integer NOT NULL,
mov_id integer NOT NULL,
CONSTRAINT movie_direction_pk primary key(dir_id, mov_id),
CONSTRAINT movie_direction_fk foreign key(dir_id)
references director(dir_id),
CONSTRAINT movie_direction1_fk foreign key(mov_id)
references movie(mov_id)
);
CREATE TABLE reviewer(
rev_id Integer NOT NULL,
rev_name Char(30) NOT NULL,
CONSTRAINT reviewer_pk primary key(rev_id)
);
CREATE TABLE Genres(
Gen_id integer NOT NULL,
Gen_title char(20) NOT NULL,
constraint Genres_pk primary key(Gen_id)
);
Create Table Movie_genres(
mov_id integer NOT NULL,
gen_id integer NOT NULL,
CONSTRAINT movie_genres_pk primary key(mov_id,gen_id),
CONSTRAINT movie_genres_fk foreign key(mov_id)
references movie(mov_id),
CONSTRAINT movie_genres1_fk foreign key(gen_id)
references genres(gen_id)
);
CREATE TABLE rating(
mov_id Integer NOT NULL,
rev_id Integer NOT NULL,
rev_stars Integer NULL,
num_o_ratings Integer NULL,
CONSTRAINT rating_pk primary key (mov_id, rev_id),
CONSTRAINT rating_fk foreign key(mov_id)
references movie(mov_id),
CONSTRAINT rating1_fk foreign key(rev_id)
references reviewer(rev_id)
); |
①標準偏差(偏差値より母数が不特定の場合、ばらつき度合いを分かる)
elect stddev_pop((unix_timestamp(concat(concat(bd, " "), bt)) - unix_timestamp(concat(concat(ed, " "), et))) / 60) from
(
select enter.dt as ed, enter.time as et, enter.id as ea, back.dt as bd,
min(back.time) as bt from
(select * from activity where activity = 3 and dt = "2012-07-17" and content[1] like "bla..") enter join
(select * from activity where activity = 3 and dt = "2012-07-17" and content[0] <> "bla..") back on enter.id = back.id where enter.time < back.time group by enter.dt, enter.time, enter.id, back.dt) res
分析例、平均滞在時間(30分)は全体の57%になる。
②各ユーザごの滞在時間の平均値、重複合算(1ユーザのエリア内を出入り時間の合計)
select sum(unix_timestamp(concat(concat(bd, " "), bt)) - unix_timestamp(concat(concat(ed, " "), et))) / count(ea) / 60 from
(
select enter.dt as ed, enter.time as et, enter.id as ea, back.dt as bd,
min(back.time) as bt from
(select * from activity where activity = 3 and dt = "2012-07-17" and content[1] like "bla..%") enter join
(select * from activity where activity = 3 and dt = "2012-07-17" and content[0] <> "bla..") back on enter.id = back.id where enter.time < back.time group by enter.dt, enter.time, enter.id, back.dt) res
Hueで滞在時間を計算するSQL
滞在している間のMAX時間を算出できますが、
ただし、現状ブラウザを閉じるイベントを検出できないため、下記2点の誤差に留意し、参考用としてお使いください。
・エリア間の移動(入室)時間の差分であること。
・滞在時間が極端に長い場合は放置かブラウザを閉じ、再ログインした可能性がある。
例、7月17日、あるエリアの平均滞在時間(分)
select sum(big_pot.big_one) / count(big_pot.ea) / 60 from (
select max(unix_timestamp(concat(concat(bd, " "), bt)) - unix_timestamp(concat(concat(ed, " "), et))) as big_one, ea from
(
select enter.dt as ed, enter.time as et, enter.id as ea, back.dt as bd,
min(back.time) as bt from
(select * from activity where activity = 3 and dt = "2012-07-17" and content[1] like "bla..") enter join
(select * from activity where activity = 3 and dt = "2012-07-17" and content[0] <> "bla..") back on enter.id = back.id where enter.time < back.time group by enter.dt, enter.time, enter.id, back.dt) res
group by ea) big_pot |
insert into codetable values ('未分配人')
insert into codetable values ('已分配人')
insert into codetable values ('已禁用')
insert into codetable values ('男')
insert into codetable values ('女')
insert into codetable values ('可用')
insert into codetable values ('占用')
insert into codetable values ('脏台')
insert into codetable values ('现金')
insert into codetable values ('支付宝')
insert into codetable values ('微信')
insert into codetable values ('未做')
insert into codetable values ('正在做')
insert into codetable values ('已完成')
|
/*
Name: Old external clicks
Data source: 4
Created By: Admin
Last Update At: 2016-03-15T19:35:30.743768+00:00
*/
SELECT date(date_time) AS date
FROM (TABLE_QUERY(djomniture:cipomniture_djmansionglobal,'CONCAT(REPLACE(table_id,"_","-"),"-01") BETWEEN STRFTIME_UTC_USEC("{{startdate}}", "%Y-%m-01") and STRFTIME_UTC_USEC("{{enddate}}", "%Y-%m-31")'))
WHERE post_prop72 IS NOT NULL /*IT IS AN EXTERNAL REDIRECTION*/
AND post_prop72 != ''
AND post_prop72 != '__'
AND DATE(date_time) >= DATE('{{startdate}}')
AND DATE(date_time) >= date('2015-10-10')
AND post_prop75=''
AND post_prop72 NOT LIKE '%/listings/%'
AND DATE(date_time) <= DATE('{{enddate}}')
ORDER BY date
|
--///////////////////////////////////////////////////////////////////
select * from xml where transcode = '020613' order by exdate desc;
--///////////////////////////////////////////////////////////////
select hdde266,hdde124 from ZB054
select * from zb051 where de011 = 2013 and jsde955 = '101003' jsde127 = 1375 and rownum =1;
select V1_ZB051_ZB.* from V1_ZB051_ZB
where de011 = 2013 and de022 = 110108 and de011=2013 and de151 like '%0147%'
order by jsde940,de001 desc
select * from zb051 where jsde127 = 474
select * from zb051 where de151 like '%0147%'
select * from zb051 order by jsde999 desc
|
CREATE TABLE users (
id BIGINT AUTO_INCREMENT NOT NULL,
nickname VARCHAR(128),
PRIMARY KEY(id)
) Engine=INNODB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8mb4; |
Account Char Type Code
Account Char Type Description
Account Char Type Name
--BILLING LANGUAGE
SELECT DISTINCT
'BILLING LANGUAGE' TYPE,
CCLANGUAGE "Account Char Type Code",
LANG.LNG_DES "Account Char Type Name",
LANG.LNG_DES "Account Char Type Description"
FROM CCONTACT_ALL CCA, BILLACC_ADDRESS_ASSIGNMENT BAA, ADDRESS_TYPE AT, BILLING_ACCOUNT BA, LANGUAGE LANG
WHERE CCA.CUSTOMER_ID = BAA.CUSTOMER_ID
AND CCA.CCSEQ = BAA.CCSEQ
AND BAA.ADDRESS_TYPE_ID = AT.ADDRESS_TYPE_ID
AND CCA.CUSTOMER_ID= BA.CUSTOMER_ID
AND CCA.CCLANGUAGE= LANG.LNG_ID
--BILL PRESENTATION TYPE
SELECT
'BILL PRESENTATION TYPE' TYPE,
UPPER(BAC.STRING16) "Account Char Type Code",
NULL "Account Char Type Name",
CASE
WHEN UPPER(BAC.STRING16)='Y' THEN 'PAPER BILL'
WHEN UPPER(BAC.STRING16) ='N' THEN 'PAPERLESS BILL'
END "Account Char Type Description"
FROM BILLING_ACCOUNT BA, BILLACC_CHARACTERISTICS BAC, CHARACTERISTICS_DEF CD
WHERE BA.BILLING_ACCOUNT_ID = BAC.BILLING_ACCOUNT_ID
AND BA.BILLING_ACCOUNT_CODE = BAC.EXT_ID
AND BAC.CHAR_ID = CD.CHAR_ID
AND CD.CHAR_DES='BillingAccountPreferences'
AND BAC.STRING16 IS NOT NULL
--INVOICE SUMMARY/DETAILBILLINDICATOR -- DOMAIN VALUES; SUMMARY, DETAILS
Select
'BILL PRESENTATION TYPE' TYPE,
BAC.STRING03 "Account Char Type Code",
NULL "Account Char Type Name",
BAC.STRING03 "Account Char Type Description"
FROM BILLING_ACCOUNT BA, BILLACC_CHARACTERISTICS BAC, CHARACTERISTICS_DEF CD
WHERE BA.BILLING_ACCOUNT_ID = BAC.BILLING_ACCOUNT_ID
AND BA.BILLING_ACCOUNT_CODE = BAC.EXT_ID
AND BAC.CHAR_ID = CD.CHAR_ID
AND CD.CHAR_DES='BillingAccountPreferences'
AND BAC.STRING03 IS NOT NULL
PAYMENT ARRANGEMENTS
SELECT BA.BILLING_ACCOUNT_CODE, STRING01 PAYMENT_ARRANGEMENT, STRING02 PAYMENT_METHOD,
STRING03 PAYMENT_SUB_METHOD, STRING08 FIRST_SIX, STRING09 LAST_FOUR, STRING16 CREDIT_CARD_EXP_DATE, -- CREDIT CARD INFORMATION IF PAYMENT METHOD IS CREDIT CARD
PAB.VALID_FROM START_DATE, PAB.VALID_TO END_DATE
FROM PAYMENT_ARR_CHARACTERISTICS PAC, PAYMENT_ARRANGEMENT_BILLACC PAB, CHARACTERISTICS_DEF CD, BILLING_ACCOUNT BA
WHERE PAC.CHAR_ID = CD.CHAR_ID
AND CD.CHAR_DES = 'PayArrExtension'
AND UPPER(STRING01) LIKE '%AUTO%'
AND PAC.PAYMENT_ID = PAB.PAYMENT_ID
AND BA.BILLING_ACCOUNT_ID =PAB.BILLING_ACCOUNT_ID
--AND BA.BILLING_ACCOUNT_CODE=<<BILLING_ACCOUNT_CODE>> |
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Sep 05, 2020 at 02:38 PM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.4.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `online_store`
--
-- --------------------------------------------------------
--
-- Table structure for table `brands`
--
CREATE TABLE `brands` (
`id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`logo` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `brands`
--
INSERT INTO `brands` (`id`, `name`, `logo`, `created_at`, `updated_at`) VALUES
(1, 'Gucci', 'images/brand/Sport Shoe (2).jpg', '2020-09-01 12:37:14', '0000-00-00 00:00:00'),
(2, 'Nike', 'images/brand/Sport Shoe (3).jpg', '2020-09-02 02:25:08', '0000-00-00 00:00:00'),
(4, 'Adidas', 'images/brand/Sport Shoe (8).jpg', '2020-09-03 03:36:32', '0000-00-00 00:00:00'),
(6, 'Sneakers', 'images/brand/Sport Shoe (5).jpg', '2020-09-03 11:30:37', '0000-00-00 00:00:00'),
(7, 'DELL', 'images/brand/dell1.jpg', '2020-09-04 06:58:53', '0000-00-00 00:00:00'),
(8, 'Acer', 'images/brand/acer1.jpg', '2020-09-04 06:59:13', '0000-00-00 00:00:00');
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`photo` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`id`, `name`, `photo`, `created_at`, `updated_at`) VALUES
(1, 'Shoes', 'images/categories/Sport Shoe (3).jpg', '2020-09-01 11:54:45', '0000-00-00 00:00:00'),
(3, 'Sport_Shirts', 'images/categories/Sport Shoe (2).png', '2020-09-03 11:36:37', '0000-00-00 00:00:00'),
(4, 'Laptop', 'images/categories/laptop1.jpg', '2020-09-04 07:01:40', '0000-00-00 00:00:00');
-- --------------------------------------------------------
--
-- Table structure for table `items`
--
CREATE TABLE `items` (
`id` int(11) NOT NULL,
`codeno` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`photo` text COLLATE utf8_unicode_ci NOT NULL,
`price` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`discount` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`brand_id` int(11) NOT NULL,
`subcategory_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `items`
--
INSERT INTO `items` (`id`, `codeno`, `name`, `photo`, `price`, `discount`, `description`, `created_at`, `updated_at`, `brand_id`, `subcategory_id`) VALUES
(2, 'CODE_949935', 'sport_shoes', 'images/items/Sport Shoe (2).png', '100000', '30000', 'Nice!!', '2020-09-03 09:46:46', '0000-00-00 00:00:00', 2, 1),
(3, 'CODE_949935', 'sports', 'images/items/Sport Shoe (2).png', '300000', '30000', 'Nice!!', '2020-09-04 07:08:33', '0000-00-00 00:00:00', 2, 1),
(4, 'CODE_949935', 'sport-update', 'images/items/Sport Shoe (6).jpg', '100000', '70000', 'Nice!!', '2020-09-04 07:08:18', '0000-00-00 00:00:00', 2, 1),
(5, 'CODE_821445', 'Dell', 'images/items/dell4.jpg', '1200000', '1000000', 'i5', '2020-09-04 07:03:52', '0000-00-00 00:00:00', 7, 5),
(6, 'CODE_394850', 'Dell2', 'images/items/dell2.jpeg', '1500000', '1000000', 'wowww', '2020-09-04 07:06:09', '0000-00-00 00:00:00', 7, 5),
(7, 'CODE_248546', 'Acer', 'images/items/acer2.jpg', '1000000', '800000', 'nice', '2020-09-04 07:06:58', '0000-00-00 00:00:00', 8, 6),
(8, 'CODE_247468', 'acer', 'images/items/acer4.jpg', '1900000', '900000', 'lll', '2020-09-04 07:10:00', '0000-00-00 00:00:00', 8, 6),
(9, 'CODE_559288', 'acer', 'images/items/acer3.jpg', '800000', '', 'blah', '2020-09-04 07:10:44', '0000-00-00 00:00:00', 8, 6);
-- --------------------------------------------------------
--
-- Table structure for table `orderdetails`
--
CREATE TABLE `orderdetails` (
`id` int(11) NOT NULL,
`voucherno` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`qty` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`item_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`id` int(11) NOT NULL,
`orderdate` date NOT NULL,
`voucherno` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`total` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`note` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`user_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `subcategories`
--
CREATE TABLE `subcategories` (
`id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`category_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `subcategories`
--
INSERT INTO `subcategories` (`id`, `name`, `created_at`, `updated_at`, `category_id`) VALUES
(1, 'Nike1', '2020-09-02 02:58:11', '0000-00-00 00:00:00', 1),
(2, 'Nike2', '2020-09-02 02:58:27', '0000-00-00 00:00:00', 2),
(3, 'Gucci1', '2020-09-02 02:59:19', '0000-00-00 00:00:00', 1),
(4, 'Gucci2', '2020-09-02 02:59:55', '0000-00-00 00:00:00', 2),
(5, 'Dell', '2020-09-04 07:02:25', '0000-00-00 00:00:00', 4),
(6, 'Acer', '2020-09-04 07:02:48', '0000-00-00 00:00:00', 4);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`profile` text COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`address` text COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`role_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `profile`, `email`, `password`, `phone`, `address`, `status`, `created_at`, `updated_at`, `role_id`) VALUES
(1, 'Hsu Wai Wai Hnin', 'backend/images/users/beauty.jpeg', 'hsuwai2hnin@gmail.com', '111111', '09987654321', 'Monywa ', 1, '2020-09-05 04:05:46', '0000-00-00 00:00:00', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `brands`
--
ALTER TABLE `brands`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `items`
--
ALTER TABLE `items`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orderdetails`
--
ALTER TABLE `orderdetails`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `subcategories`
--
ALTER TABLE `subcategories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `brands`
--
ALTER TABLE `brands`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `items`
--
ALTER TABLE `items`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `orderdetails`
--
ALTER TABLE `orderdetails`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `subcategories`
--
ALTER TABLE `subcategories`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
CREATE Procedure sp_Get_InvoiceDetailReceived_Items (@InvoiceID Int)
As
Select Count(*) from GrnAbstract, InvoiceAbstractReceived IAR Where
GrnAbstract.RecdInvoiceID = IAR.InvoiceID and
IAR.DocumentID = Isnull((Select DocumentId from InvoiceAbstractReceived IAR2
Where IAR2.InvoiceID = @InvoiceID),N'')
Select Items.Product_Code, Items.ProductName,
Sum(Case SalePrice When 0 Then 0 Else Quantity End),
Sum(Case SalePrice When 0 Then Quantity Else 0 End),
Items.Virtual_Track_Batches, ItemCategories.Price_Option, Items.TrackPKD,
InvoiceDetailReceived.TaxCode,
InvoiceDetailReceived.TaxApplicableOn,
InvoiceDetailReceived.TaxPartOff
From InvoiceDetailReceived, Items, ItemCategories
Where InvoiceDetailReceived.InvoiceID = @InvoiceID
And InvoiceDetailReceived.ForumCode = Items.Alias
And Items.CategoryID = ItemCategories.CategoryID
Group By Items.Product_Code, Items.ProductName, Items.Virtual_Track_Batches,
ItemCategories.Price_Option, Items.TrackPKD,
InvoiceDetailReceived.TaxCode,
InvoiceDetailReceived.TaxApplicableOn,
InvoiceDetailReceived.TaxPartOff
Order By Min(ItemOrder)
|
grant select on YKT_CUR.T_TRANSDTL to YKT_PORTAL;
grant select on YKT_CUR.T_POSDTL to YKT_PORTAL;
grant select, insert, delete, index on YKT_CUR.T_MSGLIST to YKT_PORTAL;
grant select, insert, delete, index on YKT_CUR.T_CARDVER to YKT_PORTAL;
grant select on YKT_CUR.T_DICTIONARY to YKT_PORTAL;
grant select on YKT_CUR.T_TRANSCODE to YKT_PORTAL;
grant select, update on YKT_CUR.T_CARD to YKT_PORTAL;
grant select on YKT_CUR.T_DEVICE to YKT_PORTAL;
grant select on YKT_CUR.T_PHOTO to YKT_PORTAL;
grant select on YKT_CUR.T_SPECIALTY to YKT_PORTAL;
grant select on YKT_CUR.T_CUSTOMER to YKT_PORTAL;
grant select on YKT_CUR.T_DEPT to YKT_PORTAL;
grant select on YKT_CUR.T_ACCOUNT to YKT_PORTAL;
grant select on YKT_CUR.T_CARDTYPE to YKT_PORTAL;
grant select on ykt_cur.t_feetype to YKT_PORTAL;
grant select on YKT_CUR.t_cardtype to YKT_PORTAL;
grant select on YKT_CUR.t_area to YKT_PORTAL;
grant select, insert, update, delete, index on YKT_CUR.t_bankcard to YKT_PORTAL;
grant select on ykt_cur.t_brastransdtl to ykt_portal;
grant select on ykt_cur.t_rptposledger to YKT_PORTAL;
grant select on ykt_cur.t_rptshoprakeoff to YKT_PORTAL;
grant select on ykt_cur.t_shop to YKT_PORTAL;
grant select on ykt_cur.v_device to YKT_PORTAL;
grant select on ykt_cur.t_transtype to YKT_PORTAL;
grant select on ykt_cur.t_rptsubjledger to YKT_PORTAL;
grant select on ykt_cur.t_custtype to YKT_PORTAL;
grant select on ykt_cur.t_rptopercash to YKT_PORTAL;
grant select on ykt_cur.t_specialty to YKT_PORTAL;
grant select on ykt_cur.v_term to ykt_portal;
grant select on YKT_CUR.V_TRANSDTL to YKT_PORTAL;
CREATE TABLE YKT_PORTAL.T_RPTTERMLEDGER (
ACCDATE VARCHAR(8) NOT NULL,
TERMID INTEGER NOT NULL,
SUBJNO VARCHAR(6) NOT NULL,
ACCNO VARCHAR(10) NOT NULL,
TRANSTYPE INTEGER,
SUMMARY VARCHAR(60) NOT NULL,
TRANSCNT INTEGER,
DRAMT NUMBER(15,2),
CRAMT NUMBER(15,2),
CONSTRAINT PK_T_RPTTERMLEDGER PRIMARY KEY (ACCDATE, TERMID, ACCNO, SUMMARY)
);
COMMENT ON TABLE YKT_PORTAL.T_RPTTERMLEDGER IS
'T_RPTTERMLEDGER-终端分类账表';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.ACCDATE IS
'业务日期';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.TERMID IS
'终端编号';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.SUBJNO IS
'科目号';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.ACCNO IS
'账号';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.TRANSTYPE IS
'交易类型';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.SUMMARY IS
'摘要';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.TRANSCNT IS
'交易次数';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.DRAMT IS
'借方发生额';
COMMENT ON COLUMN YKT_PORTAL.T_RPTTERMLEDGER.CRAMT IS
'贷方发生额';
CREATE TABLE YKT_PORTAL.T_RPTDEPTLEDGER (
ACCDATE VARCHAR(8) NOT NULL,
DEPTCODE VARCHAR(30) NOT NULL,
SUBJNO VARCHAR(6) NOT NULL,
TRANSTYPE INTEGER NOT NULL,
SUMMARY VARCHAR(60) NOT NULL,
TRANSCNT INTEGER,
DRAMT NUMBER(15,2),
CRAMT NUMBER(15,2),
CONSTRAINT PK_T_RPTDEPTLEDGER PRIMARY KEY (ACCDATE, DEPTCODE, SUBJNO, SUMMARY)
);
COMMENT ON TABLE YKT_PORTAL.T_RPTDEPTLEDGER IS
'T_RPTDEPTLEDGER-部门分类账表';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.ACCDATE IS
'业务日期';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.DEPTCODE IS
'部门代码';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.SUBJNO IS
'科目号';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.TRANSTYPE IS
'交易类型';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.SUMMARY IS
'摘要';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.TRANSCNT IS
'交易次数';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.DRAMT IS
'借方发生额';
COMMENT ON COLUMN YKT_PORTAL.T_RPTDEPTLEDGER.CRAMT IS
'贷方发生额';
-- Create table
create table YKT_PORTAL.T_RCSTATDATA
(
CARD_NO INTEGER not null,
MEAL CHAR(20) not null,
TX_DATE CHAR(8) not null,
AMOUNT NUMBER(15,2),
CONSTRAINT PK_T_RCSTATDATA PRIMARY KEY (CARD_NO, MEAL, TX_DATE)
);
create index IDX_RCSTATDATA on YKT_PORTAL.T_RCSTATDATA (CARD_NO, MEAL, TX_DATE);
create table YKT_PORTAL.STORE_LIMIT (
OPER_CODE VARCHAR2(60) not null,
STORE_CODE VARCHAR2(6) not null,
primary key (OPER_CODE, STORE_CODE)
);
/*==============================================================*/
/* Table: ECARD_HIT_INFO */
/*==============================================================*/
create table YKT_PORTAL.ECARD_HIT_INFO (
ID INTEGER not null,
TITLE VARCHAR2(500),
INFO_ID INTEGER not null,
primary key (ID)
);
/*==============================================================*/
/* Table: ECARD_INFORMATION */
/*==============================================================*/
create table YKT_PORTAL.ECARD_INFORMATION (
ID INTEGER not null,
INFO_TYPE VARCHAR2(20),
INFO_TITLE VARCHAR2(500),
INFO_CONTENT CLOB,
ATTACHMENTS VARCHAR2(90),
CREATE_DATE TIMESTAMP,
CREATER VARCHAR2(20),
primary key (ID)
);
/*==============================================================*/
/* Table: ECARD_MSGBOARD */
/*==============================================================*/
create table YKT_PORTAL.ECARD_MSGBOARD (
ID INTEGER not null,
MSG_TITLE VARCHAR2(200),
POST_TIME TIMESTAMP,
POSTER VARCHAR2(40),
POST_CONTENT CLOB,
REPLY_TIME TIMESTAMP,
REPLYER VARCHAR2(40),
REPLY_CONTENT CLOB,
STATUS CHAR(1),
primary key (ID)
);
/*==============================================================*/
/* Table: ECARD_PIC_DELAY */
/*==============================================================*/
create table YKT_PORTAL.ECARD_PIC_DELAY (
CUR_STUEMP_NO VARCHAR2(20) not null,
OLD_STUEMP_NO VARCHAR2(20),
STATUS CHAR(1),
primary key (CUR_STUEMP_NO)
);
/*==============================================================*/
/* Table: ECARD_POSTPONE_APPLY */
/*==============================================================*/
create table YKT_PORTAL.ECARD_POSTPONE_APPLY (
ID INTEGER not null,
STUEMPNO VARCHAR2(20),
REASON VARCHAR2(900),
POSTPONE_TIME VARCHAR2(8),
APPLY_TIME TIMESTAMP,
CHECK_RESULT VARCHAR2(240),
STATUS CHAR(1),
primary key (ID)
);
create table YKT_PORTAL.POSTPONE_FILES
(
ID INTEGER not null,
GENERATE_DATE TIMESTAMP(6),
FILE_CONTENT CLOB,
primary key (ID)
);
/*==============================================================*/
/* Table: INFO_TYPE */
/*==============================================================*/
create table YKT_PORTAL.INFO_TYPE (
INFO_TYPE VARCHAR2(20) not null,
INFO_NAME VARCHAR2(100),
primary key (INFO_TYPE)
);
-- Create table
create table YKT_PORTAL.UPLOAD_FILES
(
ID INTEGER not null,
STORE_FILENAME VARCHAR2(240),
OLD_FILENAME VARCHAR2(240),
primary key (ID)
);
create table YKT_PORTAL.Account_ (
accountId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
parentAccountId number(30,0),
name varchar2(75) null,
legalName varchar2(75) null,
legalId varchar2(75) null,
legalType varchar2(75) null,
sicCode varchar2(75) null,
tickerSymbol varchar2(75) null,
industry varchar2(75) null,
type_ varchar2(75) null,
size_ varchar2(75) null
);
create table YKT_PORTAL.ActivityTracker (
activityTrackerId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
activity varchar2(75) null,
extraData clob null,
receiverUserId number(30,0),
receiverUserName varchar2(75) null
);
create table YKT_PORTAL.Address (
addressId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
street1 varchar2(75) null,
street2 varchar2(75) null,
street3 varchar2(75) null,
city varchar2(75) null,
zip varchar2(75) null,
regionId number(30,0),
countryId number(30,0),
typeId number(30,0),
mailing number(1, 0),
primary_ number(1, 0)
);
create table YKT_PORTAL.BlogsCategory (
categoryId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
parentCategoryId number(30,0),
name varchar2(75) null,
description varchar2(4000) null
);
create table YKT_PORTAL.BlogsEntry (
uuid_ varchar2(75) null,
entryId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
title varchar2(150) null,
urlTitle varchar2(150) null,
content clob null,
displayDate timestamp null
);
create table YKT_PORTAL.BlogsStatsUser (
statsUserId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
entryCount number(30,0),
lastPostDate timestamp null,
ratingsTotalEntries number(30,0),
ratingsTotalScore number(30,20),
ratingsAverageScore number(30,20)
);
create table YKT_PORTAL.BookmarksEntry (
uuid_ varchar2(75) null,
entryId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
createDate timestamp null,
modifiedDate timestamp null,
folderId number(30,0),
name varchar2(300) null,
url varchar2(4000) null,
comments varchar2(4000) null,
visits number(30,0),
priority number(30,0)
);
create table YKT_PORTAL.BookmarksFolder (
uuid_ varchar2(75) null,
folderId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
createDate timestamp null,
modifiedDate timestamp null,
parentFolderId number(30,0),
name varchar2(75) null,
description varchar2(4000) null
);
create table YKT_PORTAL.CalEvent (
uuid_ varchar2(75) null,
eventId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
title varchar2(75) null,
description varchar2(4000) null,
startDate timestamp null,
endDate timestamp null,
durationHour number(30,0),
durationMinute number(30,0),
allDay number(1, 0),
timeZoneSensitive number(1, 0),
type_ varchar2(75) null,
repeating number(1, 0),
recurrence clob null,
remindBy varchar2(75) null,
firstReminder number(30,0),
secondReminder number(30,0)
);
create table YKT_PORTAL.ClassName_ (
classNameId number(30,0) not null primary key,
value varchar2(200) null
);
create table YKT_PORTAL.Company (
companyId number(30,0) not null primary key,
accountId number(30,0),
webId varchar2(75) null,
key_ clob null,
virtualHost varchar2(75) null,
mx varchar2(75) null,
logoId number(30,0)
);
create table YKT_PORTAL.Contact_ (
contactId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
accountId number(30,0),
parentContactId number(30,0),
firstName varchar2(75) null,
middleName varchar2(75) null,
lastName varchar2(75) null,
prefixId number(30,0),
suffixId number(30,0),
male number(1, 0),
birthday timestamp null,
smsSn varchar2(75) null,
aimSn varchar2(75) null,
icqSn varchar2(75) null,
jabberSn varchar2(75) null,
msnSn varchar2(75) null,
skypeSn varchar2(75) null,
ymSn varchar2(75) null,
employeeStatusId varchar2(75) null,
employeeNumber varchar2(75) null,
jobTitle varchar2(100) null,
jobClass varchar2(75) null,
hoursOfOperation varchar2(75) null
);
create table YKT_PORTAL.Counter (
name varchar2(75) not null primary key,
currentId number(30,0)
);
create table YKT_PORTAL.Country (
countryId number(30,0) not null primary key,
name varchar2(75) null,
a2 varchar2(75) null,
a3 varchar2(75) null,
number_ varchar2(75) null,
idd_ varchar2(75) null,
active_ number(1, 0)
);
create table YKT_PORTAL.CyrusUser (
userId varchar2(75) not null primary key,
password_ varchar2(75) not null
);
create table YKT_PORTAL.CyrusVirtual (
emailAddress varchar2(75) not null primary key,
userId varchar2(75) not null
);
create table YKT_PORTAL.DLFileEntry (
uuid_ varchar2(75) null,
fileEntryId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
versionUserId number(30,0),
versionUserName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
folderId number(30,0),
name varchar2(300) null,
title varchar2(300) null,
description varchar2(4000) null,
version number(30,20),
size_ number(30,0),
readCount number(30,0),
extraSettings clob null
);
create table YKT_PORTAL.DLFileRank (
fileRankId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
createDate timestamp null,
folderId number(30,0),
name varchar2(300) null
);
create table YKT_PORTAL.DLFileShortcut (
uuid_ varchar2(75) null,
fileShortcutId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
folderId number(30,0),
toFolderId number(30,0),
toName varchar2(300) null
);
create table YKT_PORTAL.DLFileVersion (
fileVersionId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
folderId number(30,0),
name varchar2(300) null,
version number(30,20),
size_ number(30,0)
);
create table YKT_PORTAL.DLFolder (
uuid_ varchar2(75) null,
folderId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
parentFolderId number(30,0),
name varchar2(100) null,
description varchar2(4000) null,
lastPostDate timestamp null
);
create table YKT_PORTAL.EmailAddress (
emailAddressId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
address varchar2(75) null,
typeId number(30,0),
primary_ number(1, 0)
);
create table YKT_PORTAL.Group_ (
groupId number(30,0) not null primary key,
companyId number(30,0),
creatorUserId number(30,0),
classNameId number(30,0),
classPK number(30,0),
parentGroupId number(30,0),
liveGroupId number(30,0),
name varchar2(75) null,
description varchar2(4000) null,
type_ number(30,0),
typeSettings varchar2(4000) null,
friendlyURL varchar2(100) null,
active_ number(1, 0)
);
create table YKT_PORTAL.Groups_Orgs (
groupId number(30,0) not null,
organizationId number(30,0) not null,
primary key (groupId, organizationId)
);
create table YKT_PORTAL.Groups_Permissions (
groupId number(30,0) not null,
permissionId number(30,0) not null,
primary key (groupId, permissionId)
);
create table YKT_PORTAL.Groups_Roles (
groupId number(30,0) not null,
roleId number(30,0) not null,
primary key (groupId, roleId)
);
create table YKT_PORTAL.Groups_UserGroups (
groupId number(30,0) not null,
userGroupId number(30,0) not null,
primary key (groupId, userGroupId)
);
create table YKT_PORTAL.IGFolder (
uuid_ varchar2(75) null,
folderId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
createDate timestamp null,
modifiedDate timestamp null,
parentFolderId number(30,0),
name varchar2(75) null,
description varchar2(4000) null
);
create table YKT_PORTAL.IGImage (
uuid_ varchar2(75) null,
imageId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
createDate timestamp null,
modifiedDate timestamp null,
folderId number(30,0),
description varchar2(4000) null,
smallImageId number(30,0),
largeImageId number(30,0)
);
create table YKT_PORTAL.Image (
imageId number(30,0) not null primary key,
modifiedDate timestamp null,
text_ clob null,
type_ varchar2(75) null,
height number(30,0),
width number(30,0),
size_ number(30,0)
);
create table YKT_PORTAL.JournalArticle (
uuid_ varchar2(75) null,
id_ number(30,0) not null primary key,
resourcePrimKey number(30,0),
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
articleId varchar2(75) null,
version number(30,20),
title varchar2(100) null,
description varchar2(4000) null,
content clob null,
type_ varchar2(75) null,
structureId varchar2(75) null,
templateId varchar2(75) null,
displayDate timestamp null,
approved number(1, 0),
approvedByUserId number(30,0),
approvedByUserName varchar2(75) null,
approvedDate timestamp null,
expired number(1, 0),
expirationDate timestamp null,
reviewDate timestamp null,
indexable number(1, 0),
smallImage number(1, 0),
smallImageId number(30,0),
smallImageURL varchar2(75) null
);
create table YKT_PORTAL.JournalArticleImage (
articleImageId number(30,0) not null primary key,
groupId number(30,0),
articleId varchar2(75) null,
version number(30,20),
elName varchar2(75) null,
languageId varchar2(75) null,
tempImage number(1, 0)
);
create table YKT_PORTAL.JournalArticleResource (
resourcePrimKey number(30,0) not null primary key,
groupId number(30,0),
articleId varchar2(75) null
);
create table YKT_PORTAL.JournalContentSearch (
contentSearchId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
privateLayout number(1, 0),
layoutId number(30,0),
portletId varchar2(200) null,
articleId varchar2(75) null
);
create table YKT_PORTAL.JournalFeed (
uuid_ varchar2(75) null,
id_ number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
feedId varchar2(75) null,
name varchar2(75) null,
description varchar2(4000) null,
type_ varchar2(75) null,
structureId varchar2(75) null,
templateId varchar2(75) null,
rendererTemplateId varchar2(75) null,
delta number(30,0),
orderByCol varchar2(75) null,
orderByType varchar2(75) null,
targetLayoutFriendlyUrl varchar2(75) null,
targetPortletId varchar2(75) null,
contentField varchar2(75) null,
feedType varchar2(75) null,
feedVersion number(30,20)
);
create table YKT_PORTAL.JournalStructure (
uuid_ varchar2(75) null,
id_ number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
structureId varchar2(75) null,
name varchar2(75) null,
description varchar2(4000) null,
xsd clob null
);
create table YKT_PORTAL.JournalTemplate (
uuid_ varchar2(75) null,
id_ number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
templateId varchar2(75) null,
structureId varchar2(75) null,
name varchar2(75) null,
description varchar2(4000) null,
xsl clob null,
langType varchar2(75) null,
cacheable number(1, 0),
smallImage number(1, 0),
smallImageId number(30,0),
smallImageURL varchar2(75) null
);
create table YKT_PORTAL.Layout (
plid number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
privateLayout number(1, 0),
layoutId number(30,0),
parentLayoutId number(30,0),
name varchar2(4000) null,
title varchar2(4000) null,
description varchar2(4000) null,
type_ varchar2(75) null,
typeSettings clob null,
hidden_ number(1, 0),
friendlyURL varchar2(100) null,
iconImage number(1, 0),
iconImageId number(30,0),
themeId varchar2(75) null,
colorSchemeId varchar2(75) null,
wapThemeId varchar2(75) null,
wapColorSchemeId varchar2(75) null,
css varchar2(4000) null,
priority number(30,0),
dlFolderId number(30,0)
);
create table YKT_PORTAL.LayoutSet (
layoutSetId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
privateLayout number(1, 0),
logo number(1, 0),
logoId number(30,0),
themeId varchar2(75) null,
colorSchemeId varchar2(75) null,
wapThemeId varchar2(75) null,
wapColorSchemeId varchar2(75) null,
css varchar2(75) null,
pageCount number(30,0),
virtualHost varchar2(75) null
);
create table YKT_PORTAL.ListType (
listTypeId number(30,0) not null primary key,
name varchar2(75) null,
type_ varchar2(75) null
);
create table YKT_PORTAL.MBBan (
banId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
banUserId number(30,0)
);
create table YKT_PORTAL.MBCategory (
uuid_ varchar2(75) null,
categoryId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
parentCategoryId number(30,0),
name varchar2(75) null,
description varchar2(4000) null,
lastPostDate timestamp null
);
create table YKT_PORTAL.MBDiscussion (
discussionId number(30,0) not null primary key,
classNameId number(30,0),
classPK number(30,0),
threadId number(30,0)
);
create table YKT_PORTAL.MBMessage (
uuid_ varchar2(75) null,
messageId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
categoryId number(30,0),
threadId number(30,0),
parentMessageId number(30,0),
subject varchar2(75) null,
body clob null,
attachments number(1, 0),
anonymous number(1, 0)
);
create table YKT_PORTAL.MBMessageFlag (
messageFlagId number(30,0) not null primary key,
userId number(30,0),
messageId number(30,0),
flag number(30,0)
);
create table YKT_PORTAL.MBStatsUser (
statsUserId number(30,0) not null primary key,
groupId number(30,0),
userId number(30,0),
messageCount number(30,0),
lastPostDate timestamp null
);
create table YKT_PORTAL.MBThread (
threadId number(30,0) not null primary key,
categoryId number(30,0),
rootMessageId number(30,0),
messageCount number(30,0),
viewCount number(30,0),
lastPostByUserId number(30,0),
lastPostDate timestamp null,
priority number(30,20)
);
create table YKT_PORTAL.MembershipRequest (
membershipRequestId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
createDate timestamp null,
groupId number(30,0),
comments varchar2(4000) null,
replyComments varchar2(4000) null,
replyDate timestamp null,
replierUserId number(30,0),
statusId number(30,0)
);
create table YKT_PORTAL.Organization_ (
organizationId number(30,0) not null primary key,
companyId number(30,0),
parentOrganizationId number(30,0),
name varchar2(100) null,
location number(1, 0),
recursable number(1, 0),
regionId number(30,0),
countryId number(30,0),
statusId number(30,0),
comments varchar2(4000) null
);
create table YKT_PORTAL.OrgGroupPermission (
organizationId number(30,0) not null,
groupId number(30,0) not null,
permissionId number(30,0) not null,
primary key (organizationId, groupId, permissionId)
);
create table YKT_PORTAL.OrgGroupRole (
organizationId number(30,0) not null,
groupId number(30,0) not null,
roleId number(30,0) not null,
primary key (organizationId, groupId, roleId)
);
create table YKT_PORTAL.OrgLabor (
orgLaborId number(30,0) not null primary key,
organizationId number(30,0),
typeId number(30,0),
sunOpen number(30,0),
sunClose number(30,0),
monOpen number(30,0),
monClose number(30,0),
tueOpen number(30,0),
tueClose number(30,0),
wedOpen number(30,0),
wedClose number(30,0),
thuOpen number(30,0),
thuClose number(30,0),
friOpen number(30,0),
friClose number(30,0),
satOpen number(30,0),
satClose number(30,0)
);
create table YKT_PORTAL.PasswordPolicy (
passwordPolicyId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
defaultPolicy number(1, 0),
name varchar2(75) null,
description varchar2(4000) null,
changeable number(1, 0),
changeRequired number(1, 0),
minAge number(30,0),
checkSyntax number(1, 0),
allowDictionaryWords number(1, 0),
minLength number(30,0),
history number(1, 0),
historyCount number(30,0),
expireable number(1, 0),
maxAge number(30,0),
warningTime number(30,0),
graceLimit number(30,0),
lockout number(1, 0),
maxFailure number(30,0),
lockoutDuration number(30,0),
requireUnlock number(1, 0),
resetFailureCount number(30,0)
);
create table YKT_PORTAL.PasswordPolicyRel (
passwordPolicyRelId number(30,0) not null primary key,
passwordPolicyId number(30,0),
classNameId number(30,0),
classPK number(30,0)
);
create table YKT_PORTAL.PasswordTracker (
passwordTrackerId number(30,0) not null primary key,
userId number(30,0),
createDate timestamp null,
password_ varchar2(75) null
);
create table YKT_PORTAL.Permission_ (
permissionId number(30,0) not null primary key,
companyId number(30,0),
actionId varchar2(75) null,
resourceId number(30,0)
);
create table YKT_PORTAL.Phone (
phoneId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
number_ varchar2(75) null,
extension varchar2(75) null,
typeId number(30,0),
primary_ number(1, 0)
);
create table YKT_PORTAL.PluginSetting (
pluginSettingId number(30,0) not null primary key,
companyId number(30,0),
pluginId varchar2(75) null,
pluginType varchar2(75) null,
roles varchar2(4000) null,
active_ number(1, 0)
);
create table YKT_PORTAL.PollsChoice (
uuid_ varchar2(75) null,
choiceId number(30,0) not null primary key,
questionId number(30,0),
name varchar2(75) null,
description varchar2(1000) null
);
create table YKT_PORTAL.PollsQuestion (
uuid_ varchar2(75) null,
questionId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
title varchar2(500) null,
description varchar2(4000) null,
expirationDate timestamp null,
lastVoteDate timestamp null
);
create table YKT_PORTAL.PollsVote (
voteId number(30,0) not null primary key,
userId number(30,0),
questionId number(30,0),
choiceId number(30,0),
voteDate timestamp null
);
create table YKT_PORTAL.Portlet (
id_ number(30,0) not null primary key,
companyId number(30,0),
portletId varchar2(200) null,
roles varchar2(4000) null,
active_ number(1, 0)
);
create table YKT_PORTAL.PortletPreferences (
portletPreferencesId number(30,0) not null primary key,
ownerId number(30,0),
ownerType number(30,0),
plid number(30,0),
portletId varchar2(200) null,
preferences clob null
);
create table YKT_PORTAL.RatingsEntry (
entryId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
score number(30,20)
);
create table YKT_PORTAL.RatingsStats (
statsId number(30,0) not null primary key,
classNameId number(30,0),
classPK number(30,0),
totalEntries number(30,0),
totalScore number(30,20),
averageScore number(30,20)
);
create table YKT_PORTAL.Region (
regionId number(30,0) not null primary key,
countryId number(30,0),
regionCode varchar2(75) null,
name varchar2(75) null,
active_ number(1, 0)
);
create table YKT_PORTAL.Release_ (
releaseId number(30,0) not null primary key,
createDate timestamp null,
modifiedDate timestamp null,
buildNumber number(30,0),
buildDate timestamp null,
verified number(1, 0)
);
create table YKT_PORTAL.Resource_ (
resourceId number(30,0) not null primary key,
codeId number(30,0),
primKey varchar2(300) null
);
create table YKT_PORTAL.ResourceCode (
codeId number(30,0) not null primary key,
companyId number(30,0),
name varchar2(300) null,
scope number(30,0)
);
create table YKT_PORTAL.Role_ (
roleId number(30,0) not null primary key,
companyId number(30,0),
classNameId number(30,0),
classPK number(30,0),
name varchar2(75) null,
description varchar2(4000) null,
type_ number(30,0)
);
create table YKT_PORTAL.Roles_Permissions (
roleId number(30,0) not null,
permissionId number(30,0) not null,
primary key (roleId, permissionId)
);
create table YKT_PORTAL.SCFrameworkVersi_SCProductVers (
productVersionId number(30,0) not null,
frameworkVersionId number(30,0) not null,
primary key (productVersionId, frameworkVersionId)
);
create table YKT_PORTAL.SCFrameworkVersion (
frameworkVersionId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
name varchar2(75) null,
url varchar2(4000) null,
active_ number(1, 0),
priority number(30,0)
);
create table YKT_PORTAL.SCLicense (
licenseId number(30,0) not null primary key,
name varchar2(75) null,
url varchar2(4000) null,
openSource number(1, 0),
active_ number(1, 0),
recommended number(1, 0)
);
create table YKT_PORTAL.SCLicenses_SCProductEntries (
productEntryId number(30,0) not null,
licenseId number(30,0) not null,
primary key (productEntryId, licenseId)
);
create table YKT_PORTAL.SCProductEntry (
productEntryId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
name varchar2(75) null,
type_ varchar2(75) null,
tags varchar2(300) null,
shortDescription varchar2(4000) null,
longDescription varchar2(4000) null,
pageURL varchar2(4000) null,
author varchar2(75) null,
repoGroupId varchar2(75) null,
repoArtifactId varchar2(75) null
);
create table YKT_PORTAL.SCProductScreenshot (
productScreenshotId number(30,0) not null primary key,
companyId number(30,0),
groupId number(30,0),
productEntryId number(30,0),
thumbnailId number(30,0),
fullImageId number(30,0),
priority number(30,0)
);
create table YKT_PORTAL.SCProductVersion (
productVersionId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
productEntryId number(30,0),
version varchar2(75) null,
changeLog varchar2(4000) null,
downloadPageURL varchar2(4000) null,
directDownloadURL varchar2(2000) null,
repoStoreArtifact number(1, 0)
);
create table YKT_PORTAL.ServiceComponent (
serviceComponentId number(30,0) not null primary key,
buildNamespace varchar2(75) null,
buildNumber number(30,0),
buildDate number(30,0),
data_ clob null
);
create table YKT_PORTAL.ShoppingCart (
cartId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
itemIds varchar2(4000) null,
couponCodes varchar2(75) null,
altShipping number(30,0),
insure number(1, 0)
);
create table YKT_PORTAL.ShoppingCategory (
categoryId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
parentCategoryId number(30,0),
name varchar2(75) null,
description varchar2(4000) null
);
create table YKT_PORTAL.ShoppingCoupon (
couponId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
code_ varchar2(75) null,
name varchar2(75) null,
description varchar2(4000) null,
startDate timestamp null,
endDate timestamp null,
active_ number(1, 0),
limitCategories varchar2(4000) null,
limitSkus varchar2(4000) null,
minOrder number(30,20),
discount number(30,20),
discountType varchar2(75) null
);
create table YKT_PORTAL.ShoppingItem (
itemId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
categoryId number(30,0),
sku varchar2(75) null,
name varchar2(200) null,
description varchar2(4000) null,
properties varchar2(4000) null,
fields_ number(1, 0),
fieldsQuantities varchar2(4000) null,
minQuantity number(30,0),
maxQuantity number(30,0),
price number(30,20),
discount number(30,20),
taxable number(1, 0),
shipping number(30,20),
useShippingFormula number(1, 0),
requiresShipping number(1, 0),
stockQuantity number(30,0),
featured_ number(1, 0),
sale_ number(1, 0),
smallImage number(1, 0),
smallImageId number(30,0),
smallImageURL varchar2(75) null,
mediumImage number(1, 0),
mediumImageId number(30,0),
mediumImageURL varchar2(75) null,
largeImage number(1, 0),
largeImageId number(30,0),
largeImageURL varchar2(75) null
);
create table YKT_PORTAL.ShoppingItemField (
itemFieldId number(30,0) not null primary key,
itemId number(30,0),
name varchar2(75) null,
values_ varchar2(4000) null,
description varchar2(4000) null
);
create table YKT_PORTAL.ShoppingItemPrice (
itemPriceId number(30,0) not null primary key,
itemId number(30,0),
minQuantity number(30,0),
maxQuantity number(30,0),
price number(30,20),
discount number(30,20),
taxable number(1, 0),
shipping number(30,20),
useShippingFormula number(1, 0),
status number(30,0)
);
create table YKT_PORTAL.ShoppingOrder (
orderId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
number_ varchar2(75) null,
tax number(30,20),
shipping number(30,20),
altShipping varchar2(75) null,
requiresShipping number(1, 0),
insure number(1, 0),
insurance number(30,20),
couponCodes varchar2(75) null,
couponDiscount number(30,20),
billingFirstName varchar2(75) null,
billingLastName varchar2(75) null,
billingEmailAddress varchar2(75) null,
billingCompany varchar2(75) null,
billingStreet varchar2(75) null,
billingCity varchar2(75) null,
billingState varchar2(75) null,
billingZip varchar2(75) null,
billingCountry varchar2(75) null,
billingPhone varchar2(75) null,
shipToBilling number(1, 0),
shippingFirstName varchar2(75) null,
shippingLastName varchar2(75) null,
shippingEmailAddress varchar2(75) null,
shippingCompany varchar2(75) null,
shippingStreet varchar2(75) null,
shippingCity varchar2(75) null,
shippingState varchar2(75) null,
shippingZip varchar2(75) null,
shippingCountry varchar2(75) null,
shippingPhone varchar2(75) null,
ccName varchar2(75) null,
ccType varchar2(75) null,
ccNumber varchar2(75) null,
ccExpMonth number(30,0),
ccExpYear number(30,0),
ccVerNumber varchar2(75) null,
comments varchar2(4000) null,
ppTxnId varchar2(75) null,
ppPaymentStatus varchar2(75) null,
ppPaymentGross number(30,20),
ppReceiverEmail varchar2(75) null,
ppPayerEmail varchar2(75) null,
sendOrderEmail number(1, 0),
sendShippingEmail number(1, 0)
);
create table YKT_PORTAL.ShoppingOrderItem (
orderItemId number(30,0) not null primary key,
orderId number(30,0),
itemId varchar2(75) null,
sku varchar2(75) null,
name varchar2(200) null,
description varchar2(4000) null,
properties varchar2(4000) null,
price number(30,20),
quantity number(30,0),
shippedDate timestamp null
);
create table YKT_PORTAL.Subscription (
subscriptionId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
frequency varchar2(75) null
);
create table YKT_PORTAL.TagsAsset (
assetId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
startDate timestamp null,
endDate timestamp null,
publishDate timestamp null,
expirationDate timestamp null,
mimeType varchar2(75) null,
title varchar2(300) null,
description varchar2(4000) null,
summary varchar2(4000) null,
url varchar2(4000) null,
height number(30,0),
width number(30,0),
priority number(30,20),
viewCount number(30,0)
);
create table YKT_PORTAL.TagsAssets_TagsEntries (
assetId number(30,0) not null,
entryId number(30,0) not null,
primary key (assetId, entryId)
);
create table YKT_PORTAL.TagsEntry (
entryId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
name varchar2(75) null
);
create table YKT_PORTAL.TagsProperty (
propertyId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
entryId number(30,0),
key_ varchar2(75) null,
value varchar2(300) null
);
create table YKT_PORTAL.TagsSource (
sourceId number(30,0) not null primary key,
parentSourceId number(30,0),
name varchar2(75) null,
acronym varchar2(75) null
);
create table YKT_PORTAL.User_ (
uuid_ varchar2(75) null,
userId number(30,0) not null primary key,
companyId number(30,0),
createDate timestamp null,
modifiedDate timestamp null,
defaultUser number(1, 0),
contactId number(30,0),
password_ varchar2(75) null,
passwordEncrypted number(1, 0),
passwordReset number(1, 0),
passwordModifiedDate timestamp null,
graceLoginCount number(30,0),
screenName varchar2(75) null,
emailAddress varchar2(75) null,
portraitId number(30,0),
languageId varchar2(75) null,
timeZoneId varchar2(75) null,
greeting varchar2(75) null,
comments varchar2(4000) null,
loginDate timestamp null,
loginIP varchar2(75) null,
lastLoginDate timestamp null,
lastLoginIP varchar2(75) null,
lastFailedLoginDate timestamp null,
failedLoginAttempts number(30,0),
lockout number(1, 0),
lockoutDate timestamp null,
agreedToTermsOfUse number(1, 0),
active_ number(1, 0)
);
create table YKT_PORTAL.UserGroup (
userGroupId number(30,0) not null primary key,
companyId number(30,0),
parentUserGroupId number(30,0),
name varchar2(75) null,
description varchar2(4000) null
);
create table YKT_PORTAL.UserGroupRole (
userId number(30,0) not null,
groupId number(30,0) not null,
roleId number(30,0) not null,
primary key (userId, groupId, roleId)
);
create table YKT_PORTAL.UserIdMapper (
userIdMapperId number(30,0) not null primary key,
userId number(30,0),
type_ varchar2(75) null,
description varchar2(75) null,
externalUserId varchar2(75) null
);
create table YKT_PORTAL.Users_Groups (
userId number(30,0) not null,
groupId number(30,0) not null,
primary key (userId, groupId)
);
create table YKT_PORTAL.Users_Orgs (
userId number(30,0) not null,
organizationId number(30,0) not null,
primary key (userId, organizationId)
);
create table YKT_PORTAL.Users_Permissions (
userId number(30,0) not null,
permissionId number(30,0) not null,
primary key (userId, permissionId)
);
create table YKT_PORTAL.Users_Roles (
userId number(30,0) not null,
roleId number(30,0) not null,
primary key (userId, roleId)
);
create table YKT_PORTAL.Users_UserGroups (
userId number(30,0) not null,
userGroupId number(30,0) not null,
primary key (userId, userGroupId)
);
create table YKT_PORTAL.UserTracker (
userTrackerId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
modifiedDate timestamp null,
sessionId varchar2(200) null,
remoteAddr varchar2(75) null,
remoteHost varchar2(75) null,
userAgent varchar2(200) null
);
create table YKT_PORTAL.UserTrackerPath (
userTrackerPathId number(30,0) not null primary key,
userTrackerId number(30,0),
path_ varchar2(4000) null,
pathDate timestamp null
);
create table YKT_PORTAL.WebDAVProps (
webDavPropsId number(30,0) not null primary key,
companyId number(30,0),
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
props clob null
);
create table YKT_PORTAL.Website (
websiteId number(30,0) not null primary key,
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
classNameId number(30,0),
classPK number(30,0),
url varchar2(4000) null,
typeId number(30,0),
primary_ number(1, 0)
);
create table YKT_PORTAL.WikiNode (
uuid_ varchar2(75) null,
nodeId number(30,0) not null primary key,
groupId number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
modifiedDate timestamp null,
name varchar2(75) null,
description varchar2(4000) null,
lastPostDate timestamp null
);
create table YKT_PORTAL.WikiPage (
uuid_ varchar2(75) null,
pageId number(30,0) not null primary key,
resourcePrimKey number(30,0),
companyId number(30,0),
userId number(30,0),
userName varchar2(75) null,
createDate timestamp null,
nodeId number(30,0),
title varchar2(75) null,
version number(30,20),
content clob null,
format varchar2(75) null,
head number(1, 0)
);
create table YKT_PORTAL.WikiPageResource (
resourcePrimKey number(30,0) not null primary key,
nodeId number(30,0),
title varchar2(75) null
);
delete from YKT_PORTAL.INFO_TYPE;
--
-- TABLE INSERT STATEMENTS
--
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4','FAQ');
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4.1','FAQ综述');
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4.2','照片相关');
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4.3','卡片使用');
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4.4','一卡通设备使用');
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4.5','查询网站使用');
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4.6','校园卡办理');
INSERT INTO YKT_PORTAL.INFO_TYPE ( INFO_TYPE, INFO_NAME ) VALUES ('4.7','联系方式');
delete from YKT_PORTAL.Ecard_Information;
-- TABLE INSERT STATEMENTS
--
INSERT INTO YKT_PORTAL.ECARD_INFORMATION ( ID, INFO_TYPE, INFO_TITLE, INFO_CONTENT, ATTACHMENTS, CREATE_DATE, CREATER )
VALUES ( 1, '8', '', '', '', CURRENT_TIMESTAMP , 'admin' );
INSERT INTO YKT_PORTAL.ECARD_INFORMATION ( ID, INFO_TYPE, INFO_TITLE, INFO_CONTENT, ATTACHMENTS, CREATE_DATE, CREATER )
VALUES ( 2, '9', '', '', '', CURRENT_TIMESTAMP , 'admin' );
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1806, 14, 1, 0, 1, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">首页</name>
<name language-id="en_US">Home</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">首页</title>
<title language-id="en_US">Home</title>
</root>
',
'portlet', 'column-3=ecardnews
column-2=ecardhit,
column-1=ext_login_png,
state-max=
state-min=
layout-template-id=1_2_1_columns
column-4=',
0, '/home', 0, 0, 'brochure','', 0);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1807, 14, 1, 0, 2, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">校园卡简介</name>
<name language-id="en_US">EcardAbout</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">校园卡简介</title>
<title language-id="en_US">EcardAbout</title>
</root>',
'portlet', 'column-1=ecardabout,
layout-template-id=1_column',
0, '/ecardabout', 0, 0, 'brochure','', 1);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1808, 14, 1, 0, 3, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">服务网点</name>
<name language-id="en_US">ServicePoint</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">服务网点</title>
<title language-id="en_US">ServiceNet</title>
</root>
',
'portlet', 'column-1=serviceplace,
layout-template-id=1_column',
0, '/serviceplace', 0, 0, 'brochure','', 2);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1809, 14, 1, 0, 4, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">规章制度</name>
<name language-id="en_US">EcardRules</name>
</root>
',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">规章制度</title>
<title language-id="en_US">EcardRules</title>
</root>
',
'portlet', 'column-1=ecardrule,
layout-template-id=1_column',
0, '/ecardrules', 0, 0, 'brochure','', 3);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1810, 14, 1, 0, 5, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">使用指南</name>
<name language-id="en_US">EcardTurtorial</name>
</root>
',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">使用指南</title>
<title language-id="en_US">EcardTurtorial</title>
</root>',
'portlet', 'column-1=ecardtutorial,
layout-template-id=1_column',
0, '/ecardturtorial', 0, 0, 'brochure','', 4);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1811, 14, 1, 0, 6, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">业务办理</name>
<name language-id="en_US">DoBusiness</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">业务办理</title>
<title language-id="en_US">DoBusiness</title>
</root>',
'link_to_layout', 'privateLayout=false
groupId=14
sitemap-include=1
sitemap-changefreq=daily
target=
meta-robots=
linkToLayoutId=10
meta-description=
javascript-3=
sitemap-priority=
javascript-2=
javascript-1=
meta-keywords=',
0, '/ecardbusiness', 0, 0, 'brochure','', 5);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(320001, 14, 1, 0, 14, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">办卡流程</name>
<name language-id="en_US"></name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">办卡流程</title>
<title language-id="en_US"></title>
</root>',
'portlet', 'column-1=ecardcardprocess
layout-template-id=1_column
state-min=
state-max-previous=
sitemap-include=1
state-max=
sitemap-changefreq=daily
meta-robots=
meta-description=
javascript-3=
javascript-2=
sitemap-priority=
meta-keywords=
javascript-1=',
0, '/cardprocess', 0, 0, 'brochure','', 7);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1813, 14, 1, 0, 8, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">文档下载</name>
<name language-id="en_US">EcardDoc</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">文档下载</title>
<title language-id="en_US">EcardDoc</title>
</root>',
'portlet', 'column-1=ecarddoc,
layout-template-id=1_2_columns_i',
0, '/ecardservice', 0, 0, 'brochure','', 8);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1814, 14, 1, 1, 1, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root default-locale="zh_CN" available-locales="en_US,zh_CN">
<name language-id="en_US">card</name>
<name language-id="zh_CN">卡片使用</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root default-locale="zh_CN" available-locales="en_US,zh_CN">
<title language-id="en_US">card</title>
<title language-id="zh_CN">卡片使用</title>
</root>',
'portlet', 'column-1=querydetail,querygatedetail,cardlost,
layout-template-id=2_columns_i
state-min=
state-max-previous=querygatedetail
sitemap-include=1
state-max=
sitemap-changefreq=daily
meta-robots=
meta-description=
javascript-3=
sitemap-priority=
javascript-2=
javascript-1=
meta-keywords=
column-2=carddelay,picdelay,',
0, '/card', 0, 0, 'brochure','', 0);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1815, 14, 1, 1, 2, 0,
'<?xml version="1.0" encoding="UTF-8"?>'||CHR(10)||''||CHR(10)||'<root default-locale="zh_CN" available-locales="en_US,zh_CN">'||CHR(10)||' <name language-id="en_US">message</name>'||CHR(10)||' <name language-id="zh_CN">留言本</name>'||CHR(10)||'</root>',
'<?xml version="1.0" encoding="UTF-8"?>'||CHR(10)||''||CHR(10)||'<root default-locale="zh_CN" available-locales="en_US,zh_CN">'||CHR(10)||' <title language-id="en_US">message</title>'||CHR(10)||' <title language-id="zh_CN">留言本</title>'||CHR(10)||'</root>',
'portlet', 'column-1=ecardmsgboard'||CHR(10)||'layout-template-id=1_column'||CHR(10)||'state-min='||CHR(10)||'state-max-previous='||CHR(10)||'sitemap-include=1'||CHR(10)||'state-max='||CHR(10)||'sitemap-changefreq=daily'||CHR(10)||'meta-robots='||CHR(10)||'meta-description='||CHR(10)||'javascript-3='||CHR(10)||'sitemap-priority='||CHR(10)||'javascript-2='||CHR(10)||'javascript-1='||CHR(10)||'meta-keywords=',
0, '/msg', 0, 0, 'brochure','', 1);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(300772, 14, 1, 0, 9, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">服务信息</name>
<name language-id="en_US">ServiceInfo</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">服务信息</title>
<title language-id="en_US">ServiceInfo</title>
</root>',
'portlet', 'column-1=ecardservice,
layout-template-id=1_2_columns_i',
0, '/serviceinfo', 0, 0, 'brochure','', 8);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(307012, 14, 1, 0, 10, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">用户登陆</name>
<name language-id="en_US">UserLogin</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">用户登陆</title>
<title language-id="en_US">UserLogin</title>
</root>',
'portlet', 'column-1=ext_login
layout-template-id=1_column
state-min=
state-max-previous=
sitemap-include=1
state-max=
sitemap-changefreq=daily
meta-robots=
meta-description=
javascript-3=
javascript-2=
sitemap-priority=
javascript-1=
meta-keywords=',
1, '', 0, 0, 'brochure','', 9);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(307018, 14, 1, 0, 11, 6,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">校园卡挂失</name>
<name language-id="en_US">cardLost</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">校园卡挂失</title>
<title language-id="en_US">cardLost</title>
</root>',
'link_to_layout', 'privateLayout=false
groupId=14
sitemap-include=1
sitemap-changefreq=daily
target=
meta-robots=
linkToLayoutId=10
meta-description=
javascript-3=
sitemap-priority=
javascript-2=
javascript-1=
meta-keywords=',
0, '', 0, 0, 'brochure','', 0);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(307019, 14, 1, 0, 12, 6,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">消费明细查询</name>
<name language-id="en_US"></name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">消费明细查询</title>
<title language-id="en_US"></title>
</root>',
'link_to_layout', 'privateLayout=false
groupId=14
sitemap-include=1
sitemap-changefreq=daily
target=
meta-robots=
linkToLayoutId=10
meta-description=
javascript-3=
sitemap-priority=
javascript-2=
javascript-1=
meta-keywords=',
0, '', 0, 0, 'brochure','', 1);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1816, 83, 1, 0, 1, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">首页</name>
<name language-id="en_US">Home</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">首页</title>
<title language-id="en_US">Home</title>
</root>',
'portlet', 'column-3=
state-max-previous=86
column-2=
column-1=ecardnews,ecardhit,ext_shopbrasdetail,ext_shopdinnertotalreport,79,ext_shoptotalreport
state-max=
state-min=
layout-template-id=1_2_1_columns
column-4=ext_shopaccountdetail,ext_shopcatalogreport,ext_shoptodayreport,ext_shopposdinnerreport,ext_shopposcatalogreport,',
0, '/home', 0, 0, 'adminbrochure','', 0);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1817, 83, 1, 0, 2, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">校园卡简介</name>
<name language-id="en_US">EcardAbout</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">校园卡简介</title>
<title language-id="en_US">EcardAbout</title>
</root>',
'portlet', 'column-1=ecardabout,
layout-template-id=1_column',
0, '/ecardabout', 0, 0, 'adminbrochure','', 1);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1818, 83, 1, 0, 3, 0,
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<name language-id="zh_CN">服务网点</name>
<name language-id="en_US">ServiceNet</name>
</root>',
'<?xml version="1.0" encoding="UTF-8"?>
<root available-locales="zh_CN,en_US" default-locale="zh_CN">
<title language-id="zh_CN">服务网点</title>
<title language-id="en_US">ServiceNet</title>
</root>',
'portlet', 'column-1=serviceplace,
layout-template-id=1_column',
0, '', 0, 0, 'adminbrochure','', 2);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1819, 83, 1, 0, 4, 0,
'<?xml version="1.0" encoding="UTF-8"?>'||CHR(10)||''||CHR(10)||'<root default-locale="zh_CN" available-locales="en_US,zh_CN">'||CHR(10)||' <name language-id="en_US">Rules</name>'||CHR(10)||' <name language-id="zh_CN">规章制度</name>'||CHR(10)||'</root>',
'<?xml version="1.0" encoding="UTF-8"?>'||CHR(10)||''||CHR(10)||'<root default-locale="zh_CN" available-locales="en_US,zh_CN">'||CHR(10)||' <title language-id="en_US">Rules</title>'||CHR(10)||' <title language-id="zh_CN">规章制度</title>'||CHR(10)||'</root>',
'portlet', 'column-1=ecardrule'||CHR(10)||'layout-template-id=1_2_columns_i'||CHR(10)||'state-min='||CHR(10)||'state-max-previous='||CHR(10)||'sitemap-include=1'||CHR(10)||'state-max='||CHR(10)||'sitemap-changefreq=daily'||CHR(10)||'meta-robots='||CHR(10)||'meta-description='||CHR(10)||'javascript-3='||CHR(10)||'sitemap-priority='||CHR(10)||'javascript-2='||CHR(10)||'column-3='||CHR(10)||'javascript-1='||CHR(10)||'meta-keywords='||CHR(10)||'column-2=',
0, '/ecardrules', 0, 0, 'adminbrochure','', 3);
insert into ykt_portal.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId,
name,
title,
type_, typeSettings,
hidden_, friendlyURL, iconImage, iconImageId,themeid, css, priority) values
(1820, 83, 1, 0, 5, 0,
'<?xml version="1.0" encoding="UTF-8"?>'||CHR(10)||''||CHR(10)||'<root default-locale="zh_CN" available-locales="en_US,zh_CN">'||CHR(10)||' <name language-id="en_US">Turtorial</name>'||CHR(10)||' <name language-id="zh_CN">操作指南</name>'||CHR(10)||'</root>',
'<?xml version="1.0" encoding="UTF-8"?>'||CHR(10)||''||CHR(10)||'<root default-locale="zh_CN" available-locales="en_US,zh_CN">'||CHR(10)||' <title language-id="en_US">Turtorial</title>'||CHR(10)||' <title language-id="zh_CN">操作指南</title>'||CHR(10)||'</root>',
'portlet', 'column-1=ecardtutorial'||CHR(10)||'layout-template-id=1_2_columns_i'||CHR(10)||'state-min='||CHR(10)||'state-max-previous='||CHR(10)||'sitemap-include=1'||CHR(10)||'state-max='||CHR(10)||'sitemap-changefreq=daily'||CHR(10)||'meta-robots='||CHR(10)||'meta-description='||CHR(10)||'javascript-3='||CHR(10)||'sitemap-priority='||CHR(10)||'javascript-2='||CHR(10)||'column-3='||CHR(10)||'javascript-1='||CHR(10)||'meta-keywords='||CHR(10)||'column-2=',
0, '/ecardturtorial', 0, 0, 'adminbrochure','', 4);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (1, 'Canada', 'CA', 'CAN', '124', '001', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (2, 'China', 'CN', 'CHN', '156', '086', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (3, 'France', 'FR', 'FRA', '250', '033', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (4, 'Germany', 'DE', 'DEU', '276', '049', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (5, 'Hong Kong', 'HK', 'HKG', '344', '852', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (6, 'Hungary', 'HU', 'HUN', '348', '036', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (7, 'Israel', 'IL', 'ISR', '376', '972', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (8, 'Italy', 'IT', 'ITA', '380', '039', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (9, 'Japan', 'JP', 'JPN', '392', '081', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (10, 'South Korea', 'KP', 'KOR', '410', '082', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (11, 'Netherlands', 'NL', 'NLD', '528', '031', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (12, 'Portugal', 'PT', 'PRT', '620', '351', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (13, 'Russia', 'RU', 'RUS', '643', '007', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (14, 'Singapore', 'SG', 'SGP', '702', '065', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (15, 'Spain', 'ES', 'ESP', '724', '034', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (16, 'Turkey', 'TR', 'TUR', '792', '090', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (17, 'Vietnam', 'VM', 'VNM', '704', '084', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (18, 'United Kingdom', 'GB', 'GBR', '826', '044', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (19, 'United States', 'US', 'USA', '840', '001', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (20, 'Afghanistan', 'AF', 'AFG', '4', '093', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (21, 'Albania', 'AL', 'ALB', '8', '355', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (22, 'Algeria', 'DZ', 'DZA', '12', '213', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (23, 'American Samoa', 'AS', 'ASM', '16', '684', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (24, 'Andorra', 'AD', 'AND', '20', '376', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (25, 'Angola', 'AO', 'AGO', '24', '244', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (26, 'Anguilla', 'AI', 'AIA', '660', '264', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (27, 'Antarctica', 'AQ', 'ATA', '10', '672', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (28, 'Antigua', 'AG', 'ATG', '28', '268', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (29, 'Argentina', 'AR', 'ARG', '32', '054', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (30, 'Armenia', 'AM', 'ARM', '51', '374', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (31, 'Aruba', 'AW', 'ABW', '533', '297', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (32, 'Australia', 'AU', 'AUS', '36', '061', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (33, 'Austria', 'AT', 'AUT', '40', '043', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (34, 'Azerbaijan', 'AZ', 'AZE', '31', '994', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (35, 'Bahamas', 'BS', 'BHS', '44', '242', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (36, 'Bahrain', 'BH', 'BHR', '48', '973', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (37, 'Bangladesh', 'BD', 'BGD', '50', '880', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (38, 'Barbados', 'BB', 'BRB', '52', '246', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (39, 'Belarus', 'BY', 'BLR', '112', '375', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (40, 'Belgium', 'BE', 'BEL', '56', '032', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (41, 'Belize', 'BZ', 'BLZ', '84', '501', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (42, 'Benin', 'BJ', 'BEN', '204', '229', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (43, 'Bermuda', 'BM', 'BMU', '60', '441', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (44, 'Bhutan', 'BT', 'BTN', '64', '975', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (45, 'Bolivia', 'BO', 'BOL', '68', '591', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (46, 'Bosnia-Herzegovina', 'BA', 'BIH', '70', '387', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (47, 'Botswana', 'BW', 'BWA', '72', '267', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (48, 'Brazil', 'BR', 'BRA', '76', '055', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (49, 'British Virgin Islands', 'VG', 'VGB', '92', '284', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (50, 'Brunei', 'BN', 'BRN', '96', '673', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (51, 'Bulgaria', 'BG', 'BGR', '100', '359', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (52, 'Burkina Faso', 'BF', 'BFA', '854', '226', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (53, 'Burma (Myanmar)', 'MM', 'MMR', '104', '095', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (54, 'Burundi', 'BI', 'BDI', '108', '257', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (55, 'Cambodia', 'KH', 'KHM', '116', '855', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (56, 'Cameroon', 'CM', 'CMR', '120', '237', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (57, 'Cape Verde Island', 'CV', 'CPV', '132', '238', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (58, 'Cayman Islands', 'KY', 'CYM', '136', '345', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (59, 'Central African Republic', 'CF', 'CAF', '140', '236', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (60, 'Chad', 'TD', 'TCD', '148', '235', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (61, 'Chile', 'CL', 'CHL', '152', '056', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (62, 'Christmas Island', 'CX', 'CXR', '162', '061', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (63, 'Cocos Islands', 'CC', 'CCK', '166', '061', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (64, 'Colombia', 'CO', 'COL', '170', '057', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (65, 'Comoros', 'KM', 'COM', '174', '269', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (66, 'Republic of Congo', 'CD', 'COD', '180', '242', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (67, 'Democratic Republic of Congo', 'CG', 'COG', '178', '243', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (68, 'Cook Islands', 'CK', 'COK', '184', '682', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (69, 'Costa Rica', 'CI', 'CRI', '188', '506', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (70, 'Croatia', 'HR', 'HRV', '191', '385', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (71, 'Cuba', 'CU', 'CUB', '192', '053', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (72, 'Cyprus', 'CY', 'CYP', '196', '357', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (73, 'Czech Republic', 'CZ', 'CZE', '203', '420', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (74, 'Denmark', 'DK', 'DNK', '208', '045', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (75, 'Djibouti', 'DJ', 'DJI', '262', '253', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (76, 'Dominica', 'DM', 'DMA', '212', '767', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (77, 'Dominican Republic', 'DO', 'DOM', '214', '809', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (78, 'Ecuador', 'EC', 'ECU', '218', '593', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (79, 'Egypt', 'EG', 'EGY', '818', '020', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (80, 'El Salvador', 'SV', 'SLV', '222', '503', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (81, 'Equatorial Guinea', 'GQ', 'GNQ', '226', '240', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (82, 'Eritrea', 'ER', 'ERI', '232', '291', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (83, 'Estonia', 'EE', 'EST', '233', '372', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (84, 'Ethiopia', 'ET', 'ETH', '231', '251', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (85, 'Faeroe Islands', 'FO', 'FRO', '234', '298', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (86, 'Falkland Islands', 'FK', 'FLK', '238', '500', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (87, 'Fiji Islands', 'FJ', 'FJI', '242', '679', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (88, 'Finland', 'FI', 'FIN', '246', '358', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (89, 'French Guiana', 'GF', 'GUF', '254', '594', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (90, 'French Polynesia', 'PF', 'PYF', '258', '689', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (91, 'Gabon', 'GA', 'GAB', '266', '241', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (92, 'Gambia', 'GM', 'GMB', '270', '220', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (93, 'Georgia', 'GE', 'GEO', '268', '995', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (94, 'Ghana', 'GH', 'GHA', '288', '233', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (95, 'Gibraltar', 'GI', 'GIB', '292', '350', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (96, 'Greece', 'GR', 'GRC', '300', '030', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (97, 'Greenland', 'GL', 'GRL', '304', '299', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (98, 'Grenada', 'GD', 'GRD', '308', '473', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (99, 'Guadeloupe', 'GP', 'GLP', '312', '590', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (100, 'Guam', 'GU', 'GUM', '316', '671', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (101, 'Guatemala', 'GT', 'GTM', '320', '502', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (102, 'Guinea', 'GN', 'GIN', '324', '224', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (103, 'Guinea-Bissau', 'GW', 'GNB', '624', '245', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (104, 'Guyana', 'GY', 'GUY', '328', '592', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (105, 'Haiti', 'HT', 'HTI', '332', '509', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (106, 'Honduras', 'HN', 'HND', '340', '504', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (107, 'Iceland', 'IS', 'ISL', '352', '354', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (108, 'India', 'IN', 'IND', '356', '091', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (109, 'Indonesia', 'ID', 'IDN', '360', '062', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (110, 'Iran', 'IR', 'IRN', '364', '098', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (111, 'Iraq', 'IQ', 'IRQ', '368', '964', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (112, 'Ireland', 'IE', 'IRL', '372', '353', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (113, 'Ivory Coast', 'CI', 'CIV', '384', '225', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (114, 'Jamaica', 'JM', 'JAM', '388', '876', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (115, 'Jordan', 'JO', 'JOR', '400', '962', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (116, 'Kazakhstan', 'KZ', 'KAZ', '398', '007', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (117, 'Kenya', 'KE', 'KEN', '404', '254', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (118, 'Kiribati', 'KI', 'KIR', '408', '686', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (119, 'Kuwait', 'KW', 'KWT', '414', '965', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (120, 'North Korea', 'KP', 'PRK', '408', '850', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (121, 'Kyrgyzstan', 'KG', 'KGZ', '471', '996', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (122, 'Laos', 'LA', 'LAO', '418', '856', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (123, 'Latvia', 'LV', 'LVA', '428', '371', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (124, 'Lebanon', 'LB', 'LBN', '422', '961', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (125, 'Lesotho', 'LS', 'LSO', '426', '266', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (126, 'Liberia', 'LR', 'LBR', '430', '231', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (127, 'Libya', 'LY', 'LBY', '434', '218', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (128, 'Liechtenstein', 'LI', 'LIE', '438', '423', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (129, 'Lithuania', 'LT', 'LTU', '440', '370', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (130, 'Luxembourg', 'LU', 'LUX', '442', '352', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (131, 'Macau', 'MO', 'MAC', '446', '853', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (132, 'Macedonia', 'MK', 'MKD', '807', '389', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (133, 'Madagascar', 'MG', 'MDG', '450', '261', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (134, 'Malawi', 'MW', 'MWI', '454', '265', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (135, 'Malaysia', 'MY', 'MYS', '458', '060', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (136, 'Maldives', 'MV', 'MDV', '462', '960', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (137, 'Mali', 'ML', 'MLI', '466', '223', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (138, 'Malta', 'MT', 'MLT', '470', '356', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (139, 'Marshall Islands', 'MH', 'MHL', '584', '692', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (140, 'Martinique', 'MQ', 'MTQ', '474', '596', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (141, 'Mauritania', 'MR', 'MRT', '478', '222', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (142, 'Mauritius', 'MU', 'MUS', '480', '230', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (143, 'Mayotte Island', 'YT', 'MYT', '175', '269', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (144, 'Mexico', 'MX', 'MEX', '484', '052', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (145, 'Micronesia', 'FM', 'FSM', '583', '691', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (146, 'Moldova', 'MD', 'MDA', '498', '373', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (147, 'Monaco', 'MC', 'MCO', '492', '377', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (148, 'Mongolia', 'MN', 'MNG', '496', '976', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (149, 'Montserrat', 'MS', 'MSR', '500', '664', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (150, 'Morocco', 'MA', 'MAR', '504', '212', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (151, 'Mozambique', 'MZ', 'MOZ', '508', '258', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (152, 'Myanmar (Burma)', 'MM', 'MMR', '104', '095', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (153, 'Namibia', 'NA', 'NAM', '516', '264', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (154, 'Nauru', 'NR', 'NRU', '520', '674', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (155, 'Nepal', 'NP', 'NPL', '524', '977', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (156, 'Netherlands Antilles', 'AN', 'ANT', '530', '599', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (157, 'New Caledonia', 'NC', 'NCL', '540', '687', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (158, 'New Zealand', 'NZ', 'NZL', '554', '064', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (159, 'Nicaragua', 'NE', 'NER', '558', '505', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (160, 'Niger', 'NE', 'NER', '562', '227', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (161, 'Nigeria', 'NG', 'NGA', '566', '234', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (162, 'Niue', 'NU', 'NIU', '570', '683', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (163, 'Norfolk Island', 'NF', 'NFK', '574', '672', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (164, 'Norway', 'NO', 'NOR', '578', '047', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (165, 'Oman', 'OM', 'OMN', '512', '968', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (166, 'Pakistan', 'PK', 'PAK', '586', '092', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (167, 'Palau', 'PW', 'PLW', '585', '680', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (168, 'Palestine', 'PS', 'PSE', '275', '970', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (169, 'Panama', 'PA', 'PAN', '591', '507', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (170, 'Papua New Guinea', 'PG', 'PNG', '598', '675', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (171, 'Paraguay', 'PY', 'PRY', '600', '595', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (172, 'Peru', 'PE', 'PER', '604', '051', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (173, 'Philippines', 'PH', 'PHL', '608', '063', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (174, 'Poland', 'PL', 'POL', '616', '048', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (175, 'Puerto Rico', 'PR', 'PRI', '630', '787', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (176, 'Qatar', 'QA', 'QAT', '634', '974', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (177, 'Reunion Island', 'RE', 'REU', '638', '262', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (178, 'Romania', 'RO', 'ROU', '642', '040', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (179, 'Rwanda', 'RW', 'RWA', '646', '250', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (180, 'St. Helena', 'SH', 'SHN', '654', '290', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (181, 'St. Kitts', 'KN', 'KNA', '659', '869', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (182, 'St. Lucia', 'LC', 'LCA', '662', '758', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (183, 'St. Pierre & Miquelon', 'PM', 'SPM', '666', '508', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (184, 'St. Vincent', 'VC', 'VCT', '670', '784', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (185, 'San Marino', 'SM', 'SMR', '674', '378', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (186, 'Sao Tome & Principe', 'ST', 'STP', '678', '239', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (187, 'Saudi Arabia', 'SA', 'SAU', '682', '966', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (188, 'Senegal', 'SN', 'SEN', '686', '221', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (189, 'Serbia', 'CS', 'SCG', '891', '381', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (190, 'Seychelles', 'SC', 'SYC', '690', '248', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (191, 'Sierra Leone', 'SL', 'SLE', '694', '249', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (192, 'Slovakia', 'SK', 'SVK', '703', '421', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (193, 'Slovenia', 'SI', 'SVN', '705', '386', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (194, 'Solomon Islands', 'SB', 'SLB', '90', '677', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (195, 'Somalia', 'SO', 'SOM', '706', '252', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (196, 'South Africa', 'ZA', 'ZAF', '710', '027', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (197, 'Sri Lanka', 'LK', 'LKA', '144', '094', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (198, 'Sudan', 'SD', 'SDN', '736', '095', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (199, 'Suriname', 'SR', 'SUR', '740', '597', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (200, 'Swaziland', 'SZ', 'SWZ', '748', '268', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (201, 'Sweden', 'SE', 'SWE', '752', '046', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (202, 'Switzerland', 'CH', 'CHE', '756', '041', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (203, 'Syria', 'SY', 'SYR', '760', '963', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (204, 'Taiwan', 'TW', 'TWN', '158', '886', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (205, 'Tajikistan', 'TJ', 'TJK', '762', '992', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (206, 'Tanzania', 'TZ', 'TZA', '834', '255', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (207, 'Thailand', 'TH', 'THA', '764', '066', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (208, 'Togo', 'TG', 'TGO', '768', '228', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (209, 'Tonga', 'TO', 'TON', '776', '676', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (210, 'Trinidad & Tobago', 'TT', 'TTO', '780', '868', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (211, 'Tunisia', 'TN', 'TUN', '788', '216', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (212, 'Turkmenistan', 'TM', 'TKM', '795', '993', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (213, 'Turks & Caicos', 'TC', 'TCA', '796', '649', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (214, 'Tuvalu', 'TV', 'TUV', '798', '688', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (215, 'Uganda', 'UG', 'UGA', '800', '256', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (216, 'Ukraine', 'UA', 'UKR', '804', '380', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (217, 'United Arab Emirates', 'AE', 'ARE', '784', '971', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (218, 'Uruguay', 'UY', 'URY', '858', '598', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (219, 'Uzbekistan', 'UZ', 'UZB', '860', '998', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (220, 'Vanuatu', 'VU', 'VUT', '548', '678', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (221, 'Vatican City', 'VA', 'VAT', '336', '039', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (222, 'Venezuela', 'VE', 'VEN', '862', '058', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (223, 'Wallis & Futuna', 'WF', 'WLF', '876', '681', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (224, 'Western Samoa', 'EH', 'ESH', '732', '685', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (225, 'Yemen', 'YE', 'YEM', '887', '967', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (226, 'Yugoslavia', 'MK', 'MKD', '446', '381', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (227, 'Zambia', 'ZM', 'ZMB', '894', '260', 1);
insert into YKT_PORTAL.Country (countryId, name, a2, a3, number_, idd_, active_) values (228, 'Zimbabwe', 'ZW', 'ZWE', '716', '263', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (1, 19, 'AL', 'Alabama', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (2, 19, 'AK', 'Alaska', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (3, 19, 'AZ', 'Arizona', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (4, 19, 'AR', 'Arkansas', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (5, 19, 'CA', 'California', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (6, 19, 'CO', 'Colorado', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (7, 19, 'CT', 'Connecticut', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (8, 19, 'DC', 'District of Columbia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (9, 19, 'DE', 'Delaware', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (10, 19, 'FL', 'Florida', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (11, 19, 'GA', 'Georgia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (12, 19, 'HI', 'Hawaii', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (13, 19, 'ID', 'Idaho', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (14, 19, 'IL', 'Illinois', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (15, 19, 'IN', 'Indiana', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (16, 19, 'IA', 'Iowa', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (17, 19, 'KS', 'Kansas', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (18, 19, 'KY', 'Kentucky ', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (19, 19, 'LA', 'Louisiana ', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (20, 19, 'ME', 'Maine', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (21, 19, 'MD', 'Maryland', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (22, 19, 'MA', 'Massachusetts', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (23, 19, 'MI', 'Michigan', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (24, 19, 'MN', 'Minnesota', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (25, 19, 'MS', 'Mississippi', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (26, 19, 'MO', 'Missouri', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (27, 19, 'MT', 'Montana', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (28, 19, 'NE', 'Nebraska', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (29, 19, 'NV', 'Nevada', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (30, 19, 'NH', 'New Hampshire', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (31, 19, 'NJ', 'New Jersey', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (32, 19, 'NM', 'New Mexico', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (33, 19, 'NY', 'New York', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (34, 19, 'NC', 'North Carolina', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (35, 19, 'ND', 'North Dakota', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (36, 19, 'OH', 'Ohio', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (37, 19, 'OK', 'Oklahoma ', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (38, 19, 'OR', 'Oregon', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (39, 19, 'PA', 'Pennsylvania', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (40, 19, 'PR', 'Puerto Rico', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (41, 19, 'RI', 'Rhode Island', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (42, 19, 'SC', 'South Carolina', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (43, 19, 'SD', 'South Dakota', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (44, 19, 'TN', 'Tennessee', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (45, 19, 'TX', 'Texas', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (46, 19, 'UT', 'Utah', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (47, 19, 'VT', 'Vermont', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (48, 19, 'VA', 'Virginia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (49, 19, 'WA', 'Washington', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (50, 19, 'WV', 'West Virginia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (51, 19, 'WI', 'Wisconsin', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (52, 19, 'WY', 'Wyoming', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (53, 1, 'AL', 'Alberta', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (54, 1, 'BC', 'British Columbia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (55, 1, 'MB', 'Manitoba', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (56, 1, 'NB', 'New Brunswick', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (57, 1, 'NL', 'Newfoundland and Labrador', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (58, 1, 'NT', 'Northwest Territories', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (59, 1, 'NS', 'Nova Scotia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (60, 1, 'NU', 'Nunavut', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (61, 1, 'ON', 'Ontario', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (62, 1, 'PE', 'Prince Edward Island', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (63, 1, 'QC', 'Quebec', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (64, 1, 'SK', 'Saskatchewan', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (65, 1, 'YT', 'Yukon', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (66, 15, 'AN', 'Andalusia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (67, 15, 'AR', 'Aragon', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (68, 15, 'AS', 'Asturias', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (69, 15, 'IB', 'Balearic Islands', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (70, 15, 'PV', 'Basque Country', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (71, 15, 'CN', 'Canary Islands', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (72, 15, 'CB', 'Cantabria', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (73, 15, 'CL', 'Castile and Leon', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (74, 15, 'CM', 'Castile-La Mancha', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (75, 15, 'CT', 'Catalonia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (76, 15, 'CE', 'Ceuta', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (77, 15, 'EX', 'Extremadura', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (78, 15, 'GA', 'Galicia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (79, 15, 'LO', 'La Rioja', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (80, 15, 'M', 'Madrid', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (81, 15, 'ML', 'Melilla', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (82, 15, 'MU', 'Murcia', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (83, 15, 'NA', 'Navarra', 1);
insert into YKT_PORTAL.Region (regionId, countryId, regionCode, name, active_) values (84, 15, 'VC', 'Valencia', 1);
--
-- List types for accounts
--
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10000, 'Billing', 'com.liferay.portal.model.Account.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10001, 'Other', 'com.liferay.portal.model.Account.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10002, 'P.O. Box', 'com.liferay.portal.model.Account.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10003, 'Shipping', 'com.liferay.portal.model.Account.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10004, 'E-mail', 'com.liferay.portal.model.Account.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10005, 'E-mail 2', 'com.liferay.portal.model.Account.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10006, 'E-mail 3', 'com.liferay.portal.model.Account.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10007, 'Fax', 'com.liferay.portal.model.Account.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10008, 'Local', 'com.liferay.portal.model.Account.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10009, 'Other', 'com.liferay.portal.model.Account.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10010, 'Toll-Free', 'com.liferay.portal.model.Account.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10011, 'TTY', 'com.liferay.portal.model.Account.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10012, 'Intranet', 'com.liferay.portal.model.Account.website');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (10013, 'Public', 'com.liferay.portal.model.Account.website');
--
-- List types for contacts
--
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11000, 'Business', 'com.liferay.portal.model.Contact.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11001, 'Other', 'com.liferay.portal.model.Contact.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11002, 'Personal', 'com.liferay.portal.model.Contact.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11003, 'E-mail', 'com.liferay.portal.model.Contact.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11004, 'E-mail 2', 'com.liferay.portal.model.Contact.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11005, 'E-mail 3', 'com.liferay.portal.model.Contact.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11006, 'Business', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11007, 'Business Fax', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11008, 'Mobile', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11009, 'Other', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11010, 'Pager', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11011, 'Personal', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11012, 'Personal Fax', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11013, 'TTY', 'com.liferay.portal.model.Contact.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11014, 'Dr.', 'com.liferay.portal.model.Contact.prefix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11015, 'Mr.', 'com.liferay.portal.model.Contact.prefix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11016, 'Mrs.', 'com.liferay.portal.model.Contact.prefix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11017, 'Ms.', 'com.liferay.portal.model.Contact.prefix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11020, 'II', 'com.liferay.portal.model.Contact.suffix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11021, 'III', 'com.liferay.portal.model.Contact.suffix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11022, 'IV', 'com.liferay.portal.model.Contact.suffix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11023, 'Jr.', 'com.liferay.portal.model.Contact.suffix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11024, 'PhD.', 'com.liferay.portal.model.Contact.suffix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11025, 'Sr.', 'com.liferay.portal.model.Contact.suffix');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11026, 'Blog', 'com.liferay.portal.model.Contact.website');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11027, 'Business', 'com.liferay.portal.model.Contact.website');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11028, 'Other', 'com.liferay.portal.model.Contact.website');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (11029, 'Personal', 'com.liferay.portal.model.Contact.website');
--
-- List types for organizations
--
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12000, 'Billing', 'com.liferay.portal.model.Organization.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12001, 'Other', 'com.liferay.portal.model.Organization.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12002, 'P.O. Box', 'com.liferay.portal.model.Organization.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12003, 'Shipping', 'com.liferay.portal.model.Organization.address');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12004, 'E-mail', 'com.liferay.portal.model.Organization.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12005, 'E-mail 2', 'com.liferay.portal.model.Organization.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12006, 'E-mail 3', 'com.liferay.portal.model.Organization.emailAddress');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12007, 'Fax', 'com.liferay.portal.model.Organization.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12008, 'Local', 'com.liferay.portal.model.Organization.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12009, 'Other', 'com.liferay.portal.model.Organization.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12010, 'Toll-Free', 'com.liferay.portal.model.Organization.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12011, 'TTY', 'com.liferay.portal.model.Organization.phone');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12012, 'Administrative', 'com.liferay.portal.model.Organization.service');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12013, 'Contracts', 'com.liferay.portal.model.Organization.service');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12014, 'Donation', 'com.liferay.portal.model.Organization.service');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12015, 'Retail', 'com.liferay.portal.model.Organization.service');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12016, 'Training', 'com.liferay.portal.model.Organization.service');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12017, 'Full Member', 'com.liferay.portal.model.Organization.status');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12018, 'Provisional Member', 'com.liferay.portal.model.Organization.status');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12019, 'Intranet', 'com.liferay.portal.model.Organization.website');
insert into YKT_PORTAL.ListType (listTypeId, name, type_) values (12020, 'Public', 'com.liferay.portal.model.Organization.website');
insert into YKT_PORTAL.Counter values ('com.liferay.counter.model.Counter', 10000);
insert into YKT_PORTAL.Company (companyId, accountId, webId, virtualHost, mx) values (1, 7, 'kingstargroup.com', 'localhost', 'kingstargroup.com');
insert into YKT_PORTAL.Account_ (accountId, companyId, userId, userName, createDate, modifiedDate, parentAccountId, name, legalName, legalId, legalType, sicCode, tickerSymbol, industry, type_, size_) values (7, 1, 5, '', sysdate, sysdate, 0, 'Liferay', 'Liferay, Inc.', '', '', '', '', '', '', '');
insert into YKT_PORTAL.ClassName_ (classNameId, value) values (8, 'com.liferay.portal.model.Organization');
insert into YKT_PORTAL.ClassName_ (classNameId, value) values (9, 'com.liferay.portal.model.User');
insert into YKT_PORTAL.Role_ (roleId, companyId, classNameId, classPK, name, description, type_) values (10, 1, 0, 0, 'Administrator', '', 1);
insert into YKT_PORTAL.Role_ (roleId, companyId, classNameId, classPK, name, description, type_) values (11, 1, 0, 0, 'Guest', '', 1);
insert into YKT_PORTAL.Role_ (roleId, companyId, classNameId, classPK, name, description, type_) values (12, 1, 0, 0, 'Power User', '', 1);
insert into YKT_PORTAL.Role_ (roleId, companyId, classNameId, classPK, name, description, type_) values (13, 1, 0, 0, 'User', '', 1);
insert into YKT_PORTAL.Group_ (groupId, companyId, creatorUserId, classNameId, classPK, parentGroupId, liveGroupId, name, friendlyURL, active_) values (14, 1, 5, 0, 0, 0, 0, 'Guest', '/guest', 1);
insert into YKT_PORTAL.LayoutSet (layoutSetId, companyId, groupId, privateLayout, logo, themeId, colorSchemeId, pageCount) values (15, 1, 14, 1, 0, 'brochure', '01', 2);
insert into YKT_PORTAL.LayoutSet (layoutSetId, companyId, groupId, privateLayout, logo, themeId, colorSchemeId, pageCount) values (16, 1, 14, 0, 0, 'brochure', '01', 8);
insert into YKT_PORTAL.Organization_ (organizationId, companyId, parentOrganizationId, name, location, recursable, regionId, countryId, statusId, comments) values (17, 1, 0, 'Kingstar, Inc.', 0, 1, 5, 19, 12017, '');
insert into YKT_PORTAL.User_ (userId, companyId, createDate, modifiedDate, defaultUser, contactId, password_, passwordEncrypted, passwordReset, screenName, emailAddress,languageid,timezoneid, greeting, loginDate, failedLoginAttempts, agreedToTermsOfUse, active_) values (5, 1, sysdate, sysdate, 1, 6, 'password', 0, 0, '5', 'default@kingstargroup.com', 'zh_CN','CTT','Welcome!', sysdate, 0, 1, 1);
insert into YKT_PORTAL.Contact_ (contactId, companyId, userId, userName, createDate, modifiedDate, accountId, parentContactId, firstName, middleName, lastName, male, birthday) values (6, 1, 5, '', sysdate, sysdate, 7, 0, '', '', '', 1, to_date('1970-01-01 00:00:00','YYYY-MM-DD HH24:MI:SS'));
insert into YKT_PORTAL.User_ (userId, companyId, createDate, modifiedDate, defaultUser, contactId, password_, passwordEncrypted, passwordReset, screenName, emailAddress,languageid,timezoneid, greeting, loginDate, failedLoginAttempts, agreedToTermsOfUse, active_) values (2, 1, sysdate, sysdate, 0, 3, 'test', 0, 0, 'admin', 'admin@kingstargroup.com', 'zh_CN','CTT','Welcome Administrator!', sysdate, 0, 1, 1);
insert into YKT_PORTAL.Contact_ (contactId, companyId, userId, userName, createDate, modifiedDate, accountId, parentContactId, firstName, middleName, lastName, male, birthday) values (3, 1, 2, 'Admininistrator', sysdate, sysdate, 7, 0, '', '', 'Admin', 1, to_date('1970-01-01 00:00:00','YYYY-MM-DD HH24:MI:SS'));
insert into YKT_PORTAL.Group_ (groupId, companyId, creatorUserId, classNameId, classPK, parentGroupId, liveGroupId, name, friendlyURL, active_) values (83, 1, 2, 9, 2, 0, 0, '83', '', 1);
insert into YKT_PORTAL.LayoutSet (layoutSetId, companyId, groupId, privateLayout, logo, themeId, colorSchemeId, pageCount) values (84, 1, 83, 1, 0, 'brochure', '01', 2);
insert into YKT_PORTAL.LayoutSet (layoutSetId, companyId, groupId, privateLayout, logo, themeId, colorSchemeId, pageCount) values (85, 1, 83, 0, 0, 'brochure', '01', 8);
--insert into YKT_PORTAL.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId, name, type_, typeSettings, hidden_, friendlyURL, priority) values (86, 83, 1, 1, 1, 0, '<?xml version="1.0"?>'||CHR(10)||''||CHR(10)||'<root>'||CHR(10)||' <name>Home</name>'||CHR(10)||'</root>', 'portlet', 'column-1=71_INSTANCE_OY0d,82,23,61,65,'||CHR(10)||'column-2=9,79,29,8,19,'||CHR(10)||'layout-template-id=2_columns_ii'||CHR(10)||'', 0, '/home', 0);
--insert into YKT_PORTAL.Layout (plid, groupId, companyId, privateLayout, layoutId, parentLayoutId, name, type_, typeSettings, hidden_, friendlyURL, priority) values (87, 83, 1, 1, 2, 0, '<?xml version="1.0"?>'||CHR(10)||''||CHR(10)||'<root>'||CHR(10)||' <name>Plugins</name>'||CHR(10)||'</root>', 'portlet', 'column-1='||CHR(10)||'column-2=111,'||CHR(10)||'layout-template-id=2_columns_ii'||CHR(10)||'', 0, '/plugins', 1);
insert into YKT_PORTAL.Users_Groups values (2, 14);
--insert into YKT_PORTAL.Users_Orgs (userId, organizationId) values (2, 17);
--insert into YKT_PORTAL.Users_Orgs (userId, organizationId) values (2, 43);
insert into YKT_PORTAL.Users_Roles values (2, 10);
insert into YKT_PORTAL.Users_Roles values (2, 12);
insert into YKT_PORTAL.Users_Roles values (2, 13);
insert into YKT_PORTAL.IGFolder (folderId, groupId, companyId, userId, createDate, modifiedDate, parentFolderId, name) values (3073, 14, 1, 2, sysdate, sysdate, 0, 'Web Images');
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3074, 10092, 2, sysdate, sysdate, 3073, 'Download Icon', 1502, 1503);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3075, 10092, 2, sysdate, sysdate, 3073, 'A bullet for ul items.', 1504, 1505);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3076, 10092, 2, sysdate, sysdate, 3073, 'service-background.png', 1533, 1534);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3077, 1, 2, sysdate, sysdate, 3073, 'Background image for three-points-icons template and structure.', 1726, 1727);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3078, 1, 2, sysdate, sysdate, 3073, 'add-plugin-to-catalog-2_1.png', 1754, 1755);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3079, 1, 2, sysdate, sysdate, 3073, 'add-plugin-to-catalog-3_1.png', 1756, 1757);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3080, 1, 2, sysdate, sysdate, 3073, 'add-plugin-to-catalog-3_1.png', 1758, 1759);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3081, 1, 2, sysdate, sysdate, 3073, 'add-plugin-to-catalog-5.png', 1760, 1761);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3082, 1, 2, sysdate, sysdate, 3073, 'RSS Feed Icon', 1763, 1764);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3083, 1, 2, sysdate, sysdate, 3073, 'Header Bullet for Read More Template', 1783, 1784);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3084, 1, 2, sysdate, sysdate, 3073, 'Banner for Downloads', 1785, 1786);
insert into YKT_PORTAL.IGImage (imageId, companyId, userId, createDate, modifiedDate, folderId, description, smallImageId, largeImageId) values (3085, 1, 2, sysdate, sysdate, 3073, 'ge_gallery.png', 1787, 1788);
update YKT_PORTAL.LayoutSet set themeId = 'brochure', pageCount = 8 where groupId = 14 and privateLayout = 0;
insert into YKT_PORTAL.Release_ (releaseId, createDate, modifiedDate, buildNumber, verified) values (1, sysdate, sysdate, 4401, 0);
commit;
create index YKT_PORTAL.IX_125EE7A4 on YKT_PORTAL.ActivityTracker (classNameId, classPK);
create index YKT_PORTAL.IX_57B7CA39 on YKT_PORTAL.ActivityTracker (companyId);
create index YKT_PORTAL.IX_8EEF8AFB on YKT_PORTAL.ActivityTracker (groupId);
create index YKT_PORTAL.IX_A9E541D8 on YKT_PORTAL.ActivityTracker (receiverUserId);
create index YKT_PORTAL.IX_B57EB3C9 on YKT_PORTAL.ActivityTracker (userId);
create index YKT_PORTAL.IX_93D5AD4E on YKT_PORTAL.Address (companyId);
create index YKT_PORTAL.IX_ABD7DAC0 on YKT_PORTAL.Address (companyId, classNameId);
create index YKT_PORTAL.IX_71CB1123 on YKT_PORTAL.Address (companyId, classNameId, classPK);
create index YKT_PORTAL.IX_923BD178 on YKT_PORTAL.Address (companyId, classNameId, classPK, mailing);
create index YKT_PORTAL.IX_9226DBB4 on YKT_PORTAL.Address (companyId, classNameId, classPK, primary_);
create index YKT_PORTAL.IX_5BC8B0D4 on YKT_PORTAL.Address (userId);
create index YKT_PORTAL.IX_72EF6041 on YKT_PORTAL.BlogsEntry (companyId);
create index YKT_PORTAL.IX_8CACE77B on YKT_PORTAL.BlogsEntry (companyId, userId);
create index YKT_PORTAL.IX_81A50303 on YKT_PORTAL.BlogsEntry (groupId);
create index YKT_PORTAL.IX_DB780A20 on YKT_PORTAL.BlogsEntry (groupId, urlTitle);
create index YKT_PORTAL.IX_C07CA83D on YKT_PORTAL.BlogsEntry (groupId, userId);
create index YKT_PORTAL.IX_69157A4D on YKT_PORTAL.BlogsEntry (uuid_);
create index YKT_PORTAL.IX_1B1040FD on YKT_PORTAL.BlogsEntry (uuid_, groupId);
create index YKT_PORTAL.IX_90CDA39A on YKT_PORTAL.BlogsStatsUser (companyId, entryCount);
create index YKT_PORTAL.IX_43840EEB on YKT_PORTAL.BlogsStatsUser (groupId);
create index YKT_PORTAL.IX_28C78D5C on YKT_PORTAL.BlogsStatsUser (groupId, entryCount);
create index YKT_PORTAL.IX_82254C25 on YKT_PORTAL.BlogsStatsUser (groupId, userId);
create index YKT_PORTAL.IX_BB51F1D9 on YKT_PORTAL.BlogsStatsUser (userId);
create index YKT_PORTAL.IX_443BDC38 on YKT_PORTAL.BookmarksEntry (folderId);
create index YKT_PORTAL.IX_B670BA39 on YKT_PORTAL.BookmarksEntry (uuid_);
create index YKT_PORTAL.IX_2ABA25D7 on YKT_PORTAL.BookmarksFolder (companyId);
create index YKT_PORTAL.IX_7F703619 on YKT_PORTAL.BookmarksFolder (groupId);
create index YKT_PORTAL.IX_967799C0 on YKT_PORTAL.BookmarksFolder (groupId, parentFolderId);
create index YKT_PORTAL.IX_451E7AE3 on YKT_PORTAL.BookmarksFolder (uuid_);
create index YKT_PORTAL.IX_DC2F8927 on YKT_PORTAL.BookmarksFolder (uuid_, groupId);
create index YKT_PORTAL.IX_12EE4898 on YKT_PORTAL.CalEvent (groupId);
create index YKT_PORTAL.IX_4FDDD2BF on YKT_PORTAL.CalEvent (groupId, repeating);
create index YKT_PORTAL.IX_FCD7C63D on YKT_PORTAL.CalEvent (groupId, type_);
create index YKT_PORTAL.IX_C1AD2122 on YKT_PORTAL.CalEvent (uuid_);
create index YKT_PORTAL.IX_5CCE79C8 on YKT_PORTAL.CalEvent (uuid_, groupId);
create index YKT_PORTAL.IX_B27A301F on YKT_PORTAL.ClassName_ (value);
create index YKT_PORTAL.IX_38EFE3FD on YKT_PORTAL.Company (logoId);
create index YKT_PORTAL.IX_12566EC2 on YKT_PORTAL.Company (mx);
create index YKT_PORTAL.IX_975996C0 on YKT_PORTAL.Company (virtualHost);
create index YKT_PORTAL.IX_EC00543C on YKT_PORTAL.Company (webId);
create index YKT_PORTAL.IX_66D496A3 on YKT_PORTAL.Contact_ (companyId);
create index YKT_PORTAL.IX_25D734CD on YKT_PORTAL.Country (active_);
create index YKT_PORTAL.IX_4CB1B2B4 on YKT_PORTAL.DLFileEntry (companyId);
create index YKT_PORTAL.IX_24A846D1 on YKT_PORTAL.DLFileEntry (folderId);
create index YKT_PORTAL.IX_8F6C75D0 on YKT_PORTAL.DLFileEntry (folderId, name);
create index YKT_PORTAL.IX_A9951F17 on YKT_PORTAL.DLFileEntry (folderId, title);
create index YKT_PORTAL.IX_64F0FE40 on YKT_PORTAL.DLFileEntry (uuid_);
create index YKT_PORTAL.IX_CE705D48 on YKT_PORTAL.DLFileRank (companyId, userId, folderId, name);
create index YKT_PORTAL.IX_40B56512 on YKT_PORTAL.DLFileRank (folderId, name);
create index YKT_PORTAL.IX_EED06670 on YKT_PORTAL.DLFileRank (userId);
create index YKT_PORTAL.IX_E56EC6AD on YKT_PORTAL.DLFileShortcut (folderId);
create index YKT_PORTAL.IX_CA2708A2 on YKT_PORTAL.DLFileShortcut (toFolderId, toName);
create index YKT_PORTAL.IX_4831EBE4 on YKT_PORTAL.DLFileShortcut (uuid_);
create index YKT_PORTAL.IX_9CD91DB6 on YKT_PORTAL.DLFileVersion (folderId, name);
create index YKT_PORTAL.IX_6C5E6512 on YKT_PORTAL.DLFileVersion (folderId, name, version);
create index YKT_PORTAL.IX_A74DB14C on YKT_PORTAL.DLFolder (companyId);
create index YKT_PORTAL.IX_F2EA1ACE on YKT_PORTAL.DLFolder (groupId);
create index YKT_PORTAL.IX_49C37475 on YKT_PORTAL.DLFolder (groupId, parentFolderId);
create index YKT_PORTAL.IX_902FD874 on YKT_PORTAL.DLFolder (groupId, parentFolderId, name);
create index YKT_PORTAL.IX_51556082 on YKT_PORTAL.DLFolder (parentFolderId, name);
create index YKT_PORTAL.IX_CBC408D8 on YKT_PORTAL.DLFolder (uuid_);
create index YKT_PORTAL.IX_3CC1DED2 on YKT_PORTAL.DLFolder (uuid_, groupId);
create index YKT_PORTAL.IX_1BB072CA on YKT_PORTAL.EmailAddress (companyId);
create index YKT_PORTAL.IX_49D2DEC4 on YKT_PORTAL.EmailAddress (companyId, classNameId);
create index YKT_PORTAL.IX_551A519F on YKT_PORTAL.EmailAddress (companyId, classNameId, classPK);
create index YKT_PORTAL.IX_2A2CB130 on YKT_PORTAL.EmailAddress (companyId, classNameId, classPK, primary_);
create index YKT_PORTAL.IX_7B43CD8 on YKT_PORTAL.EmailAddress (userId);
create index YKT_PORTAL.IX_D0D5E397 on YKT_PORTAL.Group_ (companyId, classNameId, classPK);
create index YKT_PORTAL.IX_5BDDB872 on YKT_PORTAL.Group_ (companyId, friendlyURL);
create index YKT_PORTAL.IX_5AA68501 on YKT_PORTAL.Group_ (companyId, name);
create index YKT_PORTAL.IX_16218A38 on YKT_PORTAL.Group_ (liveGroupId);
create index YKT_PORTAL.LIFERAY_001 on YKT_PORTAL.Groups_Permissions (permissionId);
create index YKT_PORTAL.IX_60214CF6 on YKT_PORTAL.IGFolder (companyId);
create index YKT_PORTAL.IX_206498F8 on YKT_PORTAL.IGFolder (groupId);
create index YKT_PORTAL.IX_1A605E9F on YKT_PORTAL.IGFolder (groupId, parentFolderId);
create index YKT_PORTAL.IX_F73C0982 on YKT_PORTAL.IGFolder (uuid_);
create index YKT_PORTAL.IX_B10EFD68 on YKT_PORTAL.IGFolder (uuid_, groupId);
create index YKT_PORTAL.IX_4438CA80 on YKT_PORTAL.IGImage (folderId);
create index YKT_PORTAL.IX_64F0B572 on YKT_PORTAL.IGImage (largeImageId);
create index YKT_PORTAL.IX_D3D32126 on YKT_PORTAL.IGImage (smallImageId);
create index YKT_PORTAL.IX_265BB0F1 on YKT_PORTAL.IGImage (uuid_);
create index YKT_PORTAL.IX_6A925A4D on YKT_PORTAL.Image (size_);
create index YKT_PORTAL.IX_DFF98523 on YKT_PORTAL.JournalArticle (companyId);
create index YKT_PORTAL.IX_9356F865 on YKT_PORTAL.JournalArticle (groupId);
create index YKT_PORTAL.IX_68C0F69C on YKT_PORTAL.JournalArticle (groupId, articleId);
create index YKT_PORTAL.IX_8DBF1387 on YKT_PORTAL.JournalArticle (groupId, articleId, approved);
create index YKT_PORTAL.IX_85C52EEC on YKT_PORTAL.JournalArticle (groupId, articleId, version);
create index YKT_PORTAL.IX_2E207659 on YKT_PORTAL.JournalArticle (groupId, structureId);
create index YKT_PORTAL.IX_8DEAE14E on YKT_PORTAL.JournalArticle (groupId, templateId);
create index YKT_PORTAL.IX_EF9B7028 on YKT_PORTAL.JournalArticle (smallImageId);
create index YKT_PORTAL.IX_F029602F on YKT_PORTAL.JournalArticle (uuid_);
create index YKT_PORTAL.IX_3463D95B on YKT_PORTAL.JournalArticle (uuid_, groupId);
create index YKT_PORTAL.IX_3B51BB68 on YKT_PORTAL.JournalArticleImage (groupId);
create index YKT_PORTAL.IX_158B526F on YKT_PORTAL.JournalArticleImage (groupId, articleId, version);
create index YKT_PORTAL.IX_D67292FC on YKT_PORTAL.JournalArticleImage (groupId, articleId, version, elName, languageId);
create index YKT_PORTAL.IX_D4121315 on YKT_PORTAL.JournalArticleImage (tempImage);
create index YKT_PORTAL.IX_F8433677 on YKT_PORTAL.JournalArticleResource (groupId);
create index YKT_PORTAL.IX_88DF994A on YKT_PORTAL.JournalArticleResource (groupId, articleId);
create index YKT_PORTAL.IX_6838E427 on YKT_PORTAL.JournalContentSearch (groupId, articleId);
create index YKT_PORTAL.IX_20962903 on YKT_PORTAL.JournalContentSearch (groupId, privateLayout);
create index YKT_PORTAL.IX_7CC7D73E on YKT_PORTAL.JournalContentSearch (groupId, privateLayout, articleId);
create index YKT_PORTAL.IX_B3B318DC on YKT_PORTAL.JournalContentSearch (groupId, privateLayout, layoutId);
create index YKT_PORTAL.IX_7ACC74C9 on YKT_PORTAL.JournalContentSearch (groupId, privateLayout, layoutId, portletId);
create index YKT_PORTAL.IX_C3AA93B8 on YKT_PORTAL.JournalContentSearch (groupId, privateLayout, layoutId, portletId, articleId);
create index YKT_PORTAL.IX_35A2DB2F on YKT_PORTAL.JournalFeed (groupId);
create index YKT_PORTAL.IX_65576CBC on YKT_PORTAL.JournalFeed (groupId, feedId);
create index YKT_PORTAL.IX_50C36D79 on YKT_PORTAL.JournalFeed (uuid_);
create index YKT_PORTAL.IX_39031F51 on YKT_PORTAL.JournalFeed (uuid_, groupId);
create index YKT_PORTAL.IX_B97F5608 on YKT_PORTAL.JournalStructure (groupId);
create index YKT_PORTAL.IX_AB6E9996 on YKT_PORTAL.JournalStructure (groupId, structureId);
create index YKT_PORTAL.IX_8831E4FC on YKT_PORTAL.JournalStructure (structureId);
create index YKT_PORTAL.IX_6702CA92 on YKT_PORTAL.JournalStructure (uuid_);
create index YKT_PORTAL.IX_42E86E58 on YKT_PORTAL.JournalStructure (uuid_, groupId);
create index YKT_PORTAL.IX_77923653 on YKT_PORTAL.JournalTemplate (groupId);
create index YKT_PORTAL.IX_1701CB2B on YKT_PORTAL.JournalTemplate (groupId, structureId);
create index YKT_PORTAL.IX_E802AA3C on YKT_PORTAL.JournalTemplate (groupId, templateId);
create index YKT_PORTAL.IX_25FFB6FA on YKT_PORTAL.JournalTemplate (smallImageId);
create index YKT_PORTAL.IX_1B12CA20 on YKT_PORTAL.JournalTemplate (templateId);
create index YKT_PORTAL.IX_2857419D on YKT_PORTAL.JournalTemplate (uuid_);
create index YKT_PORTAL.IX_62D1B3AD on YKT_PORTAL.JournalTemplate (uuid_, groupId);
create index YKT_PORTAL.IX_C7FBC998 on YKT_PORTAL.Layout (companyId);
create index YKT_PORTAL.IX_FAD05595 on YKT_PORTAL.Layout (dlFolderId);
create index YKT_PORTAL.IX_C099D61A on YKT_PORTAL.Layout (groupId);
create index YKT_PORTAL.IX_705F5AA3 on YKT_PORTAL.Layout (groupId, privateLayout);
create index YKT_PORTAL.IX_BC2C4231 on YKT_PORTAL.Layout (groupId, privateLayout, friendlyURL);
create index YKT_PORTAL.IX_7162C27C on YKT_PORTAL.Layout (groupId, privateLayout, layoutId);
create index YKT_PORTAL.IX_6DE88B06 on YKT_PORTAL.Layout (groupId, privateLayout, parentLayoutId);
create index YKT_PORTAL.IX_23922F7D on YKT_PORTAL.Layout (iconImageId);
create index YKT_PORTAL.IX_A40B8BEC on YKT_PORTAL.LayoutSet (groupId);
create index YKT_PORTAL.IX_48550691 on YKT_PORTAL.LayoutSet (groupId, privateLayout);
create index YKT_PORTAL.IX_5ABC2905 on YKT_PORTAL.LayoutSet (virtualHost);
create index YKT_PORTAL.IX_2932DD37 on YKT_PORTAL.ListType (type_);
create index YKT_PORTAL.IX_69951A25 on YKT_PORTAL.MBBan (banUserId);
create index YKT_PORTAL.IX_5C3FF12A on YKT_PORTAL.MBBan (groupId);
create index YKT_PORTAL.IX_8ABC4E3B on YKT_PORTAL.MBBan (groupId, banUserId);
create index YKT_PORTAL.IX_48814BBA on YKT_PORTAL.MBBan (userId);
create index YKT_PORTAL.IX_BC735DCF on YKT_PORTAL.MBCategory (companyId);
create index YKT_PORTAL.IX_BB870C11 on YKT_PORTAL.MBCategory (groupId);
create index YKT_PORTAL.IX_ED292508 on YKT_PORTAL.MBCategory (groupId, parentCategoryId);
create index YKT_PORTAL.IX_C2626EDB on YKT_PORTAL.MBCategory (uuid_);
create index YKT_PORTAL.IX_F7D28C2F on YKT_PORTAL.MBCategory (uuid_, groupId);
create index YKT_PORTAL.IX_33A4DE38 on YKT_PORTAL.MBDiscussion(classNameId, classPK);
create index YKT_PORTAL.IX_3C865EE5 on YKT_PORTAL.MBMessage (categoryId);
create index YKT_PORTAL.IX_138C7F1E on YKT_PORTAL.MBMessage (categoryId, threadId);
create index YKT_PORTAL.IX_B1432D30 on YKT_PORTAL.MBMessage (companyId);
create index YKT_PORTAL.IX_75B95071 on YKT_PORTAL.MBMessage (threadId);
create index YKT_PORTAL.IX_A7038CD7 on YKT_PORTAL.MBMessage (threadId, parentMessageId);
create index YKT_PORTAL.IX_C57B16BC on YKT_PORTAL.MBMessage (uuid_);
create index YKT_PORTAL.IX_D180D4AE on YKT_PORTAL.MBMessageFlag (messageId);
create index YKT_PORTAL.IX_7B2917BE on YKT_PORTAL.MBMessageFlag (userId);
create index YKT_PORTAL.IX_94A83834 on YKT_PORTAL.MBMessageFlag (userId, messageId);
create index YKT_PORTAL.IX_A00A898F on YKT_PORTAL.MBStatsUser (groupId);
create index YKT_PORTAL.IX_FAB5A88B on YKT_PORTAL.MBStatsUser (groupId, messageCount);
create index YKT_PORTAL.IX_9168E2C9 on YKT_PORTAL.MBStatsUser (groupId, userId);
create index YKT_PORTAL.IX_847F92B5 on YKT_PORTAL.MBStatsUser (userId);
create index YKT_PORTAL.IX_CB854772 on YKT_PORTAL.MBThread (categoryId);
create index YKT_PORTAL.IX_8A1CC4B on YKT_PORTAL.MembershipRequest (groupId);
create index YKT_PORTAL.IX_C28C72EC on YKT_PORTAL.MembershipRequest (groupId, statusId);
create index YKT_PORTAL.IX_66D70879 on YKT_PORTAL.MembershipRequest (userId);
create index YKT_PORTAL.IX_A425F71A on YKT_PORTAL.OrgGroupPermission(groupId);
create index YKT_PORTAL.IX_6C53DA4E on YKT_PORTAL.OrgGroupPermission(permissionId);
create index YKT_PORTAL.IX_4A527DD3 on YKT_PORTAL.OrgGroupRole (groupId);
create index YKT_PORTAL.IX_AB044D1C on YKT_PORTAL.OrgGroupRole (roleId);
create index YKT_PORTAL.IX_6AF0D434 on YKT_PORTAL.OrgLabor (organizationId);
create index YKT_PORTAL.IX_834BCEB6 on YKT_PORTAL.Organization_ (companyId);
create index YKT_PORTAL.IX_E301BDF5 on YKT_PORTAL.Organization_ (companyId, name);
create index YKT_PORTAL.IX_418E4522 on YKT_PORTAL.Organization_ (companyId, parentOrganizationId);
create index YKT_PORTAL.IX_2C1142E on YKT_PORTAL.PasswordPolicy (companyId, defaultPolicy);
create index YKT_PORTAL.IX_3FBFA9F4 on YKT_PORTAL.PasswordPolicy (companyId, name);
create index YKT_PORTAL.IX_C3A17327 on YKT_PORTAL.PasswordPolicyRel (classNameId, classPK);
create index YKT_PORTAL.IX_ED7CF243 on YKT_PORTAL.PasswordPolicyRel (passwordPolicyId, classNameId, classPK);
create index YKT_PORTAL.IX_326F75BD on YKT_PORTAL.PasswordTracker (userId);
create index YKT_PORTAL.IX_4D19C2B8 on YKT_PORTAL.Permission_ (actionId, resourceId);
create index YKT_PORTAL.IX_F090C113 on YKT_PORTAL.Permission_ (resourceId);
create index YKT_PORTAL.IX_9F704A14 on YKT_PORTAL.Phone (companyId);
create index YKT_PORTAL.IX_A2E4AFBA on YKT_PORTAL.Phone (companyId, classNameId);
create index YKT_PORTAL.IX_9A53569 on YKT_PORTAL.Phone (companyId, classNameId, classPK);
create index YKT_PORTAL.IX_812CE07A on YKT_PORTAL.Phone (companyId, classNameId, classPK, primary_);
create index YKT_PORTAL.IX_F202B9CE on YKT_PORTAL.Phone (userId);
create index YKT_PORTAL.IX_B9746445 on YKT_PORTAL.PluginSetting (companyId);
create index YKT_PORTAL.IX_7171B2E8 on YKT_PORTAL.PluginSetting (companyId, pluginId, pluginType);
create index YKT_PORTAL.IX_EC370F10 on YKT_PORTAL.PollsChoice (questionId);
create index YKT_PORTAL.IX_D76DD2CF on YKT_PORTAL.PollsChoice (questionId, name);
create index YKT_PORTAL.IX_6660B399 on YKT_PORTAL.PollsChoice (uuid_);
create index YKT_PORTAL.IX_9FF342EA on YKT_PORTAL.PollsQuestion(groupId);
create index YKT_PORTAL.IX_51F087F4 on YKT_PORTAL.PollsQuestion(uuid_);
create index YKT_PORTAL.IX_F3C9F36 on YKT_PORTAL.PollsQuestion(uuid_, groupId);
create index YKT_PORTAL.IX_D5DF7B54 on YKT_PORTAL.PollsVote (choiceId);
create index YKT_PORTAL.IX_12112599 on YKT_PORTAL.PollsVote (questionId);
create index YKT_PORTAL.IX_1BBFD4D3 on YKT_PORTAL.PollsVote (questionId, userId);
create index YKT_PORTAL.IX_80CC9508 on YKT_PORTAL.Portlet (companyId);
create index YKT_PORTAL.IX_12B5E51D on YKT_PORTAL.Portlet (companyId, portletId);
create index YKT_PORTAL.IX_E4F13E6E on YKT_PORTAL.PortletPreferences (ownerId, ownerType, plid);
create index YKT_PORTAL.IX_C7057FF7 on YKT_PORTAL.PortletPreferences (ownerId, ownerType, plid, portletId);
create index YKT_PORTAL.IX_F15C1C4F on YKT_PORTAL.PortletPreferences (plid);
create index YKT_PORTAL.IX_D340DB76 on YKT_PORTAL.PortletPreferences (plid, portletId);
create index YKT_PORTAL.IX_16184D57 on YKT_PORTAL.RatingsEntry (classNameId, classPK);
create index YKT_PORTAL.IX_B47E3C11 on YKT_PORTAL.RatingsEntry (userId, classNameId, classPK);
create index YKT_PORTAL.IX_A6E99284 on YKT_PORTAL.RatingsStats (classNameId, classPK);
create index YKT_PORTAL.IX_2D9A426F on YKT_PORTAL.Region(active_);
create index YKT_PORTAL.IX_16D87CA7 on YKT_PORTAL.Region(countryId);
create index YKT_PORTAL.IX_11FB3E42 on YKT_PORTAL.Region(countryId, active_);
create index YKT_PORTAL.IX_717FDD47 on YKT_PORTAL.ResourceCode (companyId);
create index YKT_PORTAL.IX_A32C097E on YKT_PORTAL.ResourceCode (companyId, name, scope);
create index YKT_PORTAL.IX_AACAFF40 on YKT_PORTAL.ResourceCode (name);
create index YKT_PORTAL.IX_2578FBD3 on YKT_PORTAL.Resource_ (codeId);
create index YKT_PORTAL.IX_67DE7856 on YKT_PORTAL.Resource_ (codeId, primKey);
create index YKT_PORTAL.IX_449A10B9 on YKT_PORTAL.Role_ (companyId);
create index YKT_PORTAL.IX_A88E424E on YKT_PORTAL.Role_ (companyId, classNameId, classPK);
create index YKT_PORTAL.IX_EBC931B8 on YKT_PORTAL.Role_ (companyId, name);
create index YKT_PORTAL.LIFERAY_002 on YKT_PORTAL.Roles_Permissions (permissionId);
create index YKT_PORTAL.IX_C98C0D78 on YKT_PORTAL.SCFrameworkVersion(companyId);
create index YKT_PORTAL.IX_272991FA on YKT_PORTAL.SCFrameworkVersion(groupId);
create index YKT_PORTAL.IX_6E1764F on YKT_PORTAL.SCFrameworkVersion(groupId, active_);
create index YKT_PORTAL.IX_1C841592 on YKT_PORTAL.SCLicense (active_);
create index YKT_PORTAL.IX_5327BB79 on YKT_PORTAL.SCLicense (active_, recommended);
create index YKT_PORTAL.IX_5D25244F on YKT_PORTAL.SCProductEntry (companyId);
create index YKT_PORTAL.IX_72F87291 on YKT_PORTAL.SCProductEntry (groupId);
create index YKT_PORTAL.IX_98E6A9CB on YKT_PORTAL.SCProductEntry (groupId, userId);
create index YKT_PORTAL.IX_7311E812 on YKT_PORTAL.SCProductEntry (repoGroupId, repoArtifactId);
create index YKT_PORTAL.IX_AE8224CC on YKT_PORTAL.SCProductScreenshot (fullImageId);
create index YKT_PORTAL.IX_467956FD on YKT_PORTAL.SCProductScreenshot (productEntryId);
create index YKT_PORTAL.IX_DA913A55 on YKT_PORTAL.SCProductScreenshot (productEntryId, priority);
create index YKT_PORTAL.IX_6C572DAC on YKT_PORTAL.SCProductScreenshot (thumbnailId);
create index YKT_PORTAL.IX_7020130F on YKT_PORTAL.SCProductVersion(directDownloadURL);
create index YKT_PORTAL.IX_8377A211 on YKT_PORTAL.SCProductVersion(productEntryId);
create index YKT_PORTAL.IX_7338606F on YKT_PORTAL.ServiceComponent (buildNamespace);
create index YKT_PORTAL.IX_4F0315B8 on YKT_PORTAL.ServiceComponent (buildNamespace, buildNumber);
create index YKT_PORTAL.IX_C28B41DC on YKT_PORTAL.ShoppingCart (groupId);
create index YKT_PORTAL.IX_FC46FE16 on YKT_PORTAL.ShoppingCart (groupId, userId);
create index YKT_PORTAL.IX_54101CC8 on YKT_PORTAL.ShoppingCart (userId);
create index YKT_PORTAL.IX_5F615D3E on YKT_PORTAL.ShoppingCategory (groupId);
create index YKT_PORTAL.IX_1E6464F5 on YKT_PORTAL.ShoppingCategory (groupId, parentCategoryId);
create index YKT_PORTAL.IX_DC60CFAE on YKT_PORTAL.ShoppingCoupon(code_);
create index YKT_PORTAL.IX_3251AF16 on YKT_PORTAL.ShoppingCoupon(groupId);
create index YKT_PORTAL.IX_C8EACF2E on YKT_PORTAL.ShoppingItem (categoryId);
create index YKT_PORTAL.IX_1C717CA6 on YKT_PORTAL.ShoppingItem (companyId, sku);
create index YKT_PORTAL.IX_903DC750 on YKT_PORTAL.ShoppingItem (largeImageId);
create index YKT_PORTAL.IX_D217AB30 on YKT_PORTAL.ShoppingItem (mediumImageId);
create index YKT_PORTAL.IX_FF203304 on YKT_PORTAL.ShoppingItem (smallImageId);
create index YKT_PORTAL.IX_6D5F9B87 on YKT_PORTAL.ShoppingItemField (itemId);
create index YKT_PORTAL.IX_EA6FD516 on YKT_PORTAL.ShoppingItemPrice (itemId);
create index YKT_PORTAL.IX_1D15553E on YKT_PORTAL.ShoppingOrder (groupId);
create index YKT_PORTAL.IX_119B5630 on YKT_PORTAL.ShoppingOrder (groupId, userId, ppPaymentStatus);
create index YKT_PORTAL.IX_D7D6E87A on YKT_PORTAL.ShoppingOrder (number_);
create index YKT_PORTAL.IX_B5F82C7A on YKT_PORTAL.ShoppingOrderItem (orderId);
create index YKT_PORTAL.IX_786D171A on YKT_PORTAL.Subscription(companyId, classNameId, classPK);
create index YKT_PORTAL.IX_2E1A92D4 on YKT_PORTAL.Subscription(companyId, userId, classNameId, classPK);
create index YKT_PORTAL.IX_54243AFD on YKT_PORTAL.Subscription(userId);
create index YKT_PORTAL.IX_1AB6D6D2 on YKT_PORTAL.TagsAsset (classNameId, classPK);
create index YKT_PORTAL.IX_AB3D8BCB on YKT_PORTAL.TagsAsset (companyId);
create index YKT_PORTAL.IX_10563688 on YKT_PORTAL.TagsEntry (companyId, name);
create index YKT_PORTAL.IX_C134234 on YKT_PORTAL.TagsProperty (companyId);
create index YKT_PORTAL.IX_EB974D08 on YKT_PORTAL.TagsProperty (companyId, key_);
create index YKT_PORTAL.IX_5200A629 on YKT_PORTAL.TagsProperty (entryId);
create index YKT_PORTAL.IX_F505253D on YKT_PORTAL.TagsProperty (entryId, key_);
create index YKT_PORTAL.IX_524FEFCE on YKT_PORTAL.UserGroup (companyId);
create index YKT_PORTAL.IX_23EAD0D on YKT_PORTAL.UserGroup (companyId, name);
create index YKT_PORTAL.IX_69771487 on YKT_PORTAL.UserGroup (companyId, parentUserGroupId);
create index YKT_PORTAL.IX_1B988D7A on YKT_PORTAL.UserGroupRole (groupId);
create index YKT_PORTAL.IX_871412DF on YKT_PORTAL.UserGroupRole (groupId, roleId);
create index YKT_PORTAL.IX_887A2C95 on YKT_PORTAL.UserGroupRole (roleId);
create index YKT_PORTAL.IX_887BE56A on YKT_PORTAL.UserGroupRole (userId);
create index YKT_PORTAL.IX_4D040680 on YKT_PORTAL.UserGroupRole (userId, groupId);
create index YKT_PORTAL.IX_41A32E0D on YKT_PORTAL.UserIdMapper (type_, externalUserId);
create index YKT_PORTAL.IX_E60EA987 on YKT_PORTAL.UserIdMapper (userId);
create index YKT_PORTAL.IX_D1C44A6E on YKT_PORTAL.UserIdMapper (userId, type_);
create index YKT_PORTAL.IX_29BA1CF5 on YKT_PORTAL.UserTracker (companyId);
create index YKT_PORTAL.IX_46B0AE8E on YKT_PORTAL.UserTracker (sessionId);
create index YKT_PORTAL.IX_E4EFBA8D on YKT_PORTAL.UserTracker (userId);
create index YKT_PORTAL.IX_14D8BCC0 on YKT_PORTAL.UserTrackerPath (userTrackerId);
create index YKT_PORTAL.IX_3A1E834E on YKT_PORTAL.User_ (companyId);
create index YKT_PORTAL.IX_6EF03E4E on YKT_PORTAL.User_ (companyId, defaultUser);
create index YKT_PORTAL.IX_615E9F7A on YKT_PORTAL.User_ (companyId, emailAddress);
create index YKT_PORTAL.IX_765A87C6 on YKT_PORTAL.User_ (companyId, password_);
create index YKT_PORTAL.IX_C5806019 on YKT_PORTAL.User_ (companyId, screenName);
create index YKT_PORTAL.IX_9782AD88 on YKT_PORTAL.User_ (companyId, userId);
create index YKT_PORTAL.IX_5ADBE171 on YKT_PORTAL.User_ (contactId);
create index YKT_PORTAL.IX_A18034A4 on YKT_PORTAL.User_ (portraitId);
create index YKT_PORTAL.IX_E0422BDA on YKT_PORTAL.User_ (uuid_);
create index YKT_PORTAL.LIFERAY_003 on YKT_PORTAL.Users_Permissions (permissionId);
create index YKT_PORTAL.IX_97DFA146 on YKT_PORTAL.WebDAVProps (classNameId, classPK);
create index YKT_PORTAL.IX_96F07007 on YKT_PORTAL.Website (companyId);
create index YKT_PORTAL.IX_4F0F0CA7 on YKT_PORTAL.Website (companyId, classNameId);
create index YKT_PORTAL.IX_F960131C on YKT_PORTAL.Website (companyId, classNameId, classPK);
create index YKT_PORTAL.IX_1AA07A6D on YKT_PORTAL.Website (companyId, classNameId, classPK, primary_);
create index YKT_PORTAL.IX_F75690BB on YKT_PORTAL.Website (userId);
create index YKT_PORTAL.IX_5D6FE3F0 on YKT_PORTAL.WikiNode (companyId);
create index YKT_PORTAL.IX_B480A672 on YKT_PORTAL.WikiNode (groupId);
create index YKT_PORTAL.IX_6C112D7C on YKT_PORTAL.WikiNode (uuid_);
create index YKT_PORTAL.IX_7609B2AE on YKT_PORTAL.WikiNode (uuid_, groupId);
create index YKT_PORTAL.IX_C8A9C476 on YKT_PORTAL.WikiPage (nodeId);
create index YKT_PORTAL.IX_E7F635CA on YKT_PORTAL.WikiPage (nodeId, head);
create index YKT_PORTAL.IX_997EEDD2 on YKT_PORTAL.WikiPage (nodeId, title);
create index YKT_PORTAL.IX_E745EA26 on YKT_PORTAL.WikiPage (nodeId, title, head);
create index YKT_PORTAL.IX_3D4AF476 on YKT_PORTAL.WikiPage (nodeId, title, version);
create index YKT_PORTAL.IX_9C0E478F on YKT_PORTAL.WikiPage (uuid_);
create index YKT_PORTAL.IX_21277664 on YKT_PORTAL.WikiPageResource (nodeId, title); |
--
-- PostgreSQL database dump
--
-- Dumped from database version 11.2 (Debian 11.2-1.pgdg90+1)
-- Dumped by pg_dump version 11.2 (Debian 11.2-1.pgdg90+1)
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 client_min_messages = warning;
SET row_security = off;
ALTER TABLE IF EXISTS ONLY public.timesheet_day DROP CONSTRAINT IF EXISTS timesheet_day_timesheet_id_fkey;
ALTER TABLE IF EXISTS ONLY public.timesheet_day DROP CONSTRAINT IF EXISTS timesheet_day_client_id_fkey;
ALTER TABLE IF EXISTS ONLY public.invoice DROP CONSTRAINT IF EXISTS invoice_client_id_fkey;
DROP INDEX IF EXISTS public.fk_invoice_client_id;
ALTER TABLE IF EXISTS ONLY public.timesheet DROP CONSTRAINT IF EXISTS timesheet_pkey;
ALTER TABLE IF EXISTS ONLY public.timesheet DROP CONSTRAINT IF EXISTS timesheet_month_key;
ALTER TABLE IF EXISTS ONLY public.timesheet_day DROP CONSTRAINT IF EXISTS timesheet_day_pkey;
ALTER TABLE IF EXISTS ONLY public.planning_day DROP CONSTRAINT IF EXISTS planning_day_pkey;
ALTER TABLE IF EXISTS ONLY public.invoice DROP CONSTRAINT IF EXISTS invoice_pkey;
ALTER TABLE IF EXISTS ONLY public.invoice DROP CONSTRAINT IF EXISTS invoice_number_key;
ALTER TABLE IF EXISTS ONLY public.client DROP CONSTRAINT IF EXISTS client_pkey;
ALTER TABLE IF EXISTS ONLY public.app_user DROP CONSTRAINT IF EXISTS app_user_pkey;
ALTER TABLE IF EXISTS ONLY public.app_user DROP CONSTRAINT IF EXISTS app_user_email_key;
DROP TABLE IF EXISTS public.timesheet_day;
DROP TABLE IF EXISTS public.timesheet;
DROP TABLE IF EXISTS public.planning_day;
DROP TABLE IF EXISTS public.invoice;
DROP TABLE IF EXISTS public.client;
DROP TABLE IF EXISTS public.app_user;
DROP TYPE IF EXISTS public.prestation_type;
DROP TYPE IF EXISTS public.day_part_type;
--
-- Name: day_part_type; Type: TYPE; Schema: public; Owner: user
--
CREATE TYPE public.day_part_type AS ENUM (
'AM',
'PM',
'Full day'
);
ALTER TYPE public.day_part_type OWNER TO "user";
--
-- Name: prestation_type; Type: TYPE; Schema: public; Owner: user
--
CREATE TYPE public.prestation_type AS ENUM (
'on-site',
'remote'
);
ALTER TYPE public.prestation_type OWNER TO "user";
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: app_user; Type: TABLE; Schema: public; Owner: user
--
CREATE TABLE public.app_user (
app_user_id uuid NOT NULL,
email character varying(180) NOT NULL,
roles json NOT NULL,
password character varying(255) NOT NULL,
created_at timestamp(0) without time zone NOT NULL,
updated_at timestamp(0) without time zone NOT NULL
);
ALTER TABLE public.app_user OWNER TO "user";
--
-- Name: client; Type: TABLE; Schema: public; Owner: user
--
CREATE TABLE public.client (
client_id uuid NOT NULL,
name character varying(255) NOT NULL,
created_at timestamp(0) without time zone NOT NULL,
updated_at timestamp(0) without time zone NOT NULL
);
ALTER TABLE public.client OWNER TO "user";
--
-- Name: invoice; Type: TABLE; Schema: public; Owner: user
--
CREATE TABLE public.invoice (
invoice_id uuid NOT NULL,
client_id uuid NOT NULL,
number character varying(255) NOT NULL,
sent_at date,
paid_at date,
amount_ht integer NOT NULL,
amount_ttc integer NOT NULL,
created_at timestamp(0) without time zone NOT NULL,
updated_at timestamp(0) without time zone NOT NULL
);
ALTER TABLE public.invoice OWNER TO "user";
--
-- Name: planning_day; Type: TABLE; Schema: public; Owner: user
--
CREATE TABLE public.planning_day (
planning_day_id uuid NOT NULL,
client_id uuid NOT NULL,
invoice_id uuid,
date date NOT NULL,
created_at timestamp(0) without time zone NOT NULL,
updated_at timestamp(0) without time zone NOT NULL
);
ALTER TABLE public.planning_day OWNER TO "user";
--
-- Name: timesheet; Type: TABLE; Schema: public; Owner: user
--
CREATE TABLE public.timesheet (
timesheet_id uuid NOT NULL,
month date NOT NULL,
created_at timestamp(0) without time zone NOT NULL,
updated_at timestamp(0) without time zone NOT NULL,
CONSTRAINT timesheet_month_check CHECK ((date_part('day'::text, month) = '1'::double precision))
);
ALTER TABLE public.timesheet OWNER TO "user";
--
-- Name: timesheet_day; Type: TABLE; Schema: public; Owner: user
--
CREATE TABLE public.timesheet_day (
timesheet_day_id uuid NOT NULL,
timesheet_id uuid NOT NULL,
client_id uuid NOT NULL,
date date NOT NULL,
day_part public.day_part_type NOT NULL,
day_length numeric(2,1) NOT NULL,
type public.prestation_type NOT NULL,
created_at timestamp(0) without time zone NOT NULL,
updated_at timestamp(0) without time zone NOT NULL,
CONSTRAINT timesheet_day_day_length_check CHECK (((day_length = (1)::numeric) OR (day_length = 0.5)))
);
ALTER TABLE public.timesheet_day OWNER TO "user";
--
-- Data for Name: app_user; Type: TABLE DATA; Schema: public; Owner: user
--
COPY public.app_user (app_user_id, email, roles, password, created_at, updated_at) FROM stdin;
5015018e-0a1b-4105-b08f-228395b71273 foo@bar.com [] $argon2i$v=19$m=1024,t=2,p=2$cC9OOWN4TDhDeVB6VDdPNg$KS5W9pWnyAfCTofydJ9t+8VP5dBcLxU8h4asU5CCVTk 2019-04-10 10:20:30 2019-04-10 10:20:30
\.
--
-- Data for Name: client; Type: TABLE DATA; Schema: public; Owner: user
--
COPY public.client (client_id, name, created_at, updated_at) FROM stdin;
\.
--
-- Data for Name: invoice; Type: TABLE DATA; Schema: public; Owner: user
--
COPY public.invoice (invoice_id, client_id, number, sent_at, paid_at, amount_ht, amount_ttc, created_at, updated_at) FROM stdin;
\.
--
-- Data for Name: planning_day; Type: TABLE DATA; Schema: public; Owner: user
--
COPY public.planning_day (planning_day_id, client_id, invoice_id, date, created_at, updated_at) FROM stdin;
\.
--
-- Data for Name: timesheet; Type: TABLE DATA; Schema: public; Owner: user
--
COPY public.timesheet (timesheet_id, month, created_at, updated_at) FROM stdin;
\.
--
-- Data for Name: timesheet_day; Type: TABLE DATA; Schema: public; Owner: user
--
COPY public.timesheet_day (timesheet_day_id, timesheet_id, client_id, date, day_part, day_length, type, created_at, updated_at) FROM stdin;
\.
--
-- Name: app_user app_user_email_key; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.app_user
ADD CONSTRAINT app_user_email_key UNIQUE (email);
--
-- Name: app_user app_user_pkey; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.app_user
ADD CONSTRAINT app_user_pkey PRIMARY KEY (app_user_id);
--
-- Name: client client_pkey; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.client
ADD CONSTRAINT client_pkey PRIMARY KEY (client_id);
--
-- Name: invoice invoice_number_key; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.invoice
ADD CONSTRAINT invoice_number_key UNIQUE (number);
--
-- Name: invoice invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.invoice
ADD CONSTRAINT invoice_pkey PRIMARY KEY (invoice_id);
--
-- Name: planning_day planning_day_pkey; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.planning_day
ADD CONSTRAINT planning_day_pkey PRIMARY KEY (planning_day_id);
--
-- Name: timesheet_day timesheet_day_pkey; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.timesheet_day
ADD CONSTRAINT timesheet_day_pkey PRIMARY KEY (timesheet_day_id);
--
-- Name: timesheet timesheet_month_key; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.timesheet
ADD CONSTRAINT timesheet_month_key UNIQUE (month);
--
-- Name: timesheet timesheet_pkey; Type: CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.timesheet
ADD CONSTRAINT timesheet_pkey PRIMARY KEY (timesheet_id);
--
-- Name: fk_invoice_client_id; Type: INDEX; Schema: public; Owner: user
--
CREATE INDEX fk_invoice_client_id ON public.invoice USING btree (client_id);
--
-- Name: invoice invoice_client_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.invoice
ADD CONSTRAINT invoice_client_id_fkey FOREIGN KEY (client_id) REFERENCES public.client(client_id);
--
-- Name: timesheet_day timesheet_day_client_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.timesheet_day
ADD CONSTRAINT timesheet_day_client_id_fkey FOREIGN KEY (client_id) REFERENCES public.client(client_id);
--
-- Name: timesheet_day timesheet_day_timesheet_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: user
--
ALTER TABLE ONLY public.timesheet_day
ADD CONSTRAINT timesheet_day_timesheet_id_fkey FOREIGN KEY (timesheet_id) REFERENCES public.timesheet(timesheet_id);
--
-- PostgreSQL database dump complete
--
|
create table instructor(
i_account char(20) not null,
name char(40) not null,
password char(40) not null,
primary key(i_account));
create table student(
s_account char(20) not null,
name char(40) not null,
password char(40) not null,
primary key(s_account));
create table course(
id char(6) not null,
title char(40) not null,
credits numeric(2,1) not null,
information varchar(200) not null,
primary key(id));
create table teaches(
i_account char(20),
id char(6),
foreign key (i_account) references instructor(i_account),
foreign key (id) references course(id));
create table register(
survey_status boolean not null,
survey_ts timestamp not null,
s_account char(20),
id char(6),
foreign key (s_account) references student(s_account),
foreign key (id) references course(id));
create table questions (
question_number int not null,
question_text text(2000) not null,
bool_response_type bool not null,
primary key (question_number)
);
create table surveys(
survey_response text(2000) not null,
question_number int,
s_account char(20),
ID char(6),
foreign key (question_number) references questions(question_number),
foreign key (s_account) references student(s_account),
foreign key (ID) references course(ID)
);
delimiter //
create procedure make_inst_acc (in account char(20), in instname char(40))
begin
insert into instructor values(account, instname, "");
end//
create procedure make_student_acc (in account char(20), in studentname char(40))
begin
insert into student values(account, studentname, "");
end//
create procedure makeCourse (in id char(6), in title char(40), in credits
numeric(2,1), in information varchar(200))
begin
insert into course values(id, title, credits, information);
end//
create procedure assignToCourse (in instructID char(20), in courseID char(6))
begin
insert into teaches values(instructID, courseID);
end//
create procedure evalQ (in questionNum int, in question_text text(2000) , in bool_response bool)
begin
insert into questions values(questionNum, question_text, bool_response);
end//
delimiter ;
call make_inst_acc('jon', 'Jon');
call make_inst_acc('judy', 'Judy');
call make_student_acc('mary', 'Mary');
call makeCourse('CS1000', 'Explorations in Computing', 1.0, 'An introduction to the study of computing: fundamental concepts and skills; opportunities at Michigan Tech; career opportunities; social and ethical issues.');
call makeCourse('CS1121', 'Intro To Prog I', 3.0, 'An introduction to the study of computing: fundamental concepts and skills; opportunities at Michigan Tech; career opportunities; social and ethical issues.');
call makeCourse('CS1122', 'Intro To Prog II', 3.0, 'An introduction to the study of computing: fundamental concepts and skills; opportunities at Michigan Tech; career opportunities; social and ethical issues.');
call assignToCourse('jon', 'CS1000');
call assignToCourse('jon', 'CS1121');
call assignToCourse('judy', 'CS1122');
call evalQ(1, "I understood the goals and objectives of this course.", true);
call evalQ(2, "If you were meeting with another student about to start this class, what advice would you give him/her?", false);
select * from surveys;
select i_account, id from teaches natural join instructor where i_account = i_account;
delete from teaches where i_account = "jon";
|
SELECT C.cust_id, O.order_num
FROM Customers AS C
INNER JOIN Orders AS O ON C.cust_id = O.cust_id;
SELECT C.cust_id, O.order_num
FROM Customers AS C
LEFT OUTER JOIN Orders AS O ON C.cust_id = O.cust_id;
|
CREATE TABLE color_change (
created_server DATETIME DEFAULT CURRENT_TIMESTAMP,
latitude REAL NOT NULL,
longitude REAL NOT NULL,
color INTEGER NOT NULL,
accuracy REAL,
position_timestamp DATETIME,
x INT NOT NULL,
y INT NOT NULL
);
create table users (username string not null, hashed_password string not null);
create table sessions (key string not null, identity string not null);
|
CREATE DATABASE IF NOT EXISTS yourdb;
USE yourdb;
CREATE TABLE Order(
id INT NOT NULL,
name VARCHAR (20) NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO Order (id,name)
VALUES (1, 'IPhone');
INSERT INTO Order (id,name)
VALUES (2, 'Book');
INSERT INTO Order (id,name
VALUES (3, 'Video');
SELECT * FROM Order;
DROP TABLE Order;
GRANT ALL PRIVILEGES ON yourdb.* TO 'test'@'%' IDENTIFIED BY 'test';
|
SELECT
m.title
FROM
movies AS m
JOIN
stars AS s
ON s.movie_id = m.id
JOIN
people AS p
ON p.id = s.person_id
WHERE
m.id IN (
SELECT
m.id
FROM
movies AS m
JOIN
stars AS s
ON s.movie_id = m.id
JOIN
people AS p
ON p.id = s.person_id
WHERE
p.name = "Johnny Depp"
) AND p.name = "Helena Bonham Carter"; |
/*
First section of sqlzoo, SELECT basics
*/
--#1
/*
The example shows the population of 'France'. Strings should be in 'single quotes';
Show the population of Germany
*/
SELECT population
FROM world
WHERE name = 'Germany'
--#2
/*
The query shows the population density population/area for each country where the area is over 5,000,000 km2.
Show the name and per capita gdp: gdp/population for each country where the area is over 5,000,000 km2
*/
SELECT name, gdp/population
FROM world
WHERE area > 5000000
--#3
/*
Where to find some very small, very rich countries.
We use AND to ensure that two or more conditions hold true.
The example shows the countries where the population is small and the gdp is high.
Show the name and continent where the area is less than 2000 and the gdp is more than 5000000000
*/
SELECT name , continent
FROM world
WHERE area < 2000
AND gdp > 5000000000
--#4
/*
Checking a list The word IN allows us to check if an item is in a list. The example shows the name and population for the countries 'Ireland', 'Iceland' and 'Denmark'
Show the name and the population for 'Denmark', 'Finland', 'Norway', 'Sweden'
*/
SELECT name, population
FROM world
WHERE name IN ('Norway', 'Sweden', 'Finland',
'Denmark')
--#5
/*
What are the countries beginning with G? The word LIKE permits pattern matching - % is the wildcard. The examples shows countries beginning with D
Show each country that begins with G
*/
SELECT name
FROM world
WHERE name LIKE 'G%'
--#6
/*
Which countries are not too small and not too big? Show the country and the area for countries with an area between 200000 and 250000. BETWEEN allows range checking - note that it is inclusive.
Show the area in 1000 square km. Show area/1000 instead of area
*/
SELECT name, area/1000
FROM world
WHERE area BETWEEN 200000 AND 250000
/*
Second section of sqlzoo, SELECT from WORLD
*/
--#1
/*
Read the notes about this table. Observe the result of running a simple SQL command.
*/
SELECT name, continent, population
FROM world
--#2
/*
How to use WHERE to filter records.
Show the name for the countries that have a population of at least 200 million. 200 million is 200000000, there are eight zeros.
*/
SELECT name
FROM world
WHERE population>=200000000
--#3
/*
Give the name and the per capita GDP for those countries with a population of at least 200 million.
*/
SELECT name, gdp/population
FROM world
WHERE population >= 200000000
--#4
/*
Show the name and population in millions for the countries of the continent 'South America'. Divide the population by 1000000 to get population in millions.
*/
SELECT name, population/1000000
FROM world
WHERE continent = 'South America'
--#5
/*
Show the name and population for France, Germany, Italy
*/
SELECT name, population
FROM world
WHERE name in ('France', 'Germany', 'Italy')
--#6
/*
Show the countries which have a name that includes the word 'United'
*/
SELECT name
FROM world
WHERE name LIKE '%united%'
--#7
/*
Two ways to be big: A country is big if it has an area of more than 3 million sq km or it has a population of more than 250 million.
Show the countries that are big by area or big by population. Show name, population and area.
*/
SELECT name, population, area
FROM world
WHERE area > 3000000 OR population > 250000000
--#8
/*
USA and China are big in population and big by area. Exclude these countries.
Show the countries that are big by area or big by population but not both. Show name, population and area.
*/
SELECT name, population, area
FROM world
WHERE (area > 3000000 AND population < 250000000)
OR (area < 3000000 and population > 250000000)
--#9
/*
Show the name and population in millions and the GDP in billions for the countries of the continent 'South America'. Use the ROUND function to show the values to two decimal places.
For South America show population in millions and GDP in billions to 2 decimal places.
*/
SELECT name, ROUND(population/1000000,2), ROUND(gdp/1000000000, 2)
FROM world
WHERE continent = 'South America'
--#10
/*
Show the per-capita GDP for those countries with a GDP of at least one trillion (1000000000000; that is 12 zeros). Round this value to the nearest 1000.
Show per-capita GDP for the trillion dollar countries to the nearest $1000.
*/
SELECT name, ROUND(gdp/population, -3)
FROM world
WHERE gdp > 1000000000000
--#11
/*
The CASE statement shown is used to substitute North America for Caribbean in the third column.
Show the name and the continent - but substitute Australasia for Oceania - for countries beginning with N.
*/
SELECT name, continent,
CASE WHEN continent='Caribbean' THEN 'North America'
ELSE continent END
FROM world
WHERE name LIKE 'J%'
--#12
/*
Show the name and the continent - but substitute Eurasia for Europe and Asia; substitute America - for each country in North America or South America or Caribbean.
Show countries beginning with A or B
*/
SELECT name,
CASE WHEN continent = 'Europe' OR continent = 'Asia' THEN 'Eurasia'
WHEN continent LIKE '%america%' OR continent = 'Caribbean' THEN 'America'
ELSE continent END
FROM world
WHERE name LIKE 'a%' or name LIKE 'b%'
--#13
/*
Put the continents right...
Oceania becomes Australasia
Countries in Eurasia and Turkey go to Europe/Asia
Caribbean islands starting with 'B' go to North America, other Caribbean islands go to South America
Show the name, the original continent and the new continent of all countries.
*/
SELECT name, continent,
CASE WHEN continent = 'Oceania' THEN 'Australasia'
WHEN continent = 'Eurasia' OR name = 'Turkey' THEN 'Europe/Asia'
WHEN continent = 'Caribbean' AND name LIKE 'b%' THEN 'North America'
WHEN continent = 'Caribbean' AND name NOT LIKE 'b%' THEN 'South America'
ELSE continent END
FROM world
ORDER BY name
/*
Third section of sqlzoo, SELECT from Nobel
*/
--#1
/*
Change the query shown so that it displays Nobel prizes for 1950.
*/
SELECT yr, subject, winner
FROM nobel
WHERE yr = 1950
--#2
/*
Show who won the 1962 prize for Literature.
*/
SELECT winner
FROM nobel
WHERE yr = 1962 AND subject = 'Literature'
--#3
/*
Show the year and subject that won 'Albert Einstein' his prize.
*/
SELECT yr, subject
FROM nobel
WHERE winner = 'Albert Einstein'
--#4
/*
Give the name of the 'Peace' winners since the year 2000, including 2000.
*/
SELECT winner
FROM nobel
WHERE subject = 'Peace' AND yr >= 2000
--#5
/*
Show all details (yr, subject, winner) of the Literature prize winners for 1980 to 1989 inclusive
*/
SELECT yr, subject, winner
FROM nobel
WHERE (yr >=1980 AND yr <=1989) AND subject = 'Literature'
--#6
/*
Show all details of the presidential winners:
Theodore Roosevelt
Woodrow Wilson
Jimmy Carter
*/
SELECT *
FROM nobel
WHERE winner IN ('Theodore Roosevelt', 'Woodrow Wilson', 'Jimmy Carter')
--#7
/*
Show the winners with first name John
*/
SELECT winner
FROM nobel
WHERE winner LIKE 'john%'
--#8
/*
Show the Physics winners for 1980 together with the Chemistry winners for 1984.
*/
SELECT *
FROM nobel
WHERE (subject = "Physics" AND yr = '1980') OR (subject = 'Chemistry' AND yr = 1984)
--#9
/*
Show the winners for 1980 excluding the Chemistry and Medicine
*/
SELECT *
FROM nobel
WHERE yr = 1980 AND subject NOT IN ('Chemistry', 'Medicine')
--#10
/*
Show who won a 'Medicine' prize in an early year (before 1910, not including 1910) together with winners of a 'Literature' prize in a later year (after 2004, including 2004)
*/
SELECT *
FROM nobel
WHERE (subject = 'Medicine' AND yr < 1910) OR (subject = 'Literature' AND yr >= 2004)
--#11
/*
Find all details of the prize won by PETER GRÜNBERG
*/
SELECT *
FROM nobel
WHERE winner LIKE 'peter gr%nberg'
--#12
/*
Find all details of the prize won by EUGENE O'NEILL
*/
SELECT *
FROM nobel
WHERE winner = 'Eugene O''Neill'
--#13
/*
Knights in order
List the winners, year and subject where the winner starts with Sir. Show the the most recent first, then by name order.
*/
SELECT winner, yr, subject
FROM nobel
WHERE winner LIKE 'sir%'
ORDER BY yr DESC, winner
--#14
/*
The expression subject IN ('Chemistry','Physics') can be used as a value - it will be 0 or 1.
Show the 1984 winners ordered by subject and winner name; but list Chemistry and Physics last.
*/
SELECT winner, subject, subject IN ('Physics','Chemistry')
FROM nobel
WHERE yr=1984
ORDER BY subject IN ('Physics','Chemistry'),subject,winner
/*
Fourth section of sqlzoo, SELECT in SELECT
*/
--#1
/*
List each country name where the population is larger than 'Russia'.
*/
SELECT name
FROM world
WHERE population >
(SELECT population FROM world
WHERE name='Russia')
--#2
/*
Show the countries in Europe with a per capita GDP greater than 'United Kingdom'.
*/
SELECT name
FROM world
WHERE gdp/population >
(SELECT gdp/population FROM world WHERE name = 'United Kingdom') AND continent = 'Europe'
--#3
/*
List the name and continent of countries in the continents containing either Argentina or Australia. Order by name of the country.
*/
SELECT name, continent
FROM world
WHERE continent IN (SELECT continent FROM world WHERE name IN ('Argentina', 'Australia'))
ORDER BY name
--#4
/*
Which country has a population that is more than Canada but less than Poland? Show the name and the population.
*/
SELECT name, population
FROM world
WHERE population >
(SELECT population FROM world WHERE name = 'Canada')
AND population <
(SELECT population FROM world WHERE name = 'Poland')
--#5
/*
Germany (population 80 million) has the largest population of the countries in Europe. Austria (population 8.5 million) has 11% of the population of Germany.
Show the name and the population of each country in Europe. Show the population as a percentage of the population of Germany.
*/
SELECT name, CONCAT(ROUND(population/(SELECT population FROM world WHERE name = 'Germany'), 0), %)
FROM world
WHERE continent = 'Europe'
--#6
/*
Which countries have a GDP greater than every country in Europe? [Give the name only.] (Some countries may have NULL gdp values)
*/
SELECT name
FROM world
WHERE gdp >= ALL(SELECT gdp FROM world WHERE gdp >=0 AND continent = 'Europe') AND continent != 'Europe'
--#7
/*
Find the largest country (by area) in each continent, show the continent, the name and the area:
*/
SELECT continent, name, area
FROM world x
WHERE area >= ALL
(SELECT area FROM world y
WHERE y.continent=x.continent
AND area>0)
--#8
/*
List each continent and the name of the country that comes first alphabetically.
*/
SELECT continent, name
FROM world x
WHERE name <= ALL(SELECT name FROM world y WHERE y.continent = x.continent)
--#9
/*
Find the continents where all countries have a population <= 25000000.
Then find the names of the countries associated with these continents. Show name, continent and population.
*/
SELECT name, continent, population
FROM world x
WHERE 25000000 > ALL(SELECT population FROM world y WHERE x.continent = y.continent AND y.population > 0)
--#10
/*
Some countries have populations more than three times that of any of their neighbours (in the same continent). Give the countries and continents.
*/
SELECT name, continent
FROM world x
WHERE population > ALL(SELECT population*3 FROM world y WHERE x.continent = y.continent AND population > 0 AND y.name != x.name)
-- 4th section SUM and COUNT
-- Total world population
-- 1.
-- Show the total population of the world.
-- world(name, continent, area, population, gdp)
SELECT SUM(population)
FROM world
-- List of continents
-- 2.
-- List all the continents - just once each.
select distinct continent from world
-- GDP of Africa
-- 3.
-- Give the total GDP of Africa
select sum(gdp) from world where continent like 'africa'
-- Count the big countries
-- 4.
-- How many countries have an area of at least 1000000
select count(name) from world where area >= 1000000
-- Baltic states population
-- 5.
-- What is the total population of ('Estonia', 'Latvia', 'Lithuania')
select sum(population) from world where name in ('estonia', 'latvia', 'lithuania')
-- Counting the countries of each continent
-- 6.
-- For each continent show the continent and number of countries.
select continent, count(name) from world group by continent
-- Counting big countries in each continent
-- 7.
-- For each continent show the continent and number of countries with populations of at least 10 million.
select continent, count(name) from world where population >= 10000000 group by continent
-- Counting big continents
-- 8.
-- List the continents that have a total population of at least 100 million.
select continent from world group by continent having sum(population) >= 100000000
-- 5 section
-- 1.
-- The first example shows the goal scored by a player with the last name 'Bender'. The * says to list all the columns in the table - a shorter way of saying matchid, teamid, player, gtime
-- Modify it to show the matchid and player name for all goals scored by Germany. To identify German players, check for: teamid = 'GER'
SELECT matchid, player FROM goal
WHERE teamid LIKE 'ger'
-- 2.
-- From the previous query you can see that Lars Bender's scored a goal in game 1012. Now we want to know what teams were playing in that match.
-- Notice in the that the column matchid in the goal table corresponds to the id column in the game table. We can look up information about game 1012 by finding that row in the game table.
-- Show id, stadium, team1, team2 for just game 1012
SELECT id,stadium,team1,team2
FROM game
WHERE id = 1012
-- 3.
-- You can combine the two steps into a single query with a JOIN.
-- SELECT *
-- FROM game JOIN goal ON (id=matchid)
-- The FROM clause says to merge data from the goal table with that from the game table. The ON says how to figure out which rows in game go with which rows in goal - the matchid from goal must match id from game. (If we wanted to be more clear/specific we could say
-- ON (game.id=goal.matchid)
-- The code below shows the player (from the goal) and stadium name (from the game table) for every goal scored.
-- Modify it to show the player, teamid, stadium and mdate for every German goal.
SELECT player, teamid, stadium, mdate
FROM game
JOIN goal ON (id=matchid AND teamid='GER')
-- 4.
-- Use the same JOIN as in the previous question.
-- Show the team1, team2 and player for every goal scored by a player called Mario player LIKE 'Mario%'
SELECT team1, team2, player
FROM game
JOIN goal ON (id=matchid AND player LIKE 'mario%')
-- 5.
-- The table eteam gives details of every national team including the coach. You can JOIN goal to eteam using the phrase goal JOIN eteam on teamid=id
-- Show player, teamid, coach, gtime for all goals scored in the first 10 minutes gtime<=10
SELECT player, teamid, coach, gtime
FROM goal
JOIN eteam ON (teamid=id AND gtime<=10)
-- 6.
-- To JOIN game with eteam you could use either
-- game JOIN eteam ON (team1=eteam.id) or game JOIN eteam ON (team2=eteam.id)
-- Notice that because id is a column name in both game and eteam you must specify eteam.id instead of just id
-- List the dates of the matches and the name of the team in which 'Fernando Santos' was the team1 coach.
SELECT mdate, teamname
FROM game
JOIN eteam ON (team1=eteam.id AND coach LIKE '%Santos')
-- 7.
-- List the player for every goal scored in a game where the stadium was 'National Stadium, Warsaw'
SELECT player
FROM goal
JOIN game ON (id=matchid AND stadium = 'National Stadium, Warsaw')
-- 8.
-- The example query shows all goals scored in the Germany-Greece quarterfinal.
-- Instead show the name of all players who scored a goal against Germany.
SELECT DISTINCT(player)
FROM game
JOIN goal ON matchid = id
WHERE ((team1='GER' OR team2='GER') AND teamid <> 'GER'
-- 9.
-- Show teamname and the total number of goals scored.
-- COUNT and GROUP BY
-- You should COUNT(*) in the SELECT line and GROUP BY teamname
SELECT teamname, COUNT(player)
FROM eteam
JOIN goal ON id=teamid
GROUP BY teamname
-- 10.
-- Show the stadium and the number of goals scored in each stadium.
SELECT stadium, COUNT(player) AS goals
FROM game
JOIN goal ON (id=matchid)
GROUP BY stadium
-- 11.
-- For every match involving 'POL', show the matchid, date and the number of goals scored.
SELECT matchid, mdate, COUNT(player) AS goals
FROM game
JOIN goal ON (matchid=id AND (team1 = 'POL' OR team2 = 'POL'))
GROUP BY matchid, mdate
-- 12.
-- For every match where 'GER' scored, show matchid, match date and the number of goals scored by 'GER'
SELECT id, mdate, COUNT(player)
FROM game
JOIN goal ON (id=matchid AND (team1 = 'GER' OR team2 = 'GER') AND teamid='GER')
GROUP BY id, mdate
-- 13.
-- List every match with the goals scored by each team as shown. This will use "CASE WHEN" which has not been explained in any previous exercises.
-- mdate team1 score1 team2 score2
-- 1 July 2012 ESP 4 ITA 0
-- 10 June 2012 ESP 1 ITA 1
-- 10 June 2012 IRL 1 CRO 3
-- ...
-- Notice in the query given every goal is listed. If it was a team1 goal then a 1 appears in score1, otherwise there is a 0. You could SUM this column to get a count of the goals scored by team1. Sort your result by mdate, matchid, team1 and team2.
SELECT mdate,
team1,
SUM(CASE WHEN teamid = team1 THEN 1 ELSE 0 END) AS score1,
team2,
SUM(CASE WHEN teamid = team2 THEN 1 ELSE 0 END) AS score2 FROM
game LEFT JOIN goal ON (id = matchid)
GROUP BY mdate,team1,team2
ORDER BY mdate, matchid, team1, team2
/*
Seventh section of sqlzoo, more JOIN
*/
--#1
/*
List the films where the yr is 1962 [Show id, title]
*/
SELECT id, title
FROM movie
WHERE yr=1962
--#2
/*
Give year of 'Citizen Kane'.
*/
SELECT yr
FROM movie
WHERE title = 'Citizen Kane'
--#3
/*
List all of the Star Trek movies, include the id, title and yr (all of these movies include the words Star Trek in the title). Order results by year.
*/
SELECT id, title, yr
FROM movie
WHERE title LIKE '%star trek%'
ORDER BY yr
--#4
/*
What are the titles of the films with id 11768, 11955, 21191
*/
SELECT title
FROM movie
WHERE id IN ( 11768, 11955, 21191)
--#5
/*
What id number does the actor 'Glenn Close' have?
*/
SELECT id
FROM actor
WHERE name = 'Glenn Close'
--#6
/*
What is the id of the film 'Casablanca'
*/
SELECT id
FROM movie
WHERE title = 'Casablanca'
--#7
/*
Obtain the cast list for 'Casablanca'.
what is a cast list?
Use movieid=11768 this is the value that you obtained in the previous question.
*/
SELECT name
FROM actor, casting
WHERE id=actorid AND movieid = (SELECT id FROM movie WHERE title = 'Casablanca')
--#8
/*
Obtain the cast list for the film 'Alien'
*/
SELECT name
FROM actor
JOIN casting ON (id=actorid AND movieid = (SELECT id FROM movie WHERE title = 'Alien'))
--#9
/*
List the films in which 'Harrison Ford' has appeared
*/
SELECT title
FROM movie
JOIN casting ON (id=movieid AND actorid = (SELECT id FROM actor WHERE name = 'Harrison Ford'))
--#10
/*
List the films where 'Harrison Ford' has appeared - but not in the star role.
[Note: the ord field of casting gives the position of the actor. If ord=1 then this actor is in the starring role]
*/
SELECT title
FROM movie
JOIN casting ON (id=movieid AND actorid = (SELECT id FROM actor WHERE name = 'Harrison Ford') AND ord != 1)
--#11
/*
List the films together with the leading star for all 1962 films.
*/
SELECT title, name
FROM movie JOIN casting ON (id=movieid)
JOIN actor ON (actor.id = actorid)
WHERE ord=1 AND yr = 1962
--#12
/*
Which were the busiest years for 'John Travolta', show the year and the number of movies he made each year for any year in which he made more than 2 movies.
*/
SELECT yr,COUNT(title) FROM
movie JOIN casting ON movie.id=movieid
JOIN actor ON actorid=actor.id
WHERE name='John Travolta'
GROUP BY yr
HAVING COUNT(title)=(SELECT MAX(c) FROM
(SELECT yr,COUNT(title) AS c FROM
movie JOIN casting ON movie.id=movieid
JOIN actor ON actorid=actor.id
WHERE name='John Travolta'
GROUP BY yr) AS t)
--#13
/*
List the film title and the leading actor for all of the films 'Julie Andrews' played in.
*/
SELECT title, name FROM movie
JOIN casting x ON movie.id = movieid
JOIN actor ON actor.id =actorid
WHERE ord=1 AND movieid IN
(SELECT movieid FROM casting y
JOIN actor ON actor.id=actorid
WHERE name='Julie Andrews')
--#14
/*
Obtain a list in alphabetical order of actors who've had at least 30 starring roles.
*/
SELECT name
FROM actor
JOIN casting ON (id = actorid AND (SELECT COUNT(ord) FROM casting WHERE actorid = actor.id AND ord=1)>=30)
GROUP BY name
--#15
/*
List the films released in the year 1978 ordered by the number of actors in the cast.
*/
SELECT title, COUNT(actorid) as cast
FROM movie JOIN casting on id=movieid
WHERE yr = 1978
GROUP BY title
ORDER BY cast DESC
--#16
/*
List all the people who have worked with 'Art Garfunkel'.
*/
SELECT DISTINCT name
FROM actor JOIN casting ON id=actorid
WHERE movieid IN (SELECT movieid FROM casting JOIN actor ON (actorid=id AND name='Art Garfunkel')) AND name != 'Art Garfunkel'
GROUP BY name
/*
Eighth section of sqlzoo, Using NULL
*/
--#1
/*
List the teachers who have NULL for their department.
*/
SELECT name
FROM teacher
WHERE dept IS NULL
--#2
/*
Note the INNER JOIN misses the teacher with no department and the department with no teacher
*/
SELECT teacher.name, dept.name
FROM teacher INNER JOIN dept
ON (teacher.dept=dept.id)
--#3
/*
Use a different JOIN so that all teachers are listed.
*/
SELECT teacher.name, dept.name
FROM teacher LEFT JOIN dept
ON (teacher.dept=dept.id)
--#4
/*
Use a different JOIN so that all departments are listed.
*/
SELECT teacher.name, dept.name
FROM teacher RIGHT JOIN dept
ON (teacher.dept=dept.id)
--#5
/*
Use COALESCE to print the mobile number. Use the number '07986 444 2266' there is no number given. Show teacher name and mobile number or '07986 444 2266'
*/
SELECT name,
COALESCE(mobile, '07986 444 2266')
FROM teacher
--#6
/*
Use the COALESCE function and a LEFT JOIN to print the name and department name. Use the string 'None' where there is no department.
*/
SELECT COALESCE(teacher.name, 'NONE'), COALESCE(dept.name, 'None')
FROM teacher LEFT JOIN dept ON (teacher.dept=dept.id)
--#7
/*
Use COUNT to show the number of teachers and the number of mobile phones.
*/
SELECT COUNT(name), COUNT(mobile)
FROM teacher
--#8
/*
Use COUNT and GROUP BY dept.name to show each department and the number of staff. Use a RIGHT JOIN to ensure that the Engineering department is listed.
*/
SELECT dept.name, COUNT(teacher.name)
FROM teacher RIGHT JOIN dept ON (teacher.dept=dept.id)
GROUP BY dept.name
--#9
/*
Use CASE to show the name of each teacher followed by 'Sci' if the the teacher is in dept 1 or 2 and 'Art' otherwise.
*/
SELECT teacher.name,
CASE WHEN dept.id = 1 THEN 'Sci'
WHEN dept.id = 2 THEN 'Sci'
ELSE 'Art' END
FROM teacher LEFT JOIN dept ON (teacher.dept=dept.id)
--#10
/*
Use CASE to show the name of each teacher followed by 'Sci' if the the teacher is in dept 1 or 2 show 'Art' if the dept is 3 and 'None' otherwise.
*/
SELECT teacher.name,
CASE
WHEN dept.id = 1 THEN 'Sci'
WHEN dept.id = 2 THEN 'Sci'
WHEN dept.id = 3 THEN 'Art'
ELSE 'None' END
FROM teacher LEFT JOIN dept ON (dept.id=teacher.dept)
/*
Final section of sqlzoo, Self JOIN
*/
--#1
/*
How many stops are in the database.
*/
SELECT COUNT(*)
FROM stops
--#2
/*
Find the id value for the stop 'Craiglockhart'
*/
SELECT id
FROM stops
WHERE name = 'Craiglockhart'
--#3
/*
Give the id and the name for the stops on the '4' 'LRT' service.
*/
SELECT id, name
FROM stops
JOIN route ON id=stop
WHERE company = 'LRT' AND num=4
--#4
/*
The query shown gives the number of routes that visit either London Road (149) or Craiglockhart (53). Run the query and notice the two services that link these stops have a count of 2.
Add a HAVING clause to restrict the output to these two routes
*/
SELECT company, num, COUNT(*) AS visits
FROM route WHERE stop=149 OR stop=53
GROUP BY company, num
HAVING visits=2
--#5
/*
Execute the self join shown and observe that b.stop gives all the places you can get to from Craiglockhart, without changing routes. Change the query so that it shows the services from Craiglockhart to London Road.
*/
SELECT a.company, a.num, a.stop, b.stop
FROM route a JOIN route b ON
(a.company=b.company AND a.num=b.num)
WHERE a.stop=53 AND b.stop=149
--#6
/*
The query shown is similar to the previous one, however by joining two copies of the stops table we can refer to stops by name rather than by number. Change the query so that the services between 'Craiglockhart' and 'London Road' are shown.
If you are tired of these places try 'Fairmilehead' against 'Tollcross'
*/
SELECT a.company, a.num, stopa.name, stopb.name
FROM route a JOIN route b ON
(a.company=b.company AND a.num=b.num)
JOIN stops stopa ON (a.stop=stopa.id)
JOIN stops stopb ON (b.stop=stopb.id)
WHERE stopa.name='Craiglockhart'AND stopb.name = 'London Road'
--#7
/*
Give a list of all the services which connect stops 115 and 137 ('Haymarket' and 'Leith')
*/
SELECT DISTINCT a.company, a.num
FROM route a JOIN route b ON
(a.company =b.company AND a.num=b.num)
JOIN stops stopa ON (a.stop=stopa.id)
JOIN stops stopb ON (b.stop=stopb.id)
WHERE stopa.name='Haymarket' AND stopb.name='Leith'
--#8
/*
Give a list of the services which connect the stops 'Craiglockhart' and 'Tollcross'
*/
SELECT DISTINCT a.company, a.num
FROM route a
JOIN route b ON (a.num=b.num AND a.company=b.company)
JOIN stops stopa ON (a.stop=stopa.id)
JOIN stops stopb ON (b.stop=stopb.id)
WHERE stopa.name = 'Craiglockhart' AND stopb.name = 'Tollcross'
--#9
/*
Give a distinct list of the stops which may be reached from 'Craiglockhart' by taking one bus, including 'Craiglockhart' itself. Include the company and bus no. of the relevant services.
*/
SELECT stopa.name, a.company, a.num
FROM route a
JOIN route b ON (a.num=b.num AND a.company=b.company)
JOIN stops stopa ON (a.stop=stopa.id)
JOIN stops stopb ON (b.stop=stopb.id)
WHERE stopb.name = 'Craiglockhart'
--#10
/*
Find the routes involving two buses that can go from Craiglockhart to Sighthill.
Show the bus no. and company for the first bus, the name of the stop for the transfer,
and the bus no. and company for the second bus.
*/
SELECT DISTINCT a.num, a.company, stopb.name , c.num, c.company
FROM route a JOIN route b
ON (a.company = b.company AND a.num = b.num)
JOIN ( route c JOIN route d ON (c.company = d.company AND c.num= d.num))
JOIN stops stopa ON (a.stop = stopa.id)
JOIN stops stopb ON (b.stop = stopb.id)
JOIN stops stopc ON (c.stop = stopc.id)
JOIN stops stopd ON (d.stop = stopd.id)
WHERE stopa.name = 'Craiglockhart' AND stopd.name = 'Sighthill'
AND stopb.name = stopc.name
ORDER BY LENGTH(a.num), b.num, stopb.id, LENGTH(c.num), d.num |
CREATE TABLE IF NOT EXISTS `parcours` (
`IDPARCOURS` int(20) NOT NULL AUTO_INCREMENT,
`NOMPARCOURS` varchar(255) NOT NULL,
`DESCRIPTION` varchar(255) NOT NULL,
PRIMARY KEY (`IDPARCOURS`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `temoignage` (
`IDTEM` int(20) NOT NULL AUTO_INCREMENT,
`DESCRIPTEM` varchar(255) NOT NULL,
`userId` int(20) NOT NULL,
`NOMPARCOURS` varchar(255) NOT NULL DEFAULT '',
`STATUT` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`IDTEM`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `universite` (
`IDUNIV` int(20) NOT NULL AUTO_INCREMENT,
`NOMUNIV` varchar(255) NOT NULL,
`LIENUNIV` varchar(255) NOT NULL,
PRIMARY KEY (`IDUNIV`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `fiche` (
`IDFICHE` int(20) NOT NULL AUTO_INCREMENT,
`NUMSALLE` varchar(255) NOT NULL DEFAULT '',
`PHOTO` blob,
`CV` varchar(255) NOT NULL DEFAULT '',
`LMOTIV` varchar(255) NOT NULL DEFAULT '',
`ADRESSE` varchar(255) NOT NULL DEFAULT '',
`ACTEXTRA` varchar(255) NOT NULL DEFAULT '',
`COMPETENCES` varchar(255) NOT NULL DEFAULT '',
`NOTES` varchar(255) NOT NULL DEFAULT '',
`CURSUS` varchar(255) NOT NULL DEFAULT '',
`APPRENTI` varchar(255) NOT NULL DEFAULT '',
`ETAPE` varchar(255) NOT NULL DEFAULT '',
`PROMOTION` varchar(255) NOT NULL DEFAULT '',
`STATUT` varchar(255) NOT NULL DEFAULT '',
`userId` int(20) NOT NULL,
PRIMARY KEY (`IDFICHE`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `module` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`NOMUNIV` varchar(255) NOT NULL DEFAULT '',
`DESCRIPTION` varchar(255) NOT NULL DEFAULT '',
`LIEN` varchar(255) NOT NULL DEFAULT '',
`STATUT` varchar(255) NOT NULL DEFAULT '',
`COMMENTAIRE` varchar(255) DEFAULT '',
`userId` int(11) NOT NULL,
`IDPARCOURS` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS
`user` (
userId int(11) unsigned NOT NULL AUTO_INCREMENT,
login varchar(255) NOT NULL DEFAULT '',
password varchar(255) NOT NULL DEFAULT '',
nom varchar(255) NOT NULL DEFAULT '',
nomFamille varchar(255) NOT NULL DEFAULT '',
prenom varchar(255) NOT NULL DEFAULT '',
type varchar(255) NOT NULL DEFAULT '',
numero varchar(255) NOT NULL DEFAULT '',
mail varchar(255) NOT NULL DEFAULT '',
`IDPARCOURS` int(20),
PRIMARY KEY (userId)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
#
# phpBB2 - MySQL schema
#
# $Id: mysql_schema.sql 6749 2006-12-11 23:30:12Z naderman $
#
#
# Table structure for table 'phpbb_auth_access'
#
CREATE TABLE phpbb_auth_access (
group_id mediumint(8) DEFAULT '0' NOT NULL,
forum_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
auth_view tinyint(1) DEFAULT '0' NOT NULL,
auth_read tinyint(1) DEFAULT '0' NOT NULL,
auth_post tinyint(1) DEFAULT '0' NOT NULL,
auth_reply tinyint(1) DEFAULT '0' NOT NULL,
auth_edit tinyint(1) DEFAULT '0' NOT NULL,
auth_delete tinyint(1) DEFAULT '0' NOT NULL,
auth_sticky tinyint(1) DEFAULT '0' NOT NULL,
auth_announce tinyint(1) DEFAULT '0' NOT NULL,
auth_vote tinyint(1) DEFAULT '0' NOT NULL,
auth_pollcreate tinyint(1) DEFAULT '0' NOT NULL,
auth_attachments tinyint(1) DEFAULT '0' NOT NULL,
auth_mod tinyint(1) DEFAULT '0' NOT NULL,
KEY group_id (group_id),
KEY forum_id (forum_id)
);
#
# Table structure for table 'phpbb_user_group'
#
CREATE TABLE phpbb_user_group (
group_id mediumint(8) DEFAULT '0' NOT NULL,
user_id mediumint(8) DEFAULT '0' NOT NULL,
user_pending tinyint(1),
KEY group_id (group_id),
KEY user_id (user_id)
);
#
# Table structure for table 'phpbb_groups'
#
CREATE TABLE phpbb_groups (
group_id mediumint(8) NOT NULL auto_increment,
group_type tinyint(4) DEFAULT '1' NOT NULL,
group_name varchar(40) NOT NULL,
group_description varchar(255) NOT NULL,
group_moderator mediumint(8) DEFAULT '0' NOT NULL,
group_single_user tinyint(1) DEFAULT '1' NOT NULL,
PRIMARY KEY (group_id),
KEY group_single_user (group_single_user)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_banlist'
#
CREATE TABLE phpbb_banlist (
ban_id mediumint(8) UNSIGNED NOT NULL auto_increment,
ban_userid mediumint(8) NOT NULL,
ban_ip char(8) NOT NULL,
ban_email varchar(255),
PRIMARY KEY (ban_id),
KEY ban_ip_user_id (ban_ip, ban_userid)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_categories'
#
CREATE TABLE phpbb_categories (
cat_id mediumint(8) UNSIGNED NOT NULL auto_increment,
cat_title varchar(100),
cat_order mediumint(8) UNSIGNED NOT NULL,
PRIMARY KEY (cat_id),
KEY cat_order (cat_order)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_config'
#
CREATE TABLE phpbb_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_confirm'
#
CREATE TABLE phpbb_confirm (
confirm_id char(32) DEFAULT '' NOT NULL,
session_id char(32) DEFAULT '' NOT NULL,
code char(6) DEFAULT '' NOT NULL,
PRIMARY KEY (session_id,confirm_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_disallow'
#
CREATE TABLE phpbb_disallow (
disallow_id mediumint(8) UNSIGNED NOT NULL auto_increment,
disallow_username varchar(25) DEFAULT '' NOT NULL,
PRIMARY KEY (disallow_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_forum_prune'
#
CREATE TABLE phpbb_forum_prune (
prune_id mediumint(8) UNSIGNED NOT NULL auto_increment,
forum_id smallint(5) UNSIGNED NOT NULL,
prune_days smallint(5) UNSIGNED NOT NULL,
prune_freq smallint(5) UNSIGNED NOT NULL,
PRIMARY KEY(prune_id),
KEY forum_id (forum_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_forums'
#
CREATE TABLE phpbb_forums (
forum_id smallint(5) UNSIGNED NOT NULL,
cat_id mediumint(8) UNSIGNED NOT NULL,
forum_name varchar(150),
forum_desc text,
forum_status tinyint(4) DEFAULT '0' NOT NULL,
forum_order mediumint(8) UNSIGNED DEFAULT '1' NOT NULL,
forum_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_topics mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
prune_next int(11),
prune_enable tinyint(1) DEFAULT '0' NOT NULL,
auth_view tinyint(2) DEFAULT '0' NOT NULL,
auth_read tinyint(2) DEFAULT '0' NOT NULL,
auth_post tinyint(2) DEFAULT '0' NOT NULL,
auth_reply tinyint(2) DEFAULT '0' NOT NULL,
auth_edit tinyint(2) DEFAULT '0' NOT NULL,
auth_delete tinyint(2) DEFAULT '0' NOT NULL,
auth_sticky tinyint(2) DEFAULT '0' NOT NULL,
auth_announce tinyint(2) DEFAULT '0' NOT NULL,
auth_vote tinyint(2) DEFAULT '0' NOT NULL,
auth_pollcreate tinyint(2) DEFAULT '0' NOT NULL,
auth_attachments tinyint(2) DEFAULT '0' NOT NULL,
PRIMARY KEY (forum_id),
KEY forums_order (forum_order),
KEY cat_id (cat_id),
KEY forum_last_post_id (forum_last_post_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_posts'
#
CREATE TABLE phpbb_posts (
post_id mediumint(8) UNSIGNED NOT NULL auto_increment,
topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
forum_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
poster_id mediumint(8) DEFAULT '0' NOT NULL,
post_time int(11) DEFAULT '0' NOT NULL,
poster_ip char(8) NOT NULL,
post_username varchar(25),
enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
enable_html tinyint(1) DEFAULT '0' NOT NULL,
enable_smilies tinyint(1) DEFAULT '1' NOT NULL,
enable_sig tinyint(1) DEFAULT '1' NOT NULL,
post_edit_time int(11),
post_edit_count smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (post_id),
KEY forum_id (forum_id),
KEY topic_id (topic_id),
KEY poster_id (poster_id),
KEY post_time (post_time)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_posts_text'
#
CREATE TABLE phpbb_posts_text (
post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
bbcode_uid char(10) DEFAULT '' NOT NULL,
post_subject char(60),
post_text text,
PRIMARY KEY (post_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_privmsgs'
#
CREATE TABLE phpbb_privmsgs (
privmsgs_id mediumint(8) UNSIGNED NOT NULL auto_increment,
privmsgs_type tinyint(4) DEFAULT '0' NOT NULL,
privmsgs_subject varchar(255) DEFAULT '0' NOT NULL,
privmsgs_from_userid mediumint(8) DEFAULT '0' NOT NULL,
privmsgs_to_userid mediumint(8) DEFAULT '0' NOT NULL,
privmsgs_date int(11) DEFAULT '0' NOT NULL,
privmsgs_ip char(8) NOT NULL,
privmsgs_enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
privmsgs_enable_html tinyint(1) DEFAULT '0' NOT NULL,
privmsgs_enable_smilies tinyint(1) DEFAULT '1' NOT NULL,
privmsgs_attach_sig tinyint(1) DEFAULT '1' NOT NULL,
PRIMARY KEY (privmsgs_id),
KEY privmsgs_from_userid (privmsgs_from_userid),
KEY privmsgs_to_userid (privmsgs_to_userid)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_privmsgs_text'
#
CREATE TABLE phpbb_privmsgs_text (
privmsgs_text_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
privmsgs_bbcode_uid char(10) DEFAULT '0' NOT NULL,
privmsgs_text text,
PRIMARY KEY (privmsgs_text_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_ranks'
#
CREATE TABLE phpbb_ranks (
rank_id smallint(5) UNSIGNED NOT NULL auto_increment,
rank_title varchar(50) NOT NULL,
rank_min mediumint(8) DEFAULT '0' NOT NULL,
rank_special tinyint(1) DEFAULT '0',
rank_image varchar(255),
PRIMARY KEY (rank_id)
);
# --------------------------------------------------------
#
# Table structure for table `phpbb_search_results`
#
CREATE TABLE phpbb_search_results (
search_id int(11) UNSIGNED NOT NULL default '0',
session_id char(32) NOT NULL default '',
search_time int(11) DEFAULT '0' NOT NULL,
search_array mediumtext NOT NULL,
PRIMARY KEY (search_id),
KEY session_id (session_id)
);
# --------------------------------------------------------
#
# Table structure for table `phpbb_search_wordlist`
#
CREATE TABLE phpbb_search_wordlist (
word_text varchar(50) binary NOT NULL default '',
word_id mediumint(8) UNSIGNED NOT NULL auto_increment,
word_common tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (word_text),
KEY word_id (word_id)
);
# --------------------------------------------------------
#
# Table structure for table `phpbb_search_wordmatch`
#
CREATE TABLE phpbb_search_wordmatch (
post_id mediumint(8) UNSIGNED NOT NULL default '0',
word_id mediumint(8) UNSIGNED NOT NULL default '0',
title_match tinyint(1) NOT NULL default '0',
KEY post_id (post_id),
KEY word_id (word_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_sessions'
#
# Note that if you're running 3.23.x you may want to make
# this table a type HEAP. This type of table is stored
# within system memory and therefore for big busy boards
# is likely to be noticeably faster than continually
# writing to disk ...
#
CREATE TABLE phpbb_sessions (
session_id char(32) DEFAULT '' NOT NULL,
session_user_id mediumint(8) DEFAULT '0' NOT NULL,
session_start int(11) DEFAULT '0' NOT NULL,
session_time int(11) DEFAULT '0' NOT NULL,
session_ip char(8) DEFAULT '0' NOT NULL,
session_page int(11) DEFAULT '0' NOT NULL,
session_logged_in tinyint(1) DEFAULT '0' NOT NULL,
session_admin tinyint(2) DEFAULT '0' NOT NULL,
PRIMARY KEY (session_id),
KEY session_user_id (session_user_id),
KEY session_id_ip_user_id (session_id, session_ip, session_user_id)
);
# --------------------------------------------------------
#
# Table structure for table `phpbb_sessions_keys`
#
CREATE TABLE phpbb_sessions_keys (
key_id varchar(32) DEFAULT '0' NOT NULL,
user_id mediumint(8) DEFAULT '0' NOT NULL,
last_ip varchar(8) DEFAULT '0' NOT NULL,
last_login int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (key_id, user_id),
KEY last_login (last_login)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_smilies'
#
CREATE TABLE phpbb_smilies (
smilies_id smallint(5) UNSIGNED NOT NULL auto_increment,
code varchar(50),
smile_url varchar(100),
emoticon varchar(75),
PRIMARY KEY (smilies_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_themes'
#
CREATE TABLE phpbb_themes (
themes_id mediumint(8) UNSIGNED NOT NULL auto_increment,
template_name varchar(30) NOT NULL default '',
style_name varchar(30) NOT NULL default '',
head_stylesheet varchar(100) default NULL,
body_background varchar(100) default NULL,
body_bgcolor varchar(6) default NULL,
body_text varchar(6) default NULL,
body_link varchar(6) default NULL,
body_vlink varchar(6) default NULL,
body_alink varchar(6) default NULL,
body_hlink varchar(6) default NULL,
tr_color1 varchar(6) default NULL,
tr_color2 varchar(6) default NULL,
tr_color3 varchar(6) default NULL,
tr_class1 varchar(25) default NULL,
tr_class2 varchar(25) default NULL,
tr_class3 varchar(25) default NULL,
th_color1 varchar(6) default NULL,
th_color2 varchar(6) default NULL,
th_color3 varchar(6) default NULL,
th_class1 varchar(25) default NULL,
th_class2 varchar(25) default NULL,
th_class3 varchar(25) default NULL,
td_color1 varchar(6) default NULL,
td_color2 varchar(6) default NULL,
td_color3 varchar(6) default NULL,
td_class1 varchar(25) default NULL,
td_class2 varchar(25) default NULL,
td_class3 varchar(25) default NULL,
fontface1 varchar(50) default NULL,
fontface2 varchar(50) default NULL,
fontface3 varchar(50) default NULL,
fontsize1 tinyint(4) default NULL,
fontsize2 tinyint(4) default NULL,
fontsize3 tinyint(4) default NULL,
fontcolor1 varchar(6) default NULL,
fontcolor2 varchar(6) default NULL,
fontcolor3 varchar(6) default NULL,
span_class1 varchar(25) default NULL,
span_class2 varchar(25) default NULL,
span_class3 varchar(25) default NULL,
img_size_poll smallint(5) UNSIGNED,
img_size_privmsg smallint(5) UNSIGNED,
PRIMARY KEY (themes_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_themes_name'
#
CREATE TABLE phpbb_themes_name (
themes_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
tr_color1_name char(50),
tr_color2_name char(50),
tr_color3_name char(50),
tr_class1_name char(50),
tr_class2_name char(50),
tr_class3_name char(50),
th_color1_name char(50),
th_color2_name char(50),
th_color3_name char(50),
th_class1_name char(50),
th_class2_name char(50),
th_class3_name char(50),
td_color1_name char(50),
td_color2_name char(50),
td_color3_name char(50),
td_class1_name char(50),
td_class2_name char(50),
td_class3_name char(50),
fontface1_name char(50),
fontface2_name char(50),
fontface3_name char(50),
fontsize1_name char(50),
fontsize2_name char(50),
fontsize3_name char(50),
fontcolor1_name char(50),
fontcolor2_name char(50),
fontcolor3_name char(50),
span_class1_name char(50),
span_class2_name char(50),
span_class3_name char(50),
PRIMARY KEY (themes_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_topics'
#
CREATE TABLE phpbb_topics (
topic_id mediumint(8) UNSIGNED NOT NULL auto_increment,
forum_id smallint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_title char(60) NOT NULL,
topic_poster mediumint(8) DEFAULT '0' NOT NULL,
topic_time int(11) DEFAULT '0' NOT NULL,
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_replies mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_status tinyint(3) DEFAULT '0' NOT NULL,
topic_vote tinyint(1) DEFAULT '0' NOT NULL,
topic_type tinyint(3) DEFAULT '0' NOT NULL,
topic_first_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_moved_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (topic_id),
KEY forum_id (forum_id),
KEY topic_moved_id (topic_moved_id),
KEY topic_status (topic_status),
KEY topic_type (topic_type)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_topics_watch'
#
CREATE TABLE phpbb_topics_watch (
topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
user_id mediumint(8) NOT NULL DEFAULT '0',
notify_status tinyint(1) NOT NULL default '0',
KEY topic_id (topic_id),
KEY user_id (user_id),
KEY notify_status (notify_status)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_users'
#
CREATE TABLE phpbb_users (
user_id mediumint(8) NOT NULL,
user_active tinyint(1) DEFAULT '1',
username varchar(25) NOT NULL,
user_password varchar(32) NOT NULL,
user_session_time int(11) DEFAULT '0' NOT NULL,
user_session_page smallint(5) DEFAULT '0' NOT NULL,
user_lastvisit int(11) DEFAULT '0' NOT NULL,
user_regdate int(11) DEFAULT '0' NOT NULL,
user_level tinyint(4) DEFAULT '0',
user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,
user_style tinyint(4),
user_lang varchar(255),
user_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL,
user_new_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
user_unread_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
user_last_privmsg int(11) DEFAULT '0' NOT NULL,
user_login_tries smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
user_last_login_try int(11) DEFAULT '0' NOT NULL,
user_emailtime int(11),
user_viewemail tinyint(1),
user_attachsig tinyint(1),
user_allowhtml tinyint(1) DEFAULT '1',
user_allowbbcode tinyint(1) DEFAULT '1',
user_allowsmile tinyint(1) DEFAULT '1',
user_allowavatar tinyint(1) DEFAULT '1' NOT NULL,
user_allow_pm tinyint(1) DEFAULT '1' NOT NULL,
user_allow_viewonline tinyint(1) DEFAULT '1' NOT NULL,
user_notify tinyint(1) DEFAULT '1' NOT NULL,
user_notify_pm tinyint(1) DEFAULT '0' NOT NULL,
user_popup_pm tinyint(1) DEFAULT '0' NOT NULL,
user_rank int(11) DEFAULT '0',
user_avatar varchar(100),
user_avatar_type tinyint(4) DEFAULT '0' NOT NULL,
user_email varchar(255),
user_icq varchar(15),
user_website varchar(100),
user_from varchar(100),
user_sig text,
user_sig_bbcode_uid char(10),
user_aim varchar(255),
user_yim varchar(255),
user_msnm varchar(255),
user_occ varchar(100),
user_interests varchar(255),
user_actkey varchar(32),
user_newpasswd varchar(32),
PRIMARY KEY (user_id),
KEY user_session_time (user_session_time)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_vote_desc'
#
CREATE TABLE phpbb_vote_desc (
vote_id mediumint(8) UNSIGNED NOT NULL auto_increment,
topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
vote_text text NOT NULL,
vote_start int(11) NOT NULL DEFAULT '0',
vote_length int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (vote_id),
KEY topic_id (topic_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_vote_results'
#
CREATE TABLE phpbb_vote_results (
vote_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
vote_option_id tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
vote_option_text varchar(255) NOT NULL,
vote_result int(11) NOT NULL DEFAULT '0',
KEY vote_option_id (vote_option_id),
KEY vote_id (vote_id)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_vote_voters'
#
CREATE TABLE phpbb_vote_voters (
vote_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
vote_user_id mediumint(8) NOT NULL DEFAULT '0',
vote_user_ip char(8) NOT NULL,
KEY vote_id (vote_id),
KEY vote_user_id (vote_user_id),
KEY vote_user_ip (vote_user_ip)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_words'
#
CREATE TABLE phpbb_words (
word_id mediumint(8) UNSIGNED NOT NULL auto_increment,
word char(100) NOT NULL,
replacement char(100) NOT NULL,
PRIMARY KEY (word_id)
);
|
-- ASH report
@$ORACLE_HOME/rdbms/admin/ashrpt.sql
PRO
PRO If you want to preserve script output, execute corresponding scp command below, from a TERM session running on your Mac/PC:
HOS echo "scp $HOSTNAME:$PWD/ashrpt_*.* ." |
DROP PROCEDURE `MLP_SIGNUP` ;
DELIMITER //
CREATE DEFINER = `myspac17`@`localhost` PROCEDURE `MLP_SIGNUP`
(IN IN_NAME VARCHAR(100),
IN IN_EMAIL VARCHAR(50),
IN IN_PWD VARCHAR(50),
OUT OUT_RTN_CD INT,
OUT OUT_RTN_MSG VARCHAR(100),
OUT OUT_RTN_ROWS INT
)
NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER
BEGIN
DECLARE EXIT HANDLER FOR SQLEXCEPTION
BEGIN
GET DIAGNOSTICS CONDITION 1
@p1 = RETURNED_SQLSTATE, @p2 = MESSAGE_TEXT;
SET OUT_RTN_CD= @p1;
SET OUT_RTN_ROWS=0;
SET OUT_RTN_MSG= @p2;
END ;
INSERT INTO USR (NAME,EMAIL,PWDHASH)
VALUES(IN_NAME,IN_EMAIL,MD5(IN_PWD));
SET OUT_RTN_ROWS= ROW_COUNT();
IF OUT_RTN_ROWS=1
THEN
SET OUT_RTN_CD= 0;
SET OUT_RTN_MSG= "Signup complete";
ELSE
SET OUT_RTN_CD= -1;
SET OUT_RTN_MSG= "Error ocurred! Please try again";
END IF ;
END ;
//
DELIMITER;
|
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
DROP TABLE IF EXISTS `calendar_days`;
DROP TABLE IF EXISTS `assignments`;
DROP TABLE IF EXISTS `resources`;
DROP TABLE IF EXISTS `dependencies`;
DROP TABLE IF EXISTS `task_segments`;
DROP TABLE IF EXISTS `tasks`;
DROP TABLE IF EXISTS `calendars`;
DROP TABLE IF EXISTS `options`;
CREATE TABLE `calendars` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`parentId` int(11) DEFAULT NULL,
`Name` varchar(255) DEFAULT NULL,
`DaysPerMonth` int(11) DEFAULT NULL,
`DaysPerWeek` int(11) DEFAULT NULL,
`HoursPerDay` int(11) DEFAULT NULL,
`WeekendsAreWorkdays` tinyint(4) DEFAULT NULL,
`WeekendFirstDay` int(11) DEFAULT NULL,
`WeekendSecondDay` int(11) DEFAULT NULL,
`DefaultAvailability` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Id`),
INDEX (`parentId`),
CONSTRAINT fk_calendars_calendars FOREIGN KEY (`parentId`) REFERENCES `calendars`(`Id`)
) ENGINE=INNODB AUTO_INCREMENT=1;
INSERT INTO `calendars` (`ParentId`,`Name`,`DaysPerMonth`,`DaysPerWeek`,`HoursPerDay`,`WeekendsAreWorkdays`,`WeekendFirstDay`,`WeekendSecondDay`,`DefaultAvailability`) VALUES
(null, 'General', 20, 5, 8, 0, 6, 0, '08:00-12:00|13:00-17:00'),
(1, 'Holidays', 20, 5, 8, 0, 6, 0, '08:00-12:00'),
(null, 'Night shift', 20, 5, 8, 0, 6, 0, '00:00-06:00|22:00-24:00');
CREATE TABLE IF NOT EXISTS `calendar_days` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`calendarId` int(11) NOT NULL,
`Name` varchar(255) DEFAULT NULL,
`Typ` varchar(45) DEFAULT NULL,
`Dt` date DEFAULT NULL,
`Availability` varchar(255) DEFAULT NULL,
`Weekday` int(11) DEFAULT NULL,
`OverrideStartDate` date DEFAULT NULL,
`OverrideEndDate` date DEFAULT NULL,
`IsWorkingDay` tinyint(4) DEFAULT '0',
`Cls` varchar(45) DEFAULT NULL,
PRIMARY KEY (`Id`),
INDEX (`calendarId`),
CONSTRAINT fk_calendardays_calendars FOREIGN KEY (`calendarId`) REFERENCES `calendars`(`Id`)
) ENGINE=INNODB AUTO_INCREMENT=1;
INSERT INTO `calendar_days` (`calendarId`,`Name`,`Typ`,`Dt`,`Availability`,`Weekday`,`OverrideStartDate`,`OverrideEndDate`,`IsWorkingDay`,`Cls`) VALUES
(1, 'Some big holiday', 'DAY', '2010-01-14', null, null, null, null, 0, 'gnt-national-holiday'),
(2, 'Mats''s birthday', 'DAY', '2010-01-13', null, null, null, null, 0, 'gnt-national-holiday'),
(2, 'Bryntum company holiday', 'DAY', '2010-02-01', null, null, null, null, 0, 'gnt-company-holiday'),
(2, 'Bryntum 1st birthday', 'DAY', '2010-12-01', null, null, null, null, 0, null),
(2, 'Half working day', 'DAY', '2012-03-27', '08:00-12:00', null, null, null, 1, null),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, null, -1, '2012-03-25', '2012-03-31', 0, null),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, null, 0, '2012-03-25', '2012-03-31', 0, null),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, '08:00-12:00', 1,'2012-03-25', '2012-03-31', 1, null),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, '13:00-15:00', 2,'2012-03-25', '2012-03-31', 1, NULL),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, null, 3, '2012-03-25', '2012-03-31', 0, null),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, '08:00-12:00', 4, '2012-03-25', '2012-03-31', 1, null),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, null, 5, '2012-03-25', '2012-03-31', 0, null),
(2, 'Non standard week', 'WEEKDAYOVERRIDE', null, null, 6, '2012-03-25', '2012-03-31', 0, null),
(2, 'Non standard feb week', 'WEEKDAYOVERRIDE', null, null, -1, '2012-02-25', '2012-02-28', 0, null),
(2, 'Non standard feb week', 'WEEKDAYOVERRIDE', null, null, 0, '2012-02-25', '2012-02-28', 0, null),
(2, 'Non standard feb week', 'WEEKDAYOVERRIDE', null, '08:00-12:00', 1, '2012-02-25', '2012-02-28', 1, null),
(2, 'Non standard feb week', 'WEEKDAYOVERRIDE', null, '13:00-15:00', 2, '2012-02-25', '2012-02-28', 1, null);
CREATE TABLE IF NOT EXISTS `tasks` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`parentId` int(11) DEFAULT NULL,
`Name` varchar(255) DEFAULT NULL,
`StartDate` datetime DEFAULT NULL,
`EndDate` datetime DEFAULT NULL,
`Effort` float(11, 2) DEFAULT NULL,
`EffortUnit` varchar(255) DEFAULT 'h',
`Duration` float(11, 2) unsigned DEFAULT NULL,
`DurationUnit` varchar(255) DEFAULT NULL,
`PercentDone` int(11) unsigned DEFAULT NULL,
`SchedulingMode` varchar(255) DEFAULT NULL,
`BaselineStartDate` datetime DEFAULT NULL,
`BaselineEndDate` datetime DEFAULT NULL,
`BaselinePercentDone` int(11) unsigned DEFAULT NULL,
`Note` text DEFAULT '',
`ConstraintType` varchar(255) DEFAULT NULL,
`ConstraintDate` datetime DEFAULT NULL,
`ManuallyScheduled` tinyint DEFAULT 0,
`Draggable` tinyint DEFAULT 1,
`Resizable` tinyint DEFAULT 1,
`Rollup` tinyint DEFAULT 0,
`Cls` varchar(255) DEFAULT NULL,
`Color` varchar(255) DEFAULT NULL,
`ShowInTimeline` tinyint DEFAULT 0,
`idx` INT(11) DEFAULT 0,
`expanded` tinyint DEFAULT 0,
`CalendarId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`),
INDEX (`parentId`),
CONSTRAINT fk_tasks_tasks FOREIGN KEY (`parentId`) REFERENCES `tasks`(`Id`),
INDEX (`CalendarId`),
CONSTRAINT fk_tasks_calendars FOREIGN KEY (`CalendarId`) REFERENCES `calendars`(`Id`)
) ENGINE=INNODB AUTO_INCREMENT=1;
INSERT INTO `tasks` (`parentId`,`Name`,`StartDate`,`EndDate`,`Duration`,`DurationUnit`,`PercentDone`,`Cls`,`idx`,`CalendarId`, `expanded`, `ShowInTimeline`) VALUES
(NULL,'Main project','2012-09-03 08:00:00','2012-12-25 17:00:00',82,'d',11,'',0,NULL,1,0),
(NULL,'Second project','2012-09-17 08:00:00','2012-10-30 17:00:00',32,'d',0,'',1,NULL,1,0),
(NULL,'Release','2012-12-25 17:00:00','2012-12-25 17:00:00',0,'d',0,'',2,NULL,0,1),
(1,'Initial phase','2012-09-03 08:00:00','2012-10-05 17:00:00',25,'d',70,'',0,NULL,0,0),
(1,'Alpha','2012-10-08 08:00:00','2012-11-06 17:00:00',22,'d',0,'',1,NULL,0,1),
(1,'Beta','2012-10-29 08:00:00','2012-12-25 17:00:00',42,'d',0,'',2,NULL,0,1),
(1,'Marketing','2012-11-12 08:00:00','2012-12-25 17:00:00',32,'d',0,'',3,NULL,0,1),
(2,'Research','2012-09-17 08:00:00','2012-10-30 17:00:00',32,'d',60,'',0,NULL,0,0),
(2,'Test implementation','2012-10-30 17:00:00','2012-10-30 17:00:00',0,'d',0,'',1,NULL,0,0),
(5,'Research','2012-10-08 08:00:00','2012-10-19 17:00:00',10,'d',0,'',0,NULL,0,0),
(5,'First implementation','2012-10-22 08:00:00','2012-10-26 17:00:00',5,'d',0,'',1,NULL,0,0),
(5,'Tests','2012-10-25 08:00:00','2012-11-06 17:00:00',9,'d',0,'',2,NULL,0,0),
(6,'Refactoring after Alpha','2012-10-29 08:00:00','2012-11-09 17:00:00',10,'d',0,'',0,NULL,0,0),
(6,'Tests','2012-11-12 08:00:00','2012-11-16 17:00:00',5,'d',0,'',1,NULL,0,0),
(6,'Internal beta','2012-11-19 08:00:00','2012-12-07 17:00:00',15,'d',0,'',2,NULL,0,0),
(6,'Additional testing','2012-11-19 08:00:00','2012-12-17 17:00:00',21,'d',0,'',3,NULL,0,0),
(6,'Public beta','2012-11-19 08:00:00','2012-12-24 17:00:00',26,'d',0,'',4,NULL,0,0),
(6,'Release','2012-12-25 17:00:00','2012-12-25 17:00:00',0,'d',0,'',5,NULL,0,0);
CREATE TABLE `task_segments` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`TaskId` int(11) NOT NULL,
`StartDate` datetime NOT NULL,
`EndDate` datetime DEFAULT NULL,
`Duration` float(11, 2) unsigned DEFAULT NULL,
`DurationUnit` varchar(255) DEFAULT NULL,
`Cls` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Id`),
KEY `TaskId` (`TaskId`),
CONSTRAINT `fk_task_segments_tasks` FOREIGN KEY (`TaskId`) REFERENCES `tasks` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1;
INSERT INTO `task_segments` (`TaskId`, `Duration`, `DurationUnit`, `EndDate`, `StartDate`) VALUES
(4, 2, 'd', '2012-09-04T17:00:00', '2012-09-03T08:00:00'),
(4, 3, 'd', '2012-09-10T17:00:00', '2012-09-06T08:00:00'),
(4, 20, 'd', '2012-10-09T17:00:00', '2012-09-12T08:00:00');
CREATE TABLE IF NOT EXISTS `dependencies` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`FromId` int(11) DEFAULT NULL,
`ToId` int(11) DEFAULT NULL,
`Typ` int(11) DEFAULT NULL,
`Cls` varchar(255) DEFAULT NULL,
`Lag` int(11) DEFAULT NULL,
`LagUnit` varchar(255) DEFAULT 'd',
PRIMARY KEY (`Id`),
INDEX (`FromId`),
CONSTRAINT fk_dependencies_tasks FOREIGN KEY (`FromId`) REFERENCES `tasks`(`Id`),
INDEX (`ToId`),
CONSTRAINT fk_dependencies_tasks1 FOREIGN KEY (`ToId`) REFERENCES `tasks`(`Id`)
) ENGINE=INNODB AUTO_INCREMENT=1;
INSERT INTO `dependencies` (`FromId`, `ToId`, `Typ`, `Cls`, `Lag`) VALUES
(8, 9, 2, '', 0),
(13, 14, 2, '', 0),
(14, 15, 2, '', 0),
(16, 17, 0, '', 0),
(15, 16, 0, '', 0),
(17, 18, 2, '', 0),
(7, 3, 2, '', 0),
(7, 18, 2, '', 0),
(10, 11, 2, '', 0),
(11, 12, 0, '', 0);
CREATE TABLE IF NOT EXISTS `resources` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
`CalendarId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`),
INDEX (`CalendarId`),
CONSTRAINT fk_resources_calendars FOREIGN KEY (`CalendarId`) REFERENCES `calendars`(`Id`)
) ENGINE=INNODB AUTO_INCREMENT=1;
INSERT INTO `resources` (`Name`) VALUES
('Mats'),
('Nickolay'),
('Goran'),
('Dan'),
('Jake'),
('Kim');
CREATE TABLE IF NOT EXISTS `assignments` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`TaskId` int(11) DEFAULT NULL,
`ResourceId` int(11) DEFAULT NULL,
`Units` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`),
INDEX (`TaskId`),
CONSTRAINT `fk_assignments_tasks` FOREIGN KEY (`TaskId`) REFERENCES `tasks`(`Id`),
INDEX (`ResourceId`),
CONSTRAINT `fk_assignments_resources` FOREIGN KEY (`ResourceId`) REFERENCES `resources`(`Id`)
) ENGINE=INNODB AUTO_INCREMENT=1;
INSERT INTO `assignments` (`TaskId`, `ResourceId`, `Units`) VALUES
(4, 1, 50),
(4, 2, 50);
CREATE TABLE IF NOT EXISTS `options` (
`name` varchar(45) NOT NULL,
`value` varchar(45) DEFAULT NULL,
`dt` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO `options` (`name`, `value`) VALUES
('revision', '1'),
('projectCalendar', '1');
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
select country_id, country from sakila.country
WHERE country IN ('Afghanistan', 'Bangladesh', 'China')
;
|
--
-- DB SCHEMA
-------------------------------------------------------------------
--ADD TABLE COUPON_SEARCH_RESULT
--CREATE TABLE COUPON_SEARCH_RESULT(
-- row_id INTEGER PRIMARY KEY AUTOINCREMENT,
-- search_key VARCHAR,
-- search_results VARCHAR
--);
|
create user 'twitteruser' identified by 'Pikachu#25';
create user 'twitteradmin' identified by 'RoschdwurschdBud4Ever';
/* In Shell ausführen */
grant select on twitter_monitor.* to 'twitteruser';
grant update, insert on twitter_monitor.users to 'twitteruser';
grant update, insert on twitter_monitor.authorities to 'twitteruser';
grant update, insert on twitter_monitor.user_x_preferences to 'twitteruser';
grant update, insert, delete on twitter_monitor.keywords to 'twitteruser';
grant update, insert on twitter_monitor.tweetAuthors to 'twitteruser';
grant update, insert on twitter_monitor.tweets to 'twitteruser';
grant execute on twitter_monitor.* to 'twitteruser';
grant all privileges on twitter_monitor.* to 'twitteradmin';
|
ALTER TABLE `logbooks`
ADD COLUMN `state` ENUM('Active','Inactive') NOT NULL DEFAULT 'Active' AFTER `status_id`;
UPDATE `logbooks` SET `state`='Active' WHERE `status_id`='1';
UPDATE `logbooks` SET `state`='Inactive' WHERE `status_id`='2';
ALTER TABLE `logbooks`
DROP COLUMN `status_id`,
DROP INDEX `logbooks_status_id_fk`,
DROP FOREIGN KEY `logbooks_status_id_fk`;
|
CREATE DATABASE IF NOT EXISTS `eshop` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `eshop`;
|
-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 13, 2021 at 08:54 PM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.7
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: `1912501135`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbl_barang`
--
CREATE TABLE `tbl_barang` (
`barang_id` varchar(15) NOT NULL,
`barang_nama` varchar(150) DEFAULT NULL,
`barang_satuan` varchar(30) DEFAULT NULL,
`barang_harpok` double DEFAULT NULL,
`barang_harjul` double DEFAULT NULL,
`barang_harjul_grosir` double DEFAULT NULL,
`barang_stok` int(11) DEFAULT '0',
`barang_min_stok` int(11) DEFAULT '0',
`barang_tgl_input` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`barang_tgl_last_update` datetime DEFAULT NULL,
`barang_kategori_id` int(11) DEFAULT NULL,
`barang_user_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_barang`
--
INSERT INTO `tbl_barang` (`barang_id`, `barang_nama`, `barang_satuan`, `barang_harpok`, `barang_harjul`, `barang_harjul_grosir`, `barang_stok`, `barang_min_stok`, `barang_tgl_input`, `barang_tgl_last_update`, `barang_kategori_id`, `barang_user_id`) VALUES
('PJ000001', 'Gelas NiceSo', 'Unit', 40000, 40000, 35000, 1179, 500, '2018-09-14 10:27:46', '2021-01-12 02:40:29', 40, 1),
('PJ000002', 'Piring Supreme', 'Unit', 15000000, 15000000, 14900000, 30, 5, '2018-09-14 15:50:21', '2021-01-12 02:41:07', 41, 1),
('PJ000003', 'Keyboard', 'Unit', 600000, 600000, 560000, 1452, 1, '2021-01-08 06:55:46', NULL, 42, 1),
('PJ000004', 'Mouse', 'Unit', 500000, 400000, 425000, 44, 5, '2021-01-13 16:52:42', NULL, 42, 4),
('PJ000005', 'Kursi Kantor', 'Unit', 2500000, 2200000, 2000000, 169, 5, '2021-01-13 16:56:09', NULL, 44, 4),
('PJ000006', 'Casing CPU', 'Unit', 1000000, 900000, 850000, 45, 15, '2021-01-13 16:56:48', NULL, 42, 4);
-- --------------------------------------------------------
--
-- Table structure for table `tbl_beli`
--
CREATE TABLE `tbl_beli` (
`beli_nofak` varchar(15) DEFAULT NULL,
`beli_tanggal` date DEFAULT NULL,
`beli_suplier_id` int(11) DEFAULT NULL,
`beli_user_id` int(11) DEFAULT NULL,
`beli_kode` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_beli`
--
INSERT INTO `tbl_beli` (`beli_nofak`, `beli_tanggal`, `beli_suplier_id`, `beli_user_id`, `beli_kode`) VALUES
('222', '2021-01-08', 7, 1, 'BL080121000001'),
('222', '2021-01-10', 7, 1, 'BL100121000001'),
('123', '2021-01-12', 8, 1, 'BL120121000001'),
('222', '2021-01-12', 6, 2, 'BL120121000002'),
('005', '2021-01-14', 10, 1, 'BL130121000001'),
('005', '2021-01-14', 10, 1, 'BL130121000002'),
('0051', '2021-01-14', 9, 1, 'BL130121000003'),
('0012', '2021-01-14', 8, 1, 'BL130121000004'),
('01', '2021-01-14', 6, 4, 'BL130121000005');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_detail_beli`
--
CREATE TABLE `tbl_detail_beli` (
`d_beli_id` int(11) NOT NULL,
`d_beli_nofak` varchar(15) DEFAULT NULL,
`d_beli_barang_id` varchar(15) DEFAULT NULL,
`d_beli_harga` double DEFAULT NULL,
`d_beli_jumlah` int(11) DEFAULT NULL,
`d_beli_total` double DEFAULT NULL,
`d_beli_kode` varchar(15) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_detail_beli`
--
INSERT INTO `tbl_detail_beli` (`d_beli_id`, `d_beli_nofak`, `d_beli_barang_id`, `d_beli_harga`, `d_beli_jumlah`, `d_beli_total`, `d_beli_kode`) VALUES
(1, '005', 'PJ000004', 500000, 9, 4500000, 'BL130121000001'),
(2, '005', 'PJ000003', 600000, 5, 3000000, 'BL130121000001'),
(3, '005', 'PJ000001', 40000, 5, 200000, 'BL130121000001'),
(4, '005', 'PJ000005', 2500000, 15, 37500000, 'BL130121000001'),
(5, '005', 'PJ000003', 600000, 5, 3000000, 'BL130121000002'),
(6, '0051', 'PJ000003', 600000, 56, 33600000, 'BL130121000003'),
(7, '0012', 'PJ000005', 2500000, 55, 137500000, 'BL130121000004'),
(8, '01', 'PJ000001', 40000, 1, 40000, 'BL130121000005');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_detail_jual`
--
CREATE TABLE `tbl_detail_jual` (
`d_jual_id` int(11) NOT NULL,
`d_jual_nofak` varchar(15) DEFAULT NULL,
`d_jual_barang_id` varchar(15) DEFAULT NULL,
`d_jual_barang_nama` varchar(150) DEFAULT NULL,
`d_jual_barang_satuan` varchar(30) DEFAULT NULL,
`d_jual_barang_harpok` double DEFAULT NULL,
`d_jual_barang_harjul` double DEFAULT NULL,
`d_jual_qty` int(11) DEFAULT NULL,
`d_jual_diskon` double DEFAULT NULL,
`d_jual_total` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_detail_jual`
--
INSERT INTO `tbl_detail_jual` (`d_jual_id`, `d_jual_nofak`, `d_jual_barang_id`, `d_jual_barang_nama`, `d_jual_barang_satuan`, `d_jual_barang_harpok`, `d_jual_barang_harjul`, `d_jual_qty`, `d_jual_diskon`, `d_jual_total`) VALUES
(1, '080121000001', 'PJ000003', 'Keyboard', 'Unit', 600000, 600000, 150, 100000, 75000000),
(2, '090121000001', 'PJ000002', 'Piring Kaca', 'Unit', 20000, 22000, 1, 0, 22000),
(3, '100121000001', 'PJ000003', 'Keyboard', 'Unit', 600000, 600000, 9, 0, 5400000),
(4, '130121000001', 'PJ000003', 'Keyboard', 'Unit', 600000, 600000, 10, 100000, 5000000),
(5, '130121000002', 'PJ000003', 'Keyboard', 'Unit', 600000, 600000, 10, 50000, 5500000),
(6, '130121000003', 'PJ000001', 'Gelas NiceSo', 'Unit', 40000, 40000, 19, 0, 760000),
(7, '130121000004', 'PJ000001', 'Gelas NiceSo', 'Unit', 40000, 40000, 16, 5500, 552000),
(8, '130121000005', 'PJ000001', 'Gelas NiceSo', 'Unit', 40000, 35000, 6, 10000, 150000);
-- --------------------------------------------------------
--
-- Table structure for table `tbl_jual`
--
CREATE TABLE `tbl_jual` (
`jual_nofak` varchar(15) NOT NULL,
`jual_tanggal` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`jual_total` double DEFAULT NULL,
`jual_jml_uang` double DEFAULT NULL,
`jual_kembalian` double DEFAULT NULL,
`jual_user_id` int(11) DEFAULT NULL,
`jual_keterangan` varchar(20) DEFAULT NULL,
`jual_pembeli` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_jual`
--
INSERT INTO `tbl_jual` (`jual_nofak`, `jual_tanggal`, `jual_total`, `jual_jml_uang`, `jual_kembalian`, `jual_user_id`, `jual_keterangan`, `jual_pembeli`) VALUES
('080121000001', '2021-01-08 06:59:12', 75000000, 100000000, 25000000, 1, 'eceran', 'Titah'),
('090121000001', '2021-01-09 11:54:40', 22000, 900000, 878000, 1, 'eceran', 'ilo'),
('100121000001', '2021-01-09 23:23:43', 5400000, 10000000, 4600000, 1, 'eceran', 'hehe'),
('130121000001', '2021-01-13 17:01:09', 5000000, 1000000000, 995000000, 4, 'eceran', 'Titah'),
('130121000002', '2021-01-13 18:11:40', 5500000, 5500000, 0, 1, 'eceran', 'Test'),
('130121000003', '2021-01-13 18:13:45', 760000, 770000, 10000, 1, 'eceran', 'yeyeye'),
('130121000004', '2021-01-13 19:34:38', 552000, 900000, 348000, 4, 'eceran', 'titaharya'),
('130121000005', '2021-01-13 19:36:26', 150000, 200000, 50000, 4, 'grosir', 'tes');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_kategori`
--
CREATE TABLE `tbl_kategori` (
`kategori_id` int(11) NOT NULL,
`kategori_nama` varchar(35) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_kategori`
--
INSERT INTO `tbl_kategori` (`kategori_id`, `kategori_nama`) VALUES
(40, 'Gelas'),
(41, 'Piring'),
(42, 'Komputer'),
(43, 'Perlengkapan Dapur'),
(44, 'Furniture');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_pelanggan`
--
CREATE TABLE `tbl_pelanggan` (
`pelanggan_id` varchar(15) NOT NULL,
`pelanggan_nama` varchar(50) NOT NULL,
`pelanggan_alamat` varchar(50) NOT NULL,
`pelanggan_notlpn` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_pelanggan`
--
INSERT INTO `tbl_pelanggan` (`pelanggan_id`, `pelanggan_nama`, `pelanggan_alamat`, `pelanggan_notlpn`) VALUES
('P0002', 'Sella Purwita Sari', 'JL BB', '02139814132'),
('P0003', 'Tika', 'jl ZZ', '0120399012'),
('P0004', 'asddsa', 'adassad', '67867'),
('P0005', 'titah', 'tangerang', '0123');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_retur`
--
CREATE TABLE `tbl_retur` (
`retur_id` int(11) NOT NULL,
`retur_tanggal` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`retur_barang_id` varchar(15) DEFAULT NULL,
`retur_barang_nama` varchar(150) DEFAULT NULL,
`retur_barang_satuan` varchar(30) DEFAULT NULL,
`retur_harjul` double DEFAULT NULL,
`retur_qty` int(11) DEFAULT NULL,
`retur_subtotal` double DEFAULT NULL,
`retur_keterangan` varchar(150) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `tbl_suplier`
--
CREATE TABLE `tbl_suplier` (
`suplier_id` int(11) NOT NULL,
`suplier_nama` varchar(35) DEFAULT NULL,
`suplier_alamat` varchar(60) DEFAULT NULL,
`suplier_notelp` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_suplier`
--
INSERT INTO `tbl_suplier` (`suplier_id`, `suplier_nama`, `suplier_alamat`, `suplier_notelp`) VALUES
(6, 'IKEA', 'jl ZZ', '123213123'),
(7, 'Titah', 'Tangerang', '0125'),
(8, 'RajaIT', 'Tangerang', '0132'),
(9, 'Informa', 'JALAN JALAN', '012113'),
(10, 'EnterKomputer', 'Mangdu', '123');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_user`
--
CREATE TABLE `tbl_user` (
`user_id` int(11) NOT NULL,
`user_nama` varchar(35) DEFAULT NULL,
`user_username` varchar(30) DEFAULT NULL,
`user_password` varchar(35) DEFAULT NULL,
`user_level` varchar(2) DEFAULT NULL,
`user_status` varchar(2) DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_user`
--
INSERT INTO `tbl_user` (`user_id`, `user_nama`, `user_username`, `user_password`, `user_level`, `user_status`) VALUES
(1, 'Titah Arya Dewantara', 'titah', '63a9f0ea7bb98050796b649e85481845', '1', '0'),
(2, 'kasir', 'kasir', '63a9f0ea7bb98050796b649e85481845', '2', '0'),
(3, 'gudang', 'gudang', '63a9f0ea7bb98050796b649e85481845', '3', '1'),
(4, 'admin', 'admin', '21232f297a57a5a743894a0e4a801fc3', '1', '1');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tbl_barang`
--
ALTER TABLE `tbl_barang`
ADD PRIMARY KEY (`barang_id`),
ADD KEY `barang_user_id` (`barang_user_id`),
ADD KEY `barang_kategori_id` (`barang_kategori_id`);
--
-- Indexes for table `tbl_beli`
--
ALTER TABLE `tbl_beli`
ADD PRIMARY KEY (`beli_kode`),
ADD KEY `beli_user_id` (`beli_user_id`),
ADD KEY `beli_suplier_id` (`beli_suplier_id`),
ADD KEY `beli_id` (`beli_kode`);
--
-- Indexes for table `tbl_detail_beli`
--
ALTER TABLE `tbl_detail_beli`
ADD PRIMARY KEY (`d_beli_id`),
ADD KEY `d_beli_barang_id` (`d_beli_barang_id`),
ADD KEY `d_beli_nofak` (`d_beli_nofak`),
ADD KEY `d_beli_kode` (`d_beli_kode`);
--
-- Indexes for table `tbl_detail_jual`
--
ALTER TABLE `tbl_detail_jual`
ADD PRIMARY KEY (`d_jual_id`),
ADD KEY `d_jual_barang_id` (`d_jual_barang_id`),
ADD KEY `d_jual_nofak` (`d_jual_nofak`);
--
-- Indexes for table `tbl_jual`
--
ALTER TABLE `tbl_jual`
ADD PRIMARY KEY (`jual_nofak`),
ADD KEY `jual_user_id` (`jual_user_id`);
--
-- Indexes for table `tbl_kategori`
--
ALTER TABLE `tbl_kategori`
ADD PRIMARY KEY (`kategori_id`);
--
-- Indexes for table `tbl_pelanggan`
--
ALTER TABLE `tbl_pelanggan`
ADD PRIMARY KEY (`pelanggan_id`) USING BTREE;
--
-- Indexes for table `tbl_retur`
--
ALTER TABLE `tbl_retur`
ADD PRIMARY KEY (`retur_id`);
--
-- Indexes for table `tbl_suplier`
--
ALTER TABLE `tbl_suplier`
ADD PRIMARY KEY (`suplier_id`);
--
-- Indexes for table `tbl_user`
--
ALTER TABLE `tbl_user`
ADD PRIMARY KEY (`user_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tbl_detail_beli`
--
ALTER TABLE `tbl_detail_beli`
MODIFY `d_beli_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `tbl_detail_jual`
--
ALTER TABLE `tbl_detail_jual`
MODIFY `d_jual_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `tbl_kategori`
--
ALTER TABLE `tbl_kategori`
MODIFY `kategori_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45;
--
-- AUTO_INCREMENT for table `tbl_retur`
--
ALTER TABLE `tbl_retur`
MODIFY `retur_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `tbl_suplier`
--
ALTER TABLE `tbl_suplier`
MODIFY `suplier_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `tbl_user`
--
ALTER TABLE `tbl_user`
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `tbl_barang`
--
ALTER TABLE `tbl_barang`
ADD CONSTRAINT `tbl_barang_ibfk_1` FOREIGN KEY (`barang_user_id`) REFERENCES `tbl_user` (`user_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `tbl_barang_ibfk_2` FOREIGN KEY (`barang_kategori_id`) REFERENCES `tbl_kategori` (`kategori_id`) ON UPDATE CASCADE;
--
-- Constraints for table `tbl_beli`
--
ALTER TABLE `tbl_beli`
ADD CONSTRAINT `tbl_beli_ibfk_1` FOREIGN KEY (`beli_user_id`) REFERENCES `tbl_user` (`user_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `tbl_beli_ibfk_2` FOREIGN KEY (`beli_suplier_id`) REFERENCES `tbl_suplier` (`suplier_id`) ON UPDATE CASCADE;
--
-- Constraints for table `tbl_detail_beli`
--
ALTER TABLE `tbl_detail_beli`
ADD CONSTRAINT `tbl_detail_beli_ibfk_1` FOREIGN KEY (`d_beli_barang_id`) REFERENCES `tbl_barang` (`barang_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `tbl_detail_beli_ibfk_2` FOREIGN KEY (`d_beli_kode`) REFERENCES `tbl_beli` (`beli_kode`) ON UPDATE CASCADE;
--
-- Constraints for table `tbl_detail_jual`
--
ALTER TABLE `tbl_detail_jual`
ADD CONSTRAINT `tbl_detail_jual_ibfk_1` FOREIGN KEY (`d_jual_barang_id`) REFERENCES `tbl_barang` (`barang_id`) ON UPDATE CASCADE,
ADD CONSTRAINT `tbl_detail_jual_ibfk_2` FOREIGN KEY (`d_jual_nofak`) REFERENCES `tbl_jual` (`jual_nofak`) ON UPDATE CASCADE;
--
-- Constraints for table `tbl_jual`
--
ALTER TABLE `tbl_jual`
ADD CONSTRAINT `tbl_jual_ibfk_1` FOREIGN KEY (`jual_user_id`) REFERENCES `tbl_user` (`user_id`) ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
.output 2i.txt
CREATE VIEW frequency_V AS
SELECT * FROM frequency
UNION
SELECT 'q' as docid, 'washington' as term, 1 as count
UNION
SELECT 'q' as docid, 'taxes' as term, 1 as count
UNION
SELECT 'q' as docid, 'treasury' as term, 1 as count;
SELECT A.docid, SUM(A.count * B.count * C.count)
FROM (SELECT * FROM frequency_V WHERE term = 'washington') AS A
JOIN (SELECT * FROM frequency_V WHERE TERM = 'taxes') AS B
ON A.docid = B.docid
JOIN (SELECT * FROM frequency_V WHERE TERM = 'treasury') AS C
ON B.docid = C.docid
GROUP BY A.docid
ORDER BY 2 desc;
SELECT A.docid, SUM(A.count * B.count)
FROM (SELECT * FROM frequency_V WHERE term = 'washington') AS A
JOIN (SELECT * FROM frequency_V WHERE TERM = 'taxes') AS B
ON A.docid = B.docid
GROUP BY A.docid
ORDER BY 2 desc;
SELECT A.docid, A.count , B.count , C.count
FROM (SELECT * FROM frequency_V WHERE term = 'washington') AS A
JOIN (SELECT * FROM frequency_V WHERE TERM = 'taxes') AS B
ON A.docid = B.docid
JOIN (SELECT * FROM frequency_V WHERE TERM = 'treasury') AS C
ON B.docid = C.docid
ORDER BY 1 desc;
SELECT B.docid, SUM(A.count * B.count)
FROM (SELECT * FROM frequency_V WHERE docid = 'q') AS A
JOIN frequency_V B ON A.term = B.term
GROUP BY B.docid
ORDER BY 2 ASC;
-- That's it! Use the query like document, and then compute the similarity of the query with every document, and find the max score.
|
/*
* Calculates the percent of points a student has earned
* each day and counts the number of days based on the bins
* of percentages. A pivot is performed for display purposes
* so bins are now columns/fields instead of row data.
*/
WITH cte AS (
SELECT Site, StudentID, ServiceCode,
CASE
WHEN ProgramDescription IN ('BeRespectful','BeResponsible','BeSafe','PersonalGoal') THEN ProgramDescription
ELSE SUBSTRING(ProgramDescription,CHARINDEX('G',ProgramDescription),LEN(ProgramDescription))
END AS Goal,
ROUND(((CAST(EntryValue as float))/(CAST(PtsPoss as float)))*100.00,2) as Perc, GroupNumber, DayDate
FROM ZZ_TEST_BB_20DayDataPrepared
WHERE ProgramDescription IN ('BeRespectful','BeResponsible','BeSafe','PersonalGoal','WednesdayGoal1','WednesdayGoal2','ThursdayGoal1','ThursdayGoal2','FridayGoal1',
'FridayGoal2','MondayGoal1','MondayGoal2','TuesdayGoal1','TuesdayGoal2')
),
cte1 AS (
SELECT Site, StudentID, ServiceCode, Goal, Perc, GroupNumber,
CASE
WHEN Perc < 50 THEN '< 50'
WHEN Perc BETWEEN 50 AND 60 THEN '50 - 60'
WHEN Perc BETWEEN 60 AND 70 THEN '60 - 70'
WHEN Perc BETWEEN 70 AND 80 THEN '70 - 80'
WHEN Perc BETWEEN 80 AND 85 THEN '80 - 85'
WHEN Perc BETWEEN 85 AND 90 THEN '85 - 90'
WHEN Perc BETWEEN 90 AND 95 THEN '90 - 95'
WHEN Perc > 95 THEN '> 95'
ELSE 'Unknown'
END AS Bins, CONVERT(Date, DayDate) as DayDate
FROM cte
--ORDER BY Site, StudentID, GroupNumber, DayDate, ServiceCode, Goal
),
cte2 AS (
SELECT Site, StudentID, ServiceCode, Goal, GroupNumber, Bins,
COUNT(Bins) as Cnt
FROM cte1
GROUP BY Site, StudentID, ServiceCode, Goal, GroupNumber, Bins
--ORDER BY Site, StudentID, GroupNumber, ServiceCode, Goal
),
cte3 AS (
SELECT *
FROM (
SELECT *
FROM cte2
) AS SQ1
PIVOT
(
MAX(Cnt)
FOR [Bins] IN ([< 50],[50 - 60],[60 - 70],[70 - 80],[80 - 85],[85 - 90],[90 - 95],[> 95])
) AS PVT
--ORDER BY Site, StudentID, GroupNumber, ServiceCode, Goal
)
SELECT cte3.Site, cte3.StudentID, en.StudentName, ServiceCode, Goal, GroupNumber, cte3.[< 50], cte3.[50 - 60], cte3.[60 - 70],
cte3.[70 - 80], cte3.[80 - 85], cte3.[85 - 90], cte3.[90 - 95], cte3.[> 95]
FROM cte3 LEFT OUTER JOIN ZZ_TEST_ENEnrollDataConsolidated en ON cte3.StudentID = en.StudentID
ORDER BY Site, StudentID, GroupNumber, ServiceCode, Goal |
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 02 Jan 2017 pada 03.21
-- Versi Server: 10.1.13-MariaDB
-- PHP Version: 5.6.21
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `pendaftaran_ukm`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `sessions`
--
CREATE TABLE `sessions` (
`session_id` varchar(40) NOT NULL DEFAULT '0',
`ip_address` varchar(16) NOT NULL DEFAULT '0',
`user_agent` varchar(120) NOT NULL,
`last_activity` int(10) UNSIGNED NOT NULL DEFAULT '0',
`user_data` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `sessions`
--
INSERT INTO `sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES
('042529eb584c7d8ec5b3b315ca0958e0', '0.0.0.0', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 1483169793, 'a:5:{s:9:"user_data";s:0:"";s:7:"mhs_npm";s:7:"1144096";s:12:"mhs_password";s:32:"af09c2753faab375d0014746fbd04330";s:8:"mhs_nama";s:16:"Nava Gia Ginasta";s:10:"logged_in2";b:1;}'),
('409d78de88a760d677c750164d1104c9', '0.0.0.0', 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Mobile', 1483170141, 'a:5:{s:9:"user_data";s:0:"";s:7:"mhs_npm";s:7:"1144096";s:12:"mhs_password";s:32:"af09c2753faab375d0014746fbd04330";s:8:"mhs_nama";s:16:"Nava Gia Ginasta";s:10:"logged_in2";b:1;}'),
('744728b7903e515c5f7b1fa398eac489', '0.0.0.0', 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Mobile', 1483122821, 'a:5:{s:9:"user_data";s:0:"";s:7:"mhs_npm";s:7:"1144096";s:12:"mhs_password";s:32:"af09c2753faab375d0014746fbd04330";s:8:"mhs_nama";s:16:"Nava Gia Ginasta";s:10:"logged_in2";b:1;}'),
('a34892897ad56b0a9dff7efff583cbfa', '0.0.0.0', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 1483122724, 'a:6:{s:12:"mhs_password";s:32:"af09c2753faab375d0014746fbd04330";s:14:"admin_username";s:11:"navaganteng";s:14:"admin_password";s:32:"048051f0e12351a92ea258716c5ad262";s:7:"mhs_npm";s:7:"1144096";s:8:"mhs_nama";s:16:"Nava Gia Ginasta";s:10:"logged_in2";b:1;}'),
('a7f4bbb4a28316379a32e0706871444e', '0.0.0.0', 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Mobile', 1483123879, ''),
('c6eb04d2f9d6df9186be6b5ebb5b7ae7', '0.0.0.0', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 1483177087, 'a:2:{s:9:"user_data";s:0:"";s:17:"flash:old:warning";s:31:" NPM atau Password tidak cocok!";}'),
('db5e4ba45acaf3ec341ad6378b65b9d3', '0.0.0.0', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 1483126067, 'a:5:{s:9:"user_data";s:0:"";s:7:"mhs_npm";s:7:"1144096";s:12:"mhs_password";s:32:"af09c2753faab375d0014746fbd04330";s:8:"mhs_nama";s:16:"Nava Gia Ginasta";s:10:"logged_in2";b:1;}'),
('ed4cb8936a9fae92d09504595e02af44', '0.0.0.0', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 1483122941, 'a:5:{s:9:"user_data";s:0:"";s:7:"mhs_npm";s:7:"1144096";s:12:"mhs_password";s:32:"af09c2753faab375d0014746fbd04330";s:8:"mhs_nama";s:16:"Nava Gia Ginasta";s:10:"logged_in2";b:1;}');
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_admin`
--
CREATE TABLE `t_admin` (
`admin_id` int(5) NOT NULL,
`admin_username` varchar(20) NOT NULL,
`admin_password` varchar(50) NOT NULL,
`admin_nama` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `t_admin`
--
INSERT INTO `t_admin` (`admin_id`, `admin_username`, `admin_password`, `admin_nama`) VALUES
(1, 'navaganteng', '048051f0e12351a92ea258716c5ad262', 'Nava Gia Ginasta'),
(2, 'rizki', '3e089c076bf1ec3a8332280ee35c28d4', 'Rizki Fadillah'),
(3, 'agung', 'e59cd3ce33a68f536c19fedb82a7936f', 'Agung Permana');
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_deadline`
--
CREATE TABLE `t_deadline` (
`deadline_id` int(5) NOT NULL,
`deadline_tgl` date NOT NULL,
`ukm_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `t_deadline`
--
INSERT INTO `t_deadline` (`deadline_id`, `deadline_tgl`, `ukm_id`) VALUES
(1, '2016-12-31', 1),
(2, '2016-12-31', 2),
(3, '2017-01-01', 3),
(4, '2017-01-04', 4);
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_kelas`
--
CREATE TABLE `t_kelas` (
`kelas_id` int(11) NOT NULL,
`kelas_nama` varchar(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `t_kelas`
--
INSERT INTO `t_kelas` (`kelas_id`, `kelas_nama`) VALUES
(1, '1A'),
(2, '2A');
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_mahasiswa`
--
CREATE TABLE `t_mahasiswa` (
`mhs_npm` varchar(7) NOT NULL,
`mhs_password` varchar(100) NOT NULL,
`mhs_nama` varchar(30) NOT NULL,
`mhs_kelas` int(11) NOT NULL,
`mhs_prodi` int(5) NOT NULL,
`mhs_tahun_masuk` year(4) NOT NULL,
`mhs_foto` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `t_mahasiswa`
--
INSERT INTO `t_mahasiswa` (`mhs_npm`, `mhs_password`, `mhs_nama`, `mhs_kelas`, `mhs_prodi`, `mhs_tahun_masuk`, `mhs_foto`) VALUES
('11111', '', 'Dadung Ewok', 2, 2, 2018, '1482840357-wew.jpg'),
('1144096', 'af09c2753faab375d0014746fbd04330', 'Nava Gia Ginasta', 1, 1, 2014, '1482851138-rizki-fadillah.PNG'),
('1212121', '', 'Juki Valak', 1, 1, 2018, '1482851114-eee.PNG'),
('23232', '', 'er', 1, 1, 2014, '1482895264-er.jpg');
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_pendaftaran`
--
CREATE TABLE `t_pendaftaran` (
`pendaftaran_id` int(5) NOT NULL,
`mhs_npm` int(7) NOT NULL,
`ukm_id` int(5) NOT NULL,
`pendaftaran_status` enum('?','DITERIMA','TIDAK DITERIMA') NOT NULL DEFAULT '?',
`pendaftaran_tahun` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `t_pendaftaran`
--
INSERT INTO `t_pendaftaran` (`pendaftaran_id`, `mhs_npm`, `ukm_id`, `pendaftaran_status`, `pendaftaran_tahun`) VALUES
(19, 1144096, 4, '?', '2016');
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_pengelola`
--
CREATE TABLE `t_pengelola` (
`pengelola_id` int(5) NOT NULL,
`pengelola_username` varchar(20) NOT NULL,
`pengelola_password` varchar(50) NOT NULL,
`ukm_id` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_prodi`
--
CREATE TABLE `t_prodi` (
`prodi_id` int(5) NOT NULL,
`prodi_nama` varchar(25) NOT NULL,
`prodi_desk` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `t_prodi`
--
INSERT INTO `t_prodi` (`prodi_id`, `prodi_nama`, `prodi_desk`) VALUES
(1, 'D4 Teknik Informatika', 'D4 Teknik Informatika'),
(4, 'D3 Teknik Informatika', 'D3 Teknik Informatika');
-- --------------------------------------------------------
--
-- Struktur dari tabel `t_ukm`
--
CREATE TABLE `t_ukm` (
`ukm_id` int(5) NOT NULL,
`ukm_nama` varchar(30) NOT NULL,
`ukm_desk` text NOT NULL,
`ukm_logo` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `t_ukm`
--
INSERT INTO `t_ukm` (`ukm_id`, `ukm_nama`, `ukm_desk`, `ukm_logo`) VALUES
(1, 'Basket', 'Basket', 'basket'),
(2, 'Futsal', 'Futsal', '-'),
(3, 'Volly', 'Volly', '-'),
(4, 'Badminton', 'Badminton', '-'),
(6, 'Popeys', 'Popeys', '-');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `sessions`
--
ALTER TABLE `sessions`
ADD PRIMARY KEY (`session_id`),
ADD KEY `last_activity_idx` (`last_activity`);
--
-- Indexes for table `t_admin`
--
ALTER TABLE `t_admin`
ADD PRIMARY KEY (`admin_id`);
--
-- Indexes for table `t_deadline`
--
ALTER TABLE `t_deadline`
ADD PRIMARY KEY (`deadline_id`);
--
-- Indexes for table `t_kelas`
--
ALTER TABLE `t_kelas`
ADD PRIMARY KEY (`kelas_id`);
--
-- Indexes for table `t_mahasiswa`
--
ALTER TABLE `t_mahasiswa`
ADD PRIMARY KEY (`mhs_npm`);
--
-- Indexes for table `t_pendaftaran`
--
ALTER TABLE `t_pendaftaran`
ADD PRIMARY KEY (`pendaftaran_id`);
--
-- Indexes for table `t_pengelola`
--
ALTER TABLE `t_pengelola`
ADD PRIMARY KEY (`pengelola_id`);
--
-- Indexes for table `t_prodi`
--
ALTER TABLE `t_prodi`
ADD PRIMARY KEY (`prodi_id`);
--
-- Indexes for table `t_ukm`
--
ALTER TABLE `t_ukm`
ADD PRIMARY KEY (`ukm_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `t_admin`
--
ALTER TABLE `t_admin`
MODIFY `admin_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `t_deadline`
--
ALTER TABLE `t_deadline`
MODIFY `deadline_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `t_kelas`
--
ALTER TABLE `t_kelas`
MODIFY `kelas_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `t_pendaftaran`
--
ALTER TABLE `t_pendaftaran`
MODIFY `pendaftaran_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
--
-- AUTO_INCREMENT for table `t_pengelola`
--
ALTER TABLE `t_pengelola`
MODIFY `pengelola_id` int(5) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `t_prodi`
--
ALTER TABLE `t_prodi`
MODIFY `prodi_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `t_ukm`
--
ALTER TABLE `t_ukm`
MODIFY `ukm_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
/*!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 `acc_account_name` (
`account_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`account_name` varchar(255) NOT NULL,
`account_type` int(11) NOT NULL,
PRIMARY KEY (`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `acn_account_transaction` (
`account_tran_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`account_id` int(11) NOT NULL,
`transaction_description` varchar(255) NOT NULL,
`amount` varchar(25) NOT NULL,
`payment_id` int(11) NOT NULL,
`create_by_id` varchar(25) NOT NULL
PRIMARY KEY (`account_tran_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
-- ex28-1_account-test.sql
-- 계정을 막 생성하면 table 아무것도 없음.
select * from tabs;
-- table 생성 권한도 없다.
-- 기본적인 권한들을 일일히 부여해주어야 한다.
-- system 계정으로 (grant connect, resource to test;)를 이용하여 권한 부여를 한 후 사용 가능.
create table tblTest
(
seq number primary key
); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.