sql
stringlengths
6
1.05M
DROP DATABASE IF EXISTS `test002`; CREATE DATABASE `test002`; USE `test002`; DROP TABLE IF EXISTS `test201`; CREATE TABLE `test201` ( `col` text COLLATE utf8mb4_unicode_ci ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO `test201` VALUES ('áéíóú'); INSERT INTO `test201` VALUES ('🎲'); INSERT INTO `test201` VALUES ('🎭'); INSERT INTO `test201` VALUES ('💩'); INSERT INTO `test201` VALUES ('🐈');
<filename>backend-knowledge-base/3.mybatis-plus/mybatis-plus.sql<gh_stars>0 /* Navicat Premium Data Transfer Source Server : 本地 Source Server Type : MySQL Source Server Version : 50730 Source Host : localhost:3306 Source Schema : mybatis-plus Target Server Type : MySQL Target Server Version : 50730 File Encoding : 65001 Date: 15/06/2021 10:28:45 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for permission -- ---------------------------- DROP TABLE IF EXISTS `permission`; CREATE TABLE `permission` ( `id` bigint(20) NOT NULL COMMENT '主键ID', `permissioncode` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限编号', `permissionname` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限名字', `path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '映射路径', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of permission -- ---------------------------- INSERT INTO `permission` VALUES (1, '111', '随便乱来', NULL); INSERT INTO `permission` VALUES (2, '222', '偶尔乱来', NULL); INSERT INTO `permission` VALUES (3, '333', '小小乱来', NULL); -- ---------------------------- -- Table structure for role -- ---------------------------- DROP TABLE IF EXISTS `role`; CREATE TABLE `role` ( `id` bigint(20) NOT NULL COMMENT '主键ID', `rolecode` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色编号', `rolename` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色名字', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of role -- ---------------------------- INSERT INTO `role` VALUES (1, '001', '总裁'); INSERT INTO `role` VALUES (2, '002', '院长'); INSERT INTO `role` VALUES (3, '003', '组长'); -- ---------------------------- -- Table structure for rolepermission -- ---------------------------- DROP TABLE IF EXISTS `rolepermission`; CREATE TABLE `rolepermission` ( `id` bigint(20) NOT NULL COMMENT '主键ID', `rolecode` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色编号', `permissioncode` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限编号', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of rolepermission -- ---------------------------- INSERT INTO `rolepermission` VALUES (1, '001', '111'); INSERT INTO `rolepermission` VALUES (2, '002', '222'); INSERT INTO `rolepermission` VALUES (3, '003', '333'); -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` bigint(20) NOT NULL COMMENT '主键ID', `NAME` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名', `age` int(11) NULL DEFAULT NULL COMMENT '年龄', `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES (1, 'cuihua', 18, '<EMAIL>'); INSERT INTO `user` VALUES (2, 'huahua', 20, '<EMAIL>'); INSERT INTO `user` VALUES (3, 'cunhua', 28, '<EMAIL>'); INSERT INTO `user` VALUES (4, 'laowang', 21, '<EMAIL>'); INSERT INTO `user` VALUES (5, 'xiaomei', 24, '<EMAIL>'); -- ---------------------------- -- Table structure for userrole -- ---------------------------- DROP TABLE IF EXISTS `userrole`; CREATE TABLE `userrole` ( `id` bigint(20) NOT NULL COMMENT '主键ID', `username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', `rolecode` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色编号', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of userrole -- ---------------------------- INSERT INTO `userrole` VALUES (1, 'cuihua', '001'); INSERT INTO `userrole` VALUES (2, 'chunhua', '003'); INSERT INTO `userrole` VALUES (3, 'huahua', '002'); SET FOREIGN_KEY_CHECKS = 1;
-- MySQL dump 10.16 Distrib 10.1.24-MariaDB, for Linux (x86_64) -- -- Host: h2627939.stratoserver.net Database: healthcare -- ------------------------------------------------------ -- Server version 10.1.24-MariaDB-1~xenial /*!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 `abstract_sub_task` -- DROP TABLE IF EXISTS `abstract_sub_task`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `abstract_sub_task` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `beacon` -- DROP TABLE IF EXISTS `beacon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `beacon` ( `uuid` varchar(33) NOT NULL, `major` int(11) DEFAULT NULL, `minor` int(11) DEFAULT NULL, PRIMARY KEY (`uuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `beacon_object` -- DROP TABLE IF EXISTS `beacon_object`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `beacon_object` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `beacon_object_type` varchar(255) DEFAULT NULL, `name` varchar(255) DEFAULT NULL, `state` int(11) DEFAULT 1, `beacon_uuid` varchar(33) NOT NULL DEFAULT NULL, `location_id` bigint(20) NOT NULL DEFAULT NULL, `picture_of_object_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FKjqbijibyarj7uv9uua7bqu2rn` (`beacon_uuid`), KEY `FK9xts58oihpnx9cpii3jrrtdag` (`location_id`), KEY `FKbe6y81m5117wrfxr6hogr3pdd` (`picture_of_object_id`), CONSTRAINT `beacon_object_to_location` FOREIGN KEY (`location_id`) REFERENCES `location` (`id`), CONSTRAINT `beacon_object_to_picture_of_object` FOREIGN KEY (`picture_of_object_id`) REFERENCES `picture_of_object` (`id`), CONSTRAINT `beacon_object_to_beacon` FOREIGN KEY (`beacon_uuid`) REFERENCES `beacon` (`uuid`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `beacon_object` -- -- -- Table structure for table `cleaning_task` -- DROP TABLE IF EXISTS `cleaning_task`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `cleaning_task` ( `id` bigint(20) NOT NULL, PRIMARY KEY (`id`), CONSTRAINT `cleaning_task_to_task` FOREIGN KEY (`id`) REFERENCES `task` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `location` -- DROP TABLE IF EXISTS `location`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `location` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `building` int(11) NOT NULL, `floor` int(11) NOT NULL, `room` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `maintainance_task` -- DROP TABLE IF EXISTS `maintainance_task`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `maintainance_task` ( `repeat_task_in_day` int(11) DEFAULT NULL, `id` bigint(20) NOT NULL, `picture_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FKo3fbiamhvs4lrr0emam839f7j` (`picture_id`), CONSTRAINT `maintainance_task_to_task` FOREIGN KEY (`id`) REFERENCES `task` (`id`), CONSTRAINT `maintainance_task_to_picture_of_object` FOREIGN KEY (`picture_id`) REFERENCES `picture_of_object` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `maintainance_task_sub_tasks` -- DROP TABLE IF EXISTS `maintainance_task_sub_tasks`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `maintainance_task_sub_tasks` ( `maintainance_task_id` bigint(20) NOT NULL, `sub_tasks_id` bigint(20) NOT NULL, UNIQUE KEY `<KEY>` (`sub_tasks_id`), KEY `FKjc48bk0i6xru2008kwwmptyur` (`maintainance_task_id`), CONSTRAINT `maintainance_task_sub_tasks_to_maintainance_task` FOREIGN KEY (`maintainance_task_id`) REFERENCES `maintainance_task` (`id`), CONSTRAINT `maintainance_task_sub_tasks_to_sub_task` FOREIGN KEY (`sub_tasks_id`) REFERENCES `abstract_sub_task` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `picture_of_object` -- DROP TABLE IF EXISTS `picture_of_object`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `picture_of_object` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `picture` mediumblob, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `role` -- DROP TABLE IF EXISTS `role`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `role` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `sub_task_checkbox` -- DROP TABLE IF EXISTS `sub_task_checkbox`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sub_task_checkbox` ( `value` bit(1) NOT NULL, `id` bigint(20) NOT NULL, PRIMARY KEY (`id`), CONSTRAINT `sub_task_checkbox_to_abstract_sub_task` FOREIGN KEY (`id`) REFERENCES `abstract_sub_task` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `sub_task_image` -- DROP TABLE IF EXISTS `sub_task_image`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sub_task_image` ( `picture` mediumblob, `id` bigint(20) NOT NULL, PRIMARY KEY (`id`), CONSTRAINT `sub_task_image_to_abstract_sub_task` FOREIGN KEY (`id`) REFERENCES `abstract_sub_task` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `sub_task_slider` -- DROP TABLE IF EXISTS `sub_task_slider`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sub_task_slider` ( `value` int(11) NOT NULL, `id` bigint(20) NOT NULL, PRIMARY KEY (`id`), CONSTRAINT `sub_task_slider_to_abstract_sub_task` FOREIGN KEY (`id`) REFERENCES `abstract_sub_task` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `task` -- DROP TABLE IF EXISTS `task`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `task` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `accepted_time` datetime DEFAULT NULL, `closed_time` datetime DEFAULT NULL, `creation_time` datetime NOT NULL, `description` varchar(255) NOT NULL, `last_edited` datetime NOT NULL, `level` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `state` int(11) DEFAULT NULL, `beacon_object_id` bigint(20) NOT NULL, `creator_id` bigint(20) NOT NULL, `editor_id` bigint(20) DEFAULT NULL, `role_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FK6iuwjq9weqnme5lil8xo9l531` (`beacon_object_id`), KEY `FKqc1galw66ryn480v0lygu3n4c` (`creator_id`), KEY `FKk3e76d3ou73nevqstaw1nfib1` (`editor_id`), KEY `FKqyr43lnks4pso90vm1d16w4ry` (`role_id`), CONSTRAINT `task_to_beacon_object_id` FOREIGN KEY (`beacon_object_id`) REFERENCES `beacon_object` (`id`), CONSTRAINT `task_to_user_editor` FOREIGN KEY (`editor_id`) REFERENCES `user` (`id`), CONSTRAINT `task_to_user_creator` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`), CONSTRAINT `task_to_role` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `transport_task` -- DROP TABLE IF EXISTS `transport_task`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transport_task` ( `id` bigint(20) NOT NULL, `target_location_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FK3f0au1wndq66fuw7v5wfbfjsg` (`target_location_id`), CONSTRAINT `transport_task_to_location` FOREIGN KEY (`target_location_id`) REFERENCES `location` (`id`), CONSTRAINT `transport_task_to_task` FOREIGN KEY (`id`) REFERENCES `task` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `email` varchar(255) NOT NULL, `last_update` datetime NOT NULL, `name` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `role_id` bigint(20) NOT NULL, PRIMARY KEY (`id`), KEY `FKn82ha3ccdebhokx3a8fgdqeyy` (`role_id`), CONSTRAINT `user_to_role` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- Start daten um admin zu setzen LOCK TABLES `role` WRITE; INSERT INTO `role` (`id`,`name`) VALUES (1,'Administrator'); UNLOCK TABLES; LOCK TABLES `user` WRITE; INSERT INTO `user` (`name`,`password`,`email`,`last_update`,`role_id`) VALUES ('user','123456',' ',CURRENT_TIMESTAMP,2); UNLOCK TABLES; --Testdaten /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; LOCK TABLES `role` WRITE; INSERT INTO `role` (`id`,`name`) VALUES (2,'User'); INSERT INTO `role` (`id`,`name`) VALUES (3,'Schieber'); INSERT INTO `role` (`id`,`name`) VALUES (4,'Techniker'); UNLOCK TABLES; LOCK TABLES `user` WRITE; INSERT INTO `user` (`name`,`password`,`email`,`last_update`,`role_id`) VALUES ('w','1',' ',CURRENT_TIMESTAMP,3); INSERT INTO `user` (`name`,`password`,`email`,`last_update`,`role_id`) VALUES ('t','1',' ',CURRENT_TIMESTAMP,4); UNLOCK TABLES; LOCK TABLES `location` WRITE; INSERT INTO `location` (`id`,`building`,`floor`,`room`) VALUES (1,1,1,1); INSERT INTO `location` (`id`,`building`,`floor`,`room`) VALUES (2,1,1,2); INSERT INTO `location` (`id`,`building`,`floor`,`room`) VALUES (3,1,2,1); INSERT INTO `location` (`id`,`building`,`floor`,`room`) VALUES (4,1,2,2); INSERT INTO `location` (`id`,`building`,`floor`,`room`) VALUES (5,2,1,1); UNLOCK TABLES; LOCK TABLES `beacon` WRITE; INSERT INTO `beacon` (`uuid`,`major`,`minor`) VALUES ("00000001-healthcarew123456789101",1,1); INSERT INTO `beacon` (`uuid`,`major`,`minor`) VALUES ("00000002-healthcarew123456789101",1,2); INSERT INTO `beacon` (`uuid`,`major`,`minor`) VALUES ("00000003-healthcarew123456789101",2,1); INSERT INTO `beacon` (`uuid`,`major`,`minor`) VALUES ("00000004-healthcarew123456789101",2,2); INSERT INTO `beacon` (`uuid`,`major`,`minor`) VALUES ("00000005-healthcarew123456789101",3,2); UNLOCK TABLES; LOCK TABLES `beacon_object` WRITE; INSERT INTO `beacon_object` (`id`,`beacon_object_type`,`name`,`state`,`beacon_uuid`,`location_id`) VALUES (1,"Standardbett","beacon",1,"00000005-healthcarew123456789101",1); INSERT INTO `beacon_object` (`id`,`beacon_object_type`,`name`,`state`,`beacon_uuid`,`location_id`) VALUES (2,"Kinderbett","beacon",1,"00000001-healthcarew123456789101",2); INSERT INTO `beacon_object` (`id`,`beacon_object_type`,`name`,`state`,`beacon_uuid`,`location_id`) VALUES (3,"Brandschutztür","beacon",1,"00000002-healthcarew123456789101",3); UNLOCK TABLES; LOCK TABLES `task` WRITE; INSERT INTO `task` (`id`,`creation_time`,`description`,`last_edited`,`level`,`state`,`beacon_object_id`,`creator_id`,`role_id`,`name`) VALUES (1, CURRENT_TIMESTAMP,"eine wichtige Aufgabe",CURRENT_TIMESTAMP,1,1,1,2,1,"Transi"); INSERT INTO `task` (`id`,`creation_time`,`description`,`last_edited`,`level`,`state`,`beacon_object_id`,`creator_id`,`role_id`,`name`) VALUES (2, CURRENT_TIMESTAMP,"eine wichtige Aufgabe",CURRENT_TIMESTAMP,1,1,2,2,1,"Maini"); INSERT INTO `task` (`id`,`creation_time`,`description`,`last_edited`,`level`,`state`,`beacon_object_id`,`creator_id`,`role_id`,`name`) VALUES (3, CURRENT_TIMESTAMP,"eine wichtige Aufgabe",CURRENT_TIMESTAMP,1,1,3,2,1,"Cleani"); UNLOCK TABLES; LOCK TABLES `transport_task` WRITE; INSERT INTO `transport_task` (`id`,`target_location_id`) VALUES (1,5); UNLOCK TABLES; LOCK TABLES `cleaning_task` WRITE; INSERT INTO `cleaning_task` (`id`) VALUES (3); UNLOCK TABLES; LOCK TABLES `maintainance_task` WRITE; INSERT INTO `maintainance_task` (`repeat_task_in_days`,`id`) VALUES (1,2); UNLOCK TABLES; /*!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 */;
<gh_stars>1-10 -- {"id":100,"name":"lb james阿道夫","money":293.899778,"dateone":"2020-07-30 10:08:22","age":"33","datethree":"2020-07-30 10:08:22.123","datesix":"2020-07-30 10:08:22.123456","datenigth":"2020-07-30 10:08:22.123456789","dtdate":"2020-07-30","dttime":"10:08:22"} CREATE TABLE source ( id INT, name STRING, money decimal, dateone timestamp, age bigint, datethree timestamp, datesix timestamp(6), datenigth timestamp(9), dtdate date, dttime time, PROCTIME AS PROCTIME() ) WITH ( 'connector' = 'kafka-x' ,'topic' = 'da' ,'properties.bootstrap.servers' = 'kudu1:9092' ,'properties.group.id' = 'luna_g' ,'scan.startup.mode' = 'earliest-offset' -- ,'scan.startup.mode' = 'latest-offset' ,'format' = 'json' ,'json.timestamp-format.standard' = 'SQL' ); -- CREATE TABLE `flink_out` ( -- `id` int(11) DEFAULT NULL, -- `name` varchar(255) DEFAULT NULL, -- `money` decimal(9,6) DEFAULT NULL, -- `age` bigint(20) DEFAULT NULL, -- `datethree` timestamp NULL DEFAULT NULL, -- `datesix` timestamp NULL DEFAULT NULL, -- `phone` bigint(20) DEFAULT NULL, -- `wechat` varchar(255) DEFAULT NULL, -- `income` decimal(9,6) DEFAULT NULL, -- `birthday` timestamp NULL DEFAULT NULL, -- `dtdate` date DEFAULT NULL, -- `dttime` time DEFAULT NULL, -- `today` date DEFAULT NULL, -- `timecurrent` time DEFAULT NULL, -- `dateone` timestamp NULL DEFAULT NULL, -- `aboolean` tinyint(1) DEFAULT NULL, -- `adouble` double DEFAULT NULL, -- `afloat` float DEFAULT NULL, -- `achar` char(1) DEFAULT NULL, -- `abinary` binary(1) DEFAULT NULL, -- `atinyint` tinyint(4) DEFAULT NULL -- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 -- INSERT INTO test.flink_out (id, name, money, age, datethree, datesix, phone, wechat, income, birthday, dtdate, dttime, today, timecurrent, dateone) VALUES (100, '<NAME>', 30.230000, 30, '2020-03-03 03:03:03', '2020-06-06 06:06:06', 11111111111111, '这是我的wechat', 23.120000, '2020-10-10 10:10:10', '2020-12-12', '12:12:12', '2020-10-10', '10:10:10', '2020-01-01 01:01:01'); -- INSERT INTO test.flink_out (id, name, money, age, datethree, datesix, phone, wechat, income, birthday, dtdate, dttime, today, timecurrent, dateone) VALUES (100, '<NAME>', 30.230000, 30, '2020-03-03 03:03:03', '2020-06-06 06:06:06', 11111111111111, '这是我的wechat', 23.120000, '2020-10-10 10:10:10', '2020-12-12', '12:12:12', '2020-10-10', '10:10:10', '2020-01-01 01:01:01'); CREATE TABLE side ( id int, name varchar, money decimal, dateone timestamp, age bigint, datethree timestamp, datesix timestamp, phone bigint, wechat varchar, income decimal, birthday timestamp, dtdate date, dttime time, today date, timecurrent time, aboolean boolean, adouble double, afloat float, achar char, abinary BYTES, atinyint tinyint, PRIMARY KEY (id) NOT ENFORCED ) WITH ( 'connector' = 'mysql-x', 'url' = 'jdbc:mysql://localhost:3306/test', 'table-name' = 'flink_out', 'username' = 'root', 'password' = '<PASSWORD>' ,'lookup.cache-type' = 'all' -- 维表缓存类型(NONE、LRU、ALL),默认:LRU ,'lookup.cache-period' = '4600000' -- ALL维表每隔多久加载一次数据,默认:3600000毫秒 ,'lookup.cache.max-rows' = '20000' -- lru维表缓存数据的条数,默认:10000条 ,'lookup.cache.ttl' = '700000' -- lru维表缓存数据的时间,默认:60000毫秒 ,'lookup.fetchSize' = '2000' -- ALL维表每次从数据库加载的条数,默认:1000条 ,'lookup.asyncTimeout' = '30000' -- lru维表缓访问超时时间,默认:10000毫秒,暂时没用到 ); -- CREATE TABLE `flink_type` ( -- `id` int(11) DEFAULT NULL, -- `name` varchar(255) DEFAULT NULL, -- `money` decimal(9,6) DEFAULT NULL, -- `age` bigint(20) DEFAULT NULL, -- `datethree` timestamp NULL DEFAULT NULL, -- `datesix` timestamp NULL DEFAULT NULL, -- `phone` bigint(20) DEFAULT NULL, -- `wechat` varchar(255) DEFAULT NULL, -- `income` decimal(9,6) DEFAULT NULL, -- `birthday` timestamp NULL DEFAULT NULL, -- `dtdate` date DEFAULT NULL, -- `dttime` time DEFAULT NULL, -- `today` date DEFAULT NULL, -- `timecurrent` time DEFAULT NULL, -- `dateone` timestamp NULL DEFAULT NULL, -- `aboolean` tinyint(1) DEFAULT '1', -- `adouble` double DEFAULT '123.134', -- `afloat` float DEFAULT '23.4', -- `achar` char(1) DEFAULT 'a', -- `abinary` binary(1) DEFAULT '1', -- `atinyint` tinyint(4) DEFAULT '12' -- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CREATE TABLE sink ( id int, name varchar, money decimal, dateone timestamp, age bigint, datethree timestamp, datesix timestamp, phone bigint, wechat varchar, income decimal, birthday timestamp, dtdate date, dttime time, today date, timecurrent time, aboolean boolean, adouble double, afloat float, achar char, abinary BYTES, atinyint tinyint , PRIMARY KEY (id) NOT ENFORCED -- 如果定义了,则根据该字段更新。否则追加 ) WITH ( -- 'connector' = 'stream-x' 'connector' = 'mysql-x', 'url' = 'jdbc:mysql://localhost:3306/test', 'table-name' = 'flink_type', 'username' = 'root', 'password' = '<PASSWORD>', 'sink.buffer-flush.max-rows' = '1024', -- 批量写数据条数,默认:1024 'sink.buffer-flush.interval' = '10000', -- 批量写时间间隔,默认:10000毫秒 'sink.allReplace' = 'true', -- 解释如下(其他rdb数据库类似):默认:false。定义了PRIMARY KEY才有效,否则是追加语句 -- sink.allReplace = 'true' 生成如:INSERT INTO `result3`(`mid`, `mbb`, `sid`, `sbb`) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE `mid`=VALUES(`mid`), `mbb`=VALUES(`mbb`), `sid`=VALUES(`sid`), `sbb`=VALUES(`sbb`) 。会将所有的数据都替换。 -- sink.allReplace = 'false' 生成如:INSERT INTO `result3`(`mid`, `mbb`, `sid`, `sbb`) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE `mid`=IFNULL(VALUES(`mid`),`mid`), `mbb`=IFNULL(VALUES(`mbb`),`mbb`), `sid`=IFNULL(VALUES(`sid`),`sid`), `sbb`=IFNULL(VALUES(`sbb`),`sbb`) 。如果新值为null,数据库中的旧值不为null,则不会覆盖。 'sink.parallelism' = '1' -- 写入结果的并行度,默认:null ); create TEMPORARY view view_out as select u.id , u.name , u.money , u.dateone , u.age , u.datethree , u.datesix , s.phone , s.wechat , s.income , s.birthday , u.dtdate , u.dttime , s.today , s.timecurrent , s.aboolean , s.adouble , s.afloat , s.achar , s.abinary , s.atinyint from source u left join side FOR SYSTEM_TIME AS OF u.PROCTIME AS s on u.id = s.id; insert into sink select * from view_out;
use openbaton; CREATE TABLE IF NOT EXISTS base_user_roles ( base_user_id varchar(255), roles_id VARCHAR(255), primary key (base_user_id , roles_id)); DROP PROCEDURE IF EXISTS ReeBAR; DELIMITER ;; CREATE PROCEDURE ReeBAR() BEGIN DECLARE done INT DEFAULT FALSE; DECLARE usr_id VARCHAR(255); DECLARE rl_id VARCHAR(255); DECLARE cursor_i CURSOR FOR SELECT users_id, roles_id FROM users_roles; DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; OPEN cursor_i; read_loop: LOOP FETCH cursor_i INTO usr_id, rl_id; IF done THEN LEAVE read_loop; END IF; insert into base_user_roles(base_user_id, roles_id) values(usr_id,rl_id); END LOOP; CLOSE cursor_i; END; ;; DELIMITER ; CALL ReeBAR(); -- -- SET usr_id := (SELECT users_id INTO usr_id FROM users_roles); -- SET rl_id := (SELECT roles_id INTO rl_id FROM users_roles); -- insert into base_user_roles(base_user_id, roles_id) values(usr_id,rl_id);
DROP TABLE IF EXISTS skip_idx_comp_parts; CREATE TABLE skip_idx_comp_parts (a Int, b Int, index b_idx b TYPE minmax GRANULARITY 4) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity=256, merge_max_block_size=100; SYSTEM STOP MERGES; INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200); INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200); INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200); INSERT INTO skip_idx_comp_parts SELECT number, number FROM numbers(200); SYSTEM START MERGES; OPTIMIZE TABLE skip_idx_comp_parts FINAL; SELECT count() FROM skip_idx_comp_parts WHERE b > 100; DROP TABLE skip_idx_comp_parts;
<filename>obevo-db-impls/obevo-db-db2/src/test/resources/platforms/db2/step1/DEPLOY_TRACKER/table/TABLE_B.ddl CREATE TABLE TABLE_B ( B_ID INT NOT NULL, B_FIELD INT NULL, CONSTRAINT PK PRIMARY KEY (B_ID) ) IN ${defaultTablespace} CREATE INDEX TABLE_B_IND1 ON TABLE_B(B_FIELD) GO
<reponame>shahin/gpdb -- @gucs gp_create_table_random_default_distribution=off select * from aoschema1.ao_table3; select * from coschema1.co_table3;
create table run ( id text primary key not null, cwd text, description text, -- command line or other descriptive argument data start_time int, -- timestamps as time.time() values end_time int, -- error handling error_message text, traceback text, -- performance data stats text ); create index if not exists run_id_idx on run (id); create table trace ( id integer primary key autoincrement not null, run_id text not null references run(id), thread_id text, -- separate calls from different threads call_id text, -- might be null for code outside a function event text not null, -- the type of event that happened -- where the event happened filename text, line_no int, func_name text, trace_arg text, -- the "arg" argument to the trace function, json-encoded local_vars text, -- json-encoded dict timestamp int ); -- a view to help produce the counts of the unique locations executed by a thread CREATE VIEW IF NOT EXISTS location_counts AS SELECT run_id, thread_id, COUNT(*) as num_locations FROM (SELECT DISTINCT run_id, thread_id, filename, line_no AS location FROM trace) GROUP BY run_id, thread_id ; create index if not exists trace_run_id_idx on trace (run_id); create table file ( signature text primary key not null, name text, body text ); create unique index if not exists file_signature_name_idx on file(signature, name); create table run_file ( run_id text not null references run(id), signature text not null references file(signature) ); create unique index if not exists run_file_id_signature_idx on run_file(run_id, signature);
<gh_stars>0 650,5,0 3976,1,0 2620,5,0 601,2,0 502,5,0 13290,3,0
COMMENT ON CAST (text AS int4) IS 'Allow casts from text to int4';
EXEC sys.sp_configure N'remote access', N'1' GO RECONFIGURE WITH OVERRIDE GO
<reponame>binderclip/code-snippets-mysql SELECT 'David!' LIKE 'David_'; -- 1 SELECT 'David!' LIKE 'David__'; -- 0 SELECT 'David!' LIKE '%Dav%'; -- 1 SELECT 'David!' LIKE 'av%'; -- 0 SELECT * FROM foo5 WHERE g LIKE 'b%'; SELECT * FROM foo5 WHERE g LIKE '%b'; SELECT * FROM foo5 WHERE g LIKE '%b%'; SELECT * FROM foo5 WHERE g LIKE 'b%g'; SELECT * FROM foo5; SELECT * FROM foo5 WHERE g LIKE '%'; SELECT * FROM foo5 WHERE g LIKE 'b_defg';
Select sd.godina, sd.vrsta_Dok, sd.broj_dok , sum(sd.z_troskovi) z_tro_st , round(sum( round(kolicina*(cena1),4) - round(kolicina*cena*(1-rabat/100),4) ) ,2 ) z_tro_pr , (Select sum(z.IZNOS_TROSKA) From ZAVISNI_TROSKOVI_stavke z where z.godina = sd.godina and z.vrsta_Dok = sd.vrsta_Dok and z.broj_dok = sd.broj_dok ) z_tro_z From stavka_dok sd Where (sd.godina, sd.vrsta_Dok, sd.broj_dok) in (Select d.godina, d.vrsta_Dok, d.broj_dok From ZAVISNI_TROSKOVI_stavke d ) Group by sd.godina, sd.vrsta_Dok, sd.broj_dok
<filename>database/sql/rekruitmen (1).sql<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jun 02, 2016 at 06:54 AM -- Server version: 10.1.8-MariaDB -- PHP Version: 5.6.14 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: `rekruitmen` -- -- -------------------------------------------------------- -- -- Table structure for table `headers` -- CREATE TABLE `headers` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `headers` -- INSERT INTO `headers` (`id`, `name`, `email`, `file_name`, `slug`, `created_at`, `updated_at`) VALUES (17, 'ncok', '<EMAIL>', 'BAB 1.doc', '', '2016-05-30 20:58:56', '2016-05-30 20:58:56'), (26, '<NAME>', 'corn.<EMAIL>', '<NAME>', '', '2016-05-30 22:53:13', '2016-05-30 22:53:13'); -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`migration`, `batch`) VALUES ('2014_10_12_000000_create_users_table', 1), ('2016_05_30_030434_registrant', 1), ('2016_04_27_032152_create_students_table', 1), ('2016_04_28_020007_create_headers_table', 2); -- -------------------------------------------------------- -- -- Table structure for table `registrant` -- CREATE TABLE `registrant` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `file_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 'admin', '<EMAIL>', <PASSWORD>', '<PASSWORD>', '2016-05-30 22:01:34', '2016-06-01 21:16:39'); -- -- Indexes for dumped tables -- -- -- Indexes for table `headers` -- ALTER TABLE `headers` ADD PRIMARY KEY (`id`); -- -- Indexes for table `registrant` -- ALTER TABLE `registrant` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `headers` -- ALTER TABLE `headers` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27; -- -- AUTO_INCREMENT for table `registrant` -- ALTER TABLE `registrant` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- Find names of all employees who have sold over 50,000 SELECT employee.first_name, employee.last_name FROM employee WHERE employee.emp_id IN (SELECT works_with.emp_id FROM works_with WHERE works_with.total_sales > 50000); -- Find all clients who are handles by the branch that <NAME> manages -- Assume you know Michael's ID SELECT client.client_id, client.client_name FROM client WHERE client.branch_id = (SELECT branch.branch_id FROM branch WHERE branch.mgr_id = 102); -- Find all clients who are handles by the branch that <NAME> manages -- Assume you DONT'T know Michael's ID SELECT client.client_id, client.client_name FROM client WHERE client.branch_id = (SELECT branch.branch_id FROM branch WHERE branch.mgr_id = (SELECT employee.emp_id FROM employee WHERE employee.first_name = 'Michael' AND employee.last_name ='Scott' LIMIT 1)); -- Find the names of employees who work with clients handled by the scranton branch SELECT employee.first_name, employee.last_name FROM employee WHERE employee.emp_id IN ( SELECT works_with.emp_id FROM works_with ) AND employee.branch_id = 2; -- Find the names of all clients who have spent more than 100,000 dollars SELECT client.client_name FROM client WHERE client.client_id IN ( SELECT client_id FROM ( SELECT SUM(works_with.total_sales) AS totals, client_id FROM works_with GROUP BY client_id) AS total_client_sales WHERE totals > 100000 );
/* Warnings: - You are about to drop the `character_habilities` table. If the table is not empty, all the data it contains will be lost. - You are about to drop the `character_inventory` table. If the table is not empty, all the data it contains will be lost. - You are about to drop the `character_weapons` table. If the table is not empty, all the data it contains will be lost. - Added the required column `character_id` to the `hability` table without a default value. This is not possible if the table is not empty. - Added the required column `character_id` to the `inventory` table without a default value. This is not possible if the table is not empty. - Added the required column `character_id` to the `weapon` table without a default value. This is not possible if the table is not empty. */ -- DropForeignKey ALTER TABLE `character_habilities` DROP FOREIGN KEY `character_habilities_character_id_fkey`; -- DropForeignKey ALTER TABLE `character_habilities` DROP FOREIGN KEY `character_habilities_hability_id_fkey`; -- DropForeignKey ALTER TABLE `character_inventory` DROP FOREIGN KEY `character_inventory_character_id_fkey`; -- DropForeignKey ALTER TABLE `character_inventory` DROP FOREIGN KEY `character_inventory_inventory_id_fkey`; -- DropForeignKey ALTER TABLE `character_weapons` DROP FOREIGN KEY `character_weapons_character_id_fkey`; -- DropForeignKey ALTER TABLE `character_weapons` DROP FOREIGN KEY `character_weapons_weapon_id_fkey`; -- AlterTable ALTER TABLE `hability` ADD COLUMN `character_id` INTEGER NOT NULL; -- AlterTable ALTER TABLE `inventory` ADD COLUMN `character_id` INTEGER NOT NULL; -- AlterTable ALTER TABLE `weapon` ADD COLUMN `character_id` INTEGER NOT NULL; -- DropTable DROP TABLE `character_habilities`; -- DropTable DROP TABLE `character_inventory`; -- DropTable DROP TABLE `character_weapons`; -- CreateIndex CREATE INDEX `hability_character_id_fkey` ON `hability`(`character_id`); -- AddForeignKey ALTER TABLE `hability` ADD CONSTRAINT `hability_character_id_fkey` FOREIGN KEY (`character_id`) REFERENCES `character`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE; -- AddForeignKey ALTER TABLE `weapon` ADD CONSTRAINT `weapon_character_id_fkey` FOREIGN KEY (`character_id`) REFERENCES `character`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE; -- AddForeignKey ALTER TABLE `inventory` ADD CONSTRAINT `inventory_character_id_fkey` FOREIGN KEY (`character_id`) REFERENCES `character`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE;
/* leave this l:see LICENSE file g:utility v:130901.1000\s.zaglio:added begin/end params to grp setup v:130802.1804,130730,130725,130724\s.zaglio:collection of scripts */ CREATE proc sp__script_templates @opt sysname = null, @dbg int=0 as begin try set nocount on declare @proc sysname, @ret int select @ret=0 if @opt is null or @opt='' goto help select @opt=dbo.fn__str_quote(@opt,'|') -- =================================================================== script == if charindex('|script|',@opt)>0 exec @ret=sp__script_template ' -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %declarations%: declare @ver decimal(10,4),@aut sysname,@db sysname, @emsg nvarchar(2048),@esev int,@ests int select @db=db_name() -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %obj_ver_chk%: select @ver=null,@aut=null exec sp_executesql N'' select @ver=cast(val1 as decimal(10,4)), @aut=val2 from dbo.fn__script_info(@obj,@typ,0) '',N''@obj sysname,@typ char(2),@ver numeric(10,4) out,@aut sysname out'', @obj=''%obj%'',@typ=''rv'',@ver=@ver out,@aut=@aut out if not @ver is null begin if @ver=%ver% begin if @aut!=''%aut%'' raiserror(''local "%s.%s" with same version but different author'', 16,1,@db,''%obj%'') with nowait raiserror(''skipped "%s.%s" because local is the same'', 10,1,@db,''%obj%'') with nowait goto skip_%obj% end if @ver>%ver% begin raiserror(''skipped "%s.%s" because local is more recent'', 10,1,@db,''%obj%'') with nowait goto skip_%obj% end end raiserror(''re-creating "%s.%s"'',10,1,@db,''%obj%'') with nowait %drop% begin try -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %skip_obj%: end try begin catch if not error_number() in (208,207) begin select @emsg=error_message(),@esev=error_severity(),@ests=error_state() raiserror(@emsg,@esev,@ests) end end catch skip_%obj%: ' -- ==================================================================== group == if charindex('|group|',@opt)>0 exec sp__script_template ' -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %scr_header%: /******************************************************* ** generated in the:%dt% by %uid% from %db% ** latest objs to %latests_objs% *******************************************************/ set nocount on declare @db sysname,@svr sysname, @emsg nvarchar(2048),@esev int,@ests int select @db=db_name(), @svr=@@servername if @svr=''%svr%'' and @db=''%db_util%'' --|utility| begin --|utility| raiserror(''Cannot execute from db where originated.'', --|utility| 11,1) with nowait --|utility| goto end_of_script --|utility| end --|utility| --|utility| -- check local our target application name --|other| if %config%(%app_name%)=''%app_name%'' goto end_of_script --|other| --|other| -- check db version if (select cmptlevel from master..sysdatabases where [name]=@db )<90 begin raiserror(''DB compatibility level must be at least 90 (MSSql2k5)'', 10,1) with nowait raiserror(''Please run "exec sp_dbcmptlevel ''''%s'''', 90"'', 10,1,@db) with nowait raiserror('''',11,1) with nowait goto end_of_script end if not object_id(''sp__script_store'') is null --|other| exec sp__script_store @opt=''moff'' --|other| -- for versioning declare @aut sysname, -- store author @ver decimal(14,4), -- used to store new obj version @msg nvarchar(128), -- generic message string @repeat int -- number of repeat of script -- if error of unknow obj, script is -- repeated bacause dependencies if object_id(''tempdb..#script_results'') is null create table #script_results( id int identity, dt datetime default(getdate()) not null, who sysname default system_user+''@''+isnull(host_name(),''???''), grp sysname not null, rep int null, number int null, message nvarchar(2048) not null, severity int not null, state int null, line int null, [procedure] sysname null ) if object_id(''tempdb..#script_catch'') is null exec('' %script_catch_implementation% '') select @repeat=1 begin_of_script: -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %scr_footer%: dispose: /* to manage dependencies we run eventually the script 2 or 3 times */ if exists( select top 1 null from #script_results where number in (208,207) -- invalid object, invalid column name and rep=@repeat -- a difference between x32 and x64 of mssql 2k5/8 and not message like ''%''''cpu_ticks_in_ms''''%'' ) begin select @repeat=@repeat+1 select @msg=replicate(''#'',80)+'' REPEAT ''+cast(@repeat as char) raiserror(@msg,10,1) if @repeat<3 goto begin_of_script else begin select db_name() db,* from #script_results raiserror(''script repeats failure'',16,1) end end exec %grp_setup% @opt=''run|end'' --|setup| -- select * from #script_results -- drop table #script_results exec sp__context_info @opt=''mdef'' --|other| end_of_script: -- finished:%dt% -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %script_catch_definition%: create proc #script_catch @grp sysname,@repeat int as begin insert #script_results(dt,grp,rep,number,message,severity,state,line,[procedure]) select getdate(),@grp,@repeat, error_number(),isnull(error_message(),''n/s''), error_severity(),error_state(), error_line(),error_procedure() end -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %disable_tracer%: -- ########################## -- ## -- ## disable trace db; -- ## hope nobody work on important things while upgrade -- ## -- ######################################################## if not object_id(''sp__script_trace_db'') is null exec sp__script_trace_db ''uninstall'' -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %enable_tracer%: -- ########################## -- ## -- ## re-install/upgrade script tracer -- ## upgrade LOG_DDL if necessary -- ## -- ######################################################## exec sp__script_trace_db ''install'' -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %obj_core_chk%: select @ver=dbo.fn__script_sign(''%obj%'',1) if not @ver is null and @ver=%ver% begin raiserror(''skipped "%s.%s" because is the same'', 10,1,@db,''%obj%'') with nowait goto skip_%obj% end raiserror(''re-creating "%s.%s"'',10,1,@db,''%obj%'') with nowait %drop% begin try -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %skip_obj%: exec %grp_setup% @opt=''run|begin'' --|setup| end try begin catch exec #script_catch ''%grp%'',@repeat if not error_number() in (208,207) begin select @emsg=error_message(),@esev=error_severity(),@ests=error_state() raiserror(@emsg,@esev,@ests) end end catch skip_%obj%: ' if charindex('|move|',@opt)>0 exec sp__script_template ' -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %header%: /* --|dbg| declare --|dbg| @trgs nvarchar(4000),@crlf nvarchar(2),@n int,@m int, --|dbg| @proc sysname,@err int,@ret int,@d datetime, --|dbg| @ms_key int,@ms_ins int,@ms_del int, @ms_commit int,@ms_alt int,--|dbg| @log_id int,@top int --|dbg| select @crlf=crlf from fn__sym() --|dbg| */ --|dbg| declare @nm int --============================================================================= --== do some test to ensure that condition is not wrong --============================================================================= select @d=getdate() begin try select @n=count(*), @m=sum(case when %where% then 1 else 0 end) from %main% (nolock) if @n=@m begin raiserror("wrong condition try move all data",16,1) goto ret end select @trgs=null --|trgs| select --|trgs| @trgs=isnull(@trgs+@crlf,"") --|trgs| +"alter table %dst% enable trigger " --|trgs| +quotename(name) --|trgs| from %dst_db%.sys.triggers --|trgs| where parent_id=object_id("%dst%") --|trgs| and is_disabled=0 --|trgs| --|trgs| select @idxs=null --|idxs| select --|idxs| @idxs=isnull(@idxs+@crlf,"") --|idxs| +"alter index "+quotename(name) --|idxs| +" on %dst% disable" --|idxs| from %dst_db%.sys.indexes --|idxs| where object_id=object_id("%dst%") --|idxs| and is_disabled=0 --|idxs| and is_unique=0 --|idxs| and [type]!=1 --|idxs| --|idxs| select --|idxs| @trgs=isnull(@trgs+@crlf,"") --|idxs| +"alter index "+quotename(name) --|idxs| +" on %dst% rebuild" --|idxs| from %dst_db%.sys.indexes --|idxs| where object_id=object_id("%dst%") --|idxs| and is_disabled=0 --|idxs| and is_unique=0 --|idxs| and [type]!=1 --|idxs| --|idxs| select --|trgs| @trgs=isnull(@trgs+@crlf,"") --|trgs| +"alter table %src% enable trigger " --|trgs| +quotename(name) --|trgs| from sys.triggers --|trgs| where parent_id=object_id("%src%") --|trgs| and is_disabled=0 --|trgs| --|trgs| -- for delete --|trgs| alter table %src% disable trigger all --|trgs| -- for insert --|trgs| alter table %dst% disable trigger all --|trgs| -- disable dst indexes --|idxs| exec(@idxs) --|idxs| --|idxs| if @dbg=1 exec sp__printf "%s",@idxs --|idxs| --|idxs| select @ms_alt=datediff(ms,@d,getdate()),@d=getdate() -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %begin%: begin tran --------------------------------------------------- begin tran ---- -- select keys to move -- TODO: collect keys for each table to avoid inverse order of deletetion select %top% %pkey% into %keys% from %main% where %where% %orderby% select @nm=@@rowcount if @nm=0 begin exec sp__printf "-- no rows to move for main table %src%" goto skip_move end select @ms_key=datediff(ms,@d,getdate()),@d=getdate() -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %end%: commit ------------------------------------------------------ commit tran ---- select @ms_commit=datediff(ms,@d,getdate()),@d=getdate() %log_commit% -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %body_group%: -- ########################## -- ## -- ## %src% -- ## -- ######################################################## insert %dst%( %dst_flds% ) select %tbl_flds% from %main% %main_alias% join %keys% tmp on %on_pkeys% join %src% %alias% --|main| on %join_on% --|main| select @ms_ins=datediff(ms,@d,getdate()),@d=getdate() -- delete from live --|move| delete %alias% --|move| from %main% %main_alias% --|move| join %keys% tmp --|move| on %on_pkeys% --|move| join %src% %alias% --|main|move| on %join_on% --|main|move| select @ms_del=datediff(ms,@d,getdate()),@d=getdate() %log_times% ------------------------------------------------------------------------------- -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %body_single_table%: -- ########################## -- ## -- ## %src% -- ## -- ######################################################## -- select keys to move -- TODO: collect keys for each table to avoid inverse order of deletetion select %top% %pkey% into %keys% from %main% where %where% %orderby% select @nm=@@rowcount if @nm=0 begin exec sp__printf "-- no rows to move for %src%" goto skip_%lbl% end select @ms_key=datediff(ms,@d,getdate()),@d=getdate() begin tran --------------------------------------------------- begin tran ---- insert %dst%( %dst_flds% ) select %tbl_flds% from %src% %alias% join %keys% tmp on %on_pkeys% select @ms_ins=datediff(ms,@d,getdate()),@d=getdate() -- delete from live --|move| delete %alias% from %src% %alias% join %keys% tmp on %on_pkeys% select @ms_del=datediff(ms,@d,getdate()),@d=getdate() commit ------------------------------------------------------ commit tran ---- select @ms_commit=datediff(ms,@d,getdate()),@d=getdate() %log_times% skip_%lbl%: -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %footer%: -- restore triggers --|trgs| exec(@trgs) --|trgs| if @dbg=1 exec sp__printf "%s",@trgs --|trgs| skip_move: if @@trancount>0 rollback end try ---------------------------------------------------------- end try ---- -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %catch%: begin catch select @err=@@error exec @ret=sp__err @cod=@proc,@opt="ex|warn" if @@trancount>0 rollback end catch -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %log_times_section%: insert %log%(dt,tbl,n,ms_key,ms_alt,ms_ins,ms_del,ms_commit) --|nfo| select @dt_log, --|nfo| ''%src%'',@nm,@ms_key,@ms_alt,@ms_ins,@ms_del,@ms_commit --|nfo| -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- %log_commit_section%: insert %log%(dt,tbl,n,ms_key,ms_alt,ms_ins,ms_del,ms_commit) --|nfo| select @dt_log,''*'',0,0,0,0,0,@ms_commit --|nfo| -- -- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- --8<-- -- -- -- -- -- ' -- ================================================================== dispose == dispose: -- drop temp tables, flush data, etc. goto ret -- ===================================================================== help == help: select @proc=object_name(@@procid) exec sp__usage @proc,' Scope common templates for sp__script and sp__script_group Parameters [param] [desc] @opt options script templates for sp__script group templates for sp__script_group move templates for sp__script_move @dbg 1=last most importanti info/show code without execute it 2=more up level details 3=more up ... Examples [example] ' select @ret=-1 -- ===================================================================== exit == ret: return @ret end try -- =================================================================== errors == begin catch -- if @@trancount > 0 rollback -- for nested trans see style "procwnt" exec @ret=sp__err @cod=@proc,@opt='ex' return @ret end catch -- proc sp__script_templates
<reponame>wedanaadi/siperang<filename>siperang.sql /* SQLyog Ultimate MySQL - 10.1.34-MariaDB : Database - siperang ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; /*Table structure for table `t_barang_supplier` */ DROP TABLE IF EXISTS `t_barang_supplier`; CREATE TABLE `t_barang_supplier` ( `Id_PK` varchar(100) NOT NULL, `Id_Supplier` varchar(100) DEFAULT NULL, `Kode_Barang` varchar(100) DEFAULT NULL, PRIMARY KEY (`Id_PK`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_barang_supplier` */ insert into `t_barang_supplier`(`Id_PK`,`Id_Supplier`,`Kode_Barang`) values ('0Uk061573568464','SUP1570621511','00037'), ('175Ls1573568464','SUP1570621511','00007'), ('26P9R1573568464','SUP1570621511','00033'), ('4P47U1573568548','SUP1570631905','00015'), ('6s6Sy1573568464','SUP1570621511','00003'), ('atLHR1573568548','SUP1570631905','00018'), ('boQX01573568571','SUP1570632070','00022'), ('Ccrzk1573568515','SUP1570631654','00021'), ('CXJGB1573568464','SUP1570621511','00005'), ('DZnKM1573568464','SUP1570621511','00038'), ('Ew0t11573568515','SUP1570631654','00024'), ('F0VHz1573568464','SUP1570621511','00034'), ('F3bxG1573568548','SUP1570631905','00017'), ('Fwk0q1573568571','SUP1570632070','00040'), ('G07sX1573568464','SUP1570621511','00006'), ('hm1DP1573568515','SUP1570631654','00047'), ('i9Aam1573568548','SUP1570631905','00020'), ('I9kaU1573568464','SUP1570621511','00035'), ('J4SYR1573568515','SUP1570631654','00022'), ('lAHCn1573568464','SUP1570621511','00009'), ('lOrbV1573568548','SUP1570631905','00029'), ('Lt8AL1573568571','SUP1570632070','00032'), ('o17831573568548','SUP1570631905','00013'), ('PcE7l1573568548','SUP1570631905','00019'), ('Pk52r1573568464','SUP1570621511','00002'), ('R2qdV1573568548','SUP1570631905','00014'), ('R3DMy1573568515','SUP1570631654','00050'), ('Rcnxp1573568548','SUP1570631905','00030'), ('Rdrq11573568571','SUP1570632070','00031'), ('SA3or1573568464','SUP1570621511','00008'), ('sBtqM1573568548','SUP1570631905','00026'), ('sNrju1573568548','SUP1570631905','00028'), ('sy4jI1573568515','SUP1570631654','00023'), ('TaoQL1573568464','SUP1570621511','00036'), ('U6jpT1573568548','SUP1570631905','00016'), ('VQSN71573568548','SUP1570631905','00027'), ('Xqvhd1573568464','SUP1570621511','00004'), ('Y8ZTO1573568515','SUP1570631654','00048'), ('z39wE1573568515','SUP1570631654','00025'); /*Table structure for table `t_barangmasuk` */ DROP TABLE IF EXISTS `t_barangmasuk`; CREATE TABLE `t_barangmasuk` ( `Kode_BarangMasuk` varchar(100) NOT NULL, `Kode_Order` varchar(100) DEFAULT NULL, `Tanggal` date DEFAULT NULL, `Supplier` varchar(50) DEFAULT NULL, `Total` float DEFAULT NULL, PRIMARY KEY (`Kode_BarangMasuk`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_barangmasuk` */ insert into `t_barangmasuk`(`Kode_BarangMasuk`,`Kode_Order`,`Tanggal`,`Supplier`,`Total`) values ('BM157356870300001','OR157356857800001','2019-11-12','SUP1570631905',3875000), ('BM157356871800002','OR157356866900003','2019-11-12','SUP1570631654',2550000); /*Table structure for table `t_barangmasuk_detil` */ DROP TABLE IF EXISTS `t_barangmasuk_detil`; CREATE TABLE `t_barangmasuk_detil` ( `id` varchar(50) NOT NULL, `Kode_BarangMasuk` varchar(50) DEFAULT NULL, `Kode_Barang` varchar(50) DEFAULT NULL, `Nama_Barang` varchar(100) DEFAULT NULL, `Harga_Barang` float DEFAULT NULL, `Quantity` int(11) DEFAULT NULL, `Subtotal` float DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_barangmasuk_detil` */ insert into `t_barangmasuk_detil`(`id`,`Kode_BarangMasuk`,`Kode_Barang`,`Nama_Barang`,`Harga_Barang`,`Quantity`,`Subtotal`) values ('J4qXS1573568731','BM157356871800002','00050','SSD 128 GB',850000,3,2550000), ('UK5KV1573568712','BM157356870300001','00014','HDD EXTERNAL WD 1 TB',775000,5,3875000); /*Table structure for table `t_order` */ DROP TABLE IF EXISTS `t_order`; CREATE TABLE `t_order` ( `Kode_Order` varchar(100) NOT NULL, `Supplier` varchar(50) DEFAULT NULL, `Total` float DEFAULT NULL, `Tanggal_Order` date DEFAULT NULL, `isStatus` int(11) DEFAULT NULL, PRIMARY KEY (`Kode_Order`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_order` */ insert into `t_order`(`Kode_Order`,`Supplier`,`Total`,`Tanggal_Order`,`isStatus`) values ('OR157356857800001','SUP1570631905',3875000,'2019-11-10',1), ('OR157356860900002','SUP1570621511',600000,'2019-11-12',0), ('OR157356866900003','SUP1570631654',4250000,'2019-11-12',1); /*Table structure for table `t_order_detil` */ DROP TABLE IF EXISTS `t_order_detil`; CREATE TABLE `t_order_detil` ( `id` varchar(50) NOT NULL, `Kode_Order` varchar(50) DEFAULT NULL, `Kode_Barang` varchar(50) DEFAULT NULL, `Nama_Barang` varchar(100) DEFAULT NULL, `Harga_Barang` float DEFAULT NULL, `Quantity` int(11) DEFAULT NULL, `Subtotal` float DEFAULT NULL, `id_detil_req` text, `kode_req` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_order_detil` */ insert into `t_order_detil`(`id`,`Kode_Order`,`Kode_Barang`,`Nama_Barang`,`Harga_Barang`,`Quantity`,`Subtotal`,`id_detil_req`,`kode_req`) values ('7mWS51573568618','OR157356860900002','00003','CATRIDGE 680',120000,5,600000,'Ta1951573568183','RQ157356813500001'), ('n3KUs1573568678','OR157356866900003','00050','SSD 128 GB',850000,5,4250000,'bBAuP1573568183','RQ157356813500001'), ('y5S461573568604','OR157356857800001','00014','HDD EXTERNAL WD 1 TB',775000,5,3875000,'7bwpC1573568183','RQ157356813500001'); /*Table structure for table `t_requestbarang` */ DROP TABLE IF EXISTS `t_requestbarang`; CREATE TABLE `t_requestbarang` ( `Kode_Request` varchar(100) NOT NULL, `Tanggal_Request` date DEFAULT NULL, `Total` float DEFAULT NULL, `user` varchar(50) DEFAULT NULL, `isStatus` int(11) DEFAULT NULL, PRIMARY KEY (`Kode_Request`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_requestbarang` */ insert into `t_requestbarang`(`Kode_Request`,`Tanggal_Request`,`Total`,`user`,`isStatus`) values ('RQ157356813500001','2019-11-12',9925000,'USR1565667354',1); /*Table structure for table `t_requestbarang_detil` */ DROP TABLE IF EXISTS `t_requestbarang_detil`; CREATE TABLE `t_requestbarang_detil` ( `id` varchar(50) NOT NULL, `Kode_Request` varchar(50) DEFAULT NULL, `Kode_Barang` varchar(50) DEFAULT NULL, `Nama_Barang` varchar(100) DEFAULT NULL, `Harga_Barang` float DEFAULT NULL, `Quantity` int(11) DEFAULT NULL, `Subtotal` float DEFAULT NULL, `isStatus` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_requestbarang_detil` */ insert into `t_requestbarang_detil`(`id`,`Kode_Request`,`Kode_Barang`,`Nama_Barang`,`Harga_Barang`,`Quantity`,`Subtotal`,`isStatus`) values ('7bwpC1573568183','RQ157356813500001','00014','HDD EXTERNAL WD 1 TB',775000,5,3875000,1), ('bBAuP1573568183','RQ157356813500001','00050','SSD 128 GB',850000,5,4250000,1), ('Ta1951573568183','RQ157356813500001','00003','CATRIDGE 680',120000,5,600000,1), ('UHU7k1573568183','RQ157356813500001','00012','Flashdisk 8 Gb',60000,20,1200000,0); /*Table structure for table `t_returnbarang` */ DROP TABLE IF EXISTS `t_returnbarang`; CREATE TABLE `t_returnbarang` ( `Kode_Return` varchar(100) NOT NULL, `Supplier` varchar(50) DEFAULT NULL, `Tanggal` date DEFAULT NULL, `Total` float DEFAULT NULL, `Kode_Barang_Masuk` varchar(100) DEFAULT NULL, PRIMARY KEY (`Kode_Return`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_returnbarang` */ insert into `t_returnbarang`(`Kode_Return`,`Supplier`,`Tanggal`,`Total`,`Kode_Barang_Masuk`) values ('RB157356878400001','SUP1570631905','2019-11-12',775000,'BM157356870300001'); /*Table structure for table `t_returnbarang_detil` */ DROP TABLE IF EXISTS `t_returnbarang_detil`; CREATE TABLE `t_returnbarang_detil` ( `id` varchar(50) NOT NULL, `Kode_Return` varchar(50) DEFAULT NULL, `Kode_Barang` varchar(50) DEFAULT NULL, `Nama_Barang` varchar(100) DEFAULT NULL, `Harga_Barang` float DEFAULT NULL, `Quantity` int(11) DEFAULT NULL, `Subtotal` float DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_returnbarang_detil` */ insert into `t_returnbarang_detil`(`id`,`Kode_Return`,`Kode_Barang`,`Nama_Barang`,`Harga_Barang`,`Quantity`,`Subtotal`) values ('ItKpC1573568800','RB157356878400001','00014','HDD EXTERNAL WD 1 TB',775000,1,775000); /*Table structure for table `t_stockopname` */ DROP TABLE IF EXISTS `t_stockopname`; CREATE TABLE `t_stockopname` ( `id` varchar(100) NOT NULL, `Kode_Barang` varchar(100) DEFAULT NULL, `Nama_Barang` varchar(255) DEFAULT NULL, `Quantity` float DEFAULT NULL, `Harga` float DEFAULT NULL, `Selisih` float DEFAULT NULL, `Input_Stok` float DEFAULT NULL, `Tanggal` date DEFAULT NULL, `status` int(1) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_stockopname` */ /*Table structure for table `t_transaksipenjualan` */ DROP TABLE IF EXISTS `t_transaksipenjualan`; CREATE TABLE `t_transaksipenjualan` ( `Kode_Transaksi` varchar(100) NOT NULL, `Tanggal_Transaksi` date DEFAULT NULL, `Total` float DEFAULT NULL, `DP` float DEFAULT NULL, `StatusTransaksi` int(1) DEFAULT NULL, `Tanggal_JatuhTempo` date DEFAULT NULL, `Sisa` float DEFAULT NULL, `Tanggal_Pelunasan` date DEFAULT NULL, PRIMARY KEY (`Kode_Transaksi`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_transaksipenjualan` */ insert into `t_transaksipenjualan`(`Kode_Transaksi`,`Tanggal_Transaksi`,`Total`,`DP`,`StatusTransaksi`,`Tanggal_JatuhTempo`,`Sisa`,`Tanggal_Pelunasan`) values ('TS157356884300001','2019-11-12',900000,0,1,'2019-11-12',0,'2019-11-12'); /*Table structure for table `t_transaksipenjualan_detil` */ DROP TABLE IF EXISTS `t_transaksipenjualan_detil`; CREATE TABLE `t_transaksipenjualan_detil` ( `IdDetil` varchar(50) NOT NULL, `Kode_Transaksi` varchar(50) DEFAULT NULL, `Kode_Barang` varchar(50) DEFAULT NULL, `Nama_Barang` varchar(100) DEFAULT NULL, `Quantity` int(11) DEFAULT NULL, `Harga_Barang` float DEFAULT NULL, `Subtotal` float DEFAULT NULL, PRIMARY KEY (`IdDetil`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `t_transaksipenjualan_detil` */ insert into `t_transaksipenjualan_detil`(`IdDetil`,`Kode_Transaksi`,`Kode_Barang`,`Nama_Barang`,`Quantity`,`Harga_Barang`,`Subtotal`) values ('cQsib1573568858','TS157356884300001','00050','SSD 128 GB',1,900000,900000); /*Table structure for table `tbl_bagian` */ DROP TABLE IF EXISTS `tbl_bagian`; CREATE TABLE `tbl_bagian` ( `Kode_bagian` varchar(100) NOT NULL, `Nama_bagian` varchar(100) DEFAULT NULL, `isAktif` int(1) DEFAULT '1', PRIMARY KEY (`Kode_bagian`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_bagian` */ insert into `tbl_bagian`(`Kode_bagian`,`Nama_bagian`,`isAktif`) values ('1','Admin',1), ('2','Kasir',1), ('3','Gudang',1), ('4','Direktur',1); /*Table structure for table `tbl_databarang` */ DROP TABLE IF EXISTS `tbl_databarang`; CREATE TABLE `tbl_databarang` ( `Kode_Barang` varchar(50) NOT NULL, `Nama_Barang` varchar(100) DEFAULT NULL, `Harga_Beli` float DEFAULT NULL, `Harga_Jual` float DEFAULT NULL, `Quantity` int(11) DEFAULT NULL, `isAktif` int(1) DEFAULT '1', PRIMARY KEY (`Kode_Barang`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_databarang` */ insert into `tbl_databarang`(`Kode_Barang`,`Nama_Barang`,`Harga_Beli`,`Harga_Jual`,`Quantity`,`isAktif`) values ('00001','ADAPOR UNIVERSAL',90000,115000,0,1), ('00002','CATRIDGE 678',125000,150000,0,1), ('00003','CATRIDGE 680',120000,130000,0,1), ('00004','CATRIDGE 810',200000,210000,0,1), ('00005','CATRIDGE 811',250000,260000,0,1), ('00006','CASSING PC',350000,400000,0,1), ('00007','Cooling Pad',50000,75000,0,1), ('00008','DATA PRINT CANON',35000,50000,0,1), ('00009','DATA PRINT HP',35000,50000,0,1), ('00010','DVD INTERNAL',175000,190000,0,1), ('00011','DVD EXSTERNAL',285000,315000,0,1), ('00012','Flashdisk 8 Gb',60000,80000,0,1), ('00013','HDD EXSTERNAL SEAGATE 1 TB',785000,800000,0,1), ('00014','HDD EXTERNAL WD 1 TB',775000,800000,4,1), ('00015','Harddisk Int 1 TB',70000,750000,0,1), ('00016','Harddisk Int 500 GB',600000,620000,0,1), ('00017','Keyboard Logitech 120',125000,150000,0,1), ('00018','Keyboard Mouse Logitech 120',155000,175000,0,1), ('00019','Keyboard Mouse Wireles Logitech 220',220000,235000,0,1), ('00020','Keyboard USB Votre',35000,50000,0,1), ('00021','Asus E203MA',3500000,3750000,0,1), ('00022','HP 360x',4500000,4750000,0,1), ('00023','Asus A407MA',4000000,4250000,0,1), ('00024','Asus A412',7000000,7250000,0,1), ('00025','Asus X441MA',4100000,4350000,0,1), ('00026','\"LED LG 19\"\"\"',875000,900000,0,1), ('00027','\"LED LG 20\"\"\"',1000000,1050000,0,1), ('00028','Mouse Logitech M170',130000,150000,0,1), ('00029','Mouse Logitech M185',160000,175000,0,1), ('00030','Motherboard',1000000,1050000,0,1), ('00031','Mouse Logitech B100',60000,75000,0,1), ('00032','Mouse Votre',25000,50000,0,1), ('00033','Printer Epson L120',1500000,1550000,0,1), ('00034','Printer Canon G2010',1800000,1850000,0,1), ('00035','Printer HP 2135',650000,675000,0,1), ('00036','Printer Canon 2770',650000,675000,0,1), ('00037','Printer Canon 287',950000,1000000,0,1), ('00038','Printer Epson L3110',2100000,2150000,0,1), ('00039','PROC AMD A4',425000,450000,0,1), ('00040','Proc Dual Core',650000,700000,0,1), ('00041','Proc I3',800000,850000,0,1), ('00042','PROC I5',3300000,3350000,0,1), ('00043','MEMORY DDR3 2 GB',350000,375000,0,1), ('00044','Tinta Epson 003',85000,95000,0,1), ('00045','Tinta Epson 664',80000,90000,0,1), ('00046','TINTA INK CANON',35000,50000,0,1), ('00047','TP-LINK 3420',320000,350000,0,1), ('00048','TP-LINK 722',100000,125000,0,1), ('00049','TP-LINK 855',350000,375000,0,1), ('00050','SSD 128 GB',850000,900000,2,1); /*Table structure for table `tbl_supplier` */ DROP TABLE IF EXISTS `tbl_supplier`; CREATE TABLE `tbl_supplier` ( `Kode_Supplier` varchar(100) NOT NULL, `Nama_Supplier` varchar(100) DEFAULT NULL, `Alamat_Supplier` varchar(255) DEFAULT NULL, `No_Tlp` varchar(255) DEFAULT NULL, `isAktif` int(1) DEFAULT NULL, PRIMARY KEY (`Kode_Supplier`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_supplier` */ insert into `tbl_supplier`(`Kode_Supplier`,`Nama_Supplier`,`Alamat_Supplier`,`No_Tlp`,`isAktif`) values ('SUP1570621511','PT Multi Sarana Computer','Jl Tukad Pakerisan No.12','08155700832',NULL), ('SUP1570631654','Bintang Satu Computer','Jl. Pulau Kawe No.45','085338253831',NULL), ('SUP1570631905','PT Bali Computindo','Jl. Pulau Kawe No 11','083114671275',NULL), ('SUP1570632070','Sanwan','Jl. Pulau Button No.03','085253831478',NULL), ('SUP1570632218','SCK','Jl. <NAME>','083114671275',NULL), ('SUP1571580354','PT ERA JAYA','JL. SESETAN NO.38','085337253835',NULL), ('SUP1571580500','OMEGA','JL.GATSU TIMUR NO.37','085253831478',NULL); /*Table structure for table `tbl_user` */ DROP TABLE IF EXISTS `tbl_user`; CREATE TABLE `tbl_user` ( `Kode_User` varchar(25) NOT NULL, `Nama_User` varchar(50) NOT NULL, `Username` varchar(25) NOT NULL, `Password` varchar(100) NOT NULL, `Nomor_Telepon` varchar(20) NOT NULL, `Bagian` varchar(50) NOT NULL, PRIMARY KEY (`Kode_User`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `tbl_user` */ insert into `tbl_user`(`Kode_User`,`Nama_User`,`Username`,`Password`,`Nomor_Telepon`,`Bagian`) values ('USR1565240213','Admin','admin','$2y$10$1Wk04bvU48xjVyhI7CF93OsL29.fVDdvNE3V4rpyZ9As7UKufc/bS','089669724863','1'), ('USR1565667354','Gudang','gudang','$2y$10$IepuaIaLQkmXQul.iL37KudHpPlKPOj707KNygx6C.1oPXdHkERgO','084343858','3'), ('USR1568231861','Direktur','direktur','$2y$10$c3fFSkz.zO941pn.Kvy83eu8t30Jh/UYYK2dcR1nAU7Xd0SBoqfAW','089669724863','4'), ('USR1568231885','Kasir','kasir','$2y$10$6T.VAL.dioLeW6DbX6Dt9ucFhqtjCmcWD.oDoT6BnRCvz.vD0fSUi','089669724863','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 */;
<gh_stars>0 SELECT SUM(a.bytes)/1048576 "Undo (MB)", TABLESPACE_NAME FROM v$datafile a, v$tablespace b, dba_tablespaces c WHERE c.contents = 'UNDO' AND c.status = 'ONLINE' AND b.name = c.tablespace_name AND a.ts# = b.ts# group by TABLESPACE_NAME;
USE [ANTERO] GO /****** Object: StoredProcedure [sa].[p_lataa_virta_opettajakelpoisuus] Script Date: 26.4.2022 9:34:27 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [sa].[p_lataa_virta_opettajakelpoisuus] AS DROP TABLE IF EXISTS sa.virta_opettajakelpoisuus --;WITH pat as ( select vuosi ,henkilo ,opiskelija_avain = pat.opiskelijaavain ,opiskelija_avain_org = concat(pat.organisaatiokoodi,pat.opiskelijaavain) ,kk ,organisaatiokoodi ,pat.patevyyskoodi ,patevyysnimi ,aine = LEFT(patevyysnimi,len(patevyysnimi)-charindex(',',reverse(patevyysnimi))) ,laajuus = ltrim(rtrim(replace(reverse(SUBSTRING(reverse(patevyysnimi),0,charindex(',',reverse(patevyysnimi)))),'op.',''))) ,map.kelpoisuuskoodi ,patevyysryhma = vp.patevyysryhma1_fi into #temp_ope_pat from [sa].[sa_virta_otp_ope_patevyydet] pat left join dw.d_virta_patevyydet vp on vp.patevyys_koodi=pat.patevyyskoodi left join sa.virta_opettajapatevyys_mappaus map on map.patevyyskoodi=pat.patevyyskoodi left join dw.d_organisaatioluokitus ol on ol.organisaatio_koodi = pat.organisaatiokoodi where not (ol.oppilaitostyyppi_koodi=41 and pat.patevyyskoodi in ('ik','il','im','ip','in','io','iu','is','it','ir')) --) SELECT p.henkilo ,p.opiskelija_avain_org ,ika = kelp.vuosi-year(h.syntymaaika) ,h.sukupuoli -- ,p.patevyyskoodi ,p.patevyysnimi ,kelpoisuus_koodi_alku = p.kelpoisuuskoodi ,kelpoisuus_koodi = p1.koodi ,kelpoisuus_koodi_kaikki_kelpoisuusvuosi = kelp_s.kelp_kaikki ,kelpoisuus_koodi_kaikki_myos_aiemmat_vuodet = kelp_sa.kelp_kaikki -- ,kelpoisuus_vuosi = kelp.vuosi ,kelpoisuuden_kk = p.kk ,kelpoisuuden_organisaatiokoodi = p.organisaatiokoodi ,korkeimman_tutkinnon_vuosi = kork_tutk.vuosi ,korkeimman_tutkinnon_koulutuskoodi = kork_tutk.koulutuskoodi ,korkeimman_tutkinnon_organisaatiokoodi = kork_tutk.organisaatio_koodi ,sektori = ol.oppilaitostyyppi_koodi ,vuosi_patevyys = p.vuosi ,vuosi_pedagogiset = pedag.vuosi ,vuosi_tutkinto = tutk.vuosi ,suoritustapa = case when p.patevyysnimi like '%erilliset%' then 2 else 1 end ,kelpoisuuksien_maara = kaikki_kelp.lkm ,aine ,laajuus = case when p.laajuus='120' and aiempi60.suoritettu=1 then '120 (suorittanut aiemmin 60)' else p.laajuus end ,p.patevyysryhma --tämä hidastaa merkittävästi: ,rnk = row_number() over ( partition by h.henkilo, (case when p.patevyysryhma='opettaja' then p1.koodi else p.patevyysnimi end) order by kelp.vuosi,p.vuosi ) INTO sa.virta_opettajakelpoisuus FROM #temp_ope_pat p left join dw.d_organisaatioluokitus ol on ol.organisaatio_koodi=p.organisaatiokoodi left join sa.sa_virta_otp_ope_henkilotiedot h on h.henkilo=p.henkilo and h.opiskelijaavain=p.opiskelija_avain --eka suoritusvuosi tutkintotyypeittäin left join ( select henkilo ,amk = min(case when kl.koulutusastetaso2_koodi >= 62 then vuosi end) ,alempi_kk = min(case when kl.koulutusastetaso2_koodi >= 63 then vuosi end) ,ylempi_kk = min(case when kl.koulutusastetaso2_koodi >= 72 then vuosi end) from [sa].[sa_virta_otp_ope_tutkinnot] t left join dw.d_koulutusluokitus kl on kl.koulutusluokitus_koodi=t.koulutuskoodi where t.koulutuskoodi <> '999999' group by henkilo ) tutk_tyypit on tutk_tyypit.henkilo = p.henkilo --eka vaadittava tutkinto cross apply ( select vuosi = case when p.patevyysryhma='opettaja' then case when kelpoisuuskoodi in ('VA','EL') then tutk_tyypit.alempi_kk else tutk_tyypit.ylempi_kk end when p.patevyysryhma='opettajaaineet' then case when ol.oppilaitostyyppi_koodi='41' then tutk_tyypit.amk else tutk_tyypit.ylempi_kk end end ) tutk --eka pedagoginen (ainepätevyys) left join ( select henkilo ,vuosi = min(vuosi) from [sa].[sa_virta_otp_ope_patevyydet] where patevyysnimi LIKE '%pedagogiset%' group by henkilo ) pedag on pedag.henkilo = p.henkilo and p.patevyysryhma='opettajaaineet' --kelpoisuusvuosi cross apply ( select vuosi = nullif(max(v), 9999) from ( values (p.vuosi),(coalesce(tutk.vuosi, 9999)),(case when p.patevyysryhma='opettajaaineet' then coalesce(pedag.vuosi, 9999) end) ) AS value(v) ) kelp --korkein tutkinto outer apply ( select vuosi ,koulutuskoodi ,organisaatio_koodi from ( select vuosi, koulutuskoodi ,t2.organisaatiokoodi as organisaatio_koodi ,rnk = row_number() over (order by kl.koulutusastetaso2_koodi desc, t2.vuosi desc) from [sa].[sa_virta_otp_ope_tutkinnot] t2 left join dw.d_koulutusluokitus kl on kl.koulutusluokitus_koodi=t2.koulutuskoodi where t2.vuosi <= kelp.vuosi and t2.henkilo=p.henkilo and t2.koulutuskoodi <> '999999' ) q where rnk=1 ) kork_tutk --kelpoisuuksien määrä cross apply ( select lkm = count(distinct case when p3.patevyysryhma='opettaja' then p3.kelpoisuuskoodi when p3.patevyysryhma='opettajaaineet' then p3.aine end ) from #temp_ope_pat p3 where p3.henkilo=p.henkilo and p3.patevyysryhma=p.patevyysryhma and p3.vuosi <= kelp.vuosi ) kaikki_kelp --aiemmin suoritettu 60op pätevyys samasta aineesta outer apply ( select suoritettu = 1 from #temp_ope_pat pat4 where pat4.patevyysryhma='opettajaaineet' and pat4.vuosi < p.vuosi and pat4.henkilo=p.henkilo and pat4.laajuus='60' and pat4.aine=p.aine ) aiempi60 --HENKILÖN KAIKKI PÄTEVYYDET --sama vuosi OUTER APPLY ( select kelp_kaikki = case when len(kelp_kaikki) = 0 then null else left(kelp_kaikki, len(kelp_kaikki)-1) end from ( select distinct kelp_kaikki = concat( case when max(op.aineenopettajan_pedagogiset) = 1 then 'AI_' end ,case when max(op.ammatillinen_opettajakoulutus) = 1 then 'JA_' end ,case when max(op.ammatillinen_erityisopettajakoulutus) = 1 then 'JB_' end ,case when max(op.ammatillinen_opinto_ohjaajakoulutus) = 1 then 'JC_' end ,case when max(op.ruotsinkielinen_ammatillinen_opettajankoulutus) = 1 then 'IX_' end ,case when max(op.erityislastentarhanopettaja) = 1 then 'EL_' end ,case when max(op.erityisopettaja) = 1 then 'ER_' end ,case when max(op.opinto_ohjaaja) = 1 then 'OP_' end ,case when max(op.monialaiset_opinnot) = 1 then 'PE_' end ,case when max(op.varhaiskasvatuksen_ammatilliset_valmiudet) = 1 then 'VA_' end ) from [sa].[sa_virta_otp_ope_patevyydet] up2 left join dw.d_virta_patevyydet vp on vp.patevyys_koodi = up2.patevyyskoodi left join sa.virta_opettajapatevyys_mappaus map on map.patevyyskoodi = up2.patevyyskoodi left join dw.d_opettajapatevyys op on op.koodi = map.kelpoisuuskoodi left join dw.d_virta_patevyydet vp2 on vp2.patevyys_koodi=up2.patevyyskoodi left join ( select henkilo ,amk = min(case when kl.koulutusastetaso2_koodi >= 62 then vuosi end) ,alempi_kk = min(case when kl.koulutusastetaso2_koodi >= 63 then vuosi end) ,ylempi_kk = min(case when kl.koulutusastetaso2_koodi >= 72 then vuosi end) from [sa].[sa_virta_otp_ope_tutkinnot] t left join dw.d_koulutusluokitus kl on kl.koulutusluokitus_koodi=t.koulutuskoodi group by henkilo ) tutk_tyypit2 on tutk_tyypit2.henkilo = up2.henkilo cross apply ( select vuosi = case when vp.patevyysryhma1_fi ='opettaja' then case when map.kelpoisuuskoodi in ('VA','EL') then tutk_tyypit2.alempi_kk else tutk_tyypit2.ylempi_kk end when vp.patevyysryhma1_fi='opettajaaineet' then case when ol.oppilaitostyyppi_koodi='41' then tutk_tyypit2.amk else tutk_tyypit2.ylempi_kk end end ) tutk2 cross apply ( select vuosi = nullif(max(v2), 9999) from ( values (up2.vuosi),(coalesce(tutk2.vuosi, 9999)) ) AS value(v2) ) kelp2 where 1=1 and vp.patevyysryhma1_koodi='AAA' --and up2.patevyys_hyvaksytaan=1 and vp.patevyysryhma1_fi=p.patevyysryhma --and up2.opiskelijaavain=p.opiskelija_avain and up2.henkilo=p.henkilo and kelp2.vuosi = kelp.vuosi --group by cast(concat(up2.organisaatiokoodi,up2.opiskelijaavain) as varchar(50)) ) Q ) kelp_s --sama + aiemmat vuodet OUTER APPLY ( select kelp_kaikki = case when len(kelp_kaikki) = 0 then null else left(kelp_kaikki, len(kelp_kaikki)-1) end from ( select distinct kelp_kaikki = concat( case when max(op.aineenopettajan_pedagogiset) = 1 then 'AI_' end ,case when max(op.ammatillinen_opettajakoulutus) = 1 then 'JA_' end ,case when max(op.ammatillinen_erityisopettajakoulutus) = 1 then 'JB_' end ,case when max(op.ammatillinen_opinto_ohjaajakoulutus) = 1 then 'JC_' end ,case when max(op.ruotsinkielinen_ammatillinen_opettajankoulutus) = 1 then 'IX_' end ,case when max(op.erityislastentarhanopettaja) = 1 then 'EL_' end ,case when max(op.erityisopettaja) = 1 then 'ER_' end ,case when max(op.opinto_ohjaaja) = 1 then 'OP_' end ,case when max(op.monialaiset_opinnot) = 1 then 'PE_' end ,case when max(op.varhaiskasvatuksen_ammatilliset_valmiudet) = 1 then 'VA_' end ) from [sa].[sa_virta_otp_ope_patevyydet] up2 left join dw.d_virta_patevyydet vp on vp.patevyys_koodi = up2.patevyyskoodi left join sa.virta_opettajapatevyys_mappaus map on map.patevyyskoodi = up2.patevyyskoodi left join dw.d_opettajapatevyys op on op.koodi = map.kelpoisuuskoodi left join dw.d_virta_patevyydet vp2 on vp2.patevyys_koodi=up2.patevyyskoodi left join ( select henkilo ,amk = min(case when kl.koulutusastetaso2_koodi >= 62 then vuosi end) ,alempi_kk = min(case when kl.koulutusastetaso2_koodi >= 63 then vuosi end) ,ylempi_kk = min(case when kl.koulutusastetaso2_koodi >= 72 then vuosi end) from [sa].[sa_virta_otp_ope_tutkinnot] t left join dw.d_koulutusluokitus kl on kl.koulutusluokitus_koodi=t.koulutuskoodi where t.koulutuskoodi <> '999999' group by henkilo ) tutk_tyypit2 on tutk_tyypit2.henkilo = up2.henkilo cross apply ( select vuosi = case when vp.patevyysryhma1_fi ='opettaja' then case when map.kelpoisuuskoodi in ('VA','EL') then tutk_tyypit2.alempi_kk else tutk_tyypit2.ylempi_kk end when vp.patevyysryhma1_fi='opettajaaineet' then case when ol.oppilaitostyyppi_koodi='41' then tutk_tyypit2.amk else tutk_tyypit2.ylempi_kk end end ) tutk2 cross apply ( select vuosi = nullif(max(v2), 9999) from ( values (up2.vuosi),(coalesce(tutk2.vuosi, 9999)) ) AS value(v2) ) kelp2 where 1=1 and vp.patevyysryhma1_koodi='AAA' --and up2.patevyys_hyvaksytaan=1 and vp.patevyysryhma1_fi=p.patevyysryhma --and up2.opiskelijaavain=p.opiskelija_avain and up2.henkilo=p.henkilo and kelp.vuosi >= kelp2.vuosi --group by cast(concat(up2.organisaatiokoodi,up2.opiskelijaavain) as varchar(50)) ) Q ) kelp_sa --kelpoisuuksien priorisointi OUTER APPLY ( select top 1 koodi from sa.virta_opettajakelpoisuus_priorisointi p cross apply ( select eka = left(koodi,2) ,toka = nullif(substring(koodi, 4, 2),'') ,kolmas = nullif(substring(koodi, 7, 2),'') ,neljas = nullif(substring(koodi, 10, 2),'') ) ca where 1=1 and kelp_sa.kelp_kaikki like concat('%',ca.eka,'%') and kelp_sa.kelp_kaikki like concat('%',ca.toka,'%') and kelp_sa.kelp_kaikki like concat('%',ca.kolmas,'%') and kelp_sa.kelp_kaikki like concat('%',ca.neljas,'%') and ( kelp_s.kelp_kaikki like concat('%',ca.eka,'%') or kelp_s.kelp_kaikki like concat('%',coalesce(ca.toka,'ÖÖ'),'%') or kelp_s.kelp_kaikki like concat('%',coalesce(ca.kolmas,'ÖÖ'),'%') or kelp_s.kelp_kaikki like concat('%',coalesce(ca.neljas,'ÖÖ'),'%') ) order by sija ) p1 WHERE 1=1 and (p1.koodi like concat('%',p.kelpoisuuskoodi, '%') or p.patevyysryhma <> 'opettaja') GO USE [ANTERO]
<gh_stars>1-10 CREATE TABLE dbo.Measurement ( MeasurementId INT NOT NULL IDENTITY, /* Run */ JobSiteId INT NOT NULL, Joint INT, PipeLength FLOAT, ThreadLength FLOAT, ItemDescription NVARCHAR(MAX), TopThread NVARCHAR(MAX), IsDamaged BIT, CONSTRAINT MeasurementKey PRIMARY KEY (MeasurementId), CONSTRAINT MeasurementJobSiteRef FOREIGN KEY (JobSiteId) REFERENCES dbo.JobSite(JobSiteId) )
<gh_stars>1-10 CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `auth` varchar(100) NOT NULL DEFAULT '0', `username` varchar(255) NOT NULL DEFAULT '', `email` varchar(255) NOT NULL DEFAULT '', `password` varchar(255) NOT NULL DEFAULT '', `avatar` varchar(255) DEFAULT 'default.jpg', `created_at` datetime NOT NULL, `updated_at` datetime DEFAULT NULL, `is_admin` tinyint(1) unsigned NOT NULL DEFAULT '0', `is_confirmed` tinyint(1) unsigned NOT NULL DEFAULT '0', `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '0', `password_reset` tinyint(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ); CREATE TABLE IF NOT EXISTS `ci_sessions` ( `id` varchar(40) NOT NULL, `ip_address` varchar(45) NOT NULL, `timestamp` int(10) unsigned DEFAULT 0 NOT NULL, `data` blob NOT NULL, PRIMARY KEY (id), KEY `ci_sessions_timestamp` (`timestamp`) ); CREATE TABLE IF NOT EXISTS `subscribers` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `water_point_id` varchar(255) DEFAULT NULL, `telegram_chat_id` varchar(255) DEFAULT NULL, `province` varchar(255) DEFAULT NULL, `district` varchar(255) DEFAULT NULL, `chiefdom` varchar(255) DEFAULT NULL, `phone_number` varchar(255) NOT NULL DEFAULT '', `created_at` datetime NOT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ); CREATE TABLE IF NOT EXISTS `community_updates` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `water_point_id` varchar(255) DEFAULT NULL, `attribute` varchar(255) DEFAULT NULL, `condition` varchar(255) DEFAULT NULL, `created_at` datetime NOT NULL, PRIMARY KEY (`id`) );
<reponame>ducdhm/niit-doc<gh_stars>1-10 use Retail2002_commerce go drop table tbProduct go drop procedure sp_tbProduct_Add go /* Create table */ create table tbProduct ( proCode nvarchar(6)not null, proCodeDescription varchar(128)not null, proName varchar(200)not null, proDescription varchar(2000)not null, proPrice varchar(8)not null, proQuantity varchar(8), proImage nvarchar(256) ) go /* Create constraint */ alter table tbProduct add constraint pk_tbProduct Primary key Clustered(proCode) go /* Create store procedure */ create procedure sp_tbProduct_Add @proCodeDescription varchar(128), @proName varchar(200), @proDescription varchar(2000), @proPrice varchar(8), @proQuantity varchar(8), @proImage nvarchar(256) as begin declare @maxid int declare @proCode nvarchar(6) select @maxid = max(substring(proCode,3,4)) + 1 from tbProduct where left(proCode, 2) = 'EP' if @maxid is null set @proCode = 'EP0001' else if @maxid <10 set @proCode = 'EP' + '000' + cast(@maxid as varchar) else if @maxid <100 set @proCode = 'EP' + '00' + cast(@maxid as varchar) else if @maxid <1000 set @proCode = 'EP' + '0' + cast(@maxid as varchar) else set @proCode = 'EP' + cast(@maxid as varchar) insert into tbProduct values(@proCode, @proCodeDescription, @proName, @proDescription, @proPrice, @proQuantity, @proImage) end go /* Insert data */ exec sp_tbProduct_Add 'DVD Recorders', 'DVD Recorders 01', 'DVD Recorders 01 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/DVD Recorders 01.jpg' go exec sp_tbProduct_Add 'DVD Recorders', 'DVD Recorders 02', 'DVD Recorders 02 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/DVD Recorders 02.jpg' go exec sp_tbProduct_Add 'DVD Recorders', 'DVD Recorders 03', 'DVD Recorders 03 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/DVD Recorders 03.jpg' go exec sp_tbProduct_Add 'MP3 and Digital Audio', 'MP3 and Digital Audio 01', 'MP3 and Digital Audio 01 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/MP3 and Digital Audio 01.jpg' go exec sp_tbProduct_Add 'MP3 and Digital Audio', 'MP3 and Digital Audio 02', 'MP3 and Digital Audio 02 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/MP3 and Digital Audio 02.jpg' go exec sp_tbProduct_Add 'MP3 and Digital Audio', 'MP3 and Digital Audio 03', 'MP3 and Digital Audio 03 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/MP3 and Digital Audio 03.jpg' go exec sp_tbProduct_Add 'Portable Audio and Video', 'Portable Audio and Video 01', 'Portable Audio and Video 01 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Portable Audio and Video 01.jpg' go exec sp_tbProduct_Add 'Portable Audio and Video', 'Portable Audio and Video 02', 'Portable Audio and Video 02 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Portable Audio and Video 02.jpg' go exec sp_tbProduct_Add 'Portable Audio and Video', 'Portable Audio and Video 03', 'Portable Audio and Video 03 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Portable Audio and Video 03.jpg' go exec sp_tbProduct_Add 'Receivers and Amplifiers', 'Receivers and Amplifiers 01', 'Receivers and Amplifiers 01 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Receivers and Amplifiers 01.jpg' go exec sp_tbProduct_Add 'Receivers and Amplifiers', 'Receivers and Amplifiers 02', 'Receivers and Amplifiers 02 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Receivers and Amplifiers 02.jpg' go exec sp_tbProduct_Add 'Receivers and Amplifiers', 'Receivers and Amplifiers 03', 'Receivers and Amplifiers 03 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Receivers and Amplifiers 03.jpg' go exec sp_tbProduct_Add 'Satellite Radios', 'Satellite Radios 01', 'Satellite Radios 01 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Satellite Radios 01.jpg' go exec sp_tbProduct_Add 'Satellite Radios', 'Satellite Radios 02', 'Satellite Radios 02 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Satellite Radios 02.jpg' go exec sp_tbProduct_Add 'Satellite Radios', 'Satellite Radios 03', 'Satellite Radios 03 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Satellite Radios 03.jpg' go exec sp_tbProduct_Add 'Speakers', 'Speakers 01', 'Speakers 01 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Speakers 01.jpg' go exec sp_tbProduct_Add 'Speakers', 'Speakers 02', 'Speakers 02 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Speakers 02.jpg' go exec sp_tbProduct_Add 'Speakers', 'Speakers 03', 'Speakers 03 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/Speakers 02.jpg' go exec sp_tbProduct_Add 'TV', 'TV 01', 'TV 01 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/TV 01.jpg' go exec sp_tbProduct_Add 'TV', 'TV 02', 'TV 02 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/TV 02.jpg' go exec sp_tbProduct_Add 'TV', 'TV 03', 'TV 03 sold by Smart SuperStore: Electronic Products', '338.88', '1', './SSS - Electronic Products/images/TV 03.jpg' go select * from tbProduct
<filename>egov/egov-ptis/src/main/resources/db/migration/main/V20170912150933__ptis_roleActionMappingForWardByBlock.sql INSERT into EG_ACTION (ID,NAME,URL,QUERYPARAMS,PARENTMODULE,ORDERNUMBER,DISPLAYNAME,ENABLED,CONTEXTROOT,VERSION,CREATEDBY,CREATEDDATE,LASTMODIFIEDBY,LASTMODIFIEDDATE,APPLICATION) values (NEXTVAL('SEQ_EG_ACTION'),'WardByBlock','/bulkboundaryupdation/ajaxBoundary-wardByBlock ', null,(select id from EG_MODULE where name = 'Existing property'),1,'Ward By Block','f','ptis',0,1,now(),1,now(),(select id from eg_module where name = 'Property Tax')); insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Data Entry Operator'),(select id from eg_action where name='WardByBlock'));
-- phpMyAdmin SQL Dump -- version 4.8.0 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: 2019-04-24 19:51:33 -- 服务器版本: 5.7.21 -- PHP Version: 7.0.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `WeGoShop` -- -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_ad` -- CREATE TABLE `WeGoShop_ad` ( `id` smallint(5) UNSIGNED NOT NULL, `ad_position_id` smallint(5) UNSIGNED NOT NULL DEFAULT '0', `media_type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0', `name` varchar(60) NOT NULL DEFAULT '', `link` varchar(255) NOT NULL DEFAULT '', `image_url` text NOT NULL, `content` varchar(255) NOT NULL DEFAULT '', `end_time` int(11) NOT NULL DEFAULT '0', `enabled` tinyint(3) UNSIGNED NOT NULL DEFAULT '1' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- 转存表中的数据 `WeGoShop_ad` -- INSERT INTO `WeGoShop_ad` (`id`, `ad_position_id`, `media_type`, `name`, `link`, `image_url`, `content`, `end_time`, `enabled`) VALUES (1, 1, 1, '合作 谁是你的菜', '', 'http://yanxuan.nosdn.127.net/65091eebc48899298171c2eb6696fe27.jpg', '合作 谁是你的菜', 0, 1), (2, 1, 1, '活动 美食节', '', 'http://yanxuan.nosdn.127.net/bff2e49136fcef1fd829f5036e07f116.jpg', '活动 美食节', 0, 1), (3, 1, 1, '活动 母亲节', '', 'http://yanxuan.nosdn.127.net/8e50c65fda145e6dd1bf4fb7ee0fcecc.jpg', '活动 母亲节', 0, 1); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_admin` -- CREATE TABLE `WeGoShop_admin` ( `id` int(11) NOT NULL, `username` varchar(10) NOT NULL DEFAULT '''''', `password` varchar(255) NOT NULL DEFAULT '''''', `password_salt` varchar(255) NOT NULL DEFAULT '''''', `last_login_ip` varchar(60) NOT NULL DEFAULT '''''', `last_login_time` int(11) NOT NULL DEFAULT '0', `add_time` int(11) NOT NULL DEFAULT '0', `update_time` int(11) NOT NULL DEFAULT '0', `avatar` varchar(255) NOT NULL DEFAULT '''''', `admin_role_id` int(11) NOT NULL DEFAULT '0', `shop_id` varchar(32) NOT NULL DEFAULT '0', `phoneNum` varchar(20) DEFAULT NULL, `init` int(11) NOT NULL DEFAULT '0', `is_binding` tinyint(1) NOT NULL DEFAULT '0', `weixin_openid` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- 转存表中的数据 `WeGoShop_admin` -- INSERT INTO `WeGoShop_admin` (`id`, `username`, `password`, `password_<PASSWORD>`, `last_login_ip`, `last_login_time`, `add_time`, `update_time`, `avatar`, `admin_role_id`, `shop_id`, `phoneNum`, `init`, `is_binding`, `weixin_openid`) VALUES (1000000, 'admin', '042f9636b10278<PASSWORD>', 'RZ6luJ', '::ffff:127.0.0.1', 1556135181, 0, 0, '\'\'', 1, '0', NULL, 1, 0, NULL); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_category` -- CREATE TABLE `WeGoShop_category` ( `id` int(11) UNSIGNED NOT NULL, `name` varchar(90) NOT NULL DEFAULT '', `parent_id` int(11) UNSIGNED NOT NULL DEFAULT '0', `sort_order` tinyint(1) UNSIGNED NOT NULL DEFAULT '50', `show_index` tinyint(1) NOT NULL DEFAULT '0', `is_show` tinyint(1) UNSIGNED NOT NULL DEFAULT '1', `banner_url` varchar(255) NOT NULL DEFAULT '', `type` int(11) NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -- 转存表中的数据 `WeGoShop_category` -- INSERT INTO `WeGoShop_category` (`id`, `name`, `parent_id`, `sort_order`, `show_index`, `is_show`, `banner_url`, `type`) VALUES (21, '休闲娱乐', 0, 50, 0, 1, '', 0), (15, '美食', 0, 50, 0, 1, '', 0), (22, '足疗/按摩', 21, 50, 0, 1, '', 0), (23, '洗浴/汗蒸', 21, 50, 0, 1, '', 0), (16, '火锅', 15, 50, 0, 1, '', 0), (17, '生日蛋糕', 15, 50, 0, 1, '', 0), (18, '甜点饮品', 15, 50, 0, 1, '', 0), (19, '自助餐', 15, 50, 0, 1, '', 0), (20, '日韩料理', 15, 50, 0, 1, '', 0), (24, 'KTV', 21, 50, 0, 1, '', 0), (25, '酒吧', 21, 50, 0, 1, '', 0), (26, '电玩/游戏厅', 21, 50, 0, 1, '', 0), (27, '丽人', 0, 50, 0, 1, '', 0), (28, '美发', 27, 50, 0, 1, '', 0), (29, '美容美体', 27, 50, 0, 1, '', 0), (30, '美甲美瞳', 27, 50, 0, 1, '', 0), (31, '瑜伽舞蹈', 27, 50, 0, 1, '', 0), (32, '瘦身纤体', 27, 50, 0, 1, '', 0), (33, '纹身', 27, 50, 0, 1, '', 0); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_comment` -- CREATE TABLE `WeGoShop_comment` ( `id` int(11) UNSIGNED NOT NULL, `type_id` tinyint(3) UNSIGNED NOT NULL DEFAULT '0', `value_id` int(11) UNSIGNED NOT NULL DEFAULT '0', `content` varchar(6550) NOT NULL COMMENT '储存为base64编码', `add_time` bigint(12) UNSIGNED NOT NULL DEFAULT '0', `status` tinyint(3) UNSIGNED NOT NULL DEFAULT '0', `user_id` int(11) UNSIGNED NOT NULL DEFAULT '0', `new_content` varchar(6550) NOT NULL DEFAULT '' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_comment_picture` -- CREATE TABLE `WeGoShop_comment_picture` ( `id` int(11) NOT NULL, `comment_id` int(11) UNSIGNED NOT NULL DEFAULT '0', `pic_url` varchar(255) NOT NULL DEFAULT '', `sort_order` tinyint(1) UNSIGNED NOT NULL DEFAULT '5' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_config` -- CREATE TABLE `WeGoShop_config` ( `item` varchar(127) NOT NULL, `value` varchar(255) NOT NULL, `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- 转存表中的数据 `WeGoShop_config` -- INSERT INTO `WeGoShop_config` (`item`, `value`, `time`) VALUES ('miniprogram_accesstoken', '<KEY>', '2019-04-22 13:30:20'), ('mp_accesstoken', '<KEY>', '2018-08-08 07:11:06'); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_coupon` -- CREATE TABLE `WeGoShop_coupon` ( `id` smallint(5) UNSIGNED NOT NULL, `name` varchar(60) NOT NULL DEFAULT '', `type_money` decimal(10,2) NOT NULL DEFAULT '0.00', `send_type` tinyint(3) UNSIGNED NOT NULL DEFAULT '0', `min_amount` decimal(10,2) UNSIGNED NOT NULL DEFAULT '0.00', `max_amount` decimal(10,2) UNSIGNED NOT NULL DEFAULT '0.00', `send_start_date` int(11) NOT NULL DEFAULT '0', `send_end_date` int(11) NOT NULL DEFAULT '0', `use_start_date` int(11) NOT NULL DEFAULT '0', `use_end_date` int(11) NOT NULL DEFAULT '0', `min_goods_amount` decimal(10,2) UNSIGNED NOT NULL DEFAULT '0.00' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_feedback` -- CREATE TABLE `WeGoShop_feedback` ( `msg_id` mediumint(8) UNSIGNED NOT NULL, `parent_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0', `user_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0', `user_name` varchar(60) NOT NULL DEFAULT '', `user_email` varchar(60) NOT NULL DEFAULT '', `msg_title` varchar(200) NOT NULL DEFAULT '', `msg_type` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `msg_status` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `msg_content` text NOT NULL, `msg_time` int(10) UNSIGNED NOT NULL DEFAULT '0', `message_img` varchar(255) NOT NULL DEFAULT '0', `order_id` int(11) UNSIGNED NOT NULL DEFAULT '0', `msg_area` tinyint(1) UNSIGNED NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_footprint` -- CREATE TABLE `WeGoShop_footprint` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL DEFAULT '0', `goods_id` int(11) NOT NULL DEFAULT '0', `add_time` int(11) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_order` -- CREATE TABLE `WeGoShop_order` ( `id` mediumint(8) UNSIGNED NOT NULL, `order_sn` varchar(20) NOT NULL DEFAULT '', `user_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0', `order_status` smallint(2) UNSIGNED NOT NULL DEFAULT '0', `pay_status` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `pay_name` varchar(120) NOT NULL DEFAULT '', `pay_id` tinyint(3) NOT NULL DEFAULT '0', `actual_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '实际需要支付的金额', `order_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单总价', `goods_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '商品总价', `add_time` int(11) UNSIGNED NOT NULL DEFAULT '0', `content` text NOT NULL, `confirm_time` int(11) UNSIGNED NOT NULL DEFAULT '0', `pay_time` int(11) UNSIGNED NOT NULL DEFAULT '0', `coupon_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' COMMENT '使用的优惠券id', `promotion_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0', `num` smallint(6) NOT NULL, `shop_id` mediumint(9) NOT NULL DEFAULT '0', `coupon_price` decimal(10,2) NOT NULL DEFAULT '0.00', `callback_status` enum('true','false') DEFAULT 'true' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_promotion` -- CREATE TABLE `WeGoShop_promotion` ( `id` int(11) UNSIGNED NOT NULL, `promotion_sn` varchar(60) NOT NULL DEFAULT '', `shop_id` varchar(30) NOT NULL, `name` varchar(120) NOT NULL DEFAULT '', `promotion_brief` varchar(255) NOT NULL DEFAULT '', `content` text NOT NULL, `is_on_sale` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `sort_order` smallint(4) UNSIGNED NOT NULL DEFAULT '100', `allow_time` varchar(255) NOT NULL DEFAULT '[]', `is_delete` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `attribute_category` int(11) UNSIGNED NOT NULL DEFAULT '0', `is_new` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `price` decimal(10,2) UNSIGNED NOT NULL DEFAULT '0.00', `sell_volume` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '销售量', `is_hot` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `start_date` date NOT NULL, `end_date` date NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_promotion_gallery` -- CREATE TABLE `WeGoShop_promotion_gallery` ( `id` int(11) UNSIGNED NOT NULL, `promotion_id` int(11) UNSIGNED NOT NULL DEFAULT '0', `img_url` varchar(255) NOT NULL DEFAULT '', `img_desc` varchar(255) NOT NULL DEFAULT '', `sort_order` int(11) UNSIGNED NOT NULL DEFAULT '5' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_recharge` -- CREATE TABLE `WeGoShop_recharge` ( `id` int(11) NOT NULL, `fee` decimal(10,2) NOT NULL, `point` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- 转存表中的数据 `WeGoShop_recharge` -- INSERT INTO `WeGoShop_recharge` (`id`, `fee`, `point`) VALUES (10, 0.01, 1); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_shop_gallery` -- CREATE TABLE `WeGoShop_shop_gallery` ( `id` int(11) NOT NULL, `img_url` varchar(255) NOT NULL, `shop_id` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- 转存表中的数据 `WeGoShop_shop_gallery` -- INSERT INTO `WeGoShop_shop_gallery` (`id`, `img_url`, `shop_id`) VALUES (52, 'shopPrimaryPic/gallery/5cc09f1a54ad1d2e5fc2d148/rZmRzyn5DYt5Q3Qnm5Yr6rGmb5pXJjGM', '5cc09f1a54ad1d2e5fc2d148'), (53, 'shopPrimaryPic/gallery/5cc09f1a54ad1d2e5fc2d148/7C7PjxT3J2B382KAza33bnbj7TrYCQYP', '5cc09f1a54ad1d2e5fc2d148'), (54, 'shopPrimaryPic/gallery/5cc09f1a54ad1d2e5fc2d148/XB5tFdfQZFPKMWBS3yDH5dZPCSWXMhFC', '5cc09f1a54ad1d2e5fc2d148'); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_specification` -- CREATE TABLE `WeGoShop_specification` ( `id` int(11) UNSIGNED NOT NULL, `name` varchar(60) NOT NULL DEFAULT '', `sort_order` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COMMENT='规格表'; -- -- 转存表中的数据 `WeGoShop_specification` -- INSERT INTO `WeGoShop_specification` (`id`, `name`, `sort_order`) VALUES (1, '颜色', 1), (2, '规格', 2); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_user` -- CREATE TABLE `WeGoShop_user` ( `id` mediumint(8) UNSIGNED NOT NULL, `username` varchar(60) NOT NULL DEFAULT '', `password` varchar(32) NOT NULL DEFAULT '', `gender` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `point` int(11) NOT NULL DEFAULT '0', `birthday` int(11) UNSIGNED NOT NULL DEFAULT '0', `register_time` int(11) UNSIGNED NOT NULL DEFAULT '0', `last_login_time` int(11) UNSIGNED NOT NULL DEFAULT '0', `last_login_ip` varchar(15) NOT NULL DEFAULT '', `user_level_id` tinyint(3) UNSIGNED NOT NULL DEFAULT '0', `nickname` varchar(60) NOT NULL, `mobile` varchar(20) NOT NULL, `register_ip` varchar(45) NOT NULL DEFAULT '', `avatar` varchar(255) NOT NULL DEFAULT '', `weixin_openid` varchar(50) DEFAULT NULL, `miniprogram_openid` varchar(50) DEFAULT NULL, `union_id` varchar(50) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_user_coupon` -- CREATE TABLE `WeGoShop_user_coupon` ( `id` mediumint(8) UNSIGNED NOT NULL, `coupon_id` tinyint(3) UNSIGNED NOT NULL DEFAULT '0', `coupon_number` varchar(20) NOT NULL DEFAULT '', `user_id` int(11) UNSIGNED NOT NULL DEFAULT '0', `used_time` int(10) UNSIGNED NOT NULL DEFAULT '0', `order_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_user_level` -- CREATE TABLE `WeGoShop_user_level` ( `id` tinyint(3) UNSIGNED NOT NULL, `name` varchar(30) NOT NULL DEFAULT '', `description` varchar(255) NOT NULL DEFAULT '' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -- 转存表中的数据 `WeGoShop_user_level` -- INSERT INTO `WeGoShop_user_level` (`id`, `name`, `description`) VALUES (1, '普通用户', '0'), (2, 'vip', '10000'); -- -------------------------------------------------------- -- -- 表的结构 `WeGoShop_voucher` -- CREATE TABLE `WeGoShop_voucher` ( `id` mediumint(8) UNSIGNED NOT NULL, `order_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0', `code` varchar(16) NOT NULL, `promotion_id` mediumint(8) UNSIGNED NOT NULL DEFAULT '0', `status` tinyint(4) NOT NULL DEFAULT '0', `add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `end_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; -- -- Indexes for dumped tables -- -- -- Indexes for table `WeGoShop_ad` -- ALTER TABLE `WeGoShop_ad` ADD PRIMARY KEY (`id`), ADD KEY `position_id` (`ad_position_id`), ADD KEY `enabled` (`enabled`); -- -- Indexes for table `WeGoShop_admin` -- ALTER TABLE `WeGoShop_admin` ADD PRIMARY KEY (`id`), ADD KEY `shop_id` (`shop_id`), ADD KEY `weixin_openid` (`weixin_openid`); -- -- Indexes for table `WeGoShop_category` -- ALTER TABLE `WeGoShop_category` ADD PRIMARY KEY (`id`), ADD KEY `parent_id` (`parent_id`); -- -- Indexes for table `WeGoShop_comment` -- ALTER TABLE `WeGoShop_comment` ADD PRIMARY KEY (`id`), ADD KEY `id_value` (`value_id`); -- -- Indexes for table `WeGoShop_comment_picture` -- ALTER TABLE `WeGoShop_comment_picture` ADD PRIMARY KEY (`id`); -- -- Indexes for table `WeGoShop_config` -- ALTER TABLE `WeGoShop_config` ADD PRIMARY KEY (`item`), ADD UNIQUE KEY `item` (`item`); -- -- Indexes for table `WeGoShop_coupon` -- ALTER TABLE `WeGoShop_coupon` ADD PRIMARY KEY (`id`); -- -- Indexes for table `WeGoShop_feedback` -- ALTER TABLE `WeGoShop_feedback` ADD PRIMARY KEY (`msg_id`), ADD KEY `user_id` (`user_id`); -- -- Indexes for table `WeGoShop_footprint` -- ALTER TABLE `WeGoShop_footprint` ADD PRIMARY KEY (`id`); -- -- Indexes for table `WeGoShop_order` -- ALTER TABLE `WeGoShop_order` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `order_sn` (`order_sn`), ADD KEY `user_id` (`user_id`), ADD KEY `order_status` (`order_status`), ADD KEY `pay_status` (`pay_status`), ADD KEY `pay_id` (`pay_id`); -- -- Indexes for table `WeGoShop_promotion` -- ALTER TABLE `WeGoShop_promotion` ADD PRIMARY KEY (`id`), ADD KEY `goods_sn` (`promotion_sn`), ADD KEY `sort_order` (`sort_order`); -- -- Indexes for table `WeGoShop_promotion_gallery` -- ALTER TABLE `WeGoShop_promotion_gallery` ADD PRIMARY KEY (`id`), ADD KEY `goods_id` (`promotion_id`); -- -- Indexes for table `WeGoShop_recharge` -- ALTER TABLE `WeGoShop_recharge` ADD PRIMARY KEY (`id`); -- -- Indexes for table `WeGoShop_shop_gallery` -- ALTER TABLE `WeGoShop_shop_gallery` ADD PRIMARY KEY (`id`); -- -- Indexes for table `WeGoShop_specification` -- ALTER TABLE `WeGoShop_specification` ADD PRIMARY KEY (`id`); -- -- Indexes for table `WeGoShop_user` -- ALTER TABLE `WeGoShop_user` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `user_name` (`username`), ADD KEY `weixin_openid` (`weixin_openid`); -- -- Indexes for table `WeGoShop_user_coupon` -- ALTER TABLE `WeGoShop_user_coupon` ADD PRIMARY KEY (`id`), ADD KEY `user_id` (`user_id`); -- -- Indexes for table `WeGoShop_user_level` -- ALTER TABLE `WeGoShop_user_level` ADD PRIMARY KEY (`id`); -- -- Indexes for table `WeGoShop_voucher` -- ALTER TABLE `WeGoShop_voucher` ADD PRIMARY KEY (`id`), ADD KEY `order_id` (`order_id`), ADD KEY `goods_id` (`promotion_id`), ADD KEY `code` (`code`), ADD KEY `add_time` (`add_time`,`end_time`); -- -- 在导出的表使用AUTO_INCREMENT -- -- -- 使用表AUTO_INCREMENT `WeGoShop_ad` -- ALTER TABLE `WeGoShop_ad` MODIFY `id` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- 使用表AUTO_INCREMENT `WeGoShop_admin` -- ALTER TABLE `WeGoShop_admin` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1000048; -- -- 使用表AUTO_INCREMENT `WeGoShop_category` -- ALTER TABLE `WeGoShop_category` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; -- -- 使用表AUTO_INCREMENT `WeGoShop_comment` -- ALTER TABLE `WeGoShop_comment` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- 使用表AUTO_INCREMENT `WeGoShop_comment_picture` -- ALTER TABLE `WeGoShop_comment_picture` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- 使用表AUTO_INCREMENT `WeGoShop_coupon` -- ALTER TABLE `WeGoShop_coupon` MODIFY `id` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- 使用表AUTO_INCREMENT `WeGoShop_feedback` -- ALTER TABLE `WeGoShop_feedback` MODIFY `msg_id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- 使用表AUTO_INCREMENT `WeGoShop_footprint` -- ALTER TABLE `WeGoShop_footprint` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=105; -- -- 使用表AUTO_INCREMENT `WeGoShop_order` -- ALTER TABLE `WeGoShop_order` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=96; -- -- 使用表AUTO_INCREMENT `WeGoShop_promotion` -- ALTER TABLE `WeGoShop_promotion` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36; -- -- 使用表AUTO_INCREMENT `WeGoShop_promotion_gallery` -- ALTER TABLE `WeGoShop_promotion_gallery` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=119; -- -- 使用表AUTO_INCREMENT `WeGoShop_recharge` -- ALTER TABLE `WeGoShop_recharge` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- 使用表AUTO_INCREMENT `WeGoShop_shop_gallery` -- ALTER TABLE `WeGoShop_shop_gallery` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55; -- -- 使用表AUTO_INCREMENT `WeGoShop_specification` -- ALTER TABLE `WeGoShop_specification` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- 使用表AUTO_INCREMENT `WeGoShop_user` -- ALTER TABLE `WeGoShop_user` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46; -- -- 使用表AUTO_INCREMENT `WeGoShop_user_coupon` -- ALTER TABLE `WeGoShop_user_coupon` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32; -- -- 使用表AUTO_INCREMENT `WeGoShop_user_level` -- ALTER TABLE `WeGoShop_user_level` MODIFY `id` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- 使用表AUTO_INCREMENT `WeGoShop_voucher` -- ALTER TABLE `WeGoShop_voucher` MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=73; 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 */;
/* Navicat MySQL Data Transfer Source Server : local Source Server Version : 50714 Source Host : localhost:3306 Source Database : 1_one_db Target Server Type : MYSQL Target Server Version : 50714 File Encoding : 65001 Date: 2018-04-20 13:31:21 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `creature_properties_darkmoonfaire` -- ---------------------------- DROP TABLE IF EXISTS `creature_properties_darkmoonfaire`; CREATE TABLE `creature_properties_darkmoonfaire` ( `entry` int(30) unsigned NOT NULL DEFAULT '0', `build` smallint(6) NOT NULL DEFAULT '12340', `killcredit1` int(10) DEFAULT '0', `killcredit2` int(10) DEFAULT '0', `male_displayid` int(10) DEFAULT '0', `female_displayid` int(10) DEFAULT '0', `male_displayid2` int(10) DEFAULT '0', `female_displayid2` int(10) DEFAULT '0', `name` varchar(100) DEFAULT '', `subname` varchar(100) DEFAULT '', `info_str` varchar(500) DEFAULT '', `type_flags` int(10) DEFAULT NULL, `type` int(10) DEFAULT '0', `family` int(10) DEFAULT '0', `rank` int(10) DEFAULT '0', `encounter` int(10) DEFAULT '0', `base_attack_mod` float DEFAULT NULL, `range_attack_mod` float DEFAULT NULL, `leader` tinyint(3) DEFAULT '0', `minlevel` int(30) unsigned NOT NULL DEFAULT '1', `maxlevel` int(30) unsigned NOT NULL DEFAULT '1', `faction` int(30) unsigned NOT NULL DEFAULT '0', `minhealth` int(30) unsigned NOT NULL DEFAULT '1', `maxhealth` int(30) unsigned NOT NULL DEFAULT '1', `mana` int(30) unsigned NOT NULL DEFAULT '0', `scale` float NOT NULL DEFAULT '1', `npcflags` int(30) unsigned NOT NULL DEFAULT '0', `attacktime` int(30) unsigned NOT NULL DEFAULT '0', `attack_school` tinyint(4) DEFAULT NULL, `mindamage` float NOT NULL DEFAULT '0', `maxdamage` float NOT NULL DEFAULT '0', `can_ranged` int(11) unsigned NOT NULL DEFAULT '0', `rangedattacktime` int(30) unsigned NOT NULL DEFAULT '0', `rangedmindamage` float unsigned NOT NULL DEFAULT '0', `rangedmaxdamage` float unsigned NOT NULL DEFAULT '0', `respawntime` int(30) unsigned NOT NULL DEFAULT '0', `armor` mediumint(10) unsigned NOT NULL DEFAULT '0', `resistance1` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Holy', `resistance2` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Fire', `resistance3` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Nature', `resistance4` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Frost', `resistance5` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Shadow', `resistance6` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Arcane', `combat_reach` float NOT NULL DEFAULT '1', `bounding_radius` float NOT NULL DEFAULT '1', `auras` longtext, `boss` int(11) unsigned NOT NULL DEFAULT '0', `money` int(30) NOT NULL DEFAULT '0', `invisibility_type` int(30) unsigned NOT NULL DEFAULT '0', `walk_speed` float NOT NULL DEFAULT '2.5', `run_speed` float NOT NULL DEFAULT '8', `fly_speed` float NOT NULL DEFAULT '14', `extra_a9_flags` int(30) NOT NULL DEFAULT '0', `spell1` int(10) unsigned NOT NULL DEFAULT '0', `spell2` int(10) unsigned NOT NULL DEFAULT '0', `spell3` int(10) unsigned NOT NULL DEFAULT '0', `spell4` int(10) unsigned NOT NULL DEFAULT '0', `spell5` int(10) unsigned NOT NULL DEFAULT '0', `spell6` int(10) unsigned NOT NULL DEFAULT '0', `spell7` int(10) unsigned NOT NULL DEFAULT '0', `spell8` int(10) unsigned NOT NULL DEFAULT '0', `spell_flags` int(30) NOT NULL DEFAULT '0', `modImmunities` int(30) unsigned NOT NULL DEFAULT '0', `isTrainingDummy` int(10) unsigned NOT NULL DEFAULT '0', `guardtype` int(10) unsigned NOT NULL DEFAULT '0', `summonguard` int(10) unsigned NOT NULL DEFAULT '0', `spelldataid` int(10) unsigned NOT NULL DEFAULT '0', `vehicleid` int(10) unsigned NOT NULL DEFAULT '0', `rooted` int(10) unsigned NOT NULL DEFAULT '0', `questitem1` int(11) DEFAULT '0', `questitem2` int(11) DEFAULT '0', `questitem3` int(11) DEFAULT '0', `questitem4` int(11) DEFAULT '0', `questitem5` int(11) DEFAULT '0', `questitem6` int(11) DEFAULT '0', `waypointid` int(10) DEFAULT '0', PRIMARY KEY (`entry`,`build`), UNIQUE KEY `unique_index` (`entry`,`build`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Creature System'; -- ---------------------------- -- Records of creature_properties_darkmoonfaire -- ---------------------------- INSERT INTO `creature_properties_darkmoonfaire` VALUES ('52039', '15005', '0', '0', '26241', '26241', '0', '0', 'ELM General Purpose Bunny (scale x0.75)', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '85', '85', '35', '1', '1', '0', '0.75', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54485', '15005', '0', '0', '39073', '0', '0', '0', '<NAME>', 'Ring Toss', '', '2048', '0', '0', '0', '0', '0', '0', '0', '55', '55', '35', '24', '24', '0', '1', '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54487', '15005', '0', '0', '38809', '0', '0', '0', 'Darkmoon Turtle', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '188', '40', '40', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54490', '15005', '0', '0', '39038', '0', '0', '0', 'Dubenko', 'The Darkmoon Turtle', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54491', '15005', '0', '0', '39549', '0', '0', '0', 'Darkmoon Monkey', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '188', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54546', '15005', '0', '0', '38857', '0', '0', '0', 'Whack-a-<NAME>', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54551', '15005', '0', '0', '29183', '22769', '0', '0', 'Darkmoon Cookpot', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '5', '5', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54595', '15005', '0', '0', '257', '0', '0', '0', 'Maggy', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '6', '6', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54596', '15005', '0', '0', '19092', '0', '0', '0', 'Raan', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '5', '5', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54601', '15005', '0', '0', '39069', '0', '0', '0', 'Mola', 'Whack-a-Mole', '', '2048', '0', '0', '0', '0', '0', '0', '0', '85', '85', '35', '1', '1', '0', '1', '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54605', '15005', '0', '0', '39093', '0', '0', '0', 'Finlay Coolshot', 'Tonk Challenge', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54642', '15005', '0', '0', '15381', '0', '0', '0', 'Enemy Tonk', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1616', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('54643', '15005', '0', '0', '17192', '0', '0', '0', 'Enemy MiniZep', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1616', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55072', '15005', '0', '0', '39017', '0', '0', '0', 'Barum', 'Replica Armor Prizes', '', '2048', '0', '0', '0', '0', '0', '0', '0', '55', '55', '1555', '1', '1', '0', '1', '4224', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55117', '15005', '0', '0', '39165', '0', '0', '0', 'Gargantua', '', '', '2048', '0', '9', '0', '0', '0', '0', '0', '70', '70', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55118', '15005', '0', '0', '17899', '0', '0', '0', 'Jumbo', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '70', '70', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55119', '15005', '0', '0', '39196', '0', '0', '0', '<NAME>', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55120', '15005', '0', '0', '39197', '0', '0', '0', 'Darkmoon Penguin', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55121', '15005', '0', '0', '25938', '25937', '25385', '25381', 'Frenzyheart Visitor', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '70', '78', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55133', '15005', '0', '0', '17705', '0', '0', '0', 'Corki', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '74', '78', '1555', '1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55220', '15005', '0', '0', '39078', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '40', '60', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55221', '15005', '0', '0', '39079', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '41', '51', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55222', '15005', '0', '0', '39080', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '42', '57', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55223', '15005', '0', '0', '39081', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '40', '59', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55225', '15005', '0', '0', '39083', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '48', '54', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55226', '15005', '0', '0', '39084', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '49', '59', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55229', '15005', '0', '0', '39087', '0', '0', '0', 'Fire Eater', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '69', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55230', '15005', '0', '0', '39088', '0', '0', '0', 'Fire Eater', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '66', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55231', '15005', '0', '0', '39089', '0', '0', '0', 'Fire Eater', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '70', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55250', '15005', '0', '0', '19092', '0', '0', '0', 'Duquan', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55251', '15005', '0', '0', '20545', '0', '0', '0', 'Namond', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55252', '15005', '0', '0', '221', '0', '0', '0', 'Michael', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55253', '15005', '0', '0', '19314', '0', '0', '0', 'Randy', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55254', '15005', '0', '0', '21674', '0', '0', '0', '<NAME>', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '65', '70', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55261', '15005', '0', '0', '1126', '11686', '0', '0', 'Darkmoon Parade Creature', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '85', '85', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55264', '15005', '0', '0', '39300', '0', '0', '0', 'Sazz Coincatcher', 'Game Tokens', '', '2048', '0', '0', '0', '0', '0', '0', '0', '25', '25', '1555', '1', '1', '0', '1', '128', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55266', '15005', '0', '0', '39301', '0', '0', '0', '<NAME>', 'Game Tokens', '', '2048', '0', '0', '0', '0', '0', '0', '0', '25', '25', '1555', '1', '1', '0', '1', '128', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55268', '15005', '0', '0', '38419', '0', '0', '0', 'Aja', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55269', '15005', '0', '0', '19091', '0', '0', '0', 'Jerrica', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55270', '15005', '0', '0', '19315', '0', '0', '0', 'Kimber', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55271', '15005', '0', '0', '344', '0', '0', '0', 'Shana', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55278', '15005', '0', '0', '39097', '0', '0', '0', 'Boomie Sparks', 'Fireworks', '', '2048', '0', '0', '0', '0', '0', '0', '0', '46', '46', '35', '1', '1', '0', '1', '128', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55305', '15005', '0', '0', '39313', '0', '0', '0', 'Carl Goodup', 'Balloon Vendor', '', '34816', '0', '0', '0', '0', '0', '0', '0', '20', '20', '1555', '1', '1', '0', '1', '128', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55306', '15005', '0', '0', '33303', '0', '0', '0', 'Balloon Cart', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '7', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55307', '15005', '0', '0', '20570', '22769', '0', '0', 'Balloon Cart Bunny', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55339', '15005', '0', '0', '39302', '0', '0', '0', 'Trixi Sharpworth', 'Game Tokens', '', '2048', '0', '0', '0', '0', '0', '0', '0', '25', '25', '1555', '1', '1', '0', '1', '128', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55341', '15005', '0', '0', '39104', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '40', '60', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55342', '15005', '0', '0', '39105', '0', '0', '0', 'Fire Juggler', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '43', '58', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55347', '15005', '0', '0', '1501', '21621', '0', '0', 'Alliance Citizen', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '40', '85', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55348', '15005', '0', '0', '1501', '21621', '0', '0', 'Horde Citizen', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '40', '85', '1735', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55356', '15005', '0', '0', '15381', '0', '0', '0', 'Darkmoon Tonk', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '188', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55367', '15005', '0', '0', '17192', '0', '0', '0', 'Darkmoon Zeppelin', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '188', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55402', '15005', '0', '0', '39121', '0', '0', '0', 'Korgol Crushskull', 'The Pit Master', '', '2048', '0', '0', '0', '0', '0', '0', '0', '85', '85', '1555', '1', '1', '0', '1', '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55428', '15005', '0', '0', '39131', '0', '0', '0', 'Jumbo Jr.', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '15', '15', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55429', '15005', '0', '0', '21393', '0', '0', '0', 'Jumbina', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55440', '15005', '0', '0', '21268', '0', '0', '0', 'Violet', '', '', '2048', '0', '12', '0', '0', '0', '0', '0', '70', '70', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55443', '15005', '0', '0', '39133', '0', '0', '0', 'Goldwing', '', '', '2048', '0', '26', '0', '0', '0', '0', '0', '80', '80', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55444', '15005', '0', '0', '39134', '0', '0', '0', '<NAME>', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55446', '15005', '0', '0', '39135', '0', '0', '0', '<NAME>', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55448', '15005', '0', '0', '39137', '0', '0', '0', 'M\'ku', 'The Little Prince', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55449', '15005', '0', '0', '39136', '0', '0', '0', 'Binti', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55457', '15005', '0', '0', '39142', '0', '0', '0', 'Gleok', 'The Untamable', '', '2048', '0', '68', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55475', '15005', '0', '0', '999', '641', '1938', '1000', 'Darkmoon Tide Crawler', '', '', '2048', '0', '8', '0', '0', '0', '0', '0', '10', '11', '7', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55487', '15005', '0', '0', '2536', '9829', '1160', '14952', 'Moonweb Spider', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '190', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55596', '15005', '0', '0', '39164', '0', '0', '0', 'Careless Carnie', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '25', '25', '1555', '1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55598', '15005', '0', '0', '2076', '0', '0', '0', 'Krystal', 'Please Avoid Eye Contact', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55602', '15005', '0', '0', '25120', '0', '0', '0', 'Urefu', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55609', '15005', '0', '0', '39167', '0', '0', '0', 'Lizzy', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '60', '60', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55712', '15005', '0', '0', '358', '0', '0', '0', 'Darkmoon Slime', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55714', '15005', '0', '0', '39187', '0', '0', '0', 'Darkmoon Monkey', '', '', '2048', '0', '51', '0', '0', '0', '0', '0', '1', '1', '188', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55715', '15005', '0', '0', '39192', '39195', '39193', '0', 'Darkmoon Pony', '', 'vehichleCursor', '2048', '0', '0', '0', '0', '0', '0', '0', '5', '5', '35', '1', '1', '0', '1', '16777216', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55741', '15005', '0', '0', '36743', '0', '0', '0', 'Crow', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '2136', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55749', '15005', '0', '0', '36499', '0', '0', '0', 'Sea Gull', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '2136', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('55761', '15005', '0', '0', '251', '0', '0', '0', 'Phillipe', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56025', '15005', '0', '0', '18641', '0', '0', '0', 'Cro Threadstrong', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '62', '62', '1818', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56026', '15005', '0', '0', '18630', '0', '0', '0', 'Darmari', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '63', '63', '1818', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56031', '15005', '0', '0', '39137', '0', '0', '0', 'Darkmoon Cub', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '1', '1', '188', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56035', '15005', '0', '0', '39060', '0', '0', '0', 'Kolin', 'The Dancing Bear', '', '2048', '0', '0', '0', '0', '0', '0', '0', '10', '10', '1555', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56041', '15005', '0', '0', '39296', '0', '0', '0', 'Rona Greenteeth', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '85', '85', '35', '1', '1', '0', '1', '129', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56044', '15005', '0', '0', '30233', '0', '0', '0', '[DND] Spooky Ghost - Ghost Vehicle', '', '', '2048', '0', '0', '0', '0', '0', '0', '0', '75', '75', '35', '1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56068', '15005', '0', '0', '39294', '0', '0', '0', 'Steven Stagnaro', 'Fishing Trainer', '', '2048', '0', '0', '0', '0', '0', '0', '0', '35', '35', '1555', '1', '1', '0', '1', '81', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56069', '15005', '0', '0', '39295', '0', '0', '0', 'Tatia Brine', 'Fishing Supplies', '', '2048', '0', '0', '0', '0', '0', '0', '0', '35', '35', '1555', '1', '1', '0', '1', '640', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56097', '15005', '0', '0', '39319', '0', '0', '0', 'Sandbox Tiger', '', 'vehichleCursor', '67110912', '0', '2', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '16777216', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56129', '15005', '0', '0', '39330', '0', '0', '0', 'Sandbox Tiger', '', 'vehichleCursor', '67110912', '0', '2', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '16777216', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56130', '15005', '0', '0', '39331', '0', '0', '0', 'Sandbox Tiger', '', 'vehichleCursor', '67110912', '0', '2', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '16777216', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56131', '15005', '0', '0', '39332', '0', '0', '0', 'Sandbox Tiger', '', 'vehichleCursor', '67110912', '0', '2', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '16777216', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56160', '15005', '0', '0', '782', '0', '0', '0', 'Darkmoon Wolf', '', '', '2048', '0', '1', '0', '0', '0', '0', '0', '85', '85', '32', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('56335', '15005', '0', '0', '39389', '0', '0', '0', 'Daenrand Dawncrest', 'Heirloom Prizes', '', '2048', '0', '0', '0', '0', '0', '0', '0', '55', '55', '1555', '1', '1', '0', '1', '128', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('57850', '15005', '0', '0', '39832', '0', '0', '0', 'Teleportologist Fozlebub', 'Gone Fishin\'', '', '2048', '0', '0', '0', '0', '0', '0', '0', '55', '55', '1555', '1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('57983', '15005', '0', '0', '39953', '0', '0', '0', 'Baruma', 'Replica Armor Prizes', '', '2048', '0', '0', '0', '0', '0', '0', '0', '55', '55', '1555', '1', '1', '0', '1', '4224', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'); INSERT INTO `creature_properties_darkmoonfaire` VALUES ('58570', '15005', '0', '0', '21955', '11686', '0', '0', '[DNT] Darkmoon F<NAME>-a-<NAME>', '', '', '2050', '0', '0', '0', '0', '0', '0', '0', '1', '1', '35', '1', '1', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
<reponame>CSCfi/antero<gh_stars>1-10 USE [ANTERO] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER TABLE [sa].[sa_oiva_maaraykset_pdi] ALTER COLUMN [id] [varchar] (40) NULL ALTER TABLE [sa].[sa_oiva_maaraykset_pdi] ALTER COLUMN [lupaId] [varchar] (40) NULL
<filename>2020-08-26-RedgateStreamed-SQLServerDevOpsGettingStarted/db/Schema-Model/dbo/Tables/Customers.sql CREATE TABLE [dbo].[Customers] ( [ID] [int] NOT NULL IDENTITY(1, 1), [FullName] [varchar] (150) NOT NULL, [Street] [varchar] (100) NOT NULL, [City] [varchar] (100) NOT NULL, [State] [varchar] (2) NOT NULL, [Zip] [varchar] (5) NOT NULL, [NumberOfPets] [bigint] NOT NULL ) GO ALTER TABLE [dbo].[Customers] ADD CONSTRAINT [PK_Customers] PRIMARY KEY CLUSTERED ([ID]) GO
<reponame>Special-K-s-Flightsim-Bots/DCSServerBot INSERT INTO plugins (plugin, version) VALUES ('help', 'v1.0') ON CONFLICT (plugin) DO NOTHING;
delete from ad_tab where ad_table_id = get_table_id('AD_JAXRS_Endpoint'); delete from ad_table_process where ad_table_id = get_table_id('AD_JAXRS_Endpoint'); delete from ad_table where ad_table_id = get_table_id('AD_JAXRS_Endpoint'); drop table ad_jaxrs_endpoint; drop SEQUENCE ad_jaxrs_endpoint_seq; delete from ad_javaclass where ad_javaclass_type_id=540039; delete from ad_javaclass_type where ad_javaclass_type_id=540039; delete from ad_element where entitytype='de.metas.jax.rs'; delete from ad_menu where entitytype='de.metas.jax.rs'; delete from ad_process where entitytype='de.metas.jax.rs'; delete from ad_reference where entitytype='de.metas.jax.rs'; delete from ad_window where entitytype='de.metas.jax.rs'; delete from ad_entitytype where entitytype='de.metas.jax.rs'; --- delete from imp_processorlog where imp_processor_id in (select imp_processor_id from imp_processor where imp_processor_type_id=1000000); -- ActiveMQ delete from imp_processorparameter where imp_processor_id in (select imp_processor_id from imp_processor where imp_processor_type_id=1000000); -- ActiveMQ delete from imp_processor where imp_processor_type_id=1000000; -- ActiveMQ delete from imp_processor_type where imp_processor_type_id=1000000; -- ActiveMQ delete from ad_entitytype where entitytype='de.metas.jms'; delete from ad_Sysconfig where name in ( 'de.metas.jms.Password', 'de.metas.jms.URL', 'de.metas.jms.UseEmbeddedBroker', 'de.metas.jms.User', 'de.metas.procurement.webui.jms.queue.request', 'de.metas.procurement.webui.jms.queue.response' );
<filename>docs/2014/snippets/tsql/SQL15/tsql/databaseddl/transact-sql/filefunctionsandsprocs.sql -- File function examples --<snippetFileFunction1> USE AdventureWorks2012; GO SELECT FILEGROUPPROPERTY('PRIMARY', 'IsDefault') AS 'Default Filegroup'; GO --</snippetFileFunction1> --<snippetFileFunction2> USE AdventureWorks2012; GO SELECT FILEGROUP_ID('PRIMARY') AS [Filegroup ID]; GO --</snippetFileFunction2> --<snippetFileFunction3> USE AdventureWorks2012; GO SELECT FILEGROUP_NAME(1) AS [Filegroup Name]; GO --</snippetFileFunction3> --<snippetFileFunction4> USE AdventureWorks2012; GO SELECT FILE_NAME(1) AS 'File Name 1', FILE_NAME(2) AS 'File Name 2'; GO --</snippetFileFunction4> --<snippetFileFunction5> USE AdventureWorks2012; GO SELECT FILEPROPERTY('AdventureWorks2012_Data', 'IsPrimaryFile')AS [Primary File]; GO --</snippetFileFunction5> --<snippetFileFunction6> USE AdventureWorks2012; GO SELECT FILE_ID('AdventureWorks2012_Data')AS 'File ID'; GO --</snippetFileFunction6> --<snippetFileFunction7> USE AdventureWorks2012; GO SELECT FILE_IDEX('AdventureWorks2012_Data')AS 'File ID'; GO --</snippetFileFunction7> --<snippetFileFunction8> USE AdventureWorks2012; GO SELECT FILE_IDEX((SELECT TOP(1)name FROM sys.database_files WHERE type = 1))AS 'File ID'; GO --</snippetFileFunction8> --<snippetFileFunction9> SELECT FILE_IDEX((SELECT name FROM sys.master_files WHERE type = 4)) AS 'File_ID'; --</snippetFileFunction9> --<snippetFileFunction10> SELECT * FROM fn_virtualfilestats(1, 1); GO --</snippetFileFunction10> --<snippetFileFunction11> SELECT * FROM fn_virtualfilestats(DB_ID(N'AdventureWorks2012'), 2); GO --</snippetFileFunction11> --<snippetFileFunction12> SELECT * FROM fn_virtualfilestats(NULL,NULL); GO --</snippetFileFunction12> --<snippetFileFunction13> SELECT * FROM sys.dm_io_virtual_file_stats(DB_ID(N'AdventureWorks2012'), 2); GO --</snippetFileFunction13> --<snippetFileStoredProc1> USE AdventureWorks2012; GO EXEC sp_helpfile; GO --</snippetFileStoredProc1> --<snippetFileStoredProc2> USE AdventureWorks2012; GO EXEC sp_helpfilegroup; GO --</snippetFileStoredProc2> --<snippetFileStoredProc3> USE AdventureWorks2012; GO EXEC sp_helpfilegroup 'PRIMARY'; GO --</snippetFileStoredProc3>
--all the selects below should return null select distinct crs.vocabulary_id_1, crs.vocabulary_id_2 from concept_relationship_stage crs left join vocabulary v1 on v1.vocabulary_id=crs.vocabulary_id_1 and v1.latest_update is not null left join vocabulary v2 on v2.vocabulary_id=crs.vocabulary_id_2 and v2.latest_update is not null where coalesce(v1.latest_update,v2.latest_update) is null; select distinct cs.vocabulary_id from concept_stage cs left join vocabulary v on v.vocabulary_id=cs.vocabulary_id and v.latest_update is not null where v.latest_update is null; select * From concept_relationship_stage where valid_start_date is null or valid_end_date is null or (invalid_reason is null and valid_end_date<>to_date ('20991231', 'yyyymmdd')) or (invalid_reason is not null and valid_end_date=to_date ('20991231', 'yyyymmdd')); select * from concept_stage where valid_start_date is null or valid_end_date is null or (invalid_reason is null and valid_end_date <> to_date ('20991231', 'yyyymmdd') and vocabulary_id not in ('CPT4', 'HCPCS', 'ICD9Proc')) or (invalid_reason is not null and valid_end_date = to_date ('20991231', 'yyyymmdd')) or valid_start_date < to_date ('19000101', 'yyyymmdd'); -- some concepts have a real date < 1970 select relationship_id from concept_relationship_stage except select relationship_id from relationship; select concept_class_id from concept_stage except select concept_class_id from concept_class; select domain_id from concept_stage except select domain_id from domain; select vocabulary_id from concept_stage except select vocabulary_id from vocabulary; select * from concept_stage where concept_name is null or domain_id is null or concept_class_id is null or concept_code is null or valid_start_date is null or valid_end_date is null or valid_end_date is null or concept_name<>trim(concept_name) or concept_code<>trim(concept_code); select concept_code_1, concept_code_2, vocabulary_id_1, vocabulary_id_2, relationship_id from concept_relationship_stage group by concept_code_1, concept_code_2, vocabulary_id_1, vocabulary_id_2, relationship_id having count(*)>1; select concept_code, vocabulary_id from concept_stage group by concept_code, vocabulary_id having count(*)>1; select pack_concept_code, pack_vocabulary_id, drug_concept_code, drug_vocabulary_id, amount from pack_content_stage group by pack_concept_code, pack_vocabulary_id, drug_concept_code, drug_vocabulary_id, amount having count(*)>1; select drug_concept_code, vocabulary_id_1, ingredient_concept_code, vocabulary_id_2, amount_value From drug_strength_stage group by drug_concept_code, vocabulary_id_1, ingredient_concept_code, vocabulary_id_2, amount_value having count(*)>1; SELECT crm.* FROM concept_relationship_stage crm LEFT JOIN concept c1 ON c1.concept_code = crm.concept_code_1 AND c1.vocabulary_id = crm.vocabulary_id_1 LEFT JOIN concept_stage cs1 ON cs1.concept_code = crm.concept_code_1 AND cs1.vocabulary_id = crm.vocabulary_id_1 LEFT JOIN concept c2 ON c2.concept_code = crm.concept_code_2 AND c2.vocabulary_id = crm.vocabulary_id_2 LEFT JOIN concept_stage cs2 ON cs2.concept_code = crm.concept_code_2 AND cs2.vocabulary_id = crm.vocabulary_id_2 LEFT JOIN vocabulary v1 ON v1.vocabulary_id = crm.vocabulary_id_1 LEFT JOIN vocabulary v2 ON v2.vocabulary_id = crm.vocabulary_id_2 LEFT JOIN relationship rl ON rl.relationship_id = crm.relationship_id WHERE (c1.concept_code IS NULL AND cs1.concept_code IS NULL) OR (c2.concept_code IS NULL AND cs2.concept_code IS NULL) OR v1.vocabulary_id IS NULL OR v2.vocabulary_id IS NULL OR rl.relationship_id IS NULL OR crm.valid_start_date > CURRENT_DATE OR crm.valid_end_date < crm.valid_start_date;
<filename>priv/rewards.sql -- :reward_block_range with max as ( select height from blocks where timestamp <= $1 order by height desc limit 1 ), min as ( select height from blocks where timestamp >= $2 order by height limit 1 ) select (select height from max) as max, (select height from min) as min -- :reward_fields r.block, r.transaction_hash, to_timestamp(r.time) as timestamp, r.account, r.gateway, r.amount -- Make sure that marker fields and fields are equivalent except for the marker -- placeholder! -- :reward_marker_fields r.block, r.transaction_hash, to_timestamp(r.time) as timestamp, r.account, r.gateway, r.amount, :marker -- :reward_list_base select :fields from rewards r :scope and r.block >= $2 and r.block < $3 order by r.block desc, :marker -- :reward_list_rem_base select :fields from rewards r :scope and r.block = $2 and :marker> $3 order by :marker -- :reward_sum_hotspot_source (select sum(r.amount) as amount from reward_data r group by r.gateway) -- :reward_sum_time_source (select sum(r.amount) as amount from reward_data r group by r.time) -- :reward_sum_validator_source (select sum(r.amount) as amount from reward_data r where r.gateway in (select address from validator_inventory) group by r.gateway) -- :reward_sum_base with reward_data as ( select r.amount, r.gateway, r.time from rewards r :scope and r.time >= extract(epoch from $2::timestamptz) and r.time <= extract(epoch from $3::timestamptz) ) select coalesce(min(d.amount) / 100000000, 0)::float as min, coalesce(max(d.amount) / 100000000, 0)::float as max, coalesce(sum(d.amount), 0)::bigint as sum, coalesce(sum(d.amount) / 100000000, 0)::float as total, coalesce(percentile_cont(0.5) within group (order by d.amount) / 100000000, 0)::float as median, coalesce(avg(d.amount) / 100000000, 0)::float as avg, coalesce(stddev(d.amount) / 100000000, 0)::float as stddev from :source d -- Bucket reward_data by timestamp and gateway to be calculate statistics over hotspot totals in a bucket -- rather than individual rewards. -- :reward_bucketed_hotspot_source (select sum(r.amount) as amount, r.time from reward_data r group by r.time, r.gateway) -- Bucket global reward_data by timestamp only -- :reward_bucketed_time_source (select sum(r.amount) as amount, r.time from reward_data r group by r.time) -- Bucket reward_data by timestamp and gateway to be calculate statistics over totals in a bucket -- :reward_bucketed_validator_source (select sum(r.amount) as amount, r.time from reward_data r where r.gateway in (select address from validator_inventory) group by r.time, r.gateway) -- :reward_bucketed_base with time_range as ( select extract(epoch from low)::bigint as low, extract(epoch from high)::bigint as high from ( select timestamp as low, lag(timestamp) over (order by timestamp desc) as high from generate_series($2::timestamptz, $3::timestamptz, $4::interval) as timestamp) t where high is not null ), reward_data as ( select r.amount, r.gateway, r.time from rewards r :scope and r.time >= (select min(low) from time_range) and r.time <= (select max(high) from time_range) ) select to_timestamp(t.low) as timestamp, coalesce(min(d.amount::float) / 100000000, 0) as min, coalesce(max(d.amount::float) / 100000000, 0) as max, coalesce(sum(d.amount), 0)::bigint as sum, coalesce(sum(d.amount::float) / 100000000, 0)::float as total, coalesce(percentile_cont(0.5) within group (order by d.amount) / 100000000, 0)::float as median, coalesce(avg(d.amount) / 100000000, 0)::float as avg, coalesce(stddev(d.amount) / 100000000, 0)::float as stddev from time_range t left join :source d on d.time >= low and d.time < high group by t.low order by t.low desc;
CREATE VIEW IF NOT EXISTS view_desktop_results AS SELECT m.map_unit_id, m.map_unit_name, m.meadow, (CASE WHEN m.conifer_phase IS NULL THEN 'None' END) AS conifer_phase, m.indirect_benefits_area, m.map_unit_area, m.no_transects, m.spring_hsi, m.summer_hsi, m.winter_hsi, cl.ls_breed AS current_breed, cl.ls_summer AS current_summer, cl.ls_winter AS current_winter, pl.ls_breed AS projected_breed, pl.ls_summer AS projected_summer, pl.ls_winter AS projected_winter, ( SELECT (CASE WHEN mgmt_cat = 'PHMA' THEN proportion ELSE 0 END) FROM project_mgmt_cats WHERE project_mgmt_cats.map_unit_id = m.map_unit_id ) AS phma, ( SELECT (CASE WHEN mgmt_cat = 'GHMA' THEN proportion ELSE 0 END) FROM project_mgmt_cats WHERE project_mgmt_cats.map_unit_id = m.map_unit_id ) AS ghma, ( SELECT (CASE WHEN mgmt_cat = 'OHMA' THEN proportion ELSE 0 END) FROM project_mgmt_cats WHERE project_mgmt_cats.map_unit_id = m.map_unit_id ) AS ohma, ( SELECT (CASE WHEN wmz = 'MZ III' THEN proportion ELSE 0 END) FROM project_wmz WHERE project_wmz.map_unit_id = m.map_unit_id ) AS mz3, ( SELECT (CASE WHEN wmz = 'MZ IV' THEN proportion ELSE 0 END) FROM project_wmz WHERE project_wmz.map_unit_id = m.map_unit_id ) AS mz4, ( SELECT (CASE WHEN wmz = 'MZ V' THEN proportion ELSE 0 END) FROM project_wmz WHERE project_wmz.map_unit_id = m.map_unit_id ) AS mz5, ( SELECT (CASE WHEN precip = 'Arid' THEN proportion ELSE 0 END) FROM project_precip WHERE project_precip.map_unit_id = m.map_unit_id ) AS arid, ( SELECT (CASE WHEN precip = 'Mesic' THEN proportion ELSE 0 END) FROM project_precip WHERE project_precip.map_unit_id = m.map_unit_id ) AS mesic FROM map_units AS m LEFT JOIN current_ls AS cl ON m.map_unit_id = cl.map_unit_id LEFT JOIN projected_ls AS pl ON m.map_unit_id = pl.map_unit_id;
SET REFERENTIAL_INTEGRITY FALSE; INSERT INTO AUTH_USER( ID, NAME, STATUS, TYPE, TEL, EMAIL, SEX, BIRTHDAY, FAMILY_ADDR, WORK_ADDR, WORK_TEL, DESCRIPTION, UPDATE_TIME, CREATE_TIME ) VALUES ('xKQJKJBWR7ziMpyBFFd','管理员','Y','S','13800138000','<EMAIL>','M','1970-01-01 00:00:00','','','','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('aFX3CNaaFqUlPr1H7h6','<EMAIL>','Y','S','123','<EMAIL>','F','1970-01-01 00:00:00','','','','','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO SYS_DICTIONARY( ID, TYPE1, TYPE2, NAME1, NAME2, CODE, VALUE, SORT, DESCIPTION, STATUS, UPDATE_TIME, CREATE_TIME ) VALUES ('1','S','SYS_ROLE','默认','角色','ADMIN','ADMIN',0,'管理员','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('2','S','SYS_ROLE','默认','角色','OPERATOR','操着者',0,'一般操着者','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('3','S','SYS_ORG','默认','组织','SYS_ORG','SYS_ORG',0,'行政组织','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('4','S','SYS_ORG','默认','组织','SYS_POS','SYS_POS',0,'岗位','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('5','S','SYS_ORG','默认','组织','SYS_PRD','SYS_PRD',0,'生产岗位','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('6','S','SYS_DEF','默认','系统默认','SYS_DEF','SYS_DEF',0,'系统默认','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('7','S','SYS_RES','默认','资源','URL','URL',0,'URL','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('8','S','SYS_RES','默认','资源','BUTTON','BUTTON',0,'按钮','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('9','S','SYS_RES','默认','资源','MENU','MENU',0,'菜单','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('10','S','SYS_SEX','默认','性别','F','男',0,'男','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('11','S','SYS_SEX','默认','性别','M','女',0,'女','Y','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_ROLE( ID, NAME, CODE, TYPE1, TYPE2, STATUS, DESCRIPTION, UPDATE_TIME, CREATE_TIME ) VALUES ('xKQJKJBWR7ziMpyBFFe','测试','TEST','S','OPERATOR','Y','测试','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('xKQJKJBWR7ziMpyBFFc','管理员','ADMIN','S','ADMIN','Y','管理员','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('xKQJKJBWR7ziMpyBFFf','一般用户','USER','S','OPERATOR','Y','一般用户','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_RESOURCE( ID, NAME, CODE, STATUS, TYPE1, TYPE2, DESCRIPTION, UPDATE_TIME, CREATE_TIME ) VALUES ('0tXlGsqjkVf833i3cLk','JavaMelody监控','/default/javamelody/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('4fTLyHO7SgSKxwk3otj','系统','/system/auth/authaccount/index#','Y','S','MENU','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('5QWCEA374SXnNArML3o','脚本管理','/system/common/sysscript/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('8OYFlxlRyyVvENt0rzI','系统功能管理','/system/common/sysdictionary/index#','Y','S','MENU','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('aN0fpzVLV7Y7kjbPRmO','账号管理','/system/auth/authaccount/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('aPd0efWiaA3BDyZaUwy','菜单管理','/system/auth/authmenu/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('BC4PxrB3Cj19vhT7w8V','查询管理','/system/common/sysquery/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('CSEychadTOE8VwJxFA6','Quartz任务管理','/default/quartz/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('d3eMsI55WvYjyFew7RN','服务列表','/default/springservice/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('dGhzokeyTWAd01QWxhG','数据词典管理','/system/auth/sysdictionary/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('f2WuQ7CcFbtgHxgO8sA','资源管理','/system/auth/authresource/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('f5cisYML7xlsFIpfxZC','访问日志','/default/log/logaccess/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('J8NnUxsh3OsuDg8sBtu','操作日志','/default/log/logoperation/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('J9YPNfI2SNi4CXn1TC8','HomePage','/index.html','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('JC4Mi0k2Fe3SeUJ3DNL','监控管理','/default/monitor#','Y','S','MENU','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('JdcwvoCZQ1GTzG7UCvq','系统工具','/default/helper/index#','Y','S','MENU','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('jxIzZK8jpUP6lKmO4v8','Druid监控','/default/druid/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('K7dIvNiGtnIRNr4pJ8x','权限管理','menu:system:auth','Y','S','MENU','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('LD4TALxxcxc3C885gDJ','ALLURL','/**','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('mBcuePYcShiEVynpsnl','组织机构管理','/system/auth/authorganization/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('P5ZHIGt2KnwxaAGiuRt','员工管理','/system/auth/authuser/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('pyJLeyR2hF3uMNtmlwr','国际化管理','/system/common/sysi18n/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('RJsVGR7b2LXlFXO5fz4','字典管理','/system/common/sysdictionary/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('rWlDZxljQyC1fqtr3sp','资源与角色关系','/system/authroleresource/authroleresource_list.html','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('V1OOqOHgYQwix3lPGqb','角色管理','/system/auth/authrole/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('VLp1N46V2WRq7dAil3n','日志管理','/default/log#','Y','S','MENU','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('Xyh9lHyFSqCSyurLN9a','帐号管理-所有','/system/authaccount','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('zPlHv4bfWywuMp6s0kS','数据过滤管理','/system/authdatafilterconf/authdatafilterconf_list.html','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('zWleC50BS8AP0qNPPxR','工具','/default/helper/index','Y','S','URL','','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_MENU( ID, NAME, RESOURCE_ID, TYPE1, TYPE2, PARENT_ID, ROOT_ID, MENU_INDEX, MAX_LEVEL, ICO, DESCRIPTION, UPDATE_TIME, CREATE_TIME ) VALUES ('743jLWIk4XCzOtAUQda','工具','zWleC50BS8AP0qNPPxR','S','S','Ips0DdWFRvNy0tPqV4a','vGdRnsrvvq6Aik19SZ8',10,3,'el-icon-ion-ios-help',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('8ERjaIDCVO0d2OXAcn5','员工管理','P5ZHIGt2KnwxaAGiuRt','S','S','b75USmuLtQuNvMaMWnt','vGdRnsrvvq6Aik19SZ8',60,3,'el-icon-ion-ios-people','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('97zPYIjrSsQpfVevLM8','角色管理','V1OOqOHgYQwix3lPGqb','S','S','b75USmuLtQuNvMaMWnt','vGdRnsrvvq6Aik19SZ8',200,3,'el-icon-ion-transgender','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('9ZAB32sjb2mvQKeYTbq','脚本管理','5QWCEA374SXnNArML3o','S','S','BU6yLmzZ16MwGyzrLZP','vGdRnsrvvq6Aik19SZ8',50,3,'el-icon-ion-code-working',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('b75USmuLtQuNvMaMWnt','权限管理','K7dIvNiGtnIRNr4pJ8x','S','S','vGdRnsrvvq6Aik19SZ8','vGdRnsrvvq6Aik19SZ8',10,3,'el-icon-star-on','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('BDPqO6Rk3Kwqh4xkEPN','Druid监控','jxIzZK8jpUP6lKmO4v8','S','S','iwhpF62dmTZZbSWlFnX','vGdRnsrvvq6Aik19SZ8',100,3,'el-icon-ion-funnel',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('BU6yLmzZ16MwGyzrLZP','系统功能管理','8OYFlxlRyyVvENt0rzI','S','S','vGdRnsrvvq6Aik19SZ8','vGdRnsrvvq6Aik19SZ8',20,3,'el-icon-ion-ios-cog',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('cTmCT1xHpVgA7UT4XEO','日志管理','VLp1N46V2WRq7dAil3n','S','S','vGdRnsrvvq6Aik19SZ8','vGdRnsrvvq6Aik19SZ8',50,3,'el-icon-ion-grid',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('HrqYWA4WNAzy9EyGNGf','资源管理','f2WuQ7CcFbtgHxgO8sA','S','S','b75USmuLtQuNvMaMWnt','vGdRnsrvvq6Aik19SZ8',140,3,'el-icon-ion-android-list','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('Ips0DdWFRvNy0tPqV4a','系统工具','JdcwvoCZQ1GTzG7UCvq','S','S','vGdRnsrvvq6Aik19SZ8','vGdRnsrvvq6Aik19SZ8',40,3,'el-icon-ion-settings',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('iwhpF62dmTZZbSWlFnX','监控管理','JC4Mi0k2Fe3SeUJ3DNL','S','S','vGdRnsrvvq6Aik19SZ8','vGdRnsrvvq6Aik19SZ8',30,3,'el-icon-ion-ios-monitor',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('japldSiYHH2jJcA2MsR','账号管理','aN0fpzVLV7Y7kjbPRmO','S','S','b75USmuLtQuNvMaMWnt','vGdRnsrvvq6Aik19SZ8',120,3,'el-icon-ion-person','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('LRXMSpmgthuuyxbh52F','JavaMelody监控','0tXlGsqjkVf833i3cLk','S','S','iwhpF62dmTZZbSWlFnX','vGdRnsrvvq6Aik19SZ8',150,3,'el-icon-ion-quote',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('oUofMZw1Rb35wcST3ec','操作日志','J8NnUxsh3OsuDg8sBtu','S','S','cTmCT1xHpVgA7UT4XEO','vGdRnsrvvq6Aik19SZ8',20,3,'el-icon-ion-social-windows',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('sesNTBKYbXiZ2jIN2zo','组织机构管理','mBcuePYcShiEVynpsnl','S','S','b75USmuLtQuNvMaMWnt','vGdRnsrvvq6Aik19SZ8',210,3,'el-icon-ion-ios-world','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('Sf2dm4RNltQSHdiVWeh','查询管理','BC4PxrB3Cj19vhT7w8V','S','S','BU6yLmzZ16MwGyzrLZP','vGdRnsrvvq6Aik19SZ8',30,3,'el-icon-ion-funnel',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('ugwVl2wM3bMjigH3T7s','访问日志','f5cisYML7xlsFIpfxZC','S','S','cTmCT1xHpVgA7UT4XEO','vGdRnsrvvq6Aik19SZ8',10,3,'el-icon-ion-link',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('V3g7M6zwT9nmHIHgfFr','服务列表','d3eMsI55WvYjyFew7RN','S','S','iwhpF62dmTZZbSWlFnX','vGdRnsrvvq6Aik19SZ8',70,3,'el-icon-ion-ios-browsers',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('vGdRnsrvvq6Aik19SZ8','系统','4fTLyHO7SgSKxwk3otj','S','S',NULL,'vGdRnsrvvq6Aik19SZ8',220,3,'el-icon-setting','','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('vLc24lTooVDLSTuocOK','Quartz任务管理','CSEychadTOE8VwJxFA6','S','S','BU6yLmzZ16MwGyzrLZP','vGdRnsrvvq6Aik19SZ8',40,3,'el-icon-time',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('wLx10oOTUSTo7cxmSsz','字典管理','RJsVGR7b2LXlFXO5fz4','S','S','BU6yLmzZ16MwGyzrLZP','vGdRnsrvvq6Aik19SZ8',10,3,'el-icon-ion-outlet',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('yq3y1yyNdpgiihXGg2A','国际化管理','pyJLeyR2hF3uMNtmlwr','S','S','BU6yLmzZ16MwGyzrLZP','vGdRnsrvvq6Aik19SZ8',20,3,'el-icon-ion-ios-analytics',NULL,'1970-01-01 00:00:00','1970-01-01 00:00:00'), ('YQpiwsMReek9qkTeg2U','菜单管理','aPd0efWiaA3BDyZaUwy','S','S','b75USmuLtQuNvMaMWnt','vGdRnsrvvq6Aik19SZ8',190,3,'el-icon-menu','','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_ORGANIZATION( ID, NAME, PARENT_ID, ROOT_ID, CODE, IS_USE_ROOT_MENU, TYPE1, TYPE2, DESCRIPTION, UPDATE_TIME, CREATE_TIME ) VALUES ('SrUkEHSpFIY3Fs7jipK','系统管理部',NULL,'SrUkEHSpFIY3Fs7jipK','SYSTEM_ADMIN','Y','S','S','','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_ACCOUNT( ID, LOGIN_EMAIL, LOGIN_PASSWD, STATUS, TYPE, USER_ID, LAST_LOGIN, LOGIN_TRY_TIMES, DESCRIPTION, UPDATE_TIME, CREATE_TIME ) VALUES ('xKQJKJBWR7ziMpyBFFb','<EMAIL>','<PASSWORD>','Y','S','xKQJKJBWR7ziMpyBFFd','1970-01-01 00:00:00',0,'管理员账号','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('e6qwwAcWYAUFSltoTO7','<EMAIL>','56d2024b4db9684f4358cc0a67192d2b','Y','S','aFX3CNaaFqUlPr1H7h6','1970-01-01 00:00:00',0,'测试账号','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_AUTHER_MENU( ID, AUTHER_ID, MENU_ID, TYPE, SORT, CREATE_TIME, UPDATE_TIME ) VALUES ('xKQJKJBWR7ziMpyBFFt','xKQJKJBWR7ziMpyBFFc','vGdRnsrvvq6Aik19SZ8','AuthRole',10,'1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_AUTHER_ROLE( ID, AUTHER_ID, ROLE_ID, TYPE, CREATE_TIME, UPDATE_TIME ) VALUES ('xKQJKJBWR7ziMpyBFFa','xKQJKJBWR7ziMpyBFFb','xKQJKJBWR7ziMpyBFFc','AuthAccount','1970-01-01 00:00:00','1970-01-01 00:00:00'); INSERT INTO AUTH_ROLE_RESOURCE( ID, ROLE_ID, RESOURCE_ID, CREATE_TIME, UPDATE_TIME ) VALUES ('nyMv10bU5k0rWBy6Miw','xKQJKJBWR7ziMpyBFFe','K7dIvNiGtnIRNr4pJ8x','1970-01-01 00:00:00','1970-01-01 00:00:00'), ('Q2VntRpvE1iXRhCqnI1','xKQJKJBWR7ziMpyBFFe','4fTLyHO7SgSKxwk3otj','1970-01-01 00:00:00','1970-01-01 00:00:00'); SET REFERENTIAL_INTEGRITY TRUE;
<filename>tb_tickets.sql CREATE TABLE `tb_tickets` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `stub` char(1) NOT NULL DEFAULT '', `last_id` bigint(20) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`id`), UNIQUE KEY `stub` (`stub`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; INSERT INTO `tb_tickets` (`stub`) VALUES ('a');
<filename>lab302-batch-job-test/src/script/oracle/dml/schema-insert-oracle.sql INSERT INTO CUSTOMER (ID, VERSION, NAME, CREDIT) VALUES (1, 0, 'customer1', 100050); INSERT INTO CUSTOMER (ID, VERSION, NAME, CREDIT) VALUES (2, 0, 'customer2', 100050); INSERT INTO CUSTOMER (ID, VERSION, NAME, CREDIT) VALUES (3, 0, 'customer3', 100050); INSERT INTO CUSTOMER (ID, VERSION, NAME, CREDIT) VALUES (4, 0, 'customer4', 100050);
------------------------------------------------------------------------------- -- disk space ------------------------------------------------------------------------------- CREATE TABLE DISK_SPACE( ID BIGINT NOT NULL, CATALOG VARCHAR(50), TYPE VARCHAR(50), NAME VARCHAR(200), DESCRIPTION VARCHAR(255), CREATOR VARCHAR(64), CREATE_TIME DATETIME, STATUS VARCHAR(50), PRIORITY INT, QUOTA INT, CONSTRAINT PK_DISK_SPACE PRIMARY KEY(ID) ) ENGINE=INNODB CHARSET=UTF8;
<filename>sql/nodeutil.sql /* ======================================================================== */ /* PeopleRelay: nodeutil.sql Version: 0.4.3.6 */ /* */ /* Copyright 2017-2018 <NAME> & <NAME> */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ /* You may obtain a copy of the License at */ /* */ /* http://www.apache.org/licenses/LICENSE-2.0 */ /* */ /* Unless required by applicable law or agreed to in writing, software */ /* distributed under the License is distributed on an "AS IS" BASIS, */ /* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /* See the License for the specific language governing permissions and */ /* limitations under the License. */ /* ======================================================================== */ /*-----------------------------------------------------------------------------------------------*/ set term ^ ; /*-----------------------------------------------------------------------------------------------*/ /* Cause 1 - bad db metadata 2 - bad block hash 3 - bad block signature */ create procedure P_ExpelNode(RecId TRef, Expel TBoolean, Cause SmallInt, NodeId TNodeId, Source TSysStr32) as declare ATest TRef; declare Msg TSysStr32; begin if ((select Enabled from P_TPeer where RecId = :RecId) = 1) then begin if (Cause = 1) then Msg = 'db metadata'; else if (Cause = 2) then Msg = 'block hash'; else if (Cause = 3) then Msg = 'Local sig'; else Msg = 'block sig'; Msg = 'bad ' || Msg; execute procedure P_LogErr(-21,RecId,Cause,'P_ExpelNode',Source,NodeId,Msg,null); if (Expel = 1) then begin select RecId from P_TPeer where RecId = :RecId for update of Enabled,ExpelCause WITH LOCK into :ATest; /* error here if record locked */ update P_TPeer set Enabled = 0, ExpelCause = :Cause where RecId = :RecId; end when any do execute procedure P_LogErr(-53,sqlcode,gdscode,sqlstate,'P_ExpelNode',NodeId,'Error',null); end end^ /*-----------------------------------------------------------------------------------------------*/ create procedure P_BadMeta(RecId TRef, NodeId TNodeId, Source TSysStr32) as begin execute procedure P_ExpelNode(RecId,(select ExpelBadMeta from P_TParams),1,NodeId,Source); end^ /*-----------------------------------------------------------------------------------------------*/ create procedure P_BadHash(RecId TRef, NodeId TNodeId, Source TSysStr32) as begin execute procedure P_ExpelNode(RecId,(select ExpelBadHash from P_TParams),2,NodeId,Source); end^ /*-----------------------------------------------------------------------------------------------*/ /* Bad LocalSig */ create procedure P_BadTmS(RecId TRef, NodeId TNodeId, Source TSysStr32) as begin execute procedure P_ExpelNode(RecId,(select ExpelBadTmS from P_TParams),3,NodeId,Source); end^ /*-----------------------------------------------------------------------------------------------*/ create procedure P_BadSign(RecId TRef, NodeId TNodeId, Source TSysStr32) as begin execute procedure P_ExpelNode(RecId,(select ExpelBadSign from P_TParams),4,NodeId,Source); end^ /*-----------------------------------------------------------------------------------------------*/ create procedure P_UpdMPId(RecId TRef, MPId TRef) as begin insert into P_TMPidLog(ParId,MPId) values(:RecId,:MPId); when any do execute procedure P_LogErr(-56,sqlcode,gdscode,sqlstate,'P_UpdMPId',null,'Error',null); end^ /*-----------------------------------------------------------------------------------------------*/ create procedure P_UpdNDid( RecId TRef, MaxSid TRef) as begin insert into P_TNDidLog(ParId,Sid) values(:RecId,:MaxSid); when any do execute procedure P_LogErr(-50,sqlcode,gdscode,sqlstate,'P_UpdNDid','P_TNDidLog',null,null); end^ /*-----------------------------------------------------------------------------------------------*/ set term ; ^ /*-----------------------------------------------------------------------------------------------*/ grant all on P_TPeer to procedure P_ExpelNode; grant execute on procedure P_LogErr to procedure P_ExpelNode; grant select on P_TParams to procedure P_BadMeta; grant execute on procedure P_ExpelNode to procedure P_BadMeta; grant select on P_TParams to procedure P_BadHash; grant execute on procedure P_ExpelNode to procedure P_BadHash; grant select on P_TParams to procedure P_BadTmS; grant execute on procedure P_ExpelNode to procedure P_BadTmS; grant select on P_TParams to procedure P_BadSign; grant execute on procedure P_ExpelNode to procedure P_BadSign; grant all on P_TMPidLog to procedure P_UpdMPId; grant execute on procedure P_LogErr to procedure P_UpdMPId; grant all on P_TNDidLog to procedure P_UpdNDid; grant execute on procedure P_LogErr to procedure P_UpdNDid; /*-----------------------------------------------------------------------------------------------*/
-- Name: FileNameReportByImportEventWithMrData -- Schema: posda_files -- Columns: ['file_id', 'patient_id', 'study_instance_uid', 'study_date', 'study_description', 'series_instance_uid', 'modality', 'series_date', 'series_description', 'dicom_file_type', 'file_name', 'mr_scanning_seq', 'mr_scanning_var', 'mr_scan_options', 'mr_acq_type', 'mr_slice_thickness', 'mr_repetition_time', 'mr_echo_time', 'mr_magnetic_field_strength', 'mr_spacing_between_slices', 'mr_echo_train_length', 'mr_software_version', 'mr_flip_angle'] -- Args: ['import_event_id'] -- Tags: ['import_events'] -- Description: List of values seen in scan by ElementSignature with VR and count -- select file_id, patient_id, study_instance_uid, study_date, study_description, series_instance_uid, modality, series_date, series_description, dicom_file_type, file_name, mr_scanning_seq, mr_scanning_var, mr_scan_options, mr_acq_type, mr_slice_thickness, mr_repetition_time, mr_echo_time, mr_magnetic_field_strength, mr_spacing_between_slices, mr_echo_train_length, mr_software_version, mr_flip_angle from file_import natural join file_patient natural join file_series natural join file_study natural join dicom_file natural left join file_mr where import_event_id = ? order by file_name
CREATE TABLE `{$NAMESPACE}_harbormaster`.`lisk_counter` ( counterName VARCHAR(64) COLLATE utf8_bin PRIMARY KEY, counterValue BIGINT UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Dec 27, 2016 at 01:30 PM -- Server version: 10.1.13-MariaDB -- PHP Version: 7.0.8 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: `rplace` -- -- -------------------------------------------------------- -- -- Table structure for table `product` -- CREATE TABLE `product` ( `id` int(11) NOT NULL, `name` varchar(100) NOT NULL, `price` double NOT NULL, `barcode` text NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `product` -- INSERT INTO `product` (`id`, `name`, `price`, `barcode`, `created_at`, `updated_at`) VALUES (1, 'GOOD DAY BUTTER COOKIES', 10, '8901063092280', '2016-12-21 10:46:36', '2016-12-21 12:18:59'), (3, 'MOMS MAGIC', 10, '8901725135454', '2016-12-21 12:38:18', '2016-12-27 11:39:11'), (4, 'BOURBON', 10, '8901063139190', '2016-12-21 12:38:19', '2016-12-21 12:20:05'), (5, 'BRITANNIA 50-50 MASTI', 10, '901063017290', '2016-12-21 12:38:19', '2016-12-21 12:21:19'), (6, 'BRITANNIA 50-50 MASKA CHASKA', 10, '8901063017252', '2016-12-21 12:38:19', '2016-12-21 12:21:51'), (7, 'CELLO NOTEBOOK 92 PAGES', 15, '8904187942455', '2016-12-21 17:34:27', '2016-12-21 12:22:27'), (8, 'BRITANNIA CAKE PINEAPPLE', 15, '8901063362819', '2016-12-21 17:54:49', '2016-12-21 12:24:49'), (9, 'TEST PRODUCT', 0, '123456789', '2016-12-21 18:21:32', '2016-12-21 12:51:32'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id` int(11) NOT NULL, `employee_id` varchar(30) NOT NULL, `name` varchar(100) NOT NULL, `pin` varchar(1000) NOT NULL DEFAULT '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `employee_id`, `name`, `pin`, `created_at`, `updated_at`) VALUES (1, '135', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-20 17:45:35', '2016-12-21 12:40:46'), (2, '133', '<NAME>', '$2y$10$L.ISYFgv/zFL0fDUJi3Aa.FGxRXyjZG8LlDq2OIk2bAveYPIroxaq', '2016-12-21 17:56:59', '2016-12-27 09:53:12'), (4, '000', 'test', '$2y$10$XePgL0w.Wmq6HFI.xiKItu06nW/Cd7RTmwrUeiZbGq2B40TLaA8Sy', '2016-12-21 18:15:20', '2016-12-27 10:35:58'), (5, '137', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:05', '0000-00-00 00:00:00'), (6, '136', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:05', '0000-00-00 00:00:00'), (7, '134', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (8, '132', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (9, '131', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (10, '130', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (11, '129', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (12, '125', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (13, '120', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (14, '117', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (15, '113', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-21 18:32:06', '0000-00-00 00:00:00'), (16, '111', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 11:58:27', '0000-00-00 00:00:00'), (17, '110', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:41', '0000-00-00 00:00:00'), (18, '108', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (19, '107', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (20, '102', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (21, '100', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (22, '95', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (23, '56', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (24, '59', 'S <NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (25, '67', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (26, '85', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:04:42', '0000-00-00 00:00:00'), (27, '2', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:10', '0000-00-00 00:00:00'), (28, '7', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:10', '0000-00-00 00:00:00'), (29, '8', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:10', '0000-00-00 00:00:00'), (30, '15', 'VV <NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:10', '0000-00-00 00:00:00'), (31, '17', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:10', '0000-00-00 00:00:00'), (32, '21', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:10', '0000-00-00 00:00:00'), (33, '39', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:11', '0000-00-00 00:00:00'), (34, '42', '<NAME>', '$2y$10$KsUvyrFxfS.3n/xNJq.goOzaNxuyQsoY.2Uk4F7IGJak4JVUqgEPa', '2016-12-27 12:07:11', '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `user_buy` -- CREATE TABLE `user_buy` ( `id` int(11) NOT NULL, `user_id` varchar(100) NOT NULL, `product_id` int(100) NOT NULL, `price` float NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_buy` -- INSERT INTO `user_buy` (`id`, `user_id`, `product_id`, `price`, `created_at`, `updated_at`) VALUES (2, '1', 1, 0, '2016-12-21 11:17:15', '0000-00-00 00:00:00'), (4, '1', 3, 0, '2016-12-21 12:39:10', '0000-00-00 00:00:00'), (9, '2', 8, 0, '2016-12-21 18:06:02', '0000-00-00 00:00:00'), (10, '4', 9, 0, '2016-12-21 18:23:30', '0000-00-00 00:00:00'), (11, '4', 9, 0, '2016-12-21 18:24:17', '0000-00-00 00:00:00'), (12, '4', 9, 0, '2016-12-21 18:34:19', '0000-00-00 00:00:00'), (13, '4', 9, 0, '2016-12-21 18:37:38', '0000-00-00 00:00:00'), (14, '4', 8, 0, '2016-12-21 18:38:07', '0000-00-00 00:00:00'), (15, '4', 7, 0, '2016-12-27 12:32:10', '0000-00-00 00:00:00'), (16, '4', 7, 0, '2016-12-27 14:52:11', '0000-00-00 00:00:00'), (17, '1', 9, 0, '2016-12-27 15:03:49', '0000-00-00 00:00:00'), (18, '1', 9, 0, '2016-12-27 15:04:14', '0000-00-00 00:00:00'), (19, '2', 7, 0, '2016-12-27 15:05:37', '0000-00-00 00:00:00'), (20, '2', 7, 0, '2016-12-27 15:05:55', '0000-00-00 00:00:00'), (21, '4', 7, 0, '2016-12-27 16:09:30', '0000-00-00 00:00:00'), (22, '4', 1, 0, '2016-12-27 16:12:06', '0000-00-00 00:00:00'), (23, '4', 4, 0, '2016-12-27 16:12:48', '0000-00-00 00:00:00'), (24, '1', 4, 0, '2016-12-27 16:49:16', '0000-00-00 00:00:00'), (25, '4', 7, 0, '2016-12-27 17:47:01', '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `user_deposit` -- CREATE TABLE `user_deposit` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `amount` double NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_deposit` -- INSERT INTO `user_deposit` (`id`, `user_id`, `amount`, `created_at`, `updated_at`) VALUES (1, 1, 10, '2016-12-21 13:42:36', '0000-00-00 00:00:00'), (3, 1, 10, '2016-12-21 13:42:36', '0000-00-00 00:00:00'), (4, 1, 200, '2016-12-21 15:31:28', '0000-00-00 00:00:00'), (5, 1, 2, '2016-12-21 15:32:38', '0000-00-00 00:00:00'); -- -- Indexes for dumped tables -- -- -- Indexes for table `product` -- ALTER TABLE `product` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_buy` -- ALTER TABLE `user_buy` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_deposit` -- ALTER TABLE `user_deposit` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `product` -- ALTER TABLE `product` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35; -- -- AUTO_INCREMENT for table `user_buy` -- ALTER TABLE `user_buy` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26; -- -- AUTO_INCREMENT for table `user_deposit` -- ALTER TABLE `user_deposit` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; /*!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>dsmalik/FunnelWeb insert into $schema$.[Setting]([Name], [DisplayName], [Value], [Description]) values ('spam-blacklist', 'Spam Blacklist', 'casino', 'Comments with these words (case-insensitive) will automatically be marked as spam, in addition to Akismet.');
-- @ building peptide to protein relations ... OPTIMIZE TABLE peptide; OPTIMIZE TABLE protein; -- @ : using all proteins ... -- unfiltered peptides to proteins relation DROP TABLE IF EXISTS pep2pro; CREATE TEMPORARY TABLE pep2pro SELECT pe.`index` as pep_index, w.sample_index, pe.`workflow_index`, pe.`sequence`, pe.`modifier`, pe.type, pe.`score` as pep_score, pr.`entry`, pr.`score` as prot_score FROM `peptide` as pe INNER JOIN protein as pr ON pe.`protein_index`=pr.`index` LEFT JOIN workflow as w ON w.`index`=pe.`workflow_index` ; ALTER TABLE pep2pro ADD INDEX (`pep_index`); ALTER TABLE pep2pro ADD INDEX (`sample_index`); ALTER TABLE pep2pro ADD INDEX (`workflow_index`); ALTER TABLE pep2pro ADD INDEX (`sequence`); ALTER TABLE pep2pro ADD INDEX (`modifier`); ALTER TABLE pep2pro ADD INDEX (`entry`);
CREATE TABLE users_products ( user_id INTEGER NOT NULL, product_id INTEGER NOT NULL, wishlist bool NOT NULL DEFAULT false, comment varchar NULL, PRIMARY KEY (user_id, product_id), FOREIGN KEY (user_id) REFERENCES users(user_id) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (product_id) REFERENCES products(product_id) ON DELETE CASCADE ON UPDATE CASCADE );
<filename>sql/seed_data_fixture.sql INSERT INTO public."User" ("name", email, "passwordHash", "role", "createdAt", "updatedAt") VALUES('<NAME>', '<EMAIL>', 'j19w3kq8f94qj74a7bvzw9nc', 'SUPERADMIN'::"UserRole", CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."User" ("name", email, "passwordHash", "role", "createdAt", "updatedAt") VALUES('<NAME>', '<EMAIL>', 'f94qj74a7bvzw9ncj19w3kq8', 'USER'::"UserRole", CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."User" ("name", email, "passwordHash", "role", "createdAt", "updatedAt") VALUES('<NAME>', '<EMAIL>', '<PASSWORD>', 'USER'::"UserRole", CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."User" ("name", email, "passwordHash", "role", "createdAt", "updatedAt") VALUES('<NAME>', '<EMAIL>', '<PASSWORD>', 'USER'::"UserRole", CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Source" ("domain", score, "createdAt", "updatedAt") VALUES('wikipedia.org', 95.3, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Source" ("domain", score, "createdAt", "updatedAt") VALUES('politifact.com', 92.6, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Source" ("domain", score, "createdAt", "updatedAt") VALUES('nytimes.com', 88.7, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Source" ("domain", score, "createdAt", "updatedAt") VALUES('huffpost.com', 91.1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Source" ("domain", score, "createdAt", "updatedAt") VALUES('breitbart.com', 26.8, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Source" ("domain", score, "createdAt", "updatedAt") VALUES('nypost.com', 19.3, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Source" ("domain", score, "createdAt", "updatedAt") VALUES('berkeley.edu', 95.7, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."_SourceToUser" ("A", "B") VALUES(1, 2); INSERT INTO public."_SourceToUser" ("A", "B") VALUES(1, 3); INSERT INTO public."_SourceToUser" ("A", "B") VALUES(2, 2); INSERT INTO public."_SourceToUser" ("A", "B") VALUES(2, 4); INSERT INTO public."_SourceToUser" ("A", "B") VALUES(3, 3); INSERT INTO public."_SourceToUser" ("A", "B") VALUES(3, 4); INSERT INTO public."Assertion" ("userId", "urlToken", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(2, 'j3d8m', 1, 98.2, '<NAME> is the President-elect of the USA.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Assertion" ("userId", "urlToken", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(3, '9df3p', 2, 97.8, '<NAME> is the Vice President-elect of the USA.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Assertion" ("userId", "urlToken", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(3, 'q4gc0', 2, 86.9, 'The prevalent color of the sky is blue.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(1, true, 2, 1, 89.4, 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Sed elementum tempus egestas sed risus pretium quam vulputate.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(1, false, 3, 2, 28.4, 'Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua, lorem ipsum dolor sit amet, consectetur adipiscing elit. Dictum fusce ut placerat orci nulla pellentesque dignissim enim.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(1, true, 2, 1, 56.7, 'Fusce fringilla egestas tincidunt. Aenean rutrum, tortor non pretium malesuada, nunc lacus ultricies nisl, quis commodo odio sem quis est. Nunc quis dui vitae quam.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(1, false, 3, 2, 21.2, 'Nunc suscipit, felis quis pulvinar sodales, mauris ipsum viverra dolor, ac mollis magna lacus dapibus lacus. Vestibulum semper viverra magna id porta. Duis mattis ultrices.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(1, true, 2, 1, 84.3, 'Vestibulum aliquam at est quis placerat. Curabitur sit amet leo a elit blandit vulputate. Sed lobortis mauris at turpis convallis, et eleifend magna molestie donec.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(2, false, 3, 2, 66.0, 'Aliquam non tempor quam. Nullam convallis sapien a sagittis lacinia. Cras magna neque, laoreet quis dolor eget, dapibus rutrum odio. Vivamus sed cursus ligula ut.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(2, true, 2, 1, 49.3, 'Sed tempus consequat nulla, et egestas quam auctor in. Aliquam ullamcorper sem in orci euismod bibendum. Ut quis cursus dui, ultricies dictum sapien praesent non.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(3, false, 3, 2, 64.7, 'Sed porta, risus quis finibus pretium, sapien justo euismod orci, sed dignissim neque urna ut orci. Aenean eu consequat neque. Interdum et malesuada ac fames.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); INSERT INTO public."Argument" ("assertionId", side, "userId", "sourceId", score, "text", "createdAt", "updatedAt") VALUES(3, true, 2, 1, 91.8, 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Sed elementum tempus egestas sed sed risus pretium quam vulputate.', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);
<filename>app/gateways/db/postgres/migrations/000001_create_accounts_table.up.sql<gh_stars>0 CREATE TABLE IF NOT EXISTS "accounts" ( "id" uuid PRIMARY KEY, "name" varchar NOT NULL, "cpf" varchar NOT NULL, "secret" varchar NOT NULL, "balance" bigint NOT NULL, "created_at" timestamptz NOT NULL );
grant create table to Contabilidad; /* Le damos permisos a todos los de ese grupo/rol*/ grant select on pepe:notas to Juan; /* El operador de ámbito ":" indica quién es el propietario del objeto /*permisos de sistema == permisos de instrucciones*/ grant create table to contar as Usuarioqueejecutalaorden with grant option Usuarioalquelepermitendarpermiso;
----------13-12-2016------------------------------------------------------ ALTER TABLE `taken_leave` ADD `days` INT(255) NOT NULL AFTER `till_when`; --create table 'notice_board'|sunny|29 jul 16 CREATE TABLE IF NOT EXISTS `passing_year` ( `id` int(11) NOT NULL, `passing_year` mediumint(255) NOT NULL ) INSERT INTO `passing_year` (`id`, `passing_year`) VALUES (1, 2001), (2, 2002), (3, 2003), (4, 2004), (5, 2005), (6, 2006), (7, 2007), (8, 2008), (9, 2009), (10, 2010), (11, 2011), (12, 2012), (13, 2013), (14, 2014), (15, 2015), (16, 2016), (17, 2017); ALTER TABLE `passing_year` ADD PRIMARY KEY (`id`); CREATE TABLE IF NOT EXISTS `month` ( `id` int(11) NOT NULL, `month_name` varchar(255) NOT NULL ) INSERT INTO `month` (`id`, `month_name`) VALUES (1, 'January'), (2, 'february'), (3, 'March'), (4, 'April'), (5, 'May'), (6, 'June'), (7, 'July'), (8, 'August'), (9, 'September'), (10, 'October'), (11, 'November'), (12, 'December'); ALTER TABLE `month` ADD PRIMARY KEY (`id`); CREATE TABLE IF NOT EXISTS `total_working_hours` ( `id` int(11) NOT NULL, `code` int(11) NOT NULL, `email_id` varchar(255) NOT NULL, `last_login` datetime NOT NULL, `logout_time` datetime NOT NULL, `working_hours` varchar(255) NOT NULL ) ALTER TABLE `total_working_hours` ADD PRIMARY KEY (`id`); ALTER TABLE `total_working_hours` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=14; --create table 'notice_board'|sunny|21 jul 16 ALTER TABLE `users_detail` CHANGE `marital_status` `marital_status` ENUM('Single','Married') CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL; ALTER TABLE `users_detail` CHANGE `gender` `gender` ENUM('Male','Female') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL; --create table 'notice_board'|sunny|21 jul 16 CREATE TABLE IF NOT EXISTS `notice_board` ( `id` int(11) NOT NULL, `title` varchar(255) NOT NULL, `description` varchar(2555) NOT NULL, `on_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ALTER TABLE `notice_board` ADD PRIMARY KEY (`id`); ALTER TABLE `notice_board` MODIFY `id` int(11) NOT NULL --create table 'notification'|sunny|21 jul 16 CREATE TABLE IF NOT EXISTS `notification` ( `id` int(11) NOT NULL, `title` varchar(255) NOT NULL, `description` varchar(2555) NOT NULL, `user_id` varchar(255) NOT NULL, `on_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `status` int(12) NOT NULL ) ALTER TABLE `notification` ADD PRIMARY KEY (`id`); ALTER TABLE `notification` MODIFY `id` int(11) NOT NULL --create table 'taken_leave'|sunny|11 jul 16 CREATE TABLE IF NOT EXISTS `taken_leave` ( `id` int(11) NOT NULL, `leave_type` varchar(255) NOT NULL, `e_code` varchar(255) NOT NULL, `email_id` varchar(255) NOT NULL, `from_when` date NOT NULL, `till_when` date NOT NULL, `reason` varchar(255) NOT NULL, `apply_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ALTER TABLE `taken_leave` ADD PRIMARY KEY (`id`); --create table 'leave_type'|sunny|11 jul 16 CREATE TABLE IF NOT EXISTS `leave_type` ( `id` int(11) NOT NULL, `leave_name` varchar(255) NOT NULL, `short_code` varchar(255) NOT NULL ) INSERT INTO `leave_type` (`id`, `leave_name`, `short_code`) VALUES (1, 'Sick Leave', 'sl'), (2, 'Casual Leave', 'cl'); ALTER TABLE `leave_type` ADD PRIMARY KEY (`id`); --create table 'full_report'|sunny|4 jul 16 ALTER TABLE `full_report` ADD `e_code` VARCHAR(255) NOT NULL AFTER `id`; ALTER TABLE `full_report` ADD PRIMARY KEY (`id`); ALTER TABLE `full_report` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE IF NOT EXISTS `full_report` ( `id` int(11) NOT NULL, `email_id` varchar(255) NOT NULL, `last_login` datetime NOT NULL, `logout_time` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; --alter table 'users_detail'|sunny|30 jun 16 ALTER TABLE `users_detail` CHANGE `dob` `dob` DATETIME NOT NULL; --create table users_detail |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `users_detail` ( `id` int(30) NOT NULL, `code` int(255) NOT NULL, `first_name` text NOT NULL, `last_name` text NOT NULL, `gender` varchar(255) NOT NULL, `dob` varchar(255) NOT NULL, `marital_status` varchar(255) NOT NULL, `blood_group` varchar(255) NOT NULL ) ALTER TABLE `users_detail` ADD PRIMARY KEY (`id`); --create table prev_company |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `prev_company` ( `id` int(11) NOT NULL, `code` int(11) NOT NULL, `exp` varchar(255) NOT NULL, `company1` varchar(255) NOT NULL, `address1` varchar(255) NOT NULL, `company2` varchar(255) NOT NULL, `address2` varchar(255) NOT NULL ) ALTER TABLE `prev_company` ADD PRIMARY KEY (`id`); --create table passing_year |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `passing_year` ( `id` int(255) NOT NULL, `year` int(255) NOT NULL ) INSERT INTO `passing_year` (`id`, `year`) VALUES (1, 2000), (2, 2001), (3, 2002), (4, 2003), (5, 2004), (6, 2005), (7, 2006), (8, 2007), (9, 2008), (10, 2009), (11, 2010), (12, 2011), (13, 2012), (14, 2013), (15, 2014), (16, 2015), (17, 2016); ALTER TABLE `passing_year` ADD PRIMARY KEY (`id`); --create table login_details |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `login_details` ( `id` int(50) NOT NULL, `e_code` varchar(50) NOT NULL, `email_id` varchar(50) NOT NULL, `last_login` datetime NOT NULL, `logout_time` datetime NOT NULL ) ALTER TABLE `login_details` ADD PRIMARY KEY (`id`); --create table experience |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `experience` ( `id` int(255) NOT NULL, `exp` varchar(255) NOT NULL ) INSERT INTO `experience` (`id`, `exp`) VALUES (1, 'Fresher'), (2, '1 year'), (3, '1.5 years'), (4, '2 years'), (5, '2.5 years'), (6, '3 years'), (7, '3.5 years'), (8, '4 years'), (9, '4.5 years'), (10, '5 years'), (11, '5.5 years'), (12, '6 years'), (13, '6.5 years'), (14, '7 years'); ALTER TABLE `experience` ADD PRIMARY KEY (`id`); --create table educational_info |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `educational_info` ( `id` int(11) NOT NULL, `highest_qualification` varchar(255) NOT NULL, `passing_year` varchar(255) NOT NULL ) ALTER TABLE `educational_info` ADD PRIMARY KEY (`id`); --create table edit_profile_history |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `edit_profile_history` ( `id` int(11) NOT NULL, `code` int(255) NOT NULL, `first_name` varchar(255) NOT NULL, `last_name` varchar(255) NOT NULL, `contact` bigint(20) NOT NULL, `address` varchar(255) NOT NULL, `city` varchar(255) NOT NULL, `status` int(255) NOT NULL ) ALTER TABLE `edit_profile_history` ADD PRIMARY KEY (`id`); --create table course |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `course` ( `id` int(11) NOT NULL, `course_name` varchar(255) NOT NULL ) INSERT INTO `course` (`id`, `course_name`) VALUES (1, 'Fresher'), (6, 'BCA'), (7, 'BSC-IT'), (8, 'BTECH(CS)'), (9, 'BTECH(IT)'), (10, 'MCA'), (11, 'MBA'); ALTER TABLE `course` ADD PRIMARY KEY (`id`); --create table contact_info |sunny|20 jun 16 CREATE TABLE IF NOT EXISTS `contact_info` ( `id` int(255) NOT NULL, `code` int(11) NOT NULL, `contact` bigint(20) NOT NULL, `e_contact` bigint(20) NOT NULL, `address` varchar(255) NOT NULL, `city` varchar(255) NOT NULL, `state` varchar(255) NOT NULL ) -- add a column fullpath in users|sunny|03 june 2016 ALTER TABLE `users` ADD `fullpath` VARCHAR(255) NOT NULL ; --add a column filename in users |sunny|03 june 2016 ALTER TABLE `users` ADD `filename` VARCHAR(255) NOT NULL ; --change access type of users | sunny | 30 may 2016 ALTER TABLE `users` CHANGE `access_type` `access_type` VARCHAR( 255 ) NOT NULL ; --update access type of employee | sunny | 30 may 2016 UPDATE `hrms`.`users` SET `access_type` = 'employee' WHERE `users`.`email_id` = '<EMAIL>'; --update access type of admin | sunny | 30 may 2016 UPDATE `hrms`.`users` SET `access_type` = 'admin' WHERE `users`.`email_id` = '<EMAIL>'; --update access type of super admin | sunny | 30 may 2016 UPDATE `hrms`.`users` SET `access_type` = 'super admin' WHERE `users`.`email_id` = '<EMAIL>'; --update e_contact type in users_details | sunny | 28 may 2016 ALTER TABLE `users_detail` CHANGE `e_contact` `e_contact` VARCHAR(20) NOT NULL; --update contact type in users_details | sunny | 28 may 2016 ALTER TABLE `users_detail` CHANGE `contact` `contact` VARCHAR(20) NOT NULL; --update super admin access type in users table | sunny | 28 may 2016 UPDATE `hrms`.`users` SET `access_type` = 'super admin' WHERE `users`.`id` = 1; --add columns in useres_details table | sunny | 28 may 2016 ALTER TABLE `users_detail` ADD `contact` BIGINT NOT NULL AFTER `last_name`, ADD `e_contact` BIGINT NOT NULL AFTER `contact`, ADD `address` VARCHAR(255) NOT NULL AFTER `e_contact`; -- add column in users table | sunny | 28 may 2016 ALTER TABLE `users` ADD `code` INT(11) UNSIGNED NOT NULL AFTER `e_code`;
use ztepsicc_jarvis; go create table dbo.Devices ( Id int identity(1, 1) constraint PK_Device_Id primary key , DeviceExtId nvarchar(30) not null , Name nvarchar(30) not null , Host nvarchar(30) not null , Description ntext , Active bit not null default 0 ); go exec sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Contains devices for home automation', @level1type=N'TABLE', @level1name=N'Devices', @level0type=N'SCHEMA', @level0name=N'dbo' exec sys.sp_addextendedproperty @level2type=N'COLUMN', @level2name=N'Id', @name=N'MS_Description', @value=N'Device identifier', @level1type=N'TABLE', @level1name=N'Devices', @level0type=N'SCHEMA', @level0name=N'dbo' exec sys.sp_addextendedproperty @level2type=N'COLUMN', @level2name=N'DeviceExtId', @name=N'MS_Description', @value=N'External device Id - e.g serial number', @level1type=N'TABLE', @level1name=N'Devices', @level0type=N'SCHEMA', @level0name=N'dbo' exec sys.sp_addextendedproperty @level2type=N'COLUMN', @level2name=N'Name', @name=N'MS_Description', @value=N'Device name', @level1type=N'TABLE', @level1name=N'Devices', @level0type=N'SCHEMA', @level0name=N'dbo' exec sys.sp_addextendedproperty @level2type=N'COLUMN', @level2name=N'Description', @name=N'MS_Description', @value=N'Device description', @level1type=N'TABLE', @level1name=N'Devices', @level0type=N'SCHEMA', @level0name=N'dbo' exec sys.sp_addextendedproperty @level2type=N'COLUMN', @level2name=N'Active', @name=N'MS_Description', @value=N'Is device active, 0 not active, 1 active. Default 0.', @level1type=N'TABLE', @level1name=N'Devices', @level0type=N'SCHEMA', @level0name=N'dbo' go alter table dbo.Devices add constraint UX_Devices_HostDeviceExtId unique(Host, DeviceExtId); go alter table dbo.Devices add constraint UX_Devices_DeviceExtId unique(DeviceExtId); go
/* leave this l:see LICENSE file g: script,utility v:110326\s.zaglio: added parameters clear v:110305\s.zaglio: done first version r:100127\s.zaglio: create a vb function to call a sp t:sp__util_sp2dotnet 'sp__util_sp2dotnet',@opt='class' */ CREATE proc [dbo].[sp__util_sp2dotnet] @obj sysname=null, @base sysname=null out, @lng sysname=null, @opt sysname=null, @dbg int=null as begin set nocount on declare @proc sysname,@ret int,@err int select @proc=object_name(@@procid),@ret=0,@dbg=isnull(@dbg,0) select @opt=dbo.fn__str_quote(isnull(@opt,''),'|') if @obj is null and object_id('tempdb..#objs') is null goto help select @lng=isnull(@lng,'vbnet'), @base=isnull(@base,'db') if not @lng in ('vbnet') goto help -- ============================================================= declarations == declare @xtype nvarchar(2),@tab1 sysname,@tab2 sysname,@tab3 sysname,@id int if object_id('tempdb..#objs') is null create table #objs(obj sysname,xtype nvarchar(2) null) create table #src(lno int,line nvarchar(4000)) create table #cols( id int identity, col sysname, xtype sysname, ln sysname,prec sysname,scale sysname, nullable bit,isout bit, vbtype sysname null ) -- =========================================================== initialization == select @tab1=' ',@tab2=@tab1+@tab1,@tab3=@tab2+@tab1 if not @obj is null insert #objs(obj,xtype) select [name],xtype from sysobjects where [name] like @obj -- ===================================================================== body == -- add header if charindex('|class|',@opt)>0 begin insert into #src(line) select ''' v:'+convert(sysname,getdate(),12)+'.' +left(replace(convert(sysname,getdate(),8),':',''),4) +'\sp__util_sp2dotnet: generated automatically' insert into #src(line) select 'Imports System' insert into #src(line) select 'Imports System.Data' insert into #src(line) select '' insert into #src(line) select 'Public Class '+@base+'_objs' insert into #src(line) select @tab1+'Inherits '+@base insert into #src(line) select ''' inherited by '+@base+'_io' insert into #src(line) select '' insert into #src(line) select @tab1+'Public Sub New(Optional ByVal cs As String = "")' insert into #src(line) select @tab2+'MyBase.New(cs)' insert into #src(line) select @tab1+'End Sub' insert into #src(line) select '' end -- class -- add stored declare cs cursor local for select obj,xtype,object_id(obj) from #objs where 1=1 open cs while 1=1 begin fetch next from cs into @obj,@xtype,@id if @@fetch_status!=0 break if @xtype!='P' begin exec sp__printf '%s excluded because not managed type(%s)',@obj,@xtype continue end truncate table #cols insert #cols(col,xtype,ln,prec,scale,nullable,isout,vbtype) -- declare @id int select @id=object_id('swl_rfc') select -- select * from systypes c.[name],case when t.xusertype=256 then 'nvarchar' else t.[name] end , case -- select * from systypes when c.xusertype in (175,239,231,167,256) --char,nchar,nvc,vc then c.prec else c.length end as [length], case -- select * from systypes when c.xusertype in (175,239,231,167,256) --char,nchar,nvc,vc then 0 else c.prec end as prec, isnull(convert(sysname,c.scale),'nothing') as scale, c.isnullable,c.isoutparam, case -- select * from systypes when c.xusertype in (175,239,231,167,256) --char,nchar,nvc,vc then 'string' -- +'('+convert(sysname,prec)+')' when c.xusertype in (62,106,108) then 'double' -- float,decimal,numeric when c.xusertype in (59) then 'single' -- real when c.xusertype in (61,58) then 'date' -- *datetime when c.xusertype in (56) then 'int32' -- int when c.xusertype in (52) then 'int16' -- smallint when c.xusertype in (48) then 'byte' -- tinyint when c.xusertype in (60) then 'currency' -- money when c.xusertype in (35,99) then 'string' -- text,ntext when c.xusertype in (104) then 'boolean' -- bit when c.xusertype in (98) then 'object' -- sql_variant else 'object ''unk type' end as vbtype from syscolumns c join systypes t on c.xusertype=t.xusertype where c.id=@id order by colid insert into #src(line) select @tab1+'public function ['+@obj+']( _' insert into #src(line) -- select * from systypes -- select * from syscolumns c where id=object_id('') select @tab3+ case when nullable =1 then 'optional ' else '' end+ case isout when 1 then 'byref ' else 'byval ' end+ substring(col,2,4000)+' as '+ vbtype+ case when nullable=1 then '=nothing' else '' end+ ', _' from #cols order by id insert into #src(line) select @tab3+'optional byref raiserrorIfRetNotIs as integer=0, _' insert into #src(line) select @tab3+'optional byval tst_params as boolean=false _' insert into #src(line) select @tab2+') as dataset' insert into #src(line) select '' insert into #src(line) select @tab1+'Dim ex As Exception = Nothing' insert into #src(line) select @tab1+'Dim retval as integer,da as SqlClient.SqlDataAdapter=nothing' insert into #src(line) select @tab1+'Dim ds as system.Data.DataSet=nothing' insert into #src(line) select @tab1+'Dim p As system.Data.SqlClient.SqlParameter' insert into #src(line) select '' insert into #src(line) select @tab1+'p=New system.Data.SqlClient.SqlParameter("retvalue", SqlDbType.Int)' insert into #src(line) select @tab1+'p.Direction = ParameterDirection.ReturnValue' insert into #src(line) select @tab1+'cmd.Parameters.Clear()' insert into #src(line) select @tab1+'cmd.parameters.add(p)' insert into #src(line) select top 100 percent 'cmd.parameters.add(New system.Data.SqlClient.SqlParameter('+ '"'+col+'",SqlDbType.'+xtype+','+ ln+','+ case when isout=1 then 'ParameterDirection.InputOutput' else 'ParameterDirection.Input' end+','+ case when nullable=1 then 'true,' else 'false,' end+ prec+','+ scale+','+ 'nothing,DataRowVersion.Current,'+ substring(col,2,4000) +'))' as line from #cols order by id insert into #src(line) select @tab1+'cmd.CommandType = System.Data.CommandType.StoredProcedure' insert into #src(line) select @tab1+'cmd.CommandText="'+@obj+'"' insert into #src(line) select @tab1+'debug(cmd)' -- .Parameters("au_id").Value = "172-32-1176" insert into #src(line) select @tab1+'da = New SqlClient.SqlDataAdapter(cmd)' insert into #src(line) select @tab1+'ds = New system.Data.DataSet' insert into #src(line) select @tab1+'timer.Start()' insert into #src(line) select @tab1+'try' insert into #src(line) select @tab1+'da.Fill(ds)' insert into #src(line) select @tab1+'catch local_ex As Exception' insert into #src(line) select @tab3+'ex=local_ex' insert into #src(line) select @tab1+'end try' insert into #src(line) select @tab1+'cmd.CommandType = System.Data.CommandType.Text' insert into #src(line) select @tab1+'timer.Stop()' insert into #src(line) select @tab1+'da.Dispose()' insert into #src(line) select @tab1+'da = Nothing' insert into #src(line) select @tab3+'if not ex is nothing then throw ex' insert into #src(line) select @tab1+'retval=nz(CType(cmd.Parameters("retvalue").Value, Integer),0)' insert into #src(line) select @tab1+'if retval<>raiserrorIfRetNotIs then' insert into #src(line) select @tab3+'throw new exception("error(" & retval & ") in ""' + @obj + '""")' insert into #src(line) select @tab1+'else' insert into #src(line) select @tab3+'raiserrorIfRetNotIs = retval' insert into #src(line) select @tab1+'end if ' -- output values insert into #src(line) select top 100 percent @tab1+substring(col,2,4000)+'=CType(cmd.Parameters("'+col+'").Value, '+vbtype+')' as line from #cols where isout=1 order by id insert into #src(line) select @tab1+'return ds' insert into #src(line) select @tab1+'end function '' '+@obj end -- while of cursor close cs deallocate cs if charindex('|class|',@opt)>0 begin insert into #src(line) select '' insert into #src(line) select 'End Class '' '+@base+'_objs' end -- class select line from #src order by lno drop table #src drop table #cols goto ret -- =================================================================== errors == -- ===================================================================== help == help: exec sp__usage @proc,' Scope generate the dotnet code necessary to use the objects of db Parameters @obj object name, can use wild % can pass directly #objs as create table #objs(obj sysname,xtype nvarchar(2) null) @base is the base class used with "class" option; by default is "db" @lng specify .net language of output possible languages are: null (default) vbnet (default) @opt options class enclose functions into class db_io inherited from db svn TODO:out to svn (see sp__svn) ' ret: return @ret end -- [sp__util_sp2dotnet]
CREATE DEFINER=`homestead`@`%` PROCEDURE `sp_getUser`( in _emailUser VARCHAR(30), in _passwordUser VARCHAR(150) ) BEGIN DECLARE _idUser INT DEFAULT 0; BEGIN SET _idUser := (select s.fkIdUser from tblSesion s WHERE s.name = _emailUser AND s.password = _<PASSWORD>); END ; BEGIN IF _idUser != '' OR _idUser != NULL then select u.id as idUser, u.email as email, u.name as nameUser, u.fkIdMaster as IdMaster from tblUsers u WHERE u.id = _idUser; end if ; END ; END
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Server version: 5.7.20-log - MySQL Community Server (GPL) -- Server OS: Win64 -- HeidiSQL Version: 9.4.0.5125 -- -------------------------------------------------------- /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET NAMES utf8 */; /*!50503 SET NAMES utf8mb4 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -- Dumping database structure for cms CREATE DATABASE IF NOT EXISTS `cms` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `cms`; -- Dumping structure for table cms.admin_message DROP TABLE IF EXISTS `admin_message`; CREATE TABLE IF NOT EXISTS `admin_message` ( `message_id` bigint(20) NOT NULL AUTO_INCREMENT, `message` longtext NOT NULL, `messageType` varchar(255) NOT NULL, `_read` bit(1) NOT NULL, `user_id` bigint(20) NOT NULL, PRIMARY KEY (`message_id`), KEY `FK_b1lrvwj5um6gnckmpywl43io3` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.admin_message: 0 rows DELETE FROM `admin_message`; /*!40000 ALTER TABLE `admin_message` DISABLE KEYS */; /*!40000 ALTER TABLE `admin_message` ENABLE KEYS */; -- Dumping structure for table cms.article DROP TABLE IF EXISTS `article`; CREATE TABLE IF NOT EXISTS `article` ( `article_id` bigint(20) NOT NULL AUTO_INCREMENT, `content` longtext, `createdOn` datetime NOT NULL, `lastUpdated` datetime NOT NULL, `renderType` varchar(255) NOT NULL, `searchable` bit(1) NOT NULL, `status` varchar(255) NOT NULL, `title` longtext NOT NULL, `uuid_` varchar(255) NOT NULL, `version` double NOT NULL, `createdBy_user_id` bigint(20) DEFAULT NULL, `article_meta` varchar(500) DEFAULT NULL, PRIMARY KEY (`article_id`), KEY `FK_i7mgcq02plw75g7ltcuo66a1n` (`createdBy_user_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- Dumping data for table cms.article: 1 rows DELETE FROM `article`; /*!40000 ALTER TABLE `article` DISABLE KEYS */; INSERT INTO `article` (`article_id`, `content`, `createdOn`, `lastUpdated`, `renderType`, `searchable`, `status`, `title`, `uuid_`, `version`, `createdBy_user_id`, `article_meta`) VALUES (1, '<p>Welcome to the CMS home page!</p>\n\n<p>Yes Your installation is complete you can login to your admin panel and make changes to your content and enjoy.</p>\n\n<p>Go <a href="cpanel" target="_blank">Here</a></p>\n', '2018-02-03 23:24:41', '2018-02-03 23:26:15', 'NORMAL', b'1', 'PUBLISHED', 'Home', '47545763-9112-4998-a528-46f2c886db2c', 1, 1, NULL); /*!40000 ALTER TABLE `article` ENABLE KEYS */; -- Dumping structure for table cms.article_external_references DROP TABLE IF EXISTS `article_external_references`; CREATE TABLE IF NOT EXISTS `article_external_references` ( `article_article_id` bigint(20) NOT NULL, `externalReferences_reference_id` bigint(20) NOT NULL, PRIMARY KEY (`article_article_id`,`externalReferences_reference_id`), KEY `FK_j1neif7g5rjq3sjb0uum5f4rk` (`externalReferences_reference_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.article_external_references: 0 rows DELETE FROM `article_external_references`; /*!40000 ALTER TABLE `article_external_references` DISABLE KEYS */; /*!40000 ALTER TABLE `article_external_references` ENABLE KEYS */; -- Dumping structure for table cms.article_referenced_article DROP TABLE IF EXISTS `article_referenced_article`; CREATE TABLE IF NOT EXISTS `article_referenced_article` ( `article_article_id` bigint(20) NOT NULL, `references_article_id` bigint(20) NOT NULL, PRIMARY KEY (`article_article_id`,`references_article_id`), KEY `FK_it2nk4572ga71chr1vvsddff8` (`references_article_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.article_referenced_article: 0 rows DELETE FROM `article_referenced_article`; /*!40000 ALTER TABLE `article_referenced_article` DISABLE KEYS */; /*!40000 ALTER TABLE `article_referenced_article` ENABLE KEYS */; -- Dumping structure for table cms.article_roles DROP TABLE IF EXISTS `article_roles`; CREATE TABLE IF NOT EXISTS `article_roles` ( `article_id` bigint(20) NOT NULL, `role_id` int(11) NOT NULL, PRIMARY KEY (`article_id`,`role_id`), KEY `FK_sckfoa66c7cpvmeqovielkh1m` (`role_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.article_roles: 0 rows DELETE FROM `article_roles`; /*!40000 ALTER TABLE `article_roles` DISABLE KEYS */; /*!40000 ALTER TABLE `article_roles` ENABLE KEYS */; -- Dumping structure for table cms.article_tags DROP TABLE IF EXISTS `article_tags`; CREATE TABLE IF NOT EXISTS `article_tags` ( `article_id` bigint(20) NOT NULL, `tag_id` bigint(20) NOT NULL, PRIMARY KEY (`article_id`,`tag_id`), KEY `FK_8a307dpeku7biknifqwl73htk` (`tag_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.article_tags: 0 rows DELETE FROM `article_tags`; /*!40000 ALTER TABLE `article_tags` DISABLE KEYS */; /*!40000 ALTER TABLE `article_tags` ENABLE KEYS */; -- Dumping structure for table cms.category DROP TABLE IF EXISTS `category`; CREATE TABLE IF NOT EXISTS `category` ( `category_id` int(11) NOT NULL AUTO_INCREMENT, `created` datetime NOT NULL, `category_label` varchar(255) NOT NULL, `lastUpdated` datetime NOT NULL, `sequenceNo` int(11) NOT NULL, `status` varchar(255) NOT NULL, `article_id` bigint(20) DEFAULT NULL, `menu_id` int(11) NOT NULL, PRIMARY KEY (`category_id`), KEY `FK_ku0b3idvxyus3geq75nq9mlt0` (`article_id`), KEY `FK_rmkhoik9l8fsbg1ocqycit3gd` (`menu_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- Dumping data for table cms.category: 1 rows DELETE FROM `category`; /*!40000 ALTER TABLE `category` DISABLE KEYS */; INSERT INTO `category` (`category_id`, `created`, `category_label`, `lastUpdated`, `sequenceNo`, `status`, `article_id`, `menu_id`) VALUES (1, '2018-02-03 23:22:14', 'First Article', '2018-02-03 23:22:14', 1, 'PUBLISHED', NULL, 1); /*!40000 ALTER TABLE `category` ENABLE KEYS */; -- Dumping structure for table cms.forum_answer DROP TABLE IF EXISTS `forum_answer`; CREATE TABLE IF NOT EXISTS `forum_answer` ( `answer_id` bigint(20) NOT NULL AUTO_INCREMENT, `content` longtext NOT NULL, `lastUpdated` datetime DEFAULT NULL, `postedOn` datetime DEFAULT NULL, `user_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`answer_id`), KEY `FK_3s3ssq0y1bflayemvkvou8je1` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.forum_answer: 0 rows DELETE FROM `forum_answer`; /*!40000 ALTER TABLE `forum_answer` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_answer` ENABLE KEYS */; -- Dumping structure for table cms.forum_question DROP TABLE IF EXISTS `forum_question`; CREATE TABLE IF NOT EXISTS `forum_question` ( `question_id` bigint(20) NOT NULL AUTO_INCREMENT, `content` longtext NOT NULL, `lastUpdated` datetime DEFAULT NULL, `postedOn` datetime DEFAULT NULL, `user_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`question_id`), KEY `FK_iy1gc4n0in0406p40etr3jipu` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.forum_question: 0 rows DELETE FROM `forum_question`; /*!40000 ALTER TABLE `forum_question` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_question` ENABLE KEYS */; -- Dumping structure for table cms.forum_question_tag DROP TABLE IF EXISTS `forum_question_tag`; CREATE TABLE IF NOT EXISTS `forum_question_tag` ( `question_id` bigint(20) NOT NULL, `tag_id` bigint(20) NOT NULL, PRIMARY KEY (`question_id`,`tag_id`), KEY `FK_f4kpbneg1662pbfw68xpxirp4` (`tag_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.forum_question_tag: 0 rows DELETE FROM `forum_question_tag`; /*!40000 ALTER TABLE `forum_question_tag` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_question_tag` ENABLE KEYS */; -- Dumping structure for table cms.imagefile DROP TABLE IF EXISTS `imagefile`; CREATE TABLE IF NOT EXISTS `imagefile` ( `image_id` bigint(20) NOT NULL AUTO_INCREMENT, `content` longblob NOT NULL, `createdOn` datetime NOT NULL, `description` varchar(255) DEFAULT NULL, `fileType` varchar(255) NOT NULL, `lastUpdated` datetime DEFAULT NULL, `thumb` longblob, `uuid_` varchar(255) DEFAULT NULL, `version` bigint(20) DEFAULT NULL, `createdBy_user_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`image_id`), KEY `FK_neyyi6che10euqujmxghsepuc` (`createdBy_user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.imagefile: 0 rows DELETE FROM `imagefile`; /*!40000 ALTER TABLE `imagefile` DISABLE KEYS */; /*!40000 ALTER TABLE `imagefile` ENABLE KEYS */; -- Dumping structure for table cms.menu DROP TABLE IF EXISTS `menu`; CREATE TABLE IF NOT EXISTS `menu` ( `menu_id` int(11) NOT NULL AUTO_INCREMENT, `created` datetime NOT NULL, `label` varchar(255) NOT NULL, `lastUpdated` datetime NOT NULL, `sequenceNo` int(11) NOT NULL, `status` varchar(255) NOT NULL, `article_id` bigint(20) DEFAULT NULL, `content_article_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`menu_id`), UNIQUE KEY `UK_2e3ppjy0en5ctaexw43u2fp4l` (`label`), KEY `FK_4kvwi83ft3cyfywwmj1cqjnsh` (`article_id`), KEY `FK_6lgwk1elnxe5csait1pj671h` (`content_article_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- Dumping data for table cms.menu: 1 rows DELETE FROM `menu`; /*!40000 ALTER TABLE `menu` DISABLE KEYS */; INSERT INTO `menu` (`menu_id`, `created`, `label`, `lastUpdated`, `sequenceNo`, `status`, `article_id`, `content_article_id`) VALUES (1, '2018-02-03 23:21:51', 'Home', '2018-02-03 23:21:51', 1, 'PUBLISHED', 1, NULL); /*!40000 ALTER TABLE `menu` ENABLE KEYS */; -- Dumping structure for table cms.menu_roles DROP TABLE IF EXISTS `menu_roles`; CREATE TABLE IF NOT EXISTS `menu_roles` ( `menu_id` int(11) NOT NULL, `role_id` int(11) NOT NULL, PRIMARY KEY (`menu_id`,`role_id`), KEY `FK_c8rgc62enb5sispw8msepx3o7` (`role_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.menu_roles: 0 rows DELETE FROM `menu_roles`; /*!40000 ALTER TABLE `menu_roles` DISABLE KEYS */; /*!40000 ALTER TABLE `menu_roles` ENABLE KEYS */; -- Dumping structure for table cms.permission DROP TABLE IF EXISTS `permission`; CREATE TABLE IF NOT EXISTS `permission` ( `permission_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`permission_id`), UNIQUE KEY `UK_2ojme20jpga3r4r79tdso17gi` (`name`) ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; -- Dumping data for table cms.permission: 11 rows DELETE FROM `permission`; /*!40000 ALTER TABLE `permission` DISABLE KEYS */; INSERT INTO `permission` (`permission_id`, `name`) VALUES (1, 'cpanel:view'), (2, 'cpanel:view:roles'), (3, 'cpanel:list:roles'), (4, 'cpanel:user:add'), (5, 'cpanel:*'), (6, 'cpanel:user:list'), (7, 'cpanel:user:view'), (8, 'cpanel:user:status'), (9, 'cpanel:user:assignRole'), (10, 'cpanel:user:assignGroup'), (11, 'cpanel:user:*'); /*!40000 ALTER TABLE `permission` ENABLE KEYS */; -- Dumping structure for table cms.reference DROP TABLE IF EXISTS `reference`; CREATE TABLE IF NOT EXISTS `reference` ( `reference_id` bigint(20) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `url` varchar(255) NOT NULL, PRIMARY KEY (`reference_id`), UNIQUE KEY `UK_76j0hm7lmfq6ormn62bo99fh1` (`title`), UNIQUE KEY `UK_sgal6tu3aow1dbt8e245ej1u4` (`url`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.reference: 0 rows DELETE FROM `reference`; /*!40000 ALTER TABLE `reference` DISABLE KEYS */; /*!40000 ALTER TABLE `reference` ENABLE KEYS */; -- Dumping structure for table cms.role DROP TABLE IF EXISTS `role`; CREATE TABLE IF NOT EXISTS `role` ( `role_id` int(11) NOT NULL AUTO_INCREMENT, `modifiable` bit(1) NOT NULL, `name` varchar(255) DEFAULT NULL, `createdBy_user_id` bigint(20) NOT NULL, PRIMARY KEY (`role_id`), UNIQUE KEY `UK_8sewwnpamngi6b1dwaa88askk` (`name`), KEY `FK_n6wfa353sekm5lqhno3t23jhu` (`createdBy_user_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- Dumping data for table cms.role: 1 rows DELETE FROM `role`; /*!40000 ALTER TABLE `role` DISABLE KEYS */; INSERT INTO `role` (`role_id`, `modifiable`, `name`, `createdBy_user_id`) VALUES (1, b'1', 'Users', 1); /*!40000 ALTER TABLE `role` ENABLE KEYS */; -- Dumping structure for table cms.role_permissions DROP TABLE IF EXISTS `role_permissions`; CREATE TABLE IF NOT EXISTS `role_permissions` ( `role_id` int(11) NOT NULL, `permission_id` int(11) NOT NULL, PRIMARY KEY (`role_id`,`permission_id`), KEY `FK_qfkbccnh2c5o4tc7akq5x11wv` (`permission_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.role_permissions: 0 rows DELETE FROM `role_permissions`; /*!40000 ALTER TABLE `role_permissions` DISABLE KEYS */; /*!40000 ALTER TABLE `role_permissions` ENABLE KEYS */; -- Dumping structure for table cms.subcategory DROP TABLE IF EXISTS `subcategory`; CREATE TABLE IF NOT EXISTS `subcategory` ( `subcategory_id` bigint(20) NOT NULL AUTO_INCREMENT, `created` datetime NOT NULL, `subcategory_label` varchar(255) NOT NULL, `lastUpdated` datetime NOT NULL, `sequenceNo` int(11) NOT NULL, `status` varchar(255) NOT NULL, `article_id` bigint(20) DEFAULT NULL, `category_id` int(11) NOT NULL, PRIMARY KEY (`subcategory_id`), KEY `FK_i4d32ix1cxuyb1avqgh3yycdg` (`article_id`), KEY `FK_dglte9qeu8l5fhggto4loyegg` (`category_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- Dumping data for table cms.subcategory: 1 rows DELETE FROM `subcategory`; /*!40000 ALTER TABLE `subcategory` DISABLE KEYS */; INSERT INTO `subcategory` (`subcategory_id`, `created`, `subcategory_label`, `lastUpdated`, `sequenceNo`, `status`, `article_id`, `category_id`) VALUES (1, '2018-02-03 23:22:36', 'Article 2', '2018-02-03 23:22:36', 1, 'PUBLISHED', NULL, 1); /*!40000 ALTER TABLE `subcategory` ENABLE KEYS */; -- Dumping structure for table cms.tag DROP TABLE IF EXISTS `tag`; CREATE TABLE IF NOT EXISTS `tag` ( `tag_id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, PRIMARY KEY (`tag_id`), UNIQUE KEY `UK_1wdpsed5kna2y38hnbgrnhi5b` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.tag: 0 rows DELETE FROM `tag`; /*!40000 ALTER TABLE `tag` DISABLE KEYS */; /*!40000 ALTER TABLE `tag` ENABLE KEYS */; -- Dumping structure for table cms.usergroup DROP TABLE IF EXISTS `usergroup`; CREATE TABLE IF NOT EXISTS `usergroup` ( `group_id` bigint(20) NOT NULL AUTO_INCREMENT, `comments` longtext, `name` varchar(255) NOT NULL, `createdBy_user_id` bigint(20) NOT NULL, PRIMARY KEY (`group_id`), UNIQUE KEY `UK_5y5j21fk5xr30i9xybr7hkf1r` (`name`), KEY `FK_89ay9biqy40jip5uvfwjuvfq6` (`createdBy_user_id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- Dumping data for table cms.usergroup: 1 rows DELETE FROM `usergroup`; /*!40000 ALTER TABLE `usergroup` DISABLE KEYS */; INSERT INTO `usergroup` (`group_id`, `comments`, `name`, `createdBy_user_id`) VALUES (1, 'User who are just registered', 'Registered', 1); /*!40000 ALTER TABLE `usergroup` ENABLE KEYS */; -- Dumping structure for table cms.usergroup_role DROP TABLE IF EXISTS `usergroup_role`; CREATE TABLE IF NOT EXISTS `usergroup_role` ( `usergroup_group_id` bigint(20) NOT NULL, `roles_role_id` int(11) NOT NULL, PRIMARY KEY (`usergroup_group_id`,`roles_role_id`), KEY `FK_ewwn6fdcd5m634wckmi3l2sck` (`roles_role_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.usergroup_role: 1 rows DELETE FROM `usergroup_role`; /*!40000 ALTER TABLE `usergroup_role` DISABLE KEYS */; INSERT INTO `usergroup_role` (`usergroup_group_id`, `roles_role_id`) VALUES (1, 1); /*!40000 ALTER TABLE `usergroup_role` ENABLE KEYS */; -- Dumping structure for table cms.user_ DROP TABLE IF EXISTS `user_`; CREATE TABLE IF NOT EXISTS `user_` ( `user_id` bigint(20) NOT NULL AUTO_INCREMENT, `active` bit(1) NOT NULL, `admin` bit(1) NOT NULL, `agreedToTermsOfUse` bit(1) NOT NULL, `city` varchar(255) DEFAULT NULL, `contactNo` varchar(255) DEFAULT NULL, `country` varchar(255) DEFAULT NULL, `created` datetime NOT NULL, `dob` date DEFAULT NULL, `email` varchar(255) NOT NULL, `emailAddressVerified` bit(1) NOT NULL, `facebookId` varchar(255) DEFAULT NULL, `failedLoginAttempts` int(11) DEFAULT NULL, `firstName` varchar(255) NOT NULL, `gender` varchar(255) NOT NULL, `jobTitle` varchar(255) DEFAULT NULL, `lastFailedLoginDate` datetime DEFAULT NULL, `lastName` varchar(255) NOT NULL, `lastUpdated` datetime NOT NULL, `loginDate` datetime DEFAULT NULL, `loginIP` varchar(150) DEFAULT NULL, `middleName` varchar(255) DEFAULT NULL, `mobileNo` varchar(255) DEFAULT NULL, `password_` varchar(255) NOT NULL, `passwordEncrypted` bit(1) NOT NULL, `passwordModifiedDate` datetime DEFAULT NULL, `reminderQueryAnswer` varchar(255) DEFAULT NULL, `reminderQueryQuestion` varchar(255) DEFAULT NULL, `screenName` varchar(255) DEFAULT NULL, `street` varchar(255) DEFAULT NULL, PRIMARY KEY (`user_id`), UNIQUE KEY `UK_ha67cvlhy4nk1prswl5gj1y0y` (`email`), UNIQUE KEY `UK_q1sdxrqyk0i3sw35q3m92sx3m` (`email`), UNIQUE KEY `UK_t3h04ots9umgd527ler2vsnup` (`screenName`) ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; -- Dumping data for table cms.user_: 1 rows DELETE FROM `user_`; /*!40000 ALTER TABLE `user_` DISABLE KEYS */; INSERT INTO `user_` (`user_id`, `active`, `admin`, `agreedToTermsOfUse`, `city`, `contactNo`, `country`, `created`, `dob`, `email`, `emailAddressVerified`, `facebookId`, `failedLoginAttempts`, `firstName`, `gender`, `jobTitle`, `lastFailedLoginDate`, `lastName`, `lastUpdated`, `loginDate`, `loginIP`, `middleName`, `mobileNo`, `password_`, `passwordEncrypted`, `passwordModifiedDate`, `reminderQueryAnswer`, `reminderQueryQuestion`, `screenName`, `street`) VALUES (1, b'1', b'1', b'1', NULL, NULL, NULL, '2014-06-05 00:00:00', '2014-06-01', '<EMAIL>', b'1', 'ankitkatiyar91', 0, 'Ankit', 'MALE', NULL, '2018-02-04 00:42:23', 'Katiyar', '2018-02-04 00:42:28', '2018-02-04 00:42:28', '0:0:0:0:0:0:0:1', NULL, NULL, 'admin', b'0', NULL, NULL, NULL, NULL, NULL); /*!40000 ALTER TABLE `user_` ENABLE KEYS */; -- Dumping structure for table cms.user_group DROP TABLE IF EXISTS `user_group`; CREATE TABLE IF NOT EXISTS `user_group` ( `group_id` bigint(20) NOT NULL, `user_id` bigint(20) NOT NULL, PRIMARY KEY (`user_id`,`group_id`), KEY `FK_789v3ejjs9uj5vu1ufexj2tbv` (`group_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.user_group: 0 rows DELETE FROM `user_group`; /*!40000 ALTER TABLE `user_group` DISABLE KEYS */; /*!40000 ALTER TABLE `user_group` ENABLE KEYS */; -- Dumping structure for table cms.user_roles DROP TABLE IF EXISTS `user_roles`; CREATE TABLE IF NOT EXISTS `user_roles` ( `user_id` bigint(20) NOT NULL, `role_id` int(11) NOT NULL, PRIMARY KEY (`user_id`,`role_id`), KEY `FK_5q4rc4fh1on6567qk69uesvyf` (`role_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- Dumping data for table cms.user_roles: 0 rows DELETE FROM `user_roles`; /*!40000 ALTER TABLE `user_roles` DISABLE KEYS */; /*!40000 ALTER TABLE `user_roles` ENABLE KEYS */; /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; /*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
-- doc CREATE TABLE IF NOT EXISTS `zt_doc` ( `id` mediumint(8) unsigned NOT NULL auto_increment, `company` smallint(5) unsigned NOT NULL, `product` mediumint(8) unsigned NOT NULL, `project` mediumint(8) unsigned NOT NULL, `lib` varchar(30) NOT NULL, `module` varchar(30) NOT NULL, `title` varchar(120) NOT NULL, `digest` varchar(255) NOT NULL, `type` varchar(30) NOT NULL, `content` text NOT NULL, `url` varchar(255) NOT NULL, `views` smallint(5) unsigned NOT NULL, `addedBy` varchar(30) NOT NULL, `addedDate` datetime NOT NULL, `editedBy` varchar(30) NOT NULL, `editedDate` datetime NOT NULL, `deleted` enum('0','1') NOT NULL default '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- doc lib CREATE TABLE IF NOT EXISTS `zt_docLib` ( `id` smallint(5) unsigned NOT NULL auto_increment, `company` smallint(5) unsigned NOT NULL, `name` varchar(60) NOT NULL, `deleted` enum('0','1') NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `company` (`company`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- module ALTER TABLE `zt_module` CHANGE `product` `root` MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '0'; ALTER TABLE `zt_module` CHANGE `view` `type` CHAR( 30 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL; ALTER TABLE `zt_module` ADD `owner` VARCHAR( 30 ) NOT NULL ; update zt_module set `type` = 'story' where `type` = 'product'; -- tpl CREATE TABLE IF NOT EXISTS `zt_userTPL` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `company` mediumint(8) unsigned NOT NULL, `account` char(30) NOT NULL, `type` char(30) NOT NULL, `title` varchar(150) NOT NULL, `content` text NOT NULL, PRIMARY KEY (`id`), KEY `company` (`company`), KEY `account` (`account`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- product acl ALTER TABLE `zt_product` ADD `acl` ENUM( 'open', 'private', 'custom' ) NOT NULL DEFAULT 'open' AFTER `desc` , ADD `whitelist` VARCHAR( 255 ) NOT NULL AFTER `acl` ; -- product owner. ALTER TABLE `zt_product` ADD `productOwner` VARCHAR( 30 ) NOT NULL AFTER `desc` , ADD `bugOwner` VARCHAR( 30 ) NOT NULL AFTER `productOwner` ;
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3307 -- Generation Time: Oct 19, 2019 at 12:06 PM -- Server version: 10.4.6-MariaDB -- PHP Version: 7.3.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `db_tokobuah` -- -- -------------------------------------------------------- -- -- Table structure for table `t001_products` -- CREATE TABLE `t001_products` ( `product_id` varchar(64) NOT NULL, `name` varchar(255) NOT NULL, `price` float(14,2) NOT NULL, `image` varchar(255) NOT NULL DEFAULT 'default.jpg', `description` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `t001_products` -- INSERT INTO `t001_products` (`product_id`, `name`, `price`, `image`, `description`) VALUES ('5daac25c531aa', '1', 0.00, 'default.jpg', '1'), ('5daac46462ae5', '2', 0.00, 'default.jpg', '2'), ('5daac506635d2', '3', 0.00, 'default.jpg', '3'), ('5daac74d99064', '4', 0.00, 'default.jpg', '4'), ('5daacbc709342', '5', 0.00, 'default.jpg', '5'), ('5daacbec02b81', '6', 0.00, 'default.jpg', '6'), ('5daacd36c3bef', '7', 0.00, 'default.jpg', '7'), ('5daad17647851', '8', 0.00, 'default.jpg', '8'), ('5daad6cfca4d0', '9', 0.00, 'default.jpg', '9'), ('5daad7a3d1643', '11', 0.00, 'default.jpg', '11'); -- -- Indexes for dumped tables -- -- -- Indexes for table `t001_products` -- ALTER TABLE `t001_products` ADD PRIMARY KEY (`product_id`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<filename>migrations/20210327132800_update_item_values.down.sql ALTER TABLE item_values DROP COLUMN description; ALTER TABLE item_values DROP COLUMN image_url;
-- misc4.test -- -- execsql { -- CREATE TABLE t1(x); -- INSERT INTO t1 VALUES(1); -- } CREATE TABLE t1(x); INSERT INTO t1 VALUES(1);
-- randexpr1.test -- -- db eval {SELECT e | t1.e*case d when t1.e then a else case when t1.a<= -~+e then b else 17-t1.e end*c*f+case when case when +c in (select +min(11) from t1 union select cast(avg(f) AS integer) from t1) and b between c and t1.f then 11+t1.a when f>=c then d else t1.c end<t1.c and t1.d between t1.a and t1.e then 19 when t1.a<=t1.c then t1.d else f end end FROM t1 WHERE NOT (13 in (select case when ++(select abs(max((select count(*) from t1)+~13)) from t1)*11 not in ((d*~19),(abs(f)/abs(t1.b)),case when not exists(select 1 from t1 where b<=e+t1.d) then b*f when d in (select min(t1.d) from t1 union select min(e) from t1) then 19 else f end*a) then t1.c else -c end from t1 union select t1.a from t1) or f<c)} SELECT e | t1.e*case d when t1.e then a else case when t1.a<= -~+e then b else 17-t1.e end*c*f+case when case when +c in (select +min(11) from t1 union select cast(avg(f) AS integer) from t1) and b between c and t1.f then 11+t1.a when f>=c then d else t1.c end<t1.c and t1.d between t1.a and t1.e then 19 when t1.a<=t1.c then t1.d else f end end FROM t1 WHERE NOT (13 in (select case when ++(select abs(max((select count(*) from t1)+~13)) from t1)*11 not in ((d*~19),(abs(f)/abs(t1.b)),case when not exists(select 1 from t1 where b<=e+t1.d) then b*f when d in (select min(t1.d) from t1 union select min(e) from t1) then 19 else f end*a) then t1.c else -c end from t1 union select t1.a from t1) or f<c)
<filename>Chapter12/tagext/tagext--1.0.sql CREATE OR REPLACE FUNCTION tag_path( tag_to_search text ) RETURNS TEXT AS $CODE$ DECLARE tag_path text; current_parent_pk int; BEGIN tag_path = tag_to_search; SELECT parent INTO current_parent_pk FROM tags WHERE tag = tag_to_search; -- here we must loop WHILE current_parent_pk IS NOT NULL LOOP SELECT parent, tag || ' > ' || tag_path INTO current_parent_pk, tag_path FROM tags WHERE pk = current_parent_pk; END LOOP; RETURN tag_path; END $CODE$ LANGUAGE plpgsql;
<reponame>overachiever-productions/s4<filename>S4 Diagnostics/Security/list_role_members.sql /* TODO: this needs the 'execute in calling-context' convention as in ... it needs to do MORE than just run this query against roles in the admindb... it can/should be able to run against ... other dbs and their roles. which means 2 changes: 1. get the context ... via 'dynamic' detection + and/or via @TargetDatabase (if that's null, then dynamic... and if we can't tell after @TargetDB and dynamic... then error). 2. the query then needs to be DYNAMIC... */ USE [admindb]; GO IF OBJECT_ID('dbo.list_role_members','P') IS NOT NULL DROP PROC dbo.list_role_members GO CREATE PROC dbo.list_role_members @RoleName sysname AS SET NOCOUNT ON; -- {copyright} WITH RoleMembers (member_principal_id, role_principal_id) AS ( SELECT rm1.member_principal_id, rm1.role_principal_id FROM sys.database_role_members rm1 (NOLOCK) UNION ALL SELECT d.member_principal_id, rm.role_principal_id FROM sys.database_role_members rm (NOLOCK) INNER JOIN RoleMembers AS d ON rm.member_principal_id = d.role_principal_id ) select --distinct rp.name as database_role, mp.name as [user] from RoleMembers drm join sys.database_principals rp on (drm.role_principal_id = rp.principal_id) join sys.database_principals mp on (drm.member_principal_id = mp.principal_id) WHERE rp.[name] = @RoleName order by rp.name -- TODO: -- maybe grab sids and/or info on whether the user in question is active and so on ... i..e, @IncludeExtendedUserData = 1 -- maybe look for roles that are members of this role - i.e., if I made a role called ExymAdmins and ... made them a member of the admins role -- i'd like to see a 'nested_role_members' xml do-hickie that would show these permissions/memberships in greater detail... -- and... use the above via something like .. @IncludeChildRoleMembers or something like that... RETURN 0; GO
alter table entries add column properties json;
<reponame>CoveHealth/adwords {% macro stitch_adwords_accounts() %} {{ adapter.dispatch('stitch_adwords_accounts', 'adwords')() }} {% endmacro %} {% macro default__stitch_adwords_accounts() %} with accounts_source as ( select * from {{ var('accounts_table') }} ), accounts_renamed as ( select customerid as account_id, name as account_name, canmanageclients as can_manage_clients, currencycode as currency_code, datetimezone as time_zone, testaccount as test_account from accounts_source ) select * from accounts_renamed {% endmacro %}
<gh_stars>0 DELIMITER $$ DROP PROCEDURE IF EXISTS `jj`.`entry_view_latest_rss` $$ CREATE PROCEDURE `jj`.`entry_view_latest_rss`() BEGIN SELECT us.id AS id, us.username, eh.date AS date, eh.subject AS subject, eh.music, eh.body, mood.title AS moodt, location.title AS location, eh.id AS entryid, eh.security AS security, eh.autoformat, eh.allow_comments, eh.email_comments, location.id AS locationid, mood.id AS moodid FROM user AS us, entry AS eh, mood, location WHERE eh.id IN (SELECT id FROM v_entry_new_unique ORDER BY id) AND us.id = eh.uid AND mood.id = eh.mood AND location.id = eh.location AND eh.security = 2 ORDER BY eh.date DESC, eh.id DESC LIMIT 0, 15; END $$ DELIMITER ;
<gh_stars>0 /* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50525 Source Host : localhost:3306 Source Database : basic Target Server Type : MYSQL Target Server Version : 50525 File Encoding : 65001 Date: 2016-07-24 23:11:37 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for account -- ---------------------------- DROP TABLE IF EXISTS `account`; CREATE TABLE `account` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) DEFAULT NULL, `provider` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `client_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `properties` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of account -- ---------------------------- -- ---------------------------- -- Table structure for departments -- ---------------------------- DROP TABLE IF EXISTS `departments`; CREATE TABLE `departments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `group_id` int(11) DEFAULT NULL COMMENT 'กลุ่มงาน', `department` varchar(255) DEFAULT NULL COMMENT 'แผนก', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of departments -- ---------------------------- INSERT INTO `departments` VALUES ('1', '3', 'ซ่อมบำรุง'); INSERT INTO `departments` VALUES ('2', '1', 'งานคลังยา'); INSERT INTO `departments` VALUES ('3', '1', 'งานคุ้มครองผู้บริโภค'); INSERT INTO `departments` VALUES ('4', '3', 'งานยานยนต์'); -- ---------------------------- -- Table structure for groups -- ---------------------------- DROP TABLE IF EXISTS `groups`; CREATE TABLE `groups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `namegroup` varchar(255) DEFAULT NULL COMMENT 'ชื่อกลุ่มงาน', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of groups -- ---------------------------- INSERT INTO `groups` VALUES ('1', 'กลุ่มงานเภสัชกรรมชุมชน'); INSERT INTO `groups` VALUES ('2', 'กลุ่มงานทันตกรรม'); INSERT INTO `groups` VALUES ('3', 'กลุ่มงานบริหารจัดการทั่วไป'); -- ---------------------------- -- Table structure for migration -- ---------------------------- DROP TABLE IF EXISTS `migration`; CREATE TABLE `migration` ( `version` varchar(180) NOT NULL, `apply_time` int(11) DEFAULT NULL, PRIMARY KEY (`version`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of migration -- ---------------------------- INSERT INTO `migration` VALUES ('m000000_000000_base', '1469173746'); INSERT INTO `migration` VALUES ('m140209_132017_init', '1469175028'); -- ---------------------------- -- Table structure for profile -- ---------------------------- DROP TABLE IF EXISTS `profile`; CREATE TABLE `profile` ( `user_id` int(11) NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `public_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `gravatar_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `gravatar_id` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL, `location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `bio` text COLLATE utf8_unicode_ci, PRIMARY KEY (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of profile -- ---------------------------- INSERT INTO `profile` VALUES ('1', null, null, null, null, null, null, null); INSERT INTO `profile` VALUES ('2', null, null, null, null, null, null, null); -- ---------------------------- -- Table structure for social_account -- ---------------------------- DROP TABLE IF EXISTS `social_account`; CREATE TABLE `social_account` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) DEFAULT NULL, `provider` varchar(255) NOT NULL, `client_id` varchar(255) NOT NULL, `data` text, `code` varchar(32) DEFAULT NULL, `created_at` int(11) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `username` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `account_unique` (`provider`,`client_id`) USING BTREE, UNIQUE KEY `account_unique_code` (`code`) USING BTREE, KEY `fk_user_account` (`user_id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=tis620; -- ---------------------------- -- Records of social_account -- ---------------------------- -- ---------------------------- -- Table structure for token -- ---------------------------- DROP TABLE IF EXISTS `token`; CREATE TABLE `token` ( `user_id` int(11) NOT NULL, `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `created_at` int(11) NOT NULL, `type` smallint(6) NOT NULL, UNIQUE KEY `token_unique` (`user_id`,`code`,`type`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of token -- ---------------------------- INSERT INTO `token` VALUES ('1', '<KEY>', '<PASSWORD>', '0'); INSERT INTO `token` VALUES ('2', '<KEY>', '<PASSWORD>', '0'); -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password_hash` varchar(60) COLLATE utf8_unicode_ci NOT NULL, `auth_key` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `confirmed_at` int(11) DEFAULT NULL, `unconfirmed_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `blocked_at` int(11) DEFAULT NULL, `registration_ip` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, `flags` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `user_unique_email` (`email`), UNIQUE KEY `user_unique_username` (`username`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES ('1', 'admin', '<EMAIL>', '$2y$12$yxF.ki3qxU62ciAzMtvsy.60q5k1WiT.83k8e4gO.vEqSChGv0XW.', 'Y8vDnMIITuH-OgSjIUzDh-7dGQxblkFI', null, null, null, '::1', '1469176693', '1469176693', '0'); INSERT INTO `user` VALUES ('2', 'user', '<EMAIL>', <PASSWORD>', 'ULV1hXTB2JGm5oNi-4-TPIrxtJMXHAzH', null, null, null, '::1', '1469176738', '1469176738', '0');
<filename>fixtures/doctests/textsearch/028/input.sql<gh_stars>0 supernovae stars : sn crab nebulae : crab
SELECT id, name, description, ST_Transform(extent, {{ srid }}) as geometry FROM app_users_resources WHERE id::text = '{{ resource_id }}'
<reponame>328nt/GEM -- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Máy chủ: 127.0.0.1 -- Thời gian đã tạo: Th9 03, 2019 lúc 05:37 AM -- Phiên bản máy phục vụ: 10.3.15-MariaDB -- Phiên bản PHP: 7.3.6 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Cơ sở dữ liệu: `gem` -- -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `districts` -- CREATE TABLE `districts` ( `id` int(10) UNSIGNED NOT NULL, `id_provinces` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `districts` -- INSERT INTO `districts` (`id`, `id_provinces`, `name`, `created_at`, `updated_at`) VALUES (1, 1, 'Huyện Ba Vì', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (2, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (3, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (4, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (5, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (6, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (7, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (8, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (9, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (10, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (11, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (12, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (13, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (14, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (15, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (16, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (17, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (18, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (19, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (20, 1, 'Quận <NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (21, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (22, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (23, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (24, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (25, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (26, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (27, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (28, 1, '<NAME>', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (29, 1, 'Thành phố Sơn Tây', '2019-08-16 20:28:44', '2019-08-16 20:28:44'), (30, 1, 'Quận Nam Từ Liêm', '2019-08-16 20:28:44', '2019-08-16 20:28:44'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `members` -- CREATE TABLE `members` ( `id` int(10) UNSIGNED NOT NULL, `sbd` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `day` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `members` -- INSERT INTO `members` (`id`, `sbd`, `name`, `email`, `day`, `created_at`, `updated_at`) VALUES (3305, '1', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3306, '2', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3307, '3', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3308, '4', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3309, '5', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3310, '6', '<NAME> Sr.', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3311, '7', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3312, '8', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3313, '9', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3314, '10', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3315, '11', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3316, '12', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:00'), (3317, '13', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3318, '14', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3319, '15', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3320, '16', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3321, '17', 'Mrs. <NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3322, '18', 'Prof. <NAME> DDS', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3323, '19', '<NAME>', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3324, '66', 'tiendat', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3325, '67', 'tiendat', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3326, '68', 'tiendat', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3327, '69', 'datmember', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3328, '70', 'dat23344', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3329, '71', 'dat123', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3330, '76', 'tên', '1', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3331, '77', 'tên2', '2', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3332, '78', 'tên3', '3', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3333, '79', 'tên', 'email', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3334, '80', 'tên2', 'email2', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3335, '81', 'tên3', 'email3', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3336, '100', 'tiendat', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3337, '101', NULL, 'wqeqw@3e', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:01'), (3338, '102', 'Đạt', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3339, '103', 'Đạtfff', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3340, '110', 'dwdw', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3341, '111', 'dwd', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3342, '112', 'dsf', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3343, '113', 'dat', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3344, '114', 'fff', '<EMAIL>', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3345, '116', '1', '1@324234', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3346, '117', 'tên2', '2@222', NULL, '2019-08-12 01:17:38', '2019-08-12 19:40:02'), (3347, '118', '3', '3@33', NULL, '2019-08-12 01:17:38', '2019-08-12 19:43:30'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2019_07_15_082126_add_level_to_users', 2), (4, '2019_07_15_090106_add_level_to_users_table', 3), (7, '2019_07_16_042907_create_news_table', 4), (8, '2019_07_23_020239_create_members_table', 5), (9, '2019_08_01_022702_add_new_column_in_users_table', 6), (10, '2019_08_07_042435_add_sbd_to_users_table', 7), (12, '2019_08_07_101955_create_table_scores', 8), (13, '2019_08_17_020724_create_provinces_table', 9), (14, '2019_08_17_020742_create_districts_table', 9), (15, '2019_08_17_020814_create_schools_table', 9); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `news` -- CREATE TABLE `news` ( `id` int(10) UNSIGNED NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `titlenone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `hightlight` int(11) NOT NULL DEFAULT 0, `view` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `news` -- INSERT INTO `news` (`id`, `title`, `titlenone`, `description`, `content`, `image`, `hightlight`, `view`, `created_at`, `updated_at`) VALUES (1, 'Juventus ra mắt sao 0 đồng: Lương 400.000 bảng/tuần, quyết giành cúp C1', 'juventus-ra-mat-sao-0-dong-luong-400000-bangtuan-quyet-gianh-cup-c1', 'Juventus vừa chính thức ra mắt tiền vệ Ramsey, sao 0 đồng của CLB trong mùa hè này với mức lương 400.000 bảng/tuần.', '<p>Sau nhiều ngày chờ đợi, cuối cùng CĐV Juventus cũng được chào đón bản hợp đồng mới của CLB mang tên <NAME>. Tiền vệ người xứ Wales gia nhập \"Lão bà thành Turin\" với giá 0 đồng sau khi đạt thỏa thuận ở kỳ chuyển nhượng mùa đông trước. Ramsey đã chia tay Arsenal sau nhiều năm gắn bó bởi không tiếp tục gia hạn với đội bóng thành London. Theo tin đồn từ báo chí thì nguyên nhân lớn nhất chính là vấn đề tiền lương, Arsenal không chịu nâng lương hợp lý cho Ramsey trong khi Juventus sẵn sàng trả tới 400.000 bảng/tuần trong vòng 4 năm tới cho tiền vệ người xứ Wales. Tại Juventus, Ramsey sẽ tiếp tục được đeo chiếc áo số 8 yêu thích tại Arsenal trước kia và ĐTQG xứ Wales. Đây cũng là số áo được nhiều huyền thoại của Juve nắm giữ như <NAME>, <NAME> hay gần nhất là <NAME>. Ramsey tỏ ra hào hứng nhưng cũng rất sẵn sàng cho áp lực nặng nề phía trước sau khi tiếp nhận chiếc áo huyền thoại. \"Tôi muốn được mặc chiếc áo số 8, đó là số áo của tôi tại Arsenal và tại đây, nó đang được để trống nên tôi không thể bỏ lỡ cơ hội này. Tôi biết những cầu thủ từng đeo số này đều là huyền thoại của đội bóng. Tôi hiểu trách nhiệm và sẵn sàng cho mọi thử thách\". Theo tin đồn từ báo chí thì nguyên nhân lớn nhất chính là vấn đề tiền lương, Arsenal không chịu nâng lương hợp lý cho Ramsey trong khi Juventus sẵn sàng trả tới 400.000 bảng/tuần trong vòng 4 năm tới cho tiền vệ người xứ Wales. Tại Juventus, Ramsey sẽ tiếp tục được đeo chiếc áo số 8 yêu thích tại Arsenal trước kia và ĐTQG xứ Wales. Đây cũng là số áo được nhiều huyền thoại của Juve nắm giữ như <NAME>, <NAME> hay gần nhất là <NAME>. Ramsey tỏ ra hào hứng nhưng cũng rất sẵn sàng cho áp lực nặng nề phía trước sau khi tiếp nhận chiếc áo huyền thoại. \"Tôi muốn được mặc chiếc áo số 8, đó là số áo của tôi tại Arsenal và tại đây, nó đang được để trống nên tôi không thể bỏ lỡ cơ hội này. Tôi biết những cầu thủ từng đeo số này đều là huyền thoại của đội bóng. Tôi hiểu trách nhiệm và sẵn sàng cho mọi thử thách\".</p>', 'Y5O2-Untitled.png', 0, 0, '2019-07-16 01:26:19', '2019-08-16 00:34:00'), (2, 'Juventus ra mắt sao 0 đồtrêtrtrng: Lương 400.000 bảng/tuần, quyết giành cúp C1', 'juventus-ra-mat-sao-0-dotretrtrng-luong-400000-bangtuan-quyet-gianh-cup-c1', 'test tom tat', 'Chiều 16/7, thông tin từ Sở GTVT tỉnh Đắk Nông cho biết, xe Quốc Đạt mang BKS 43B - 030.78 đã gây tai nạn vào sáng cùng ngày trên địa bàn tỉnh Đắk Lắk đã được Sở GTVT thành phố Đà Nẵng cấp phù hiệu chạy tuyến cố định hoạt động tuyến Bến xe Đà Nẵng – Bến xe Quảng Khê (huyện Đắk G’long, tỉnh Đắk Nông).\r\n\r\nTheo đó, chiếc xe trên đăng kí chạy theo đường Hồ Chí Minh (Quốc lộ 14 cũ) – Quốc lộ 19 – Quốc lộ 1A.\r\n\r\nTuy nhiên, vào thời gian xảy ra tai nạn, chiếc xe khách trên không di chuyển theo lịch trình đăng kí mà chạy trên đường Hồ Chí Minh, khi đến địa bàn xã Ea Tu (TP Buôn Ma Thuột, tỉnh Đắk Lắk) thì rẽ trái đi qua Quốc lộ 26. Do đó, chiếc xe này đã đi sai lịch trình.\r\n\r\nVẫn chưa hết bàng hoàng khi nhớ lại thời khắc kinh hoàng, em Trương Văn Hoàng Sơn đang được điều trị tại Bệnh viện Đa khoa vùng Tây Nguyên cho hay, em đón xe tại <NAME>ãi để về <NAME>. Trên đường đi do mệt nên em ngủ thiếp đi. Sau đó, em cảm nhận chiếc xe chao đảo, rung lắc mạnh nên tỉnh giấc.\r\n\r\n“Tuy nhiên chỉ sau 3 giây, chiếc xe tông mạnh vào cây rồi lật nghiêng, kính xe vỡ bắn tung tóe khắp nơi. Mọi người trong xe lúc này nhớn nhác, hoảng loạn tìm chỗ thoát thân, tuy nhiên em bị mắc kẹt nên không thể ra được. Do bị thương ở tay nên em được đưa vào bệnh viện cấp cứu”, Sơn hãi hùng kể lại.', 'VRFA-65805781_2603898416289831_2664872687129591808_n.png', 0, 0, '2019-07-16 03:11:26', '2019-07-16 03:11:26'), (3, 'Juventus ra mắt sao 0 đồtrêtrtrng: Lương 400.000 bảng/tuần, quyết giành cúp C1', 'juventus-ra-mat-sao-0-dotretrtrng-luong-400000-bangtuan-quyet-gianh-cup-c1', 'test tom tat3423', '<p>Chiều 16/7, thông tin từ Sở GTVT tỉnh Đắk Nông cho biết, xe Quốc Đạt mang BKS 43B - 030.78 đã gây tai nạn vào sáng cùng ngày trên địa bàn tỉnh Đắk Lắk đã được Sở GTVT thành phố Đà Nẵng cấp phù hiệu chạy tuyến cố định hoạt động tuyến Bến xe Đà Nẵng – Bến xe Quảng Khê (huyện Đắk G’long, tỉnh Đắk Nông). Theo đó, chiếc xe trên đăng kí chạy theo đường Hồ Chí Minh (Quốc lộ 14 cũ) – Quốc lộ 19 – Quốc lộ 1A. Tuy nhiên, vào thời gian xảy ra tai nạn, chiếc xe khách trên không di chuyển theo lịch trình đăng kí mà chạy trên đường Hồ Chí Minh, khi đến địa bàn xã Ea Tu (TP Buôn Ma Thuột, tỉnh Đắk Lắk) thì rẽ trái đi qua Quốc lộ 26. Do đó, chiếc xe này đã đi sai lịch trình. Vẫn chưa hết bàng hoàng khi nhớ lại thời khắc kinh hoàng, em Trương Văn Hoàng Sơn đang được điều trị tại Bệnh viện Đa khoa vùng Tây Nguyên cho hay, em đón xe tại Quãng Ngãi để về Đắk Nông. Trên đường đi do mệt nên em ngủ thiếp đi. Sau đó, em cảm nhận chiếc xe chao đảo, rung lắc mạnh nên tỉnh giấc. “Tuy nhiên chỉ sau 3 giây, chiếc xe tông mạnh vào cây rồi lật nghiêng, kính xe vỡ bắn tung tóe khắp nơi. Mọi người trong xe lúc này nhớn nhác, hoảng loạn tìm chỗ thoát thân, tuy nhiên em bị mắc kẹt nên không thể ra được. Do bị thương ở tay nên em được đưa vào bệnh viện cấp cứu”, Sơn hãi hùng kể lại.</p>', 'p8DK-Untitled.png', 0, 0, '2019-07-16 03:50:38', '2019-08-05 20:19:27'), (5, 'fwefwefwef wefwe o 0 đồtrêtrtrng: Lương 400.000 bảng/tuần, quyết giành cúp C1', 'fwefwefwef-wefwe-o-0-dotretrtrng-luong-400000-bangtuan-quyet-gianh-cup-c1', 'test tom tat333333333333', '<p>Chiều 16/7, thông tin từ Sở GTVT tỉnh Đắk Nông cho biết, xe Quốc Đạt mang BKS 43B - 030.78 đã gây tai nạn vào sáng cùng ngày trên địa bàn tỉnh Đắk Lắk đã được Sở GTVT thành phố Đà Nẵng cấp phù hiệu chạy tuyến cố định hoạt động tuyến Bến xe Đà Nẵng – Bến xe Quảng Khê (huyện Đ<NAME>, tỉnh Đắk Nông). Theo đó, chiếc xe trên đăng kí chạy theo đường Hồ Chí Minh (Quốc lộ 14 cũ) – Quốc lộ 19 – Quốc lộ 1A. Tuy nhiên, vào thời gian xảy ra tai nạn, chiếc xe khách trên không di chuyển theo lịch trình đăng kí mà chạy trên đường Hồ Chí Minh, khi đến địa bàn xã Ea Tu (TP Buôn Ma Thuột, tỉnh Đắk Lắk) thì rẽ trái đi qua Quốc lộ 26. Do đó, chiếc xe này đã đi sai lịch trình. Vẫn chưa hết bàng hoàng khi nhớ lại thời khắc kinh hoàng, em Trương Văn Hoàng Sơn đang được điều trị tại Bệnh viện Đa khoa vùng Tây Nguyên cho hay, em đón xe tại Quãng Ngãi để về Đắk Nông. Trên đường đi do mệt nên em ngủ thiếp đi. Sau đó, em cảm nhận chiếc xe chao đảo, rung lắc mạnh nên tỉnh giấc. “Tuy nhiên chỉ sau 3 giây, chiếc xe tông mạnh vào cây rồi lật nghiêng, kính xe vỡ bắn tung tóe khắp nơi. Mọi người trong xe lúc này nhớn nhác, hoảng loạn tìm chỗ thoát thân, tuy nhiên em bị mắc kẹt nên không thể ra được. Do bị thương ở tay nên em được đưa vào bệnh viện cấp cứu”, Sơn hãi hùng kể lại.</p>', 'u85h-64706417_2577779982235008_7813566128797515776_n.png', 1, 0, '2019-07-16 03:56:10', '2019-07-16 03:57:03'), (6, 'đây là title', 'day-la-title', 'đây là tóm tắt', '<p>đây là nội dung rất dài nên mình copy&nbsp;đây là nội dung rất dài nên mình copyđây là nội dung rất dài nên mình copyđây là nội dung rất dài nên mình copyđây là nội dung rất dài nên mình copy&nbsp;đây là nội dung rất dài nên mình copy</p>', 'u1Tq-65805781_2603898416289831_2664872687129591808_n.png', 0, 0, '2019-08-05 19:35:08', '2019-08-16 00:35:41'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `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; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `provinces` -- CREATE TABLE `provinces` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `provinces` -- INSERT INTO `provinces` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'TP Hà Nội', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (2, 'TP Hồ Chí Minh', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (3, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (4, 'Bà Rịa - Vũng Tàu', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (5, 'B<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (6, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (7, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (8, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (9, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (10, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (11, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (12, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (13, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (14, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (15, 'TP Cần Thơ', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (16, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (17, 'TP Đà Nẵng', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (18, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (19, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (20, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (21, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (22, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (23, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (24, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (25, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (26, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (27, 'TP Hải Phòng', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (28, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (29, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (30, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (31, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (32, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (33, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (34, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (35, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (36, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (37, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (38, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (39, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (40, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (41, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (42, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (43, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (44, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (45, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (46, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (47, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (48, 'Quả<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (49, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (50, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (51, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (52, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (53, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (54, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (55, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (56, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (57, 'Trà Vinh', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (58, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (59, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (60, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (61, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (62, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'), (63, '<NAME>', '2019-08-16 19:58:43', '2019-08-16 19:58:43'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `schools` -- CREATE TABLE `schools` ( `id` int(10) UNSIGNED NOT NULL, `id_districts` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `scores` -- CREATE TABLE `scores` ( `id` int(10) UNSIGNED NOT NULL, `iduser` int(10) UNSIGNED NOT NULL, `scores` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `scores` -- INSERT INTO `scores` (`id`, `iduser`, `scores`, `created_at`, `updated_at`) VALUES (43, 1, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (44, 2, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (45, 3, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (46, 4, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (47, 5, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (48, 6, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (49, 7, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (50, 8, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (51, 9, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (52, 10, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (53, 11, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (54, 12, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (55, 13, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (56, 14, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (57, 15, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (58, 16, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (59, 17, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (60, 18, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (61, 19, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (62, 66, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (63, 67, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (64, 68, '4', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (65, 69, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (66, 70, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (67, 71, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (68, 76, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (69, 77, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (70, 78, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (71, 79, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (72, 80, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (73, 81, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (74, 100, 'sdsad', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (75, 101, NULL, '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (76, 102, '<NAME>', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (77, 103, '<NAME>', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (78, 110, '<NAME>', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (79, 111, 'dwddd', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (80, 112, 'sfsdf', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (81, 113, 'fd', '2019-08-07 04:05:03', '2019-08-07 04:05:03'), (82, 114, 'fff', '2019-08-07 04:05:03', '2019-08-07 04:05:03'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `lastname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `birthday` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `district` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `class` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `grade` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `school` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `parentname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `link` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `role` tinyint(4) NOT NULL DEFAULT 0, `email_verified_at` timestamp NULL DEFAULT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `sbd` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `users` -- INSERT INTO `users` (`id`, `name`, `lastname`, `email`, `password`, `birthday`, `address`, `district`, `city`, `class`, `grade`, `school`, `parentname`, `mobile`, `link`, `role`, `email_verified_at`, `remember_token`, `created_at`, `updated_at`, `sbd`) VALUES (1, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', '9nAjreuJFz', '2019-07-11 21:17:22', '2019-07-11 21:17:22', NULL), (2, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'DCntmtXwm9', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (3, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'VqckkzdVXB', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (4, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'mwgm2DDkNU', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (5, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'ubAS41kn8b', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (6, '<NAME> Sr.', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'x4hqBs8PWw', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (7, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'pRmfPioij1', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (8, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'NHoTjkyNuQ', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (9, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'vKvXZKJQgM', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (10, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'eiBSSSFzZi', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (11, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'ScVb3FvdAO', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (12, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'yRHPLO7qm9', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (13, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'tJDkdEwuxv', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (14, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', '7hks5DWFX7', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (15, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'tF3Q2ztK81', '2019-07-11 21:17:23', '2019-07-11 21:17:23', NULL), (16, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', '9u9MoR2a4U', '2019-07-11 21:17:24', '2019-07-11 21:17:24', NULL), (17, 'Mrs. <NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', '0ouTpoxCQY', '2019-07-11 21:17:24', '2019-07-11 21:17:24', NULL), (18, 'Prof. <NAME> DDS', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'fjx5rdk6He', '2019-07-11 21:17:24', '2019-07-11 21:17:24', NULL), (19, '<NAME>', '', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '', '', '', '', '', '', '', '', '', NULL, 0, '2019-07-11 21:17:22', 'clbjUBvcaB', '2019-07-11 21:17:24', '2019-07-11 21:17:24', NULL), (66, 'tiendat', '', '<EMAIL>', '$2y$10$eeJ4VzqNRvP75LvlZGKg2ea6ScMKlo5R85YhRKMwO2XQwWqBBZTTi', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-12 20:48:52', '2019-07-12 20:48:52', NULL), (67, 'tiendat', '', '<EMAIL>', '$2y$10$IWi6RExmNtKJ6ApHNorgLe7CSopGm/THlycfd2Vj3ohUImiZbZPPm', '', '', '', '', '', '', '', '', '', NULL, 1, NULL, NULL, '2019-07-15 02:56:13', '2019-07-15 02:56:13', NULL), (68, 'tiendat', '', '<EMAIL>', <PASSWORD>', '', '', '', '', '', '', '', 'DAT', '', 'https://www.youtube.com/watch?v=j8baN2yTJEw', 1, NULL, NULL, '2019-07-15 02:59:26', '2019-08-08 19:41:19', NULL), (69, 'datmember', '', '<EMAIL>', <PASSWORD>', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-15 04:09:27', '2019-07-15 20:11:01', NULL), (70, 'dat23344', '', '<EMAIL>', '$2y$10$Ijl4GHxIjUaX7wbKK6yyR.1.E8T2BCUECPVRxJpT3nvuH31M//Xx6', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-15 04:13:29', '2019-07-15 20:02:09', NULL), (71, 'dat123', '', '<EMAIL>', '$2y$10$XTd7Pd0IujmP9QGUgbe8juOL2fw741OXvenVMXQeeQB8jFmYTTXq2', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-18 03:03:56', '2019-07-18 03:03:56', NULL), (76, 'tên', '', '1', '$2y$10$elZeBlIu39JY2p1pU9SPEOGRCNjn1xuns.6f9JlVxgnWbZn60vbAy', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-22 21:31:56', '2019-07-22 21:31:56', NULL), (77, 'tên2', '', '2', '$2y$10$U2rYJh8N.2qu9ErPzw557e.OznRtOhYznNczypFjOKNe2ZXJyE0L2', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-22 21:31:57', '2019-07-22 21:31:57', NULL), (78, 'tên3', '', '3', '$2y$10$ox5qYZq93GAkCSLJV0S8eeetx6jBuBfJS.f5xyk924pBsddIx1wnq', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-22 21:31:57', '2019-07-22 21:31:57', NULL), (79, 'tên', '', 'email', '$2y$10$rmf6FAhD11n/dZ/gP7M7wOxn3ybLARMCDnNoMcfNcJEbx3jwEP6hO', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-22 21:33:01', '2019-07-22 21:33:01', NULL), (80, 'tên2', '', 'email2', '$2y$10$OKp1DFD5vseQemO60/n4OuNWqmyBjajaC4VnOKnRfswf4ywwIEHNO', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-22 21:33:02', '2019-08-09 03:51:13', '44'), (81, 'tên3', '', 'email3', '$2y$10$j2eqnfoJnuKjn1peUJlbyOB7Wxv5ibkSwX.IxHShkHRnNCU7H2NJG', '', '', '', '', '', '', '', '', '', NULL, 0, NULL, NULL, '2019-07-22 21:33:02', '2019-08-09 03:51:13', '34'), (100, 'tiendat', 'sdsad', '<EMAIL>', '$2y$10$varwfQyhd3X1bsiegm6wkeXymgywiK0cBei09n0R0huk2wQQlx7GO', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', 0, NULL, NULL, '2019-08-01 04:07:01', '2019-08-09 03:51:13', '5345'), (101, NULL, NULL, 'wqeqw@3e', '$2y$10$27khhKMBvQcRAOO9FupHGek0ioAam2.ErByz.DaRfH0sOFYNBLMq.', '70-01-01', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', 0, NULL, NULL, '2019-08-02 20:38:59', '2019-08-09 03:52:29', '345'), (102, 'Đạt', '<NAME>', '<EMAIL>', <PASSWORD>', '95-09-21', '128', 'dd', 'hn', '1', '2', '3', NULL, '1111111111', 'NULL', 0, NULL, NULL, '2019-08-02 20:49:04', '2019-08-09 03:52:30', '34534'), (103, 'Đạtfff', '<NAME>', '<EMAIL>', <PASSWORD>', '01-01-1970', '43294fdsf', 'sf32fdsj', 'fwef3f', '1', '2', '3', NULL, '1111111111', 'https://www.youtube.com/watch?v=FM7MFYoylVs&list=RDQqccaHauSKQ&index=21', 1, NULL, NULL, '2019-08-02 20:54:23', '2019-08-09 03:52:30', '543'), (110, 'dwdw', 'Nguyễn Tiếndwd', '<EMAIL>', NULL, '95-09-21', '128', 'dd', 'hn', '1', '2', '3', NULL, '1111111111', 'NULL', 0, NULL, NULL, '2019-08-05 01:20:29', '2019-08-09 03:52:30', '534'), (111, 'dwd', 'dwddd', '<EMAIL>', NULL, '10959', '43294fdsf', 'sf32fdsj', 'fwef3f', '1', '2', '3', NULL, '1111111111', 'https://www.youtube.com/watch?v=FM7MFYoylVs&list=RDQqccaHauSKQ&index=21', 0, NULL, NULL, '2019-08-05 01:20:29', '2019-08-09 03:52:30', '534'), (112, 'dsf', 'sfsdf', '<EMAIL>', '$2y$10$CFpepnjfZ1xynJ3tuv.wPOuT4pzldc1DW5GX5LCXStrYsH9JAsMTC', '01-01-1970', '4324r', '342ferg', 'egergregr', '1', '2', '3', NULL, '1111111111', 'NULL', 0, NULL, NULL, '2019-08-06 02:03:35', '2019-08-09 03:52:30', '5435'), (113, 'dat', 'fd', '<EMAIL>', '$2y$10$pQrGNON6VTAuieTYD40s.eyMQXZD9CV0ijUvA4YATnbm3JeVlyc52', '1970-01-01', '111111', '111111', '111111', '1', '2', '3', NULL, '1111111111', 'NULL', 0, NULL, NULL, '2019-08-06 02:07:29', '2019-08-09 03:52:30', '345'), (114, 'fff', 'fff', '<EMAIL>', '$2y$10$1eN6JWJE6y9GapXRghCBL.UT0ESPuwj22xxxDwA.m9XLEmncCBpbG', '21/09/1995', '111111', '111111', '111', '1', '2', '3', NULL, '1111111111', 'NULL', 0, NULL, NULL, '2019-08-06 02:08:27', '2019-08-09 03:52:30', '435'), (116, '1', '1', '1@324234', '$2y$10$W1rbpNpieyrwX4OZ7Llyo.cc9R1pt7mXl8ui4S0eQKcPCZtG4PS8m', '1/1/1', '1', '1', '1', '1', '1', '1', NULL, '1111111111', 'NULL', 0, NULL, NULL, '2019-08-06 21:43:11', '2019-08-09 03:52:30', '345'), (117, 'tên233', '2', '2@222', '$2y$10$x/vNe85eblZUKTcV2Z450OPrhxuHqCFAPUTFynda2xVp0J.6q5e4q', '2/2/2', '2', '2', '2', '2', '2', '2', '2', '2222222222', 'abc', 0, NULL, NULL, '2019-08-07 02:51:04', '2019-08-19 00:58:38', '34534'), (118, '31', '3', NULL, '$2y$10$hJd.A7GDoyiNSu5Ajnn37e1LZpS.80OhsFKw2NeLqvDanQ.6eg9cC', '3/3/3', '3', '3', '3', '3', '3', '3', '3', '3333333333', 'https://www.youtube.com/watch?v=j8baN2yTJEw', 0, NULL, NULL, '2019-08-07 04:06:22', '2019-08-19 00:40:49', '534'), (119, '13', 't', NULL, '$2y$10$B/Tz.Xe8aBh.iIEV3/zxKu6v56T15XyaCl9mWP36hAiMq5lZsUKrG', '1', '1', '1', '1', '1', '1', '1', '1', '1', NULL, 0, NULL, NULL, '2019-08-18 21:13:32', '2019-08-19 00:38:46', NULL), (120, 'dattt', 'tien', '<EMAIL>', '$2y$10$L.TQMwhBTPeqMoaaIFCYsOxAe9ORJPLxdMk3UH1qCG.TaW2UUL/M.', '12/12/2012', '36 Doctors Drive', 'LA', 'LA', '1', '2', '3', 'dat34243', '1111111111', NULL, 0, NULL, NULL, '2019-09-02 20:32:16', '2019-09-02 20:32:16', NULL); -- -- Chỉ mục cho các bảng đã đổ -- -- -- Chỉ mục cho bảng `districts` -- ALTER TABLE `districts` ADD PRIMARY KEY (`id`), ADD KEY `districts_id_provinces_foreign` (`id_provinces`); -- -- Chỉ mục cho bảng `members` -- ALTER TABLE `members` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `news` -- ALTER TABLE `news` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Chỉ mục cho bảng `provinces` -- ALTER TABLE `provinces` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `schools` -- ALTER TABLE `schools` ADD PRIMARY KEY (`id`), ADD KEY `schools_id_districts_foreign` (`id_districts`); -- -- Chỉ mục cho bảng `scores` -- ALTER TABLE `scores` ADD PRIMARY KEY (`id`), ADD KEY `scores_iduser_foreign` (`iduser`); -- -- Chỉ mục cho bảng `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT cho các bảng đã đổ -- -- -- AUTO_INCREMENT cho bảng `districts` -- ALTER TABLE `districts` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31; -- -- AUTO_INCREMENT cho bảng `members` -- ALTER TABLE `members` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3348; -- -- AUTO_INCREMENT cho bảng `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT cho bảng `news` -- ALTER TABLE `news` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT cho bảng `provinces` -- ALTER TABLE `provinces` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64; -- -- AUTO_INCREMENT cho bảng `schools` -- ALTER TABLE `schools` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT cho bảng `scores` -- ALTER TABLE `scores` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=83; -- -- AUTO_INCREMENT cho bảng `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=121; -- -- Các ràng buộc cho các bảng đã đổ -- -- -- Các ràng buộc cho bảng `districts` -- ALTER TABLE `districts` ADD CONSTRAINT `districts_id_provinces_foreign` FOREIGN KEY (`id_provinces`) REFERENCES `provinces` (`id`); -- -- Các ràng buộc cho bảng `schools` -- ALTER TABLE `schools` ADD CONSTRAINT `schools_id_districts_foreign` FOREIGN KEY (`id_districts`) REFERENCES `districts` (`id`); -- -- Các ràng buộc cho bảng `scores` -- ALTER TABLE `scores` ADD CONSTRAINT `scores_iduser_foreign` FOREIGN KEY (`iduser`) REFERENCES `users` (`id`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- https://leetcode.com/problems/department-highest-salary select department.name as department, employee.name as employee, employee.salary from employee join department on employee.departmentid = department.id where (departmentid, salary) in (select departmentid, max(salary) from employee group by departmentid)
-- MySQL dump 10.13 Distrib 8.0.19, for Win64 (x86_64) -- -- Host: 172.16.31.10 Database: S2C -- ------------------------------------------------------ -- Server version 8.0.19 /*!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 */; /*!50503 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 `inventory` -- DROP TABLE IF EXISTS `inventory`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `inventory` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `batch_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `operator` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `verifier` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `date` date DEFAULT NULL, `warehouse_id` int unsigned DEFAULT NULL, `supplier_id` int unsigned DEFAULT NULL, `shop_owner_id` int unsigned DEFAULT NULL, `operator_status` int DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `verifier_status` int DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=105 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `inventory` -- LOCK TABLES `inventory` WRITE; /*!40000 ALTER TABLE `inventory` DISABLE KEYS */; INSERT INTO `inventory` VALUES (1,'20200630-153339','operator test','verifier test','2020-07-03',1,3,1,3,'2020-07-01 13:08:36','2020-07-01 13:08:36',5),(3,'20200701-153339','operator test','verifier test','2020-06-22',1,4,1,3,'2020-07-01 13:47:18','2020-07-07 14:47:14',5),(80,'20200803-105757','TEST','TEST',NULL,1,2,NULL,1,'2020-08-03 10:58:15','2020-08-03 10:58:15',2),(81,'20200803-110038','test','test',NULL,1,2,NULL,1,'2020-08-03 11:01:17','2020-08-03 11:01:17',1),(84,'20200630-153337','operator 5','verifier 5',NULL,2,34,NULL,2,'2020-08-03 12:57:37','2020-08-03 12:57:37',4),(86,'20200803-140445','Test 6','Test 6',NULL,2,34,NULL,3,'2020-08-03 14:07:00','2020-08-03 14:07:00',2),(87,'20200803-140445','Test 6','Test 6',NULL,2,34,NULL,3,'2020-08-03 14:07:29','2020-08-03 14:07:29',2),(88,'20200803-140445','Test 6','Test 6',NULL,2,30,NULL,3,'2020-08-03 14:07:46','2020-08-03 14:07:46',2),(89,'20200803-141542','mathieu','mathieu',NULL,2,2,NULL,1,'2020-08-03 14:16:41','2020-08-03 14:16:41',1),(90,'20200803-142959','Operator','Verifier',NULL,2,30,NULL,2,'2020-08-03 14:30:31','2020-08-03 14:30:31',2),(91,'20200803-143335','test07','test07',NULL,1,2,NULL,2,'2020-08-03 14:34:35','2020-08-03 14:34:35',2),(92,'20200803-143444','test08','test08',NULL,1,2,NULL,1,'2020-08-03 14:35:40','2020-08-03 14:35:40',1),(93,'20200803-143806','Test09','test09',NULL,2,2,NULL,3,'2020-08-03 14:39:08','2020-08-04 15:37:38',5),(103,'','','',NULL,NULL,NULL,NULL,NULL,'2020-08-28 00:17:51','2020-08-28 00:17:51',NULL),(104,'20200828-002111','eewq','qwe',NULL,NULL,34,NULL,2,'2020-08-28 00:21:35','2020-08-28 00:21:35',1); /*!40000 ALTER TABLE `inventory` 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 2020-08-31 10:56:31
<reponame>SimeonGerginov/Database-Management-Systems USE Flights GO CREATE TABLE Airlines ( code char(2) PRIMARY KEY, name varchar(20) NOT NULL ); GO CREATE UNIQUE INDEX Index_Airlines_Name ON Airlines(name); GO
SELECT * FROM Accounts WHERE account_number LIKE CONCAT('%', :search, '%');
INSERT INTO Towns (Id,Name) VALUES (1,'Sofia'), (2,'Plovdiv'), (3,'Varna') INSERT INTO Minions(ID,Name,Age,TownId) VALUES (1,'Kevin',22,1), (2,'Bob',15,3), (3,'Steward',NULL,2)
IF EXISTS (SELECT * FROM sys.objects WHERE type = 'P' AND SCHEMA_NAME([schema_id]) = 'EPONS' AND QUOTENAME(name) = '[UpdateFacilityAvatar]') DROP PROCEDURE [EPONS].[UpdateFacilityAvatar] GO CREATE PROCEDURE [EPONS].[UpdateFacilityAvatar] @facilityId UNIQUEIDENTIFIER, @bytes IMAGE AS UPDATE [Facility].[Details] SET [Avatar] = @bytes WHERE [FacilityId] = @facilityId
<filename>5.2.3/Database/Indexes/AFW_25_PUBLC_PK.sql SET DEFINE OFF; CREATE UNIQUE INDEX AFW_25_PUBLC_PK ON AFW_25_PUBLC (SEQNC) LOGGING /
create or replace table `agency_data_pipeline`.`fb_ads_stats` as ( with cost as ( select date, account, ad_id, campaign, cost, impressions, clicks, null as conversions from `adp-apprenticeship`.`agency_data_pipeline`.`fb_ads_insights` ), conversions as ( select date, account, ad_id, campaign, null as cost, null as impressions, null as clicks, conversions from `adp-apprenticeship`.`agency_data_pipeline`.`fb_ads_insights_conversions` ), urls as ( select ad_id, url from `adp-apprenticeship`.`agency_data_pipeline`.`fb_ads` ) SELECT cast(date as date) date, 'FB Ads' platform, 'Paid' channel, account, b.url url, campaign, sum(cost) cost, sum(impressions) impressions, sum(clicks) clicks, sum(conversions) conversions FROM ( SELECT * FROM cost UNION ALL SELECT * FROM conversions ) a LEFT JOIN urls b ON ( a.ad_id = b.ad_id ) group by date, platform, channel, account, url, campaign );
<filename>src/References/WideWorldImportersDW/Integration/Tables/StockItem_Staging.sql<gh_stars>1-10 CREATE TABLE [Integration].[StockItem_Staging] ( [Stock Item Staging Key] INT IDENTITY (1, 1) NOT NULL, [WWI Stock Item ID] INT NOT NULL, [Stock Item] NVARCHAR (100) NOT NULL, [Color] NVARCHAR (20) NOT NULL, [Selling Package] NVARCHAR (50) NOT NULL, [Buying Package] NVARCHAR (50) NOT NULL, [Brand] NVARCHAR (50) NOT NULL, [Size] NVARCHAR (20) NOT NULL, [Lead Time Days] INT NOT NULL, [Quantity Per Outer] INT NOT NULL, [Is Chiller Stock] BIT NOT NULL, [Barcode] NVARCHAR (50) NULL, [Tax Rate] DECIMAL (18, 3) NOT NULL, [Unit Price] DECIMAL (18, 2) NOT NULL, [Recommended Retail Price] DECIMAL (18, 2) NULL, [Typical Weight Per Unit] DECIMAL (18, 3) NOT NULL, [Photo] VARBINARY (MAX) NULL, [Valid From] DATETIME2 (7) NOT NULL, [Valid To] DATETIME2 (7) NOT NULL, CONSTRAINT [PK_Integration_StockItem_Staging] PRIMARY KEY CLUSTERED ([Stock Item Staging Key] ASC) ON [USERDATA] ) ON [USERDATA] TEXTIMAGE_ON [USERDATA]; GO CREATE NONCLUSTERED INDEX [IX_Integration_StockItem_Staging_WWI_Stock_Item_ID] ON [Integration].[StockItem_Staging]([WWI Stock Item ID] ASC) ON [USERDATA]; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Allows quickly locating by WWI Stock Item ID', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'INDEX', @level2name = N'IX_Integration_StockItem_Staging_WWI_Stock_Item_ID'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = N'Stock item staging table', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Row ID within the staging table', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Stock Item Staging Key'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Numeric ID used for reference to a stock item within the WWI database', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'WWI Stock Item ID'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Full name of a stock item (but not a full description)', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Stock Item'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Color (optional) for this stock item', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Color'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Usual package for selling units of this stock item', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Selling Package'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Usual package for selling outers of this stock item (ie cartons, boxes, etc.)', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Buying Package'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Brand for the stock item (if the item is branded)', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Brand'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Size of this item (eg: 100mm)', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Size'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Number of days typically taken from order to receipt of this stock item', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Lead Time Days'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Quantity of the stock item in an outer package', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Quantity Per Outer'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Does this stock item need to be in a chiller?', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Is Chiller Stock'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Barcode for this stock item', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Barcode'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Tax rate to be applied', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Tax Rate'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Selling price (ex-tax) for one unit of this product', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Unit Price'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Recommended retail price for this stock item', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Recommended Retail Price'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Typical weight for one unit of this product (packaged)', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Typical Weight Per Unit'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Photo of the product', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Photo'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Valid from this date and time', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Valid From'; GO EXECUTE sp_addextendedproperty @name = N'Description', @value = 'Valid until this date and time', @level0type = N'SCHEMA', @level0name = N'Integration', @level1type = N'TABLE', @level1name = N'StockItem_Staging', @level2type = N'COLUMN', @level2name = N'Valid To';
<gh_stars>1000+ create or replace view `dataline-integration-testing`._airbyte_test_normalization.`unnest_alias_ab3` OPTIONS() as -- SQL model to build a hash column based on the values of this record select to_hex(md5(cast(concat(coalesce(cast(id as string ), ''), '-', coalesce(cast(array_to_string(children, "|", "") as string ), '')) as string ))) as _airbyte_unnest_alias_hashid, tmp.* from `dataline-integration-testing`._airbyte_test_normalization.`unnest_alias_ab2` tmp -- unnest_alias;
-- -- packages/acs-mail/sql/acs-mail-queue-create.sql -- -- @author <NAME> <<EMAIL>> -- @creation-date 2001-01-08 -- @cvs-id $Id: acs-mail-queue-create.sql,v 1.1.1.1 2005/04/18 19:26:06 cvs Exp $ -- begin acs_object_type.create_type ( supertype => 'acs_mail_link', object_type => 'acs_mail_queue_message', pretty_name => 'Queued Message', pretty_plural => 'Queued Messages', table_name => 'ACS_MESSAGES_QUEUE_MESSAGES', id_column => 'MESSAGE_ID', name_method => 'ACS_OBJECT.DEFAULT_NAME' ); end; / show errors create table acs_mail_queue_messages ( message_id integer constraint acs_mail_queue_ml_id_pk primary key constraint acs_mail_queue_ml_id_fk references acs_mail_links on delete cascade ); create table acs_mail_queue_incoming ( message_id integer constraint acs_mail_queue_in_mlid_pk primary key constraint acs_mail_queue_in_mlid_fk references acs_mail_queue_messages on delete cascade, envelope_from varchar2(4000), envelope_to varchar2(4000) ); create table acs_mail_queue_outgoing ( message_id integer constraint acs_mail_queue_out_mlid_fk references acs_mail_queue_messages on delete cascade, envelope_from varchar2(4000), envelope_to varchar2(1500), constraint acs_mail_queue_out_pk primary key (message_id, envelope_to) ); -- API ----------------------------------------------------------------- create or replace package acs_mail_queue_message as function new ( mail_link_id in acs_mail_links.mail_link_id%TYPE default null, body_id in acs_mail_bodies.body_id%TYPE, context_id in acs_objects.context_id%TYPE default null, creation_date in acs_objects.creation_date%TYPE default sysdate, creation_user in acs_objects.creation_user%TYPE default null, creation_ip in acs_objects.creation_ip%TYPE default null, object_type in acs_objects.object_type%TYPE default 'acs_mail_link' ) return acs_objects.object_id%TYPE; procedure del ( message_id in acs_mail_links.mail_link_id%TYPE ); end acs_mail_queue_message; / show errors create or replace package body acs_mail_queue_message as function new ( mail_link_id in acs_mail_links.mail_link_id%TYPE default null, body_id in acs_mail_bodies.body_id%TYPE, context_id in acs_objects.context_id%TYPE default null, creation_date in acs_objects.creation_date%TYPE default sysdate, creation_user in acs_objects.creation_user%TYPE default null, creation_ip in acs_objects.creation_ip%TYPE default null, object_type in acs_objects.object_type%TYPE default 'acs_mail_link' ) return acs_objects.object_id%TYPE is v_object_id acs_objects.object_id%TYPE; begin v_object_id := acs_mail_link.new ( mail_link_id => mail_link_id, body_id => body_id, context_id => context_id, creation_date => creation_date, creation_user => creation_user, creation_ip => creation_ip, object_type => object_type ); insert into acs_mail_queue_messages ( message_id ) values ( v_object_id ); return v_object_id; end; procedure del ( message_id in acs_mail_links.mail_link_id%TYPE ) is begin delete from acs_mail_queue_messages where message_id = acs_mail_queue_message.del.message_id; acs_mail_link.del(message_id); end; end acs_mail_queue_message; / show errors -- Needs: -- Incoming: -- A way to say "okay, I've accepted this one, go ahead and delete" -- Outgoing: -- A way to say "send this message to this person from this person" -- A way to say "send this message to these people from this person"
<filename>conf/evolutions/default/9.sql # --- # --- !Ups alter table user_metadata add constraint user_metadata_pk primary key(user_metadata_id); create unique index user_metadata_store_user_id on user_metadata(store_user_id); # --- !Downs alter table user_metadata drop constraint user_metadata_pk; drop index user_metadata_store_user_id;
{{ config(materialized='source') }} {% set source_name %} {{ mz_generate_name('inventory_customers') }} {% endset %} CREATE SOURCE {{ source_name }} FROM KAFKA BROKER 'redpanda:9092' TOPIC 'dbserver1.inventory.customers' FORMAT AVRO USING CONFLUENT SCHEMA REGISTRY 'http://redpanda:8081' ENVELOPE DEBEZIUM;
<gh_stars>1-10 -- ----------------------------------------------------------------------------- -- Pifuxel Migrate v2-v3 -- -- mysql -h $HOST -u $USER --password $DB < migrate-002-003.sql ALTER TABLE Accounts ADD password_hash BLOB; ALTER TABLE Accounts MODIFY key_exponent BLOB; ALTER TABLE Accounts MODIFY key_modulus BLOB; CREATE TABLE SchemaVersion (version INT); INSERT INTO SchemaVersion VALUES (3);
CREATE OR REPLACE FORCE EDITIONABLE VIEW "RDS_FTA"."FTA_RANGE_USAGE" ("FOREST_FILE_ID", "CALENDAR_YEAR", "AUTHORIZED_USE", "NON_USE_NONBILLABLE", "NON_USE_BILLABLE", "TEMP_INCREASE", "TOTAL_ANNUAL_USE") AS SELECT PFU.FOREST_FILE_ID , RPV.CALENDAR_YEAR , RPV.AUTHORIZED_USE , RPV.NON_USE_NONBILLABLE , RPV.NON_USE_BILLABLE , RPV.TEMP_INCREASE , RPV.TOTAL_ANNUAL_USE FROM MV_PROV_FOREST_USE PFU LEFT JOIN MV_RANGE_TENURE RTN ON RTN.FOREST_FILE_ID = PFU.FOREST_FILE_ID LEFT JOIN MV_RANGE_PROVISION RPV ON RPV.FOREST_FILE_ID = RTN.FOREST_FILE_ID WHERE PFU.FILE_STATUS_ST = 'A' ;
-- Tags: no-tsan, no-asan, no-ubsan, no-msan, no-debug, no-cpu-aarch64 -- This file contains tests for the event_time_microseconds field for various tables. -- Note: Only event_time_microseconds for asynchronous_metric_log table is tested via -- an integration test as those metrics take 60s by default to be updated. -- Refer: tests/integration/test_asynchronous_metric_log_table. SET log_queries = 1; SET log_query_threads = 1; SET query_profiler_real_time_period_ns = 100000000; -- a long enough query to trigger the query profiler and to record trace log SELECT sleep(2) FORMAT Null; SET query_profiler_real_time_period_ns = 1000000000; SYSTEM FLUSH LOGS; SELECT '01473_metric_log_table_event_start_time_microseconds_test'; -- query assumes that the event_time field is accurate. WITH ( SELECT event_time_microseconds, event_time FROM system.metric_log ORDER BY event_time DESC LIMIT 1 ) AS time SELECT if(dateDiff('second', toDateTime(time.1), toDateTime(time.2)) = 0, 'ok', toString(time)); SELECT '01473_trace_log_table_event_start_time_microseconds_test'; WITH ( SELECT event_time_microseconds, event_time FROM system.trace_log ORDER BY event_time DESC LIMIT 1 ) AS time SELECT if(dateDiff('second', toDateTime(time.1), toDateTime(time.2)) = 0, 'ok', toString(time)); SELECT '01473_query_log_table_event_start_time_microseconds_test'; WITH ( SELECT event_time_microseconds, event_time FROM system.query_log WHERE current_database = currentDatabase() ORDER BY event_time DESC LIMIT 1 ) AS time SELECT if(dateDiff('second', toDateTime(time.1), toDateTime(time.2)) = 0, 'ok', toString(time)); SELECT '01473_query_thread_log_table_event_start_time_microseconds_test'; WITH ( SELECT event_time_microseconds, event_time FROM system.query_thread_log WHERE current_database = currentDatabase() ORDER BY event_time DESC LIMIT 1 ) AS time SELECT if(dateDiff('second', toDateTime(time.1), toDateTime(time.2)) = 0, 'ok', toString(time)); SELECT '01473_text_log_table_event_start_time_microseconds_test'; WITH ( SELECT event_time_microseconds, event_time FROM system.query_thread_log WHERE current_database = currentDatabase() ORDER BY event_time DESC LIMIT 1 ) AS time SELECT if(dateDiff('second', toDateTime(time.1), toDateTime(time.2)) = 0, 'ok', toString(time));
library CqlIntervalOperatorsTest version '1.4.0' using QUICK version '3.3.0' context Patient define "After": Tuple{ "TestAfterNull": Tuple{ skipped: 'Converts null to Interval[null,null] instead of Interval(null,null)' /* expression: (null as Integer) after Interval[1, 10], output: null */ }, "IntegerIntervalAfterTrue": Tuple{ expression: Interval[11, 20] after Interval[1, 10], output: true }, "IntegerIntervalAfterFalse": Tuple{ expression: Interval[1, 10] after Interval[11, 20], output: false }, "IntegerIntervalPointAfterTrue": Tuple{ expression: 12 after Interval[1, 10], output: true }, "IntegerIntervalPointAfterFalse": Tuple{ expression: 9 after Interval[1, 10], output: false }, "IntegerIntervalAfterPointTrue": Tuple{ expression: Interval[11, 20] after 5, output: true }, "IntegerIntervalAfterPointFalse": Tuple{ expression: Interval[11, 20] after 12, output: false }, "DecimalIntervalAfterTrue": Tuple{ expression: Interval[11.0, 20.0] after Interval[1.0, 10.0], output: true }, "DecimalIntervalAfterFalse": Tuple{ expression: Interval[1.0, 10.0] after Interval[11.0, 20.0], output: false }, "DecimalIntervalPointAfterTrue": Tuple{ expression: 12.0 after Interval[1.0, 10.0], output: true }, "DecimalIntervalPointAfterFalse": Tuple{ expression: 9.0 after Interval[1.0, 10.0], output: false }, "DecimalIntervalAfterPointTrue": Tuple{ expression: Interval[11.0, 20.0] after 5.0, output: true }, "DecimalIntervalAfterPointFalse": Tuple{ expression: Interval[11.0, 20.0] after 12.0, output: false }, "QuantityIntervalAfterTrue": Tuple{ expression: Interval[11.0 'g', 20.0 'g'] after Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalAfterFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] after Interval[11.0 'g', 20.0 'g'], output: false }, "QuantityIntervalPointAfterTrue": Tuple{ expression: 12.0'g' after Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalPointAfterFalse": Tuple{ expression: 9.0'g' after Interval[1.0 'g', 10.0 'g'], output: false }, "QuantityIntervalAfterPointTrue": Tuple{ expression: Interval[11.0 'g', 20.0 'g'] after 5.0'g', output: true }, "QuantityIntervalAfterPointFalse": Tuple{ expression: Interval[11.0 'g', 20.0 'g'] after 12.0'g', output: false }, "DateTimeAfterTrue": Tuple{ expression: Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] after DateTime(2011, 12, 31), output: true }, "DateTimeAfterFalse": Tuple{ expression: Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] after DateTime(2012, 12, 31), output: false }, "TimeAfterTrue": Tuple{ expression: Interval[@T15:59:59.999, @T20:59:59.999] after @T12:59:59.999, output: true }, "TimeAfterFalse": Tuple{ expression: Interval[@T15:59:59.999, @T20:59:59.999] after @T17:59:59.999, output: false } } define "Before": Tuple{ "TestBeforeNull": Tuple{ skipped: 'Converts null to Interval[null,null] instead of Interval(null,null)' /* expression: (null as Integer) before Interval[1, 10], output: null */ }, "IntegerIntervalBeforeFalse": Tuple{ expression: Interval[11, 20] before Interval[1, 10], output: false }, "IntegerIntervalBeforeTrue": Tuple{ expression: Interval[1, 10] before Interval[11, 20], output: true }, "IntegerIntervalPointBeforeTrue": Tuple{ expression: 9 before Interval[11, 20], output: true }, "IntegerIntervalPointBeforeFalse": Tuple{ expression: 9 before Interval[1, 10], output: false }, "IntegerIntervalBeforePointTrue": Tuple{ expression: Interval[1, 10] before 11, output: true }, "IntegerIntervalBeforePointFalse": Tuple{ expression: Interval[1, 10] before 8, output: false }, "DecimalIntervalBeforeFalse": Tuple{ expression: Interval[11.0, 20.0] before Interval[1.0, 10.0], output: false }, "DecimalIntervalBeforeTrue": Tuple{ expression: Interval[1.0, 10.0] before Interval[11.0, 20.0], output: true }, "DecimalIntervalPointBeforeTrue": Tuple{ expression: 9.0 before Interval[11.0, 20.0], output: true }, "DecimalIntervalPointBeforeFalse": Tuple{ expression: 9.0 before Interval[1.0, 10.0], output: false }, "DecimalIntervalBeforePointTrue": Tuple{ expression: Interval[1.0, 10.0] before 11.0, output: true }, "DecimalIntervalBeforePointFalse": Tuple{ expression: Interval[1.0, 10.0] before 8.0, output: false }, "QuantityIntervalBeforeTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] before Interval[11.0 'g', 20.0 'g'], output: true }, "QuantityIntervalBeforeFalse": Tuple{ expression: Interval[11.0 'g', 20.0 'g'] before Interval[1.0 'g', 10.0 'g'], output: false }, "QuantityIntervalPointBeforeTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] before 12.0'g', output: true }, "QuantityIntervalPointBeforeFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] before 9.0'g', output: false }, "QuantityIntervalBeforePointTrue": Tuple{ expression: 5.0'g' before Interval[11.0 'g', 20.0 'g'], output: true }, "QuantityIntervalBeforePointFalse": Tuple{ expression: 12.0'g' before Interval[11.0 'g', 20.0 'g'], output: false }, "DateTimeBeforeTrue": Tuple{ expression: Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] before DateTime(2012, 2, 27), output: true }, "DateTimeBeforeFalse": Tuple{ expression: Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] before DateTime(2011, 12, 31), output: false }, "TimeBeforeTrue": Tuple{ expression: Interval[@T15:59:59.999, @T20:59:59.999] before @T22:59:59.999, output: true }, "TimeBeforeFalse": Tuple{ expression: Interval[@T15:59:59.999, @T20:59:59.999] before @T10:59:59.999, output: false } } define "Collapse": Tuple{ "TestCollapseNull": Tuple{ skipped: 'Wrong answer (Interval(null, null) vs null)' /* expression: collapse {Interval(null, null)}, output: null */ }, "IntegerIntervalCollapse": Tuple{ expression: collapse { Interval[1,5], Interval[3,7], Interval[12,19], Interval[7,10] }, output: {Interval [ 1, 10 ], Interval [ 12, 19 ]} }, "IntegerIntervalCollapse2": Tuple{ expression: collapse { Interval[1,2], Interval[3,7], Interval[10,19], Interval[7,10] }, output: {Interval [ 1, 19 ]} }, "IntegerIntervalCollapse3": Tuple{ expression: collapse { Interval[4,6], Interval[7,8] }, output: {Interval [ 4, 8 ]} }, "DecimalIntervalCollapse": Tuple{ expression: collapse { Interval[1.0,5.0], Interval[3.0,7.0], Interval[12.0,19.0], Interval[7.0,10.0] }, output: {Interval [ 1.0, 10.0 ], Interval [ 12.0, 19.0 ]} }, "DecimalIntervalCollapse2": Tuple{ expression: collapse { Interval[4.0,6.0], Interval[6.00000001,8.0] }, output: {Interval [ 4.0, 8.0 ]} }, "QuantityIntervalCollapse": Tuple{ expression: collapse { Interval[1.0 'g',5.0 'g'], Interval[3.0 'g',7.0 'g'], Interval[12.0 'g',19.0 'g'], Interval[7.0 'g',10.0 'g'] }, output: {Interval [ 1.0 'g', 10.0 'g' ], Interval [ 12.0 'g', 19.0 'g' ]} }, "DateTimeCollapse": Tuple{ expression: collapse { Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)], Interval[DateTime(2012, 1, 10), DateTime(2012, 1, 25)], Interval[DateTime(2012, 5, 10), DateTime(2012, 5, 25)], Interval[DateTime(2012, 5, 20), DateTime(2012, 5, 30)] }, output: {Interval [ @2012-01-01T, @2012-01-25T ], Interval [ @2012-05-10T, @2012-05-30T ]} }, "DateTimeCollapse2": Tuple{ expression: collapse { Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)], Interval[DateTime(2012, 1, 16), DateTime(2012, 5, 25)] }, output: {Interval [ @2012-01-01T, @2012-05-25T ]} }, "TimeCollapse": Tuple{ expression: collapse { Interval[@T01:59:59.999, @T10:59:59.999], Interval[@T08:59:59.999, @T15:59:59.999], Interval[@T17:59:59.999, @T20:59:59.999], Interval[@T18:59:59.999, @T22:59:59.999] }, output: {Interval [ @T01:59:59.999, @T15:59:59.999 ], Interval [ @T17:59:59.999, @T22:59:59.999 ]} }, "TimeCollapse2": Tuple{ expression: collapse { Interval[@T01:59:59.999, @T10:59:59.999], Interval[@T11:00:00.000, @T15:59:59.999] }, output: {Interval [ @T01:59:59.999, @T15:59:59.999 ]} } } define "Expand": Tuple{ "ExpandPerDay": Tuple{ expression: expand { Interval[@2018-01-01, @2018-01-04] } per day, output: { Interval[@2018-01-01, @2018-01-01], Interval[@2018-01-02, @2018-01-02], Interval[@2018-01-03, @2018-01-03], Interval[@2018-01-04, @2018-01-04] } }, "ExpandPer2Days": Tuple{ expression: expand { Interval[@2018-01-01, @2018-01-04] } per 2 days, output: { Interval[@2018-01-01, @2018-01-02], Interval[@2018-01-03, @2018-01-04] } }, "ExpandPerHour": Tuple{ expression: expand { Interval[@T10:00, @T12:30] } per hour, output: { Interval[@T10, @T10], Interval[@T11, @T11], Interval[@T12, @T12] } }, "ExpandPer1": Tuple{ skipped: 'Translation Error: Could not resolve call to operator Expand with signature (list<interval<System.Decimal>>,System.Integer).' /* expression: expand { Interval[10.0, 12.5] } per 1, output: { Interval[10, 10], Interval[11, 11], Interval[12, 12] } */ }, "ExpandPerMinute": Tuple{ expression: expand { Interval[@T10, @T10] } per minute, output: { } }, "ExpandPer0D1": Tuple{ skipped: 'Translation Error: Could not resolve call to operator Expand with signature (list<interval<System.Integer>>,System.Decimal).' /* expression: expand { Interval[10, 10] } per 0.1, output: { Interval[10.0, 10.0], Interval[10.1, 10.1], Interval[10.2, 10.2], Interval[10.3, 10.3], Interval[10.4, 10.4], Interval[10.5, 10.5], Interval[10.6, 10.6], Interval[10.7, 10.7], Interval[10.8, 10.8], Interval[10.9, 10.9] } */ }, "ExpandInterval": Tuple{ expression: expand Interval[1, 10], output: { Interval[1, 1], Interval[2, 2], Interval[3, 3], Interval[4, 4], Interval[5, 5], Interval[6, 6], Interval[7, 7], Interval[8, 8], Interval[9, 9], Interval[10, 10] } }, "ExpandIntervalPer2": Tuple{ expression: expand Interval[1, 10] per 2, output: { Interval[1, 2], Interval[3, 4], Interval[5, 6], Interval[7, 8], Interval[9, 10] } } } define "Contains": Tuple{ "TestContainsNull": Tuple{ expression: Interval[1, 10] contains null, output: null }, "TestNullElement1": Tuple{ expression: null contains 5, output: false }, "TestNullElement2": Tuple{ expression: Interval[null, 5] contains 10, output: false }, "IntegerIntervalContainsTrue": Tuple{ expression: Interval[1, 10] contains 5, output: true }, "IntegerIntervalContainsFalse": Tuple{ expression: Interval[1, 10] contains 25, output: false }, "DecimalIntervalContainsTrue": Tuple{ expression: Interval[1.0, 10.0] contains 8.0, output: true }, "DecimalIntervalContainsFalse": Tuple{ expression: Interval[1.0, 10.0] contains 255.0, output: false }, "QuantityIntervalContainsTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] contains 2.0 'g', output: true }, "QuantityIntervalContainsFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] contains 100.0 'g', output: false }, "DateTimeContainsTrue": Tuple{ expression: Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] contains DateTime(2012, 1, 10), output: true }, "DateTimeContainsFalse": Tuple{ expression: Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)] contains DateTime(2012, 1, 16), output: false }, "TimeContainsTrue": Tuple{ expression: Interval[@T01:59:59.999, @T10:59:59.999] contains @T05:59:59.999, output: true }, "TimeContainsFalse": Tuple{ expression: Interval[@T01:59:59.999, @T10:59:59.999] contains @T15:59:59.999, output: false } } define "End": Tuple{ "IntegerIntervalEnd": Tuple{ expression: end of Interval[1, 10], output: 10 }, "DecimalIntervalEnd": Tuple{ expression: end of Interval[1.0, 10.0], output: 10.0 }, "QuantityIntervalEnd": Tuple{ expression: end of Interval[1.0 'g', 10.0 'g'], output: 10.0'g' }, "DateTimeIntervalEnd": Tuple{ expression: end of Interval[@2016-05-01T00:00:00.000, @2016-05-02T00:00:00.000], output: @2016-05-02T00:00:00.000 }, "TimeIntervalEnd": Tuple{ expression: end of Interval[@T00:00:00.000, @T23:59:59.599], output: @T23:59:59.599 } } define "Ends": Tuple{ "TestEndsNull": Tuple{ expression: Interval[1, 10] ends Interval(null, null), output: null }, "IntegerIntervalEndsTrue": Tuple{ expression: Interval[4, 10] ends Interval[1, 10], output: true }, "IntegerIntervalEndsFalse": Tuple{ expression: Interval[44, 50] ends Interval[1, 10], output: false }, "DecimalIntervalEndsTrue": Tuple{ expression: Interval[4.0, 10.0] ends Interval[1.0, 10.0], output: true }, "DecimalIntervalEndsFalse": Tuple{ expression: Interval[11.0, 20.0] ends Interval[1.0, 10.0], output: false }, "QuantityIntervalEndsTrue": Tuple{ expression: Interval[5.0 'g', 10.0 'g'] ends Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalEndsFalse": Tuple{ expression: Interval[11.0 'g', 20.0 'g'] ends Interval[1.0 'g', 10.0 'g'], output: false }, "DateTimeEndsTrue": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 15)], output: true }, "DateTimeEndsFalse": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] ends Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 16)], output: false }, "TimeEndsTrue": Tuple{ expression: Interval[@T05:59:59.999, @T10:59:59.999] ends Interval[@T01:59:59.999, @T10:59:59.999], output: true }, "TimeEndsFalse": Tuple{ expression: Interval[@T05:59:59.999, @T10:59:59.999] ends Interval[@T01:59:59.999, @T11:59:59.999], output: false } } define "Equal": Tuple{ "TestEqualNull": Tuple{ expression: Interval[1, 10] = Interval(null, null), output: null }, "IntegerIntervalEqualTrue": Tuple{ expression: Interval[1, 10] = Interval[1, 10], output: true }, "IntegerIntervalEqualFalse": Tuple{ expression: Interval[1, 10] = Interval[11, 20], output: false }, "DecimalIntervalEqualTrue": Tuple{ expression: Interval[1.0, 10.0] = Interval[1.0, 10.0], output: true }, "DecimalIntervalEqualFalse": Tuple{ expression: Interval[1.0, 10.0] = Interval[11.0, 20.0], output: false }, "QuantityIntervalEqualTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] = Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalEqualFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] = Interval[11.0 'g', 20.0 'g'], output: false }, "DateTimeEqualTrue": Tuple{ expression: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] = Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)], output: true }, "DateTimeEqualFalse": Tuple{ expression: Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 15, 0, 0, 0, 0)] = Interval[DateTime(2012, 1, 5, 0, 0, 0, 0), DateTime(2012, 1, 16, 0, 0, 0, 0)], output: false }, "TimeEqualTrue": Tuple{ expression: Interval[@T05:59:59.999, @T10:59:59.999] = Interval[@T05:59:59.999, @T10:59:59.999], output: true }, "TimeEqualFalse": Tuple{ expression: Interval[@T05:59:59.999, @T10:59:59.999] = Interval[@T05:59:59.999, @T10:58:59.999], output: false } } define "Except": Tuple{ "NullInterval": Tuple{ skipped: 'Wrong answer (Interval(null, null) vs null)' /* expression: Interval[null, null], output: null */ }, "TestExceptNull": Tuple{ expression: Interval[null, null] except Interval[null, null], output: null }, "IntegerIntervalExcept1to3": Tuple{ expression: Interval[1, 10] except Interval[4, 10], output: Interval [ 1, 3 ] }, "IntegerIntervalExceptNull": Tuple{ expression: Interval[1, 10] except Interval[3, 7], output: null }, "DecimalIntervalExcept1to3": Tuple{ skipped: '(Sort of) wrong answer (is open 4 end boundary 3 or 3.99999999?)' /* expression: Interval[1.0, 10.0] except Interval[4.0, 10.0], output: Interval [ 1.0, 3.99999999 ] */ }, "DecimalIntervalExceptNull": Tuple{ expression: Interval[1.0, 10.0] except Interval[3.0, 7.0], output: null }, "QuantityIntervalExcept1to4": Tuple{ skipped: '(Sort of) wrong answer (is open 5 end boundary 4 or 4.99999999?)' /* expression: Interval[1.0 'g', 10.0 'g'] except Interval[5.0 'g', 10.0 'g'], output: Interval [ 1.0 'g', 4.99999999 'g' ] */ }, "Except12": Tuple{ expression: Interval[1, 4] except Interval[3, 6], output: Interval [ 1, 2 ] }, "ExceptDateTimeInterval": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] except Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 15)], output: Interval [ @2012-01-05T, @2012-01-06T ] }, "ExceptDateTime2": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 16)] except Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 12)], output: Interval [ @2012-01-13T, @2012-01-16T ] }, "ExceptTimeInterval": Tuple{ expression: Interval[@T05:59:59.999, @T10:59:59.999] except Interval[@T08:59:59.999, @T10:59:59.999], output: Interval [ @T05:59:59.999, @T08:59:59.998 ] }, "ExceptTime2": Tuple{ expression: Interval[@T08:59:59.999, @T11:59:59.999] except Interval[@T05:59:59.999, @T10:59:59.999], output: Interval [ @T11:00:00.000, @T11:59:59.999 ] } } define "In": Tuple{ "TestInNullBoundaries": Tuple{ expression: 5 in Interval[null, null], output: true }, "IntegerIntervalInTrue": Tuple{ expression: 5 in Interval[1, 10], output: true }, "IntegerIntervalInFalse": Tuple{ expression: 500 in Interval[1, 10], output: false }, "DecimalIntervalInTrue": Tuple{ expression: 9.0 in Interval[1.0, 10.0], output: true }, "DecimalIntervalInFalse": Tuple{ expression: -2.0 in Interval[1.0, 10.0], output: false }, "QuantityIntervalInTrue": Tuple{ expression: 1.0 'g' in Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalInFalse": Tuple{ expression: 55.0 'g' in Interval[1.0 'g', 10.0 'g'], output: false }, "DateTimeInTrue": Tuple{ expression: DateTime(2012, 1, 7) in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)], output: true }, "DateTimeInFalse": Tuple{ expression: DateTime(2012, 1, 17) in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)], output: false }, "DateTimeInNullTrue": Tuple{ expression: DateTime(2012, 1, 7) in Interval[DateTime(2012, 1, 5), null], output: true }, "TimeInTrue": Tuple{ expression: @T07:59:59.999 in Interval[@T05:59:59.999, @T10:59:59.999], output: true }, "TimeInFalse": Tuple{ expression: @T17:59:59.999 in Interval[@T05:59:59.999, @T10:59:59.999], output: false }, "TimeInNull": Tuple{ expression: null in Interval[@T05:59:59.999, @T10:59:59.999], output: null }, "TestPeriod1": Tuple{ expression: Interval[@2017-12-20T11:00:00, @2017-12-21T21:00:00], output: Interval [ @2017-12-20T11:00:00, @2017-12-21T21:00:00 ] }, "TestPeriod2": Tuple{ expression: Interval[@2017-12-20T10:30:00, @2017-12-20T12:00:00], output: Interval [ @2017-12-20T10:30:00, @2017-12-20T12:00:00 ] }, "Issue32Interval": Tuple{ expression: Interval[@2017-12-20T10:30:00, @2017-12-20T12:00:00] starts 1 day or less on or after day of start of Interval[@2017-12-20T11:00:00, @2017-12-21T21:00:00], output: true } } define "Includes": Tuple{ "TestIncludesNull": Tuple{ expression: Interval[1, 10] includes null, output: null }, "IntegerIntervalIncludesTrue": Tuple{ expression: Interval[1, 10] includes Interval[4, 10], output: true }, "IntegerIntervalIncludesFalse": Tuple{ expression: Interval[1, 10] includes Interval[44, 50], output: false }, "DecimalIntervalIncludesTrue": Tuple{ expression: Interval[1.0, 10.0] includes Interval[4.0, 10.0], output: true }, "DecimalIntervalIncludesFalse": Tuple{ expression: Interval[1.0, 10.0] includes Interval[11.0, 20.0], output: false }, "QuantityIntervalIncludesTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] includes Interval[5.0 'g', 10.0 'g'], output: true }, "QuantityIntervalIncludesFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] includes Interval[11.0 'g', 20.0 'g'], output: false }, "DateTimeIncludesTrue": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] includes Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)], output: true }, "DateTimeIncludesFalse": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)] includes Interval[DateTime(2012, 1, 4), DateTime(2012, 1, 14)], output: false }, "TimeIncludesTrue": Tuple{ expression: Interval[@T05:59:59.999, @T10:59:59.999] includes Interval[@T06:59:59.999, @T09:59:59.999], output: true }, "TimeIncludesFalse": Tuple{ expression: Interval[@T05:59:59.999, @T10:59:59.999] includes Interval[@T04:59:59.999, @T09:59:59.999], output: false } } define "Included In": Tuple{ "TestIncludedInNull": Tuple{ expression: null included in Interval[1, 10], output: null }, "IntegerIntervalIncludedInTrue": Tuple{ expression: Interval[4, 10] included in Interval[1, 10], output: true }, "IntegerIntervalIncludedInFalse": Tuple{ expression: Interval[44, 50] included in Interval[1, 10], output: false }, "DecimalIntervalIncludedInTrue": Tuple{ expression: Interval[4.0, 10.0] included in Interval[1.0, 10.0], output: true }, "DecimalIntervalIncludedInFalse": Tuple{ expression: Interval[11.0, 20.0] included in Interval[1.0, 10.0], output: false }, "QuantityIntervalIncludedInTrue": Tuple{ expression: Interval[5.0 'g', 10.0 'g'] included in Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalIncludedInFalse": Tuple{ expression: Interval[11.0 'g', 20.0 'g'] included in Interval[1.0 'g', 10.0 'g'], output: false }, "DateTimeIncludedInTrue": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] included in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)], output: true }, "DateTimeIncludedInFalse": Tuple{ expression: Interval[DateTime(2012, 1, 4), DateTime(2012, 1, 14)] included in Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 15)], output: false }, "TimeIncludedInTrue": Tuple{ expression: Interval[@T06:59:59.999, @T09:59:59.999] included in Interval[@T05:59:59.999, @T10:59:59.999], output: true }, "TimeIncludedInFalse": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] included in Interval[@T05:59:59.999, @T10:59:59.999], output: false }, "DateTimeIncludedInNull": Tuple{ expression: Interval [@2017-09-01T00:00:00, @2017-09-01T00:00:00] included in Interval [@2017-09-01T00:00:00.000, @2017-12-30T23:59:59.999], output: null }, "DateTimeIncludedInPrecisionTrue": Tuple{ expression: Interval [@2017-09-01T00:00:00, @2017-09-01T00:00:00] included in day of Interval [@2017-09-01T00:00:00.000, @2017-12-30T23:59:59.999], output: true }, "DateTimeIncludedInPrecisionNull": Tuple{ expression: Interval [@2017-09-01T00:00:00, @2017-09-01T00:00:00] included in millisecond of Interval [@2017-09-01T00:00:00.000, @2017-12-30T23:59:59.999], output: null } } define "Intersect": Tuple{ "TestIntersectNull": Tuple{ skipped: 'Answer seems incorrect, but correct answer is unrepresentable' /* expression: Interval[1, 10] intersect Interval[5, null), output: null */ }, "IntegerIntervalIntersectTest4to10": Tuple{ expression: Interval[1, 10] intersect Interval[4, 10], output: Interval [ 4, 10 ] }, "IntegerIntervalIntersectTestNull": Tuple{ expression: Interval[1, 10] intersect Interval[11, 20], output: null }, "DecimalIntervalIntersectTest4to10": Tuple{ expression: Interval[1.0, 10.0] intersect Interval[4.0, 10.0], output: Interval [ 4.0, 10.0 ] }, "DecimalIntervalIntersectTestNull": Tuple{ expression: Interval[1.0, 10.0] intersect Interval[11.0, 20.0], output: null }, "QuantityIntervalIntersectTest5to10": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] intersect Interval[5.0 'g', 10.0 'g'], output: Interval [ 5.0 'g', 10.0 'g' ] }, "QuantityIntervalIntersectTestNull": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] intersect Interval[11.0 'g', 20.0 'g'], output: null }, "DateTimeIntersect": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] intersect Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 10)], output: Interval [ @2012-01-07T, @2012-01-10T ] }, "TimeIntersect": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] intersect Interval[@T04:59:59.999, @T06:59:59.999], output: Interval [ @T04:59:59.999, @T06:59:59.999 ] } } define "Equivalent": Tuple{ "IntegerIntervalEquivalentTrue": Tuple{ expression: Interval[1, 10] ~ Interval[1, 10], output: true }, "IntegerIntervalEquivalentFalse": Tuple{ expression: Interval[44, 50] ~ Interval[1, 10], output: false }, "DecimalIntervalEquivalentTrue": Tuple{ expression: Interval[1.0, 10.0] ~ Interval[1.0, 10.0], output: true }, "DecimalIntervalEquivalentFalse": Tuple{ expression: Interval[11.0, 20.0] ~ Interval[1.0, 10.0], output: false }, "QuantityIntervalEquivalentTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] ~ Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalEquivalentFalse": Tuple{ expression: Interval[11.0 'g', 20.0 'g'] ~ Interval[1.0 'g', 10.0 'g'], output: false }, "DateTimeEquivalentTrue": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] ~ Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)], output: true }, "DateTimeEquivalentFalse": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] ~ Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 15)], output: false }, "TimeEquivalentTrue": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] ~ Interval[@T04:59:59.999, @T09:59:59.999], output: true }, "TimeEquivalentFalse": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] ~ Interval[@T04:58:59.999, @T09:59:59.999], output: false } } define "Meets": Tuple{ "TestMeetsNull": Tuple{ expression: Interval(null, 5] meets Interval(null, 15), output: null }, "IntegerIntervalMeetsTrue": Tuple{ expression: Interval[1, 10] meets Interval[11, 20], output: true }, "IntegerIntervalMeetsFalse": Tuple{ expression: Interval[1, 10] meets Interval[44, 50], output: false }, "DecimalIntervalMeetsTrue": Tuple{ expression: Interval[3.01, 5.00000001] meets Interval[5.00000002, 8.50], output: true }, "DecimalIntervalMeetsFalse": Tuple{ expression: Interval[3.01, 5.00000001] meets Interval[5.5, 8.50], output: false }, "QuantityIntervalMeetsTrue": Tuple{ expression: Interval[3.01 'g', 5.00000001 'g'] meets Interval[5.00000002 'g', 8.50 'g'], output: true }, "QuantityIntervalMeetsFalse": Tuple{ expression: Interval[3.01 'g', 5.00000001 'g'] meets Interval[5.5 'g', 8.50 'g'], output: false }, "DateTimeMeetsTrue": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 25)], output: true }, "DateTimeMeetsFalse": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 20), DateTime(2012, 1, 25)], output: false }, "TimeMeetsTrue": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:00:00.000, @T19:59:59.999], output: true }, "TimeMeetsFalse": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:12:00.000, @T19:59:59.999], output: false } } define "MeetsBefore": Tuple{ "TestMeetsBeforeNull": Tuple{ expression: Interval(null, 5] meets before Interval(null, 25], output: null }, "IntegerIntervalMeetsBeforeTrue": Tuple{ expression: Interval[1, 10] meets before Interval[11, 20], output: true }, "IntegerIntervalMeetsBeforeFalse": Tuple{ expression: Interval[1, 10] meets before Interval[44, 50], output: false }, "DecimalIntervalMeetsBeforeTrue": Tuple{ expression: Interval[3.50000001, 5.00000011] meets before Interval[5.00000012, 8.50], output: true }, "DecimalIntervalMeetsBeforeFalse": Tuple{ expression: Interval[8.01, 15.00000001] meets before Interval[15.00000000, 18.50], output: false }, "QuantityIntervalMeetsBeforeTrue": Tuple{ expression: Interval[3.50000001 'g', 5.00000011 'g'] meets before Interval[5.00000012 'g', 8.50 'g'], output: true }, "QuantityIntervalMeetsBeforeFalse": Tuple{ expression: Interval[8.01 'g', 15.00000001 'g'] meets before Interval[15.00000000 'g', 18.50 'g'], output: false }, "DateTimeMeetsBeforeTrue": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 25)], output: true }, "DateTimeMeetsBeforeFalse": Tuple{ expression: Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)] meets Interval[DateTime(2012, 1, 20), DateTime(2012, 1, 25)], output: false }, "TimeMeetsBeforeTrue": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:00:00.000, @T19:59:59.999], output: true }, "TimeMeetsBeforeFalse": Tuple{ expression: Interval[@T04:59:59.999, @T09:59:59.999] meets Interval[@T10:12:00.000, @T19:59:59.999], output: false } } define "MeetsAfter": Tuple{ "TestMeetsAfterNull": Tuple{ skipped: 'Answer seems incorrect, but requires (too?) "smart" processing' /* expression: Interval(null, 5] meets after Interval[11, null), output: null */ }, "IntegerIntervalMeetsAfterTrue": Tuple{ expression: Interval[11, 20] meets after Interval[1, 10], output: true }, "IntegerIntervalMeetsAfterFalse": Tuple{ expression: Interval[44, 50] meets after Interval[1, 10], output: false }, "DecimalIntervalMeetsAfterTrue": Tuple{ expression: Interval[55.00000123, 128.032156] meets after Interval[12.00258, 55.00000122], output: true }, "DecimalIntervalMeetsAfterFalse": Tuple{ expression: Interval[55.00000124, 150.222222] meets after Interval[12.00258, 55.00000122], output: false }, "QuantityIntervalMeetsAfterTrue": Tuple{ expression: Interval[55.00000123 'g', 128.032156 'g'] meets after Interval[12.00258 'g', 55.00000122 'g'], output: true }, "QuantityIntervalMeetsAfterFalse": Tuple{ expression: Interval[55.00000124 'g', 150.222222 'g'] meets after Interval[12.00258 'g', 55.00000122 'g'], output: false }, "DateTimeMeetsAfterTrue": Tuple{ expression: Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 25)] meets Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)], output: true }, "DateTimeMeetsAfterFalse": Tuple{ expression: Interval[DateTime(2012, 1, 20), DateTime(2012, 1, 25)] meets Interval[DateTime(2012, 1, 7), DateTime(2012, 1, 14)], output: false }, "TimeMeetsAfterTrue": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] meets Interval[@T04:59:59.999, @T09:59:59.999], output: true }, "TimeMeetsAfterFalse": Tuple{ expression: Interval[@T10:12:00.000, @T19:59:59.999] meets Interval[@T04:59:59.999, @T09:59:59.999], output: false } } define "NotEqual": Tuple{ "IntegerIntervalNotEqualTrue": Tuple{ expression: Interval[1, 10] != Interval[11, 20], output: true }, "IntegerIntervalNotEqualFalse": Tuple{ expression: Interval[1, 10] != Interval[1, 10], output: false }, "DecimalIntervalNotEqualTrue": Tuple{ expression: Interval[1.0, 10.0] != Interval[11.0, 20.0], output: true }, "DecimalIntervalNotEqualFalse": Tuple{ expression: Interval[1.0, 10.0] != Interval[1.0, 10.0], output: false }, "QuantityIntervalNotEqualTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] != Interval[11.0 'g', 20.0 'g'], output: true }, "QuantityIntervalNotEqualFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] != Interval[1.0 'g', 10.0 'g'], output: false }, "DateTimeNotEqualTrue": Tuple{ expression: Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)] != Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 22)], output: true }, "DateTimeNotEqualFalse": Tuple{ expression: Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)] != Interval[DateTime(2012, 1, 15, 0, 0, 0, 0), DateTime(2012, 1, 25, 0, 0, 0, 0)], output: false }, "TimeNotEqualTrue": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] != Interval[@T10:10:00.000, @T19:59:59.999], output: true }, "TimeNotEqualFalse": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] != Interval[@T10:00:00.000, @T19:59:59.999], output: false } } define "OnOrAfter": Tuple{ "TestOnOrAfterNull": Tuple{ expression: Interval[@2012-12-01, @2013-12-01] on or after (null as Interval<Date>), output: null }, "TestOnOrAfterDateTrue": Tuple{ expression: Interval[@2012-12-01, @2013-12-01] on or after month of @2012-11-15, output: true }, "TestOnOrAfterDateFalse": Tuple{ expression: @2012-11-15 on or after month of Interval[@2012-12-01, @2013-12-01], output: false }, "TestOnOrAfterTimeTrue": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] on or after hour of Interval[@T08:00:00.000, @T09:59:59.999], output: true }, "TestOnOrAfterTimeFalse": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] on or after hour of Interval[@T08:00:00.000, @T11:59:59.999], output: false }, "TestOnOrAfterIntegerTrue": Tuple{ expression: Interval[6, 10] on or after 6, output: true }, "TestOnOrAfterDecimalFalse": Tuple{ expression: 2.5 on or after Interval[1.666, 2.50000001], output: false }, "TestOnOrAfterQuantityTrue": Tuple{ expression: 2.5 'mg' on or after Interval[1.666 'mg', 2.50000000 'mg'], output: true } } define "OnOrBefore": Tuple{ "TestOnOrBeforeNull": Tuple{ expression: Interval[@2012-12-01, @2013-12-01] on or before (null as Interval<Date>), output: null }, "TestOnOrBeforeDateTrue": Tuple{ expression: Interval[@2012-10-01, @2012-11-01] on or before month of @2012-11-15, output: true }, "TestOnOrBeforeDateFalse": Tuple{ expression: @2012-11-15 on or before month of Interval[@2012-10-01, @2013-12-01], output: false }, "TestOnOrBeforeTimeTrue": Tuple{ expression: Interval[@T05:00:00.000, @T07:59:59.999] on or before hour of Interval[@T08:00:00.000, @T09:59:59.999], output: true }, "TestOnOrBeforeTimeFalse": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] on or before hour of Interval[@T08:00:00.000, @T11:59:59.999], output: false }, "TestOnOrBeforeIntegerTrue": Tuple{ expression: Interval[4, 6] on or before 6, output: true }, "TestOnOrBeforeDecimalFalse": Tuple{ expression: 1.6667 on or before Interval[1.666, 2.50000001], output: false }, "TestOnOrBeforeQuantityTrue": Tuple{ expression: 1.666 'mg' on or before Interval[1.666 'mg', 2.50000000 'mg'], output: true } } define "Overlaps": Tuple{ "TestOverlapsNull": Tuple{ expression: Interval[null, null] overlaps Interval[1, 10], output: null }, "IntegerIntervalOverlapsTrue": Tuple{ expression: Interval[1, 10] overlaps Interval[4, 10], output: true }, "IntegerIntervalOverlapsFalse": Tuple{ expression: Interval[1, 10] overlaps Interval[11, 20], output: false }, "DecimalIntervalOverlapsTrue": Tuple{ expression: Interval[1.0, 10.0] overlaps Interval[4.0, 10.0], output: true }, "DecimalIntervalOverlapsFalse": Tuple{ expression: Interval[1.0, 10.0] overlaps Interval[11.0, 20.0], output: false }, "QuantityIntervalOverlapsTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] overlaps Interval[5.0 'g', 10.0 'g'], output: true }, "QuantityIntervalOverlapsFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] overlaps Interval[11.0 'g', 20.0 'g'], output: false }, "DateTimeOverlapsTrue": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)], output: true }, "DateTimeOverlapsFalse": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 26), DateTime(2012, 1, 28)], output: false }, "TimeOverlapsTrue": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T12:00:00.000, @T21:59:59.999], output: true }, "TimeOverlapsFalse": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T20:00:00.000, @T21:59:59.999], output: false } } define "OverlapsBefore": Tuple{ "TestOverlapsBeforeNull": Tuple{ expression: Interval[null, null] overlaps before Interval[1, 10], output: null }, "IntegerIntervalOverlapsBeforeTrue": Tuple{ expression: Interval[1, 10] overlaps before Interval[4, 10], output: true }, "IntegerIntervalOverlapsBeforeFalse": Tuple{ expression: Interval[4, 10] overlaps before Interval[1, 10], output: false }, "DecimalIntervalOverlapsBeforeTrue": Tuple{ expression: Interval[1.0, 10.0] overlaps before Interval[4.0, 10.0], output: true }, "DecimalIntervalOverlapsBeforeFalse": Tuple{ expression: Interval[4.0, 10.0] overlaps before Interval[1.0, 10.0], output: false }, "QuantityIntervalOverlapsBeforeTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] overlaps before Interval[5.0 'g', 10.0 'g'], output: true }, "QuantityIntervalOverlapsBeforeFalse": Tuple{ expression: Interval[5.0 'g', 10.0 'g'] overlaps before Interval[1.0 'g', 10.0 'g'], output: false }, "DateTimeOverlapsBeforeTrue": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)], output: true }, "DateTimeOverlapsBeforeFalse": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] overlaps Interval[DateTime(2012, 1, 26), DateTime(2012, 1, 28)], output: false }, "TimeOverlapsBeforeTrue": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T12:00:00.000, @T21:59:59.999], output: true }, "TimeOverlapsBeforeFalse": Tuple{ expression: Interval[@T10:00:00.000, @T19:59:59.999] overlaps Interval[@T20:00:00.000, @T21:59:59.999], output: false } } define "OverlapsAfter": Tuple{ "TestOverlapsAfterNull": Tuple{ expression: Interval[null, null] overlaps after Interval[1, 10], output: null }, "IntegerIntervalOverlapsAfterTrue": Tuple{ expression: Interval[4, 15] overlaps after Interval[1, 10], output: true }, "IntegerIntervalOverlapsAfterFalse": Tuple{ expression: Interval[4, 10] overlaps after Interval[1, 10], output: false }, "DecimalIntervalOverlapsAfterTrue": Tuple{ expression: Interval[4.0, 15.0] overlaps after Interval[1.0, 10.0], output: true }, "DecimalIntervalOverlapsAfterFalse": Tuple{ expression: Interval[4.0, 10.0] overlaps after Interval[1.0, 10.0], output: false }, "QuantityIntervalOverlapsAfterTrue": Tuple{ expression: Interval[5.0 'g', 15.0 'g'] overlaps after Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalOverlapsAfterFalse": Tuple{ expression: Interval[5.0 'g', 10.0 'g'] overlaps after Interval[1.0 'g', 10.0 'g'], output: false }, "DateTimeOverlapsAfterTrue": Tuple{ expression: Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] overlaps Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)], output: true }, "DateTimeOverlapsAfterFalse": Tuple{ expression: Interval[DateTime(2012, 1, 26), DateTime(2012, 1, 28)] overlaps Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)], output: false }, "TimeOverlapsAfterTrue": Tuple{ expression: Interval[@T12:00:00.000, @T21:59:59.999] overlaps Interval[@T10:00:00.000, @T19:59:59.999], output: true }, "TimeOverlapsAfterFalse": Tuple{ expression: Interval[@T20:00:00.000, @T21:59:59.999] overlaps Interval[@T10:00:00.000, @T19:59:59.999], output: false } } define "PointFrom": Tuple{ "TestPointFromNull": Tuple{ skipped: 'PointFrom not implemented' /* expression: point from Interval[null, null], output: null */ }, "TestPointFromInteger": Tuple{ skipped: 'PointFrom not implemented' /* expression: point from Interval[1, 1], output: 1 */ }, "TestPointFromDecimal": Tuple{ skipped: 'PointFrom not implemented' /* expression: point from Interval[1.0, 1.0], output: 1.0 */ }, "TestPointFromQuantity": Tuple{ skipped: 'PointFrom not implemented' /* expression: point from Interval[1.0 'cm', 1.0 'cm'], output: 1.0'cm' */ } } define "ProperContains": Tuple{ "TimeProperContainsTrue": Tuple{ skipped: 'ProperContains not implemented' /* expression: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.001, output: true */ }, "TimeProperContainsFalse": Tuple{ skipped: 'ProperContains not implemented' /* expression: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.000, output: false */ }, "TimeProperContainsNull": Tuple{ skipped: 'ProperContains not implemented' /* expression: Interval[@T12:00:00.001, @T21:59:59.999] properly includes @T12:00:00, output: null */ }, "TimeProperContainsPrecisionTrue": Tuple{ skipped: 'ProperContains not implemented' /* expression: Interval[@T12:00:00.000, @T21:59:59.999] properly includes second of @T12:00:01, output: true */ }, "TimeProperContainsPrecisionFalse": Tuple{ skipped: 'ProperContains not implemented' /* expression: Interval[@T12:00:00.001, @T21:59:59.999] properly includes second of @T12:00:00, output: false */ }, "TimeProperContainsPrecisionNull": Tuple{ skipped: 'ProperContains not implemented' /* expression: Interval[@T12:00:00.001, @T21:59:59.999] properly includes millisecond of @T12:00:00, output: null */ } } define "ProperIn": Tuple{ "TimeProperInTrue": Tuple{ skipped: 'ProperIn not implemented' /* expression: @T12:00:00.001 properly included in Interval[@T12:00:00.000, @T21:59:59.999], output: true */ }, "TimeProperInFalse": Tuple{ skipped: 'ProperIn not implemented' /* expression: @T12:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999], output: false */ }, "TimeProperInNull": Tuple{ skipped: 'ProperIn not implemented' /* expression: @T12:00:00 properly included in Interval[@T12:00:00.001, @T21:59:59.999], output: null */ }, "TimeProperInPrecisionTrue": Tuple{ skipped: 'ProperIn not implemented' /* expression: @T12:00:01 properly included in second of Interval[@T12:00:00.000, @T21:59:59.999], output: true */ }, "TimeProperInPrecisionFalse": Tuple{ skipped: 'ProperIn not implemented' /* expression: @T12:00:00 properly included in second of Interval[@T12:00:00.001, @T21:59:59.999], output: false */ }, "TimeProperInPrecisionNull": Tuple{ skipped: 'ProperIn not implemented' /* expression: @T12:00:00 properly included in millisecond of Interval[@T12:00:00.001, @T21:59:59.999], output: null */ } } define "ProperlyIncludes": Tuple{ "NullBoundariesProperlyIncludesIntegerInterval": Tuple{ expression: Interval[null as Integer, null as Integer] properly includes Interval[1, 10], output: true }, "IntegerIntervalProperlyIncludesTrue": Tuple{ expression: Interval[1, 10] properly includes Interval[4, 10], output: true }, "IntegerIntervalProperlyIncludesFalse": Tuple{ expression: Interval[1, 10] properly includes Interval[4, 15], output: false }, "DecimalIntervalProperlyIncludesTrue": Tuple{ expression: Interval[1.0, 10.0] properly includes Interval[4.0, 10.0], output: true }, "DecimalIntervalProperlyIncludesFalse": Tuple{ expression: Interval[1.0, 10.0] properly includes Interval[4.0, 15.0], output: false }, "QuantityIntervalProperlyIncludesTrue": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] properly includes Interval[5.0 'g', 10.0 'g'], output: true }, "QuantityIntervalProperlyIncludesFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] properly includes Interval[5.0 'g', 15.0 'g'], output: false }, "DateTimeProperlyIncludesTrue": Tuple{ expression: Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] properly includes Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 27)], output: true }, "DateTimeProperlyIncludesFalse": Tuple{ expression: Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)] properly includes Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 29)], output: false }, "TimeProperlyIncludesTrue": Tuple{ expression: Interval[@T12:00:00.000, @T21:59:59.999] properly includes Interval[@T12:01:01.000, @T21:59:59.998], output: true }, "TimeProperlyIncludesFalse": Tuple{ expression: Interval[@T12:00:00.000, @T21:59:59.999] properly includes Interval[@T12:01:01.000, @T22:00:00.000], output: false } } define "ProperlyIncludedIn": Tuple{ "IntegerIntervalProperlyIncludedInNullBoundaries": Tuple{ expression: Interval[1, 10] properly included in Interval[null, null], output: true }, "IntegerIntervalProperlyIncludedInTrue": Tuple{ expression: Interval[4, 10] properly included in Interval[1, 10], output: true }, "IntegerIntervalProperlyIncludedInFalse": Tuple{ expression: Interval[4, 15] properly included in Interval[1, 10], output: false }, "DecimalIntervalProperlyIncludedInTrue": Tuple{ expression: Interval[4.0, 10.0] properly included in Interval[1.0, 10.0], output: true }, "DecimalIntervalProperlyIncludedInFalse": Tuple{ expression: Interval[4.0, 15.0] properly included in Interval[1.0, 10.0], output: false }, "QuantityIntervalProperlyIncludedInTrue": Tuple{ expression: Interval[5.0 'g', 10.0 'g'] properly included in Interval[1.0 'g', 10.0 'g'], output: true }, "QuantityIntervalProperlyIncludedInFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] properly included in Interval[5.0 'g', 15.0 'g'], output: false }, "DateTimeProperlyIncludedInTrue": Tuple{ expression: Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 27)] properly included in Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)], output: true }, "DateTimeProperlyIncludedInFalse": Tuple{ expression: Interval[DateTime(2012, 1, 16), DateTime(2012, 1, 29)] properly included in Interval[DateTime(2012, 1, 15), DateTime(2012, 1, 28)], output: false }, "TimeProperlyIncludedInTrue": Tuple{ expression: Interval[@T12:01:01.000, @T21:59:59.998] properly included in Interval[@T12:00:00.000, @T21:59:59.999], output: true }, "TimeProperlyIncludedInFalse": Tuple{ expression: Interval[@T12:01:01.000, @T22:00:00.000] properly included in Interval[@T12:00:00.000, @T21:59:59.999], output: false } } define "Start": Tuple{ "IntegerIntervalStart": Tuple{ expression: start of Interval[1, 10], output: 1 }, "DecimalIntervalStart": Tuple{ expression: start of Interval[1.0, 10.0], output: 1.0 }, "QuantityIntervalStart": Tuple{ expression: start of Interval[1.0 'g', 10.0 'g'], output: 1.0'g' }, "DateTimeIntervalStart": Tuple{ expression: start of Interval[@2016-05-01T00:00:00.000, @2016-05-02T00:00:00.000], output: @2016-05-01T00:00:00.000 }, "TimeIntervalStart": Tuple{ expression: start of Interval[@T00:00:00.000, @T23:59:59.599], output: @T00:00:00.000 } } define "Starts": Tuple{ "TestStartsNull": Tuple{ expression: Interval[null, null] starts Interval[1, 10], output: null }, "IntegerIntervalStartsTrue": Tuple{ expression: Interval[4, 10] starts Interval[4, 15], output: true }, "IntegerIntervalStartsFalse": Tuple{ expression: Interval[1, 10] starts Interval[4, 10], output: false }, "DecimalIntervalStartsTrue": Tuple{ expression: Interval[4.0, 10.0] starts Interval[4.0, 15.0], output: true }, "DecimalIntervalStartsFalse": Tuple{ expression: Interval[1.0, 10.0] starts Interval[4.0, 10.0], output: false }, "QuantityIntervalStartsTrue": Tuple{ expression: Interval[5.0 'g', 10.0 'g'] starts Interval[5.0 'g', 15.0 'g'], output: true }, "QuantityIntervalStartsFalse": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] starts Interval[5.0 'g', 10.0 'g'], output: false }, "DateTimeStartsTrue": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 27)], output: true }, "DateTimeStartsFalse": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts Interval[DateTime(2012, 1, 6), DateTime(2012, 1, 27)], output: false }, "TimeStartsTrue": Tuple{ expression: Interval[@T05:59:59.999, @T15:59:59.999] starts Interval[@T05:59:59.999, @T17:59:59.999], output: true }, "TimeStartsFalse": Tuple{ expression: Interval[@T05:59:59.999, @T15:59:59.999] starts Interval[@T04:59:59.999, @T17:59:59.999], output: false } } define "Union": Tuple{ "TestUnionNull": Tuple{ expression: Interval[null, null] union Interval[1, 10], output: null }, "IntegerIntervalUnion1To15": Tuple{ expression: Interval[1, 10] union Interval[4, 15], output: Interval [ 1, 15 ] }, "IntegerIntervalUnionNull": Tuple{ expression: Interval[1, 10] union Interval[44, 50], output: null }, "DecimalIntervalUnion1To15": Tuple{ expression: Interval[1.0, 10.0] union Interval[4.0, 15.0], output: Interval [ 1.0, 15.0 ] }, "DecimalIntervalUnionNull": Tuple{ expression: Interval[1.0, 10.0] union Interval[14.0, 15.0], output: null }, "QuantityIntervalUnion1To15": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] union Interval[5.0 'g', 15.0 'g'], output: Interval [ 1.0 'g', 15.0 'g' ] }, "QuantityIntervalUnionNull": Tuple{ expression: Interval[1.0 'g', 10.0 'g'] union Interval[14.0 'g', 15.0 'g'], output: null }, "DateTimeUnion": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] union Interval[DateTime(2012, 1, 25), DateTime(2012, 1, 28)], output: Interval [ @2012-01-05T, @2012-01-28T ] }, "DateTimeUnionNull": Tuple{ expression: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] union Interval[DateTime(2012, 1, 27), DateTime(2012, 1, 28)], output: null }, "TimeUnion": Tuple{ expression: Interval[@T05:59:59.999, @T15:59:59.999] union Interval[@T10:59:59.999, @T20:59:59.999], output: Interval [ @T05:59:59.999, @T20:59:59.999 ] }, "TimeUnionNull": Tuple{ expression: Interval[@T05:59:59.999, @T15:59:59.999] union Interval[@T16:59:59.999, @T20:59:59.999], output: null } } define "Width": Tuple{ "IntegerIntervalTestWidth9": Tuple{ expression: width of Interval[1, 10], output: 9 }, "IntervalTestWidthNull": Tuple{ expression: width of (null as Interval<Any>), output: null }, "DecimalIntervalTestWidth11": Tuple{ expression: width of Interval[4.0, 15.0], output: 11.0 }, "QuantityIntervalTestWidth5": Tuple{ expression: width of Interval[5.0 'g', 10.0 'g'], output: 5.0'g' }, "DateTimeWidth": Tuple{ expression: width of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)], invalid: true }, "TimeWidth": Tuple{ expression: width of Interval[@T05:59:59.999, @T15:59:59.999], invalid: true } } define "Interval": Tuple{ "IntegerIntervalTest": Tuple{ expression: Interval[1, 10], output: Interval[1, 10] }, "IntegerIntervalTest2": Tuple{ expression: Interval[11, 20], output: Interval[11, 20] }, "IntegerIntervalTest3": Tuple{ expression: Interval[44, 50], output: Interval[44, 50] }, "IntegerIntervalTest4": Tuple{ expression: Interval[4, 10], output: Interval[4, 10] }, "IntegerIntervalTest5": Tuple{ expression: Interval[4, 15], output: Interval[4, 15] }, "DecimalIntervalTest": Tuple{ expression: Interval[1.0, 10.0], output: Interval[1.0, 10.0] }, "DecimalIntervalTest2": Tuple{ expression: Interval[11.0, 20.0], output: Interval[11.0, 20.0] }, "DecimalIntervalTest3": Tuple{ expression: Interval[4.0, 10.0], output: Interval[4.0, 10.0] }, "DecimalIntervalTest4": Tuple{ expression: Interval[4.0, 15.0], output: Interval[4.0, 15.0] }, "DecimalIntervalTest5": Tuple{ expression: Interval[14.0, 15.0], output: Interval[14.0, 15.0] }, "QuantityIntervalTest": Tuple{ expression: Interval[1.0 'g', 10.0 'g'], output: Interval[1.0 'g', 10.0 'g'] }, "QuantityIntervalTest2": Tuple{ expression: Interval[11.0 'g', 20.0 'g'], output: Interval[11.0 'g', 20.0 'g'] }, "QuantityIntervalTest3": Tuple{ expression: Interval[5.0 'g', 10.0 'g'], output: Interval[5.0 'g', 10.0 'g'] }, "QuantityIntervalTest4": Tuple{ expression: Interval[5.0 'g', 15.0 'g'], output: Interval[5.0 'g', 15.0 'g'] }, "QuantityIntervalTest5": Tuple{ expression: Interval[14.0 'g', 15.0 'g'], output: Interval[14.0 'g', 15.0 'g'] }, "DateTimeIntervalTest": Tuple{ expression: Interval[@2016-05-01T00:00:00.000, @2016-05-02T00:00:00.000], output: Interval[@2016-05-01T00:00:00.000, @2016-05-02T00:00:00.000] }, "TimeIntervalTest": Tuple{ expression: Interval[@T00:00:00.000, @T23:59:59.599], output: Interval[@T00:00:00.000, @T23:59:59.599] }, "CollapseIntervalTestInteger": Tuple{ expression: {Interval[1, 10], Interval[11, 20], Interval[44, 50]}, output: {Interval[1, 10], Interval[11, 20], Interval[44, 50]} }, "InvalidIntegerInterval": Tuple{ expression: Interval[5, 3], invalid: true }, "InvalidIntegerIntervalA": Tuple{ expression: Interval[5, 5), invalid: true } }
<gh_stars>100-1000 -- Copyright 2018 <NAME>. All rights reserved. More info at http://tanelpoder.com -- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions. set define off set pause on prompt prompt prompt ************************************************************************** prompt ************************************************************************** prompt prompt MOATS Installer (for 10.2+ databases) prompt ===================================== prompt prompt This will install MOATS v1.0 into the current schema. prompt prompt Ensure that the target schema has the necessary privileges described prompt in the README.txt file. prompt prompt To continue press Enter. To quit press Ctrl-C. prompt prompt (c) oracle-developer.net & www.e2sn.com prompt prompt ************************************************************************** prompt ************************************************************************** prompt prompt pause prompt Creating types... @@moats_types.sql prompt Creating package... @@moats.pks @@moats.pkb prompt Creating view... @@moats_views.sql set define on set pause off
<reponame>turbot/steampipe-mod-kubernetes-compliance<filename>query/cronjob/cronjob_default_namesapce_used.sql select -- Required Columns uid as resource, case when namespace = 'default' then 'alarm' else 'ok' end as status, case when namespace = 'default' then name || ' uses default namespace.' else name || ' not using the default namespace.' end as reason, -- Additional Dimensionss namespace, context_name from kubernetes_cronjob;
#standardSQL # https://towardsdatascience.com/python-pypi-stats-in-bigquery-reclustered-d80e583e1bfe # arbitrary algorithm SELECT project, SUM(c) total FROM ( SELECT project, c, month FROM ( SELECT * , (months[OFFSET(month_presence-1)]-months[OFFSET(0)])/months[OFFSET(month_presence-1)] growth FROM ( SELECT project , ARRAY_AGG(c ORDER BY month) months , ARRAY_AGG(month ORDER BY month) monthsmonths , SUM(c) year, COUNT(*) month_presence FROM ( SELECT project , TIMESTAMP_TRUNC(timestamp, MONTH) month , APPROX_COUNT_DISTINCT(FARM_FINGERPRINT(TO_JSON_STRING(details))) c FROM `fh-bigquery.pypi.pypi_2018` WHERE timestamp > TIMESTAMP("2018-01-01") AND timestamp < TIMESTAMP("2018-11-01") GROUP BY 1,2 ) GROUP BY 1 ) WHERE year>5000 AND months[OFFSET(0)]>500 ORDER BY growth DESC LIMIT 10 ), UNNEST(months) c WITH OFFSET x JOIN UNNEST(monthsmonths) month WITH OFFSET x USING(x) ) GROUP BY 1 ORDER BY 2 DESC
-- @author prabhd -- @created 2012-12-05 12:00:00 -- @modified 2012-12-05 12:00:00 -- @tags dml -- @db_name dmldb -- @description test: Boundary test for cidr \echo --start_ignore set gp_enable_column_oriented_table=on; \echo --end_ignore DROP TABLE IF EXISTS dml_cidr; CREATE TABLE dml_cidr (a cidr) distributed by (a); -- Simple DML INSERT INTO dml_cidr VALUES('192.168.100.128/25'); SELECT * FROM dml_cidr ORDER BY 1; INSERT INTO dml_cidr VALUES('128'); SELECT * FROM dml_cidr ORDER BY 1; INSERT INTO dml_cidr VALUES('2001:4f8:3:ba:2e0:81ff:fe22:d1f1/128'); SELECT * FROM dml_cidr ORDER BY 1; UPDATE dml_cidr SET a = '192.168.100.128/25'; SELECT * FROM dml_cidr ORDER BY 1; -- OUT OF RANGE INSERT INTO dml_cidr VALUES('172.16.58.3/30'); SELECT * FROM dml_cidr ORDER BY 1; INSERT INTO dml_cidr VALUES('fc00:e968:6179::de52:7100/120'); SELECT * FROM dml_cidr ORDER BY 1; UPDATE dml_cidr SET a = '172.16.58.3/30'; SELECT * FROM dml_cidr ORDER BY 1;
SELECT event_id, dateOf(created_at) AS creation_date, blobAsText(content) AS content FROM timeline; SELECT COUNT(*) FROM system.IndexInfo; SELECT lastname FROM cycling.cyclist_name LIMIT 50000; SELECT id, lastname, teams FROM cycling.cyclist_career_teams WHERE id=5b6962dd-3f90-4c93-8f61-eabfa4a803e2; SELECT * FROM cycling.cyclist_category; SELECT * FROM cycling.cyclist_category WHERE category = 'SPRINT'; SELECT category, points, lastname FROM cycling.cyclist_category; SELECT * From cycling.cyclist_name LIMIT 3; SELECT * FROM cycling.cyclist_cat_pts WHERE category = 'GC' ORDER BY points ASC; SELECT race_name, point_id, lat_long AS CITY_LATITUDE_LONGITUDE FROM cycling.route; SELECT * FROM cycling.upcoming_calendar WHERE year = 2015 AND month = 06; select json name, checkin_id, time_stamp from checkin; select name, checkin_id, toJson(time_stamp) from checkin; SELECT * FROM cycling.calendar WHERE race_id IN (100, 101, 102) AND (race_start_date, race_end_date) IN (('2015-01-01','2015-02-02'), ('2016-01-01','2016-02-02')); SELECT * FROM cycling.calendar WHERE race_id IN (100, 101, 102) AND (race_start, race_end) >= ('2015-01-01', '2015-02-02'); SELECT * FROM cycling.race_times WHERE race_name = '17th Santos Tour Down Under' and race_time >= '19:15:19' AND race_time <= '19:15:39';
<gh_stars>0 CREATE TABLE message_template ( mt_id serial PRIMARY KEY, mt_body text, mt_name text, mt_type text ); CREATE TABLE sent_message ( mt_id int4, list_id int4, status text, send_datetime timestamp default now() ); CREATE TABLE outbox ( mt_id int4, list_id int4, send_datetime timestamp default now() );
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Máy chủ: localhost:3306 -- Thời gian đã tạo: Th3 19, 2020 lúc 05:09 PM -- Phiên bản máy phục vụ: 10.2.31-MariaDB-log-cll-lve -- Phiên bản PHP: 7.3.6 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Cơ sở dữ liệu: `nrdgefsihosting_dautubds` -- -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `categories` -- CREATE TABLE `categories` ( `id` bigint(20) UNSIGNED NOT NULL, `title` text COLLATE utf8mb4_unicode_ci NOT NULL, `slug` text COLLATE utf8mb4_unicode_ci NOT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `keywords` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `seo_head` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `category_id` bigint(20) DEFAULT NULL, `status` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `categories` -- INSERT INTO `categories` (`id`, `title`, `slug`, `description`, `keywords`, `seo_head`, `category_id`, `status`, `created_at`, `updated_at`) VALUES (1, 'Nh<NAME>', 'nha-dat-ban', NULL, NULL, NULL, 0, 1, '2019-12-19 22:57:10', '2019-12-19 22:57:10'), (2, 'Nh<NAME> Thuê', 'nha-dat-cho-thue', NULL, NULL, NULL, 0, 1, '2019-12-19 22:57:29', '2019-12-19 22:57:29'), (3, 'Mua Bán Nhà Ở', 'mua-ban-nha-o', NULL, NULL, NULL, 1, 1, '2019-12-25 19:35:25', '2019-12-25 19:35:25'), (4, 'Mua Bán Đất Nền', 'mua-ban-dat-nen', NULL, NULL, NULL, 1, 1, '2019-12-25 19:36:32', '2019-12-25 19:36:32'), (5, 'Mua Bán Văn Phòng Mặt Bằng Kinh Doanh', 'mua-ban-van-phong-mat-bang-kinh-doanh', NULL, NULL, NULL, 1, 1, '2019-12-25 19:36:54', '2019-12-25 19:36:54'), (6, 'Mua Bán Nhà Trọ - Phòng Trọ', 'mua-ban-nha-tro-phong-tro', NULL, NULL, NULL, 1, 1, '2019-12-25 19:37:10', '2019-12-25 19:37:10'), (7, '<NAME>', 'mua-ban-can-ho-chung-cu', NULL, NULL, NULL, 1, 1, '2019-12-25 19:37:23', '2019-12-25 19:37:23'), (8, '<NAME>', 'mua-ban-biet-thu-nghi-duong', NULL, NULL, NULL, 1, 1, '2019-12-25 19:42:22', '2019-12-25 19:42:22'), (9, '<NAME>ê', 'nha-o-cho-thue', NULL, NULL, NULL, 2, 1, '2019-12-25 19:43:04', '2019-12-25 19:43:04'), (10, '<NAME>', 'dat-nen-cho-thue', NULL, NULL, NULL, 2, 1, '2019-12-25 19:46:01', '2019-12-25 19:46:01'), (11, '<NAME>', 'van-phong-mat-bang-kinh-doanh-cho-thue', NULL, NULL, NULL, 2, 1, '2019-12-25 19:47:36', '2019-12-25 19:47:36'), (12, '<NAME> - Phòng Trọ Cho Thuê', 'nha-tro-phong-tro-cho-thue', NULL, NULL, NULL, 2, 1, '2019-12-25 19:48:10', '2019-12-25 19:48:10'), (13, '<NAME>', 'can-ho-chung-cu-cho-thuê', NULL, NULL, NULL, 2, 1, '2019-12-25 19:48:10', '2019-12-25 19:48:10'), (14, '<NAME>', 'biet-thu-nghi-duong-cho-thue', NULL, NULL, NULL, 2, 1, '2019-12-25 19:48:10', '2019-12-25 19:48:10'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `comments` -- CREATE TABLE `comments` ( `id` bigint(20) UNSIGNED NOT NULL, `name` text COLLATE utf8mb4_unicode_ci NOT NULL, `phone` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` text COLLATE utf8mb4_unicode_ci NOT NULL, `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `type` text COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1', `comment_id` bigint(20) NOT NULL, `post_id` bigint(20) NOT NULL, `view` tinyint(1) NOT NULL DEFAULT 0, `status` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `config` -- CREATE TABLE `config` ( `id` bigint(20) UNSIGNED NOT NULL, `website_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `keywords` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `seo_head` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `logo` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `except` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `time` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `config` -- INSERT INTO `config` (`id`, `website_name`, `description`, `keywords`, `seo_head`, `logo`, `except`, `email`, `phone`, `time`, `address`, `created_at`, `updated_at`) VALUES (1, 'Kênh Tin Tức - Mua Bán - Đầu Tư Bất Động Sản Hàng Đầu Việt Nam', 'Dautubatdongsan.vn - Kênh thông tin mua bán - cho thuê nhà đất và đầu tư bất động sản, cung cấp tin tức thị trường bất động sản nhanh chóng, kịp thời và chính xác nhất.', 'Tin tức bất động sản, mua bán bất động sản, mua bán nhà đất, dự án bất động sản, đầu tư bất động sản', NULL, 'logo/1583130951.png', NULL, '<EMAIL>', '0133231233', 'Thứ 2 - 7: 07:00 - 17:00<br> Chủ nhật: 07:00 - 12:00', 'F4, TP Vĩnh Long, Vĩnh Long', '2020-03-01 22:18:11', '2020-03-05 01:25:49'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `contacts` -- CREATE TABLE `contacts` ( `id` bigint(20) UNSIGNED NOT NULL, `name` text COLLATE utf8mb4_unicode_ci NOT NULL, `phone` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` text COLLATE utf8mb4_unicode_ci NOT NULL, `title` text COLLATE utf8mb4_unicode_ci NOT NULL, `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `veiw` tinyint(1) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `contacts` -- INSERT INTO `contacts` (`id`, `name`, `phone`, `email`, `title`, `content`, `veiw`, `created_at`, `updated_at`) VALUES (13, '<NAME>', '416-385-3200', '<EMAIL>', 'Z Jjbt', 'Hi,\r\n\r\nMy name is Eric and I was looking at a few different sites online and came across your site dautubatdongsan.vn. I must say - your website is very impressive. I am seeing your website on the first page of the Search Engine. \r\n\r\nHave you noticed that 70 percent of visitors who leave your website will never return? In most cases, this means that 95 percent to 98 percent of your marketing efforts are going to waste, not to mention that you are losing more money in customer acquisition costs than you need to.\r\n \r\nAs a business person, the time and money you put into your marketing efforts is extremely valuable. So why let it go to waste? Our users have seen staggering improvements in conversions with insane growths of 150 percent going upwards of 785 percent. Are you ready to unlock the highest conversion revenue from each of your website visitors? \r\n\r\nTalkWithCustomer is a widget which captures a website visitor’s Name, Email address and Phone Number and then calls you immediately, so that you can talk to the Lead exactly when they are live on your website — while they\'re hot! Best feature of all, International Long Distance Calling is included!\r\n \r\nTry TalkWithCustomer Live Demo now to see exactly how it works. Visit http://www.talkwithcustomer.com\r\n\r\nWhen targeting leads, speed is essential - there is a 100x decrease in Leads when a Lead is contacted within 30 minutes vs being contacted within 5 minutes.\r\n\r\nIf you would like to talk to me about this service, please give me a call. We have a 14 days trial. Visit http://www.talkwithcustomer.com to start converting up to 100X more leads today!\r\n\r\nThanks and Best Regards,\r\nEric\r\n\r\nIf you\'d like to unsubscribe go to http://liveserveronline.com/talkwithcustomer.aspx?d=dautubatdongsan.vn', 0, '2020-02-23 10:51:05', '2020-02-23 10:51:05'), (14, 'Kennethsag', '86382239835', '<EMAIL>', 'Want more customers for your business?', 'Hello! dautubatdongsan.vn \r\n \r\nDid you know that it is possible to send appeal absolutely lawfully? \r\nWe make available a new legal way of sending business proposal through feedback forms. Such forms are located on many sites. \r\nWhen such business proposals are sent, no personal data is used, and messages are sent to forms specifically designed to receive messages and appeals. \r\nAlso, messages sent through feedback Forms do not get into spam because such messages are considered important. \r\nWe offer you to test our service for free. We will send up to 50,000 messages for you. \r\nThe cost of sending one million messages is 49 USD. \r\n \r\nThis message is created automatically. Please use the contact details below to contact us. \r\n \r\nContact us. \r\nTelegram - @FeedbackFormEU \r\nSkype live:feedbackform2019 \r\nEmail - <EMAIL>', 0, '2020-02-25 05:36:16', '2020-02-25 05:36:16'), (15, '<NAME>', '0375638308', '<EMAIL>', 'Học đầu tư', 'Bất động sản', 0, '2020-03-05 09:12:40', '2020-03-05 09:12:40'), (16, '<NAME>', '0981193014', '<EMAIL>', 'dự án đất nền Tân Phước center', 'Visip1 thời 7năm về trước cũng chỉ là một bãi đất hoang. 5x30 thời điểm đó giá 600tr -700tr một lô..và hiện tại thì đã 5tỷ - 6tỷ lô\r\n⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️\r\nHôm nay Em xin giới thiệu cho ace bạn bè cùng quý nhà đầu tư biết một dự án đẹp đầy tiềm năng nữa đó là dự án Tân Phước Center chỉ cách trung tâm TP Đồng Xoài 7 phút đi xe\r\nNằm trên trục đường DT 753 là tuyến đường duy nhất để có thể đi tới sân bay Long Thành Đồng Nai,dự án kết nối nhanh với tuyến đường tránh thành phố là cao tốc Bình Phước - Bình Dương đang sắp sửa hoàn thiện.\r\nPháp lý an toàn 100% sổ riêng từng nền.\r\nNằm đối diện với Ủy Ban Nhân Dân và cạnh các tiện ích xã hội như trường học, bệnh viện ,chợ.\r\nGiao thông thuận tiện giá chỉ từ 5 - 6 tr/m2\r\nBình Phước hiện đang thu hút các nhà đầu tư từ Bình Dương ,Đồng Nai,TP HCM và các tập đoàn lớn như Becamex ,FLC , Phúc An KHang về tham gia đầu tư vì lợi thế quỹ đất còn nhiều ,giá trị bất động sản còn thấp.tiềm năng phát triển lớn chắc chắn sẽ mang lại giá trị lợi nhuận cho các nhà đầu tư.\r\nLh hỗ trợ để thêm về thông tin', 0, '2020-03-13 18:43:45', '2020-03-13 18:43:45'), (17, '<NAME>', '0981193014', '<EMAIL>', 'dự án đất nền Tân Phước center', 'Visip1 thời 7năm về trước cũng chỉ là một bãi đất hoang. 5x30 thời điểm đó giá 600tr -700tr một lô..và hiện tại thì đã 5tỷ - 6tỷ lô\r\n⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️⛵️\r\nHôm nay Em xin giới thiệu cho ace bạn bè cùng quý nhà đầu tư biết một dự án đẹp đầy tiềm năng nữa đó là dự án Tân Phước Center chỉ cách trung tâm TP Đồng Xoài 7 phút đi xe\r\nNằm trên trục đường DT 753 là tuyến đường duy nhất để có thể đi tới sân bay Long Thành Đồng Nai,dự án kết nối nhanh với tuyến đường tránh thành phố là cao tốc Bình Phước - Bình Dương đang sắp sửa hoàn thiện.\r\nPháp lý an toàn 100% sổ riêng từng nền.\r\nNằm đối diện với Ủy <NAME> và cạnh các tiện ích xã hội như trường học, bệnh viện ,chợ.\r\nGiao thông thuận tiện giá chỉ từ 5 - 6 tr/m2\r\nBình Phước hiện đang thu hút các nhà đầu tư từ Bình Dương ,Đồng Nai,TP HCM và các tập đoàn lớn như Becamex ,FLC , Phúc An KHang về tham gia đầu tư vì lợi thế quỹ đất còn nhiều ,giá trị bất động sản còn thấp.tiềm năng phát triển lớn chắc chắn sẽ mang lại giá trị lợi nhuận cho các nhà đầu tư.\r\nLh hỗ trợ để được hỗ trợ', 0, '2020-03-13 18:51:23', '2020-03-13 18:51:23'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `details` -- CREATE TABLE `details` ( `id` bigint(20) UNSIGNED NOT NULL, `title` text COLLATE utf8mb4_unicode_ci NOT NULL, `status` tinyint(1) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `details` -- INSERT INTO `details` (`id`, `title`, `status`, `created_at`, `updated_at`) VALUES (3, 'Diện tích xây dựng', 1, '2019-12-20 18:29:01', '2020-01-08 00:52:49'), (4, 'Thời gian giao nhà', 1, '2019-12-20 18:29:40', '2020-01-08 00:52:50'), (5, 'Thời gian xây dựng', 1, '2019-12-20 18:29:54', '2020-01-08 00:52:50'), (6, 'Số tầng', 1, '2019-12-20 18:30:07', '2020-01-08 00:52:51'), (7, 'Số căn hộ', 1, '2019-12-20 18:30:15', '2020-02-17 04:59:30'), (8, 'Diện tích căn hộ', 1, '2019-12-20 18:30:30', '2020-03-05 05:05:35'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `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; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `investors` -- CREATE TABLE `investors` ( `id` bigint(20) UNSIGNED NOT NULL, `name` text COLLATE utf8mb4_unicode_ci NOT NULL, `slug` text COLLATE utf8mb4_unicode_ci NOT NULL, `full_name` text COLLATE utf8mb4_unicode_ci NOT NULL, `url_logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `founding` date DEFAULT NULL, `link` text COLLATE utf8mb4_unicode_ci NOT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `links` -- CREATE TABLE `links` ( `id` bigint(20) UNSIGNED NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `link` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `url_logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (14, '2014_10_12_000000_create_users_table', 1), (15, '2014_10_12_100000_create_password_resets_table', 1), (16, '2019_08_19_000000_create_failed_jobs_table', 1), (17, '2019_12_16_061257_create_investors_table', 1), (18, '2019_12_16_080950_create_utilities_table', 1), (19, '2019_12_16_085100_create_details_table', 1), (20, '2019_12_18_015047_create_sliders_table', 1), (21, '2019_12_18_064308_create_categories_table', 1), (22, '2019_12_19_035113_create_news_table', 1), (28, '2019_12_26_035349_create_projects_table', 2), (30, '2019_12_27_083521_create_project_utiliti_table', 3), (31, '2019_12_27_093514_create_project_detail_table', 4), (34, '2020_01_09_092411_create_libraries_table', 5), (35, '2020_01_14_024657_create_links_table', 5), (36, '2020_01_14_063046_create_contacts_table', 6), (39, '2020_02_17_155324_create_comments_table', 7), (40, '2020_02_18_062836_create_permissions_table', 8), (41, '2020_03_02_044251_crete_config_table', 9); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `news` -- CREATE TABLE `news` ( `id` bigint(20) UNSIGNED NOT NULL, `title` text COLLATE utf8mb4_unicode_ci NOT NULL, `slug` text COLLATE utf8mb4_unicode_ci NOT NULL, `meta_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `meta_keyword` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `link_avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `seo_head` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `except` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `content` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(1) NOT NULL, `user_id` bigint(20) UNSIGNED NOT NULL DEFAULT 1, `view` bigint(20) UNSIGNED NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `news` -- INSERT INTO `news` (`id`, `title`, `slug`, `meta_description`, `meta_keyword`, `link_avatar`, `seo_head`, `except`, `content`, `status`, `user_id`, `view`, `created_at`, `updated_at`) VALUES (46, 'Nên tham gia đầu tư bất động sản trong thập niên mới 2020?', 'nen-tham-gia-dau-tu-bat-dong-san-trong-thap-nien-moi-2020', 'Đầu Tư Bất Động Sản không phải là một ngành mới lạ trong giới kinh doanh nhưng luôn là một kênh đầu tư sinh lời hấp dẫn được nhiều nhà đầu tư quan tâm. Tuy nhiên đây là một lĩnh vực kinh doanh không hề dễ dàng nên trước khi lựa chọn việc đầu tư bạn cần phải nắm rõ bí quyết cùng kiến thức tránh đi các rủi ro, thua lỗ...', 'Content', 'imgNews/1584431550.jpg', NULL, 'Đầu tư bất động sản không phải là một ngành mới lạ trong giới kinh doanh nhưng luôn là một kênh đầu tư sinh lời hấp dẫn được nhiều nhà đầu tư quan tâm. Tuy nhiên đây là một lĩnh vực kinh doanh không hề dễ dàng nên trước khi lựa chọn việc đầu tư bạn cần phải nắm rõ bí quyết cùng kiến thức tránh đi các rủi ro, thua lỗ.', '<p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:14px\">Đầu tư bất động sản kh&ocirc;ng phải l&agrave; một ng&agrave;nh mới lạ trong giới kinh doanh nhưng lu&ocirc;n l&agrave; một k&ecirc;nh đầu tư sinh lời hấp dẫn được nhiều nh&agrave; đầu tư quan t&acirc;m. Tuy nhi&ecirc;n đ&acirc;y l&agrave; một lĩnh vực kinh doanh kh&ocirc;ng hề dễ d&agrave;ng n&ecirc;n trước khi lựa chọn việc đầu tư bạn cần phải nắm r&otilde; b&iacute; quyết c&ugrave;ng kiến thức tr&aacute;nh đi c&aacute;c rủi ro, thua lỗ.</span></strong></p>\n\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Đầu tư bất động sản l&agrave; g&igrave;?</strong></span></h2>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Đầu tư bất động sản l&agrave; việc d&ugrave;ng nguồn vốn để ph&aacute;t triển c&aacute;c loại h&igrave;nh bất động sản một khoảng thời gian nhất định. V&agrave; c&aacute;c bất động sản trở th&agrave;nh t&agrave;i sản bị động gi&uacute;p nh&agrave; đầu tư thu được những lợi nhuận lớn hơn.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:14px\">&nbsp;<img alt=\"dau tu bat dong san trong thoi dai 4.0\" src=\"https://dautubatdongsan.vn/images/nen-tham-gia-dau-tu-bat-dong-san-trong-thap-nien-moi-2020-1-1584431398.jpg\" style=\"width:600px\" /></span></p>\n\n<h3 dir=\"ltr\" style=\"text-align:center\"><em><span style=\"font-size:14px\">Đầu tư bất động sản trong thời đại 4.0</span></em></h3>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Về bản chất khi đầu tư bất động sản cũng giống như c&aacute;c hoạt động kinh doanh mua b&aacute;n th&ocirc;ng thường. Bạn mua bất động sản với mức gi&aacute; thấp v&agrave; b&aacute;n lại với gi&aacute; cao hơn sẽ thu được một khoản lợi nhuận ch&ecirc;nh lệch đ&oacute;.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Bạn c&oacute; thể hiểu l&agrave; khi bạn mua 1 mảnh đất với gi&aacute; 2.2 tỷ đồng, 2 năm sau, bạn b&aacute;n mảnh đất đ&oacute; với gi&aacute; 2.7 tỷ đồng, khoản ch&ecirc;nh lệch l&agrave; 500 triệu đồng, đ&oacute; l&agrave; một c&aacute;ch đầu tư bất động sản. Điều n&agrave;y đ&atilde; cho thấy khi đầu tư bất động sản kh&aacute;c với c&aacute;c ng&agrave;nh nghề kinh doanh mua b&aacute;n th&ocirc;ng thường k&egrave;m theo gi&aacute; trị BĐS cực kỳ lớn.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với nhiều ph&acirc;n kh&uacute;c loại h&igrave;nh bất động sản đang tăng nhiệt mạnh trong năm 2020 được chuy&ecirc;n gia nhận định sẽ l&agrave; d&ograve;ng sản phẩm đầy tiềm năng của thị trường như: nh&agrave; ở x&atilde; hội, văn ph&ograve;ng cho thu&ecirc;, đất nền, chung cư &ndash; căn hộ&hellip; đ&atilde; v&agrave; đang được th&uacute;c đẩy. Vậy l&agrave;m thế n&agrave;o c&oacute; thể đầu tư hiệu quả tr&ecirc;n thị trường BĐS th&igrave; tiếp sau đ&acirc;y ch&uacute;ng t&ocirc;i sẽ chia sẻ b&iacute; quyết đầu tư hiệu quả.</span></p>\n\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>B&iacute; quyết đầu tư hiệu quả:</strong></span></h2>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Mặc d&ugrave;, loại h&igrave;nh đầu tư bất động sản sẽ đem lại nguồn lợi nhuận cực kỳ cao nhưng kh&ocirc;ng phải ai cũng th&agrave;nh c&ocirc;ng v&agrave; sẽ gặp phải những rủi ro khi tham gia v&agrave;o lĩnh vực n&agrave;y. V&igrave; vậy ngo&agrave;i khả năng nhạy b&eacute;n với thị trường c&aacute;c nh&agrave; đầu tư cần phải c&oacute; kiến thức v&agrave; kỹ năng chuy&ecirc;n m&ocirc;n khi đổ những d&ograve;ng vốn của m&igrave;nh v&agrave;o bất động sản.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:center\"><img alt=\"Lam sao để dau tu bat dong san hieu qua\" src=\"https://dautubatdongsan.vn/images/nen-tham-gia-dau-tu-bat-dong-san-trong-thap-nien-moi-2020-2-1584431465.jpg\" style=\"width:600px\" /></p>\n\n<h3 dir=\"ltr\" style=\"text-align:center\"><em><span style=\"font-size:14px\">L&agrave;m sao để đầu tư bất động sản hiệu quả?</span></em></h3>\n\n<h3 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:18px\"><strong>1. Đầu tư thị trường đất nền:</strong></span></h3>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">H&igrave;nh thức đầu tư bất động sản n&agrave;y y&ecirc;u cầu nh&agrave; đầu tư phải c&oacute; nguồn vốn lớn v&agrave; t&iacute;nh chuy&ecirc;n nghiệp. V&agrave; nh&agrave; đầu tư phải c&oacute; kinh nghiệm trong lĩnh vực đầu tư bất động sản cũng như trong lĩnh vực x&acirc;y dựng. Tuy thế trong bối cảnh hiện nay đang c&oacute; nhiều nh&agrave; đầu tư kh&ocirc;ng c&oacute; nhiều vốn nhưng họ nhạy b&eacute;n v&agrave; nắm bắt được gi&aacute; trị thực tế của thị trường sinh lời cao.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><strong><em><span style=\"font-size:14px\">V&agrave; một số b&iacute; quyết cần thiết cho nh&agrave; đầu tư c&oacute; số vốn nhỏ khi tiến h&agrave;nh đầu tư theo dạng ph&acirc;n l&ocirc; đất nền:</span></em></strong></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Nắm r&otilde; c&aacute;c thủ tục ph&aacute;p l&yacute; về đất đai như chuyển đổi mục đ&iacute;ch sử dụng đất, t&aacute;ch sổ đỏ, c&aacute;c loại thuế ph&iacute;, xin giấy ph&eacute;p x&acirc;y dựng, quy hoạch, tranh chấp, mua b&aacute;n&hellip;. Đồng thời, nh&agrave; đầu tư cũng cần nắm chắc kiến thức về định gi&aacute; bất động sản.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tận dụng v&agrave; nắm bắt đ&ograve;n bẩy t&agrave;i ch&iacute;nh hợp l&yacute; (sử dụng vốn vay để ph&aacute;t triển dự &aacute;n). Mặc kh&aacute;c, nh&agrave; đầu tư cũng cần t&iacute;nh to&aacute;n một c&aacute;ch hợp l&yacute; để đảm bảo khả năng trả nợ cũng như thu hồi nguồn vốn từ dự &aacute;n.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khuyến kh&iacute;ch đầu tư v&agrave;o những khu vực c&oacute; t&iacute;nh thanh khoản tốt, vị tr&iacute; đắc địa c&ugrave;ng cơ sở hạ tầng ho&agrave;n thiện.</span></p>\n\n<h3 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:18px\"><strong>2. Đầu tư căn hộ cho thu&ecirc;:</strong></span></h3>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Việc lựa chọn đầu tư căn hộ cho thu&ecirc; rất phổ biến hiện nay v&agrave; ph&ugrave; hợp với những đối tượng c&oacute; nguồn vốn &iacute;t, kh&ocirc;ng đ&ograve;i hỏi xoay vốn, tr&aacute;nh &iacute;t rủi ro v&agrave; an to&agrave;n nhất định.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Khi bạn lựa chọn h&igrave;nh thức đầu tư n&agrave;y l&agrave; tạo ra d&ograve;ng thu nhập ổn định, vốn đầu tư cũng kh&ocirc;ng qu&aacute; lớn so với việc đầu tư v&agrave;o nh&agrave; đất thổ cư hay cả về biệt thự. Mặc kh&aacute;c, gi&aacute; trị của bất động sản cũng tăng theo thời gian. Nếu nh&agrave; đầu tư theo phương thức n&agrave;y thường d&ugrave;ng vốn tự c&oacute; đầu tư 2 căn hộ v&agrave; vay mua căn hộ thứ 3 (vay khoảng 30% gi&aacute; trị căn hộ). Sau đ&oacute;, họ sử dụng tiền cho thu&ecirc; h&agrave;ng th&aacute;ng để thanh to&aacute;n khoản vay n&agrave;y.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:center\"><span style=\"font-size:14px\">&nbsp;<img alt=\"dau tu can ho cho thue la hinh thuc pho bien hien nay\" src=\"https://dautubatdongsan.vn/images/nen-tham-gia-dau-tu-bat-dong-san-trong-thap-nien-moi-2020-3-1584431509.jpg\" style=\"width:600px\" /></span></p>\n\n<h3 dir=\"ltr\" style=\"text-align:center\"><em><span style=\"font-size:14px\">Đầu tư căn hộ cho thu&ecirc; l&agrave; h&igrave;nh thức phổ biến hiện nay</span></em></h3>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Thời gian hiện tại, c&aacute;c mức lợi tức cho thu&ecirc; nằm trong khoảng từ 0,5 &ndash; 0,7 %/gi&aacute; trị căn hộ so với số % tr&ecirc;n v&agrave; việc chờ ho&agrave;n vốn sẽ mất từ 5 &ndash; 7 năm (nếu người đầu tư c&oacute; nhiều căn hộ th&igrave; gi&aacute; trị của ch&uacute;ng sẽ c&ograve;n tăng gi&aacute; theo thời gian). Ngo&agrave;i ra, h&igrave;nh thức đầu tư căn hộ cho thu&ecirc; chỉ hiệu quả khi người đầu tư lựa chọn những dự &aacute;n đ&atilde; ho&agrave;n thiện v&agrave; c&oacute; thể cho thu&ecirc; sau khi ho&agrave;n tất c&aacute;c thủ tục mua b&aacute;n sở hữu căn hộ. Những bạn phải cần c&acirc;n nhắc lựa chọn những căn hộ nằm trong dự &aacute;n c&oacute; quy m&ocirc; lớn khi đồng bộ về hạ tầng v&agrave; dịch vụ.</span></p>\n\n<h3 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:18px\"><strong>3. Đầu tư kiểu lướt s&oacute;ng:</strong></span></h3>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Đối với h&igrave;nh thức đầu tư kiểu lướt s&oacute;ng n&agrave;y kh&aacute; mạo hiểm v&agrave; tiềm ẩn nhiều rủi ro cao hơn. Tuy nhi&ecirc;n hiện nay, c&aacute;c nh&agrave; đầu tư chuy&ecirc;n nghiệp thường rất ưa chuộng h&igrave;nh thức kiểu lướt s&oacute;ng v&igrave; nguồn lợi nhuận rất hấp dẫn kh&ocirc;ng chỉ trong một thời gian ngắn.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Kh&ocirc;ng những thế việc đầu kiểu lướt s&oacute;ng, nh&agrave; đầu tư thường c&oacute; xu hướng chọn đất nền nhiều hơn bởi ch&uacute;ng c&oacute; t&iacute;nh thanh khoản v&agrave; khả năng cho lợi nhuận gấp hai hoặc gấp ba. Để th&agrave;nh c&ocirc;ng h&igrave;nh thức n&agrave;y, bạn cần nắm chắc về khả năng thanh khoản c&ugrave;ng nguồn th&ocirc;ng tin khu vực đ&oacute; ra sao, giấy ph&eacute;p v&agrave; ph&aacute;p l&yacute; r&otilde; r&agrave;ng. Đặc biệt với những dự &aacute;n đầu tư cần t&igrave;m hiểu kỹ gi&aacute; b&aacute;n, quy hoạch, khả năng tăng gi&aacute; tr&aacute;nh t&igrave;nh trạng bong b&oacute;ng, sốt đất gi&aacute; ảo&hellip; Điều quan trọng l&agrave; kh&ocirc;ng n&ecirc;n sử dụng đ&ograve;n bảy t&agrave;i ch&iacute;nh với số vốn vượt qu&aacute; mức cho ph&eacute;p.</span></p>\n\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Tr&ecirc;n đ&acirc;y l&agrave; những b&iacute; quyết lựa chọn h&igrave;nh thức đầu tư hiệu quả cho c&aacute;c nh&agrave; đầu tư vừa v&agrave; nhỏ muốn kinh doanh trong lĩnh vực thị trường bất động sản. Hy vọng b&agrave;i viết n&agrave;y gi&uacute;p &iacute;ch phần n&agrave;o cho c&aacute;c bạn c&oacute; th&ecirc;m kiến thức, gi&uacute;p bạn kiếm tiền nhanh ch&oacute;ng v&agrave; lu&ocirc;n th&agrave;nh c&ocirc;ng nh&eacute;.</span></p>', 1, 1, 7, '2020-03-17 00:52:30', '2020-03-17 18:10:57'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `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; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `permissions` -- CREATE TABLE `permissions` ( `id` bigint(20) UNSIGNED NOT NULL, `title` text COLLATE utf8mb4_unicode_ci NOT NULL, `excerpt` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `permissions` -- INSERT INTO `permissions` (`id`, `title`, `excerpt`, `created_at`, `updated_at`) VALUES (1, 'Quản trị viên', 'Quản lý toàn bộ website ...', '2020-02-17 17:00:00', '2020-02-17 17:00:00'), (2, 'Biên tập viên', 'Đăng bài viết trong website ...', '2020-02-17 17:00:00', '2020-02-17 17:00:00'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `projects` -- CREATE TABLE `projects` ( `id` bigint(20) UNSIGNED NOT NULL, `title` text COLLATE utf8mb4_unicode_ci NOT NULL, `slug` text COLLATE utf8mb4_unicode_ci NOT NULL, `name` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `meta_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `meta_keyword` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` text COLLATE utf8mb4_unicode_ci NOT NULL, `price` text COLLATE utf8mb4_unicode_ci NOT NULL, `acreage` text COLLATE utf8mb4_unicode_ci DEFAULT '450m2', `seo_head` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `except` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `seo` tinyint(1) NOT NULL, `avatar` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `url_images` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `overview` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `investor_id` bigint(20) DEFAULT NULL, `category_id` bigint(20) NOT NULL, `map` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `view` bigint(20) NOT NULL DEFAULT 0, `review` tinyint(1) DEFAULT 0, `state` int(11) NOT NULL, `status` tinyint(1) NOT NULL, `user_id` bigint(20) UNSIGNED NOT NULL DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `projects` -- INSERT INTO `projects` (`id`, `title`, `slug`, `name`, `meta_description`, `meta_keyword`, `address`, `price`, `acreage`, `seo_head`, `except`, `seo`, `avatar`, `url_images`, `overview`, `investor_id`, `category_id`, `map`, `view`, `review`, `state`, `status`, `user_id`, `created_at`, `updated_at`) VALUES (65, 'Dự <NAME> Căn hộ tương lai cho gia đình trẻ tại quận 9', 'du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9', NULL, 'Dự án Ricca nằm trong dự án Khu dân cư Rio Centro, phường Phú Hữu, Quận 9. Đây là dự án khu căn hộ chuẩn mực, ngay mặt tiền đường D7, góc giao với đường Gò Cát, cách đường Nguyễn Duy Trinh khoảng 550m, dự kiến cung ứng ra thị trường nhà ở Quận 9 gần 550 căn hộ chất lượng...', 'dự án bất động sản, dự án ricca quận 9, dự án bất động sản tphcm, bán căn hộ mặt tiền', 'D7 Gò Cát, phường Phú Hữu, Quận 9, TPHCM', '29tr/m2', '50 - 75', NULL, 'Dự án Ricca nằm trong dự án Khu dân cư Rio Centro, phường Phú Hữu, Quận 9. Đây là dự án khu căn hộ chuẩn mực, ngay mặt tiền đường D7, góc giao với đường Gò Cát, cách đường Nguyễn Duy Trinh khoảng 550m, dự kiến cung ứng ra thị trường nhà ở Quận 9 gần 550 căn hộ chất lượng.', 1, 'projects/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9.jpg', '[\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-0.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-1.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-2.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-3.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-4.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-5.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-6.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-7.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-8.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-9.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-10.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-11.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-12.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-13.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-14.jpg\",\"projects\\/du-an-ricca-can-ho-tuong-lai-cho-gia-dinh-tre-tai-quan-9-15.jpg\"]', '<h2 dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:20px\">Tổng quan dự &aacute;n Rica Quận 9 TPHCM</span></strong></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ T&ecirc;n dự &aacute;n: Ricca</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Chủ đầu tư: C&ocirc;ng ty TNHH X&acirc;y dựng Thương mại Dịch vụ T&acirc;n Ph&uacute;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đơn vị ph&aacute;t triển: Rio Land</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Nh&agrave; thầu x&acirc;y dựng: Phước Th&agrave;nh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thiết kế kiến tr&uacute;c: Green Design</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Vị tr&iacute; dự &aacute;n: D7 G&ograve; C&aacute;t, phường Ph&uacute; Hữu, Quận 9</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tổng diện t&iacute;ch đất: 12,657.3 m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Mật độ x&acirc;y dựng dự kiến: 30%</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Quy m&ocirc;: Dự &aacute;n bao gồm 2 Block, cao 18 tầng, diện t&iacute;ch từ 50 &ndash; 75m2 (1PN &ndash; 3PN)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Số lượng căn hộ dự kiến: 549 căn hộ v&agrave; 23 căn Shophouse</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ B&agrave;n giao: Ho&agrave;n thiện cơ bản</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thời gian b&agrave;n giao: Qu&yacute; 4 /2021</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Ph&aacute;p l&yacute;: Sổ hồng, sở hữu l&acirc;u d&agrave;i với người Việt Nam</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Gi&aacute; b&aacute;n tham khảo: 29 triệu/m2 (Chưa VAT)</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:20px\">Vị tr&iacute; dự &aacute;n căn hộ Ricca Quận 9</span></strong></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n căn hộ Ricca tọa lạc ngay g&oacute;c giao đường D7 v&agrave; đường G&ograve; C&aacute;t, phường Ph&uacute; Hữu, Quận 9, c&aacute;ch V&ograve;ng xoay Ph&uacute; Hữu khoảng 1.5km. Trong đ&oacute;, đường D7 c&oacute; lộ giới 30m, trong tương lai sẽ kết nối trực tiếp với Khu đ&ocirc; thị C&aacute;t L&aacute;i Quận 2, th&ocirc;ng tuyến trực tiếp với đường V&otilde; Ch&iacute; C&ocirc;ng (V&agrave;nh đai 2), cùng lợi th&ecirc;́ ti&ecirc;́p cận nhanh chóng đ&ecirc;́n nhi&ecirc;̀u tuy&ecirc;́n đường huy&ecirc;́t mạch của khu Đông TP.HCM như đại lộ Mai Chí Thọ, c&acirc;̀u Sài Gòn, Vành đai 3,&hellip; gi&uacute;p cư d&acirc;n sống tại Ricca thuận lợi di chuyển đến c&aacute;c quận, huyện kh&aacute;c nhau trong th&agrave;nh phố cũng như c&aacute;c tỉnh v&ugrave;ng Đ&ocirc;ng Nam Bộ.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">&nbsp;Vị tr&iacute; dự &aacute;n Ricca c&ograve;n c&aacute;ch trục đường Nguyễn Duy Trinh 550m, gần cao tốc TP.HCM - Long Th&agrave;nh - Dầu Gi&acirc;y, c&oacute; thể di chuyển nhanh ch&oacute;ng đến Trung t&acirc;m t&agrave;i ch&iacute;nh mới Thủ Thi&ecirc;m trong v&ograve;ng 12 - 15 ph&uacute;t đi xe m&aacute;y, kết nối to&agrave;n bộ trung t&acirc;m Quận 9 trong v&ograve;ng b&aacute;n k&iacute;nh 3km. B&ecirc;n cạnh đ&oacute;, vị tr&iacute; dự &aacute;n Ricca c&ograve;n thuộc khu d&acirc;n cư được quy hoạch đồng bộ, an ninh, văn minh v&agrave; hưởng trọn bầu kh&ocirc;ng kh&iacute; trong l&agrave;nh của khu vực nhiều c&acirc;y xanh n&agrave;y.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:20px\">Tiện &iacute;ch dự &aacute;n căn hộ Ricca Quận 9</span></strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với mật độ x&acirc;y dựng dự kiến khoảng 30%, chủ đầu tư ch&uacute; trọng mang hệ thống tiện &iacute;ch thiết thực v&agrave;o cuộc sống của cư d&acirc;n tại dự &aacute;n Ricca như:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">&nbsp;+ C&ocirc;ng vi&ecirc;n c&acirc;y xanh nội khu</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Hồ bơi</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Minimart</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Nh&agrave; cộng đồng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ S&acirc;n chơi trẻ em</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ S&acirc;n thể thao đa năng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Gym v&agrave; Yoga</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Ph&ograve;ng sinh hoạt cộng đồng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Nh&agrave; trẻ</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">&nbsp;B&ecirc;n cạnh đ&oacute;, dự &aacute;n Ricca c&ograve;n mang đến cho cư d&acirc;n cuộc sống sống an nhi&ecirc;n, thoải m&aacute;i với bảo vệ, camera gi&aacute;m s&aacute;t 24/7, c&ugrave;ng với dịch vụ bảo tr&igrave;, bảo dưỡng kịp thời. Tất cả mang đến một kh&ocirc;ng gian sống an ninh, tiện nghi cho mỗi gia đ&igrave;nh sống tại Ricca.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:20px\">Tiện &iacute;ch ngoại khu dự &aacute;n căn hộ Ricca Quận 9</span></strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Cư d&acirc;n sống tại dự &aacute;n Ricca chỉ mất v&agrave;i ph&uacute;t để di chuyển đến c&aacute;c tiện &iacute;ch khu vực hiện hữu như:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trong v&ograve;ng 5 ph&uacute;t: Chợ Ph&uacute; Hữu, UBND Ph&uacute; Hữu, Trung t&acirc;m y tế, TTTM Aeon Mall Quận 9.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trong v&ograve;ng 10 ph&uacute;t: Cộng hưởng tiện &iacute;ch từ Khu đ&ocirc; thị Sala, Đại H<NAME>, s&acirc;n Golf Quận 9, Khu du lịch BCR</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, cư d&acirc;n c&ograve;n thuận tiện di chuyển đến Khu C&ocirc;ng nghệ cao TP.HCM tr&ecirc;n Xa lộ H&agrave; Nội, Khu du lịch Suối Ti&ecirc;n hay trong tương lai l&agrave; TTTM Sense City sầm uất sắp sửa được x&acirc;y dựng.</span></p>', NULL, 7, NULL, 20, 1, 1, 1, 1, '2020-03-07 09:07:16', '2020-03-16 20:58:32'), (66, 'Dự án DLusso Căn hộ ven sông thoáng mát và đa tiện ích', 'du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich', NULL, 'Dự án D’Lusso ngay mặt tiền đườ<NAME>, phường An Phú là dự án căn hộ tiếp theo ra mắt tại Quận 2. D’Lusso dự kiến đưa ra thị trường gần 500 căn hộ ven sông Giồng Ông Tố thoáng mát với đa dạng tiện ích hấp dẫn...', 'dự án bất động sản, dự án DLusso quận 2, dự án bất động sản tphcm, bán căn hộ mặt tiền', 'Đườ<NAME>, phường An Phú, Quận 2, TPHCM', '52 - 55tr/m2', '46 – 100', NULL, 'Dự án D’Lusso ngay mặt tiền đường N<NAME>, phường An Phú là dự án căn hộ tiếp theo ra mắt tại Quận 2. D’Lusso dự kiến đưa ra thị trường gần 500 căn hộ ven sông Giồng Ông Tố thoáng mát với đa dạng tiện ích hấp dẫn.', 1, 'projects/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich.jpg', '[\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-0.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-1.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-2.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-3.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-4.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-5.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-6.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-7.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-8.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-9.jpg\",\"projects\\/du-an-dlusso-can-ho-ven-song-thoang-mat-va-da-tien-ich-10.jpg\"]', '<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tổng quan dự &aacute;n căn hộ D&rsquo;Lusso Quận 2</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ T&ecirc;n dự &aacute;n: D&rsquo;Lusso</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Chủ đầu tư: C&ocirc;ng ty TNHH Kinh Doanh Địa Ốc Minh Th&ocirc;ng (th&agrave;nh vi&ecirc;n C&ocirc;ng ty Điền Ph&uacute;c Thanh)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Vị tr&iacute;: đường Nguyễn Thị Định, phường An Ph&uacute;, Quận 2, TP.HCM</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Diện t&iacute;ch khu đất: 11,513m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Quy m&ocirc;: 2 block cao 22 tầng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tổng số căn hộ: 461 căn</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Diện t&iacute;ch căn hộ: 46 &ndash; 100m2 (căn hộ 1 &ndash; 3 ph&ograve;ng ngủ) v&agrave; Penthouse</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ H&igrave;nh thức sở hữu: Sở hữu l&acirc;u d&agrave;i đối với người Việt Nam, 50 năm đối với người nước ngo&agrave;i</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thời điểm khởi c&ocirc;ng: Qu&yacute; IV/2019</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thời điểm b&agrave;n giao dự kiến: Qu&yacute; IV/2021</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Vị tr&iacute; dự &aacute;n căn hộ D&rsquo;Lusso Quận 2</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n D&rsquo;Lusso nằm ngay mặt tiền đường Nguyễ<NAME> Định, phường An Ph&uacute;, Quận 2, ven s&ocirc;ng Giồng &Ocirc;ng Tố th&ocirc;ng tho&aacute;ng. Vị tr&iacute; dự &aacute;n c&oacute; lợi thế gần với đoạn giao đường Song h&agrave;nh cao tốc TP.HCM &ndash; Long Th&agrave;nh &ndash; Dầu Gi&acirc;y v&agrave; cầu Giồng &Ocirc;ng Tố, c&oacute; thể thuận tiện kết nối với về trung t&acirc;m Quận 2, c&aacute;c khu đ&ocirc; thị lớn Quận 2 v&agrave; Khu C&ocirc;ng nghệ cao TP.HCM tại Quận 9.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Từ vị tr&iacute; dự &aacute;n D&rsquo;Lusso th&ocirc;ng qua n&uacute;t giao th&ocirc;ng An Ph&uacute;, cư d&acirc;n c&oacute; thể nhanh ch&oacute;ng di chuyển:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đến Quận 1, Quận 4 khoảng 10 ph&uacute;t</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đến Quận B&igrave;nh Thạnh khoảng 15 ph&uacute;t</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đến Khu C&ocirc;ng nghệ cao TP.HCM Quận 9 khoảng 15 ph&uacute;t</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh đ&oacute;, dự &aacute;n D&rsquo;Lusso c&ograve;n nằm ở vị tr&iacute; trung t&acirc;m của những khu đ&ocirc; thị lớn tại Quận 2 như:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trung t&acirc;m li&ecirc;n hiệp TDTT Nam Rạch Chiếc</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu City Horse, APAK, S&agrave;i G&ograve;n Sport City</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu đ&ocirc; thị mới Thủ Thi&ecirc;m</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu d&acirc;n cư Palm City v&agrave; Lakeview</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu d&acirc;n cư Thạnh Mỹ Lợi</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch nội khu dự &aacute;n căn hộ D&rsquo;Lusso Quận 2</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n D&rsquo;Lusso sở hữu hệ thống tiện &iacute;ch nội khu ấn tượng, được c&aacute;c chuy&ecirc;n gia đ&aacute;nh gi&aacute; cao. B&ecirc;n cạnh d&atilde;y shophouse khối đế, chủ đầu tư c&ograve;n ch&uacute; trọng thiết kế cảnh quan nội khu th&ocirc;ng tho&aacute;ng, c&ugrave;ng đa dạng tiện &iacute;ch như:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu thể thao: hồ bơi, đường chạy bộ ven s&ocirc;ng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Sảnh đ&oacute;n kh&aacute;ch sang trọng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Rạp h&aacute;t ngo&agrave;i trời</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu vui chơi trẻ em</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Nh&agrave; giữ trẻ</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trung t&acirc;m thương mại</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu ẩm thực</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Dịch vụ spa</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thư viện</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu BBQ</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch khu vực dự &aacute;n căn hộ D&rsquo;Lusso Quận 2</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Cư d&acirc;n sống tại dự &aacute;n D&rsquo;Lusso c&oacute; thể thoải m&aacute;i mua sắm, vui chơi, giải tr&iacute; tại: chợ Nguyễ<NAME>, hệ thống si&ecirc;u thị mini tr&ecirc;n trục đường Nguyễn Duy Trinh, si&ecirc;u thị Co.op Mart, Big C, Vincom Mega Mall Thảo Điền, Estella Palace,&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Trẻ nhỏ c&oacute; thể học tập tại hệ thống trường c&ocirc;ng lập từ mẫu gi&aacute;o đến THPT chỉ c&aacute;ch nh&agrave; 5 &ndash; 10 ph&uacute;t di chuyển. B&ecirc;n cạnh đ&oacute; c&ograve;n c&oacute; hệ thống trường quốc tế, từ căn hộ D&rsquo;Lusso cực kỳ thuận tiện để di chuyển đến: TAS, AIS, BIS,&hellip;</span></p>', NULL, 7, NULL, 19, 1, 2, 1, 1, '2020-03-08 01:42:40', '2020-03-16 19:59:35'), (67, 'Dự án Picity High Park Vị trí đắt địa, nhiều mảng xanh và tiện ích nội khu', 'du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu', NULL, 'Dự án căn hộ Picity High Park do Công ty TNHH MTV Đầu Tư Phát Triển Gia Cư làm chủ đầu tư, được xây dựng trên khu đất rộng 8.6 hecta. Đây là dự án có quỹ đất xây dựng lớn nhất khu vực phía Tây Bắc thành phố hiện nay, trong khi mật độ xây dựng chỉ chiếm khoảng 23% tổng diện tích...', 'dự án bất động sản, dự án Picity Hign Park quận 2, dự án bất động sản tphcm, bán căn hộ mặt tiền', 'Số 9A, đường Thạnh Xuân 13, phường Thạnh Xuân, Quận 12, TPHCM', '29.9tr/m2', '48 – 79', NULL, 'Dự án căn hộ Picity High Park do Công ty TNHH MTV Đầu Tư Phát Triển Gia Cư làm chủ đầu tư, được xây dựng trên khu đất rộng 8.6 hecta. Đây là dự án có quỹ đất xây dựng lớn nhất khu vực phía Tây Bắc thành phố hiện nay, trong khi mật độ xây dựng chỉ chiếm khoảng 23% tổng diện tích.', 1, 'projects/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu.jpg', '[\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-0.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-1.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-2.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-3.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-4.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-5.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-6.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-7.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-8.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-9.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-10.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-11.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-12.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-13.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-14.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-15.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-16.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-17.jpg\",\"projects\\/du-an-picity-high-park-vi-tri-dat-dia-nhieu-mang-xanh-va-tien-ich-noi-khu-tai-quan-2-18.jpg\"]', '<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tổng quan dự &aacute;n Picity High Park Quận 12</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ T&ecirc;n dự &aacute;n: Picity High Park&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Chủ đầu tư: C&ocirc;ng ty TNHH MTV Đầu Tư Ph&aacute;t Triển Gia Cư (th&agrave;nh vi&ecirc;n Tập đo&agrave;n Pi Group)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Địa chỉ: Số 9A, đường Thạnh Xu&acirc;n 13 (TX 13), phường Thạnh Xu&acirc;n, Quận 12, TP.HCM</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tổng diện t&iacute;ch: 86,000m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tổng số block: 6 block</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Số tầng: 15 &ndash; 18 tầng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tổng số căn hộ: 2,577 căn</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Mật độ x&acirc;y dựng: 23%</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Diện t&iacute;ch căn hộ: 48m2 &ndash; 79m2</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Vị tr&iacute; dự &aacute;n Picity High Park Quận 12</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Picity High Park tọa lạc ngay mặt tiền đường Thạnh Xu&acirc;n 13, phường Thạnh Xu&acirc;n, Quận 12, nằm cạnh Quốc lộ 1A, gần b&ecirc;n Quốc lộ 13 v&agrave; Quốc lộ 22. Từ vị tr&iacute; dự &aacute;n Picity High Park, cư d&acirc;n c&oacute; thể thuận tiện di chuyển về quận B&igrave;nh Thạnh, Thủ Đức, T&acirc;n B&igrave;nh, G&ograve; Vấp cũng như th&agrave;nh phố mới B&igrave;nh Dương.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Th&ecirc;m v&agrave;o đ&oacute;, chủ đầu tư c&ograve;n x&acirc;y dựng cầu đường kết nối từ dự &aacute;n đến đường L&ecirc; Thị Ri&ecirc;ng, tạo điều kiện kết nối nhanh ch&oacute;ng đến trung t&acirc;m h&agrave;nh ch&iacute;nh Quận 12. Đồng thời, cư d&acirc;n sống tại dự &aacute;n Picity High Park c&ograve;n dễ d&agrave;ng kết nối với c&aacute;c điểm kinh tế v&agrave; tiện &iacute;ch cận kề, như:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 10 Ph&uacute;t: Đến si&ecirc;u thị Mega Hiệp Ph&uacute;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 15 Ph&uacute;t: Đến S&acirc;n bay T&acirc;n Sơn Nhất</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 15 Ph&uacute;t: Trung t&acirc;m thương mại Vincom G&ograve; Vấp</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 15 Ph&uacute;t: Đến đường Phạm Văn Đồng, Bệnh viện G&ograve; Vấp</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 30 Ph&uacute;t: Bến xe Miền Đ&ocirc;ng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 35 Ph&uacute;t: Đến trung t&acirc;m Quận 1</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 35 Ph&uacute;t: Đến chợ Bến Th&agrave;nh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh đ&oacute;, quanh Picity High Park c&ograve;n c&oacute; đề &aacute;n x&acirc;y dựng cầu sắt An Ph&uacute; Đ&ocirc;ng tr&ecirc;n s&ocirc;ng V&agrave;m Thuật sắp triển khai. Đ&acirc;y l&agrave; c&acirc;y cầu sẽ nối liền Quận 12 với Quận G&ograve; Vấp, gi&uacute;p giảm tải giao th&ocirc;ng, hứa hẹn l&agrave; đ&ograve;n bẩy th&uacute;c đẩy tăng nhanh gi&aacute; trị cho bất động sản tại khu vực n&agrave;y.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, dự &aacute;n Picity High Park c&ograve;n nằm ngay khu vực G&ograve; Sao, c&oacute; vị tr&iacute; đất cao hơn so với c&aacute;c khu vực xung quanh, cư d&acirc;n sống tại đ&acirc;y c&oacute; thể bỏ đi mối lo về vấn đề triều cường v&agrave;o m&ugrave;a mưa.&nbsp;</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch dự &aacute;n Picity High Park Quận 12</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Theo quy hoạch tổng thể, dự &aacute;n Picity High Park c&oacute; quy m&ocirc; rộng 8.6 hecta, trong đ&oacute; diện t&iacute;ch x&acirc;y dựng chiếm khoảng 23%. Gần 80% diện t&iacute;ch c&ograve;n dự &aacute;n d&agrave;nh cho c&aacute;c tiện &iacute;ch nội khu như shophouse, cảnh quan trung t&acirc;m, vui chơi trẻ em, sinh hoạt cộng đồng, khu BBQ, đường chạy bộ 3km, ph&ograve;ng tập thể dục đa chức năng.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Khu&ocirc;n vi&ecirc;n dự &aacute;n Picity High Park c&oacute; c&ocirc;ng vi&ecirc;n c&acirc;y xanh rộng đến 3ha, hồ bơi tr&agrave;n bờ đạt chuẩn Olympic, đường chạy bộ d&agrave;i 3km, khu thương mại shophouse, cảnh quan trung t&acirc;m, khu sinh hoạt cộng đồng, khu nướng BBQ, ph&ograve;ng tập thể dục đa chức năng,&hellip; Tất cả tạo n&ecirc;n một kh&ocirc;ng gian sống vừa tiện nghi, hiện đại, nhưng cũng rất gần gũi, chan h&ograve;a với thi&ecirc;n nhi&ecirc;n.</span></p>', NULL, 7, NULL, 26, 1, 2, 1, 1, '2020-03-08 08:52:25', '2020-03-16 19:59:16'), (68, 'Dự án Verosa Park Khang Điền Quần thể nhà phố, biệt thự cao cấp', 'du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap', NULL, 'Dự án Verosa Park có quy mô 8.1ha, do Công ty Cổ phần Đầu tư và Kinh doanh nhà Khang Điền làm chủ đầu tư. Dự án Verosa Park bao gồm các nhà phố liền kề, biệt thự đơn lập và song lập, với diện tích từ 75 – 150m2. Vị trí dự án Verosa Park Khang Điền nằm gần vòng xoay Liên Phường, phường Phú Hữu, Quận 9, từ đây thuận lợi di chuyển đến các khu vực khác trong thành phố...', 'dự án bất động sản, dự án verosa park quận 9, dự án bất động sản tphcm, dự án nhà phố, dự án biệt thự cao cấp', 'Li<NAME>, phường Ph<NAME>, Quận 9, TPHCM', 'Từ 10.5tỷ/căn', '75 - 150', NULL, 'Dự án Verosa Park có quy mô 8.1ha, do Công ty Cổ phần Đầu tư và Kinh doanh nhà Khang Điền làm chủ đầu tư. Dự án Verosa Park bao gồm các nhà phố liền kề, biệt thự đơn lập và song lập, với diện tích từ 75 – 150m2. Vị trí dự án Verosa Park Khang Điền nằm gần vòng xoay Li<NAME>, phường Ph<NAME>, Quận 9, từ đây thuận lợi di chuyển đến các khu vực khác trong thành phố.', 1, 'projects/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap.jpg', '[\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-0.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-1.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-2.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-3.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-4.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-5.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-6.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-7.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-8.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-9.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-10.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-11.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-12.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-13.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-14.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-15.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-16.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-17.jpg\",\"projects\\/du-an-verosa-park-khang-dien-quan-the-nha-pho-biet-thu-cao-cap-18.jpg\"]', '<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Th&ocirc;ng tin tổng quan dự &aacute;n Verosa Park Khang Điền</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ T&ecirc;n dự &aacute;n: Verosa Park</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Vị tr&iacute;: Li&ecirc;n Phường, Ph&uacute; Hữu, Quận 9</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Quy m&ocirc;: 8.1ha gồm 2 khu The Garden v&agrave; The Green&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Số lượng sản phẩm: 296 căn nh&agrave; phố vườn, 3-4 tầng&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Diện t&iacute;ch nh&agrave; liền kề: (5 x 15m; 5 x 17m; 5 x 19m; 5 x 20m); (6 x 15m; 6 x 17m, 6 x 18m, 6 x 20m)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Ph&aacute;p l&yacute;: Sổ hồng, sở hữu l&acirc;u d&agrave;i&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ B&agrave;n giao: Ho&agrave;n thiện mặt ngo&agrave;i, giao th&ocirc; b&ecirc;n trong</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Ho&agrave;n th&agrave;nh dự &aacute;n: Qu&yacute; 1/2020</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đơn vị thi c&ocirc;ng: Ricons&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Quản l&yacute; vận h&agrave;nh: Savills</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thiết kế cảnh quan: Ong&amp;Ong</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Gi&aacute; b&aacute;n dự kiến đợt 1 (gi&aacute; đ&atilde; bao gồm gi&aacute; đất v&agrave; nh&agrave;): căn 5m x 15m gi&aacute; 10.5 tỷ; căn 5m x 17m gi&aacute; 12.5 tỷ; căn 5m x 21m gi&aacute; 13.5 tỷ; căn 6m x 17m gi&aacute; 13.5 tỷ; căn 6m x 18m gi&aacute; 14.5 tỷ; căn 6m x 20m gi&aacute; 17 tỷ; căn g&oacute;c 130 - 150m2 gi&aacute; 17.5 tỷ - 21 tỷ.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiến độ dự &aacute;n Verosa Park Khang Điền</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Th&aacute;ng 06: &Eacute;p cọc, thử tải</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Th&aacute;ng 08: Ho&agrave;n thiện m&oacute;ng, hạ tầng cảnh quan</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Th&aacute;ng 10: Ra mắt dự &aacute;n (dự kiến)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ph&aacute;p l&yacute; dự &aacute;n: Quy hoạch 1/500, sổ hồng ri&ecirc;ng, sở hữu ổn định l&acirc;u d&agrave;i.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Vị tr&iacute; dự &aacute;n Verosa Park Khang Điền</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Verosa Park Khang Điền tọa lạc gần điểm giao giữa đường Li&ecirc;n Phường v&agrave; đường V&otilde; Ch&iacute; C&ocirc;ng (V&agrave;nh Đai 2), tại phường Ph&uacute; Hữu, Quận 9. Verosa Park nằm cạnh b&ecirc;n quỹ đất d&agrave;nh cho x&acirc;y dựng TTTM Aeon Mall, gi&aacute;p b&ecirc;n Khu c&ocirc;ng nghệ cao Quận 9.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Từ vị tr&iacute; dự &aacute;n Verosa Park Quận 9, cư d&acirc;n c&oacute; thể nhanh ch&oacute;ng tiếp cận đến Khu c&ocirc;ng nghệ cao, cảng C&aacute;i L&aacute;i, cao tốc TP.HCM &ndash; Long Th&agrave;nh &ndash; Dầu Gi&acirc;y,&hellip; v&agrave; sau n&agrave;y c&ograve;n c&oacute; ga Metro B&igrave;nh Th&aacute;i thuộc tuyến Metro Bến Th&agrave;nh &ndash; Suối Ti&ecirc;n.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Cư d&acirc;n sống tại dự &aacute;n Verosa Park cũng thuận tiện di chuyển đến c&aacute;c khu vực kh&aacute;c nhau trong th&agrave;nh phố th&ocirc;ng qua c&aacute;c tuyến đường lớn, trọng điểm như:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đến Trung t&acirc;m t&agrave;i ch&iacute;nh mới Thủ Thi&ecirc;m th&ocirc;ng qua cao tốc TP.HCM - Long Th&agrave;nh - Dầu Gi&acirc;y, đại lộ Mai Ch&iacute; Thọ: 8,6km &ndash; 14 ph&uacute;t.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đến trung t&acirc;m Quận 1 th&ocirc;ng qua Cao tốc TP.HCM - Long Th&agrave;nh - Dầu Gi&acirc;y, đại lộ Mai Ch&iacute; Thọ, hầm Thủ Thi&ecirc;m: 12km &ndash; 21 ph&uacute;t.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đến Ph&uacute; Mỹ Hưng th&ocirc;ng qua đường V&agrave;nh Đai Trong, cầu Ph&uacute; Mỹ, đại lộ Nguyễn Văn Linh: 11,8km &ndash; 20 ph&uacute;t.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ V&agrave; dễ d&agrave;ng di chuyển đến quận B&igrave;nh Thạnh, quận Thủ Đức, c&aacute;c trung t&acirc;m mua sắm, khu vui chơi. Dự &aacute;n cũng gần c&aacute;c khu đ&ocirc; thị mới tại Quận 2 v&agrave; Quận 9 như: Palm City, Lake View City, Himlam &ndash; B&igrave;nh An, S&agrave;i G&ograve;n Sport City, Vinhomes Grand Park,&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Verosa Park c&ograve;n nằm trong khu vực được TP.HCM ch&uacute; trọng đầu tư n&acirc;ng cấp, mở rộng hạ tầng giao th&ocirc;ng: kh&eacute;p k&iacute;n V&agrave;nh Đai 2, mở rộng đường Đỗ Xu&acirc;n Hợp v&agrave; đường Li&ecirc;n Phường l&ecirc;n 30m, thi c&ocirc;ng đường Song H&agrave;nh, ho&agrave;n thiện V&ograve;ng Xoay Mỹ Thủy, thi c&ocirc;ng V&agrave;nh Đai 3,&hellip;&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Song song với thế mạnh kết nối v&ugrave;ng cao, dự &aacute;n Verosa Park cũng nằm ở vị tr&iacute; y&ecirc;n tĩnh, giữ khoảng c&aacute;ch vừa phải với c&aacute;c trục đường lớn, từ đ&oacute; hạn chế ảnh hưởng của kh&oacute;i bụi, tiếng ồn,&hellip; Th&iacute;ch hợp với những gia đ&igrave;nh mong muốn t&igrave;m nơi an cư l&acirc;u d&agrave;i, an y&ecirc;n.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch nội khu dự &aacute;n Verosa Park Khang Điền</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Verosa Park Khang Điền được chủ đầu tư Khang Điền ch&uacute; trọng đầu tư hệ thống tiện &iacute;ch đa dạng, đầy đủ trong một khu compound kh&eacute;p k&iacute;n, được x&acirc;y tường bao xung quanh v&agrave; c&aacute;c chốt bảo vệ đảm bảo an ninh cho dự &aacute;n.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Cư d&acirc;n sống b&ecirc;n trong dự &aacute;n Verosa Pak được đảm bảo chất lượng cuộc sống đẳng cấp, sang trọng, an ninh tuyệt đối b&ecirc;n cạnh một m&ocirc;i trường v&agrave; kh&ocirc;ng gian xanh đ&uacute;ng chuẩn nghỉ dưỡng:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Hồ cảnh quan, C&ocirc;ng vi&ecirc;n c&acirc;y xanh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Hồ bơi tr&agrave;n với thiết kế cực kỳ đẹp v&agrave; s&aacute;ng tạo</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Si&ecirc;u thị mini tiện &iacute;ch cho c&aacute;c gia đ&igrave;nh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Ph&ograve;ng Gym đầy đủ trang thiết bị.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ S&acirc;n thể thao đa năng, s&acirc;n Tenis.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu vui chơi trẻ em</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Khu tổ chức tiệc nướng BBQ&hellip;</span></p>', NULL, 3, NULL, 20, 1, 1, 1, 1, '2020-03-08 09:27:33', '2020-03-18 20:18:52'); INSERT INTO `projects` (`id`, `title`, `slug`, `name`, `meta_description`, `meta_keyword`, `address`, `price`, `acreage`, `seo_head`, `except`, `seo`, `avatar`, `url_images`, `overview`, `investor_id`, `category_id`, `map`, `view`, `review`, `state`, `status`, `user_id`, `created_at`, `updated_at`) VALUES (70, 'Dự án Sunshine Diamond River Khu đô thị đẳng cấp bên sông Sài Gòn', 'du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon', NULL, 'Dự án Sunshine Diamond River do Tập đoàn Sunshine Group làm chủ đầu tư, tọa lạc ngay mặt tiền đường Đào Trí, phường Phú Thuận, Quận 7, TP. Hồ Chí Minh với quy mô gần 12 hecta cùng tổng mức vốn đầu tư lên đến 25,000 tỷ đồng. Đây là khu căn hộ sở hữu 3 mặt view trực diện sông Sài Gòn cùng hơn 80% số lượng căn hộ view sông...', 'dự án bất động sản, dự án sunshine diamond river quận 7, dự án bất động sản tphcm, dự án nhà phố, dự án khu đô thị cao cấp, đầu tư bất động sản', 'đườ<NAME>, phường Phú Thuận, Quận 7, TPHCM', '53 - 62tr/m2', '45 – 180', NULL, 'Dự án Sunshine Diamond River do Tập đoàn Sunshine Group làm chủ đầu tư, tọa lạc ngay mặt tiền đường Đ<NAME>, phường Ph<NAME>, Quận 7, TP. Hồ Chí Minh với quy mô gần 12 hecta cùng tổng mức vốn đầu tư lên đến 25,000 tỷ đồng. Đây là khu căn hộ sở hữu 3 mặt view trực diện sông Sài Gòn cùng hơn 80% số lượng căn hộ view sông.', 1, 'projects/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon.jpg', '[\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-0.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-1.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-2.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-3.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-4.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-5.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-6.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-7.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-8.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-9.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-10.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-11.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-12.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-13.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-14.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-15.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-16.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-17.jpg\",\"projects\\/du-an-sunshine-diamond-river-khu-do-thi-dang-cap-ben-song-sai-gon-18.jpg\"]', '<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tổng quan dự &aacute;n Sunshine Diamond River Quận 7</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Chủ đầu tư: Sunshine Group</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Vị tr&iacute;: 422 Đ&agrave;o Tr&iacute;, phường Ph&uacute; Thuận, Quận 7, TP.HCM</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tổng thầu x&acirc;y dựng: An Phong</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Nh&agrave; thầu cơ điện: REE</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tổng diện t&iacute;ch: 112,585m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Mật độ x&acirc;y dựng: 23,6%</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Quy m&ocirc;: dự kiến gồm 8 Block, 4000 căn hộ cao cấp</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Loại h&igrave;nh sản phẩm: căn hộ, officetel, shophouse, sky villas</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Diện t&iacute;ch căn hộ: 45 &ndash; 180m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ B&agrave;n giao: Smart Home, nội thất ho&agrave;n thiện cao cấp nhập khẩu từ &Yacute; b&ecirc;n trong v&agrave; full k&iacute;nh Low-E b&ecirc;n ngo&agrave;i</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Loại h&igrave;nh sở hữu: Sở hữu l&acirc;u d&agrave;i đối với người Việt Nam v&agrave; 50 năm đối với người nước ngo&agrave;i</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Vị tr&iacute; dự &aacute;n Sunshine Diamond River Quận 7</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Tọa lạc ngay vị tr&iacute; đắc địa, s&aacute;t b&ecirc;n ng&atilde; ba s&ocirc;ng S&agrave;i G&ograve;n giao với s&ocirc;ng Đồng Nai, cạnh cầu Ph&uacute; Mỹ, 3 mặt kế cận nguồn nước mang lại sinh kh&iacute; lộc t&agrave;i, khu căn hộ cao cấp v&agrave; trung t&acirc;m thương mại Sunshine Diamond River hứa hẹn mang đến ph&uacute; qu&yacute;, an l&agrave;nh cho những chủ nh&acirc;n chọn nơi đ&acirc;y l&agrave;m chốn an cư lạc nghiệp.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Đặc biệt, dự &aacute;n Sunshine Diamond River c&ograve;n liền kề với si&ecirc;u dự &aacute;n Saigon Peninsula (Mũi Đ&egrave;n Đỏ), đ&acirc;y l&agrave; đ&ograve;n bẩy tỷ đ&ocirc; th&uacute;c đẩy ph&aacute;t triển, n&acirc;ng cao gi&aacute; trị của khu vực Đ&agrave;o Tr&iacute; n&oacute;i ri&ecirc;ng v&agrave; khu Nam S&agrave;i G&ograve;n n&oacute;i chung.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Từ vị tr&iacute; dự &aacute;n Sunshine Diamond River c&oacute; thể nhanh ch&oacute;ng kết nối đến:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 05 ph&uacute;t đến Khu đ&ocirc; thị Ph&uacute; Mỹ Hưng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 10 ph&uacute;t đến Khu đ&ocirc; thị mới Thủ Thi&ecirc;m, Quận 2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ 15 ph&uacute;t đến trung t&acirc;m Quận 1</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch nội khu dự &aacute;n Sunshine Diamond River</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với ti&ecirc;u ch&iacute; hướng đến một &ldquo;quần thể xanh, hiện đại, th&ocirc;ng minh&rdquo;, một &ldquo;th&agrave;nh phố xa hoa v&agrave; đẳng cấp&rdquo;, đ&aacute;nh thức sự thịnh vượng của S&agrave;i G&ograve;n, chủ đầu tư Sunshine Group ch&uacute; trọng đầu tư hệ thống 25 tiện &iacute;ch nội khu đẳng cấp:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Bến du thuyền</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đường ho&agrave;ng h&ocirc;n</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Th&aacute;c nhiệt đới</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ C&ocirc;ng vi&ecirc;n bốn m&ugrave;a</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ C&ocirc;ng vi&ecirc;n nước</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đường dạo bộ tr&ecirc;n m&aacute;i</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Vườn treo</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Tuyến phố thương mại</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Eco System</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thư viện</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Đ&agrave;i phun nước nghệ thuật</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Hồ c&aacute; Koi</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ S&ocirc;ng đ&agrave;o nội khu</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Citizen Pool</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ S&rsquo;caf&eacute;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Sky Pool</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Rạp chiếu phim</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Hair &amp; Nail Salon</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Gym &ndash; Finess</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Hidden Valley</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Sunshine Mart</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ B&atilde;i đỗ xe th&ocirc;ng minh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trung t&acirc;m ngoại ngữ</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Sunshine school</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Điểm dừng xe bus</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Trong đ&oacute;, bến du thuyền mang đến một loại h&igrave;nh vận tải kết nối giao th&ocirc;ng ho&agrave;n to&agrave;n mới: hệ thống du thuyền Azimut đẳng cấp đưa đ&oacute;n cư d&acirc;n từ bến du thuyền nội khu tới c&aacute;c điểm Water bus dọc s&ocirc;ng S&agrave;i G&ograve;n kết hợp c&ugrave;ng hệ thống đặt xe Sunshine Cab đảm bảo cư d&acirc;n lu&ocirc;n được thoải m&aacute;i, thuận tiện trong di chuyển kh&ocirc;ng c&ograve;n lo kẹt xe, n&oacute;ng bức.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Hệ thống Eco System th&acirc;n thiện m&ocirc;i trường bao gồm: hệ thống t&aacute;i chế nước thải, pin mặt trời, hệ thống thu thập v&agrave; lọc nước mưa,&hellip; nhằm mang đến lối sống XANH &ndash; TH&Ocirc;NG MINH ngay trong căn nh&agrave;.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch ngoại khu dự &aacute;n Sunshine Diamond River</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh đ&oacute;, cư d&acirc;n sinh sống tại dự &aacute;n Sunshine Diamond River cũng dễ d&agrave;ng v&agrave; thuận tiện khi kết nối với tiện &iacute;ch sẵn c&oacute;:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trung t&acirc;m mua sắm, si&ecirc;u thị, nh&agrave; h&agrave;ng, caf&eacute; như: Big C (c&aacute;ch 300 m&eacute;t), Crescent Mall (500 m&eacute;t), Vivo City (10 ph&uacute;t xe m&aacute;y), Lotte Mart, trung t&acirc;m tiệc cưới Adora, The Coffee House, White House.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trường học quốc tế: H&agrave;n Quốc, Đ&agrave;i Loan, Nhật Bản, Renaissance, trường Nam S&agrave;i G&ograve;n, đại học quốc tế RMIT, đại học T&ocirc;n Đức Thắng, đại học T&agrave;i Ch&iacute;nh &ndash; Marketing, trường Đinh Thiện L&yacute;.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Trung t&acirc;m t&agrave;i ch&iacute;nh &ndash; ng&acirc;n h&agrave;ng: Trung t&acirc;m t&agrave;i ch&iacute;nh Ph&uacute; Mỹ Hưng, ng&acirc;n h&agrave;ng ACB, Sacombank, Vietcombank, Vietinbank,&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Bệnh viện quốc tế Việt &ndash; Ph&aacute;p, bệnh viện tim T&acirc;m Đức, bệnh viện Đa Khoa Quận 7</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Salon Auto như: Toyota, Mercedes &ndash; Ben, Kia, Hyundai,&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ C&aacute;c t&ograve;a nh&agrave; văn ph&ograve;ng, trung t&acirc;m hội chợ như: Petro Tower, Vinamilk, PV Gas, SECC, Maple Tree,&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Sunshine Diamond River hứa hẹn kiến tạo phong c&aacute;ch sống nghỉ dưỡng th&ocirc;ng minh, hiện đại, đồng thời đem đến những gi&aacute; trị đỉnh cao v&agrave; t&aacute;i tạo năng lượng.</span></p>', NULL, 7, NULL, 40, 1, 1, 1, 1, '2020-03-08 20:19:20', '2020-03-17 17:08:49'), (73, 'Dự án Sunshine Venicia Tuyệt tác Ý bên sông Sài Gòn tại quận 2', 'du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2', NULL, 'Vị trí dự án Sunshine Venicia nằm ở đường số 39, phường Bình An, Quận 2, liền kề khu đô thị Thủ Thiêm. Dự án khi ra mắt thị trường (dự kiến quý 2/2020) hứa hẹn sẽ là một “Tuyệt tác Ý bên sông Sài Gòn”. Với việc dự án Sunshine Venicia sắp ra mắt tới đây sẽ cung cấp đáng kể nguồn cung căn hộ hạng sang cho thị trường bất động sản TP.HCM, đồng thời giải quyết nhu cầu đầu tư loại hình căn hộ \"triệu đô\" cho những khách hàng vốn mạnh...', 'dự án bất động sản, dự án sunshine venicia quận 2, dự án bất động sản tphcm, dự án căn hộ hạng san, dự án căn hộ cao cấp, đầu tư bất động sản', 'Đường số 39, phường Bình An, Quận 2, TPHCM', '139.8 - 163.1tr/m²', '50 - 200', NULL, 'Vị trí dự án Sunshine Venicia nằm ở đường số 39, phường Bình An, Quận 2, liền kề khu đô thị Thủ Thiêm. Dự án khi ra mắt thị trường (dự kiến quý 2/2020) hứa hẹn sẽ là một “Tuyệt tác Ý bên sông Sài Gòn”. Với việc dự án Sunshine Venicia sắp ra mắt tới đây sẽ cung cấp đáng kể nguồn cung căn hộ hạng sang cho thị trường bất động sản TP.HCM, đồng thời giải quyết nhu cầu đầu tư loại hình căn hộ \"triệu đô\" cho những khách hàng vốn mạnh.', 1, 'projects/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2.jpg', '[\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-0.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-1.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-2.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-3.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-4.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-5.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-6.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-7.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-8.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-9.jpg\",\"projects\\/du-an-sunshine-venicia-tuyet-tac-y-ben-song-sai-gon-tai-quan-2-10.jpg\"]', '<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tổng quan dự &aacute;n Sunshine Venicia Quận 2</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ T&ecirc;n dự &aacute;n: Sunshine Venicia</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Vị tr&iacute;: đường số 39, phường B&igrave;nh An, Quận 2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Quy m&ocirc;: 2 block cao 26 tầng&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Số lượng căn hộ: 256 căn hộ v&agrave; 8 penthouse</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Diện t&iacute;ch căn hộ: 50 - 200m2 (từ 1 đến 4 ph&ograve;ng ngủ)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Gi&aacute; b&aacute;n dự kiến: 6,000$ - 7,000$/m2 (Khoảng 140 - 160 triệu/m2)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thời điểm ra mắt dự kiến: 15/04/2020</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">+ Thời điểm b&agrave;n giao dự kiến: Qu&yacute; IV/2021</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với một tập đo&agrave;n được định danh l&agrave; ti&ecirc;n phong trong việc ứng dụng c&ocirc;ng nghệ 4.0 v&agrave;o bất động sản như Sunshine Group, lẽ dĩ nhi&ecirc;n, c&aacute;c căn hộ, sky villas thuộc dự &aacute;n Sunshine Venicia sắp ra mắt tới đ&acirc;y cũng sẽ đưa v&agrave;o những ứng dụng th&ocirc;ng minh, nh&agrave; ở Smart Home... d&ugrave;ng c&ocirc;ng nghệ để phục vụ v&agrave; l&agrave;m thay đổi cuộc sống.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Một số c&ocirc;ng nghệ kh&ocirc;ng thể kh&ocirc;ng nhắc đến m&agrave; Sunshine Group sẽ đưa v&agrave;o c&aacute;c sản phẩm nh&agrave; ở của họ như: hệ thống k&iacute;nh LowE cao cấp c&oacute; khả năng thay đổi m&agrave;u sắc bằng cảm ứng, thang m&aacute;y chọn điểm đến, chu&ocirc;ng h&igrave;nh kỹ thuật số, Face ID, Full SmartHome, điểm đỗ xe th&ocirc;ng minh, thanh to&aacute;n trực tuyến&hellip;&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh c&aacute;c ứng dụng c&ocirc;ng nghệ kể tr&ecirc;n c&ograve;n c&oacute; hệ thống dịch vụ đặc quyền chuy&ecirc;n biệt của Sunshine Group, cho ph&eacute;p mọi y&ecirc;u cầu của cư d&acirc;n đều c&oacute; thể được đưa ra v&agrave; được thoả m&atilde;n v&agrave;o bất kỳ thời điểm n&agrave;o. Đơn cử, l&agrave; c&aacute;c g&oacute;i Quản gia ri&ecirc;ng/Hệ thống đ&agrave;o tạo quản gia chuy&ecirc;n biệt hay dịch vụ cung cấp xe si&ecirc;u sang Sunshine Cab 24/7 ri&ecirc;ng cho từng căn hộ, từng m&atilde; cư d&acirc;n với ti&ecirc;u chuẩn 5 sao c&ugrave;ng chỗ đỗ &ocirc; t&ocirc; ri&ecirc;ng trong tầng hầm.&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Theo chủ đầu tư Sunshine Group, mỗi căn hộ sẽ vượt tr&ecirc;n kh&aacute;i niệm th&ocirc;ng thường v&igrave; n&oacute; l&agrave; một bảo t&agrave;ng thu nhỏ, nơi lưu giữ v&agrave; ph&aacute;t triển những di sản tốt đẹp của gia đ&igrave;nh. Từng chi tiết nội thất đặt h&agrave;ng trực tiếp từ Italia, được chau chuốt, tỉ mỉ bởi b&agrave;n tay, khối &oacute;c của những thợ thủ c&ocirc;ng l&agrave;nh nghề từ những thương hiệu &Yacute; h&agrave;ng trăm năm tuổi.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Hiện tại th&ocirc;ng tin chi tiết về dự &aacute;n Sunshine Venicia vẫn chưa được c&ocirc;ng bố ch&iacute;nh thức, ngay khi c&oacute; th&ocirc;ng tin, Rever sẽ cập nhật đến qu&yacute; kh&aacute;ch h&agrave;ng.</span></p>', NULL, 3, NULL, 13, 1, 2, 1, 1, '2020-03-10 09:54:13', '2020-03-18 00:03:39'), (76, 'Dự án Alpha Hill Căn hộ hạng sang tại trung tâm quận 1 TPHCM', 'du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm', NULL, 'Dự án Alpha Hill nằm trong khu phức hợp Alpha City, là dòng sản phẩm căn hộ hạng sang có vị trí đắc địa tại trung tâm Quận 1. Dự án Alpha Hill do tập đoàn Alpha King làm chủ đầu tư, có quy mô 8.320 m2 với kết cấu 2 toà tháp đôi cao 48 tầng, với 1.074 căn hộ hạng sang...', 'dự án bất động sản, dự án alpha hill quận 1, dự án bất động sản tphcm, dự án căn hộ hạng san, dự án căn hộ cao cấp, đầu tư bất động sản', '87 Cống Quỳnh, phường Nguyễn Cư Trinh, Quận 1', '186.4 - 256.4tr/m2', '28 - 124', NULL, 'Dự án Alpha Hill nằm trong khu phức hợp Alpha City, là dòng sản phẩm căn hộ hạng sang có vị trí đắc địa tại trung tâm Quận 1. Dự án Alpha Hill do tập đoàn Alpha King làm chủ đầu tư, có quy mô 8.320 m2 với kết cấu 2 toà tháp đôi cao 48 tầng, với 1.074 căn hộ hạng sang.', 1, 'projects/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm.jpg', '[\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-0.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-1.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-2.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-3.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-4.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-5.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-6.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-7.jpg\",\"projects\\/du-an-alpha-hill-can-ho-hang-sang-tai-trung-tam-quan-1-tphcm-8.jpg\"]', '<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">C&aacute;c căn hộ Alpha Hill c&oacute; diện t&iacute;ch đa dạng từ 28 - 124m2, loại h&igrave;nh 1 - 3 ph&ograve;ng ngủ. Dự &aacute;n Alpha Hill hiện đang triển khai mở b&aacute;n giai đoạn 2 với t&ograve;a th&aacute;p B, tổng số căn hộ mở b&aacute;n đợt n&agrave;y khoảng 500 căn với mức gi&aacute; dao động từ 8.000 - 11.000 USD/m2. Rever vinh dự l&agrave; đơn vị ph&acirc;n phối ch&iacute;nh thức của dự &aacute;n Alpha Hill giai đoạn 2.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tổng quan dự &aacute;n Alpha Hill - Alpha City</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">T&ecirc;n dự &aacute;n: Alpha Hill, thuộc khu phức hợp Alpha City</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Vị tr&iacute;: 87 Cống Quỳnh, phường Nguyễn Cư Trinh, Quận 1 (ngay g&oacute;c đường Cống Quỳnh v&agrave; Nguyễn Cư Trinh)</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Chủ đầu tư dự &aacute;n Alpha Hill: tập đo&agrave;n bất động sản quốc tế Alpha King</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Quy m&ocirc; dự &aacute;n Alpha Hill: 8.320m2, bao gồm 2 block cao 48 tầng, trong đ&oacute; 8 tầng thương mại v&agrave; 40 tầng d&agrave;nh cho căn hộ</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Tổng số căn hộ Alpha Hill: gồm 1.076 căn hộ hạng sang</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 1 ph&ograve;ng ngủ Alpha Hill: Diện t&iacute;ch từ 28 &ndash; 45m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 2 ph&ograve;ng ngủ Alpha Hill: Diện t&iacute;ch từ 92m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 3 ph&ograve;ng ngủ Alpha Hill: Diện t&iacute;ch tr&ecirc;n 120m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Gi&aacute; b&aacute;n dự kiến căn hộ Alpha Hill: Từ 8.000 &ndash; 10.000 USD</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Thời gian b&agrave;n giao dự kiến: Qu&yacute; 4/2021</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Th&ocirc;ng tin vị tr&iacute; dự &aacute;n Alpha Hill</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Alpha Hill tọa lạc tại địa chỉ 87 Cống Quỳnh, phường N<NAME>, Quận 1 (ngay g&oacute;c đường Cống Quỳnh v&agrave; Nguyễn Cư Trinh). Đ&acirc;y l&agrave; một trong những vị tr&iacute; c&oacute; gi&aacute; đất cao nhất tr&ecirc;n thị trường bất động sản TP.HCM hiện nay. Trong tương lai, dự &aacute;n Alpha Hill n&oacute;i ri&ecirc;ng v&agrave; khu phức hợp Alpha City n&oacute;i chung sẽ trở th&agrave;nh biểu tượng mới của th&agrave;nh phố khi ho&agrave;n thiện v&agrave;o năm 2021 với hai t&ograve;a th&aacute;p đ&ocirc;i cao 48 tầng, thiết kế tuyệt đẹp. C&oacute; thể thấy rằng quỹ đất v&agrave;ng tại trung t&acirc;m quận 1 đang ng&agrave;y c&agrave;ng khan hiếm, do đ&oacute; dự &aacute;n Alpha Hill với hơn 8.000m2 sẽ l&agrave; những lựa chọn cuối c&ugrave;ng cho kh&aacute;ch h&agrave;ng th&iacute;ch khu vực trung t&acirc;m S&agrave;i G&ograve;n.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Từ vị tr&iacute; dự &aacute;n Alpha Hill, cư d&acirc;n chỉ mất:</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">4 ph&uacute;t để đi đến phố đi bộ B&ugrave;i Viện</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">5 ph&uacute;t để đi đến c&ocirc;ng vi&ecirc;n 23/9</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">5 ph&uacute;t để đi đến chợ Bến Th&agrave;nh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, dự &aacute;n Alpha Hill chỉ c&aacute;ch tuyến Metro số 3A khoảng 400m đi bộ, đ&acirc;y thực sự l&agrave; vị tr&iacute; qu&aacute; tốt để mua ở cũng như để đầu tư.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Thiết kế dự &aacute;n Alpha Hill</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Alpha Hill được thiết kế bởi c&aacute;c nh&agrave; thiết kế h&agrave;ng đầu thế giới như: DPA (Singapore) &ndash; Benoy (Anh) &ndash; Inhabit (Singapore). Mỗi hạng mục của dự &aacute;n Alpha Hill đều lựa chọn c&ocirc;ng ty thiết kế tốt nhất thế giới. Chi tiết từng loại thiết bị căn hộ Alpha Hill đều cao cấp đến từ c&aacute;c thương hiệu lớn như:: Krislight, Inoci, Kaderwei,Bosch,Delta,Blanco,&hellip; b&agrave;n giao full 100% nội thất dọn v&agrave;o ở ngay.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Đặc biệt, tại dự &aacute;n Alpha Hill c&ograve;n c&oacute; những căn hộ biến h&igrave;nh đầu ti&ecirc;n v&agrave; duy nhất tại Việt Nam, chỉ v&agrave;i thao t&aacute;c điều khiển đơn giản, kh&ocirc;ng gian sống của bạn sẽ chuyển đổi linh hoạt giữa c&aacute;c t&iacute;nh năng sinh sống, l&agrave;m việc v&agrave; giải tr&iacute;.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Chủ đầu tư dự &aacute;n Alpha Hill</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Alpha Hill l&agrave; dự &aacute;n căn hộ hạng sang thuộc dự &aacute;n phức hợp Alpha City của Chủ Đầu Tư Alpha King - đ&acirc;y l&agrave; c&ocirc;ng ty đa quốc gia với kinh nghiệm chuy&ecirc;n s&acirc;u về c&aacute;c lĩnh vực ph&aacute;t triển, đầu tư v&agrave; quản l&yacute; bất động sản. Một số th&agrave;nh tựu của tập đo&agrave;n Alpha King trong mảng đầu tư, ph&aacute;t triển v&agrave; quản l&yacute; dự &aacute;n như: Kh&aacute;ch sạn Peninsula - Thượng Hải, Disney Land - Thượng Hải, Lang Kwai Fong - Hongkong v&agrave; Xintiandi - Thượng Hải.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch dự &aacute;n Alpha Hill</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Alpha Hill được t&iacute;ch hợp 30 tiện &iacute;ch đẳng cấp v&agrave; độc đ&aacute;o gồm: Hồ bơi người lớn, Khu Jacuzzi, Hồ bơi trẻ em, Pool bar, Khu BBQ, Veranda Gallery Bar, Khu vui chơi trẻ em, Đường chạy bộ d&agrave;i, Lối dạo cảnh quan, Vườn t&igrave;nh y&ecirc;u, Điểm check-in ngắm th&agrave;nh phố, Pool Cabana, Cityview Cabana, Forest Cabana, Đường dạo Aqua Breeze, Khu ghế nằm thư gi&atilde;n, Đ&agrave;i phun nước, Th&aacute;c nước y&ecirc;n b&igrave;nh, Giếng trời Alpha Mall, Premium lounge, Yoga, Gym.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>C&aacute;c cột mốc thời gian quan trọng khi triển khai dự &aacute;n Alpha Hill</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ng&agrave;y 6/5/2019: Lễ ra qu&acirc;n v&agrave; Lễ k&yacute; kết dự &aacute;n Alpha Hill.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ng&agrave;y 7/5/2019 - 9/5/2019: Tham quan căn hộ mẫu d&agrave;nh ri&ecirc;ng cho đại l&yacute; ph&acirc;n phối.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ng&agrave;y 10/5/2019: Sự kiện khai trương căn hộ mẫu d&agrave;nh cho kh&aacute;ch h&agrave;ng v&agrave; ch&iacute;nh thức nhận đặt giữ chỗ</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Th&aacute;ng 6, th&aacute;ng 7/2019: Dự kiến mở b&aacute;n 500 căn hộ. Tỉ lệ mở b&aacute;n: 60% căn hộ 1PN, 30% căn hộ 2PN v&agrave; 10% căn hộ 3PN.</span></p>', NULL, 7, NULL, 16, 1, 1, 1, 1, '2020-03-11 02:26:00', '2020-03-18 00:03:39'), (77, 'Dự án NovaWorld Phan Thiết Quần thể nghỉ dưỡng giải trí đỉnh cao', 'du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao', NULL, 'NovaWorld Phan Thiết tọa lạc tại xã Tiến Thành, thành phố Phan Thiết, tỉnh Bình Thuận. Dự án có quy mô gần 1.000ha với đường bờ biển dài 7km. Từ vị trí dự án NovaWorld Phan Thiết, du khách nghỉ dưỡng có thể tiếp cận đến cảng hàng không Phan Thiết sắp hình thành trong tương lai, trục cao tốc Phan Thiết – Dầu Giây sắp khởi công trong quý 3/2020 kết nối du lịch 3 vùng TP.HCM – Phan Thiết – Nha Trang...', 'dự án bất động sản, dự án novaworld phan thiết, dự án bất động sản bình thuận, dự án căn hộ hạng san, dự án căn hộ cao cấp, đầu tư bất động sản', 'Xã Tiến Thành, thành phố Phan Thiết, tỉnh Bình Thuận', '3.3 - 6.5tỷ/căn', '100 - 240', NULL, 'NovaWorld Phan Thiết tọa lạc tại xã Tiến Thành, thành phố Phan Thiết, tỉnh Bình Thuận. Dự án có quy mô gần 1.000ha với đường bờ biển dài 7km. Từ vị trí dự án NovaWorld Phan Thiết, du khách nghỉ dưỡng có thể tiếp cận đến cảng hàng không Phan Thiết sắp hình thành trong tương lai, trục cao tốc Phan Thiết – Dầu Giây sắp khởi công trong quý 3/2020 kết nối du lịch 3 vùng TP.HCM – Phan Thiết – Nha Trang.', 1, 'projects/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao.jpg', '[\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-0.jpg\",\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-1.jpg\",\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-2.jpg\",\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-3.jpg\",\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-4.jpg\",\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-5.jpg\",\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-6.jpg\",\"projects\\/du-an-novaworld-phan-thiet-quan-the-nghi-duong-giai-tri-dinh-cao-7.jpg\"]', '<p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:14px\">Dự &aacute;n NovaWorld Phan Thiết c&oacute; đa dạng c&aacute;c sản phẩm để đầu tư như: nh&agrave; phố, nh&agrave; phố thương mại, biệt thự nghỉ dưỡng... với tầm nh&igrave;n hướng ra khung cảnh biển. Đặc biệt, dự &aacute;n NovaWorld Phan Thiết hội tụ chuỗi tiện &iacute;ch giải tr&iacute; đẳng cấp lần đầu ti&ecirc;n xuất hiện tại khu vực Phan Thiết như: 2 s&acirc;n g&ocirc;n 18 lỗ ti&ecirc;u chuẩn quốc tế, được thiết kế v&agrave; quản l&yacute; thi c&ocirc;ng bởi Huyền thoại g&ocirc;n thế giới - <NAME>;&nbsp; cụm c&ocirc;ng vi&ecirc;n chủ đề, c&ocirc;ng vi&ecirc;n nước, vườn th&uacute; petting zoo; khu c&ocirc;ng vi&ecirc;n biển 16ha&hellip;</span></strong></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch dự &aacute;n NovaWorld Phan Thiết</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Chuỗi tiện &iacute;ch dự &aacute;n NovaWorld Phan Thiết được chia th&agrave;nh c&aacute;c cụm ri&ecirc;ng biệt, cụ thể:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 01 &ndash; KHU VỰC TRUNG T&Acirc;M bao gồm: Casino/Kh&aacute;ch sạn; Trung t&acirc;m Hội nghị Quốc tế; Khu Thương mại; B&atilde;i đậu xe; Quảng trường (Sảnh sự kiện); Hồ nước mặn.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 02 &ndash; S&Acirc;N GOLF bao gồm: Thi đấu (18 lỗ); Cho kh&aacute;ch du lịch; CLB Golf; S&acirc;n tập Golf; S&acirc;n bay trực thăng.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 03 &ndash; C&Ocirc;NG VI&Ecirc;N GIẢI TR&Iacute; bao gồm: C&ocirc;ng vi&ecirc;n chủ đề; C&ocirc;ng vi&ecirc;n nước; Vườn th&uacute; nu&ocirc;i; Qu&aacute;n c&agrave; ph&ecirc; Hươu cao cổ; Quảng trường trung t&acirc;m; B&atilde;i đậu xe.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 04 &ndash; HOẠT ĐỘNG B&Atilde;I BIỂN (BIKINI BEACH) bao gồm: Phố ẩm thực giải tr&iacute;; C&ocirc;ng vi&ecirc;n trẻ em; C&ocirc;ng vi&ecirc;n thể thao nước; Hồ bơi nh&acirc;n tạo; Bến t&agrave;u/CLB biển; Khu v&aacute;n bay.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 5A &ndash; CHỢ N&Ocirc;NG SẢN &amp; THỦ C&Ocirc;NG MỸ NGHỆ TRUYỀN THỐNG bao gồm: Chợ tr&aacute;i c&acirc;y địa phương; Chợ thực phẩm hữu cơ; Chợ đ&ecirc;m; Phố ẩm thực; Vườn Thanh Long; Nh&agrave; trồng c&acirc;y.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 06 &ndash; HỌC VIỆN THỂ DỤC THỂ THAO bao gồm: S&acirc;n vận động c&oacute; m&aacute;i che; S&acirc;n b&oacute;ng đ&aacute; sức chứa 10.000 người; Khu thể thao ngo&agrave;i trời.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 07 &ndash; C&Aacute;C HOẠT ĐỘNG NGO&Agrave;I TRỜI bao gồm: Leo n&uacute;i/Xe đạp/Cắm trại; Khu cưỡi ngựa; Team Building; C&aacute;c chuyến phi&ecirc;u lưu rừng; Tr&ograve; chơi d&acirc;n gian; Khu r&egrave;n luyện kỹ năng cho trẻ em.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 08 &ndash; TRƯỜNG HỌC bao gồm: Đại học Kh&aacute;ch sạn &amp; Du lịch; Trường THPT; Trường THCS; Trường Tiểu học; Trường dạy nghề.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 09 &ndash; KHU PHỨC HỢP NGHỈ DƯỠNG bao gồm: Khu nghỉ dưỡng; Biệt thự thương hiệu (Branded Villas); Khu nghỉ dưỡng độc nhất (Exclusive Resort); Khu nghỉ dưỡng 5 sao; Khu nghỉ dưỡng 4 sao.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 10 &ndash; KHU PHỨC HỢP NGHỈ DƯỠNG bao gồm: Kh&aacute;ch sạn; Biệt thự thương hiệu (Branded Villas); Kh&aacute;ch sạn 5 sao; Kh&aacute;ch sạn Boutique; Kh&aacute;ch sạn 4 sao; Kh&aacute;ch sạn 3 sao.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 11 &ndash; L&Agrave;NG CHỦ ĐỀ THẾ GIỚI bao gồm: Nh&agrave; ở (chủ đề 8 quốc gia); Cửa h&agrave;ng (chủ đề 8 quốc gia); Nh&agrave; trưng b&agrave;y văn h&oacute;a; C&ocirc;ng tr&igrave;nh biểu tượng.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 12 &ndash; PHỐ THƯƠNG MẠI bao gồm: D&atilde;y thương mại; Nh&agrave; phố thương mại; Nh&agrave; kh&aacute;ch; Kh&aacute;ch sạn 2 sao.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 13 &ndash; ĐỒNG CỎ XANH bao gồm: Cỏ/C&acirc;y lớn; Đường chạy (Jogging Trail)/Ghế nghỉ.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 14 &ndash; PHƯƠNG TIỆN GIAO TH&Ocirc;NG bao gồm: Xe Bus ngoại khu; Xe Bus nội khu; Xe điện nội khu; Xe đạp; C&aacute;c phương Tiện kh&aacute;c.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 15 &ndash; KHU NĂNG LƯỢNG XANH bao gồm: Th&agrave;nh phố th&ocirc;ng minh; Hệ thống năng lượng mặt trời/năng lượng gi&oacute;; Hệ thống Tiết kiệm nước.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 16 &ndash; C&Aacute;C TIỆN &Iacute;CH TH&Agrave;NH PHỐ bao gồm: Trung t&acirc;m kiểm so&aacute;t Fch hợp; Trung t&acirc;m dự ph&ograve;ng Fch hợp; Ph&ograve;ng kh&aacute;m bệnh; Trạm cứu hỏa.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 17 &ndash; BIỆT THỰ bao gồm: Biệt thự thương hiệu (Branded Villas); Khu Villa Compounds; Khu d&acirc;n cư địa phương.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">CỤM 18 &ndash; C&Aacute;C ĐIỂM ĐẾN KH&Aacute;C bao gồm: V&ograve;ng xoay mặt trời; Th&aacute;c nước; Đấu trường Colosseum; C&ocirc;ng tr&igrave;nh biểu tượng.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Gi&aacute; b&aacute;n v&agrave; Lịch thanh to&aacute;n dự &aacute;n NovaWorld Phan Thiết</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Lịch thanh to&aacute;n dự &aacute;n NovaWorld Phan Thiết rất linh hoạt, thanh to&aacute;n trong 2 - 5 năm với mức thanh to&aacute;n đợt đầu chỉ khoảng 500 triệu đồng. Gi&aacute; b&aacute;n NovaWorld Phan Thiết dự kiến như sau:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch: 5x20 gi&aacute; b&aacute;n 3,3 tỷ đồng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch: 6x20 gi&aacute; b&aacute;n 3,9 tỷ đồng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch: 6x24 gi&aacute; b&aacute;n 4,5 tỷ đồng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch: 8x20 gi&aacute; b&aacute;n 4,9 tỷ đồng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch: 10x20 gi&aacute; b&aacute;n 5,5 tỷ đồng</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch: 12x20 gi&aacute; b&aacute;n 6,5 tỷ đồng</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>5 ưu điểm của dự &aacute;n NovaWorld Phan Thiết</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Thứ nhất:</strong> Phan Thiết nằm trong Tam Gi&aacute;c V&agrave;ng Du Lịch quốc gia với sự ph&aacute;t triển vượt bậc v&agrave; đồng bộ 04 đường KH&Ocirc;NG &ndash; THỦY &ndash; BỘ - SẮT.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Thứ hai: </strong>T&acirc;m huyết của nh&agrave; ph&aacute;t triển, n&acirc;ng tầm cuộc sống tạo ra cộng đồng thịnh vượng mang chuẩn quốc tế.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Thứ ba:</strong> Đại đ&ocirc; thị du lịch giải tr&iacute; nghỉ dưỡng gần 1000 ha với hơn 1000 tiện &iacute;ch thể thao giải tr&iacute; nghỉ dưỡng t&iacute;ch hợp, hội tụ tinh hoa kiến tr&uacute;c thế giới.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Thứ tư:</strong> BĐS đa năng &ndash; Gi&aacute; trị gia tăng &ndash; Đầu tư hiệu quả, Đa dạng loại h&igrave;nh BĐS: Grand villa, Villa, Mini villa, Townhouse, Shophouse, Shoptel, Hotel..</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Thứ năm:</strong> Một sản phẩm t&acirc;m huyết của tập đo&agrave;n Novaland.</span></p>', NULL, 8, NULL, 8, 1, 1, 1, 1, '2020-03-13 02:23:05', '2020-03-18 00:03:39'), (78, 'Dự án The Marq Nằm giữa những tiện ích nổi bật của TPHCM', 'du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm', NULL, 'Sau các thương vụ hợp tác với Sơn Kim Land trong dự án The Nassim Thảo Điền, hợp tác với CII trong dự án Thủ Thiêm River Park, danh sách đầu tư của chủ đầu tư Hongkong Land mới được bổ sung thêm một cái tên: Dự án cao cấp 29B <NAME>, tên thương mại là dự án The Marq...', 'dự án bất động sản, dự án the marq quận 1, dự án bất động sản tphcm, dự án căn hộ hạng san, dự án căn hộ cao cấp, đầu tư bất động sản', '29B, <NAME>, phường Đa Kao, Quận 1, TPHCM', '151.5 - 186.4tr/m2', '45 - 146', NULL, 'Sau các thương vụ hợp tác với Sơn Kim Land trong dự án The Nassim Thảo Điền, hợp tác với CII trong dự án Thủ Thiêm River Park, danh sách đầu tư của chủ đầu tư Hongkong Land mới được bổ sung thêm một cái tên: Dự án cao cấp 29B Nguyễ<NAME>, tên thương mại là dự án The Marq...', 1, 'projects/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm.jpg', '[\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-0.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-1.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-2.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-3.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-4.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-5.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-6.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-7.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-8.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-9.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-10.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-11.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-12.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-13.jpg\",\"projects\\/du-an-the-marq-nam-giua-nhung-tien-ich-noi-bat-cua-tphcm-14.jpg\"]', '<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Dự &aacute;n The Marq c&oacute; diện t&iacute;ch đất 0.5 ha, tổng diện t&iacute;ch s&agrave;n x&acirc;y dựng 57.000 m2 với 515 căn hộ hạng sang, quy m&ocirc; dự &aacute;n gồm 2 block căn hộ với 4 tầng hầm v&agrave; 26 tầng cao. Dự &aacute;n The Marq tọa lại tại địa chỉ 29B, Nguyễn Đ&igrave;nh Chiểu, phường Đa Kao, Quận 1, TP.HCM.</strong></span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Vị tr&iacute; dự &aacute;n The Marq nằm giữa trung t&acirc;m của những tiện &iacute;ch bậc nhất th&agrave;nh phố. Kh&ocirc;ng cần đi đ&acirc;u xa, ngay dưới ch&acirc;n cư d&acirc;n l&agrave; một th&agrave;nh phố thu nhỏ với đầy đủ tiện &iacute;ch, dịch vụ sống chất lượng. Từ văn ph&ograve;ng, trường học, trung t&acirc;m thương mại, c&ocirc;ng vi&ecirc;n, bệnh viện, khu mua sắm cao cấp, si&ecirc;u thị, nh&agrave; h&agrave;ng ẩm thực...</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n The Marq c&oacute; c&aacute;c loại căn hộ gồm: căn hộ 1 ph&ograve;ng ngủ: diện t&iacute;ch 45 - 79 m&sup2;, căn hộ 2 ph&ograve;ng ngủ: diện t&iacute;ch 72 - 85 m&sup2;, căn hộ 3 ph&ograve;ng ngủ: diện t&iacute;ch 109 - 129 m&sup2;, căn hộ 4 ph&ograve;ng ngủ: diện t&iacute;ch 144 - 146 m&sup2;, căn hộ Penthouse: diện t&iacute;ch 234 - 250 m&sup2;.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Th&ocirc;ng tin tổng quan dự &aacute;n The Marq Quận 1&nbsp;</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">T&ecirc;n dự &aacute;n: The Marq.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Địa chỉ: 29B Nguyễn Đ&igrave;nh Chiểu, phường Đa Kao, Quận 1.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Chủ đầu tư: Hongkong Land</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Đơn vị thi c&ocirc;ng: Coteccons.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Quy m&ocirc; dự &aacute;n: Khoảng 5.146m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Số block căn hộ: 2 block cao 26 tầng + 3 tầng hầm + 1 tầng lửng.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Số căn hộ: 515 căn hộ.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Loại h&igrave;nh: căn hộ cao cấp 6 sao + văn ph&ograve;ng.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dạng căn hộ: 1 - 4 ph&ograve;ng ngủ, penthouse.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Diện t&iacute;ch căn hộ: 45 - 146 m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 1 ph&ograve;ng ngủ: 45 - 79 m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 2 ph&ograve;ng ngủ: 72 - 85 m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 3 ph&ograve;ng ngủ điển h&igrave;nh (kh&ocirc;ng c&oacute; sảnh thang m&aacute;y ri&ecirc;ng): 109 - 110 m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 3 ph&ograve;ng ngủ đặc biệt (c&oacute; sảnh thang m&aacute;y ri&ecirc;ng): 121 - 129 m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ 4 ph&ograve;ng ngủ (c&oacute; sảnh thang m&aacute;y ri&ecirc;ng): 144 - 146 m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Penthouse (c&oacute; sảnh thang m&aacute;y ri&ecirc;ng): 234 - 250 m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Chỗ đậu xe dự kiến: 345 chỗ oto + 520 chỗ xe m&aacute;y.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Mật độ x&acirc;y dựng: 45%..</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Mật độ căn hộ/s&agrave;n: 10 căn/s&agrave;n.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Tiện &iacute;ch nổi bật: Hồ bơi 30 m&eacute;t, thư viện, vườn cảnh quan, sky club, sky bar, ph&ograve;ng chi&ecirc;u đ&atilde;i tiệc....</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Gi&aacute; b&aacute;n dự kiến: 6.500 - 8.000 USD/m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ph&aacute;p l&yacute;: người Việt Nam sở hữu l&acirc;u d&agrave;i; người nước ngo&agrave;i 50 năm.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Năm khởi c&ocirc;ng: 2018.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Năm ho&agrave;n thiện dự kiến: 2022.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Lịch tr&igrave;nh triển khai dự &aacute;n The Marq (Dự kiến)</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n c&oacute; ph&aacute;p l&yacute; sạch 100%, hiện đ&atilde; c&oacute; đầy đủ sổ đỏ khu đất, đ&atilde; đ&oacute;ng tiền sử dụng đất v&agrave; đặc biệt dự &aacute;n đ&atilde; c&oacute; Giấy ph&eacute;p x&acirc;y dựng phần th&acirc;n.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ng&agrave;y 26/3/2019, mở cửa nh&agrave; mẫu đ&oacute;n kh&aacute;ch.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ng&agrave;y 26/3/2019, ch&iacute;nh thức nhận Booking giữ chỗ.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự kiến tuần 1 - 2 th&aacute;ng 5/2019, tổ chức event mở b&aacute;n.</span></p>', NULL, 7, NULL, 6, 1, 1, 1, 1, '2020-03-13 18:58:02', '2020-03-18 00:03:39'); INSERT INTO `projects` (`id`, `title`, `slug`, `name`, `meta_description`, `meta_keyword`, `address`, `price`, `acreage`, `seo_head`, `except`, `seo`, `avatar`, `url_images`, `overview`, `investor_id`, `category_id`, `map`, `view`, `review`, `state`, `status`, `user_id`, `created_at`, `updated_at`) VALUES (79, 'Dự án Sunshine City Sài Gòn Dự án căn hộ cao cấp thượng lưu tại TPHCM', 'du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm', NULL, 'Tọa lạc trên quỹ đất gần 10 ha ngay ngã tư đường Phú Thuận – Huỳnh Tấn Phát, Quận 7 với quy mô 9 block, Sunshine City Sài Gòn là siêu dự án đang gây sốt thị trường bất động sản TP.HCM những tháng cuối năm 2018 và đầu 2019. Được biết, tổng vốn đầu tư dự án lên đến 10.000 tỷ đồng, cung ứng cho thị trường hơn 3.000 căn hộ cùng hệ thống hơn 70 tiện ích đẳng cấp...', 'dự án bất động sản, dự án sunshine city sài gòn, dự án bất động sản tphcm, dự án căn hộ hạng san, dự án căn hộ cao cấp, đầu tư bất động sản', 'Phú Thuận – Huỳnh Tấn Phát, Quận 7, TPHCM', '58 - 65tr/m2', '45 - 111', NULL, 'Tọa lạc trên quỹ đất gần 10 ha ngay ngã tư đường Phú Thuận – Huỳnh Tấn Phát, Quận 7 với quy mô 9 block, Sunshine City Sài Gòn là siêu dự án đang gây sốt thị trường bất động sản TP.HCM những tháng cuối năm 2018 và đầu 2019. Được biết, tổng vốn đầu tư dự án lên đến 10.000 tỷ đồng, cung ứng cho thị trường hơn 3.000 căn hộ cùng hệ thống hơn 70 tiện ích đẳng cấp.', 1, 'projects/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm.jpg', '[\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-0.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-1.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-2.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-3.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-4.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-5.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-6.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-7.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-8.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-9.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-10.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-11.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-12.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-13.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-14.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-15.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-16.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-17.jpg\",\"projects\\/du-an-sunshine-city-sai-gon-du-an-can-ho-cao-cap-thuong-luu-tai-tphcm-18.jpg\"]', '<p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:14px\">Nếu Sunshine City H&agrave; Nội từng khiến nhiều cư d&acirc;n thủ đ&ocirc; phải ao ước bởi sự sang trọng, xa hoa th&igrave; Sunshine City S&agrave;i G&ograve;n ch&iacute;nh l&agrave; một phi&ecirc;n bản tiếp theo của Sunshine City H&agrave; Nội. Dự &aacute;n n&agrave;y cũng đ&aacute;nh dấu một bước &ldquo;Nam tiến&rdquo; đầy chiến lược của tập đo&agrave;n Sunshine Group. Sunshine City S&agrave;i G&ograve;n được thi c&ocirc;ng bởi nh&agrave; thầu số 1 Việt Nam Coteccons, Apave ch&acirc;u &Aacute;&nbsp; - Th&aacute;i B&igrave;nh Dương tư vấn gi&aacute;m s&aacute;t, dự kiến sẽ ho&agrave;n th&agrave;nh v&agrave; b&agrave;n giao v&agrave;o qu&yacute; IV/2021.</span></strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với quy m&ocirc; khủng, Sunshine City S&agrave;i G&ograve;n được hứa hẹn l&agrave; một si&ecirc;u dự &aacute;n mới, g&oacute;p phần ho&agrave;n thiện bức tranh Khu đ&ocirc; thị Ph&uacute; Mỹ Hưng, đồng thời, mang đến một nơi an cư xứng tầm đẳng cấp thượng lưu cho cư d&acirc;n. Ngay trước thềm dự &aacute;n ch&iacute;nh thức được c&ocirc;ng bố v&agrave; ch&agrave;o b&aacute;n, rất nhiều kh&aacute;ch h&agrave;ng băn khoăn về vị tr&iacute;, tiện &iacute;ch, thiết kế,... của Sunshine City S&agrave;i G&ograve;n. Rever sẽ gửi đến bạn những th&ocirc;ng tin về dự &aacute;n n&agrave;y ngay b&acirc;y giờ.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Vị tr&iacute; dự &aacute;n Sunshine City S&agrave;i G&ograve;n</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n Sunshine City tọa lạc ngay ng&atilde; 4 đường Ph&uacute; Thuận &amp; Huỳnh Tấn Ph&aacute;t, Phường Ph&uacute; Thuận, Quận 7, ven s&ocirc;ng Cả Cấm v&agrave; được bao quanh bởi d&ograve;ng chảy &ecirc;m đềm. Đ&acirc;y được xem l&agrave; v&ugrave;ng đất địa linh, phong thủy tốt, long mạch tốt, mang lại nguồn năng lượng dồi d&agrave;o, đời sống vinh hoa, t&agrave;i lộc&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh đ&oacute;, vị tr&iacute; dự &aacute;n c&ograve;n được c&aacute;c nh&agrave; đầu tư bất động sản đ&aacute;nh gi&aacute; cao về ưu thế kết nối đa chiều. Từ dự &aacute;n, bạn chỉ tốn khoảng 5-10 ph&uacute;t đ&atilde; c&oacute; thể di chuyển đến c&aacute;c địa điểm quan trọng như Cresent Mall, Parkson Paragon, Vivo City, c&aacute;c trường học, bệnh viện; 10 ph&uacute;t đến Quận 2; 15 ph&uacute;t đến chợ Bến Th&agrave;nh Quận 1,... Vậy n&ecirc;n, cư d&acirc;n Sunshine City S&agrave;i G&ograve;n kh&ocirc;ng cần phải lo ngại chuyện tr&aacute;i đường, kẹt xe. Đồng thời, vị tr&iacute; n&agrave;y c&ograve;n c&oacute; nhiều tiềm năng sinh lời trong tương lai bởi hạ tầng giao th&ocirc;ng khu vực đang kh&ocirc;ng ngừng được đầu tư, đồng bộ, cụ thể:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- N&acirc;ng cấp &amp; mở rộng đường Huỳnh Tấn Ph&aacute;t đoạn từ Trần Xu&acirc;n Soạn tới cầu Ph&uacute; Xu&acirc;n, tổng vốn đầu tư 473 tỷ đồng, dự kiến ho&agrave;n th&agrave;nh cuối năm 2018.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Hệ thống hầm chui ng&atilde; tư Nguyễn Hữu Thọ &amp; Nguyễn Văn Linh với 2600 tỷ VNĐ đầu tư.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Cầu Thủ Thi&ecirc;m 4 bắc qua s&ocirc;ng S&agrave;i G&ograve;n. Kết nối Quận 7 với khu đ&ocirc; thị &ndash; trung t&acirc;m t&agrave;i ch&iacute;nh mới Thủ Thi&ecirc;m Quận 2, vốn đầu tư l&ecirc;n tới 5200 tỷ đồng v&agrave; dự kiến ho&agrave;n th&agrave;nh 2019.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, c&ograve;n c&oacute; c&aacute;c dự &aacute;n x&acirc;y dựng cầu Nguyễn Kho&aacute;i bắc từ Quận 7 sang Quận 4; Cầu Phước Kh&aacute;nh nối Nam S&agrave;i G&ograve;n với Nhơn Trạch &ndash; Đồng Nai;... Đ&acirc;y đều l&agrave; những c&ocirc;ng tr&igrave;nh c&oacute; sức bật rất lớn, k&eacute;o theo sự tăng gi&aacute; bất động sản khu vực thời gian tới, bao gồm cả Sunshine City S&agrave;i G&ograve;n.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Thiết kế dự &aacute;n Sunshine City S&agrave;i G&ograve;n</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Sunshine City S&agrave;i G&ograve;n được x&acirc;y dựng tr&ecirc;n tổng diện t&iacute;ch gần 10ha, gồm 9 block, cung cấp ra thị trường hơn 3.000 căn hộ. 9 ngọn th&aacute;p c&oacute; độ cao kh&aacute;c nhau, được bố tr&iacute; lệch theo phương ph&aacute;p khoa học, nối ch&iacute;n đỉnh th&aacute;p lại với nhau sẽ hợp th&agrave;nh th&agrave;nh h&igrave;nh con rồng vươn m&igrave;nh, uốn lượn, bao bọc, chở che tất cả Sunshine City S&agrave;i G&ograve;n.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ Sunshine City S&agrave;i G&ograve;n đa dạng diện t&iacute;ch nhằm đ&aacute;p ứng nhu cầu thị trường:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Căn hộ 1 ph&ograve;ng ngủ: 45 &ndash; 50 &ndash; 52m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Căn hộ 2 ph&ograve;ng ngủ: 74 &ndash; 83 &ndash; 86m2</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Căn hộ 3 ph&ograve;ng ngủ: 96 &ndash; 97 &ndash; 99 &ndash; 101 &ndash; 111m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với tổng mức đầu tư l&ecirc;n tới h&agrave;ng ng&agrave;n tỷ đồng, c&aacute;c căn hộ của Sunshine City S&agrave;i G&ograve;n đều được thiết kế rộng r&atilde;i, bố tr&iacute; h&agrave;i h&ograve;a nhằm mang đến những kh&ocirc;ng gian sống tho&aacute;ng đ&atilde;ng, rộng r&atilde;i. Hệ thống k&iacute;nh Low-E chạm s&agrave;n, c&aacute;c chi tiết mạ v&agrave;ng tinh xảo trong nội thất&hellip; tạo n&ecirc;n điểm kh&aacute;c biệt so với c&aacute;c dự &aacute;n bất động sản c&ugrave;ng ph&acirc;n kh&uacute;c cao cấp tại thị trường căn hộ TP.HCM.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Đặc biệt, căn hộ Sunshine City S&agrave;i G&ograve;n cũng l&agrave; một trong những dự &aacute;n đi ti&ecirc;n phong trong việc ứng dụng c&ocirc;ng nghệ th&ocirc;ng minh v&agrave;o quản l&yacute;, vận h&agrave;nh căn hộ. Hệ thống c&ocirc;ng nghệ Smart Home, thang m&aacute;y chọn điểm đến, chu&ocirc;ng h&igrave;nh kỹ thuật số, điểm đậu xe th&ocirc;ng minh, Sunshine App, Sunshine Service&hellip;sẽ mang đến cho cư d&acirc;n những trải nghiệm ho&agrave;n to&agrave;n mới mẻ về nơi an cư của m&igrave;nh.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch đẳng cấp tại Sunshine City S&agrave;i G&ograve;n</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Sunshine City S&agrave;i G&ograve;n sở hữu hệ thống hơn 70 tiện &iacute;ch hiện đại, đẳng cấp nhằm kiến tạo cuộc sống thượng lưu, đầy đủ c&aacute;c loại h&igrave;nh dịch vụ theo ti&ecirc;u ch&iacute; &ldquo;city withtin city&rdquo;, gồm:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Trung t&acirc;m thương mại: Tọa lạc 2 tầng đầu của c&aacute;c block, l&agrave; nơi tập trung shophouse của c&aacute;c thương hiệu nổi tiếng (Gucci, Charles &amp; Keith, Louis Vuitton), rạp chiếu phim, khu vui chơi,...</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Hồ bơi tr&agrave;n với bể sục jacuji;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- C&aacute;c khu vực chăm s&oacute;c sức khỏe: gym, spa, sauna, s&acirc;n thể thao đa năng ngo&agrave;i trời,...</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- C&aacute;c khu sinh hoạt, vui chơi c&ocirc;ng cộng: c&ocirc;ng vi&ecirc;n, khu BBQ, khu ẩm thực, caf&eacute;, ph&ograve;ng sinh hoạt cộng đồng, ph&ograve;ng đọc s&aacute;ch, thư viện, triển l&atilde;m,...</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Ph&ograve;ng kh&aacute;m, ph&ograve;ng y tế hoạt động 24/7;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Hệ thống trường mầm non v&agrave; tiểu học;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- B&atilde;i đ&aacute;p trực thăng;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Roof top Bar;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">...</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Tại Sunshine City S&agrave;i G&ograve;n, cư d&acirc;n sẽ chỉ &ldquo;một bước xuống phố&rdquo;, tất cả c&aacute;c tiện &iacute;ch, dịch vụ c&aacute;ch nơi ở kh&ocirc;ng xa, sẵn s&agrave;ng phục vụ mọi nhu cầu mua sắm, ăn uống, giải tr&iacute;, chăm s&oacute;c sức khỏe,...</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, nhờ vị tr&iacute; đắc địa nằm ngay &ldquo;tr&aacute;i tim&rdquo; Quận 7 n&ecirc;n cư d&acirc;n Sunshine City S&agrave;i G&ograve;n sẽ được thừa hưởng trọn vẹn tiện &iacute;ch từ khu đ&ocirc; thị Ph&uacute; Mỹ Hưng cũng như hệ thống trung t&acirc;m thương mại, trường học, bệnh viện,... đang hiện hữu l&acirc;n cận.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Chủ đầu tư Sunshine City S&agrave;i G&ograve;n l&agrave; ai?</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh vị tr&iacute;, thiết kế, tiện &iacute;ch th&igrave; uy t&iacute;n chủ đầu tư cũng l&agrave; ti&ecirc;u ch&iacute; rất quan trọng tạo n&ecirc;n chất lượng cho một dự &aacute;n. Với Sunshine City S&agrave;i G&ograve;n, chủ đầu tư ch&iacute;nh l&agrave; tập đo&agrave;n Sunshine Group.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">D&ugrave; chỉ mới th&agrave;nh lập năm 2016 nhưng với tiềm lực kinh tế vững mạnh, chiến lược ph&aacute;t triển hợp l&yacute;, Sunshine Group ph&aacute;t triển mạnh mẽ v&agrave; nhanh ch&oacute;ng định vị thương hiệu của m&igrave;nh tr&ecirc;n thị trường địa ốc Việt. Hiện, tập đo&agrave;n n&agrave;y đ&atilde; cung cấp cho thị trường khoảng 10.000 căn hộ với tổng mức đầu tư l&ecirc;n đến hơn 20.000 tỷ đồng. Sunshine Group sở hữu trong tay loạt dự &aacute;n lớn v&agrave; đều nằm tr&ecirc;n những v&ugrave;ng đất v&agrave;ng của H&agrave; Nội, Nha Trang v&agrave; c&aacute;c tỉnh th&agrave;nh kh&aacute;c. Sunshine Riverside (Nhật T&acirc;n &ndash; T&acirc;y Hồ), Sunshine Palace (Ho&agrave;ng Mai), Sunshine Garden (Vĩnh Tuy), Sunshine Center (Phạm H&ugrave;ng &ndash; Nam Từ Li&ecirc;m), Sunshine City (KĐT Nam Thăng Long &ndash; Ciputra, H&agrave; Nội)&hellip; đều l&agrave; những dự &aacute;n th&agrave;nh c&ocirc;ng vang dội của tập đo&agrave;n.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Uy t&iacute;n, chất lượng c&ocirc;ng tr&igrave;nh của Sunshine Group đ&atilde; được khẳng định, bảo chứng qua h&agrave;ng loạt giải thưởng danh gi&aacute; m&agrave; tập đo&agrave;n đ&atilde; đạt được như: Top 100 Thương hiệu mạnh Việt Nam năm 2017, Top 10 doanh nghiệp BĐS tốt nhất Việt Nam 2017, giải thưởng &ldquo;Nh&agrave; ở hạng sang tốt nhất Việt Nam 2018&rdquo; v&agrave; giải thưởng &ldquo;C&ocirc;ng tr&igrave;nh mang t&iacute;nh biểu tượng Việt Nam 2018&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Sunshine City S&agrave;i G&ograve;n l&agrave; một bước đi đầy chiến lược, đ&aacute;nh dấu sự hiện diện của m&igrave;nh tại thị trường miền Nam của tập đo&agrave;n Sunshine.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Được biết, gi&aacute; b&aacute;n dự kiến căn hộ Sunshine City S&agrave;i G&ograve;n rơi v&agrave;o khoảng 50 - 55 triệu/m2 (chưa VAT). Với kh&aacute;ch h&agrave;ng c&oacute; nhu cầu t&agrave;i ch&iacute;nh, Ng&acirc;n h&agrave;ng Việt Nam Thịnh Vượng (VPBank) cho vay l&ecirc;n tới 65% gi&aacute; trị căn hộ, đồng thời &acirc;n hạn gốc v&agrave; chủ đầu tư t&agrave;i trợ 100% l&atilde;i suất trong 18 th&aacute;ng.</span></p>', NULL, 7, NULL, 9, 1, 1, 1, 1, '2020-03-13 19:58:33', '2020-03-18 00:03:39'), (80, 'Dự án Richlane Residences Căn hộ cao cấp vị trí đẹp tại trung tâm Quận 7', 'du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7', NULL, 'Richlane Residences là dự án căn hộ cao cấp ngay tại trung tâm Quận 7, TP.HCM và được phát triển trong tổng thể quy hoạch Saigon South Place Complex gồm: Trung tâm thương mại SC VivoCity, tòa nhà văn phòng hạng A Mapletree Business Centre và Khu căn hộ Dịch vụ Nam Sài Gòn – Mapletree (gồm Richlane Residences và Oakwood Residence Saigon)...', 'dự án bất động sản, dự án richlane residences quận 7, dự án bất động sản tphcm, dự án căn hộ hạng sang, dự án căn hộ cao cấp, đầu tư bất động sản, vị trí đẹp, trung tâm quận 7', 'Số 1056A Nguyễn Văn Linh, Phường Tân Phong, Quận 7, TPHCM', '55 - 65tr/m2', '45 – 123', NULL, 'Richlane Residences là dự án căn hộ cao cấp ngay tại trung tâm Quận 7, TP.HCM và được phát triển trong tổng thể quy hoạch Saigon South Place Complex gồm: Trung tâm thương mại SC VivoCity, tòa nhà văn phòng hạng A Mapletree Business Centre và Khu căn hộ Dịch vụ Nam Sài Gòn – Mapletree (gồm Richlane Residences và Oakwood Residence Saigon).', 1, 'projects/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7.jpg', '[\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-0.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-1.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-2.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-3.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-4.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-5.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-6.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-8.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-9.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-10.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-11.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-12.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-13.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-14.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-15.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-16.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-17.jpg\",\"projects\\/du-an-richlane-residences-can-ho-cao-cap-vi-tri-dep-tai-trung-tam-quan-7-18.jpg\"]', '<p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:14px\">Richlane Residences l&agrave; dự &aacute;n căn hộ cao cấp ngay tại trung t&acirc;m Quận 7, TP.HCM v&agrave; được ph&aacute;t triển trong tổng thể quy hoạch Saigon South Place Complex gồm: Trung t&acirc;m thương mại SC VivoCity, t&ograve;a nh&agrave; văn ph&ograve;ng hạng A Mapletree Business Centre v&agrave; Khu căn hộ Dịch vụ Nam S&agrave;i G&ograve;n &ndash; Mapletree (gồm Richlane Residences v&agrave; Oakwood Residence Saigon).</span></strong></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Th&ocirc;ng tin dự &aacute;n Richlane Residences</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- T&ecirc;n dự &aacute;n: Richlane Residences.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Chủ đầu tư: Tập đo&agrave;n Mapletree.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Vị tr&iacute; dự &aacute;n: Số 1056A Nguyễn Văn Linh, Phường T&acirc;n Phong, Quận 7, TP.HCM.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Tổng vốn đầu tư: 1.368 tỷ (RichLane Residences v&agrave; Oakwood Residence Saigon).</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Tổng diện t&iacute;ch: 44,000m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Quy m&ocirc;: 1 t&ograve;a th&aacute;p căn hộ cao 29 tầng với 03 tầng đậu xe nổi, 24 tầng căn hộ v&agrave; tầng thượng d&agrave;nh cho tiện &iacute;ch.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Số lượng căn hộ: 243 căn hộ.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch căn hộ: 45 &ndash; 123m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Loại h&igrave;nh: Căn hộ.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Ng&agrave;y khởi c&ocirc;ng: Th&aacute;ng 6/2016.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- Năm ho&agrave;n th&agrave;nh: Qu&yacute; 1/2018.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Vị tr&iacute; dự &aacute;n Richlane Residences</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Richlane Residences tọa lạc tại số 1056A Nguyễn Văn Linh, Phường T&acirc;n Phong, Quận 7, TP.HCM; thuộc tổng thể quy hoạch Saigon South Place Complex. Dự &aacute;n sở hữu vị tr&iacute; đắc địa ngay Ph&uacute; Mỹ Hưng - Khu vực c&oacute; giao th&ocirc;ng thuận tiện, kết nối nhanh tới vị tr&iacute; trung t&acirc;m của S&agrave;i G&ograve;n.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch dự &aacute;n Richlane Residences</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Richlane Residences c&oacute; c&aacute;c tiện &iacute;ch nội khu như: bể bơi v&ocirc; cực, ph&ograve;ng tập gym, khu vui chơi trẻ em tầng thượng, b&atilde;i đậu xe 3 tầng nổi c&ugrave;ng c&aacute;c tiện &iacute;ch của trung t&acirc;m Sc VivoCity... B&ecirc;n cạnh đ&oacute; v&igrave; dự &aacute;n căn hộ Richlane Residence nằm ngay Khu đ&ocirc; thị Ph&uacute; Mỹ Hưng n&ecirc;n được thừa hưởng c&aacute;c tiện &iacute;ch đẳng cấp c&oacute; sẵn như: trung t&acirc;m thương mại Crescent, bệnh viện quốc tế Ph&aacute;p Việt, c&aacute;c trường quốc tế uy t&iacute;n c&ugrave;ng nhiều khu dịch vụ vui chơi mua sắm kh&aacute;c.&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, dự &aacute;n RichLane Residences c&ograve;n được chủ đầu tư trang bị cơ sở vật chất dịch vụ hiện đại đạt ti&ecirc;u chuẩn chất lượng gồm hệ thống xử l&yacute; r&aacute;c thải trung t&acirc;m, hệ thống đ&egrave;n LED tiết kiệm năng lượng ở bếp, nh&agrave; vệ sinh v&agrave; h&agrave;nh lang cho đến hệ thống chu&ocirc;ng cửa video, thẻ từ ra v&agrave;o thang m&aacute;y,...</span></p>', NULL, 7, NULL, 14, 1, 1, 1, 1, '2020-03-13 20:36:32', '2020-03-18 00:03:39'), (81, 'Dự án New City Thủ Thiêm Phong cách mới cho cư dân thành phố HCM', 'du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm', NULL, 'Dự án New City Thủ Thiêm Quận 2 như một lời đáp ứng cho giấc mơ cuộc sống an lành, xanh trong, hiện đại mà thong thả, nơi đem lại phong cách sống mới cho cư dân thành phố...', 'dự án bất động sản, dự án new city thủ thiêm quận 2, dự án bất động sản tphcm, dự án căn hộ hạng sang, dự án căn hộ cao cấp, đầu tư bất động sản, vị trí đẹp', '<NAME>, <NAME>, Quận 2, TPHCM', '1.15tỷ', '45 - 300', NULL, 'Dự án New City Thủ Thiêm Quận 2 như một lời đáp ứng cho giấc mơ cuộc sống an lành, xanh trong, hiện đại mà thong thả, nơi đem lại phong cách sống mới cho cư dân thành phố...', 1, 'projects/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm.jpg', '[\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-0.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-1.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-2.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-3.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-4.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-5.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-6.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-7.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-8.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-9.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-10.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-11.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-12.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-13.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-14.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-15.jpg\",\"projects\\/du-an-new-city-thu-thiem-phong-cach-moi-cho-cu-dan-thanh-pho-hcm-16.jpg\"]', '<p dir=\"ltr\" style=\"text-align:justify\"><strong><span style=\"font-size:14px\">Với kinh nghiệm v&agrave; uy t&iacute;n tr&ecirc;n thị trường x&acirc;y dựng v&agrave; bất động sản, Thuận Việt đ&atilde; từng bước khẳng định m&igrave;nh qua c&aacute;c dự &aacute;n quy m&ocirc; lớn: Bệnh viện đa khoa B&igrave;nh Dương, bệnh viện Ho&agrave;n Mỹ S&agrave;i G&ograve;n, Trung t&acirc;m TDTT Ph&uacute; Thọ, bệnh viện Ung Bướu, trường Quốc học Huế, khu căn hộ cao cấp Saigon Pearl,...</span></strong></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Tiếp nối những th&agrave;nh c&ocirc;ng đ&oacute;, Thuận Việt ra mắt dự &aacute;n New City như một lời đ&aacute;p ứng cho giấc mơ cuộc sống an l&agrave;nh, xanh trong, hiện đại m&agrave; thong thả, nơi đem lại phong c&aacute;ch sống mới cho cư d&acirc;n th&agrave;nh phố.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n được x&acirc;y dựng tr&ecirc;n diện t&iacute;ch 2,7 ha, đơn vị thiết kế từ H&agrave;n Quốc. Quy m&ocirc; 4 to&agrave; th&aacute;p (Venice, Hawaii, Babylon, Bali) với 1229 căn hộ v&agrave; quản l&yacute; bởi CBRE Vietnam. C&aacute;c căn hộ thiết kế đẹp theo xu hướng kh&ocirc;ng gian mở, sử dụng diện t&iacute;ch hiệu quả, tận dụng gi&oacute; v&agrave; &aacute;nh s&aacute;ng tư nhi&ecirc;n, tạo cảm gi&aacute;c th&ocirc;ng tho&aacute;ng, h&agrave;i h&ograve;a. Ti&ecirc;u chuẩn b&agrave;n giao căn hộ c&oacute;: Kiếng c&aacute;ch &acirc;m, kho&aacute; thẻ từ + cơ + v&acirc;n tay, c&oacute; ban c&ocirc;ng k&iacute;nh, 02 m&aacute;y lạnh, trần thạch cao, đ&egrave;n chiếu s&aacute;ng, bếp từ v&agrave; tủ kệ bếp, thiết bị vệ sinh toto, v&ograve;i rửa tự động, bồn tắm nằm&hellip;</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Đ&aacute;nh gi&aacute; vị tr&iacute; của New City Thủ Thi&ecirc;m</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">New City Thủ Thi&ecirc;m&nbsp; sở hữu vị tr&iacute; đắt đỏ tr&ecirc;n mặt tiền đường Mai Ch&iacute; Thọ, Phường B&igrave;nh Kh&aacute;nh, Quận 2. Khu vực n&agrave;y kết nối linh hoạt đến nhiều địa điểm quan trọng trong th&agrave;nh phố:</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- 2 ph&uacute;t đến Trung t&acirc;m Thủ Thi&ecirc;m</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- 5 ph&uacute;t đến hầm Thủ Thi&ecirc;m</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- 5 ph&uacute;t đến Metro Quận 2, Vincom Thảo Điền</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- 5 ph&uacute;t đến Bệnh viện Quận 2, Bệnh viện Ph&uacute;c An Khang, trung t&acirc;m h&agrave;nh ch&iacute;nh Quận 2 như: UBND Quận 2, To&agrave; &Aacute;n Nh&acirc;n D&acirc;n, Bưu Điện&hellip;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- 10 ph&uacute;t đến chợ Bến Th&agrave;nh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- 20 ph&uacute;t đến s&acirc;n Bay Long Th&agrave;nh</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">- 30 ph&uacute;t đến s&acirc;n Bay T&acirc;n Sơn Nhất.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh đ&oacute;, vị tr&iacute; dự &aacute;n c&ograve;n được đ&aacute;nh gi&aacute; cao&nbsp; về mặt phong thủy. Mặt trước của dự &aacute;n l&agrave; nơi uốn lượn của 2 nh&aacute;nh s&ocirc;ng S&agrave;i G&ograve;n m&agrave; c&aacute;c chuy&ecirc;n gia về phong thủy vẫn lu&ocirc;n gọi l&agrave; &ldquo;thuận phong tụ thuỷ&rdquo;. Sau lưng dự &aacute;n l&agrave; c&ocirc;ng vi&ecirc;n trung t&acirc;m rộng 2,7ha. B&ecirc;n phải dự &aacute;n l&agrave; c&ocirc;ng vi&ecirc;n rạch C&aacute; Tr&ecirc; rộng 7ha. Như vậy, mảnh đất m&agrave; New City tọa lạc vừa sở hữu d&ograve;ng chảy vượng kh&iacute; từ s&ocirc;ng vừa đ&oacute;n nguồn năng lực t&iacute;ch cực&nbsp; từ những c&ocirc;ng vi&ecirc;n quanh dự &aacute;n. M&ocirc;i trường sống nơi đ&acirc;y lu&ocirc;n &ocirc;n h&ograve;a, trong l&agrave;nh, m&aacute;t mẻ, dễ chịu.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Đ&aacute;nh gi&aacute; về hệ thống tiện &iacute;ch dự &aacute;n</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n kh&ocirc;ng chỉ mang đến kh&ocirc;ng sống xanh m&agrave; c&ograve;n sở hữu hệ thống tiện &iacute;ch đa dạng v&agrave; đẳng cấp, đ&aacute;p ứng đầy đủ nhu cầu của cư d&acirc;n nơi đ&acirc;y. Hệ thống tiện &iacute;ch nội khu ho&agrave;n chỉnh, c&oacute; c&ocirc;ng vi&ecirc;n, khu BBQ, khu vực hồ bơi tr&agrave;n bờ, ph&ograve;ng tập gym, ph&ograve;ng sinh hoạt cộng đồng, khu trung t&acirc;m thương mại, mua sắm,...&nbsp;&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với mật độ x&acirc;y dựng thấp, chỉ 24.78%, phần c&ograve;n lại d&agrave;nh cho tiện &iacute;ch cũng như mảng xanh n&ecirc;n chỉ cần bước ch&acirc;n xuống dưới căn hộ của m&igrave;nh, bạn sẽ được h&ograve;a m&igrave;nh v&agrave;o kh&ocirc;ng gian trong l&agrave;nh cũng như thư gi&atilde;n, giải tr&iacute;, mua sắm,...</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh đ&oacute;, trong v&ograve;ng b&aacute;n k&iacute;nh 2km, cư d&acirc;n New City Thủ Thi&ecirc;m c&oacute; thể tiếp cận được h&agrave;ng loạt tiện &iacute;ch ngoại khu kh&aacute;c như: Trung t&acirc;m thương mại Parkson, si&ecirc;u thị Mega Market, Si&ecirc;u thị Big C Cantavill, Vincom Mega Mall Thảo Điền, trường tiểu học An Kh&aacute;nh, THPT Thủ Thi&ecirc;m, chợ B&igrave;nh Kh&aacute;nh, s&acirc;n <NAME>ếc,...</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Đ&aacute;nh gi&aacute; về mức gi&aacute; của New City Thủ Thi&ecirc;m</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Trước khi xem x&eacute;t về mức gi&aacute; của căn hộ New City Thủ Thi&ecirc;m, bạn c&oacute; thể tham khảo mức gi&aacute; của c&aacute;c dự &aacute;n c&ugrave;ng thuộc khu đ&ocirc; thị Thủ Thi&ecirc;m, dọc đường Mai Ch&iacute; Thọ. Theo đ&oacute;, gi&aacute; b&aacute;n trung b&igrave;nh hiện tại của những dự &aacute;n n&agrave;y từ 55 triệu/m2 &ndash; 70 triệu/m2. C&ograve;n gi&aacute; b&aacute;n của New City rơi v&agrave;o khoảng 50 triệu/m2 &ndash; 55 triệu/m2.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">C&ugrave;ng nằm tr&ecirc;n một con đường, c&aacute;ch nhau chỉ 2km nhưng gi&aacute; b&aacute;n dự &aacute;n New City thấp hơn trong khi dự &aacute;n đ&atilde; ho&agrave;n thiện v&agrave; quy tụ hệ thống tiện &iacute;ch vượt trội. Do đ&oacute;, đ&acirc;y sẽ l&agrave; cơ hội tuyệt vời để bạn sở hữu một căn hộ sang trọng, cao cấp, tiện nghi với mức gi&aacute; hợp l&yacute;. Ng&acirc;n h&agrave;ng Vietinbank cũng l&agrave; ng&acirc;n h&agrave;ng bảo l&atilde;nh ch&iacute;nh của dự &aacute;n hỗ trợ cho vay l&ecirc;n đến 70% tối đa 20 năm với l&atilde;i suất ưu đ&atilde;i chỉ 7.7%/năm.</span></p>\r\n\r\n<h2 dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Đ&aacute;nh gi&aacute; về tiềm năng sinh lời trong tương lai của dự &aacute;n</strong></span></h2>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Những năm gần đ&acirc;y, thị trường căn hộ Quận 2 ph&aacute;t triển nhanh ch&oacute;ng nhưng chủ yếu rơi v&agrave;o ph&acirc;n kh&uacute;c cao cấp v&agrave; hạng sang. Ph&acirc;n kh&uacute;c căn hộ tầm trung lại kh&aacute; &iacute;t sự lựa chọn d&ugrave; nhu cầu sở hữu cực lớn. Vậy n&ecirc;n, những căn hộ Quận 2 gi&aacute; b&aacute;n từ 1.8 &ndash; 2,5 tỷ, vị tr&iacute; thuận tiện thu h&uacute;t quan t&acirc;m đặc biệt của kh&aacute;ch h&agrave;ng. Đ&acirc;y cũng l&agrave; ph&acirc;n kh&uacute;c m&agrave; c&aacute;c chuy&ecirc;n gia đ&aacute;nh gi&aacute;, sẽ dẫn dắt thị trường trong 3 &ndash; 5 năm tới.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Với mức gi&aacute; từ 2 tỷ, vị tr&iacute; ngay khu đ&ocirc; thị mới Thủ Thi&ecirc;m, căn hộ New City dễ d&agrave;ng lọt v&agrave;o tầm ngắm của nhiều người. Thời gian tới, th&agrave;nh phố đẩy mạnh việc dời l&otilde;i trung t&acirc;m về Quận 2, lấy t&acirc;m điểm l&agrave; khu đ&ocirc; thị mới Thủ Thi&ecirc;m, những dự &aacute;n thuộc khu vực n&agrave;y sẽ hưởng lợi rất lớn, tiềm năng sinh lời cao, t&iacute;nh thanh khoản tốt. Bạn c&oacute; thể mua để định cư, t&iacute;ch lũy t&agrave;i sản hoặc mua đi b&aacute;n lại, cho thu&ecirc; đều được.</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Theo th&ocirc;ng tin Rever t&igrave;m hiểu, hiện tại dự &aacute;n New City Thủ Thi&ecirc;m đ&atilde; được chuyển mục ti&ecirc;u sang thương mại. Cụ thể, tr&ecirc;n cơ sở chấp thuận của Thủ tướng Ch&iacute;nh phủ tại Văn bản số 24 ng&agrave;y 7/3, UBND TP.HCM đ&atilde; ban h&agrave;nh quyết định giao mặt bằng khu đất thực hiện dự &aacute;n New City (dự &aacute;n 1.229 căn hộ) để chủ đầu tư tiếp tục ph&aacute;t triển theo quy hoạch với mục ti&ecirc;u thương mại. Đồng thời để C&ocirc;ng ty Thuận Việt tạm đ&oacute;ng tiền sử dụng đất đối với khu đất tr&ecirc;n. Chủ đầu tư khẳng định dự &aacute;n New City Thủ Thi&ecirc;m đến nay đ&atilde; được x&acirc;y dựng ho&agrave;n th&agrave;nh v&agrave; đang ho&agrave;n tất c&aacute;c bước nghiệm thu về ph&ograve;ng ch&aacute;y chữa ch&aacute;y, nghiệm thu ho&agrave;n th&agrave;nh c&ocirc;ng tr&igrave;nh để đưa v&agrave;o sử dụng.&nbsp;</span></p>\r\n\r\n<p dir=\"ltr\" style=\"text-align:justify\"><span style=\"font-size:14px\">Tổng thể dự &aacute;n căn hộ New City Thủ Thi&ecirc;m như một ốc đảo trong xanh v&agrave; y&ecirc;n b&igrave;nh, nằm ki&ecirc;u h&atilde;nh uốn m&igrave;nh theo con s&ocirc;ng S&agrave;i G&ograve;n. Do đ&oacute;, sở hữu một căn hộ tại đ&acirc;y đồng nghĩa với việc bạn sở hữu cả một kh&ocirc;ng gian m&aacute;t xanh, trong l&agrave;nh c&ugrave;ng những tiện &iacute;ch đẳng cấp, sang trọng.</span></p>', NULL, 7, NULL, 28, 1, 3, 1, 1, '2020-03-16 10:01:14', '2020-03-18 00:03:39'); INSERT INTO `projects` (`id`, `title`, `slug`, `name`, `meta_description`, `meta_keyword`, `address`, `price`, `acreage`, `seo_head`, `except`, `seo`, `avatar`, `url_images`, `overview`, `investor_id`, `category_id`, `map`, `view`, `review`, `state`, `status`, `user_id`, `created_at`, `updated_at`) VALUES (84, 'Dự án Lovera Vista Khang Điền Không gian sống hiện đại tại Bình Chánh', 'du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh', NULL, 'Dự án Lovera Vista Khang Điền nằm trong KDC Phong Phú 4, Bình Chánh, có quy mô khoảng 1,8 hecta, cung cấp ra thị trường hơn 1.310 căn hộ. Thông qua dự án này, <NAME> đánh dấu tên tuổi và sự hiện diện của mình trên thị trường địa ốc khu Nam Sài Gòn, kiến tạo một không gian sống hiện đại, chuẩn mực, đáp ứng nhu cầu ngày một cao cấp của cư dân thành thị.', NULL, 'Đường Trịnh Quang Nghị, xã Phong Phú, huyện Bình Chánh, TP HCM', '29 - 32tr/m2', '52 - 85', NULL, 'Dự án Lovera Vista <NAME> nằm trong KDC Phong Phú 4, Bình Chánh, có quy mô khoảng 1,8 hecta, cung cấp ra thị trường hơn 1.310 căn hộ. Thông qua dự án này, <NAME> đánh dấu tên tuổi và sự hiện diện của mình trên thị trường địa ốc khu Nam Sài Gòn, kiến tạo một không gian sống hiện đại, chuẩn mực, đáp ứng nhu cầu ngày một cao cấp của cư dân thành thị.', 0, 'projects/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh.jpg', '[\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-0.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-1.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-2.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-3.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-4.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-5.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-6.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-7.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-8.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-9.jpg\",\"projects\\/du-an-lovera-vista-khang-dien-khong-gian-song-hien-dai-tai-binh-chanh-10.jpg\"]', '<p style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Dự &aacute;n Lovera Vista Khang Điền nằm trong KDC Phong Ph&uacute; 4, B&igrave;nh Ch&aacute;nh, c&oacute; quy m&ocirc; khoảng 1,8&nbsp;hecta, cung cấp ra thị trường hơn 1.310 căn hộ. Th&ocirc;ng qua dự &aacute;n n&agrave;y, <NAME> đ&aacute;nh dấu t&ecirc;n tuổi v&agrave; sự hiện diện của m&igrave;nh tr&ecirc;n thị trường địa ốc khu Nam S&agrave;i G&ograve;n, kiến tạo một kh&ocirc;ng gian sống hiện đại, chuẩn mực, đ&aacute;p ứng nhu cầu ng&agrave;y một cao cấp của cư d&acirc;n th&agrave;nh thị.</strong></span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\"><NAME> l&agrave; một c&aacute;i t&ecirc;n kh&ocirc;ng mấy xa lạ tr&ecirc;n thị trường địa ốc Việt Nam, đặc biệt l&agrave; tại TP.HCM. Gần đ&acirc;y nhất, <NAME> đ&atilde; th&agrave;nh c&ocirc;ng vang dội với hai dự &aacute;n căn hộ cao cấp l&agrave; Jamila v&agrave; Safira.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Năm 2015 đ&aacute;nh dấu bước tiến quan trọng của <NAME> khi tiến h&agrave;nh th&acirc;u t&oacute;m BCCI, sở hữu 57,3% cổ phần của BCCI. Qua đ&oacute; gi&aacute;n tiếp sở hữu hơn 500 hecta đất của BCCI. Cũng trong năm 2017, Thuận Ph&aacute;t (C&ocirc;ng ty con của BCCI) tiến h&agrave;nh triển khai x&acirc;y dựng dự &aacute;n Lovera Park. Theo B&aacute;o c&aacute;o thường ni&ecirc;n 2017 của <NAME>, c&ocirc;ng ty đ&atilde; ch&iacute;nh thức s&aacute;t nhập BCCI v&agrave;o đầu năm 2018 theo h&igrave;nh thức h&oacute;a đổi cổ phiếu. Như vậy, <NAME> ch&iacute;nh thức sở hữu to&agrave;n bộ quỹ đất của BCCI.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Tiếp tục khai th&aacute;c quỹ đất c&ograve;n lại của Khu d&acirc;n cư Phong Ph&uacute; 4, <NAME> ph&aacute;t triển dự &aacute;n Lovera Vista (t&ecirc;n cũ Hermosa <NAME>n). Tổng thầu x&acirc;y dựng l&agrave; An Phong, đơn vị gi&aacute;m s&aacute;t dự &aacute;n SCQC2 v&agrave; CBRE (dự kiến) quản l&yacute; dự &aacute;n.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><strong><span style=\"font-size:20px\">Vị tr&iacute; dự &aacute;n Lovera Vista Khang Điền:</span></strong></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Lovera Vista Khang Điền tọa lạc ngay mặt tiền đường Trịnh Quang Nghị, x&atilde; Phong Ph&uacute;, huyện B&igrave;nh Ch&aacute;nh, khu vực sầm uất, cộng đồng d&acirc;n cư văn minh, d&acirc;n tr&iacute; cao. Dự &aacute;n nằm trong quy hoạch Khu đ&ocirc; thị mới Nam S&agrave;i G&ograve;n rộng 2.975 hecta, hệ thống giao th&ocirc;ng ho&agrave;n thiện, rất tiện cho việc đi lại của cư d&acirc;n. Từ căn hộ bạn chỉ tốn khoảng 15 ph&uacute;t để đến trung t&acirc;m Quận 1; tốn 20 ph&uacute;t đến đến Ph&uacute; Mỹ Hưng; kết nối giao th&ocirc;ng dễ d&agrave;ng với Q.5, Q.8, Q.10, Q.11, Q.3,...</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Đồng thời, UBND TP cũng đang chuẩn bị khởi c&ocirc;ng cầu B&igrave;nh Ti&ecirc;n, kết nối tuyến đường Song H&agrave;nh Quốc lộ 50 với đường V&otilde; Văn Kiệt Quận 6. Sau khi ho&agrave;n th&agrave;nh tuyến đường n&agrave;y, khoảng c&aacute;ch về trung t&acirc;m được r&uacute;t gọn đ&aacute;ng kể. Theo đ&oacute;, từ dự &aacute;n Lovera Vista tới đường V&otilde; Văn Kiệt chỉ 5,5km, cư d&acirc;n rất thuận đường để di chuyển đến c&aacute;c khu vực trong th&agrave;nh phố cũng như c&aacute;c tỉnh miền T&acirc;y.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, vị tr&iacute; dự &aacute;n c&ograve;n tiềm năng nhiều cơ hội tăng gi&aacute; hơn nữa trong thời gian tới, &ldquo;ăn theo&rdquo; những c&ocirc;ng tr&igrave;nh giao th&ocirc;ng trọng điểm sắp được khai th&aacute;c như cầu Ph&uacute; định, tuyến Metro M1, đường V&agrave;nh đai 2,... Lựa chọn an cư tại Lovera Vista Khang Điền, cư d&acirc;n sẵn s&agrave;ng cho mọi h&agrave;nh tr&igrave;nh m&agrave; chẳng cần phải lo ngại chuyện đường xa, kẹt xe,...</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Thiết kế dự &aacute;n Lovera Vista Khang Điền:</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Theo dự kiến, Lovera Vista Khang Điền được x&acirc;y dựng tr&ecirc;n tổng diện t&iacute;ch hơn 1.8&nbsp;ha c&ugrave;ng vốn đầu tư l&ecirc;n đến h&agrave;ng tỷ đồng. Với lợi thế quỹ đất rộng v&agrave; tiềm lực kinh tế mạnh như vậy, dự &aacute;n Lovera Vista Khang Điền quy hoạch một c&aacute;ch b&agrave;i bản. Theo bản đồ quy hoạch 1/500, Lovera Vista c&oacute; mặt bằng thiết kế kh&aacute; đẹp, nằm tr&ecirc;n ba mặt tiền KDC Phong Ph&uacute; đ&oacute; l&agrave; N13, D8, N18, đ&acirc;y được xem l&agrave; một ưu thế rất lớn của dự &aacute;n n&agrave;y.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Dự kiến sau khi ho&agrave;n th&agrave;nh, dự &aacute;n sẽ cung ra thị trường hơn 1.310 căn hộ c&oacute; diện t&iacute;ch từ 52&nbsp;&ndash; 85&nbsp;m2 gồm căn 1PN &ndash; 3PN, duplex.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">To&agrave;n bộ căn hộ đều c&oacute; thiết kế vu&ocirc;ng vức, bố tr&iacute; th&ocirc;ng minh, h&agrave;i h&ograve;a nhằm ph&aacute;t huy tối đa c&ocirc;ng năng sử dụng diện t&iacute;ch. Hệ thống cửa sổ k&iacute;nh lắp đặt khoa học, tận dụng &aacute;nh s&aacute;ng v&agrave; gi&oacute; tự nhi&ecirc;n, mang lại nguồn sinh kh&iacute; dồi d&agrave;o cho từng căn hộ. Nhờ đ&oacute;, kh&ocirc;ng gian sống cũng trở n&ecirc;n th&ocirc;ng tho&aacute;ng v&agrave; s&aacute;ng sủa, thoải m&aacute;i hơn.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Căn hộ b&agrave;n giao nội thất cao cấp từ những thương hiệu nổi tiếng thế giới. Hệ thống điện tử ở mỗi căn hộ t&iacute;ch hợp điều khiển từ xa qua điện thoại th&ocirc;ng minh, m&aacute;y t&iacute;nh bảng,... để cư d&acirc;n c&oacute; thể trải nghiệm một phong c&aacute;ch sống năng động, hiện đại v&agrave; tiện &iacute;ch.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Hệ thống tiện &iacute;ch vượt trội của Lovera Vista Khang Điền:</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Chủ đầu tư Khang Điền vốn lu&ocirc;n h&agrave;o ph&oacute;ng trong việc đầu tư v&agrave;o hệ thống tiện &iacute;ch. Trong bối cảnh chung &ldquo;tấc đất tấc v&agrave;ng&rdquo;, quỹ đất đ&ocirc; thị dần hạn hẹp th&igrave; c&aacute;c dự &aacute;n của Khang Điền dường như lại rất rộng r&atilde;i để chủ đầu tư &ldquo;mạnh tay&rdquo; bố tr&iacute; hệ thống tiện &iacute;ch. Với Lovera Vista, Khang Điền d&agrave;nh khoảng 70% diện t&iacute;ch để x&acirc;y dựng tiện &iacute;ch v&agrave; ph&aacute;t triển mảng xanh, mang đến một kh&ocirc;ng gian tiện nghi, ho&agrave;n chỉnh c&aacute;c loại h&igrave;nh dịch vụ.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Hệ thống tiện &iacute;ch nội khu dự kiến của dự &aacute;n bao gồm:</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Hồ bơi, đường chạy bộ;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Si&ecirc;u thị mini, trung t&acirc;m thương mại;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ph&ograve;ng Gym;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Khu BBQ;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Hệ thống nh&agrave; h&agrave;ng, cafe;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Trường mầm non;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Ngo&agrave;i ra, cư d&acirc;n c&ograve;n thừa hưởng tiện &iacute;ch nội khu của KDC Phong Ph&uacute; 4 như: Trường Mầm non Hướng Dương 2, Trường tiểu học Phong Ph&uacute; 2, Trường trung học cơ sở Phong Ph&uacute;, Trạm Y Tế x&atilde; Phong Ph&uacute;,&hellip;</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Hệ thống tiện &iacute;ch ngoại khu bao gồm:</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Hệ thống tiện &iacute;ch khu d&acirc;n cư Việt Ph&uacute; Garden v&agrave; khu đ&ocirc; thị Ph&uacute; Mỹ Hưng;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Chợ d&acirc;n sinh T&acirc;n Li&ecirc;m;</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- C&aacute;c trung t&acirc;m thương mại, khu vui chơi, bệnh viện,...</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Đặc biệt, dự &aacute;n tiếp gi&aacute;p với 3 c&ocirc;ng vi&ecirc;n trung t&acirc;m, 6 c&ocirc;ng vi&ecirc;n vệ tinh v&agrave; d&atilde;y c&ocirc;ng vi&ecirc;n ven s&ocirc;ng n&ecirc;n m&ocirc;i trường sống tại đ&acirc;y lu&ocirc;n được điều h&ograve;a m&aacute;t mẻ, dễ chịu. Nếu những kh&oacute;i bụi, ồn &agrave;o của phố thị khiến bạn mỏi mệt th&igrave; chỉ cần đặt ch&acirc;n về căn hộ, bạn sẽ được chạm v&agrave;o thi&ecirc;n nhi&ecirc;n, h&ograve;a m&igrave;nh v&agrave;o bầu kh&ocirc;ng kh&iacute; m&aacute;t l&agrave;nh, b&igrave;nh y&ecirc;n, thư th&aacute;i.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Cơ hội hấp dẫn khi đầu tư v&agrave;o Lovera Vista Khang Điền:</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Với sự hội tụ đầy đủ c&aacute;c ti&ecirc;u ch&iacute; từ vị tr&iacute;, mặt bằng thiết kế, hệ thống tiện &iacute;ch,... Lovera Vista Khang Điền ch&iacute;nh l&agrave; nơi an cư l&yacute; tưởng của cư d&acirc;n, kiến tạo cuộc sống hạnh ph&uacute;c vững bền trong một cộng đồng văn minh, thịnh vượng. Gi&aacute; b&aacute;n căn hộ được chủ đầu tư đưa ra dự b&aacute;o sẽ rất tốt.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Kh&ocirc;ng chỉ đ&aacute;p ứng nhu cầu về một nơi an cư hạnh ph&uacute;c, Lovera Vista Khang Điền c&ograve;n l&agrave; một lựa chọn ho&agrave;n to&agrave;n hợp l&yacute; đối với c&aacute;c nh&agrave; đầu tư. Hiện nay, quỹ đất trung t&acirc;m đang dần hạn hẹp v&agrave; l&agrave;n s&oacute;ng đầu tư bất động sản dịch chuyển mạnh mẽ sang v&ugrave;ng ven. B&igrave;nh Ch&aacute;nh với ưu thế nổi trội về vị tr&iacute; kết nối đa chiều, hạ tầng ho&agrave;n thiện l&agrave; một điểm đến gi&agrave;u tiềm năng. Theo nhận định từ giới chuy&ecirc;n m&ocirc;n, tỷ suất sinh lời dự &aacute;n Lovera Vista Khang Điền được kỳ vọng ở mức 14 - 16%/ năm &ndash; một con số cực kỳ khả thi để đầu tư.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Đ&oacute; l&agrave; một số th&ocirc;ng tin về dự &aacute;n căn hộ Lovera Vista Khang Điền m&agrave; bạn c&oacute; thể tham khảo trước khi đưa ra quyết định đầu tư. Đừng qu&ecirc;n theo d&otilde;i c&aacute;c b&agrave;i viết, những nhận định, ph&acirc;n t&iacute;ch về c&aacute;c dự &aacute;n mới tr&ecirc;n thị trường từ Rever để kh&ocirc;ng bỏ lỡ cơ hội đầu tư hợp l&yacute;.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Theo Rever t&igrave;m hiểu, dự &aacute;n Lovera Vista đ&atilde; ch&iacute;nh thức được khởi c&ocirc;ng v&agrave;o th&aacute;ng 5/2019 vừa qua. Dự kiến to&agrave;n bộ dự &aacute;n sẽ được b&agrave;n giao nh&agrave; v&agrave;o qu&yacute; 2/2021.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Th&ocirc;ng tin tổng quan dự &aacute;n Lovera Vista Khang Điền:</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Chủ đầu tư: C&ocirc;ng ty Cổ phần Đầu tư v&agrave; Kinh doanh Nh&agrave; <NAME></span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Vị tr&iacute;: KDC Phong Ph&uacute; 4 (Việt Ph&uacute; BCCI) đường Trịnh Quang Nghị, Phong Ph&uacute;, B&igrave;nh Ch&aacute;nh.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Đơn vị thiết kế: ACCCO</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Đơn vị x&acirc;y dựng: An Phong.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Đơn vị gi&aacute;m s&aacute;t dự &aacute;n: SCQC2.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Quy m&ocirc;: 1.8ha</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Số block căn hộ: 5 block căn hộ, cao 20 tầng</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Tổng số căn hộ: 1.310 căn.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Dạng căn hộ: 1 - 3 ph&ograve;ng ngủ, 15 căn duplex (block A,B)</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Diện t&iacute;ch căn hộ: căn 1PN từ 51 -53 m2, căn 2PN từ 58-72m2, căn 3PN khoảng 83m2.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Chất lượng b&agrave;n giao: Ho&agrave;n thiện cơ bản, tủ bếp tr&ecirc;n dưới, full nh&agrave; vệ sinh.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Mật độ x&acirc;y dựng khối th&aacute;p: Khoảng 37%.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Tiện &iacute;ch: 51 tiện &iacute;ch.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ph&aacute;p l&yacute;: sổ hồng, sở hữu vĩnh viễn.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ng&acirc;n h&agrave;ng bảo l&atilde;nh dự &aacute;n: OCB v&agrave; Vietcombank.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Thời gian b&agrave;n giao nh&agrave;: Dự kiến qu&yacute; 2/2021</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Thời gian dự kiến mở b&aacute;n đợt 1: Th&aacute;ng 10/2019</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Gi&aacute; b&aacute;n dự kiến: Căn hộ 2PN (58 - 72m2) gi&aacute; khoảng 1.5 tỷ đồng (chưa VAT)</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Phương thức thanh to&aacute;n: Thanh to&aacute;n trong 12 đợt.</span></p>', NULL, 7, NULL, 31, 1, 1, 1, 12, '2020-03-17 02:46:26', '2020-03-18 03:06:42'), (91, 'Dự án The Grand Manhattan Không gian sống đẳng cấp giữa lòng quận 1', 'du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1', NULL, 'The Grand Manhattan tọa lạc tại địa chỉ 100 Cô Giang, Quận 1. Vị trí này được xem như “tấc đất tấc vàng” ngay lõi trung tâm thành phố, gần kề nhiều địa điểm nổi tiếng như: cách chợ Bến Thành 1km, cách phố Tây Bùi Viện 500m...', NULL, '100 Cô Giang, quận 1, TPHCM', '160tr/m2', '68 - 89', NULL, 'The Grand Manhattan tọa lạc tại địa chỉ 100 Cô Giang, Quận 1. Vị trí này được xem như “tấc đất tấc vàng” ngay lõi trung tâm thành phố, gần kề nhiều địa điểm nổi tiếng như: cách chợ Bến Thành 1km, cách phố Tây Bùi Viện 500m...', 1, 'projects/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1.jpg', '[\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-0.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-1.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-2.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-3.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-4.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-5.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-6.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-7.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-8.jpg\",\"projects\\/du-an-the-grand-manhattan-khong-gian-song-dang-cap-giua-long-quan-1-9.jpg\"]', '<p style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Th&aacute;ng 9/2018, Novaland đ&aacute;nh dấu sự trở lại tr&ecirc;n thị trường bất động sản TP.HCM với &ldquo;si&ecirc;u phẩm&rdquo; The Grand Manhattan. Dự &aacute;n n&agrave;y được quy hoạch th&agrave;nh khu phức hợp căn hộ - thương mại dịch vụ c&oacute; quy m&ocirc; khoảng 1.4ha, hai mặt tiền đắc địa tại l&otilde;i trung t&acirc;m Quận 1, cung ra thị trường gần 1.000 căn hộ sở hữu l&acirc;u d&agrave;i.</strong></span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">The Grand Manhattan do c&ocirc;ng ty Cổ phần Ph&aacute;t triển Đất Việt l&agrave;m chủ đầu tư v&agrave; tập đo&agrave;n Novaland ph&aacute;t triển. Novaland hiện ph&aacute;t triển hơn 40 dự &aacute;n, cung cấp hơn 26.000 sản phẩm bất động sản&nbsp;gồm nhiều loại h&igrave;nh sản phẩm như: căn hộ, biệt thự, nh&agrave; phố thương mại, văn ph&ograve;ng, khu đ&ocirc; thị, khu nghỉ dưỡng cao cấp,&hellip; Tất cả dự &aacute;n đều c&oacute; vị tr&iacute; đẹp, thuận tiện giao th&ocirc;ng.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n căn hộ Quận 1 The Grand Manhattan khởi c&ocirc;ng v&agrave;o Qu&yacute; 2/2018, đang trong giai đoạn san lấp mặt bằng v&agrave; chuẩn bị thi c&ocirc;ng m&oacute;ng, hầm, dự kiến b&agrave;n giao v&agrave;o Qu&yacute; 1/2021.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Hiện tại, The Grand Manhattan l&agrave; một trong những dự &aacute;n căn hộ Quận 1 cao cấp thu h&uacute;t sự quan t&acirc;m rất lớn từ kh&aacute;ch h&agrave;ng &ndash; những người đang t&igrave;m kiếm căn hộ mơ ước v&agrave; c&aacute;c nh&agrave; đầu tư thứ cấp. C&ugrave;ng Rever giải m&atilde; sức h&uacute;t dự &aacute;n để c&oacute; quyết định đầu tư hợp l&yacute; nhất.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>The Grand Manhattan v&agrave; vị tr&iacute; v&agrave;ng ngay l&otilde;i trung t&acirc;m th&agrave;nh phố</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">The Grand Manhattan tọa lạc tại địa chỉ 100 C&ocirc; Giang, Quận 1. Vị tr&iacute; n&agrave;y được xem như &ldquo;tấc đất tấc v&agrave;ng&rdquo; ngay l&otilde;i trung t&acirc;m th&agrave;nh phố, gần kề nhiều địa điểm nổi tiếng như: c&aacute;ch chợ Bến Th&agrave;nh 1km, c&aacute;ch phố T&acirc;y B&ugrave;i Viện 500m, c&aacute;ch s&acirc;n khấu Sen Hồng, c&ocirc;ng vi&ecirc;n 23/9, trung t&acirc;m mua sắm, dịch vụ ăn uống TAKA chỉ v&agrave;i ph&uacute;t. S&aacute;t b&ecirc;n dự &aacute;n The Grand Manhattan l&agrave; trường tiểu học - trung học cơ sở Lương Thế Vinh, đại học Văn Lang cơ sở 1, đại học Quốc gia TP.HCM - Viện đ&agrave;o tạo quốc tế. Đồng thời, từ vị tr&iacute; n&agrave;y, bạn rất dễ d&agrave;ng di chuyển sang c&aacute;c quận l&acirc;n cận.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Kh&ocirc;ng chỉ c&oacute; ưu thế kết nối đa chiều, vị tr&iacute; của The Grand Manhattan c&ograve;n được đ&aacute;nh gi&aacute; cao về tiềm năng tăng gi&aacute;, sinh lời trong tương lai. Bởi v&igrave;, quỹ đất khu trung t&acirc;m Quận 1 đang dần trở n&ecirc;n hạn hẹp cũng như việc thay đổi quy hoạch dự &aacute;n nh&agrave; ở cao tầng đến năm 2020 của TP.HCM, nguồn cung căn hộ trong khu vực n&agrave;y trở n&ecirc;n rất khan hiếm. Trong khi nhu cầu sở hữu căn hộ cao cấp tại khu l&otilde;i trung t&acirc;m của c&aacute;c th&agrave;nh phố lớn của Việt Nam cũng như Đ&ocirc;ng Nam &Aacute; đang ng&agrave;y một tăng cao, đặc biệt l&agrave; TP.HCM. Do đ&oacute;, The Grand Manhanttan ch&iacute;nh l&agrave; &ldquo;điểm s&aacute;ng&rdquo; nổi bật tr&ecirc;n thị trường bất động sản th&agrave;nh phố.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Kh&ocirc;ng gian sống đẳng cấp tại The Grand Manhattan</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n căn hộ The Grand Manhattan được x&acirc;y dựng tr&ecirc;n diện t&iacute;ch rộng 1,4ha, mật độ x&acirc;y dựng 49,7%, tương đương diện t&iacute;ch x&acirc;y dựng chiếm 6.961,05 m2. Dự &aacute;n mang phong c&aacute;ch hiện đại, đậm dấu ấn Ch&acirc;u &Acirc;u tr&aacute;ng lệ v&agrave; sang trọng.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Quy m&ocirc; tổng thể dự &aacute;n gồm 3 t&ograve;a th&aacute;p căn hộ cao 39 tầng nổi (tầng 39 l&agrave; tầng s&acirc;n thượng), 4 tầng hầm với diện t&iacute;ch khoảng 35.150m2, đ&aacute;p ứng diện t&iacute;ch cho 883 xe &ocirc; t&ocirc; v&agrave; 1.304 xe gắn m&aacute;y. Tầng 1 &ndash; 2 l&agrave; tầng trung t&acirc;m thương mại &ndash; dịch vụ, từ tầng 4 &ndash; 7 l&agrave; tầng c&aacute;c căn kh&aacute;ch sạn, c&ograve;n tầng c&aacute;c căn hộ l&agrave; từ tầng 8 &ndash; 36. Khối dự &aacute;n The Grand Manhattan được đầu tư v&agrave; ph&aacute;t triển dưới loại h&igrave;nh căn hộ, shophouse v&agrave; c&aacute;c căn kh&aacute;ch sạn.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">C&aacute;c căn hộ The Grand Manhattan được thiết kế th&ocirc;ng minh theo xu hướng mở, bố tr&iacute; kh&ocirc;ng gian khoa học, lắp đặt nhiều cửa sổ, cửa l&ugrave;a, hướng s&aacute;ng v&agrave; đ&oacute;n gi&oacute; tốt. Do đ&oacute;, căn hộ rất th&ocirc;ng tho&aacute;ng, rộng r&atilde;i, tạo cảm gi&aacute;c thoải m&aacute;i, ri&ecirc;ng tư khi ở.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Khu vực ban c&ocirc;ng ph&ograve;ng kh&aacute;ch v&agrave; ph&ograve;ng ngủ được lắp k&iacute;nh cường lực Low-E, gi&uacute;p căn hộ c&oacute; tầm view tho&aacute;ng đạt, c&aacute;ch nhiệt, hướng s&aacute;ng m&agrave; kh&ocirc;ng bị n&oacute;ng. Đặc biệt, tất cả căn hộ được trang bị Smart home 2, thiết bị vệ sinh Grobe &amp; Hansgrohe, thiết bị bếp ti&ecirc;u chuẩn h&agrave;ng Ch&acirc;u &Acirc;u, m&aacute;y lạnh thiết kế &acirc;m trần cho từng căn hộ. C&aacute;c ti&ecirc;u chuẩn về PCCC được kiểm tra nghi&ecirc;m ngặt, nhằm đảm bảo sự an to&agrave;n cao nhất cho cư d&acirc;n.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Một ưu thế kh&aacute;c của dự &aacute;n n&agrave;y đ&oacute; l&agrave; d&ugrave; tọa lạc ngay giữa trung t&acirc;m th&agrave;nh phố nhưng m&ocirc;i trường sống tại The Grand Manhattan lại ho&agrave;n to&agrave;n t&aacute;ch biệt với sự ồn &agrave;o, tấp nập. Thay v&agrave;o đ&oacute;, với mảng xanh l&ecirc;n đến 30% diện t&iacute;ch dự &aacute;n, cư d&acirc;n sẽ được tận hưởng kh&ocirc;ng kh&iacute; m&aacute;t mẻ, trong l&agrave;nh v&agrave; thư th&aacute;i. C&aacute;ch dự &aacute;n kh&ocirc;ng xa l&agrave; &ldquo;l&aacute; phổi xanh&rdquo; c&ocirc;ng vi&ecirc;n 23-9, g&oacute;p phần điều h&ograve;a m&ocirc;i trường sống v&agrave; cũng l&agrave; địa chỉ l&yacute; tưởng để tập thể dục, vui chơi c&ugrave;ng gia đ&igrave;nh,...</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Hệ sinh th&aacute;i tiện &iacute;ch đa dạng, sẵn s&agrave;ng đ&aacute;p ứng mọi nhu cầu của cư d&acirc;n</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Với mong muốn kiến tạo cuộc sống thượng lưu v&agrave; một cộng đồng thịnh vượng ngay giữa trung t&acirc;m th&agrave;nh phố, Novaland đ&atilde; đầu tư hệ sinh th&aacute;i tiện t&iacute;ch nội khu đa dạng, đầy đủ để cư d&acirc;n &ldquo;một bước xuống phố&rdquo;. Chỉ cần bước xuống ph&iacute;a dưới căn hộ của m&igrave;nh, bạn đ&atilde; tiếp cận được h&agrave;ng loạt tiện &iacute;ch, dịch vụ gồm:</span></p>\r\n\r\n<h3 style=\"text-align:justify\"><span style=\"font-size:18px\"><strong>Hệ thống tiện &iacute;ch tầng trệt:</strong></span></h3>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- C&ocirc;ng vi&ecirc;n nội khu 5.000m2</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Lối đi dạo, chạy bộ</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Nhạc nước</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Khu terrace đa năng: Cafe, đọc s&aacute;ch, nh&agrave; h&agrave;ng</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Khu mua sắm cao cấp</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Vườn c&acirc;y, ghế thư gi&atilde;</span></p>\r\n\r\n<h3 style=\"text-align:justify\"><span style=\"font-size:18px\"><strong>Hệ thống tiện &iacute;ch tầng 3:</strong></span></h3>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Hồ bơi người lớn</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Hồ bơi v&agrave; khu vui chơi tr&ecirc;n hồ của trẻ em</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Lounge v&agrave; cafe</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Quầy Bar</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Khu vườn Yoga</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Nh&agrave; h&agrave;ng ngo&agrave;i trời</span></p>\r\n\r\n<h3 style=\"text-align:justify\"><span style=\"font-size:18px\"><strong>Hệ thống tiện &iacute;ch tầng 7:</strong></span></h3>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Hồ bơi người lớn, hồ bơi v&agrave; khu vui chơi tr&ecirc;n hồ của trẻ em</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Quầy bar</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Khu chạy bộ v&agrave; ghế thư gi&atilde;n</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Khu nh&agrave; h&agrave;ng ngo&agrave;i trời</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- BBQ</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Khu tr&ograve; chơi vận động ngo&agrave;i trời.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">C&ugrave;ng với đ&oacute; l&agrave; những dịch vụ như đ&oacute;n tiếp trọng thị ngay từ sảnh, dịch vụ quản gia,... nhằm phục vụ cư d&acirc;n một c&aacute;ch tốt nhất,...</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Kh&ocirc;ng những vậy, nhờ vị tr&iacute; đắc địa ngay trung t&acirc;m TP.HCM n&ecirc;n cư d&acirc;n The Grand Manhattan c&ograve;n được thừa hưởng những tiện &iacute;ch ngoại khu đang hiện hữu xung quanh gồm c&aacute;c trường học, bệnh viện, TTTM, chợ, nh&agrave; h&agrave;ng, caf&eacute;,...</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">C&oacute; thể n&oacute;i, tại The Grand Manhattan, bạn v&agrave; gia đ&igrave;nh sẽ c&oacute; một nơi an cư xứng tầm, đủ tiện nghi, hiện đại để bạn tận hưởng cuộc sống trọn vẹn, đủ b&igrave;nh y&ecirc;n, thư th&aacute;i để bạn trở về qu&acirc;y quần b&ecirc;n những người th&acirc;n y&ecirc;u.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Gi&aacute; b&aacute;n v&agrave; phương thức thanh to&aacute;n dễ chịu</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Gi&aacute; b&aacute;n dự kiến The Grand Manhattan khoảng 160 triệu/m2. Căn 2PN c&oacute; mức gi&aacute; tầm 11 tỷ v&agrave; 14 tỷ/căn 3PN. Mức gi&aacute; n&agrave;y được cho l&agrave; kh&aacute; hợp l&yacute; đối với một dự &aacute;n hạng sang nằm ngay trung t&acirc;m Quận 1 v&agrave; hướng đến ph&acirc;n kh&uacute;c kh&aacute;ch h&agrave;ng cao cấp. So s&aacute;nh mức gi&aacute; của c&aacute;c dự &aacute;n l&acirc;n cận, mức gi&aacute; của The Grand Manhattan kh&ocirc;ng ch&ecirc;nh lệch nhiều: Saigon Plaza 5.000-5.500 USD/m2, Ascott Waterfront Saigon 180-190 triệu/m2,... Đặc biệt, c&aacute;c dự &aacute;n từ Novaland lu&ocirc;n khiến kh&aacute;ch h&agrave;ng y&ecirc;n t&acirc;m bởi b&agrave;n giao rất đẹp v&agrave; chất lượng đ&uacute;ng như đ&atilde; hứa với kh&aacute;ch h&agrave;ng.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Lịch thanh to&aacute;n dự &aacute;n The Grand Manhattan cũng rất hấp dẫn d&agrave;nh cho kh&aacute;ch h&agrave;ng, cụ thể:</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Thanh to&aacute;n 1%/th&aacute;ng đến th&aacute;ng 10/2021 (thời gian b&agrave;n giao nh&agrave; dự kiến)</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ưu đ&atilde;i thanh to&aacute;n thỏa thuận l&ecirc;n đến 17%</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Việc thanh to&aacute;n qua ng&acirc;n h&agrave;ng cũng kh&aacute; linh hoạt v&agrave; dễ chịu:</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Kh&aacute;ch h&agrave;ng thanh to&aacute;n 30% cho ng&acirc;n h&agrave;ng&nbsp;&ndash; Kh&aacute;ch h&agrave;ng vay 40% từ ng&acirc;n h&agrave;ng</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Chủ đầu tư hỗ trợ l&atilde;i suất 10%/năm gi&aacute; trị 40% căn hộ đến ng&agrave;y 30/10/2021.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Đặc biệt &acirc;n hạn gốc 12 th&aacute;ng</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- CĐT hỗ trợ tối đa 2% ph&iacute; phạt nợ trả trước hạn.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Từ những ưu thế tr&ecirc;n, căn hộ Quận 1 The Grand Manhattan l&agrave; lựa chọn l&yacute; tưởng đối với kh&aacute;ch h&agrave;ng mua để ở hay c&aacute;c nh&agrave; đầu tư thứ cấp mua để kinh doanh. Rever sẽ thường xuy&ecirc;n cập nhật tin tức dự &aacute;n The Grand Manhattan cũng như nhiều dự &aacute;n nổi bật kh&aacute;c tr&ecirc;n thị trường. Do d&oacute;, đừng qu&ecirc;n theo d&otilde;i c&aacute;c b&agrave;i viết từ Rever để c&oacute; c&aacute;i nh&igrave;n cụ thể về c&aacute;c dự &aacute;n cũng như đưa ra quyết định đầu tư đ&uacute;ng thời điểm nhất.</span></p>', NULL, 7, NULL, 5, 1, 1, 1, 13, '2020-03-18 03:10:43', '2020-03-18 20:05:23'), (92, '<NAME> - Diamond Island ốc đảo thanh bình giữa lòng thành phố nhộn nhịp', 'du-an-dao-kim-cuong-diamond-island-oc-dao-thanh-binh-giua-long-thanh-pho-nhon-nhip', NULL, 'Khi đời sống càng phát triển, càng hiện đại thì tiêu chuẩn về không gian sống của con người cũng dần thay đổi. Họ không chỉ cần một nơi tiện nghi, cao cấp...', NULL, 'số 1, đường 104, Bình Trưng Tây, Quận 2, TP.HCM', '3.15tỷ/căn bán 15triệu/tháng thuê', '45 - 650m2', NULL, 'Khi đời sống càng phát triển, càng hiện đại thì tiêu chuẩn về không gian sống của con người cũng dần thay đổi. Họ không chỉ cần một nơi tiện nghi, cao cấp...', 1, 'projects/du-an-dao-kim-cuong-diamond-island-oc-dao-thanh-binh-giua-long-thanh-pho-nhon-nhip.jpg', '[\"projects\\/du-an-dao-kim-cuong-diamond-island-oc-dao-thanh-binh-giua-long-thanh-pho-nhon-nhip-0.jpg\",\"projects\\/du-an-dao-kim-cuong-diamond-island-oc-dao-thanh-binh-giua-long-thanh-pho-nhon-nhip-1.jpg\",\"projects\\/du-an-dao-kim-cuong-diamond-island-oc-dao-thanh-binh-giua-long-thanh-pho-nhon-nhip-2.jpg\",\"projects\\/du-an-dao-kim-cuong-diamond-island-oc-dao-thanh-binh-giua-long-thanh-pho-nhon-nhip-3.jpg\"]', '<p style=\"text-align:justify\"><span style=\"font-size:14px\"><strong>Khi đời sống c&agrave;ng ph&aacute;t triển, c&agrave;ng hiện đại th&igrave; ti&ecirc;u chuẩn về kh&ocirc;ng gian sống của con người cũng dần thay đổi. Họ kh&ocirc;ng chỉ cần một nơi tiện nghi, cao cấp m&agrave; c&ograve;n phải xanh, gần gũi thi&ecirc;n nhi&ecirc;n để tận hưởng cảm gi&aacute;c thoải m&aacute;i, nhẹ nh&agrave;ng. Nắm bắt t&acirc;m l&yacute; n&agrave;y, tập đo&agrave;n Kusto Home đ&atilde; x&acirc;y dựng dự &aacute;n Diamond Island - <NAME>ương, t&aacute;i hiện một ốc đảo thanh b&igrave;nh giữa l&ograve;ng th&agrave;nh phố nhộn nhịp.</strong></span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Ngay từ khi mới c&oacute; th&ocirc;ng tin về dự &aacute;n, Diamond Island đ&atilde; nhanh ch&oacute;ng trở th&agrave;nh c&aacute;i t&ecirc;n g&acirc;y ch&uacute; &yacute; tr&ecirc;n thị trường bất động sản. C&aacute;c đợt ra mắt, mở b&aacute;n dự &aacute;n <NAME> với c&aacute;c th&aacute;p Brilliant (giai đoạn 1) v&agrave; Bora Bora, Bahamas, Maldives, Hawaii (giai đoạn 2) diễn ra kh&aacute; th&agrave;nh c&ocirc;ng khi hầu hết số lượng căn hộ đều&nbsp;c&oacute; chủ. Tiếp nối th&agrave;nh c&ocirc;ng đ&oacute;,&nbsp;ng&agrave;y 15/09, chủ đầu tư tiến h&agrave;nh mở b&aacute;n t&ograve;a th&aacute;p Canary&nbsp;- t&ograve;a th&aacute;p cuối c&ugrave;ng trong dự &aacute;n Đảo Kim&nbsp; Cương. Trong ng&agrave;y n&agrave;y,&nbsp;90% giỏ h&agrave;ng đ&atilde; được b&aacute;n sạch.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Hiện tại, chủ đầu tư đang mở b&aacute;n số lượng hạn chế một số căn đẹp nằm ở tầng cao (tầng 16, 17, 18 v&agrave; 19) của to&agrave; th&aacute;p Canary. Trước đ&oacute;,&nbsp;ng&agrave;y 01/08, CĐT th&ocirc;ng b&aacute;o&nbsp;bắt đầu nhận đặt giữ chỗ&nbsp;(booking)&nbsp;căn hộ Canary,&nbsp;tiến độ&nbsp;booking cũng đ&atilde; thu về con số &quot;khủng&quot;.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Ng&agrave;y 02/09, chỉ&nbsp;một th&aacute;ng sau ng&agrave;y bắt đầu nhận đặt giữ chỗ,&nbsp;đ&atilde; c&oacute; 244 bookings.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ng&agrave;y&nbsp;11/008: Sự kiện ra mắt lần 1:&nbsp;19 bookings</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ng&agrave;y&nbsp;18/8:&nbsp;Sự kiện ra mắt lần 2:&nbsp;40 bookings</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ng&agrave;y&nbsp;24/08: Sự kiện ra mắt lần 3:&nbsp;29 bookings</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">- Ng&agrave;y&nbsp;30/08: Sự kiện nh&agrave; mẫu:&nbsp;37 bookings.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Những con số ấn tượng n&agrave;y cho thấy, cơ hội sở hữu căn hộ Canary chỉ chắc chắn với kh&aacute;ch h&agrave;ng n&agrave;o đặt mua sớm hoặc mua từ 2 căn. Đồng thời, tốc độ booking nhanh ch&oacute;ng mặt tr&ecirc;n cũng đ&atilde; khẳng định được sức h&uacute;t mạnh mẽ của t&ograve;a th&aacute;p Canary n&oacute;i ri&ecirc;ng v&agrave; to&agrave;n bộ dự &aacute;n Đảo Kim Cương n&oacute;i chung bởi dự &aacute;n n&agrave;y quy tụ h&agrave;ng loạt ưu thế vượt bậc.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Vị thế đắc địa</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Diamond Island l&agrave; c&aacute;i bắt tay hợp t&aacute;c giữa tập đo&agrave;n Kusto Home với nh&agrave; thầu CotecCons, đơn vị quản l&yacute; Ascott v&agrave; ng&acirc;n h&agrave;ng bảo l&atilde;nh Techcombank. Đặc biệt, dự &aacute;n được thiết kế bởi kiến tr&uacute;c sư người Nhật <NAME> &ndash; người từng thiết kế h&agrave;ng loạt c&ocirc;ng tr&igrave;nh nổi tiếng tr&ecirc;n thế giới như: Th&aacute;p nghệ thuật Mito ( Nhật Bản), Viện bảo t&agrave;ng nghệ thuật đương đại (Los Angeles - Mỹ), Nh&agrave; ga trung t&acirc;m Bologna (Italia),...</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Dự &aacute;n&nbsp;tọa lạc tại số 1, đường 104, B&igrave;nh Trưng T&acirc;y, Quận 2, TP.HCM. Thời gian tới, ch&iacute;nh quyền th&agrave;nh phố đẩy mạnh chủ trương dời l&otilde;i trung t&acirc;m th&agrave;nh phố về Quận 2, những dự &aacute;n tại đ&acirc;y sẽ được hưởng lợi rất lớn.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\"><NAME> Cương liền kề khu đ&ocirc; thị mới Thủ Thi&ecirc;m &ndash; trung t&acirc;m h&agrave;nh ch&iacute;nh, t&agrave;i ch&iacute;nh mới v&agrave; c&aacute;ch trung t&acirc;m th&agrave;nh phố khoảng 7 ph&uacute;t đi xe, c&aacute;ch trung t&acirc;m Quận 7 gần 10 ph&uacute;t qua cầu Ph&uacute; Mỹ. Ph&iacute;a Đ&ocirc;ng gi&aacute;p trung t&acirc;m phức hợp thể dục thể thao v&agrave; s&acirc;n golf 18 lỗ Nam Rạch Chiếc,... Diamond Island kết nối linh hoạt với nhiều địa điểm quan trọng, thuận tiện cho cư d&acirc;n đi lại, l&agrave;m việc,...</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Theo đ&uacute;ng ti&ecirc;u ch&iacute; &ldquo;Island within city&rdquo;, Diamond Island l&agrave; dự &aacute;n duy nhất c&oacute; ba mặt gi&aacute;p s&ocirc;ng S&agrave;i G&ograve;n, s&ocirc;ng Giồng &Ocirc;ng Tố v&agrave; s&ocirc;ng nh&acirc;n tạo Nh&aacute;nh Nhỏ. Nhờ đ&oacute;, m&ocirc;i trường sống tại đ&acirc;y lu&ocirc;n trong l&agrave;nh, tho&aacute;ng m&aacute;t, h&agrave;i h&ograve;a với thi&ecirc;n nhi&ecirc;n. Từ căn hộ, bạn vừa đ&oacute;n những l&agrave;n gi&oacute; tự nhi&ecirc;n vừa được ngắm nh&igrave;n d&ograve;ng s&ocirc;ng uốn lượn đầy thơ mộng.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Chuy&ecirc;n gia phong thủy David Hum (Singapore) đ&aacute;nh gi&aacute;: &ldquo;<NAME> l&agrave; v&ugrave;ng đất c&oacute; vị thế vượng kh&iacute; nhất&rdquo;​. Nơi c&oacute; thế đất &ldquo;Thanh long thụ ch&acirc;u&rdquo;, &ldquo;Tiền v&ocirc; như th&aacute;c, Tiền ra nhỏ giọt&rdquo;. Vị thế đắc địa n&agrave;y đ&atilde; mở ra nhiều tiềm năng cho dự &aacute;n Diamond Island, d&ugrave; l&agrave; để định cư l&acirc;u d&agrave;i, l&agrave;m văn ph&ograve;ng hay kinh doanh.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Thiết kế h&agrave;i h&ograve;a</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Diamond Island được quy hoạch tr&ecirc;n tổng diện t&iacute;ch 8ha, quy m&ocirc; 6 t&ograve;a th&aacute;p: Brilliant, Hawaii, Bora Bora, Canary, Bahamas, Maldives được đặt theo t&ecirc;n những h&ograve;n đảo đẹp v&agrave; nổi tiếng tr&ecirc;n thế giới. Tổng số căn hộ l&agrave; 1.275 căn, mỗi th&aacute;p chỉ 200 &ndash; 250 căn hộ. C&aacute;c căn hộ được thiết kế đẹp mắt, tinh tế theo xu hướng kh&ocirc;ng gian mở nhằm tối ưu h&oacute;a hiệu quả sử dụng diện t&iacute;ch, view s&ocirc;ng v&agrave; bao qu&aacute;t th&agrave;nh phố.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Kiến tr&uacute;c sư Arata Isozaki l&agrave; người đặc biệt quan t&acirc;m đến việc kết hợp h&agrave;i h&ograve;a giữa t&iacute;nh cao cấp, tiện nghi với yếu tố phong thủy trong từng dự &aacute;n v&agrave; Diamond Island cũng kh&ocirc;ng ngoại lệ. &Ocirc;ng&nbsp;đ&atilde; biến những căn hộ nơi đ&acirc;y trở th&agrave;nh nơi hội tụ của gi&oacute; v&agrave; &aacute;nh s&aacute;ng, phong thủy tốt, mang đến năng lượng t&iacute;ch cực v&agrave; vượng kh&iacute; cho chủ nh&acirc;n c&aacute;c căn hộ.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Đặc biệt, hơn 85% diện t&iacute;ch dự &aacute;n được d&agrave;nh để thiết kế mảng xanh với ngụ &yacute; biến Đảo Kim Cương th&agrave;nh một khu đ&ocirc; thị xanh chuẩn như một resort cao cấp, nơi m&agrave; con người sống h&agrave;i h&ograve;a, gần gũi thi&ecirc;n nhi&ecirc;n. Bạn c&oacute; thể mệt mỏi v&igrave; kẹt xe, kh&oacute;i bụi v&agrave; ồn &agrave;o của phố thị nhưng khi trở về Diamond Island, những mệt mỏi đ&oacute; sẽ bị bỏ lại sau lưng. C&ocirc;ng vi&ecirc;n c&acirc;y xanh, vườn hoa, s&ocirc;ng nước bao quanh căn hộ sẽ mang đến một kh&ocirc;ng gian thanh b&igrave;nh, nhẹ nh&agrave;ng để bạn sống thật chậm r&atilde;i, thư th&aacute;i. Đ&acirc;y cũng ch&iacute;nh l&agrave; điều m&agrave; cư d&acirc;n th&agrave;nh thị đang t&igrave;m kiếm mỗi ng&agrave;y, khi mảng xanh th&agrave;nh phố đang dần phải nhường chỗ cho c&aacute;c c&ocirc;ng tr&igrave;nh.</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Tiện &iacute;ch vượt bậc</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Kusto Home l&agrave; một quỹ đầu tư quốc tế c&oacute; trụ sở tại Singapore, hoạt động tại nhiều quốc gia: Trung Quốc, Th&aacute;i Lan, Ấn Độ, Nga, Việt Nam,... Đ&acirc;y cũng l&agrave; một trong những đơn vị đi ti&ecirc;n phong trong việc ứng dụng c&ocirc;ng nghệ ti&ecirc;n tiến, mới mẻ v&agrave;o c&aacute;c dự &aacute;n, nhằm kiến tạo n&ecirc;n những tuyệt t&aacute;c đ&ocirc; thị, mang đến cho kh&aacute;ch h&agrave;ng sự h&agrave;i l&ograve;ng cao nhất.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Điều n&agrave;y được thể hiện r&otilde; n&eacute;t qua hệ thống tiện &iacute;ch nội khu vượt bậc m&agrave; Diamond Island đang sở hữu: Hồ bơi kho&aacute;ng mặn, c&ocirc;ng vi&ecirc;n nước cho trẻ em, gym &ndash; spa, nh&agrave; giữ trẻ miễn ph&iacute;, vườn thiền yoga ngo&agrave;i trời, thư viện ngo&agrave;i trời, l&acirc;u đ&agrave;i thi&ecirc;n văn, s&acirc;n golf, khu BBQ, bến du thuyền 5 sao, taxi nước,... An ninh gần như đảm bảo tuyệt đối, chỉ một lối v&agrave;o duy nhất với 3 lớp bảo vệ, mang đến kh&ocirc;ng gian ri&ecirc;ng tư trọn vẹn, an to&agrave;n.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">B&ecirc;n cạnh đ&oacute;, nhờ vị tr&iacute; nằm gần c&aacute;c dự &aacute;n quan trọng, địa điểm nổi tiếng của th&agrave;nh phố n&ecirc;n cư d&acirc;n Diamond Island sẽ được thừa hưởng nhiều tiện &iacute;ch ngoại khu cao cấp kh&aacute;c: bệnh viện Ph&uacute;c An Khang, bệnh viện Quận 2, hệ thống trường quốc tế (trường quốc tế &Uacute;c Ch&acirc;u, ACG, ISHCM, BIS), Parkson Cantavil, Lotte Cinema, Mega Market,... Sống tại Diamond Island, bạn kh&ocirc;ng cần phải đi đ&acirc;u xa m&agrave; vẫn c&oacute; thể trải nghiệm những dịch vụ tốt nhất, cao cấp nhất, đ&aacute;p ứng mọi nhu cầu của bạn v&agrave; cả gia đ&igrave;nh</span></p>\r\n\r\n<h2 style=\"text-align:justify\"><span style=\"font-size:20px\"><strong>Gi&aacute; b&aacute;n v&agrave; phương thức thanh to&aacute;n linh hoạt</strong></span></h2>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">D&ugrave; sở hữu c&aacute;c ưu thế nổi bật nhưng gi&aacute; b&aacute;n căn hộ Diamond Island lại khiến nhiều người ngạc nhi&ecirc;n, chỉ từ 43 triệu/m2. Mức gi&aacute; n&agrave;y kh&ocirc;ng qu&aacute; ch&ecirc;nh lệch so với c&aacute;c dự &aacute;n c&ugrave;ng ph&acirc;n kh&uacute;c trong khu vực, d&ugrave; để định cư hay kinh doanh đều c&oacute; lợi. Đặc biệt, hiện nay, c&aacute;c c&ocirc;ng ty nước ngo&agrave;i li&ecirc;n tục mở rộng thị trường tại Việt Nam, người nước ngo&agrave;i đến TP.HCM sinh sống, l&agrave;m việc ng&agrave;y một đ&ocirc;ng dẫn đến nhu cầu thu&ecirc; căn hộ rất lớn. V&agrave; những kh&ocirc;ng gian sống hiện đại, đẳng cấp v&agrave; y&ecirc;n tĩnh như Diamond Island lu&ocirc;n nằm trong tầm ngắm của họ.</span></p>\r\n\r\n<p style=\"text-align:justify\"><span style=\"font-size:14px\">Phương thức thanh to&aacute;n linh hoạt, chỉ 30% đến khi nhận nh&agrave;. Hiện, Rever đang l&agrave; đơn vị ph&acirc;n phối ch&iacute;nh thức t&ograve;a th&aacute;p Canary dự &aacute;n <NAME>. Qu&yacute; kh&aacute;ch quan t&acirc;m căn hộ th&aacute;p Canary - dự &aacute;n <NAME>, vui l&ograve;ng li&ecirc;n hệ Rever qua Hotline: 0901 777 667 để nhận tư vấn, hỗ trợ đặt mua căn hộ cũng như tham quan thực tế dự &aacute;n <NAME>.</span></p>', NULL, 7, NULL, 1, 0, 1, 1, 13, '2020-03-19 01:26:16', '2020-03-19 01:27:24'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `project_detail` -- CREATE TABLE `project_detail` ( `id` bigint(20) UNSIGNED NOT NULL, `project_id` bigint(20) NOT NULL, `detail_id` bigint(20) NOT NULL, `value` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `project_detail` -- INSERT INTO `project_detail` (`id`, `project_id`, `detail_id`, `value`, `created_at`, `updated_at`) VALUES (6, 21, 3, '1234', '2020-01-08 03:25:55', '2020-01-08 03:25:55'), (157, 73, 6, '26 tầng/2 block', '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (158, 73, 7, '256 căn hộ và shophouse', '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (159, 73, 8, '50 - 200m²', '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (160, 73, 5, '15/04/2020', '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (161, 73, 4, '12/2021', '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (162, 70, 6, '40 tầng/8 block', '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (163, 70, 7, '4,000 căn', '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (164, 70, 3, '23.6%', '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (165, 70, 8, '45 - 180m2', '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (182, 76, 6, '48 tầng - 2 block', '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (183, 76, 7, '1,047', '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (184, 76, 8, '28 - 124m2', '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (185, 76, 5, '08/2018', '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (186, 76, 4, '12/2021', '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (187, 77, 7, 'Update', '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (188, 77, 8, '100 - 240m²', '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (189, 77, 5, '04/2019', '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (190, 77, 4, 'Update', '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (191, 78, 6, '26 tầng - 2 block', '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (192, 78, 7, '515 căn', '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (193, 78, 8, '45 - 250m2', '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (194, 78, 3, '45%', '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (195, 78, 5, '2018', '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (196, 78, 4, '2022', '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (197, 79, 6, '38 tầng - 9 block', '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (198, 79, 7, '3,748', '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (199, 79, 8, '45 - 111m2', '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (200, 79, 3, '29.5%', '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (201, 79, 5, 'Update', '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (202, 79, 4, 'IV/2021', '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (209, 65, 6, '18 tầng - 2 block', '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (210, 65, 7, '549 căn', '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (211, 65, 8, '50 - 75m2', '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (212, 65, 3, '30%', '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (213, 65, 5, 'Update', '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (214, 65, 4, 'Quý IV/2021', '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (232, 66, 6, '22 tầng - 2 block', '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (233, 66, 7, '461 căn', '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (234, 66, 8, '46 – 100m2', '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (235, 66, 5, 'Quý IV/2019', '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (236, 66, 4, 'Quý IV/2021', '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (237, 67, 6, '18 tầng - 6 block', '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (238, 67, 7, '2577 căn', '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (239, 67, 8, '48 - 79m²', '2020-03-15 20:34:29', '2020-03-15 20:34:29'), (240, 67, 3, '23%', '2020-03-15 20:34:29', '2020-03-15 20:34:29'), (241, 67, 5, 'Quý III/2019', '2020-03-15 20:34:29', '2020-03-15 20:34:29'), (242, 67, 4, 'Quý I/2022', '2020-03-15 20:34:29', '2020-03-15 20:34:29'), (249, 68, 6, 'Update', '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (250, 68, 7, '293 căn', '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (251, 68, 8, '75 - 150m2', '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (252, 68, 3, '23%', '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (253, 68, 5, 'Tháng 6/2019', '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (254, 68, 4, 'Quý I/2020', '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (255, 81, 6, '28 tầng - 4 block', '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (256, 81, 7, '1229 căn', '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (257, 81, 8, '45 - 300m2', '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (258, 81, 3, '24.78%', '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (259, 81, 5, '2013', '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (260, 81, 4, 'Tháng 12/2017', '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (263, 80, 6, '29 tầng - 1 block', '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (264, 80, 7, '243 căn', '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (265, 80, 8, '45 – 123m2', '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (266, 80, 3, 'Update', '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (267, 80, 5, 'Tháng 6/2016', '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (268, 80, 4, 'Quý 1/2018', '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (275, 84, 6, '20 tầng', '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (276, 84, 7, '1310', '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (277, 84, 8, '52 - 85m2', '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (278, 84, 3, '30%', '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (279, 84, 5, 'Tháng 5/2019', '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (280, 84, 4, 'Tháng 6/2021', '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (281, 92, 6, '29 tầng - 6 Block', '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (282, 92, 7, '1275', '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (283, 92, 3, '13.5%', '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (284, 92, 8, '45 - 650m2', '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (285, 92, 5, 'Tháng 9/2016', '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (286, 92, 4, 'Tháng 12/2018', '2020-03-19 01:26:16', '2020-03-19 01:26:16'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `project_utiliti` -- CREATE TABLE `project_utiliti` ( `id` bigint(20) UNSIGNED NOT NULL, `project_id` bigint(20) NOT NULL, `utiliti_id` bigint(20) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `project_utiliti` -- INSERT INTO `project_utiliti` (`id`, `project_id`, `utiliti_id`, `created_at`, `updated_at`) VALUES (24, 21, 5, '2020-01-08 03:25:55', '2020-01-08 03:25:55'), (25, 21, 1, '2020-01-08 03:25:55', '2020-01-08 03:25:55'), (26, 21, 4, '2020-01-08 03:25:55', '2020-01-08 03:25:55'), (27, 21, 3, '2020-01-08 03:25:55', '2020-01-08 03:25:55'), (28, 21, 6, '2020-01-08 03:25:55', '2020-01-08 03:25:55'), (29, 21, 2, '2020-01-08 03:25:55', '2020-01-08 03:25:55'), (355, 73, 5, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (356, 73, 1, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (357, 73, 4, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (358, 73, 33, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (359, 73, 3, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (360, 73, 31, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (361, 73, 6, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (362, 73, 32, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (363, 73, 2, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (364, 73, 30, '2020-03-10 18:21:41', '2020-03-10 18:21:41'), (365, 70, 5, '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (366, 70, 1, '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (367, 70, 4, '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (368, 70, 3, '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (369, 70, 6, '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (370, 70, 2, '2020-03-10 18:23:15', '2020-03-10 18:23:15'), (394, 76, 5, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (395, 76, 1, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (396, 76, 4, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (397, 76, 33, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (398, 76, 3, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (399, 76, 31, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (400, 76, 6, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (401, 76, 32, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (402, 76, 2, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (403, 76, 30, '2020-03-11 02:26:00', '2020-03-11 02:26:00'), (404, 77, 5, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (405, 77, 1, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (406, 77, 4, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (407, 77, 33, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (408, 77, 3, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (409, 77, 31, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (410, 77, 6, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (411, 77, 32, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (412, 77, 2, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (413, 77, 30, '2020-03-13 02:23:05', '2020-03-13 02:23:05'), (414, 78, 5, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (415, 78, 1, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (416, 78, 4, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (417, 78, 33, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (418, 78, 3, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (419, 78, 31, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (420, 78, 6, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (421, 78, 32, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (422, 78, 2, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (423, 78, 30, '2020-03-13 18:58:02', '2020-03-13 18:58:02'), (424, 79, 5, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (425, 79, 1, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (426, 79, 4, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (427, 79, 33, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (428, 79, 3, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (429, 79, 31, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (430, 79, 6, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (431, 79, 32, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (432, 79, 2, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (433, 79, 30, '2020-03-13 19:58:33', '2020-03-13 19:58:33'), (444, 65, 5, '2020-03-15 20:19:21', '2020-03-15 20:19:21'), (445, 65, 1, '2020-03-15 20:19:21', '2020-03-15 20:19:21'), (446, 65, 4, '2020-03-15 20:19:21', '2020-03-15 20:19:21'), (447, 65, 33, '2020-03-15 20:19:21', '2020-03-15 20:19:21'), (448, 65, 3, '2020-03-15 20:19:21', '2020-03-15 20:19:21'), (449, 65, 31, '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (450, 65, 6, '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (451, 65, 32, '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (452, 65, 2, '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (453, 65, 30, '2020-03-15 20:19:22', '2020-03-15 20:19:22'), (483, 66, 5, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (484, 66, 1, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (485, 66, 4, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (486, 66, 33, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (487, 66, 3, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (488, 66, 31, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (489, 66, 6, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (490, 66, 32, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (491, 66, 2, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (492, 66, 30, '2020-03-15 20:29:27', '2020-03-15 20:29:27'), (493, 67, 5, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (494, 67, 1, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (495, 67, 4, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (496, 67, 33, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (497, 67, 3, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (498, 67, 31, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (499, 67, 6, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (500, 67, 32, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (501, 67, 2, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (502, 67, 30, '2020-03-15 20:34:28', '2020-03-15 20:34:28'), (513, 68, 5, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (514, 68, 1, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (515, 68, 4, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (516, 68, 33, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (517, 68, 3, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (518, 68, 31, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (519, 68, 6, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (520, 68, 32, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (521, 68, 2, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (522, 68, 30, '2020-03-15 21:01:02', '2020-03-15 21:01:02'), (523, 81, 5, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (524, 81, 1, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (525, 81, 4, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (526, 81, 33, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (527, 81, 3, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (528, 81, 31, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (529, 81, 6, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (530, 81, 32, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (531, 81, 2, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (532, 81, 30, '2020-03-16 10:01:14', '2020-03-16 10:01:14'), (552, 80, 5, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (553, 80, 1, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (554, 80, 4, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (555, 80, 33, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (556, 80, 3, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (557, 80, 31, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (558, 80, 6, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (559, 80, 32, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (560, 80, 2, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (561, 80, 30, '2020-03-16 19:42:02', '2020-03-16 19:42:02'), (572, 84, 5, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (573, 84, 1, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (574, 84, 4, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (575, 84, 33, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (576, 84, 3, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (577, 84, 31, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (578, 84, 6, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (579, 84, 32, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (580, 84, 2, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (581, 84, 30, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (582, 91, 5, '2020-03-18 03:10:43', '2020-03-18 03:10:43'), (583, 91, 1, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (584, 91, 4, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (585, 91, 33, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (586, 91, 3, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (587, 91, 31, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (588, 91, 6, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (589, 91, 32, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (590, 91, 2, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (591, 91, 30, '2020-03-18 03:10:44', '2020-03-18 03:10:44'), (592, 92, 5, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (593, 92, 1, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (594, 92, 4, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (595, 92, 33, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (596, 92, 3, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (597, 92, 31, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (598, 92, 6, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (599, 92, 32, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (600, 92, 2, '2020-03-19 01:26:16', '2020-03-19 01:26:16'), (601, 92, 30, '2020-03-19 01:26:16', '2020-03-19 01:26:16'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `sliders` -- CREATE TABLE `sliders` ( `id` bigint(20) UNSIGNED NOT NULL, `url_slider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `priority` bigint(20) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `sliders` -- INSERT INTO `sliders` (`id`, `url_slider`, `priority`, `created_at`, `updated_at`) VALUES (1, 'sliders/1576835081.jpg', 0, '2019-12-20 02:45:25', '2019-12-20 02:45:25'), (3, 'sliders/1576835130.jpg', 2, '2019-12-20 02:45:30', '2019-12-20 02:45:30'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `states_project` -- CREATE TABLE `states_project` ( `id` bigint(20) NOT NULL, `title` text COLLATE utf8_unicode_ci NOT NULL, `excerpt` text COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `states_project` -- INSERT INTO `states_project` (`id`, `title`, `excerpt`, `created_at`, `updated_at`) VALUES (1, 'Đang mở bán', NULL, NULL, NULL), (2, 'Sắp mở bán', NULL, NULL, NULL), (3, 'Đã hết hạn', NULL, NULL, NULL), (4, 'Đang cập nhật', NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `tags` -- CREATE TABLE `tags` ( `id` bigint(20) UNSIGNED NOT NULL, `title` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `count` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `tags` -- INSERT INTO `tags` (`id`, `title`, `slug`, `description`, `count`, `created_at`, `updated_at`) VALUES (8, 'nhà đất An Giang', 'nha-dat-an-giang', NULL, '0', '2020-03-05 00:17:17', '2020-03-05 00:17:17'), (9, 'nhà đất Bà Rịa Vũng Tàu', 'nha-dat-ba-ria-vung-tau', NULL, '0', '2020-03-05 00:17:49', '2020-03-05 00:17:49'), (10, 'nhà đất Bắc Giang', 'nha-dat-bac-giang', NULL, '0', '2020-03-05 00:17:53', '2020-03-05 00:17:53'), (11, 'nhà đất Bắc Kạn', 'nha-dat-bac-kan', NULL, '0', '2020-03-05 00:17:58', '2020-03-05 00:17:58'), (12, 'nhà đất Bạc Liêu', 'nha-dat-bac-lieu', NULL, '0', '2020-03-05 00:18:03', '2020-03-05 00:18:03'), (13, 'nhà đất Bắc Ninh', 'nha-dat-bac-ninh', NULL, '0', '2020-03-05 00:18:07', '2020-03-05 00:18:07'), (14, 'nhà đất Bến Tre', 'nha-dat-ben-tre', NULL, '0', '2020-03-05 00:18:11', '2020-03-05 00:18:11'), (15, 'nhà đất Bình Định', 'nha-dat-binh-dinh', NULL, '0', '2020-03-05 00:18:16', '2020-03-05 00:18:16'), (16, 'nhà đất Bình Dương', 'nha-dat-binh-duong', NULL, '0', '2020-03-05 00:18:19', '2020-03-05 00:18:19'), (17, 'nhà đất Bình Phước', 'nha-dat-binh-phuoc', NULL, '0', '2020-03-05 00:18:24', '2020-03-05 00:18:24'), (18, 'nhà đất Bình Thuận', 'nha-dat-binh-thuan', NULL, '0', '2020-03-05 00:18:27', '2020-03-05 00:18:27'), (19, 'nhà đất Cà Mau', 'nha-dat-ca-mau', NULL, '0', '2020-03-05 00:18:31', '2020-03-05 00:18:31'), (20, 'nhà đất Cao Bằng', 'nha-dat-cao-bang', NULL, '0', '2020-03-05 00:18:35', '2020-03-05 00:18:35'), (21, 'nhà đất Đắk Lắk', 'nha-dat-dak-lak', NULL, '0', '2020-03-05 00:18:39', '2020-03-05 00:18:39'), (22, 'nhà đất Đắk Nông', 'nha-dat-dak-nong', NULL, '0', '2020-03-05 00:18:42', '2020-03-05 00:18:42'), (23, 'nhà đất Điện Biên', 'nha-dat-dien-bien', NULL, '0', '2020-03-05 00:18:47', '2020-03-05 00:18:47'), (24, 'nhà đất Đồng Nai', 'nha-dat-dong-nai', NULL, '0', '2020-03-05 00:19:04', '2020-03-05 00:19:04'), (25, 'nhà đất Đ<NAME>p', 'nha-dat-dong-thap', NULL, '0', '2020-03-05 00:19:10', '2020-03-05 00:19:10'), (26, 'nhà đất Gia Lai', 'nha-dat-gia-lai', NULL, '0', '2020-03-05 00:19:15', '2020-03-05 00:19:15'), (27, 'nhà đất H<NAME>iang', 'nha-dat-ha-giang', NULL, '0', '2020-03-05 00:19:34', '2020-03-05 00:19:34'), (28, 'nhà đất Hà Nam', 'nha-dat-ha-nam', NULL, '0', '2020-03-05 00:19:39', '2020-03-05 00:19:39'), (29, 'nhà đất Hà Tĩnh', 'nha-dat-ha-tinh', NULL, '0', '2020-03-05 00:19:43', '2020-03-05 00:19:43'), (30, 'nhà đất <NAME>', 'nha-dat-hai-duong', NULL, '0', '2020-03-05 00:19:55', '2020-03-05 00:19:55'), (31, 'nhà đất Hậu Giang', 'nha-dat-hau-giang', NULL, '0', '2020-03-05 00:20:00', '2020-03-05 00:20:00'), (32, 'nhà đất Hòa Bình', 'nha-dat-hoa-binh', NULL, '0', '2020-03-05 00:20:06', '2020-03-05 00:20:06'), (33, 'nhà đất Hưng Yên', 'nha-dat-hung-yen', NULL, '0', '2020-03-05 00:20:10', '2020-03-05 00:20:10'), (34, 'nhà đất <NAME>', 'nha-dat-khanh-hoa', NULL, '0', '2020-03-05 00:20:13', '2020-03-05 00:20:13'), (35, 'nhà đất Kiên Giang', 'nha-dat-kien-giang', NULL, '0', '2020-03-05 00:20:17', '2020-03-05 00:20:17'), (36, 'nhà đất Kon Tum', 'nha-dat-kon-tum', NULL, '0', '2020-03-05 00:20:20', '2020-03-05 00:20:20'), (37, 'nhà đất Lai Châu', 'nha-dat-lai-chau', NULL, '0', '2020-03-05 00:20:24', '2020-03-05 00:20:24'), (38, 'nhà đất Lâm Đồng', 'nha-dat-lam-dong', NULL, '0', '2020-03-05 00:20:28', '2020-03-05 00:20:28'), (39, 'nhà đất Lạng Sơn', 'nha-dat-lang-son', NULL, '0', '2020-03-05 00:20:32', '2020-03-05 00:20:32'), (40, 'nhà đất Lào Cai', 'nha-dat-lao-cai', NULL, '0', '2020-03-05 00:20:36', '2020-03-05 00:20:36'), (41, 'nhà đất Long An', 'nha-dat-long-an', NULL, '0', '2020-03-05 00:20:40', '2020-03-05 00:20:40'), (42, 'nhà đất Nam Định', 'nha-dat-nam-dinh', NULL, '0', '2020-03-05 00:20:43', '2020-03-05 00:20:43'), (43, 'nhà đất Nghệ An', 'nha-dat-nghe-an', NULL, '0', '2020-03-05 00:20:46', '2020-03-05 00:20:46'), (44, 'nhà đất Ninh Bình', 'nha-dat-ninh-binh', NULL, '0', '2020-03-05 00:20:49', '2020-03-05 00:20:49'), (45, 'nhà đất Ninh Thuận', 'nha-dat-ninh-thuan', NULL, '0', '2020-03-05 00:20:53', '2020-03-05 00:20:53'), (46, 'nhà đất Phú Thọ', 'nha-dat-phu-tho', NULL, '0', '2020-03-05 00:20:56', '2020-03-05 00:20:56'), (47, 'nhà đất Quảng Bình', 'nha-dat-quang-binh', NULL, '0', '2020-03-05 00:21:00', '2020-03-05 00:21:00'), (48, 'nhà đất Quảng Nam', 'nha-dat-quang-nam', NULL, '0', '2020-03-05 00:21:03', '2020-03-05 00:21:03'), (49, 'nhà đất Quảng Ngãi', 'nha-dat-quang-ngai', NULL, '0', '2020-03-05 00:21:06', '2020-03-05 00:21:06'), (50, 'nhà đất Quảng Ninh', 'nha-dat-quang-ninh', NULL, '0', '2020-03-05 00:21:09', '2020-03-05 00:21:09'), (51, 'nhà đất Quảng Trị', 'nha-dat-quang-tri', NULL, '0', '2020-03-05 00:21:12', '2020-03-05 00:21:12'), (52, 'nhà đất Sóc Trăng', 'nha-dat-soc-trang', NULL, '0', '2020-03-05 00:21:15', '2020-03-05 00:21:15'), (53, 'nhà đất Sơn La', 'nha-dat-son-la', NULL, '0', '2020-03-05 00:21:18', '2020-03-05 00:21:18'), (54, 'nhà đất Tây Ninh', 'nha-dat-tay-ninh', NULL, '0', '2020-03-05 00:21:21', '2020-03-05 00:21:21'), (55, 'nhà đất Thái Bình', 'nha-dat-thai-binh', NULL, '0', '2020-03-05 00:21:24', '2020-03-05 00:21:24'), (56, 'nhà đất Thái Nguyên', 'nha-dat-thai-nguyen', NULL, '0', '2020-03-05 00:21:28', '2020-03-05 00:21:28'), (57, 'nhà đất Thanh Hóa', 'nha-dat-thanh-hoa', NULL, '0', '2020-03-05 00:21:31', '2020-03-05 00:21:31'), (58, 'nhà đất Thừa Thiên Huế', 'nha-dat-thua-thien-hue', NULL, '0', '2020-03-05 00:21:34', '2020-03-05 00:21:34'), (59, 'nhà đất Tiền Giang', 'nha-dat-tien-giang', NULL, '0', '2020-03-05 00:21:36', '2020-03-05 00:21:36'), (60, 'nhà đất Trà Vinh', 'nha-dat-tra-vinh', NULL, '0', '2020-03-05 00:21:40', '2020-03-05 00:21:40'), (61, 'nhà đất Tuyên Quang', 'nha-dat-tuyen-quang', NULL, '0', '2020-03-05 00:21:43', '2020-03-05 00:21:43'), (62, 'nhà đất Vĩnh Long', 'nha-dat-vinh-long', NULL, '0', '2020-03-05 00:21:46', '2020-03-05 00:21:46'), (63, 'nhà đất Vĩnh Phúc', 'nha-dat-vinh-phuc', NULL, '0', '2020-03-05 00:21:49', '2020-03-05 00:21:49'), (64, 'nhà đất Yên Bái', 'nha-dat-yen-bai', NULL, '0', '2020-03-05 00:21:53', '2020-03-05 00:21:53'), (65, 'nhà đất Phú Yên', 'nha-dat-phu-yen', NULL, '0', '2020-03-05 00:21:55', '2020-03-05 00:21:55'), (66, 'nhà đất Cần Thơ', 'nha-dat-can-tho', NULL, '0', '2020-03-05 00:21:58', '2020-03-05 00:21:58'), (67, 'nhà đất Đà Nẵng', 'nha-dat-da-nang', NULL, '0', '2020-03-05 00:22:02', '2020-03-05 00:22:02'), (68, 'nhà đất Hải Phòng', 'nha-dat-hai-phong', NULL, '0', '2020-03-05 00:22:05', '2020-03-05 00:22:05'), (69, 'nhà đất Hà Nội', 'nha-dat-ha-noi', NULL, '0', '2020-03-05 00:22:08', '2020-03-05 00:22:08'), (70, 'nhà đất TP HCM', 'nha-dat-tp-hcm', NULL, '0', '2020-03-05 00:22:12', '2020-03-05 00:22:12'), (71, 'nhà đất Việt Nam', 'nha-dat-viet-nam', NULL, '0', '2020-03-05 00:22:18', '2020-03-05 00:22:18'), (72, 'tin tức dịch bệnh corona', 'tin-tuc-dich-benh-corona', NULL, '0', '2020-03-05 00:22:24', '2020-03-05 00:22:24'), (73, 'virus corona', 'virus-corona', NULL, '0', '2020-03-05 00:22:28', '2020-03-05 00:22:28'), (74, 'SARS CoV 2', 'sars-cov-2', NULL, '0', '2020-03-05 00:23:07', '2020-03-05 00:23:07'), (75, 'dịch bệnh Covid 19', 'dich-benh-covid-19', NULL, '0', '2020-03-05 00:23:28', '2020-03-05 00:23:28'), (76, 'tin tức bất động sản', 'tin-tuc-bat-dong-san', NULL, '0', '2020-03-05 00:23:34', '2020-03-05 00:23:34'), (77, 'thị trường bất động sản 2020', 'thi-truong-bat-dong-san-2020', NULL, '0', '2020-03-05 00:23:57', '2020-03-05 00:23:57'), (78, 'sân bay Long Thành', 'san-bay-long-thanh', NULL, '0', '2020-03-05 00:24:02', '2020-03-05 00:24:02'), (79, 'luật đất đai', 'luat-dat-dai', NULL, '0', '2020-03-05 00:24:07', '2020-03-05 05:09:30'), (87, 'đầu tư bất động sản', 'dau-tu-bat-dong-san', NULL, '0', '2020-03-17 00:54:45', '2020-03-17 00:54:45'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `tag_new` -- CREATE TABLE `tag_new` ( `id` bigint(20) UNSIGNED NOT NULL, `new_id` bigint(20) NOT NULL, `tag_id` bigint(20) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `tag_new` -- INSERT INTO `tag_new` (`id`, `new_id`, `tag_id`, `created_at`, `updated_at`) VALUES (24, 42, 79, '2020-03-05 18:08:22', '2020-03-05 18:08:22'), (25, 42, 78, '2020-03-05 18:08:22', '2020-03-05 18:08:22'), (26, 42, 76, '2020-03-05 18:08:22', '2020-03-05 18:08:22'), (27, 43, 79, '2020-03-08 23:38:21', '2020-03-08 23:38:21'), (30, 44, 79, '2020-03-08 23:58:06', '2020-03-08 23:58:06'), (32, 46, 87, '2020-03-17 00:57:01', '2020-03-17 00:57:01'), (33, 46, 77, '2020-03-17 00:57:01', '2020-03-17 00:57:01'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `tag_project` -- CREATE TABLE `tag_project` ( `id` bigint(20) UNSIGNED NOT NULL, `project_id` bigint(20) NOT NULL, `tag_id` bigint(20) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `tag_project` -- INSERT INTO `tag_project` (`id`, `project_id`, `tag_id`, `created_at`, `updated_at`) VALUES (27, 60, 79, '2020-03-05 03:00:50', '2020-03-05 03:00:50'), (28, 60, 78, '2020-03-05 03:00:50', '2020-03-05 03:00:50'), (29, 60, 77, '2020-03-05 03:00:50', '2020-03-05 03:00:50'), (32, 61, 79, '2020-03-05 03:18:07', '2020-03-05 03:18:07'), (33, 61, 78, '2020-03-05 03:18:07', '2020-03-05 03:18:07'), (35, 62, 79, '2020-03-05 03:21:05', '2020-03-05 03:21:05'), (36, 63, 79, '2020-03-05 05:44:33', '2020-03-05 05:44:33'), (37, 63, 78, '2020-03-05 05:44:33', '2020-03-05 05:44:33'), (50, 84, 87, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (51, 84, 77, '2020-03-17 02:47:32', '2020-03-17 02:47:32'), (52, 84, 70, '2020-03-17 02:47:32', '2020-03-17 02:47:32'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `phone` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `excerpt` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `url_avatar` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `permission` bigint(20) NOT NULL DEFAULT 2, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` int(11) DEFAULT 1, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `users` -- INSERT INTO `users` (`id`, `name`, `email`, `phone`, `excerpt`, `url_avatar`, `email_verified_at`, `password`, `permission`, `remember_token`, `status`, `created_at`, `updated_at`) VALUES (1, '<NAME>', '<EMAIL>', NULL, 'Kênh thông tin mua bán cho thuê nhà đất và đầu tư bất động sản, cung cấp tin tức thị trường bất động sản nhanh chóng, kịp thời và chính xác nhất...', 'images/avatar/1583983594.jpg', NULL, '$2y$10$LvMM1jzOsHRNFRIlbvmlhOZxVL/ZuwiqHGqW5QmCGMg6Lligruwlm', 1, NULL, 1, '2019-12-13 03:10:27', '2020-03-11 20:26:34'), (6, '<NAME>', '<EMAIL>', NULL, 'Tuyến phố ẩm thực tại Sunshine Diamond River sẽ được phát triển theo mô hình \"công viên ẩm thực chủ đề\" được thiết kế chuyên biệt', 'images/avatar/1582187938.jpg', NULL, '$2y$10$VfKWCUeh3jPrex6Qq1pac.DwhUQQDIl.Hn.1MsE5knVjV2ze8Jaou', 2, NULL, 0, '2020-02-20 01:38:59', '2020-03-19 01:21:07'), (11, 'Admin', '<EMAIL>', NULL, 'Dautubatdongsan vn Kênh thông tin mua bán cho thuê nhà đất và đầu tư bất động sản, cung cấp tin tức thị trường bất động sản nhanh chóng, kịp thời và chính xác nhất...', 'images/avatar/1583398246.png', NULL, '$2y$10$M7hcYb4eHuHW.C1ZBXX2QOEh7RkaMmQ.2VL9EOiT6tXMUUdw2V84S', 2, NULL, 1, '2020-03-05 01:50:46', '2020-03-07 17:45:19'), (12, '<NAME>', '<EMAIL>', NULL, 'Kênh thông tin mua bán cho thuê nhà đất và đầu tư bất động sản, cung cấp tin tức thị trường bất động sản nhanh chóng, kịp thời và chính xác nhất..', NULL, NULL, '$2y$10$Iv/LCO3dBi7ke3zWY.TBzugKdhrDMh4.Ty4whfDnyHCvLD0BkSx52', 1, NULL, 1, '2020-03-16 03:21:55', '2020-03-16 03:21:55'), (13, '<NAME>', '<EMAIL>', NULL, NULL, NULL, NULL, '$2y$10$NJuj5BTgV58Wk.lzOUMxDex.TQIXxG4J8OiLu/hwbWuvpldX.IkWy', 1, NULL, 1, '2020-03-17 03:00:04', '2020-03-17 03:00:04'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `utilities` -- CREATE TABLE `utilities` ( `id` bigint(20) UNSIGNED NOT NULL, `title` text COLLATE utf8mb4_unicode_ci NOT NULL, `status` tinyint(1) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `utilities` -- INSERT INTO `utilities` (`id`, `title`, `status`, `created_at`, `updated_at`) VALUES (1, 'Chổ đậu xe', 1, '2019-12-20 18:05:37', '2019-12-20 18:05:37'), (2, 'Thang máy', 1, '2019-12-20 18:06:02', '2019-12-20 18:06:02'), (3, 'Phòng sinh hoạt cộng đồng', 1, '2019-12-20 18:07:13', '2019-12-20 18:07:13'), (4, 'Công viên', 1, '2019-12-20 18:07:44', '2020-02-17 05:42:32'), (5, 'Bảo vệ 24/7', 1, '2019-12-20 18:08:04', '2019-12-20 18:08:04'), (6, 'Sân chơi trẻ em', 1, '2019-12-20 18:08:14', '2020-03-05 04:56:21'), (30, 'Trung tâm thương mại', 1, '2020-03-10 09:28:11', '2020-03-10 09:28:11'), (31, 'Phòng tập gym', 1, '2020-03-10 09:28:22', '2020-03-10 09:28:22'), (32, 'Sân nướng BBQ', 1, '2020-03-10 09:28:30', '2020-03-10 09:28:30'), (33, 'Hồ bơi', 1, '2020-03-10 09:28:47', '2020-03-10 09:28:47'); -- -- Chỉ mục cho các bảng đã đổ -- -- -- Chỉ mục cho bảng `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `comments` -- ALTER TABLE `comments` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `config` -- ALTER TABLE `config` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `contacts` -- ALTER TABLE `contacts` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `details` -- ALTER TABLE `details` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `investors` -- ALTER TABLE `investors` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `links` -- ALTER TABLE `links` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `news` -- ALTER TABLE `news` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Chỉ mục cho bảng `permissions` -- ALTER TABLE `permissions` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `projects` -- ALTER TABLE `projects` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `project_detail` -- ALTER TABLE `project_detail` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `project_utiliti` -- ALTER TABLE `project_utiliti` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `sliders` -- ALTER TABLE `sliders` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `states_project` -- ALTER TABLE `states_project` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `tags` -- ALTER TABLE `tags` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `tag_new` -- ALTER TABLE `tag_new` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `tag_project` -- ALTER TABLE `tag_project` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `email` (`email`); -- -- Chỉ mục cho bảng `utilities` -- ALTER TABLE `utilities` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT cho các bảng đã đổ -- -- -- AUTO_INCREMENT cho bảng `categories` -- ALTER TABLE `categories` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT cho bảng `comments` -- ALTER TABLE `comments` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT cho bảng `config` -- ALTER TABLE `config` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT cho bảng `contacts` -- ALTER TABLE `contacts` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- AUTO_INCREMENT cho bảng `details` -- ALTER TABLE `details` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23; -- -- AUTO_INCREMENT cho bảng `investors` -- ALTER TABLE `investors` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27; -- -- AUTO_INCREMENT cho bảng `links` -- ALTER TABLE `links` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT cho bảng `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42; -- -- AUTO_INCREMENT cho bảng `news` -- ALTER TABLE `news` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47; -- -- AUTO_INCREMENT cho bảng `permissions` -- ALTER TABLE `permissions` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT cho bảng `projects` -- ALTER TABLE `projects` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=93; -- -- AUTO_INCREMENT cho bảng `project_detail` -- ALTER TABLE `project_detail` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=287; -- -- AUTO_INCREMENT cho bảng `project_utiliti` -- ALTER TABLE `project_utiliti` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=602; -- -- AUTO_INCREMENT cho bảng `sliders` -- ALTER TABLE `sliders` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT cho bảng `states_project` -- ALTER TABLE `states_project` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT cho bảng `tags` -- ALTER TABLE `tags` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=88; -- -- AUTO_INCREMENT cho bảng `tag_new` -- ALTER TABLE `tag_new` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; -- -- AUTO_INCREMENT cho bảng `tag_project` -- ALTER TABLE `tag_project` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=53; -- -- AUTO_INCREMENT cho bảng `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; -- -- AUTO_INCREMENT cho bảng `utilities` -- ALTER TABLE `utilities` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36; 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>EMS.sql CREATE DATABASE EMS; USE ems; CREATE TABLE employee ( user_type VARCHAR(255) default 'NORMAL USER', emp_id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, emp_firstname VARCHAR(255) NOT NULL, emp_lastname VARCHAR(255) NOT NULL, mobile_num VARCHAR(10) NOT NULL, date_of_birth DATE NOT NULL, gender VARCHAR(10) NOT NULL, comm_address VARCHAR(255) NOT NULL, city VARCHAR(255) NOT NULL, userName varchar(255) NOT NULL UNIQUE, user_password VARCHAR(255) NOT NULL UNIQUE ); CREATE TABle issue ( issue_id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, issue_type VARCHAR(255) NOT NULL, issue_desc VARCHAR(255) NOT NULL, emp_id INT NOT NULL, issue_status VARCHAR(255) NOT NULL, FOREIGN KEY (emp_id) REFERENCES employee(emp_id) ON DELETE CASCADE ); CREATE TABLE project ( proj_id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, proj_name VARCHAR(255) NOT NULL, proj_desc VARCHAR(255) NOT NULL, proj_startdate DATE NOT NULL, proj_enddate DATE NOT NULL ); CREATE Table emp_proj ( emp_proj_id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, emp_id INT NOT NULL, proj_id INT NOT NULL, proj_manager INT NOT NULL, FOREIGN KEY (emp_id) REFERENCES employee(emp_id) ON DELETE CASCADE, FOREIGN KEY (proj_id) REFERENCES project(proj_id) ON DELETE CASCADE, FOREIGN KEY (proj_manager) REFERENCES employee(emp_id) ON DELETE CASCADE );
-- phpMyAdmin SQL Dump -- version 4.2.7.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Nov 15, 2016 at 03:03 AM -- Server version: 5.6.20 -- PHP Version: 5.5.15 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `plan` -- -- -------------------------------------------------------- -- -- Table structure for table `actions` -- CREATE TABLE IF NOT EXISTS `actions` ( `ac_id` int(11) NOT NULL, `ac_name` varchar(255) DEFAULT NULL, `plans_p_id` int(11) NOT NULL, `ac_type` varchar(45) DEFAULT NULL, `ac_status` varchar(45) DEFAULT NULL, `ac_rate` varchar(45) DEFAULT NULL, `time_t_id` int(11) NOT NULL, `semester` varchar(100) DEFAULT NULL, `start_date` date DEFAULT NULL, `due_date` date DEFAULT NULL, `cat_time` varchar(100) DEFAULT NULL, `profit_pr_id` int(11) NOT NULL, `number` int(11) DEFAULT NULL, `coust` varchar(45) DEFAULT NULL, `order` int(11) DEFAULT NULL, `notes` text, `hidden` int(45) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=85 ; -- -- Dumping data for table `actions` -- INSERT INTO `actions` (`ac_id`, `ac_name`, `plans_p_id`, `ac_type`, `ac_status`, `ac_rate`, `time_t_id`, `semester`, `start_date`, `due_date`, `cat_time`, `profit_pr_id`, `number`, `coust`, `order`, `notes`, `hidden`, `created_at`, `updated_at`) VALUES (11, 'ان يتعرف الطلاب المستجدون على المرحلة المتوسطة وعلى مرافق المدرسة', 15, 'اجراء', 'تم الانتهاء', '100', 56, 'الفصل الدراسى الاول', '1437-12-17', '1437-12-17', 'سنوى', 58, 133, '1', 1, 'بدون', NULL, '2016-10-29 10:39:06', '2016-10-29 10:39:06'), (12, 'حصر الطلاب المعيدين وعقد جلسة ارشادية لهم', 15, 'اجراء', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1438-01-08', '1438-01-12', 'سنوى', 58, 12, '0', 1, '0', NULL, '2016-10-29 10:45:13', '2016-10-29 10:45:13'), (13, 'تنفيذ الحصة التطبيقية لجميع التخصصات', 15, 'اجراء', 'جارى التنفيذ', '25', 47, 'الفصل الدراسى الاول', '1438-01-29', '1438-02-03', 'فصلى', 61, 30, '1', 2, '0', NULL, '2016-10-29 10:51:37', '2016-10-29 10:51:37'), (14, 'تنفيذ الزيارات التوجيهية لفريق العمل', 15, 'اجراء', 'جارى التنفيذ', '50', 49, 'الفصل الدراسى الاول', '1438-01-15', '1438-02-03', 'فصلى', 61, 35, '1', 1, '1', NULL, '2016-10-31 05:14:07', '2016-10-31 05:14:07'), (15, 'اسبوع التهيئة الارشادية', 15, 'برنامج', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1437-12-17', '1437-12-21', 'سنوى', 58, 139, '0', 2, '', NULL, '2016-10-31 07:52:43', '2016-10-31 07:52:43'), (16, 'توزيع رسائل ارشادية على الطلاب ', 15, 'اجراء', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1437-12-17', '1437-12-21', 'سنوى', 58, 133, '0', 2, '', NULL, '2016-10-31 08:01:22', '2016-10-31 08:01:22'), (17, 'بطاقة المعلومات الصحية', 15, 'برنامج', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1437-12-24', '1437-12-28', 'فصلى', 58, 463, '0', 3, '', NULL, '2016-10-31 08:08:56', '2016-10-31 08:08:56'), (18, 'برنامج تكافل ', 15, 'برنامج', 'تم الانتهاء', '100', 48, 'الفصل الدراسى الاول', '1438-01-01', '1438-01-12', 'يومى', 58, 9, '0', 4, '', NULL, '2016-10-31 08:17:10', '2016-10-31 08:17:10'), (19, 'برنامج للطلاب المعيدين دراسيا', 15, 'برنامج', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1438-01-15', '1438-01-19', 'فصلى', 58, 6, '3', 6, '', NULL, '2016-10-31 08:35:47', '2016-10-31 08:41:28'), (24, 'حضور اجتماع التدقيق الداخلي ', 15, 'مهمة', 'تم الانتهاء', '100', 56, 'الفصل الدراسى الاول', '1438-01-02', '1438-01-02', 'فصلى', 60, 2, '0', 1, '0', NULL, '2016-11-01 08:18:41', '2016-11-01 08:18:41'), (25, 'تهيئة مقار النشاط وترتيب الملفات', 15, 'اجراء', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1437-12-17', '1437-12-21', 'فصلى', 58, 400, '0', 1, '', NULL, '2016-11-01 08:28:30', '2016-11-01 08:28:30'), (26, 'تهيئة الصف الأول المتوسط', 15, 'برنامج', 'تم الانتهاء', '100', 47, 'الفصلين الدراسيين', '1437-12-17', '1437-12-20', 'سنوى', 58, 140, '1200', 2, '', NULL, '2016-11-01 08:32:05', '2016-11-01 08:32:05'), (27, 'المشاركة في مسابقة السنة النبوية', 15, 'اجراء', 'جارى التنفيذ', '25', 51, 'الفصل الدراسى الاول', '1438-03-26', '1438-03-28', 'سنوى', 58, 10, '1', 1, '0', NULL, '2016-11-05 20:13:08', '2016-11-05 20:13:08'), (28, 'تنفيذ برنامج التوعية الفكرية', 15, 'برنامج', 'فى الموعد', '0', 51, 'الفصل الدراسى الاول', '1438-04-04', '1438-04-06', 'سنوى', 58, 460, '1', 1, '-', NULL, '2016-11-05 20:18:05', '2016-11-05 20:18:05'), (29, 'اقامة صلاة الظهر جماعة مع الطلاب والاشراف على أدائها ', 15, 'مهمة', 'جارى التنفيذ', '100', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-09-20', 'يومى', 58, 460, '1', 1, '0', NULL, '2016-11-05 20:26:03', '2016-11-05 20:26:03'), (30, 'توزيع بطاقة المعلومات الصحية على الطلاب', 15, 'اجراء', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1437-12-17', '1437-12-21', 'سنوى', 58, 100, '1', 1, '0', NULL, '2016-11-05 20:34:51', '2016-11-05 20:34:51'), (31, 'المشاركة الفاعلة في الاحتفال باليوم الوطني', 15, 'برنامج', 'تم الانتهاء', '100', 56, 'الفصل الدراسى الاول', '1437-12-24', '1437-12-24', 'سنوى', 58, 461, '0', 5, 'لا يوجد', NULL, '2016-11-06 05:00:19', '2016-11-06 07:41:25'), (32, 'الوقاية من التدخين', 15, 'برنامج', 'تم الانتهاء', '100', 56, 'الفصل الدراسى الاول', '1438-01-15', '1438-01-15', 'فصلى', 58, 20, '0', 6, 'لا يوجد', NULL, '2016-11-06 05:11:02', '2016-11-06 05:23:26'), (33, 'العنف المدرسي', 15, 'برنامج', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1438-01-15', '1438-01-18', 'سنوى', 58, 461, '0', 7, 'بدون', NULL, '2016-11-06 05:20:29', '2016-11-06 05:20:29'), (34, 'برنامج تعديل السلوكيات السلبية', 15, 'برنامج', 'تم الانتهاء', '100', 56, 'الفصل الدراسى الاول', '1438-01-30', '1438-01-30', 'فصلى', 58, 461, '0', 8, '', NULL, '2016-11-06 05:29:06', '2016-11-06 05:29:06'), (35, 'تنظيم أعمال استقبال طلاب الصف الأول المتوسط', 15, 'برنامج', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1437-12-17', '1437-12-21', 'سنوى', 58, 139, '500', 2, '', NULL, '2016-11-06 05:57:24', '2016-11-06 05:57:24'), (36, 'انطلاق الأولمبياد الوطني للتعرف على الموهوبين', 15, 'اجراء', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1437-02-24', '1437-02-28', 'سنوى', 58, 300, '0', 3, '', NULL, '2016-11-06 06:02:02', '2016-11-06 06:02:02'), (37, 'توزيع رواد الفصول ومشرفي الجماعات', 15, 'اجراء', 'تم الانتهاء', '0', 47, 'الفصلين الدراسيين', '1437-12-17', '1437-12-28', 'سنوى', 58, 400, '0', 4, '', NULL, '2016-11-06 06:06:40', '2016-11-06 06:06:40'), (38, 'الاحتفاء باليوم الوطني', 15, 'برنامج', 'تم الانتهاء', '0', 47, 'الفصل الدراسى الاول', '1437-12-24', '1437-12-28', 'سنوى', 58, 400, '600', 5, '', NULL, '2016-11-06 06:12:16', '2016-11-06 06:12:16'), (39, 'تجهيز نشيد لحفل المتفوقين', 15, 'برنامج', 'تم الانتهاء', '0', 48, 'الفصل الدراسى الاول', '1438-01-08', '1438-01-12', 'سنوى', 58, 15, '300', 6, '', NULL, '2016-11-06 06:21:20', '2016-11-06 06:21:20'), (40, 'الاستعداد لمسابقة الإلقاء', 15, 'برنامج', 'جارى التنفيذ', '0', 47, 'الفصل الدراسى الاول', '1438-01-01', '1438-03-13', 'سنوى', 58, 10, '700', 7, '', NULL, '2016-11-06 06:25:15', '2016-11-06 06:25:15'), (41, 'الاستعداد لبطو كرة الطائرة', 15, 'برنامج', 'جارى التنفيذ', '0', 47, 'الفصل الدراسى الاول', '1438-01-01', '1438-02-28', 'سنوى', 61, 6, '1200', 8, '', NULL, '2016-11-06 06:30:15', '2016-11-06 06:30:15'), (42, 'الاستعداد للمسابقات الكشفية', 15, 'برنامج', 'جارى التنفيذ', '0', 50, 'الفصل الدراسى الاول', '1438-01-01', '1438-02-22', 'فصلى', 58, 25, '400', 9, '', NULL, '2016-11-06 06:33:48', '2016-11-06 06:33:48'), (43, 'برنامج تعزيز السلوكيات الايجابية', 15, 'برنامج', 'جارى التنفيذ', '25', 47, 'الفصل الدراسى الاول', '1438-02-03', '1438-02-17', 'فصلى', 58, 461, '0', 9, 'لايوجد', NULL, '2016-11-06 06:54:40', '2016-11-06 06:54:40'), (44, 'برنامج للطلاب متكرري التأخر الصباحي', 15, 'برنامج', 'فى الموعد', '0', 56, 'الفصل الدراسى الاول', '1438-02-22', '1438-02-22', 'فصلى', 58, 0, '0', 10, 'لا يوجد', NULL, '2016-11-06 07:02:06', '2016-11-06 07:02:06'), (45, 'برنامج متكرري الغياب الدراسي', 15, 'برنامج', 'فى الموعد', '0', 56, 'الفصل الدراسى الاول', '1438-02-28', '1438-02-28', 'فصلى', 58, 0, '0', 11, 'لا يوجد', NULL, '2016-11-06 07:06:55', '2016-11-06 07:06:55'), (46, 'حصر الغياب', 15, 'اجراء', 'جارى التنفيذ', '100', 56, 'الفصلين الدراسيين', '1437-12-17', '1438-09-24', 'يومى', 61, 45, '0', 1, '0', NULL, '2016-11-06 07:21:16', '2016-11-06 07:21:16'), (47, 'جرد عهد المدرسة', 15, 'مهمة', 'جارى التنفيذ', '0', 52, 'الفصل الدراسى الاول', '1438-03-12', '1438-04-10', 'فصلى', 60, 1, '0', 1, '', NULL, '2016-11-06 08:03:03', '2016-11-06 08:03:03'), (48, 'صيانة مرافق المدرسة', 15, 'اجراء', 'جارى التنفيذ', '50', 55, 'الفصل الدراسى الاول', '1437-12-17', '1438-04-17', 'فصلى', 58, 1, '1', 1, '', NULL, '2016-11-06 08:06:56', '2016-11-06 08:06:56'), (49, 'متابعة أعمال لجنة التوجيه والارشاد', 15, 'اجراء', 'جارى التنفيذ', '75', 52, 'الفصل الدراسى الاول', '1438-01-08', '1438-02-08', 'شهرى', 60, 1, '0', 1, '', NULL, '2016-11-06 08:12:33', '2016-11-06 08:12:33'), (50, 'تفقد نظافة المبنى ومرافقه', 15, 'اجراء', 'جارى التنفيذ', '100', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-09-24', 'يومى', 60, 1, '-2', 1, '', NULL, '2016-11-06 08:24:49', '2016-11-06 08:24:49'), (51, 'متابعة فعاليات برنامج الاصطفاف الصباحي', 15, 'اجراء', 'جارى التنفيذ', '100', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-08-22', 'يومى', 60, 1, '0', 1, '', NULL, '2016-11-06 08:29:14', '2016-11-06 08:29:14'), (52, 'الاطلاع على دفاتر تحضير المعلمين ومتابعة سجلات المتابعة', 15, 'اجراء', 'جارى التنفيذ', '100', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-08-22', 'اسبوعى', 60, 1, '0', 1, '', NULL, '2016-11-06 08:32:59', '2016-11-06 08:32:59'), (53, 'متابعة صعود الطلاب في الحافلات المدرسية', 15, 'اجراء', 'جارى التنفيذ', '100', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-09-17', 'سنوى', 58, 1, '0', 1, '', NULL, '2016-11-06 09:17:38', '2016-11-06 09:17:38'), (54, 'متابعة الاشراف اليومي في الفسحة والصلاة', 15, 'اجراء', 'جارى التنفيذ', '100', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-09-17', 'يومى', 60, 1, '0', 1, '', NULL, '2016-11-06 09:20:57', '2016-11-06 09:20:57'), (55, 'برنامج ارشادي للمتأخرين دراسيا', 15, 'برنامج', 'فى الموعد', '0', 56, 'الفصل الدراسى الاول', '1438-03-07', '1438-03-07', 'فصلى', 58, 0, '0', 12, '', NULL, '2016-11-06 09:24:16', '2016-11-06 09:24:16'), (56, 'إعداد سجل القيد للطلاب وسجل المنقولين وبرنامج نور', 15, 'اجراء', 'تم الانتهاء', '75', 55, 'الفصل الدراسى الاول', '1437-12-17', '1438-04-28', 'فصلى', 60, 1, '0', 1, '', NULL, '2016-11-06 09:30:58', '2016-11-06 09:30:58'), (57, 'الاجتماع برواد الفصول ومشرفي الجماعات', 15, 'اجراء', 'تم الانتهاء', '75', 55, 'الفصل الدراسى الاول', '1438-01-08', '1438-01-08', 'فصلى', 60, 1, '0', 1, '', NULL, '2016-11-06 09:35:12', '2016-11-06 09:35:12'), (58, 'تنظيم ملفات الطلاب وتنظيمها واستكمال متطلباتها', 15, 'اجراء', 'جارى التنفيذ', '50', 55, 'الفصل الدراسى الاول', '1437-12-17', '1438-04-28', 'فصلى', 60, 1, '0', 1, '', NULL, '2016-11-06 09:38:52', '2016-11-06 09:38:52'), (59, 'إعداد خطة للحد من التأخر وغياب الطلاب ', 15, 'برنامج', 'فى الموعد', '75', 48, 'الفصل الدراسى الاول', '1438-02-06', '1438-02-10', 'فصلى', 60, 1, '0', 1, '', NULL, '2016-11-06 09:48:03', '2016-11-06 09:48:03'), (60, 'متابعة أعمال المقصف المدرسي والتأكد من تطبيق اللوائح المنظمة له', 15, 'اجراء', 'جارى التنفيذ', '50', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-08-29', 'اسبوعى', 60, 1, '0', 1, '', NULL, '2016-11-06 09:52:05', '2016-11-06 09:52:05'), (61, 'تحضير الملفات والسجلات والنماذج الإدارية المنظمة للعمل المدرسي .', 15, 'اجراء', 'جارى التنفيذ', '100', 47, 'الفصل الدراسى الاول', '1437-12-17', '1437-12-20', 'فصلى', 61, 45, '0', 1, '0', NULL, '2016-11-06 10:00:05', '2016-11-06 10:00:05'), (62, 'متابعة تحضير الملفات والسجلات والنماذج الإدارية المنظمة للعمل المدرسي .', 15, 'اجراء', 'جارى التنفيذ', '0', 47, 'الفصل الدراسى الثانى', '1438-05-08', '1438-05-12', 'فصلى', 58, 45, '0', 2, '0', NULL, '2016-11-06 10:03:14', '2016-11-06 10:03:14'), (63, 'إبلاغ وتذكير أعضاء الهيئة الإدارية في المدرسة بمسؤولياتهم خلال العام الدراسي الحالي ', 15, 'اجراء', 'جارى التنفيذ', '0', 47, 'الفصلين الدراسيين', '1437-12-17', '1437-12-20', 'سنوى', 58, 45, '0', 3, '', NULL, '2016-11-06 10:04:49', '2016-11-06 10:04:49'), (64, 'بناء جدول الحصص الدراسية الأسبوعي شاملاً لجدول الانتظار العام للمعلمين في المدرسة .', 15, 'اجراء', 'جارى التنفيذ', '0', 47, 'الفصلين الدراسيين', '1437-12-17', '1437-12-20', 'سنوى', 61, 35, '0', 1, '', NULL, '2016-11-06 10:06:23', '2016-11-06 10:06:23'), (65, 'بناء جدول الإشراف اليومي للمعلمين .', 15, 'اجراء', 'جارى التنفيذ', '0', 47, 'الفصلين الدراسيين', '1437-12-17', '1437-12-20', 'اسبوعى', 61, 35, '0', 1, '', NULL, '2016-11-06 10:13:20', '2016-11-06 10:13:20'), (66, 'الاطلاع على مستجدات القواعد التنظيمية ولوائح العمل .', 15, 'اجراء', 'جارى التنفيذ', '0', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-09-20', 'سنوى', 61, 45, '0', 1, '', NULL, '2016-11-06 10:28:41', '2016-11-06 10:28:41'), (67, 'حصر احتياج المدرسة في كافة المجالات والرفع بذلك .', 15, 'اجراء', 'جارى التنفيذ', '0', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-09-20', 'سنوى', 62, 45, '0', 2, '', NULL, '2016-11-06 10:30:02', '2016-11-06 10:30:02'), (68, 'وضع طريقة إجرائية لتنفيذ اختبارات منتصف الفصل ونهاية الفصل .', 15, 'اجراء', 'جارى التنفيذ', '0', 55, 'الفصل الدراسى الاول', '1438-04-17', '1438-04-28', 'فصلى', 61, 35, '0', 1, '', NULL, '2016-11-06 10:36:21', '2016-11-06 10:36:21'), (69, 'توزيع شهادان شكر للطلاب المتفوقين', 15, 'اجراء', 'فى الموعد', '0', 56, 'الفصل الدراسى الاول', '1438-03-30', '1438-03-30', 'فصلى', 58, 30, '0', 13, 'لا يوجد', NULL, '2016-11-06 10:38:07', '2016-11-06 10:38:07'), (70, 'تهيئة الطلاب للاختبارات النهائية', 15, 'مهمة', 'فى الموعد', '0', 47, 'الفصل الدراسى الاول', '1438-04-10', '1438-04-14', 'فصلى', 58, 461, '0', 14, 'لا يوجد', NULL, '2016-11-06 10:47:04', '2016-11-06 10:47:04'), (71, 'القيام بالاعمال المكلف بها بالاختبارات النهائية', 15, 'مهمة', 'فى الموعد', '0', 48, 'الفصل الدراسى الاول', '1438-04-17', '1438-04-21', 'فصلى', 58, 461, '0', 15, 'لا يوجد', NULL, '2016-11-06 10:51:05', '2016-11-06 10:51:05'), (72, 'تشكيل لجنة النظام من الطلاب وتكليف أحد المعلمين للإشراف عليهم', 15, 'اجراء', 'تم الانتهاء', '75', 54, 'الفصلين الدراسيين', '1437-02-17', '1438-08-29', 'يومى', 60, 1, '0', 1, '', NULL, '2016-11-06 13:06:38', '2016-11-06 13:06:38'), (73, 'إعداد مجلس الآباء والمعلمين', 15, 'اجراء', 'فى الموعد', '75', 56, 'الفصل الدراسى الاول', '1438-02-20', '1438-02-24', 'فصلى', 60, 1, '0', 1, '', NULL, '2016-11-06 13:10:08', '2016-11-06 13:10:08'), (74, 'رعاية الطلاب المتأخرين دراسيا والمتفوقين', 15, 'اجراء', 'جارى التنفيذ', '75', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-08-22', 'فصلى', 58, 1, '0', 1, '', NULL, '2016-11-06 13:14:23', '2016-11-06 13:14:23'), (75, 'مشاركة مدير المدرسة في بناء جدول إجرائي لأسلوب الدروس التطبيقية ( النموذجية ) للمعلمين ولأسلوب الزيارات المتبادلة بين المعلمين .', 15, 'اجراء', 'جارى التنفيذ', '100', 47, 'الفصل الدراسى الاول', '1438-01-01', '1438-01-05', 'فصلى', 61, 35, '0', 1, '', NULL, '2016-11-07 09:56:07', '2016-11-07 09:56:07'), (76, 'مشاركة مدير المدرسة في بناء جدول إجرائي لأسلوب الدروس التطبيقية ( النموذجية ) للمعلمين ولأسلوب الزيارات المتبادلة بين المعلمين .', 15, 'اجراء', 'جارى التنفيذ', '0', 47, 'الفصل الدراسى الثانى', '1438-05-01', '1438-05-05', 'فصلى', 61, 35, '0', 1, '', NULL, '2016-11-07 09:58:13', '2016-11-07 09:58:13'), (77, 'حضور الاجتماعات مجالس المدرسة المختلفة خلال الفصل الدراسي الاول والثاني.', 15, 'اجراء', 'جارى التنفيذ', '100', 54, 'الفصلين الدراسيين', '1438-01-01', '1438-09-20', 'سنوى', 61, 45, '0', 1, '', NULL, '2016-11-07 10:04:40', '2016-11-07 10:04:40'), (78, 'الرفع باستمارة تقويم الصف النشط', 15, 'مشروع', 'فى الموعد', '0', 47, 'الفصلين الدراسيين', '1438-06-27', '1438-07-01', 'سنوى', 61, 36, '0', 1, '0', NULL, '2016-11-08 04:21:00', '2016-11-08 04:21:00'), (79, 'التدقيق الداخلي لفريق الجودة 1', 15, 'مهمة', 'تم الانتهاء', '100', 47, 'الفصل الدراسى الاول', '1438-01-10', '1438-01-11', 'فصلى', 60, 13, '0', 2, '', NULL, '2016-11-08 08:18:57', '2016-11-08 08:19:37'), (80, 'التدقيق الداخلي لفريق الجودة 2', 15, 'مهمة', 'فى الموعد', '0', 47, 'الفصل الدراسى الثانى', '1438-05-10', '1438-05-11', 'فصلى', 58, 13, '4', 3, '', NULL, '2016-11-08 08:21:10', '2016-11-08 08:21:10'), (81, 'التدقيق الخارجي للشركة المانحة', 15, 'مهمة', 'فى الموعد', '0', 47, 'الفصلين الدراسيين', '1438-07-05', '1438-07-05', 'سنوى', 58, 12, '0', 3, '', NULL, '2016-11-08 08:22:43', '2016-11-08 08:22:43'), (82, 'برنامج مدرستي نت', 15, 'برنامج', 'جارى التنفيذ', '75', 54, 'الفصلين الدراسيين', '1437-12-17', '1438-09-19', 'سنوى', 58, 465, '0', 5, '', NULL, '2016-11-08 08:26:07', '2016-11-08 08:26:07'), (83, 'برنامج منسق الإدارة المدرسية', 15, 'برنامج', 'جارى التنفيذ', '0', 47, 'الفصلين الدراسيين', '1437-12-17', '1438-09-19', 'سنوى', 58, 45, '0', 6, '', NULL, '2016-11-08 08:27:28', '2016-11-08 08:27:28'), (84, 'صيانة السبورات وأجهزة البروجيكتور', 15, 'مهمة', 'جارى التنفيذ', '50', 47, 'الفصلين الدراسيين', '1437-12-17', '1438-09-19', 'سنوى', 60, 10, '0', 7, '', NULL, '2016-11-08 08:29:05', '2016-11-08 08:29:05'); -- -------------------------------------------------------- -- -- Table structure for table `actions_has_d_goal` -- CREATE TABLE IF NOT EXISTS `actions_has_d_goal` ( `actions_ac_id` int(11) NOT NULL, `d_goal_dg_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `actions_has_d_goal` -- INSERT INTO `actions_has_d_goal` (`actions_ac_id`, `d_goal_dg_id`) VALUES (36, 156), (43, 156), (27, 157), (31, 157), (16, 158), (28, 158), (31, 158), (34, 158), (29, 159), (43, 159), (31, 160), (38, 161), (16, 163), (15, 164), (26, 164), (35, 164), (44, 165), (45, 165), (59, 165), (30, 166), (32, 167), (19, 169), (32, 169), (33, 169), (34, 169), (55, 169), (17, 170), (16, 171), (31, 171), (34, 172), (39, 173), (43, 173), (69, 173), (74, 173), (11, 174), (19, 174), (55, 174), (12, 175), (25, 176), (37, 176), (40, 176), (43, 176), (69, 176), (31, 177), (41, 177), (42, 178), (31, 180), (55, 180), (13, 184), (14, 184), (77, 190), (55, 194), (50, 198), (48, 199), (73, 200), (31, 201), (33, 203), (17, 205), (18, 206), (75, 207), (76, 207), (24, 230), (47, 232), (49, 232), (51, 232), (52, 232), (53, 232), (54, 232), (56, 232), (57, 232), (58, 232), (60, 232), (70, 232), (71, 232), (72, 232), (46, 233), (52, 233), (61, 233), (62, 233), (63, 233), (64, 233), (65, 233), (66, 233), (67, 233), (68, 233), (78, 234), (79, 235), (80, 235), (81, 235), (82, 235), (83, 235), (84, 235); -- -------------------------------------------------------- -- -- Table structure for table `actions_has_requirement` -- CREATE TABLE IF NOT EXISTS `actions_has_requirement` ( `actions_ac_id` int(11) NOT NULL, `requirement_re_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `actions_has_requirement` -- INSERT INTO `actions_has_requirement` (`actions_ac_id`, `requirement_re_id`) VALUES (15, 92), (16, 92), (19, 92), (27, 92), (28, 92), (33, 92), (34, 92), (38, 92), (40, 92), (42, 92), (44, 92), (45, 92), (50, 92), (51, 92), (53, 92), (54, 92), (59, 92), (60, 92), (69, 92), (72, 92), (73, 92), (74, 92), (15, 93), (16, 93), (17, 93), (18, 93), (32, 93), (46, 93), (47, 93), (52, 93), (56, 93), (58, 93), (59, 93), (61, 93), (62, 93), (63, 93), (64, 93), (65, 93), (66, 93), (67, 93), (68, 93), (72, 93), (74, 93), (75, 93), (76, 93), (77, 93), (78, 93), (79, 93), (80, 93), (81, 93), (82, 93), (83, 93), (84, 93), (11, 94), (18, 94), (43, 94), (49, 94), (50, 94), (55, 94), (57, 94), (59, 94), (70, 94), (72, 94), (73, 94), (74, 94), (12, 95), (15, 95), (19, 95), (27, 95), (28, 95), (32, 95), (33, 95), (34, 95), (36, 95), (39, 95), (44, 95), (45, 95), (55, 95), (58, 95), (59, 95), (74, 95), (24, 96), (25, 96), (40, 96), (50, 96), (71, 96), (73, 96), (14, 97), (46, 97), (52, 97), (56, 97), (79, 97), (80, 97), (81, 97), (13, 98), (30, 98), (52, 98), (56, 98), (79, 98), (80, 98), (81, 98), (16, 99), (17, 99), (26, 99), (28, 99), (29, 99), (31, 99), (35, 99), (37, 99), (41, 99), (48, 99), (50, 99), (54, 99), (60, 99), (71, 100); -- -------------------------------------------------------- -- -- Table structure for table `actions_has_responsible` -- CREATE TABLE IF NOT EXISTS `actions_has_responsible` ( `actions_ac_id` int(11) NOT NULL, `responsible_rs_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `actions_has_responsible` -- INSERT INTO `actions_has_responsible` (`actions_ac_id`, `responsible_rs_id`) VALUES (14, 149), (18, 149), (52, 149), (79, 149), (80, 149), (81, 149), (82, 149), (83, 149), (84, 149), (13, 150), (14, 150), (24, 150), (46, 150), (51, 150), (52, 150), (61, 150), (62, 150), (63, 150), (64, 150), (65, 150), (66, 150), (67, 150), (68, 150), (75, 150), (76, 150), (77, 150), (78, 150), (14, 152), (18, 152), (29, 152), (30, 152), (35, 152), (47, 152), (48, 152), (49, 152), (50, 152), (51, 152), (52, 152), (53, 152), (54, 152), (56, 152), (57, 152), (58, 152), (59, 152), (60, 152), (72, 152), (73, 152), (74, 152), (78, 152), (25, 153), (26, 153), (27, 153), (28, 153), (35, 153), (36, 153), (37, 153), (38, 153), (39, 153), (40, 153), (41, 153), (42, 153), (57, 153), (11, 154), (12, 154), (15, 154), (16, 154), (17, 154), (18, 154), (19, 154), (28, 154), (30, 154), (31, 154), (32, 154), (33, 154), (34, 154), (43, 154), (44, 154), (45, 154), (49, 154), (55, 154), (69, 154), (70, 154), (71, 154); -- -------------------------------------------------------- -- -- Table structure for table `actions_has_responsible1` -- CREATE TABLE IF NOT EXISTS `actions_has_responsible1` ( `actions_ac_id` int(11) NOT NULL, `responsible_rs_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `actions_has_responsible1` -- INSERT INTO `actions_has_responsible1` (`actions_ac_id`, `responsible_rs_id`) VALUES (14, 149), (24, 149), (27, 149), (28, 149), (29, 149), (41, 149), (46, 149), (48, 149), (50, 149), (51, 149), (53, 149), (54, 149), (56, 149), (57, 149), (58, 149), (59, 149), (60, 149), (61, 149), (62, 149), (63, 149), (64, 149), (65, 149), (66, 149), (67, 149), (68, 149), (72, 149), (73, 149), (74, 149), (75, 149), (76, 149), (77, 149), (78, 149), (26, 150), (30, 150), (36, 150), (47, 150), (50, 150), (53, 150), (54, 150), (56, 150), (58, 150), (59, 150), (60, 150), (73, 150), (74, 150), (79, 150), (80, 150), (81, 150), (82, 150), (83, 150), (84, 150), (39, 151), (40, 151), (52, 151), (54, 151), (56, 151), (59, 151), (60, 151), (72, 151), (74, 151), (79, 151), (80, 151), (81, 151), (82, 151), (15, 152), (16, 152), (17, 152), (18, 152), (19, 152), (25, 152), (28, 152), (31, 152), (32, 152), (33, 152), (34, 152), (37, 152), (38, 152), (42, 152), (43, 152), (44, 152), (45, 152), (55, 152), (69, 152), (70, 152), (71, 152), (79, 152), (80, 152), (81, 152), (82, 152), (83, 152), (84, 152), (31, 153), (35, 153), (51, 153), (57, 153), (73, 153), (74, 153), (79, 153), (80, 153), (81, 153), (49, 154), (50, 154), (51, 154), (53, 154), (54, 154), (56, 154), (58, 154), (59, 154), (60, 154), (72, 154), (74, 154), (79, 154), (80, 154), (81, 154), (82, 154), (83, 154), (48, 155), (79, 155), (80, 155), (81, 155), (79, 156), (80, 156), (81, 156), (48, 157), (79, 157), (80, 157), (81, 157); -- -------------------------------------------------------- -- -- Table structure for table `actions_has_support` -- CREATE TABLE IF NOT EXISTS `actions_has_support` ( `actions_ac_id` int(11) NOT NULL, `support_su_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `actions_has_support` -- INSERT INTO `actions_has_support` (`actions_ac_id`, `support_su_id`) VALUES (18, 64), (12, 65), (13, 65), (14, 65), (15, 65), (24, 65), (26, 65), (27, 65), (28, 65), (35, 65), (36, 65), (46, 65), (47, 65), (48, 65), (49, 65), (50, 65), (51, 65), (52, 65), (53, 65), (54, 65), (56, 65), (57, 65), (58, 65), (59, 65), (60, 65), (61, 65), (62, 65), (63, 65), (64, 65), (65, 65), (66, 65), (67, 65), (68, 65), (72, 65), (73, 65), (74, 65), (75, 65), (76, 65), (77, 65), (78, 65), (79, 65), (80, 65), (81, 65), (84, 65), (11, 67), (37, 67), (38, 67), (39, 67), (41, 67), (40, 68), (42, 68), (16, 70), (17, 70), (19, 70), (25, 70), (29, 70), (30, 70), (31, 70), (32, 70), (33, 70), (34, 70), (43, 70), (44, 70), (45, 70), (55, 70), (69, 70), (70, 70), (71, 70), (82, 70), (83, 70); -- -------------------------------------------------------- -- -- Table structure for table `admin_count` -- CREATE TABLE IF NOT EXISTS `admin_count` ( `ca_id` int(11) NOT NULL, `ca_name` varchar(45) DEFAULT NULL, `ca_num` varchar(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=352 ; -- -- Dumping data for table `admin_count` -- INSERT INTO `admin_count` (`ca_id`, `ca_name`, `ca_num`, `plans_p_id`) VALUES (346, 'أمين مصادر تعلم', '1', 15), (347, 'رائد نشاط', '1', 15), (348, 'محضر مختبر', '1', 15), (349, 'مدير أو قائد', '1', 15), (350, 'مرشد طلابي', '3', 15), (351, 'وكيل', '2', 15); -- -------------------------------------------------------- -- -- Table structure for table `announcement` -- CREATE TABLE IF NOT EXISTS `announcement` ( `an_id` int(11) NOT NULL, `an_name` varchar(45) DEFAULT NULL, `an_h_date` varchar(45) DEFAULT NULL, `an_m_date` date DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `announcement` -- INSERT INTO `announcement` (`an_id`, `an_name`, `an_h_date`, `an_m_date`, `plans_p_id`) VALUES (1, 'تست', '1438/01/30', '2016-10-07', 15); -- -------------------------------------------------------- -- -- Table structure for table `backup` -- CREATE TABLE IF NOT EXISTS `backup` ( `id` int(11) NOT NULL, `name` varchar(45) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=27 ; -- -- Dumping data for table `backup` -- INSERT INTO `backup` (`id`, `name`, `created_at`, `updated_at`) VALUES (26, 'epmnet_sp_20161106102309', '2016-11-06 10:23:09', '2016-11-06 10:23:09'), (25, 'epmnet_sp_20161105210129', '2016-11-05 21:01:30', '2016-11-05 21:01:30'), (24, 'epmnet_sp_20161105105824', '2016-11-05 10:58:24', '2016-11-05 10:58:24'); -- -------------------------------------------------------- -- -- Table structure for table `buliding_count` -- CREATE TABLE IF NOT EXISTS `buliding_count` ( `bu_id` int(11) NOT NULL, `bu_elm` varchar(45) DEFAULT NULL, `bu_status` varchar(45) DEFAULT NULL, `bu_num` int(11) DEFAULT NULL, `bu_notes` text, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=975 ; -- -- Dumping data for table `buliding_count` -- INSERT INTO `buliding_count` (`bu_id`, `bu_elm`, `bu_status`, `bu_num`, `bu_notes`, `plans_p_id`) VALUES (955, 'صالة رياضية', 'متوفر', 1, '', 15), (956, 'غرف المعلمين', 'متوفر', 2, '', 15), (957, 'غرف للمرشدين', 'متوفر', 3, '', 15), (958, 'غرفة الاجتماعات', 'متوفر', 1, '', 15), (959, 'غرفة رائد نشاط', 'متوفر', 1, '', 15), (960, 'غرفة للسكرتير', 'متوفر', 1, '', 15), (961, 'غرفة مدخل بيانات', 'متوفر', 1, '', 15), (962, 'غرفة مدير', 'متوفر', 1, '', 15), (963, 'قاعة متعددة الاغراض', 'متوفر', 1, '', 15), (964, 'مركز مصادر التعلم', 'متوفر', 1, '', 15), (965, 'معمل التربية الفنية', 'متوفر', 2, '', 15), (966, 'معمل حاسب آلي', 'متوفر', 1, '', 15), (967, 'معمل مختبر', 'متوفر', 1, '', 15), (968, 'مقر التوعية الاسلامية', 'متوفر', 1, '', 15), (969, 'مقرأة القرآن الكريم', 'متوفر', 1, '', 15), (970, 'مقر الكشافة', 'متوفر', 1, '', 15), (971, 'مقر الموهبين', 'متوفر', 1, '', 15), (972, 'مكتب وكيل المدرسة', 'متوفر', 2, '', 15), (973, 'مستودغ', 'متوفر', 4, '', 15), (974, 'قاعات دراسية', 'متوفر', 18, '', 15); -- -------------------------------------------------------- -- -- Table structure for table `category_time` -- CREATE TABLE IF NOT EXISTS `category_time` ( `ct_id` int(11) NOT NULL, `ct_name` varchar(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `class_count` -- CREATE TABLE IF NOT EXISTS `class_count` ( `cc_id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `class_num` int(11) DEFAULT NULL, `ksa_students_num` int(11) DEFAULT NULL, `other_students_num` int(11) DEFAULT NULL, `all_students_num` int(11) DEFAULT NULL, `special_class_num` int(11) DEFAULT NULL, `special_studentes_num` int(11) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=166 ; -- -- Dumping data for table `class_count` -- INSERT INTO `class_count` (`cc_id`, `name`, `class_num`, `ksa_students_num`, `other_students_num`, `all_students_num`, `special_class_num`, `special_studentes_num`, `plans_p_id`) VALUES (163, 'الأول متوسط', 6, 127, 6, 133, 0, 0, 15), (164, 'الثاني متوسط', 5, 130, 3, 133, 0, 0, 15), (165, 'الثالث متوسط', 7, 186, 9, 195, 0, 0, 15); -- -------------------------------------------------------- -- -- Table structure for table `data` -- CREATE TABLE IF NOT EXISTS `data` ( `d_id` int(11) NOT NULL, `d_elm` varchar(255) DEFAULT NULL, `d_value` varchar(255) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `schools_sch_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=371 ; -- -- Dumping data for table `data` -- INSERT INTO `data` (`d_id`, `d_elm`, `d_value`, `created_at`, `updated_at`, `schools_sch_id`) VALUES (353, 'اسم المدرسة', 'مدرسة ابن الخطيب المتوسطة', '2016-10-12 08:57:06', '2016-10-12 08:57:06', 8), (356, 'العنوان', 'ينبع الصناعية حي النخيل شارع حمزة بن عبدالمطلب', '2016-10-12 08:58:34', '2016-10-12 08:58:34', 8), (357, 'المحافظة', 'ينبع', '2016-10-12 08:59:04', '2016-10-12 08:59:04', 8), (358, 'المرحلة الدراسية', 'المتوسطة', '2016-10-12 08:59:23', '2016-10-12 08:59:23', 8), (359, 'المنطقة التعليمية', 'المدينة المنورة', '2016-10-12 08:59:42', '2016-10-12 08:59:42', 8), (360, 'رقم المدرسة', '909090', '2016-10-29 21:46:31', '2016-10-29 21:46:31', 8), (361, 'اقرب مدرسة ابتدائية', 'مدرسة الفراهيدي الابتدائية', '2016-10-29 21:47:33', '2016-10-29 21:47:33', 8), (362, 'أقرب مدرسة متوسطة ', 'مدرسة ابن الأثير المتوسطة', '2016-10-29 21:48:21', '2016-10-29 21:48:47', 8), (363, 'أقرب مدرسة ثاننوية', 'مدرسةا ابن خلدون الثانوية', '2016-10-29 21:49:38', '2016-10-29 21:49:38', 8), (364, 'المنطقة ', 'المدينة المنورة', '2016-11-04 00:59:20', '2016-11-04 00:59:20', 8), (365, 'المدينة', 'ينبع الصناعية', '2016-11-04 00:59:41', '2016-11-04 00:59:41', 8), (366, 'المحافظة', 'ينبع', '2016-11-04 00:59:53', '2016-11-04 00:59:53', 8), (367, 'الإدارة', 'إدارة الخدمات التعليمية', '2016-11-04 01:00:27', '2016-11-04 01:00:27', 8), (368, 'نوع المبنى', 'حكومي', '2016-11-04 01:00:54', '2016-11-04 01:00:54', 8), (369, 'رقم الهاتف', '0143924520', '2016-11-04 01:01:16', '2016-11-04 01:01:16', 8), (370, 'رقم الفاكس', '0143925023', '2016-11-04 01:01:43', '2016-11-04 01:01:43', 8); -- -------------------------------------------------------- -- -- Table structure for table `d_goal` -- CREATE TABLE IF NOT EXISTS `d_goal` ( `dg_id` int(11) NOT NULL, `dg_name` varchar(255) DEFAULT NULL, `dg_cursor` varchar(45) DEFAULT NULL, `g_goal_g_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=236 ; -- -- Dumping data for table `d_goal` -- INSERT INTO `d_goal` (`dg_id`, `dg_name`, `dg_cursor`, `g_goal_g_id`) VALUES (156, 'التأكيد على تنمية المواهب والقدرات للطلاب المتميزين ', 'انضمامهم لجماعات والمشاركة في برامج الموهوبين', 367), (157, 'تنمية القدرات لدى الطلاب كالإلقاء والخطابة و الإنشاد ', 'حصول الطلاب على مراكز متقدمة في المنافسات الد', 367), (158, 'تمثل الطالب للسلوك السليم المعتدل والبعد عن الأفكار المنحرفة ', 'خلو الطلاب من حالات ذات أفكار منحرفة ', 368), (159, 'غرس مفهوم العقيدة الصحيحة في نفوس الطلاب الاعتدال والوسطية', 'مظاهر الاعتدال والاهتمام بالشعائر', 368), (160, 'غرس مفهوم العقيدة الصحيحة في نفوس الطلاب الاعتدال والوسطية', 'مظاهر الاعتدال والاهتمام بالشعائر', 368), (161, 'تبصير الطالب بالتحديات التي تواجه الوطن وفق رؤية علمية موضوعية ', 'المشاركة في المناسبات الوطنية في النشاط الصفي', 370), (162, 'غرس مفهوم الوسطية والاعتدال ومحاربة الأفكار المتطرفة', 'مفهوم الوسطية والاعتدال ومحاربة الأفكار المتط', 370), (163, 'أن يتعرف الطالب على فصله وزملائه وجدوله الدراسي', 'وقوف الطالب في صفه وبين زملائه في الطابو الصب', 371), (164, 'أن يتعرف الطلاب المستجدون على المرحلة المتوسطة وعلى مرافق المدرسة', 'تنفيذ البرامج المعدة لذلك', 371), (165, 'الحد من غياب الطلاب والتأخر الصباحي ', 'انخفاض نسبة تأخر الطلاب ', 372), (166, 'تزويد المعلمين و الاداريين بالمدرسة بأسماء الحالات المرضية للطلاب داخل المدرسة ', 'توقيع المعلم و الاداري على نموذج استلام أسماء', 372), (167, 'توعية الطلاب بأضرار التدخين و وضع برنامج ارشادي و علاجي لهم ', 'برنامج التوعية بأضرار التدخين', 372), (169, 'دراسة المشكلات السلوكية ووضع الحلول لها', 'ملاحظة تحسن سلوك الطلاب وانعدام أو قلة الانحر', 372), (170, 'علاج الحالات الصحية التي لها علاقة بتدني مستوى الطلاب مثل ضعف البصر ، وضعف', 'ملاحظة تحسن مستوى الطلاب دراسيا بعد تقديم الخ', 372), (171, 'غرس القيم و العادات البناءة لدى الطلاب مثل الانضباط ، تحمل المسؤولية الأمانة', 'ملاحظة مدى تحمل الطلاب للمسؤولية من خلال إسنا', 372), (172, 'معرفة السلوكيات السلبية المتكررة بين الطلاب', 'حصر السلوكيات السلبية في المدرسة', 372), (173, 'الاهتمام بالطلاب المتفوقين دراسيا ', 'زيادة نسبة الحاصلين على ممتاز ', 373), (174, 'حصر الطلاب المعيدين و متابعتهم دراسيا', 'الحصول على نسخة من حصر الطلاب المعيدين من نظا', 373), (175, 'رفع المستوى التحصيلي للطلاب ضعيفي التحصيل الدراسي', 'ارتفاع المستوى التحصيلي للطلاب وزيادة الدافعي', 373), (176, 'تنفيذ برامج النشاط التي تعزز الاستقرار النفسي لدى الطالب ', 'محاضر الاجتماعات ملاحظات اللقاءات تقارير الزي', 375), (177, 'توظيف الطاقات من فريق العمل للإشراف على برامج و مسابقات ', 'استلام المشرف خطاب التكليف ورفع الخطة ', 375), (178, 'تنشئة الطلاب على العمل التعاوني و المنافسة الشريفة ', 'مشاركة مجموعات الطلاب في المنافسات الداخلية و', 376), (179, 'تنشئة الطلاب على حب العمل و احترام العاملين ', 'تقارير وشواهد وصور ', 376), (180, 'تفعيل الحوارات الطلابية ', 'ملاحظة قدرة الطلاب على إدارة الحوار ', 377), (181, 'الارتقاء بمستوى مشاركات الطلاب في اتخاذ القرارات ', 'حضور دورات تدريبية وجلسات حوار منظمة ', 381), (182, 'أن يصبح المعلمون قادرين على التخطيط والإعداد للدروس ', 'جودة التخطيط لدى المعلمين ', 385), (183, 'أن يصبح المعلمون قادرين على توظيف الوسائل التعليمية واستخدامها لتحقيق ', 'استغلال كل الوسائل والتقنيات التعليمية بنسة ', 385), (184, 'تنمية الكفايات المهنية والانتماء المهني للمعلمين ', 'الرضا الوظيفي لدى العاملين وزيادة الألفة بينه', 386), (185, 'زرع روح المحبة والتعاون والإخاء بين منسوبي المدرسة', 'العلاقات الإنسانية الجيدة', 388), (186, 'التعرف على خصائص مراحل النمو وخصائص المرحلة على وجه الخصوص ', 'إدراك المعلم لخصائص المرحلة ومراحل النمو ', 390), (187, 'قيام المعلم بواجباته وما يسند إليه من أعمال', 'ملاحظة قيام المعلم بواجباته', 391), (188, 'التحلي بصفات المعلم الحسنة كالصدق والصبر والأمانة والانضباط ', 'الملاحظة من خلال إبراز دور المعلم كمواطن صالح', 393), (189, 'المحافظة على أوقات الدوام حضورا وانصرافاً ', 'المحافظة على أوقات الدوام من جميع المعلمين ', 393), (190, 'أن يعرف عضو فريق العمل بالمدرسة مهامه وما كلف به وأن يكون على اطلاع بسياسة ', 'استلام المهام والجداول والتاكاليف وتنفيذ ما و', 394), (191, 'اطلاع المعلم على الأهداف العامة لسياسة التعليم في المملكة ', 'توقيع المعلم على استلام وثيقة المعلم وتكليف ا', 395), (192, 'أن يصبح المعلمون قادرين على إعداد خطط النشاط وتنفيذ هذه الخطط ', 'الملاحظة من خلال تنفيذ حصة النشاط وتحسن تفاعل', 397), (193, 'مشاركة المعلم في الحفلات الختامية واللقاءات المنشطة بفاعلية', 'الرضا الوظيفي لدى العاملين وزيادة الألفة بينه', 397), (194, 'إشراك الخبير التربوي في متابعة تحقيق أهداف و غايات المقرر ', 'أنتاج وسائل حديثة ومطوّرة إنتاج الدروس الحاسو', 399), (195, 'تدريب المعلمين على تنفيذ محتوى المقرر ', 'مراجع ومصادر متوفرة معلمون مدربون ', 400), (196, 'توجيه الطلاب بالمحافظة على الكتب الدراسية ', 'المحافظة على المقررات الدراسية ', 401), (197, 'إبراز دور المدرسة في المحافظة على المبنى المدرسي و ملحقاته ', 'مبنى صالح للعمل بسنة ', 403), (198, 'أن يساهم فريق العمل والطلاب في المحافظة على نظافة المبنى ', 'تقارير الإرشاد الطلابي ', 404), (199, 'أن يكون المبنى المدرسي ومرافقه جاهزة للعمل ', 'استغلال كل المرافق والخدمات بشكل كامل ', 406), (200, 'الاستفادة من مقترحات الآباء البناءة في الارتقاء بالعمل التربوي ', 'حضور لقاء أولياء الأمور ومجلس المدرسة ', 407), (201, 'التعاون مع المجتمع المحلي في القضاء على المظاهر السلوكية السلبية. ', 'حضور لقاء أولياء الأمور ومجلس المدرسة ', 407), (202, 'تكوين علاقة وطيدة بين المدرسة والمجتمع المحلي ', 'مجتمع متعاون بنسبة ', 407), (203, 'رفع مستوى التواصل بين أولياء الأمور و المدرسة', 'تواصل وعلاقات إنسانية متميزة', 407), (204, 'التواصل من خلال الاجتماعات الدورية بشكل مستمر ', 'محاضر الاجتماعات وإقامة اجتماعات شهرية وقبيل ', 410), (205, 'حصر الحالات الصحية للطلاب', 'احصائية بأعداد الطلاب ذوي الحالات الصحية ', 412), (206, 'التعرف على المستوى المادي للطالب ومساعدتهم', 'حصر الطلاب الضعاف ماديا', 413), (207, 'مشاركة مدير المدرسة في بناء جدول إجرائي لأسلوب الزيارات الصفية للمعلمين ', 'زيارة صفية للمعلم', 390), (208, 'تنفيذ استراتيجيات التعلم النشط', 'زيارة صفية', 374), (209, 'الاطلاع على التعاميم الواردة ومتابعتها وعرضها على المعلمين', 'التوقيع بالعلم من قبل الموظف', 391), (211, 'حصر المعلمين الغائبين وعمل الاجراءات المتبعة', 'اعداد جدول الانتظار اليومي', 388), (212, 'متابعة برنامج الدوام في المدرسة وإعداد التقارير الازمة', 'عمل الاجراءات الادارية المنظمة للعمل ', 397), (213, 'متابعة دخول المعلمين الحصص والخروج منها', 'حصر التاخر وتسجيل الملاحظات في برنامج مدرستي ', 410), (219, 'إعداد جداول الملاحظة اليومية على قاعات الاختبارات مع إشعار الملاحظين بمسؤولياتهم .', 'جدول الملاحظة والاشراف اثناء الاختبارات', 419), (220, 'تجهيز البيانات والكشوف والنماذج الإدارية ، المستخدمة في أعمال الاختبارات الفصلية التحريرية .', 'نماذج متابعة سير الاختبارات', 419), (224, 'الاطلاع على مستجدات القواعد التنظيمية ولوائح العمل .', 'توقيع العاملين على التعاميم', 391), (230, 'الاستفادة من الخبرات الداخلية والخارجية في مجال الجودة', 'تقارير ومحاضر لعدة لقاءات أو مؤتمرات', 424), (231, 'هدف تفصيلي غير مصاغ للنشاط الطلابي', '.........................', 425), (232, 'هدف تفصيلي غير مصاغ للشؤون الطلاب', '....', 426), (233, 'هدف تفصيلي غير مصاغ لشؤون المعلمين', '......', 427), (234, 'أن يقاس أثر تريب المعلمين على حقيبة التعلم أن النشط', 'استدامة التعلم النشط في الميدان التربوي بفاعل', 428), (235, 'هدف تفصيلي غير مصاغ - الإدارة', 'بدون', 429); -- -------------------------------------------------------- -- -- Table structure for table `events` -- CREATE TABLE IF NOT EXISTS `events` ( `ev_id` int(11) NOT NULL, `ev_name` varchar(255) DEFAULT NULL, `ev_start` date DEFAULT NULL, `ev_end` date DEFAULT NULL, `suport` varchar(45) DEFAULT NULL, `ev_status` varchar(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -- Dumping data for table `events` -- INSERT INTO `events` (`ev_id`, `ev_name`, `ev_start`, `ev_end`, `suport`, `ev_status`, `plans_p_id`) VALUES (2, 'حضور حفل المتفوقين في مركز الملك فهد الحضاري', '1438-01-09', '1438-01-09', NULL, 'مفتوح', 15), (3, 'المشاركة في حفل الطلاب المتفوقين في مركز الملك فهد الحضاري', '1438-02-09', '1438-02-09', NULL, 'مفتوح', 15), (4, 'تنفيذ تجربة الاخلاء', '1438-02-03', '1438-02-03', NULL, 'مفتوح', 15); -- -------------------------------------------------------- -- -- Table structure for table `events_has_responsible` -- CREATE TABLE IF NOT EXISTS `events_has_responsible` ( `events_ev_id` int(11) NOT NULL, `responsible_rs_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `events_has_responsible` -- INSERT INTO `events_has_responsible` (`events_ev_id`, `responsible_rs_id`) VALUES (2, 149), (4, 150), (3, 153); -- -------------------------------------------------------- -- -- Table structure for table `events_has_responsible1` -- CREATE TABLE IF NOT EXISTS `events_has_responsible1` ( `events_ev_id` int(11) NOT NULL, `responsible_rs_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `events_has_responsible1` -- INSERT INTO `events_has_responsible1` (`events_ev_id`, `responsible_rs_id`) VALUES (3, 149), (4, 149); -- -------------------------------------------------------- -- -- Table structure for table `fields` -- CREATE TABLE IF NOT EXISTS `fields` ( `f_id` int(11) NOT NULL, `f_name` varchar(45) DEFAULT NULL, `f_order` int(11) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=147 ; -- -- Dumping data for table `fields` -- INSERT INTO `fields` (`f_id`, `f_name`, `f_order`, `plans_p_id`) VALUES (140, 'الطلاب', 1, 15), (141, 'النشاط الطلابي ', 2, 15), (142, 'المعلمون وفريق العمل', 3, 15), (143, 'المناهج الدراسية ', 4, 15), (144, 'المبنى المدرسي ', 5, 15), (145, 'المجتمع المحلي', 6, 15), (146, 'الإدارة', 7, 15); -- -------------------------------------------------------- -- -- Table structure for table `g_goal` -- CREATE TABLE IF NOT EXISTS `g_goal` ( `g_id` int(11) NOT NULL, `g_name` varchar(255) DEFAULT NULL, `fields_f_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=430 ; -- -- Dumping data for table `g_goal` -- INSERT INTO `g_goal` (`g_id`, `g_name`, `fields_f_id`) VALUES (367, 'الاهتمام برعاية الطلاب الموهوبين و المتفوقين دراسيا ', 140), (368, 'ترسيخ العقيدة الإسلامية الصحيحة في نفوس الطلاب ', 140), (369, 'تعميق المبادئ و القيم الإسلامية في نفوس الطلاب لينشأوا موطنين صالحين ', 140), (370, 'تعميق روح الولاء للوطن و الاعتزاز به بوعي يقوم على طاعة ولي الأمر و معرفة قضايا الوطن ', 140), (371, 'تهيئة الطلاب للعام الدراسي الجديد ', 140), (372, 'رعاية الطلاب تربوياً و اجتماعياً ', 140), (373, 'رعاية الطلاب في التحصيل العلمي ', 140), (374, 'زيادة دافعية التعلم الذاتي لدى الطلاب ', 140), (375, 'العمل على تميز المدرسة في مخرجات النشاط الطلابي ', 141), (376, 'العمل على تنمية شخصية الطالب المتزنة و اكتشاف مواهبه و صقلها ', 141), (377, 'بناء القيادات الطلابية ', 141), (378, 'تحسين المستوى التحصيلي للطلاب ', 141), (379, 'تعزيز دور النشاط في الشركة المجتمعية ', 141), (380, 'تفعيل دور الجماعات والمجالس والأنشطة اللاصفية ', 141), (381, 'تنمية روح التعاون والتكامل والتدريب على تحمل المسؤولية ', 141), (384, 'استثمار التقنيات الحديثة وتقنيات التواصل الحديثة في عمليات التعليم والتعلم ', 142), (385, 'تحسين كفايات المعلمين في استخدام طرائق التدريس الحديثة ', 142), (386, 'تحقيق الانتماء المهني لدى العاملين في الحقل التربوي ', 142), (387, 'تحقيق الانتماء المهني لدى العاملين في الحقل التربوي ', 142), (388, 'تحقيق جو الانسجام وروح التعاون بين منسوبي المدرسة ', 142), (389, 'تطبيق نظرية التعلم البنائي واستراتيجيات التعلم الحديثة في عمليات التعليم والتعلم. ', 142), (390, 'تطوير أداء المعلمين نحو تنفيذ إستراتيجيات التعلم الحديثة و الحرص على تطوير أدائهم ذاتيا ', 142), (391, 'تعريف المعلم بواجباته ومسؤولياته كما وردت في القواعد التنظيمية ', 142), (392, 'تعزيز فكرة العمل الجماعي والتعاون كفريق واحد ', 142), (393, 'تمثل المعلم القدوة الحسنة في البيئة التربوية و مجتمعة ', 142), (394, 'تهيئة المعلمين للعام الدراسي الجديد ', 142), (395, 'توضيح الأهداف العامة لسياسة التربية والتعليم في المملكة ', 142), (396, 'حفز المعلمين نحو التطوير والابداع في طريق تنفيذ استراتيجيات التعلم وتطوير أدائهم ذاتيا. ', 142), (397, 'قيام المعلم بدوره في التخطيط للأنشطة المدرسية وتنفيذها ', 142), (398, 'العمل على تحقيق أهداف المقررات الدراسية ', 143), (399, 'المشاركة في تحسين المناهج و إثرائها ', 143), (400, 'تحقيق أهداف و غايات المقررات الدراسية ', 143), (401, 'غرس تقدير الكتاب المدرسي ', 143), (402, 'العناية بمظهر المبنى المدرسي وملحقاته من الداخل والخارج ', 144), (403, 'المحافظة على الممتلكات بالمبنى المدرسي ', 144), (404, 'المحافظة على نظافة وسلامة المبنى المدرسي وملحقاته ', 144), (405, 'تهيئة البيئة التعليمية الجاذبة ', 144), (406, 'تهيئة المبنى المدرسة للعام الدراسي الجديد ', 144), (407, 'إقامة شراكة مجتمعية مع المجتمع المحلي ', 145), (408, 'تعزيز دور مؤسسات المجتمع في دعم المدرسة للقيام بتحقيق رسالتها من خلال إقامة شراكة مجتمعية مع المجتمع المحلي ', 145), (409, 'ربط المدرسة بالبيئة الاجتماعية ', 145), (410, 'تعزيز التواصل الإيجابي بين فريق العمل ', 146), (412, 'معرفة الحالة الصحية للطلاب', 140), (413, 'التعرف على الطلاب ذوي الحالات المادية المنخفضة', 140), (417, 'متابعة حضور المعلمين والإشراف على الطابور', 142), (419, 'الإعداد للاختبارات وضبط التقويم ', 146), (423, 'بناء وإعداد الجداول المنظمة للعمل ', 146), (424, 'نشر ثقافة الجودة وتفعيل عملياتها', 146), (425, 'هدف عام غير مصاغ للنشاط الطلابي', 141), (426, 'هدف عام غير مصاغ شؤون الطلاب', 140), (427, 'هدف عام غير مصاغ شؤون المعلمين', 142), (428, 'رفع مستوى الأداء لفريق العمل', 142), (429, 'هدف عام غير مصاغ الإدارة', 146); -- -------------------------------------------------------- -- -- Table structure for table `leaders_team` -- CREATE TABLE IF NOT EXISTS `leaders_team` ( `l_id` int(11) NOT NULL, `l_name` varchar(45) DEFAULT NULL, `l_order` int(11) DEFAULT NULL, `l_kind_work` varchar(100) DEFAULT NULL, `l_start_ser` date DEFAULT NULL, `birthday` date DEFAULT NULL, `last_qualified` varchar(45) DEFAULT NULL, `last_qualified_d` date DEFAULT NULL, `spec` varchar(45) DEFAULT NULL, `level` varchar(45) DEFAULT NULL, `class` varchar(45) DEFAULT NULL, `phone` varchar(45) DEFAULT NULL, `mobile` varchar(45) DEFAULT NULL, `years_teacher` int(11) DEFAULT NULL, `years_agent` int(11) DEFAULT NULL, `years_dir` int(11) DEFAULT NULL, `years_other` int(11) DEFAULT NULL, `years_total` int(11) DEFAULT NULL, `director_date` date DEFAULT NULL, `course_date` date DEFAULT NULL, `school_start` date DEFAULT NULL, `address` text, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=119 ; -- -- Dumping data for table `leaders_team` -- INSERT INTO `leaders_team` (`l_id`, `l_name`, `l_order`, `l_kind_work`, `l_start_ser`, `birthday`, `last_qualified`, `last_qualified_d`, `spec`, `level`, `class`, `phone`, `mobile`, `years_teacher`, `years_agent`, `years_dir`, `years_other`, `years_total`, `director_date`, `course_date`, `school_start`, `address`, `created_at`, `updated_at`, `plans_p_id`) VALUES (116, 'يوسف بن سالم يحيى الشهري', 1, 'قائد المدرسة ( المدير )', '1415-05-17', '1391-07-01', 'ماجستير إدارة تربوية', '2013-12-08', 'إدارة تربوية', '12', '15', '0133931234', '0556686866', 9, 11, 2, 0, 23, '1436-02-08', '1436-01-11', '1436-01-11', 'ينيع الصناعية - حي السميري - شارع الفرعة - مدخل 6 - منزل 13', '2016-10-21 16:02:23', '2016-10-24 05:06:11', 15), (117, 'محمد بن عبدالله علي الشهري', 2, 'وكيل مدرسة', '1415-06-24', '1392-01-07', 'ماجستير', '1430-12-20', 'علوم', '10', '15', '3924520', '0595454522', 6, 6, 0, 0, 12, '1429-12-22', '1401-01-01', '1429-12-01', 'حي خالد ', '2016-10-29 10:02:27', '2016-11-06 10:38:31', 15), (118, 'مصطفى محمد محمود الشنقيطي', 3, 'وكيل مدرسة', '1437-12-01', '1437-01-07', 'ماجستير في الإدارة', '1437-01-14', 'فيزياء', '10', '15', '0143922936', '0504358190', 10, 10, 1, 1, 21, '1436-01-13', '1401-01-01', '1437-01-01', 'حي العيون شارع الدمام منزل 5', '2016-10-29 10:05:22', '2016-10-29 10:05:22', 15); -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE IF NOT EXISTS `migrations` ( `migration` varchar(255) CHARACTER SET utf8 NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `periods` -- CREATE TABLE IF NOT EXISTS `periods` ( `pe_id` int(11) NOT NULL, `pe_name` varchar(100) DEFAULT NULL, `pe_from` date DEFAULT NULL, `pe_to` date DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=123 ; -- -- Dumping data for table `periods` -- INSERT INTO `periods` (`pe_id`, `pe_name`, `pe_from`, `pe_to`, `plans_p_id`) VALUES (84, 'الأسبوع 1 الفصل الأول', '1437-12-17', '1437-12-21', 15), (85, 'الأسبوع 2 الفصل الأول', '1437-12-24', '1437-12-28', 15), (86, 'الأسبوع 3 الفصل الأول ', '1438-01-01', '1438-01-05', 15), (88, 'الأسبوع 4 الفصل الأول', '1438-01-08', '1438-01-12', 15), (89, 'الأسبوع 5 الفصل الأول', '1438-01-15', '1438-01-19', 15), (90, 'الأسبوع 6 الفصل الأول', '1438-01-22', '1438-01-26', 15), (91, 'الأسبوع 7 الفصل الأول', '1438-01-29', '1438-02-03', 15), (92, 'الأسبوع 8 الفصل الأول', '1438-02-06', '1438-02-10', 15), (93, 'الأسبوع 9 الفصل الأول', '1438-02-20', '1438-02-24', 15), (94, 'أسبوع إجازة منتصف الفصل الأول', '1438-02-10', '1438-02-19', 15), (95, 'الأسبوع 10 الفصل الأول', '1438-02-20', '1438-02-24', 15), (96, 'الأسبوع 11 الفصل الأول', '1438-02-27', '1438-03-02', 15), (97, 'الأسبوع 12 الفصل الأول', '1438-03-05', '1438-03-09', 15), (98, 'الأسبوع 13 الفصل الأول', '1438-03-12', '1438-03-16', 15), (99, 'الأسبوع 14 الفصل الأول', '1438-03-19', '1438-03-23', 15), (100, 'الأسبوع 15 الفصل الأول', '1438-03-26', '1438-03-30', 15), (101, 'الأسبوع 16 الفصل الأول', '1438-04-03', '1438-04-07', 15), (103, 'الأسبوع الأول من أختبارات الفصل الأول ', '1438-04-17', '1438-04-21', 15), (104, 'الأسبوع الثاني من اختبارات الفصل الأول', '1438-04-24', '1438-04-28', 15), (105, 'الأسبوع 1 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (106, 'الأسبوع 2 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (107, 'الأسبوع 3 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (108, 'الأسبوع 4 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (109, 'الأسبوع 5 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (110, 'الأسبوع 6 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (111, 'الأسبوع 7 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (112, 'الأسبوع 8 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (113, 'الأسبوع 9 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (114, 'الأسبوع 10 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (115, 'الأسبوع 11 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (116, 'الأسبوع 12 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (117, 'الأسبوع 13 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (118, 'الأسبوع 14 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (119, 'الأسبوع 15 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (120, 'الأسبوع 16 الفصل الثاني', '1438-02-06', '1438-02-06', 15), (121, 'الأسبوع الأول من أختبارات الفصل الثاني', '1438-09-13', '1438-09-17', 15), (122, 'الأسبوع الثاني من أختبارات الفصل الثاني', '1438-09-06', '1438-09-11', 15); -- -------------------------------------------------------- -- -- Table structure for table `plans` -- CREATE TABLE IF NOT EXISTS `plans` ( `p_id` int(11) NOT NULL, `p_order` int(11) DEFAULT NULL, `p_m_year` year(4) DEFAULT NULL, `p_h_year` varchar(45) DEFAULT NULL, `d_from` date DEFAULT NULL, `d_to` date DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `schools_sch_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=16 ; -- -- Dumping data for table `plans` -- INSERT INTO `plans` (`p_id`, `p_order`, `p_m_year`, `p_h_year`, `d_from`, `d_to`, `created_at`, `updated_at`, `schools_sch_id`) VALUES (15, 2, 2017, '1438', '2016-10-01', '2017-12-30', '2016-10-29 11:21:56', '2016-11-04 00:45:22', 8); -- -------------------------------------------------------- -- -- Table structure for table `plan_team` -- CREATE TABLE IF NOT EXISTS `plan_team` ( `pl_id` int(11) NOT NULL, `pl_name` varchar(45) DEFAULT NULL, `pl_jop` varchar(45) DEFAULT NULL, `comm_work` varchar(45) DEFAULT NULL, `comm_role` varchar(45) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=194 ; -- -- Dumping data for table `plan_team` -- INSERT INTO `plan_team` (`pl_id`, `pl_name`, `pl_jop`, `comm_work`, `comm_role`, `created_at`, `updated_at`, `plans_p_id`) VALUES (183, 'عبدالله عائض هادي المحامض', 'أمين مصادر التعلم', 'عضو', 'مقرر', '2016-10-21 16:03:19', '2016-10-21 16:03:19', 15), (184, 'محمد عبدالله الشهري', 'وكيل', 'نائب المشرف غلى فريق التخطيط', 'الإشراف وإعداد الخطة الاستراتيجية والتشغيلية', '2016-10-21 16:03:57', '2016-10-21 16:03:57', 15), (185, 'يوسف بن سالم الشهري', 'مدير', 'المشرف العام', 'الإشراف والإعتماد', '2016-10-21 16:04:39', '2016-10-21 16:04:39', 15), (186, 'مصطفى بن محمد محمود الشنقيطي ', 'وكيل المدرسة لشؤون الطلاب', 'عضو', 'شؤون الطلاب', '2016-10-24 04:49:31', '2016-10-24 04:49:31', 15), (187, 'نبيل بن أحمد مسفر الغامدي ', 'رائد نشاط', 'عضو', 'النشاط المدرسي', '2016-10-24 04:50:17', '2016-10-24 04:50:17', 15), (188, 'عادل بن عبدالرحمن ابوعايد ', 'مرشد طلابي', 'عضو', 'شؤون الطلاب', '2016-10-24 04:57:17', '2016-10-24 04:57:17', 15), (189, 'رياض بن سعيد المنمص ', 'مرشد طلابي', 'عضو', 'شؤون الطلاب', '2016-10-24 04:57:56', '2016-10-24 04:57:56', 15), (190, 'فهد بن عبدالرحمن الحشر ', 'مرشد طلابي', 'عضو', 'شؤون الطلاب', '2016-10-24 04:58:37', '2016-10-24 04:58:37', 15), (191, 'وليد محسن محمد مسملي', 'معلم', 'عضو', 'شؤون المعلمين', '2016-10-24 04:59:39', '2016-10-24 05:01:10', 15), (192, 'مشعل لافي سرور العتيبي', 'معلم', 'عضو', 'البييئة المدرسية', '2016-10-24 05:00:21', '2016-10-24 05:00:21', 15), (193, 'محمد بن سالم الفيفي', 'معلم', 'عضو', 'شؤون المعلمين', '2016-10-24 05:00:59', '2016-10-24 05:00:59', 15); -- -------------------------------------------------------- -- -- Table structure for table `profit` -- CREATE TABLE IF NOT EXISTS `profit` ( `pr_id` int(11) NOT NULL, `pr_name` varchar(100) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=63 ; -- -- Dumping data for table `profit` -- INSERT INTO `profit` (`pr_id`, `pr_name`, `plans_p_id`) VALUES (58, 'الطلاب', 15), (59, 'المجتمع', 15), (60, 'المدرسة', 15), (61, 'المعلمين ', 15), (62, 'فريق العمل ', 15); -- -------------------------------------------------------- -- -- Table structure for table `range` -- CREATE TABLE IF NOT EXISTS `range` ( `r_id` int(11) NOT NULL, `r_name` varchar(45) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `requirement` -- CREATE TABLE IF NOT EXISTS `requirement` ( `re_id` int(11) NOT NULL, `re_name` varchar(100) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=101 ; -- -- Dumping data for table `requirement` -- INSERT INTO `requirement` (`re_id`, `re_name`, `plans_p_id`) VALUES (92, 'الإذاعة المدرسية ', 15), (93, 'جهاز كمبيوتر ', 15), (94, 'غرفة الاجتماعات ', 15), (95, 'مركز مصادر التعلم ', 15), (96, 'مقر التدريب ', 15), (97, 'مكتب المدير ', 15), (98, 'مكتب الوكيل ', 15), (99, 'الصالة الرياضية', 15), (100, 'باصات النقل', 15); -- -------------------------------------------------------- -- -- Table structure for table `responsible` -- CREATE TABLE IF NOT EXISTS `responsible` ( `rs_id` int(11) NOT NULL, `rs_name` varchar(45) DEFAULT NULL, `rs_order` int(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=158 ; -- -- Dumping data for table `responsible` -- INSERT INTO `responsible` (`rs_id`, `rs_name`, `rs_order`, `plans_p_id`) VALUES (149, 'مدير المدرسة ', 1, 15), (150, 'وكيل الشؤون التعليمية ', 2, 15), (151, 'المعلم ', 3, 15), (152, 'وكيل شؤون الطلاب ', 4, 15), (153, 'رائد النشاط ', 5, 15), (154, 'المرشد ا لطلابي ', 6, 15), (155, 'أمين مصادر التعلم ', 7, 15), (156, 'السكرتير', 8, 15), (157, 'محضر المختبر ', 9, 15); -- -------------------------------------------------------- -- -- Table structure for table `schools` -- CREATE TABLE IF NOT EXISTS `schools` ( `sch_id` int(11) NOT NULL, `sch_name` varchar(45) DEFAULT NULL, `sch_phone` varchar(45) DEFAULT NULL, `sch_email` varchar(45) DEFAULT NULL, `sch_status` varchar(45) DEFAULT NULL, `system_logo` varchar(255) DEFAULT NULL, `reports_logo` varchar(255) DEFAULT NULL, `cover_logo` varchar(255) DEFAULT NULL, `lat` varchar(255) DEFAULT NULL, `long` varchar(255) DEFAULT NULL, `zoom` int(11) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -- Dumping data for table `schools` -- INSERT INTO `schools` (`sch_id`, `sch_name`, `sch_phone`, `sch_email`, `sch_status`, `system_logo`, `reports_logo`, `cover_logo`, `lat`, `long`, `zoom`, `created_at`, `updated_at`) VALUES (8, 'مدرسة ابن الخطيب المتوسطة', '0556686866', '<EMAIL>', 'مفعل', '1477324510الشعار.jpg', '14773851631.jpg', '14783799064.jpg', '24.01220110675591', '38.192906379990745', 17, '2016-10-05 10:08:53', '2016-11-05 21:05:06'); -- -------------------------------------------------------- -- -- Table structure for table `sessions` -- CREATE TABLE IF NOT EXISTS `sessions` ( `id` varchar(255) CHARACTER SET utf8 NOT NULL, `user_id` int(11) DEFAULT NULL, `ip_address` varchar(45) CHARACTER SET utf8 DEFAULT NULL, `user_agent` text CHARACTER SET utf8, `payload` text CHARACTER SET utf8 NOT NULL, `last_activity` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `sessions` -- INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES ('0466437f98c673ae9e9ebe64b2224e0eff53330e', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', '<KEY>', 1479129250), ('08a3b090e3a90d364986c5db0d2011166455045f', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', '<KEY>', 1478960666), ('1113d01e912dcaeff57fbcdf9813ddf9b6e4cf46', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', 'YToxOntzOjU6ImZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', 1479133190), ('4805f2ee6c6921a7b90e6d2895afb313766d0bce', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', 'YTo3OntzOjY6Il90b2tlbiI7czo0MDoiaDhuOTdQT3dKWWRsRjVhbGV6QTlTaG1oM2ZxR2VtbUh0NVRTV3FSYiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzQ6Imh0dHA6Ly9sb2NhbGhvc3QvZmluYWwvaW5zdGF0dXRpb24iO31zOjU6ImZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjQ7czo5OiJwbGFuX25hbWUiO3M6Mzc6IiDZhdmK2YTYp9iv2Yo6IDIwMTcgfCAg2YfYrNix2Yo6IDE0MzgiO3M6NzoicGxhbl9pZCI7aToxNTtzOjk6Il9zZjJfbWV0YSI7YTozOntzOjE6InUiO2k6MTQ3ODc4OTA3MDtzOjE6ImMiO2k6MTQ3ODc3MzcyMztzOjE6ImwiO3M6MToiMCI7fX0=', 1478789071), ('8bd6a085217c94a6b9cfa925b53a5d6d57af944c', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', 'YToxOntzOjU6ImZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', 1479133196), ('8daf86537fce8d2cecc751496d2a3d6811c5ee65', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', 'YToxOntzOjU6ImZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', 1479133201), ('9b3882dce99ac0c16810ce6043eaf7db15fdf56f', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', 'YTo3OntzOjY6Il90b2tlbiI7czo0MDoiWndOd2dlenRKWllUM21wNVZ1MzNNdmJybHZleldkdnpNSkRra1pQSiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzQ6Imh0dHA6Ly9sb2NhbGhvc3QvZmluYWwvaW5zdGF0dXRpb24iO31zOjU6ImZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjQ7czo5OiJwbGFuX25hbWUiO3M6Mzc6IiDZhdmK2YTYp9iv2Yo6IDIwMTcgfCAg2YfYrNix2Yo6IDE0MzgiO3M6NzoicGxhbl9pZCI7aToxNTtzOjk6Il9zZjJfbWV0YSI7YTozOntzOjE6InUiO2k6MTQ3ODk0NzAyOTtzOjE6ImMiO2k6MTQ3ODk0NjkzMDtzOjE6ImwiO3M6MToiMCI7fX0=', 1478947030), ('f73f4c306ebe7db307e9ca08668f7dc95a1bf925', 4, '::1', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', '<KEY>', 1479040712); -- -------------------------------------------------------- -- -- Table structure for table `subject_plan` -- CREATE TABLE IF NOT EXISTS `subject_plan` ( `sp_id` int(11) NOT NULL, `sub_name` varchar(45) DEFAULT NULL, `spec` varchar(45) DEFAULT NULL, `class_sub_num` int(11) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=120 ; -- -- Dumping data for table `subject_plan` -- INSERT INTO `subject_plan` (`sp_id`, `sub_name`, `spec`, `class_sub_num`, `plans_p_id`) VALUES (109, 'التربية البدنية', 'التربية البدنية', 1, 15), (110, 'التربية الفنية و المهنية', 'التربية الفنية و المهنية', 6, 15), (111, 'التفسير', 'التربية الإسلامية', 6, 15), (112, 'التوحيد', 'التربية الإسلامية', 6, 15), (113, 'الحاسب الآلي', 'الحاسب الآلي', 3, 15), (114, 'الحديث', 'التربية الإسلامية', 3, 15), (115, 'الدراسات الاجتماعية والوطنية', 'الدراسات الاجتماعية والوطنية', 9, 15), (116, 'الرياضيات', 'الرياضيات', 5, 15), (117, 'العلوم', 'العلوم', 12, 15), (118, 'الفقه', 'التربية الإسلامية', 6, 15), (119, 'القرآن الكريم', 'التربية الإسلامية', 6, 15); -- -------------------------------------------------------- -- -- Table structure for table `support` -- CREATE TABLE IF NOT EXISTS `support` ( `su_id` int(11) NOT NULL, `su_name` varchar(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=71 ; -- -- Dumping data for table `support` -- INSERT INTO `support` (`su_id`, `su_name`, `plans_p_id`) VALUES (64, 'إدارة التربية والتعليم بمحافظة ينبع ', 15), (65, 'إدارة الخدمات التعليمية بينبع ', 15), (66, 'قسم التوجيه والإرشاد بإدارة التعليم ', 15), (67, 'قسم النشاط بإدارة التعليم ', 15), (68, 'قسم النشاط بإدارة الخدمات ', 15), (70, 'بدون ', 15); -- -------------------------------------------------------- -- -- Table structure for table `swot_elm` -- CREATE TABLE IF NOT EXISTS `swot_elm` ( `se_id` int(11) NOT NULL, `elm_name` varchar(100) DEFAULT NULL, `point_type` varchar(45) DEFAULT NULL, `fields_f_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=335 ; -- -- Dumping data for table `swot_elm` -- INSERT INTO `swot_elm` (`se_id`, `elm_name`, `point_type`, `fields_f_id`) VALUES (314, 'نسبة كبيرة من الطلاب من الأحياء الأقل اهتمام من قبل أولياء الأمور ', 'ضعف', 140), (315, 'تميز الكادر الفني والإداري بالمدرسة ', 'قوة', 142), (316, 'المبنى مصمم أساسا لمدرسة ابتدائية وليس متوسطة ', 'ضعف', 144), (317, 'المدرسة مزودة بكاميرات مراقبة داخلية وخارجية ', 'قوة', 144), (318, 'صغر مساحة الصالة الرياضية ', 'ضعف', 144), (320, 'مجاورة المدرسة لمركز تقنية المعلومات الخاص بالإدارة التعليمية ', 'فرص', 144), (321, 'قرب المدرسة من السوق المحلي ', 'مخاطر', 144), (322, 'وجود المدرسة في مدينة صناعية كثيرة الشركات الصناعيةالكبرى ', 'قوة', 145), (323, 'لا يوجد سكرتير ولا مدخل بيانات بالمدرسة ', 'ضعف', 146), (324, 'أولياء أمور فاعلين ومتعاونين', 'فرص', 145), (325, 'وجود قرطاسية قريبة من المدرسة ', 'فرص', 141), (326, 'مؤسسات المدينة لديها ثقافة الدعم والرعاية', 'فرص', 145), (327, 'زيارات طلاب الثانويات للمدرسة بحجة السلام والتواصل', 'مخاطر', 140), (328, 'الأحياء التابعة للمدرسة من الأحياء القديمة في مدينة ينبع الصناعية', 'مخاطر', 140), (329, 'ترابط فريق العمل اجتماعياً وإنسانياً', 'قوة', 142), (330, 'حسن استغلال التقنية والبرامج المساعدة في العمل التعليمي والإداري والتربوي', 'قوة', 146), (331, 'الاتصال الفعال والتعاون الإيجابي بين قادة المدارس في المدينة', 'فرص', 146), (333, 'استقطاب طلاب المدرسة من قبل مدارس أخرى', 'مخاطر', 140), (334, 'عدم وجود حارس أمن خاص بالمدرسة', 'ضعف', 146); -- -------------------------------------------------------- -- -- Table structure for table `swot_strategy` -- CREATE TABLE IF NOT EXISTS `swot_strategy` ( `sg_id` int(11) NOT NULL, `sg_order` int(11) DEFAULT NULL, `sg_point` int(100) DEFAULT NULL, `what_can` text, `plans_p_id` int(11) NOT NULL, `first` varchar(255) DEFAULT NULL, `second` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; -- -- Dumping data for table `swot_strategy` -- INSERT INTO `swot_strategy` (`sg_id`, `sg_order`, `sg_point`, `what_can`, `plans_p_id`, `first`, `second`) VALUES (7, 1, 3, 'تكثيف الجانب الاشرافي من قبل فريق العمل للحد من ظاهرة ذهاب الطلاب للسوق بداية الدوام الرسمي وتأخرهم عن المدرسة ', 15, 'تميز الكادر الفني والإداري بالمدرسة ', 'قرب المدرسة من السوق المحلي '), (8, 1, 2, 'توفير المواد المهمة للتصوير والطباعة وكذلك صيانة الاجهزة في وقت سريع', 15, 'مجاورة المدرسة لمركز تقنية المعلومات الخاص بالإدارة التعليمية ', 'لا يوجد سكرتير ولا مدخل بيانات بالمدرسة '), (9, 1, 4, 'الاستفادة من الصالة الرياضية الصغيرة كساحة للمقصف و اضافة فسحة بداية الدوام الرسمي', 15, 'صغر مساحة الصالة الرياضية ', 'قرب المدرسة من السوق المحلي '), (10, 1, 1, 'سرعة اصلاح الاجهزية والحاسب الالي و جهاز العرض والسبورة الالكترونية', 15, 'مجاورة المدرسة لمركز تقنية المعلومات الخاص بالإدارة التعليمية ', 'تميز الكادر الفني والإداري بالمدرسة '), (11, 1, 1, 'الاستفادة من قربهم للصيانة والمحافظة على فاعليتها وسلامتها', 15, 'مجاورة المدرسة لمركز تقنية المعلومات الخاص بالإدارة التعليمية ', 'المدرسة مزودة بكاميرات مراقبة داخلية وخارجية '); -- -------------------------------------------------------- -- -- Table structure for table `tec_count` -- CREATE TABLE IF NOT EXISTS `tec_count` ( `tc_id` int(11) NOT NULL, `tc_name` varchar(45) DEFAULT NULL, `tc_num` varchar(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=506 ; -- -- Dumping data for table `tec_count` -- INSERT INTO `tec_count` (`tc_id`, `tc_name`, `tc_num`, `plans_p_id`) VALUES (496, 'معلم اجتماعيات', '4', 15), (497, 'معلم تربية إسلامية', '9', 15), (498, 'معلم تربية رياضية', '1', 15), (499, 'معلم تربية فنية', '2', 15), (500, 'معلم حاسب آلي', '1', 15), (501, 'معلم رياضيات', '5', 15), (502, 'معلم علوم', '5', 15), (503, 'معلم لغة إنجليزية', '3', 15), (504, 'معلم لغة عربية', '6', 15), (505, 'uu', '7', 15); -- -------------------------------------------------------- -- -- Table structure for table `time` -- CREATE TABLE IF NOT EXISTS `time` ( `t_id` int(11) NOT NULL, `t_name` varchar(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=57 ; -- -- Dumping data for table `time` -- INSERT INTO `time` (`t_id`, `t_name`, `plans_p_id`) VALUES (47, 'أسبوع', 15), (48, 'أسبوعان', 15), (49, 'ثلاثة أسابيع ', 15), (50, 'ثلاثة أشهر ', 15), (51, 'ثلاثة أيام ', 15), (52, 'شهر', 15), (53, 'شهران', 15), (54, 'عام دراسي ', 15), (55, 'فصل دراسي ', 15), (56, 'يوم واحد ', 15); -- -------------------------------------------------------- -- -- Table structure for table `time_day` -- CREATE TABLE IF NOT EXISTS `time_day` ( `tm_id` int(11) NOT NULL, `start_morning` varchar(45) DEFAULT NULL, `end_morning` varchar(45) DEFAULT NULL, `notes_morning` varchar(45) DEFAULT NULL, `start_1` varchar(45) DEFAULT NULL, `end_1` varchar(45) DEFAULT NULL, `notes_1` varchar(45) DEFAULT NULL, `start_2` varchar(45) DEFAULT NULL, `end_2` varchar(45) DEFAULT NULL, `notes_2` varchar(45) DEFAULT NULL, `start_3` varchar(45) DEFAULT NULL, `end_3` varchar(45) DEFAULT NULL, `notes_3` varchar(45) DEFAULT NULL, `start_4` varchar(45) DEFAULT NULL, `end_4` varchar(45) DEFAULT NULL, `notes_4` varchar(45) DEFAULT NULL, `start_5` varchar(45) DEFAULT NULL, `end_5` varchar(45) DEFAULT NULL, `notes_5` varchar(45) DEFAULT NULL, `start_6` varchar(45) DEFAULT NULL, `end_6` varchar(45) DEFAULT NULL, `notes_6` varchar(45) DEFAULT NULL, `start_7` varchar(45) DEFAULT NULL, `end_7` varchar(45) DEFAULT NULL, `notes_7` varchar(45) DEFAULT NULL, `start_8` varchar(45) DEFAULT NULL, `end_8` varchar(45) DEFAULT NULL, `notes_8` varchar(45) DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=53 ; -- -- Dumping data for table `time_day` -- INSERT INTO `time_day` (`tm_id`, `start_morning`, `end_morning`, `notes_morning`, `start_1`, `end_1`, `notes_1`, `start_2`, `end_2`, `notes_2`, `start_3`, `end_3`, `notes_3`, `start_4`, `end_4`, `notes_4`, `start_5`, `end_5`, `notes_5`, `start_6`, `end_6`, `notes_6`, `start_7`, `end_7`, `notes_7`, `start_8`, `end_8`, `notes_8`, `plans_p_id`) VALUES (52, '07:15', '07:30', '', '7:30', '08:15', '', '08:15', '09:00', 'الفصحة الأولى 9:00', '9:00', '9:45', 'الفسحة الثانية 9:45', '10:05', '10:55', '', '10:55', '11:40', '', '11:40', '12:25', '', '12:25', '01:05', '', '', '', '', 15); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL, `username` varchar(100) DEFAULT NULL, `email` varchar(100) DEFAULT NULL, `password` varchar(255) DEFAULT NULL, `phone` varchar(45) DEFAULT NULL, `type` varchar(45) DEFAULT NULL, `status` varchar(45) DEFAULT NULL, `logo` varchar(255) DEFAULT NULL, `remember_token` varchar(100) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `operations` int(11) DEFAULT NULL, `maindata` int(11) DEFAULT NULL, `strategy` int(11) DEFAULT NULL, `swat` int(11) DEFAULT NULL, `plansetting` int(11) DEFAULT NULL, `systemsetting` int(11) DEFAULT NULL, `reports` int(11) DEFAULT NULL, `schools_sch_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `email`, `password`, `phone`, `type`, `status`, `logo`, `remember_token`, `created_at`, `updated_at`, `operations`, `maindata`, `strategy`, `swat`, `plansetting`, `systemsetting`, `reports`, `schools_sch_id`) VALUES (4, 'admin', '<EMAIL>', '$2y$10$u.Rr1IB9/cK.fZqUOrQ74O5xBdInogxZ2flSGTi.FyGY7f7rWDihq', '0556686866', 'admin', NULL, '1478379758ik_logo.jpg', 'hnInPfQE6jV0lkKYWgLdE4spuzxfe000R1fmDsKU7W9oFataqyhcxUDnHDuC', '2016-10-05 10:08:54', '2016-11-14 17:47:27', 1, 1, 1, 1, 1, 1, 1, 8), (5, 'm', '<EMAIL>', <PASSWORD>', NULL, 'agent', NULL, NULL, 'sdwz6ynbC7k2kgfSGoWQJBs1CxpyiUczYADFw4oxDQa82NmwfEdco4wOm0Cg', '2016-10-25 08:48:25', '2016-11-04 00:56:17', NULL, NULL, NULL, NULL, 1, NULL, 1, 8); -- -------------------------------------------------------- -- -- Table structure for table `values` -- CREATE TABLE IF NOT EXISTS `values` ( `vl_id` int(11) NOT NULL, `vl_name` varchar(100) DEFAULT NULL, `vl_value` text, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=234 ; -- -- Dumping data for table `values` -- INSERT INTO `values` (`vl_id`, `vl_name`, `vl_value`, `plans_p_id`) VALUES (227, 'التطوير والتدريب ', 'حريصون على تطوير الموارد البشرية والمادية بالأمكانات المتاحة داخليا وخارجياً', 15), (228, 'خدمة المجتمع ', 'من اهم قيمنا ان يكون لنا دور بارز ومؤثر في المجتمع المحيط والأحياء التي ترتبط بمدرستنا', 15), (229, 'العمل كفريق واحد ', 'مؤمن بالعمل الجماعي بروح واحدة وبرؤية واضحة وشعار يتفق عليه ويردده الجميع', 15), (230, 'التميز والجودة ', 'مستمرون في التميز بتطبيق الجودة والحرص على المنافسة في كل ميدان', 15), (231, 'التعاون والتكاتف ', 'حريصون على تكامل الأدوار فيما بين فريق العمل في جو يعتمد على التعاون', 15), (232, 'الطالب أولاً', 'يعتبر الطالب هو أساس المدرسة وسبب نشأتها لذا فهو المعني أولاً بكل جهودنا', 15), (233, 'بيئة أفضل', 'نحافظ على نظافة البيئة المدرسية وجمالها وسلامة ممتلكاتها وجاهزيتها الدائمة', 15); -- -------------------------------------------------------- -- -- Table structure for table `vms` -- CREATE TABLE IF NOT EXISTS `vms` ( `vm_id` int(11) NOT NULL, `vission` text, `mession` text, `slogan` text, `start` text, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=48 ; -- -- Dumping data for table `vms` -- INSERT INTO `vms` (`vm_id`, `vission`, `mession`, `slogan`, `start`, `plans_p_id`) VALUES (47, ' أن تكون مدرستنا المنار المعرفي الأبرز في منطقتنا\r\n ', ' العمل على انتاج جيل معرفي واعد يستفيد من كل الموارد المتاحة من خلال فريق عمل خبير ومتمكن فنيا وبتفعيل تقنيات التعليم و تنفيذ استراتيجيات التعلم الحديثة .\r\n ', ' نعمل .. نجو جيل معرفي بناء\r\n ', '..\r\n...\r\n...\r\n...\r\n الحمد لله رب العالمين والصلاة والسلام على أشرف الأنبياء والمرسلين وبعد : فنجاح المدرسة يعتمد على نجاح الإنسان المسؤول عنها, ومدى كفاءته وقدرته التخطيط , فلقد أصبح التخطيط ضروريا وهاما لكل مجالات الحياة , وهو أكثر أهمية في المجال التربوي ، وحتى يكون مدير المدرسة قادرا على بناء خطط العمل المدرسي فلا بد أن يكون ملما, وواعيا لمعنى التخطيط وأهميته وفوائده وكيفية بناء الخطة, وتنفيذها, ومتابعتها وتطويرها ،ولا بد له أن يعلم أن التخطيط عملية أو نشاط مستمر ودائم التجدد ، يتضمن عملية وضع الأهداف وتحديدها وتنفيذها واختيار وسائل وطرق تقويم العمل ومتابعته وتطويره.\r\nتعديل ', 15); -- -------------------------------------------------------- -- -- Table structure for table `work_team` -- CREATE TABLE IF NOT EXISTS `work_team` ( `w_id` int(11) NOT NULL, `w_name` varchar(45) DEFAULT NULL, `w_spec` varchar(45) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `plans_p_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=186 ; -- -- Dumping data for table `work_team` -- INSERT INTO `work_team` (`w_id`, `w_name`, `w_spec`, `created_at`, `updated_at`, `plans_p_id`) VALUES (143, 'أحمد عويد الجهني', 'اجتماعيات', '2016-10-21 15:38:49', '2016-10-21 15:38:49', 15), (144, 'امين عبدالرحمن الاحمدي', 'علوم', '2016-10-21 15:39:10', '2016-10-21 15:39:10', 15), (145, 'بدر ظافر الشهري', 'تربية اسلامية', '2016-10-21 15:40:04', '2016-10-21 15:40:04', 15), (146, 'بدر عمر الحصين', 'اجتماعيات', '2016-10-21 15:40:26', '2016-10-21 15:40:26', 15), (147, 'بندر خالد الحربي', 'رياضيات', '2016-10-21 15:41:05', '2016-10-21 15:41:05', 15), (148, 'حسام حسين سيبه', 'حاسب آلي', '2016-10-21 15:41:53', '2016-10-21 15:41:53', 15), (149, 'حسن فهيد الرشيدي', 'رياضيات', '2016-10-21 15:42:24', '2016-10-21 15:42:24', 15), (150, 'حمود حامد الحربي', 'لغة انجليزية', '2016-10-21 15:42:53', '2016-10-21 15:42:53', 15), (151, 'خالد سالم المرواني', 'اجتماعيات', '2016-10-21 15:43:23', '2016-10-21 15:43:23', 15), (152, 'رائد عبدالله خشيم', 'لغة انجليزية', '2016-10-21 15:43:47', '2016-10-21 15:43:47', 15), (153, 'رياض سعيد المنمص', 'علم نفس', '2016-10-21 15:44:10', '2016-10-21 15:44:10', 15), (154, 'سيف محمد الكودي', 'لغة عربية', '2016-10-21 15:44:34', '2016-10-21 15:44:34', 15), (155, 'طلال سليمان الفيفي', 'تربية اسلامية', '2016-10-21 15:45:12', '2016-10-21 15:45:12', 15), (156, 'عادل عبدالرحمن ابوعايد', 'تربية اسلامية', '2016-10-21 15:45:32', '2016-10-21 15:45:32', 15), (157, 'عبدالرحمن احمد المالكي', 'رياضيات', '2016-10-21 15:45:52', '2016-10-21 15:45:52', 15), (158, 'عبدالرزاق جمعان الزهراني', 'علوم', '2016-10-21 15:46:13', '2016-10-21 15:46:13', 15), (159, 'عبدالعزيز صالح الزهراني', 'لغة عربية', '2016-10-21 15:47:15', '2016-10-21 15:47:15', 15), (160, 'عبدالعزيز عبدالكريم العنزي', 'فقة', '2016-10-21 15:47:37', '2016-10-21 15:47:37', 15), (161, 'عبدالعزيز عبدالله السعيد', 'تربية اسلامية', '2016-10-21 15:47:58', '2016-10-21 15:47:58', 15), (162, 'عبدالعزيز مريشيد المطيري', 'لغة عربية', '2016-10-21 15:48:18', '2016-10-21 15:48:18', 15), (163, 'عبدالله حمزة الرفاعي', 'تربية فنية', '2016-10-21 15:48:39', '2016-10-21 15:48:39', 15), (164, 'عبدالله عائض هادي المحامض', 'علم المعلومات', '2016-10-21 15:49:01', '2016-10-21 15:49:01', 15), (165, 'غازي مبرك الفايدي', 'اجتماعيات', '2016-10-21 15:50:26', '2016-10-21 15:50:26', 15), (166, 'فايز محسن النفاعي', 'رياضيات', '2016-10-21 15:50:56', '2016-10-21 15:50:56', 15), (167, 'فهد عبدالرحمن الحشر', 'علم نفس', '2016-10-21 15:51:20', '2016-10-21 15:51:20', 15), (168, 'محمد سالم الفيفي', 'لغة عربية', '2016-10-21 15:51:59', '2016-10-21 15:51:59', 15), (169, 'محمد عبدالله محمد الشهري', 'أحياء', '2016-10-21 15:52:18', '2016-10-21 15:52:18', 15), (170, 'مشعل لافي العتيبي', 'لغة انجليزية', '2016-10-21 15:52:37', '2016-10-21 15:52:37', 15), (171, 'مصطفى محمود الفاضل الشنقيطي', 'إدارة تربوية - فيزياء', '2016-10-21 15:53:00', '2016-10-21 15:53:00', 15), (172, 'نبيل احمد الغامدي', 'تربية إسلامية', '2016-10-21 15:53:22', '2016-10-21 15:53:22', 15), (173, 'هاشم محمد زيدان', 'لغة انجليزية', '2016-10-21 15:54:21', '2016-10-21 15:54:21', 15), (174, 'هنيد محمد الحرازي', 'تربية فنية', '2016-10-21 15:54:41', '2016-10-21 15:54:41', 15), (175, 'وائل مرزوق الجريسي', 'تربية بدنية', '2016-10-21 15:55:05', '2016-10-21 15:55:05', 15), (176, 'وليد محسن مسملي', 'لغة عربية', '2016-10-21 15:55:24', '2016-10-21 15:55:24', 15), (177, 'ياسر حميد المالكي', 'علوم', '2016-10-21 15:55:41', '2016-10-21 15:55:41', 15), (178, 'يوسف بن سالم الشهري', 'إدارة تربوية _ حاسب آلي', '2016-10-21 15:56:04', '2016-10-21 15:56:04', 15), (179, 'عبداللـه بن يحيى عمر الحارثي ', 'محضر مختبر العلوم', '2016-10-29 10:07:56', '2016-10-29 10:07:56', 15), (180, 'ياسين عبدالعزيز خضر ', 'تربية إسلامية', '2016-10-29 10:08:31', '2016-10-29 10:08:31', 15), (181, 'عبدالله علي الزاعبي ', 'تربية إسلامية', '2016-10-29 10:09:14', '2016-10-29 10:09:14', 15), (182, 'صالح ردة الحربي ', 'رياضيات', '2016-10-29 10:09:35', '2016-10-29 10:09:35', 15), (183, 'علي حسن عسيري ', 'علوم', '2016-10-29 10:09:55', '2016-10-29 10:09:55', 15), (184, 'عبدالمجيد عبدالاله العامري ', 'لغة عربية', '2016-10-29 10:12:08', '2016-10-29 10:12:08', 15), (185, 'حامد محمد العامري ', 'تربية إسلامية', '2016-10-29 10:13:34', '2016-10-29 10:13:34', 15); -- -- Indexes for dumped tables -- -- -- Indexes for table `actions` -- ALTER TABLE `actions` ADD PRIMARY KEY (`ac_id`), ADD KEY `fk_actions_plans1_idx` (`plans_p_id`), ADD KEY `fk_actions_time1_idx` (`time_t_id`), ADD KEY `fk_actions_profit1_idx` (`profit_pr_id`); -- -- Indexes for table `actions_has_d_goal` -- ALTER TABLE `actions_has_d_goal` ADD PRIMARY KEY (`actions_ac_id`,`d_goal_dg_id`), ADD KEY `fk_actions_has_d_goal_d_goal1_idx` (`d_goal_dg_id`), ADD KEY `fk_actions_has_d_goal_actions1_idx` (`actions_ac_id`); -- -- Indexes for table `actions_has_requirement` -- ALTER TABLE `actions_has_requirement` ADD PRIMARY KEY (`actions_ac_id`,`requirement_re_id`), ADD KEY `fk_actions_has_requirement_requirement1_idx` (`requirement_re_id`), ADD KEY `fk_actions_has_requirement_actions1_idx` (`actions_ac_id`); -- -- Indexes for table `actions_has_responsible` -- ALTER TABLE `actions_has_responsible` ADD PRIMARY KEY (`actions_ac_id`,`responsible_rs_id`), ADD KEY `fk_actions_has_responsible_responsible1_idx` (`responsible_rs_id`), ADD KEY `fk_actions_has_responsible_actions1_idx` (`actions_ac_id`); -- -- Indexes for table `actions_has_responsible1` -- ALTER TABLE `actions_has_responsible1` ADD PRIMARY KEY (`actions_ac_id`,`responsible_rs_id`), ADD KEY `fk_actions_has_responsible1_responsible1_idx` (`responsible_rs_id`), ADD KEY `fk_actions_has_responsible1_actions1_idx` (`actions_ac_id`); -- -- Indexes for table `actions_has_support` -- ALTER TABLE `actions_has_support` ADD PRIMARY KEY (`actions_ac_id`,`support_su_id`), ADD KEY `fk_actions_has_support_support1_idx` (`support_su_id`), ADD KEY `fk_actions_has_support_actions1_idx` (`actions_ac_id`); -- -- Indexes for table `admin_count` -- ALTER TABLE `admin_count` ADD PRIMARY KEY (`ca_id`), ADD KEY `fk_count_admin_plans1_idx` (`plans_p_id`); -- -- Indexes for table `announcement` -- ALTER TABLE `announcement` ADD PRIMARY KEY (`an_id`), ADD KEY `fk_announcement_plans1_idx` (`plans_p_id`); -- -- Indexes for table `backup` -- ALTER TABLE `backup` ADD PRIMARY KEY (`id`); -- -- Indexes for table `buliding_count` -- ALTER TABLE `buliding_count` ADD PRIMARY KEY (`bu_id`), ADD KEY `fk_buliding_count_plans1_idx` (`plans_p_id`); -- -- Indexes for table `category_time` -- ALTER TABLE `category_time` ADD PRIMARY KEY (`ct_id`), ADD KEY `fk_category_time_plans1_idx` (`plans_p_id`); -- -- Indexes for table `class_count` -- ALTER TABLE `class_count` ADD PRIMARY KEY (`cc_id`), ADD KEY `fk_class_count_plans1_idx` (`plans_p_id`); -- -- Indexes for table `data` -- ALTER TABLE `data` ADD PRIMARY KEY (`d_id`), ADD KEY `fk_data_schools1_idx` (`schools_sch_id`); -- -- Indexes for table `d_goal` -- ALTER TABLE `d_goal` ADD PRIMARY KEY (`dg_id`), ADD KEY `fk_d_goal_g_goal1_idx` (`g_goal_g_id`); -- -- Indexes for table `events` -- ALTER TABLE `events` ADD PRIMARY KEY (`ev_id`), ADD KEY `fk_events_plans1_idx` (`plans_p_id`); -- -- Indexes for table `events_has_responsible` -- ALTER TABLE `events_has_responsible` ADD PRIMARY KEY (`events_ev_id`,`responsible_rs_id`), ADD KEY `fk_events_has_responsible_responsible1_idx` (`responsible_rs_id`), ADD KEY `fk_events_has_responsible_events1_idx` (`events_ev_id`); -- -- Indexes for table `events_has_responsible1` -- ALTER TABLE `events_has_responsible1` ADD PRIMARY KEY (`events_ev_id`,`responsible_rs_id`), ADD KEY `fk_events_has_responsible1_responsible1_idx` (`responsible_rs_id`), ADD KEY `fk_events_has_responsible1_events1_idx` (`events_ev_id`); -- -- Indexes for table `fields` -- ALTER TABLE `fields` ADD PRIMARY KEY (`f_id`), ADD KEY `fk_fields_plans1_idx` (`plans_p_id`); -- -- Indexes for table `g_goal` -- ALTER TABLE `g_goal` ADD PRIMARY KEY (`g_id`), ADD KEY `fk_g_goal_fields1_idx` (`fields_f_id`); -- -- Indexes for table `leaders_team` -- ALTER TABLE `leaders_team` ADD PRIMARY KEY (`l_id`), ADD KEY `fk_leaders_team_plans1_idx` (`plans_p_id`); -- -- Indexes for table `periods` -- ALTER TABLE `periods` ADD PRIMARY KEY (`pe_id`), ADD KEY `fk_periods_plans1_idx` (`plans_p_id`); -- -- Indexes for table `plans` -- ALTER TABLE `plans` ADD PRIMARY KEY (`p_id`), ADD KEY `fk_plans_schools1_idx` (`schools_sch_id`); -- -- Indexes for table `plan_team` -- ALTER TABLE `plan_team` ADD PRIMARY KEY (`pl_id`), ADD KEY `fk_plan_team_plans1_idx` (`plans_p_id`); -- -- Indexes for table `profit` -- ALTER TABLE `profit` ADD PRIMARY KEY (`pr_id`), ADD KEY `fk_profit_plans1_idx` (`plans_p_id`); -- -- Indexes for table `range` -- ALTER TABLE `range` ADD PRIMARY KEY (`r_id`); -- -- Indexes for table `requirement` -- ALTER TABLE `requirement` ADD PRIMARY KEY (`re_id`), ADD KEY `fk_requirement_plans1_idx` (`plans_p_id`); -- -- Indexes for table `responsible` -- ALTER TABLE `responsible` ADD PRIMARY KEY (`rs_id`), ADD KEY `fk_responsible_plans1_idx` (`plans_p_id`); -- -- Indexes for table `schools` -- ALTER TABLE `schools` ADD PRIMARY KEY (`sch_id`); -- -- Indexes for table `sessions` -- ALTER TABLE `sessions` ADD UNIQUE KEY `sessions_id_unique` (`id`); -- -- Indexes for table `subject_plan` -- ALTER TABLE `subject_plan` ADD PRIMARY KEY (`sp_id`), ADD KEY `fk_subject_plan_plans1_idx` (`plans_p_id`); -- -- Indexes for table `support` -- ALTER TABLE `support` ADD PRIMARY KEY (`su_id`), ADD KEY `fk_support_plans1_idx` (`plans_p_id`); -- -- Indexes for table `swot_elm` -- ALTER TABLE `swot_elm` ADD PRIMARY KEY (`se_id`), ADD KEY `fk_swot_elm_fields1_idx` (`fields_f_id`); -- -- Indexes for table `swot_strategy` -- ALTER TABLE `swot_strategy` ADD PRIMARY KEY (`sg_id`), ADD KEY `fk_swot_strategy_plans1_idx` (`plans_p_id`); -- -- Indexes for table `tec_count` -- ALTER TABLE `tec_count` ADD PRIMARY KEY (`tc_id`), ADD KEY `fk_tec_count_plans1_idx` (`plans_p_id`); -- -- Indexes for table `time` -- ALTER TABLE `time` ADD PRIMARY KEY (`t_id`), ADD KEY `fk_time_plans1_idx` (`plans_p_id`); -- -- Indexes for table `time_day` -- ALTER TABLE `time_day` ADD PRIMARY KEY (`tm_id`), ADD KEY `fk_time_day_plans1_idx` (`plans_p_id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD KEY `fk_users_schools_idx` (`schools_sch_id`); -- -- Indexes for table `values` -- ALTER TABLE `values` ADD PRIMARY KEY (`vl_id`), ADD KEY `fk_values_plans1_idx` (`plans_p_id`); -- -- Indexes for table `vms` -- ALTER TABLE `vms` ADD PRIMARY KEY (`vm_id`), ADD KEY `fk_vms_plans1_idx` (`plans_p_id`); -- -- Indexes for table `work_team` -- ALTER TABLE `work_team` ADD PRIMARY KEY (`w_id`), ADD KEY `fk_work_team_plans1_idx` (`plans_p_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `actions` -- ALTER TABLE `actions` MODIFY `ac_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=85; -- -- AUTO_INCREMENT for table `admin_count` -- ALTER TABLE `admin_count` MODIFY `ca_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=352; -- -- AUTO_INCREMENT for table `announcement` -- ALTER TABLE `announcement` MODIFY `an_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `backup` -- ALTER TABLE `backup` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=27; -- -- AUTO_INCREMENT for table `buliding_count` -- ALTER TABLE `buliding_count` MODIFY `bu_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=975; -- -- AUTO_INCREMENT for table `category_time` -- ALTER TABLE `category_time` MODIFY `ct_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `class_count` -- ALTER TABLE `class_count` MODIFY `cc_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=166; -- -- AUTO_INCREMENT for table `data` -- ALTER TABLE `data` MODIFY `d_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=371; -- -- AUTO_INCREMENT for table `d_goal` -- ALTER TABLE `d_goal` MODIFY `dg_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=236; -- -- AUTO_INCREMENT for table `events` -- ALTER TABLE `events` MODIFY `ev_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `fields` -- ALTER TABLE `fields` MODIFY `f_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=147; -- -- AUTO_INCREMENT for table `g_goal` -- ALTER TABLE `g_goal` MODIFY `g_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=430; -- -- AUTO_INCREMENT for table `leaders_team` -- ALTER TABLE `leaders_team` MODIFY `l_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=119; -- -- AUTO_INCREMENT for table `periods` -- ALTER TABLE `periods` MODIFY `pe_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=123; -- -- AUTO_INCREMENT for table `plans` -- ALTER TABLE `plans` MODIFY `p_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `plan_team` -- ALTER TABLE `plan_team` MODIFY `pl_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=194; -- -- AUTO_INCREMENT for table `profit` -- ALTER TABLE `profit` MODIFY `pr_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=63; -- -- AUTO_INCREMENT for table `range` -- ALTER TABLE `range` MODIFY `r_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `requirement` -- ALTER TABLE `requirement` MODIFY `re_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=101; -- -- AUTO_INCREMENT for table `responsible` -- ALTER TABLE `responsible` MODIFY `rs_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=158; -- -- AUTO_INCREMENT for table `schools` -- ALTER TABLE `schools` MODIFY `sch_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `subject_plan` -- ALTER TABLE `subject_plan` MODIFY `sp_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=120; -- -- AUTO_INCREMENT for table `support` -- ALTER TABLE `support` MODIFY `su_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=71; -- -- AUTO_INCREMENT for table `swot_elm` -- ALTER TABLE `swot_elm` MODIFY `se_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=335; -- -- AUTO_INCREMENT for table `swot_strategy` -- ALTER TABLE `swot_strategy` MODIFY `sg_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `tec_count` -- ALTER TABLE `tec_count` MODIFY `tc_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=506; -- -- AUTO_INCREMENT for table `time` -- ALTER TABLE `time` MODIFY `t_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=57; -- -- AUTO_INCREMENT for table `time_day` -- ALTER TABLE `time_day` MODIFY `tm_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=53; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `values` -- ALTER TABLE `values` MODIFY `vl_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=234; -- -- AUTO_INCREMENT for table `vms` -- ALTER TABLE `vms` MODIFY `vm_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=48; -- -- AUTO_INCREMENT for table `work_team` -- ALTER TABLE `work_team` MODIFY `w_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=186; -- -- Constraints for dumped tables -- -- -- Constraints for table `actions` -- ALTER TABLE `actions` ADD CONSTRAINT `fk_actions_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_actions_profit1` FOREIGN KEY (`profit_pr_id`) REFERENCES `profit` (`pr_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_actions_time1` FOREIGN KEY (`time_t_id`) REFERENCES `time` (`t_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `actions_has_d_goal` -- ALTER TABLE `actions_has_d_goal` ADD CONSTRAINT `fk_actions_has_d_goal_actions1` FOREIGN KEY (`actions_ac_id`) REFERENCES `actions` (`ac_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_actions_has_d_goal_d_goal1` FOREIGN KEY (`d_goal_dg_id`) REFERENCES `d_goal` (`dg_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `actions_has_requirement` -- ALTER TABLE `actions_has_requirement` ADD CONSTRAINT `fk_actions_has_requirement_actions1` FOREIGN KEY (`actions_ac_id`) REFERENCES `actions` (`ac_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_actions_has_requirement_requirement1` FOREIGN KEY (`requirement_re_id`) REFERENCES `requirement` (`re_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `actions_has_responsible` -- ALTER TABLE `actions_has_responsible` ADD CONSTRAINT `fk_actions_has_responsible_actions1` FOREIGN KEY (`actions_ac_id`) REFERENCES `actions` (`ac_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_actions_has_responsible_responsible1` FOREIGN KEY (`responsible_rs_id`) REFERENCES `responsible` (`rs_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `actions_has_responsible1` -- ALTER TABLE `actions_has_responsible1` ADD CONSTRAINT `fk_actions_has_responsible1_actions1` FOREIGN KEY (`actions_ac_id`) REFERENCES `actions` (`ac_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_actions_has_responsible1_responsible1` FOREIGN KEY (`responsible_rs_id`) REFERENCES `responsible` (`rs_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `actions_has_support` -- ALTER TABLE `actions_has_support` ADD CONSTRAINT `fk_actions_has_support_actions1` FOREIGN KEY (`actions_ac_id`) REFERENCES `actions` (`ac_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_actions_has_support_support1` FOREIGN KEY (`support_su_id`) REFERENCES `support` (`su_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `admin_count` -- ALTER TABLE `admin_count` ADD CONSTRAINT `fk_count_admin_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `announcement` -- ALTER TABLE `announcement` ADD CONSTRAINT `fk_announcement_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `buliding_count` -- ALTER TABLE `buliding_count` ADD CONSTRAINT `fk_buliding_count_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `category_time` -- ALTER TABLE `category_time` ADD CONSTRAINT `fk_category_time_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `class_count` -- ALTER TABLE `class_count` ADD CONSTRAINT `fk_class_count_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `data` -- ALTER TABLE `data` ADD CONSTRAINT `fk_data_schools1` FOREIGN KEY (`schools_sch_id`) REFERENCES `schools` (`sch_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `d_goal` -- ALTER TABLE `d_goal` ADD CONSTRAINT `fk_d_goal_g_goal1` FOREIGN KEY (`g_goal_g_id`) REFERENCES `g_goal` (`g_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `events` -- ALTER TABLE `events` ADD CONSTRAINT `fk_events_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `events_has_responsible` -- ALTER TABLE `events_has_responsible` ADD CONSTRAINT `fk_events_has_responsible_events1` FOREIGN KEY (`events_ev_id`) REFERENCES `events` (`ev_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_events_has_responsible_responsible1` FOREIGN KEY (`responsible_rs_id`) REFERENCES `responsible` (`rs_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `events_has_responsible1` -- ALTER TABLE `events_has_responsible1` ADD CONSTRAINT `fk_events_has_responsible1_events1` FOREIGN KEY (`events_ev_id`) REFERENCES `events` (`ev_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_events_has_responsible1_responsible1` FOREIGN KEY (`responsible_rs_id`) REFERENCES `responsible` (`rs_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `fields` -- ALTER TABLE `fields` ADD CONSTRAINT `fk_fields_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `g_goal` -- ALTER TABLE `g_goal` ADD CONSTRAINT `fk_g_goal_fields1` FOREIGN KEY (`fields_f_id`) REFERENCES `fields` (`f_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `leaders_team` -- ALTER TABLE `leaders_team` ADD CONSTRAINT `fk_leaders_team_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `periods` -- ALTER TABLE `periods` ADD CONSTRAINT `fk_periods_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `plans` -- ALTER TABLE `plans` ADD CONSTRAINT `fk_plans_schools1` FOREIGN KEY (`schools_sch_id`) REFERENCES `schools` (`sch_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `plan_team` -- ALTER TABLE `plan_team` ADD CONSTRAINT `fk_plan_team_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `profit` -- ALTER TABLE `profit` ADD CONSTRAINT `fk_profit_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `requirement` -- ALTER TABLE `requirement` ADD CONSTRAINT `fk_requirement_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `responsible` -- ALTER TABLE `responsible` ADD CONSTRAINT `fk_responsible_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `subject_plan` -- ALTER TABLE `subject_plan` ADD CONSTRAINT `fk_subject_plan_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `support` -- ALTER TABLE `support` ADD CONSTRAINT `fk_support_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `swot_elm` -- ALTER TABLE `swot_elm` ADD CONSTRAINT `fk_swot_elm_fields1` FOREIGN KEY (`fields_f_id`) REFERENCES `fields` (`f_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `swot_strategy` -- ALTER TABLE `swot_strategy` ADD CONSTRAINT `fk_swot_strategy_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `tec_count` -- ALTER TABLE `tec_count` ADD CONSTRAINT `fk_tec_count_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `time` -- ALTER TABLE `time` ADD CONSTRAINT `fk_time_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `time_day` -- ALTER TABLE `time_day` ADD CONSTRAINT `fk_time_day_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `users` -- ALTER TABLE `users` ADD CONSTRAINT `fk_users_schools` FOREIGN KEY (`schools_sch_id`) REFERENCES `schools` (`sch_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `values` -- ALTER TABLE `values` ADD CONSTRAINT `fk_values_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `vms` -- ALTER TABLE `vms` ADD CONSTRAINT `fk_vms_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `work_team` -- ALTER TABLE `work_team` ADD CONSTRAINT `fk_work_team_plans1` FOREIGN KEY (`plans_p_id`) REFERENCES `plans` (`p_id`) ON DELETE CASCADE ON UPDATE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
--- This file has been generated by scripts/build_db.py. DO NOT EDIT ! INSERT INTO "vertical_datum" VALUES('EPSG','1027','EGM2008 geoid',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1028','Fao 1979',NULL,NULL,'EPSG','3625',0); INSERT INTO "vertical_datum" VALUES('EPSG','1030','N2000',NULL,NULL,'EPSG','3333',0); INSERT INTO "vertical_datum" VALUES('EPSG','1039','New Zealand Vertical Datum 2009',NULL,NULL,'EPSG','1175',0); INSERT INTO "vertical_datum" VALUES('EPSG','1040','Dunedin-Bluff 1960',NULL,NULL,'EPSG','3806',0); INSERT INTO "vertical_datum" VALUES('EPSG','1049','Incheon',NULL,NULL,'EPSG','3739',0); INSERT INTO "vertical_datum" VALUES('EPSG','1050','Trieste',NULL,NULL,'EPSG','2370',0); INSERT INTO "vertical_datum" VALUES('EPSG','1051','Genoa',NULL,NULL,'EPSG','3736',0); INSERT INTO "vertical_datum" VALUES('EPSG','1054','Sri Lanka Vertical Datum',NULL,NULL,'EPSG','3310',0); INSERT INTO "vertical_datum" VALUES('EPSG','1059','Faroe Islands Vertical Reference 2009',NULL,NULL,'EPSG','3248',0); INSERT INTO "vertical_datum" VALUES('EPSG','1079','Fehmarnbelt Vertical Reference 2010',NULL,NULL,'EPSG','3890',0); INSERT INTO "vertical_datum" VALUES('EPSG','1080','Lowest Astronomic Tide',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1082','Highest Astronomic Tide',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1083','Lower Low Water Large Tide',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1084','Higher High Water Large Tide',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1085','Indian Spring Low Water',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1086','Mean Lower Low Water Spring Tides',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1087','Mean Low Water Spring Tides',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1088','Mean High Water Spring Tides',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1089','Mean Lower Low Water',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1090','Mean Higher High Water',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1091','Mean Low Water',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1092','Mean High Water',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1093','Low Water',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1094','High Water',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1096','Norway Normal Null 2000',NULL,NULL,'EPSG','1352',0); INSERT INTO "vertical_datum" VALUES('EPSG','1097','Grand Cayman Vertical Datum 1954',NULL,NULL,'EPSG','3185',0); INSERT INTO "vertical_datum" VALUES('EPSG','1098','Little Cayman Vertical Datum 1961',NULL,NULL,'EPSG','4121',0); INSERT INTO "vertical_datum" VALUES('EPSG','1099','Cayman Brac Vertical Datum 1961',NULL,NULL,'EPSG','3207',0); INSERT INTO "vertical_datum" VALUES('EPSG','1101','Cais da Pontinha - Funchal',NULL,NULL,'EPSG','4125',0); INSERT INTO "vertical_datum" VALUES('EPSG','1102','Cais da Vila - Porto Santo',NULL,NULL,'EPSG','3680',0); INSERT INTO "vertical_datum" VALUES('EPSG','1103','Cais das Velas',NULL,NULL,'EPSG','2875',0); INSERT INTO "vertical_datum" VALUES('EPSG','1104','Horta',NULL,NULL,'EPSG','2873',0); INSERT INTO "vertical_datum" VALUES('EPSG','1105','Cais da Madalena',NULL,NULL,'EPSG','2874',0); INSERT INTO "vertical_datum" VALUES('EPSG','1106','Santa Cruz da Graciosa',NULL,NULL,'EPSG','3681',0); INSERT INTO "vertical_datum" VALUES('EPSG','1107','Cais da Figueirinha - Angra do Heroismo',NULL,NULL,'EPSG','2872',0); INSERT INTO "vertical_datum" VALUES('EPSG','1108','Santa Cruz das Flores',NULL,NULL,'EPSG','1344',0); INSERT INTO "vertical_datum" VALUES('EPSG','1109','Cais da Vila do Porto',NULL,NULL,'EPSG','4126',0); INSERT INTO "vertical_datum" VALUES('EPSG','1110','Ponta Delgada',NULL,NULL,'EPSG','2871',0); INSERT INTO "vertical_datum" VALUES('EPSG','1119','Northern Marianas Vertical Datum of 2003',NULL,NULL,'EPSG','4171',0); INSERT INTO "vertical_datum" VALUES('EPSG','1121','Tutuila Vertical Datum of 1962',NULL,NULL,'EPSG','2288',0); INSERT INTO "vertical_datum" VALUES('EPSG','1122','Guam Vertical Datum of 1963',NULL,NULL,'EPSG','3255',0); INSERT INTO "vertical_datum" VALUES('EPSG','1123','Puerto Rico Vertical Datum of 2002',NULL,NULL,'EPSG','3294',0); INSERT INTO "vertical_datum" VALUES('EPSG','1124','Virgin Islands Vertical Datum of 2009',NULL,NULL,'EPSG','3330',0); INSERT INTO "vertical_datum" VALUES('EPSG','1125','American Samoa Vertical Datum of 2002',NULL,NULL,'EPSG','2288',0); INSERT INTO "vertical_datum" VALUES('EPSG','1126','Guam Vertical Datum of 2004',NULL,NULL,'EPSG','3255',0); INSERT INTO "vertical_datum" VALUES('EPSG','1127','Canadian Geodetic Vertical Datum of 2013',NULL,NULL,'EPSG','1061',0); INSERT INTO "vertical_datum" VALUES('EPSG','1129','Japanese Standard Levelling Datum 1972',NULL,NULL,'EPSG','4168',0); INSERT INTO "vertical_datum" VALUES('EPSG','1130','Japanese Geodetic Datum 2000 (vertical)',NULL,NULL,'EPSG','3263',0); INSERT INTO "vertical_datum" VALUES('EPSG','1131','Japanese Geodetic Datum 2011 (vertical)',NULL,NULL,'EPSG','3263',0); INSERT INTO "vertical_datum" VALUES('EPSG','1140','Singapore Height Datum',NULL,NULL,'EPSG','1210',0); INSERT INTO "vertical_datum" VALUES('EPSG','1146','Ras Ghumays',NULL,NULL,'EPSG','4225',0); INSERT INTO "vertical_datum" VALUES('EPSG','1148','Famagusta 1960',NULL,NULL,'EPSG','3236',0); INSERT INTO "vertical_datum" VALUES('EPSG','1149','PNG08',NULL,NULL,'EPSG','4384',0); INSERT INTO "vertical_datum" VALUES('EPSG','1150','Kumul 34',NULL,NULL,'EPSG','4013',0); INSERT INTO "vertical_datum" VALUES('EPSG','1151','Kiunga',NULL,NULL,'EPSG','4383',0); INSERT INTO "vertical_datum" VALUES('EPSG','1161','Deutsches Haupthoehennetz 1912',NULL,NULL,'EPSG','3339',0); INSERT INTO "vertical_datum" VALUES('EPSG','1162','Latvian Height System 2000',NULL,NULL,'EPSG','3268',0); INSERT INTO "vertical_datum" VALUES('EPSG','1164','Ordnance Datum Newlyn (Offshore)',NULL,NULL,'EPSG','4391',0); INSERT INTO "vertical_datum" VALUES('EPSG','1169','New Zealand Vertical Datum 2016',NULL,NULL,'EPSG','1175',0); INSERT INTO "vertical_datum" VALUES('EPSG','1170','Deutsches Haupthoehennetz 2016',NULL,NULL,'EPSG','3339',0); INSERT INTO "vertical_datum" VALUES('EPSG','1171','Port Moresby 1996',NULL,NULL,'EPSG','4425',0); INSERT INTO "vertical_datum" VALUES('EPSG','1172','Port Moresby 2008',NULL,NULL,'EPSG','4425',0); INSERT INTO "vertical_datum" VALUES('EPSG','1175','Jamestown 1971',NULL,NULL,'EPSG','3183',0); INSERT INTO "vertical_datum" VALUES('EPSG','1176','St. Helena Tritan Vertical Datum 2011',NULL,NULL,'EPSG','3183',0); INSERT INTO "vertical_datum" VALUES('EPSG','1177','St. Helena Vertical Datum 2015',NULL,NULL,'EPSG','3183',0); INSERT INTO "vertical_datum" VALUES('EPSG','1190','Landshaedarkerfi Islands 2004',NULL,NULL,'EPSG','3262',0); INSERT INTO "vertical_datum" VALUES('EPSG','1199','Greenland Vertical Reference 2000',NULL,NULL,'EPSG','4461',0); INSERT INTO "vertical_datum" VALUES('EPSG','1200','Greenland Vertical Reference 2016',NULL,NULL,'EPSG','4454',0); INSERT INTO "vertical_datum" VALUES('EPSG','1202','Baltic 1957',NULL,NULL,'EPSG','1306',0); INSERT INTO "vertical_datum" VALUES('EPSG','1205','EPSG example wellbore vertical datum',NULL,NULL,'EPSG','4393',0); INSERT INTO "vertical_datum" VALUES('EPSG','1210','Macao Height Datum',NULL,NULL,'EPSG','1147',0); INSERT INTO "vertical_datum" VALUES('EPSG','1213','Helsinki 1943',NULL,NULL,'EPSG','4522',0); INSERT INTO "vertical_datum" VALUES('EPSG','1215','Slovenian Vertical System 2010',NULL,NULL,'EPSG','3307',0); INSERT INTO "vertical_datum" VALUES('EPSG','1216','Serbian Vertical Reference System 2012',NULL,NULL,'EPSG','3534',0); INSERT INTO "vertical_datum" VALUES('EPSG','1219','MOMRA Vertical Geodetic Control',NULL,NULL,'EPSG','3303',0); INSERT INTO "vertical_datum" VALUES('EPSG','5100','Mean Sea Level',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','5101','Ordnance Datum Newlyn',NULL,NULL,'EPSG','2792',0); INSERT INTO "vertical_datum" VALUES('EPSG','5102','National Geodetic Vertical Datum 1929',NULL,NULL,'EPSG','1323',0); INSERT INTO "vertical_datum" VALUES('EPSG','5103','North American Vertical Datum 1988',NULL,NULL,'EPSG','4161',0); INSERT INTO "vertical_datum" VALUES('EPSG','5104','Yellow Sea 1956',NULL,NULL,'EPSG','3228',0); INSERT INTO "vertical_datum" VALUES('EPSG','5105','Baltic 1977',NULL,NULL,'EPSG','2423',0); INSERT INTO "vertical_datum" VALUES('EPSG','5106','Caspian Sea',NULL,NULL,'EPSG','1291',0); INSERT INTO "vertical_datum" VALUES('EPSG','5107','Nivellement general de la France',NULL,NULL,'EPSG','1326',1); INSERT INTO "vertical_datum" VALUES('EPSG','5109','Normaal Amsterdams Peil',NULL,NULL,'EPSG','1275',0); INSERT INTO "vertical_datum" VALUES('EPSG','5110','Ostend',NULL,NULL,'EPSG','1347',0); INSERT INTO "vertical_datum" VALUES('EPSG','5111','Australian Height Datum',NULL,NULL,'EPSG','4493',0); INSERT INTO "vertical_datum" VALUES('EPSG','5112','Australian Height Datum (Tasmania)',NULL,NULL,'EPSG','2947',0); INSERT INTO "vertical_datum" VALUES('EPSG','5113','Instantaneous Water Level',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','5114','Canadian Geodetic Vertical Datum of 1928',NULL,NULL,'EPSG','1289',0); INSERT INTO "vertical_datum" VALUES('EPSG','5115','Piraeus Harbour 1986',NULL,NULL,'EPSG','3254',0); INSERT INTO "vertical_datum" VALUES('EPSG','5116','Helsinki 1960',NULL,NULL,'EPSG','3333',0); INSERT INTO "vertical_datum" VALUES('EPSG','5117','Rikets hojdsystem 1970',NULL,NULL,'EPSG','3313',0); INSERT INTO "vertical_datum" VALUES('EPSG','5118','Nivellement General de la France - Lallemand',NULL,NULL,'EPSG','1326',0); INSERT INTO "vertical_datum" VALUES('EPSG','5119','Nivellement General de la France - IGN69',NULL,NULL,'EPSG','1326',0); INSERT INTO "vertical_datum" VALUES('EPSG','5120','Nivellement General de la France - IGN78',NULL,NULL,'EPSG','1327',0); INSERT INTO "vertical_datum" VALUES('EPSG','5121','Maputo',NULL,NULL,'EPSG','3281',0); INSERT INTO "vertical_datum" VALUES('EPSG','5122','Japanese Standard Levelling Datum 1969',NULL,NULL,'EPSG','4166',0); INSERT INTO "vertical_datum" VALUES('EPSG','5123','PDO Height Datum 1993',NULL,NULL,'EPSG','3288',0); INSERT INTO "vertical_datum" VALUES('EPSG','5124','Fahud Height Datum',NULL,NULL,'EPSG','4009',0); INSERT INTO "vertical_datum" VALUES('EPSG','5125','Ha Tien 1960',NULL,NULL,'EPSG','1302',0); INSERT INTO "vertical_datum" VALUES('EPSG','5126','Hon Dau 1992',NULL,NULL,'EPSG','4015',0); INSERT INTO "vertical_datum" VALUES('EPSG','5127','Landesnivellement 1902',NULL,NULL,'EPSG','1286',0); INSERT INTO "vertical_datum" VALUES('EPSG','5128','Landeshohennetz 1995',NULL,NULL,'EPSG','1286',0); INSERT INTO "vertical_datum" VALUES('EPSG','5129','European Vertical Reference Frame 2000',NULL,NULL,'EPSG','1299',0); INSERT INTO "vertical_datum" VALUES('EPSG','5130','Malin Head',NULL,NULL,'EPSG','1305',0); INSERT INTO "vertical_datum" VALUES('EPSG','5131','Belfast Lough',NULL,NULL,'EPSG','2530',0); INSERT INTO "vertical_datum" VALUES('EPSG','5132','Dansk Normal Nul',NULL,NULL,'EPSG','3237',0); INSERT INTO "vertical_datum" VALUES('EPSG','5133','AIOC 1995',NULL,NULL,'EPSG','2592',0); INSERT INTO "vertical_datum" VALUES('EPSG','5134','Black Sea',NULL,NULL,'EPSG','3251',0); INSERT INTO "vertical_datum" VALUES('EPSG','5135','Hong Kong Principal Datum',NULL,NULL,'EPSG','3334',0); INSERT INTO "vertical_datum" VALUES('EPSG','5136','Hong Kong Chart Datum',NULL,NULL,'EPSG','3335',0); INSERT INTO "vertical_datum" VALUES('EPSG','5137','Yellow Sea 1985',NULL,NULL,'EPSG','3228',0); INSERT INTO "vertical_datum" VALUES('EPSG','5138','Ordnance Datum Newlyn (Orkney Isles)',NULL,NULL,'EPSG','2793',0); INSERT INTO "vertical_datum" VALUES('EPSG','5139','Fair Isle',NULL,NULL,'EPSG','2794',0); INSERT INTO "vertical_datum" VALUES('EPSG','5140','Lerwick',NULL,NULL,'EPSG','2795',0); INSERT INTO "vertical_datum" VALUES('EPSG','5141','Foula',NULL,NULL,'EPSG','2796',0); INSERT INTO "vertical_datum" VALUES('EPSG','5142','<NAME>',NULL,NULL,'EPSG','2797',0); INSERT INTO "vertical_datum" VALUES('EPSG','5143','North Rona',NULL,NULL,'EPSG','2798',0); INSERT INTO "vertical_datum" VALUES('EPSG','5144','Stornoway',NULL,NULL,'EPSG','2799',0); INSERT INTO "vertical_datum" VALUES('EPSG','5145','St Kilda',NULL,NULL,'EPSG','2800',0); INSERT INTO "vertical_datum" VALUES('EPSG','5146','Flannan Isles',NULL,NULL,'EPSG','2801',0); INSERT INTO "vertical_datum" VALUES('EPSG','5147','St Marys',NULL,NULL,'EPSG','2802',0); INSERT INTO "vertical_datum" VALUES('EPSG','5148','Douglas',NULL,NULL,'EPSG','2803',0); INSERT INTO "vertical_datum" VALUES('EPSG','5149','Fao',NULL,NULL,'EPSG','3390',0); INSERT INTO "vertical_datum" VALUES('EPSG','5150','Bandar Abbas',NULL,NULL,'EPSG','3336',0); INSERT INTO "vertical_datum" VALUES('EPSG','5151','Nivellement General de Nouvelle Caledonie',NULL,NULL,'EPSG','2822',0); INSERT INTO "vertical_datum" VALUES('EPSG','5152','Poolbeg',NULL,NULL,'EPSG','1305',0); INSERT INTO "vertical_datum" VALUES('EPSG','5153','Nivellement General Guyanais 1977',NULL,NULL,'EPSG','3146',0); INSERT INTO "vertical_datum" VALUES('EPSG','5154','Martinique 1987',NULL,NULL,'EPSG','3276',0); INSERT INTO "vertical_datum" VALUES('EPSG','5155','Guadeloupe 1988',NULL,NULL,'EPSG','2892',0); INSERT INTO "vertical_datum" VALUES('EPSG','5156','Reunion 1989',NULL,NULL,'EPSG','3337',0); INSERT INTO "vertical_datum" VALUES('EPSG','5157','Auckland 1946',NULL,NULL,'EPSG','3764',0); INSERT INTO "vertical_datum" VALUES('EPSG','5158','Bluff 1955',NULL,NULL,'EPSG','3801',0); INSERT INTO "vertical_datum" VALUES('EPSG','5159','Dunedin 1958',NULL,NULL,'EPSG','3803',0); INSERT INTO "vertical_datum" VALUES('EPSG','5160','Gisborne 1926',NULL,NULL,'EPSG','3771',0); INSERT INTO "vertical_datum" VALUES('EPSG','5161','Lyttelton 1937',NULL,NULL,'EPSG','3804',0); INSERT INTO "vertical_datum" VALUES('EPSG','5162','Moturiki 1953',NULL,NULL,'EPSG','3768',0); INSERT INTO "vertical_datum" VALUES('EPSG','5163','Napier 1962',NULL,NULL,'EPSG','3772',0); INSERT INTO "vertical_datum" VALUES('EPSG','5164','Nelson 1955',NULL,NULL,'EPSG','3802',0); INSERT INTO "vertical_datum" VALUES('EPSG','5165','One Tree Point 1964',NULL,NULL,'EPSG','3762',0); INSERT INTO "vertical_datum" VALUES('EPSG','5166','Tararu 1952',NULL,NULL,'EPSG','3818',0); INSERT INTO "vertical_datum" VALUES('EPSG','5167','Taranaki 1970',NULL,NULL,'EPSG','3769',0); INSERT INTO "vertical_datum" VALUES('EPSG','5168','Wellington 1953',NULL,NULL,'EPSG','3773',0); INSERT INTO "vertical_datum" VALUES('EPSG','5169','Waitangi (Chatham Island) 1959',NULL,NULL,'EPSG','3894',0); INSERT INTO "vertical_datum" VALUES('EPSG','5170','Stewart Island 1977',NULL,NULL,'EPSG','3338',0); INSERT INTO "vertical_datum" VALUES('EPSG','5171','EGM96 geoid',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','5172','Nivellement General du Luxembourg',NULL,NULL,'EPSG','1146',0); INSERT INTO "vertical_datum" VALUES('EPSG','5173','Antalya',NULL,NULL,'EPSG','3322',0); INSERT INTO "vertical_datum" VALUES('EPSG','5174','Norway Normal Null 1954',NULL,NULL,'EPSG','1352',0); INSERT INTO "vertical_datum" VALUES('EPSG','5175','Durres',NULL,NULL,'EPSG','3212',0); INSERT INTO "vertical_datum" VALUES('EPSG','5176','Gebrauchshohen ADRIA',NULL,NULL,'EPSG','1037',0); INSERT INTO "vertical_datum" VALUES('EPSG','5177','Slovenian Vertical System 2000',NULL,NULL,'EPSG','3307',0); INSERT INTO "vertical_datum" VALUES('EPSG','5178','Cascais',NULL,NULL,'EPSG','1294',0); INSERT INTO "vertical_datum" VALUES('EPSG','5179','Constanta',NULL,NULL,'EPSG','3295',0); INSERT INTO "vertical_datum" VALUES('EPSG','5180','Alicante',NULL,NULL,'EPSG','4188',0); INSERT INTO "vertical_datum" VALUES('EPSG','5181','Deutsches Haupthoehennetz 1992',NULL,NULL,'EPSG','3339',0); INSERT INTO "vertical_datum" VALUES('EPSG','5182','Deutsches Haupthoehennetz 1985',NULL,NULL,'EPSG','2326',0); INSERT INTO "vertical_datum" VALUES('EPSG','5183','Staatlichen Nivellementnetzes 1976',NULL,NULL,'EPSG','1343',0); INSERT INTO "vertical_datum" VALUES('EPSG','5184','Baltic 1982',NULL,NULL,'EPSG','3224',0); INSERT INTO "vertical_datum" VALUES('EPSG','5185','Baltic 1980',NULL,NULL,'EPSG','1119',0); INSERT INTO "vertical_datum" VALUES('EPSG','5186','Kuwait PWD',NULL,NULL,'EPSG','3267',0); INSERT INTO "vertical_datum" VALUES('EPSG','5187','KOC Well Datum',NULL,NULL,'EPSG','3267',0); INSERT INTO "vertical_datum" VALUES('EPSG','5188','KOC Construction Datum',NULL,NULL,'EPSG','3267',0); INSERT INTO "vertical_datum" VALUES('EPSG','5189','Nivellement General de la Corse 1948',NULL,NULL,'EPSG','1327',0); INSERT INTO "vertical_datum" VALUES('EPSG','5190','Danger 1950',NULL,NULL,'EPSG','3299',0); INSERT INTO "vertical_datum" VALUES('EPSG','5191','Mayotte 1950',NULL,NULL,'EPSG','3340',0); INSERT INTO "vertical_datum" VALUES('EPSG','5192','Martinique 1955',NULL,NULL,'EPSG','3276',0); INSERT INTO "vertical_datum" VALUES('EPSG','5193','Guadeloupe 1951',NULL,NULL,'EPSG','2892',0); INSERT INTO "vertical_datum" VALUES('EPSG','5194','Lagos 1955',NULL,NULL,'EPSG','3287',0); INSERT INTO "vertical_datum" VALUES('EPSG','5195','Nivellement General de Polynesie Francaise',NULL,NULL,'EPSG','3134',0); INSERT INTO "vertical_datum" VALUES('EPSG','5196','IGN 1966',NULL,NULL,'EPSG','3124',0); INSERT INTO "vertical_datum" VALUES('EPSG','5197','Moorea SAU 1981',NULL,NULL,'EPSG','3125',0); INSERT INTO "vertical_datum" VALUES('EPSG','5198','Raiatea SAU 2001',NULL,NULL,'EPSG','3136',0); INSERT INTO "vertical_datum" VALUES('EPSG','5199','Maupiti SAU 2001',NULL,NULL,'EPSG','3126',0); INSERT INTO "vertical_datum" VALUES('EPSG','5200','Huahine SAU 2001',NULL,NULL,'EPSG','3135',0); INSERT INTO "vertical_datum" VALUES('EPSG','5201','Tahaa SAU 2001',NULL,NULL,'EPSG','3138',0); INSERT INTO "vertical_datum" VALUES('EPSG','5202','Bora Bora SAU 2001',NULL,NULL,'EPSG','3137',0); INSERT INTO "vertical_datum" VALUES('EPSG','5203','EGM84 geoid',NULL,NULL,'EPSG','1262',0); INSERT INTO "vertical_datum" VALUES('EPSG','5204','International Great Lakes Datum 1955',NULL,NULL,'EPSG','3468',0); INSERT INTO "vertical_datum" VALUES('EPSG','5205','International Great Lakes Datum 1985',NULL,NULL,'EPSG','3468',0); INSERT INTO "vertical_datum" VALUES('EPSG','5206','Dansk Vertikal Reference 1990',NULL,NULL,'EPSG','3237',0); INSERT INTO "vertical_datum" VALUES('EPSG','5207','Croatian Vertical Reference System 1971',NULL,NULL,'EPSG','3234',0); INSERT INTO "vertical_datum" VALUES('EPSG','5208','Rikets hojdsystem 2000',NULL,NULL,'EPSG','3313',0); INSERT INTO "vertical_datum" VALUES('EPSG','5209','Rikets hojdsystem 1900',NULL,NULL,'EPSG','3313',0); INSERT INTO "vertical_datum" VALUES('EPSG','5210','IGN 1988 LS',NULL,NULL,'EPSG','2895',0); INSERT INTO "vertical_datum" VALUES('EPSG','5211','IGN 1988 MG',NULL,NULL,'EPSG','2894',0); INSERT INTO "vertical_datum" VALUES('EPSG','5212','IGN 1992 LD',NULL,NULL,'EPSG','2893',0); INSERT INTO "vertical_datum" VALUES('EPSG','5213','IGN 1988 SB',NULL,NULL,'EPSG','2891',0); INSERT INTO "vertical_datum" VALUES('EPSG','5214','IGN 1988 SM',NULL,NULL,'EPSG','2890',0); INSERT INTO "vertical_datum" VALUES('EPSG','5215','European Vertical Reference Frame 2007',NULL,NULL,'EPSG','3594',0);
COPY temp ({}) FROM STDIN WITH CSV HEADER; WITH temp AS ( SELECT DISTINCT ON (temp.start_date, temp.trip, temp.stop) * FROM temp WHERE temp.header_timestamp <= temp.arrival OR temp.header_timestamp <= temp.departure ORDER BY temp.start_date, temp.trip, temp.stop, temp.stop_number, temp.header_timestamp DESC ) , staging AS ( SELECT t.id AS timestamp_id, temp.{header_timestamp_id}, temp.updateid, tr.id AS trip_id, temp.trip AS {trip_id}, r.id AS route_id, s.id AS stop_id, cs.id AS current_stop_id, temp.stop_number, d.id AS start_date_id, temp.{start_date_id}, temp.arrival, temp.departure FROM temp LEFT JOIN mta2014_timestamp t ON temp.header_timestamp = t.timestamp LEFT JOIN mta2014_tripname tr ON temp.trip = tr.trip_name LEFT JOIN mta2014_routeinfo r ON temp.route = r.route_id LEFT JOIN mta2014_stops s ON temp.stop = s.stop_id LEFT JOIN mta2014_stops cs ON temp.current_stop = cs.stop_id LEFT JOIN mta2014_date d ON temp.start_date = d.date ) , ins_timestamp AS ( INSERT INTO mta2014_timestamp(timestamp) SELECT DISTINCT {header_timestamp_id} FROM staging WHERE timestamp_id IS NULL RETURNING id AS timestamp_id, timestamp ) , ins_tripname AS ( INSERT INTO mta2014_tripname(trip_name) SELECT DISTINCT {trip_id} FROM staging WHERE trip_id IS NULL RETURNING id AS trip_id, trip_name ) , ins_date AS ( INSERT INTO mta2014_date(date) SELECT DISTINCT {start_date_id} FROM staging WHERE start_date_id IS NULL RETURNING id AS start_date_id, date ) INSERT INTO {} ({}) SELECT COALESCE(staging.timestamp_id, t.timestamp_id), staging.updateid, COALESCE(staging.trip_id, tr.trip_id), staging.route_id, staging.stop_id, staging.current_stop_id, staging.stop_number, COALESCE(staging.start_date_id, d.start_date_id), staging.arrival, staging.departure FROM staging LEFT JOIN ins_timestamp t ON staging.header_timestamp = t.timestamp LEFT JOIN ins_tripname tr ON staging.trip = tr.trip_name LEFT JOIN ins_date d ON staging.start_date = d.date ON CONFLICT (start_date_id, trip_id, stop_id) DO UPDATE SET header_timestamp_id = excluded.header_timestamp_id, updateid = excluded.updateid, route_id = excluded.route_id, current_stop_id = excluded.current_stop_id, stop_number = excluded.stop_number, arrival = excluded.arrival, departure = excluded.departure ;
-- :name upsert-custom-map :! :n -- :doc Upsert a custom map INSERT INTO custom_map( analysis_id, file_name, file_url ) VALUES ( :analysis-id, :file-name, :file-url ) ON DUPLICATE KEY UPDATE file_name = IF(:file-name IS NOT NULL, :file-name, file_name), file_url = IF(:file-url IS NOT NULL, :file-url, file_url) -- :name delete-custom-map :! :n -- :doc Delete an custom map by analysis-id DELETE FROM custom_map WHERE analysis_id = :analysis-id -- :name get-custom-map :? :1 -- :doc Return a custom map by id SELECT analysis_id, file_name, file_url FROM custom_map WHERE analysis_id = :analysis-id
select OWNER, TABLE_NAME from ( select OWNER, TABLE_NAME from dba_tables minus select TABLE_OWNER, TABLE_NAME from dba_indexes ) orasnap_noindex where OWNER not in ('SYS','SYSTEM','WKSYS','XDB','WMSYS','MDSYS','WK_TEST', 'OLAPSYS','DBSNMP','DISCADMSP1','D4OSYS','EXFSYS','CTXSYS','DMSYS') order by OWNER,TABLE_NAME
CREATE VIEW vwUsers AS SELECT p.nIdPersona as eIdPer,r.nIdRPT as eIdUsr, p.txtNombre as nombre, p.txtApellidos as apellidos, p.txtRFC as RFC, t.nIdTipoP as eTipo, t.txtTipo tipo FROM relusuario r inner join catpersonas p ON r.fk_eIdPersona = p.nIdPersona INNER JOIN cattipopersona t ON r.fk_eIdTipoP = t.nIdTipoP ALTER ALGORITHM = UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vwusers` AS select `p`.`nIdPersona` AS `eIdPer`,`r`.`nIdRPT` AS `eIdUsr`, `p`.`txtNombre` AS `nombre`,`p`.`txtApellidos` AS `apellidos`, `p`.`txtRFC` AS `RFC`,`t`.`nIdTipoP` AS `eTipo`,`t`. `txtTipo` AS `tipo`, r.txtNombreCorto as usr from ((`articulos`.`relusuario` `r` join `articulos`.`catpersonas` `p` on(`r`.`fk_eIdPersona` = `p`.`nIdPersona`)) join `articulos`.`cattipopersona` `t` on(`r`.`fk_eIdTipoP` = `t`.`nIdTipoP`))
CREATE PROCEDURE [dbo].[dnn_GetSkinControl] @SkinControlID int AS SELECT * FROM dbo.dnn_SkinControls WHERE SkinControlID = @SkinControlID