sql
stringlengths
6
1.05M
/* Query para publicar a tabela. Esse é o lugar para: - modificar nomes, ordem e tipos de colunas - dar join com outras tabelas - criar colunas extras (e.g. logs, proporções, etc.) Qualquer coluna definida aqui deve também existir em `table_config.yaml`. # Além disso, sinta-se à vontade para alterar alguns nomes obscuros # para algo um pouco mais explícito. TIPOS: - Para modificar tipos de colunas, basta substituir STRING por outro tipo válido. - Exemplo: `SAFE_CAST(column_name AS NUMERIC) column_name` - Mais detalhes: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types */ CREATE VIEW basedosdados-dev.br_isp_estatisticas_seguranca.evolucao_mensal_municipio AS SELECT SAFE_CAST(ano AS INT64) ano, SAFE_CAST(mes AS INT64) mes, SAFE_CAST(mes_ano AS STRING) mes_ano, SAFE_CAST(id_municipio AS STRING) id_municipio, SAFE_CAST(municipio AS STRING) municipio, SAFE_CAST(regiao_rj AS STRING) regiao_rj, SAFE_CAST(hom_doloso AS INT64) hom_doloso, SAFE_CAST(lesao_corp_morte AS INT64) lesao_corp_morte, SAFE_CAST(latrocinio AS INT64) latrocinio, SAFE_CAST(cvli AS INT64) cvli, SAFE_CAST(hom_por_interv_policial AS INT64) hom_por_interv_policial, SAFE_CAST(letalidade_violenta AS INT64) letalidade_violenta, SAFE_CAST(tentat_hom AS INT64) tentat_hom, SAFE_CAST(lesao_corp_dolosa AS INT64) lesao_corp_dolosa, SAFE_CAST(estupro AS INT64) estupro, SAFE_CAST(hom_culposo AS INT64) hom_culposo, SAFE_CAST(lesao_corp_culposa AS INT64) lesao_corp_culposa, SAFE_CAST(roubo_transeunte AS INT64) roubo_transeunte, SAFE_CAST(roubo_celular AS INT64) roubo_celular, SAFE_CAST(roubo_em_coletivo AS INT64) roubo_em_coletivo, SAFE_CAST(roubo_rua AS INT64) roubo_rua, SAFE_CAST(roubo_veiculo AS INT64) roubo_veiculo, SAFE_CAST(roubo_carga AS INT64) roubo_carga, SAFE_CAST(roubo_comercio AS INT64) roubo_comercio, SAFE_CAST(roubo_residencia AS INT64) roubo_residencia, SAFE_CAST(roubo_banco AS INT64) roubo_banco, SAFE_CAST(roubo_cx_eletronico AS INT64) roubo_cx_eletronico, SAFE_CAST(roubo_conducao_saque AS INT64) roubo_conducao_saque, SAFE_CAST(roubo_apos_saque AS INT64) roubo_apos_saque, SAFE_CAST(roubo_bicicleta AS INT64) roubo_bicicleta, SAFE_CAST(outros_roubos AS INT64) outros_roubos, SAFE_CAST(total_roubos AS INT64) total_roubos, SAFE_CAST(furto_veiculos AS INT64) furto_veiculos, SAFE_CAST(furto_transeunte AS INT64) furto_transeunte, SAFE_CAST(furto_coletivo AS INT64) furto_coletivo, SAFE_CAST(furto_celular AS INT64) furto_celular, SAFE_CAST(furto_bicicleta AS INT64) furto_bicicleta, SAFE_CAST(outros_furtos AS INT64) outros_furtos, SAFE_CAST(total_furtos AS INT64) total_furtos, SAFE_CAST(sequestro AS INT64) sequestro, SAFE_CAST(extorsao AS INT64) extorsao, SAFE_CAST(sequestro_relampago AS INT64) sequestro_relampago, SAFE_CAST(estelionato AS INT64) estelionato, SAFE_CAST(apreensao_drogas AS INT64) apreensao_drogas, SAFE_CAST(posse_drogas AS INT64) posse_drogas, SAFE_CAST(trafico_drogas AS INT64) trafico_drogas, SAFE_CAST(apreensao_drogas_sem_autor AS INT64) apreensao_drogas_sem_autor, SAFE_CAST(recuperacao_veiculos AS INT64) recuperacao_veiculos, SAFE_CAST(apf AS INT64) apf, SAFE_CAST(aaapai AS INT64) aaapai, SAFE_CAST(cmp AS INT64) cmp, SAFE_CAST(cmba AS INT64) cmba, SAFE_CAST(ameaca AS INT64) ameaca, SAFE_CAST(pessoas_desaparecidas AS INT64) pessoas_desaparecidas, SAFE_CAST(encontro_cadaver AS INT64) encontro_cadaver, SAFE_CAST(encontro_ossada AS INT64) encontro_ossada, SAFE_CAST(pol_militares_mortos_serv AS INT64) pol_militares_mortos_serv, SAFE_CAST(pol_civis_mortos_serv AS INT64) pol_civis_mortos_serv, SAFE_CAST(registro_ocorrencias AS INT64) registro_ocorrencias, SAFE_CAST(fase AS INT64) fase from basedosdados-dev.br_isp_estatisticas_seguranca_staging.evolucao_mensal_municipio as t
<gh_stars>0 -- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64) -- -- Host: localhost Database: pharmacy -- ------------------------------------------------------ -- Server version 8.0.11 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `customer` -- DROP TABLE IF EXISTS `customer`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `customer` ( `cid` int(11) NOT NULL AUTO_INCREMENT, `cname` varchar(20) DEFAULT NULL, `phone` varchar(10) DEFAULT NULL, `email` varchar(30) DEFAULT NULL, `address` varchar(20) DEFAULT NULL, `password` varchar(45) NOT NULL, PRIMARY KEY (`cid`) ) ENGINE=InnoDB AUTO_INCREMENT=1029 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `customer` -- LOCK TABLES `customer` WRITE; /*!40000 ALTER TABLE `customer` DISABLE KEYS */; INSERT INTO `customer` VALUES (1023,'<NAME>','1452365987','<EMAIL>','sdfafas','qwert'),(1024,'<NAME>','3698452353','<EMAIL>','tyuityij','asdf'),(1025,'<NAME>','2103968486','<EMAIL>','fdhfgcn','zxcv'),(1026,'<NAME>','3239465167','<EMAIL>','vbmvcbn','!@#$'),(1027,'<NAME>','9876513654','<EMAIL>','asdad','Abc123'); /*!40000 ALTER TABLE `customer` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `manufacturer` -- DROP TABLE IF EXISTS `manufacturer`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `manufacturer` ( `manid` int(11) NOT NULL, `mname` varchar(20) DEFAULT NULL, PRIMARY KEY (`manid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `manufacturer` -- LOCK TABLES `manufacturer` WRITE; /*!40000 ALTER TABLE `manufacturer` DISABLE KEYS */; INSERT INTO `manufacturer` VALUES (245,'<NAME>'),(1103,'Cerner'),(3569,'Reddys'),(4587,'Truven'),(5463,'Reiden Global'),(6945,'ashp'); /*!40000 ALTER TABLE `manufacturer` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `medicine` -- DROP TABLE IF EXISTS `medicine`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `medicine` ( `mid` int(11) NOT NULL, `mname` varchar(20) DEFAULT NULL, `price` int(11) DEFAULT NULL, `qty` int(11) DEFAULT NULL, `manid` int(11) DEFAULT NULL, `exp_date` date NOT NULL, PRIMARY KEY (`mid`), KEY `manid` (`manid`), CONSTRAINT `medicine_ibfk_1` FOREIGN KEY (`manid`) REFERENCES `manufacturer` (`manid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `medicine` -- LOCK TABLES `medicine` WRITE; /*!40000 ALTER TABLE `medicine` DISABLE KEYS */; INSERT INTO `medicine` VALUES (256,'Calpol',25,100,5463,'2019-02-23'),(1450,'Hetrazein',36,200,3569,'2019-01-12'),(2213,'Acetaminophen.',1200,145,245,'2019-04-14'),(2598,'Adderall.',2050,100,1103,'2018-08-15'),(3219,'Apex',25,250,1103,'2018-12-12'),(6544,'Aciloc',10,500,4587,'2019-05-15'),(7451,'Atorvastatin.',50,600,6945,'2019-05-15'),(9870,'Morphine',50,236,6945,'2019-03-11'); /*!40000 ALTER TABLE `medicine` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `orders` -- DROP TABLE IF EXISTS `orders`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `orders` ( `oid` int(11) NOT NULL, `cid` int(11) NOT NULL, `mid` int(11) NOT NULL, `status` varchar(20) DEFAULT 'pending', `dateoforder` datetime DEFAULT NULL, `qty` int(11) NOT NULL, PRIMARY KEY (`oid`,`mid`), KEY `cid` (`cid`), KEY `mid` (`mid`), CONSTRAINT `orders_ibfk_1` FOREIGN KEY (`cid`) REFERENCES `customer` (`cid`), CONSTRAINT `orders_ibfk_2` FOREIGN KEY (`mid`) REFERENCES `medicine` (`mid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `orders` -- LOCK TABLES `orders` WRITE; /*!40000 ALTER TABLE `orders` DISABLE KEYS */; INSERT INTO `orders` VALUES (18,1023,1450,'pending','2018-08-01 22:39:54',0),(18,1023,3219,'pending','2018-08-01 22:40:03',0),(19,1025,256,'pending','2018-08-01 22:41:30',0),(19,1025,2213,'pending','2018-08-01 22:41:20',0),(19,1025,2598,'pending','2018-08-01 22:41:13',0),(20,1024,6544,'pending','2018-08-01 22:43:22',0),(20,1024,9870,'pending','2018-08-01 22:43:33',0),(27,1026,2213,'pending','2018-08-01 22:57:29',0); /*!40000 ALTER TABLE `orders` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2018-08-02 15:17:07
-- 8) Print the countries whose downloaded are more than the downloads from China ("CN") select country from cw_table group by country having count(country) > (select count(country) from cw_table where country='CN');
SELECT * FROM m_org WHERE del_flg = '0' <#if likeName??> AND org_name like :likeName </#if> ORDER BY disp_seq
begin; alter table c_block add column tags text not null default ''; alter table c_block add column label text not null default ''; commit;
# ---------------------------------------------------------------------- # # Script generated with: DeZign for Databases V9.0.0 # # Target DBMS: MySQL 5 # # Project file: Project1.dez # # Project name: # # Author: # # Script type: Database drop script # # Created on: 2015-12-02 15:19 # # ---------------------------------------------------------------------- # # ---------------------------------------------------------------------- # # Drop foreign key constraints # # ---------------------------------------------------------------------- # ALTER TABLE `UserRoles` DROP FOREIGN KEY `Roles_UserRoles`; ALTER TABLE `UserRoles` DROP FOREIGN KEY `Users_UserRoles`; ALTER TABLE `RolePermissions` DROP FOREIGN KEY `Roles_RolePermissions`; ALTER TABLE `RolePermissions` DROP FOREIGN KEY `Permissions_RolePermissions`; # ---------------------------------------------------------------------- # # Drop table "RolePermissions" # # ---------------------------------------------------------------------- # # Drop constraints # ALTER TABLE `RolePermissions` DROP PRIMARY KEY; DROP TABLE `RolePermissions`; # ---------------------------------------------------------------------- # # Drop table "Permissions" # # ---------------------------------------------------------------------- # # Drop constraints # DROP TABLE `Permissions`; # ---------------------------------------------------------------------- # # Drop table "UserRoles" # # ---------------------------------------------------------------------- # # Drop constraints # ALTER TABLE `UserRoles` DROP PRIMARY KEY; DROP TABLE `UserRoles`; # ---------------------------------------------------------------------- # # Drop table "Roles" # # ---------------------------------------------------------------------- # # Drop constraints # ALTER TABLE `Roles` DROP PRIMARY KEY; DROP TABLE `Roles`; # ---------------------------------------------------------------------- # # Drop table "Users" # # ---------------------------------------------------------------------- # # Drop constraints # ALTER TABLE `Users` DROP PRIMARY KEY; DROP TABLE `Users`;
<filename>bin/apache-hive-3.1.2-bin/scripts/metastore/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql version https://git-lfs.github.com/spec/v1 oid sha256:508ea721e50d9b7a2bd9547b717f8837b04175244aefeaa6dd24056953876722 size 13577
-- phpMyAdmin SQL Dump -- version 4.6.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jun 26, 2018 at 11:31 AM -- Server version: 5.7.14 -- PHP Version: 5.6.25 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: `summer_project` -- -- -------------------------------------------------------- -- -- Table structure for table `passive task report` -- CREATE TABLE `passive task report` ( `SNo` int(5) NOT NULL, `Talker Name` varchar(25) NOT NULL, `Talker Phone No` bigint(10) NOT NULL, `Talker IMEI` bigint(15) NOT NULL, `Talker IMSI` bigint(15) NOT NULL, `Call Time` datetime(6) NOT NULL, `Call Duration` time(6) NOT NULL, `Talker Location` varchar(20) NOT NULL, `Target Location` varchar(20) NOT NULL, `Target Name` varchar(20) NOT NULL, `Target Phone No` bigint(10) NOT NULL, `Target IMEI No` bigint(15) NOT NULL, `Target IMSI No` bigint(15) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `passive task report` -- INSERT INTO `passive task report` (`SNo`, `Talker Name`, `Talker Phone No`, `Talker IMEI`, `Talker IMSI`, `Call Time`, `Call Duration`, `Talker Location`, `Target Location`, `Target Name`, `Target Phone No`, `Target IMEI No`, `Target IMSI No`) VALUES (1, 'Venkat', 9848744396, 358223074281953, 404051289356345, '2018-06-16 04:40:30.000000', '01:30:32.000000', 'Malakpet', 'Miyapur', 'Ramu', 8985797556, 863499031004393, 404898934569765); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>datlmd/datlm DROP TABLE IF EXISTS `fuel_blog_users`; DROP TABLE IF EXISTS `fuel_blog_posts`; DROP TABLE IF EXISTS `fuel_blog_links`; DROP TABLE IF EXISTS `fuel_blog_comments`; DROP TABLE IF EXISTS `fuel_blog_categories`; DELETE FROM `fuel_permissions` WHERE `name` LIKE 'blog/%';
CREATE TABLE `namespace` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `namespace` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE ${ohdsiSchema}.output_files ADD media_type VARCHAR(255); ALTER TABLE ${ohdsiSchema}.output_files DROP CONSTRAINT fk_sif_cca_execution; ALTER TABLE ${ohdsiSchema}.output_files DROP COLUMN cca_execution_id; ALTER TABLE ${ohdsiSchema}.input_files DROP CONSTRAINT fk_sof_cca_execution; ALTER TABLE ${ohdsiSchema}.input_files DROP COLUMN cca_execution_id; --ALTER TABLE ${ohdsiSchema}.output_files ADD execution_id INT; --ALTER TABLE ${ohdsiSchema}.input_files ADD execution_id INT; CREATE SEQUENCE ${ohdsiSchema}.output_file_seq; CREATE SEQUENCE ${ohdsiSchema}.input_file_seq;
DEF oci360_in_table_before = "&&1." DEF oci360_in_table_after = "&&2." DEF oci360_in_table_file = "&&3." UNDEF 1 2 3 @@&&fc_spool_start. SET SERVEROUT ON SPO &&oci360_in_table_file.; DECLARE V_TAB_B4 VARCHAR2(30) := '&&oci360_in_table_before.'; V_TAB_AF VARCHAR2(30) := '&&oci360_in_table_after.'; CURSOR L_ADD IS (SELECT DISTINCT ID,DISPLAY_NAME FROM &&oci360_in_table_after. T1 WHERE NOT EXISTS (SELECT 1 FROM &&oci360_in_table_before. T2 WHERE T1.ID=T2.ID)); CURSOR L_REM IS (SELECT DISTINCT ID,DISPLAY_NAME FROM &&oci360_in_table_before. T2 WHERE NOT EXISTS (SELECT 1 FROM &&oci360_in_table_after. T1 WHERE T1.ID=T2.ID)); CURSOR L_COLS IS (SELECT T1.COLUMN_NAME COL1, T2.COLUMN_NAME COL2 FROM ALL_TAB_COLUMNS T1, ALL_TAB_COLUMNS T2 WHERE T1.COLUMN_NAME = T2.COLUMN_NAME (+) AND T1.TABLE_NAME = V_TAB_AF AND T2.TABLE_NAME(+) = V_TAB_B4 AND T1.COLUMN_NAME != 'ID' AND T1.OWNER = '&&oci360_user_curschema.' AND T2.OWNER(+) = '&&oci360_user_curschema.' UNION ALL SELECT T1.COLUMN_NAME COL1, T2.COLUMN_NAME COL2 FROM ALL_TAB_COLUMNS T1, ALL_TAB_COLUMNS T2 WHERE T1.COLUMN_NAME(+) = T2.COLUMN_NAME AND T1.TABLE_NAME(+) = V_TAB_AF AND T2.TABLE_NAME = V_TAB_B4 AND T2.COLUMN_NAME != 'ID' AND T1.OWNER(+) = '&&oci360_user_curschema.' AND T2.OWNER = '&&oci360_user_curschema.' AND T1.COLUMN_NAME IS NULL); V_DYNCUR SYS_REFCURSOR; V_QRY VARCHAR2(2000); -- Fields enquotes and separators V_ENC VARCHAR2(1) := '"'; V_SEP VARCHAR2(1) := ','; -- Hold difference results V_RESULT_ID VARCHAR2(300); V_RESULT_DN VARCHAR2(300); V_RESULT_COL_B4 VARCHAR2(4000); V_RESULT_COL_AF VARCHAR2(4000); -- Hold Column Names V_COL_NM VARCHAR2(128); V_COL1 VARCHAR2(140); V_COL2 VARCHAR2(140); V_FIRST_COL BOOLEAN := TRUE; FUNCTION QA (IN_VALUE IN VARCHAR2) RETURN VARCHAR2 AS OUT_VALUE VARCHAR2(4000); BEGIN IF IN_VALUE IS NOT NULL THEN OUT_VALUE := REPLACE(REPLACE(IN_VALUE,CHR(13),' '),CHR(10),' '); IF OUT_VALUE LIKE '%' || V_ENC || '%' OR OUT_VALUE LIKE '%' || V_SEP || '%' THEN RETURN V_ENC || REPLACE(OUT_VALUE,V_ENC,V_ENC || V_ENC) || V_ENC; ELSE RETURN OUT_VALUE; END IF; ELSE RETURN NULL; END IF; END; PROCEDURE PRINT (IN_ARG1 IN VARCHAR2, IN_ARG2 IN VARCHAR2, IN_ARG3 IN VARCHAR2, IN_ARG4 IN VARCHAR2, IN_ARG5 IN VARCHAR2) AS BEGIN -- IF V_FIRST_COL THEN -- V_FIRST_COL := FALSE; -- PRINT('ID','DISPLAY_NAME','COLUMN_NAME','OLD_VALUE','NEW_VALUE'); -- END IF; DBMS_OUTPUT.PUT_LINE(QA(IN_ARG1) || V_SEP || QA(IN_ARG2) || V_SEP || QA(IN_ARG3) || V_SEP || QA(IN_ARG4) || V_SEP || QA(IN_ARG5)); END; BEGIN DBMS_OUTPUT.ENABLE(10000000); PRINT('ID','DISPLAY_NAME','COLUMN_NAME','OLD_VALUE','NEW_VALUE'); FOR I IN L_ADD LOOP PRINT(I.ID,I.DISPLAY_NAME,'ALL','','ITEM ADDED'); END LOOP; FOR I IN L_REM LOOP PRINT(I.ID,I.DISPLAY_NAME,'ALL','ITEM REMOVED',''); END LOOP; FOR L IN L_COLS LOOP IF L.COL1 IS NULL THEN V_COL1 := 'NULL'; V_COL2 := 'T2.' || DBMS_ASSERT.ENQUOTE_NAME('"' || L.COL2 || '"'); V_COL_NM := L.COL2; ELSIF L.COL2 IS NULL THEN V_COL1 := 'T1.' || DBMS_ASSERT.ENQUOTE_NAME('"' || L.COL1 || '"'); V_COL2 := 'NULL'; V_COL_NM := L.COL1; ELSE V_COL1 := 'T1.' || DBMS_ASSERT.ENQUOTE_NAME('"' || L.COL1 || '"'); V_COL2 := 'T2.' || DBMS_ASSERT.ENQUOTE_NAME('"' || L.COL2 || '"'); V_COL_NM := L.COL1; END IF; V_QRY := 'SELECT DISTINCT AF.ID, T1.DISPLAY_NAME, B4.COL, AF.COL ' || 'FROM ' || ' (SELECT T1.ID, ' || ' ' || V_COL1 || ' COL ' || ' FROM ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_AF) || ' T1, ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_B4) || ' T2 ' || ' WHERE T1.ID=T2.ID ' || ' MINUS ' || ' SELECT T2.ID, ' || ' ' || V_COL2 || ' COL ' || ' FROM ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_B4) || ' T2, ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_AF) || ' T1 ' || ' WHERE T1.ID=T2.ID) AF, ' || ' (SELECT T2.ID, ' || ' ' || V_COL2 || ' COL ' || ' FROM ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_B4) || ' T2, ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_AF) || ' T1 ' || ' WHERE T1.ID=T2.ID ' || ' MINUS ' || ' SELECT T1.ID, ' || ' ' || V_COL1 || ' COL ' || ' FROM ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_AF) || ' T1, ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_B4) || ' T2 ' || ' WHERE T1.ID=T2.ID) B4, ' || ' ' || DBMS_ASSERT.ENQUOTE_NAME(V_TAB_AF) || ' T1 ' || 'WHERE AF.ID=B4.ID ' || 'AND AF.ID=T1.ID'; OPEN V_DYNCUR FOR V_QRY; LOOP FETCH V_DYNCUR INTO V_RESULT_ID, V_RESULT_DN, V_RESULT_COL_B4, V_RESULT_COL_AF; EXIT WHEN V_DYNCUR%NOTFOUND; PRINT(V_RESULT_ID,V_RESULT_DN,V_COL_NM,V_RESULT_COL_B4,V_RESULT_COL_AF); END LOOP; END LOOP; CLOSE V_DYNCUR; EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE(V_QRY); RAISE; END; / SPO OFF; @@&&fc_spool_end. UNDEF oci360_in_table_before oci360_in_table_after oci360_in_table_file ---
<filename>src/main/resources/schema-h2.sql -- H2 -- -- Table structure for table "customer" -- CREATE TABLE IF NOT EXISTS "CUSTOMER" ( "ID" bigint NOT NULL, "VER" int DEFAULT NULL, "TM" datetime DEFAULT NULL, "ACTIVE_AFTER" datetime DEFAULT NULL, "ACTIVE_UNTIL" datetime DEFAULT NULL, "LOGIN" varchar(255) DEFAULT NULL, "PASSWORD" varchar(255) DEFAULT NULL, PRIMARY KEY ("ID"), CONSTRAINT "LOGIN_UNIQUE" UNIQUE ("LOGIN") ); -- -- Table structure for table "customer_account" -- CREATE TABLE IF NOT EXISTS "CUSTOMER_ACCOUNT" ( "ID" bigint NOT NULL, "VER" int DEFAULT NULL, "TM" datetime DEFAULT NULL, "CURRENCY" char(3) DEFAULT NULL, "BALANCE" int DEFAULT NULL, "ID_CUSTOMER" bigint DEFAULT NULL, PRIMARY KEY ("ID"), FOREIGN KEY ("ID_CUSTOMER") REFERENCES "CUSTOMER"("ID") );
<reponame>trinityprog/twix_eba_2022_ge- INSERT INTO `test_questions` (`id`, `general`, `locale`, `variant_id`, `order`, `created_at`, `updated_at`) VALUES (1, 'Утро или вечер?', 'Таңғы уақыт па, әлде кешкі уақыт па?', 1, 0, '2022-01-27 05:06:16', '2022-01-27 08:10:42'), (2, 'Чай или кофе?', 'Шай ма, кофе ме?', 1, 0, '2022-01-27 05:06:16', '2022-01-27 08:10:54'), (3, 'Книга или фильм?', 'Кітап па, әлде фильм бе?', 1, 0, '2022-01-27 05:06:16', '2022-01-27 08:11:05'), (4, 'Чай или кофе?', 'Шай ма, кофе ме?', 2, 0, '2022-01-27 05:06:17', '2022-01-27 11:06:55'), (5, 'Сериал или музыка?', 'Телехикая ма, әлде музыка ма?', 2, 0, '2022-01-27 05:06:17', '2022-01-27 11:07:56'), (6, 'Глэмпинг в своей стране или путешествие?', 'Өз еліңдегі глэмпинг пе немесе саяхат па?', 2, 0, '2022-01-27 05:06:17', '2022-01-27 11:09:51'), (7, 'Утро или вечер?', 'Таңғы уақыт па, әлде кешкі уақыт па?', 3, 0, '2022-01-27 05:06:17', '2022-01-27 11:10:55'), (8, 'Чай или кофе?', 'Шай ма, кофе ме?', 3, 0, '2022-01-27 05:06:17', '2022-01-27 11:11:46'), (9, 'Коньки или лыжи?', 'Коньки ме, әлде шаңғы ма?', 3, 0, '2022-01-27 05:06:17', '2022-01-27 11:12:57'), (10, 'Чай или кофе?', 'Шай ма, кофе ме?', 4, 0, '2022-01-27 05:06:17', '2022-01-27 11:13:47'), (11, 'Шопинг или спа?', 'Шопинг па, спа ма?', 4, 0, '2022-01-27 05:06:17', '2022-01-27 11:14:46'), (12, 'С подругой или с любимым?', 'Құрбыларыңмен бе, әлде сүйіктіңмен бе?', 4, 0, '2022-01-27 05:06:17', '2022-01-27 11:16:45'), (13, 'Природа или экскурсии?', 'Табиғат па, экскурсия ма?', 5, 0, '2022-01-27 05:06:17', '2022-01-27 11:18:07'), (14, 'Самолетом или на автомобиле?', 'Ұшақ па, әлде автокөлік пе?', 5, 0, '2022-01-27 05:06:17', '2022-01-27 11:19:13'), (15, 'Отели или уютные квартиры?', 'Қонақүй ме, әлде жайлы пәтер ме?', 5, 0, '2022-01-27 05:06:17', '2022-01-27 11:22:19');
<reponame>sapinheiro/aquarium-database-rails-project -- ========================================== -- EMPLOYEE -- ========================================== -- ------------------------------------------ -- Add a new employee -- ------------------------------------------ DROP PROCEDURE IF EXISTS addEmployee; DELIMITER // CREATE PROCEDURE addEmployee( fName varchar(45), lname varchar(45), salary double) BEGIN INSERT INTO EMPLOYEES (firstName, lastName, hiredDate, salary) VALUES (fName, lName, CURDATE(), salary); SELECT CONCAT('new employee "', fName, ' ', lName, '" added.') AS 'result'; END // DELIMITER ; -- ------------------------------------------ -- View all employees -- ------------------------------------------ DROP PROCEDURE IF EXISTS viewEmployees; DELIMITER // CREATE PROCEDURE viewEmployees() BEGIN SELECT * FROM employees ORDER BY lastName desc; END // DELIMITER ; -- ------------------------------------- -- filter employee by name -- ------------------------------------- DROP PROCEDURE IF EXISTS viewEmployeeRecord; DELIMITER // CREATE PROCEDURE viewEmployeeRecord(fName varchar(45), lName varchar(45)) BEGIN DECLARE notFound INT DEFAULT FALSE; SET notFound = (SELECT COUNT(*) FROM employees WHERE firstName = fName AND lastName = lName); SELECT * FROM employees WHERE firstName = fName AND lastName = lName; IF notFound = 0 THEN SELECT CONCAT('Employee ', fName, ' ', lName, ' not found.') AS 'result'; END IF; END // DELIMITER ; -- ------------------------------------- -- filter employee by salary range -- ------------------------------------- DROP PROCEDURE IF EXISTS viewEmployeesBySalary; DELIMITER // CREATE PROCEDURE viewEmployeesBySalary(low double, high double) BEGIN DECLARE notFound INT DEFAULT FALSE; SET notFound = (SELECT COUNT(*) FROM employees WHERE salary >= low AND salary <= high); SELECT * FROM employees WHERE salary >= low AND salary <= high ORDER BY salary desc; IF notFound = 0 THEN SELECT CONCAT('No employees with salaries in the given range.') AS 'result'; END IF; END // DELIMITER ; -- ------------------------------------------ -- update employee salary -- ------------------------------------------ DROP PROCEDURE IF EXISTS updateSalary; DELIMITER // CREATE PROCEDURE updateSalary(ID int, newSalary double) BEGIN DECLARE employeeExist INT DEFAULT 0; SET employeeExist = (SELECT COUNT(*) FROM employees WHERE ID = employeeID); UPDATE employees SET salary = newSalary WHERE employeeID = ID; IF employeeExist = 0 THEN SELECT CONCAT('Employee ', ID, ' does not exist') as 'result'; ELSEIF employeeExist = 1 THEN SELECT CONCAT('Employee ', ID, '''s Salary updated to ', newSalary) as 'result'; END IF; END // DELIMITER ; -- ------------------------------------------ -- update employee firstName -- ------------------------------------------ DROP PROCEDURE IF EXISTS updateFirstName; DELIMITER // CREATE PROCEDURE updateFirstName(ID int, newFName varchar(45)) BEGIN DECLARE employeeExist INT DEFAULT 0; SET employeeExist = (SELECT COUNT(*) FROM employees WHERE ID = employeeID); UPDATE employees SET firstName = newfName WHERE employeeID = ID; IF employeeExist = 0 THEN SELECT CONCAT('Employee ', ID, ' does not exist') as 'result'; ELSEIF employeeExist = 1 THEN SELECT CONCAT('Employee ', ID, '''s first name updated to ', newFName) as 'result'; END IF; END // DELIMITER ; -- ------------------------------------------ -- update employee firstName -- ------------------------------------------ DROP PROCEDURE IF EXISTS updateLastName; DELIMITER // CREATE PROCEDURE updateLastName(ID int, newLName varchar(45)) BEGIN DECLARE employeeExist INT DEFAULT 0; SET employeeExist = (SELECT COUNT(*) FROM employees WHERE ID = employeeID); UPDATE employees SET lastName = newLName WHERE employeeID = ID; IF employeeExist = 0 THEN SELECT CONCAT('Employee ', ID, ' does not exist') as 'result'; ELSEIF employeeExist = 1 THEN SELECT CONCAT('Employee ', ID, '''s last name updated to ', newLName) as 'result'; END IF; END // DELIMITER ; -- ------------------------------------------ -- delete employee by ID -- ------------------------------------------ DROP PROCEDURE IF EXISTS deleteEmployee; DELIMITER // CREATE PROCEDURE deleteEmployee(ID int) BEGIN DECLARE employeeExist INT DEFAULT 0; DECLARE sqlError TINYINT DEFAULT FALSE; DECLARE fName VARCHAR(45); DECLARE lName VARCHAR(45); DECLARE theHiredDate DATE; DECLARE theSalary double; DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET sqlError = TRUE; SET employeeExist = (SELECT COUNT(*) FROM employees WHERE ID = employeeID); SET fName = (SELECT firstName from employees where ID = employeeID); SET lName = (SELECT lastName from employees where ID = employeeID); SET theHiredDate = (SELECT hiredDate from employees where employeeID = ID); SET theSalary = (SELECT salary from employees where ID = employeeID); START TRANSACTION; INSERT INTO formerEmployees VALUES (ID, fName, lName, theHiredDate, CURDATE(), theSalary); DELETE FROM Employees WHERE ID = employeeID; IF sqlError = FALSE and employeeExist = 1 THEN COMMIT; SELECT CONCAT('Employee ', ID, ' no longer listed as current employee') as 'result'; ELSE ROLLBACK; SELECT CONCAT('cannot remove employee ', ID, '.') as 'result'; END IF; END // DELIMITER ;
ALTER TABLE `nets_emp_info` CHANGE `POS_CODE` `POS_CODE` VARCHAR(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `LOC_CODE` `LOC_CODE` VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `GRP_CODE` `GRP_CODE` VARCHAR(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `DEPT_CODE` `DEPT_CODE` VARCHAR(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `PRESENT_ADDR1` `PRESENT_ADDR1` VARCHAR(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, CHANGE `PRESENT_ADDR2` `PRESENT_ADDR2` VARCHAR(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, CHANGE `MOBILE_NO` `MOBILE_NO` VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `TEL_NO` `TEL_NO` VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, CHANGE `TEAM` `TEAM` VARCHAR(5) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
<reponame>DataGenSoftware/Sql.Net CREATE SYNONYM [SqlNet].[TimeOfDay] FOR [SqlNet].[DateTimeTimeOfDay];
create table roles ( id_role integer not null primary key, name_role varchar(20) not null ); create table genre ( id_genre integer not null primary key auto_increment, name_of_genre varchar(100) not null ); create table series ( id_series integer not null primary key, status integer(1) not null, year integer null, age_rating integer null, studio varchar(200) null, producer varchar(200) null, type integer(1) not null, count_of_series integer not null, type_of_translation varchar(200) null, voiceOver varchar(200) null, description text null, length_of_series integer not null ); create table series_genre( id_series_genre integer not null primary key auto_increment, id_series integer not null, id_genre integer not null, foreign key (id_series) references series(id_series) on update cascade on delete no action, foreign key (id_genre) references genre(id_genre) on update cascade on delete no action ); create table series_name ( id_series_name integer not null primary key auto_increment, id_series integer not null, name_of_series varchar(200) not null, foreign key (id_series) references series(id_series) on update cascade on delete no action ); create table series_img ( id_series_img integer not null primary key auto_increment, id_series integer not null, path_to_img text not null, foreign key (id_series) references series(id_series) on update cascade on delete no action ); create table users ( id_user integer not null primary key auto_increment, id_role integer not null, username varchar(20) not null, password varchar(200) not null, access_token varchar(200) not null, refresh_token varchar(200) not null, date_of_registration varchar(40) not null, gender varchar(1) null, date_of_borth varchar(40) null, foreign key (id_role) references roles(id_role) on update cascade on delete no action ); create table user_series ( id_user_series integer not null primary key auto_increment, id_user integer not null, id_series integer not null, foreign key (id_user) references users(id_user) on update cascade on delete no action, foreign key (id_series) references series(id_series) on update cascade on delete no action );
-- Revert yabon-prono:rebuild-table-v2 from pg BEGIN; DROP TABLE bet, match, bookmaker, comment, "user"; COMMIT;
CREATE PROCEDURE `SEQUENCER_GETSEQUENCE`(IN P_TECHNICALNAME VARCHAR(120)) MODIFIES SQL DATA SQL SECURITY INVOKER BEGIN DECLARE sequence INT DEFAULT 1; START TRANSACTION; IF NOT EXISTS (SELECT SEQ FROM SEQUENCER WHERE TECHNICALNAME = P_TECHNICALNAME) THEN INSERT INTO SEQUENCER (TECHNICALNAME, SEQ) VALUES (P_TECHNICALNAME, 2); SELECT 1; ELSE SELECT @sequence:=SEQUENCER.SEQ FROM SEQUENCER WHERE TECHNICALNAME = P_TECHNICALNAME FOR UPDATE; UPDATE SEQUENCER SET SEQ = @sequence + 1 WHERE TECHNICALNAME = P_TECHNICALNAME; SELECT @sequence; END IF; COMMIT; END;
SELECT * FROM foo', array('where' => array(Query::APPEND => array('abc = 10')))); SELECT * FROM relatie WHERE id IN (#sub1) AND status = 1", "SELECT relatie_id FROM relatie_groep SELECT id, description FROM `test` WHERE (`status` = 1) AND (id > 10) GROUP BY type_id HAVING SUM(qty) > 10 UPDATE phpunit_test SET description=NULL WHERE status=10 SELECT * FROM phpunit_test WHERE description="This is a \\"test\\"\\nWith another line"', QuerySplitter::bind('SELECT * FROM phpunit_test WHERE description=?', array('This is a "test"' . "\n" . 'With another line'))); SELECT id, description FROM `abc` WHERE xy > 10 SELECT id, description FROM `test` LIMIT 50 OFFSET 30 SELECT id, description FROM `test` SELECT id, description FROM `test` GROUP BY `test1`, `test2`, `test3` SELECT COUNT(*) FROM (SELECT * FROM foo GROUP BY abc, xyz HAVING COUNT(*) > 10) AS q SELECT id, description FROM `test` RIGHT JOIN `abc` ON `test`.`id` = `abc`.`idTest` WHERE xy > 10 SELECT * FROM phpunit_test WHERE status=33.7', QuerySplitter::bind("SELECT * FROM phpunit_test WHERE status=?", array(33.7))); SELECT abc, def, id, xyz FROM pan (foo INNER JOIN bar ON foo.id=bar.foo_id) LEFT JOIN ON pan.foo_id=foo.id WHERE (abc = 10) AND (foo.id > 30) AND (xyz = 30) GROUP BY def, bar.type HAVING (count(*) > 2) AND (x=y) ORDER BY pan.type, foo.id, def'); SELECT id, abc, def, xyz FROM foo INNER JOIN bar ON foo.id=bar.foo_id LEFT JOIN pan ON foo.id=pan.foo_id WHERE (abc = 10) AND (xyz = 30) GROUP BY def HAVING count(*) > 2 ORDER BY pan.type, def LIMIT 10 OFFSET 50'); SELECT COUNT(*) FROM foo SELECT * FROM relatie LEFT JOIN (SELECT relatie_id, COUNT(*) FROM contactpersoon) AS con_cnt ON relatie.id = con_cnt.relatie_id WHERE id IN (SELECT relatie_id FROM relatie_groep STRAIGHT JOIN (SELECT y, COUNT(x) FROM xy GROUP BY y) AS xy) AND status = 1 SELECT id FROM xy) AS subq FROM test SELECT id, desc FROM subt WHERE status='1' CASCADE ON PARENT id = relatie_id) AS subs FROM `test` INNER JOIN (SELECT * FROM abc WHERE i = 1 GROUP BY x) AS abc WHERE abc.x IN (1,2,3,6,7) AND qq!='(SELECT)' ORDER BY abx.dd SELECT * FROM foo INNER JOIN bar ON foo.id = bar.foo_id WHERE abc = 10 LIMIT 50 OFFSET 200 SELECT id, description FROM `test` WHERE id > 10 GROUP BY type_id HAVING SUM(qty) > 10 SELECT id, description FROM `test`; Please ignore this SELECT * FROM dude_import GROUP BY x_id WHERE status = 'OK' HAVING COUNT(*) > 1) AS dude_import ON `test`.ref = dude_import.ref WHERE status = 10"); SELECT id, description FROM `test` ORDER BY `name`, `description`, `checksum` SELECT * FROM relatie WHERE id IN (#sub2) AND status = 1", "SELECT relatie_id FROM relatie_groep SELECT * FROM phpunit_test WHERE description LIKE "%foo%"', QuerySplitter::bind('SELECT * FROM phpunit_test WHERE description LIKE %:desc%', array('desc' => 'foo'))); SELECT NULL, name FROM xyz WHERE type IN (SELECT type FROM tt GROUP BY type HAVING SUM(qn) > 10)"); SELECT abc FROM `xyz_link`) AND abc.y = def.id, qwerty) ON abc.id = MYFUNCT(10, 12, xyz.abc_id) STRAIGHT_JOIN tuf"); SELECT * FROM mytable WHERE name=:name AND age>:age AND status='A' SELECT NULL, name FROM xyz SELECT COUNT(*) FROM (" . (is_array($sql) ? self::join($sql) : $sql) . ") AS q SELECT * FROM relatie WHERE status = 1"); SELECT * FROM relatie WHERE status = 1 SELECT id, description FROM `test` INNER JOIN (SELECT * FROM abc WHERE i = 1 GROUP BY x) AS abc WHERE abc.x IN (1,2,3,6,7) AND qq!='(SELECT)' ORDER BY abx.dd SELECT id, desc FROM subt1 INNER JOIN (SELECT id, p_id, desc FROM subt2 INNER JOIN (SELECT id, p_id, myfunct(a, b, c) FROM subt3 WHERE x = 10) AS subt3 ON subt2.id = subt3.p_id) AS subt2 ON subt1.id = subt2.p_id WHERE status='1' CASCADE ON PARENT id = relatie_id) AS subs", 'from' => "`test` INNER JOIN (SELECT * FROM abc INNER JOIN (SELECT id, p_id, desc FROM subt2 INNER JOIN (SELECT id, p_id, myfunct(a, b, c) FROM subt3 WHERE x = 10) AS subt3 ON subt2.id = subt3.p_id) AS subt2 ON abc.id = subt2.p_id WHERE i = 1 GROUP BY x) AS abc", 'where' => "abc.x IN (1,2,3,6,7) AND qq!='(SELECT)' AND x_id IN (SELECT id FROM x)", 'group by' => '', 'having' => '', 'order by' => 'abx.dd', 'limit' => '10', 'options' => ''), array_map('trim', $parts)); SELECT A FROM B WHERE C ORDER BY D GROUP BY E HAVING X PROCEDURE Y LOCK IN SHARE MODE'", 'group by' => "my_dd", 'having' => "COUNT(1+3+xyz) < 100", 'order by' => '', 'limit' => "15, 30", 'options' => "FOR UPDATE"), array_map('trim', $parts)); SELECT id, desc FROM subt WHERE status='1' CASCADE ON PARENT id = relatie_id) AS subs", 'from' => "`test` INNER JOIN (SELECT * FROM abc WHERE i = 1 GROUP BY x) AS abc", 'where' => "abc.x IN (1,2,3,6,7) AND qq!='(SELECT)'", 'group by' => '', 'having' => '', 'order by' => 'abx.dd', 'limit' => '', 'options' => ''), array_map('trim', $parts)); SELECT id, description FROM `test` GROUP BY `parent_id` SELECT id, description FROM `test` LIMIT 12 SELECT id, description FROM `test` INNER JOIN `abc` SELECT id, description FROM `test` WHERE `id` >= 1 SELECT id, desc FROM xy) AS subq ON test.id = subq.id SELECT id, description FROM `test` WHERE `description` LIKE \"bea%\ SELECT * FROM abc WHERE i = 1 GROUP BY x) AS abc", 'where' => "abc.x IN (1,2,3,6,7) AND qq!='(SELECT)'", 'group by' => '', 'having' => '', 'order by' => 'abx.dd', 'limit' => '', 'options' => '')); SELECT * FROM phpunit_test WHERE status=10', QuerySplitter::bind("SELECT * FROM phpunit_test WHERE status=?", array(10))); SELECT id, description FROM `test` WHERE id > 10 SELECT id, description FROM `test` WHERE id > 10 GROUP BY type_id HAVING SUM(qty) > 10 ORDER BY xyz, `parent_id` SELECT id FROM whatever LIMIT 100)"); SELECT * FROM ufd.zzz AS `xyz` LEFT JOIN def ON abc.y = def.id, qwerty) AS xyz ON abc.id = MYFUNCT(10, 12, xyz.abc_id) STRAIGHT_JOIN tuf"); SELECT * FROM phpunit_test WHERE status=TRUE AND disabled=FALSE', QuerySplitter::bind("SELECT * FROM phpunit_test WHERE status=? AND disabled=?", array(true, false))); SELECT * FROM relatie WHERE id IN (SELECT relatie_id FROM relatie_groep) AND status = 1 SELECT * FROM dude_import GROUP BY x_id WHERE status = 'OK' HAVING COUNT(*) > 1) AS dude_import ON `test`.ref = dude_import.ref", 'where' => "status = 10", 'order by' => '', 'limit' => ''), array_map('trim', $parts)); SELECT id, description FROM `test` ORDER BY `parent_id` ASC SELECT id, description FROM `test` ORDER BY `parent_id` DESC SELECT * FROM foo GROUP BY abc, xyz HAVING COUNT(*) > 10 SELECT id, description FROM `test` LEFT JOIN x ON test.x_id = x.id SELECT id, description FROM `test`")); SELECT id, description FROM `abc` LEFT JOIN (`test` LEFT JOIN x ON test.x_id = x.id) ON `test`.`id` = `abc`.`idTest` SELECT aaa, zzz FROM abc `a` INNER JOIN ufd.zzz AS `xyz` ON abc.id = xyz.abc_id LEFT JOIN def ON abc.x IN (SELECT abc FROM `xyz_link`) AND abc.y = MYFUNCT(10, 12, xyz.abc_id) STRAIGHT_JOIN tuf, qwerty WHERE a='X FROM Y' SELECT * FROM foo GROUP BY abc, xyz SELECT * FROM relatie LEFT JOIN (#sub1) AS con_cnt ON relatie.id = con_cnt.relatie_id WHERE id IN (#sub2) AND status = 1", "SELECT relatie_id, COUNT(*) FROM contactpersoon", "SELECT relatie_id FROM relatie_groep STRAIGHT JOIN (#sub3) AS xy", "SELECT y, COUNT(x) FROM xy GROUP BY y SELECT id, desc FROM subt1 INNER JOIN (SELECT id, p_id, desc FROM subt2 INNER JOIN (SELECT id, p_id, myfunct(a, b, c) FROM subt3 WHERE x = 10) AS subt3 ON subt2.id = subt3.p_id) AS subt2 ON subt1.id = subt2.p_id WHERE status='1' CASCADE ON PARENT id = relatie_id) AS subs FROM `test` INNER JOIN (SELECT * FROM abc INNER JOIN (SELECT id, p_id, desc FROM subt2 INNER JOIN (SELECT id, p_id, myfunct(a, b, c) FROM subt3 WHERE x = 10) AS subt3 ON subt2.id = subt3.p_id) AS subt2 ON abc.id = subt2.p_id WHERE i = 1 GROUP BY x) AS abc WHERE abc.x IN (1,2,3,6,7) AND qq!='(SELECT)' AND x_id IN (SELECT id FROM x) ORDER BY abx.dd LIMIT 10 SELECT * FROM foo WHERE abc = 10'); SELECT id FROM foo INNER JOIN bar ON foo.id=bar.foo_id WHERE foo.id > 30 GROUP BY bar.type HAVING x=y ORDER BY foo.id', $add); SELECT NULL, name FROM xyz WHERE type IN (SELECT type FROM tt GROUP BY type HAVING SUM(qn) > 10) SELECT id FROM xy) AS subq"), $columns); SELECT abc FROM `xyz_link`) AND abc.y = MYFUNCT(10, 12, xyz.abc_id) STRAIGHT_JOIN tuf, qwerty"); SELECT id, description FROM `test` , `abc` WHERE xy > 10 SELECT * FROM phpunit_test WHERE description LIKE "%foo%"', QuerySplitter::bind('SELECT * FROM phpunit_test WHERE description LIKE %?%', array('foo'))); SELECT A FROM B WHERE C ORDER BY D GROUP BY E HAVING X PROCEDURE Y LOCK IN SHARE MODE' GROUP BY my_dd HAVING COUNT(1+3+xyz) < 100 LIMIT 15, 30 FOR UPDATE SELECT NULL, name FROM xyz"); SELECT id, description FROM `test` WHERE `xyz` BETWEEN 10 AND 12 select id, description from `test` SELECT id, description FROM `test` WHERE id > 10 GROUP BY type_id HAVING SUM(qty) > 10 ORDER BY `parent_id`, xyz SELECT id, description FROM `test` LIMIT 4, 10 SELECT * FROM foo LIMIT 10 SELECT id FROM whatever LIMIT 100)', 'limit' => ''), array_map('trim', $parts)); SELECT id, description FROM `test` LEFT JOIN `abc` ON `test`.`id` = `abc`.`idTest` WHERE xy > 10 SELECT A FROM B WHERE C ORDER BY D GROUP BY E HAVING X PROCEDURE Y LOCK IN SHARE MODE'", 'group by' => "my_dd", 'having' => "COUNT(1+3+xyz) < 100", 'order by' => '', 'limit' => "15, 30", 'options' => "FOR UPDATE")); SELECT id, description FROM `test` WHERE (id > 10) AND (`status` = 1) GROUP BY type_id HAVING SUM(qty) > 10 SELECT id, description FROM (`test` LEFT JOIN x ON test.x_id = x.id) LEFT JOIN `abc` ON `test`.`id` = `abc`.`idTest` SELECT id, description FROM `test` WHERE (`status` = 1) AND (`xyz` = 1) GROUP BY type_id HAVING SUM(qty) > 10 SELECT * FROM phpunit_test WHERE description IN ("test", 10, FALSE, "another test")', QuerySplitter::bind('SELECT * FROM phpunit_test WHERE description IN ?', array(array("test", 10, FALSE, "another test")))); SELECT id, description FROM `test` LIMIT 10 SELECT * FROM ufd.zzz AS `xyz` LEFT JOIN def ON abc.y = def.id, qwerty)", "tuf" => "tuf"), $tables); SELECT id, description FROM `test` LIMIT 10 OFFSET 30 SELECT COUNT(*) FROM foo INNER JOIN bar ON foo.id = bar.foo_id WHERE abc = 10 SELECT id, description FROM `test` WHERE `status` = 1 SELECT id, description FROM `test` WHERE id > 10 GROUP BY type_id, `parent_id` HAVING SUM(qty) > 10 SELECT * FROM phpunit_test WHERE description="This is a \\"test\\""', QuerySplitter::bind('SELECT * FROM phpunit_test WHERE description=?', array('This is a "test"'))); SELECT id, description FROM `test` INNER JOIN `xyz` SELECT * FROM relatie WHERE id IN (SELECT relatie_id FROM relatie_groep) AND status = 1"); SELECT * FROM foo INNER JOIN bar ON foo.id = bar.foo_id WHERE abc = 10 LIMIT 50 SELECT id FROM foo', $add); SELECT id, description FROM `test` WHERE id > 10 GROUP BY type_id HAVING SUM(qty) > 10 ORDER BY xyz SELECT id, description FROM `test` WHERE id > 10 GROUP BY type_id HAVING SUM(qty) > 10 ORDER BY `parent_id` SELECT id, description FROM `test` WHERE `xyz` IN (\"a\", \"b\", \"c\") SELECT NULL, name FROM xyz WHERE type IN (SELECT type FROM tt GROUP BY type HAVING SUM(qn) > 10)", $sql); SELECT id, description FROM `test` WHERE (id > 10) AND (`xyz` = 10 OR `abc` = 20) SELECT id, description FROM `test` WHERE id > 10 GROUP BY type_id HAVING (SUM(qty) > 10) AND (`status` = 1) SELECT * FROM foo LEFT JOIN bar ON foo.bar_id = bar.id WHERE active = 1 LIMIT 25 SELECT * FROM foo SELECT id, description FROM `test` WHERE xy > 10 SELECT id, description FROM `test` INNER JOIN `abc` ON `test`.`id` = `abc`.`idTest` SELECT * FROM $name SELECT * FROM mytable WHERE id=? AND status=? SELECT NULL, name FROM xyz", $sql);
<filename>schema.sql -- run the below to create your database -- createdb cinema_quest -- psql -d cinema_quest -f schema.sql DROP TABLE IF EXISTS movies; CREATE TABLE movies ( id SERIAL PRIMARY KEY, title VARCHAR(255), overview TEXT, thumbnail VARCHAR(255), release_date VARCHAR(255), vote_average VARCHAR(255), comment TEXT ); INSERT INTO movies (title, overview, thumbnail, release_date, vote_average, comment) VALUES ( 'My Awesome Title', 'My awesome overview of this Awesome Movie', 'Awesome_thumbnail_of_the_Awesome_Movie.png', '2099-12-31', '9.25', 'this movie is awesome!!!' );
-- phpMyAdmin SQL Dump -- version 4.2.12deb2+deb8u1 -- http://www.phpmyadmin.net -- -- 主機: localhost -- 產生時間: 2016 年 04 月 12 日 15:17 -- 伺服器版本: 5.5.44-0+deb8u1 -- PHP 版本: 5.6.19-0+deb8u1 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 */; -- -- 資料庫: `sensor_data` -- CREATE DATABASE IF NOT EXISTS `sensor_data` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; USE `sensor_data`; DELIMITER $$ -- -- Procedure -- DROP PROCEDURE IF EXISTS `archive_records`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `archive_records`() insert into data_storage2 (sensor_id, datetime, txtdata) SELECT sensor_id, UNIX_TIMESTAMP(FROM_UNIXTIME(datetime,"%Y-%m-%d %H")) as datetime, avg(convert(txtdata ,UNSIGNED)) as txtdata FROM data_storage where sensor_id in (1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24) and datetime<=(UNIX_TIMESTAMP(now())-(24*7*60*60)) group by 2,1$$ DROP PROCEDURE IF EXISTS `delete_records`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `delete_records`() DELETE FROM data_storage where sensor_id in (1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24) and datetime<=(UNIX_TIMESTAMP(now())-(24*7*60*60))$$ DELIMITER ; -- -------------------------------------------------------- -- -- 資料表結構 `data_storage` -- DROP TABLE IF EXISTS `data_storage`; CREATE TABLE IF NOT EXISTS `data_storage` ( `id` int(10) NOT NULL, `sensor_id` int(6) NOT NULL, `datetime` int(13) NOT NULL, `txtdata` varchar(255) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=6098 DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- 資料表結構 `data_storage2` -- DROP TABLE IF EXISTS `data_storage2`; CREATE TABLE IF NOT EXISTS `data_storage2` ( `id` int(10) NOT NULL, `sensor_id` int(6) NOT NULL, `datetime` int(13) NOT NULL, `txtdata` int(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- 資料表結構 `sensor_list` -- DROP TABLE IF EXISTS `sensor_list`; CREATE TABLE IF NOT EXISTS `sensor_list` ( `id` int(6) NOT NULL, `idname` varchar(30) NOT NULL, `name` varchar(60) NOT NULL, `moredesc` varchar(250) NOT NULL, `type_id` tinyint(3) NOT NULL, `create_date` int(13) NOT NULL, `alarm_max` int(6) NOT NULL, `alarm_min` int(11) NOT NULL, `email_time` int(13) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- 資料表結構 `sensor_type` -- DROP TABLE IF EXISTS `sensor_type`; CREATE TABLE IF NOT EXISTS `sensor_type` ( `id` tinyint(3) NOT NULL, `name` varchar(30) NOT NULL, `unit` varchar(12) NOT NULL, `maxv` int(8) NOT NULL, `minv` int(8) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -- -- 已匯出資料表的索引 -- -- -- 資料表索引 `data_storage` -- ALTER TABLE `data_storage` ADD PRIMARY KEY (`id`), ADD KEY `sensor_id` (`sensor_id`,`datetime`), ADD KEY `datetime` (`datetime`), ADD KEY `sensor_id_2` (`sensor_id`); -- -- 資料表索引 `data_storage2` -- ALTER TABLE `data_storage2` ADD PRIMARY KEY (`id`), ADD KEY `sensor_id` (`sensor_id`,`datetime`), ADD KEY `datetime` (`datetime`), ADD KEY `sensor_id_2` (`sensor_id`); -- -- 資料表索引 `sensor_list` -- ALTER TABLE `sensor_list` ADD PRIMARY KEY (`id`), ADD KEY `idname` (`idname`); -- -- 資料表索引 `sensor_type` -- ALTER TABLE `sensor_type` ADD PRIMARY KEY (`id`); -- -- 在匯出的資料表使用 AUTO_INCREMENT -- -- -- 使用資料表 AUTO_INCREMENT `data_storage` -- ALTER TABLE `data_storage` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6098; -- -- 使用資料表 AUTO_INCREMENT `data_storage2` -- ALTER TABLE `data_storage2` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT; -- -- 使用資料表 AUTO_INCREMENT `sensor_list` -- ALTER TABLE `sensor_list` MODIFY `id` int(6) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=14; -- -- 使用資料表 AUTO_INCREMENT `sensor_type` -- ALTER TABLE `sensor_type` MODIFY `id` tinyint(3) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=12; INSERT INTO `sensor_type` (`id`, `name`, `unit`, `maxv`, `minv`) VALUES (1, '溫度', '°C', 60, 0), (2, '溼度', '%', 100, 0), (3, '漏水', '%', 100, 0), (4, '煙霧', 'ppm', 1000, 0), (5, '一氧化碳', 'ppm', 1000, 0), (6, '瓦斯', 'ppm', 2000, 0), (7, 'PM1.0', 'ug/m3', 100, 0), (8, 'PM2.5', 'ug/m3', 100, 0), (9, 'PM10', 'ug/m3', 100, 0), (10, 'CO2', 'ppm', 2000, 0), (11, '光照度', 'Lux', 300, 0); /*!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 TRIGGER_CATALOG, TRIGGER_SCHEMA, TRIGGER_NAME, EVENT_MANIPULATION, EVENT_OBJECT_CATALOG, EVENT_OBJECT_SCHEMA, EVENT_OBJECT_TABLE, ACTION_ORDER, ACTION_CONDITION, ACTION_STATEMENT, ACTION_ORIENTATION, ACTION_TIMING, ACTION_REFERENCE_OLD_TABLE, ACTION_REFERENCE_NEW_TABLE, ACTION_REFERENCE_OLD_ROW, ACTION_REFERENCE_NEW_ROW, CREATED, SQL_MODE, DEFINER, CHARACTER_SET_CLIENT, COLLATION_CONNECTION, DATABASE_COLLATION FROM information_schema.TRIGGERS WHERE TRIGGER_SCHEMA = ?
<gh_stars>1-10 CREATE TABLE child_event ( id String, end_time Nullable(String), start_time Nullable(String), ticket_uri Nullable(String) ) ENGINE = Log
-- file:object_address.sql ln:8 expect:true RESET client_min_messages
<filename>src/SFA.DAS.EmployerIncentives.Database/Views/BusinessApplicationsDashboard.sql CREATE VIEW [dbo].[BusinessApplicationsDashboard] AS select month(PlannedStartDate) as [Planned Start Month], year(PlannedStartDate) as [Planned Start Year], count(distinct(iaa.IncentiveApplicationId)) as Applications, avg(cast(Learners as float)) as [Mean learners per app], count(Learners) as [Num Learners], sum(iaa.TotalIncentiveAmount) as [Total Value], sum(case when iaa.TotalIncentiveAmount < '2000.00' then iaa.TotalIncentiveAmount else 0 end) as [<£2000], sum(case when iaa.TotalIncentiveAmount >= '2000.00' then iaa.TotalIncentiveAmount else 0 end) as [>=£2000] from [dbo].[IncentiveApplicationApprenticeship] iaa left join [dbo].[IncentiveApplication] ia on ia.Id=iaa.IncentiveApplicationId left join (SELECT [IncentiveApplicationId], count(*) as Learners, status FROM [dbo].[IncentiveApplicationApprenticeship] iaa2 left join [dbo].[IncentiveApplication] ia2 on ia2.Id=iaa2.IncentiveApplicationId group by [IncentiveApplicationId], status ) q on q.IncentiveApplicationId = iaa.IncentiveApplicationId where q.status = 'Submitted' group by month(PlannedStartDate), year(PlannedStartDate)
<filename>omnichannel/commerce-platform/scripts/database-queries/Assets_Management.sql<gh_stars>0 -- PRODUCTO POR CODIGO DE INTERNET SELECT PRODUCT_ID FROM ATGDB_PUB.GN_PRD_ATTR WHERE 1 = 1 AND ATTRIBUTE_NAME = 'CODIGO_INTERNET' AND ATTRIBUTE_VALUE = '565802' GROUP BY PRODUCT_ID -- -------- -- PRODUCTO POR PRODUCTO ID SELECT * FROM ATGDB_PUB.DCS_PRODUCT WHERE 1 = 1 AND PRODUCT_ID = '151684' AND IS_HEAD = 1 -- -------- -- GN PRODUCTO POR PRODUCTO ID SELECT GN_P.* FROM ATGDB_PUB.GN_PRODUCT GN_P INNER JOIN ATGDB_PUB.DCS_PRODUCT P ON P.PRODUCT_ID = GN_P.PRODUCT_ID AND P.ASSET_VERSION = GN_P.ASSET_VERSION WHERE 1 = 1 AND P.PRODUCT_ID = '151684' AND P.IS_HEAD = 1 -- -------- -- SKUS POR PRODUCTO ID SELECT S.* FROM ATGDB_PUB.DCS_SKU S INNER JOIN ATGDB_PUB.DCS_PRD_CHLDSKU PCS ON PCS.SKU_ID = S.SKU_ID AND PCS.SEC_ASSET_VERSION = S.ASSET_VERSION INNER JOIN ATGDB_PUB.DCS_PRODUCT P ON P.PRODUCT_ID = PCS.PRODUCT_ID AND P.ASSET_VERSION = PCS.ASSET_VERSION WHERE 1 = 1 AND P.PRODUCT_ID = '151684' AND P.IS_HEAD = 1 -- -------- -- INVENTARIO TOTAL POR SKU SELECT * FROM ATGDB_CORE.DCS_INVENTORY WHERE INVENTORY_ID LIKE 'inv_no_location' || '151684' || '%' -- -------- -- INVENTARIO POR LOCALIDAD SELECT * FROM ATGDB_CORE.DCS_INVENTORY WHERE INVENTORY_ID LIKE '%' || '151684' || '%' -- -------- -- TABLAS DE ASSETS SELECT P.* FROM ATGDB_PUB.DCS_PRODUCT P WHERE P.IS_HEAD = 1 AND P.PRODUCT_ID = '154470' SELECT PPC.* FROM ATGDB_PUB.DCS_PRD_PRNT_CATS PPC WHERE PPC.PRODUCT_ID = '159231' AND PPC.ASSET_VERSION >= 1 SELECT PCS.* FROM ATGDB_PUB.DCS_PRD_CHLDSKU PCS WHERE PCS.PRODUCT_ID = '156761' AND PCS.ASSET_VERSION >= 10 SELECT CCP.* FROM ATGDB_aPUB.DCS_CAT_CHLDPRD CCP WHERE CCP.CHILD_PRD_ID = '159231' AND CCP.SEC_ASSET_VERSION >= 1 SELECT GN_P.* FROM ATGDB_PUB.GN_PRODUCT GN_P WHERE GN_P.PRODUCT_ID = '159231' AND GN_P.ASSET_VERSION >= 1 SELECT GN_PA.* FROM ATGDB_PUB.GN_PRD_ATTR GN_PA WHERE GN_PA.PRODUCT_ID = '154470' AND GN_PA.ASSET_VERSION >= 25 SELECT S.* FROM ATGDB_PUB.DCS_SKU S WHERE S.IS_HEAD = 1 AND SKU_ID LIKE '150141%' SELECT M.* FROM ATGDB_PUB.DBC_MEASUREMENT M WHERE SKU_ID LIKE '150141%' AND ASSET_VERSION >= 3 SELECT GN_S.* FROM ATGDB_PUB.GN_SKU GN_S WHERE GN_S.SKU_ID LIKE '150141%' AND ASSET_VERSION >= 3 SELECT C.* FROM ATGDB_PUB.DCS_CATEGORY C WHERE C.IS_HEAD = 1 AND C.CATEGORY_ID = '1030201' SELECT CCC.* FROM ATGDB_PUB.DCS_CAT_CHLDCAT CCC WHERE CCC.CHILD_CAT_ID = '1030201' AND SEC_ASSET_VERSION >= 400 SELECT CC.* FROM ATGDB_PUB.DCS_CAT_CATALOGS CC WHERE CC.CATEGORY_ID = '1030201' AND ASSET_VERSION >= 400 SELECT CS.* FROM ATGDB_PUB.DCS_CATEGORY_SITES CS WHERE CS.CATEGORY_ID = '1030201' AND ASSET_VERSION >= 400 SELECT CCP.* FROM ATGDB_PUB.DCS_CAT_CHLDPRD CCP WHERE CCP.CATEGORY_ID = '1030201' AND ASSET_VERSION >= 400 -- --------
<filename>src/DML/CONSEGNA_FIXED_DML.sql -- Consegne relative a resi (stesso corriere, cf_acquirente, codice scontrino e data arrivo successiva nel caso del reso) INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('eqm728hkak', 'BRT', 'ARDGOL17J21F472A', 'jsk436sixX', '08-LUG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('lrl623cwpe', 'BRT', 'ARDGOL17J21F472A', 'jsk436sixX', '10-LUG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ejl980jadh', 'GLS', 'MAIKLI69G42U727A', 'nta638wtr4', '20-AGO-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('fih353gjqx', 'GLS', 'MAIKLI69G42U727A', 'nta638wtr4', '22-AGO-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('znr100zcdc', 'SDA', 'KELSLO35C89J478S', 'qny324zxx0', '10-MAR-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('kgu036xhip', 'SDA', 'KELSLO35C89J478S', 'qny324zxx0', '13-MAR-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('svk435odeo', 'UPS', 'JANPIM55E82X490S', 'kya309ifrJ', '05-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('uou942auqk', 'UPS', 'JANPIM55E82X490S', 'kya309ifrJ', '08-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('cok488kjli', 'GLS', 'JACWAL81R24S933M', 'tyg504prcR', '06-FEB-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('rqr259tnif', 'GLS', 'JACWAL81R24S933M', 'tyg504prcR', '08-FEB-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('lle718xxby', 'Poste', 'ROSFUL03Z63E061F', 'kxp980qspV', '14-APR-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('wtw000epen', 'Poste', 'ROSFUL03Z63E061F', 'kxp980qspV', '16-APR-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('jes203zyji', 'GLS', 'LIZSWY78D50L839Z', 'tdr227vysV', '27-APR-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ivb642ctyd', 'GLS', 'LIZSWY78D50L839Z', 'tdr227vysV', '27-APR-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ftw157mtxj', 'BRT', 'OLEMAC39T94H944Z', 'wxk228yopG', '25-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('hzl841gojt', 'BRT', 'OLEMAC39T94H944Z', 'wxk228yopG', '27-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ywr432lwmm', 'TNT', 'CARTRE30U98P182V', 'sil369xcwL', '25-GEN-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('rcl428yeut', 'TNT', 'CARTRE30U98P182V', 'sil369xcwL', '26-GEN-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('znd956fzpx', 'GLS', 'JEFTAU18X76Z296I', 'oll599gev3', '15-OTT-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('itl984fgmt', 'GLS', 'JEFTAU18X76Z296I', 'oll599gev3', '17-OTT-2018', 0); --Consegne relative a ordini INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ucm827ofgt', 'Poste', 'ARIBER01V67Q986H', 'hfq242mfsJ', '16-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('giw022hyfs', 'BRT', 'DEABEA72Z50X567J', 'puw392gicA', '27-APR-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('bho091zoxl', 'GLS', 'HASBAU22R63Z580K', 'jta654tdzJ', '05-NOV-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('rbr429pqvx', 'UPS', 'ABEERR75N50M798Z', 'jde713tnnP', '05-NOV-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('pqz387hgsb', 'Poste', 'ELMJOR13S87D582O', 'gqy669kglL', '24-OTT-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('yhl909qojl', 'SDA', 'AERBOT87Z83F388B', 'wfz300zfnW', '11-GIU-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('drg942kxvm', 'SDA', 'ABAHIN82K74J620D', 'hgd506nejS', '25-GEN-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('rne402jksj', 'BRT', 'TORKYT46T20E436V', 'ldd906sbuG', '01-FEB-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('gpo390wxvg', 'GLS', 'JULHAR00K72I938C', 'snf567xwh2', '26-LUG-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('xxg358bhra', 'Poste', 'SYBOFF25Q13M387V', 'gzi865iavR', '01-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('jfe448rxfa', 'GLS', 'YVOPIR95A00N280J', 'rkv038hfr5', '19-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('lxt349hmeb', 'TNT', 'PALCRI30C31K752K', 'kdi080kcx0', '22-MAG-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ehj898mpkl', 'UPS', 'ABIHEU02T82Z198K', 'hkv803clnV', '27-GEN-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('djj780kzuc', 'UPS', 'JEFDO81R34Z644B', 'kcz211ibb3', '24-AGO-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('pae838byoj', 'Poste', 'ADRFIL04O77O042N', 'jjb170hymS', '16-SET-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('net132fhku', 'TNT', 'TERASH73F13Q250E', 'yxp795yhy3', '03-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('mdo135gssh', 'BRT', 'JOEWHE05D94B136B', 'rcu056ycoV', '27-FEB-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('wyk926zgvd', 'GLS', 'GILLAN07M20D538U', 'naq225jqcK', '27-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('cpa991fpgn', 'SDA', 'KATBOU31F10D540U', 'yov720oqtM', '27-AGO-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('vqg339yzxn', 'GLS', 'ALEWIG45Q08M795M', 'cfh138qwiO', '10-GIU-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('odj956pbnv', 'UPS', 'CASCON15Q42I309F', 'fhl463wltG', '18-FEB-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('bgs337azay', 'BRT', 'GLYTOP83I10F364M', 'zuh067sifB', '20-GEN-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('luv755muri', 'BRT', 'FLOHUG82C87E428X', 'yhw712ygpN', '30-GEN-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('kle105fzee', 'BRT', 'CHACRO56B63F668N', 'rcz761qtfU', '25-GEN-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('nrg794zsdq', 'Poste', 'REGKUB69D78B787I', 'kev201ogy6', '25-APR-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('qsf817jsva', 'SDA', 'JAVWRI33S80X746Q', 'ldk411tuhT', '23-MAG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('cds441pvgj', 'TNT', 'KIRBUR21S57V006J', 'bqz746bmpI', '02-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('uln898rzqi', 'UPS', 'ALVSIL47Q39W342G', 'xfd263heoO', '27-FEB-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ynh270uado', 'GLS', 'BURHES73B95J298X', 'eim435hzsQ', '12-NOV-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('tik545trks', 'Poste', 'KORCRE81D18W493P', 'vrh044yjrW', '10-DIC-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('nze464qhnx', 'SDA', 'CYDUF96F23D129L', 'znm175llh5', '29-MAG-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('fik536fmtr', 'Poste', 'CHRFAR56F46D912F', 'seq785kqh9', '16-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('dyw994gjmn', 'GLS', 'JEAMAC92Q91L310J', 'alb961squ3', '10-NOV-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('yba923ofuh', 'SDA', 'VALEDG49D46H917G', 'mws425ldd0', '13-SET-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('bbj488yjen', 'BRT', 'JACFRO99Z34J514M', 'rto064aqy5', '18-MAG-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('gtw032kiqq', 'Poste', 'WANCAT15N81O832M', 'eth722svaC', '09-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('gul809azsk', 'SDA', 'BROWAL71X67M066J', 'dcg041rdpU', '06-GIU-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('bar434qtmw', 'BRT', 'TERNAI17V10M320B', 'izu952qwsU', '02-SET-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('wbn804ajwx', 'TNT', 'JASSTE52I30O283P', 'cpz981aoeG', '06-GIU-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('jki818trza', 'SDA', 'NONRAS18F92L891T', 'eih607lhvH', '16-FEB-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('puf356chyr', 'UPS', 'FLOJER91T74I927V', 'auf276qlvW', '29-GIU-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('siy772gfgt', 'TNT', 'GREOEL23Q04U382J', 'lea347xzx0', '16-GIU-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('zjg808bfau', 'Poste', 'DASALL00I34V033J', 'pfg461essF', '25-FEB-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('pnu019waxc', 'GLS', 'LEMD95P78H825G', 'qea163nkv5', '10-OTT-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('pew981kudz', 'Poste', 'ASHTRA95A55T148B', 'wuj057pjpP', '29-APR-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('lef097uvry', 'TNT', 'LINMUL37V31D971K', 'ede370vjoQ', '14-OTT-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('mhg623qusq', 'TNT', 'CULBAI64U69G528L', 'ris359vyu2', '16-GEN-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('cdi973atgi', 'TNT', 'HARLOR04C94E170U', 'edk903yepZ', '06-NOV-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('jyi264dhsa', 'UPS', 'TRUVAS47F68O378H', 'rnb511jvsD', '06-LUG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('icw840gzeh', 'TNT', 'TRISCU38T71G037L', 'lfr740kesW', '08-GEN-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ppd432sbqa', 'TNT', 'FLYDOC18L35N846Z', 'qnx386milV', '19-DIC-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('uls547ybkb', 'BRT', 'EDISKI35B36I073O', 'qzs856yeaZ', '27-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('sqy199jdea', 'GLS', 'BETKEE46F54B543M', 'kro460ncxD', '05-GEN-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('byc500kimo', 'BRT', 'MICCAS10D32K942T', 'nmx849vvkT', '30-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ler432ocdt', 'BRT', 'IGGTOM01E66L878W', 'yqy358yzoT', '09-MAG-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('zwf569ystw', 'TNT', 'MARSAR68O33E188V', 'wvu657cwaY', '15-NOV-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('znw718jfrv', 'GLS', 'KIMOLL42J89E867L', 'xdf146wsyO', '06-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('vpg197kirs', 'UPS', 'CORGAM46X60B572Z', 'mxj625tapO', '08-MAG-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('qkb423iunm', 'SDA', 'CLABLA33X54D515J', 'cxy529fsz8', '12-MAG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('izb477sdcr', 'UPS', 'EDOHOW25Q26V437M', 'kja487clwD', '07-MAG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ugs671ufww', 'Poste', 'PERBAR58C77L347S', 'whs606nqsB', '21-MAG-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('bre114mkah', 'UPS', 'BEALEV72P41G636P', 'jnp060berE', '16-LUG-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ucz944vlmv', 'BRT', 'MARITS27A36Q413S', 'mag497oxtU', '07-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('jad514wkou', 'GLS', 'DICBRI01F40S545N', 'eqd950lnbA', '23-OTT-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('vib732fgke', 'TNT', 'YVEPIT24E54B160B', 'kqx930jij1', '09-GIU-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('wdq106ewtl', 'SDA', 'ABBARM72O27F757V', 'lln857rip6', '03-OTT-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('gkg717yjil', 'SDA', 'LEICRO49H33Q234J', 'iqq583nsfP', '04-AGO-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('hoc843cira', 'TNT', 'FELALD46Z01D783K', 'elq865ill1', '19-LUG-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('cpq161gsfb', 'SDA', 'AINPEY40M10L026L', 'kok396bjw4', '26-DIC-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('aiy268qjnf', 'TNT', 'ABBKIS77E82J490R', 'ffb222jmzT', '10-MAG-2020', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('jdj502paal', 'BRT', 'SYBMCC53F75B259Y', 'kag701iljK', '24-MAG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('mpy703cpoz', 'SDA', 'ILSSHI37L68F980C', 'uya612wdpX', '19-LUG-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('vux392gbws', 'UPS', 'AYMGIA59E04S895P', 'xvc779hyjF', '12-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('igg271fvoh', 'SDA', 'MARGAL46V80V459L', 'zgh098wdhF', '15-APR-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('hwj748qvsr', 'BRT', 'PRETHO14K35N288T', 'hsc542yfaF', '31-DIC-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('xfu937gqxa', 'TNT', 'RUTCAR62K29O226A', 'gyo277ejlE', '24-LUG-2018', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('mov307axcv', 'UPS', 'GEOEND72P73U995L', 'ofq823lphE', '29-LUG-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('voq735cuik', 'BRT', 'JEMRIL92R56A242R', 'yrg133kgmI', '06-DIC-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('lez546pteb', 'UPS', 'LIZREH87S90U538D', 'dcp093nkwM', '10-OTT-2019', 0); INSERT INTO CONSEGNA (cod_tracc, corriere, cf_acq_cons, cod_scon_cons, data_arrivo, costi_spedizione) VALUES ('ptr380aaix', 'TNT', 'ROXLYN42I83M007V', 'ims869dxy3', '13-GIU-2019', 0);
<gh_stars>0 CREATE TABLE IF NOT EXISTS users ( id serial NOT NULL PRIMARY KEY, username varchar(32) NOT NULL UNIQUE, password varchar(32) NOT NULL, biography varchar(32) ); CREATE TABLE IF NOT EXISTS user_aut ( username varchar(32) NOT NULL PRIMARY KEY, role varchar(32) NOT NULL );
INVALID TEST Disable trigger is not supported for Firebird https://docs.liquibase.com/change-types/disable-trigger.html
<reponame>jgillies/dbt-date<gh_stars>0 {% macro get_base_dates(start_date, end_date) %} with date_spine as ( {{ dbt_utils.date_spine( datepart="day", start_date="cast('" ~ start_date ~ "' as datetime)", end_date="cast('" ~ end_date ~ "' as datetime)", ) }} ) select d.date_day as day_date from date_spine d {% endmacro %}
<reponame>bcgov/cas-ciip-portal -- Verify ggircs-portal:database_functions/get_valid_applications_for_certifier on pg begin; select ggircs_portal_private.verify_function_not_present('ggircs_portal_private.get_valid_applications_for_certifier'); rollback;
<reponame>tobiasschaefer/TaskanaAdapter<filename>taskana-adapter-camunda-listener/src/main/resources/sql/oracle/taskana_outbox_schema_update_0.0.1_to_1.0.0_oracle.sql<gh_stars>1-10 -- this script updates the tables OUTBOX_SCHEMA_VERSION and event_store. ALTER SESSION SET CURRENT_SCHEMA = %schemaName%; INSERT INTO OUTBOX_SCHEMA_VERSION (VERSION, CREATED) VALUES ('1.0.0', CURRENT_TIMESTAMP); ALTER TABLE EVENT_STORE ADD (tmpdetails CLOB); UPDATE EVENT_STORE SET tmpdetails=PAYLOAD; COMMIT; ALTER TABLE EVENT_STORE DROP COLUMN PAYLOAD; ALTER TABLE EVENT_STORE RENAME COLUMN tmpdetails TO PAYLOAD; ALTER TABLE EVENT_STORE ADD (REMAINING_RETRIES INT DEFAULT 5 NOT NULL, BLOCKED_UNTIL TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL, ERROR VARCHAR(1000), CAMUNDA_TASK_ID VARCHAR(40));
<reponame>InsightsDev-dev/tajo select * from ( select a.id, b.c_name, a.code from customer b join ( select l_orderkey as id, 'lineitem' as code from lineitem union all select o_orderkey as id, 'order' as code from orders ) a on a.id = b.c_custkey ) c order by id, code
-- DISCLAIMER: -- This script is provided for educational purposes only. It is -- NOT supported by Oracle World Wide Technical Support. -- The script has been tested and appears to work as intended. -- You should always run new scripts initially -- on a test instance. set timing off set echo off set lines 400 pages 1000 set feedback 1 set pause off set echo on set autotrace off column plan_table_output format a150 set trims on PROMPT Connect to the Attribute Clusters/Zone Map Schema connect aczm12c/oracle_4U PURGE recyclebin / PROMPT Drop SALES table (if it exists) DROP TABLE sales / PROMPT Drop SALES_AC table (if it exists) DROP TABLE sales_ac / -- PROMPT Create the SALES fact table PROMPT This table will not have attribute clustering PROMPT or zone maps. We will use it to compare with PROMPT an attribute clustered table. -- CREATE TABLE sales AS SELECT * FROM sales_source WHERE 1 = -1 / -- PROMPT Create a SALES_AC fact table PROMPT The data will be the same as SALES PROMPT but it will be used to demontrate PROMPT attribute clustering and zone maps PROMPT in comparison to the standard SALES table. -- CREATE TABLE sales_ac AS SELECT * FROM sales_source WHERE 1 = -1 / -- PROMPT Here we enable linear ordered attribute clustering PROMPT We will simply order rows by location_id, product_id PROMPT To see the effects of attribute clustering in PROMPT isolation, we will not create a zone map. -- ALTER TABLE sales_ac ADD CLUSTERING BY LINEAR ORDER (location_id, product_id) WITHOUT MATERIALIZED ZONEMAP / set timing on -- PROMPT Insert data into standard table -- INSERT /*+ APPEND */ INTO sales SELECT * FROM sales_source / -- PROMPT Observe that insert plan is a simple insert -- SELECT * FROM TABLE(dbms_xplan.display_cursor) / COMMIT / -- PROMPT Insert data into attribute clustered table. PROMPT We must use a direct path operation to make PROMPT use of attribute clustering. PROMPT In real systems we will probably insert in PROMPT multiple batches: each batch of inserts will be PROMPT ordered appropriately. Later on, PROMPT if we want to re-order all rows into PROMPT tightly grouped zones we can, for example, use PROMPT partitioning and MOVE PARTITION to do this. PROMPT PROMPT Increased elapsed time is likely due PROMPT to the sort that is transparently performed to cluster PROMPT the data as it is inserted into the SALES_AC table. -- INSERT /*+ APPEND */ INTO sales_ac SELECT * FROM sales_source / -- PROMPT Observe the addition of "SORT ORDER BY" in the execution plan -- SELECT * FROM TABLE(dbms_xplan.display_cursor) / COMMIT / set timing off PROMPT Gather table statistics EXECUTE dbms_stats.gather_table_stats(ownname=>NULL,tabname=>'sales'); EXECUTE dbms_stats.gather_table_stats(ownname=>NULL,tabname=>'sales_ac');
-- -- OpenAPI Petstore. -- Prepared SQL queries for 'ApiResponse' definition. -- -- -- SELECT template for table `ApiResponse` -- SELECT `code`, `type`, `message` FROM `ApiResponse` WHERE 1; -- -- INSERT template for table `ApiResponse` -- INSERT INTO `ApiResponse`(`code`, `type`, `message`) VALUES (?, ?, ?); -- -- UPDATE template for table `ApiResponse` -- UPDATE `ApiResponse` SET `code` = ?, `type` = ?, `message` = ? WHERE 1; -- -- DELETE template for table `ApiResponse` -- DELETE FROM `ApiResponse` WHERE 0;
<reponame>Data-Learn/SQLforBeginers<filename>SQL-101 Modules/Module 3/Lesson 25/SQL файлы/SQL код из урока 25.sql --1) FROM --2) ON --3) JOIN --4) WHERE --5) GROUP BY --6) WITH CUBE or WITH ROLLUP --7) HAVING --8) SELECT --9) DISTINCT --10) ORDER BY --11) TOP USE [AdventureWorks2019]; --Следующий SQL запрос выбирает первые три записи из таблицы Sales.SalesOrderDetail SELECT TOP 3 * FROM Sales.SalesOrderDetail; --Следующий запрос с сортировкой по убыванию по OrderQty: SELECT TOP 3 * FROM Sales.SalesOrderDetail ORDER BY [OrderQty] DESC; --Следующий запрос с сортировкой по убыванию по OrderQty WITH TIES: SELECT TOP 3 WITH TIES * FROM Sales.SalesOrderDetail ORDER BY [OrderQty] DESC; --Следующий SQL инструкция выбирает ВСЕ значения из столбца «PersonType» в таблице «Person» SELECT ALL PersonType FROM Person.Person;​ --Аналогично SELECT PersonType FROM Person.Person;​ --Следующий SQL инструкция выбирает только УНИКАЛЬНЫЕ значения из столбца «PersonType» в таблице «Person» SELECT DISTINCT PersonType FROM Person.Person;​ --Следующий SQL запрос выбирает всех людей из города "LONDON" в таблице "Person.Address" SELECT * FROM Person.Address WHERE City = 'London';​ --Следующий SQL запрос выбирает всех людей с AddressID = 667 в таблице «Person.Address» SELECT * FROM Person.Address WHERE AddressID = 667;​ --Следующий SQL запрос выбирает все поля из таблицы «HumanResources.Employee», где JobTitle - «Design Engineer» И Gender - «M» SELECT * FROM HumanResources.Employee WHERE JobTitle='Design Engineer' AND Gender='M';​ --Следующий SQL запрос выбирает все поля из таблицы "HumanResources.Employee" JobTitle - "Design Engineer" ИЛИ "Senior Design Engineer" SELECT * FROM HumanResources.Employee WHERE JobTitle='Design Engineer' OR JobTitle='Senior Design Engineer';​ --Следующий SQL запрос выбирает все поля из таблицы "HumanResources.Employee", где Gender (пол) НЕ равен "F" (женский) ​ SELECT * FROM HumanResources.Employee WHERE NOT Gender='F';​ --или Gender!='F' или Gender<>'F' --Следующий SQL запрос выбирает все поля из таблицы «HumanResources.Employee», где Gender - «M» И JobTitle - «Design Engineer» ИЛИ «Senior Design Engineer» (используйте круглые скобки для формирования сложных выражений) SELECT * FROM HumanResources.Employee WHERE Gender='M' AND (JobTitle='Design Engineer' OR JobTitle='Senior Design Engineer'); --Следующий SQL запрос выбирает все города из таблицы «Person.Address», отсортированные по столбцу «City» SELECT AddressID, City FROM Person.Address ORDER BY City; --Следующий SQL запрос выбирает весь город из таблицы «Person.Address», отсортированные по столбцу «City» по убыванию SELECT AddressID, City FROM Person.Address ORDER BY City DESC; --Следующий SQL запрос выбирает весь город из таблицы «Person.Address», отсортированные по двум столбцам --Вариант 1 SELECT AddressID, City FROM Person.Address ORDER BY AddressID, City; --Вариант 2 SELECT AddressID, City FROM Person.Address ORDER BY City, AddressID; --Следующий SQL запрос выводит записи со значением NULL в поле «AddressLine1» или «AddressLine2» SELECT * FROM Person.Address WHERE AddressLine1 IS NULL OR AddressLine2 IS NULL; --Следующий SQL запрос выводит записи со значением NOT NULL в поле «AddressLine2» SELECT * FROM Person.Address WHERE AddressLine2 IS NOT NULL; --Следующий инструкция SQL выбирает первые 50% записей из таблицы «Sales.SalesOrderDetail» SELECT TOP 50 PERCENT * FROM Sales.SalesOrderDetail;​ --Следующий SQL запрос находит самую дешевую цену продукта SELECT MIN(UnitPrice) AS SmallestPrice FROM Sales.SalesOrderDetail;​ --Следующий SQL запрос находит самую дорогую цену продукта SELECT MAX(UnitPrice) AS LargestPrice FROM Sales.SalesOrderDetail;​ --Следующий SQL запрос находит количество продуктов SELECT COUNT(ProductID) FROM Sales.SalesOrderDetail; --Следующий SQL запрос находит количество уникальных продуктов SELECT COUNT(DISTINCT ProductID) FROM Sales.SalesOrderDetail; --Следующий SQL запрос выводит просто список идентификаторов продуктов SELECT ProductID FROM Sales.SalesOrderDetail; --Следующий SQL запрос находит среднюю цену всех продуктов SELECT AVG(UnitPrice) AS AveragePrice FROM Sales.SalesOrderDetail;​ --Следующий SQL запрос находит сумму поля «Price» в таблице «Sales.SalesOrderDetail» SELECT SUM(UnitPrice) AS TotalPrice FROM Sales.SalesOrderDetail;​ --Следующий SQL запрос выбирает всех людей с JobTitle, которая начинается с "a" SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle LIKE 'a%'; --Следующий SQL запрос выбирает всех людей с JobTitle, которая начинается с "a" и имеет четвертую букву l SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle LIKE 'a__l%'; --Следующий SQL запрос выбирает всех людей с JobTitle, которая заканчивается на "r" SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle LIKE '%r'; --Следующий SQL запрос выбирает всех людей с JobTitle, у которых в названии есть буквосочетание «or» в любой позиции SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle LIKE '%or%'; --Следующий SQL запрос выбирает всех людей с JobTitle, которая НЕ начинается с "a" SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle NOT LIKE 'a%'; --Следующий SQL запрос выбирает всех людей с JobTitle, которая начинается с "a" или "d" SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle NOT LIKE '[AD]%'; --Следующий SQL запрос выбирает всех людей с JobTitle, которая НЕ начинается с "a" или "d" SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle NOT LIKE '[^AD]%'; --Следующий SQL запрос выбирает всех людей с JobTitle, которая начинается на буквы в диапазоне с "a" до "d" SELECT JobTitle FROM HumanResources.Employee WHERE JobTitle NOT LIKE '[A-D]%'; --Следующий SQL запрос выбирает всех работников, которые являются «Engineering Manager», «Senior Design Engineer» или «Design Engineer» SELECT * FROM HumanResources.Employee WHERE JobTitle IN ('Engineering Manager', 'Senior Design Engineer', 'Design Engineer');​ --Следующий SQL запрос выбирает всех работников, которые НЕ являются «Engineering Manager», «Senior Design Engineer» или «Design Engineer» SELECT * FROM HumanResources.Employee WHERE JobTitle IN ('Engineering Manager', 'Senior Design Engineer', 'Design Engineer'); --Следующий SQL запрос выбирает все продукты с ценой между 10 и 100 включительно SELECT * FROM Sales.SalesOrderDetail WHERE UnitPrice BETWEEN 10 AND 100;​ --Следующий SQL запрос создает псевдоним Price для столбца UnitPrice SELECT UnitPrice AS Price FROM Sales.SalesOrderDetail;​ --Следующий SQL запрос выбирает все продукты с информацией о цене за единицу SELECT P.Name, SOD.UnitPrice FROM Sales.SalesOrderDetail AS SOD INNER JOIN Production.Product AS P ON SOD.ProductID = P.ProductID ORDER BY P.Name; --Следующий SQL запрос выберет все продукты и любую цену, которую они могут иметь SELECT P.Name, SOD.UnitPrice FROM Production.Product AS P LEFT JOIN Sales.SalesOrderDetail AS SOD ON SOD.ProductID = P.ProductID ORDER BY P.Name; --Следующий SQL запрос вернет всех сотрудников и все заказы, которые они могли сделать SELECT P.Name, PCH.StandardCost FROM Production.ProductCostHistory AS PCH RIGHT JOIN Production.Product AS P ON PCH.ProductID = P.ProductID ORDER BY P.Name; --Следующий SQL запрос выбирает всех клиентов и все заказы SELECT P.Name, SOD.UnitPrice FROM Production.Product AS P FULL OUTER JOIN Sales.SalesOrderDetail AS SOD ON SOD.ProductID = P.ProductID ORDER BY P.Name; --FULL OUTER JOIN - это сумма результатов запросов INNER JOIN + LEFT JOIN + RIGHT JOIN --INNER JOIN SELECT P.Name, SOD.UnitPrice FROM Production.Product AS P INNER JOIN Sales.SalesOrderDetail AS SOD ON SOD.ProductID = P.ProductID ORDER BY P.Name; --LEFT JOIN SELECT P.Name, SOD.UnitPrice FROM Production.Product AS P LEFT JOIN Sales.SalesOrderDetail AS SOD ON SOD.ProductID = P.ProductID WHERE SOD.ProductID IS NULL ORDER BY P.Name; --RIGHT JOIN SELECT P.Name, SOD.UnitPrice FROM Production.Product AS P RIGHT JOIN Sales.SalesOrderDetail AS SOD ON SOD.ProductID = P.ProductID WHERE P.ProductID IS NULL ORDER BY P.Name; --Следующий SQL запрос сопоставляет Business Entit, которые находятся в том же месте SELECT A.BusinessEntityId AS PersonName1, B.BusinessEntityId AS PersoName2, A.AddressId FROM Person.BusinessEntityAddress A, Person.BusinessEntityAddress B WHERE A.BusinessEntityId <> B.BusinessEntityId AND A.AddressId = B.AddressId ORDER BY A.AddressId; --Следующий SQL запросе указано количество BusinessEntity в каждом Location SELECT COUNT(BusinessEntityId), AddressId FROM Person.BusinessEntityAddress GROUP BY AddressId; --В следующем SQL запросе указано количество BusinessEntity в разделении по Gender SELECT COUNT(BusinessEntityId), Gender FROM HumanResources.Employee GROUP BY Gender; --В следующем SQL запросе указано количество отделов в каждой группе. Включены только те группы, в которых больше или равно 5 отделов SELECT COUNT(DepartmentId), GroupName FROM HumanResources.Department GROUP BY GroupName HAVING COUNT(DepartmentId) >= 5; --Следующий SQL запрос упорядочит OrderId по количеству. SELECT SalesOrderID, OrderQty, CASE WHEN OrderQty < 2 THEN 'The quantity the quantity is too small' WHEN OrderQty > 2 THEN 'The quantity is OK' ELSE 'The quantity is 2' END AS QuantityText FROM Sales.SalesOrderDetail; --Автоувеличение номера строки CREATE TABLE Students (​ StudentId INT IDENTITY(1,1) PRIMARY KEY,​ LastName VARCHAR(255) NOT NULL,​ FirstName VARCHAR(255),​ Age INT);​ SELECT * FROM [dbo].[Students]; INSERT INTO dbo.Students (FirstName, LastName) VALUES ('Ivan','Ivanov'); INSERT INTO dbo.Students (FirstName, LastName, Age) VALUES ('John','Orlov', 56); --Что произойдет если выполнить следующий запрос? INSERT INTO dbo.Students (StudentId, FirstName, LastName) VALUES (3,'Iryna','Ivanova'); --При этом следюущий запрос сработает INSERT INTO dbo.Students (FirstName, LastName) VALUES ('Iryna','Ivanova');
<gh_stars>0  CREATE TABLE Country ( primaryKey UUID NOT NULL, Name VARCHAR(255) NOT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE Book ( primaryKey UUID NOT NULL, Name VARCHAR(255) NOT NULL, Capacity INT NOT NULL, Annotation VARCHAR(255) NULL, Agenda VARCHAR(255) NULL, PicturesAuthor VARCHAR(255) NULL, Reaction VARCHAR(255) NULL, Copyright VARCHAR(255) NULL, LibraryCode VARCHAR(255) NULL, Tags VARCHAR(255) NULL, Theme VARCHAR(255) NULL, Topic VARCHAR(255) NULL, Corrector VARCHAR(255) NULL, Format VARCHAR(255) NULL, Font VARCHAR(255) NULL, PublishDate TIMESTAMP(3) NOT NULL, Bestseller BOOLEAN NOT NULL, Language UUID NOT NULL, Author UUID NOT NULL, Country UUID NULL, PRIMARY KEY (primaryKey)); CREATE TABLE Author ( primaryKey UUID NOT NULL, Name VARCHAR(255) NOT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE Language ( primaryKey UUID NOT NULL, Name VARCHAR(255) NOT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE STORMNETLOCKDATA ( LockKey VARCHAR(300) NOT NULL, UserName VARCHAR(300) NOT NULL, LockDate TIMESTAMP(3) NULL, PRIMARY KEY (LockKey)); CREATE TABLE STORMSETTINGS ( primaryKey UUID NOT NULL, Module VARCHAR(1000) NULL, Name VARCHAR(255) NULL, Value TEXT NULL, "User" VARCHAR(255) NULL, PRIMARY KEY (primaryKey)); CREATE TABLE STORMAdvLimit ( primaryKey UUID NOT NULL, "User" VARCHAR(255) NULL, Published BOOLEAN NULL, Module VARCHAR(255) NULL, Name VARCHAR(255) NULL, Value TEXT NULL, HotKeyData INT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE STORMFILTERSETTING ( primaryKey UUID NOT NULL, Name VARCHAR(255) NOT NULL, DataObjectView VARCHAR(255) NOT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE STORMWEBSEARCH ( primaryKey UUID NOT NULL, Name VARCHAR(255) NOT NULL, "Order" INT NOT NULL, PresentView VARCHAR(255) NOT NULL, DetailedView VARCHAR(255) NOT NULL, FilterSetting_m0 UUID NOT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE STORMFILTERDETAIL ( primaryKey UUID NOT NULL, Caption VARCHAR(255) NOT NULL, DataObjectView VARCHAR(255) NOT NULL, ConnectMasterProp VARCHAR(255) NOT NULL, OwnerConnectProp VARCHAR(255) NULL, FilterSetting_m0 UUID NOT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE STORMFILTERLOOKUP ( primaryKey UUID NOT NULL, DataObjectType VARCHAR(255) NOT NULL, Container VARCHAR(255) NULL, ContainerTag VARCHAR(255) NULL, FieldsToView VARCHAR(255) NULL, FilterSetting_m0 UUID NOT NULL, PRIMARY KEY (primaryKey)); CREATE TABLE UserSetting ( primaryKey UUID NOT NULL, AppName VARCHAR(256) NULL, UserName VARCHAR(512) NULL, UserGuid UUID NULL, ModuleName VARCHAR(1024) NULL, ModuleGuid UUID NULL, SettName VARCHAR(256) NULL, SettGuid UUID NULL, SettLastAccessTime TIMESTAMP(3) NULL, StrVal VARCHAR(256) NULL, TxtVal TEXT NULL, IntVal INT NULL, BoolVal BOOLEAN NULL, GuidVal UUID NULL, DecimalVal DECIMAL(20,10) NULL, DateTimeVal TIMESTAMP(3) NULL, PRIMARY KEY (primaryKey)); CREATE TABLE ApplicationLog ( primaryKey UUID NOT NULL, Category VARCHAR(64) NULL, EventId INT NULL, Priority INT NULL, Severity VARCHAR(32) NULL, Title VARCHAR(256) NULL, Timestamp TIMESTAMP(3) NULL, MachineName VARCHAR(32) NULL, AppDomainName VARCHAR(512) NULL, ProcessId VARCHAR(256) NULL, ProcessName VARCHAR(512) NULL, ThreadName VARCHAR(512) NULL, Win32ThreadId VARCHAR(128) NULL, Message VARCHAR(2500) NULL, FormattedMessage TEXT NULL, PRIMARY KEY (primaryKey)); ALTER TABLE Book ADD CONSTRAINT FK52c1c9a11f89379943f4f0e14a558121c6d991f0 FOREIGN KEY (Language) REFERENCES Language; CREATE INDEX Index52c1c9a11f89379943f4f0e14a558121c6d991f0 on Book (Language); ALTER TABLE Book ADD CONSTRAINT FK4d8fed41c0305c83faf74e6eb2a0807966dbfd37 FOREIGN KEY (Author) REFERENCES Author; CREATE INDEX Index4d8fed41c0305c83faf74e6eb2a0807966dbfd37 on Book (Author); ALTER TABLE Book ADD CONSTRAINT FK83284a95f6bb529d76bfa0d89fd9c9e733e27da0 FOREIGN KEY (Country) REFERENCES Country; CREATE INDEX Index83284a95f6bb529d76bfa0d89fd9c9e733e27da0 on Book (Country); ALTER TABLE STORMWEBSEARCH ADD CONSTRAINT FKc4378e39870eb056aec84088683297a01d2a6200 FOREIGN KEY (FilterSetting_m0) REFERENCES STORMFILTERSETTING; ALTER TABLE STORMFILTERDETAIL ADD CONSTRAINT FK921d16269835017e2a0d0e29ad6fb175454a70d0 FOREIGN KEY (FilterSetting_m0) REFERENCES STORMFILTERSETTING; ALTER TABLE STORMFILTERLOOKUP ADD CONSTRAINT FKce38ef0db3f01a53acaa49fed8853fb941ad47ba FOREIGN KEY (FilterSetting_m0) REFERENCES STORMFILTERSETTING;
<reponame>giannini5/fields create table if not exists field ( id bigint auto_increment, facilityId bigint not NULL, name varchar(60) not NULL, enabled tinyint default 1, thirdPartyFieldId int default 0, PRIMARY KEY (id), unique index ux_facilityName(facilityId, name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*A few key terms in plans An index SCAN is where SQL server reads the whole of the index looking for matches - the time this takes is proportional to the size of the index. An index SEEK is where SQL server uses the b-tree structure of the index to seek directly to matching records (see http://mattfleming.com/node/192 for an idea on how this works) - time taken is only proportional to the number of matching records. * In general an index seek is preferable to an index scan (when the number of matching records is proprtionally much lower than the total number of records), as the time taken to perform an index seek is constant regardless of the toal number of records in your table. * Note however that in certain situations an index scan can actually be faster than an index seek - usually when the table is very small, or when a large percentage of the records match the predicate Clustered Index Update Even though a column that is NOT in the index is updated a c i update is performed - why? Tables come in two flavors: clustered indexes and heaps. You have a PRIMARY KEY constraint so you have created implicitly a clustered index. You'd have to go to extra length during the table create for this not to happen. Any update of the 'table' is an update of the clustered index, since the clustered index is the table */ --THE EXE PLAN XML SHOULD BE SAVED TO A FILE TO GET ROUND ESCAPING QUOTES DECLARE @plancontents VARCHAR(MAX) SET @plancontents=(SELECT * FROM OPENROWSET(BULK 'C:\TEMP\Plan.XML', SINGLE_CLOB) x) --Get rid of the namespace stuff SET @plancontents=REPLACE(@plancontents,'xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan"','') --Now put that into our XML variable DECLARE @xml XML SET @xml=@plancontents -- go through all the execution plan nodes, get the attributes and sort on them SELECT c.value('.[1]/@EstimatedTotalSubtreeCost', 'nvarchar(max)') as EstimatedTotalSubtreeCost, c.value('.[1]/@EstimateRows', 'nvarchar(max)') as EstimateRows, c.value('.[1]/@EstimateIO', 'nvarchar(max)') as EstimateIO, c.value('.[1]/@EstimateCPU', 'nvarchar(max)') as EstimateCPU, -- this returns just the node xml for easier inspection c.query('.') as ExecPlanNode FROM -- this returns only nodes with the name RelOp even if they are children of children @xml.nodes('//child::RelOp') T(c) ORDER BY EstimatedTotalSubtreeCost DESC -- go through all the SQL Statements, get the attributes and sort on them SELECT c.value('.[1]/@StatementText', 'nvarchar(max)') as StatementText, c.value('.[1]/@StatementSubTreeCost', 'nvarchar(max)') as StatementSubTreeCost, c.value('.[1]/@StatementEstRows', 'nvarchar(max)') as StatementEstimateRows, c.value('.[1]/@StatementOptmLevel', 'nvarchar(max)') as StatementOptimizationLevel, -- this returns just the statement xml for easier inspection c.query('.') as ExecPlanNode FROM -- this returns only nodes with the name StmtSimple @xml.nodes('//child::StmtSimple') T(c) ORDER BY StatementSubTreeCost DESC
-- phpMyAdmin SQL Dump -- version 4.7.7 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 15 Apr 2018 pada 11.18 -- Versi server: 5.6.21 -- Versi PHP: 7.1.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: `tvkabel` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tbl_user` -- CREATE TABLE `tbl_user` ( `id` int(11) NOT NULL, `username` varchar(30) NOT NULL, `password` text NOT NULL, `level` enum('operator') NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tbl_user` -- INSERT INTO `tbl_user` (`id`, `username`, `password`, `level`) VALUES (1, 'admin', '<PASSWORD>', 'operator'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tmst_kolektor` -- CREATE TABLE `tmst_kolektor` ( `id_kolektor` int(11) NOT NULL, `kolektor` varchar(25) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tmst_kolektor` -- INSERT INTO `tmst_kolektor` (`id_kolektor`, `kolektor`) VALUES (1, '<NAME>'), (2, 'x'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tmst_marketing` -- CREATE TABLE `tmst_marketing` ( `id_marketing` int(11) NOT NULL, `marketing` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tmst_marketing` -- INSERT INTO `tmst_marketing` (`id_marketing`, `marketing`) VALUES (4, 'BONDAN CHORISM'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tmst_pelanggan` -- CREATE TABLE `tmst_pelanggan` ( `no_registrasi` varchar(11) NOT NULL, `no_ktp` varchar(30) NOT NULL, `nama_lengkap` varchar(50) NOT NULL, `alamat` text NOT NULL, `alamat2` text, `no_rumah` varchar(5) DEFAULT NULL, `keterangan_rumah` text, `keterangan_bangunan` text, `blok` varchar(5) DEFAULT NULL, `gang` varchar(30) DEFAULT NULL, `rt` int(11) DEFAULT NULL, `rw` int(11) DEFAULT NULL, `kelurahan` varchar(40) DEFAULT NULL, `kecamatan` varchar(40) DEFAULT NULL, `keterangan_alamat` text, `telp_rumah` int(11) DEFAULT NULL, `no_hp` varchar(14) DEFAULT NULL, `type_bangunan` varchar(30) DEFAULT NULL, `id_kolektor` int(11) NOT NULL, `status` varchar(30) NOT NULL, `jenis_pelanggan` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tmst_pelanggan` -- INSERT INTO `tmst_pelanggan` (`no_registrasi`, `no_ktp`, `nama_lengkap`, `alamat`, `alamat2`, `no_rumah`, `keterangan_rumah`, `keterangan_bangunan`, `blok`, `gang`, `rt`, `rw`, `kelurahan`, `kecamatan`, `keterangan_alamat`, `telp_rumah`, `no_hp`, `type_bangunan`, `id_kolektor`, `status`, `jenis_pelanggan`) VALUES ('ID000001', '1234', 'BCHORISM', 'mutiara bintan', '', '18', '', '', 'A', '', 0, 0, '', '29122', '', 0, '08989747242', '', 1, 'Aktif', 1), ('ID000002', '21', '3213', '213213', NULL, '213', '23213', '213213', '21321', '23', 21321, 323, '213', '213', '', 0, '23213', '', 1, 'aktif', 1); -- -------------------------------------------------------- -- -- Struktur dari tabel `tmst_pembayaran` -- CREATE TABLE `tmst_pembayaran` ( `jenis_pelanggan` int(11) NOT NULL, `iuran` int(11) NOT NULL, `keterangan` varchar(40) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tmst_pembayaran` -- INSERT INTO `tmst_pembayaran` (`jenis_pelanggan`, `iuran`, `keterangan`) VALUES (1, 60000, 'NON-PARALEL'), (2, 71000, 'PARALEL 2TV'), (3, 82000, 'PARALEL 3 TV'), (4, 93000, 'PARALEL 4 TV'), (5, 104000, 'PARALEL 5TV'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tmst_teknisi` -- CREATE TABLE `tmst_teknisi` ( `id_teknisi` int(11) NOT NULL, `teknisi` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tmst_teknisi` -- INSERT INTO `tmst_teknisi` (`id_teknisi`, `teknisi`) VALUES (1, 'BONDAN'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tran_mutasi` -- CREATE TABLE `tran_mutasi` ( `id` int(11) NOT NULL, `no_registrasi` varchar(8) NOT NULL, `tanggal_mutasi` date NOT NULL, `alamat_mutasi` text NOT NULL, `id_teknisi` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `tran_pelanggan` -- CREATE TABLE `tran_pelanggan` ( `id` int(11) NOT NULL, `no_registrasi` varchar(8) NOT NULL, `tanggal_daftar` date NOT NULL, `id_teknisi` int(11) NOT NULL, `id_marketing` int(11) NOT NULL, `jenis_pemasangan` enum('non-paralel','paralel') NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tran_pelanggan` -- INSERT INTO `tran_pelanggan` (`id`, `no_registrasi`, `tanggal_daftar`, `id_teknisi`, `id_marketing`, `jenis_pemasangan`) VALUES (12, 'ID000001', '2017-09-01', 1, 4, 'non-paralel'), (16, 'ID000002', '2018-02-01', 1, 4, 'non-paralel'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tran_pembayaran` -- CREATE TABLE `tran_pembayaran` ( `id` int(11) NOT NULL, `no_registrasi` varchar(8) NOT NULL, `tanggal_bayar` date NOT NULL, `bayar_bulan` date NOT NULL, `iuran` decimal(10,0) NOT NULL, `keterangan` varchar(40) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tran_pembayaran` -- INSERT INTO `tran_pembayaran` (`id`, `no_registrasi`, `tanggal_bayar`, `bayar_bulan`, `iuran`, `keterangan`) VALUES (2, 'ID000001', '2017-10-01', '2017-10-01', '71000', NULL), (14, 'ID000001', '2018-01-21', '2018-01-21', '71000', NULL), (15, 'ID000002', '2018-01-21', '2018-02-22', '71000', NULL), (16, 'ID000001', '2018-01-21', '2018-03-20', '71000', NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `tran_pemutusan` -- CREATE TABLE `tran_pemutusan` ( `id_pemutusan` int(11) NOT NULL, `no_registrasi` varchar(11) NOT NULL, `tanggal_putus` date NOT NULL, `jenis_pemutusan` varchar(30) NOT NULL, `keterangan` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `tran_status` -- CREATE TABLE `tran_status` ( `id` int(11) NOT NULL, `no_registrasi` varchar(11) NOT NULL, `tanggal_status` date NOT NULL, `status` varchar(20) NOT NULL, `uraian` varchar(50) NOT NULL, `id_teknisi` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tran_status` -- INSERT INTO `tran_status` (`id`, `no_registrasi`, `tanggal_status`, `status`, `uraian`, `id_teknisi`) VALUES (1, 'ID000001', '2018-04-15', 'Putus Sementara', 'rumah kosong', 1), (2, 'ID000001', '2018-04-15', 'Aktif', 'aktif kembali', 1); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `tbl_user` -- ALTER TABLE `tbl_user` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `tmst_kolektor` -- ALTER TABLE `tmst_kolektor` ADD PRIMARY KEY (`id_kolektor`); -- -- Indeks untuk tabel `tmst_marketing` -- ALTER TABLE `tmst_marketing` ADD PRIMARY KEY (`id_marketing`); -- -- Indeks untuk tabel `tmst_pelanggan` -- ALTER TABLE `tmst_pelanggan` ADD PRIMARY KEY (`no_registrasi`), ADD KEY `jenis_pelanggan` (`jenis_pelanggan`), ADD KEY `id_kolektor` (`id_kolektor`); -- -- Indeks untuk tabel `tmst_pembayaran` -- ALTER TABLE `tmst_pembayaran` ADD PRIMARY KEY (`jenis_pelanggan`); -- -- Indeks untuk tabel `tmst_teknisi` -- ALTER TABLE `tmst_teknisi` ADD PRIMARY KEY (`id_teknisi`); -- -- Indeks untuk tabel `tran_mutasi` -- ALTER TABLE `tran_mutasi` ADD PRIMARY KEY (`id`), ADD KEY `no_registrasi` (`no_registrasi`), ADD KEY `id_teknisi` (`id_teknisi`); -- -- Indeks untuk tabel `tran_pelanggan` -- ALTER TABLE `tran_pelanggan` ADD PRIMARY KEY (`id`), ADD KEY `no_registrasi` (`no_registrasi`), ADD KEY `id_teknisi` (`id_teknisi`), ADD KEY `id_marketing` (`id_marketing`); -- -- Indeks untuk tabel `tran_pembayaran` -- ALTER TABLE `tran_pembayaran` ADD PRIMARY KEY (`id`), ADD KEY `no_registrasi` (`no_registrasi`); -- -- Indeks untuk tabel `tran_pemutusan` -- ALTER TABLE `tran_pemutusan` ADD PRIMARY KEY (`id_pemutusan`), ADD KEY `no_registrasi` (`no_registrasi`); -- -- Indeks untuk tabel `tran_status` -- ALTER TABLE `tran_status` ADD PRIMARY KEY (`id`), ADD KEY `id_teknisi` (`id_teknisi`), ADD KEY `no_registrasi` (`no_registrasi`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `tbl_user` -- ALTER TABLE `tbl_user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `tmst_kolektor` -- ALTER TABLE `tmst_kolektor` MODIFY `id_kolektor` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT untuk tabel `tmst_marketing` -- ALTER TABLE `tmst_marketing` MODIFY `id_marketing` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT untuk tabel `tmst_teknisi` -- ALTER TABLE `tmst_teknisi` MODIFY `id_teknisi` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `tran_mutasi` -- ALTER TABLE `tran_mutasi` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `tran_pelanggan` -- ALTER TABLE `tran_pelanggan` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT untuk tabel `tran_pembayaran` -- ALTER TABLE `tran_pembayaran` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT untuk tabel `tran_pemutusan` -- ALTER TABLE `tran_pemutusan` MODIFY `id_pemutusan` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `tran_status` -- ALTER TABLE `tran_status` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- -- -- Ketidakleluasaan untuk tabel `tmst_pelanggan` -- ALTER TABLE `tmst_pelanggan` ADD CONSTRAINT `tmst_pelanggan_ibfk_1` FOREIGN KEY (`jenis_pelanggan`) REFERENCES `tmst_pembayaran` (`jenis_pelanggan`), ADD CONSTRAINT `tmst_pelanggan_ibfk_2` FOREIGN KEY (`id_kolektor`) REFERENCES `tmst_kolektor` (`id_kolektor`); -- -- Ketidakleluasaan untuk tabel `tran_mutasi` -- ALTER TABLE `tran_mutasi` ADD CONSTRAINT `tran_mutasi_ibfk_1` FOREIGN KEY (`no_registrasi`) REFERENCES `tmst_pelanggan` (`no_registrasi`), ADD CONSTRAINT `tran_mutasi_ibfk_2` FOREIGN KEY (`id_teknisi`) REFERENCES `tmst_teknisi` (`id_teknisi`); -- -- Ketidakleluasaan untuk tabel `tran_pelanggan` -- ALTER TABLE `tran_pelanggan` ADD CONSTRAINT `tran_pelanggan_ibfk_1` FOREIGN KEY (`no_registrasi`) REFERENCES `tmst_pelanggan` (`no_registrasi`), ADD CONSTRAINT `tran_pelanggan_ibfk_2` FOREIGN KEY (`id_teknisi`) REFERENCES `tmst_teknisi` (`id_teknisi`), ADD CONSTRAINT `tran_pelanggan_ibfk_3` FOREIGN KEY (`id_marketing`) REFERENCES `tmst_marketing` (`id_marketing`); -- -- Ketidakleluasaan untuk tabel `tran_pembayaran` -- ALTER TABLE `tran_pembayaran` ADD CONSTRAINT `tran_pembayaran_ibfk_1` FOREIGN KEY (`no_registrasi`) REFERENCES `tmst_pelanggan` (`no_registrasi`); -- -- Ketidakleluasaan untuk tabel `tran_pemutusan` -- ALTER TABLE `tran_pemutusan` ADD CONSTRAINT `tran_pemutusan_ibfk_1` FOREIGN KEY (`no_registrasi`) REFERENCES `tmst_pelanggan` (`no_registrasi`); -- -- Ketidakleluasaan untuk tabel `tran_status` -- ALTER TABLE `tran_status` ADD CONSTRAINT `tran_status_ibfk_1` FOREIGN KEY (`no_registrasi`) REFERENCES `tmst_pelanggan` (`no_registrasi`), ADD CONSTRAINT `tran_status_ibfk_2` FOREIGN KEY (`id_teknisi`) REFERENCES `tmst_teknisi` (`id_teknisi`); 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 */;
<reponame>ravirdv/pyS60-SMS-Gateway -- -- Table structure for table `accounts` -- CREATE TABLE IF NOT EXISTS `accounts` ( `mobileno` varchar(13) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `service` varchar(8) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `username` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL, `password` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`mobileno`,`service`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `accounts` -- -- -------------------------------------------------------- -- -- Table structure for table `inbox` -- CREATE TABLE IF NOT EXISTS `inbox` ( `id` int(11) NOT NULL, `sms_to` varchar(13) COLLATE utf8_unicode_ci DEFAULT NULL, `sms_from` varchar(13) COLLATE utf8_unicode_ci DEFAULT NULL, `sms_text` varchar(1024) COLLATE utf8_unicode_ci DEFAULT NULL, `sms_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `processed` int(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `inbox` -- -- -------------------------------------------------------- -- -- Table structure for table `outbox` -- CREATE TABLE IF NOT EXISTS `outbox` ( `id` int(11) NOT NULL AUTO_INCREMENT, `sms_to` varchar(13) COLLATE utf8_unicode_ci DEFAULT NULL, `sms_from` varchar(13) COLLATE utf8_unicode_ci DEFAULT NULL, `sms_text` varchar(1024) COLLATE utf8_unicode_ci DEFAULT NULL, `sms_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `processed` int(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1050507 ; -- -- Dumping data for table `outbox` -- -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `mobileno` varchar(13) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(30) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`mobileno`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `users` --
ALTER TABLE matches ADD COLUMN approvedBy TEXT DEFAULT NULL;
 USE WhatIfDemoDb; GO CREATE TABLE [dbo].[Policies] ( [id] UNIQUEIDENTIFIER DEFAULT (newid()) NOT NULL, [userId] NVARCHAR (255) NOT NULL, [productId] NVARCHAR (255) NOT NULL, [paymentAmount] DECIMAL (18, 2) NOT NULL, [dateCreated] DATETIME NULL, PRIMARY KEY CLUSTERED ([id] ASC) ); GO CREATE TABLE [dbo].[Claims] ( [id] UNIQUEIDENTIFIER DEFAULT (newid()) NOT NULL, [userId] NVARCHAR (255) NOT NULL, [licenseId] NVARCHAR (24) NOT NULL, [dateCreated] DATETIME DEFAULT (getdate()) NOT NULL, [amount] DECIMAL (18, 2) NOT NULL, PRIMARY KEY CLUSTERED ([id] ASC) ); GO
<reponame>harshalaardekar/token-master<gh_stars>1-10 -- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 08, 2019 at 09:00 AM -- Server version: 10.1.32-MariaDB -- PHP Version: 7.2.5 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: `tambola` -- -- -------------------------------------------------------- -- -- Table structure for table `numbers` -- CREATE TABLE `numbers` ( `number` int(10) NOT NULL, `tag_line` varchar(256) NOT NULL, `status` varchar(256) NOT NULL DEFAULT 'not_declared', `declaration_time` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `numbers` -- INSERT INTO `numbers` (`number`, `tag_line`, `status`, `declaration_time`) VALUES (1, '', 'not_declared', NULL), (2, '', 'not_declared', NULL), (3, '', 'not_declared', NULL), (4, '', 'not_declared', NULL), (5, '', 'not_declared', NULL), (6, '', 'not_declared', NULL), (7, '', 'not_declared', NULL), (8, '', 'not_declared', NULL), (9, '', 'not_declared', NULL), (10, '', 'not_declared', NULL), (11, '', 'not_declared', NULL), (12, '', 'not_declared', NULL), (13, '', 'not_declared', NULL), (14, '', 'not_declared', NULL), (15, '', 'not_declared', NULL), (16, '', 'not_declared', NULL), (17, '', 'not_declared', NULL), (18, '', 'not_declared', NULL), (19, '', 'not_declared', NULL), (20, '', 'not_declared', NULL), (21, '', 'not_declared', NULL), (22, '', 'not_declared', NULL), (23, '', 'not_declared', NULL), (24, '', 'not_declared', NULL), (25, '', 'not_declared', NULL), (26, '', 'not_declared', NULL), (27, '', 'not_declared', NULL), (28, '', 'not_declared', NULL), (29, '', 'not_declared', NULL), (30, '', 'not_declared', NULL), (31, '', 'not_declared', NULL), (32, '', 'not_declared', NULL), (33, '', 'not_declared', NULL), (34, '', 'not_declared', NULL), (35, '', 'not_declared', NULL), (36, '', 'not_declared', NULL), (37, '', 'not_declared', NULL), (38, '', 'not_declared', NULL), (39, '', 'not_declared', NULL), (40, '', 'not_declared', NULL), (41, '', 'not_declared', NULL), (42, '', 'not_declared', NULL), (43, '', 'not_declared', NULL), (44, '', 'not_declared', NULL), (45, '', 'not_declared', NULL), (46, '', 'not_declared', NULL), (47, '', 'not_declared', NULL), (48, '', 'not_declared', NULL), (49, '', 'not_declared', NULL), (50, '', 'not_declared', NULL), (51, '', 'not_declared', NULL), (52, '', 'not_declared', NULL), (53, '', 'not_declared', NULL), (54, '', 'not_declared', NULL), (55, '', 'not_declared', NULL), (56, '', 'not_declared', NULL), (57, '', 'not_declared', NULL), (58, '', 'not_declared', NULL), (59, '', 'not_declared', NULL), (60, '', 'not_declared', NULL), (61, '', 'not_declared', NULL), (62, '', 'not_declared', NULL), (63, '', 'not_declared', NULL), (64, '', 'not_declared', NULL), (65, '', 'not_declared', NULL), (66, '', 'not_declared', NULL), (67, '', 'not_declared', NULL), (68, '', 'not_declared', NULL), (69, '', 'not_declared', NULL), (70, '', 'not_declared', NULL), (71, '', 'not_declared', NULL), (72, '', 'not_declared', NULL), (73, '', 'not_declared', NULL), (74, '', 'not_declared', NULL), (75, '', 'not_declared', NULL), (76, '', 'not_declared', NULL), (77, '', 'not_declared', NULL), (78, '', 'not_declared', NULL), (79, '', 'not_declared', NULL), (80, '', 'not_declared', NULL), (81, '', 'not_declared', NULL), (82, '', 'not_declared', NULL), (83, '', 'not_declared', NULL), (84, '', 'not_declared', NULL), (85, '', 'not_declared', NULL), (86, '', 'not_declared', NULL), (87, '', 'not_declared', NULL), (88, '', 'not_declared', NULL), (89, '', 'not_declared', NULL), (90, '', 'not_declared', NULL); -- -------------------------------------------------------- -- -- Table structure for table `tickets` -- CREATE TABLE `tickets` ( `id` int(255) NOT NULL, `username` varchar(253) NOT NULL, `ticket_obj` longtext NOT NULL, `claim` varchar(253) NOT NULL, `claim_time` timestamp NULL DEFAULT NULL, `status` varchar(253) NOT NULL, `comment` mediumtext NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `username` varchar(253) NOT NULL, `fname` varchar(254) NOT NULL, `lname` varchar(254) NOT NULL, `role` varchar(20) NOT NULL, `email` varchar(253) NOT NULL, `password` varbinary(253) NOT NULL, `no_tickets` int(5) NOT NULL, `status` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `user` -- INSERT INTO `user` (`timestamp`, `username`, `fname`, `lname`, `role`, `email`, `password`, `no_tickets`, `status`) VALUES ('2019-05-08 06:44:33', 'admin', 'admin', 'admin', 'ADM', '<EMAIL>', 0x<PASSWORD>, 0, ''); -- -- Indexes for dumped tables -- -- -- Indexes for table `tickets` -- ALTER TABLE `tickets` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`username`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tickets` -- ALTER TABLE `tickets` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE TABLE `TaxonAttributes` ( `taxon_id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT COMMENT 'DkIndexNumber in FileMaker', `createdAt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updatedAt` datetime DEFAULT NULL, `diagnose` text DEFAULT NULL COMMENT 'diagnose in FileMaker', `forvekslingsmuligheder` text DEFAULT NULL, `beskrivelse` text DEFAULT NULL, `oekologi` text DEFAULT NULL COMMENT 'AtlasOekologi in FileMaker', `bemaerkning` text DEFAULT NULL COMMENT 'atlasBem_rkning in FileMaker', `foersteFundIDK` int(4) DEFAULT NULL, `foersteReferenceForDK` int(4) DEFAULT NULL, `PresentInDK` bit(1) NOT NULL DEFAULT 0, `DK_reference` text DEFAULT NULL, `MycoKeyIDDKWebLink` varchar(255) DEFAULT NULL, `internalNote` text DEFAULT NULL COMMENT 'note_internal in FileMaker', `DKnavn` varchar(255) DEFAULT NULL, `vernacular_name_DE` varchar(255) DEFAULT NULL, `vernacular_name_Fi` varchar(255) DEFAULT NULL, `vernacular_name_FR` varchar(255) DEFAULT NULL, `vernacular_name_GB` varchar(255) DEFAULT NULL, `vernacular_name_NL` varchar(255) DEFAULT NULL, `vernacular_name_NO` varchar(255) DEFAULT NULL, `vernacular_name_SE` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO TaxonAttributes SELECT `_id` as `taxon_id`, `createdAt`, `updatedAt`, `diagnose`, `forvekslingsmuligheder`, `beskrivelse`,`oekologi` ,`bemaerkning` ,`foersteFundIDK` ,`foersteReferenceForDK` ,`PresentInDK` ,`DK_reference`,`MycoKeyIDDKWebLink`, `internalNote`,`DKnavn`, `vernacular_name_DE`,`vernacular_name_Fi` , `vernacular_name_FR` , `vernacular_name_GB`, `vernacular_name_NL` , `vernacular_name_NO` , `vernacular_name_SE` FROM Taxon; UPDATE TaxonBase set bog_Gyldendal_art_medtages=0 where bog_Gyldendal_art_medtages=""; UPDATE TaxonBase set bog_Gyldendal_art_medtages=1 where bog_Gyldendal_art_medtages="x"; UPDATE TaxonBase set Bogtekst_stor_art=0 where Bogtekst_stor_art=""; UPDATE TaxonBase set Bogtekst_stor_art=1 where Bogtekst_stor_art="x"; ALTER TABLE TaxonAttributes ADD COLUMN `spiselighedsrapport` VARCHAR (255), ADD COLUMN `BeskrivelseUK` TEXT, ADD COLUMN `bogtekst_faenologi_udbredelse` text DEFAULT NULL, ADD COLUMN `bogtekst_gyldendal` text DEFAULT NULL, ADD COLUMN `bog_Gyldendal_art_medtages` boolean NOT NULL DEFAULT 0, ADD COLUMN `Bogtekst_stor_art` boolean NOT NULL DEFAULT 0; ALTER TABLE `TaxonAttributes` ADD `bog_gyldendal_korrekturlaest` TINYINT(1) NOT NULL DEFAULT '0' ; UPDATE TaxonAttributes t, TaxonBase tb SET t.spiselighedsrapport = tb.spiselighedsrapport, t.BeskrivelseUK = tb.BeskrivelseUK, t.bogtekst_faenologi_udbredelse=tb.bogtekst_faenologi_udbredelse, t.bogtekst_gyldendal=tb.bogtekst_gyldendal, t.bog_Gyldendal_art_medtages=tb.bog_Gyldendal_art_medtages, t.Bogtekst_stor_art=tb.Bogtekst_stor_art WHERE tb.DkIndexNumber = t.taxon_id; select count(*) from TaxonAttributes where spiselighedsrapport IS NOT NULL and spiselighedsrapport <> ""; select count(*) from TaxonAttributes where BeskrivelseUK IS NOT NULL and BeskrivelseUK <> "";
<filename>src/test/resources/tkt3357.test_3.sql -- tkt3357.test -- -- execsql { -- SELECT cc.id, cc.b_id, cc.myvalue -- FROM ( -- SELECT a.id, a.b_id, a.myvalue -- FROM a, b WHERE a.b_id = b.id -- ) cc -- LEFT OUTER JOIN b dd ON cc.b_id = dd.id -- } SELECT cc.id, cc.b_id, cc.myvalue FROM ( SELECT a.id, a.b_id, a.myvalue FROM a, b WHERE a.b_id = b.id ) cc LEFT OUTER JOIN b dd ON cc.b_id = dd.id
CREATE TYPE [dbo].[GuidList] AS TABLE ( [ID] UNIQUEIDENTIFIER )
/* SQLyog Ultimate v12.3.1 (64 bit) MySQL - 5.5.28 : Database - projectdb ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`projectdb` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `projectdb`; /*Table structure for table `projectinfo` */ DROP TABLE IF EXISTS `projectinfo`; CREATE TABLE `projectinfo` ( `id` int(8) NOT NULL AUTO_INCREMENT COMMENT '项目编号', `projectName` varchar(20) NOT NULL COMMENT '项目名称', `startDate` date NOT NULL COMMENT '开始日期', `endDate` date NOT NULL COMMENT '结束日期', `status` int(11) NOT NULL COMMENT '申报状态 0已申报,1审核中,2已审核', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; /*Data for the table `projectinfo` */ insert into `projectinfo`(`id`,`projectName`,`startDate`,`endDate`,`status`) values (1,'北京社会科学基金2011年度申报','2011-03-06','2011-09-27',2), (2,'国家自然科学基金2010年度申报','2010-01-09','2010-03-30',1), (3,'国家社会科学基金2011申报','2011-03-09','2011-09-30',2); /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
CREATE FUNCTION func601() RETURNS integer LANGUAGE plpgsql AS $$ DECLARE val INTEGER; BEGIN val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE218);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE187);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE417);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.VIEW0);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.VIEW22);CALL FUNC477(MYVAR);CALL FUNC613(MYVAR);CALL FUNC443(MYVAR);CALL FUNC988(MYVAR);END $$; GO
-- codd: non-destructive, no-txn DO $do$ BEGIN IF NOT EXISTS ( SELECT FROM pg_catalog.pg_roles WHERE rolname = 'codd-user') THEN CREATE USER "codd-user"; END IF; END $do$; GRANT CONNECT ON DATABASE "codd-experiments" TO "codd-user"; CREATE TABLE employee ( employee_id SERIAL PRIMARY KEY , employee_name TEXT NOT NULL ); INSERT INTO employee (employee_name) VALUES ('Marcelo');
<reponame>lz1988/stourwebcms insert into sline_member values('1','','18682***','a3cc84a3af724e0f05b94f4fcc2e3995','','保密','0','0','','18682752879','0','','0','','1442990646','192.168.3.11','1442990647','192.168.3.11','0','0','','','','','','','','0'); insert into sline_member values('2','','18228***','8ff6adcecc3861aaba9f0e54a060d60a','','保密','0','0','','18228011758','0','','0','','1441864925','192.168.127.12','1441864925','192.168.127.12','0','0','','','','','','','','0'); insert into sline_member values('3','','13545***','030451b908a6e4ef7523dd9539b23d37','','保密','0','0','','13545691111','22','','0','','1441958565','192.168.127.12','1441958565','192.168.127.12','0','0','','','','','','','','0');
--test null with min(), max() function create class t1(c1 int, c2 varchar(20)); insert into t1 values(101, 'aaa'); insert into t1 values(null, 'aaa'); insert into t1 values(null, 'aaa'); insert into t1 values(null, 'aaa'); select max(c1) from t1; select min(c1) from t1; drop class t1;
<reponame>riczky/Rest-Api-Laravel-Breeze-Sanctum<filename>students.sql -- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 1192.168.127.12 -- Generation Time: Feb 13, 2022 at 12:53 PM -- Server version: 10.4.14-MariaDB -- PHP Version: 7.4.10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `laravel-breeze` -- -- -------------------------------------------------------- -- -- Table structure for table `students` -- CREATE TABLE `students` ( `id` bigint(20) UNSIGNED NOT NULL, `nama` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `alamat` text COLLATE utf8mb4_unicode_ci NOT NULL, `no_telp` varchar(14) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `students` -- INSERT INTO `students` (`id`, `nama`, `alamat`, `no_telp`, `created_at`, `updated_at`) VALUES (1, 'riczky dev', 'Jakarta Utara', '089121233521', '2022-02-13 01:34:05', '2022-02-13 01:34:05'), (3, 'Budi Developer', 'Jakarta Utara', '081231831222', '2022-02-13 03:19:40', '2022-02-13 04:27:43'), (4, 'riczky test', 'Jakarta pusat', '089121223521', '2022-02-13 04:36:56', '2022-02-13 04:36:56'), (5, 'Parjo', 'Jawa Tengah', '0891212231', '2022-02-13 04:45:57', '2022-02-13 04:49:58'); -- -- Indexes for dumped tables -- -- -- Indexes for table `students` -- ALTER TABLE `students` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `students` -- ALTER TABLE `students` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<filename>data/create_user.sql -- -- Create database user and schema for Oracle Go. -- -- @author: hhayakawa_jp <<EMAIL>> -- CREATE USER ORACLEGO IDENTIFIED BY ORACLEGO DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP; ALTER USER ORACLEGO quota unlimited on USERS; GRANT CONNECT, RESOURCE, CREATE TABLE, CREATE SEQUENCE TO ORACLEGO;
<filename>uninstall.sql --Uninstall begin /* drop old install */ begin execute immediate 'drop type o_canvas_cursos'; exception when others then null; end; begin execute immediate 'drop type o_canvas_usuarios'; exception when others then null; end; begin execute immediate 'drop type o_canvas_periodos_academicos'; exception when others then null; end; begin execute immediate 'drop type o_canvas_secoes'; exception when others then null; end; /* drop new install */ begin execute immediate 'drop type o_canvas_curso'; exception when others then null; end; begin execute immediate 'drop type o_canvas_usuario'; exception when others then null; end; begin execute immediate 'drop type o_canvas_periodo_academico'; exception when others then null; end; begin execute immediate 'drop type o_canvas_secao'; exception when others then null; end; begin execute immediate 'drop type o_canvas_inscricao'; exception when others then null; end; -- begin execute immediate 'drop package util'; exception when others then null; end; -- begin execute immediate 'drop package canvas'; exception when others then null; end; end;
<reponame>flicus/demu DROP TABLE CONFIG; DROP TABLE SESSIONS; DROP TABLE USAGES; DROP TABLE SESSION_TYPE; DROP TABLE DIAMETER_MESSAGES;
<gh_stars>0 USE farmacia; -- Consultas complexas -- Compras SELECT * FROM compras; -- Passo 2 > Colocar o nome do cliente nas compras SELECT com.id, cli.nome, com.data FROM compras AS com, clientes AS cli WHERE com.id_clientes = cli.id; -- Passo 3 > Produtos compras SELECT * FROM produtos_compra; -- Passo 4 SELECT com.id AS 'Venda', cli.nome AS 'Cliente', prod.preco_venda AS 'Preço', SUM(prod.preco_venda * proc.quantidade) AS 'Total produtor compra', com.data AS 'DATA' FROM produtos AS prod, compras AS com, produtos_compra AS proc, clientes AS cli WHERE proc.id_compra = com.id AND proc.id_produto = prod.id AND com.id_clientes = cli.id GROUP BY com.id;
-- Demonstration A -- Step 1: -- Switch the query window to use your copy of the AdventureWorksLT database -- Step 2: Use implicit conversion in a query -- Demonstrate implicit conversion from the lower type (varchar) -- to the higher (int) SELECT '1' + 2 AS result; SELECT 1 + '2' AS result; -- Step 3: Use implicit conversion in a query -- Demonstrate implicit conversion from the lower type (varchar) -- to the higher (int) -- NOTE: THIS WILL FAIL SELECT 1 + 'abc' AS result; -- Step 4: Use explicit conversion in a query SELECT CAST(1 AS VARCHAR(10)) + 'abc' AS result; Select CAST('a' as int) as result
create or replace function get_id_tiempo(anio integer, mes integer) returns integer as $$ declare id_tiempo integer;proximo integer; begin id_tiempo = (select t.id_tiempo from tiempo t where t.anio = $1 and t.mes = $2); if id_tiempo is not null then return id_tiempo; else proximo = (select max(t.id_tiempo) from tiempo t) + 1; if proximo is null then proximo = 1; end if; insert into tiempo values(proximo, $1, $2); id_tiempo = proximo; return id_tiempo; end if; end; $$ language plpgsql; CREATE OR REPLACE FUNCTION get_random_sucursal() RETURNS SETOF distribucion_geografica AS $$ /* Devuelve una sucursal aleatoria No recibe nada Devuelve un registro de la tabla distribucion_geografica */ BEGIN RETURN QUERY SELECT * FROM distribucion_geografica ORDER BY random() LIMIT 1; END; $$ LANGUAGE plpgsql;
<filename>src/main/resources/data.sql insert into catalog(product_id, product_name, stock, unit_price) values('CATALOG-0001', 'Berlin', 100, 1500) insert into catalog(product_id, product_name, stock, unit_price) values('CATALOG-0002', 'Tokyo', 100, 900) insert into catalog(product_id, product_name, stock, unit_price) values('CATALOG-0003', 'Stockholm', 100, 1200)
<reponame>kolyaattila/information-center create table public.Question2Quiz ( quiz_id bigint not null, question_id bigint not null, constraint question2quiz_quiz_id_question_id_pk PRIMARY KEY (quiz_id, question_id) );
--USERS INSERT INTO USER (USERNAME, PASSWORD, ENABLED) VALUES('user', 'password', TRUE); INSERT INTO USER (USERNAME, PASSWORD, ENABLED) VALUES('admin', 'password', TRUE); INSERT INTO USER (USERNAME, PASSWORD, ENABLED) VALUES('<EMAIL>', '<PASSWORD>', TRUE); INSERT INTO USER (USERNAME, PASSWORD, ENABLED) VALUES('<EMAIL>', '<PASSWORD>', TRUE); --AUTHORITIES INSERT INTO AUTHORITIES (USERNAME, AUTHORITY) VALUES('user', 'ROLE_USER'); INSERT INTO AUTHORITIES (USERNAME, AUTHORITY) VALUES('admin', 'ROLE_ADMIN'); INSERT INTO AUTHORITIES (USERNAME, AUTHORITY) VALUES('<EMAIL>', 'ROLE_USER'); INSERT INTO AUTHORITIES (USERNAME, AUTHORITY) VALUES('<EMAIL>', 'ROLE_USER');
CREATE TABLE roles ( id SERIAL PRIMARY KEY, name VARCHAR NOT NULL ); CREATE TYPE action_type AS ENUM ('create', 'read', 'update', 'delete'); CREATE TYPE action_modifier AS ENUM ('all', 'own'); CREATE TABLE permissions ( id SERIAL PRIMARY KEY, role_id INTEGER REFERENCES roles(id) NOT NULL, action action_type[] NOT NULL, modifier action_modifier[] NOT NULL, resource_name VARCHAR NOT NULL ); CREATE TABLE user_roles ( id SERIAL PRIMARY KEY, user_id INTEGER REFERENCES users(id) NOT NULL, role_id INTEGER REFERENCES roles(id) NOT NULL );
<filename>answers/leetcode/Department Highest Salary.sql # Write your MySQL query statement below select d.Name Department, e1.Name Employee, e1.Salary from Employee e1, Department d, (select max(Salary) Salary, DepartmentId from Employee group by DepartmentId) e2 where e1.Salary = e2.Salary and e1.DepartmentId = e2.DepartmentId and d.Id = e2.DepartmentId;
create table conditions_clusters as select nct_id, max(case when substr(mesh_id,1,7) in ('F04.096','F03.080','C25','C25.100','C25.835','F03.600','C25.675','I01.880','C25.912','C25.300','C25.635','F03.900','F01.145') then 1 else 0 end) clus_0, max(case when substr(mesh_id,1,7) in ('C02.825','C02.782','C02.800','C13.351','C17.800','C02.440','C02.256','C20.673','C02','C06.552','C02.839','C01.539','C12.294') then 1 else 0 end) clus_1, max(case when substr(mesh_id,1,7) in ('C08.360','C16.320','C10.228','C11.640','C04.588','C17.800','C11.590','C09.647','C09.400','C10.562','C16.131','C10.292') then 1 else 0 end) clus_2, max(case when substr(mesh_id,1,7) in ('C11.675','C11.204','C11.496','C16.320','C11.270','C11') then 1 else 0 end) clus_3, max(case when substr(mesh_id,1,7) in ('C26.117','C26.531','C26.831','C26.088','C26.558','C26.404') then 1 else 0 end) clus_4, max(case when substr(mesh_id,1,7) in ('C16.300','C26.761','C13.703') then 1 else 0 end) clus_5, max(case when substr(mesh_id,1,7) in ('A11.284','G05.700','G05.360','G05.365') then 1 else 0 end) clus_6, max(case when substr(mesh_id,1,7) in ('C19.700','C10.228','C16.320','C19.297','C19','C05.116') then 1 else 0 end) clus_7, max(case when substr(mesh_id,1,7) in ('C03.335','C03.752','C03.858','C17.800') then 1 else 0 end) clus_8, max(case when substr(mesh_id,1,7) in ('A10.165','C26.200','G16.100') then 1 else 0 end) clus_9, max(case when substr(mesh_id,1,7) in ('F03.875','C10.177','C10','F03.300') then 1 else 0 end) clus_10, max(case when substr(mesh_id,1,7) in ('H02.403','N06.230','N01.400','N06.850','C26.733','G16.500') then 1 else 0 end) clus_11, max(case when substr(mesh_id,1,7) in ('C11.319','C04.588','C11.941','C11.768') then 1 else 0 end) clus_12, max(case when substr(mesh_id,1,7) in ('C02.325','C11.294','C01.539','C11.187') then 1 else 0 end) clus_13, max(case when substr(mesh_id,1,7) in ('E05.598','C04.619','C01.703','C04.925','C02.928') then 1 else 0 end) clus_14, max(case when substr(mesh_id,1,7) in ('C10.500','C04.700','C16.320','C16.131','C04.651') then 1 else 0 end) clus_15, max(case when substr(mesh_id,1,7) in ('C10.720','C10.114','C10.314','C05.550','C10.228','C17.300','C02.182','C05.799','C25.723','C02.081','C20.111','C02.290') then 1 else 0 end) clus_16, max(case when substr(mesh_id,1,7) in ('C18.654','F01.700','F03.087','E01.370','C10.228','G07.700','E05.041','C10.597','C10.574','N06.850','C23.888','G07.100') then 1 else 0 end) clus_17, max(case when substr(mesh_id,1,7) in ('C07.650','C07.678','C16.131','C05.660','C05.500','C05.651','C07.320','C05.550') then 1 else 0 end) clus_18, max(case when substr(mesh_id,1,7) in ('C26.819','C26.915','C26.260','C10.900','C10.228') then 1 else 0 end) clus_19, max(case when substr(mesh_id,1,7) in ('C23.550','C14.280','C14.907') then 1 else 0 end) clus_20, max(case when substr(mesh_id,1,7) in ('C09.218','C11.525','C11.744','C11.510','C11.966','C10.597','C23.888') then 1 else 0 end) clus_21, max(case when substr(mesh_id,1,7) in ('C05.321','C05.360','C17.800','C05.330') then 1 else 0 end) clus_22, max(case when substr(mesh_id,1,7) in ('C26','C26.974') then 1 else 0 end) clus_23, max(case when substr(mesh_id,1,7) in ('F03.550','F03.700','F03.675','F03') then 1 else 0 end) clus_24, max(case when substr(mesh_id,1,7) in ('C23.550','C15.378','G12.425','C20.841','C23.888') then 1 else 0 end) clus_25, max(case when substr(mesh_id,1,7) in ('F02.830','G11.561','H01.158','F04.096','E02.190') then 1 else 0 end) clus_26, max(case when substr(mesh_id,1,7) in ('C07.465','C07.550','C09.775','C07.793') then 1 else 0 end) clus_27, max(case when substr(mesh_id,1,7) in ('C10.668','C26.874','C05.651') then 1 else 0 end) clus_28, max(case when substr(mesh_id,1,7) in ('C06.130','C23.300') then 1 else 0 end) clus_29, max(case when substr(mesh_id,1,7) in ('C18.452','C19.246') then 1 else 0 end) clus_30, max(case when substr(mesh_id,1,7) in ('C04.692','C04.697','C23.550') then 1 else 0 end) clus_31, max(case when substr(mesh_id,1,7) in ('C01.539','C01.252') then 1 else 0 end) clus_32, max(case when substr(mesh_id,1,7) in ('C16.131','C14.240') then 1 else 0 end) clus_33, max(case when substr(mesh_id,1,7) in ('C08.730','C08.460','C01.539','C09.603') then 1 else 0 end) clus_34, max(case when substr(mesh_id,1,7) in ('C15.378','C04.557','C15.604','C19.391','C04.588','C20.683','C06.689','C06.301','C19.344','C16.614','C06.405') then 1 else 0 end) clus_35, max(case when substr(mesh_id,1,7) in ('C04.588','C08.381','C20.543','C08.785','C08.674','C08.127') then 1 else 0 end) clus_36, max(case when substr(mesh_id,1,7) in ('C04.588','C12.294','C13.351','C12.758') then 1 else 0 end) clus_37, max(case when substr(mesh_id,1,7) in ('C13.351','C12.777') then 1 else 0 end) clus_38 from condition_browse join mesh_thesaurus using (mesh_term) group by nct_id; create index conditions_clusters_nct_id_idx on conditions_clusters(nct_id);
--liquibase formatted sql --changeset uk.gov.pay:insert_new_resource_types INSERT INTO resource_type (name) VALUES ('payment'), ('card_payment');
<filename>setup.sql -- create necessary tables CREATE TABLE IF NOT EXISTS customers ( id BIGINT, email VARCHAR(50), name VARCHAR(50), first_name VARCHAR(50), last_name VARCHAR(50), phone VARCHAR(20), address VARCHAR(150), city VARCHAR(150), zip VARCHAR(20), country VARCHAR(150), total_spent DECIMAL, verified_email BOOLEAN, note VARCHAR(150), accepts_marketing BOOLEAN, created_at TIMESTAMPTZ, updated_at TIMESTAMPTZ, PRIMARY KEY(id) ); CREATE TABLE IF NOT EXISTS orders ( id BIGINT NOT NULL, customer_id BIGINT, name VARCHAR(10) NOT NULL, fulfillment_status VARCHAR(20), financial_status VARCHAR(50), total_price DECIMAL NOT NULL, total_line_items_price DECIMAL, total_discounts_amount DECIMAL, total_tax_amount DECIMAL, taxes_included BOOLEAN, currency VARCHAR(10), created_at TIMESTAMPTZ, closed_at TIMESTAMPTZ, processed_at TIMESTAMPTZ, PRIMARY KEY(id), CONSTRAINT fk_customer FOREIGN KEY(customer_id) REFERENCES customers(id) ON DELETE SET NULL ); CREATE TABLE IF NOT EXISTS discounts ( id SERIAL PRIMARY KEY, order_id BIGINT, discount_code VARCHAR(50), discount_type VARCHAR(20), discount_value DECIMAL, discount_value_type VARCHAR(20), CONSTRAINT fk_order FOREIGN KEY(order_id) REFERENCES orders(id) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS products ( id BIGINT NOT NULL, title VARCHAR(100), status VARCHAR(20), product_type VARCHAR(50), created_at TIMESTAMPTZ, updated_at TIMESTAMPTZ, vendor VARCHAR(50), PRIMARY KEY(id) ); CREATE TABLE IF NOT EXISTS product_variants ( id BIGINT NOT NULL, product_id BIGINT NOT NULL, price DECIMAL, title VARCHAR(100), sku VARCHAR(20), option1 VARCHAR(20), option2 VARCHAR(20), option3 VARCHAR(20), created_at TIMESTAMPTZ, updated_at TIMESTAMPTZ, PRIMARY KEY(id), CONSTRAINT fk_product FOREIGN KEY(product_id) REFERENCES products(id) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS line_item_products ( id BIGINT NOT NULL, order_id BIGINT NOT NULL, product_id BIGINT, title VARCHAR(150) NOT NULL, sku VARCHAR(20), unit_price DECIMAL NOT NULL, total_price DECIMAL NOT NULL, total_discount_amount DECIMAL, quantity INT NOT NULL, vendor VARCHAR(50), variant_title VARCHAR(50), tax_amount DECIMAL, tax_rate DECIMAL, tax_title VARCHAR(20), taxable BOOLEAN, currency VARCHAR(10), PRIMARY KEY(id), CONSTRAINT fk_order FOREIGN KEY(order_id) REFERENCES orders(id) ON DELETE CASCADE, CONSTRAINT fk_product FOREIGN KEY(product_id) REFERENCES products(id) ON DELETE SET DEFAULT ); CREATE TABLE IF NOT EXISTS transactions ( id BIGINT NOT NULL, order_id BIGINT NOT NULL, status VARCHAR(20), amount DECIMAL, currency VARCHAR(10), error_code VARCHAR(20), gateway VARCHAR(20), kind VARCHAR(20), created_at TIMESTAMPTZ, processed_at TIMESTAMPTZ, PRIMARY KEY(id), CONSTRAINT order_id FOREIGN KEY(order_id) REFERENCES orders(id) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS shipping ( id BIGINT NOT NULL, order_id BIGINT, code VARCHAR(150), price DECIMAL NOT NULL, discounted_price DECIMAL, currency VARCHAR(10), title VARCHAR(150), source VARCHAR(150), phone VARCHAR(20), address VARCHAR(150), city VARCHAR(150), zip VARCHAR(20), country VARCHAR(150), latitude DECIMAL, longitude DECIMAL, PRIMARY KEY(id), CONSTRAINT fk_order FOREIGN KEY(order_id) REFERENCES orders(id) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS refunds ( id BIGINT NOT NULL, order_id BIGINT NOT NULL, transaction_id BIGINT NOT NULL, note VARCHAR(200), refunded_product_cnt INT, created_at TIMESTAMPTZ, processed_at TIMESTAMPTZ, PRIMARY KEY(id), CONSTRAINT fk_order FOREIGN KEY(order_id) REFERENCES orders(id) ON DELETE CASCADE, CONSTRAINT fk_transaction FOREIGN KEY(transaction_id) REFERENCES transactions(id) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS line_item_product_refunds ( id BIGINT NOT NULL, refund_id BIGINT NOT NULL, line_item_product_id BIGINT NOT NULL, quantity INT NOT NULL, currency VARCHAR(10), refund_amount DECIMAL, PRIMARY KEY(id), CONSTRAINT fk_refund FOREIGN KEY(refund_id) REFERENCES refunds(id) ON DELETE CASCADE, CONSTRAINT fk_line_item FOREIGN KEY(line_item_product_id) REFERENCES line_item_products(id) ON DELETE CASCADE ); CREATE VIEW tripletex_invoice AS ( WITH success_transaction_payments AS ( -- rank successful transactions pr order after the most 'significant' transaction SELECT t.*, ROW_NUMBER() OVER( PARTITION BY t.order_id ORDER BY ( CASE t.kind WHEN 'sale' THEN 1 WHEN 'capture' THEN 2 WHEN 'authorization' THEN 3 ELSE 10 END) ) AS transaction_rank FROM transactions t WHERE t.status = 'success' AND t.kind IN ('sale', 'capture', 'authorization') AND t.gateway != 'gift_card' ORDER BY ( t.order_id ) ), gift_card_lines AS ( SELECT t.id AS transaction_id, o.id AS order_id, 'payment' AS payment_tag, CAST(RIGHT(CAST(c.id AS CHAR(12)), 9) AS INT) AS "CUSTOMER NO", -- Tripletex only allows 9 digits as ID. Very unlikely that we will get any duplicates here c.name AS "<NAME>", o.name AS "ORDER NO", stp.amount AS "PAID AMOUNT", 1 AS "ORDER LINE - COUNT", -- only 1x gift card pr transaction 'Gift card' AS "ORDER LINE - PROD NAME", -t.amount AS "ORDER LINE - UNIT PRICE", 0 AS "ORDER LINE - DISCOUNT", 3 AS "ORDER LINE - VAT CODE", -- VAT is always 25% (code 3) NULL::TEXT AS "ORDER LINE - DESCRIPTION", -- No description needed 'GIFTCARD' AS "ORDER LINE - PROD NO", stp.gateway AS "PAYMENT TYPE", DATE(o.created_at) AS "INVOICE DATE", DATE(t.processed_at) AS "DELIVERY DATE", DATE(o.created_at) AS "ORDER DATE", DATE(t.processed_at) AS "DUE DATE", 1 AS rank, -- dummy, needed to match shipping_lines cols 4 AS priority FROM transactions t LEFT JOIN orders o ON o.id = t.order_id LEFT JOIN customers c ON c.id = o.customer_id LEFT JOIN success_transaction_payments stp ON stp.order_id = t.order_id WHERE t.gateway = 'gift_card' AND stp.transaction_rank = 1 ), product_lines AS ( SELECT t.id as transaction_id, o.id as order_id, 'payment' AS payment_tag, CAST(RIGHT(CAST(c.id AS CHAR(12)), 9) AS INT) AS "CUSTOMER NO", c.name AS "<NAME>", o.name AS "ORDER NO", t.amount AS "PAID AMOUNT", lip.quantity AS "ORDER LINE - COUNT", CASE WHEN NULLIF(lip.title, '') IS NOT NULL AND NULLIF(lip.variant_title, '') IS NOT NULL THEN CONCAT(lip.title, ' - ', lip.variant_title) WHEN lip.title IS NOT NULL THEN lip.title ELSE NULL END "ORDER LINE - PROD NAME", lip.unit_price AS "ORDER LINE - UNIT PRICE", 100 * (1 - ((lip.total_price - lip.total_discount_amount) / NULLIF(lip.total_price, 0))) AS "ORDER LINE - DISCOUNT", 3 AS "ORDER LINE - VAT CODE", -- VAT is always 25% (code 3) NULL::TEXT AS "ORDER LINE - DESCRIPTION", -- No description needed lip.sku::TEXT AS "ORDER LINE - PROD NO", t.gateway AS "PAYMENT TYPE", DATE(o.created_at) AS "INVOICE DATE", DATE(t.processed_at) AS "DELIVERY DATE", DATE(o.created_at) AS "ORDER DATE", -- when the order was crated - need to use the orders table and not transactions table DATE(t.processed_at) AS "DUE DATE", 1 AS rank, -- dummy, needed to match shipping_lines cols 1 AS priority FROM success_transaction_payments t LEFT JOIN orders o ON o.id = t.order_id LEFT JOIN customers c ON c.id = o.customer_id LEFT JOIN discounts d ON d.order_id = o.id LEFT JOIN line_item_products lip ON lip.order_id = o.id WHERE t.transaction_rank = 1 -- only want the most significant transaction. Avoid duplicates cause by other transaction events ), refund_lines AS ( SELECT t.id as transaction_id, o.id as order_id, 'refund' AS payment_tag, CAST(RIGHT(CAST(c.id AS CHAR(12)), 9) AS INT) AS "CUSTOMER NO", c.name AS "<NAME>", CONCAT(o.name, '-1') AS "ORDER NO", -COALESCE(lipr.refund_amount, t.amount) AS "PAID AMOUNT", -COALESCE(lipr.quantity, 1) AS "ORDER LINE - COUNT", CASE WHEN lip.title IS NOT NULL THEN CONCAT(lip.title, ' - ', lip.variant_title) ELSE NULL --'Refund' END "ORDER LINE - PROD NAME", COALESCE(ROUND(lipr.refund_amount/lipr.quantity, 2), t.amount) AS "ORDER LINE - UNIT PRICE", 0 AS "ORDER LINE - DISCOUNT", -- never discount on refunds 3 AS "ORDER LINE - VAT CODE", -- VAT is always 25% (code 3) COALESCE(NULLIF(r.note, ''), 'Refund with unspecified reason') AS "ORDER LINE - DESCRIPTION", lip.sku::text AS "ORDER LINE - PROD NO", t.gateway AS "PAYMENT TYPE", DATE(r.created_at) AS "INVOICE DATE", -- date of refund DATE(r.processed_at) AS "DELIVERY DATE", DATE(o.created_at) AS "ORDER DATE", -- date of order placement DATE(r.processed_at) AS "DUE DATE", 1 AS rank, -- needed to match shipping_lines cols 2 AS priority FROM transactions t INNER JOIN refunds r ON r.transaction_id = t.id LEFT JOIN line_item_product_refunds lipr ON lipr.refund_id = r.id LEFT JOIN orders o ON o.id = t.order_id LEFT JOIN customers c ON c.id = o.customer_id LEFT JOIN discounts d ON d.order_id = o.id LEFT JOIN line_item_products lip ON lip.order_id = r.order_id AND lip.id = lipr.line_item_product_id WHERE t.status = 'success' AND t.kind = 'refund' ), shipping_lines AS ( SELECT pl.transaction_id, pl.order_id, 'payment' AS payment_tag, pl."CUSTOMER NO", pl."CUSTOMER NAME", pl."ORDER NO", pl."PAID AMOUNT", 1 AS "ORDER LINE - COUNT", -- Always only 1x shipping null::text AS "ORDER LINE - PROD NAME", s.price AS "ORDER LINE - UNIT PRICE", COALESCE(100 * (1 - (s.discounted_price / NULLIF(s.price, 0))), 0) AS "ORDER LINE - DISCOUNT", 3 AS "ORDER LINE - VAT CODE", -- Shipping VAT code is always 3 s.title AS "ORDER LINE - DESCRIPTION", 'SHIPPING' AS "ORDER LINE - PROD NO", pl."PAYMENT TYPE", pl."INVOICE DATE", pl."DELIVERY DATE", pl."ORDER DATE", pl."DUE DATE", ROW_NUMBER() OVER(PARTITION BY pl.order_id ORDER BY pl."INVOICE DATE") AS rank, 3 AS priority FROM product_lines as pl INNER JOIN shipping s ON s.order_id = pl.order_id WHERE rank = 1 ) SELECT transaction_id, order_id, payment_tag, "CUSTOMER NO", "CUSTOMER NAME", "ORDER NO", round("PAID AMOUNT"::numeric, 2) AS "PAID AMOUNT", "ORDER LINE - COUNT", "ORDER LINE - PROD NAME", round("ORDER LINE - UNIT PRICE"::numeric, 2) AS "ORDER LINE - UNIT PRICE", round("ORDER LINE - DISCOUNT"::numeric, 2) AS "ORDER LINE - DISCOUNT", "ORDER LINE - VAT CODE", "ORDER LINE - DESCRIPTION", "ORDER LINE - PROD NO", "PAYMENT TYPE", "INVOICE DATE", -- Fakturadato in Tripletex "DELIVERY DATE", "ORDER DATE", "DUE DATE" FROM ( SELECT * FROM product_lines UNION SELECT * FROM refund_lines UNION SELECT * FROM shipping_lines UNION SELECT * FROM gift_card_lines ) AS invoice_lines WHERE rank = 1 ORDER BY "INVOICE DATE" DESC, order_id, "CUSTOMER NAME", priority ); CREATE VIEW tripletex_customer_map AS ( SELECT id AS shopify_id, CAST(RIGHT(CAST(id AS CHAR(12)), 9) AS INT) AS tripletex_id, name AS name, phone AS phone, email AS email FROM customers );
SELECT * FROM [DB_PREFIX]Page WHERE pageId = :page_id LIMIT 1;
<gh_stars>0 insert into person(id,name,age,address) values(hibernate_sequence.nextval,'汪云飞',32,'合肥'); insert into person(id,name,age,address) values(hibernate_sequence.nextval,'xx',31,'北京'); insert into person(id,name,age,address) values(hibernate_sequence.nextval,'yy',30,'上海'); insert into person(id,name,age,address) values(hibernate_sequence.nextval,'zz',29,'南京'); insert into person(id,name,age,address) values(hibernate_sequence.nextval,'aa',28,'武汉'); insert into person(id,name,age,address) values(hibernate_sequence.nextval,'bb',27,'合肥');
/* * Copyright 2018 Infosys Ltd. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* SQLyog Community v10.11 MySQL - 5.1.73 : Database - datagen ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`datagen` /*!40100 DEFAULT CHARACTER SET latin1 */; USE `datagen`; /*Table structure for table `location_info` */ DROP TABLE IF EXISTS `location_info`; CREATE TABLE `location_info` ( `srno` varchar(11) NOT NULL, `zipcode` varchar(20) DEFAULT NULL, `city` varchar(40) DEFAULT NULL, `state` varchar(20) DEFAULT NULL, `country` varchar(20) DEFAULT NULL, `locationtext` varchar(45) DEFAULT NULL, `location` varchar(45) DEFAULT NULL, PRIMARY KEY (`srno`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; /*Table structure for table `personal_info` */ DROP TABLE IF EXISTS `personal_info`; CREATE TABLE `personal_info` ( `srno` int(11) NOT NULL, `firstname` varchar(45) DEFAULT NULL, `lastname` varchar(45) DEFAULT NULL, `emailaddress` varchar(45) DEFAULT NULL, PRIMARY KEY (`srno`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; DROP TABLE IF EXISTS `users`; CREATE TABLE users ( user_id INT(11) NOT NULL AUTO_INCREMENT, user_name VARCHAR(30) NOT NULL, user_desc VARCHAR(30) NOT NULL, created_by VARCHAR(30), created_time DATETIME, updated_by VARCHAR(30), updated_time DATETIME, user_password VARCHAR(100) NOT NULL, PRIMARY KEY (user_id) ); DROP TABLE IF EXISTS `user_roles`; CREATE TABLE user_roles ( user_access_id INT(11) NOT NULL AUTO_INCREMENT, user_name VARCHAR(30) NOT NULL, role_name VARCHAR(30) NOT NULL, role_desc VARCHAR(30) NOT NULL, role_type VARCHAR(30) NOT NULL, group_users VARCHAR(1000) , usage_type VARCHAR(30) NOT NULL, start_date DATETIME, end_date DATETIME, record_count_limit DECIMAL(20,0), usage_limit DECIMAL(22,2), days_limit DECIMAL(10,0), PRIMARY KEY (user_access_id) ); DROP TABLE IF EXISTS `activity_log`; CREATE TABLE activity_log ( log_id INT(11) NOT NULL AUTO_INCREMENT, triggered_user_name VARCHAR(30) NOT NULL, activity_date DATETIME, generated_file_name VARCHAR(200), processed_record_count DECIMAL(20,0), processed_usage DECIMAL(22,2), PRIMARY KEY (log_id) ); DROP TABLE IF EXISTS `dataset_configuration`; CREATE TABLE dataset_configuration ( config_id INT(11) NOT NULL AUTO_INCREMENT, file_name VARCHAR(200) NOT NULL, user_name VARCHAR(30) NOT NULL, created_time DATETIME, file_type VARCHAR(30), configuration_json LONGTEXT, configuration_details BLOB, PRIMARY KEY (config_id) ); /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
<filename>Recommended DOQL/Infrastructure/system_profiles_summary.sql /* - Name: System Profiles Summary - Purpose: Query for summary of all discovered hardware profiles. - Date Created: 10/01/20 - Changes: 10/12/20 Updated to use new subtypes and view_device_v2 introduced in 16.19 */ select count (*) "Quantity", v.name "Manufacturer", h.name "Model", d.physicalsubtype "Physical Subtype", h.size "RU Size", h.depth "Depth", h.end_of_life "End of Life", h.end_of_support "End of Support", d.total_cpus "Total CPUs", d.core_per_cpu "Cores Per CPU", d.ram "Memory" from view_device_v2 d join view_hardware_v1 h on d.hardware_fk = h.hardware_pk left join view_vendor_v1 v on v.vendor_pk = h.vendor_fk group by d.physicalsubtype,d.total_cpus,d.core_per_cpu,d.ram,h.name,v.name,h.size,h.depth,h.end_of_life,h.end_of_support order by v.name,h.name ASC
INSERT INTO ${ohdsiSchema}.sec_permission(id, value, description) VALUES (${ohdsiSchema}.sec_permission_id_seq.nextval, 'conceptset:*:copy-name:get', 'Get name for copying concept set'); INSERT INTO ${ohdsiSchema}.sec_role_permission(id, role_id, permission_id) SELECT ${ohdsiSchema}.sec_role_permission_sequence.nextval, sr.id, sp.id FROM ${ohdsiSchema}.sec_permission sp, ${ohdsiSchema}.sec_role sr WHERE sp.value = 'conceptset:*:copy-name:get' AND sr.name IN ('concept set creator', 'Moderator', 'Atlas users');
-- start_ignore create schema functional_1_75; set search_path to functional_1_75; -- end_ignore -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_pt_tab; CREATE TABLE dml_pt_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c) partition by range (i) ( partition p1 start(1) end(5), partition p2 start(5) end(15), partition p3 start(15) end(25) ); INSERT INTO dml_pt_tab VALUES(generate_series(1,10),'dml_pt_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table add/drop partition -- ALTER TABLE ADD PARTITION SELECT COUNT(*) FROM dml_pt_tab; ALTER TABLE dml_pt_tab ADD PARTITION padd start(61) end(71) ; INSERT INTO dml_pt_tab VALUES(generate_series(61,70),'dml_pt_tab','u','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; UPDATE dml_pt_tab SET x = 'split partition'; SELECT DISTINCT(x) FROM dml_pt_tab; -- DROP PARTITION( DML should fail ) ALTER TABLE dml_pt_tab DROP PARTITION padd; INSERT INTO dml_pt_tab VALUES(generate_series(61,71),'dml_pt_tab','u','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_pt_tab; CREATE TABLE dml_pt_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c) partition by range (i) ( partition p1 start(1) end(5), partition p2 start(5) end(15), partition p3 start(15) end(25) ); INSERT INTO dml_pt_tab VALUES(generate_series(1,10),'dml_pt_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table alter column -- ADD COLUMN SELECT COUNT(*) FROM dml_pt_tab; ALTER TABLE dml_pt_tab add column addcol1 decimal default 10.00 ; SELECT COUNT(*) FROM dml_pt_tab WHERE addcol1 = 10.00; UPDATE dml_pt_tab SET addcol1 = 1.00; SELECT COUNT(*) FROM dml_pt_tab WHERE addcol1 = 1.00; INSERT INTO dml_pt_tab VALUES(generate_series(11,12),'dml_pt_tab','b','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab WHERE addcol1 = 1.00; -- CHANGE COLUMN TYPE SELECT COUNT(*) FROM dml_pt_tab; ALTER TABLE dml_pt_tab ALTER COLUMN addcol1 type numeric ; INSERT INTO dml_pt_tab VALUES(generate_series(1,12),'dml_pt_tab','c','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02', 10.10); SELECT COUNT(*) FROM dml_pt_tab; -- RENAME COLUMN ALTER TABLE dml_pt_tab RENAME COLUMN addcol1 to newaddcol1 ; UPDATE dml_pt_tab SET newaddcol1 = 1.11 , i = 1; SELECT COUNT(*) FROM dml_pt_tab WHERE i = 1; -- DROP COLUMN ALTER TABLE dml_pt_tab DROP COLUMN newaddcol1; SELECT COUNT(*) FROM dml_pt_tab; INSERT INTO dml_pt_tab VALUES(generate_series(1,12),'dml_pt_tab','e','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_pt_tab; CREATE TABLE dml_pt_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c) partition by range (i) ( partition p1 start(1) end(5), partition p2 start(5) end(15), partition p3 start(15) end(25) ); INSERT INTO dml_pt_tab VALUES(generate_series(1,10),'dml_pt_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table set/drop default values -- SET DEFAULT SELECT COUNT(*) FROM dml_pt_tab WHERE x = 'abcdefghijklmnopqrstuvwxyz'; ALTER TABLE dml_pt_tab ALTER COLUMN x SET DEFAULT 'abcdefghijklmnopqrstuvwxyz'; INSERT INTO dml_pt_tab(i,c,v,d,n,t,tz) VALUES(13,'d','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab WHERE x = 'abcdefghijklmnopqrstuvwxyz'; -- DROP DEFAULT SELECT COUNT(*) FROM dml_pt_tab; ALTER TABLE dml_pt_tab ALTER COLUMN x DROP DEFAULT; INSERT INTO dml_pt_tab(i,c,v,d,n,t,tz) VALUES(13,'i','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_pt_tab; CREATE TABLE dml_pt_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c) partition by range (i) ( partition p1 start(1) end(5), partition p2 start(5) end(15), partition p3 start(15) end(25) ); INSERT INTO dml_pt_tab VALUES(generate_series(1,10),'dml_pt_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter default partition -- ADD DEFAULT PARTITION SELECT COUNT(*) FROM dml_pt_tab; ALTER TABLE dml_pt_tab ADD DEFAULT PARTITION def_part; INSERT INTO dml_pt_tab VALUES(NULL,'dml_pt_tab','q','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; UPDATE dml_pt_tab SET i = NULL WHERE c = 'a'; SELECT DISTINCT(i) FROM dml_pt_tab WHERE c = 'a'; SELECT COUNT(*) FROM dml_pt_tab_1_prt_def_part; -- SPLIT DEFAULT PARTITION ALTER TABLE dml_pt_tab SPLIT DEFAULT PARTITION start(41) end(51) into (partition p5, partition def_part); INSERT INTO dml_pt_tab VALUES(NULL,'dml_pt_tab','r','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); INSERT INTO dml_pt_tab VALUES(generate_series(40,50),'dml_pt_tab','s','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab_1_prt_def_part; SELECT COUNT(*) FROM dml_pt_tab_1_prt_p5; SELECT COUNT(*) FROM dml_pt_tab; -- DROP DEFAULT PARTITION ALTER TABLE dml_pt_tab DROP DEFAULT PARTITION ; UPDATE dml_pt_tab SET i = NULL; SELECT DISTINCT(i) FROM dml_pt_tab; SELECT COUNT(*) FROM dml_pt_tab WHERE i is NULL; DELETE FROM dml_pt_tab WHERE i is NULL; SELECT COUNT(*) FROM dml_pt_tab WHERE i is NULL; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_pt_tab; CREATE TABLE dml_pt_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c) partition by range (i) ( partition p1 start(1) end(5), partition p2 start(5) end(15), partition p3 start(15) end(25) ); INSERT INTO dml_pt_tab VALUES(generate_series(1,10),'dml_pt_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table exchange partition -- ALTER TABLE EXCHANGE PARTITION SELECT COUNT(*) FROM dml_pt_tab; -- start_ignore DROP TABLE IF EXISTS dml_pt_can_tab; CREATE TABLE dml_pt_can_tab( like dml_pt_tab) distributed by (c); INSERT INTO dml_pt_can_tab VALUES(generate_series(1,4),'dml_pt_can_tab','t','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore SELECT COUNT(*) FROM dml_pt_can_tab; ALTER TABLE dml_pt_tab exchange partition p1 with table dml_pt_can_tab; SELECT COUNT(*) FROM dml_pt_can_tab; SELECT COUNT(*) FROM dml_pt_tab; INSERT INTO dml_pt_can_tab VALUES(generate_series(1,4),'dml_pt_can_tab','t','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); INSERT INTO dml_pt_tab VALUES(generate_series(1,15),'dml_pt_tab','u','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_can_tab; SELECT COUNT(*) FROM dml_pt_tab; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_pt_tab; CREATE TABLE dml_pt_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c) partition by range (i) ( partition p1 start(1) end(5), partition p2 start(5) end(15), partition p3 start(15) end(25) ); INSERT INTO dml_pt_tab VALUES(generate_series(1,10),'dml_pt_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table alter index -- CREATE INDEX SELECT COUNT(*) FROM dml_pt_tab; CREATE INDEX dml_pt_tab_idx1 on dml_pt_tab (i); INSERT INTO dml_pt_tab VALUES(generate_series(12,22),'dml_pt_tab','j','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; CREATE INDEX dml_pt_tab_idx2 on dml_pt_tab using bitmap (n); INSERT INTO dml_pt_tab VALUES(generate_series(12,22),'dml_pt_tab','k','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); INSERT INTO dml_pt_tab VALUES(generate_series(12,22),'dml_pt_tab','l','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; DELETE FROM dml_pt_tab; SELECT COUNT(*) FROM dml_pt_tab; ALTER INDEX dml_pt_tab_idx1 RENAME TO dml_pt_tab_idx1_new; ALTER INDEX dml_pt_tab_idx2 RENAME TO dml_pt_tab_idx2_new; INSERT INTO dml_pt_tab VALUES(generate_series(12,22),'dml_pt_tab','m','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_pt_tab; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_tab; CREATE TABLE dml_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c); INSERT INTO dml_tab VALUES(generate_series(1,10),'dml_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table alter column -- ADD COLUMN SELECT COUNT(*) FROM dml_tab; ALTER TABLE dml_tab add column addcol1 decimal default 10.00 ; SELECT COUNT(*) FROM dml_tab WHERE addcol1 = 10.00; UPDATE dml_tab SET addcol1 = 1.00; SELECT COUNT(*) FROM dml_tab WHERE addcol1 = 1.00; INSERT INTO dml_tab VALUES(generate_series(11,12),'dml_tab','b','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_tab; -- CHANGE COLUMN DATA TYPE SELECT COUNT(*) FROM dml_tab; ALTER TABLE dml_tab ALTER COLUMN addcol1 type numeric ; INSERT INTO dml_tab VALUES(generate_series(1,12),'dml_tab','c','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02', 10.10); SELECT COUNT(*) FROM dml_tab; -- RENAME COLUMN ALTER TABLE dml_tab RENAME COLUMN addcol1 to newaddcol1 ; UPDATE dml_tab SET newaddcol1 = 1.11 , i = 1; SELECT COUNT(*) FROM dml_tab WHERE i = 1; -- DROP COLUMN DELETE FROM dml_tab; SELECT COUNT(*) FROM dml_tab; ALTER TABLE dml_tab DROP COLUMN newaddcol1; INSERT INTO dml_tab VALUES(generate_series(1,12),'dml_tab','e','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_tab; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_tab; CREATE TABLE dml_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c); INSERT INTO dml_tab VALUES(generate_series(1,10),'dml_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table set/drop default values -- SET DEFAULT SELECT COUNT(*) FROM dml_tab WHERE x = 'abcdefghijklmnopqrstuvwxyz'; ALTER TABLE dml_tab ALTER COLUMN x SET DEFAULT 'abcdefghijklmnopqrstuvwxyz'; INSERT INTO dml_tab(i,c,v,d,n,t,tz) VALUES(13,'d','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_tab WHERE x = 'abcdefghijklmnopqrstuvwxyz'; -- DROP DEFAULT SELECT COUNT(*) FROM dml_tab; ALTER TABLE dml_tab ALTER COLUMN x DROP DEFAULT; INSERT INTO dml_tab(i,c,v,d,n,t,tz) VALUES(13,'i','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_tab; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb DROP TABLE IF EXISTS dml_tab; CREATE TABLE dml_tab ( i int, x text, c char, v varchar, d date, n numeric, t timestamp without time zone, tz time with time zone ) distributed by (c); INSERT INTO dml_tab VALUES(generate_series(1,10),'dml_tab','a','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Alter table alter column -- CREATE INDEX SELECT COUNT(*) FROM dml_tab; CREATE INDEX dml_tab_idx1 on dml_tab (i); INSERT INTO dml_tab VALUES(generate_series(12,22),'dml_tab','j','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_tab; CREATE INDEX dml_tab_idx2 on dml_tab using bitmap (n); INSERT INTO dml_tab VALUES(generate_series(12,22),'dml_tab','k','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_tab; UPDATE dml_tab SET i = 1 WHERE c ='k'; SELECT COUNT(DISTINCT(i)) FROM dml_tab WHERE c='k'; -- ALTER INDEX DELETE FROM dml_tab; SELECT COUNT(*) FROM dml_tab; ALTER INDEX dml_tab_idx1 RENAME TO dml_tab_idx1_new; ALTER INDEX dml_tab_idx2 RENAME TO dml_tab_idx2_new; INSERT INTO dml_tab VALUES(generate_series(12,22),'dml_tab','m','alter operations','01-01-2013',1,'01-01-2013 10:10:00', '01-01-2013 10:10:54+02'); SELECT COUNT(*) FROM dml_tab; DELETE FROM dml_tab; SELECT COUNT(*) FROM dml_tab; -- start_ignore DROP TABLE IF EXISTS dml_ao; CREATE TABLE dml_ao (a int , b int default -1, c text) WITH (appendonly = true, oids = true) DISTRIBUTED BY (a); INSERT INTO dml_ao VALUES(generate_series(1,2),generate_series(1,2),'r'); SELECT SUM(a),SUM(b) FROM dml_ao; SELECT COUNT(*) FROM dml_ao; INSERT INTO dml_ao VALUES(NULL,NULL,NULL); SELECT SUM(a),SUM(b) FROM dml_ao; SELECT COUNT(*) FROM dml_ao; -- end_ignore -- @author prabhd -- @created 2013-07-08 12:00:00 -- @modified 2013-07-08 12:00:00 -- @tags dml -- @db_name dmldb -- @description DDL on AO/CO tables with OIDS(Negative Test) -- start_ignore DROP TABLE IF EXISTS tempoid; CREATE TABLE tempoid as SELECT oid,a FROM dml_ao ORDER BY 1; -- end_ignore UPDATE dml_ao SET a = 100; SELECT * FROM ( (SELECT COUNT(*) FROM dml_ao) UNION (SELECT COUNT(*) FROM tempoid, dml_ao WHERE tempoid.oid = dml_ao.oid AND tempoid.gp_segment_id = dml_ao.gp_segment_id))foo; -- start_ignore DROP TABLE IF EXISTS dml_heap_check_r; CREATE TABLE dml_heap_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) WITH OIDS DISTRIBUTED BY (a); -- end_ignore -- start_ignore DROP TABLE IF EXISTS dml_heap_r; CREATE TABLE dml_heap_r (a int , b int default -1, c text) WITH OIDS DISTRIBUTED BY (a); INSERT INTO dml_heap_r VALUES(generate_series(1,2),generate_series(1,2),'r'); INSERT INTO dml_heap_r VALUES(NULL,NULL,NULL); SELECT COUNT(*) FROM dml_heap_r;INSERT INTO dml_heap_r VALUES(generate_series(1,2),generate_series(1,2),'r'); INSERT INTO dml_heap_r VALUES(NULL,NULL,NULL); SELECT COUNT(*) FROM dml_heap_r; -- end_ignore -- start_ignore DROP TABLE IF EXISTS dml_heap_r; CREATE TABLE dml_heap_r (col1 serial, a int , b int default -1, c text) WITH OIDS DISTRIBUTED BY (a); INSERT INTO dml_heap_r(a,b,c) VALUES(generate_series(1,2),generate_series(1,2),'r'); INSERT INTO dml_heap_r(a,b,c) VALUES(NULL,NULL,NULL); SELECT COUNT(*) FROM dml_heap_r; -- end_ignore -- @author prabhd -- @created 2013-07-08 12:00:00 -- @modified 2013-07-08 12:00:00 -- @tags dml -- @db_name dmldb -- @description UPDATE to constant value on table with OIDS SELECT SUM(a) FROM dml_heap_r; DROP TABLE IF EXISTS tempoid; CREATE TABLE tempoid as SELECT oid,col1,a FROM dml_heap_r ORDER BY 1; UPDATE dml_heap_r SET a = 1; SELECT SUM(a) FROM dml_heap_r; -- The query checks that the tuple oids remain the remain pre and post update . -- SELECT COUNT(*) FROM tempoid, dml_heap_r WHERE tempoid.oid = dml_heap_r.oid AND tempoid.col1 = dml_heap_r.col1 is a join on the tuple oids before update and after update. If the oids remain the same the below query should return 1 row which is equivalent to the number of rows in the table SELECT * FROM ( (SELECT COUNT(*) FROM dml_heap_r) UNION (SELECT COUNT(*) FROM tempoid, dml_heap_r WHERE tempoid.oid = dml_heap_r.oid AND tempoid.col1 = dml_heap_r.col1))foo; -- start_ignore DROP TABLE IF EXISTS dml_heap_r; DROP TABLE IF EXISTS dml_heap_p; CREATE TABLE dml_heap_r (a int , b int default -1, c text) WITH OIDS DISTRIBUTED BY (a); CREATE TABLE dml_heap_p (col1 serial, a numeric, b decimal) WITH OIDS DISTRIBUTED BY (a,b); INSERT INTO dml_heap_p(a,b) SELECT id as a, id as b FROM (SELECT * FROM generate_series(1,2) as id) AS x; INSERT INTO dml_heap_p(a,b) VALUES(NULL,NULL); INSERT INTO dml_heap_r VALUES(generate_series(1,2),generate_series(1,2),'r'); INSERT INTO dml_heap_r VALUES(NULL,NULL,NULL); SELECT COUNT(*) FROM dml_heap_r; SELECT COUNT(*) FROM dml_heap_p; -- end_ignore -- @author prabhd -- @created 2013-07-08 12:00:00 -- @modified 2013-07-08 12:00:00 -- @tags dml -- @db_name dmldb -- @description UPDATE with SELECT on table with OIDS SELECT SUM(a), SUM(b) FROM dml_heap_p; DROP TABLE IF EXISTS tempoid; CREATE TABLE tempoid as SELECT oid,col1,a,b FROM dml_heap_p ORDER BY 1; UPDATE dml_heap_p SET a = (SELECT a FROM dml_heap_r ORDER BY 1 LIMIT 1), b = ((SELECT b FROM dml_heap_r ORDER BY 1 LIMIT 1)); -- The query checks that the tuple oids remain the remain pre and post update . -- SELECT COUNT(*) FROM tempoid, dml_heap_r WHERE tempoid.oid = dml_heap_r.oid AND tempoid.col1 = dml_heap_r.col1 is a join on the tuple oids before update and after update. If the oids remain the same the below query should return 1 row which is equivalent to the number of rows in the table SELECT * FROM ( (SELECT COUNT(*) FROM dml_heap_p) UNION (SELECT COUNT(*) FROM tempoid, dml_heap_p WHERE tempoid.oid = dml_heap_p.oid AND tempoid.col1 = dml_heap_p.col1))foo; SELECT SUM(a), SUM(b) FROM dml_heap_p; -- start_ignore DROP TABLE IF EXISTS dml_heap_r; DROP TABLE IF EXISTS dml_heap_p; CREATE TABLE dml_heap_r (col1 serial,a int , b int default -1, c text) WITH OIDS DISTRIBUTED BY (a); CREATE TABLE dml_heap_p (col1 serial, a numeric, b decimal) WITH OIDS DISTRIBUTED BY (a,b); INSERT INTO dml_heap_p(a,b) SELECT id as a, id as b FROM (SELECT * FROM generate_series(1,2) as id) AS x; INSERT INTO dml_heap_p(a,b) VALUES(NULL,NULL); INSERT INTO dml_heap_r(a,b,c) VALUES(generate_series(1,2),generate_series(1,2),'r'); INSERT INTO dml_heap_r(a,b,c) VALUES(NULL,NULL,NULL); SELECT COUNT(*) FROM dml_heap_r; SELECT COUNT(*) FROM dml_heap_p; -- end_ignore -- @author prabhd -- @created 2013-07-08 12:00:00 -- @modified 2013-07-08 12:00:00 -- @tags dml -- @db_name dmldb -- @description UPDATE with joins on table with OIDS SELECT SUM(a) FROM dml_heap_r; DROP TABLE IF EXISTS tempoid; CREATE TABLE tempoid as SELECT oid,col1,a FROM dml_heap_r ORDER BY 1; SELECT SUM(dml_heap_r.a) FROM dml_heap_p, dml_heap_r WHERE dml_heap_r.b = dml_heap_p.a; UPDATE dml_heap_r SET a = dml_heap_r.a FROM dml_heap_p WHERE dml_heap_r.b = dml_heap_p.a; -- The query checks that the tuple oids remain the remain pre and post update . -- SELECT COUNT(*) FROM tempoid, dml_heap_r WHERE tempoid.oid = dml_heap_r.oid AND tempoid.col1 = dml_heap_r.col1 is a join on the tuple oids before update and after update. If the oids remain the same the below query should return 1 row which is equivalent to the number of rows in the table SELECT * FROM ( (SELECT COUNT(*) FROM dml_heap_r) UNION (SELECT COUNT(*) FROM tempoid, dml_heap_r WHERE tempoid.oid = dml_heap_r.oid AND tempoid.col1 = dml_heap_r.col1))foo; SELECT SUM(a) FROM dml_heap_r; -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int check (a>0) , b int, c int, d int, CHECK (a+b>5)) DISTRIBUTED BY (a); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gpopt 1.524 -- @gucs client_min_messages='log' -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=off; explain insert into constr_tab values (1,2,3); -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_1_orca.out|grep -v grep | uniq -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int check (a>0) , b int, c int, d int, CHECK (a+b>5)) DISTRIBUTED BY (a); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gucs client_min_messages='log' -- @gpopt 1.524 -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=on; explain insert into constr_tab values (1,2,3); -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_2_orca.out|grep -v grep | uniq -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int check (a>0) , b int, c int, d int, CHECK (a+b>5)) DISTRIBUTED BY (a); INSERT INTO constr_tab VALUES(1,5,3,4); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gpopt 1.524 -- @gucs client_min_messages='log' -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=off; explain update constr_tab set a = 10; -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_3_orca.out|grep -v grep | uniq -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int check (a>0) , b int, c int, d int, CHECK (a+b>5)) DISTRIBUTED BY (a); INSERT INTO constr_tab VALUES(1,5,3,4); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gpopt 1.524 -- @gucs client_min_messages='log' -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=off; explain update constr_tab set b = 10; -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_4_orca.out|grep -v grep | uniq -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int check (a>0) , b int, c int, d int, CHECK (a+b>5)) DISTRIBUTED BY (a); INSERT INTO constr_tab VALUES(1,5,3,4); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gpopt 1.524 -- @gucs client_min_messages='log' -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=on; explain update constr_tab set b = 10; -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_5_orca.out|grep -v grep | uniq -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int NOT NULL, b int, c int, d int, CHECK (a+b>5)) DISTRIBUTED BY (a); INSERT INTO constr_tab VALUES(1,5,3,4); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gpopt 1.524 -- @gucs client_min_messages='log' -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=off; explain update constr_tab set a = 10; -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_6_orca.out|grep -v grep | uniq -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int NOT NULL, b int NOT NULL, c int NOT NULL, d int NOT NULL) DISTRIBUTED BY (a,b); INSERT INTO constr_tab VALUES(1,5,3,4); INSERT INTO constr_tab VALUES(1,5,3,4); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gpopt 1.524 -- @gucs client_min_messages='log' -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=off; explain update constr_tab set b = 10; -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_7_orca.out|grep -v grep | uniq -- start_ignore DROP TABLE IF EXISTS constr_tab; CREATE TABLE constr_tab ( a int, b int, c int, d int) DISTRIBUTED BY (a); INSERT INTO constr_tab VALUES(1,5,3,4); INSERT INTO constr_tab VALUES(1,5,3,4); -- end_ignore -- @author prabhd -- @created 2014-04-01 12:00:00 -- @tags dml ORCA -- @product_version gpdb: [4.3-] -- @gpopt 1.524 -- @gucs client_min_messages='log' -- @optimizer_mode on -- @description GUC to disable DML in Orca in the presence of check or not null constraints -- start_ignore set optimizer_dml_constraints=off; explain update constr_tab set a = 10; -- end_ignore \!grep Planner %MYD%/output/fallback_dml_constraint_8_orca.out|grep -v grep | uniq -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_check_p; DROP TABLE IF EXISTS dml_ao_check_r; DROP TABLE IF EXISTS dml_ao_check_s; CREATE TABLE dml_ao_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_ao_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_ao_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_ao_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_ao_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_ao_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test1: Insert data that satisfy the check constraints SELECT COUNT(*) FROM dml_ao_check_s; SELECT COUNT(*) FROM (SELECT dml_ao_check_s.a, dml_ao_check_s.b, 'text', dml_ao_check_s.d FROM dml_ao_check_r, dml_ao_check_s WHERE dml_ao_check_r.a = dml_ao_check_s.b)foo; INSERT INTO dml_ao_check_s SELECT dml_ao_check_s.a, dml_ao_check_s.b, 'text', dml_ao_check_s.d FROM dml_ao_check_r, dml_ao_check_s WHERE dml_ao_check_r.a = dml_ao_check_s.b ; SELECT COUNT(*) FROM dml_ao_check_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_check_p; DROP TABLE IF EXISTS dml_ao_check_r; DROP TABLE IF EXISTS dml_ao_check_s; CREATE TABLE dml_ao_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_ao_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_ao_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_ao_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_ao_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_ao_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @gpopt 1.532 -- @execute_all_plans True -- @description test2: Negative test - Insert default value violates check constraint SELECT COUNT(*) FROM dml_ao_check_p; INSERT INTO dml_ao_check_p select generate_series(1,100),'p', generate_series(1,100); SELECT COUNT(*) FROM dml_ao_check_p; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_check_p; DROP TABLE IF EXISTS dml_ao_check_r; DROP TABLE IF EXISTS dml_ao_check_s; CREATE TABLE dml_ao_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_ao_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_ao_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_ao_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_ao_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_ao_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @description test3: Negative test - Insert default value violates NOT NULL constraint SELECT COUNT(*) FROM dml_ao_check_s; INSERT INTO dml_ao_check_s values(default,1,'nn',1.0000); SELECT COUNT(*) FROM dml_ao_check_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_check_p; DROP TABLE IF EXISTS dml_ao_check_r; DROP TABLE IF EXISTS dml_ao_check_s; CREATE TABLE dml_ao_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_ao_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_ao_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_ao_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_ao_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_ao_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @gpopt 1.532 -- @execute_all_plans True -- @description test4: Negative test - Insert with joins where the result tuples violate the user defined check constraint SELECT COUNT(*) FROM dml_ao_check_r; SELECT COUNT(*) FROM (SELECT dml_ao_check_r.a + 110 , dml_ao_check_r.b, dml_ao_check_r.c, dml_ao_check_r.d FROM dml_ao_check_r, dml_ao_check_s WHERE dml_ao_check_r.a = dml_ao_check_s.a)foo; INSERT INTO dml_ao_check_r SELECT dml_ao_check_r.a + 110 , dml_ao_check_r.b, dml_ao_check_r.c, dml_ao_check_r.d FROM dml_ao_check_r, dml_ao_check_s WHERE dml_ao_check_r.a = dml_ao_check_s.a; SELECT COUNT(*) FROM dml_ao_check_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_check_p; DROP TABLE IF EXISTS dml_ao_check_r; DROP TABLE IF EXISTS dml_ao_check_s; CREATE TABLE dml_ao_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_ao_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_ao_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_ao_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_ao_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_ao_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_ao_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @gpopt 1.532 -- @execute_all_plans True -- @description test5: Insert with joins where the result tuples violate violates multiple check constraints SELECT COUNT(*) FROM dml_ao_check_r; SELECT COUNT(*) FROM (SELECT dml_ao_check_r.a + 110 , 0, dml_ao_check_r.c, NULL FROM dml_ao_check_r, dml_ao_check_s WHERE dml_ao_check_r.a = dml_ao_check_s.a)foo; INSERT INTO dml_ao_check_r SELECT dml_ao_check_r.a + 110 , 0, dml_ao_check_r.c, NULL FROM dml_ao_check_r, dml_ao_check_s WHERE dml_ao_check_r.a = dml_ao_check_s.a; SELECT COUNT(*) FROM dml_ao_check_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test1: Negative test - Constant tuple Inserts( no partition for partitioning key ) SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r values(10); SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test10: Join on the distribution key of target table SELECT COUNT(*) FROM dml_ao_pt_s; SELECT COUNT(*) FROM (SELECT dml_ao_pt_s.* FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_s.a = dml_ao_pt_r.a)foo; INSERT INTO dml_ao_pt_s SELECT dml_ao_pt_s.* FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_s.a = dml_ao_pt_r.a; SELECT COUNT(*) FROM dml_ao_pt_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test11: Join on distribution key of target table SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT dml_ao_pt_r.a,dml_ao_pt_r.b,dml_ao_pt_s.c FROM dml_ao_pt_s INNER JOIN dml_ao_pt_r on dml_ao_pt_r.a = dml_ao_pt_s.a)foo; INSERT INTO dml_ao_pt_r SELECT dml_ao_pt_r.a,dml_ao_pt_r.b,dml_ao_pt_s.c FROM dml_ao_pt_s INNER JOIN dml_ao_pt_r on dml_ao_pt_r.a = dml_ao_pt_s.a ; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test12: Join on the distribution key of target table. Insert Large number of rows SELECT COUNT(*) FROM dml_ao_pt_s; SELECT COUNT(*) FROM (SELECT dml_ao_pt_r.a,dml_ao_pt_r.b,dml_ao_pt_s.c FROM dml_ao_pt_s INNER JOIN dml_ao_pt_r on dml_ao_pt_r.b = dml_ao_pt_s.b)foo; INSERT INTO dml_ao_pt_s SELECT dml_ao_pt_r.a,dml_ao_pt_r.b,dml_ao_pt_s.c FROM dml_ao_pt_s INNER JOIN dml_ao_pt_r on dml_ao_pt_r.b = dml_ao_pt_s.b ; SELECT COUNT(*) FROM dml_ao_pt_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test13: Join with different column order SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT dml_ao_pt_s.a,dml_ao_pt_r.b,'text' FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b)foo; INSERT INTO dml_ao_pt_r(b,a,c) SELECT dml_ao_pt_s.a,dml_ao_pt_r.b,'text' FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test14: Join with Aggregate SELECT COUNT(*) FROM dml_ao_pt_r; ALTER TABLE dml_ao_pt_r ADD DEFAULT partition def; SELECT COUNT(*) FROM (SELECT COUNT(*) + dml_ao_pt_s.a, dml_ao_pt_r.b + dml_ao_pt_r.a ,'text' FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b GROUP BY dml_ao_pt_s.a,dml_ao_pt_r.b,dml_ao_pt_r.a)foo; INSERT INTO dml_ao_pt_r SELECT COUNT(*) + dml_ao_pt_s.a, dml_ao_pt_r.b + dml_ao_pt_r.a ,'text' FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b GROUP BY dml_ao_pt_s.a,dml_ao_pt_r.b,dml_ao_pt_r.a ; SELECT COUNT(*) FROM dml_ao_pt_r; ALTER TABLE dml_ao_pt_r DROP DEFAULT partition; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test15: Join with DISTINCT SELECT COUNT(*) FROM dml_ao_pt_s; SELECT COUNT(*) FROM (SELECT DISTINCT dml_ao_pt_r.a,dml_ao_pt_r.b,dml_ao_pt_s.c FROM dml_ao_pt_s INNER JOIN dml_ao_pt_r on dml_ao_pt_s.a = dml_ao_pt_r.a)foo; INSERT INTO dml_ao_pt_s SELECT DISTINCT dml_ao_pt_r.a,dml_ao_pt_r.b,dml_ao_pt_s.c FROM dml_ao_pt_s INNER JOIN dml_ao_pt_r on dml_ao_pt_s.a = dml_ao_pt_r.a ; SELECT COUNT(*) FROM dml_ao_pt_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test16: Insert NULL with Joins SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT NULL,dml_ao_pt_r.b,'text' FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b)foo; INSERT INTO dml_ao_pt_r SELECT NULL,dml_ao_pt_r.b,'text' FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test18: Insert 0 rows SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r SELECT dml_ao_pt_r.* FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.a LIMIT 0; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test19: Insert 0 rows SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r SELECT dml_ao_pt_r.* FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.a and false; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test2: Negative Test - Constant tuple Inserts( no partition ) SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r values(NULL,NULL); SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @description test20: Negative tests Insert column of different data type SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT ('a')::int, dml_ao_pt_r.b,10 FROM dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b)foo; INSERT INTO dml_ao_pt_r SELECT ('a')::int, dml_ao_pt_r.b,10 FROM dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test21: Negative test case. INSERT has more expressions than target columns SELECT COUNT(*) FROM dml_ao_pt_s; SELECT COUNT(*) FROM (SELECT COUNT(*) as a, dml_ao_pt_r.b, dml_ao_pt_r.c, dml_ao_pt_r.d FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_s.a = dml_ao_pt_r.a GROUP BY dml_ao_pt_r.a, dml_ao_pt_r.b, dml_ao_pt_r.c, dml_ao_pt_r.d)foo; INSERT INTO dml_ao_pt_s SELECT COUNT(*) as a, dml_ao_pt_r.b, dml_ao_pt_r.c, dml_ao_pt_r.d FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_s.a = dml_ao_pt_r.a GROUP BY dml_ao_pt_r.a, dml_ao_pt_r.b, dml_ao_pt_r.c, dml_ao_pt_r.d; SELECT COUNT(*) FROM dml_ao_pt_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test22: Insert with join on the partition key SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT dml_ao_pt_r.* FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b)foo; INSERT INTO dml_ao_pt_r SELECT dml_ao_pt_r.* FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test24: Negative test - Insert NULL value to a table without default partition SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT dml_ao_pt_r.b, NULL, dml_ao_pt_r.c FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b)foo; INSERT INTO dml_ao_pt_r SELECT dml_ao_pt_r.b, NULL, dml_ao_pt_r.c FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.b; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test25: Negative test - Insert out of partition range values for table without default partition SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT dml_ao_pt_r.b ,dml_ao_pt_r.a + dml_ao_pt_s.a + 100, dml_ao_pt_r.c FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.a = dml_ao_pt_s.b)foo; INSERT INTO dml_ao_pt_r SELECT dml_ao_pt_r.b ,dml_ao_pt_r.a + dml_ao_pt_s.a + 100, dml_ao_pt_r.c FROM dml_ao_pt_r, dml_ao_pt_s WHERE dml_ao_pt_r.a = dml_ao_pt_s.b; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test3: Negative Test - Multiple constant tuple Inserts SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r values(NULL,NULL,NULL),(10,10,'text'); SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test4: Insert with generate_series SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r values(generate_series(1,10), generate_series(1,100), 'text'); SELECT COUNT(*) FROM dml_ao_pt_r WHERE c ='text'; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test5: Insert with generate_series and NULL SELECT COUNT(*) FROM dml_ao_pt_r; ALTER TABLE dml_ao_pt_r ADD DEFAULT partition def; INSERT INTO dml_ao_pt_r values(generate_series(1,10),NULL,'text'); SELECT * FROM dml_ao_pt_r WHERE c ='text' ORDER BY 1; ALTER TABLE dml_ao_pt_r DROP DEFAULT partition; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test6: Insert with generate_series SELECT COUNT(*) FROM dml_ao_pt_r; TRUNCATE TABLE dml_ao_pt_r; INSERT INTO dml_ao_pt_r SELECT generate_series(1,10),1; SELECT * FROM dml_ao_pt_r ORDER BY 1; SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test7: Insert with generate_series SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r SELECT generate_series(1,10), generate_series(1,10),'text'; SELECT COUNT(*) FROM dml_ao_pt_r WHERE c ='text'; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test8: Insert with generate_series SELECT COUNT(*) FROM dml_ao_pt_r; INSERT INTO dml_ao_pt_r SELECT *,1 from generate_series(1,10); SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_pt_r; DROP TABLE IF EXISTS dml_ao_pt_s; DROP TABLE IF EXISTS dml_ao_pt_p; CREATE TABLE dml_ao_pt_r ( a int , b int , c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a) partition by range(b) ( start(1) end(301) every(10)); CREATE TABLE dml_ao_pt_s ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(101) every(100), default partition def); CREATE TABLE dml_ao_pt_p ( a int , b int, c text , d numeric) WITH (appendonly = true) DISTRIBUTED BY (a,b) partition by list(a,d) ( partition one VALUES ((1,1),(1,2),(1,3),(1,4),(1,5)), partition two VALUES((2,1),(2,2),(2,3),(2,4),(2,5)), default partition def); INSERT INTO dml_ao_pt_r SELECT generate_series(1,100), generate_series(1,100) * 3,'r', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p SELECT generate_series(1,100), generate_series(1,100) * 3,'p', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_p VALUES(generate_series(1,10),NULL,'pn',NULL); INSERT INTO dml_ao_pt_p VALUES(NULL,1,'pn',NULL),(1,NULL,'pn',0),(NULL,NULL,'pn',0),(0,1,'pn',NULL),(NULL,NULL,'pn',NULL); INSERT INTO dml_ao_pt_s SELECT generate_series(1,100), generate_series(1,100) * 3,'s', generate_series(1,100) % 6; INSERT INTO dml_ao_pt_s VALUES(generate_series(1,10),NULL,'sn',NULL); INSERT INTO dml_ao_pt_s VALUES(NULL,1,'sn',NULL),(1,NULL,'sn',0),(NULL,NULL,'sn',0),(0,1,'sn',NULL),(NULL,NULL,'sn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test9: Join on the non-distribution key of target table SELECT COUNT(*) FROM dml_ao_pt_r; SELECT COUNT(*) FROM (SELECT dml_ao_pt_r.* FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.a)foo; INSERT INTO dml_ao_pt_r SELECT dml_ao_pt_r.* FROM dml_ao_pt_r,dml_ao_pt_s WHERE dml_ao_pt_r.b = dml_ao_pt_s.a; SELECT COUNT(*) FROM dml_ao_pt_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test1: Constant tuple Inserts SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r values(10); SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test10: Join on the distribution key of target table SELECT COUNT(*) FROM dml_ao_s; SELECT COUNT(*) FROM (SELECT dml_ao_s.* FROM dml_ao_r,dml_ao_s WHERE dml_ao_s.a = dml_ao_r.a)foo; INSERT INTO dml_ao_s SELECT dml_ao_s.* FROM dml_ao_r,dml_ao_s WHERE dml_ao_s.a = dml_ao_r.a; SELECT COUNT(*) FROM dml_ao_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test11: Join on distribution key of target table SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM (SELECT dml_ao_r.a,dml_ao_r.b,dml_ao_s.c FROM dml_ao_s INNER JOIN dml_ao_r on dml_ao_r.a = dml_ao_s.a)foo; INSERT INTO dml_ao_r SELECT dml_ao_r.a,dml_ao_r.b,dml_ao_s.c FROM dml_ao_s INNER JOIN dml_ao_r on dml_ao_r.a = dml_ao_s.a ; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test12: Join on the distribution key of target table. Insert Large number of rows SELECT COUNT(*) FROM dml_ao_s; SELECT COUNT(*) FROM (SELECT dml_ao_r.a,dml_ao_r.b,dml_ao_s.c FROM dml_ao_s INNER JOIN dml_ao_r on dml_ao_r.b <> dml_ao_s.b )foo; INSERT INTO dml_ao_s SELECT dml_ao_r.a,dml_ao_r.b,dml_ao_s.c FROM dml_ao_s INNER JOIN dml_ao_r on dml_ao_r.b <> dml_ao_s.b ; SELECT COUNT(*) FROM dml_ao_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test13: Join with different column order SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM (SELECT dml_ao_s.a,dml_ao_r.b,'text' FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b)foo; INSERT INTO dml_ao_r(b,a,c) SELECT dml_ao_s.a,dml_ao_r.b,'text' FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test14: Join with Aggregate SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM (SELECT COUNT(*) + dml_ao_s.a, dml_ao_r.b + dml_ao_r.a ,'text' FROM dml_ao_r, dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b GROUP BY dml_ao_s.a,dml_ao_r.b,dml_ao_r.a)foo; INSERT INTO dml_ao_r SELECT COUNT(*) + dml_ao_s.a, dml_ao_r.b + dml_ao_r.a ,'text' FROM dml_ao_r, dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b GROUP BY dml_ao_s.a,dml_ao_r.b,dml_ao_r.a ; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test15: Join with DISTINCT SELECT COUNT(*) FROM dml_ao_s; SELECT COUNT(*) FROM (SELECT DISTINCT dml_ao_r.a,dml_ao_r.b,dml_ao_s.c FROM dml_ao_s INNER JOIN dml_ao_r on dml_ao_s.a = dml_ao_r.a)foo; INSERT INTO dml_ao_s SELECT DISTINCT dml_ao_r.a,dml_ao_r.b,dml_ao_s.c FROM dml_ao_s INNER JOIN dml_ao_r on dml_ao_s.a = dml_ao_r.a ; SELECT COUNT(*) FROM dml_ao_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test16: Insert NULL with Joins SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM (SELECT NULL,dml_ao_r.b,'text' FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b)foo; INSERT INTO dml_ao_r SELECT NULL,dml_ao_r.b,'text' FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test17: Insert and CASE SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM (SELECT A,B, case when c ='s' then C else NULL end as C FROM (SELECT sum(dml_ao_p.a) as A, dml_ao_p.a as B, dml_ao_s.c as C FROM dml_ao_p, dml_ao_s WHERE dml_ao_p.a = dml_ao_s.a GROUP BY dml_ao_p.a,dml_ao_s.c)as x GROUP BY A,B,C)foo; INSERT INTO dml_ao_r SELECT A,B, case when c ='s' then C else NULL end as C FROM (SELECT sum(dml_ao_p.a) as A, dml_ao_p.a as B, dml_ao_s.c as C FROM dml_ao_p, dml_ao_s WHERE dml_ao_p.a = dml_ao_s.a GROUP BY dml_ao_p.a,dml_ao_s.c)as x GROUP BY A,B,C; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test18: Insert 0 rows SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r SELECT dml_ao_r.* FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.a LIMIT 0; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test19: Insert 0 rows SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r SELECT dml_ao_r.* FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.a and false; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test2: Constant tuple Inserts SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r values(NULL); SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @description test20: Negative tests Insert column of different data type SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM (SELECT ('a')::int, dml_ao_r.b,10 FROM dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b)foo; INSERT INTO dml_ao_r SELECT ('a')::int, dml_ao_r.b,10 FROM dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @description test21: Negative test case. INSERT has more expressions than target columns SELECT COUNT(*) FROM dml_ao_s; SELECT COUNT(*) FROM (SELECT COUNT(*) as a, dml_ao_r.* FROM dml_ao_r, dml_ao_s WHERE dml_ao_s.a = dml_ao_r.a GROUP BY dml_ao_r.a, dml_ao_r.b, dml_ao_r.c)foo; INSERT INTO dml_ao_s SELECT COUNT(*) as a, dml_ao_r.* FROM dml_ao_r, dml_ao_s WHERE dml_ao_s.a = dml_ao_r.a GROUP BY dml_ao_r.a, dml_ao_r.b, dml_ao_r.c; SELECT COUNT(*) FROM dml_ao_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test3: Multiple constant tuple Inserts SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r values(NULL,NULL,NULL),(10,10,'text'); SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test4: Insert with generate_series SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r values(generate_series(1,10), generate_series(1,100), 'text'); SELECT COUNT(*) FROM dml_ao_r WHERE c ='text'; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test5: Insert with generate_series and NULL SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r values(generate_series(1,10),NULL,'text'); SELECT * FROM dml_ao_r WHERE c ='text' ORDER BY 1; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test6: Insert with generate_series SELECT COUNT(*) FROM dml_ao_r; TRUNCATE TABLE dml_ao_r; INSERT INTO dml_ao_r SELECT generate_series(1,10); SELECT * FROM dml_ao_r ORDER BY 1; SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test7: Insert with generate_series SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r SELECT generate_series(1,10), generate_series(1,10),'text'; SELECT COUNT(*) FROM dml_ao_r WHERE c ='text'; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test8: Insert with generate_series SELECT COUNT(*) FROM dml_ao_r; INSERT INTO dml_ao_r SELECT * from generate_series(1,10); SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_ao_r; DROP TABLE IF EXISTS dml_ao_s; DROP TABLE IF EXISTS dml_ao_p; CREATE TABLE dml_ao_r (a int , b int default -1, c text) WITH (appendonly = true) DISTRIBUTED BY (a); CREATE TABLE dml_ao_p (a numeric, b decimal , c boolean , d text , e int) WITH (appendonly = true) DISTRIBUTED BY (a,b); CREATE TABLE dml_ao_s as select dml_ao_r.b, dml_ao_r.a, dml_ao_r.c from dml_ao_r, dml_ao_p WHERE dml_ao_r.a = dml_ao_p.a; ALTER TABLE dml_ao_s SET DISTRIBUTED BY (b); INSERT INTO dml_ao_p SELECT id * 1.012, id * 1.1, true, 'new', id as d FROM (SELECT * FROM generate_series(1,100) as id) AS x; INSERT INTO dml_ao_p VALUES(generate_series(1,10),NULL,false,'pn',NULL); INSERT INTO dml_ao_p VALUES(NULL,1,false,'pn',NULL),(1,NULL,false,'pn',0),(NULL,NULL,false,'pn',0); INSERT INTO dml_ao_s VALUES(generate_series(1,100),generate_series(1,100),'s'); INSERT INTO dml_ao_s VALUES(NULL,NULL,'sn'),(1,NULL,'sn'),(NULL,0,'sn'); INSERT INTO dml_ao_s VALUES(generate_series(1,10),NULL,'sn'); INSERT INTO dml_ao_r VALUES(generate_series(1,100),generate_series(1,100),'r'); INSERT INTO dml_ao_r VALUES(NULL,NULL,'rn'),(1,NULL,'rn'),(NULL,0,'rn'); INSERT INTO dml_ao_r VALUES(generate_series(1,10),NULL,'rn'); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test9: Join on the non-distribution key of target table SELECT COUNT(*) FROM dml_ao_r; SELECT COUNT(*) FROM (SELECT dml_ao_r.* FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b)foo; INSERT INTO dml_ao_r SELECT dml_ao_r.* FROM dml_ao_r,dml_ao_s WHERE dml_ao_r.b = dml_ao_s.b; SELECT COUNT(*) FROM dml_ao_r; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_co_check_p; DROP TABLE IF EXISTS dml_co_check_r; DROP TABLE IF EXISTS dml_co_check_s; CREATE TABLE dml_co_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_co_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_co_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_co_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_co_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_co_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_co_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_co_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_co_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @execute_all_plans True -- @description test1: Insert data that satisfy the check constraints SELECT COUNT(*) FROM dml_co_check_s; SELECT COUNT(*) FROM (SELECT dml_co_check_s.a, dml_co_check_s.b, 'text', dml_co_check_s.d FROM dml_co_check_r, dml_co_check_s WHERE dml_co_check_r.a = dml_co_check_s.b)foo; INSERT INTO dml_co_check_s SELECT dml_co_check_s.a, dml_co_check_s.b, 'text', dml_co_check_s.d FROM dml_co_check_r, dml_co_check_s WHERE dml_co_check_r.a = dml_co_check_s.b ; SELECT COUNT(*) FROM dml_co_check_s; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_co_check_p; DROP TABLE IF EXISTS dml_co_check_r; DROP TABLE IF EXISTS dml_co_check_s; CREATE TABLE dml_co_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_co_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_co_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_co_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_co_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_co_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_co_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_co_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_co_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @gpopt 1.532 -- @execute_all_plans True -- @description test2: Negative test - Insert default value violates check constraint SELECT COUNT(*) FROM dml_co_check_p; INSERT INTO dml_co_check_p select generate_series(1,100),'p', generate_series(1,100); SELECT COUNT(*) FROM dml_co_check_p; -- start_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb DROP TABLE IF EXISTS dml_co_check_p; DROP TABLE IF EXISTS dml_co_check_r; DROP TABLE IF EXISTS dml_co_check_s; CREATE TABLE dml_co_check_r ( a int default 100 CHECK( a between 1 and 105), b float8 CONSTRAINT rcheck_b CHECK( b <> 0.00 and b IS NOT NULL), c text, d numeric NOT NULL) DISTRIBUTED BY (a) partition by list(b) ( partition one values (1.0,2.0,3.0,4.0,5.0), partition two values(6.0,7.0,8.0,9.0,10.00), default partition def ); CREATE TABLE dml_co_check_s ( a int CONSTRAINT scheck_a NOT NULL CHECK(a >= 0 and a < 110), b int CONSTRAINT scheck_b CHECK( b is not null), c text , d numeric CHECK (d - 1 <> 17) ) DISTRIBUTED BY (b) partition by range(a) ( start(1) end(102) every(10), default partition def ); CREATE TABLE dml_co_check_p ( a int NOT NULL CONSTRAINT p_check_a CHECK( a <= 100) , b text DEFAULT 'defval', c text , d float8 CONSTRAINT p_check_d CHECK( d <= 100.00), CHECK ( b = c ) ) DISTRIBUTED BY (a,b); INSERT INTO dml_co_check_r SELECT i, i * 3.33,'r', i % 6 FROM generate_series(1,100)i; INSERT INTO dml_co_check_r VALUES(DEFAULT,1.00,'rn',0),(NULL,2.00,'rn',0),(NULL,3.00,'rn',0),(NULL,4.00,'rn',0),(DEFAULT,5.00,'rn',0); INSERT INTO dml_co_check_s SELECT i, i * 3,'s', i / 6 FROM generate_series(1,100)i; INSERT INTO dml_co_check_s VALUES(1,1,'sn',NULL),(2,2,'sn',NULL),(3,3,'sn',NULL),(4,4,'sn',NULL),(5,5,'sn',NULL); INSERT INTO dml_co_check_p SELECT i, 'p','p', i FROM generate_series(1,100)i; INSERT INTO dml_co_check_p VALUES(1,'pn','pn',NULL),(2,'pn','pn',NULL),(3,'pn','pn',NULL),(4,'pn','pn',NULL),(5,'pn','pn',NULL); -- end_ignore -- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml HAWQ -- @db_name dmldb -- @description test3: Negative test - Insert default value violates NOT NULL constraint SELECT COUNT(*) FROM dml_co_check_s; INSERT INTO dml_co_check_s values(default,1,'nn',1.0000); SELECT COUNT(*) FROM dml_co_check_s; -- start_ignore drop schema functional_1_75 cascade; -- end_ignore
BEGIN; ALTER TABLE prims ADD COLUMN VolumeDetect INTEGER NOT NULL DEFAULT 0; COMMIT;
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Author: hp * Created: 24 Jan, 2019 */ update treatmentdata set department=UPPER(replace(department,' ','_')); ALTER TABLE `config` ADD COLUMN `admin_email` VARCHAR(45) AFTER `edit_flag`; ALTER TABLE `xrayregistery` ADD COLUMN `refDate` VARCHAR(45) AFTER `treatID`; update xrayregistery set refDate=xrayDate where xrayDate is not null; ALTER TABLE `role_master` ADD PRIMARY KEY(`role_id`); ALTER TABLE `role_master` CHANGE `role_id` `role_id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT; ALTER TABLE `ecgregistery` ADD COLUMN `refDate` VARCHAR(45) AFTER `treatId`; ALTER TABLE `usgregistery` ADD COLUMN `refDate` VARCHAR(45) AFTER `treatId`; ALTER TABLE `treatmentdata` MODIFY COLUMN `deptOpdNo` INTEGER; CREATE TABLE `config_variables` ( `config_var_id` INTEGER NOT NULL AUTO_INCREMENT, `config_var_name` VARCHAR(250) NOT NULL, `config_var_value` VARCHAR(45) NOT NULL, PRIMARY KEY (`config_var_id`) ) ENGINE = InnoDB; INSERT INTO `config_variables` (`config_var_id`, `config_var_name`, `config_var_value`) VALUES (1, 'OPD_CHARGES', '10.00'), (2, 'OPD_CHARGES_IN_WORDS', 'Ten rupees only'); ALTER TABLE `treatmentdata` ADD COLUMN `monthly_sid` INTEGER NOT NULL AFTER `attndedon`; ALTER TABLE `treatmentdata` ADD COLUMN `year_no` INTEGER DEFAULT 0 AFTER `monthly_sid`; ALTER TABLE `panchaprocedure` ADD COLUMN `proc_end_date` DATE AFTER `treatid`; CREATE TABLE `master_panchakarma_procedures` ( `id` INTEGER NOT NULL AUTO_INCREMENT, `proc_name` VARCHAR(200) NOT NULL, `last_modified_date` DATETIME DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE = InnoDB; DROP TABLE IF EXISTS `master_panchakarma_sub_procedures`; CREATE TABLE `master_panchakarma_sub_procedures` ( `id` int(11) NOT NULL AUTO_INCREMENT, `procecure_id` int(11) NOT NULL, `sub_proc_name` varchar(200) NOT NULL, `no_of_treatment_days` int(11) DEFAULT NULL, `last_modified_date` datetime DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `FK_master_panchakarma_sub_procedures_1` (`procecure_id`), CONSTRAINT `FK_master_panchakarma_sub_procedures_1` FOREIGN KEY (`procecure_id`) REFERENCES `master_panchakarma_procedures` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; update perm_master set perm_desc='Patient Master',perm_code='PATIENT_MASTER',perm_url='patient-list' where perm_id=5; ALTER TABLE `lab_investigations` ADD COLUMN `lab_test_reference` VARCHAR(100) NULL AFTER `lab_test_id`; ALTER TABLE `labregistery` CHANGE COLUMN `tested_date` `tested_date` DATE NULL DEFAULT NULL ; ALTER TABLE `lab_investigations` CHANGE COLUMN `lab_test_reference` `lab_test_reference` VARCHAR(250) NULL DEFAULT NULL ; ALTER TABLE `xray_ref` CHANGE COLUMN `xraypart` `xraypart` VARCHAR(200) NULL DEFAULT NULL , CHANGE COLUMN `filmsize` `filmsize` VARCHAR(200) NULL DEFAULT NULL ; ALTER TABLE `birthregistery` ADD COLUMN `anesthesia_type` VARCHAR(45) NULL DEFAULT NULL AFTER `birthtime`; ALTER TABLE `ksharsutraregistery` ADD COLUMN `anesthesia_type` VARCHAR(45) NULL DEFAULT NULL AFTER `anaesthetic`; ALTER TABLE `surgeryregistery` ADD COLUMN `anesthesia_type` VARCHAR(45) NULL DEFAULT NULL AFTER `surgeryname`; ALTER TABLE `deptper` ADD COLUMN `ref_room` INT NULL AFTER `bed_count`; UPDATE `deptper` SET `ref_room` = '1' WHERE (`ID` = '1'); UPDATE `deptper` SET `ref_room` = '2' WHERE (`ID` = '5'); UPDATE `deptper` SET `ref_room` = '3' WHERE (`ID` = '3'); UPDATE `deptper` SET `ref_room` = '4' WHERE (`ID` = '8'); UPDATE `deptper` SET `ref_room` = '5' WHERE (`ID` = '2'); UPDATE `deptper` SET `ref_room` = '6' WHERE (`ID` = '4'); UPDATE `deptper` SET `ref_room` = '8' WHERE (`ID` = '9'); UPDATE `deptper` SET `ref_room` = '7' WHERE (`ID` = '10'); ALTER TABLE `treatmentdata` ADD COLUMN `sl_id` INT NULL AFTER `sub_department`; CREATE TABLE `kriyakalpa` ( `id` int(11) NOT NULL AUTO_INCREMENT, `OpdNo` int(11) DEFAULT NULL, `IpNo` int(11) DEFAULT NULL, `treat_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1; INSERT INTO `kriyakalpa` (`OpdNo`,`IpNo`,`treat_id`) SELECT t.OpdNo,ip.IpNo,t.ID FROM treatmentdata t, (SELECT @a:= 0) AS a JOIN patientdata p LEFT JOIN inpatientdetails ip ON ip.OpdNo=p.OpdNo WHERE t.OpdNo=p.OpdNo AND LOWER(t.department)=LOWER('SHALAKYA_TANTRA'); INSERT INTO `months_list` (`months_name`,`month_number`) VALUES ('January',1),('February',2),('March',3),('April',4),('May',5),('June',6),('July',7),('August',8),('September',9), ('October',10),('November',11),('December',12); -- Nursing indent report INSERT INTO `perm_master` (`perm_id`, `perm_code`, `perm_desc`, `perm_order`, `perm_label`, `perm_parent`, `perm_class`, `perm_url`, `perm_status`, `perm_attr`, `perm_icon`, `last_updated_id`, `last_updated_date`) VALUES (48, 'NURSING_INDENT_REPORT', 'Nursing indent report', 16, 0, '14', '', 'reports/nursing', 'Active', '', '', 1, '2021-04-02 19:39:41'); INSERT INTO `role_perm` (`role_perm_id`, `role_id`, `perm_id`, `status`, `last_updated_id`, `last_updated_date`, `access_perm`) VALUES (75, 1, 48, 'Active', 0, '2021-04-02 19:39:49', 2); CREATE TABLE `months_list` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 ; INSERT INTO `months_list` (`name`) VALUES ('January'),('February'),('March'),('April'),('May'),('June'),('July'),('August'),('September'),('October'),('November'),('December'); CREATE TABLE `diet_register` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ipd_no` int(11) DEFAULT NULL, `opd_no` int(11) DEFAULT NULL, `treat_id` int(11) DEFAULT NULL, `morning` varchar(100) DEFAULT NULL, `after_noon` varchar(100) DEFAULT NULL, `evening` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1; INSERT INTO `diet_register` (`ipd_no`,`opd_no`,`treat_id`,`morning`,`after_noon`,`evening`) SELECT IpNo,OpdNo,treatId,'Bread/Biscuit/Tea','Chapati rice','Chapati rice' FROM inpatientdetails ; CREATE TABLE `archived_data` ( `id` int(11) NOT NULL AUTO_INCREMENT, `db_name` varchar(45) DEFAULT NULL, `status` varchar(45) DEFAULT 'active', `name` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1; INSERT INTO archived_data (db_name,status,name) VALUES('ahms_kramch_2020','Active','2020'); INSERT INTO `role_master` (`role_name`, `role_code`, `last_updated_by`) VALUES ('Super Admin', 'SUP_ADMIN', '1'); INSERT INTO `users` (`user_name`, `user_email`, `user_mobile`, `user_type`, `active`) VALUES ('Abhilasha', '<EMAIL>', '9845098450', '7', '1'); UPDATE `users` SET `user_password` = <PASSWORD>' WHERE (`ID` = '19'); INSERT INTO `i_user_roles` (`user_id`, `role_id`) VALUES ('19', '7'); INSERT INTO `perm_master`(`perm_code`,`perm_desc`,`perm_order`,`perm_label`,`perm_parent`,`perm_class`,`perm_url`,`perm_status`,`perm_attr`,`perm_icon`,`last_updated_id`) VALUES('STOCK_LIST','Stock List',6,0,30,'','stock-view','Active','','',1); INSERT INTO `role_perm`(`role_id`,`perm_id`,`status`,`last_updated_id`,`access_perm`) VALUES(1,56,'Active',1,1); INSERT INTO `perm_master`(`perm_code`,`perm_desc`,`perm_order`,`perm_label`,`perm_parent`,`perm_class`,`perm_url`,`perm_status`,`perm_attr`,`perm_icon`,`last_updated_id`) VALUES('PURCHASE_ENTRY','Purchase entry',7,0,30,'','add-purchase','Active','','',1); INSERT INTO `role_perm`(`role_id`,`perm_id`,`status`,`last_updated_id`,`access_perm`) VALUES(1,57,'Active',1,1);
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Dec 08, 2021 at 02:19 AM -- Server version: 10.4.20-MariaDB -- PHP Version: 7.4.22 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: `gmcthail_pa` -- -- -------------------------------------------------------- -- -- Table structure for table `group_department` -- CREATE TABLE `group_department` ( `id` int(11) NOT NULL, `department_nm` text COLLATE utf8_unicode_ci DEFAULT NULL, `department_bref` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL, `department_table` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL, `department_char` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `group_department` -- INSERT INTO `group_department` (`id`, `department_nm`, `department_bref`, `department_table`, `department_char`) VALUES (1, 'สำนักงานเขตพื้นที่การศึกษามัธยมศึกษา', 'สพม', 'affsub44AfBAA', 'affsub34AfBA'), (2, 'สำนักงานเขตพื้นที่การศึกษาประถมศึกษา ', 'สพป', 'affsub44AfBAB', 'affsub34AfBA'), (3, 'สำนักบริหารงานการศึกษาพิเศษ ', 'สศศ', 'affsub34AfBB', NULL), (4, 'สำนักงานคณะกรรมการส่งเสริมการศึกษาเอกชน ', 'สช', 'affsub34AfC', NULL), (5, 'สำนักงานคณะกรรมการการอุดมศึกษา / สังกัดมหาวิทยาลัย', 'สกอ', 'affsub24AfF', NULL), (6, 'องค์การปกครองส่วนท้องถิ่น ', 'อปธ', 'affsub44AfG', 'affsub34AfG'), (7, 'สำนักงานคณะกรรมการการอาชีวศึกษา', 'สอศ', 'affsub34AfE', NULL), (8, 'สำนักงานส่งเสริมการศึกษานอกระบบและการศึกษาตามอัธยาศัย', 'กศน', NULL, NULL), (9, 'สำนักงานศึกษาธิการจังหวัด', 'ศธจ', NULL, NULL), (10, 'สังกัดสำนักงานคณะกรรมการการศึกษาขั้นพื้นฐาน', 'สพฐ', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `group_learn` -- CREATE TABLE `group_learn` ( `id` int(11) NOT NULL, `group` text COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `group_learn` -- INSERT INTO `group_learn` (`id`, `group`) VALUES (1, 'ภาษาไทย'), (2, 'คณิตศาสตร์'), (3, 'วิทยาศาสตร์'), (4, 'สังคมศึกษา ศาสนา และวัฒนธรรม'), (5, 'สุขศึกษาและพลศึกษา'), (6, 'ศิลปะ'), (7, 'การงานอาชีพและเทคโนโลยี'), (8, 'ภาษาต่างประเทศ'), (9, 'กิจกรรมพัฒนาผู้เรียน'); -- -------------------------------------------------------- -- -- Table structure for table `group_member` -- CREATE TABLE `group_member` ( `id` int(11) NOT NULL, `group` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `group_member` -- INSERT INTO `group_member` (`id`, `group`) VALUES (1, 'นักเรียน'), (2, 'ครู'), (3, 'ศึกษานิเทศน์'), (4, 'ผู้บริหารสถานศึกษา'), (5, 'ผู้บริหารการศึกษา'), (6, 'บุคลากรอื่น ๆ'); -- -------------------------------------------------------- -- -- Table structure for table `pa` -- CREATE TABLE `pa` ( `id` int(11) NOT NULL, `PA_year` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `user_id` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `1_1` int(11) DEFAULT NULL, `1_2` int(11) DEFAULT NULL, `1_3` int(11) DEFAULT NULL, `1_4` int(11) DEFAULT NULL, `2_1` int(11) DEFAULT NULL, `2_2` int(11) DEFAULT NULL, `3` int(11) DEFAULT NULL, `4` int(11) DEFAULT NULL, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `pa` -- INSERT INTO `pa` (`id`, `PA_year`, `user_id`, `1_1`, `1_2`, `1_3`, `1_4`, `2_1`, `2_2`, `3`, `4`, `created_at`, `updated_at`) VALUES (16, '2564', '5816582', 0, NULL, 0, 0, 0, 0, 0, 0, '2021-09-21 21:56:43', '2021-09-21 21:56:43'), (17, '2564', '6', 0, NULL, 0, 0, 0, 0, 0, 0, '2021-09-23 07:18:38', '2021-09-23 07:18:38'); -- -------------------------------------------------------- -- -- Table structure for table `pa_develop_hour` -- CREATE TABLE `pa_develop_hour` ( `id` int(11) NOT NULL, `PA_year` int(11) NOT NULL DEFAULT 0, `user_id` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `develops` text COLLATE utf8mb4_unicode_ci NOT NULL, `dev_hour` float NOT NULL DEFAULT 0, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_develop_hour` -- INSERT INTO `pa_develop_hour` (`id`, `PA_year`, `user_id`, `develops`, `dev_hour`, `created_at`, `updated_at`) VALUES (22, 2564, '65374', 'งานพัฒนาคุณภาพการจัดการศึกษาของสถานศึกษา', 1, '2021-10-21 17:08:42', '2021-10-21 17:08:42'), (24, 2564, '5832540', 'งานพัฒนาคุณภาพการจัดการศึกษาของสถานศึกษา', 2, '2021-11-08 08:37:33', '2021-11-08 08:37:33'); -- -------------------------------------------------------- -- -- Table structure for table `pa_evaluation` -- CREATE TABLE `pa_evaluation` ( `id` int(11) NOT NULL, `eva_id` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `root` int(11) DEFAULT NULL, `no` int(11) DEFAULT NULL, `detail` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_evaluation` -- INSERT INTO `pa_evaluation` (`id`, `eva_id`, `root`, `no`, `detail`) VALUES (1, 'WE7845415215', 0, 1, 'การจัดการตนเอง (Self managment)'), (2, 'WE7845415215', 0, 2, 'การสื่อสาร (Communication)'), (3, 'WE7845415215', 0, 3, 'การรวมพลังทำงานเป็นทีม ( Teamwork and Collaboration)'), (4, 'WE7845415215', 0, 4, 'การคิดขั้นสูง (Higher order thinking)'), (5, 'WE7845415215', 0, 5, 'การเป็นพลเมืองที่เข้มแข็ง (Active citizen)'), (6, 'WE7845415215', 1, 1, 'การดูแลตนเองให้มีสุขภาพจิตที่ดี (สดชื่น ร่าเริง แจ่มใส ไม่เครียด ไม่ วิตกกังวล ไม่ซึมเศร้า ไม่ติดยาเสพติด/แอลกอฮอล์)'), (7, 'WE7845415215', 1, 2, 'การดูแลตนเองให้มีสุขภาพร่าง กายแข็งแรง ไม่เจ็บป่วย มีกำลัง คล่องแคล่ว กระฉับกระเฉง'), (8, 'WE7845415215', 1, 3, ' ความสามารถในการจัดการปัญ- หาในสถานการณ์ที่ไม่คาดคิดมาก่อน หรือ เหตุการณ์ที่ส่งผลกระทบต่อสมดุลทางอารมณ์และจิตใจ'), (9, 'WE7845415215', 1, 4, 'ความสามารถในการฟื้นฟูพลัง กาย'), (10, 'WE7845415215', 1, 5, ' ความสามารถในการอยู่ร่วมกับ บุคคลอื่นได้อย่างมีความสุข'), (11, 'WE7845415215', 1, 6, 'มีการตั้งเป้าหมายในสิ่งที่อยากจะ เป็น อยากจะได้ และวางแผนเพื่อให้บรรรลุสิ่งที่ต้องการ'), (12, 'WE7845415215', 2, 1, 'ความสามารถในการพูด การ- เขียน และภาษาที่ไม่ใช้คำพูด โดยผ่าน สัญลักษณ์/สัญญาณ/ท่าทาง'), (13, 'WE7845415215', 2, 2, 'ความสามารถในการฟัง การอ่าน และทักษะความเข้าใจที่เป็นภาษาไม่ใช้ คำพูดโดยผ่านสัญลักษณ์/สัญญาณ /ท่าทาง'), (14, 'WE7845415215', 2, 3, 'ความสามารถในการเลือกวิธีการ ส่งข่าวสารได้เหมาะสมและรวดเร็ว'), (15, 'WE7845415215', 2, 4, 'ความสามารถในการส่งข่าวสาร ด้วยความรับผิดชอบต่อสังคม'), (16, 'WE7845415215', 3, 1, 'ความสามารถในการเป็นผู้นำและ ผู้ตามรวมทั้งเป็นสมาชิกที่ดีของกลุ่ม'), (17, 'WE7845415215', 3, 2, 'มีกระบวนการทำงานแบบร่วมมือ ร่วมใจในการทำงานเป็นกลุุ่ม'), (18, 'WE7845415215', 3, 3, 'มีความสัมพันธ์ที่ดีกับบุคคลใน การทำงานเป็นกลุ่ม'), (19, 'WE7845415215', 3, 4, ' ความสามารถในการจัดการปัญหาเมื่อเกิดความขัดแย้งภายในกลุ่ม'), (20, 'WE7845415215', 3, 5, 'มีความรับผิดชอบในการทำงาน ร่วมกันเป็นกลุ่ม'), (21, 'WE7845415215', 4, 1, 'ความสามารถในการคิดแยกสิ่งต่าง ๆ เป็นส่วนย่อย'), (22, 'WE7845415215', 4, 2, 'ความสามารถในการคิดรวมสิ่งต่าง ๆ ตั้งแต่สองชนิดขึ้นไป เพื่อให้ ได้สิ่งใหม่ที่แตกต่างไปจากสิ่งเดิม'), (23, 'WE7845415215', 4, 3, 'ความสามารถในการคิดที่ผ่านกระบวนการ ไตร่ตรองอย่างรอบคอบ มีเหตุผล โดยอาศัยความรู้ ข้อมูล หลักฐาน เพื่อนำไปสู่การสรุปและตัด'), (24, 'WE7845415215', 4, 4, ' ความสามารถในการคิดอย่างเป็นขั้นตอน โดยมองภาพรวมเป็น ระบบ มีส่วนประกอบ / รายละเอียด ย่อยออกมาและเชื่อมโยงกับระบบ- ต่าง ๆ'), (25, 'WE7845415215', 4, 5, 'ความสามารถในการคิดเพื่อสร้าง หรือพัฒนาสิ่งใหม่ที่แปลกแตกต่างไป จากเดิม'), (26, 'WE7845415215', 4, 6, 'ความสามารถในการคิดหาเหตุผล'), (27, 'WE7845415215', 4, 7, 'ความสามารถในการคิด วิเคราะห์ เพื่อตัดสินคุณค่าของสิ่งใดสิ่งหนึ่งโดยเลือกใช้เกณฑ์ที่เหมาะสม / เปรียบ เทียบกับหลักฐานอื่น'), (28, 'WE7845415215', 5, 1, ' การรู้จักบทบาทและหน้าที่ของตน เอง ที่มีต่อตนเอง/ครอบครัว/โรงเรียน/ชุมชนและสังคมรอบข้าง'), (29, 'WE7845415215', 5, 2, 'การปฏิบัติตนโดยเคารพสิทธิตน เองและยอมรับความแตกต่างของ บุคคลอื่นโดยไม่ไปละเมิดสิทธิเสรีภาพ'), (30, 'WE7845415215', 5, 3, 'ความสามารถในการอยู่ร่วมกับ บุคคลอื่นที่มีความแตกต่างด้านเชื้อ ชาติด ภาษา ศาสนาและวัฒนธรรม'), (31, 'WE7845415215', 5, 4, 'การมีส่วนรวมในการเรียนรู้ร่วม กับบุคคลอื่นในโครงการหรือกิจกรรม ใหม่ ๆ ในเชิงสร้างสรรค์'), (32, 'WE7845415215', 5, 5, 'การมีส่วนร่วมในการดูแล รักษา/ ลดการใช้/ซ่อมแซม/ใช้ซ้ำ/นำกลับมา ใช้ใหม่ทรัพยากรธรรมชาติและสิ่งแวด ล้อม เพื่อให้คุ้มค่าและได้ประโยชน์สูงสุด'); -- -------------------------------------------------------- -- -- Table structure for table `pa_evaluation_agree` -- CREATE TABLE `pa_evaluation_agree` ( `id` int(11) NOT NULL, `root` int(11) NOT NULL DEFAULT 0, `sub` int(11) NOT NULL DEFAULT 0, `detail` text COLLATE utf8mb4_unicode_ci NOT NULL, `eva_id` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `PA_year` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_id` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `teacher` float DEFAULT NULL, `student` float DEFAULT NULL, `agree` float DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_evaluation_agree` -- INSERT INTO `pa_evaluation_agree` (`id`, `root`, `sub`, `detail`, `eva_id`, `PA_year`, `user_id`, `teacher`, `student`, `agree`, `created_at`, `updated_at`) VALUES (26, 0, 1, 'การจัดการตนเอง (Self managment)', 'WE7845415215', '2564', '65374', 3.17, 0, 2.5, NULL, '2021-10-21 10:25:21'), (27, 0, 2, 'การสื่อสาร (Communication)', 'WE7845415215', '2564', '65374', 2.75, 0, 3, NULL, '2021-10-21 10:25:25'), (28, 0, 3, 'การรวมพลังทำงานเป็นทีม ( Teamwork and Collaboration)', 'WE7845415215', '2564', '65374', 3, 0, 1, NULL, '2021-10-21 10:25:28'), (29, 0, 4, 'การคิดขั้นสูง (Higher order thinking)', 'WE7845415215', '2564', '65374', 2.71, 0, 2, NULL, '2021-10-21 10:25:32'), (30, 0, 5, 'การเป็นพลเมืองที่เข้มแข็ง (Active citizen)', 'WE7845415215', '2564', '65374', 2, 0, 2.5, NULL, '2021-10-21 10:25:37'), (31, 0, 1, 'การจัดการตนเอง (Self managment)', 'WE7845415215', '2564', '5832540', 1, 0, 2, NULL, '2021-10-24 19:50:29'), (32, 0, 2, 'การสื่อสาร (Communication)', 'WE7845415215', '2564', '5832540', 2, 0, 0, NULL, NULL), (33, 0, 3, 'การรวมพลังทำงานเป็นทีม ( Teamwork and Collaboration)', 'WE7845415215', '2564', '5832540', 3, 0, 0, NULL, NULL), (34, 0, 4, 'การคิดขั้นสูง (Higher order thinking)', 'WE7845415215', '2564', '5832540', 4, 0, 0, NULL, NULL), (35, 0, 5, 'การเป็นพลเมืองที่เข้มแข็ง (Active citizen)', 'WE7845415215', '2564', '5832540', 5, 0, 0, NULL, NULL), (36, 0, 1, 'การจัดการตนเอง (Self managment)', 'WE7845415215', '2564', '5', 1, 0, 0, NULL, NULL), (37, 0, 2, 'การสื่อสาร (Communication)', 'WE7845415215', '2564', '5', 2, 0, 0, NULL, NULL), (38, 0, 3, 'การรวมพลังทำงานเป็นทีม ( Teamwork and Collaboration)', 'WE7845415215', '2564', '5', 3, 0, 0, NULL, NULL), (39, 0, 4, 'การคิดขั้นสูง (Higher order thinking)', 'WE7845415215', '2564', '5', 3.43, 0, 0, NULL, NULL), (40, 0, 5, 'การเป็นพลเมืองที่เข้มแข็ง (Active citizen)', 'WE7845415215', '2564', '5', 5, 0, 0, NULL, NULL), (41, 0, 1, 'การจัดการตนเอง (Self managment)', 'WE7845415215', '2564', '6', 3.17, 0, 0, NULL, NULL), (42, 0, 2, 'การสื่อสาร (Communication)', 'WE7845415215', '2564', '6', 3, 0, 0, NULL, NULL), (43, 0, 3, 'การรวมพลังทำงานเป็นทีม ( Teamwork and Collaboration)', 'WE7845415215', '2564', '6', 3, 0, 0, NULL, NULL), (44, 0, 4, 'การคิดขั้นสูง (Higher order thinking)', 'WE7845415215', '2564', '6', 2.71, 0, 0, NULL, NULL), (45, 0, 5, 'การเป็นพลเมืองที่เข้มแข็ง (Active citizen)', 'WE7845415215', '2564', '6', 5, 0, 0, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `pa_evaluation_answer` -- CREATE TABLE `pa_evaluation_answer` ( `id` int(11) NOT NULL, `user_id` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `PA_year` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `eva_id` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `root` int(11) DEFAULT NULL, `sub` int(11) DEFAULT NULL, `answer` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` datetime DEFAULT current_timestamp(), `updated_at` datetime DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_evaluation_answer` -- INSERT INTO `pa_evaluation_answer` (`id`, `user_id`, `PA_year`, `eva_id`, `root`, `sub`, `answer`, `type`, `created_at`, `updated_at`) VALUES (289, '65374', '2564', 'WE7845415215', 1, 1, '1', 'owner', '2021-10-21 17:24:19', '2021-10-21 17:24:19'), (290, '65374', '2564', 'WE7845415215', 1, 2, '2', 'owner', '2021-10-21 17:24:19', '2021-10-21 17:24:19'), (291, '65374', '2564', 'WE7845415215', 1, 3, '3', 'owner', '2021-10-21 17:24:19', '2021-10-21 17:24:19'), (292, '65374', '2564', 'WE7845415215', 1, 4, '4', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (293, '65374', '2564', 'WE7845415215', 1, 5, '5', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (294, '65374', '2564', 'WE7845415215', 1, 6, '4', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (295, '65374', '2564', 'WE7845415215', 2, 1, '2', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (296, '65374', '2564', 'WE7845415215', 2, 2, '3', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (297, '65374', '2564', 'WE7845415215', 2, 3, '3', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (298, '65374', '2564', 'WE7845415215', 2, 4, '3', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (299, '65374', '2564', 'WE7845415215', 3, 1, '2', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (300, '65374', '2564', 'WE7845415215', 3, 2, '3', 'owner', '2021-10-21 17:24:20', '2021-10-21 17:24:20'), (301, '65374', '2564', 'WE7845415215', 3, 3, '3', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (302, '65374', '2564', 'WE7845415215', 3, 4, '3', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (303, '65374', '2564', 'WE7845415215', 3, 5, '4', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (304, '65374', '2564', 'WE7845415215', 4, 1, '2', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (305, '65374', '2564', 'WE7845415215', 4, 2, '3', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (306, '65374', '2564', 'WE7845415215', 4, 3, '2', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (307, '65374', '2564', 'WE7845415215', 4, 4, '3', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (308, '65374', '2564', 'WE7845415215', 4, 5, '4', 'owner', '2021-10-21 17:24:21', '2021-10-21 17:24:21'), (309, '65374', '2564', 'WE7845415215', 4, 6, '3', 'owner', '2021-10-21 17:24:22', '2021-10-21 17:24:22'), (310, '65374', '2564', 'WE7845415215', 4, 7, '2', 'owner', '2021-10-21 17:24:22', '2021-10-21 17:24:22'), (311, '65374', '2564', 'WE7845415215', 5, 1, '2', 'owner', '2021-10-21 17:24:22', '2021-10-21 17:24:22'), (312, '65374', '2564', 'WE7845415215', 5, 2, '2', 'owner', '2021-10-21 17:24:22', '2021-10-21 17:24:22'), (313, '65374', '2564', 'WE7845415215', 5, 3, '2', 'owner', '2021-10-21 17:24:22', '2021-10-21 17:24:22'), (314, '65374', '2564', 'WE7845415215', 5, 4, '2', 'owner', '2021-10-21 17:24:22', '2021-10-21 17:24:22'), (315, '65374', '2564', 'WE7845415215', 5, 5, '2', 'owner', '2021-10-21 17:24:22', '2021-10-21 17:24:22'), (316, '5832540', '2564', 'WE7845415215', 1, 1, '1', 'owner', '2021-10-25 02:38:52', '2021-10-25 02:38:52'), (317, '5832540', '2564', 'WE7845415215', 1, 2, '1', 'owner', '2021-10-25 02:38:53', '2021-10-25 02:38:53'), (318, '5832540', '2564', 'WE7845415215', 1, 3, '1', 'owner', '2021-10-25 02:38:53', '2021-10-25 02:38:53'), (319, '5832540', '2564', 'WE7845415215', 1, 4, '1', 'owner', '2021-10-25 02:38:53', '2021-10-25 02:38:53'), (320, '5832540', '2564', 'WE7845415215', 1, 5, '1', 'owner', '2021-10-25 02:38:53', '2021-10-25 02:38:53'), (321, '5832540', '2564', 'WE7845415215', 1, 6, '1', 'owner', '2021-10-25 02:38:53', '2021-10-25 02:38:53'), (322, '5832540', '2564', 'WE7845415215', 2, 1, '2', 'owner', '2021-10-25 02:38:54', '2021-10-25 02:38:54'), (323, '5832540', '2564', 'WE7845415215', 2, 2, '2', 'owner', '2021-10-25 02:38:54', '2021-10-25 02:38:54'), (324, '5832540', '2564', 'WE7845415215', 2, 3, '2', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (325, '5832540', '2564', 'WE7845415215', 2, 4, '2', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (326, '5832540', '2564', 'WE7845415215', 3, 1, '3', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (327, '5832540', '2564', 'WE7845415215', 3, 2, '3', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (328, '5832540', '2564', 'WE7845415215', 3, 3, '3', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (329, '5832540', '2564', 'WE7845415215', 3, 4, '3', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (330, '5832540', '2564', 'WE7845415215', 3, 5, '3', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (331, '5832540', '2564', 'WE7845415215', 4, 1, '4', 'owner', '2021-10-25 02:38:55', '2021-10-25 02:38:55'), (332, '5832540', '2564', 'WE7845415215', 4, 2, '4', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (333, '5832540', '2564', 'WE7845415215', 4, 3, '4', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (334, '5832540', '2564', 'WE7845415215', 4, 4, '4', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (335, '5832540', '2564', 'WE7845415215', 4, 5, '4', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (336, '5832540', '2564', 'WE7845415215', 4, 6, '4', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (337, '5832540', '2564', 'WE7845415215', 4, 7, '4', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (338, '5832540', '2564', 'WE7845415215', 5, 1, '5', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (339, '5832540', '2564', 'WE7845415215', 5, 2, '5', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (340, '5832540', '2564', 'WE7845415215', 5, 3, '5', 'owner', '2021-10-25 02:38:56', '2021-10-25 02:38:56'), (341, '5832540', '2564', 'WE7845415215', 5, 4, '5', 'owner', '2021-10-25 02:38:57', '2021-10-25 02:38:57'), (342, '5832540', '2564', 'WE7845415215', 5, 5, '5', 'owner', '2021-10-25 02:38:57', '2021-10-25 02:38:57'), (343, '5', '2564', 'WE7845415215', 1, 1, '1', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (344, '5', '2564', 'WE7845415215', 1, 2, '1', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (345, '5', '2564', 'WE7845415215', 1, 3, '1', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (346, '5', '2564', 'WE7845415215', 1, 4, '1', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (347, '5', '2564', 'WE7845415215', 1, 5, '1', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (348, '5', '2564', 'WE7845415215', 1, 6, '1', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (349, '5', '2564', 'WE7845415215', 2, 1, '2', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (350, '5', '2564', 'WE7845415215', 2, 2, '2', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (351, '5', '2564', 'WE7845415215', 2, 3, '2', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (352, '5', '2564', 'WE7845415215', 2, 4, '2', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (353, '5', '2564', 'WE7845415215', 3, 1, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (354, '5', '2564', 'WE7845415215', 3, 2, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (355, '5', '2564', 'WE7845415215', 3, 3, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (356, '5', '2564', 'WE7845415215', 3, 4, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (357, '5', '2564', 'WE7845415215', 3, 5, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (358, '5', '2564', 'WE7845415215', 4, 1, '2', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (359, '5', '2564', 'WE7845415215', 4, 2, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (360, '5', '2564', 'WE7845415215', 4, 3, '4', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (361, '5', '2564', 'WE7845415215', 4, 4, '5', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (362, '5', '2564', 'WE7845415215', 4, 5, '4', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (363, '5', '2564', 'WE7845415215', 4, 6, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (364, '5', '2564', 'WE7845415215', 4, 7, '3', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (365, '5', '2564', 'WE7845415215', 5, 1, '5', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (366, '5', '2564', 'WE7845415215', 5, 2, '5', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (367, '5', '2564', 'WE7845415215', 5, 3, '5', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (368, '5', '2564', 'WE7845415215', 5, 4, '5', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (369, '5', '2564', 'WE7845415215', 5, 5, '5', 'owner', '2021-11-08 03:49:48', '2021-11-08 03:49:48'), (370, '6', '2564', 'WE7845415215', 1, 1, '1', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (371, '6', '2564', 'WE7845415215', 1, 2, '2', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (372, '6', '2564', 'WE7845415215', 1, 3, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (373, '6', '2564', 'WE7845415215', 1, 4, '4', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (374, '6', '2564', 'WE7845415215', 1, 5, '5', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (375, '6', '2564', 'WE7845415215', 1, 6, '4', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (376, '6', '2564', 'WE7845415215', 2, 1, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (377, '6', '2564', 'WE7845415215', 2, 2, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (378, '6', '2564', 'WE7845415215', 2, 3, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (379, '6', '2564', 'WE7845415215', 2, 4, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (380, '6', '2564', 'WE7845415215', 3, 1, '5', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (381, '6', '2564', 'WE7845415215', 3, 2, '4', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (382, '6', '2564', 'WE7845415215', 3, 3, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (383, '6', '2564', 'WE7845415215', 3, 4, '2', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (384, '6', '2564', 'WE7845415215', 3, 5, '1', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (385, '6', '2564', 'WE7845415215', 4, 1, '1', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (386, '6', '2564', 'WE7845415215', 4, 2, '2', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (387, '6', '2564', 'WE7845415215', 4, 3, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (388, '6', '2564', 'WE7845415215', 4, 4, '4', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (389, '6', '2564', 'WE7845415215', 4, 5, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (390, '6', '2564', 'WE7845415215', 4, 6, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (391, '6', '2564', 'WE7845415215', 4, 7, '3', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (392, '6', '2564', 'WE7845415215', 5, 1, '5', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (393, '6', '2564', 'WE7845415215', 5, 2, '5', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (394, '6', '2564', 'WE7845415215', 5, 3, '5', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (395, '6', '2564', 'WE7845415215', 5, 4, '5', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'), (396, '6', '2564', 'WE7845415215', 5, 5, '5', 'owner', '2021-11-27 12:35:28', '2021-11-27 12:35:28'); -- -------------------------------------------------------- -- -- Table structure for table `pa_innovation` -- CREATE TABLE `pa_innovation` ( `id` int(11) NOT NULL, `no` int(11) NOT NULL, `PA_year` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `user_id` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `title` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `innovation` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_innovation` -- INSERT INTO `pa_innovation` (`id`, `no`, `PA_year`, `user_id`, `title`, `innovation`, `created_at`, `updated_at`) VALUES (36, 1, '2564', '65374', 'youtube channal English school online', 'youtube channal English school online', '2021-10-21 17:14:40', '2021-10-21 17:14:40'), (37, 2, '2564', '65374', 'youtube channal English school online', 'youtube channal English school online', '2021-10-21 17:14:45', '2021-10-21 17:14:45'), (39, 0, '2564', '5832540', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', '2021-11-08 08:38:33', '2021-11-08 08:38:33'), (40, 0, '2564', '5832540', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', '2021-11-08 08:38:38', '2021-11-08 08:38:38'); -- -------------------------------------------------------- -- -- Table structure for table `pa_issue` -- CREATE TABLE `pa_issue` ( `id` int(11) NOT NULL, `PA_year` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `user_id` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `issue` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ประเด็นท้าทาย เรื่อง', `detail_1` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '1. สภาพปัญหาของผู้เรียนและการจัดการเรียนรู้', `detail_2` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '2. วิธีการดำเนินการให้บรรลุผล', `detail_3` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '3. ผลลัพธ์การพัฒนาที่คาดหวัง', `detail_4` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '3.1 เชิงปริมาณ', `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_issue` -- INSERT INTO `pa_issue` (`id`, `PA_year`, `user_id`, `issue`, `detail_1`, `detail_2`, `detail_3`, `detail_4`, `created_at`, `updated_at`) VALUES (15, '2564', '65374', 'Engineers should help solve the hardest questions, the unknowns, where being22222', '<ul><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;<br></li></ul>', '<ul><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li></ul>', '<ul><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li></ul>', '<ul><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li><li>Engineers should help solve the hardest questions, the unknowns, where being&nbsp;</li></ul>', '2021-10-21 18:44:45', '2021-11-14 14:57:54'), (16, '2564', '5', 'Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.', '<p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><br></p>', '<p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><br></p>', '<p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><br></p>', '<p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span></p><p><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\">Bitnami Modules are production-ready packages of the most popular open source applications, available in the widest variety of formats.</span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><span style=\"color: rgb(28, 43, 57); font-family: Interstate, Hind, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; font-size: 16.8px; background-color: rgb(241, 241, 241);\"><br></span><br></p>', '2021-11-08 03:56:27', '2021-11-07 21:17:52'), (17, '2564', '5832540', 'That’s why we build Firefox, and all our products, to give you greater contr5 5ol over the information you share online and the information you share with us. We strive to collect only what we need to improve Firefox for everyone.', '<p>That’s why we build Firefox, and all our products, to give you greater \ncontrol over the information you share online and the information you \nshare with us. We strive to collect only what we need to improve Firefox\n for everyone.33</p>', '<p>That’s why we build Firefox, and all our products, to give you greater \ncontrol over the information you share online and the information you \nshare with us. We strive to collect only what we need to improve Firefox\n for everyone.22</p>', '<ul><li>That’s why we build Firefox, and all our products, to give you greater \ncontrol over the information you share online and the information you \nshare with us. We strive to collect only what we need to improve Firefox\n for everyone.</li><li>That’s why we build Firefox, and all our products, to give you greater \ncontrol over the information you share online and the information you \nshare with us. We strive to collect only what we need to improve Firefox\n for everyone.</li><li>That’s why we build Firefox, and all our products, to give you greater \ncontrol over the information you share online and the information you \nshare with us. We strive to collect only what we need to improve Firefox\n for everyone.88</li></ul>', '<p>That’s why we build Firefox, and all our products, to give you greater \ncontrol over the information you share online and the information you \nshare with us. We strive to collect only what we need to improve Firefox\n for everyone.99</p>', '2021-11-08 04:05:19', '2021-11-08 01:40:11'); -- -------------------------------------------------------- -- -- Table structure for table `pa_learn_class` -- CREATE TABLE `pa_learn_class` ( `id` int(11) NOT NULL, `value` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_learn_class` -- INSERT INTO `pa_learn_class` (`id`, `value`) VALUES (1, 'ห้องเรียนวิชาสามัญหรือวิชาพื้นฐาน'), (2, 'ห้องเรียนปฐมวัย'), (3, 'ห้องเรียนการศึกษาพิเศษ'), (4, 'ห้องเรียนสายวิชาชีพ'), (5, 'ห้องเรียนการศึกษานอกระบบ/ตามอัธยาศัย'); -- -------------------------------------------------------- -- -- Table structure for table `pa_response_hour` -- CREATE TABLE `pa_response_hour` ( `id` int(11) NOT NULL, `PA_year` int(11) NOT NULL DEFAULT 0, `user_id` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `response` text COLLATE utf8mb4_unicode_ci NOT NULL, `res_hour` float NOT NULL DEFAULT 0, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_response_hour` -- INSERT INTO `pa_response_hour` (`id`, `PA_year`, `user_id`, `response`, `res_hour`, `created_at`, `updated_at`) VALUES (18, 2564, '65374', 'งานตอบสนองนโยบายและจุดเน้น', 1, '2021-10-21 17:08:55', '2021-10-21 17:08:55'), (19, 2564, '5832540', 'งานตอบสนองนโยบายและจุดเน้น', 3, '2021-11-08 08:37:39', '2021-11-08 08:37:39'); -- -------------------------------------------------------- -- -- Table structure for table `pa_schedule_hour` -- CREATE TABLE `pa_schedule_hour` ( `id` int(11) NOT NULL, `PA_year` int(11) NOT NULL DEFAULT 0, `user_id` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `group_learn` text COLLATE utf8mb4_unicode_ci NOT NULL, `subject` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'วิชา', `grade` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT 'ระดับชั้น', `sch_hour` float NOT NULL, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_schedule_hour` -- INSERT INTO `pa_schedule_hour` (`id`, `PA_year`, `user_id`, `group_learn`, `subject`, `grade`, `sch_hour`, `created_at`, `updated_at`) VALUES (68, 2564, '65374', 'คณิตศาสตร์', 'คณิตศาสตร์', 'ม.1', 1.5, '2021-10-21 16:52:53', '2021-10-21 16:52:53'), (70, 2564, '5832540', 'ภาษาไทย', 'ddd', 'd', 3, '2021-11-08 05:16:17', '2021-11-08 05:16:17'), (71, 2564, '5832540', 'ภาษาไทย', 'ddd', 'f', 3, '2021-11-08 08:37:08', '2021-11-08 08:37:08'); -- -------------------------------------------------------- -- -- Table structure for table `pa_self_development` -- CREATE TABLE `pa_self_development` ( `id` int(11) NOT NULL, `user_id` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `PA_year` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `no` int(11) DEFAULT NULL, `standard_no` int(11) DEFAULT NULL, `standard_detail` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `datestart` date DEFAULT NULL, `dateend` date DEFAULT NULL, `budget` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `benefit` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` datetime DEFAULT current_timestamp(), `updated_at` datetime DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='แผนการพัฒนาตนเอง'; -- -------------------------------------------------------- -- -- Table structure for table `pa_standard` -- CREATE TABLE `pa_standard` ( `id` int(11) NOT NULL, `root` int(11) NOT NULL DEFAULT 0 COMMENT '0=หัวข้อ,อื่นๆหมายถึงมาจากหัวข้อหลักนั้นๆ', `no` int(11) NOT NULL DEFAULT 0 COMMENT 'ลำดับ', `detail` text COLLATE utf8mb4_unicode_ci NOT NULL, `owner` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `other` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `student` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_standard` -- INSERT INTO `pa_standard` (`id`, `root`, `no`, `detail`, `owner`, `other`, `student`) VALUES (1, 0, 1, 'ด้านการจัดการเรียนรู้', 'mean,5,6,7,8', 'mean,5,6,7,8', 'mean,5,6,7,8'), (2, 0, 2, 'ด้านการส่งเสริมและสนับสนุนการจัดการเรียนรู้', 'mean,13,14,15,16', 'mean,13,14,15,16', 'mean,13,14,15,16'), (3, 0, 3, 'ด้านการพัฒนาตนเองและวิชาชีพ', 'mean,17,18,19', 'mean,17,18,19', 'mean,17,18,19'), (4, 0, 4, 'วินัย คุณธรรม จริยธรรม และจรรยาบรรณ', '20', '20', '20'), (5, 1, 1, 'สร้างหรือพัฒนาหลักสูตร โดยจัดทำรายวิชาและ\nหน่วยการเรียนรู้ให้สอดคล้องกับมาตรฐานการ\nเรียนรู้ และตัวชี้วัดหรือผลการเรียนรู้ ตามหลัก\nสูตร ให้ผู้เรียนได้พัฒนาสมรรถนะและการเรียน\nรู้เต็มตามศักยภาพ', '70', '56', '35'), (6, 1, 2, 'จัดกิจกรรมการเรียนรู้ อำนวยความสะดวกในการ เรียนรู้ และส่งเสริมผู้เรียน ได้พัฒนาเต็มตามศักย ภาพเรียนรู้และทำงานร่วมกัน', 'mean,4,7,70,71', 'mean,4,7,56,57', 'mean,4,7,35,36'), (7, 1, 3, 'ปฏิบัติการสอนโดยออกแบบการจัดการเรียนรู้โดย เน้นผู้เรียนเป็นสำคัญ ให้ผู้เรียนเป็นสำคัญ ให้ผู้เรียน มีความรู้ ทักษะ คุณลักษณะประจำวิชา คุณลักษณะ อันพึงประสงค์ และสมรรถนะที่สำคัญตามหลักสูตร', 'mean,8,52,70,71', 'mean,8, 56, 57', 'mean,8,35,36'), (8, 1, 4, 'วัดประเมินผลการเรียนรู้ด้วยวิธีที่หลากหลาย เหมาะสมและสอดคล้องกับมาตรฐานการเรียนรู้ให้ ผู้เรียนมีทักษะการคิดและสามารถสร้างนวัตกรรม', 'mean,64,66', '51', '33'), (9, 1, 5, 'ศึกษา วิเคราะห์ สังเคราะห์ และวิจัย เพื่อแก้ปัญหา หรือพัฒนาการเรียนรู้ที่ส่งผลต่อคุณภาพผู้เรียน', '80', '64', '37'), (10, 1, 6, 'สร้างหรือพัฒนาสื่อ นวัตกรรรมเทคโนโลยี และ แหล่งเรียนรู้ ที่สอดคล้องกับกิจกรรมการเรียนรู้ ให้ผู้เรียนมีทักษะการคิดและสามารถสร้างนวัตกรรม ได้', '4', '4', '4'), (11, 1, 7, 'จัดบรรยากาศที่ส่งเสริมและพัฒนาผู้เรียน ให้เกิด กระบวนการคิด ทักษะชีวิต ทักษะการทำงาน ทักษะ การเรียนรู้และนวัตกรรมทักษะด้านสารสนเทศ สื่อ และเทคโนโลยี', '81', '65', '38'), (12, 1, 8, 'อบรมบ่มนิสัยให้ผู้เรียนมีคุณธรรม จริยธรรม คุณลักษณะอันพึงประสงค์ และค่านิยมความเป็นไทย ที่ดีงาม', 'mean,1,2,3,6,9,10,19,42', 'mean,1,2,3,6,9,10,17,36', 'mean,1,2,3,6,9,10,16,29'), (13, 2, 1, 'จัดทำข้อมูลสารสนเทศของผู้เรียนและรายวิชา เพื่อใช้ในการส่งเสริมสนับสนุนการเรียนรู้และพัฒนา คุณภาพผู้เรียน', '82', '36', '69'), (14, 2, 2, 'ดำเนินการตามระบบดูแลช่วยเหลือผู้เรียน โดยใช้ ข้อมูลสารสนเทศเกี่ยวกับผู้เรียนรายบุคคล และประ สานความร่วมมือกับผู้มีส่วนเกี่ยวข้อง เพื่อพัฒนา และแก้ปัญหาผู้เรียน', 'mean,1,2,5', 'mean,1,2,5', 'mean,1,2,5'), (15, 2, 3, ' ร่วมปฏิบัติงานทางวิชาการ และงานอื่น ๆ ของ สถานศึกษา เพื่อยกระดับคุณภาพการจัดการศึกษา ของสถานศึกษา', '83', '67', '-'), (16, 2, 4, 'ประสานความร่วมมือกับผู้ปกครอง ภาคีเครือข่าย และหรือสถานประกอบการ เพื่อร่วมกันา พัฒนาผู้ เรียน', 'mean,2,5,43,44', 'mean,2,5,37,38', 'mean,2,5'), (17, 3, 1, 'พัฒนาตนเองอย่างเป็นระบบและต่อเนื่อง เพื่อให้มีความรู้ ความสามารถ ทักษะ โดยเฉพาะ อย่างยิ่ง การใช้ภาษาไทยและภาษาอังกฤษเพื่อการ สื่อสาร และการใช้เทคโนโลยีดิจิทัลเพื่อการศึกษา สมรรถนะทางวิชาชีพครู ความรอบรู้ในเนื้อหาวิชา และวิธีการสอน', 'mean,10,31,32,35,69', 'mean,10,29,30,55', 'mean,10,24,25'), (18, 3, 2, 'มีส่วนร่วม และเป็นผู้นำในการแลกเปลี่ยนเรียน รู้ทางวิชาชีพเพื่อพัฒนาการจัดการเรียนรู้', 'mean,32,33,39,64,67', 'mean,30,31,34,51,53', 'mean,25,33'), (19, 3, 3, 'นำความรู้ ความสามารถ ทักษะที่ได้จากการ พัฒนาตนเองและวิชาชีพมาใช้ในการพัฒนา การจัดการเรียนรู้ การพัฒนาคุณภาพผู้เรียน รวมถึงการพัณนานวัตกรรมการจัดการเรียนรู้', 'mean,10,72', 'mean,10,58', '10'), (20, 4, 1, 'มีวินัย คุณธรรม จริยธรรม และประพฤติ ปฏิบัติตนเป็นแบบอย่างที่ดี ดำรงชีวิตตามหลัก ปรัชญาของเศรษฐกิจพอเพียง มีจิตวิญญาณ ความเป็นครูมีจิตสำนึกความรับผิดชอบในวิชาชีพ ครูและมีจรรยาบรรณ ของวิชาชีพ', 'all,1,79', 'all,1,67', 'all,1.39'); -- -------------------------------------------------------- -- -- Table structure for table `pa_standard_development` -- CREATE TABLE `pa_standard_development` ( `id` int(11) NOT NULL, `user_id` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `PA_year` varchar(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `standard_id` int(11) DEFAULT NULL COMMENT 'มาตรฐานตำแหน่งที่จะพัฒนา', `start_date` date DEFAULT NULL COMMENT 'เริ่มต้น', `end_date` date DEFAULT NULL COMMENT 'สิ้นสุด', `budget` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'งบประมาณ', `benefit` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ประโยชน์', `created_at` datetime DEFAULT current_timestamp(), `updated_at` datetime DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='การพัฒนาตนเอง'; -- -- Dumping data for table `pa_standard_development` -- INSERT INTO `pa_standard_development` (`id`, `user_id`, `PA_year`, `standard_id`, `start_date`, `end_date`, `budget`, `benefit`, `created_at`, `updated_at`) VALUES (11, '5832540', '2564', 1, '2021-11-02', '2021-11-04', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', '2021-11-08 08:38:54', '2021-11-08 08:38:54'), (12, '65374', '2564', 1, '2021-11-06', '2021-11-09', 'ไม่มีการของบประมาณ', '4711108001', '2021-11-08 09:01:49', '2021-11-08 09:01:49'); -- -------------------------------------------------------- -- -- Table structure for table `pa_support_hour` -- CREATE TABLE `pa_support_hour` ( `id` int(11) NOT NULL, `user_id` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `PA_year` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `support_detail` text COLLATE utf8mb4_unicode_ci NOT NULL, `sp_hour` float NOT NULL DEFAULT 0, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_support_hour` -- INSERT INTO `pa_support_hour` (`id`, `user_id`, `PA_year`, `support_detail`, `sp_hour`, `created_at`, `updated_at`) VALUES (64, '65374', '2564', 'งานส่งเสริมและสนับสนุนการจัดการเรียนรู้', 1.5, '2021-10-21 17:02:16', '2021-10-21 17:02:16'), (65, '5832540', '2564', 'งานส่งเสริมและสนับสนุนการจัดการเรียนรู้', 2, '2021-11-08 08:37:19', '2021-11-08 08:37:19'), (66, '5832540', '2564', 'งานส่งเสริมและสนับสนุนการจัดการเรียนรู้', 1, '2021-11-08 08:37:25', '2021-11-08 08:37:25'); -- -------------------------------------------------------- -- -- Table structure for table `pa_task` -- CREATE TABLE `pa_task` ( `id` int(11) NOT NULL, `user_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `PA_year` int(11) DEFAULT 0, `standard_id` int(11) DEFAULT NULL, `standard` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'งานที่ปฏิบัติตามมาตรฐานตำแหน่ง', `task` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `outcome` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `indicator` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` datetime DEFAULT current_timestamp(), `updated_at` datetime DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='งานที่ปฏิบัติตามมาตรฐานตำแหน่ง\r\n'; -- -- Dumping data for table `pa_task` -- INSERT INTO `pa_task` (`id`, `user_id`, `PA_year`, `standard_id`, `standard`, `task`, `outcome`, `indicator`, `created_at`, `updated_at`) VALUES (27, '65374', 2564, 1, 'ด้านการจัดการเรียนรู้', 'งานที่ปฏิบัติตามมาตรฐานตำแหน่ง', 'งานที่ปฏิบัติตามมาตรฐานตำแหน่ง', 'งานที่ปฏิบัติตามมาตรฐานตำแหน่ง', '2021-10-21 17:21:35', '2021-10-21 17:21:35'), (28, '65374', 2564, 2, 'ด้านการส่งเสริมและสนับสนุนการจัดการเรียนรู้', 'งานที่ปฏิบัติตามมาตรฐานตำแหน่ง', 'งานที่ปฏิบัติตามมาตรฐานตำแหน่ง', 'งานที่ปฏิบัติตามมาตรฐานตำแหน่ง', '2021-10-21 17:21:57', '2021-10-21 17:21:57'), (32, '5832540', 2564, 2, 'ด้านการส่งเสริมและสนับสนุนการจัดการเรียนรู้', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', '2021-11-08 08:39:02', '2021-11-08 08:39:02'), (33, '5832540', 2564, 1, 'ด้านการจัดการเรียนรู้', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', '2021-11-08 08:39:07', '2021-11-08 08:39:07'), (34, '5832540', 2564, 3, 'ด้านการพัฒนาตนเองและวิชาชีพ', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น', '2021-11-08 08:39:12', '2021-11-08 08:39:12'), (35, '5832540', 2564, 4, 'วินัย คุณธรรม จริยธรรม และจรรยาบรรณ', 'งานตอบสนองนโยบายและจุดเน้นงานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้นงานตอบสนองนโยบายและจุดเน้น', 'งานตอบสนองนโยบายและจุดเน้น\r\nงานตอบสนองนโยบายและจุดเน้น\r\nงานตอบสนองนโยบายและจุดเน้นงานตอบสนองนโยบายและจุดเน้น', '2021-11-08 08:39:25', '2021-11-08 08:39:25'); -- -------------------------------------------------------- -- -- Table structure for table `pa_train_hour` -- CREATE TABLE `pa_train_hour` ( `id` int(11) NOT NULL, `PA_year` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `user_id` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, `train` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `train_hour` int(11) NOT NULL DEFAULT 0, `agency` tinytext COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'หน่วยงาน', `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `pa_train_hour` -- INSERT INTO `pa_train_hour` (`id`, `PA_year`, `user_id`, `start_date`, `end_date`, `train`, `train_hour`, `agency`, `created_at`, `updated_at`) VALUES (18, '2564', '65374', '2021-10-01', '2021-10-02', 'การอบรม001', 1, 'สำนักงานส่งเสริมการเกษตร', '2021-10-21 17:13:55', '2021-10-21 17:13:55'), (19, '2564', '65374', '2021-10-23', '2021-10-25', 'การอบรม002', 3, 'สำนักการจัดการเรียนรู้', '2021-10-21 17:14:31', '2021-10-21 17:14:31'), (21, '2564', '5832540', '2021-11-01', '2021-11-03', 'dfff', 2, '3', '2021-11-08 08:38:27', '2021-11-08 08:38:27'); -- -------------------------------------------------------- -- -- Table structure for table `pa_year` -- CREATE TABLE `pa_year` ( `id` int(11) NOT NULL, `year` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `active` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `pa_year` -- INSERT INTO `pa_year` (`id`, `year`, `active`) VALUES (1, '2564', 1), (2, '2563', 0), (3, '2562', 0), (4, '2561', 0), (5, '2560', 0); -- -------------------------------------------------------- -- -- Table structure for table `pa_yokyong` -- CREATE TABLE `pa_yokyong` ( `id` int(11) NOT NULL, `member_group_code` varchar(155) DEFAULT NULL COMMENT 'กลุ่มผู้ประเมิน', `classs_no` varchar(50) DEFAULT NULL COMMENT 'ระดับชั้น', `indicate_type` varchar(50) DEFAULT NULL COMMENT 'ประเภท', `indicate_code` varchar(255) DEFAULT NULL COMMENT 'รหัส', `indicate_name` varchar(255) DEFAULT NULL COMMENT 'ชื่อ', `remark` varchar(255) DEFAULT NULL COMMENT 'หมายเหตุ' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `pa_yokyong` -- INSERT INTO `pa_yokyong` (`id`, `member_group_code`, `classs_no`, `indicate_type`, `indicate_code`, `indicate_name`, `remark`) VALUES (1, 'OcAA', '5', 'ครองตน', '1', 'รัก เข้าใจ ห่วงใยลูกศิษย์ ', 'สำหรับครู ชั้น5'), (2, 'OcAA', '5', 'ครองตน', '2', 'หน้าที่ครูต่อศิษย์ตามหลักทิศ 6 ', 'สำหรับครู ชั้น5'), (3, 'OcAA', '5', 'ครองตน', '3', 'ไม่สร้างหนี้เพิ่ม', 'สำหรับครู ชั้น5'), (4, 'OcAA', '5', 'ครองตน', '4', 'จิตสาธารณะ ', 'สำหรับครู ชั้น5'), (5, 'OcAA', '5', 'ครองตน', '5', 'ปฏิบัติตนอยู่ในศีล 5 และความดีสากล 5 ', 'สำหรับครู ชั้น5'), (6, 'OcAA', '5', 'ครองตน', '6', 'มีความรับผิดชอบ พูดอย่างไรทำอย่างนั้น ทำอย่างไรพูดอย่างนั้น ', 'สำหรับครู ชั้น5'), (7, 'OcAA', '5', 'ครองตน', '7', 'เรียนรู้ตลอดชีวิต ', 'สำหรับครู ชั้น5'), (8, 'OcAA', '5', 'ครองตน', '8', 'รู้เท่าทันตนเอง ', 'สำหรับครู ชั้น5'), (9, 'OcAA', '5', 'ครองตน', '9', 'ละอายและเกรงกลัวต่อบาป', 'สำหรับครู ชั้น5'), (10, 'OcAA', '5', 'ครองคน', '10', 'เป็นผู้หวังดีให้ด้วยจิตเมตตา', 'สำหรับครู ชั้น5'), (11, 'OcAA', '5', 'ครองคน', '11', 'ปฏิบัติตนตามแบบแผน และปรับแนวคิดให้ถูกต้องตรงกัน', 'สำหรับครู ชั้น5'), (12, 'OcAA', '5', 'ครองคน', '12', 'ปฏิบัติตนกับบุคคลรอบข้างอย่างเหมาะสม', 'สำหรับครู ชั้น5'), (13, 'OcAA', '5', 'ครองงาน', '13', 'มีความคิดสร้างสรรค์ (Creativity)', 'สำหรับครู ชั้น5'), (14, 'OcAA', '5', 'ครองงาน', '14', 'มีการคิดวิเคราะห์ (Critical Thinking)', 'สำหรับครู ชั้น5'), (15, 'OcAA', '5', 'ครองงาน', '15', 'มีทักษะด้านความร่วมมือและการทำงานเป็นทีม (Collaboration and Teamwork)', 'สำหรับครู ชั้น5'), (16, 'OcAA', '5', 'ครองงาน', '16', 'มีทักษะสื่อสาร (Communication)', 'สำหรับครู ชั้น5'), (17, 'OcAA', '5', 'ครองงาน', '17', 'รู้คอมพิวเตอร์และไอซีที (Computing and ICT Literacy)', 'สำหรับครู ชั้น5'), (18, 'OcAA', '5', 'ครองงาน', '18', 'มีทักษะอาชีพและทักษะการเรียนรู้ (Career and Learning Skill)', 'สำหรับครู ชั้น5'), (19, 'OcAA', '5', 'ครองงาน', '19', 'ผสมผสานทางวัฒนธรรม (Cross-cultural)', 'สำหรับครู ชั้น5'); -- -------------------------------------------------------- -- -- Table structure for table `teacher_academic` -- CREATE TABLE `teacher_academic` ( `id` int(11) NOT NULL, `academic` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `teacher_academic` -- INSERT INTO `teacher_academic` (`id`, `academic`) VALUES (1, 'ครูผู้ช่วย'), (2, 'ครู'), (3, 'ครูชำนาญการ'), (4, 'ครูชำนาญการพิเศษ'), (5, 'ครูเชี่ยวชาญ'), (6, 'ครูเชี่ยวชาญพิเศษ'), (7, 'ศึกษานิเทศก์ชำนาญการ'), (8, 'ศึกษานิเทศก์ชำนาญการพิเศษ'), (9, 'ศึกษานิเทศก์เชี่ยวชาญ'), (10, 'ศึกษานิเทศก์เชี่ยวชาญพิเศษ'), (11, 'รองผู้อำนวยการชำนาญการ'), (12, 'รองผู้อำนวยการชำนาญการพิเศษ'), (13, 'รองผู้อำนวยการเชี่ยวชาญ'), (14, 'ผู้อำนวยการชำนาญการ'), (15, 'ผู้อำนวยการชำนาญการพิเศษ'), (16, 'ผู้อำนวยการเชี่ยวชาญ'), (17, 'ผู้อำนวยการเชี่ยวชาญพิเศษ'), (18, 'รองผู้อำนวยการสำนักงานเขตพื้นที่การศึกษาชำนาญการพิเศษ'), (19, 'รองผู้อำนวยการสำนักงานเขตพื้นที่การศึกษาเชี่ยวชาญ'), (20, 'ผู้อำนวยการสำนักงานเขตพื้นที่การศึกษาเชี่ยวชาญ'), (21, 'ผู้อำนวยการเขตพื้นที่การศึกษาเชี่ยวชาญพิเศษ'); -- -------------------------------------------------------- -- -- Table structure for table `template` -- CREATE TABLE `template` ( `id` int(11) NOT NULL, `coverpage` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `template` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `firstpage` text COLLATE utf8mb4_unicode_ci NOT NULL, `graphic` text COLLATE utf8mb4_unicode_ci NOT NULL, `page` int(11) NOT NULL DEFAULT 0, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `template` -- INSERT INTO `template` (`id`, `coverpage`, `template`, `firstpage`, `graphic`, `page`, `created_at`, `updated_at`) VALUES (1, 'cover01.jpg', 'template01', 'firstpage.gif', 'graphic.gif', 1, '2021-09-28 23:58:43', '2021-09-28 23:58:43'), (2, 'cover02.jpg', 'template02', 'firstpage.gif', 'graphic.gif', 2, '2021-09-28 23:59:07', '2021-09-28 23:59:07'), (3, 'cover03.jpg', 'template03', 'firstpage.gif', 'graphic.gif', 3, '2021-09-28 23:59:41', '2021-09-28 23:59:41'), (4, 'cover04.jpg', 'template04', 'firstpage.gif', 'graphic.gif', 4, '2021-09-29 00:00:22', '2021-09-29 00:00:22'), (5, 'cover05.jpg', 'template05', 'firstpage.gif', 'graphic.gif', 5, '2021-09-29 00:00:32', '2021-09-29 00:00:32'); -- -------------------------------------------------------- -- -- Table structure for table `user_education` -- CREATE TABLE `user_education` ( `id` int(11) NOT NULL, `user_id` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `school` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `faculty` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `major` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `edu_type` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='ประวัติการศึกษา'; -- -- Dumping data for table `user_education` -- INSERT INTO `user_education` (`id`, `user_id`, `school`, `faculty`, `major`, `edu_type`, `created_at`, `updated_at`) VALUES (137, '65374', 'มหาวิทยาลัยศรินคริทร์วิโรฒน์', 'มนุษย์ศาสตร์', 'ภาษาอังกฤษเพื่อการพัฒนา', 'ปริญญาตรี', '2021-10-21 15:48:22', '2021-10-21 15:48:22'), (139, '5832540', 'ทุ่งสงวิทยาลัย', '-', 'วิทย-คณิต', 'ม.6', '2021-11-08 05:08:59', '2021-11-08 05:08:59'); -- -------------------------------------------------------- -- -- Table structure for table `user_edu_type` -- CREATE TABLE `user_edu_type` ( `id` int(11) NOT NULL, `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `user_edu_type` -- INSERT INTO `user_edu_type` (`id`, `name`) VALUES (1, 'ป.6'), (2, 'ม.6'), (3, 'ประกาศนียบัตรวิชาชีพชั้นสูง (ปวส)'), (4, 'ประกาศนียบัตรวิชาชีพ (ปวช)'), (5, 'ประกาศนียบัตรวิชาชีพเทคนิค (ปวท)'), (6, 'ปริญญาตรี'), (7, 'ปริญญาโท'), (8, 'ปริญญาเอก'); -- -------------------------------------------------------- -- -- Table structure for table `user_profile` -- CREATE TABLE `user_profile` ( `id` int(11) NOT NULL, `user_id` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `prename` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `firstname` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `lastname` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `position` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `major` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `national` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `race` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `religion` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `datestart` date DEFAULT NULL COMMENT 'วันที่บรรจุ', `datebegin` date DEFAULT NULL COMMENT 'วันที่รับราชการ', `academic` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'วิทยฐานะ', `dateacademic` date DEFAULT NULL COMMENT 'วันที่ดำรงตำแหน่ง', `school` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'โรงเรียน', `department_big` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'สังกัดใหญ่', `department_small` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'สังกัดเล็ก', `department_bref` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ตัวย่อ', `salary` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'เงินเดือน', `class_knowlage` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ประเภทห้องเรียนที่จัดการเรียนรู้ ', `created_at` datetime NOT NULL DEFAULT current_timestamp(), `updated_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `user_profile` -- INSERT INTO `user_profile` (`id`, `user_id`, `prename`, `firstname`, `lastname`, `position`, `major`, `national`, `race`, `religion`, `address`, `datestart`, `datebegin`, `academic`, `dateacademic`, `school`, `department_big`, `department_small`, `department_bref`, `salary`, `class_knowlage`, `created_at`, `updated_at`) VALUES (64, '5', 'นางสาว', 'Silver', 'Member', 'ครู', 'ภาษาต่างประเทศ', 'ไทย', 'ไทย', 'พุทธ', '103 ในเมือง อำเภอเมืองร้อยเอ็ด จังหวัด ร้อยเอ็ด 45000', '2018-01-01', '2018-01-01', 'ครู', '2019-01-20', 'สตรีวิทยา', 'สพม', 'สพม.กรุงเทพมหานคร เขต 2', 'สพม', '18000', '1,2,3,', '2021-10-20 21:30:44', '2021-10-20 15:27:16'), (65, '65374', 'นางสาว', 'เพ็ญลักษณ์', 'พลเกษตร', 'ครู', 'สังคมศึกษา ศาสนา และวัฒนธรรม', 'ไทยs', 'ไทย2', 'พุทธ', '60 ม.1 ต.บ้านชะอวด อ.จุฬาภรณ์ จ.นครศรีธรรมราช ควนหนองคว้า อำเภอจุฬาภรณ์ จังหวัด นครศรีธรรมราช 80130', '2015-01-01', '2015-01-01', 'ครูชำนาญการ', '2018-01-12', 'วัดชนะสงคราม', 'สพป', 'สพม.นนทบุรี', 'สพม', '18000', '1,3,5,', '2021-10-21 15:48:22', '2021-11-27 05:37:42'), (66, '5832540', 'นาย', 'ฮากีม', 'ระยะหลง', 'ครู', 'วิทยาศาสตร์', 'ไทย', 'ไทย', 'อิสลาม', '83 ม.9 ต.ป่าชิง อ.จะนะ จ.สงขล 90130 ป่าชิง อำเภอจะนะ จังหวัด สงขลา 90130', '2021-11-01', '2021-11-05', 'ครูผู้ช่วย', '2021-11-01', 'สุวรรณวงศ์', 'สช', NULL, 'สช', '15000', '1,2,3,', '2021-11-08 05:08:59', '2021-11-08 01:37:46'); -- -- Indexes for dumped tables -- -- -- Indexes for table `group_department` -- ALTER TABLE `group_department` ADD PRIMARY KEY (`id`); -- -- Indexes for table `group_learn` -- ALTER TABLE `group_learn` ADD PRIMARY KEY (`id`); -- -- Indexes for table `group_member` -- ALTER TABLE `group_member` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa` -- ALTER TABLE `pa` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_develop_hour` -- ALTER TABLE `pa_develop_hour` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_evaluation` -- ALTER TABLE `pa_evaluation` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_evaluation_agree` -- ALTER TABLE `pa_evaluation_agree` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_evaluation_answer` -- ALTER TABLE `pa_evaluation_answer` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_innovation` -- ALTER TABLE `pa_innovation` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_issue` -- ALTER TABLE `pa_issue` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_learn_class` -- ALTER TABLE `pa_learn_class` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_response_hour` -- ALTER TABLE `pa_response_hour` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_schedule_hour` -- ALTER TABLE `pa_schedule_hour` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_self_development` -- ALTER TABLE `pa_self_development` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_standard` -- ALTER TABLE `pa_standard` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_standard_development` -- ALTER TABLE `pa_standard_development` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_support_hour` -- ALTER TABLE `pa_support_hour` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_task` -- ALTER TABLE `pa_task` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_train_hour` -- ALTER TABLE `pa_train_hour` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_year` -- ALTER TABLE `pa_year` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pa_yokyong` -- ALTER TABLE `pa_yokyong` ADD PRIMARY KEY (`id`) USING BTREE; -- -- Indexes for table `teacher_academic` -- ALTER TABLE `teacher_academic` ADD PRIMARY KEY (`id`); -- -- Indexes for table `template` -- ALTER TABLE `template` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_education` -- ALTER TABLE `user_education` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_edu_type` -- ALTER TABLE `user_edu_type` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_profile` -- ALTER TABLE `user_profile` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `group_department` -- ALTER TABLE `group_department` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- AUTO_INCREMENT for table `group_learn` -- ALTER TABLE `group_learn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `group_member` -- ALTER TABLE `group_member` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `pa` -- ALTER TABLE `pa` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- AUTO_INCREMENT for table `pa_develop_hour` -- ALTER TABLE `pa_develop_hour` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; -- -- AUTO_INCREMENT for table `pa_evaluation` -- ALTER TABLE `pa_evaluation` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33; -- -- AUTO_INCREMENT for table `pa_evaluation_agree` -- ALTER TABLE `pa_evaluation_agree` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46; -- -- AUTO_INCREMENT for table `pa_evaluation_answer` -- ALTER TABLE `pa_evaluation_answer` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=397; -- -- AUTO_INCREMENT for table `pa_innovation` -- ALTER TABLE `pa_innovation` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41; -- -- AUTO_INCREMENT for table `pa_issue` -- ALTER TABLE `pa_issue` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- AUTO_INCREMENT for table `pa_learn_class` -- ALTER TABLE `pa_learn_class` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `pa_response_hour` -- ALTER TABLE `pa_response_hour` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; -- -- AUTO_INCREMENT for table `pa_schedule_hour` -- ALTER TABLE `pa_schedule_hour` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=72; -- -- AUTO_INCREMENT for table `pa_self_development` -- ALTER TABLE `pa_self_development` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `pa_standard` -- ALTER TABLE `pa_standard` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; -- -- AUTO_INCREMENT for table `pa_standard_development` -- ALTER TABLE `pa_standard_development` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `pa_support_hour` -- ALTER TABLE `pa_support_hour` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67; -- -- AUTO_INCREMENT for table `pa_task` -- ALTER TABLE `pa_task` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36; -- -- AUTO_INCREMENT for table `pa_train_hour` -- ALTER TABLE `pa_train_hour` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; -- -- AUTO_INCREMENT for table `pa_year` -- ALTER TABLE `pa_year` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `pa_yokyong` -- ALTER TABLE `pa_yokyong` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; -- -- AUTO_INCREMENT for table `teacher_academic` -- ALTER TABLE `teacher_academic` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; -- -- AUTO_INCREMENT for table `template` -- ALTER TABLE `template` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `user_education` -- ALTER TABLE `user_education` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=140; -- -- AUTO_INCREMENT for table `user_edu_type` -- ALTER TABLE `user_edu_type` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `user_profile` -- ALTER TABLE `user_profile` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<filename>dc_2021_updated.sql -- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 02, 2021 at 05:42 PM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.4.6 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: `dc_2021_updated` -- -- -------------------------------------------------------- -- -- Table structure for table `contact_us` -- CREATE TABLE `contact_us` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `message` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `contact_us` -- INSERT INTO `contact_us` (`id`, `name`, `email`, `subject`, `message`, `created_at`, `updated_at`) VALUES (1, '<NAME>', '<EMAIL>', 'Voluptate nostrum vo', 'Veniam pariatur Su', '2021-02-21 03:42:32', '2021-02-21 03:42:32'), (2, '<NAME>', '<EMAIL>', 'Autem dolores dicta', 'Reprehenderit incidu', '2021-02-21 03:53:46', '2021-02-21 03:53:46'), (3, '<NAME>', '<EMAIL>', 'Cupidatat officia hi', 'Ut eligendi earum ut', '2021-02-21 03:54:12', '2021-02-21 03:54:12'), (4, '<NAME>', '<EMAIL>', 'Sapiente ut ea debit', 'Qui excepturi debiti', '2021-02-22 11:39:25', '2021-02-22 11:39:25'), (5, '<NAME>', '<EMAIL>', 'Qui quisquam expedit', 'Exercitation duis vo', '2021-02-27 09:19:50', '2021-02-27 09:19:50'), (6, '<NAME>', '<EMAIL>', 'Eos quam accusantium', 'Fugit vitae ex modi', '2021-02-27 09:26:01', '2021-02-27 09:26:01'), (7, '<NAME>', '<EMAIL>', 'Nemo et rem veritati', 'Eos numquam sint est', '2021-02-27 09:56:38', '2021-02-27 09:56:38'), (8, '<NAME>', '<EMAIL>', 'Tempore quo adipisc', 'Eos molestiae ut ali', '2021-02-27 09:57:12', '2021-02-27 09:57:12'), (9, '<NAME>', '<EMAIL>', 'Eos ducimus et esse', 'Alias dolorem et ius', '2021-02-27 10:05:06', '2021-02-27 10:05:06'); -- -------------------------------------------------------- -- -- Table structure for table `failed_jobs` -- CREATE TABLE `failed_jobs` ( `id` bigint(20) UNSIGNED NOT NULL, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `free_trials` -- CREATE TABLE `free_trials` ( `id` bigint(20) UNSIGNED NOT NULL, `category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `free_trials` -- INSERT INTO `free_trials` (`id`, `category`, `email`, `created_at`, `updated_at`) VALUES (1, 'Image Masking', '<EMAIL>', '2021-02-21 03:30:42', '2021-02-21 03:30:42'), (2, 'Image Masking', '<EMAIL>', '2021-02-21 03:34:08', '2021-02-21 03:34:08'), (3, 'Clipping Path', '<EMAIL>', '2021-02-21 03:44:20', '2021-02-21 03:44:20'), (4, 'Background Removal', '<EMAIL>', '2021-02-21 03:58:16', '2021-02-21 03:58:16'); -- -------------------------------------------------------- -- -- Table structure for table `get_quotes` -- CREATE TABLE `get_quotes` ( `id` bigint(20) UNSIGNED NOT NULL, `clipping_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `multi_clipping_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image_masking` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `photo_retouching` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ghost_mannequin` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `dropdown_shadow` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `reflection_shadow` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `color_variants` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `vactor_convartion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `brightness_enhencement` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ecomerce_image_editing` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image_restarted` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `quantity` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `sellection` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `details_instraction` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `get_quotes` -- INSERT INTO `get_quotes` (`id`, `clipping_path`, `multi_clipping_path`, `image_masking`, `photo_retouching`, `ghost_mannequin`, `dropdown_shadow`, `reflection_shadow`, `color_variants`, `vactor_convartion`, `brightness_enhencement`, `ecomerce_image_editing`, `image_restarted`, `name`, `email`, `quantity`, `sellection`, `details_instraction`, `created_at`, `updated_at`) VALUES (1, NULL, 'on', 'on', 'on', NULL, 'on', NULL, 'on', 'on', 'on', 'on', 'on', '<NAME>', '<EMAIL>', '515', '60 Hours', 'Pariatur Non vel ex', '2021-02-26 09:59:38', '2021-02-26 09:59:38'); -- -------------------------------------------------------- -- -- Table structure for table `jobs` -- CREATE TABLE `jobs` ( `id` bigint(20) UNSIGNED NOT NULL, `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `attempts` tinyint(3) UNSIGNED NOT NULL, `reserved_at` int(10) UNSIGNED DEFAULT NULL, `available_at` int(10) UNSIGNED NOT NULL, `created_at` int(10) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2019_08_19_000000_create_failed_jobs_table', 1), (4, '2021_01_19_063339_create_roles_table', 1), (5, '2021_02_06_145623_create_contact_us_table', 1), (6, '2021_02_08_042725_create_get_quotes_table', 1), (7, '2021_02_11_164540_create_free_trials_table', 1), (8, '2021_02_13_132723_create_subscribers_table', 1), (9, '2018_10_30_000000_create_tables', 2), (10, '2018_11_16_000000_add_meta_fields', 2), (11, '2020_05_17_000000_add_markdown_field', 2), (12, '2021_02_27_154533_create_jobs_table', 3); -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- CREATE TABLE `password_resets` ( `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `password_resets` -- INSERT INTO `password_resets` (`email`, `token`, `created_at`) VALUES ('<EMAIL>', <PASSWORD>', '2021-02-22 10:50:25'); -- -------------------------------------------------------- -- -- Table structure for table `roles` -- CREATE TABLE `roles` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `roles` -- INSERT INTO `roles` (`id`, `name`, `slug`, `created_at`, `updated_at`) VALUES (1, 'Admin', 'admin', NULL, NULL), (2, 'Author', 'author', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `subscribers` -- CREATE TABLE `subscribers` ( `id` bigint(20) UNSIGNED NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `subscribers` -- INSERT INTO `subscribers` (`id`, `email`, `created_at`, `updated_at`) VALUES (2, '<EMAIL>', '2021-02-26 09:59:19', '2021-02-26 09:59:19'), (3, '<EMAIL>', '2021-02-27 09:58:12', '2021-02-27 09:58:12'), (4, '<EMAIL>', '2021-02-27 09:58:25', '2021-02-27 09:58:25'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `role_id` int(11) NOT NULL DEFAULT 2, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `role_id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 1, '<NAME>', '<EMAIL>', NULL, '$2y$10$AxRseYYY7k3uDXiNGtbe8OqogN4z64avW3dx5as9DJTRA27y5U6hm', NULL, NULL, '2021-02-27 00:27:37'), (2, 2, 'Author', '<EMAIL>', NULL, '$2y$10$6OypW9JbpmwueH17SdiWMeVSYbNaSMrb/mivSnqPTf57Y94oK1vb6', NULL, NULL, NULL), (3, 2, '<NAME>', '<EMAIL>', NULL, '$2y$10$hBng2FR4ZZp5nth5t6IsrOVEdWUHVd.RB3EpW2u6h1W0S5mD/v.3.', NULL, '2021-02-21 04:33:27', '2021-02-21 04:33:27'), (4, 2, '<NAME>', '<EMAIL>', NULL, '$2y$10$M33xn6vjRNRWyNvF8YfIr.mUJcSReE673fFAXtFPbu84Rqd6AaWoG', NULL, '2021-02-22 09:33:58', '2021-02-22 09:33:58'), (5, 2, '<NAME>', '<EMAIL>', NULL, '$2y$10$FDTfuZRdS/xgnQzpGbKQ6uxGX62/KAx6L.q2DCIl4xlCnHxlpfIPG', NULL, '2021-02-22 09:40:15', '2021-02-22 09:40:15'), (6, 2, '<NAME>', '<EMAIL>', NULL, '$2y$10$EWrgbM9VT.JCvwg1FvmjYOlRuKMP/4nXXLAQ98SbDGviVat9fnp4K', NULL, '2021-02-23 08:44:32', '2021-02-23 11:36:38'), (7, 2, '<NAME>', '<EMAIL>', NULL, '$2y$10$61wloRf8LTtllu9or0l2ZO6AKb/21phGW7jcg3ZQOu5p1R6w9jMgm', NULL, '2021-02-27 05:49:31', '2021-02-27 05:49:31'), (8, 2, 'test', '<EMAIL>', NULL, '$2y$10$SOycRfomE2m.KE4EQWpb3Okhqz.nseeXpeGb3OGRe.VDr6EXBFir.', NULL, '2021-02-27 05:54:37', '2021-02-27 05:56:09'), (9, 2, '<NAME>', '<EMAIL>', NULL, '$2y$10$7TjlUhSBC3n7LdcNHUS23uKONsz9LnrXHNTW3RPouIGclZVGDRBSK', NULL, '2021-02-27 05:59:04', '2021-02-27 05:59:04'), (10, 2, 'q', '<EMAIL>', NULL, '$2y$10$ACHUG2es9MiAmwfm5UYKCeczgNGCZTJUCFSuCJ2G7wKbJGVeLP4GW', NULL, '2021-02-27 06:00:58', '2021-02-27 06:00:58'); -- -------------------------------------------------------- -- -- Table structure for table `wink_authors` -- CREATE TABLE `wink_authors` ( `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `bio` text COLLATE utf8mb4_unicode_ci NOT NULL, `avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `meta` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `wink_authors` -- INSERT INTO `wink_authors` (`id`, `slug`, `name`, `email`, `password`, `bio`, `avatar`, `remember_token`, `created_at`, `updated_at`, `meta`) VALUES ('71b558fb-a109-4bad-bd04-607d010a2a7a', 'nayeem-khan-dc', '<NAME>', '<EMAIL>', <PASSWORD>', '<p>This is me.</p>', '/storage/wink/images/FLOhimG0RNcNvX26da2UVpdLKGUGWjAet0MJaWpT.png', 'Mz35TpZCQDEh6FtRWXKaWCoQOt32Kld2ReyNdIgoEDXGSKyle6ZQXs4SZX3i', '2021-02-21 09:14:46', '2021-02-27 00:20:02', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null,\"theme\":\"light\"}'); -- -------------------------------------------------------- -- -- Table structure for table `wink_pages` -- CREATE TABLE `wink_pages` ( `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `body` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `meta` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `wink_posts` -- CREATE TABLE `wink_posts` ( `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `excerpt` text COLLATE utf8mb4_unicode_ci NOT NULL, `body` text COLLATE utf8mb4_unicode_ci NOT NULL, `published` tinyint(1) NOT NULL DEFAULT 0, `publish_date` datetime NOT NULL DEFAULT '2018-10-10 00:00:00', `featured_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `featured_image_caption` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `author_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `meta` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `markdown` tinyint(1) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `wink_posts` -- INSERT INTO `wink_posts` (`id`, `slug`, `title`, `excerpt`, `body`, `published`, `publish_date`, `featured_image`, `featured_image_caption`, `author_id`, `created_at`, `updated_at`, `meta`, `markdown`) VALUES ('0171ce74-6b8c-4c1f-9aba-716ba3ccdc23', 'utilize-of-clipping-path-mirror-effect-service', 'Utilize of Clipping Path Mirror Effect Service', 'Utilize of Clipping Path Mirror Effect Service', '<p>Making various draw selections or clipping paths in Photoshop obviously not that simple and always takes time more to be completed. You must be particularly experienced as you are an expert Photoshop specialist designer with Photoshop to make it effective. Here I will demonstrate to you some simple methods that can be useful for making various cut-out ways or clipping paths that are also known as selection ways around the photo to remove it.</p><p>&nbsp;</p><p>To start with, open the picture in Adobe Photoshop. Presently, you need to decide what number of cut-out way layers or clipping layers are expected to choose each shading independently. On the off chance that there are five variations of hues, you need to make five-section way layers. Presently, we should begin with your task for all intents and purposes.</p><p>&nbsp;</p><p>Way No. 01 We always propose you draw a section way or clipping path for the general picture at first. It must be extremely exact and exact. Make sure to take a stay point at the joining purpose of numerous hues. Assume if the picture has two hues- white and dark. Take stay point at the point from where white shading begins and where white shading finishes and dark shading begins. In the event that you are taking a shot at this picture you need to guarantee grapple point for the accompanying focuses- 1, E, y, s, m, g, a, 2, 3, f, l, r, x, D, J, 4. This procedure will be useful for making further way layers. Now you can continue with the choice of each shading. How about we make the way for 1EFGHIJ4. Since you have just made a way for E14J while you have done the general choice, simply duplicate E14J from Way 1 and past it on</p><p>&nbsp;</p><p>Way 2. Presently you need to associate EF, FG, GH, HI, and IJ. While associating you need to take stay point for all F, G, H, and I. You are finished with the determination of red shading effectively. Is that an excess of complexity? I believe it’s not on the off chance that you do it efficiently. We should continue with the following one. We will cut green shading in Path 3. We should review the way we have officially improved the situation initial two layers. Truly, we have officially cut Ey, sm, ga in Way 1 and EF in Way 2. Duplicate these ways from the past two layers and simply interface Fz, yz, st, TN, nm, GH, HB, and abdominal muscle. You have done section way or Making various section way not that much simple. You must be particularly experienced with Photoshop to make it effective. Here I will demonstrate to you some simple methods that can be useful for making various cut-out ways or selections.</p><p>&nbsp;</p><p>So you are in your best of the range adapt, here you in every one of your thoughts down, your done activities all set to go only one thing is feeling of your loss your model and after that once&nbsp;it is discovered by yourself one, what must you need to do with them?</p><p>Well here have included my main ten important&nbsp;hints on finding your model photograph, getting&nbsp;the perfect and best out of your topic, and what critical need to do once the shots are clinched- besides them must need Photoshop editing service including background cut out and path, Photoshop, Digital retouching, Photoshop restoration, color adjustment and correction, photo manipulation, Photoshop manipulation, hair mask, hair selection, background selection, and other Photoshop online photo editing service.</p><p>1. Constructive making an affinity</p><p>At the time of beginning, any individual must do, here you have to build up the capacity of picking up a decent affinity with your model photograph for professionalism despite the fact that the probability must be barely met. Attempt to individuals you need to know starting with, ask a relative to sit for you. Always properly work on that bedside way, snicker joke, and having a great time to get settled with your used quality-based camera as well, any specialized issues should be taken a shot at now.</p><p>2. Proper Location for your model</p><p>As you alright with managing your main subject of model Photograph, your utilized camera in augmentation of yourself an ideal opportunity to chase down a few models. Posting adverts in the daily paper, around colleges worked for me ten years back now the world is invaded with long-range informal communication potential outcomes, Twitter and Facebook the undeniable despite everything shoot models from these locales today!</p><p>3. Moving toward the model</p><p>As a female, it is constantly discovered moving toward other ladies to come and model for me simple, exceptionally mindful a ton of men being simply breaking out into excitement model photography and not having the renowned portfolio to awe battle horrendously. My recommendation man or woman must be dependably to approach a potential model photograph with a great brief and neighborly message. Here clarify for your beginning and you then would like to be keen on shooting her. Offer that she is welcome to bring an escort and that you will cheerfully go to her if needs be. Never request that a young woman go to your home regardless of whether it has an ostentatious studio set up in the extra room, you might be the kindest gentlest individual in the universe however this appears to be amateurish and odd.</p><p>4. Shoot TF</p><p>A beginning constantly best to offer TF shoots. TFP -Time for print, TFCD- Time for CD meaning the model must give her a chance with the expectation of complimentary pictures for her portfolio. Once in a while, the model will request a commitment to movement costs again this is to your carefulness. Regardless I shoot TF now and again. Likewise, an extraordinary chance to coordinate with young ladies and test them for imperative production shoots.</p><p>5. Remain open</p><p>For your first gathering and shoot, constantly best to meet in an open place for your security as well- individuals not generally what they become apparent on the web. Take the model to an open area, a shoreline, stop and take some fun snaps and examination.</p><p>6. Never make the primary shot a bare one</p><p>The model must need to be agreeable around you and likewise, for you, it needs to make sense of her best edges and how she gets to be in functions. In the event that sufficiently fortunate by yourself to work the model even full bare on your first photoshoot with herself and just need to take a full favorable position and snap away however never weigh the model to do anything she not having a craving for doing particularly on your first regular meeting.</p><p>7. Posturing</p><p>I also many times saw such a significant number of professional photographers battle to clarify how and why they critical need their subjects to stand and look like in the pictures. Go the additional mile - Strike the posture yourself to give the model a case to work from likewise a decent ice breaker. On the off chance that you are not as sure accompanied a readymade case of pictures torn from magazines and point to the postures, you might want the model to make. As the model warms up to you I must make ensure she should begin starting her own particular postures as well.</p><p>8. Demonstrate the model</p><p>So you beginning to get shots and feeling sure, undouble because of our computerized age and the simplicity of seeing the picture straight away the model will need to take a look at what you have been shooting. This needs to be a tedious assignment as it must put a halt to the shoot\'s stream by staying there skimming through each picture shot. Certainly demonstrate the model a chosen few of shots yet proceed seriously. At the point when bareness is more included the turn around it exhorted – capturing a naked ladies can be a private procedure for sure dependably demonstrate the model any picture she asks for on shoot – the more noteworthy the shot the more certain she will be at posturing for you and uncovering more!</p><p>9. Demonstrate Release</p><p>So the shots are taken care of in time to get legitimate. Continuously supply and make a model sign a model discharge. This legitimately covers you as well. It is an assertion amongst model and picture taker allowing consent to distribute the photo in some frame. In the event that you not at the distributing stage yet STILL sign one since it will give you chance to permit the photo later.</p><p>10. An expedient development</p><p>The best blame of numerous a picture taker is setting aside a long opportunity to get the pictures to the model. Not exclusively does this disappoint the model having to continually pursue up the pictures however this could harm your photographic artist/demonstrate the relationship, later on, she might not have any desire to work with you again because of the worry of obtaining the pictures in any case. You might be occupied with all-day work when you are not taking photos or you might be held down by nothing however dependably give a practical time allotment concerning when the model can hope to get the pictures toward the finish of the shoot. On the off chance that it will take an entire month at that point sufficiently reasonable if it will take seven days extraordinary yet stick to it. I am glad to state that when a shoots over I have not completed the activity until the point that the shots are altered and messaged over that day however when beginning you have to take as much time as is needed and sharpen your altering abilities. To give the model the timescale of a fortnight would be a decent beginning stage for you.</p><p>&nbsp;</p><p>Get the model photography business in a proper place by using Photoshop service on your model you shot, Generally, you with all photographers must fail to proper gorgeous photograph model for the only camera shot and for this you need to edit on them to get 100 percent quality and attract your customer.</p>', 1, '2021-02-27 14:14:00', '/storage/wink/images/RVXnCmIpz922s9OzmCsD5BINdvzeNOfylEClUc5d.png', 'Utilize of Clipping Path Mirror Effect Service', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-27 08:15:19', '2021-02-27 08:20:44', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('04239491-b039-414f-a048-b66c76425bed', 'ecommerce-product-and-photo-retouching', 'Ecommerce Product And Photo Retouching', 'Ecommerce Product And Photo Retouching', '<p><strong>02. Designer Country Image Editing Service, Ecommerce Photo And Product Retouching</strong></p><p>How would I survey the nature of a wedding Proficient Professional Photograph editing service? I trust it implies that you get the best photograph post preparing that not disregards picture taker style, is conveyed in the most limited time and at the negligible cost. With that, you do not have to invest much energy in the request submitting, in light of the fact that client administration and site convenience are of a high caliber. Besides the photograph tests should be of an indistinguishable level from the entire impression from the site. In conjunction with these criteria I`m going to include the following focuses:</p><p><strong>1. General gauge</strong></p><p><strong>2. Nature of satisfied photograph Proficient Professional Photograph editing service</strong></p><p><strong>3. Upkeep of professional photographer style</strong></p><p><strong>4. Group photograph post preparing cost</strong></p><p><strong>5. Proficient Professional Photograph editing service cost</strong></p><p><strong>6. Normal pivot time</strong></p><p><strong>7. Gauge time of changes and amendments</strong></p><p><strong>8. Photograph of images transferring and downloading time</strong></p><p><strong>9. The nature of the data gave on the site</strong></p><p>&nbsp;</p><p>I sent the request to pretty much 10 weddings Proficient Professional Photograph editing services. My request comprised of the wedding photo set and I requested to do the accompanying:</p><p>&nbsp;</p><p>Pick the best 700 photographs from 1100 pictures, isolate them into 3 classifications and marginally modify 10 pictures.</p><p>I appended 3 tests from each wedding. Generally speaking, my style is straightforward. I do not care when the pictures are over-prepared. I adore lively hues however again not exaggerated. I do not care for the neon shading grass or drop or natural or transparent shadow creation. I solicited not to change the shading from the bridesmaid dress. Just punched it up a bit. I appended a few cases. Likewise, I solicited to send me a couple from tests to favor the quality before continuing with the entire set.</p><p>I am not going to demonstrate the outcomes I got from those Proficient Professional Photograph editing services, yet I would get a kick out of the chance to share my surveys. There is an audit of 10 proficient photographs Proficient Professional Photograph editing services with the goal for you to see the quality and level of their capability and how they took care of my requests – the requests of a client with normal necessities. I will not say which Proficient Professional Photograph editing service I have picked, however, I need you to realize that some of this photography Proficient Professional Photograph editing service I can prescribe to my companions and universities.</p><p>Here you can discover my photograph altering administrations surveys:</p><p>TOP 10 Wedding Photographers Proficient Professional Photograph editing service survey.</p><p>Professional photographer Edit - photography Proficient Professional Photograph editing service surveys</p><p>When I saw Photographers alter site for the first occasion when I was in joys. My underlying impression was somewhat positive, I was certain that Photographers altering or correction was the expert Proficient Professional Photograph editing service that I required. Amid the main hunt Wedding Photographer alter or editor freelance this one turned out in the first place. At that point, I read a few positive surveys on the definitive sites and it gave me significantly more certainty that I found the Proficient Professional Photograph editing service appropriate for me. Yet, shockingly, Photographers\' edits neglected to legitimize the status of outstanding amongst other Proficient Professional Photograph editing services.</p><p>&nbsp;</p><p>In light of the structure of the Photographers Proficient Professional Photograph editing service site, it looks as though it was very simple to utilize and there were no additional catches that could befuddle or misdirect me. All things considered, Photographers alter disillusioned me, as they have the wrong ease of use. It comes characteristic that I needed to see a few pictures or look through photograph sessions that were handled by Photographers alter group since it was fascinating for me to perceive how they feel about hues and adjust keeping. Be that as it may, I do not discover any case of expert photograph altering I could be caught by. That were little Photographers altering appeared to their customers. Very little! I do not help thinking that it is conceivable to discover more data in the picture takers alter audits on different sites yet not without anyone else site.</p><p>At that point, let us go to the request. Photographer alter site took a great deal of my opportunity, as I needed to tick every one of the focuses and read every one of the references to these focuses for me to discover what sort of photography Proficient Professional Photograph editing service I precisely needed. Picture takers alter had such huge numbers of inquiries and it was enduring too long and monotonous.</p><p>&nbsp;</p><p>Folks, I simply need you to process my photographs as in case! Picture photographer alters, I am not going to be the piece of your group! I simply need to get great photographs.</p><p>The procedure of arranging and transferring tests and the photographs for my request took 30% of my work time which I could spend on editing wedding photographs independent from anyone else. A couple of times server indicated blunder to me while transferring the photographs on the Photographers alter the site and requesting that I begin everything from the earliest starting point. At that exact second, I needed to get picture takers\' to alter the coupon code. It is conceivable to discover the cost for Photographers alters photograph altering administration simply in the wake of having filled every one of the focuses in the frame! Gracious my God! Where is my picture taker\'s alter coupon code I ponder? I was somewhat irritated.</p><p>For the cluster photograph preparing in addition to the determination of 700 photos from 1000 and for altering of a few RAWs which I requested to return in JPEG, I gave 196 dollars. Picture takers alter clipping path charge so little in contrast with different organizations occupied with proficient photograph editing. Also, I got the message in which Photographers alter offered me to pay progressively and turn into a Premium part for 99 dollars. Being Premium part I can get the commitment of Photographers to alter group and ensured quick Proficient Professional Photograph editing service with the Designer country (DC), an expert image editing studio, works round the clock to ensure the best service for our clients. Here a group of quality based experienced designers from Graphic Design Arts Institute is always ready to produce perfect and elevated handmade Photoshop path, drop shadow, Photo masking, retouching with other Photoshop based services,</p><p>&nbsp;</p><p>Now the internet world is probably dependable on the way of taking good advantage to earn money or save money and time via freelance portrait retouch or other editing photo correction. So here the freelance world is always quickly responded to drop the completed photo to their clients following the client\'s instructions.</p><p>Clipping Path- Designer Country</p><p>Professional Photo Editing &amp; Clipping Path, Background Change, Photo Retouching, Ghost Manipulation?</p><p>The necessity of Portrait background removal and retouch it up</p><p>For the portrait photographer, it is about impossible to pick up the best quality with the capture of him as he is the best user of the camera and for this reason, to bring the best and attractable quality, it becomes mandatory to edit on the capture portrait photo. In about for all time it is also crying need to remove the background that is not suitable to the photos and need to place it on the other background for the better looking, And via that way the photographers make them more professional.</p><p>&nbsp;</p><p>Importance of Photoshop editing freelance co-operation</p><p>in freelance sectors who are engaged to themselves professionally, makes a creative impact on the design sectors via Photoshop portrait background removal and retouch it up. Here the busy photographers to save their most valuable time as well as money select the right experienced professional freelance retouched or manually the photo background removal or retouching studio from developing countries like as Bangladesh. Basically, Freelance Photo&nbsp;background removal and retouched company having more than 100 expert and experienced designers income way are to satisfy their clients with clipping path, background removal, photo restoration, photo color correction, photomask, retouching, vector path, and design and other Photoshop services.</p><p>Image Security in the freelance design world</p><p>the professionalism way of a freelancer must make him understand the importance of the images to their clients. So they are always making themselves a dependable guard to ensure the security of the photo editing project. While taking the profession as a career, the life way to make secure of the photo.</p><p>Working hours to edit portrait retouch up</p><p>it is easy to say that they have no off day as they make shift their designer into three shifts to deliver the editing photos completed. If you are a client, you may knock and see one of the communication team members of the freelance photo retouch company respond to you within 30 minutes like Designer Country.</p><p>Pricing in freelance retouch service</p><p>in pricing sectors, it starts generally from $1.50 for each picture but it verifies in different companies. Here Our Company Designer Country also to make good relation for long time partnership give a volume offers to our clients. And we are capable to edit more than 15000+ images in a single Photoshop working day.</p>', 1, '2021-02-26 19:18:00', '/storage/wink/images/YUNHVIMvIMrfRJEvgXLfXL4ld3kLtunlJ7L5cEMm.png', 'Ecommerce Product And Photo Retouching', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-26 13:19:07', '2021-02-26 13:26:13', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('2fbfe9ac-ec6c-40c3-b584-082e012a60e0', 'model-photo-digital-editing-in-cheap-rate-', 'Model Photo Digital Editing In Cheap Rate', 'Model Photo Digital Editing In Cheap Rate', '<p>Digital Photoshop photo editing is the first and foremost income source for outsourcing photo editing service companies in 3rd world countries. So&nbsp;the professional product or model photographer maximum would like to hire a digital photo editor to modify and edit their product or model shoots as they are attractive to their client\'s eye and make the clients favorable to your photography; In this situation, Designer Country is ready to help you with digital photo retouching and digital photo editing service in an affordable and cheap rate.</p><p>&nbsp;</p><p>Our service price starts from $0.25 and in the maximum time, you may get a great responsible offer in which under you get more photo editing in the same price and the quality is very high that is not been ignorable to you, So you may hire us for your photo editing service project to be done.</p><p>&nbsp;</p><p>We offer these services; that&nbsp;are mandatory for you including Photoshop clipping path,&nbsp;Photoshop clipping mask, Photo color correction, Photo manipulation, Photoshop digital photo retouching, Photo old restoration, photo enhancement, Photoshop mask, Photo background removal, and other Photoshop services.</p><p>&nbsp;</p><p>Here we need to let you know that we are so cordial and responsible to edit your picture with our best service provider co-operation; So No tension &amp; feel free to be make your images edited by us in a low rate pricing system. To see and achieve our photo digital editing service you get three image-free services also that make confirmed clear to you about our photo editing quality.</p><p>The proportion of reasons for the interest that are assessable here makes clients use our affiliations not simply on transient start. For the start, we are diverse in proffering affiliations and working aces. Every photograph that is exchanged with us will be melded with capable editors and mindful thought.</p><p>In this manner, inside a minor degree of time, it is changed into a star photo that does not contain any defects. Additionally, we are truly in charge of each work. In like path, if in the wake of concentrate a man still has some sensible remarks or recommendations, we will tail it and re-attempt the evolving purposeless. We are used just to wind up at ground zero results that are praiseworthy for the opposite sides.</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Clipping path, Remove Image background, Photoshop mask, Photoshop retouch, Color correction, natural and reflection Shadow service, and others</p><p>Reasons for the excitement of our delineation auditing affiliations</p><p>Another reward is photo-changing expenses. They are low, with the goal that paying little mind to beginning picture takers can persevere through the cost of them. Everything considered, such rates don\'t reflect the likelihood of the relationship, as they are high. We have found the heavenly concordance among rates and quality. In blend with imaginativeness and motivation to achieve only the best, that spots us isolated from standard affiliations.</p><p>&nbsp;</p><p>We mull over our site and it\'s connecting with the interface. Thusly, paying little mind to real comfort and point by point depiction of each gave advantage; we have an intriguing photo adjusting blog. Here we exchange flexible articles concerning all circles of the contemporary photo industry. We are welcome to analyze it.</p><p>&nbsp;</p><p>On our few endures in blog substance we have disclosed how to modify an old picture and reestablish that with the assistance of Photoshop for photo retouching service. Presently through this substance, we will portray the significance of old photograph reclamation benefit to you.</p><p>Simply envision, you have some photographs of your progenitors or your youth time. Because of the time, those have been old and lost quality. There are numerous spots, scratches, flaws on those pictures. You do not see those plainly or you are feeling bashful to share those via web-based networking media- Facebook, Twitter, and so forth. Indeed, even you yourself not recognize the general population, spots of those pictures.</p><p>All in all, what you will do now? Will you ruin or consume those. Or on the other hand, will you attack pieces? Not under any condition. Totally conceivable to reestablish the nature of those pictures -Simply let the fashioners treat your pictures and they will make your pictures great quality like previously.</p><p>Adobe Photoshop has numerous highlights which can be utilized to alter your pictures. There are numerous photograph old photo restoration specialist co-ops who are prepared to correct or edit your old pictures. Like cut-out background or clipping path of image benefit they can furnish you old photograph reclamation benefit with finest quality. The picture editors utilize distinctive highlights of Adobe Photoshop to treat old pictures.</p><p>For instance, your pictures contain bunches of spots, scratches, and terrible impacts. Those pictures are of such a great amount of importance to you and you would prefer not to ruin your pictures. In this way, simply contact the master illustration fashioners and let them make your pictures delightful. They utilize distinctive devices of Photoshop to evacuate spots, scratches from pictures. For this situation, the spot mending device encourages a ton to expel terrible spots from pictures. Similarly consume apparatus, evade device, fix instrument are additionally such a great amount of accommodating to expel awful impacts from pictures.</p><p>Photographs contain sweet memory and great photographs ought to dependably be saved deliberately. Those pictures give one sort of entertainment. When you will have a look at the old photographs of your progenitors or old companions, your brain winds up esteemed with satisfaction. Or on the other hand, you can likewise be enthusiastic seeing the photographs of those individuals who are no more in this world. In any case, if those pictures get ruined or lose their quality, will those make any impact in your psyches? In light of the awful nature of those pictures, you do not recognize the substance of your closest and dearest individuals. Furthermore, subsequently, those pictures will lose the esteem.</p><p>Along these lines, old photograph rebuilding and retouching services have extraordinary requests in the realm of the photograph Photoshop editing process. This procedure can reestablish the quality, claim, and feeling of your pictures. Step by step this photo editing process is getting to be famous and numerous individuals from various nations are taking this help from Designer Country</p><p>&nbsp;</p><p>We have a gathering of master architects retouched who can reestablish any sort of old or terrible pictures. Regardless of whether you do not distinguish your pictures unmistakably, please send those to us. We will alter those with the hand of profoundly experienced planners. You will be dumbfounded in the wake of watching the delayed consequence of our done pictures.</p><p>Customer fulfillment is our principal objective and to guarantee that we will give most ideal old photograph rebuilding administration. Costing is another incredible factor for this sort of photograph altering edited process. Numerous so seaward illustration studios charge high costs for this sort of elite administration. Yet, they not give anticipated that quality would their customers. In this way, kindly not squander your cash.</p><p>Designer Country is prominent for giving astounding administration at brings down the cost. We do not charge high costs from our customers. We guarantee the finest quality at a moderate cost. Our creators are moved on from famous designs expressions organization and after that have tremendous experience of photograph modifying edited design service and old photograph rebuilding process. We are open all day, every day with 250+ master planners.</p>', 1, '2021-02-26 19:31:00', '/storage/wink/images/nGujsZHbX0QQKFhG2eco2YOj25DWBAkK1AkTWuWZ.png', 'Model Photo Digital Editing In Cheap Rate', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-26 13:32:23', '2021-02-26 13:35:40', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('309d4459-ad5b-49f8-9cea-e876d7a5abfd', 'online-background-change-service-for-photo', 'Online Background Change Service for Photo', 'Online Background Change Service for Photo', '<p>Background Change of images is a sort of control that comprises of the evacuation of the foundation or background and improving its quality with exceptional changes. They are rectification of the hues of the picture, diminishing or including a few shadows, possibly more difference. This editing service makes the photo additionally engaging so our experts do it all the time. Evacuating the preparation makes a complement to the vital parts of the picture.</p><p>&nbsp;</p><p>On the off chance that you have ever done shopping on the web, you more likely than not found out about a wide range of sites, for example, eBay or Amazon. Individuals who are involved here realize that the picture is the most critical advance while in transit to making advertising effective. Proficient photograph shooters have cameras of high caliber and they are not reluctant to utilize them so they can take a photo of your item and make it extraordinary. Obviously, you can simply utilize your own particular hardware to make those photographs yet would you say you are certain you know how to suit the greater part of the tastes behind the screen? Also, there is no uncertainty you utilize item photograph correcting or photo editing based outsourcing way to upgrade the quality significantly more. Created commercial centers even give you directions to help.</p><p>In this way, as you most likely know, eBay and Amazon are sites for internet shopping and they are the biggest among comparative ones. Individuals offer there truly everything- electronic hardware, old things, and social insurance product images. Be that as it may, before you will have the capacity to offer something, you need to do a site direction.</p><p>&nbsp;</p><p>For instance, in the event that you need to transfer your picture on Amazon, you need to ensure it delineates only your thing, ideally with no propping Furthermore, it ought to be differentiated to the foundation so it must be white. This protest must be separated from everyone else on the photo with the goal that no extra thing could confound your customer. It additionally should take 85% of the picture estimate. Your photograph ought to be introduced in high caliber. You can apply some important changes like clearness. On the off chance that we are discussing eBay, the prerequisites are fundamentally the same. In any case, there you have a privilege to put a watermark on your picture yet not on an advertising reason. You need to ensure the photo has no fringes or unnecessary parts.</p><p>Web-based shopping is currently accessible overall so individuals go less to the standard shops. They are accustomed to tapping on pictures on the screen. In the event that you have a shopping site yourself, you definitely know that the photo is fundamentally everything for the clients.</p><p>&nbsp;</p><p>Obviously, message depiction of the item is vital also on the grounds that the data set there is more exact yet the look ought to polarize. What is more, this is the reason gems modifying or restoration service&nbsp;garments product correction with the photo editing process, land photograph online editing for outsourcing purposes&nbsp;and different sorts of picture post preparing are so critical in that field.</p><p>How you ensure the iconic background of your product images</p><p><strong>GroundWork Removal</strong></p><p>the consummate basis is a respectable go for offering things or advancing something, yet it is difficult to accomplish. Without the image foundation or background, there is considerably more spotlight on the protest itself. Expelling the foundation/ background is one of the fundamental correct procedures and it is utilized all around. Requesting this editing online process you a great deal of time so it is extremely mainstream the accomplished photograph shooters. There are shrouded shakes in this procedure, if, for instance, the foundation on the photo is dynamic. So delicate hues will suit you better on the off chance that you anticipate the photo editing process the photograph after. In any case, it is just the beginning of the entire photo improvement process.</p><p>&nbsp;</p><p><strong>Veiling/ Masking</strong></p><p>Do you know what it is? On the off chance that this term is phenomenal for you, at that point you will discover. To cover intends to expel a protest from its experience without changing some other component of the shot. You can simply outsource your picture in the event that you wish for another preparation. This administration is normally connected when the issue is muddled, for example, hair substitution or expulsion. It can make your photograph more normal. It is regularly utilized by graphical creators and different experts in the workmanship and showcasing fields.</p><p>&nbsp;</p><p><strong>Clipping Path Way</strong></p><p>along these lines, this editing process is sufficiently famous as well. In the event that you have an immaculate photograph however you have to supplant a few subtle elements or protests keeping in mind the end goal to put it on a front of a magazine or utilize it for promoting. Laying out the question and putting it on the required foundation or photo background is your answer and your best instrument for this is typically Photoshop. Things turn out to be clearly more confused when we are discussing the substitution of a few product items pictures, yet it is as yet conceivable. In this way, it is normally utilized by the individuals who have inventories or distinctive promotions to run. Obviously, this administration not&nbsp;generally be utilized alone, and blending it with some others like headshot modifying and other picture controls make it more beneficial.</p><p>&nbsp;</p><p>Online Professional Photograph Retouching is a standout amongst the most famous and expert methods for making delightful, spectacular pictures with the guide of cutting-edge instruments and strategies. It enables you to do a scope of various things to your pictures. Through it, You can rapidly and proficiently edit undesirable components, change hues, complexity, and lightning design, smoother out hair and skin, emphasize highlights, expel unattractive imprints and pimples from the face, apply make-up, acquire better shading difference and brilliance and streamline body extents. Most likely, Photoshop Retouching can change an alright picture into an incredible perfect work of art. That is the sole reason this method is as a rule generally utilized by professional expert and experienced photographers, promoting offices, form magazines, visual communication studios, online site designers, and so on. What they need is flawlessness in the pictures and this is best accomplished by Professional Photoshop Retouching.</p><p>&nbsp;</p><p>Who needs photograph modifying or retouching online service?</p><p><strong>Professional Experienced Photographer</strong></p><p>Today, picture correcting through the Photoshop retouching process has turned into a critical certainty of photography\'s success. Professional photographer gets the most ideal last advanced yield just at the time they have increased the value of the pictures with the astonishing correcting highlights of Photoshop. This will not astonish since lustrous and enticing pictures are the need of great importance. Individuals are searching for immaculate and culminate pictures and where they find such sort of administration, they are mysteriously pulled in towards them.</p><p>&nbsp;</p><p><strong>Professional Form or fashion Magazines</strong></p><p>Ladies are frequently desirous of the unfathomable great looks of models in design magazines and want to end up noticeably like them. Be that as it may, the fact of the matter is far, a long way from them. 100% of the pictures of the models in mold magazines are corrected. That implies those pictures highlighting marvelously stunning looks are close to an illusion. All this demonstrates the accomplishment of the mold magazines depends to a great extent upon photograph modifying. They essentially will not work without making utilization of this to a great degree pivotal strategy for them, photograph modifying.</p><p>&nbsp;</p><p><strong>Web Developers</strong></p><p>All together for an online site to be famous, it must have a decent visual depiction with the goal that it might be utilized as a decent business stage. Computerized superior quality pictures ought to be there on the site since they make a rich and expert look. Online Photoshop Retouching can enormously help in accomplishing this.</p><p>&nbsp;</p><p>Aside from these, a ton of different associations like stimulation and way of life sites, web based shopping sites, excellence and mold entrances and web journals make utilization of Photoshop modifying to make the pictures more lovely, more alluring, and all the more engaging!</p>', 1, '2021-02-27 13:03:00', '/storage/wink/images/2MYW8grcn13JKmml9khT5Pnmk0WE9jXaktOH4wjP.png', 'Online Background Change Service for Photo', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-27 07:05:56', '2021-02-27 07:09:48', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('36a64229-013e-4b02-b9c4-49a960f04401', 'session-tutorial', 'Cheap Rate Clipping Path in Photoshop Editing', 'Clipping Path Cut Out | Ecommerce Product Editing Services', '<p>Now the clipping path service price becoming high in some clipping path companies and some companies receive low payment as if they fail to make service to the clients not satisfied. So the clients always do not make their mind to whom they pay for service and whom they hire to receive clipping path service. So Designer Country; the clipping path, photo retouching online service provider always try to our clients the most expected service for clipping path for this to make a good clipping path creation and background removal service, they get they are experienced better to edit the client\'s Photos.</p><p>Here you need to know our price rate first then we think need to check our quality of clipping path and other photo retouching service, So I have included here the price list of us.</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Cheap Rate Quality Clipping Path</p><p><br></p><p>As our price is so low; and so you may think it easily that our service quality is also low but here we first feel to show service sample then information.</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Cheap Rate Quality Clipping PathQuality Chep Rate Clipping Path- 01</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Cheap Rate Quality Clipping Path</p><p>Quality Chep Rate Clipping Path- 02</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Cheap Rate Quality Clipping Path</p><p>Quality Chep Rate Clipping Path- 03</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Cheap Rate Quality Clipping Path</p><p>Quality Chep Rate Clipping Path- 04</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Cheap Rate Quality Clipping PathQuality Chep Rate Clipping Path- 05</p><p><br></p><p>As I have included some images of clipping path sample images that I think must inspire you to hire us so you may need to qualify about our service details from our service stage and for this reason, you can visit to thin Clipping path and Photoshop service links here …. color correction service and Photoshop clipping path,&nbsp;Photoshop clipping mask, Photo color correction, Photo manipulation, Photoshop digital photo retouching, Photo old restoration&nbsp;with other services</p><p>Today we will give you the idea in what condition you need clipping path, Why you have to draw your picture for clipping path, in what process you may receive this kind of service from different clipping path service provider companies.</p><p><br></p><p>Clipping Path Why You Use&nbsp;</p><p>Being you an eCommerce product supplier or product retailer professional; I think you have the completed concern for clipping path service why you having you use this Photoshop Service. Basically in the present eCommerce world finally to promote their business depends after all on the Photoshop Service to be their product a good attractive eye view. And only the customer of this product becomes able to buy the product with the quality and product views.&nbsp;Ecommerce purposes are not be fulfilled without it that is completely suggested by the e-commerce analyzed individuals.</p><p><br></p><p>Clipping Path Main Purposes</p><p>&nbsp;</p><p><strong>(01)</strong>To remove&nbsp;the photo unnecessary or unmatched background;</p><p>&nbsp;</p><p><strong>(02)</strong> Make a good place for the proper photo background;</p><p>&nbsp;</p><p><strong>(03)</strong>To receive other Photoshop Services;</p><p>&nbsp;</p><p><strong>(04)</strong> To make clear the hair of models ;</p><p>&nbsp;</p><p><strong>(05)</strong>Having a good change for other Photoshop service;</p><p>&nbsp;</p><p><strong>(06)</strong> For the eCommerce page promotion;</p><p>&nbsp;</p><p><strong>(07)</strong> Retailers site promotion;</p><p>&nbsp;</p><p><strong>(08)</strong> Advertisement companies prosper online.</p><p><br></p><p>Clipping Path Service Receiving</p><p>Many times you have need clipping path in no time and having you are a professional photographer being busy with your commercial time; so are you in a short time and need clipping path service- here you may receive clipping path service from many designer Companies as Designer Country that provide Clipping Path, Photo Correction, Photo Masking, Photoshop Background Removal, Image Retouching, Ghost Manipulation, Photo shadow service creation, and other Graphic design.</p>', 1, '2021-02-21 15:33:00', '/storage/wink/images/S3JYXjfVB4lkan4cLGaOT83vxgaCtrl1JMK5pyKY.jpg', 'Cheap Rate Clipping Path in Photoshop Editing', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-21 09:34:36', '2021-02-26 12:37:59', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0); INSERT INTO `wink_posts` (`id`, `slug`, `title`, `excerpt`, `body`, `published`, `publish_date`, `featured_image`, `featured_image_caption`, `author_id`, `created_at`, `updated_at`, `meta`, `markdown`) VALUES ('572d625d-9446-48e3-814a-9f54c2ac7dc2', 'designer-country-for-clipping-path-in-the-usa', 'Designer Country for Clipping Path in the USA', 'Photo Editing Usa - CLipping Path', '<p>Designer Country provides Clipping Path in the USA&nbsp;is essential when you wish to have some Photoshop manages your photos. The faultlessness of your yield, by and large, depends upon handmade cut-out path benefits around the article. The Importance of Clipping Path Service in different divisions are given underneath:</p><p>Photo Editing Sample - 01&nbsp;&nbsp;Some of our photo editing samples for clipping path...</p><p>Photo Editing Usa - CLipping Path</p><p><strong>Electronic Agency</strong></p><p>Clipping Path or Cutting Path is fundamental for Advertising workplaces, Promotion workplaces, Marketing Agencies, Design Agencies, Social Media associations, Media Planning workplaces, Branding or identity workplaces, and Public association workplaces.</p><p><strong>Web Business</strong></p><p>Web business owners utilize Clipping Path or cutting route for their customary business. Clipping Path or Cutting Path is required for a business to business correspondence, business to client correspondence, customer to purchaser association, and buyer to association affiliation.</p><p><strong>Online Shop Owners</strong></p><p>To Remove things establishment, Hand made area way is noteworthy. Clipping Path or Cutting Path is used by internet bookkeeping shop, online market, online cake kitchen shop, online delicates, online liquor store, online medicine store, online hardware store, online paper stand shop, online boutique house.</p><p><strong>Printing House</strong></p><p>Clipping Path or Cutting Path organization is taken by Printing Houses. The progressed printing company, Electrostatic printing house, flexography, gravure printing house, letterpress, balance light graphy, screen printing, photo printing association are some genuine clients who demand Clipping Clipping Path or Services.</p><p><strong>Circulating House</strong></p><p>Photo distributors, book distributor house, printing distributors, paper distributors, magazine distributer association needs slicing path organizations to get ready pictures to appropriate in on the web or disengaged.</p><p><strong>Structure Studios</strong></p><p>Clipping Path or&nbsp;Cutting Path is compulsory for Design Studios. Publicizing structure studios, In-Design House, Fashion Design House, Architecture Design House, Factory Design Studios need Clipping Path Services.</p><p><strong>Photo Studios</strong></p><p>Picture takers, Photography House, Mini Studios use Clipping Path Services for their ordinary Photoshop works.&nbsp;In any case, the above classes, Web Developer moreover needs Clipping Path Services for their visual substance, Product or organization part, Alt Tags, Portfolio and Blog page. You can endeavor Free Clipping Path Services and solicitation just if you like the free primer.</p><p>&nbsp;</p><p>Do you highly need to expand the offer of your products through your professional online site? Would you like to draw in clients\' attraction to your products to offer these? The most important condition to make your online site appealing and popular to the clients is to utilize eye-getting attraction-based gorgeous&nbsp;pictures of your product different&nbsp;items to your online&nbsp;site. The more you utilize gorgeous and attractive pictures on your site, the more the clients visit your destinations and purchase your items included in your online store. More or fewer pictures made by photograph improved editing&nbsp;process have awesome energy and ability to get the fascination of clients. Particularly for online web based business, there is no option of utilizing alluring pictures on destination pages.</p><p>&nbsp;</p><p>Expected clients dependably progress toward becoming pulled in by attractive and gorgeous&nbsp;pictures of an online site. So the pictures ought to be appealing, attractive. It must have the ability to snatch the consideration and expected eye of product&nbsp;clients. Presently the inquiry is from where you will get that sort of upgraded-looking pictures. If it is not too much trouble recollect, everyone can not give you that sort of pictures and you should look through some famous picture editing&nbsp;specialist organizations who have expert and experienced master&nbsp;designers to give you attractive pictures.</p><p>&nbsp;</p><p>So as to make a picture gorgeous and eye attraction getting the planners need to apply numerous strategies. Master creator Photoshop designer make a picture usable and captivating through expert editing&nbsp;way including&nbsp;Photoshop Clipping Path, Remove image background, shading adjustment, resizing, splendor differentiate, drop shadow, the mirror reflects the impact&nbsp;and so on. All strategies influence a picture to fine-looking and this is called a picture improvement benefit. Along these lines, the photograph improvement process is a huge issue that incorporates numerous methods of Photoshop tools. The consolidated Photoshop&nbsp;procedure way can make your pictures unbelievably remarkable and the proprietors of various sites look for that sort of Photoshop editing to have some pleasant pictures from a picture altering specialist.</p><p>&nbsp;</p><p>The rivalry is wherever in this time and you should challenge others by utilizing wonderful pictures on your destination online webpage. You will get a group of photograph altering editing specialist studios on the planet however a couple of these have the quality to create site well-disposed pictures. You may confront an awesome misfortune on the off chance that you can not discover who is the best to deliver site cordial photographs through the picture improvement process. So think profoundly and picked your best picture-altering edited specialist organizations.</p><p>&nbsp;</p><p>Presently&nbsp;people about all are purchasing their fundamental items through the online web. At first, they visit a few online sites that offer their coveted product items and pick maybe a couple. A decent site should include some alluring pictures front page and in addition other imperative pages. On the off chance that pictures have an extraordinary interest to the clients, at that point, they will peruse the site to an ever-increasing extent and choose to purchase their product&nbsp;items from that destination of online websites. Subsequently, you will have profited. Thus, these pictures will help you to spare your opportunity and cash and change over more guests to your site and your deal will be expanded.</p><p>&nbsp;</p><p>In this way, take picture improvement benefit from talented Photoshop designers who comprehends what sort of pictures ought to be included in your locales to build up your business rapidly. Great pictures have energy and the ability&nbsp;to get the consideration of the clients lastly it will enable you to build the offer of your products items and you to will be the gainer. As much as you will utilize appropriately upgraded pictures on your site, your guests and clients will be expanded and the apex improvement on your business will be guaranteed.</p>', 1, '2021-02-26 19:11:00', '/storage/wink/images/g9aY6HyEG4RKgsWvTLm9uCDIM76tX3nCWOhpL7H7.png', 'Photo Editing Usa - CLipping Path', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-26 13:11:44', '2021-02-26 13:16:19', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('726e5962-3078-4ad6-bede-e4608d929065', 'outsourcing-product-photo-clipping-path', 'Outsourcing Product Photo Clipping Path', 'Outsourcing Product Photo Clipping Path', '<p><strong>Introduction</strong></p><p>Any person must never make the details of description with details as Designer Country nothing but as an outsourcing Photoshop Photo Editing Online Company. You may describe it as an outsourcing photo editing Home Based Photoshop Expert Studio to some of our great &amp; regular exotic online customers. Here you first need to let you know that every one of them all is clear as though all of them&nbsp;being from the exotic countries basically from Europe and American Countries; ou office is in Dhaka, Bangladesh that to serve you and them are not closed for any moment or 365 days are opened for 24 hours</p><p>Clipping Path Importance- Designer Country</p><p>In our clipping path house studio, 100% customer satisfaction must be secure by whom we are selected for their clipping path service- Photoshop photo editing. Our photo editing company is one of the specialist companies that make the best production of all Photoshop outsourcing services. We continue our service providing time 24 hours &amp; in our studio any interested people all our customer can receive free trail for three images first as a Photoshop services quote</p><p>That is surely provided to you with an hour making the usage of our company email.</p><p><strong>Clipping Path in Outsourcing Categories</strong></p><p>Outsourcing Photoshop Services online has received a great position in outsourcing business categories that now for the photographer and eCommerce business with manufacturer companies needed to get their product or model images done perfectly for photo editing in a quick time. So every manufacturer and other photo editing service needed a person to choose to hire the outsourcing photo editor like Designer Country. Here You need to know what the founder of Designer Country Says,” We the designer country all stuff make the best awareness in the photo editing market &amp; other different sectors; we are more secure and responsible to our clients when we give them support with clipping path and other photo editing services’</p><p>Benefits in Designer Country Studio Clipping Path</p><p>You may get several opportunities with working to Designer Country, first, you must receive a reasonable rate to edit your images in your wanted way, then the photo editing process is continued with according to your expectation and instructions, here also you must get a bit more reasonable discount for huge images processing. As we are always open so you in this section must receive your photo in no time as you like.</p><p>&nbsp;</p><p>You may receive from us more Photoshop editing services&nbsp;with a big discount like as We are qualified in other services that you may need to make editing for your companies including Photoshop clipping path,&nbsp;Photoshop clipping mask, Photo color correction, Photo manipulation, Photoshop digital photo retouching, You may take the first three images as sample trail clipping Path with free service.</p><p>&nbsp;</p><p>Now the world basically is in an eCommerce age where the people are all-time in a wiling mood to purchase their necessary products from the online web store and in the case, Photography for product eCommerce solution becomes an urgent part of world business success. Professional product photographers in a co-operative way receive help from the outsourcing or freelance photo editor to save their money and time.</p><p>Individuals have a tendency to disregard the importance of photography in internet product offerings. Photography is an essential segment of web-based business. Regardless of you have your site, or you utilize built-up online commercial centers to offer your different product image items, the photography display is everything that catches the market. You need to ensure that your photographs all feature each in addition to your product images item have the best feel and enable the purchasers to analyze stud as though they could touch it.</p><p>Utilizing in excess of one photograph for a product item is a fundamental thing. You should make a photo display of your item with complex pictures, each exhibiting an alternate edge or clipping path, side, and highlight, retouching of the product item. Make a shot from the right, left, front, and back, and the various points, improve the detail, take a wide edge shot and a couple of close-up shots too. You should exhibit your item as genuine as could be expected under the circumstances. Abstain from utilizing the altered computerized lists or the pictures accessible with Google. Will you confront the right patent issues, as well as be tossed on the back foot naturally. On the off chance that you are utilizing indistinguishable pictures from your market rival, you are losing a potential market. On account of items at which costs and administration are unpredictable, the quality is every one of that offers. In web-based business, it is an introduction that marks quality. Set up the best photograph display in the market and win it.</p><p>It is very basic for dealers to come up short on points and shots for their product photography. What ought to be done about it? Fit another person\'s shoes, be a client for a day. Tempest your mind and distinguish all the essential viewpoints that you would focus on if you somehow managed to buy the item that you offer. You are sure to hit upon a few thoughts, click them!</p><p>&nbsp;</p><p><strong>World business on eCommerce website increasing</strong></p><p><strong>It makes me really interesting</strong></p><p><strong>Check out the Guidelines</strong></p><p>&nbsp;</p><p>eBay and Amazon are the greatest commercial centers on the web, with the best quality photograph exhibitions which have an extremely proficient look despite the fact that numerous dealers not a genius at photography or even e-offering. It is exceptionally prescribed for you to take out a bit and read through the photograph quality directions manuals on these sites. You may feel somewhat baffled at the outset, however, these are the useful tidbits, take after these rules and expert web-based business. They have the best item photography proposals that you may discover anyplace. The two best tips, given by the photography rules on eBay and Amazon, are the attention on picture size and foundation hues.</p><p>&nbsp;</p><p>Designer Country&nbsp;is an exceptionally expert&nbsp;and well-experienced Graphics studio and Photoshop Picture Editing based&nbsp;outsourcing organization&nbsp;conveying amazing outcomes without fail. Our gifted DTP agents have an expert&nbsp;ordeal for just about 3 years in any Photoshop picture editing work. Our Graphic expert master illustrations and Photoshop expert&nbsp;are, best case scenario of fulfilling Photo&nbsp;shadowing Service including&nbsp;Photoshop normal shadow natural, Image drop shadow, Photoshop reflection shadow utilizing their amazing recipe. We are utilizing the most recent&nbsp;programmings including&nbsp;Photoshop, Illustrator in Photoshop Image shadowing administration that prepares to beat some other organizations in the area. Designer Country&nbsp;must guarantee you the best Photoshop shadow results to your professional&nbsp;photograph which will naturally chuckle with pondering!</p><p>&nbsp;</p><p>Photoshop Picture Shadow of a picture must ensure to give it additional profundity and magnificence. Designer Country&nbsp;Shadow Reflection and Mirror effect&nbsp;Service incorporates characteristic Photoshop natural&nbsp;shadow, Photoshop Image drop shadow, and Photoshop&nbsp;reflection shadow or Photoshop mirror effect. Photoshop Picture shadow creation must ensure a&nbsp;measurement to level pictures that form them alive, energetic, and in place. In the pitch of web media, notice media, web-based showcasing, professional product&nbsp;photography and advancement, and some other visual introduction –Photoshop&nbsp;picture shadowing creation&nbsp;as Photoshop picture online editing&nbsp;is esteemed the stray pieces. Making natural&nbsp;drop shadows rocks on pictures as well as appreciate the sentiments of having shadows. More or less, with the guide of making Photoshop picture shadowing, a product image can talk.</p><p>&nbsp;</p><p>What are Photoshop Image Drop shadow, Natural shadow, and Reflection Shadow creation?</p><p>Photoshop Drop shadow creation&nbsp;is a real impact&nbsp;making the figment of a light source sparkling on a protest from above with the goal that a Photoshop shadow creation&nbsp;has all the earmarks of being shed behind the question of the object. The white or light foundation of the image background is more ideal for the best&nbsp;and perfect yield of Photoshop drop shadow creation. Making a dim or dark range and balance from the question of Image object&nbsp;must create an exceptionally educated smart and beautiful look. Photoshop natural Characteristic shadow embraces a similar subject yet the distinction is it makes the Photoshop first or normal image natural drop shadow of a photo or picture. In this procedure foundation of the background will be evacuated and put the picture in a white foundation at that point frame a shadow that appears to be very natural. Reflection shadow creates a similar feeling as the first mirror or glass produces. Reflection shadows give pictures look alluring and snatch more consideration than typical ones. Shadow making is an exceptionally helpful administration for an internet business, item photography, item inventory, magazines, and daily paper commercial outline, and so forth.</p><p>Need a citation for Photoshop&nbsp;shadow-making Graphic studio?</p><p>&nbsp;</p><p>On the off chance that you are searching for a citation for your pictures, the Designer Country&nbsp;group each time prepared for you to give all citations within 60 minutes. Simply Request A Quote now and get the cost within one hour or less. Simply take assistance from us to discharge your weight and advance your items. magazines, web-based business sites, and for all intents and purposes any field where the use of pictures in general. Also available here Expected service provider at an affordable rate for Photoshop Clipping Path, Remove Image Background, Digital Retouching, Image masking, Professional color-correction, and shadow service</p>', 1, '2021-02-27 13:16:00', '/storage/wink/images/2pfwrfoB0TAklLcIXXJzJi1gH8vuyTS5MuLgYWGH.jpg', 'Outsourcing Product Photo Clipping Path', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-27 07:17:36', '2021-02-27 07:21:34', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('8c860680-39ea-4e76-bd5a-53f3c3b007df', 'cut-out-background', 'Cut Out Background', 'Cut Out Background', '<p>Photograph Background Removal Or cut-out background, as the name recommends, is a technique to expel a specific foundation from a picture you captured. This may sound simple and smooth employment&nbsp;method yet it certainly will not&nbsp;be dealt with by beginners. To influence a picture to look immaculate and gorgeous, clear and all-around characterized, the critical need is&nbsp;to know about different eraser devices including Photoshop pen tools.</p><p>&nbsp;</p><p>To comprehend the esteem, part, and significance of section way benefits in business promoting today, it is vital to underscore, to start with, the component of commercial&nbsp;photography. For sure, present-day advertising efforts are to a great extent, if not solely, characterized by the nature of photography utilized. This short post concentrates on the quintessence and part of Image background cut-out way benefit in cutting edge item photography, from the point of view of an online business.</p><p>&nbsp;</p><p>Tying down the Goal of Product Photography</p><p>Image background Cut-out way benefit is just yet a vital choice of commercial product photography today, yet a basic one. Section way benefits just unite the essential objective of professional product photography, and from multiple points of view, impacts the achievement of any online product&nbsp;photography wander. Give us an initial chance to envision that you are showing your organization\'s lead image to the planned market.</p><p>&nbsp;</p><p>Clients generally group and see any brand with a mental picture, rather by the name. Research has built up that most clients recognize an item of product&nbsp;in light of an exact mental picture of that item, well before they conceptualize the item or organization name. Surely, they say of item initially prompts up a picture in the brain of a client. Different Item of product photography requires significantly more than negligible photography, clarifying why cutting way benefits turn out to be fundamentally critical to present-day advertising.</p><p>&nbsp;</p><p>Regardless of whether it is a solitary item of product photograph or a few, the forthcoming client needs a complete picture of the selected item of the product image to start with, before you detail the item includes, its uniqueness, or esteem. At the end of the day, making an unmistakable picture of the item is the initial phase in present-day advertising methodologies. The essential objective of item photography is deliberately characterizing and unmistakably refining the mental picture evoked in a client and partner that picture with the item.</p><p>&nbsp;</p><p>Requests of Product Photography</p><p>The essential objective of item photography, in this manner asserts the basic need of the cutting edge cutting way benefit. The brand should be introduced in all its variety of items, captured from various 3-D edges, coordinated into a numerous edge interface, and created to state a predominant visual effect. From lighting to the foundation, from camera point to the tone and air of the picture, and from symmetric component improvement to notorious determination, item photography amasses a million or more necessities.</p><p>&nbsp;</p><p>Different Item of professional product photography is more than taking an advanced picture of an item. The offering procedure is dependably as effective as the item picture used to compliment the deal. This clarifies why, no camera, paying little heed to the ability and fitness of the picture taker, can achieve even a small amount of what item photography requests today.</p><p>&nbsp;</p><p>Here is a portion of the highlights you encounter when you associate with us:</p><p>We from Designer Country bargain in a wide range of pictures, straightforward, unpredictable, or contorted. Our qualified group of Photoshop experts influences you to get to the best picture after redresses editing the images with their best experience. We see how critical part can a photoplay as a benefit of recollections. Similarly, we realize that the pictures should suit your list appropriately. While working for image editing in Photoshop Software with the foundation or Image background, we watch and realize that the picture is upgraded in a way that it seems regular, clear with refined edges. No triviality can be seen after the controls are finished. Our ability aptitudes with Photo Background Removal will affirm your arrangements and that fulfills our objective.</p><p>&nbsp;</p><p>&nbsp;</p><p>Photograph Background Removal or Image background cut out changes and evacuate the foundation of the picture which was keeping down the nature of the image. In this universe of reputation and fame, what is seen is sold, subsequently, it is really essential how we get ready and clean our pictures previously we exhibit them on a stage in the business.</p><p>&nbsp;</p><p>Our expert Photoshop designer group not just encourages you to dispose of the undesirable foundation or Image background or Photograph background of images and different components from the picture yet additionally include another foundation or other picture controls if it may be required. We achieve our objective when we support and keep up our customers notoriety. In this manner, we neither trade-off with the quality nor with the exactness in Photoshop image editing service.</p><p>&nbsp;</p><p>Increasing the value of your pictures will not simply a question of decision, are especially basic too. In this manner pictures going through the online picture correction or editing,&nbsp;forms improve an effect, and&nbsp;so required as well. On the other hand, with the development, and legitimate osmosis of the internet, every one of these administrations is accessible through web-based, giving you superb outcomes at focused market costs. An entire financially savvy professional picture altering editing administration service and the prepress arrangement would in a perfect world incorporate Photoshop cut out the path, natural shadow create, revision covers, delicate concealing, shading redress and modifying, computerized ton shading, streak activity, and Clipping Path, Remove Image Background, Digital Retouching, Image masking, Professional color correction and shadow service different assortments of assignments.</p><p>&nbsp;</p><p>In Photoshop programming design there are various photograph editing instruments for image correction. In this article, we will put a similar report between a Magic Wand Tool and a Manual Pen Tool as an expert pack for section way.</p><p>Magic Photoshop Clipping Path</p><p>This instrument consequently makes choice over a photograph and changes over it into away. Different changes can be made with shading modification and foundation annihilation, simple and a quick method for making a Photoshop path. A computerized apparatus or, an enchantment clipping path determination is made by a Photoshop calculation since it scarcely makes any flawless way. It has an excessive number of fix focuses that make the photograph edges inconsistent and&nbsp;might incorporate some superfluous region. The redress of such deformities is additionally troublesome and extremely tedious. Other than the picture looks stifled and hindered for an excessive number of grapple focuses in the wake of printing. Enchantment Wand Tool is helpful for home use reasons instead of any expert realistic editorial manager and print industry.</p><p>Pen Tool</p><p>Photoshop Pen Tool or, hand device is an indispensable instrument for section path, a type of manual instrument and a flat out the handmade device,&nbsp;requests talented hand and high outline abilities. A manual section way pro picks the Pen Tool from the Photoshop sidebar and straightly draws the ways simply completely through the edges of the picture. never&nbsp;miss a solitary pixel and extensively experiences the fringe of the protest. While needing the most astounding condition of plan mastery.</p><p>&nbsp;</p><p>In spite of the fact that It has some deficiency in fluffy and translucent photographs. In any case, it can be settled with the assistance of Photo Background Color Remover and Photoshop Layer Masking. In reality the most well known and sensible route for making proficient section path applications in the print media business. As of now, numerous seaward Asian organizations are giving top Photoshop background cut-out benefits. Because of shabby work cost their administration is additionally monetary and time cordial.</p><p>Use of Photoshop Clipping Path Service or Cut Out Service</p><p>Cut-out Path has unending use in the fields of picture altering editing and realistic outlining. Various offices today are influencing the utilization of this system keeping in mind the end goal to lift to realistic quality and add to the viability of pictures. Most broadly, Photoshop Clipping Path Services are utilized as a part of making</p><p>01.&nbsp;Online different Items Product Catalogs</p><p>02.&nbsp;&nbsp;Flyers and Brochures</p><p>03.&nbsp;&nbsp;Bundles &nbsp;and different Item packages</p><p>Your different&nbsp;item of product index ought to be planned in a way that interests to an extensive number of groups of onlookers. For the most part, the item inventory outlines ought to have pictures that have no foundation yet slight drop shadows. This serves to upgrade the pictures as well as influences the item to emerge, pulling in more individuals. The cut-out Path is the best apparatus to winnow out the foundation.</p><p>Flyers and Brochures</p><p>Flyers and pamphlets assume a vital part as the special and successful showcasing devices for organizations. The Flyer and Brochure outlines along these lines ought to have pictures that have a dependable impression. This can be best accomplished by a Photoshop cut-out path. Since the Photoshop section path is useful for expelling foundations, this implies the foundations can be changed in the flyers suiting the reason and the brand picture of the business and furthermore other enhancements like common and drop shadows can be added to add to the appeal of pictures. Besides, different Photoshop cut-out ways can likewise help in shading revision.</p><p>Bundles</p><p>May trust it or not but rather the bundle configuration really impacts whether individuals purchase the item of product or not. Remembering this, it will not&nbsp;astonish that pictures in bundle configuration must be made with the most extreme care. The foundation ought to have proper shading which should be possible by Photoshop cut-out Path.</p><p>Gliding Heads of Businesses, Web Graphic Designs, Advertisements all additionally influence utilization of section way to benefit for limited time purposes. Section Path consequently has tremendous and assorted employments.</p>', 1, '2021-02-26 19:05:00', '/storage/wink/images/5ISvWceCjh8mTaxy4nbhuy9lGyqWtvIQ8pPQ4lkH.png', 'Cut Out Background', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-26 13:06:08', '2021-02-26 13:10:02', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('9365acfa-ec2e-48e4-8fbf-ee875af6927a', 'clipping-path-business-in-2019-', 'Clipping Path Business in 2019', 'Photo Background Removal Service & Evacuation Benefit', '<p>Photography is a request capable occupation from the earliest starting point of the nineteenth century. Professional photographers of various ages and countries love to take photographs of something intriguing or extraordinary. Presently in the period of twentieth-century individuals love to take unprecedented or mind-blowing photographs and in the meantime, they require photograph Photoshop photo editing online for outsourcing. On account of photograph image photo background cut out with clipping path tool to remove background is a mainstream term which is utilizing from everywhere throughout the world. Today we will talk about Designer Country and various Clipping path administrations and business.</p><p><br></p><p>Why is Clipping Path to remove background benefit unfathomably famous all through the world??</p><p>Clipping path or Section way procedure which is ordinarily known as basically shut vector way is utilizing for rolling out improvement inside the uncommon bit of any Photography. It is a prevalent strategy from everywhere throughout the world and individuals love to apply this system for rolling out improvement inside the picture. The primary reason for its notoriety is by utilizing this system you can change nearly anything inside the picture like photo shadow shape, dynamic quality, unnecessary background thus many. Internet Clipping path business webpage proprietors generally require this administration. They have to alter to edit their photographs with the goal that it might look amazingly great. In the event that we consider the viewpoint of the eCommerce business it is extremely important to grandstand the best quality items. Their size, shape shadow, and nearly everything. So picture altering is an absolute necessity issue here.</p><p><br></p><p>Clipping Image- 01</p><p>Clipping Path- Designer CountryProfessional Photo Editing &amp; Clipping Path, Background Change, Photo Retouching, Ghost Manipulation?</p><p>&nbsp;</p><p>We should discuss some selective Clipping Path Service in Designer Country benefits</p><p>&nbsp;</p><p>Photo Background Removal Service &amp; Evacuation Benefit</p><p>It is an extremely fundamental administrative service of cut-out background form images. By utilizing this system we can change or expel any foundation inside your decision. Now and again it is extremely vital for entrepreneurs to change or supplant the first foundation. Creators will make way for you and roll out the improvement inside pictures as your desire.</p><p>&nbsp;</p><p>Clipping Path to Neck Joint Service</p><p>The neck joint is a gainful piece of cut-out way business. Pieces of clothing ventures need this administration gravely. By utilizing this method effectively you can change the perspective of your pieces of clothing items like a shirt, gasp, sweeter, Genii, and significantly more. Consistently the web-based business entrepreneur gains a colossal measure of remote cash by giving neck joint administration.</p><p>&nbsp;</p><p>Clipping Path to Shadow Creation Service</p><p>Shadow creation or amendment is a standout amongst the most request-capable points in the ongoing time. Online magazines, daily papers, business webpage require this administration seriously. Architects will evacuate the dim shadow and dark spots of your pictures that is the reason they require tremendous shading adjustment benefit. Enchanting shading adores the client in particular and they generally expect something exceptional from the dealers.</p><p>&nbsp;</p><p>Picture hair Masking Service</p><p>It is an imperative Photoshop handmade clipping path benefit. Fundamentally this item of Photoshop online editing is utilizing for show. We utilize a hair concealing strategy here. Diverse covering administrations are accessible like alpha veiling, channel concealing, and layer covering thus many. Distinctive veiling procedures are connected to the items relying upon the hardness of the question. Its value go is high and set aside a moderately greater opportunity to alter the photograph.</p><p>&nbsp;</p><p>Raster to Vector Conversion Service</p><p>Now and again we have to change over the raster pictures into vector ones. Presently let me reveal to you something on raster to vector change benefit Print media needs vector picture benefit. That is the reason a great deal of pictures has been changed over into raster to vector one. As raster picture is awful to print it can lose its quality and shape. Raster pictures spare pictures as pixels then again vector pictures spare information as a movement of the rule. With the assistance of the latest adobe representation framework, we can make vector pictures of any size by using designercounrty.com you require without reducing any quality. The records spared as vector plan are the humbler size and in this manner. You can use that kind of picture successfully on destinations. For locales, vector pictures are flawless and can keep up great pixel quality.</p><p>&nbsp;</p><p><strong>Who requires Clipping Path Service? | Clipping Path Business</strong></p><p>&nbsp;</p><p><strong>Commercial Distinctive Ad offices</strong></p><p>&nbsp;</p><p><strong>Professional Photograph Studio house</strong></p><p>&nbsp;</p><p><strong>Diverse articles of the clothing product photo</strong></p><p>&nbsp;</p><p><strong>Articles of clothing Products</strong></p><p>&nbsp;</p><p><strong>Present Online E-business stores</strong></p><p>&nbsp;</p><p><strong>Magazine distributer’s experts</strong></p><p>&nbsp;</p><p><strong>Clipping Image-02</strong></p><p>&nbsp;</p><p>Clipping Path- Designer CountryProfessional Photo Editing &amp; Clipping Path, Background Change, Photo Retouching, Ghost Manipulation?</p><p>&nbsp;</p><p>The possibility of Clipping Path Business in 2019</p><p>Clipping&nbsp;Path Service provider is a safe business nowadays. A business person\'s from everywhere throughout the world has put their exertion in on the web and they require monstrous picture altering administration especially designercounrty.com. Regular right around a large number of pictures should be altered for marking reason yet expertise labor is moderately not as much as this sum. So from my experience, I might want to state in the event that you are an affair individual you can put your exertion on photograph altering and effectively you could maintain a cut-out way business.</p><p>&nbsp;</p><p>In the computerized crafts design world, to the professional Photoshop graphics designers, Digital Graphic design is much the same as painting. Just it utilizes innovation instead of oil paints. A computerized digital brush is of another importance and works no not as much as a sable-haired Photoshop brush for a professional painter. Cut-out image background system must provide such a great work or way ponders on the picture by striking out the foundation image background without any causing bends.</p><p>&nbsp;</p><p>Numerous professional cameramen or photographers chip away at scene photographs at the time of the sun setting or ascending to make a fascinating horizon. With the assistance of updated Photoshop pictures may be getting made additionally staggering and lovely with gorgeousness. A basic photo may be brought with a digital computerized camera with a single introduction in the best high difference natural scene. Here the picture would then be able to be the correct contender in post handling strategy and level genuine and great natural lighting may be described to make it more viable. The tether or lasso device follows the sky and the mists in the picture. On the off chance that there is a slope or a mountain in the scenery, possibly follow the rope around it also. Subsequent to the following one may look at the walking ants around the followed divide. At that point, the hues of perfect color are controlled. By the assistance, if channels, obscuring and fluffiness one must get intriguing outcomes.</p><p>&nbsp;</p><p>Background selection or clipping path in section way benefits has turned into the most recent pattern in the picture Photoshop service of editing and altering. Each one of the individual’s adobe Photoshop graphic designers who provides service with pictures like visual architect designer and professional photographers are widely utilizing Photoshop cut out background to use the wanted commercial pictures and upgrade the natural quality of the picture. Numerous seaward clipping path organizations get prepared specialists to try and give expected pictures a stunning painted look-practically as a work of art. Talented planner Photoshop designers furnished with refreshed programming software are making great wonder in improving expected picture best quality. The essential section background cut-out the way is to remove the unexpected background of the picture. This administrative Photoshop clipping path is widely needed by the individual Photoshop designer who works with substantial pictures. Numerous offices widely utilize background cut-out services.</p><p>&nbsp;</p><p>Clipping the path or expelling the foundation image background sounds basic. In any case, as in maximum photograph computerized editing programming software evacuating foundation background of a picture not take after a vector Photoshop path. Image path selection usefulness of a photograph altering programming software evacuates the foundation image background following a vector Photoshop selection clipping pathway. A straightforward relationship must be the covering usefulness of Adobe Photoshop Illustrator software. In this way, the cut out of the covered region will be the cut-out way. In this manner, the selection clipping pathway has been connected to a picture the rest must be modified keeping the conceal partition in place. Background Cut-out specialist, for the most part, removes the background, and from that point, the picture may be utilized as a part of numerous far by the proprietor.</p><p>&nbsp;</p><p>The section of professional Photoshop clipping pathway strategy of picture improvement is especially reliant on the kind of programming utilized to the fundamental evacuation to remove. The product that emerges is updated Adobe Photoshop. The Photoshop pen tool device is an extremely profitable choice to be utilized by a talented administrator designer to choose the blueprint background of the picture. It is easy to use. Higher aptitudes guarantee that the pints are associated with no misfortune to the nature of the picture. GIMP now capable of programming software and rivals Adobe Photoshop. This important software has the vast majority of the users that Adobe offers and set up Photoshop pen tool in Adobe Photoshop this product has way instrument and works precisely like Adobe. Striking out the background should be done precisely as in Adobe. Corel Photo-Paint programming has comparable usefulness and utilizations way apparatus to recognize focuses along with the picture for determination.</p><p>The product and human aptitude are doing marvels to pictures. Utilizing the Clipping pathway the protest from the picture can be detached and resized and utilized as a part of print media or in pages. Organizations utilize these strategies of picture improvement to utilize the picked part of the picture and resize to fit either the flyer or the leaflet or might be expanded in size to be put on accumulating. Picture adjustment is additionally done utilizing the cutting way strategy and the pictures once amended do emerge. Since the cut-out way technique takes after vector way the visual originator gets included adaptability to work the picture without stressing of contorting the picture.</p>', 1, '2021-02-26 18:43:00', '/storage/wink/images/tTnbbgPGP2f5CxWj0U2lJMNWf1DiQFLBe5DGeLKs.png', 'Clipping Path Business', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-26 12:44:20', '2021-02-26 12:52:54', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0); INSERT INTO `wink_posts` (`id`, `slug`, `title`, `excerpt`, `body`, `published`, `publish_date`, `featured_image`, `featured_image_caption`, `author_id`, `created_at`, `updated_at`, `meta`, `markdown`) VALUES ('9fb382cf-b22b-4efa-afb3-891b21a1422b', 'outsourcing-photography-on-photo-editing', 'Outsourcing Photography on Photo Editing', 'Outsourcing Photography on Photo Editing', '<p>In case you are an expert and experienced professional photographer, What is more, and more important to you? when you can easily use the to-go independently employed for your profession, Here you just need to remember that you are not just only a professional experienced photographer you are considered yourself an entrepreneur, as well. When you would like to initially go out without anyone else, taking care of everything yourself may be possible because of your experience and self-motivation. Be that as it may, there might come a point where you are stating no to new customers to your business who help to grow your profession more quickly in the renowned process, giving up the nature of your work with the best performance having great importance on your customer prosperity, or investing energy in assignments that keep up rather than developing your business more rapidly. You must need to arrange your mind to invest your significant time in your profession so you can concentrate on impelling your business further. Here is included the manner by which you can invest your time, experience, and work in outsourcing to develop your photography business and, all the more significantly, amplify the advantages.</p><p>Would like to professional Outsource</p><p>&nbsp;</p><p>For Having a great and big opportunity an independent and freelance professional photographer&nbsp;can be considered for outsourcing, they must be considered themselves to engage them to outsource using their valuable time and experience working knowledge. Quinn jenny American has a great devotion to acquire the best professionals with outsourcing and she has said there is a big online place for outsourcing where we have a great possibility to submit correct solicitations, she says that Furthermore, one of my representatives is better than average at and cherishes doing it. Furthermore, in case we are frightened to relinquish imaginative control, we can consider outsourcing picture editing, Photoshop design for clear employments, for example, expansive groups of item photographs that need a white foundation. Be that as it may, to the exclusion of everything else, make sure that it is justified, despite all the trouble. For an experienced professional freelance photographer, I would state that everybody needs to know the dollar estimation of their chance they get,&nbsp;She says that it is easily said that the number is $55 USD/hour. On the off chance that it can be discovered somebody who will alter for you and improve, for a large portion of the cost of your dollar esteem, at that point, it is a great opportunity to outsource via professional freelance photography. In the event that you have a customer who needs item pictures measured for different online commercial centers, outsourcing the resizing is an easy decision. Do you require editing on images get a quote...</p><p>Online professional Advertising</p><p>&nbsp;</p><p>We can be frequently profited by either a specialist or an understudy-level associate to deal with our showcasing assignments. In any case, remember, you regularly get what you pay for outsourcing procession the off chance that you need huge outcomes, a prepared and conceivably costly master is the best choice. Be that as it may, in the event that you need assistance with keeping up your current online networking nearness, a more moderate alternative, similar to an understudy, could work for those little errands. Promoting errands that you can outsource commonly include:</p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content creation and blogging</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copywriting</strong></p><p>&nbsp;</p><p><strong>&nbsp;•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SEO/SEM</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Graphic Design and website composition</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Social media showcasing</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PR</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email showcasing</strong></p><p>At the point in what time need to Outsource</p><p>&nbsp;</p><p>Outsourcing just works when done effectively exercising good experience and working ability in a proper way. It is not generally the opportune and easy time to outsource...<NAME> says the individuals who are quite recently beginning their photography business should hold up until the important and experienced point of working when an all the more enduring and generous wage begins coming in. For the effective bustling proficient and expert professional photographer, you will get to an important spot or place where you will spread yourself too thin on the off chance that you do not outsource. You need to pick between turning into a CEO or the experienced worker who tries to do everything properly.. is said by <NAME>. your business has a good quality and experienced partnership with high quality based workers will be developed to a point where it may be more difficult to do everything yourself, she says. Consider the possibility that the telephone continues ringing. Would not you need to invest more energy changing over new customers and shoot more, rather than taking a gander at the screen throughout the day altering pictures?</p><p>&nbsp;</p><p>There are a few signs that demonstrate it could be a great opportunity to outsource,</p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feel overpowered</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Never leave existing customer requests or handle your present workload</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feel like you invest more energy in regulatory obligations than on your business or your photography</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feel as innovative as you used to</strong></p><p>&nbsp;</p><p><strong>•&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;turn down new customers since you fail to satisfy the demand</strong></p><p>&nbsp;</p><p>Whom need to Hire</p><p>&nbsp;</p><p>Whom&nbsp;you need to hire for outsourcing to is similarly as vital as what you are outsourcing. In addition to the fact that it is a fundamental issue to discover somebody fit and experience for the activity needed to be done, yet additionally somebody you can trust and feel he or she is ready always for you work made them done. potential competitors altogether, and look for more ability and competitive knowledge. Ought to customer you need to satisfy require a cinematographer, outsource to a companion who can carry out the activity- <NAME> says. Need a moment experienced and trusted professional photographer outsource to a nearby contractual worker. Need prints? Outsource printing to the labs. Tired of altering pictures? Outsource to an expert digital retouching Company. You can take in a considerable measure through perusing customer surveys and tributes. Likewise make a request to see past working conditions, if conceivable, so you can comprehend what is in store. Also, do not be hesitant to make a request to contact references and past customers. By the day end, in case you are not happy with&nbsp;whom, you are not going to have the capacity to take the full favorable position of the advantages of outsourcing. Referrals are dependably an incredible place to begin in your inquiry, as well. Utilizing your current systems could arrive you some confided in alternatives. There are three fundamental courses you can go with regards to outsourcing your photography business — assistant, singular expert, or organization — each with its own particular arrangement of dangers and prizes.</p><p>Organization</p><p>&nbsp;</p><p>01. Large emotionally supportive network,02.reliable, proficient, and experienced have a tendency to be more dependable, brisk turnaround time. Tend to cost more, may not be as agile or as adaptable as you require, risk not outsourcing to a socially dependable organization</p><p>Tips for Outsourcing</p><p>&nbsp;</p><p>There are a few stages you can take to guarantee your outsourcing tries are fruitful and add to your photography business rather than take away from it. As worried some time recently, dependably altogether to ensure the competitor is equipped for the activity as well as a socially capable organization. Some energy is dependably a decent sign, as well. ought to be eager to work with you, <NAME> says. Have the correct correspondence technique, He proceeds. Be steady and direct with your correspondence and ensure you set aside the opportunity to tune in to their desires. It is essential to dependably be in agreement in the event that you need the relationship to work. Set desires plainly. For instance, in case you are outsourcing photograph altering, first, comprehend your altering style — or your customer\'s visual style — and after that convey it unmistakably. Visual rules or illustrations offer assistance. On account of outsourced photograph altering, it additionally ensures your inventive dreams adjust. Try not to contract somebody who does not have faith in what you are doing, He says.</p><p>Designer Country As an Outsourcing Photo Editing</p><p>Designer Country, a visual computerization specialist organization, is Bangladesh construct outsourcing organization depending with respect to a gathering of master and experienced creator. This group might want to serve our customers warmly in their normal approach to give the customers the best administration for securing their blessing. We generally devote our brains and time to serve our customers. So we trust our organization established with extraordinary materials and fashioners. Here Designer Country provides Expected service provider at an affordable rate for Photoshop Clipping Path, Remove Image Background, Digital Retouching, Image masking, Professional color-correction, and shadow service</p><p>Conclusion</p><p>&nbsp;</p><p>Outsourcing is not for everybody, without when the time comes, it can be a gigantic advantage for taking your photography business to the following level you expect. Erick shares some end counsel, a significant system that any expert and professional photographer need to make an experiment with the present moment: Influence a rundown of each and every sort of undertaking you need to maintain your business for progress. Separate huge things, such as promoting, into little pieces. At that point make a framework. Over the best, the classifications are Love, Impartial, and Abhorrence. at the edge, the classifications are Awesome, Alright, and Awful. Put each errand into a classification. On the off chance that you truly do not care for managing cash, however, you are OK at doing it, place Accounting in the square for both Aversion and Alright. The trap is to discover the things you both abhorrence and are bad at and begin outsourcing there. Past that, I would propose outsourcing things that do not create income, yet take a ton of your opportunity. We made a worksheet that you can alter on your PC or print out to enable you to make sense of which assignments you might need to outsource.</p>', 1, '2021-02-27 13:10:00', '/storage/wink/images/v0omRpkO047m0cexg631gomgkKdX1VvaoEVsVoBu.png', 'Outsourcing Photography on Photo Editing', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-27 07:11:54', '2021-02-27 07:15:47', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('c95ff866-329b-438c-9c86-01c6ab424d25', 'professional-photo-retouching-services-your-photoshop-service-online', 'Professional Photo Retouching Services. Your Photoshop Service Online', 'Professional Photo Retouching Services. Your Photoshop Service Online', '<p>Is it really true that you are a web online proprietor of a professional business and particularly private? Or on the other hand, perhaps you need to take some doing with some function as a fashioner and you must be required some assistance? The two real circumstances demonstrate our circumstances in which the great looking of the photos is essential. Also, the photo unnecessary background underscores a few spots, for instance, an adoring couple or a still life.</p><p>Perhaps you may be a proprietor of an online various product shop. When we are here talking or discussing garments or infants\' toys product; the product picture is the most critical as it will be going to make an establishment connection on the customers and make the best attraction to draw their consideration or, unexpectedly, camouflages them. At the point when the professional photography experience is evacuated, it is vastly needed to be improved for worrying your different product items of product pictures, particularly on the off chance that you influence the background to work with white. Making it straightforward is likewise an accessible choice.</p><p>Online Photoshop Background Removal</p><p>Give us a chance to discuss with you originators\' Photoshop Photo background removal work. In what are they included? In making a polarizing look and also modifying or online best editing. They need to do a wide range of things, for example, just need to create different thoughts for the online sites, make logotypes for a wide range of undertakings, and publicize the product pictures. All things considered, the learning of managing the photo background is vital for some situations where originators or product sellers need to meddle. So the nature of their Photoshop services must be as high as the measure of cash and of notoriety they intend to get. Along these lines, as should be obvious, the use of the preparation expulsion is sufficiently broad. Everything is focused on the clients\' directions and requirements. In the event that you tell our masters your point, they will do their best to enable you to evacuate or supplant your experience in the manner in which you require it.</p><p>Photo Background and Its Other Consideration with Clipping Path</p><p>Different professional product photo backgrounds additionally need to be clipped in an unexpected way. There is a component of the clipping path which confirms the photos to get made conceivable the way toward putting another basis rather than the evacuated one. This photo background removal online can be connected online and in addition different Photoshop-based services. A layout which encompasses picture makes it simpler to evacuate or to shroud the product photo foundation behind any question.</p><p>&nbsp;</p><p>Our Customer with Photo Editing &amp; Clipping Path</p><p>Our customers have this Photoshop photo background removal service including clipping path available to them at their most punctual comfort. There is a considerable measure of tests of this Photoshop editing service on our online-based site with the goal that you could contrast old variants of the photos with the altered for Photoshop editing ones and to set you up to settle on your choices about the photo post handling. Our Photoshop Photo expert editors will exhibit you a few variations of the evacuated or supplanted foundations of Photo background with the goal that you could think about everyone. Picture releases will be connected entirely as indicated by your requests, wishes, and necessities. We have more services Photo Background Removal, Clipping Path, Photo Hair Masking, Photo Retouching Service, To receive service visit Designer Country; low rate but best service.</p><p>Online Background Change Service for Photographer</p><p>Evacuation of the basis is a kind of control that comprises the expulsion of the preparation and upgrading its quality with unique modifications. They are adjustment of the pictures\' hues, diminishing or including a few shadows, possibly more complexity. This administration makes the photo all the more engaging so our experts do it all the time. Evacuating the preparation makes highlights the imperative parts of the picture.</p><p>&nbsp;</p><p>Tree Clipping Path is the Complex and most hard clipping path service sector that gets more time to make the creation of clipping path. Nature professional photographers are always in search of this tree photo clipping path service. Sometimes it is not imagined that a beautiful and colorful tree get not match the attached background and at this time the basic photographer and their clients feel the need to change the attached background.</p><p>Tree Clipping Path Complexity</p><p>Complexity is the main problem in the tree clipping path because here the first and hard service masking needed more care than the other also more need to edit with more and more time. So here we need not tell that this clipping path service is hard but we may need to tell that it takes more time to be got completed.</p><p>Designer Country in Tree Clipping Path</p><p>Designer Country a clipping path service provided based outsourcing Bangladeshi company have some creative and specialist with a great devotee in clipping path service. They always make themselves provide clipping path service in only the client’s instruction. And the policy” First work, then check, again check and then also the final check” we follow in this tree clipping Path service. So make yourself free without tension after sending the tree images to us for a clipping path. We must secure your tree clipping path needed images and other images that you choose to get edited from Designer Country.</p><p>Cost in Tree Clipping Path</p><p>The cost of tree clipping path images starts according to your image size but generally, we demand &amp;0.55 per image to make a clipping path. If you send us above 50+ images then the price will be $0.50 per image. You also be able to get more bulk discounts if the project contains above 200+ images.</p><p>We are qualified in other services that you may need to make editing for your companies including Photoshop clipping path,&nbsp;Photoshop clipping mask, Photo color correction, Photo manipulation, Photoshop digital photo retouching, and&nbsp;other services.</p><p>You may take the first three images as a sample trail clipping Path with free service.</p><p>may need to make editing for your companies including Photoshop clipping path,&nbsp;Photoshop clipping mask, Photo color correction, Photo manipulation, Photoshop digital photo retouching,</p><p>You may take the first three images as a sample trail clipping Path with free service.</p>', 1, '2021-02-27 13:22:00', '/storage/wink/images/p8BX3MbmhRpiuXS17hdMCwT0cI3i2uTSGanQRTmu.png', 'Professional Photo Retouching Services. Your Photoshop Service Online', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-27 07:23:05', '2021-02-27 07:25:13', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('d7314c63-abc0-48c5-b07b-f89ba4368be6', 'bike-or-car-background-cut-out-to-remove-objects', 'Bike or Car Background cut out to remove objects', 'Photo Transparent Background | Photo Cut Out Services | Background Removal | Image Editing', '<p>Clipping the pathway with the Photoshop pen tool is the best way to cut out the background of the bike to remove it from the picture. Here it becomes mandatory because for the seller when they upload the picture on their e-commerce site to sell at their expected price, the first urgent need to make it attractive to look at in their webpage or confirm it fails to attract the clients and so they make their mind set up not to buy it.</p><p>Bike or Car Background cut out in Outsourcing Way here to include the principle to introduce the basic necessity of clipping path Designer Country to make removal photo car or bike background from the unexpected background area. So it always makes your selling bike gorgeous to your clients if you take it on a quality-based attractive background from the unmatched background.</p><p><br></p><p>Designer Country to Clip the Background Unmatched</p><p>Designer Country a leading photo background removal company in the clipping path process by the user of the Photoshop pen tool. The best quality of us is the main way that is our purpose and we always should take the responsibility to make the best clipping path service as it is our duty to serve with this background removal service. Here the clipping designer is really in a good experienced and quality provider condition as they take at least two-year training in our clipping path training academy. So no tension and feel easy after dropping you’re clipping path to remove the background project to us.</p><p>In perform the way we always provide you the clipping path service which is properly completed handmade with all the picture you dropped to us, but it is necessary to need to know you that we also provide you layer mask, transparent and white background clipping path to remove background service.&nbsp;</p><p><br></p><hr><p><br></p><p><strong>01. Our experienced designers are always ready</strong></p><p><br></p><p>Our-Purpose-you-satisfy</p><p>our experienced designers are always ready to edit images of photographers. As professional photography has been rapidly increasing, the working time of the photographers is decreasing for their image load, and for this reason Designer Country always ready for the photographer with its support of service including&nbsp;Photoshop Clipping path, Remove Image Background, Digital Retouching, Image Masking, Professional Color-Correction, and shadow service that are most important to present a beautiful image. We are ready for freelance photographers, retailers, and fashion and advertising agencies. The main target of us is to decrease your image load with quality-based service us.</p><p>So we cordially ready to satisfy you with our service and communication. Test us with your instruction and give us an opportunity to make good relation with you.</p><p>A shadow takes in a three-dimensional amount of place, although this will be typically not obvious until it tasks on top of a mirror surface area. A lighting haze, water or air, dirt fog up must expose the 3D existence of volume level designs in lighting and darkie area. Fog dark areas must appear strange or unusual to the visitors tending to be not used to viewing shadows in three volumes. A slim fog will be heavy adequate to get lighted by the lighting going by the breaks in a design or within a wood. Due to this fact, the path of the shadow of an image via the fog gets to be obvious as a darkened size. In a perception, these shadow streets will be the inverse light brought about by supports of lighting but brought about by the shadows of sound and reliable images. Theatrical fog and powerful gleams of lighting will be often employed by landscape developers, graphic designers, and dancers looking to emphasize three-dimensional factors of their performs.</p><p>Natural Shadow natural darkness refers to the noticeable shadow from the images generated from one unique lighting origin. Besides, the pure darkness will be thrown upon the area of the images located on. in which the lighting origin becomes tough to figure out as well as the concept would look to float in the free atmosphere the organic shadow effect will be imitating darkness forged on top of the area. The object will be put on and the supply of light imitates the sunlight or a light in a room.</p><p>Cast Shadow In some instances, our designers must apply the current shadow in a photograph. While it is probable our designers will apply to cut Photoshop path as well as keep any authentic shadows while eliminating the background of photograph and offering a suitable stage associated opacity and visibility to the darkness. When the present shadows must be employed because of background situation or the pure lighting circumstances, our designers always supply a shadow appearing entirely natural.</p>', 1, '2021-02-24 17:05:00', '/storage/wink/images/vbwVhLbFYn15L1GVgSxLWFtLMl6jzvrtHy7CRogD.png', 'Clipping Path', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-24 11:05:16', '2021-02-26 11:38:42', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('eefe9be3-6b0a-47f7-ae48-c2d20c9e6d75', 'clipping-path-website-in-outsourcing-for-india', 'Clipping Path Website In Outsourcing For India', 'Clipping area on the photos', '<p>Now the world finally dependent on an online-based service system for any project such as clipping path service needs being&nbsp;a great demand from basically the European country including United Kingdom, Italy, Denmark, Romania, and other also from American country. The photographer and other guys who are in urgent need of remove background service or clipping path service need always select the Indian countries for their project for the low demand as service</p><p><br></p><p>Clipping path website as the most demanded area</p><p>In general term, the good way to make the photos more gorgeous and attractively good looking is to clip out the background that is unnecessary to the photos and place the photos on the expected background and with this process, the first and foremost purpose is to make the clients attracted to the product of which photos you included in your webpage. Besides it, clipping path is such an urgent area that always be required to you when you would like to make editing on your photos.&nbsp;So we may say the good demandable aspect of area for Photoshop photo editing is the background</p><p>Removal from photos or photo clipping path.</p><p>&nbsp;</p><p>Clipping area on the photos</p><p>it is a good question from which area of photos you may need to select a path for clipping background. Most of the inexperienced designers have not the quality to understand selecting the clipping area because it becomes very difficult for them and for this reason, they clip the necessary area sometimes when they have no idea about it. So it needs to select to you the perfect selection for clipping area you need for you or for your clients.</p><p>&nbsp;</p><p><strong>World clipping website increasing</strong></p><p>For recent hours in the world, the websites on clipping service providers are increasing in a rapid way commonly from the Indian country as it becomes the favorite source of outsourcing. So the clients of the clipping service are in a dilemma because they have more studios of clipping provider companies that may serve them in a low payment. But by the way of time going, it very needs to know that some of them clipping providers are not expert to clip your images so they do not bring the best quality to your images and for such clue you do not use the photos to your expected place.</p><p>&nbsp;</p><p><strong>Clipping website to outsource and pricing&nbsp;</strong>&nbsp;</p><p>As the people now take outsourcing photo editing area as more favorable so the good part of image editing, clipping path and other like as Photoshop masking, photo retouch, color change or correction, old photo correction is the mandatory way for some company like as Designer Country. Here the first price for a simple clipping path is $0.29 then $0.55 and then $1.00 so the demand of the outsourcing clipping path is not costly than the area of the direct designers for Developed country, and in this way basically about every one of the photographers tries to take the working editing for clipping in an outsourcing way.</p><p>&nbsp;</p><p>In eCommerce business over 21st century, the furniture online selling showroom needs the furniture images unmatched background removed from it picture because then the images make themselves perfect to their online buyers besides the online seller make to achieve a good profit from the buyers,</p><p>Here a sample of Furniture Without background Changes that originally fail to you to see its other perfection features that the buyers check to buy the furniture online. So obviously the existing background needs to be changed and urgent needs to make the establishment a photo matched background.</p><p>Clipping Path, Photo Retouching, Hair Masking, Image Color Correction, Image shadow Service?</p><p>&nbsp;</p><p><strong>Without Clipping Path Service Sample- 01</strong></p><p>Hope you make yourself understand that the previous images with a useless background are not suitable for your online furniture shop, so may you try to perfectly Photoshop online editing to change the background. Here I have attached this furniture with Photoshop background editing for Photo background removal and attached a perfect background, and you are requested to see it</p><p>&nbsp;</p><p>Clipping Path, Photo Retouching, Hair Masking, Image Color Correction, Image shadow Service?</p><p>&nbsp;</p><p><strong>With Clipping Path Service Sample- 01</strong></p><p>Here I obviously think you know clearly why you need to remove your furniture background remove and change. And here you need to concern that Designer Country a Photoshop specialist photo editing online Bangladesh based company that able to serve you in what process you would like to change the photo background of your furniture besides you will be happy that you take the first three images free background removal and the if you choose our service you may knock us, The service price starts from $0.25 that is really low for you but we need to inform you again that as the price low but service quality is better. In the event that you feel intrigued, you can judge our general photograph retouch editing quality by taking Free Trial&nbsp;2 pictures. </p><p>&nbsp;</p><p>We additionally supply different photograph editing outsourcing administrative like Photoshop clipping path,&nbsp;Photoshop clipping mask, Photo color correction, Photo manipulation, Photoshop digital photo retouching, Photo old restoration, photo enhancement, Photoshop mask, Photo background removal, and other Photoshop services.</p>', 1, '2021-02-26 18:59:00', '/storage/wink/images/bY7EtyHoTZzxltaROagitdAC9MfeCXo9Yc10RNmu.png', 'Clipping Path Website In Outsourcing For India', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-26 13:00:09', '2021-02-26 13:04:47', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0), ('fc6c2579-6f9f-499f-a4d5-0bca9f35cc14', 'photoshop-image-background-cut-out-way', 'Photoshop Image Background Cut Out Way', 'Photoshop Image Background Cut Out Way', '<p>Photoshop Image Background Cut Out or Online Photoshop Clipping Path Service for the present time is one of the well-known online outsourcing-based pictures editing administrations service in this computerized world. It is otherwise called the Background Removal Photoshop service. Essentially, Image Background cut out is the way toward expelling the foundation of image background drawing a line around the question of the image by Photoshop and excluding the external region. A Photoshop cut-out layer can be connected in both sharp and delicate edges. The selection path is vital at the primary spot in the event that you need to expel the foundation or concealing, multi-way, neck joint, modifying, and drop shadow with natural shadow effect. To be completely forthright, Adobe Photoshop is the best and updated programming to do consummate Photoshop cut-out path benefit. Our Photoshop Clipping Path online specialists can draw in all ways physically utilizing just the Photoshop pen tool. In the wake of drawing with Photoshop pen tool, the protest made in the way stays in place while those show up outside the way gets eradicated giving fine edges of your photograph picture. Section Path Experts covers straightforward Photoshop cut-out way, compound cut-out way, medium cut-out way, complex cut-out way, and super complex cut-out way. Our section way benefit organization is working with the world\'s well-known media, design houses, printing media, web-based business offices, proficient picture takers, and other innovative organizations.</p><p>&nbsp;</p><p>Sorts of Photoshop Clipping Path</p><p>We have characterized our cut-out way benefits into 5 classifications that depend on item photographs, multifaceted nature, or target items. We are additionally giving Layer veiling, Alpha channel implanted, straightforward concealing, and so on as your prerequisite.</p><p>&nbsp;</p><p><strong>Straightforward Photoshop Clipping Path</strong></p><p>&nbsp;</p><p><strong>Compound Photoshop Clipping Path</strong></p><p>&nbsp;</p><p><strong>Medium Photoshop Clipping Path</strong></p><p>&nbsp;</p><p><strong>Complex Photoshop Clipping Path</strong></p><p>&nbsp;</p><p><strong>Super Complex Photoshop Clipping Path</strong></p><p>&nbsp;</p><p><strong>Straightforward Photoshop Clipping Path</strong></p><p>&nbsp;</p><p>Straightforward Photoshop cut-out or Clipping Pathway is by and large connected in straight or rectangular item with no gap or a base number of openings. In the event that you need to evacuate the foundation of a wine glass picture, simply apply a cut-out veil around the wine glass picture. Thus, you will get the whole foundation expelled from the picture keeping the protest consistent.</p><p>&nbsp;</p><p><strong>Compound Clipping Path</strong></p><p>Compound section way or Photoshop background cut out is connected generally in the items which have few bends and a couple of openings. To expel the foundation of a compound picture like a sack, you have to make a section cover and fill every one of the gaps or circles by cut-out way. Subsequently, the question will keep consistent and the whole foundation will be expelled.</p><p>&nbsp;</p><p><strong>Medium Clipping Path</strong></p><p>Medium section way or Photoshop clipping Path incorporates different openings and various bends. It is for the most part harder than the compound cut-out way. On the off chance that you need to expel the foundation of a medium picture like a hoop with numerous gaps, you have to apply many stays focuses. Make a cut-out veil including the grapple focuses around the stud. At that point, you need to make your way to the openings. For numerous gaps, make different ways on the openings. That is the manner by which you will get the whole foundation expelled. </p><p>&nbsp;</p><p><strong>Complex Clipping Path</strong></p><p>Complex Photoshop Clipping or section way benefit is connected in the items which are point by point and not all that strong. For instance, a neckless is a perplexing item product. A high number of stay focuses are utilized as a part of a neckless. Cause, necklaces typically stay long and having a substantial number of openings. Our mind-boggling cutting way benefit causes you to expel the foundation of any sort of complex item. It is additionally connected to different items, for example, chains, furniture, arm ornaments, gems, and so on.</p><p>&nbsp;</p><p><strong>Super Complex Photoshop Clipping Path</strong></p><p>Super perplexing Photoshop section way is generally connected on goliath items with twofold gaps. It is utilized as a part of various sorts of convoluted outlines like fences, crisscrosses, cross-plans, and so forth. It is connected in different items like chains, nets, cycles, dolls, and so forth. Assume you need to evacuate the foundation of a cycle. You need to include many stays focuses and top off every one of the gaps of the cycle.</p><p>&nbsp;</p><p><strong>Why you pick us for the Online Photoshop background cut out</strong></p><p>We Designer Country gives quality-based online Photoshop picture editing administrations. DC is the best place to get the best Photoshop cutting way benefit. We concentrate on quality work and consumer loyalty. We give all sorts of picture Photoshop altering editing administrations service providers physically. The accompanying key focuses will help you to get the right choice. On the off chance that you need additional important data about our working procedure. Here some are included-</p><p>&nbsp;</p><p>&nbsp;</p><p><strong>Astounding Work</strong></p><p>100% Satisfaction Guarantee, Brisk Turnaround Delivery, Boundless Review, Minimal effort, Unconditional promise </p><p>&nbsp;</p><p>With the part of innovative illustrations outline, there is plenitude Originator Company are working for Photoshop Clipping Path benefit. Without this Photoshop Clipping Path benefit, there is no real way to making arrangements by adobe Photoshop in Design generally any sort of plan programming. From setting change to a huge plan work are subject to Photoshop Clipping Path benefit</p><p><strong>Photoshop Clipping Path</strong></p><p>Cut-out way or Photoshop Clipping Path is a vector way in wherever on the off chance that Photoshop Expert start to begin strolling from one point then they need to close it that point in addition to it is unavoidable for the Photoshop cutting way. All through utilizing the Photoshop pen tool, we could chip away at a photograph or else at times some Photoshop expert take a shot at a photo by enchantment wand device. By enchantment wand instrument while we will tap on a photograph or else picture then it would naturally choose a few parts from picture wherever it may be needed or else undesirable fragment. So we need to click until to get the anticipated part from photographs or else pictures. In the wake of getting its anticipated part, we could take a shot at this effectively.&nbsp;</p><p>Likewise, by adobe Photoshop pen device this is truly difficult to do since by the pen tool an architect Photoshop expert needs to stroll in an unmistakable point and section of a picture. With the goal that the Photoshop expert utilizing the adobe Photoshop pen tool since they continually need and additionally endeavoring to make something differing, imaginative, beautician, practical, all the more gorgeous and which are really make perfect of configuration and also their activity.</p><p>Along these lines, originator Photoshop experts are given the best Photoshop Clipping Path benefit for clients including professional photographers. A portion of the Photoshop expert&nbsp;organization is surrendered their activity inside the turnaround time. In any case, all planners of the Photoshop expert team may not fit to convey inside the era. Since not the greater part of Photoshop, expert organizations are given bounty creators who are all-around talented and perfect illustrations architect Photoshop experts. Again periodically on the off chance that we take after and differentiate them then we would see that they have not flawless and reachable Photoshop expert architects for their clients.</p><p>In any case, a few of the Photoshop expert organization still has wherever they give benefit for illustrations configuration checking all sort of Photoshop Clipping Path benefit. Like basic simple and basic cut-out way of Photoshop service, complex or shading way service, way benefit with equity, mind-boggling, magnificent complex and so forth. They give these Photoshop critical needed services by talented illustrations creator expert team whose has an extra couple of years of experience likewise a few of them has over thirty years of experience. By investigating three stages of all photographs or pictures convey their business to the clients.</p><p>To make a cutting track by Photoshop expert team, we feel and also need to draw around the local of the picture we require utilizing the Photoshop Clipping Path instrument or else assemble a course from a decision in adobe Photoshop. To grow the heading of a photo we need to utilize the Photoshop track method to the differing course assets to design compress of around the photo, and that bearing would finally go about as a conceal or example.</p><p>There are many outline specialist Photoshop expert teams in the whole world. It can outsource partnership, national or else multinational. In any case, we should remember dependably neither keep that neither all business gives the better administration Photoshop service nor all are greatness full. For revelation better quality finish work a few of Photoshop expert organization gives the free trial, someone gives one or some individual gives two. Also Designer Country gives the administration Photoshop service all day, every day. So it relies upon us how we want an outline for us or what sort of value we want. Since after convey the submitted work clients asserted that the activity did not affect what they want. Being used Most of the talented fashioner there is the imaginable approach to get most brilliant section way benefit frame a business. Designer Country&nbsp;Expected service provider at an affordable rate for Photoshop Clipping Path, Remove Image Background, Digital Retouching, Image masking, Professional color-correction, and shadow service</p>', 1, '2021-02-27 14:07:00', '/storage/wink/images/cdKGXiIwadxMe7MqvVPkX2XIVkK3polhkSB2HLaU.png', 'Photoshop Image Background Cut Out Way', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-27 08:07:17', '2021-02-27 08:14:02', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0); INSERT INTO `wink_posts` (`id`, `slug`, `title`, `excerpt`, `body`, `published`, `publish_date`, `featured_image`, `featured_image_caption`, `author_id`, `created_at`, `updated_at`, `meta`, `markdown`) VALUES ('fee14ff7-c137-4607-8a24-21ddcc7b29ef', 'footwear-clipping-path-and-photoshop-editing', 'Footwear Clipping Path and Photoshop Editing', 'Footwear Clipping Path and Photoshop Editing', '<p>In modern e-commerce update age, basically, make itself strong and as a perfect business system era as the product business short time policy whereas the shoe photo clipping path and photo editing with shadow service becoming urgent for the online footwear store, and here you will be happy because outsourcing income system makes the footwear clipping path and photo editing easy for photo background removal and Photoshop shadow creation.</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Clipping path, Remove Image background, Photoshop mask, Photoshop retouch, Color correction, natural and reflection Shadow service, and others</p><p>Sample perfect shoot of Footwear or shoe </p><p>Shoe or Footwear Clipping Path</p><p>The shoe producer company when they upload their produced shoe it lost its attractiveness as it with an unfit background and perfect shadow creation. So here it is urgent to make the creation clipping path and background change with natural shadow creation on the foot.</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Clipping path, Remove Image background, Photoshop mask, Photoshop retouch, Color correction, natural and reflection Shadow service and others sample perfect shoot of Footwear or shoe </p><p>Natural Shadow Creation on shoe Photos</p><p>Having a good looking; do you require? Then first and foremost need to you create a perfect shadow to make the images as original to the clients. Have the shadow under the shoe images, awesome it is clear to us and others that it is seen to be as perfect and original.</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>Clipping path, Remove Image background, Photoshop mask, Photoshop retouch, Color correction, natural and reflection Shadow service and others sample perfect shoot of Footwear or shoe </p><p>&nbsp;</p><p>Designer Country in Clipping Path &amp; Shadow Creation</p><p>As an outsourcing Photoshop photo editing company, Designer Country has a real history as a new growing company with clipping path experience and photo shadow creation for shoe or footwear, we are capable to create a clipping path and shadow creation on about 5000 images or more that. Quality and Perfection are always high as the cost of clipping path and shadow creation in your affordable pricing. You may try with us for two or three image free trail.</p><p>Clipping path, Remove Image background, Photoshop retouch, natural &amp; reflection Shadow?</p><p>&nbsp;</p><p>Experienced and professional Photography must have a fundamental impact on your image-looking correspondences, also must be easy going and benevolent, preservationist and corporate, or smooth and cleaned. Working with an imaginative executive who sees how you need your organization identity to be seen, you must have the capacity to choose the correct professional photographer and make that temperament for your expected clients with symbolism.</p><p>&nbsp;</p><p>Tragically, when different organizations make or revive their modern product image, they try to frequently neglect the significance of photography. This is really an enormous oversight. In the event that a financial plan is not dispensed for advertising professional photographs and a legitimate arrangement is not set up, your intended and expected interest group can neglect your battle and the estimation of your venture will have been. Your general product&nbsp;image value</p><p>could decrease also.</p><p>Numerous partners caught off guard by the expenses of custom advertising photographs, swing to stock. In the mechanical segment, when administrations and different items of the product are so exceedingly specific and specialized, professional stock photography is not really a practical alternative. While there are some professional decent stock photograph benefits of editing service out there, professional stock photography is definitely broad and must never have the capacity or ability to pass on your particular professional product image organization account and also a custom photoshoot. Associations, both vast and little, that abstain from putting resources into proficient showcasing and advertising professional photographs risk appearing to be nonspecific and in this way being ignored by their clients.</p><p>Set out to Be Sexy</p><p>Most industrials will not know this, but rather professional product mechanical photography—meaning modern organization product items, offices, framework, feeling, and its representatives, particularly those chipping away at the shop floor, can make for the absolute most captivating and staggering professional showcasing photographs.</p><p>For a layman, seeing the symbolism of a mechanical office resembles venturing into a different universe loaded with apparatus and procedures, instruments, and power. In case I am influencing it to sound sentimental, that is on account of it is or can be when shot with the correct lighting, arrangement, and differentiation. Simply take a gander at the professional excellent photography that originates from major industrials, for example, GE, Caterpillar, and 3M.</p><p>Professional mechanical photography can be contrasted with sports professional photography in its verse and account esteem. It truly has the ability to connect with and allure watchers to plunge further and be interested.</p><p>A Few Pointers for Getting Your Photo Shoot Right</p><p>Accepting I have persuaded you to go ahead with a commercial custom photograph shoot for your next modern site or showcasing effort, here are a couple of pointers to enable you to succeed.</p><p>&nbsp;</p><p>Begin fabricating a motivation envelope or state of mind board</p><p>Start taking a gander at the diverse sorts of showcasing and advertising photographs out there and see what you are pulled into. Get from everything, including magazines and way of life brands, instead of simply constraining yourself to your rivals. Utilize your impulses, yet measure your picks against the perspectives of partners and how clients as of now see your image. Demonstrate a portion of the pictures to your clients and get their supposition on whether you fit that form.</p><p>&nbsp;</p><p>Make a style control, not really a shot rundown</p><p>Having a style guide or playbook to direct the formation of your showcasing and commercial photographs will enable you and your group to remain engaged and predictable. While a shot rundown can once in a while be excessively organized, wide rules can give parameters while permitting to adaptability and immediacy. Help paint the correct picture by drawing in with inquiries, for example,</p><p>&nbsp;</p><p><strong><em>01.&nbsp;&nbsp;What sorts of substance ought to be in the photographs? Items product? Way of life? Process Client relations?</em></strong></p><p><strong><em>02.&nbsp;&nbsp;What sort of story ought your photographs tell?</em></strong></p><p><strong><em>03.&nbsp;&nbsp;What state of mind would it be advisable for them to pass on? In what manner should your gathering of people feel?</em></strong></p><p><strong><em>04.&nbsp;&nbsp;What sorts of utilizations will the photographs be required for? Are there various applications?</em></strong></p><p><strong><em>05.&nbsp;&nbsp;Are there any brand mandatory that ought to be seen in the advertising photographs?</em></strong></p><p>&nbsp;</p><p><em>Ensure the photos recount a significant story</em></p><p>Your photography ought to be something beyond filler. It should recount your image story and enable clients to get to the account related to your product item or administration. Be persevering and forceful in ensuring every one of the pictures fit your image story, else they should wind up on the cutting room floor.</p><p>At the point when you will be advertising photographs that are proficient, custom, and reliable, they will extend client engagement, make an incentive according to your clients, and assemble a brand establishment that can be gotten to over various channels and applications. While numerous modern organizations still experience issues getting a handle on showcasing and advertising exercises that can not&nbsp;be straightforwardly adapted, extraordinary promoting photographs are a venture that pays for itself ten times when finished with care and exactness.</p>', 1, '2021-02-26 19:27:00', '/storage/wink/images/VDbouHXQ9XQykM4fKjrRgFtSNSbvbIh4U8mndYQu.png', 'Footwear Clipping Path and Photoshop Editing', '71b558fb-a109-4bad-bd04-607d010a2a7a', '2021-02-26 13:27:35', '2021-02-26 13:31:12', '{\"meta_description\":null,\"opengraph_title\":null,\"opengraph_description\":null,\"opengraph_image\":null,\"opengraph_image_width\":null,\"opengraph_image_height\":null,\"twitter_title\":null,\"twitter_description\":null,\"twitter_image\":null}', 0); -- -------------------------------------------------------- -- -- Table structure for table `wink_posts_tags` -- CREATE TABLE `wink_posts_tags` ( `post_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, `tag_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `wink_tags` -- CREATE TABLE `wink_tags` ( `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `meta` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `contact_us` -- ALTER TABLE `contact_us` ADD PRIMARY KEY (`id`); -- -- Indexes for table `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`); -- -- Indexes for table `free_trials` -- ALTER TABLE `free_trials` ADD PRIMARY KEY (`id`); -- -- Indexes for table `get_quotes` -- ALTER TABLE `get_quotes` ADD PRIMARY KEY (`id`); -- -- Indexes for table `jobs` -- ALTER TABLE `jobs` ADD PRIMARY KEY (`id`), ADD KEY `jobs_queue_index` (`queue`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indexes for table `roles` -- ALTER TABLE `roles` ADD PRIMARY KEY (`id`); -- -- Indexes for table `subscribers` -- ALTER TABLE `subscribers` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- Indexes for table `wink_authors` -- ALTER TABLE `wink_authors` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `wink_authors_slug_unique` (`slug`), ADD UNIQUE KEY `wink_authors_email_unique` (`email`); -- -- Indexes for table `wink_pages` -- ALTER TABLE `wink_pages` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `wink_pages_slug_unique` (`slug`); -- -- Indexes for table `wink_posts` -- ALTER TABLE `wink_posts` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `wink_posts_slug_unique` (`slug`), ADD KEY `wink_posts_author_id_index` (`author_id`); -- -- Indexes for table `wink_posts_tags` -- ALTER TABLE `wink_posts_tags` ADD UNIQUE KEY `wink_posts_tags_post_id_tag_id_unique` (`post_id`,`tag_id`); -- -- Indexes for table `wink_tags` -- ALTER TABLE `wink_tags` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `wink_tags_slug_unique` (`slug`), ADD KEY `wink_tags_created_at_index` (`created_at`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `contact_us` -- ALTER TABLE `contact_us` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `failed_jobs` -- ALTER TABLE `failed_jobs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `free_trials` -- ALTER TABLE `free_trials` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `get_quotes` -- ALTER TABLE `get_quotes` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `jobs` -- ALTER TABLE `jobs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `roles` -- ALTER TABLE `roles` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `subscribers` -- ALTER TABLE `subscribers` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE DATABASE stums; USE stums; CREATE TABLE student ( stuId VARCHAR(15) KEY NOT NULL, stuName VARCHAR(30) NOT NULL, stuSex ENUM ('男','女') NOT NULL, stuAge char(7) NOT NULL, major VARCHAR(30) NOT NULL, minor VARCHAR(30), politicsStatus VARCHAR(30), stuAddress VARCHAR(50), enterTime VARCHAR(30) NOT NULL, deptId VARCHAR(15) NOT NULL, dormId VARCHAR(15) NOT NULL, classId VARCHAR(15) NOT NULL ); CREATE TABLE teacher ( tId VARCHAR(15) KEY NOT NULL, tName VARCHAR(30) NOT NULL, tel VARCHAR(50), position VARCHAR(50) NOT NULL ); CREATE TABLE course ( courId VARCHAR(15) KEY NOT NULL, courName VARCHAR(30) NOT NULL, courType VARCHAR(30), credit CHAR(7) NOT NULL, totalGrade CHAR(7) ); CREATE TABLE dormitory ( dormId CHAR(7) KEY NOT NULL, dormAddress VARCHAR(50), accessNum CHAR(7), hasNum CHAR(7) ); CREATE TABLE department ( departId VARCHAR(15) KEY NOT NULL, departName VARCHAR(50), departHead VARCHAR(50) NOT NULL ); CREATE TABLE class ( classId VARCHAR(15) KEY NOT NULL, className VARCHAR(50) NOT NULL, num VARCHAR(9) ); CREATE TABLE sc ( stuId VARCHAR(15) NOT NULL, courId VARCHAR(30) NOT NULL, getGredit CHAR(7) NOT NULL, getGarde CHAR(7) NOT NULL ); CREATE TABLE userlist ( username VARCHAR(15) KEY NOT NULL, password VARCHAR(30) DEFAULT '<PASSWORD>' NOT NULL, authority ENUM ('admin', 'teacher', 'student') NOT NULL ); INSERT INTO userlist VALUES ('admin', 'admin', 'admin');
<filename>sql/changes.sql<gh_stars>0 ALTER TABLE hideout.m_link_categories ADD COULMN m_user_id INT(3) NOT NULL COMMENT 'ユーザID'; ALTER TABLE hideout.m_link_categories ADD CONSTRAINT m_user_id FOREIGN KEY (m_user_id) REFERENCES m_users(m_user_id) ON DELETE CASCADE ON UPDATE CASCADE; #ALTER TABLE hideout.m_links ADD COULMN m_user_id INT(3) NOT NULL COMMENT 'ユーザID'; ALTER TABLE hideout.m_links ADD CONSTRAINT m_user_id FOREIGN KEY (m_user_id) REFERENCES m_users(m_user_id) ON DELETE CASCADE ON UPDATE CASCADE; CREATE TABLE IF NOT EXISTS hideout.m_languages ( m_language_id TINYINT(2) NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT '言語ID', m_user_id INT(3) NOT NULL COMMENT 'ユーザID', m_language_name VARCHAR(50) NOT NULL COMMENT '名称' ) engine=InnoDB COMMENT='言語'; #ALTER TABLE hideout.m_languages ADD CONSTRAINT m_user_id FOREIGN KEY (m_user_id) REFERENCES m_users(m_user_id) ON DELETE CASCADE ON UPDATE CASCADE; CREATE TABLE IF NOT EXISTS hideout.t_words ( t_word_id INT(8) NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT '単語ID', m_user_id INT(3) NOT NULL COMMENT 'ユーザID', m_language_id TINYINT(2) NOT NULL COMMENT '言語ID', t_word_spell VARCHAR(50) NOT NULL COMMENT '綴り', t_word_explanation VARCHAR(1000) NOT NULL COMMENT '説明', t_word_pronunciation VARCHAR(50) NOT NULL DEFAULT '' COMMENT '発音', t_word_is_learned TINYINT(1) NOT NULL DEFAULT 0 COMMENT '習得済みフラグ 0: 未習得、1:習得済み', t_word_note VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '備考', t_word_created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '登録日' ) engine=InnoDB COMMENT='単語'; CREATE TABLE IF NOT EXISTS hideout.m_account_titles ( m_account_title_id INT(4) NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT '勘定科目ID', m_user_id INT(3) NOT NULL COMMENT 'ユーザID', m_account_title_name VARCHAR(20) NOT NULL COMMENT '勘定科目', m_account_title_classification_type TINYINT(1) NOT NULL COMMENT '勘定科目分類区分 1: 資産, 2: 負債, 3: 資本, 4:費用, 5:収益' ) engine=InnoDB COMMENT='勘定科目'; CREATE TABLE IF NOT EXISTS hideout.t_journal_entries ( t_journal_entry_id INT(8) NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT '仕訳ID', m_user_id INT(3) NOT NULL COMMENT 'ユーザID', m_account_title_id INT(4) NOT NULL DEFAULT 0 COMMENT '勘定科目ID 0:未確定', t_journal_entry_transaction_date DATETIME NOT NULL COMMENT '取引日付', t_journal_entry_note VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '備考', t_journal_entry_created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '登録日' ) engine=InnoDB COMMENT='仕訳';
<filename>public/upload/termos/mbls.sql -- phpMyAdmin SQL Dump -- version 3.4.11.1deb2+deb7u1 -- http://www.phpmyadmin.net -- -- Servidor: localhost -- Tempo de Geração: 13/12/2015 às 16:49:48 -- Versão do Servidor: 5.5.38 -- Versão do PHP: 5.5.30-1~dotdeb+7.1 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 */; -- -- Banco de Dados: `teugestor` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `mbls` -- CREATE TABLE IF NOT EXISTS `mbls` ( `id` int(11) NOT NULL, `nMbl` varchar(20) COLLATE utf8_unicode_ci NOT NULL, `navioPrimeiraPerna` varchar(35) COLLATE utf8_unicode_ci NOT NULL, `navio` varchar(35) COLLATE utf8_unicode_ci NOT NULL, `viagem` varchar(10) COLLATE utf8_unicode_ci NOT NULL, `POR` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `POL` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `POD` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `portoTransbordo` varchar(35) COLLATE utf8_unicode_ci NOT NULL, `tipo` varchar(5) COLLATE utf8_unicode_ci NOT NULL, `ceMbl` varchar(20) COLLATE utf8_unicode_ci NOT NULL, `dataRegCeMbl` date NOT NULL, `ETA` date NOT NULL, `dataAtracMbl` date NOT NULL, `dataDesatracMbl` date NOT NULL, `dataDesbloqueioMbl` date NOT NULL, `freeTimeArmador` int(11) NOT NULL, `CnpjCneeMbl` varchar(20) COLLATE utf8_unicode_ci NOT NULL, `vlrFrete` decimal(6,2) NOT NULL, `vlrTHC` decimal(6,2) NOT NULL, `moedaFrete` varchar(15) COLLATE utf8_unicode_ci NOT NULL, `armador` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`nMbl`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Extraindo dados da tabela `mbls` -- INSERT INTO `mbls` (`id`, `nMbl`, `navioPrimeiraPerna`, `navio`, `viagem`, `POR`, `POL`, `POD`, `portoTransbordo`, `tipo`, `ceMbl`, `dataRegCeMbl`, `ETA`, `dataAtracMbl`, `dataDesatracMbl`, `dataDesbloqueioMbl`, `freeTimeArmador`, `CnpjCneeMbl`, `vlrFrete`, `vlrTHC`, `moedaFrete`, `armador`, `created_at`, `updated_at`) VALUES (250, '566918326', '', 'MAERSK LIMA', '1507', 'BILBAO', 'ALGECIRAS', 'RIO GRANDE', 'RIO GRANDE', 'HH', '211505123245832', '2015-06-09', '2015-06-25', '2015-06-25', '2015-06-26', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'SAFMARINE-SOUTH AFRICAN M', '2015-06-09 14:15:01', '0000-00-00 00:00:00'), (267, '567033505', '', '<NAME>', '1507', 'BILBAO', 'ALGECIRAS', '<NAME>', '<NAME>', 'HH', '211505133362831', '2015-06-22', '2015-07-09', '2015-07-09', '2015-07-10', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'SAFMARINE-SOUTH AFRICAN M', '2015-06-22 18:15:01', '0000-00-00 00:00:00'), (263, '567092694', '', '<NAME>', '1507', 'VALENCIA', 'ALGECIRAS', 'ITAJAI', 'ITAJAI', 'HH', '181505140160534', '2015-06-30', '2015-07-09', '2015-07-09', '2015-07-09', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', '<NAME>', '2015-06-30 18:15:01', '0000-00-00 00:00:00'), (264, '567092706', '', '<NAME>', '1507', 'VALENCIA', 'ALGECIRAS', 'ITAJAI', 'ITAJAI', 'HH', '181505140159102', '2015-06-30', '2015-07-09', '2015-07-09', '2015-07-09', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MAERSK LINE', '2015-06-30 18:15:01', '0000-00-00 00:00:00'), (272, '567149676', '', 'MAERSK LABREA', '1507', 'VALENCIA', 'ALGECIRAS', 'ITAJAI', 'ITAJAI', 'HH', '181505144628948', '2015-07-06', '2015-07-16', '2015-07-17', '2015-07-16', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MAERSK LINE', '2015-07-06 18:15:02', '0000-00-00 00:00:00'), (289, '567188546', '', 'MAERSK LEON', '1509', 'BARCELONA', 'ALGECIRAS', 'ITAJAI', 'ITAJAI', 'HH', '181505155798254', '2015-07-21', '2015-07-30', '2015-07-31', '2015-07-30', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'SAFMARINE-SOUTH AFRICAN M', '2015-07-21 17:15:01', '0000-00-00 00:00:00'), (298, '567398233', '', '<NAME>', '1509', 'VALENCIA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'HH', '161505171738380', '2015-08-10', '2015-08-19', '2015-08-19', '2015-08-20', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MAERSK LINE', '2015-08-10 20:15:01', '0000-00-00 00:00:00'), (192, '587705701', '', 'SAN CLEMENTE', '508W', 'WUHU', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505061161614', '2015-03-19', '2015-03-29', '2015-03-29', '2015-03-29', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MAERSK LINE', '2015-03-19 15:15:01', '0000-00-00 00:00:00'), (1535, '768194211', '', 'MAERSK LEON', '1513', 'BARCELONA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'HH', '161505244093294', '2015-11-11', '2015-11-19', '2015-11-22', '2015-11-18', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'SAFMARINE-SOUTH AFRICAN M', '2015-11-11 20:15:01', '0000-00-00 00:00:00'), (1455, '952607583', '', 'MSC ANCHORAGE', '1501', 'GENOVA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'PH', '161505001499473', '2015-01-05', '2015-01-15', '2015-01-15', '2015-01-16', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MAERSK LINE', '2015-01-05 17:15:01', '0000-00-00 00:00:00'), (279, '954036769', '', 'MAERSK LINS', '1509', 'GENOVA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'PH', '161505149875671', '2015-07-13', '2015-07-22', '2015-07-22', '2015-07-23', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MAERSK LINE', '2015-07-13 19:15:01', '0000-00-00 00:00:00'), (1506, '954197368', '', '<NAME>', '529A', 'YANTIAN', 'YANTIAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505169033609', '2015-08-06', '2015-08-17', '2015-08-18', '2015-08-18', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'MAERSK LINE', '2015-08-06 17:15:01', '0000-00-00 00:00:00'), (316, '954404559', '', 'MAERSK LABREA', '1509', 'VALENCIA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'HH', '161505189856660', '2015-09-01', '2015-09-09', '2015-09-09', '2015-09-09', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MAERSK LINE', '2015-09-01 18:15:01', '0000-00-00 00:00:00'), (363, '955048851', '', '<NAME>', '1513', 'VALENCIA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'HH', '161505252158626', '2015-11-23', '2015-12-02', '2015-12-02', '2015-12-02', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MAERSK LINE', '2015-11-23 16:15:01', '0000-00-00 00:00:00'), (1398, 'ANRM240018167RSD', '', 'CAP INES', '057S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'ITAPOA', 'HH', '161405105166757', '2014-05-22', '2014-06-02', '2014-06-06', '2014-06-06', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-05-22 15:00:01', '0000-00-00 00:00:00'), (1402, 'ANRM240018330MYU', '', '<NAME>', '057S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405114720940', '2014-06-04', '2014-06-20', '2014-06-20', '2014-06-20', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-06-04 18:00:04', '0000-00-00 00:00:00'), (1407, 'ANRM240018435N23', '', 'MONTE CERVANTES(EX-P&O NEDLLOYD SAL', '056S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405120175443', '2014-06-11', '2014-06-27', '2014-06-27', '2014-06-27', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-06-11 15:00:01', '0000-00-00 00:00:00'), (1413, 'ANRM240018514PAK', '', 'CAP CORTES', '008S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'ITAPOA', 'HH', '161405126031842', '2014-06-18', '2014-06-29', '2014-07-03', '2014-07-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-06-18 20:00:01', '0000-00-00 00:00:00'), (1414, 'ANRM24001861684P', '', 'HS BEETHOVEN', '003S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405129823634', '2014-06-25', '2014-07-10', '2014-07-10', '2014-07-10', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-06-25 14:00:02', '0000-00-00 00:00:00'), (1416, 'ANRM2400186893AX', '', 'MONTE AZUL', '057S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405135758342', '2014-07-02', '2014-07-17', '2014-07-17', '2014-07-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-07-02 20:00:08', '0000-00-00 00:00:00'), (1374, 'ANRM240037068004', '', 'CAP GREGORY', '066S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'ITAPOA', 'HH', '161405043610705', '2014-02-28', '2014-03-10', '2014-03-21', '2014-03-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-02-28 17:00:01', '0000-00-00 00:00:00'), (1379, 'ANRM240037326AJN', '', 'HS BEETHOVEN', '001S', 'HOUSTON', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405057086426', '2014-03-19', '2014-04-04', '2014-04-04', '2014-04-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-03-19 19:00:01', '0000-00-00 00:00:00'), (1386, 'ANRM2400373916T8', '', 'CAP DOMINGO', '105S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405073005435', '2014-04-09', '2014-04-23', '2014-04-24', '2014-04-24', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-04-09 13:00:02', '0000-00-00 00:00:00'), (1380, 'ANRM240037525YA8', '', 'CAP HATTERAS', '007S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'IMBITUBA', 'HH', '161405062638229', '2014-03-26', '2014-04-06', '2014-04-10', '2014-04-11', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-03-26 19:00:01', '0000-00-00 00:00:00'), (1388, 'ANRM240037710XSN', '', '<NAME>', '056S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405079420736', '2014-04-16', '2014-05-01', '2014-05-01', '2014-05-02', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-04-16 18:00:02', '0000-00-00 00:00:00'), (1394, 'ANRM240037992K2E', '', 'HS BEETHOVEN', '002S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405093801962', '2014-05-07', '2014-05-23', '2014-05-23', '2014-05-23', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-05-07 14:00:01', '0000-00-00 00:00:00'), (1396, 'ANRM2400380766HM', '', 'MONTE AZUL', '056S', 'HOUSTON', 'HOUSTON', 'PARANAGUA', 'PARANAGUA', 'HH', '161405099305606', '2014-05-14', '2014-05-29', '2014-05-29', '2014-05-30', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-05-14 17:00:02', '0000-00-00 00:00:00'), (1525, 'ANRM250015421XWE', '', 'MONTE AZUL', '067S', 'PORT EVERGLADES', 'PORT EVERGLADES', 'ITAPOA', 'ITAPOA', 'HH', '171505200149488', '2015-09-15', '2015-10-01', '2015-10-02', '2015-10-01', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2015-09-15 21:15:01', '0000-00-00 00:00:00'), (1310, 'ANRMA3ALEAE0774X', '', 'SANTA ROSA', '', 'COPENHAGEN', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', '', '161305148249191', '0000-00-00', '2013-08-04', '2013-08-04', '2013-08-05', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-07-24 14:02:17', '0000-00-00 00:00:00'), (1328, 'ANRMN34670160027', '', 'CSCL EUROPE', '', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', '', '161305214547817', '0000-00-00', '2013-10-22', '2013-10-22', '2013-10-23', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-11 20:03:14', '0000-00-00 00:00:00'), (1343, 'ANRMN34670391071', '', 'CAP SAN LORENZO', '', 'SHANGHAI (SHAN HAI)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305246950200', '0000-00-00', '2013-12-02', '2013-12-02', '2013-12-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-22 14:02:51', '0000-00-00 00:00:00'), (1360, 'ANRMN34670726002', '', 'MOL LOIRE', '706W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161305272605476', '2013-12-26', '2014-01-13', '2014-01-13', '2014-01-14', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2013-12-26 13:02:01', '0000-00-00 00:00:00'), (1314, 'ANRMN34679604024', '', 'CSCL EUROPE', '', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', '', '161305153599421', '0000-00-00', '2013-08-13', '2013-08-13', '2013-08-13', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-07-30 20:02:24', '0000-00-00 00:00:00'), (1319, 'ANRMN34679844081', '', 'MEHUIN', '', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', '', '161305183288947', '0000-00-00', '2013-09-18', '2013-09-18', '2013-09-19', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-09-04 19:02:55', '0000-00-00 00:00:00'), (1423, 'ANRMN44672531U68', '', 'MOL GUARDIAN', '711W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405154802378', '2014-07-25', '2014-08-09', '2014-08-09', '2014-08-10', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-07-25 17:00:01', '0000-00-00 00:00:00'), (1428, 'ANRMN44672746WU6', '', 'MOL GRANDEUR', '913W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405164800440', '2014-08-07', '2014-08-18', '2014-08-19', '2014-08-19', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-08-07 13:10:01', '0000-00-00 00:00:00'), (1442, 'ANRMN446736371PR', '', 'CAP SAN TAINARO', '443W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405254289044', '2014-11-19', '2014-11-30', '2014-11-30', '2014-11-30', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-11-19 17:15:01', '0000-00-00 00:00:00'), (1376, 'ANRMN45151373417', '', 'CAP SAN NICOLAS', '408W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405056624726', '2014-03-19', '2014-03-31', '2014-03-31', '2014-04-01', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-03-19 14:00:02', '0000-00-00 00:00:00'), (1403, 'ANRMN45152044742', '', 'HYUNDAI PREMIUM', '014E', 'NINGBO (NINGPO)', 'BUENOS AIRES', 'PARANAGUA', 'PARANAGUA', 'HH', '161405107378921', '2014-06-16', '2014-06-19', '2014-06-19', '2014-06-20', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-05-26 14:00:01', '0000-00-00 00:00:00'), (1430, 'ANRMN45152610070', '', 'MSC MAUREEN', '427W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'SANTOS', 'HH', '161405156901268', '2014-07-29', '2014-08-06', '2014-08-25', '2014-08-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-07-29 13:10:01', '0000-00-00 00:00:00'), (1453, 'ANRMN45154123605', '', 'CSCL OCEANIA', '449W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405286618477', '2014-12-30', '2015-01-11', '2015-01-10', '2015-01-11', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-12-30 12:15:01', '0000-00-00 00:00:00'), (1454, 'ANRMN45154123625', '', 'CSCL OCEANIA', '449W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405286618558', '2014-12-30', '2015-01-11', '2015-01-10', '2015-01-11', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-12-30 12:15:01', '0000-00-00 00:00:00'), (1460, 'ANRMN45154192763', '', 'SAN FELIPE', '451W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505009598764', '2015-01-15', '2015-01-25', '2015-01-25', '2015-01-25', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2015-01-15 16:15:01', '0000-00-00 00:00:00'), (1462, 'ANRMN45154260916', '', 'CAUTIN', '452W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505014684509', '2015-01-22', '2015-02-01', '2015-02-01', '2015-02-02', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2015-01-22 15:15:01', '0000-00-00 00:00:00'), (1466, 'ANRMN55154460173', '', 'SAN CHRISTOBAL', '503W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505032245406', '2015-02-12', '2015-02-22', '2015-02-22', '2015-02-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2015-02-12 15:15:01', '0000-00-00 00:00:00'), (1409, 'ANRMT44749211019', '', '<NAME>', '421W', 'KEELUNG (CHI LUNG)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'PH', '161405124599035', '2014-06-17', '2014-06-29', '2014-06-29', '2014-06-29', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-06-17 15:00:01', '0000-00-00 00:00:00'), (1448, 'ANRMT44749740005', '', '<NAME>', '446W', 'KAOHSIUNG', '<NAME>', 'PARANAGUA', 'PARANAGUA', 'HH', '161405269657095', '2014-12-09', '2014-12-23', '2014-12-23', '2014-12-24', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ALIANCA NAVEGACAO E LOGIS', '2014-12-09 12:15:01', '0000-00-00 00:00:00'), (1515, 'CNSZX986767', '', 'UASC TABUK', '1531W', 'CHIWAN', 'CHIWAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505188828670', '2015-08-31', '2015-09-08', '2015-09-08', '2015-09-09', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-08-31 17:15:01', '0000-00-00 00:00:00'), (223, 'COSU4507201310', '', 'MAERSK LANCO', '021S', 'NAPOLES', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'HH', '161505095740048', '2015-05-04', '2015-05-13', '2015-05-14', '2015-05-15', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-04 20:15:01', '0000-00-00 00:00:00'), (280, 'COSU4507381670', '', '<NAME>', '021S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505150845012', '2015-07-14', '2015-07-22', '2015-07-22', '2015-07-23', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-07-14 19:15:01', '0000-00-00 00:00:00'), (237, 'COSU4507381820', '', '<NAME>', '003S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505112728772', '2015-05-26', '2015-06-03', '2015-06-03', '2015-06-03', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-26 17:15:01', '0000-00-00 00:00:00'), (248, 'COSU4507396900', '', '<NAME>', '002S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505130064813', '2015-06-17', '2015-06-24', '2015-06-25', '2015-06-24', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-06-17 17:15:01', '0000-00-00 00:00:00'), (246, 'COSU4507396910', '', '<NAME>', '002S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505130064902', '2015-06-17', '2015-06-24', '2015-06-25', '2015-06-24', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-06-17 17:15:01', '0000-00-00 00:00:00'), (249, 'COSU4507396920', '', 'MAERSK LAMANAI', '002S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505130065038', '2015-06-17', '2015-06-24', '2015-06-25', '2015-06-24', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-06-17 17:15:01', '0000-00-00 00:00:00'), (247, 'COSU4507405890', '', 'MAERSK LAMANAI', '002S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505130065119', '2015-06-17', '2015-06-24', '2015-06-25', '2015-06-24', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-06-17 17:15:01', '0000-00-00 00:00:00'), (281, 'COSU4507409830', '', 'MAERSK LINS', '021S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505150844636', '2015-07-14', '2015-07-22', '2015-07-22', '2015-07-23', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-07-14 19:15:01', '0000-00-00 00:00:00'), (282, 'COSU4507411240', '', 'MAERSK LINS', '021S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505150844717', '2015-07-14', '2015-07-22', '2015-07-22', '2015-07-23', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-07-14 19:15:01', '0000-00-00 00:00:00'), (270, 'COSU4507414670', '', 'MAERSK LABREA', '004S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505146424032', '2015-07-08', '2015-07-15', '2015-07-15', '2015-07-15', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-07-08 14:15:02', '0000-00-00 00:00:00'), (160, 'COSU4507684660', '', '<NAME>', '018S', 'ANTUERPIA (AMBERES)', 'ANTUERPIA (AMBERES)', 'ITAJAI', 'ITAJAI', 'HH', '181505020205654', '2015-01-29', '2015-02-05', '2015-02-05', '2015-02-05', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-01-29 13:15:01', '0000-00-00 00:00:00'), (317, 'COSU6039062080', '', 'VALIANT', '009W', 'JIUJIANG', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505187574934', '2015-08-28', '2015-09-13', '2015-09-12', '2015-09-13', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-08-28 18:15:02', '0000-00-00 00:00:00'), (1483, 'COSU6049792550', '', 'ZIM NINGBO', '036W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505096564855', '2015-05-05', '2015-05-17', '2015-05-19', '2015-05-17', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-05 19:15:01', '0000-00-00 00:00:00'), (1484, 'COSU6089132990', '', 'VANTAGE', '007W', 'KARACHI', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505101269666', '2015-05-12', '2015-05-24', '2015-05-23', '2015-05-24', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-12 12:15:01', '0000-00-00 00:00:00'), (1485, 'COSU6094554110', '', 'VANTAGE', '007W', 'HUANGPU (WAMPOA)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505101268694', '2015-05-12', '2015-05-24', '2015-05-23', '2015-05-24', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-12 12:15:01', '0000-00-00 00:00:00'), (1486, 'COSU6097619880', '', 'VANTAGE', '007W', 'NANTONG', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505101266640', '2015-05-12', '2015-05-24', '2015-05-23', '2015-05-24', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-12 12:15:01', '0000-00-00 00:00:00'), (1480, 'COSU6100554430', '', 'COSCO GERMANY', '053W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505094547007', '2015-04-30', '2015-05-10', '2015-05-09', '2015-05-10', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-04-30 20:15:01', '0000-00-00 00:00:00'), (1477, 'COSU6102294070', '', 'VALENCE', '007W', 'FUZHOU (FU CHO ; FOOCHOW)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505089875425', '2015-04-25', '2015-05-03', '2015-05-03', '2015-05-03', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-04-25 17:15:01', '0000-00-00 00:00:00'), (1487, 'COSU6102296540', '', 'COSCO THAILAND', '038W', 'FUZHOU (FU CHO ; FOOCHOW)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505105262631', '2015-05-15', '2015-05-31', '2015-05-31', '2015-06-01', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-15 19:15:01', '0000-00-00 00:00:00'), (239, 'COSU6103921760', '', 'VALUE', '008W', 'FOSHAN', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505114056640', '2015-05-27', '2015-06-07', '2015-06-07', '2015-06-07', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-05-27 18:15:01', '0000-00-00 00:00:00'), (1473, 'COSU6110154021', '', 'VALOR', '008W', 'TSINGTAO (QINGDAO ; QUING', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505066959789', '2015-03-26', '2015-04-12', '2015-04-11', '2015-04-13', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-03-26 18:15:01', '0000-00-00 00:00:00'), (1474, 'COSU6110154022', '', 'VALOR', '008W', 'TSINGTAO (QINGDAO ; QUING', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505066959860', '2015-03-26', '2015-04-12', '2015-04-11', '2015-04-13', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'COSCO-CHINA OCEAN SHIPPIN', '2015-03-26 18:15:01', '0000-00-00 00:00:00'), (1537, 'DEBRE078156', '', 'CAP SAN RAPHAEL', '0547S', 'ANTUERPIA (AMBERES)', 'ANTUERPIA (AMBERES)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505255933523', '2015-11-27', '2015-12-05', '2015-12-05', '2015-12-06', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-11-27 17:15:02', '0000-00-00 00:00:00'), (166, 'EGLV142454450933', '', 'VALUE', '1101-007W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505019529307', '2015-01-28', '2015-02-07', '2015-02-08', '2015-02-08', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-01-28 18:15:01', '0000-00-00 00:00:00'), (164, 'EGLV142454450941', '', 'VALUE', '1101-007W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505019529480', '2015-01-28', '2015-02-07', '2015-02-08', '2015-02-08', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-01-28 18:15:01', '0000-00-00 00:00:00'), (165, 'EGLV142454450950', '', 'VALUE', '1101-007W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505019529560', '2015-01-28', '2015-02-07', '2015-02-08', '2015-02-08', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-01-28 18:15:01', '0000-00-00 00:00:00'), (211, 'EGLV142550050151', '', 'VALENCE', '1114-007W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505087673728', '2015-04-23', '2015-05-03', '2015-05-03', '2015-05-03', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-04-23 14:15:02', '0000-00-00 00:00:00'), (210, 'EGLV142550050169', '', 'VALENCE', '1114-007W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505087673809', '2015-04-23', '2015-05-03', '2015-05-03', '2015-05-03', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-04-23 14:15:02', '0000-00-00 00:00:00'), (212, 'EGLV142550050177', '', 'VALENCE', '1114-007W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505087673990', '2015-04-23', '2015-05-03', '2015-05-03', '2015-05-03', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-04-23 14:15:02', '0000-00-00 00:00:00'), (292, 'EGLV142554279446', '', 'ZIM NINGBO', '37W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505162700588', '2015-07-29', '2015-08-09', '2015-08-09', '2015-08-09', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-07-29 15:15:01', '0000-00-00 00:00:00'), (358, 'EGLV142554330042', '', 'VALUE', '1144-010W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505249116012', '2015-11-18', '2015-11-29', '2015-11-30', '2015-11-30', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-11-18 16:15:01', '0000-00-00 00:00:00'), (367, 'EGLV142554335150', '', 'VALIANT', '1145-010W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505254171808', '2015-11-25', '2015-12-06', '2015-12-06', '2015-12-06', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-11-25 19:15:01', '0000-00-00 00:00:00'), (161, 'EGLV143482288914', '', 'VALUE', '1101-007W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505019525654', '2015-01-28', '2015-02-07', '2015-02-08', '2015-02-08', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-01-28 18:15:01', '0000-00-00 00:00:00'), (162, 'EGLV143482289279', '', 'VALUE', '1101-007W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505019525735', '2015-01-28', '2015-02-07', '2015-02-08', '2015-02-08', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-01-28 18:15:01', '0000-00-00 00:00:00'), (163, 'EGLV143482289287', '', 'VALUE', '1101-007W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505019525816', '2015-01-28', '2015-02-07', '2015-02-08', '2015-02-08', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-01-28 18:15:01', '0000-00-00 00:00:00'), (171, 'EGLV143482289848', '', 'COSCO GERMANY', '052W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505024972680', '2015-02-04', '2015-02-13', '2015-02-14', '2015-02-14', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-04 13:15:01', '0000-00-00 00:00:00'), (170, 'EGLV143582260205', '', 'COSCO GERMANY', '052W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505024973813', '2015-02-04', '2015-02-13', '2015-02-14', '2015-02-14', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-04 13:15:01', '0000-00-00 00:00:00'), (175, 'EGLV143582260353', '', 'ZIM NINGBO', '35W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505029700521', '2015-02-10', '2015-02-22', '2015-02-21', '2015-02-23', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-10 16:15:01', '0000-00-00 00:00:00'), (176, 'EGLV143582260361', '', 'ZIM NINGBO', '35W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505029700602', '2015-02-10', '2015-02-22', '2015-02-21', '2015-02-23', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-10 16:15:01', '0000-00-00 00:00:00'), (177, 'EGLV143582260370', '', 'ZIM NINGBO', '35W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505029700793', '2015-02-10', '2015-02-22', '2015-02-21', '2015-02-23', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-10 16:15:01', '0000-00-00 00:00:00'), (178, 'EGLV143582260612', '', 'VANTAGE', '1105-006W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505035661311', '2015-02-18', '2015-03-01', '2015-03-01', '2015-03-01', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-18 18:15:01', '0000-00-00 00:00:00'), (181, 'EGLV143582261155', '', 'COSCO NAPOLI', '060W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505041878009', '2015-02-25', '2015-03-07', '2015-03-08', '2015-03-07', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-25 17:15:02', '0000-00-00 00:00:00'), (182, 'EGLV143582261368', '', 'COSCO NAPOLI', '060W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505041878190', '2015-02-25', '2015-03-07', '2015-03-08', '2015-03-07', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-02-25 17:15:02', '0000-00-00 00:00:00'), (359, 'EGLV143582280656', '', 'VALUE', '1144-010W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505249113188', '2015-11-18', '2015-11-29', '2015-11-30', '2015-11-30', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-11-18 16:15:01', '0000-00-00 00:00:00'), (360, 'EGLV143582281679', '', 'VALUE', '1144-010W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505249113269', '2015-11-18', '2015-11-29', '2015-11-30', '2015-11-30', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'EVERGREEN LINE', '2015-11-18 16:15:01', '0000-00-00 00:00:00'), (184, 'ESVLC121590', '', 'MSC ATHENS', '1503S', 'VALENCIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505047635183', '2015-03-03', '2015-03-12', '2015-03-13', '2015-03-13', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-03-04 12:15:01', '0000-00-00 00:00:00'), (187, 'ESVLC121648', '', '<NAME>', '1503S', 'VALENCIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505051223463', '2015-03-09', '2015-03-19', '2015-03-19', '2015-03-20', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-03-09 14:15:01', '0000-00-00 00:00:00'), (191, 'ESVLC121899', '', '<NAME>', '1507S', 'VALENCIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505056383000', '2015-03-13', '2015-03-26', '2015-03-26', '2015-03-27', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-03-13 14:15:01', '0000-00-00 00:00:00'), (230, 'ESVLC123648', '', 'MSC LORETTA', '1507S', 'VALENCIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505100352004', '2015-05-11', '2015-05-21', '2015-05-22', '2015-05-23', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-05-11 12:15:01', '0000-00-00 00:00:00'), (253, 'ESVLC124806', '', 'MSC LAURA', '1509S', 'VALENCIA', 'VALENCIA', 'ITAJAI', 'ITAJAI', 'HH', '181505124653653', '2015-06-10', '2015-06-27', '2015-06-30', '2015-06-27', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-06-10 18:15:02', '0000-00-00 00:00:00'), (252, 'ESVLC124883', '', 'MSC LAURA', '1509S', 'VALENCIA', 'VALENCIA', 'ITAJAI', 'ITAJAI', 'HH', '181505124653734', '2015-06-10', '2015-06-27', '2015-06-30', '2015-06-27', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-06-10 18:15:02', '0000-00-00 00:00:00'), (1336, 'HBG0946389', '', 'CMA CGM SAMBHAR', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305234940657', '0000-00-00', '2013-11-14', '2013-11-14', '2013-11-15', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-07 10:02:02', '0000-00-00 00:00:00'), (1339, 'HBG0948690', '', 'CSAV LLUTA', '', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', '', '161305245372202', '0000-00-00', '2013-11-30', '2013-11-30', '2013-11-30', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-21 01:02:10', '0000-00-00 00:00:00'), (1340, 'HBG0949350', '', 'CSAV LLUTA', '', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', '', '161305245371907', '0000-00-00', '2013-11-30', '2013-11-30', '2013-11-30', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-21 01:02:10', '0000-00-00 00:00:00'), (1359, 'HBG0955501', '', '<NAME>', 'EK530N', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405000025045', '2013-12-23', '2014-01-10', '2014-01-10', '2014-01-11', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'CMA-CGM SOCIÉTÉ ANONYME', '2014-01-06 21:00:01', '0000-00-00 00:00:00'), (350, 'HDMUQSBR5898234', '', 'KOTA LUMAYAN', '110W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505230577191', '2015-10-23', '2015-11-04', '2015-11-04', '2015-11-05', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HYUNDAI MERCHANT MARINE C', '2015-10-23 18:15:01', '0000-00-00 00:00:00'), (1531, 'HDMUTHBR0615599', '', 'YM EVOLUTION', '011W', '<NAME>', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505227861416', '2015-10-20', '2015-10-29', '2015-10-30', '2015-10-30', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HYUNDAI MERCHANT MARINE C', '2015-10-20 17:15:01', '0000-00-00 00:00:00'), (1373, 'HJSCHAM402192500', '', 'MAERSK LINS', '1405W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405050033556', '2014-03-11', '2014-03-20', '2014-03-20', '2014-03-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-03-11 20:00:01', '0000-00-00 00:00:00'), (1401, 'HJSCHAM407327300', '', '<NAME>', '1409W', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161405118545409', '2014-06-09', '2014-06-19', '2014-06-19', '2014-06-20', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-06-09 19:00:01', '0000-00-00 00:00:00'), (1411, 'HJSCHAM407621700', '', '<NAME>', '1409W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405127720838', '2014-06-20', '2014-07-02', '2014-07-02', '2014-07-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-06-20 23:00:02', '0000-00-00 00:00:00'), (1410, 'HJSCHAM407682700', '', '<NAME>', '1409W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405127721052', '2014-06-20', '2014-07-02', '2014-07-02', '2014-07-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-06-20 23:00:02', '0000-00-00 00:00:00'), (1417, 'HJSCHAM408253200', '', '<NAME>', '1409W', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161405142295573', '2014-07-10', '2014-07-22', '2014-07-22', '2014-07-23', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-07-10 19:00:02', '0000-00-00 00:00:00'), (1421, 'HJSCHAM408820200', '', '<NAME>', '1409W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405150271335', '2014-07-21', '2014-07-30', '2014-07-30', '2014-07-31', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-07-21 20:00:02', '0000-00-00 00:00:00'), (1425, 'HJSCHAM408839500', '', '<NAME>', '1409W', 'ANTUERPIA (AMBERES)', 'ANTUERPIA (AMBERES)', '<NAME>', '<NAME>', 'HH', '211405156892560', '2014-07-29', '2014-08-14', '2014-08-14', '2014-08-15', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-07-29 13:10:01', '0000-00-00 00:00:00'), (1429, 'HJSCHAM409215100', '', '<NAME>', '1411W', 'ANTUERPIA (AMBERES)', 'ANTUERPIA (AMBERES)', '<NAME>', '<NAME>', 'HH', '211405161554333', '2014-08-04', '2014-08-21', '2014-08-21', '2014-08-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-08-04 15:10:01', '0000-00-00 00:00:00'), (1434, 'HJSCHAM411102300', '', '<NAME>', '1411W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405191999821', '2014-09-08', '2014-09-17', '2014-09-17', '2014-09-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-09-08 20:15:01', '0000-00-00 00:00:00'), (1437, 'HJSCHAM411400400', '', 'MAERSK LEBU', '1411W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405197915638', '2014-09-15', '2014-09-24', '2014-09-24', '2014-09-25', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2014-09-15 21:15:01', '0000-00-00 00:00:00'), (1459, 'HJSCHAM416662500', '', '<NAME>', '1501W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505006314714', '2015-01-12', '2015-01-21', '2015-01-21', '2015-01-21', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2015-01-12 15:15:01', '0000-00-00 00:00:00'), (1465, 'HJSCHAM500569500', '', '<NAME>', '1503W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505029078901', '2015-02-09', '2015-02-18', '2015-02-18', '2015-02-18', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2015-02-09 20:15:01', '0000-00-00 00:00:00'), (1469, 'HJSCHAM501640300', '', '<NAME>', '1503W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505045694018', '2015-03-02', '2015-03-11', '2015-03-17', '2015-03-18', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2015-03-02 18:15:01', '0000-00-00 00:00:00'), (1479, 'HJSCHAM503945600', '', '<NAME>', '1505W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505090560467', '2015-04-27', '2015-05-06', '2015-05-06', '2015-05-06', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2015-04-27 21:15:01', '0000-00-00 00:00:00'), (1496, 'HJSCHAM507802200', '', 'MAERSK LABREA', '1507W', 'ANTUERPIA (AMBERES)', 'ANTUERPIA (AMBERES)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505145034893', '2015-07-06', '2015-07-15', '2015-07-15', '2015-07-15', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2015-07-06 21:15:01', '0000-00-00 00:00:00'), (1507, 'HJSCHAM509090300', '', '<NAME>', '1509W', 'BREMERHAVEN', 'BREMERHAVEN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505172283815', '2015-08-11', '2015-08-19', '2015-08-19', '2015-08-20', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2015-08-11 16:15:02', '0000-00-00 00:00:00'), (1493, 'HJSCSHFZ41974500', '', 'MAERSK LAGUNA', '0522W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'SANTOS', 'SANTOS', 'HH', '151505136545409', '2015-05-31', '2015-07-04', '2015-07-03', '2015-07-04', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HANJIN SHIPPING COMPANY L', '2015-06-25 15:15:01', '0000-00-00 00:00:00'), (1526, 'HLCUCA4150860221', '', 'CMA CGM NABUCCO', '037AAW', 'HUANGPU (WAMPOA)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505203433821', '2015-08-31', '2015-10-04', '2015-10-04', '2015-10-05', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-18 18:15:01', '0000-00-00 00:00:00'), (1334, 'HLCUHA5131001189', '', '<NAME>', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305229625617', '0000-00-00', '2013-11-08', '2013-11-08', '2013-11-09', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-31 14:02:54', '0000-00-00 00:00:00'), (1472, 'HLCUHA5150300984', '', 'CAP SAN MALEAS', '512S', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505065921338', '2015-03-16', '2015-04-04', '2015-04-04', '2015-04-04', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-03-25 17:59:14', '0000-00-00 00:00:00'), (1478, 'HLCUHA5150400441', '', 'CAP SAN ARTEMISSIO', '516S', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505087510772', '2015-04-14', '2015-05-02', '2015-05-02', '2015-05-03', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-04-23 13:15:01', '0000-00-00 00:00:00'), (1509, 'HLCUHA5150801056', '', 'CAP SAN LORENZO', '533S', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505179133002', '2015-08-10', '2015-08-29', '2015-08-30', '2015-08-30', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-08-19 17:15:02', '0000-00-00 00:00:00'), (1518, 'HLCUHAM150866722', '', 'CAP SAN ANTONIO', '535S', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505191623537', '2015-08-24', '2015-09-12', '2015-09-13', '2015-09-13', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-03 13:15:01', '0000-00-00 00:00:00'), (1501, 'HLCUHKG1506ASJF5', '', 'CAP SAN SOUNIO', '524W', 'CHIWAN', 'CHIWAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505146533672', '2015-07-08', '2015-07-19', '2015-07-19', '2015-07-20', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-07-08 15:15:01', '0000-00-00 00:00:00'), (1503, 'HLCUHKG1506AVBH4', '', 'SAN FELIPE', '525W', 'CHIWAN', 'CHIWAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505152137007', '2015-07-16', '2015-07-26', '2015-07-26', '2015-07-27', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-07-16 13:15:02', '0000-00-00 00:00:00'), (1510, 'HLCUNG11507AUFI0', '', 'CSAV TRANCURA', '530W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505179101070', '2015-07-24', '2015-08-30', '2015-08-30', '2015-08-31', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-08-19 16:15:01', '0000-00-00 00:00:00'), (1517, 'HLCUNG11508AUJV4', '', '<NAME>', '532W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505187449085', '2015-08-05', '2015-09-12', '2015-09-12', '2015-09-13', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-08-28 17:15:01', '0000-00-00 00:00:00'), (291, 'HLCUSHA1506ECNA2', '', 'CSAV TYNDALL', '526W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505157914613', '2015-07-23', '2015-08-02', '2015-08-03', '2015-08-03', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-07-23 13:15:02', '0000-00-00 00:00:00'), (1524, 'HLCUSHA1508KEAR8', '', 'SAN CLEMENTE', '534W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505203557202', '2015-08-26', '2015-09-29', '2015-09-29', '2015-09-30', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-18 21:15:02', '0000-00-00 00:00:00'), (1522, 'HLCUSHA1508KGFY3', '', 'SAN VICENTE', '533W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505198358898', '2015-08-19', '2015-09-22', '2015-09-21', '2015-09-22', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-11 20:15:01', '0000-00-00 00:00:00'), (1538, 'HLCUSHA1510CFPP4', '', 'TOLTEN', '544W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505250246846', '2015-10-26', '2015-12-06', '2015-12-06', '2015-12-07', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-11-19 17:15:01', '0000-00-00 00:00:00'), (1511, 'HLCUSZX1507BFII6', '', 'CAP SAN TAINARO', '530W', 'CHIWAN', 'CHIWAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505181614349', '2015-08-05', '2015-09-01', '2015-09-01', '2015-09-02', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-08-21 18:15:01', '0000-00-00 00:00:00'), (1516, 'HLCUSZX1507BHMU0', '', 'SAN FERNANDO', '532W', 'HUANGPU (WAMPOA)', 'HONG KONG', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505187193188', '2015-08-10', '2015-09-12', '2015-09-12', '2015-09-13', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-08-28 13:15:02', '0000-00-00 00:00:00'), (1527, 'HLCUSZX1508BCRR0', '', 'CMA CGM NABUCCO', '037AAW', 'YANTIAN', 'YANTIAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505204512580', '2015-08-29', '2015-10-04', '2015-10-04', '2015-10-05', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-21 18:15:01', '0000-00-00 00:00:00'), (1528, 'HLCUSZX1508BFBZ3', '', 'CAP SAN LAZARO', '535W', 'CHIWAN', 'CHIWAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505208542394', '2015-09-08', '2015-10-06', '2015-10-06', '2015-10-07', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-25 18:15:01', '0000-00-00 00:00:00'), (1502, 'HLCUTA11506ARNP3', '', 'SAN FELIPE', '525W', 'TSINGTAO (QINGDAO ; QUING', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505152138917', '2015-07-16', '2015-07-26', '2015-07-26', '2015-07-27', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-07-16 13:15:02', '0000-00-00 00:00:00'), (1514, 'HLCUTA1150710673', '', 'UASC TABUK', '1531W', 'TSINGTAO (QINGDAO ; QUING', 'TSINGTAO (QINGDAO ; QUING', 'PARANAGUA', 'PARANAGUA', 'HH', '161505187963914', '2015-08-02', '2015-09-08', '2015-09-08', '2015-09-09', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-08-28 20:15:02', '0000-00-00 00:00:00'), (1534, 'HLCUTS1150619380', '', 'PRAGUE EXPRESS', '041W', 'TIANJINXINGANG', 'PUSAN (BUSAN)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505240583726', '2015-10-09', '2015-11-17', '2015-11-18', '2015-11-18', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-11-06 13:15:01', '0000-00-00 00:00:00'), (1519, 'HLCUTS1150744614', '', 'CCNI ARAUCO', '532W', 'TIANJINXINGANG', 'PUSAN (BUSAN)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505192356362', '2015-08-08', '2015-09-15', '2015-09-15', '2015-09-16', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-03 20:15:01', '0000-00-00 00:00:00'), (1521, 'HLCUTS1150823215', '', 'SAN VICENTE', '533W', 'TIANJINXINGANG', 'PUSAN (BUSAN)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505198356500', '2015-08-14', '2015-09-22', '2015-09-21', '2015-09-22', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-09-11 20:15:01', '0000-00-00 00:00:00'), (356, 'HLCUVL1151006120', '', 'MSC BARCELONA', 'MM543A', 'VALENCIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505237996343', '2015-10-31', '2015-11-24', '2015-11-24', '2015-11-25', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-11-03 12:15:01', '0000-00-00 00:00:00'), (1539, 'HLCUVL1151102222', '', 'MSC ALICANTE', 'MM545A', 'VALENCIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505248344849', '2015-11-15', '2015-12-08', '2015-12-08', '2015-12-08', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-11-17 16:15:01', '0000-00-00 00:00:00'), (1324, 'HLCUWAW130911151', '', 'CSAV LLUTA', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305205524128', '0000-00-00', '2013-10-09', '2013-10-10', '2013-10-10', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-02 15:02:37', '0000-00-00 00:00:00'), (1326, 'HLCUWAW130913610', '', 'PARANAGUA EXPRESS', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305211843795', '0000-00-00', '2013-10-17', '2013-10-17', '2013-10-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-09 20:02:42', '0000-00-00 00:00:00'), (1330, 'HLCUWAW130915744', '', '<NAME>', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305218517664', '0000-00-00', '2013-10-24', '2013-10-24', '2013-10-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-17 18:02:58', '0000-00-00 00:00:00'), (1332, 'HLCUWAW131010249', '', 'CMA CGM AMERICA', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305223955860', '0000-00-00', '2013-10-31', '2013-10-31', '2013-11-01', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-24 13:04:31', '0000-00-00 00:00:00'), (1335, 'HLCUWAW131012613', '', 'CMA CGM SAMBHAR', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305233354398', '0000-00-00', '2013-11-14', '2013-11-14', '2013-11-15', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-05 18:02:57', '0000-00-00 00:00:00'), (1338, 'HLCUWAW131110024', '', 'SANTA TERESA', '', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', '', '151305245741006', '0000-00-00', '2013-11-28', '2013-11-27', '2013-11-29', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-21 16:02:23', '0000-00-00 00:00:00'), (1346, 'HLCUWAW131111886', '', 'JPO CANOPUS', '00521S', 'HAMBURG', 'HAMBURG', 'SANTOS', 'SANTOS', 'HH', '151305256150306', '2013-11-23', '2013-12-12', '2013-12-12', '2013-12-12', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2013-12-04 19:02:37', '0000-00-00 00:00:00'), (1533, 'HLCUXMN150903668', '', 'TUBUL', '539W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505225110103', '2015-09-28', '2015-11-01', '2015-11-09', '2015-11-10', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-10-16 14:15:02', '0000-00-00 00:00:00'), (1540, 'HLCUXMN151006873', '', '<NAME>', '544W', 'FUZHOU (FU CHO ; FOOCHOW)', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505256072807', '2015-11-13', '2015-12-08', '2015-12-08', '2015-12-09', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAPAG LLOYD AKTIENGESELLS', '2015-11-27 17:15:02', '0000-00-00 00:00:00'), (1316, 'ITGOA151379', '', '<NAME>', '', 'GENOVA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', '', '161305165393750', '0000-00-00', '2013-08-30', '2013-08-30', '2013-08-31', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-08-14 15:02:23', '0000-00-00 00:00:00'), (1357, 'ITGOA164590', '', '<NAME>', '1317W', 'LA SPEZIA', 'ALGECIRAS', 'PARANAGUA', 'SANTOS', 'HH', '161305263331768', '2013-12-13', '2013-12-23', '2014-01-09', '2014-01-10', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2013-12-13 14:05:27', '0000-00-00 00:00:00'), (1364, 'ITGOA165819', '', '<NAME>', '1401S', 'LA SPEZIA', 'ALGECIRAS', 'PARANAGUA', 'PARANAGUA', 'HH', '161305272527653', '2013-12-26', '2014-01-17', '2014-01-17', '2014-01-17', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2013-12-26 13:02:01', '0000-00-00 00:00:00'); INSERT INTO `mbls` (`id`, `nMbl`, `navioPrimeiraPerna`, `navio`, `viagem`, `POR`, `POL`, `POD`, `portoTransbordo`, `tipo`, `ceMbl`, `dataRegCeMbl`, `ETA`, `dataAtracMbl`, `dataDesatracMbl`, `dataDesbloqueioMbl`, `freeTimeArmador`, `CnpjCneeMbl`, `vlrFrete`, `vlrTHC`, `moedaFrete`, `armador`, `created_at`, `updated_at`) VALUES (1389, 'ITGOA177863', '', 'MAERSK LANCO', '1405S', 'LA SPEZIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405079859290', '2014-04-16', '2014-05-02', '2014-05-02', '2014-05-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2014-04-16 19:00:02', '0000-00-00 00:00:00'), (1475, 'ITGOA231671', '', 'LUNA MAERSK', '1505S', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505076089981', '2015-04-08', '2015-04-16', '2015-04-16', '2015-04-17', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'UASCO-UNITED ARAB SHIPPIN', '2015-04-08 14:15:02', '0000-00-00 00:00:00'), (1322, 'KUABY9600', '', '<NAME>', '', 'NORFOLK', '<NAME>', 'PARANAGUA', 'SANTOS', '', '161305195909917', '0000-00-00', '2013-09-28', '2013-09-28', '2013-09-28', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-09-19 21:02:28', '0000-00-00 00:00:00'), (1395, 'KUAC9N200', '', '<NAME>', '00417S', 'NORFOLK', 'NORFOLK', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181405098963264', '2014-04-26', '2014-05-28', '2014-05-28', '2014-05-29', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'COMPAÑIA LIBRA DE NAVEGAC', '2014-05-14 00:00:01', '0000-00-00 00:00:00'), (321, 'MOLU13902538761', '', 'M<NAME>', '2300A', 'JAWAHARLAL NEHRU(NHAVA SH', 'SINGAPURA', 'ITAJAI', 'ITAJAI', 'HH', '181505188903600', '2015-08-31', '2015-09-14', '2015-09-14', '2015-09-14', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MITSUI OSK LINES LTD', '2015-08-31 18:15:02', '0000-00-00 00:00:00'), (362, 'MOLU13902650540', '', 'MSC MELINE', '543A', 'JAWAHARLAL NEHRU(NHAVA SH', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505249446071', '2015-11-18', '2015-12-01', '2015-12-01', '2015-12-01', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MITSUI OSK LINES LTD', '2015-11-19 09:15:01', '0000-00-00 00:00:00'), (361, 'MOLU13902664815', '', 'MOL GUARDIAN', '3416A', 'JAWAHARLAL NEHRU(NHAVA SH', 'SINGAPURA', 'ITAJAI', 'ITAJAI', 'HH', '181505247395032', '2015-11-16', '2015-11-30', '2015-11-29', '2015-12-01', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MITSUI OSK LINES LTD', '2015-11-16 18:15:01', '0000-00-00 00:00:00'), (1365, 'MSCUEB046067', '', '<NAME>', '1401', 'BARCELONA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161305273243403', '2013-12-19', '2014-01-17', '2014-01-17', '2014-01-17', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2013-12-26 19:02:01', '0000-00-00 00:00:00'), (1390, 'MSCUEB171667', '', 'MSC ALGHERO', 'SS419R', 'BARCELONA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405089284495', '2014-04-26', '2014-05-15', '2014-05-15', '2014-05-16', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-04-30 16:00:01', '0000-00-00 00:00:00'), (1440, 'MSCUEB419330', '', 'MSC ATHOS', 'SS446R', 'BARCELONA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405247042667', '2014-11-05', '2014-11-20', '2014-11-20', '2014-11-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-11-11 15:15:01', '0000-00-00 00:00:00'), (1443, 'MSCUEB434297', '', 'MSC ATHENS', 'SS448R', 'BARCELONA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405258211503', '2014-11-19', '2014-12-04', '2014-12-05', '2014-12-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-11-25 15:15:01', '0000-00-00 00:00:00'), (1447, 'MSCUEB448446', '', 'MSC ADELAIDE', '1415', 'BARCELONA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405270564275', '2014-12-02', '2014-12-18', '2014-12-19', '2014-12-19', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-12-10 12:15:01', '0000-00-00 00:00:00'), (278, 'MSCUER844126', '', 'MSC AMALFI', 'FI523A', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505142293103', '2015-06-03', '2015-07-21', '2015-07-20', '2015-07-21', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-07-02 18:15:02', '0000-00-00 00:00:00'), (295, 'MSCUEX221400', '', 'MSC NAOMI', 'FI529A', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505171328300', '2015-07-20', '2015-08-17', '2015-08-18', '2015-08-18', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-10 16:15:01', '0000-00-00 00:00:00'), (296, 'MSCUEX221418', '', 'MSC NAOMI', 'FI529A', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505171328483', '2015-07-20', '2015-08-17', '2015-08-18', '2015-08-18', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-10 16:15:01', '0000-00-00 00:00:00'), (339, 'MSCUFL236053', '', 'MONTE ALEGRE', '65S', 'PORT EVERGLADES', 'CRISTOBAL', 'PARANAGUA', 'PARANAGUA', 'HH', '161505207274825', '2015-09-21', '2015-10-07', '2015-10-07', '2015-10-08', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MSC', '2015-09-24 19:15:01', '0000-00-00 00:00:00'), (364, 'MSCUFL262091', '', 'MONTE OLIVIA', '64S', 'PORT EVERGLADES', 'CRISTOBAL', 'PARANAGUA', 'PARANAGUA', 'HH', '161505250581122', '2015-11-16', '2015-12-04', '2015-12-02', '2015-12-03', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MSC MEDITERRANEAN SHIPPIN', '2015-11-19 18:15:01', '0000-00-00 00:00:00'), (179, 'MSCUGX013068', '', 'LUNA MAERSK', '1504', 'CIVITAVECCHIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505034207611', '2015-02-11', '2015-03-01', '2015-02-28', '2015-03-02', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-02-13 19:15:01', '0000-00-00 00:00:00'), (283, 'MSCUGX042976', '', 'MSC SHENZHEN', 'SS529R', 'CIVITAVECCHIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505150599962', '2015-07-05', '2015-07-25', '2015-07-25', '2015-07-26', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-07-14 15:15:01', '0000-00-00 00:00:00'), (195, 'MSCUGX224970', '', 'MSC LAURA', 'SS513R', 'CIVITAVECCHIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505064392706', '2015-03-13', '2015-04-02', '2015-04-03', '2015-04-03', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-03-24 13:15:01', '0000-00-00 00:00:00'), (203, 'MSCUGX310522', '', 'MSC ORIANE', 'NA512A', 'CIVITAVECCHIA', 'SINES', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505071073160', '2015-03-28', '2015-04-13', '2015-04-13', '2015-04-14', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-04-01 13:15:01', '0000-00-00 00:00:00'), (208, 'MSCUGX355881', '', 'MSC VANESSA', 'SS516R', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505078675780', '2015-04-06', '2015-04-23', '2015-04-23', '2015-04-24', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-04-10 16:15:01', '0000-00-00 00:00:00'), (207, 'MSCUGX405470', '', 'MSC VANESSA', 'SS516R', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505078677058', '2015-04-06', '2015-04-23', '2015-04-23', '2015-04-24', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-04-10 16:15:01', '0000-00-00 00:00:00'), (216, 'MSCUGX455921', '', 'LAURA MAERSK', '1510', 'CIVITAVECCHIA', 'VALENCIA', 'ITAPOA', 'ITAPOA', 'HH', '171505090376353', '2015-04-17', '2015-05-06', '2015-05-06', '2015-05-07', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-04-27 19:15:01', '0000-00-00 00:00:00'), (228, 'MSCUGX525392', '', 'MSC CORUNA', 'MM516A', 'GENOVA', 'GENOVA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505093018293', '2015-04-20', '2015-05-19', '2015-05-21', '2015-05-19', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-04-29 19:15:01', '0000-00-00 00:00:00'), (235, 'MSCUGX568335', '', 'LUNA MAERSK', '1508', 'CIVITAVECCHIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505105321310', '2015-05-09', '2015-05-28', '2015-05-29', '2015-05-29', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-05-15 19:15:01', '0000-00-00 00:00:00'), (251, 'MSCUGX701324', '', 'MSC LAURA', 'SS525R', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505127767809', '2015-06-05', '2015-06-25', '2015-06-26', '2015-06-26', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-06-15 15:15:02', '0000-00-00 00:00:00'), (243, 'MSCUGX709962', '', '<NAME>', '1512', 'CIVITAVECCHIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505123304472', '2015-05-29', '2015-06-18', '2015-06-18', '2015-06-19', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-06-09 15:15:01', '0000-00-00 00:00:00'), (1492, 'MSCUGX769958', '', 'MSC LORETTA', 'SS526R', 'LIVORNO (LEGHORN)', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505132178816', '2015-06-13', '2015-07-02', '2015-07-02', '2015-07-03', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'MSC', '2015-06-19 16:15:01', '0000-00-00 00:00:00'), (300, 'MSCUIG127245', '', 'LUNA MAERSK', '1512', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505172627689', '2015-08-02', '2015-08-20', '2015-08-20', '2015-08-21', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-11 19:15:02', '0000-00-00 00:00:00'), (307, 'MSCUIG161236', '', 'RIO DE JANEIRO', 'MM531A', 'GENOVA', 'GENOVA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505174617839', '2015-08-04', '2015-09-01', '2015-09-01', '2015-09-01', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-13 19:15:01', '0000-00-00 00:00:00'), (308, 'MSCUIG162531', '', 'RIO DE JANEIRO', 'MM531A', 'GENOVA', 'GENOVA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505174617910', '2015-08-04', '2015-09-01', '2015-09-01', '2015-09-01', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-13 19:15:01', '0000-00-00 00:00:00'), (311, 'MSCUIG209548', '', 'MSC SHENZHEN', 'SS533A', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505182769087', '2015-08-17', '2015-09-04', '2015-09-04', '2015-09-05', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-24 15:15:01', '0000-00-00 00:00:00'), (347, 'MSCUIG442362', '', 'MSC FLORENTINA', 'SS543R', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505227941525', '2015-10-15', '2015-11-03', '2015-10-30', '2015-10-31', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-10-20 19:15:01', '0000-00-00 00:00:00'), (342, 'MSCUIG443832', '', '<NAME>', '1518', 'CIVITAVECCHIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505220848805', '2015-10-03', '2015-10-22', '2015-10-22', '2015-10-23', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-10-09 20:15:01', '0000-00-00 00:00:00'), (346, 'MSCUIG486526', '', 'MSC FLORENTINA', 'SS543R', 'CIVITAVECCHIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505227943498', '2015-10-15', '2015-11-03', '2015-10-30', '2015-10-31', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-10-20 19:15:01', '0000-00-00 00:00:00'), (365, 'MSCUIG652143', '', '<NAME>', '1520', 'CIVITAVECCHIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505252264889', '2015-11-14', '2015-12-05', '2015-12-05', '2015-12-05', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC MEDITERRANEAN SHIPPIN', '2015-11-23 19:15:02', '0000-00-00 00:00:00'), (1541, 'MSCUIG724140', '', 'MSC FLORENTINA', 'SS549R', 'LIVORNO (LEGHORN)', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505256397005', '2015-11-22', '2015-12-08', '2015-12-10', '2015-12-10', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC <NAME>', '2015-11-27 19:15:02', '0000-00-00 00:00:00'), (1315, 'MSCUL7905635', '', '<NAME>', '', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', '', '161305160326702', '0000-00-00', '2013-08-23', '2013-08-23', '2013-08-24', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-08-07 23:01:49', '0000-00-00 00:00:00'), (1318, 'MSCUL7946159', '', '<NAME>', '', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', '', '161305172865190', '0000-00-00', '2013-09-06', '2013-09-06', '2013-09-07', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-08-22 19:02:38', '0000-00-00 00:00:00'), (1329, 'MSCUL8032215', '', 'MSC ATHOS', '', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', '', '161305210766476', '0000-00-00', '2013-10-25', '2013-10-25', '2013-10-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-08 19:02:55', '0000-00-00 00:00:00'), (1405, 'MSCUL9075478', '', 'MSC SORAYA', 'NA418A', 'LEIXÕES', 'SINES', 'PARANAGUA', 'NAVEGANTES', 'HH', '161405103210090', '2014-05-16', '2014-05-29', '2014-06-21', '2014-06-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-05-20 16:00:01', '0000-00-00 00:00:00'), (1512, 'MSCULS586083', '', 'MSC SHENZHEN', 'SS533A', 'GENOVA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505182771227', '2015-08-17', '2015-09-04', '2015-09-04', '2015-09-05', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'MSC', '2015-08-24 15:15:01', '0000-00-00 00:00:00'), (1404, 'MSCUMJ740192', '', 'MSC ALESSIA', 'UA417A', 'MONTREAL', 'FREEPORT', 'PARANAGUA', 'NAVEGANTES', 'HH', '161405099070706', '2014-05-05', '2014-05-28', '2014-06-21', '2014-06-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-05-14 14:00:01', '0000-00-00 00:00:00'), (1406, 'MSCUMJ758244', '', 'MSC LUISA', 'UA419A', 'MONTREAL', 'FREEPORT', 'PARANAGUA', 'SANTOS', 'HH', '161405109408500', '2014-05-20', '2014-06-02', '2014-06-21', '2014-06-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-05-28 19:00:02', '0000-00-00 00:00:00'), (1499, 'MSCUMQ695431', '', 'MSC ROMANOS', 'UA525A', 'CHARLESTON', 'FREEPORT', 'PARANAGUA', 'SANTOS', 'HH', '161505146492380', '2015-06-29', '2015-07-13', '2015-07-17', '2015-07-17', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'MSC', '2015-07-08 15:15:01', '0000-00-00 00:00:00'), (1352, 'MSCUQ3048827', '', 'MSC ABIDJAN', 'FI346A', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161305267273878', '2013-11-16', '2013-12-26', '2013-12-26', '2013-12-27', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2013-12-18 19:02:01', '0000-00-00 00:00:00'), (301, 'MSCUQR112957', '', '<NAME>', 'FI526A', 'TSINGTAO (QINGDAO ; QUING', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505160600454', '2015-06-28', '2015-08-10', '2015-08-21', '2015-08-22', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-07-27 18:15:02', '0000-00-00 00:00:00'), (322, 'MSCUQR307284', '', 'MSC JULIE', 'FI532A', 'TSINGTAO (QINGDAO ; QUING', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505193140568', '2015-08-05', '2015-09-13', '2015-09-14', '2015-09-15', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-09-04 14:15:01', '0000-00-00 00:00:00'), (240, 'MSCURX226013', '', 'CAP SAN MARCO', '521S', 'GOTEMBURGO', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505115090604', '2015-05-15', '2015-06-06', '2015-06-06', '2015-06-07', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MSC', '2015-05-28 15:15:01', '0000-00-00 00:00:00'), (268, 'MSCURX404511', '', 'CAP SAN AUGUSTIN', '526S', 'GOTEMBURGO', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505142995558', '2015-06-19', '2015-07-11', '2015-07-11', '2015-07-12', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MSC', '2015-07-03 13:15:01', '0000-00-00 00:00:00'), (294, 'MSCURX417372', '', 'CAP SAN RAPHAEL', '531S', 'GOTEMBURGO', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161505170133182', '2015-07-23', '2015-08-15', '2015-08-15', '2015-08-15', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MSC', '2015-08-07 15:15:02', '0000-00-00 00:00:00'), (269, 'MSCUT1940000', '', 'CAP SAN LORENZO', '525S', 'THESALONIKI', 'ANTUERPIA (AMBERES)', 'ITAPOA', 'ITAPOA', 'HH', '171505136766558', '2015-06-18', '2015-07-14', '2015-07-14', '2015-07-14', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-06-25 18:15:01', '0000-00-00 00:00:00'), (262, 'MSCUT1941321', '', 'CAP SAN LORENZO', '525S', 'THESALONIKI', 'ANTUERPIA (AMBERES)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505136775800', '2015-06-18', '2015-07-04', '2015-07-04', '2015-07-05', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-06-25 18:15:01', '0000-00-00 00:00:00'), (290, 'MSCUT1950355', '', 'CAP SAN MARCO', '529S', 'THESALONIKI', 'ANTUERPIA (AMBERES)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505158071121', '2015-07-15', '2015-08-01', '2015-08-01', '2015-08-02', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-07-23 15:15:02', '0000-00-00 00:00:00'), (331, 'MSCUT1967631', '', 'MSC MARGARITA', 'NA536A', 'THESALONIKI', 'SINES', 'PARANAGUA', 'PARANAGUA', 'HH', '161505200247083', '2015-09-12', '2015-09-26', '2015-09-26', '2015-09-27', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-09-15 20:15:01', '0000-00-00 00:00:00'), (336, 'MSCUT1969587', '', 'MSC KRYSTAL', 'NA537A', 'THESALONIKI', 'SINES', 'PARANAGUA', 'PARANAGUA', 'HH', '161505206218468', '2015-09-20', '2015-10-03', '2015-10-05', '2015-10-06', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-09-23 13:15:02', '0000-00-00 00:00:00'), (1427, 'MSCUT8613964', '', 'MSC INGRID', 'UA427A', 'SAVANNAH', 'SAVANNAH', 'PARANAGUA', 'SANTOS', 'HH', '161405152950302', '2014-07-17', '2014-08-02', '2014-08-16', '2014-08-17', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'MSC', '2014-07-23 21:00:02', '0000-00-00 00:00:00'), (199, 'MSCUT9496153', '', 'MSC ORIANE', 'NA512A', 'SINES', 'SINES', 'PARANAGUA', 'PARANAGUA', 'HH', '161505071073017', '2015-03-28', '2015-04-11', '2015-04-11', '2015-04-12', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-04-01 13:15:01', '0000-00-00 00:00:00'), (330, 'MSCUT9605886', '', 'MSC MARGARITA', 'NA536A', 'SINES', 'SINES', 'PARANAGUA', 'PARANAGUA', 'HH', '161505200247164', '2015-09-12', '2015-09-26', '2015-09-26', '2015-09-27', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-09-15 20:15:01', '0000-00-00 00:00:00'), (303, 'MSCUTQ945002', '', '<NAME>', '533S', 'MERSIN', 'ANTUERPIA (AMBERES)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505181059760', '2015-08-12', '2015-08-29', '2015-08-30', '2015-08-30', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-21 14:15:01', '0000-00-00 00:00:00'), (205, 'MSCUUS003947', '', 'MSC SARAH', 'UA512A', 'NEW YORK', 'NEW YORK', 'PARANAGUA', 'SANTOS', 'HH', '161505076402043', '2015-03-23', '2015-04-13', '2015-04-18', '2015-04-19', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MSC', '2015-04-08 19:15:01', '0000-00-00 00:00:00'), (231, 'MSCUUS086173', '', '<NAME>', 'UA516A', 'NEW YORK', 'NEW YORK', 'PARANAGUA', 'SANTOS', 'HH', '161505099254946', '2015-04-23', '2015-05-14', '2015-05-24', '2015-05-24', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'MSC', '2015-05-08 13:15:01', '0000-00-00 00:00:00'), (1498, 'MSCUUS228361', '', '<NAME>', 'UA524A', 'NEW YORK', 'NEW YORK', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505140113021', '2015-06-15', '2015-07-16', '2015-07-19', '2015-07-17', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'MSC', '2015-06-30 18:15:01', '0000-00-00 00:00:00'), (257, 'MSCUVO850993', '', 'MSC LORETTA', 'SS526R', 'VALENCIA', 'VALENCIA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505132181795', '2015-06-13', '2015-07-02', '2015-07-02', '2015-07-03', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-06-19 16:15:01', '0000-00-00 00:00:00'), (328, 'MSCUVS039963', '', 'MSC NINGBO', 'SS538R', 'VALENCIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505199838332', '2015-09-08', '2015-09-24', '2015-09-24', '2015-09-25', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-09-15 17:15:01', '0000-00-00 00:00:00'), (341, 'MSCUVS066305', '', 'MSC GENEVA', 'SS540R', 'VALENCIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505208896590', '2015-09-20', '2015-10-10', '2015-10-19', '2015-10-12', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-09-25 20:15:02', '0000-00-00 00:00:00'), (337, 'MSCUX7261998', '', '<NAME>', '535W', 'XIAMEN', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505208714438', '2015-09-08', '2015-10-05', '2015-10-05', '2015-10-06', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-09-25 17:15:01', '0000-00-00 00:00:00'), (343, 'MSCUX7285815', '', '<NAME>', '539W', 'XIAMEN', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505227666206', '2015-10-05', '2015-10-26', '2015-10-27', '2015-10-27', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-10-20 16:15:01', '0000-00-00 00:00:00'), (306, 'MSCUXU939729', '', 'MSC MELINE', 'FI531A', 'CHIWAN', 'CHIWAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505183900853', '2015-08-04', '2015-08-31', '2015-08-31', '2015-09-01', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC', '2015-08-25 18:15:01', '0000-00-00 00:00:00'), (353, 'MSCUYI768907', '', 'MAERSK LA PAZ', '542W', 'YANTIAN', 'YANTIAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161505242494887', '2015-10-20', '2015-11-16', '2015-11-17', '2015-11-17', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'MSC MEDITERRANEAN SHIPPIN', '2015-11-09 19:15:02', '0000-00-00 00:00:00'), (193, 'NAHA8L000', '', 'MSC FIAMMETTA', '00509S', 'VALENCIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505055045475', '2015-03-08', '2015-03-30', '2015-03-30', '2015-03-31', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'NORASIA CONTAINER LINES L', '2015-03-12 01:15:02', '0000-00-00 00:00:00'), (198, 'NAHA8NT00', '', 'RIO NEGRO', '00510S', 'VALENCIA', 'VALENCIA', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505060474176', '2015-03-15', '2015-04-07', '2015-04-07', '2015-04-07', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'NORASIA CONTAINER LINES L', '2015-03-18 19:15:01', '0000-00-00 00:00:00'), (1489, 'NBDX009313', '', 'VALIANT', '7D150E', 'NINGBO (NINGPO)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505122864059', '2015-05-18', '2015-06-21', '2015-06-21', '2015-06-22', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'CMA-CGM SOCIÉTÉ ANONYME', '2015-06-08 21:15:01', '0000-00-00 00:00:00'), (1491, 'NBDX009319', '', 'MAERSK LETICIA', '010AAE', 'NINGBO (NINGPO)', 'HONG KONG', 'ITAJAI', 'ITAJAI', 'HH', '181505128369240', '2015-05-21', '2015-06-28', '2015-06-29', '2015-06-30', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'CMA-CGM SOCIÉTÉ ANONYME', '2015-06-15 23:15:01', '0000-00-00 00:00:00'), (1495, 'NBDX009334', '', 'VALOR', '7D154E', 'NINGBO (NINGPO)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505133491178', '2015-05-19', '2015-07-05', '2015-07-04', '2015-07-05', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'CMA-CGM SOCIÉTÉ ANONYME', '2015-06-22 19:15:01', '0000-00-00 00:00:00'), (197, 'NBJCFG500', '', 'RIO NEGRO', '00510S', 'LIVORNO (LEGHORN)', 'LIVORNO (LEGHORN)', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505060475067', '2015-03-09', '2015-04-07', '2015-04-07', '2015-04-07', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'NORASIA CONTAINER LINES L', '2015-03-18 19:15:01', '0000-00-00 00:00:00'), (238, 'NBJCGJK00', '', 'RIO DE JANEIRO', '00515S', 'LIVORNO (LEGHORN)', 'LIVORNO (LEGHORN)', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505087343145', '2015-04-12', '2015-05-11', '2015-06-05', '2015-06-06', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'NORASIA CONTAINER LINES L', '2015-04-23 00:15:01', '0000-00-00 00:00:00'), (348, 'NBLG134450', '', 'CSAV TYNDALL', '042BDE', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505228091177', '2015-10-03', '2015-11-03', '2015-11-03', '2015-11-04', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'CMA-CGM SOCIÉTÉ ANONYME', '2015-10-21 09:15:01', '0000-00-00 00:00:00'), (349, 'NBLG134451', '', 'CSAV TYNDALL', '042BDE', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505228091258', '2015-10-03', '2015-11-03', '2015-11-03', '2015-11-04', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'CMA-CGM SOCIÉTÉ ANONYME', '2015-10-21 09:15:01', '0000-00-00 00:00:00'), (1456, 'NGCBB6P00', '', '<NAME>', '00501S', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505003532427', '2014-12-29', '2015-01-17', '2015-01-18', '2015-01-17', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'NORASIA CONTAINER LINES L', '2015-01-07 19:15:06', '0000-00-00 00:00:00'), (1393, 'NYKS2081654460', '', 'KOTA LAZIM', '003W', 'PUSAN (BUSAN)', 'PUSAN (BUSAN)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405085756511', '2014-04-25', '2014-05-21', '2014-05-21', '2014-05-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-04-30 10:00:01', '0000-00-00 00:00:00'), (1488, 'NYKS2082002970', '', 'KOTA LUKIS', '073W', 'PUSAN (BUSAN)', 'PUSAN (BUSAN)', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505112832558', '2015-05-25', '2015-06-02', '2015-06-10', '2015-06-11', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2015-05-26 18:15:01', '0000-00-00 00:00:00'), (1345, 'NYKS2335222550', '', 'KOTA LATIF', '066W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161305249748240', '2013-11-26', '2013-12-11', '2013-12-11', '2013-12-11', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2013-11-26 19:02:46', '0000-00-00 00:00:00'), (1351, 'NYKS2335222650', '', 'BREVIK BRIDGE', '013W', 'NINGBO (NINGPO)', 'SINGAPURA', 'PARANAGUA', 'PARANAGUA', 'HH', '161305258513195', '2013-12-06', '2013-12-25', '2013-12-25', '2013-12-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2013-12-06 20:02:36', '0000-00-00 00:00:00'), (1348, 'NYKS2335222670', '', 'NYK FUJI', '014W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161305254019927', '2013-12-02', '2013-12-18', '2013-12-18', '2013-12-19', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2013-12-02 17:02:53', '0000-00-00 00:00:00'), (1418, 'NYKS2335224680', '', 'KOTA LEMBAH', '006W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405134711253', '2014-07-01', '2014-07-27', '2014-07-26', '2014-07-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-07-02 10:00:02', '0000-00-00 00:00:00'), (1463, 'NYKS2335226950', '', 'KOTA LAZIM', '006W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505011840453', '2015-01-19', '2015-02-04', '2015-02-05', '2015-02-05', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2015-01-19 18:15:01', '0000-00-00 00:00:00'), (1419, 'NYKS2341996760', '', 'KOTA LEMBAH', '006W', 'TSINGTAO (QINGDAO ; QUING', 'PUSAN (BUSAN)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405134711415', '2014-07-01', '2014-07-27', '2014-07-26', '2014-07-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-07-02 10:00:02', '0000-00-00 00:00:00'), (1420, 'NYKS2383223930', '', 'NYK FUTAGO', '018W', 'NANSHA', '<NAME>', 'PARANAGUA', 'PARANAGUA', 'HH', '161405140911803', '2014-07-09', '2014-07-30', '2014-07-30', '2014-07-31', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-07-09 18:00:01', '0000-00-00 00:00:00'), (1384, 'NYKS2400373290', '', 'BILBAO BRIDGE', '117W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405061679045', '2014-03-25', '2014-04-16', '2014-04-16', '2014-04-17', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-03-26 10:00:01', '0000-00-00 00:00:00'), (1449, 'NYKS2401339870', '', 'HYUNDAI PLATINUM', '007W', 'HONG KONG', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405260070075', '2014-11-26', '2014-12-24', '2014-12-24', '2014-12-25', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-12-03 09:15:01', '0000-00-00 00:00:00'), (1529, 'NYKS3500897890', '', 'ALDEBARAN', '020N', 'CHENNAI', '<NAME>', 'RIO DE JANEIRO', 'SANTOS', 'HH', '131505203213927', '2015-09-17', '2015-09-28', '2015-10-11', '2015-10-11', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (1387, 'NYKS6054544160', '', 'NYK CLARA', '728S', 'HOUSTON', 'CAUCEDO', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181405079885172', '2014-04-16', '2014-04-26', '2014-04-26', '2014-04-27', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-04-16 19:00:02', '0000-00-00 00:00:00'), (1426, 'NYKS6054794250', '', 'SUAPE EXPRESS', '428S', 'HOUSTON', 'HOUSTON', 'ITAJAI', 'ITAJAI', 'HH', '181405154743651', '2014-07-25', '2014-08-16', '2014-08-15', '2014-08-16', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-07-28 14:38:34', '0000-00-00 00:00:00'), (1382, 'NYKS6064753930', '', 'NYK LAURA', '528S', 'HOUSTON', 'CAUCEDO', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181405067855745', '2014-04-02', '2014-04-12', '2014-04-12', '2014-04-13', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-04-02 18:00:01', '0000-00-00 00:00:00'), (1381, 'NYKS6064753931', '', 'NYK LAURA', '528S', 'HOUSTON', 'CAUCEDO', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181405067855826', '2014-04-02', '2014-04-12', '2014-04-12', '2014-04-13', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'NYK-NIPPON YUSEN KAISHA L', '2014-04-02 18:00:01', '0000-00-00 00:00:00'), (1354, 'PBCCPMT00', '', 'CMA CGM SAMBHAR', '00527S', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161305271836903', '2013-12-14', '2014-01-04', '2014-01-04', '2014-01-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'CSAV-CIA SUD AMERICANA DE', '2013-12-24 13:02:01', '0000-00-00 00:00:00'), (1361, 'PBCCQ7W00', '', 'AGIOS DIMITRIOS', '00351S', 'ROTTERDAM', 'ROTTERDAM', 'PARANAGUA', 'PARANAGUA', 'HH', '161305276276531', '2013-12-20', '2014-01-14', '2014-01-14', '2014-01-14', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'CSAV-CIA SUD AMERICANA DE', '2013-12-30 18:02:01', '0000-00-00 00:00:00'), (1392, 'PBNH2XN00', '', 'CAP SAN RAPHAEL', '01415S', 'TSINGTAO (QINGDAO ; QUING', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405095831869', '2014-04-21', '2014-05-18', '2014-05-18', '2014-05-19', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'CSAV-CIA SUD AMERICANA DE', '2014-05-09 01:00:02', '0000-00-00 00:00:00'), (310, 'PUSIOA000041', '', 'TOLTEN', '531W', 'PUSAN (BUSAN)', 'SHANGHAI (SHAN HAI)', 'ITAPOA', 'ITAPOA', 'HH', '171505181577882', '2015-08-21', '2015-09-04', '2015-09-04', '2015-09-04', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-08-21 18:15:01', '0000-00-00 00:00:00'), (329, 'PUSIOA000044', '', 'CMA CGM CONGO', '035AAW', 'PUSAN (BUSAN)', 'SHANGHAI (SHAN HAI)', 'ITAPOA', 'ITAPOA', 'HH', '171505197050706', '2015-09-10', '2015-09-25', '2015-09-24', '2015-09-25', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-09-10 20:15:01', '0000-00-00 00:00:00'), (183, 'PUSITJ000709', '', 'MAERSK LOTA', '506W', 'PUSAN (BUSAN)', 'SHANGHAI (SHAN HAI)', 'ITAJAI', 'ITAJAI', 'HH', '181505044289874', '2015-02-27', '2015-03-15', '2015-03-12', '2015-03-13', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-02-27 15:15:01', '0000-00-00 00:00:00'), (206, 'PUSITJ000717', '', 'DALI', '511W', 'PUSAN (BUSAN)', 'PUSAN (BUSAN)', 'ITAJAI', 'ITAJAI', 'HH', '181505071759908', '2015-04-01', '2015-04-19', '2015-04-19', '2015-04-21', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-04-01 20:15:01', '0000-00-00 00:00:00'), (254, 'PUSITJ000760', '', 'MAERSK LETICIA', '521W', 'PUSAN (BUSAN)', 'SHANGHAI (SHAN HAI)', 'ITAJAI', 'ITAJAI', 'HH', '181505126412793', '2015-06-12', '2015-06-28', '2015-06-29', '2015-06-30', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-06-12 12:15:01', '0000-00-00 00:00:00'), (284, 'PUSITJ000785', '', 'TUCAPEL', '525W', 'PUSAN (BUSAN)', 'PUSAN (BUSAN)', 'ITAJAI', 'ITAJAI', 'HH', '181505149844169', '2015-07-13', '2015-07-26', '2015-07-26', '2015-07-27', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-07-13 18:15:02', '0000-00-00 00:00:00'), (1399, 'S308783370', '', '<NAME>', 'GRS0314', 'VALENCIA', 'DAKAR', 'PARANAGUA', 'PARANAGUA', 'PP', '161405105460515', '2014-05-22', '2014-06-09', '2014-06-09', '2014-06-10', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'INARME-INDUSTRIA ARMAMENT', '2014-05-22 20:00:01', '0000-00-00 00:00:00'), (1433, 'S309214315', '', 'GRANDE AMERICA', 'GAM0614', 'HAMBURG', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405173860418', '2014-08-18', '2014-09-02', '2014-09-05', '2014-09-06', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'INARME-INDUSTRIA ARMAMENT', '2014-08-18 19:15:01', '0000-00-00 00:00:00'), (172, 'SHAPNG008256', '', 'CSCL AFRICA', '502W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505025640117', '2015-02-04', '2015-02-15', '2015-02-15', '2015-02-16', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-02-05 15:15:01', '0000-00-00 00:00:00'), (189, 'SHAPNG008341', '', 'SAN VICENTE', '507W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505055500208', '2015-03-11', '2015-03-22', '2015-03-23', '2015-03-24', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-03-12 18:15:01', '0000-00-00 00:00:00'), (202, 'SHAPNG008358', '', 'CSCL OCEANIA', '510W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505071025632', '2015-04-01', '2015-04-12', '2015-04-12', '2015-04-13', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'CHINA SHIPPING CONTAINER ', '2015-04-01 12:15:02', '0000-00-00 00:00:00'), (227, 'SHAPNG150000027', '', 'KOTA LATIF', '072E', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505090141731', '2015-04-27', '2015-05-13', '2015-05-17', '2015-05-18', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'PIL (UK) LIMITED', '2015-04-27 15:15:02', '0000-00-00 00:00:00'), (1311, 'SUDU230014320033', '', '<NAME>', '', 'NEW YORK', 'NEW YORK', 'PARANAGUA', '<NAME>', '', '161305147484650', '0000-00-00', '2013-08-06', '2013-08-06', '2013-08-07', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-07-23 18:02:25', '0000-00-00 00:00:00'), (1363, 'SUDU230016348215', '', '<NAME>', '103S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405000696250', '2014-01-02', '2014-01-15', '2014-01-15', '2014-01-16', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-01-06 21:00:01', '0000-00-00 00:00:00'), (1372, 'SUDU240017020419', '', 'CAP ISABEL', '066S', 'PORT EVERGLADES', 'PORT EVERGLADES', 'ITAPOA', 'ITAPOA', 'HH', '171405039908530', '2014-02-25', '2014-03-15', '2014-03-15', '2014-03-16', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-02-25 14:00:01', '0000-00-00 00:00:00'), (1378, 'SUDU240017323187', '', 'HS BEETHOVEN', '001S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161405057116279', '2014-03-19', '2014-04-04', '2014-04-04', '2014-04-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-03-19 19:00:01', '0000-00-00 00:00:00'), (1412, 'SUDU240018348LY0', '', '<NAME>', '038S', 'NORFOLK', 'NORFOLK', 'PARANAGUA', 'ITAPOA', 'HH', '161405119195606', '2014-06-10', '2014-06-26', '2014-07-03', '2014-07-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-06-10 14:00:01', '0000-00-00 00:00:00'), (1435, 'SUDU240019508CUA', '', '<NAME>', '108S', 'NEW YORK', 'CARTAGENA', 'PARANAGUA', 'SANTOS', 'HH', '161405189117868', '2014-09-04', '2014-09-13', '2014-09-20', '2014-09-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-09-04 12:15:01', '0000-00-00 00:00:00'), (169, 'SUDU2500115300XU', '', 'MONTE OLIVIA', '058S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505020162942', '2015-01-29', '2015-02-11', '2015-02-11', '2015-02-12', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-02-05 15:15:01', '0000-00-00 00:00:00'), (194, 'SUDU2500122863WK', '', 'MONTE OLIVIA', '059S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505065166157', '2015-03-24', '2015-04-03', '2015-04-03', '2015-04-02', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-03-24 21:15:01', '0000-00-00 00:00:00'), (217, 'SUDU250012958Z79', '', 'MONTE VERDE', '057S', 'BALTIMORE', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505090052399', '2015-04-27', '2015-05-07', '2015-05-07', '2015-05-07', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-04-27 13:15:01', '0000-00-00 00:00:00'), (1481, 'SUDU25001302960S', '', 'MONTE ALEGRE', '062S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505093798995', '2015-04-30', '2015-05-13', '2015-05-14', '2015-05-15', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-04-30 14:15:01', '0000-00-00 00:00:00'), (1482, 'SUDU250013029T2A', '', 'MONTE ALEGRE', '062S', 'BALTIMORE', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505093797913', '2015-04-30', '2015-05-13', '2015-05-14', '2015-05-15', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-04-30 14:15:01', '0000-00-00 00:00:00'), (229, 'SUDU2500131950YE', '', 'MONTE OLIVIA', '060S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505097756030', '2015-05-06', '2015-05-20', '2015-05-21', '2015-05-22', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-05-06 19:15:01', '0000-00-00 00:00:00'), (242, 'SUDU250013607N0V', '', 'MONTE CERVANTES(EX-P&O NEDLLOYD SAL', '064S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505120063210', '2015-06-03', '2015-06-17', '2015-06-17', '2015-06-18', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-06-03 21:15:01', '0000-00-00 00:00:00'), (256, 'SUDU250013944UWC', '', '<NAME>', '063S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505131126219', '2015-06-18', '2015-07-01', '2015-07-02', '2015-07-02', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-06-18 19:15:02', '0000-00-00 00:00:00'), (266, 'SUDU2500140132BL', '', '<NAME>', '061S', 'BALTIMORE', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505135760672', '2015-06-24', '2015-07-08', '2015-07-08', '2015-07-09', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-06-25 21:15:01', '0000-00-00 00:00:00'), (265, 'SUDU250014013P0S', '', '<NAME>', '061S', 'BALTIMORE', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505135760591', '2015-06-24', '2015-07-08', '2015-07-08', '2015-07-09', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-06-25 21:15:01', '0000-00-00 00:00:00'), (288, 'SUDU250014231UB6', '', '<NAME>', '063S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505153534808', '2015-07-15', '2015-07-30', '2015-07-29', '2015-07-30', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-07-17 19:15:01', '0000-00-00 00:00:00'), (1497, 'SUDU250014232010', '', '<NAME>', '072S', 'BALTIMORE', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505144520352', '2015-07-06', '2015-07-15', '2015-07-18', '2015-07-16', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-07-06 17:15:01', '0000-00-00 00:00:00'), (1508, 'SUDU250014469PRE', '', 'MONTE OLIVIA', '062S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505175518759', '2015-08-14', '2015-08-27', '2015-08-27', '2015-08-27', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-08-14 12:15:01', '0000-00-00 00:00:00'), (1523, 'SUDU250015297D4K', '', 'MONTE CERVANTES(EX-P&O NEDLLOYD SAL', '066S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505196894750', '2015-09-10', '2015-09-24', '2015-09-23', '2015-09-24', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-09-10 19:15:01', '0000-00-00 00:00:00'), (1530, 'SUDU2500157965P9', '', 'MONTE SARMIENTO', '064S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505224835210', '2015-10-15', '2015-10-29', '2015-10-29', '2015-10-29', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-10-15 21:15:02', '0000-00-00 00:00:00'), (1536, 'SUDU250016484KJY', '', 'MONTE ALEGRE', '066S', 'PORT EVERGLADES', 'CARTAGENA', 'PARANAGUA', 'PARANAGUA', 'HH', '161505244505070', '2015-11-12', '2015-11-26', '2015-11-26', '2015-11-26', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-11-12 13:15:01', '0000-00-00 00:00:00'), (1367, 'SUDU741427442009', '', 'SANTA CLARA', '404S', 'BILBAO', 'LE HAVRE', 'PARANAGUA', 'PARANAGUA', 'HH', '161405018890813', '2014-01-29', '2014-02-09', '2014-02-09', '2014-02-09', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-01-29 11:00:01', '0000-00-00 00:00:00'), (1436, 'SUDU741428585021', '', 'CAP SAN ARTEMISSIO', '436S', 'BILBAO', 'LE HAVRE', 'PARANAGUA', 'PARANAGUA', 'HH', '161405194967904', '2014-09-11', '2014-09-20', '2014-09-20', '2014-09-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-09-11 17:15:01', '0000-00-00 00:00:00'), (1446, 'SUDU749998957023', '', 'MSC FIAMMETTA', '445S', 'GENOVA', 'GENOVA', 'PARANAGUA', 'ITAPOA', 'HH', '161405254713202', '2014-11-19', '2014-12-09', '2014-12-18', '2014-12-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-11-19 19:15:01', '0000-00-00 00:00:00'), (1445, 'SUDU749998957036', '', 'MSC FIAMMETTA', '445S', 'GENOVA', 'GENOVA', 'PARANAGUA', 'ITAPOA', 'HH', '161405254713547', '2014-11-19', '2014-12-09', '2014-12-18', '2014-12-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-11-19 19:15:01', '0000-00-00 00:00:00'), (1450, 'SUDU749998990016', '', 'RIO NEGRO', '446S', 'LIVORNO (LEGHORN)', 'LIVORNO (LEGHORN)', 'PARANAGUA', 'ITAPOA', 'HH', '161405259899738', '2014-11-26', '2014-12-16', '2014-12-26', '2014-12-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-11-26 18:15:01', '0000-00-00 00:00:00'), (1451, 'SUDU749999027006', '', 'MSC GEMMA', '447S', 'GENOVA', 'GENOVA', 'PARANAGUA', 'ITAPOA', 'HH', '161405265436779', '2014-12-03', '2014-12-23', '2014-12-31', '2015-01-01', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-12-03 18:15:02', '0000-00-00 00:00:00'), (1350, 'SUDUI36051851140', '', 'SANTA CLARA', '349S', 'KARACHI', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161305260901504', '2013-12-11', '2013-12-22', '2013-12-22', '2013-12-23', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2013-12-11 13:04:00', '0000-00-00 00:00:00'), (1470, 'SUDUI560531806KZ', '', 'CAP SAN AUGUSTIN', '510S', 'MUHAMMAD BIN QASIM(PORT Q', 'HAMBURG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505055911178', '2015-03-12', '2015-03-21', '2015-03-21', '2015-03-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-03-12 21:15:02', '0000-00-00 00:00:00'), (1347, 'SUDUN34200410416', '', 'HANJIN ROTTERDAM', '346W', 'KOBE', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161305254758720', '2013-12-03', '2013-12-15', '2013-12-15', '2013-12-16', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'H<NAME>', '2013-12-03 14:02:45', '0000-00-00 00:00:00'), (1323, 'SUDUN34209826413', '', '<NAME>', '', 'KOBE', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305180240110', '0000-00-00', '2013-09-17', '2013-10-03', '2013-10-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-08-30 20:13:23', '0000-00-00 00:00:00'), (1342, 'SUDUN34220325095', '', 'CSCL OCEANIA', '', '<NAME>', 'PORT KELANG', 'PARANAGUA', 'SANTOS', '', '161305243040717', '0000-00-00', '2013-11-27', '2013-12-02', '2013-12-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-16 22:02:22', '0000-00-00 00:00:00'), (1308, 'SUDUN34629349015', '', 'CMA CGM AZURE', '', 'XIAMEN', '<NAME>', 'PARANAGUA', 'ITAJAI', '', '161305135559308', '0000-00-00', '2013-07-16', '2013-07-28', '2013-07-28', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-07-08 17:02:00', '0000-00-00 00:00:00'), (1325, 'SUDUN34630076002', '', 'CAP SAN NICOLAS', '', 'FUZHOU (FU CHO ; FOOCHOW)', '<NAME>', 'PARANAGUA', 'PARANAGUA', '', '161305207186456', '0000-00-00', '2013-10-14', '2013-10-14', '2013-10-15', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-03 19:02:50', '0000-00-00 00:00:00'), (1331, 'SUDUN34630193002', '', 'CSCL AFRICA', '', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305220503230', '0000-00-00', '2013-10-28', '2013-10-28', '2013-10-28', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-18 22:02:02', '0000-00-00 00:00:00'), (1337, 'SUDUN34630325003', '', 'MOL GENEROSITY', '', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305240161815', '0000-00-00', '2013-11-24', '2013-11-24', '2013-11-25', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-13 17:02:37', '0000-00-00 00:00:00'), (1344, 'SUDUN34630511006', '', 'MOL GRATITUDE', '308W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161305249495520', '2013-11-26', '2013-12-08', '2013-12-08', '2013-12-08', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2013-11-26 17:03:08', '0000-00-00 00:00:00'), (1353, 'SUDUN34630574001', '', 'CAP SAN AUGUSTIN', '348W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161305265492769', '2013-12-17', '2013-12-29', '2013-12-29', '2013-12-30', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2013-12-17 14:02:01', '0000-00-00 00:00:00'), (1362, 'SUDUN34630575005', '', 'TENO', '346W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'SANTOS', 'HH', '161305260008516', '2013-12-10', '2013-12-26', '2014-01-14', '2014-01-15', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2013-12-10 13:05:49', '0000-00-00 00:00:00'), (1305, 'SUDUN34639265003', '', 'CAP HATTERAS', '', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305117816582', '0000-00-00', '2013-06-20', '2013-06-20', '2013-06-20', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-06-14 19:06:27', '0000-00-00 00:00:00'), (1306, 'SUDUN34639320007', '', '<NAME>', '', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305123259584', '0000-00-00', '2013-07-16', '2013-07-16', '2013-07-17', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-06-21 19:02:10', '0000-00-00 00:00:00'), (1309, 'SUDUN34639443001', '', 'CAP SAN NICOLAS', '', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305138113840', '0000-00-00', '2013-07-30', '2013-07-30', '2013-07-31', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-07-11 13:02:09', '0000-00-00 00:00:00'), (1317, 'SUDUN34639618002', '', 'AMORITO', '', 'FUZHOU (FU CHO ; FOOCHOW)', 'MONTEVIDEU', 'PARANAGUA', 'PARANAGUA', '', '161305155390104', '0000-00-00', '2013-09-05', '2013-09-05', '2013-09-06', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-08-01 17:02:16', '0000-00-00 00:00:00'), (1320, 'SUDUN34639879002', '', 'SANTA URSULA', '', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', '', '161305189625341', '0000-00-00', '2013-09-24', '2013-09-24', '2013-09-24', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-09-12 14:02:51', '0000-00-00 00:00:00'), (1327, 'SUDUN34710182023', '', 'MOL GLIDE', '', 'TSINGTAO (QINGDAO ; QUING', 'TSINGTAO (QINGDAO ; QUING', 'PARANAGUA', 'PARANAGUA', '', '161305215507304', '0000-00-00', '2013-10-21', '2013-10-21', '2013-10-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-14 18:05:04', '0000-00-00 00:00:00'), (1333, 'SUDUN34710276018', '', 'MOL GROWTH', '', 'TSINGTAO (QINGDAO ; QUING', 'TSINGTAO (QINGDAO ; QUING', 'PARANAGUA', 'PARANAGUA', '', '161305225181983', '0000-00-00', '2013-11-03', '2013-11-03', '2013-11-04', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-10-25 16:02:41', '0000-00-00 00:00:00'), (1341, 'SUDUN34710391002', '', 'CMA CGM TOSCA', '', 'TSINGTAO (QINGDAO ; QUING', 'NINGBO (NINGPO)', 'PARANAGUA', 'SANTOS', '', '161305240963989', '0000-00-00', '2013-11-25', '2013-12-02', '2013-12-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-11-14 11:02:34', '0000-00-00 00:00:00'), (1312, 'SUDUN34719653037', '', 'MOL GARLAND', '', 'TSINGTAO (QINGDAO ; QUING', 'TSINGTAO (QINGDAO ; QUING', 'PARANAGUA', 'PARANAGUA', '', '161305155336320', '0000-00-00', '2013-08-11', '2013-08-11', '2013-08-12', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-08-01 17:02:16', '0000-00-00 00:00:00'), (1321, 'SUDUN34719919002', '', 'MAULLIN', '', 'TSINGTAO (QINGDAO ; QUING', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', '', '161305188608397', '0000-00-00', '2013-09-25', '2013-09-25', '2013-09-26', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-09-11 14:02:48', '0000-00-00 00:00:00'), (1313, 'SUDUN34989653009', '', 'MOL GARLAND', '', 'XINGANG', 'XINGANG', 'PARANAGUA', 'PARANAGUA', '', '161305155337807', '0000-00-00', '2013-08-11', '2013-08-11', '2013-08-12', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-08-01 17:02:16', '0000-00-00 00:00:00'), (1408, 'SUDUN44202156419', '', 'MAERSK SANA', '421W', 'KOBE', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405124610888', '2014-06-17', '2014-06-29', '2014-06-29', '2014-06-29', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-06-17 15:00:01', '0000-00-00 00:00:00'); INSERT INTO `mbls` (`id`, `nMbl`, `navioPrimeiraPerna`, `navio`, `viagem`, `POR`, `POL`, `POD`, `portoTransbordo`, `tipo`, `ceMbl`, `dataRegCeMbl`, `ETA`, `dataAtracMbl`, `dataDesatracMbl`, `dataDesbloqueioMbl`, `freeTimeArmador`, `CnpjCneeMbl`, `vlrFrete`, `vlrTHC`, `moedaFrete`, `armador`, `created_at`, `updated_at`) VALUES (1458, 'SUDUN44204082421', '', 'CAP SAN SOUNIO', '450W', 'KOBE', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505004096396', '2015-01-08', '2015-01-18', '2015-01-18', '2015-01-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-01-08 15:15:01', '0000-00-00 00:00:00'), (1432, 'SUDUN44222677823', '', 'CAP SAN TAINARO', '430W', 'LAEM CHABANG', 'PORT KELANG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405174818261', '2014-08-19', '2014-08-31', '2014-08-31', '2014-09-01', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-08-19 14:15:01', '0000-00-00 00:00:00'), (1461, 'SUDUN44224192401', '', 'SAN FELIPE', '451W', 'LAEM CHABANG', 'PORT KELANG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505009633004', '2015-01-15', '2015-01-25', '2015-01-25', '2015-01-25', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-01-15 16:15:01', '0000-00-00 00:00:00'), (1369, 'SUDUN44591085028', '', 'CAP SAN ANTONIO', '404W', 'NANSHA', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405035294492', '2014-02-19', '2014-03-09', '2014-03-09', '2014-03-09', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-02-19 15:00:01', '0000-00-00 00:00:00'), (1383, 'SUDUN44611419017', '', 'TOLTEN', '410W', 'YANTIAN', 'YANTIAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161405065563742', '2014-03-31', '2014-04-15', '2014-04-15', '2014-04-16', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-03-31 14:00:01', '0000-00-00 00:00:00'), (1370, 'SUDUN44631085004', '', 'TENO', '405W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405039999415', '2014-02-25', '2014-03-11', '2014-03-11', '2014-03-12', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-02-25 15:00:01', '0000-00-00 00:00:00'), (1375, 'SUDUN44631167002', '', 'CAP SAN AUGUSTIN', '407W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'SANTOS', 'HH', '161405052244830', '2014-03-13', '2014-03-21', '2014-03-31', '2014-04-01', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-03-13 19:00:02', '0000-00-00 00:00:00'), (1385, 'SUDUN44631544006', '', 'CAP SAN MARCO', '411W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405075935596', '2014-04-11', '2014-04-20', '2014-04-20', '2014-04-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-04-11 19:00:01', '0000-00-00 00:00:00'), (1391, 'SUDUN44631647004', '', 'CMA CGM TOSCA', '395W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'SANTOS', 'HH', '161405090682571', '2014-05-02', '2014-05-12', '2014-05-18', '2014-05-19', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-05-02 13:00:01', '0000-00-00 00:00:00'), (1397, 'SUDUN44631894ED5', '', '<NAME>', '019W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405105264414', '2014-05-22', '2014-06-02', '2014-06-02', '2014-06-02', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-05-22 17:00:02', '0000-00-00 00:00:00'), (1415, 'SUDUN44632216YF5', '', 'CAP SAN SOUNIO', '423W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405137604024', '2014-07-04', '2014-07-13', '2014-07-13', '2014-07-14', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-07-04 12:00:05', '0000-00-00 00:00:00'), (1424, 'SUDUN44632530BUH', '', 'CSCL OCEANIA', '427W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405156949031', '2014-07-29', '2014-08-10', '2014-08-10', '2014-08-11', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-08-05 20:10:01', '0000-00-00 00:00:00'), (1431, 'SUDUN446326773D5', '', 'CAP SAN TAINARO', '430W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405174812069', '2014-08-19', '2014-08-31', '2014-08-31', '2014-09-01', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-08-19 14:15:01', '0000-00-00 00:00:00'), (1438, 'SUDUN44633118J42', '', '<NAME>', '435W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405207134811', '2014-09-25', '2014-10-05', '2014-10-06', '2014-10-06', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-09-25 17:15:01', '0000-00-00 00:00:00'), (1439, 'SUDUN446332257BE', '', 'CAP SAN SOUNIO', '437W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405219099161', '2014-10-09', '2014-10-19', '2014-10-19', '2014-10-20', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-10-09 17:15:02', '0000-00-00 00:00:00'), (1441, 'SUDUN44633637MH6', '', 'MOL GLIDE', '213W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405253771969', '2014-11-19', '2014-11-27', '2014-11-28', '2014-11-29', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-11-19 11:15:01', '0000-00-00 00:00:00'), (1457, 'SUDUN44634094YWR', '', 'CAP SAN SOUNIO', '450W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505004096124', '2015-01-08', '2015-01-18', '2015-01-18', '2015-01-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-01-08 15:15:01', '0000-00-00 00:00:00'), (1452, 'SUDUN44634117ZZT', '', 'MOL PARTNER', '801W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161405286130873', '2014-12-29', '2015-01-08', '2015-01-09', '2015-01-09', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-12-29 19:15:01', '0000-00-00 00:00:00'), (1464, 'SUDUN44634390EY5', '', 'CMA CGM TIGRIS', '471W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505020382632', '2015-01-29', '2015-02-08', '2015-02-08', '2015-02-09', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-01-29 16:15:01', '0000-00-00 00:00:00'), (1371, 'SUDUN44711126020', '', 'TENO', '405W', 'TSINGTAO (QINGDAO ; QUING', 'PUSAN (BUSAN)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405039997471', '2014-02-25', '2014-03-11', '2014-03-11', '2014-03-12', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-02-25 15:00:01', '0000-00-00 00:00:00'), (1444, 'SUDUN4471379457B', '', '<NAME>', '314W', 'TSINGTAO (QINGDAO ; QUING', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405259389020', '2014-11-26', '2014-12-04', '2014-12-05', '2014-12-06', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-11-26 11:15:01', '0000-00-00 00:00:00'), (1400, 'SUDUN449819290VU', '', 'CMA CGM DON CARLOS', '923W', 'XINGANG', 'PUSAN (BUSAN)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405114568978', '2014-06-04', '2014-06-17', '2014-06-17', '2014-06-18', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2014-06-04 15:00:02', '0000-00-00 00:00:00'), (1467, 'SUDUN546347555TH', '', 'MOL GUARDIAN', '613W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505041467807', '2015-02-25', '2015-03-05', '2015-03-06', '2015-03-06', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-02-25 12:15:01', '0000-00-00 00:00:00'), (1471, 'SUDUN54634854K7C', '', 'SAN VICENTE', '507W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505055768430', '2015-03-12', '2015-03-22', '2015-03-23', '2015-03-24', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-03-12 20:15:01', '0000-00-00 00:00:00'), (1490, 'SUDUN5463636832T', '', 'SAN VICENTE', '520W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505125625500', '2015-06-11', '2015-06-21', '2015-06-22', '2015-06-23', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-06-11 16:15:01', '0000-00-00 00:00:00'), (1500, 'SUDUN54637040SNU', '', 'MOL GENESIS', '514W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505146995960', '2015-07-08', '2015-07-17', '2015-07-17', '2015-07-18', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-07-08 20:15:01', '0000-00-00 00:00:00'), (1505, 'SUDUN5463751664T', '', 'CMA CGM TIGRIS', '523W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505164752534', '2015-07-31', '2015-08-10', '2015-08-10', '2015-08-10', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-07-31 15:15:01', '0000-00-00 00:00:00'), (1513, 'SUDUN54637901V6F', '', 'TOLTEN', '531W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505183793917', '2015-08-25', '2015-09-07', '2015-09-07', '2015-09-08', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-08-25 17:15:02', '0000-00-00 00:00:00'), (1520, 'SUDUN54638383PYP', '', 'TORRENTE', '533W', 'FUZHOU (FU CHO ; FOOCHOW)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'HH', '161505194732787', '2015-09-08', '2015-09-21', '2015-09-22', '2015-09-21', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-09-08 16:15:01', '0000-00-00 00:00:00'), (1468, 'SUDUN54984844SUL', '', 'MOL GLIDE', '714W', 'XINGANG', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505047747305', '2015-03-04', '2015-03-12', '2015-03-13', '2015-03-14', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-03-04 14:15:02', '0000-00-00 00:00:00'), (1532, 'SUDUN55159479960', '', 'CMA CGM MEKONG', '047W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505233159167', '2015-10-27', '2015-11-09', '2015-11-10', '2015-11-09', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-10-27 17:15:01', '0000-00-00 00:00:00'), (1307, 'SUDUT34748170024', '', 'CMA CGM AZURE', '', 'KEELUNG (CHI LUNG)', 'HONG KONG', 'PARANAGUA', 'ITAJAI', '', '161305135557950', '0000-00-00', '2013-07-16', '2013-07-28', '2013-07-28', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', '', '2013-07-08 17:02:00', '0000-00-00 00:00:00'), (1476, 'SUDUT54740177001', '', 'MAERSK LAMANAI', '512W', 'KEELUNG (CHI LUNG)', 'HONG KONG', 'PARANAGUA', 'PARANAGUA', 'PH', '161505080186635', '2015-04-14', '2015-04-28', '2015-04-28', '2015-04-29', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'HAMBURG SUDAMERIKANISCHE', '2015-04-14 13:15:01', '0000-00-00 00:00:00'), (168, 'T4AA18P00', '', 'EASTER ISLAND', '00164N', 'CALLAO', 'CALLAO', 'ITAPOA', 'ITAPOA', 'HH', '171505025976430', '2015-01-17', '2015-02-12', '2015-02-12', '2015-02-12', '0000-00-00', 0, '08225857000111', 0.00, 0.00, '', 'CSAV AUSTRAL SPA', '2015-02-05 14:15:01', '0000-00-00 00:00:00'), (1355, 'VLCE2DP00', '', 'TUBUL', '01348S', 'YANTIAN', 'YANTIAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161305269089772', '2013-12-04', '2014-01-07', '2014-01-07', '2014-01-08', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'CSAV-CIA SUD AMERICANA DE', '2013-12-20 13:02:01', '0000-00-00 00:00:00'), (1356, 'VLCE2DP01', '', 'TUBUL', '01348S', 'YANTIAN', 'YANTIAN', 'PARANAGUA', 'PARANAGUA', 'HH', '161305269089853', '2013-12-04', '2014-01-07', '2014-01-07', '2014-01-08', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'CSAV-CIA SUD AMERICANA DE', '2013-12-20 13:02:01', '0000-00-00 00:00:00'), (1368, 'ZIMUFUZ9002936', '', '<NAME>', '3/W', 'FUZHOU (FU CHO ; FOOCHOW)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405014042907', '2014-01-08', '2014-02-22', '2014-02-22', '2014-02-22', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2014-01-31 10:00:01', '0000-00-00 00:00:00'), (1504, 'ZIMUHKG1450346', '', 'KOTA LAZIM', '1/W', 'ZHONGSHAN', 'SHEKOU', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181505149675626', '2015-07-13', '2015-07-29', '2015-07-29', '2015-07-30', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2015-07-13 15:15:01', '0000-00-00 00:00:00'), (1349, 'ZIMUNGB289828', '', 'OOCL QINGDAO', '48/W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161305240505506', '2013-10-29', '2013-12-21', '2013-12-21', '2013-12-21', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2013-11-13 19:03:06', '0000-00-00 00:00:00'), (1494, 'ZIMUNGB9076203', '', 'VALOR', '9/W', 'NINGBO (NINGPO)', 'NINGBO (NINGPO)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505130140188', '2015-06-17', '2015-07-05', '2015-07-04', '2015-07-05', '0000-00-00', 0, '80251325000186', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2015-06-17 18:15:01', '0000-00-00 00:00:00'), (1377, 'ZIMUORF515470', '', 'MSC ALESSIA', '10/S', 'BALTIMORE', 'BALTIMORE', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181405056793042', '2014-03-05', '2014-04-02', '2014-04-02', '2014-04-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2014-03-19 16:00:01', '0000-00-00 00:00:00'), (1422, 'ZIMUORF533812', '', 'ZIM MOSKVA', '31/S', 'HOUSTON', 'HOUSTON', 'NAVEGANTES', 'NAVEGANTES', 'HH', '181405146383803', '2014-06-30', '2014-08-02', '2014-08-02', '2014-08-03', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2014-07-16 14:00:01', '0000-00-00 00:00:00'), (1358, 'ZIMUSNH7315153', '', 'VALOR', '3/W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161305261870726', '2013-11-26', '2014-01-10', '2014-01-10', '2014-01-10', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2013-12-12 11:04:34', '0000-00-00 00:00:00'), (1366, 'ZIMUSNH7315189', '', 'CMA CGM HUGO', '1/W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161405003495638', '2013-12-16', '2014-02-01', '2014-02-01', '2014-02-02', '0000-00-00', 0, '79608055000139', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2014-01-10 09:00:02', '0000-00-00 00:00:00'), (220, 'ZIMUSNH8700717', '', 'COSCO GERMANY', '8/W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505088569444', '2015-04-23', '2015-05-10', '2015-05-09', '2015-05-10', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2015-04-23 22:15:01', '0000-00-00 00:00:00'), (218, 'ZIMUSNH8700718', '', 'COSCO GERMANY', '8/W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505088569100', '2015-04-23', '2015-05-10', '2015-05-09', '2015-05-10', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2015-04-23 22:15:01', '0000-00-00 00:00:00'), (221, 'ZIMUSNH8700723', '', 'COSCO GERMANY', '8/W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505088569525', '2015-04-23', '2015-05-10', '2015-05-09', '2015-05-10', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2015-04-23 22:15:01', '0000-00-00 00:00:00'), (219, 'ZIMUSNH8700724', '', 'COSCO GERMANY', '8/W', 'SHANGHAI (SHAN HAI)', 'SHANGHAI (SHAN HAI)', 'PARANAGUA', 'PARANAGUA', 'HH', '161505088568472', '2015-04-23', '2015-05-10', '2015-05-09', '2015-05-10', '0000-00-00', 0, '66518390000102', 0.00, 0.00, '', 'ZIM INTEGRATED SHIPPING S', '2015-04-23 22:15:01', '0000-00-00 00:00:00'); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>ohoareau/libs-js # Table: `wpc1_options` # Approximate rows expected in table: 752 # Delete any existing table `wpc1_options` DROP TABLE IF EXISTS `wpc1_options`; # Table structure of table `wpc1_options` CREATE TABLE `wpc1_options` ( `option_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `option_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `option_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `autoload` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes', PRIMARY KEY (`option_id`), UNIQUE KEY `option_name` (`option_name`), KEY `autoload` (`autoload`) ) ENGINE=InnoDB AUTO_INCREMENT=137884 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ; # Data contents of table `wpc1_options` INSERT INTO `wpc1_options` VALUES (1, 'siteurl', 'https://depassezvous.fr', 'yes'), (2, 'home', 'https://depassezvous.fr', 'yes'), (3, 'blogname', 'Challenge #dépassezvous', 'yes'), (4, 'blogdescription', 'Devenez une meilleure version de vous-même', 'yes'), (5, 'users_can_register', '0', 'yes'), (6, 'admin_email', '<EMAIL>', 'yes'), (7, 'start_of_week', '1', 'yes'), (8, 'use_balanceTags', '0', 'yes'), (9, 'use_smilies', '1', 'yes'), (10, 'require_name_email', '1', 'yes');
<filename>Database/procedures/getLoneParentOutput.sql DROP PROCEDURE IF EXISTS getLoneParentOutput; CREATE DEFINER=`root`@`localhost` PROCEDURE `getLoneParentOutput`(IN start_age int(2), IN end_age int(2), IN sexIn VARCHAR(25), IN locality VARCHAR(25)) /* procedure for getting lone parents gets totalPopulation using the totalPopulation function and totalDeprived from LONE_PARENTS_WITH_DEPENDENT_CHILDREN */ BEGIN SELECT ( SELECT totalPopulation(start_age,end_age,sexIn,locality)) AS 'totalPopulation', (SELECT REPLACE(FORMAT(TOTAL *( SELECT totalPopulation(start_age,end_age,sexIn,locality) / (SELECT totalPopulation(start_age,end_age,sexIn,'Dumfries & Galloway')) ) *(SELECT SUM(PERCENT)/100 FROM POP_AGE_PERCENT WHERE AGE BETWEEN start_age AND end_age),0),',','') -- estimate age group size using POP_AGE_PERCENT FROM LONE_PARENTS_WITH_DEPENDANT_CHILDREN WHERE SEX = sexIn -- filter by sex ) AS 'totalDeprived'; END
-- phpMyAdmin SQL Dump -- version 5.1.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost:8889 -- Waktu pembuatan: 05 Nov 2021 pada 15.47 -- Versi server: 5.7.34 -- Versi PHP: 7.4.21 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: `ajaxcrud` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `product` -- CREATE TABLE `product` ( `product_code` varchar(15) NOT NULL, `product_name` varchar(100) DEFAULT NULL, `product_price` int(11) DEFAULT NULL, `stok` int(10) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `product` -- INSERT INTO `product` (`product_code`, `product_name`, `product_price`, `stok`) VALUES ('B0001', '<NAME>', 20000, 20), ('B0002', 'Buku', 10000, 10), ('B0003', 'Penghapus', 2000, 5), ('B0004', 'Tinta', 13000, 20); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `product` -- ALTER TABLE `product` ADD PRIMARY KEY (`product_code`); 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 */;
TRUNCATE TABLE mb_event_attr; INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL001', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL001', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL002', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL002', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL003', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL003', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL004', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL004', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL006', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL006', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL007', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL007', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL008', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL008', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL009', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL010', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_CL010', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB001', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB001', '3', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB001', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB002', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB002', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB002', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB003', '3', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB003', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB003', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB004', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB004', '3', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB004', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB005', '3', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB005', '4', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB005', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB006', '3', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB006', '5', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB006', '2', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB008', '3', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB008', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB008', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB009', '3', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB009', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB009', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB010', '3', 'ATTR', 'CHECK_CLOSE_FEE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB010', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB010', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB010', '5', 'ATTR', 'CHECK_AGENT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL001', '8', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL001', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL002', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL002', '8', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL003', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL003', '8', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL004', '8', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL004', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL005', '8', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL005', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL006', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_GL006', '8', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB001', '4', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB001', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB001', '5', 'ATTR', 'AMT_CALC_TYPE', '0,p', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB001', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB002', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB002', '4', 'ATTR', 'AMT_CALC_TYPE', '0,p', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB002', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB002', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB003', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB003', '11', 'PART', 'CHECK_INIT_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB003', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB003', '4', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB003', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB004', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB004', '4', 'PART', 'CHECK_MISS_NUM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB004', '5', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB004', '9', 'PART', 'CHECK_INIT_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB004', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB004', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB005', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB005', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB005', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB005', '12', 'PART', 'CHECK_INIT_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB005', '4', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB006', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB006', '4', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB006', '10', 'PART', 'CHECK_INIT_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB006', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB006', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB008', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB008', '11', 'PART', 'CHECK_INIT_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB008', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB008', '4', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB008', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL001', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL001', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL002', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL002', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL003', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL003', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL004', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL004', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL006', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL006', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL007', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL007', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL008', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL008', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL009', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL009', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL010', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_CL010', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_GL001', '2', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_GL002', '2', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_GL003', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_GL004', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_GL005', '2', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_GL006', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB001', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB001', '2', 'ATTR', 'AMT_CALC_TYPE', '0,o', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB002', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB002', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB003', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB003', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB004', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB004', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB005', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB005', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB006', '2', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB006', '1', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB008', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB008', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL001', '3', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL001', '9', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL002', '9', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL002', '3', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL003', '3', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL003', '9', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL004', '3', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL004', '9', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL005', '3', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL005', '9', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL006', '9', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_GL006', '3', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB001', '5', 'ATTR', 'AMT_CALC_TYPE', '1,o', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB001', '2', 'ATTR', 'CHECK_RESTRAINT', 'N', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB001', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB001', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB001', '4', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB002', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB002', '4', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB002', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB002', '5', 'ATTR', 'AMT_CALC_TYPE', '1,o', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB002', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '7', 'PART', 'PART_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '8', 'PART', 'PRE_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '6', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '9', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '5', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB003', '4', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB004', '5', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB004', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB004', '4', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB004', '6', 'PART', 'PART_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB004', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB004', '7', 'PART', 'PRE_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB004', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '1', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '6', 'PART', 'CHECK_SG_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '3', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '10', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '8', 'PART', 'PART_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '9', 'PART', 'PRE_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '5', 'PART', 'CHECK_KEEP_BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '4', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB005', '7', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB006', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB006', '5', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB006', '3', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB006', '1', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB006', '6', 'PART', 'PART_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB006', '4', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '3', 'PART', 'CHECK_KEEP_BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '4', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '9', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '5', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '8', 'PART', 'PRE_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '7', 'PART', 'PART_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB008', '6', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL001', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL001', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL001', '4', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL001', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL001', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL001', '1', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL002', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL002', '1', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL002', '4', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL002', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL002', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL002', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL003', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL003', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL003', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL003', '1', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL003', '4', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL003', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL004', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL004', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL004', '1', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL004', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL004', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL004', '4', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL006', '3', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL006', '1', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL006', '4', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL006', '5', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL006', '2', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL007', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL007', '4', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL007', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL007', '1', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL007', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL007', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL008', '4', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL008', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL008', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL008', '1', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL008', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL008', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL009', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL009', '1', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL009', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL009', '4', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL009', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL009', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL010', '5', 'PART', 'CHECK_SG_ISS_AMT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL010', '6', 'PART', 'CHECK_PROD_TERM_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL010', '2', 'ATTR', 'SEC_AMT_CALC', '3,e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL010', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL010', '1', 'ATTR', 'AMT_CALC_TYPE', 'e,f', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DRW_CL010', '4', 'PART', 'CHECK_FUND_TRAN_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL001', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL002', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL003', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL004', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL006', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL007', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL008', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL009', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DUE_CL010', '1', 'ATTR', 'SEC_AMT_CALC', '4,5,6,c,d,q', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL001', '7', 'PART', 'CLIENT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL001', '4', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL001', '5', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL001', '6', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL002', '5', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL002', '4', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL002', '6', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL002', '7', 'PART', 'CLIENT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL003', '7', 'PART', 'CLIENT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL003', '5', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL003', '4', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL003', '6', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL004', '6', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL004', '5', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL004', '4', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL004', '7', 'PART', 'CLIENT_PA', NULL, 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL005', '6', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL005', '7', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL005', '4', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL005', '5', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL006', '4', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL006', '5', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL006', '7', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_GL006', '6', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '7', 'PART', 'BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '5', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '9', 'ATTR', 'NUM_OF_CLIENT', '1', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '10', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '6', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '8', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB001', '4', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '9', 'ATTR', 'NUM_OF_CLIENT', '10', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '6', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '4', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '8', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '7', 'PART', 'BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '5', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB002', '10', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '4', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '8', 'PART', 'RENEW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '9', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '5', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '12', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '10', 'ATTR', 'NUM_OF_CLIENT', '10', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '7', 'PART', 'BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB003', '6', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '4', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '7', 'PART', 'RENEW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '8', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '12', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '10', 'ATTR', 'NUM_OF_CLIENT', '100', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '11', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '5', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB004', '6', 'PART', 'BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '5', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '4', 'ATTR', 'WITHDRAWAL_TYPE', 'S', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '9', 'PART', 'RENEW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '7', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '8', 'PART', 'BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '11', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '10', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB005', '6', 'ATTR', 'NUM_OF_CLIENT', '10', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '8', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '7', 'PART', 'RENEW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '1', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '2', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '5', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '6', 'PART', 'BAL_PA', NULL, 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '12', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '11', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '9', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB006', '4', 'ATTR', 'NUM_OF_CLIENT', '100', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '8', 'PART', 'RENEW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '4', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '9', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '10', 'ATTR', 'NUM_OF_CLIENT', '10', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '6', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '14', 'PART', 'CHECK_STAGE_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '13', 'ATTR', 'STAGE_CHANNEL_AMT_UPDATE', 'Y', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '12', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '7', 'PART', 'BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB008', '5', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '8', 'ATTR', 'NUM_OF_CLIENT', '10', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '4', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '7', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '3', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '2', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '5', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB009', '6', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '8', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '9', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '20', 'PART', 'NATURE_RESTRAINT_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '4', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '7', 'ATTR', 'NUM_OF_CLIENT', '5', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '6', 'PART', 'DOC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB010', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL001', '4', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL001', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL001', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL001', '3', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL002', '3', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL002', '4', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL002', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL002', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL003', '4', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL003', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL003', '3', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL003', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL004', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL004', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL004', '3', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL004', '4', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL006', '1', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL006', '3', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL006', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL006', '4', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL007', '5', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL007', '6', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL007', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL007', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL007', '3', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL007', '4', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL008', '3', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL008', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL008', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL008', '6', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL008', '5', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL008', '4', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL009', '4', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL009', '5', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL009', '3', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL009', '6', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL009', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL009', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL010', '4', 'ATTR', 'SEC_AMT_CALC', '7,8,9,a,b,g,l,m,n,r,v', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL010', '2', 'ATTR', 'AMT_CALC_TYPE', 'g', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL010', '5', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL010', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL010', '6', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('REC_CL010', '3', 'PART', 'REC_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB011', '4', 'ATTR', 'CHECK_SIGN', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB011', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CLOSE_RB011', '3', 'ATTR', 'CHECK_CLOSE_FEE', 'N', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB011', '11', 'PART', 'CHECK_INIT_AMT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB011', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB011', '4', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB011', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CRET_RB011', '3', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB011', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('CYCLE_RB011', '2', 'ATTR', 'AMT_CALC_TYPE', '0', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '5', 'ATTR', 'CHECK_WDRAWN_TYPE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '1', 'PART', 'CHECK_ACCT_STATUS_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '2', 'ATTR', 'CHECK_RESTRAINT', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '3', 'PART', 'CHECK_KEEP_BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '8', 'PART', 'PRE_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '4', 'PART', 'DRA_DEP_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '7', 'PART', 'PART_WITHDRAW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '9', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('DEBT_RB011', '6', 'ATTR', 'AMT_CALC_TYPE', '1', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '7', 'PART', 'BAL_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '9', 'PART', 'DOC_PA', NULL, 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '4', 'PART', 'CLIENT_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '6', 'ATTR', 'WITHDRAWAL_TYPE', 'P', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '1', 'PART', 'PROD_DATE_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '8', 'PART', 'RENEW_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '2', 'ATTR', 'STRUCTURE_TYPE', 'AC', 'E', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '13', 'ATTR', 'STAGE_CHANNEL_AMT_UPDATE', 'Y', 'C', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '3', 'ATTR', 'CHECK_ACCT_NATURE', 'Y', 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '5', 'ATTR', 'OWNERSHIP_TYPE', 'SG', 'F', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_RB011', '12', 'PART', 'CHECK_COMM_PA', NULL, 'A', 'DCITS', NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_MM001', '16', 'PART', 'CHECK_COMM_PA', NULL, 'A', NULL, NULL, NULL); INSERT INTO mb_event_attr (EVENT_TYPE, SEQ_NO, ASSEMBLE_TYPE, ASSEMBLE_ID, ATTR_VALUE, ASSEMBLE_RULE, COMPANY, TRAN_TIMESTAMP, TRAN_TIME) VALUES ('OPEN_MM002', '16', 'PART', 'CHECK_COMM_PA', NULL, 'A', NULL, NULL, NULL); COMMIT;
-----------------------------------------------------------ADDING role actions------------------------------------------------------------- INSERT into EG_ROLEACTION(ROLEID,ACTIONID) select (select id from eg_role where name='Marriage Registration Admin'), id from eg_action where name in ('CreateReligion','Search And View Religion','Religion Success Result','Religion Search Result','Search And Show Edit Religion','Edit Religion','Update Religion','Create Act','Search And View Act','Act Success Result','Act Search Result','Search And Show Edit Act','Edit Act','Update Act','Search And Show Marriage Registration Results','Update Marriage Registration Record'); INSERT into EG_ROLEACTION(ROLEID,ACTIONID) select (select id from eg_role where name='Marriage Registration Creator'), id from eg_action where name in ('View Marriage Registration','SearchRegistration','Search Registration Certificates','Print Marriage Certificates');
<reponame>Bhaskers-Blu-Org2/DataInsightsAsia -- -- Author: <NAME> -- Date: 09/04/2018 -- Purpose: Reports database permissions -- Reference: http://blog.matticus.net/2011/06/tsql-to-list-all-permissions-within.html -- Version: 0.1.0 -- Disclaimer: This script is provided "as is" in accordance with the projects license -- -- History -- When Version Who What -- ----------------------------------------------------------------- -- 09/04/2018 0.1.0 Mlavery Initial coding -- ----------------------------------------------------------------- -- select DB_NAME() as [dbname] , sys.database_permissions.class_desc , sys.database_permissions.type , sys.database_permissions.permission_name , sys.database_permissions.state , sys.database_permissions.state_desc , sys.database_principals.name as [grantee_principal_name] , ISNULL(sys.schemas.name, '') as [schema_name] , ISNULL(AllObjects.name, '') as [object_name] -- , (CASE -- WHEN sys.database_permissions.class = 0 THEN 'GRANT ' + sys.database_permissions.permission_name + ' TO [' + sys.database_principals.name + '];' -- ELSE 'GRANT ' + sys.database_permissions.permission_name + ' ON [' + sys.schemas.name + '].[' + AllObjects.name + '] TO [' + sys.database_principals.name + '];' -- END) as [Grant_Perms_Stmnt] -- , (CASE -- WHEN sys.database_permissions.class = 0 THEN 'DENY ' + sys.database_permissions.permission_name + ' TO [' + sys.database_principals.name + '];' -- ELSE 'DENY ' + sys.database_permissions.permission_name + ' ON [' + sys.schemas.name + '].[' + AllObjects.name + '] TO [' + sys.database_principals.name + '];' -- END) as [Deny_Perms_Stmnt] -- , (CASE -- WHEN sys.database_permissions.class = 0 THEN 'REVOKE ' + sys.database_permissions.permission_name + ' FROM [' + sys.database_principals.name + '];' -- ELSE 'REVOKE ' + sys.database_permissions.permission_name + ' ON [' + sys.schemas.name + '].[' + AllObjects.name + '] FROM [' + sys.database_principals.name + '];' -- END) as [Revoke_Perms_Stmnt] FROM sys.database_permissions INNER JOIN sys.database_principals ON sys.database_principals.principal_id = sys.database_permissions.grantee_principal_id --AND sys.database_principals.name = 'public' --uncomment this line to restrict the output to a single principal LEFT JOIN ( SELECT name, object_id, principal_id, schema_id, parent_object_id, type, type_desc, create_date, modify_date, is_ms_shipped, is_published, is_schema_published FROM sys.objects UNION SELECT name, object_id, principal_id, schema_id, parent_object_id, type, type_desc, create_date, modify_date, is_ms_shipped, is_published, is_schema_published FROM sys.system_objects ) AllObjects ON AllObjects.object_id = sys.database_permissions.major_id LEFT JOIN sys.schemas ON sys.schemas.schema_id = AllObjects.schema_id -- AND sys.schemas.name <> 'sys' -- uncomment this line to exclude system objects --WHERE sys.database_permissions.permission_name NOT IN ('REFERENCES') -- uncomment to filter permission names ORDER BY sys.database_principals.name , sys.database_permissions.class , sys.schemas.name , AllObjects.name
<gh_stars>1-10 -- !Ups DELETE FROM USERS WHERE role = 'ToActivate'; ALTER TABLE USERS ALTER COLUMN email SET NOT NULL, ALTER COLUMN firstname SET NOT NULL, ALTER COLUMN lastname SET NOT NULL; -- !Downs ALTER TABLE USERS ALTER COLUMN email DROP NOT NULL, ALTER COLUMN firstname DROP NOT NULL, ALTER COLUMN lastname DROP NOT NULL;
CREATE PROCEDURE [dbo].[sp_session_create] @User_Agent VARCHAR(256), @Created_By INT AS BEGIN INSERT INTO [Session] ( [User_Agent], [Created_By], [Created_Date], [Updated_By], [Updated_Date], Is_Deleted ) VALUES ( @User_Agent, @Created_By, GETDATE(), @Created_By, GETDATE(), 0 ) SELECT [S].[Id], [S].User_Agent, [S].[User_Id], [S].[Created_By], [S].[Created_Date], [S].[Updated_By], [S].[Updated_Date], [S].Is_Deleted FROM [Session] [S](NOLOCK) WHERE [S].[Id] = SCOPE_IDENTITY() AND S.Is_Deleted = 0 END
<reponame>rhomicom-systems-tech-gh/Rhomicom-DB-Scripts<filename>ORACLE_SQL/RHOMICOM_TABLES/9_HOSP/083_hosp.srvs_prvdrs.sql /* Formatted on 10/6/2014 7:36:16 PM (QP5 v5.126.903.23003) */ CREATE TABLE HOSP.SRVS_PRVDRS (PRVDR_ID NUMBER NOT NULL, PRSN_ID NUMBER, SRVS_TYPE_ID NUMBER, START_DATE VARCHAR (21 BYTE), END_DATE VARCHAR (21 BYTE), CREATED_BY VARCHAR (21 BYTE), CREATION_DATE VARCHAR (21 BYTE), LAST_UPDATE_BY VARCHAR (21 BYTE), LAST_UPDATE_DATE VARCHAR (21 BYTE), PRVDR_GRP_ID NUMBER) TABLESPACE RHODB PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE (PCTINCREASE 0 BUFFER_POOL DEFAULT) LOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING; CREATE UNIQUE INDEX HOSP.IDX_PRVDR_ID ON HOSP.SRVS_PRVDRS (PRVDR_ID) LOGGING TABLESPACE RHODB PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE (PCTINCREASE 0 BUFFER_POOL DEFAULT) NOPARALLEL; ALTER TABLE HOSP.SRVS_PRVDRS ADD ( CONSTRAINT PK_PRVDR_ID PRIMARY KEY (PRVDR_ID)); CREATE SEQUENCE HOSP.SRVS_PRVDRS_SEQ START WITH 1 MAXVALUE 9223372036854775807 MINVALUE 1 NOCYCLE CACHE 20 ORDER; CREATE OR REPLACE TRIGGER HOSP.SRVS_PRVDRS_TRG BEFORE INSERT ON HOSP.SRVS_PRVDRS FOR EACH ROW -- OPTIONALLY RESTRICT THIS TRIGGER TO FIRE ONLY WHEN REALLY NEEDED WHEN (NEW.PRVDR_ID IS NULL) DECLARE V_ID HOSP.SRVS_PRVDRS.PRVDR_ID%TYPE; BEGIN SELECT HOSP.SRVS_PRVDRS_SEQ.NEXTVAL INTO V_ID FROM DUAL; :NEW.PRVDR_ID := V_ID; END SRVS_PRVDRS_TRG;
SELECT COALESCE(id, 1) FROM some_table GROUP BY COALESCE(id, 1)
<reponame>sy3kic/nZEDb ALTER TABLE predb DROP md5; ALTER TABLE predb DROP sha1;
<gh_stars>0 -- タスクテーブルにメモカラムを追加します. ALTER TABLE task ADD COLUMN task_note VARCHAR(256); -- タスク履歴テーブルにメモカラムを追加します. ALTER TABLE task_history ADD COLUMN task_note VARCHAR(256);
CREATE TABLE schema_migrations (version varchar(255) primary key); CREATE TABLE 'genders' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'name' VARCHAR(15) NOT NULL ); CREATE TABLE 'carrers' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'name' VARCHAR(25) NOT NULL ); CREATE TABLE 'countries' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'name' VARCHAR(30) NOT NULL ); CREATE TABLE 'students' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'code' INTEGER NOT NULL, 'names' VARCHAR(50) NOT NULL, 'last_names' VARCHAR(50) NOT NULL, 'email' VARCHAR(50), 'personal_email' VARCHAR(50), 'gender_id' INTEGER, 'carrer_id' INTEGER, 'country_id' INTEGER, FOREIGN KEY(`gender_id`) REFERENCES 'genders' ( 'id' ) ON DELETE CASCADE, FOREIGN KEY(`carrer_id`) REFERENCES 'carrers' ( 'id' ) ON DELETE CASCADE, FOREIGN KEY(`country_id`) REFERENCES 'countries' ( 'id' ) ON DELETE CASCADE ); CREATE TABLE 'courses' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'code' INTEGER NOT NULL, 'name' VARCHAR(25) NOT NULL, 'carrer_id' INTEGER, FOREIGN KEY(`carrer_id`) REFERENCES 'carrers' ( 'id' ) ON DELETE CASCADE ); CREATE TABLE 'teachers' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'code' INTEGER NOT NULL, 'names' VARCHAR(50) NOT NULL, 'last_names' VARCHAR(50) NOT NULL, 'email' VARCHAR(50), 'personal_email' VARCHAR(50), 'gender_id' INTEGER, 'country_id' INTEGER, FOREIGN KEY(`gender_id`) REFERENCES 'genders' ( 'id' ) ON DELETE CASCADE, FOREIGN KEY(`country_id`) REFERENCES 'countries' ( 'id' ) ON DELETE CASCADE ); CREATE TABLE 'sections' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'code' INTEGER NOT NULL, 'course_id' INTEGER, 'teacher_id' INTEGER, FOREIGN KEY(`course_id`) REFERENCES 'courses' ( 'id' ) ON DELETE CASCADE, FOREIGN KEY(`teacher_id`) REFERENCES 'teachers' ( 'id' ) ON DELETE CASCADE ); CREATE TABLE 'sections_students' ( 'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 'section_id' INTEGER, 'student_id' INTEGER, FOREIGN KEY(`section_id`) REFERENCES 'sections' ( 'id' ) ON DELETE CASCADE, FOREIGN KEY(`student_id`) REFERENCES 'students' ( 'id' ) ON DELETE CASCADE ); -- Dbmate schema migrations INSERT INTO schema_migrations (version) VALUES ('20200923124142'), ('20200923124241'), ('20200923124923'), ('20200923125052'), ('20200923125053'), ('20200923125539'), ('20200923132228'), ('20200923132735'), ('20200923133317'), ('20200923223826'), ('20200923223844');
<gh_stars>0 DROP DATABASE IF EXISTS mydb; CREATE DATABASE mydb; SHOW DATABASES; -- OUTPUT: -- Database -- mydb -- information_schema -- mysql -- performance_schema -- test
CREATE USER postgres WITH PASSWORD '<PASSWORD>' CREATEDB; CREATE DATABASE postgres_dev WITH OWNER = postgres ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default CONNECTION LIMIT = -1; CREATE DATABASE postgres_test WITH OWNER = postgres ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default CONNECTION LIMIT = -1; CREATE DATABASE postgres_prod WITH OWNER = postgres ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default CONNECTION LIMIT = -1;
<reponame>jilonghun/xxproject USE db_auth; BEGIN; COMMIT;
<filename>components/automate-workflow-server/schema/revert/to_ids.sql -- Revert to_ids BEGIN; DROP FUNCTION IF EXISTS to_ids( p_enterprise_name enterprises.name%TYPE, p_user_name users.name%TYPE, p_organization_name organizations.name%TYPE, p_project_name projects.name%TYPE, p_pipeline_name pipelines.name%TYPE); COMMIT;
<filename>Squid/src/main/webapp/resources/db/job.sql create table job ( j_no number(5) primary key, j_title varchar2(50 char) not null, -- 제목 j_u_id varchar2(30 char) not null, -- 아이디 j_u_name varchar2(50 char) not null, -- 이름 j_start_date Date not null, j_end_date Date not null, j_start_time varchar2(50 char) not null, j_end_time varchar2(50 char) not null, j_area varchar2(100 char) not null, -- 희망지역 j_date Date not null, -- 등록일 j_intro varchar2(200 char) not null, -- 자기소개 j_pic varchar2(200 char) not null, j_view number(5) not null -- 조회수 ); create sequence job_seq start with 1 increment by 1; insert into job values(job_seq.nextval,'이번주 알바가능 ' ,'admin', 'admin' ,sysdate, sysdate, '13:00:00', '20:00:00', '서울',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'17일 알바가능 ' ,'admin', 'admin', sysdate, sysdate, '15:00', '20:00', '서울 대구 부산',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'18일 알바가능 ' ,'admin', 'admin', sysdate, sysdate, '15:00', '20:00', '서울 경기 인천 부산',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'19일 알바가능 ' ,'admin', 'admin', sysdate, sysdate, '15:00', '20:00', '서울 경기 부산',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'20일 알바가능 ' ,'admin', 'admin', sysdate, sysdate, '15:00', '20:00', '서울 부산 제주',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'21일 알바가능 ' ,'admin', 'admin', sysdate, sysdate, '15:00', '20:00', '경기 인천',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'22일 알바가능 ' ,'admin', 'admin', sysdate, sysdate, '15:00', '20:00', '경기 인천',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'22시 구직' ,'tae', 'tae', sysdate, sysdate, '15:00', '22:00', '전국',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'21시 구직' ,'tae', 'tae', sysdate, sysdate, '15:00', '21:00', '전국',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'20시 구직' ,'tae', 'tae', sysdate, sysdate, '15:00', '20:00', '전국',sysdate, '잘 부탁드립니다.','a.jpg' ,0); insert into job values(job_seq.nextval,'19시 구직' ,'tae', 'tae', sysdate, sysdate, '15:00', '19:00', '전국',sysdate, '잘 부탁드립니다.','a.jpg' ,0); select * from job; select * from job order by j_no; select j_no, j_title, j_u_id, j_u_name, j_age ,j_start_date, j_end_date, j_start_time, j_end_time, j_area , j_date, j_intro, u_address, u_address2 from job, user_info where j_u_id = u_id; delete job; drop table job cascade constraint purge; drop sequence job_seq; ALTER TABLE job DROP COLUMN j_age;