sql
stringlengths
6
1.05M
<reponame>muntaza/Open_Persediaan DROP VIEW IF EXISTS view_beban_barang4_batumandi; CREATE VIEW view_beban_barang4_batumandi AS SELECT *, beban * harga AS jumlah_harga FROM view_beban_barang3_batumandi WHERE 1 = 1 AND beban > 0 AND id_skpd = 32; GRANT ALL PRIVILEGES ON view_beban_barang4_batumandi TO lap_batumandi; REVOKE INSERT, UPDATE, DELETE ON view_beban_barang4_batumandi FROM lap_batumandi;
use olas; ALTER TABLE `subject_paper` ADD `subp_subtype` VARCHAR(255) NOT NULL AFTER `subp_sub_id`, ADD `subp_paperno` VARCHAR(50) NOT NULL AFTER `subp_subtype`; ALTER TABLE `subject_paper` ADD `subp_degree` VARCHAR(20) NOT NULL AFTER `subp_desp`, ADD `subp_acadyear` VARCHAR(20) NOT NULL AFTER `subp_degree`; ALTER TABLE `subject_paper` ADD `creatorid` VARCHAR(255) NOT NULL AFTER `subp_ext2`, ADD `createdate` VARCHAR(255) NOT NULL AFTER `creatorid`, ADD `modifierid` VARCHAR(255) NOT NULL AFTER `createdate`, ADD `modifydate` VARCHAR(255) NOT NULL AFTER `modifierid`;
<reponame>TTGS/IT_script CREATE or replace FUNCTION xml_split_mul( str xml ,begin_xml_node text default null ,end_xml_node text default null ) RETURNS text[] AS $$ DECLARE --char count p_xml text:=str::text; xn_begin text:=begin_xml_node; xn_end text:=end_xml_node ; arr_save text[]:=null; begin -- 检查部分 -- 帮助 if position('<' in xn_begin)=0 or position('>' in xn_begin)=0 or position('</' in xn_end)=0 or position('>' in xn_end)=0 then select string_to_array('select xml_split_mul(''<T>1</T><d>2</d><T>3</T>'',''<T>'' );' ,'' ) into arr_save ; RAISE INFO 'EX. select xml_split_mul(''<T>1</T><d>2</d><T>3</T>'',''<T>'' );' ; RETURN arr_save ; end if ; -- 防止结束内容为空; if xn_begin is not null and xn_end is null then xn_end :=replace(xn_begin,'<','</'); elsif xn_begin is null and xn_end is not null then xn_begin :=replace(xn_end,'</','<'); end if ; -- 先使用string_to_array将内容转成array,然后用unnest变成表, -- where筛选得到要得行。在显示的id列上,去定位xml的开始节点名 -- 然后截取出来开始节点名+内容,用replace替换掉xml开始节点名 -- 使用array_agg对内容进行合并,出来的是数组 select array_agg( replace( substring( id from position( xn_begin in id ) ) ,xn_begin,'') ) into arr_save from unnest(string_to_array(p_xml,xn_end) ) as tmp_tab(id) where id like '%'||xn_begin||'%'; -- 字符输出内容。 RAISE NOTICE 'arr_save:%',arr_save; -- 输出arr_save RETURN arr_save ; exception WHEN others THEN RAISE NOTICE '==========caught EXCEPTION start(%)==========',now() ; RAISE NOTICE 'enter xml text(str):%',str ; RAISE NOTICE 'enter xml start node name(begin_xml_node):%',begin_xml_node ; RAISE NOTICE 'enter xml end node name(end_xml_node):%',end_xml_node ; RAISE NOTICE 'xml text(p_xml):%',p_xml ; RAISE NOTICE 'xml start node(xn_begin):%',xn_begin ; RAISE NOTICE 'xml end node(xn_end):%',xn_end ; RAISE NOTICE 'xml node save arry text(arr_save):%',arr_save ; RAISE NOTICE 'ex. select xml_split_mul(''<T>1</T><d>2</d><T>3</T>'',''<T>'' );'; RAISE NOTICE '==========caught EXCEPTION end ===============' ; RETURN '!!!EXCEPTION!!!'; END; $$ LANGUAGE plpgsql;
<filename>src/create_table_logs.sql CREATE TABLE `logs` ( `id` VARCHAR(255) NOT NULL, `timestamp` VARCHAR(32) NOT NULL, `level` VARCHAR(32) NOT NULL, `priority` INT(11) NOT NULL, `lifecycle_token` VARCHAR(32) NOT NULL, `parent_lifecycle_token` VARCHAR(32) NULL DEFAULT NULL, `message` TEXT NOT NULL, `context` TEXT NOT NULL, PRIMARY KEY (`id`), INDEX `parent_lifecycle_token` (`parent_lifecycle_token`), INDEX `lifecycle_token` (`lifecycle_token`) ) COLLATE ='utf8_general_ci' ENGINE=InnoDB;
--create range partition table with int data type,insert data to this table and select data in where clause with function 'mod','char_length', and extract create class range_test (id int, test_int int, test_char char(10)) partition by range(test_int) ( partition p0 values less than (10), partition p1 values less than (20), partition p2 values less than maxvalue); insert into range_test values(0,-1,'-1'); insert into range_test values(1,1,'1'); insert into range_test values(2,2,'2'); insert into range_test values(3,11,'11'); insert into range_test values(4,12,'12'); insert into range_test values(5,21,'21'); insert into range_test values(6,22,'22'); insert into range_test values(7,2007,'2007'); insert into range_test values(8,4,'4'); insert into range_test values(9,5,'5'); insert into range_test values(10,16,'16'); select * from range_test where test_int = mod(4,3) order by 1; select * from range_test where test_int = mod(34,23) order by 1; select * from range_test where test_int = char_length('aaaaaaaaaaa') order by 1; select * from range_test where test_int = extract( year from date '2007-04-05') order by 1; drop class range_test;
HDF5 "tslink.h5" { SOFTLINK "slink2" { LINKTARGET "linkvalue" } }
DROP TABLE IF EXISTS `Exploration`;
INSERT INTO history ( from_title, description, amount, "date" ) VALUES ($1,$2,$3,$4) ;
Create table usuarios ( ID Int UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT, login Varchar(30), senha Varchar(40), empresa Varchar(40), cnpj Varchar(40), ramo Varchar(40), solicitante Varchar(40), telefone Varchar(40), email Varchar(40), endereco Varchar(40), bairro Varchar(40), cidade Varchar(40), ref Varchar(40), Primary Key (ID)) ENGINE = MyISAM;
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jul 13, 2021 at 05:52 AM -- Server version: 10.4.17-MariaDB -- PHP Version: 7.2.34 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `rental` -- -- -------------------------------------------------------- -- -- Table structure for table `admin` -- CREATE TABLE `admin` ( `id_admin` int(11) NOT NULL, `nama_admin` varchar(128) NOT NULL, `username` varchar(128) NOT NULL, `password` varchar(128) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `customer` -- CREATE TABLE `customer` ( `id_customer` int(11) NOT NULL, `nama` varchar(128) NOT NULL, `username` varchar(128) NOT NULL, `department` varchar(128) NOT NULL, `jantina` varchar(128) NOT NULL, `no_tel` varchar(128) NOT NULL, `no_ic` varchar(128) NOT NULL, `password` varchar(128) NOT NULL, `role_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `customer` -- INSERT INTO `customer` (`id_customer`, `nama`, `username`, `department`, `jantina`, `no_tel`, `no_ic`, `password`, `role_id`) VALUES (8, '<NAME>', 'admin', '14', '1', '555', '4444', '21232f297a57a5a743894a0e<PASSWORD>', 1), (9, 'MUHAMMAD', 'user', '13', '1', '555', '4444', 'ee11cbb19052e40b07aac0ca060c23ee', 2), (12, '<NAME>', 'linda', '12', '2', '0387352400', '760116085694', '0192023a7bbd73250516f069df18b500', 1), (13, '<NAME>', 'zulkifle', '12', '1', '87352400', '790429025657', '0192023a7bbd73250516f069df18b500', 1), (14, '<NAME>', 'nizam', '12', '1', '87352400', '810123095017', '0192023a7bbd73250516f069df18b500', 1), (15, '<NAME>', 'redzuan', '12', '1', '0387352400', '850622045491', '0192023a7bbd73250516f069df18b500', 1), (16, '<NAME>', 'raop', '12', '1', '0387352400', '680108086275', '0192023a7bbd73250516f069df18b500', 1), (17, '<NAME>', 'azley', '17', '1', '387352400', '800928105383', '6ad14ba9986e3615423dfca256d04e3f', 2), (18, '<NAME>', 'norshamira', '9', '2', '387352400', '871018055506', '6ad14ba9986e3615423dfca256d04e3f', 2), (19, '<NAME>', 'ariffin', '7', '1', '387352400', '631201125573', '6ad14ba9986e3615423dfca256d04e3f', 2), (20, '<NAME> @ SAMSUL', 'arnie_j', '9', '2', '387352400', '810315126084', '6ad14ba9986e3615423dfca256d04e3f', 2), (21, '<NAME>', 'khairul', '9', '1', '387352400', '830817025177', '6ad14ba9986e3615423dfca256d04e3f', 2), (22, '<NAME>', 'zailani', '9', '1', '387352400', '720920086691', '6ad14ba9986e3615423dfca256d04e3f', 2), (23, '<NAME>', 'rafizal', '9', '1', '387352400', '770323025941', '6ad14ba9986e3615423dfca256d04e3f', 2), (24, '<NAME> @ ABD. ZAMAN', 'azhar_zaman', '9', '1', '387352400', '750222055297', '6ad14ba9986e3615423dfca256d04e3f', 2), (25, '<NAME>', 'khairilimran', '9', '1', '387352400', '760702105889', '6ad14ba9986e3615423dfca256d04e3f', 2), (26, '<NAME>', 'zarimi', '9', '1', '387352400', '830415045255', '6ad14ba9986e3615423dfca256d04e3f', 2), (27, '<NAME>', 'rosman', '9', '1', '387352400', '671127045327', 'd781eaae8248db6ce1a7b82e58e60435', 2), (28, '<NAME>', 'hairil', '9', '1', '387352400', '850713065279', '6ad14ba9986e3615423dfca256d04e3f', 2), (29, '<NAME>', 'shahrul', '9', '1', '387352400', '840826045603', '6ad14ba9986e3615423dfca256d04e3f', 2), (30, '<NAME>', 'emmy', '9', '2', '387352400', '820202105438', '6ad14ba9986e3615423dfca256d04e3f', 2), (31, '<NAME>', 'noraziah', '9', '2', '387352400', '830917086604', '6ad14ba9986e3615423dfca256d04e3f', 2), (32, '<NAME>', 'amira', '9', '2', '387352400', '880108035044', '6ad14ba9986e3615423dfca256d04e3f', 2), (33, '<NAME>', 'safinah', '9', '2', '387352400', '811023035804', '6ad14ba9986e3615423dfca256d04e3f', 2), (34, '<NAME>', 'izzah', '9', '2', '387352400', '870831026076', '6ad14ba9986e3615423dfca256d04e3f', 2), (35, '<NAME>', 'm_redza', '9', '1', '387352400', '810803015965', '6ad14ba9986e3615423dfca256d04e3f', 2), (36, '<NAME>', 'huda', '9', '2', '387352400', '801007085714', '6ad14ba9986e3615423dfca256d04e3f', 2), (37, '<NAME>', 'suhaimi', '9', '1', '387352400', '810409115263', '6ad14ba9986e3615423dfca256d04e3f', 2), (38, '<NAME>', 'kartikah', '9', '2', '387352400', '851025086468', '6ad14ba9986e3615423dfca256d04e3f', 2), (39, '<NAME>', 'zas', '3', '1', '387352400', '621217108453', '6ad14ba9986e3615423dfca256d04e3f', 2), (40, '<NAME>', 'anis', '3', '2', '387352400', '750309026130', '6ad14ba9986e3615423dfca256d04e3f', 2), (41, '<NAME>', 'wanzaleha', '3', '2', '387352400', '771008115298', '6ad14ba9986e3615423dfca256d04e3f', 2), (42, '<NAME>', 'amin', '3', '1', '387352400', '860210265243', '6ad14ba9986e3615423dfca256d04e3f', 2), (43, '<NAME>', 'anwar', '3', '1', '387352400', '840122025129', '6ad14ba9986e3615423dfca256d04e3f', 2), (44, '<NAME>', 'rozaini', '3', '2', '387352400', '660726055486', '6ad14ba9986e3615423dfca256d04e3f', 2), (45, '<NAME>', 'farah', '3', '2', '387352400', '810518086166', '6ad14ba9986e3615423dfca256d04e3f', 2), (46, '<NAME>', 'zurita', '3', '2', '387352400', '701103075868', '6ad14ba9986e3615423dfca256d04e3f', 2), (47, '<NAME>', 'nang', '3', '2', '387352400', '750506025102', '6ad14ba9986e3615423dfca256d04e3f', 2), (48, '<NAME>', 'normah', '3', '2', '387352400', '860111035282', '6ad14ba9986e3615423dfca256d04e3f', 2), (49, '<NAME>', 'norizanhussain', '3', '2', '387352400', '650418075398', '6ad14ba9986e3615423dfca256d04e3f', 2), (50, '<NAME>', 'wahidah', '3', '2', '387352400', '830314045088', '6ad14ba9986e3615423dfca256d04e3f', 2), (51, '<NAME>', 'azlinawati', '3', '2', '387352400', '801225035854', '6ad14ba9986e3615423dfca256d04e3f', 2), (52, '<NAME>', 'muzafar', '3', '1', '387352400', '760711026381', '6ad14ba9986e3615423dfca256d04e3f', 2), (53, '<NAME>', 'norhazlina', '3', '2', '387352400', '820420065032', '6ad14ba9986e3615423dfca256d04e3f', 2), (54, '<NAME>', 'shahaimi', '34', '1', '387352400', '760101115395', '6ad14ba9986e3615423dfca256d04e3f', 2), (55, '<NAME>', 'najlaa', '9', '2', '387352400', '891216145076', '6ad14ba9986e3615423dfca256d04e3f', 2), (56, '<NAME>', 'hafiza', '3', '2', '387352400', '721105055340', '6ad14ba9986e3615423dfca256d04e3f', 2), (57, '<NAME>', 'ismadi', '9', '1', '387352400', '760706086355', '6ad14ba9986e3615423dfca256d04e3f', 2), (58, '<NAME>', 'aslina', '3', '2', '387352400', '810322045274', '6ad14ba9986e3615423dfca256d04e3f', 2), (59, '<NAME> @ OMAR', 'fadzilah', '9', '2', '387352400', '750424086454', '6ad14ba9986e3615423dfca256d04e3f', 2), (60, '<NAME>', 'zulfadli', '3', '1', '387352400', '820203115355', '6ad14ba9986e3615423dfca256d04e3f', 2), (61, '<NAME>', 'hafizah', '9', '2', '387352400', '810306075326', '6ad14ba9986e3615423dfca256d04e3f', 2), (62, '<NAME>', 'rafeah', '34', '2', '387352400', '760327015434', '6ad14ba9986e3615423dfca256d04e3f', 2), (63, '<NAME>', 'amir', '3', '1', '387352400', '670201085067', '6ad14ba9986e3615423dfca256d04e3f', 2), (64, '<NAME>', 'salwa', '9', '2', '387352400', '860605295930', '6ad14ba9986e3615423dfca256d04e3f', 2), (65, '<NAME>', 'zulfarihah', '9', '2', '387352400', '790514045388', '6ad14ba9986e3615423dfca256d04e3f', 2), (66, '<NAME>', 'akhmar', '3', '2', '387352400', '860103065000', '6ad14ba9986e3615423dfca256d04e3f', 2), (67, '<NAME>', 'mohd_ariffin', '3', '1', '387352400', '810905105099', '6ad14ba9986e3615423dfca256d04e3f', 2), (68, '<NAME>', 'siti', '13', '2', '387352400', '670901015190', '6ad14ba9986e3615423dfca256d04e3f', 2), (69, '<NAME>', 'bashir', '3', '1', '87352400', '930213125861', '6ad14ba9986e3615423dfca256d04e3f', 2), (70, '<NAME>', 'mh_amin', '3', '1', '387352400', '800108025409', '6ad14ba9986e3615423dfca256d04e3f', 2), (71, '<NAME>', 'fadhil', '6', '1', '387352400', '920821035043', '6ad14ba9986e3615423dfca256d04e3f', 2), (72, '<NAME>', 'raja_noorazmi', '9', '1', '387352400', '840413015625', '6ad14ba9986e3615423dfca256d04e3f', 2), (73, '<NAME>', 'farid', '9', '1', '387352400', '720430135235', '6ad14ba9986e3615423dfca256d04e3f', 2), (74, '<NAME>', 'faridah', '4', '2', '387352400', '750216035054', '6ad14ba9986e3615423dfca256d04e3f', 2), (75, '<NAME>', 'nor_izzatul', '9', '2', '387352400', '860125055006', '6ad14ba9986e3615423dfca256d04e3f', 2), (76, '<NAME> @ <NAME>', 'noraina', '2', '2', '387352400', '741125085326', '6ad14ba9986e3615423dfca256d04e3f', 2), (77, '<NAME>', 'norfizah', '9', '2', '387352400', '770605055532', '6ad14ba9986e3615423dfca256d04e3f', 2), (78, '<NAME>', 'riza', '3', '2', '387352400', '750315135982', '6ad14ba9986e3615423dfca256d04e3f', 2), (79, '<NAME>', 'm_anis', '6', '1', '387352400', '810616085319', '6ad14ba9986e3615423dfca256d04e3f', 2), (80, '<NAME>', 'zuraida', '3', '2', '0387352400', '790825025720', '6ad14ba9986e3615423dfca256d04e3f', 2), (81, '<NAME>', 'salwanie', '2', '2', '387352400', '891209115354', '6ad14ba9986e3615423dfca256d04e3f', 2), (82, '<NAME>', 'rahim', '3', '1', '387352400', '710807085655', '6ad14ba9986e3615423dfca256d04e3f', 2), (83, '<NAME>', 'asmah', '6', '2', '387352400', '80032310598', '6ad14ba9986e3615423dfca256d04e3f', 2), (84, '<NAME>', 'harlina', '6', '2', '387352400', '760108105114', '6ad14ba9986e3615423dfca256d04e3f', 2), (85, '<NAME>', 'siti_noor', '6', '2', '387352400', '800111015762', '6ad14ba9986e3615423dfca256d04e3f', 2), (86, '<NAME>', 'zakiah.ahmad', '9', '2', '387352400', '820506105576', '6ad14ba9986e3615423dfca256d04e3f', 2), (87, '<NAME>', 'nurthahirah', '3', '2', '387352400', '900319065468', '6ad14ba9986e3615423dfca256d04e3f', 2), (88, '<NAME>', 'salmiah', '6', '2', '387352400', '680725065146', '6ad14ba9986e3615423dfca256d04e3f', 2), (89, '<NAME>', 'farehan', '9', '2', '387352400', '820222105224', '6ad14ba9986e3615423dfca256d04e3f', 2), (90, '<NAME>', 'haizatzulkifli', '9', '1', '387352400', '781215086003', '6ad14ba9986e3615423dfca256d04e3f', 2), (91, '<NAME>', 'noraishah', '9', '2', '387352400', '931201085174', '6ad14ba9986e3615423dfca256d04e3f', 2), (92, '<NAME>', 'noorizaty', '34', '2', '387352400', '940202065700', '6ad14ba9986e3615423dfca256d04e3f', 2), (93, '<NAME>', 'nordin', '3', '1', '387352400', '760405035503', '6ad14ba9986e3615423dfca256d04e3f', 2), (94, '<NAME>', 'jamilah', '13', '2', '387352400', '760723035664', '6ad14ba9986e3615423dfca256d04e3f', 0), (95, '<NAME>', 'hussin', '3', '1', '387352400', '730716115327', '6ad14ba9986e3615423dfca256d04e3f', 2), (96, '<NAME> BIN KADER SH<NAME>', 'bathusha', '9', '1', '387352400', '810426075777', '6ad14ba9986e3615423dfca256d04e3f', 2), (97, 'MOHD HAFIZ BIN MOHD ISA', 'hafiz', '34', '1', '387352400', '850104045141', '6ad14ba9986e3615423dfca256d04e3f', 2), (98, '<NAME>', 'azmir', '1', '1', '387352400', '680903106327', '6ad14ba9986e3615423dfca256d04e3f', 2), (99, '<NAME>', 'zahilla', '1', '2', '387352400', '850330105042', '6ad14ba9986e3615423dfca256d04e3f', 2), (100, '<NAME>', 'kamarul', '3', '1', '387352400', '780628105773', '6ad14ba9986e3615423dfca256d04e3f', 2), (101, '<NAME>', 'suraya', '1', '2', '387352400', '630604085188', '6ad14ba9986e3615423dfca256d04e3f', 2), (102, '<NAME>', 'nor_hafiza', '3', '2', '387352400', '860623295694', '6ad14ba9986e3615423dfca256d04e3f', 0), (103, '<NAME>', 'faridhusin', '3', '1', '387352400', '830518145195', '6ad14ba9986e3615423dfca256d04e3f', 2); -- -------------------------------------------------------- -- -- Table structure for table `department` -- CREATE TABLE `department` ( `id_department` int(11) NOT NULL, `parent_id` int(11) DEFAULT NULL, `dept_code` varchar(20) NOT NULL, `nama_department` varchar(100) DEFAULT NULL, `nama_e` varchar(100) DEFAULT NULL, `faks` varchar(20) DEFAULT NULL, `ForUn` varchar(4) DEFAULT NULL, `srt` int(2) UNSIGNED DEFAULT NULL, `krss` varchar(1) DEFAULT 'N', `cwg` varchar(2) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `department` -- INSERT INTO `department` (`id_department`, `parent_id`, `dept_code`, `nama_department`, `nama_e`, `faks`, `ForUn`, `srt`, `krss`, `cwg`) VALUES (1, NULL, '1', 'Institut Kemajuan Desa', NULL, NULL, NULL, NULL, 'N', NULL), (2, NULL, '110', 'Pejabat Pengarah', NULL, NULL, NULL, NULL, 'N', NULL), (3, NULL, '120', 'Sektor Latihan', NULL, NULL, NULL, NULL, 'N', NULL), (4, NULL, '1200', 'Timbalan Pengarah Latihan', NULL, NULL, NULL, NULL, 'N', NULL), (5, NULL, '1201', 'Bhg. Pengurusan Desa & Keusahawanan', NULL, NULL, NULL, NULL, 'N', NULL), (6, NULL, '1202', 'Bahagian Dasar Dan Penyelidikan', NULL, NULL, NULL, NULL, 'N', NULL), (7, NULL, '1203', 'Bahagian Pembangunan Kemahiran', NULL, NULL, NULL, NULL, 'N', NULL), (8, NULL, '1204', 'Bahagian Latihan Antarabangsa', NULL, NULL, NULL, NULL, 'N', NULL), (9, NULL, '130', 'Sektor Khidmat Pengurusan', NULL, NULL, NULL, NULL, 'N', NULL), (10, NULL, '1300', 'Timbalan Pengarah Khidmat Pengurusan', NULL, NULL, NULL, NULL, 'N', NULL), (11, NULL, '1301', 'Bahagian Perkhidmatan', NULL, NULL, NULL, NULL, 'N', NULL), (12, NULL, '13010', 'Unit Pengurusan Maklumat', NULL, NULL, NULL, NULL, 'N', NULL), (13, NULL, '130101', 'Seksyen Perpustakaan', NULL, NULL, NULL, NULL, 'N', NULL), (14, NULL, '130102', 'Seksyen Teknologi Maklumat', NULL, NULL, NULL, NULL, 'N', NULL), (15, NULL, '13011', 'Unit Kualiti Dan Inovasi', NULL, NULL, NULL, NULL, 'N', NULL), (16, NULL, '13012', 'Unit Pentadbiran', NULL, NULL, NULL, NULL, 'N', NULL), (17, NULL, '130121', 'Seksyen Domestik', NULL, NULL, NULL, NULL, 'N', NULL), (18, NULL, '130122', 'Seksyen Pentadbiran', NULL, NULL, NULL, NULL, 'N', NULL), (19, NULL, '13013', 'Unit Sumber Manusia', NULL, NULL, NULL, NULL, 'N', NULL), (20, NULL, '1302', 'Bahagian Pengurusan', NULL, NULL, NULL, NULL, 'N', NULL), (21, NULL, '13021', 'Unit Kewangan, Belanjawan Dan Akaun', NULL, NULL, NULL, NULL, 'N', NULL), (22, NULL, '13022', 'Unit Pembangunan Dan Aset', NULL, NULL, NULL, NULL, 'N', NULL), (23, NULL, '130221', 'Seksyen Pembangunan', NULL, NULL, NULL, NULL, 'N', NULL), (24, NULL, '130222', 'Seksyen Aset Dan Stor', NULL, NULL, NULL, NULL, 'N', NULL), (25, NULL, '130223', 'Unit Pengurusan Perolehan', NULL, NULL, NULL, NULL, 'N', NULL), (26, NULL, '140', 'INFRA Cawangan Sabah', NULL, NULL, NULL, NULL, 'N', NULL), (27, NULL, '1401', 'SBH - Unit Latihan Dan Penyelidikan', NULL, NULL, NULL, NULL, 'N', NULL), (28, NULL, '1402', 'SBH - Unit Pengurusan', NULL, NULL, NULL, NULL, 'N', NULL), (29, NULL, '150', 'INFRA Cawangan Sarawak', NULL, NULL, NULL, NULL, 'N', NULL), (30, NULL, '1501', 'SWK - Unit Latihan Dan Penyelidikan', NULL, NULL, NULL, NULL, 'N', NULL), (31, NULL, '15011', 'SWK - Zon Utara', NULL, NULL, NULL, NULL, 'N', NULL), (32, NULL, '15012', 'SWK - Zon Selatan', NULL, NULL, NULL, NULL, 'N', NULL), (33, NULL, '1502', 'SWK - Unit Pengurusan', NULL, NULL, NULL, NULL, 'N', NULL), (34, NULL, '160', 'Unit Komunikasi Korporat', NULL, NULL, NULL, NULL, 'N', NULL); -- -------------------------------------------------------- -- -- Table structure for table `lt_type` -- CREATE TABLE `lt_type` ( `id_type` int(11) NOT NULL, `code_type` varchar(128) NOT NULL, `nama_type` varchar(128) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `lt_type` -- INSERT INTO `lt_type` (`id_type`, `code_type`, `nama_type`) VALUES (1, 'LTP', 'LAPTOP'), (2, 'LCD', 'LCD PROJEKTOR'), (3, 'BRB', 'BROADBAND'), (5, 'PRC', 'PRINTER COLOR'), (6, 'PRH', 'PRINTER HITAM PUTIH'); -- -------------------------------------------------------- -- -- Table structure for table `peralatan` -- CREATE TABLE `peralatan` ( `id_peralatan` int(11) NOT NULL, `code_type` varchar(128) NOT NULL, `nama` varchar(128) NOT NULL, `no_siri` varchar(128) NOT NULL, `tahun` varchar(128) NOT NULL, `status` varchar(128) NOT NULL, `gambar` varchar(255) NOT NULL, `catatan` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `peralatan` -- INSERT INTO `peralatan` (`id_peralatan`, `code_type`, `nama`, `no_siri`, `tahun`, `status`, `gambar`, `catatan`) VALUES (1, 'LTP', 'LAPTOP DELL', 'INFRA/ LAPTOP/ DELL-01', '2015', '0', 'dell.PNG', 'asdaf'), (2, 'LTP', 'LAPTOP HP', 'INFRA/ LAPTOP/ HP-01', '2010', '1', 'lenovo2.PNG', 'sadfsad'), (14, 'BRB', 'BROADBAND', 'INFRA/ BROADBAND/ CEL-01', '2021', '1', 'download.jpeg', 'sdfs'), (18, 'LCD', 'LCD PROJEKTOR PANASONIC', 'INFRA/ LCD/ PANASONIC -01', '2020', '0', 'vmz50_white01-2_1544502831_174.jpg', 'asdfs'), (21, 'LTP', 'LAPTOP LENOVO', 'INFRA/ LAPTOP/ LENOVO -01', '2014', '1', 'lenovo3.PNG', 'safds'), (22, 'PRC', 'PRINTER COLOR HP', 'INFRA/ PRINTER COLOR/ HP-02', '2020', '1', 'G3Q47A-1_T1551332123.png', 'sadfsd'), (23, 'PRH', 'PRINTER HITAM PUTIH', 'INFRA/ PRINTER HITAM PUTIH/ HP-01', '2020', '1', '7FR27B-1_T1597628247.png', 'dfsdfs'), (25, 'LTP', 'LAPTOP DELL', 'INFRA/ LAPTOP/ DELL-02', '2015', '1', 'dell.PNG', 'asdaf'), (26, 'LTP', 'LAPTOP DELL', 'INFRA/ LAPTOP/ DELL-03', '2015', '1', 'dell.PNG', 'asdaf'), (27, 'LTP', 'LAPTOP LENOVO', 'INFRA/ LAPTOP/ LENOVO -02', '2014', '1', 'lenovo3.PNG', 'safds'), (28, 'LTP', 'LAPTOP LENOVO', 'INFRA/ LAPTOP/ LENOVO -03', '2014', '1', 'lenovo3.PNG', 'safds'), (29, 'LTP', 'LAPTOP HP', 'INFRA/ LAPTOP/ HP-02', '2010', '1', 'lenovo2.PNG', 'sadfsad'), (30, 'PRH', 'PRINTER H<NAME>IH', 'INFRA/ PRINTER HITAM PUTIH/ HP-02', '2020', '1', '7FR27B-1_T1597628247.png', '-Hitam Putih Sahaja\r\n-Refill toner tidak dibekalkan\r\n\r\n'), (31, 'BRB', 'BROADBAND', 'INFRA/ BROADBAND/ CEL-02', '2021', '1', 'download.jpeg', 'Broadband Celcom'), (32, 'BRB', 'BROADBAND', 'INFRA/ BROADBAND/ CEL-03', '2021', '1', 'download.jpeg', 'Broadband Celcom'); -- -------------------------------------------------------- -- -- Table structure for table `rental` -- CREATE TABLE `rental` ( `id_rental` int(11) NOT NULL, `id_customer` int(11) NOT NULL, `tarikh_pinjam` date NOT NULL, `tarikh_hantar` date NOT NULL, `tarikh_pengembalian` date NOT NULL, `status_rental` varchar(128) NOT NULL, `status_pengembalian` varchar(128) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `tempahan` -- CREATE TABLE `tempahan` ( `id_tempahan` int(11) NOT NULL, `id_customer` int(11) NOT NULL, `tarikh_pinjam` date NOT NULL, `tarikh_hantar` date NOT NULL, `status_tempahan` varchar(128) NOT NULL, `tujuan_tempahan` varchar(256) NOT NULL, `doc_sokongan_temp` varchar(256) NOT NULL, `catatan_tambahan` varchar(256) NOT NULL, `kuantiti_laptop` int(11) NOT NULL, `kuantiti_broadband` int(11) NOT NULL, `kuantiti_printer_color` int(11) NOT NULL, `kuantiti_printer_bw` int(11) NOT NULL, `kuantiti_lcd` int(11) NOT NULL, `kurang_laptop` varchar(11) NOT NULL, `kurang_broadband` varchar(11) NOT NULL, `kurang_printer_color` varchar(11) NOT NULL, `kurang_printer_bw` varchar(11) NOT NULL, `kurang_lcd` varchar(11) NOT NULL, `date_created` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `tempahan` -- INSERT INTO `tempahan` (`id_tempahan`, `id_customer`, `tarikh_pinjam`, `tarikh_hantar`, `status_tempahan`, `tujuan_tempahan`, `doc_sokongan_temp`, `catatan_tambahan`, `kuantiti_laptop`, `kuantiti_broadband`, `kuantiti_printer_color`, `kuantiti_printer_bw`, `kuantiti_lcd`, `kurang_laptop`, `kurang_broadband`, `kurang_printer_color`, `kurang_printer_bw`, `kurang_lcd`, `date_created`) VALUES (56, 9, '2021-07-14', '2021-07-15', 'Diluluskan', 'Seminar Pembangunan Wanita Luar Banda Siri 1/2021', '', '', 2, 1, 0, 1, 1, '-', '-', '-', '-', '-', '2021-07-12 04:35:07'), (57, 9, '2021-07-15', '2021-07-17', 'Pengurangan', 'Mesyuarat Modal Insan', '', '', 6, 1, 0, 0, 0, '3', '-', '-', '-', '-', '2021-07-12 04:55:07'); -- -------------------------------------------------------- -- -- Table structure for table `transaksi` -- CREATE TABLE `transaksi` ( `id_rental` int(11) NOT NULL, `id_customer` int(11) NOT NULL, `id_peralatan` int(11) NOT NULL, `tarikh_pinjam` date NOT NULL, `tarikh_hantar` date NOT NULL, `nama_peralatan` varchar(128) NOT NULL, `no_siri` varchar(128) NOT NULL, `tarikh_serah` date NOT NULL, `peg_serah` varchar(128) NOT NULL, `tarikh_pengembalian` date NOT NULL, `status_pengembalian` varchar(128) NOT NULL, `status_rental` varchar(128) NOT NULL, `tujuan` varchar(256) NOT NULL, `doc_sokongan` varchar(256) NOT NULL, `bukti_penyerahan` varchar(128) NOT NULL, `pic_bukti_serah` varchar(256) NOT NULL, `status_penyerahan` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `transaksi` -- INSERT INTO `transaksi` (`id_rental`, `id_customer`, `id_peralatan`, `tarikh_pinjam`, `tarikh_hantar`, `nama_peralatan`, `no_siri`, `tarikh_serah`, `peg_serah`, `tarikh_pengembalian`, `status_pengembalian`, `status_rental`, `tujuan`, `doc_sokongan`, `bukti_penyerahan`, `pic_bukti_serah`, `status_penyerahan`) VALUES (48, 9, 22, '2021-07-12', '2021-07-14', 'PRINTER COLOR HP', 'INFRA/ PRINTER COLOR/ HP-02', '2021-07-12', '', '2021-07-12', 'Sudah Dikembalikan', 'Selesai', '1', '', 'En. Nizam', '', 1); -- -- Indexes for dumped tables -- -- -- Indexes for table `admin` -- ALTER TABLE `admin` ADD PRIMARY KEY (`id_admin`); -- -- Indexes for table `customer` -- ALTER TABLE `customer` ADD PRIMARY KEY (`id_customer`); -- -- Indexes for table `department` -- ALTER TABLE `department` ADD PRIMARY KEY (`id_department`); -- -- Indexes for table `lt_type` -- ALTER TABLE `lt_type` ADD PRIMARY KEY (`id_type`); -- -- Indexes for table `peralatan` -- ALTER TABLE `peralatan` ADD PRIMARY KEY (`id_peralatan`); -- -- Indexes for table `rental` -- ALTER TABLE `rental` ADD PRIMARY KEY (`id_rental`); -- -- Indexes for table `tempahan` -- ALTER TABLE `tempahan` ADD PRIMARY KEY (`id_tempahan`); -- -- Indexes for table `transaksi` -- ALTER TABLE `transaksi` ADD PRIMARY KEY (`id_rental`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `admin` -- ALTER TABLE `admin` MODIFY `id_admin` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `customer` -- ALTER TABLE `customer` MODIFY `id_customer` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=104; -- -- AUTO_INCREMENT for table `department` -- ALTER TABLE `department` MODIFY `id_department` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35; -- -- AUTO_INCREMENT for table `lt_type` -- ALTER TABLE `lt_type` MODIFY `id_type` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `peralatan` -- ALTER TABLE `peralatan` MODIFY `id_peralatan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33; -- -- AUTO_INCREMENT for table `rental` -- ALTER TABLE `rental` MODIFY `id_rental` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tempahan` -- ALTER TABLE `tempahan` MODIFY `id_tempahan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58; -- -- AUTO_INCREMENT for table `transaksi` -- ALTER TABLE `transaksi` MODIFY `id_rental` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49; 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 */;
USE minors_2022; INSERT INTO firstbase_minors_rankings( first_name, last_name, ORG, ETA, BP, BP_OVR, RW, RW_OVR, CBS, CBS_OVR, FTX, FTX_OVR, RAZZ, RB, RB_OVR, Composite) VALUES ('Spencer','Torkelson','Detroit',2022,1,4,1,6,1,4,1,7,1,1,6,1), ('Triston','Casas','Boston',2022,2,20,2,12,2,14,2,24,2,2,32,2), ('Miguel','Vargas','Los Angeles(N)',2023,4,45,4,31,3,37,3,44,0,5,125,3.8), ('Nick','Pratto','Kansas City',2022,3,43,8,106,4,38,4,55,3,3,44,4.17), ('Dustin','Harris','Texas',2023,7,108,3,30,5,72,6,72,4,4,91,4.83), ('Jhonkensy','Noel','Cleveland',2024,5,55,7,94,7,87,5,500,5,8,150,6.17), ('Vinnie','Pasquantino','Kansas City',2022,9,151,5,87,6,86,7,99,6,6,134,6.5), ('Blaze','Jordan','Boston',2024,6,92,6,92,0,0,9,106,13,7,140,8.2), ('Juan','Yepez','St.Louis',2022,8,133,9,130,0,0,8,103,7,0,0,8), ('Seth','Beer','Arizona',2022,10,180,10,284,8,90,10,155,12,9,166,9.83); -- SELECT *,ROUND(AVG(BP+RW+CBS+FTX+RAZZ+RB)/6,1) AS Composite -- FROM firstbase_minors_rankings; SELECT * FROM firstbase_minors_rankings;
CREATE TABLE IF NOT EXISTS store.products ( id INT NOT NULL AUTO_INCREMENT, uuid VARCHAR(60) NOT NULL, sku INT(11) NOT NULL, name VARCHAR(255) NOT NULL, description TEXT NOT NULL, supplier_id INT(11) NOT NULL, created_at timestamp NULL DEFAULT CURRENT_TIMESTAMP, updated_at timestamp NULL, deleted_at timestamp NULL, active int(1) NULL DEFAULT 1, PRIMARY KEY (id) )
<reponame>jupli/http-gitlab.bwa.id-8018-jupli-helpus -- phpMyAdmin SQL Dump -- version 4.7.0 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Jun 01, 2018 at 09:30 PM -- Server version: 5.6.35 -- PHP Version: 7.1.1 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: `helpus` -- -- -------------------------------------------------------- -- -- Table structure for table `campaigns` -- DROP TABLE IF EXISTS `campaigns`; CREATE TABLE `campaigns` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `category_id` int(11) DEFAULT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `short_description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` longtext COLLATE utf8mb4_unicode_ci, `campaign_owner_commission` decimal(8,2) DEFAULT NULL, `goal` decimal(8,2) DEFAULT NULL, `min_amount` decimal(8,2) DEFAULT NULL, `max_amount` decimal(8,2) DEFAULT NULL, `recommended_amount` decimal(8,2) DEFAULT NULL, `amount_prefilled` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `end_method` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `views` int(11) DEFAULT NULL, `video` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `feature_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(4) DEFAULT NULL, `country_id` mediumint(9) DEFAULT NULL, `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `is_funded` tinyint(4) DEFAULT NULL, `is_staff_picks` tinyint(4) DEFAULT NULL, `is_feature` tinyint(4) DEFAULT NULL, `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `campaigns` -- INSERT INTO `campaigns` (`id`, `user_id`, `category_id`, `title`, `slug`, `short_description`, `description`, `campaign_owner_commission`, `goal`, `min_amount`, `max_amount`, `recommended_amount`, `amount_prefilled`, `end_method`, `views`, `video`, `feature_image`, `status`, `country_id`, `address`, `is_funded`, `is_staff_picks`, `is_feature`, `start_date`, `end_date`, `created_at`, `updated_at`) VALUES (1, 1, 1, 'Help a homeless, need a home.', 'help-a-homeless', 'Short Description Updated', '<p>Lorem ipsum dolor sit amet, ea postea essent voluptaria mel, ad eos quod oportere. Dicant virtute mel ne, has no magna senserit. No duo prima vocent sapientem, pro te quis elaboraret contentiones. Quaestio explicari qui ea, ut vel legendos interpretaris. Prima ocurreret his ei, vix odio reprehendunt id, mel esse adipiscing ei. Ex salutandi expetendis nec, vix accusata inimicus democritum ea.</p>\r\n\r\n<p>Ei nominavi lucilius per. Putent audire vituperatoribus ad quo, ludus maiorum tacimates ad mea. Erant dolore option ius ea. Sit sumo ullum veritus et, nam debet dicit ornatus at, cu vix omnes option. Laudem delectus mediocrem nec an.</p>\r\n\r\n<p>Vis odio veri ea. Nullam scaevola ex duo, mucius nominavi omittantur ad pro, ne impedit expetendis vituperatoribus vix. At eros graeco splendide vim, odio facer malorum in cum. Vis at habeo illum utinam, ad vel timeam blandit, nullam malorum utroque ut usu. At per graeci viderer.</p>\r\n\r\n<p>Eu sed epicuri percipit. Mutat adhuc ad quo. Primis insolens menandri eos an, at usu erant suscipiantur. At nulla nostrum pro, vix assum choro forensibus eu. Illud consul volutpat sea ea.</p>\r\n\r\n<p>Cu usu accusata philosophia, eu mel alii epicurei electram. Ut omnis salutatus appellantur cum, fuisset iudicabit pri no. Officiis delicata ad duo, cu usu dicit electram. Partiendo tincidunt referrentur in nec. No modo vitae nam, mei no praesent recteque.</p>\r\n\r\n<p><img alt=\"people.jpg\" src=\"http://localhost/helpus/source/public/uploads/images/people.jpg\" style=\"width: 1280px; height: 853px;\" /></p>', '80.00', '90000.00', NULL, NULL, NULL, '10,20,30,40', 'end_date', NULL, NULL, '32', 1, 17, '4919 Arbor CourtCasper, WY 82601', 1, 1, NULL, '2017-03-18', '2022-03-18', '2017-03-17 15:00:37', '2018-05-22 13:48:37'), (2, 1, 2, 'New food enovation, support us', 'new-food-enovation-support-us', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s.', '<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\r\n\r\n<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>', '80.00', '300000.00', NULL, NULL, '40.00', '10,20,30,40', 'end_date', NULL, NULL, '29', 1, 240, '4919 Arbor CourtCasper, WY 82601', NULL, NULL, NULL, '2017-03-22', '2023-05-31', '2017-03-22 10:52:43', '2018-05-22 13:33:14'), (3, 1, 1, 'We need to keep forest green to save human', 'save-forest-save-human', 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here</p>\r\n\r\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here</p>\r\n\r\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here</p>', '80.00', '450000.00', NULL, NULL, '20.00', '10,30,50,60', 'end_date', NULL, NULL, '28', 1, 2, '4919 Arbor CourtCasper, WY 82601', NULL, NULL, NULL, '2017-03-22', '2021-06-30', '2017-03-22 11:12:33', '2018-05-22 13:16:30'), (4, 5, 5, 'Dors Telescope, 10 times powerful then normal', 'new-botn-the-perfect-sweater-and-jogger-for-kids', 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>', '<p>Lorem ipsum dolor sit amet, ea postea essent voluptaria mel, ad eos quod oportere. Dicant virtute mel ne, has no magna senserit. No duo prima vocent sapientem, pro te quis elaboraret contentiones. Quaestio explicari qui ea, ut vel legendos interpretaris. Prima ocurreret his ei, vix odio reprehendunt id, mel esse adipiscing ei. Ex salutandi expetendis nec, vix accusata inimicus democritum ea.</p>\r\n\r\n<p>Ei nominavi lucilius per. Putent audire vituperatoribus ad quo, ludus maiorum tacimates ad mea. Erant dolore option ius ea. Sit sumo ullum veritus et, nam debet dicit ornatus at, cu vix omnes option. Laudem delectus mediocrem nec an.</p>\r\n\r\n<p>Vis odio veri ea. Nullam scaevola ex duo, mucius nominavi omittantur ad pro, ne impedit expetendis vituperatoribus vix. At eros graeco splendide vim, odio facer malorum in cum. Vis at habeo illum utinam, ad vel timeam blandit, nullam malorum utroque ut usu. At per graeci viderer.</p>\r\n\r\n<p>Eu sed epicuri percipit. Mutat adhuc ad quo. Primis insolens menandri eos an, at usu erant suscipiantur. At nulla nostrum pro, vix assum choro forensibus eu. Illud consul volutpat sea ea.</p>\r\n\r\n<p>Cu usu accusata philosophia, eu mel alii epicurei electram. Ut omnis salutatus appellantur cum, fuisset iudicabit pri no. Officiis delicata ad duo, cu usu dicit electram. Partiendo tincidunt referrentur in nec. No modo vitae nam, mei no praesent recteque.</p>', '80.00', '1200.00', NULL, NULL, '40.00', '20,40,60,80', 'goal_achieve', NULL, NULL, '39', 1, 235, 'London, UK', NULL, NULL, NULL, '2017-04-02', '2022-06-21', '2017-04-02 09:36:14', '2018-05-22 14:01:04'), (5, 5, 3, 'Old car re-production', 'uneatable-premium-quality-t-shirt', 'randomised words which don\'t look even slightly believable. If you are going to use a passage of Lorem', '<div>\r\n<h2>Why do we use it?</h2>\r\n\r\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\r\n</div>\r\n\r\n<div>\r\n<h2>Where does it come from?</h2>\r\n\r\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\r\n\r\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by <NAME>.</p>\r\n\r\n<p><img alt=\"old-car-2.jpg\" src=\"http://localhost/helpus/source/public/uploads/images/old-car-2.jpg\" style=\"width: 1280px; height: 853px;\" /></p>\r\n</div>\r\n\r\n<h2>Where can I get some?</h2>\r\n\r\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\r\n\r\n<p><img alt=\"old-car.jpg\" src=\"http://localhost/helpus/source/public/uploads/images/old-car.jpg\" style=\"width: 1280px; height: 853px;\" /></p>', '80.00', '500.00', NULL, NULL, '40.00', '20,40,60,80', 'goal_achieve', NULL, NULL, '38', 1, 16, 'Armenia', NULL, 1, NULL, '2017-04-02', '2023-12-29', '2017-04-02 10:23:05', '2018-05-22 13:55:48'), (6, 6, 1, 'Save the animals to live human healthy', 'modern-gentleman-likes-handcarft-dress-shoes', 'We should show respect to all of the animals to protect our environment and the world', '<p>Lorem ipsum dolor sit amet, ea postea essent voluptaria mel, ad eos quod oportere. Dicant virtute mel ne, has no magna senserit. No duo prima vocent sapientem, pro te quis elaboraret contentiones. Quaestio explicari qui ea, ut vel legendos interpretaris. Prima ocurreret his ei, vix odio reprehendunt id, mel esse adipiscing ei. Ex salutandi expetendis nec, vix accusata inimicus democritum ea.</p>\r\n\r\n<p><img alt=\"animal-1.jpeg\" src=\"http://localhost/helpus/source/public/uploads/images/animal-1.jpeg\" style=\"width: 1280px; height: 720px;\" /></p>\r\n\r\n<p>Ei nominavi lucilius per. Putent audire vituperatoribus ad quo, ludus maiorum tacimates ad mea. Erant dolore option ius ea. Sit sumo ullum veritus et, nam debet dicit ornatus at, cu vix omnes option. Laudem delectus mediocrem nec an.</p>\r\n\r\n<p>Vis odio veri ea. Nullam scaevola ex duo, mucius nominavi omittantur ad pro, ne impedit expetendis vituperatoribus vix. At eros graeco splendide vim, odio facer malorum in cum. Vis at habeo illum utinam, ad vel timeam blandit, nullam malorum utroque ut usu. At per graeci viderer.</p>\r\n\r\n<p><img alt=\"animal-2.jpeg\" src=\"http://localhost/helpus/source/public/uploads/images/animal-2.jpeg\" style=\"width: 1280px; height: 851px;\" /></p>\r\n\r\n<p>Eu sed epicuri percipit. Mutat adhuc ad quo. Primis insolens menandri eos an, at usu erant suscipiantur. At nulla nostrum pro, vix assum choro forensibus eu. Illud consul volutpat sea ea.</p>\r\n\r\n<p>Cu usu accusata philosophia, eu mel alii epicurei electram. Ut omnis salutatus appellantur cum, fuisset iudicabit pri no. Officiis delicata ad duo, cu usu dicit electram. Partiendo tincidunt referrentur in nec. No modo vitae nam, mei no praesent recteque.</p>', '80.00', '500.00', NULL, NULL, '50.00', '30,50,70,90', 'goal_achieve', NULL, NULL, '21', 1, 84, 'Berlin, Germany', NULL, NULL, 0, '2017-04-04', '2023-12-30', '2017-04-03 12:23:13', '2018-05-22 12:28:32'), (7, 6, 8, 'World\'s most efficient small pc', 'worlds-most-efficient-small-pc', 'A comedy photography project showing about what really happened in USA last night.', '<h2>Where can I get some?</h2>\r\n\r\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\r\n\r\n<h2>Where can I get some?</h2>\r\n\r\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\r\n\r\n<h2>Where can I get some?</h2>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\r\n\r\n<h2>Where can I get some?</h2>\r\n\r\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\r\n\r\n<h2>Where can I get some?</h2>\r\n\r\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>', '80.00', '200.00', NULL, NULL, '20.00', '10,20,30,40', 'end_date', NULL, 'https://www.youtube.com/watch?v=8b5-iEnW70k', '20', 1, 240, 'California, USA', 1, 1, NULL, '2017-04-05', '2023-04-12', '2017-04-05 11:26:02', '2018-05-22 12:17:41'), (8, 6, 1, 'The prospective: A natural podecast', 'the-prospective-a-natural-podecast', 'For its fourth installment, the serialized Instagram anthology makes a leap into podcasting.', '<div>\r\n<h2>Why do we use it?</h2>\r\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\r\n</div><p><br><br></p><div>\r\n<h2>Where does it come from?</h2>\r\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.</p><p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from \"de Finibus Bonorum et Malorum\" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by <NAME>.</p>\r\n</div><p>\r\n<br></p><h2>Where can I get some?</h2><p>\r\n<br></p><p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don\'t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn\'t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p><p><br></p>', '80.00', '200.00', NULL, NULL, '20.00', '10,20,30,40', 'end_date', NULL, 'https://www.youtube.com/watch?v=8b5-iEnW70k', '', 1, 25, 'Rio de Janeiro, Brazil', 1, 0, NULL, '2017-03-31', '2017-04-11', '2017-04-09 12:55:01', '2018-04-08 05:35:38'), (9, 6, 5, 'Innovative manual watch', 'innovative-manual-watch', 'Best Concealed Carry Pocket Knives for Everyday Carry - Lifetime Warranty - Bomber & Company engineers urban survival & paracord gear.', '<div>\r\n<h2>Why do we use it?</h2>\r\n\r\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\r\n</div>\r\n\r\n<p><br />\r\n&nbsp;</p>\r\n\r\n<div>\r\n<h2>Where does it come from?</h2>\r\n\r\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>\r\n\r\n<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by <NAME>.</p>\r\n</div>\r\n\r\n<p><img alt=\"penknife-pocket-knife-blade-serrated-37863.jpeg\" src=\"http://localhost/helpus/source/public/uploads/images/penknife-pocket-knife-blade-serrated-37863.jpeg\" style=\"width: 1280px; height: 853px;\" /></p>\r\n\r\n<h2>Where can I get some?</h2>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\r\n\r\n<p>&nbsp;</p>', '80.00', '300.00', NULL, NULL, '20.00', '10,20,30,40', 'goal_achieve', NULL, 'https://www.youtube.com/watch?v=8b5-iEnW70k', '5', 1, 240, 'California, USA', 1, 1, 0, '2017-04-10', '2020-04-12', '2017-04-09 13:05:05', '2018-05-20 12:56:42'), (10, 1, 4, 'Food for unhealthy child', 'education-for-street-child', 'We are working to feeding child who can\'t afford food, a single donation will make smile to the child.', '<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\r\n\r\n<p><img alt=\"child-3.jpg\" src=\"http://localhost/helpus/source/public/uploads/images/child-3.jpg\" style=\"width: 1280px; height: 853px;\" /></p>\r\n\r\n<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>', '80.00', '900.00', NULL, NULL, '50.00', '10,30,50,60,70,80,90,100', 'end_date', NULL, NULL, '26', 1, 85, 'Ghana city, Ghana', 0, NULL, NULL, '2017-04-14', '2023-12-29', '2017-04-13 13:32:18', '2018-05-22 12:55:20'), (13, 1, 4, 'Street child need education', 'education-for-street-child-copy', 'We are working with child education, a single donation will make smile to the child.', '<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\r\n\r\n<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>', '80.00', '900.00', NULL, NULL, '50.00', '10,30,50,60', 'end_date', NULL, NULL, '24', 1, 85, 'Ghana city, Ghana', 0, NULL, 0, '2017-04-14', '2023-12-29', '2017-04-13 13:32:18', '2018-05-22 12:31:59'), (14, 5, 5, 'Intelligent robots will be your home assistance', 'intelligent-robots-will-be-your-home-assistance', 'An intelligent robots will do your home light tasks, keep floor clean', '<h2>What is Lorem Ipsum?</h2>\r\n\r\n<p><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>\r\n\r\n<h2>Why do we use it?</h2>\r\n\r\n<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<h2>Where does it come from?</h2>\r\n\r\n<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.</p>', '80.00', '900.00', NULL, NULL, '50.00', '25,30,40,45,50,60,65', 'goal_achieve', NULL, NULL, '12', 1, 121, '#f5, #road 9, sector-3, demo city', 0, NULL, 0, '2018-05-20', '2020-03-31', '2018-05-19 12:06:23', '2018-05-19 13:07:42'), (16, 5, 2, 'Coffee maker production', 'coffee-maker-production', 'This coffee maker will be impressed you, it will not required any water, coffee bean, milk or sugar. you can buy it to see how you can wast your money.', '<p>dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.</p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p><img alt=\"coffee-802057_1280.jpg\" src=\"http://localhost/helpus/source/public/uploads/images/coffee-802057-1280.jpg\" style=\"width: 1280px; height: 853px;\" />In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum.</p>\r\n\r\n<p><img alt=\"clock-1850066_1280.jpg\" src=\"http://localhost/helpus/source/public/uploads/images/clock-1850066-1280.jpg\" style=\"width: 1280px; height: 853px;\" /></p>\r\n\r\n<p>Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc,</p>', '80.00', '18000.00', NULL, NULL, '60.00', '50,60,70,85,90,100,110,120', 'goal_achieve', NULL, NULL, '16', 1, 11, '#f5, #road 9, sector-3, melbourne', 0, NULL, 1, '2018-05-21', '2020-04-30', '2018-05-20 12:56:21', '2018-05-20 12:56:42'), (17, 5, 4, 'Pain Less injection', 'pain-less-injection', 'This painless injection will cure you fast', '<p>Lorem ipsum dolor sit amet, ea postea essent voluptaria mel, ad eos quod oportere. Dicant virtute mel ne, has no magna senserit. No duo prima vocent sapientem, pro te quis elaboraret contentiones. Quaestio explicari qui ea, ut vel legendos interpretaris. Prima ocurreret his ei, vix odio reprehendunt id, mel esse adipiscing ei. Ex salutandi expetendis nec, vix accusata inimicus democritum ea.</p>\r\n\r\n<p>Ei nominavi lucilius per. Putent audire vituperatoribus ad quo, ludus maiorum tacimates ad mea. Erant dolore option ius ea. Sit sumo ullum veritus et, nam debet dicit ornatus at, cu vix omnes option. Laudem delectus mediocrem nec an.</p>\r\n\r\n<p>Vis odio veri ea. Nullam scaevola ex duo, mucius nominavi omittantur ad pro, ne impedit expetendis vituperatoribus vix. At eros graeco splendide vim, odio facer malorum in cum. Vis at habeo illum utinam, ad vel timeam blandit, nullam malorum utroque ut usu. At per graeci viderer.</p>', '80.00', '28000.00', NULL, NULL, '150.00', '100,150,200,250,300,350,400,450', 'goal_achieve', NULL, NULL, '40', 1, 25, 'rio de jenerio, 303 avenue road', 0, NULL, 0, '2018-05-23', '2021-03-29', '2018-05-22 14:07:59', '2018-05-22 14:11:11'), (18, 5, 5, 'New office tobs', 'new-office-tobs', 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>', '<p>Lorem ipsum dolor sit amet, ea postea essent voluptaria mel, ad eos quod oportere. Dicant virtute mel ne, has no magna senserit. No duo prima vocent sapientem, pro te quis elaboraret contentiones. Quaestio explicari qui ea, ut vel legendos interpretaris. Prima ocurreret his ei, vix odio reprehendunt id, mel esse adipiscing ei. Ex salutandi expetendis nec, vix accusata inimicus democritum ea.</p>\r\n\r\n<p>Ei nominavi lucilius per. Putent audire vituperatoribus ad quo, ludus maiorum tacimates ad mea. Erant dolore option ius ea. Sit sumo ullum veritus et, nam debet dicit ornatus at, cu vix omnes option. Laudem delectus mediocrem nec an.</p>\r\n\r\n<p>Vis odio veri ea. Nullam scaevola ex duo, mucius nominavi omittantur ad pro, ne impedit expetendis vituperatoribus vix. At eros graeco splendide vim, odio facer malorum in cum. Vis at habeo illum utinam, ad vel timeam blandit, nullam malorum utroque ut usu. At per graeci viderer.</p>\r\n\r\n<p>Eu sed epicuri percipit. Mutat adhuc ad quo. Primis insolens menandri eos an, at usu erant suscipiantur. At nulla nostrum pro, vix assum choro forensibus eu. Illud consul volutpat sea ea.</p>\r\n\r\n<p>Cu usu accusata philosophia, eu mel alii epicurei electram. Ut omnis salutatus appellantur cum, fuisset iudicabit pri no. Officiis delicata ad duo, cu usu dicit electram. Partiendo tincidunt referrentur in nec. No modo vitae nam, mei no praesent recteque.</p>', '80.00', '1200.00', NULL, NULL, '40.00', '20,40,60,80', 'goal_achieve', NULL, NULL, '41', 1, 235, 'London, UK', NULL, NULL, NULL, '2017-04-02', '2022-06-21', '2017-04-02 09:36:14', '2018-05-22 14:16:29'), (19, 5, 5, 'Pets healthy', 'pets-healthy', 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>', '<p>Lorem ipsum dolor sit amet, ea postea essent voluptaria mel, ad eos quod oportere. Dicant virtute mel ne, has no magna senserit. No duo prima vocent sapientem, pro te quis elaboraret contentiones. Quaestio explicari qui ea, ut vel legendos interpretaris. Prima ocurreret his ei, vix odio reprehendunt id, mel esse adipiscing ei. Ex salutandi expetendis nec, vix accusata inimicus democritum ea.</p>\r\n\r\n<p>Ei nominavi lucilius per. Putent audire vituperatoribus ad quo, ludus maiorum tacimates ad mea. Erant dolore option ius ea. Sit sumo ullum veritus et, nam debet dicit ornatus at, cu vix omnes option. Laudem delectus mediocrem nec an.</p>\r\n\r\n<p>Vis odio veri ea. Nullam scaevola ex duo, mucius nominavi omittantur ad pro, ne impedit expetendis vituperatoribus vix. At eros graeco splendide vim, odio facer malorum in cum. Vis at habeo illum utinam, ad vel timeam blandit, nullam malorum utroque ut usu. At per graeci viderer.</p>\r\n\r\n<p>Eu sed epicuri percipit. Mutat adhuc ad quo. Primis insolens menandri eos an, at usu erant suscipiantur. At nulla nostrum pro, vix assum choro forensibus eu. Illud consul volutpat sea ea.</p>\r\n\r\n<p>Cu usu accusata philosophia, eu mel alii epicurei electram. Ut omnis salutatus appellantur cum, fuisset iudicabit pri no. Officiis delicata ad duo, cu usu dicit electram. Partiendo tincidunt referrentur in nec. No modo vitae nam, mei no praesent recteque.</p>', '80.00', '1200.00', NULL, NULL, '40.00', '20,40,60,80', 'goal_achieve', NULL, NULL, '42', 1, 235, 'London, UK', NULL, NULL, NULL, '2017-04-02', '2023-09-21', '2017-04-02 09:36:14', '2018-05-22 14:22:07'); -- -------------------------------------------------------- -- -- Table structure for table `categories` -- DROP TABLE IF EXISTS `categories`; CREATE TABLE `categories` ( `id` int(10) UNSIGNED NOT NULL, `category_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` 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; -- -- Dumping data for table `categories` -- INSERT INTO `categories` (`id`, `category_name`, `slug`, `image`, `created_at`, `updated_at`) VALUES (1, 'Environment', 'environment', '', '2017-03-05 12:23:32', '2018-05-30 13:53:12'), (2, 'Foods and Drinks', 'foods-and-drinks', '', '2017-03-06 12:49:10', '2017-04-02 09:08:53'), (3, 'Travels & Outdoors', 'travels-outdoors', '', '2017-04-02 09:07:16', '2017-04-02 09:07:16'), (4, 'Nonprofit', 'nonprofit', '', '2017-04-02 09:13:22', '2017-04-02 09:13:22'), (5, 'Innovation', 'innovation', '', '2017-04-02 09:15:12', '2017-04-02 09:15:12'), (6, 'Health and Fitness', 'health-and-fitness', '', '2017-04-02 09:15:58', '2017-04-02 09:15:58'), (7, 'Fashion', 'fashion', '', '2017-04-02 09:17:00', '2017-04-02 09:17:00'), (8, 'Community Projects', 'community-projects', '', '2017-04-02 09:19:22', '2017-04-02 09:19:22'); -- -------------------------------------------------------- -- -- Table structure for table `comments` -- DROP TABLE IF EXISTS `comments`; CREATE TABLE `comments` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `campaign_id` int(11) DEFAULT NULL, `comment_id` int(11) DEFAULT NULL, `author_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `author_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `author_ip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `comment` text COLLATE utf8mb4_unicode_ci, `approved` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `comments` -- INSERT INTO `comments` (`id`, `user_id`, `campaign_id`, `comment_id`, `author_name`, `author_email`, `author_ip`, `comment`, `approved`, `created_at`, `updated_at`) VALUES (1, 0, 5, 0, 'Arnold', '<EMAIL>', '::1', 'Hello, is there any rewards available to your campaign?', '1', '2018-05-15 13:07:22', '2018-05-15 13:07:22'), (2, 6, 5, 0, '<NAME>', '<EMAIL>', '::1', 'Well, Let us do something great, I will donate to your organization.', '1', '2018-05-15 13:08:11', '2018-05-15 13:08:11'), (3, 6, 5, 2, '<NAME>', '<EMAIL>', '::1', 'Thank you, I will look over there', '1', '2018-05-15 13:16:04', '2018-05-15 13:16:04'), (4, 6, 5, 2, '<NAME>', '<EMAIL>', '::1', 'Yes, here I am commenting again to know more details :)', '1', '2018-05-15 13:16:44', '2018-05-15 13:16:44'), (6, 6, 9, 0, '<NAME>', '<EMAIL>', '::1', 'when You will send the rewards product?', '1', '2018-05-18 14:45:28', '2018-05-18 14:45:28'); -- -------------------------------------------------------- -- -- Table structure for table `countries` -- DROP TABLE IF EXISTS `countries`; CREATE TABLE `countries` ( `id` int(10) UNSIGNED NOT NULL, `capital` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `citizenship` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `country_code` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `currency` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `currency_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `currency_sub_unit` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `currency_symbol` varchar(3) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `currency_decimals` int(11) DEFAULT NULL, `full_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `iso_3166_2` varchar(2) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `iso_3166_3` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `region_code` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `sub_region_code` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `eea` tinyint(1) NOT NULL DEFAULT '0', `calling_code` varchar(3) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `flag` varchar(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `countries` -- INSERT INTO `countries` (`id`, `capital`, `citizenship`, `country_code`, `currency`, `currency_code`, `currency_sub_unit`, `currency_symbol`, `currency_decimals`, `full_name`, `iso_3166_2`, `iso_3166_3`, `name`, `region_code`, `sub_region_code`, `eea`, `calling_code`, `flag`) VALUES (1, 'Kabul', 'Afghan', '004', 'afghani', 'AFN', 'pul', '؋', 2, 'Islamic Republic of Afghanistan', 'AF', 'AFG', 'Afghanistan', '142', '034', 0, '93', 'AF.png'), (2, 'Tirana', 'Albanian', '008', 'lek', 'ALL', '(qindar (pl. qindarka))', 'Lek', 2, 'Republic of Albania', 'AL', 'ALB', 'Albania', '150', '039', 0, '355', 'AL.png'), (3, 'Antartica', 'of Antartica', '010', '', '', '', '', 2, 'Antarctica', 'AQ', 'ATA', 'Antarctica', '', '', 0, '672', 'AQ.png'), (4, 'Algiers', 'Algerian', '012', 'Algerian dinar', 'DZD', 'centime', 'DZD', 2, 'People’s Democratic Republic of Algeria', 'DZ', 'DZA', 'Algeria', '002', '015', 0, '213', 'DZ.png'), (5, 'Pago Pago', 'American Samoan', '016', 'US dollar', 'USD', 'cent', '$', 2, 'Territory of American', 'AS', 'ASM', 'American Samoa', '009', '061', 0, '1', 'AS.png'), (6, 'Andorra la Vella', 'Andorran', '020', 'euro', 'EUR', 'cent', '€', 2, 'Principality of Andorra', 'AD', 'AND', 'Andorra', '150', '039', 0, '376', 'AD.png'), (7, 'Luanda', 'Angolan', '024', 'kwanza', 'AOA', 'cêntimo', 'Kz', 2, 'Republic of Angola', 'AO', 'AGO', 'Angola', '002', '017', 0, '244', 'AO.png'), (8, 'St John’s', 'of Antigua and Barbuda', '028', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Antigua and Barbuda', 'AG', 'ATG', 'Antigua and Barbuda', '019', '029', 0, '1', 'AG.png'), (9, 'Baku', 'Azerbaijani', '031', 'Azerbaijani manat', 'AZN', 'kepik (inv.)', 'ман', 2, 'Republic of Azerbaijan', 'AZ', 'AZE', 'Azerbaijan', '142', '145', 0, '994', 'AZ.png'), (10, 'Buenos Aires', 'Argentinian', '032', 'Argentine peso', 'ARS', 'centavo', '$', 2, 'Argentine Republic', 'AR', 'ARG', 'Argentina', '019', '005', 0, '54', 'AR.png'), (11, 'Canberra', 'Australian', '036', 'Australian dollar', 'AUD', 'cent', '$', 2, 'Commonwealth of Australia', 'AU', 'AUS', 'Australia', '009', '053', 0, '61', 'AU.png'), (12, 'Vienna', 'Austrian', '040', 'euro', 'EUR', 'cent', '€', 2, 'Republic of Austria', 'AT', 'AUT', 'Austria', '150', '155', 1, '43', 'AT.png'), (13, 'Nassau', 'Bahamian', '044', 'Bahamian dollar', 'BSD', 'cent', '$', 2, 'Commonwealth of the Bahamas', 'BS', 'BHS', 'Bahamas', '019', '029', 0, '1', 'BS.png'), (14, 'Manama', 'Bahraini', '048', 'Bahraini dinar', 'BHD', 'fils (inv.)', 'BHD', 3, 'Kingdom of Bahrain', 'BH', 'BHR', 'Bahrain', '142', '145', 0, '973', 'BH.png'), (15, 'Dhaka', 'Bangladeshi', '050', 'taka (inv.)', 'BDT', 'poisha (inv.)', 'BDT', 2, 'People’s Republic of Bangladesh', 'BD', 'BGD', 'Bangladesh', '142', '034', 0, '880', 'BD.png'), (16, 'Yerevan', 'Armenian', '051', 'dram (inv.)', 'AMD', 'luma', 'AMD', 2, 'Republic of Armenia', 'AM', 'ARM', 'Armenia', '142', '145', 0, '374', 'AM.png'), (17, 'Bridgetown', 'Barbadian', '052', 'Barbados dollar', 'BBD', 'cent', '$', 2, 'Barbados', 'BB', 'BRB', 'Barbados', '019', '029', 0, '1', 'BB.png'), (18, 'Brussels', 'Belgian', '056', 'euro', 'EUR', 'cent', '€', 2, 'Kingdom of Belgium', 'BE', 'BEL', 'Belgium', '150', '155', 1, '32', 'BE.png'), (19, 'Hamilton', 'Bermudian', '060', 'Bermuda dollar', 'BMD', 'cent', '$', 2, 'Bermuda', 'BM', 'BMU', 'Bermuda', '019', '021', 0, '1', 'BM.png'), (20, 'Thimphu', 'Bhutanese', '064', 'ngultrum (inv.)', 'BTN', 'chhetrum (inv.)', 'BTN', 2, 'Kingdom of Bhutan', 'BT', 'BTN', 'Bhutan', '142', '034', 0, '975', 'BT.png'), (21, 'Sucre (BO1)', 'Bolivian', '068', 'boliviano', 'BOB', 'centavo', '$b', 2, 'Plurinational State of Bolivia', 'BO', 'BOL', 'Bolivia, Plurinational State of', '019', '005', 0, '591', 'BO.png'), (22, 'Sarajevo', 'of Bosnia and Herzegovina', '070', 'convertible mark', 'BAM', 'fening', 'KM', 2, 'Bosnia and Herzegovina', 'BA', 'BIH', 'Bosnia and Herzegovina', '150', '039', 0, '387', 'BA.png'), (23, 'Gaborone', 'Botswanan', '072', 'pula (inv.)', 'BWP', 'thebe (inv.)', 'P', 2, 'Republic of Botswana', 'BW', 'BWA', 'Botswana', '002', '018', 0, '267', 'BW.png'), (24, 'Bouvet island', 'of Bouvet island', '074', '', '', '', 'kr', 2, 'Bouvet Island', 'BV', 'BVT', 'Bouvet Island', '', '', 0, '47', 'BV.png'), (25, 'Brasilia', 'Brazilian', '076', 'real (pl. reais)', 'BRL', 'centavo', 'R$', 2, 'Federative Republic of Brazil', 'BR', 'BRA', 'Brazil', '019', '005', 0, '55', 'BR.png'), (26, 'Belmopan', 'Belizean', '084', 'Belize dollar', 'BZD', 'cent', 'BZ$', 2, 'Belize', 'BZ', 'BLZ', 'Belize', '019', '013', 0, '501', 'BZ.png'), (27, '<NAME>', 'Changosian', '086', 'US dollar', 'USD', 'cent', '$', 2, 'British Indian Ocean Territory', 'IO', 'IOT', 'British Indian Ocean Territory', '', '', 0, '246', 'IO.png'), (28, 'Honiara', 'Solomon Islander', '090', 'Solomon Islands dollar', 'SBD', 'cent', '$', 2, 'Solomon Islands', 'SB', 'SLB', 'Solomon Islands', '009', '054', 0, '677', 'SB.png'), (29, 'Road Town', 'British Virgin Islander;', '092', 'US dollar', 'USD', 'cent', '$', 2, 'British Virgin Islands', 'VG', 'VGB', 'Virgin Islands, British', '019', '029', 0, '1', 'VG.png'), (30, '<NAME>', 'Bruneian', '096', 'Brunei dollar', 'BND', 'sen (inv.)', '$', 2, 'Brunei Darussalam', 'BN', 'BRN', 'Brunei Darussalam', '142', '035', 0, '673', 'BN.png'), (31, 'Sofia', 'Bulgarian', '100', 'lev (pl. leva)', 'BGN', 'stotinka', 'лв', 2, 'Republic of Bulgaria', 'BG', 'BGR', 'Bulgaria', '150', '151', 1, '359', 'BG.png'), (32, 'Yangon', 'Burmese', '104', 'kyat', 'MMK', 'pya', 'K', 2, 'Union of Myanmar/', 'MM', 'MMR', 'Myanmar', '142', '035', 0, '95', 'MM.png'), (33, 'Bujumbura', 'Burundian', '108', 'Burundi franc', 'BIF', 'centime', 'BIF', 0, 'Republic of Burundi', 'BI', 'BDI', 'Burundi', '002', '014', 0, '257', 'BI.png'), (34, 'Minsk', 'Belarusian', '112', 'Belarusian rouble', 'BYR', 'kopek', 'p.', 2, 'Republic of Belarus', 'BY', 'BLR', 'Belarus', '150', '151', 0, '375', 'BY.png'), (35, '<NAME>', 'Cambodian', '116', 'riel', 'KHR', 'sen (inv.)', '៛', 2, 'Kingdom of Cambodia', 'KH', 'KHM', 'Cambodia', '142', '035', 0, '855', 'KH.png'), (36, 'Yaoundé', 'Cameroonian', '120', 'CFA franc (BEAC)', 'XAF', 'centime', 'FCF', 0, 'Republic of Cameroon', 'CM', 'CMR', 'Cameroon', '002', '017', 0, '237', 'CM.png'), (37, 'Ottawa', 'Canadian', '124', 'Canadian dollar', 'CAD', 'cent', '$', 2, 'Canada', 'CA', 'CAN', 'Canada', '019', '021', 0, '1', 'CA.png'), (38, 'Praia', 'Cape Verdean', '132', 'Cape Verde escudo', 'CVE', 'centavo', 'CVE', 2, 'Republic of Cape Verde', 'CV', 'CPV', 'Cape Verde', '002', '011', 0, '238', 'CV.png'), (39, 'George Town', 'Caymanian', '136', 'Cayman Islands dollar', 'KYD', 'cent', '$', 2, 'Cayman Islands', 'KY', 'CYM', 'Cayman Islands', '019', '029', 0, '1', 'KY.png'), (40, 'Bangui', 'Central African', '140', 'CFA franc (BEAC)', 'XAF', 'centime', 'CFA', 0, 'Central African Republic', 'CF', 'CAF', 'Central African Republic', '002', '017', 0, '236', 'CF.png'), (41, 'Colombo', 'Sri Lankan', '144', 'Sri Lankan rupee', 'LKR', 'cent', '₨', 2, 'Democratic Socialist Republic of Sri Lanka', 'LK', 'LKA', 'Sri Lanka', '142', '034', 0, '94', 'LK.png'), (42, 'N’Djamena', 'Chadian', '148', 'CFA franc (BEAC)', 'XAF', 'centime', 'XAF', 0, 'Republic of Chad', 'TD', 'TCD', 'Chad', '002', '017', 0, '235', 'TD.png'), (43, 'Santiago', 'Chilean', '152', 'Chilean peso', 'CLP', 'centavo', 'CLP', 0, 'Republic of Chile', 'CL', 'CHL', 'Chile', '019', '005', 0, '56', 'CL.png'), (44, 'Beijing', 'Chinese', '156', 'renminbi-yuan (inv.)', 'CNY', 'jiao (10)', '¥', 2, 'People’s Republic of China', 'CN', 'CHN', 'China', '142', '030', 0, '86', 'CN.png'), (45, 'Taipei', 'Taiwanese', '158', 'new Taiwan dollar', 'TWD', 'fen (inv.)', 'NT$', 2, 'Republic of China, Taiwan (TW1)', 'TW', 'TWN', 'Taiwan, Province of China', '142', '030', 0, '886', 'TW.png'), (46, 'Flying Fish Cove', 'Christmas Islander', '162', 'Australian dollar', 'AUD', 'cent', '$', 2, 'Christmas Island Territory', 'CX', 'CXR', 'Christmas Island', '', '', 0, '61', 'CX.png'), (47, 'Bantam', 'Cocos Islander', '166', 'Australian dollar', 'AUD', 'cent', '$', 2, 'Territory of Cocos (Keeling) Islands', 'CC', 'CCK', 'Cocos (Keeling) Islands', '', '', 0, '61', 'CC.png'), (48, 'Santa Fe de Bogotá', 'Colombian', '170', 'Colombian peso', 'COP', 'centavo', '$', 2, 'Republic of Colombia', 'CO', 'COL', 'Colombia', '019', '005', 0, '57', 'CO.png'), (49, 'Moroni', 'Comorian', '174', 'Comorian franc', 'KMF', '', 'KMF', 0, 'Union of the Comoros', 'KM', 'COM', 'Comoros', '002', '014', 0, '269', 'KM.png'), (50, 'Mamoudzou', 'Mahorais', '175', 'euro', 'EUR', 'cent', '€', 2, 'Departmental Collectivity of Mayotte', 'YT', 'MYT', 'Mayotte', '002', '014', 0, '262', 'YT.png'), (51, 'Brazzaville', 'Congolese', '178', 'CFA franc (BEAC)', 'XAF', 'centime', 'FCF', 0, 'Republic of the Congo', 'CG', 'COG', 'Congo', '002', '017', 0, '242', 'CG.png'), (52, 'Kinshasa', 'Congolese', '180', 'Congolese franc', 'CDF', 'centime', 'CDF', 2, 'Democratic Republic of the Congo', 'CD', 'COD', 'Congo, the Democratic Republic of the', '002', '017', 0, '243', 'CD.png'), (53, 'Avarua', 'Cook Islander', '184', 'New Zealand dollar', 'NZD', 'cent', '$', 2, 'Cook Islands', 'CK', 'COK', 'Cook Islands', '009', '061', 0, '682', 'CK.png'), (54, 'San José', 'Costa Rican', '188', 'Costa Rican colón (pl. colones)', 'CRC', 'céntimo', '₡', 2, 'Republic of Costa Rica', 'CR', 'CRI', 'Costa Rica', '019', '013', 0, '506', 'CR.png'), (55, 'Zagreb', 'Croatian', '191', 'kuna (inv.)', 'HRK', 'lipa (inv.)', 'kn', 2, 'Republic of Croatia', 'HR', 'HRV', 'Croatia', '150', '039', 1, '385', 'HR.png'), (56, 'Havana', 'Cuban', '192', 'Cuban peso', 'CUP', 'centavo', '₱', 2, 'Republic of Cuba', 'CU', 'CUB', 'Cuba', '019', '029', 0, '53', 'CU.png'), (57, 'Nicosia', 'Cypriot', '196', 'euro', 'EUR', 'cent', 'CYP', 2, 'Republic of Cyprus', 'CY', 'CYP', 'Cyprus', '142', '145', 1, '357', 'CY.png'), (58, 'Prague', 'Czech', '203', 'Czech koruna (pl. koruny)', 'CZK', 'halér', 'Kč', 2, 'Czech Republic', 'CZ', 'CZE', 'Czech Republic', '150', '151', 1, '420', 'CZ.png'), (59, 'Porto Novo (BJ1)', 'Beninese', '204', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Republic of Benin', 'BJ', 'BEN', 'Benin', '002', '011', 0, '229', 'BJ.png'), (60, 'Copenhagen', 'Danish', '208', 'Danish krone', 'DKK', 'øre (inv.)', 'kr', 2, 'Kingdom of Denmark', 'DK', 'DNK', 'Denmark', '150', '154', 1, '45', 'DK.png'), (61, 'Roseau', 'Dominican', '212', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Commonwealth of Dominica', 'DM', 'DMA', 'Dominica', '019', '029', 0, '1', 'DM.png'), (62, 'Santo Domingo', 'Dominican', '214', 'Dominican peso', 'DOP', 'centavo', 'RD$', 2, 'Dominican Republic', 'DO', 'DOM', 'Dominican Republic', '019', '029', 0, '1', 'DO.png'), (63, 'Quito', 'Ecuadorian', '218', 'US dollar', 'USD', 'cent', '$', 2, 'Republic of Ecuador', 'EC', 'ECU', 'Ecuador', '019', '005', 0, '593', 'EC.png'), (64, 'San Salvador', 'Salvadoran', '222', 'Salvadorian colón (pl. colones)', 'SVC', 'centavo', '$', 2, 'Republic of El Salvador', 'SV', 'SLV', 'El Salvador', '019', '013', 0, '503', 'SV.png'), (65, 'Malabo', 'Equatorial Guinean', '226', 'CFA franc (BEAC)', 'XAF', 'centime', 'FCF', 2, 'Republic of Equatorial Guinea', 'GQ', 'GNQ', 'Equatorial Guinea', '002', '017', 0, '240', 'GQ.png'), (66, '<NAME>', 'Ethiopian', '231', 'birr (inv.)', 'ETB', 'cent', 'ETB', 2, 'Federal Democratic Republic of Ethiopia', 'ET', 'ETH', 'Ethiopia', '002', '014', 0, '251', 'ET.png'), (67, 'Asmara', 'Eritrean', '232', 'nakfa', 'ERN', 'cent', 'Nfk', 2, 'State of Eritrea', 'ER', 'ERI', 'Eritrea', '002', '014', 0, '291', 'ER.png'), (68, 'Tallinn', 'Estonian', '233', 'euro', 'EUR', 'cent', 'kr', 2, 'Republic of Estonia', 'EE', 'EST', 'Estonia', '150', '154', 1, '372', 'EE.png'), (69, 'Tórshavn', 'Faeroese', '234', 'Danish krone', 'DKK', 'øre (inv.)', 'kr', 2, 'Faeroe Islands', 'FO', 'FRO', 'Faroe Islands', '150', '154', 0, '298', 'FO.png'), (70, 'Stanley', 'Falkland Islander', '238', 'Falkland Islands pound', 'FKP', 'new penny', '£', 2, 'Falkland Islands', 'FK', 'FLK', 'Falkland Islands (Malvinas)', '019', '005', 0, '500', 'FK.png'), (71, 'King Edward Point (Grytviken)', 'of South Georgia and the South Sandwich Islands', '239', '', '', '', '£', 2, 'South Georgia and the South Sandwich Islands', 'GS', 'SGS', 'South Georgia and the South Sandwich Islands', '', '', 0, '44', 'GS.png'), (72, 'Suva', 'Fijian', '242', 'Fiji dollar', 'FJD', 'cent', '$', 2, 'Republic of Fiji', 'FJ', 'FJI', 'Fiji', '009', '054', 0, '679', 'FJ.png'), (73, 'Helsinki', 'Finnish', '246', 'euro', 'EUR', 'cent', '€', 2, 'Republic of Finland', 'FI', 'FIN', 'Finland', '150', '154', 1, '358', 'FI.png'), (74, 'Mariehamn', 'Åland Islander', '248', 'euro', 'EUR', 'cent', NULL, NULL, 'Åland Islands', 'AX', 'ALA', 'Åland Islands', '150', '154', 0, '358', NULL), (75, 'Paris', 'French', '250', 'euro', 'EUR', 'cent', '€', 2, 'French Republic', 'FR', 'FRA', 'France', '150', '155', 1, '33', 'FR.png'), (76, 'Cayenne', 'Guianese', '254', 'euro', 'EUR', 'cent', '€', 2, 'French Guiana', 'GF', 'GUF', 'French Guiana', '019', '005', 0, '594', 'GF.png'), (77, 'Papeete', 'Polynesian', '258', 'CFP franc', 'XPF', 'centime', 'XPF', 0, 'French Polynesia', 'PF', 'PYF', 'French Polynesia', '009', '061', 0, '689', 'PF.png'), (78, 'Port-aux-Francais', 'of French Southern and Antarctic Lands', '260', 'euro', 'EUR', 'cent', '€', 2, 'French Southern and Antarctic Lands', 'TF', 'ATF', 'French Southern Territories', '', '', 0, '33', 'TF.png'), (79, 'Djibouti', 'Djiboutian', '262', 'Djibouti franc', 'DJF', '', 'DJF', 0, 'Republic of Djibouti', 'DJ', 'DJI', 'Djibouti', '002', '014', 0, '253', 'DJ.png'), (80, 'Libreville', 'Gabonese', '266', 'CFA franc (BEAC)', 'XAF', 'centime', 'FCF', 0, 'Gabonese Republic', 'GA', 'GAB', 'Gabon', '002', '017', 0, '241', 'GA.png'), (81, 'Tbilisi', 'Georgian', '268', 'lari', 'GEL', 'tetri (inv.)', 'GEL', 2, 'Georgia', 'GE', 'GEO', 'Georgia', '142', '145', 0, '995', 'GE.png'), (82, 'Banjul', 'Gambian', '270', 'dalasi (inv.)', 'GMD', 'butut', 'D', 2, 'Republic of the Gambia', 'GM', 'GMB', 'Gambia', '002', '011', 0, '220', 'GM.png'), (83, NULL, 'Palestinian', '275', NULL, NULL, NULL, '₪', 2, NULL, 'PS', 'PSE', 'Palestinian Territory, Occupied', '142', '145', 0, '970', 'PS.png'), (84, 'Berlin', 'German', '276', 'euro', 'EUR', 'cent', '€', 2, 'Federal Republic of Germany', 'DE', 'DEU', 'Germany', '150', '155', 1, '49', 'DE.png'), (85, 'Accra', 'Ghanaian', '288', 'Ghana cedi', 'GHS', 'pesewa', '¢', 2, 'Republic of Ghana', 'GH', 'GHA', 'Ghana', '002', '011', 0, '233', 'GH.png'), (86, 'Gibraltar', 'Gibraltarian', '292', 'Gibraltar pound', 'GIP', 'penny', '£', 2, 'Gibraltar', 'GI', 'GIB', 'Gibraltar', '150', '039', 0, '350', 'GI.png'), (87, 'Tarawa', 'Kiribatian', '296', 'Australian dollar', 'AUD', 'cent', '$', 2, 'Republic of Kiribati', 'KI', 'KIR', 'Kiribati', '009', '057', 0, '686', 'KI.png'), (88, 'Athens', 'Greek', '300', 'euro', 'EUR', 'cent', '€', 2, 'Hellenic Republic', 'GR', 'GRC', 'Greece', '150', '039', 1, '30', 'GR.png'), (89, 'Nuuk', 'Greenlander', '304', 'Danish krone', 'DKK', 'øre (inv.)', 'kr', 2, 'Greenland', 'GL', 'GRL', 'Greenland', '019', '021', 0, '299', 'GL.png'), (90, 'St George’s', 'Grenadian', '308', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Grenada', 'GD', 'GRD', 'Grenada', '019', '029', 0, '1', 'GD.png'), (91, '<NAME>', 'Guadeloupean', '312', 'euro', 'EUR ', 'cent', '€', 2, 'Guadeloupe', 'GP', 'GLP', 'Guadeloupe', '019', '029', 0, '590', 'GP.png'), (92, 'Agaña (Hagåtña)', 'Guamanian', '316', 'US dollar', 'USD', 'cent', '$', 2, 'Territory of Guam', 'GU', 'GUM', 'Guam', '009', '057', 0, '1', 'GU.png'), (93, 'Guatemala City', 'Guatemalan', '320', 'quetzal (pl. quetzales)', 'GTQ', 'centavo', 'Q', 2, 'Republic of Guatemala', 'GT', 'GTM', 'Guatemala', '019', '013', 0, '502', 'GT.png'), (94, 'Conakry', 'Guinean', '324', 'Guinean franc', 'GNF', '', 'GNF', 0, 'Republic of Guinea', 'GN', 'GIN', 'Guinea', '002', '011', 0, '224', 'GN.png'), (95, 'Georgetown', 'Guyanese', '328', 'Guyana dollar', 'GYD', 'cent', '$', 2, 'Cooperative Republic of Guyana', 'GY', 'GUY', 'Guyana', '019', '005', 0, '592', 'GY.png'), (96, 'Port-au-Prince', 'Haitian', '332', 'gourde', 'HTG', 'centime', 'G', 2, 'Republic of Haiti', 'HT', 'HTI', 'Haiti', '019', '029', 0, '509', 'HT.png'), (97, 'Territory of Heard Island and McDonald Islands', 'of Territory of Heard Island and McDonald Islands', '334', '', '', '', '$', 2, 'Territory of Heard Island and McDonald Islands', 'HM', 'HMD', 'Heard Island and McDonald Islands', '', '', 0, '61', 'HM.png'), (98, 'Vatican City', 'of the Holy See/of the Vatican', '336', 'euro', 'EUR', 'cent', '€', 2, 'the Holy See/ Vatican City State', 'VA', 'VAT', 'Holy See (Vatican City State)', '150', '039', 0, '39', 'VA.png'), (99, 'Tegucigalpa', 'Honduran', '340', 'lempira', 'HNL', 'centavo', 'L', 2, 'Republic of Honduras', 'HN', 'HND', 'Honduras', '019', '013', 0, '504', 'HN.png'), (100, '(HK3)', 'Hong Kong Chinese', '344', 'Hong Kong dollar', 'HKD', 'cent', '$', 2, 'Hong Kong Special Administrative Region of the People’s Republic of China (HK2)', 'HK', 'HKG', 'Hong Kong', '142', '030', 0, '852', 'HK.png'), (101, 'Budapest', 'Hungarian', '348', 'forint (inv.)', 'HUF', '(fillér (inv.))', 'Ft', 2, 'Republic of Hungary', 'HU', 'HUN', 'Hungary', '150', '151', 1, '36', 'HU.png'), (102, 'Reykjavik', 'Icelander', '352', 'króna (pl. krónur)', 'ISK', '', 'kr', 0, 'Republic of Iceland', 'IS', 'ISL', 'Iceland', '150', '154', 1, '354', 'IS.png'), (103, 'New Delhi', 'Indian', '356', 'Indian rupee', 'INR', 'paisa', '₹', 2, 'Republic of India', 'IN', 'IND', 'India', '142', '034', 0, '91', 'IN.png'), (104, 'Jakarta', 'Indonesian', '360', 'Indonesian rupiah (inv.)', 'IDR', 'sen (inv.)', 'Rp', 2, 'Republic of Indonesia', 'ID', 'IDN', 'Indonesia', '142', '035', 0, '62', 'ID.png'), (105, 'Tehran', 'Iranian', '364', 'Iranian rial', 'IRR', '(dinar) (IR1)', '﷼', 2, 'Islamic Republic of Iran', 'IR', 'IRN', 'Iran, Islamic Republic of', '142', '034', 0, '98', 'IR.png'), (106, 'Baghdad', 'Iraqi', '368', 'Iraqi dinar', 'IQD', 'fils (inv.)', 'IQD', 3, 'Republic of Iraq', 'IQ', 'IRQ', 'Iraq', '142', '145', 0, '964', 'IQ.png'), (107, 'Dublin', 'Irish', '372', 'euro', 'EUR', 'cent', '€', 2, 'Ireland (IE1)', 'IE', 'IRL', 'Ireland', '150', '154', 1, '353', 'IE.png'), (108, '(IL1)', 'Israeli', '376', 'shekel', 'ILS', 'agora', '₪', 2, 'State of Israel', 'IL', 'ISR', 'Israel', '142', '145', 0, '972', 'IL.png'), (109, 'Rome', 'Italian', '380', 'euro', 'EUR', 'cent', '€', 2, 'Italian Republic', 'IT', 'ITA', 'Italy', '150', '039', 1, '39', 'IT.png'), (110, 'Yamoussoukro (CI1)', 'Ivorian', '384', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Republic of Côte d’Ivoire', 'CI', 'CIV', 'Côte d\'Ivoire', '002', '011', 0, '225', 'CI.png'), (111, 'Kingston', 'Jamaican', '388', 'Jamaica dollar', 'JMD', 'cent', '$', 2, 'Jamaica', 'JM', 'JAM', 'Jamaica', '019', '029', 0, '1', 'JM.png'), (112, 'Tokyo', 'Japanese', '392', 'yen (inv.)', 'JPY', '(sen (inv.)) (JP1)', '¥', 0, 'Japan', 'JP', 'JPN', 'Japan', '142', '030', 0, '81', 'JP.png'), (113, 'Astana', 'Kazakh', '398', 'tenge (inv.)', 'KZT', 'tiyn', 'лв', 2, 'Republic of Kazakhstan', 'KZ', 'KAZ', 'Kazakhstan', '142', '143', 0, '7', 'KZ.png'), (114, 'Amman', 'Jordanian', '400', 'Jordanian dinar', 'JOD', '100 qirsh', 'JOD', 2, 'Hashemite Kingdom of Jordan', 'JO', 'JOR', 'Jordan', '142', '145', 0, '962', 'JO.png'), (115, 'Nairobi', 'Kenyan', '404', 'Kenyan shilling', 'KES', 'cent', 'KES', 2, 'Republic of Kenya', 'KE', 'KEN', 'Kenya', '002', '014', 0, '254', 'KE.png'), (116, 'Pyongyang', 'North Korean', '408', 'North Korean won (inv.)', 'KPW', 'chun (inv.)', '₩', 2, 'Democratic People’s Republic of Korea', 'KP', 'PRK', 'Korea, Democratic People\'s Republic of', '142', '030', 0, '850', 'KP.png'), (117, 'Seoul', 'South Korean', '410', 'South Korean won (inv.)', 'KRW', '(chun (inv.))', '₩', 0, 'Republic of Korea', 'KR', 'KOR', 'Korea, Republic of', '142', '030', 0, '82', 'KR.png'), (118, 'Kuwait City', 'Kuwaiti', '414', 'Kuwaiti dinar', 'KWD', 'fils (inv.)', 'KWD', 3, 'State of Kuwait', 'KW', 'KWT', 'Kuwait', '142', '145', 0, '965', 'KW.png'), (119, 'Bishkek', 'Kyrgyz', '417', 'som', 'KGS', 'tyiyn', 'лв', 2, 'Kyrgyz Republic', 'KG', 'KGZ', 'Kyrgyzstan', '142', '143', 0, '996', 'KG.png'), (120, 'Vientiane', 'Lao', '418', 'kip (inv.)', 'LAK', '(at (inv.))', '₭', 0, 'Lao People’s Democratic Republic', 'LA', 'LAO', 'Lao People\'s Democratic Republic', '142', '035', 0, '856', 'LA.png'), (121, 'Beirut', 'Lebanese', '422', 'Lebanese pound', 'LBP', '(piastre)', '£', 2, 'Lebanese Republic', 'LB', 'LBN', 'Lebanon', '142', '145', 0, '961', 'LB.png'), (122, 'Maseru', 'Basotho', '426', 'loti (pl. maloti)', 'LSL', 'sente', 'L', 2, 'Kingdom of Lesotho', 'LS', 'LSO', 'Lesotho', '002', '018', 0, '266', 'LS.png'), (123, 'Riga', 'Latvian', '428', 'euro', 'EUR', 'cent', 'Ls', 2, 'Republic of Latvia', 'LV', 'LVA', 'Latvia', '150', '154', 1, '371', 'LV.png'), (124, 'Monrovia', 'Liberian', '430', 'Liberian dollar', 'LRD', 'cent', '$', 2, 'Republic of Liberia', 'LR', 'LBR', 'Liberia', '002', '011', 0, '231', 'LR.png'), (125, 'Tripoli', 'Libyan', '434', 'Libyan dinar', 'LYD', 'dirham', 'LYD', 3, 'Socialist People’s Libyan Arab Jamahiriya', 'LY', 'LBY', 'Libya', '002', '015', 0, '218', 'LY.png'), (126, 'Vaduz', 'Liechtensteiner', '438', 'Swiss franc', 'CHF', 'centime', 'CHF', 2, 'Principality of Liechtenstein', 'LI', 'LIE', 'Liechtenstein', '150', '155', 1, '423', 'LI.png'), (127, 'Vilnius', 'Lithuanian', '440', 'euro', 'EUR', 'cent', 'Lt', 2, 'Republic of Lithuania', 'LT', 'LTU', 'Lithuania', '150', '154', 1, '370', 'LT.png'), (128, 'Luxembourg', 'Luxembourger', '442', 'euro', 'EUR', 'cent', '€', 2, 'Grand Duchy of Luxembourg', 'LU', 'LUX', 'Luxembourg', '150', '155', 1, '352', 'LU.png'), (129, 'Macao (MO3)', 'Macanese', '446', 'pataca', 'MOP', 'avo', 'MOP', 2, 'Macao Special Administrative Region of the People’s Republic of China (MO2)', 'MO', 'MAC', 'Macao', '142', '030', 0, '853', 'MO.png'), (130, 'Antananarivo', 'Malagasy', '450', 'ariary', 'MGA', 'iraimbilanja (inv.)', 'MGA', 2, 'Republic of Madagascar', 'MG', 'MDG', 'Madagascar', '002', '014', 0, '261', 'MG.png'), (131, 'Lilongwe', 'Malawian', '454', 'Malawian kwacha (inv.)', 'MWK', 'tambala (inv.)', 'MK', 2, 'Republic of Malawi', 'MW', 'MWI', 'Malawi', '002', '014', 0, '265', 'MW.png'), (132, '<NAME> (MY1)', 'Malaysian', '458', 'ringgit (inv.)', 'MYR', 'sen (inv.)', 'RM', 2, 'Malaysia', 'MY', 'MYS', 'Malaysia', '142', '035', 0, '60', 'MY.png'), (133, 'Malé', 'Maldivian', '462', 'rufiyaa', 'MVR', 'laari (inv.)', 'Rf', 2, 'Republic of Maldives', 'MV', 'MDV', 'Maldives', '142', '034', 0, '960', 'MV.png'), (134, 'Bamako', 'Malian', '466', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Republic of Mali', 'ML', 'MLI', 'Mali', '002', '011', 0, '223', 'ML.png'), (135, 'Valletta', 'Maltese', '470', 'euro', 'EUR', 'cent', 'MTL', 2, 'Republic of Malta', 'MT', 'MLT', 'Malta', '150', '039', 1, '356', 'MT.png'), (136, 'Fort-de-France', 'Martinican', '474', 'euro', 'EUR', 'cent', '€', 2, 'Martinique', 'MQ', 'MTQ', 'Martinique', '019', '029', 0, '596', 'MQ.png'), (137, 'Nouakchott', 'Mauritanian', '478', 'ouguiya', 'MRO', 'khoum', 'UM', 2, 'Islamic Republic of Mauritania', 'MR', 'MRT', 'Mauritania', '002', '011', 0, '222', 'MR.png'), (138, 'Port Louis', 'Mauritian', '480', 'Mauritian rupee', 'MUR', 'cent', '₨', 2, 'Republic of Mauritius', 'MU', 'MUS', 'Mauritius', '002', '014', 0, '230', 'MU.png'), (139, 'Mexico City', 'Mexican', '484', 'Mexican peso', 'MXN', 'centavo', '$', 2, 'United Mexican States', 'MX', 'MEX', 'Mexico', '019', '013', 0, '52', 'MX.png'), (140, 'Monaco', 'Monegasque', '492', 'euro', 'EUR', 'cent', '€', 2, 'Principality of Monaco', 'MC', 'MCO', 'Monaco', '150', '155', 0, '377', 'MC.png'), (141, '<NAME>', 'Mongolian', '496', 'tugrik', 'MNT', 'möngö (inv.)', '₮', 2, 'Mongolia', 'MN', 'MNG', 'Mongolia', '142', '030', 0, '976', 'MN.png'), (142, 'Chisinau', 'Moldovan', '498', 'Moldovan leu (pl. lei)', 'MDL', 'ban', 'MDL', 2, 'Republic of Moldova', 'MD', 'MDA', 'Moldova, Republic of', '150', '151', 0, '373', 'MD.png'), (143, 'Podgorica', 'Montenegrin', '499', 'euro', 'EUR', 'cent', '€', 2, 'Montenegro', 'ME', 'MNE', 'Montenegro', '150', '039', 0, '382', 'ME.png'), (144, 'Plymouth (MS2)', 'Montserratian', '500', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Montserrat', 'MS', 'MSR', 'Montserrat', '019', '029', 0, '1', 'MS.png'), (145, 'Rabat', 'Moroccan', '504', 'Moroccan dirham', 'MAD', 'centime', 'MAD', 2, 'Kingdom of Morocco', 'MA', 'MAR', 'Morocco', '002', '015', 0, '212', 'MA.png'), (146, 'Maputo', 'Mozambican', '508', 'metical', 'MZN', 'centavo', 'MT', 2, 'Republic of Mozambique', 'MZ', 'MOZ', 'Mozambique', '002', '014', 0, '258', 'MZ.png'), (147, 'Muscat', 'Omani', '512', 'Omani rial', 'OMR', 'baiza', '﷼', 3, 'Sultanate of Oman', 'OM', 'OMN', 'Oman', '142', '145', 0, '968', 'OM.png'), (148, 'Windhoek', 'Namibian', '516', 'Namibian dollar', 'NAD', 'cent', '$', 2, 'Republic of Namibia', 'NA', 'NAM', 'Namibia', '002', '018', 0, '264', 'NA.png'), (149, 'Yaren', 'Nauruan', '520', 'Australian dollar', 'AUD', 'cent', '$', 2, 'Republic of Nauru', 'NR', 'NRU', 'Nauru', '009', '057', 0, '674', 'NR.png'), (150, 'Kathmandu', 'Nepalese', '524', 'Nepalese rupee', 'NPR', 'paisa (inv.)', '₨', 2, 'Nepal', 'NP', 'NPL', 'Nepal', '142', '034', 0, '977', 'NP.png'), (151, 'Amsterdam (NL2)', 'Dutch', '528', 'euro', 'EUR', 'cent', '€', 2, 'Kingdom of the Netherlands', 'NL', 'NLD', 'Netherlands', '150', '155', 1, '31', 'NL.png'), (152, 'Willemstad', 'Curaçaoan', '531', 'Netherlands Antillean guilder (CW1)', 'ANG', 'cent', NULL, NULL, 'Curaçao', 'CW', 'CUW', 'Curaçao', '019', '029', 0, '599', NULL), (153, 'Oranjestad', 'Aruban', '533', 'Aruban guilder', 'AWG', 'cent', 'ƒ', 2, 'Aruba', 'AW', 'ABW', 'Aruba', '019', '029', 0, '297', 'AW.png'), (154, 'Philipsburg', 'Sint Maartener', '534', 'Netherlands Antillean guilder (SX1)', 'ANG', 'cent', NULL, NULL, 'Sint Maarten', 'SX', 'SXM', 'Sint Maarten (Dutch part)', '019', '029', 0, '721', NULL), (155, NULL, 'of Bonaire, Sint Eustatius and Saba', '535', 'US dollar', 'USD', 'cent', NULL, NULL, NULL, 'BQ', 'BES', 'Bonaire, Sint Eustatius and Saba', '019', '029', 0, '599', NULL), (156, 'Nouméa', 'New Caledonian', '540', 'CFP franc', 'XPF', 'centime', 'XPF', 0, 'New Caledonia', 'NC', 'NCL', 'New Caledonia', '009', '054', 0, '687', 'NC.png'), (157, 'Port Vila', 'Vanuatuan', '548', 'vatu (inv.)', 'VUV', '', 'Vt', 0, 'Republic of Vanuatu', 'VU', 'VUT', 'Vanuatu', '009', '054', 0, '678', 'VU.png'), (158, 'Wellington', 'New Zealander', '554', 'New Zealand dollar', 'NZD', 'cent', '$', 2, 'New Zealand', 'NZ', 'NZL', 'New Zealand', '009', '053', 0, '64', 'NZ.png'), (159, 'Managua', 'Nicaraguan', '558', 'córdoba oro', 'NIO', 'centavo', 'C$', 2, 'Republic of Nicaragua', 'NI', 'NIC', 'Nicaragua', '019', '013', 0, '505', 'NI.png'), (160, 'Niamey', 'Nigerien', '562', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Republic of Niger', 'NE', 'NER', 'Niger', '002', '011', 0, '227', 'NE.png'), (161, 'Abuja', 'Nigerian', '566', 'naira (inv.)', 'NGN', 'kobo (inv.)', '₦', 2, 'Federal Republic of Nigeria', 'NG', 'NGA', 'Nigeria', '002', '011', 0, '234', 'NG.png'), (162, 'Alofi', 'Niuean', '570', 'New Zealand dollar', 'NZD', 'cent', '$', 2, 'Niue', 'NU', 'NIU', 'Niue', '009', '061', 0, '683', 'NU.png'), (163, 'Kingston', 'Norfolk Islander', '574', 'Australian dollar', 'AUD', 'cent', '$', 2, 'Territory of Norfolk Island', 'NF', 'NFK', 'Norfolk Island', '009', '053', 0, '672', 'NF.png'), (164, 'Oslo', 'Norwegian', '578', 'Norwegian krone (pl. kroner)', 'NOK', 'øre (inv.)', 'kr', 2, 'Kingdom of Norway', 'NO', 'NOR', 'Norway', '150', '154', 1, '47', 'NO.png'), (165, 'Saipan', 'Northern Mariana Islander', '580', 'US dollar', 'USD', 'cent', '$', 2, 'Commonwealth of the Northern Mariana Islands', 'MP', 'MNP', 'Northern Mariana Islands', '009', '057', 0, '1', 'MP.png'), (166, 'United States Minor Outlying Islands', 'of United States Minor Outlying Islands', '581', 'US dollar', 'USD', 'cent', '$', 2, 'United States Minor Outlying Islands', 'UM', 'UMI', 'United States Minor Outlying Islands', '', '', 0, '1', 'UM.png'), (167, 'Palikir', 'Micronesian', '583', 'US dollar', 'USD', 'cent', '$', 2, 'Federated States of Micronesia', 'FM', 'FSM', 'Micronesia, Federated States of', '009', '057', 0, '691', 'FM.png'), (168, 'Majuro', 'Marshallese', '584', 'US dollar', 'USD', 'cent', '$', 2, 'Republic of the Marshall Islands', 'MH', 'MHL', 'Marshall Islands', '009', '057', 0, '692', 'MH.png'), (169, 'Melekeok', 'Palauan', '585', 'US dollar', 'USD', 'cent', '$', 2, 'Republic of Palau', 'PW', 'PLW', 'Palau', '009', '057', 0, '680', 'PW.png'), (170, 'Islamabad', 'Pakistani', '586', 'Pakistani rupee', 'PKR', 'paisa', '₨', 2, 'Islamic Republic of Pakistan', 'PK', 'PAK', 'Pakistan', '142', '034', 0, '92', 'PK.png'), (171, 'Panama City', 'Panamanian', '591', 'balboa', 'PAB', 'centésimo', 'B/.', 2, 'Republic of Panama', 'PA', 'PAN', 'Panama', '019', '013', 0, '507', 'PA.png'), (172, 'Port Moresby', 'Papua New Guinean', '598', 'kina (inv.)', 'PGK', 'toea (inv.)', 'PGK', 2, 'Independent State of Papua New Guinea', 'PG', 'PNG', 'Papua New Guinea', '009', '054', 0, '675', 'PG.png'), (173, 'Asunción', 'Paraguayan', '600', 'guaraní', 'PYG', 'céntimo', 'Gs', 0, 'Republic of Paraguay', 'PY', 'PRY', 'Paraguay', '019', '005', 0, '595', 'PY.png'), (174, 'Lima', 'Peruvian', '604', 'new sol', 'PEN', 'céntimo', 'S/.', 2, 'Republic of Peru', 'PE', 'PER', 'Peru', '019', '005', 0, '51', 'PE.png'), (175, 'Manila', 'Filipino', '608', 'Philippine peso', 'PHP', 'centavo', 'Php', 2, 'Republic of the Philippines', 'PH', 'PHL', 'Philippines', '142', '035', 0, '63', 'PH.png'), (176, 'Adamstown', 'Pitcairner', '612', 'New Zealand dollar', 'NZD', 'cent', '$', 2, 'Pitcairn Islands', 'PN', 'PCN', 'Pitcairn', '009', '061', 0, '649', 'PN.png'), (177, 'Warsaw', 'Polish', '616', 'zloty', 'PLN', 'grosz (pl. groszy)', 'zł', 2, 'Republic of Poland', 'PL', 'POL', 'Poland', '150', '151', 1, '48', 'PL.png'), (178, 'Lisbon', 'Portuguese', '620', 'euro', 'EUR', 'cent', '€', 2, 'Portuguese Republic', 'PT', 'PRT', 'Portugal', '150', '039', 1, '351', 'PT.png'), (179, 'Bissau', 'Guinea-Bissau national', '624', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Republic of Guinea-Bissau', 'GW', 'GNB', 'Guinea-Bissau', '002', '011', 0, '245', 'GW.png'), (180, 'Dili', 'East Timorese', '626', 'US dollar', 'USD', 'cent', '$', 2, 'Democratic Republic of East Timor', 'TL', 'TLS', 'Timor-Leste', '142', '035', 0, '670', 'TL.png'), (181, 'San Juan', 'Puerto Rican', '630', 'US dollar', 'USD', 'cent', '$', 2, 'Commonwealth of Puerto Rico', 'PR', 'PRI', 'Puerto Rico', '019', '029', 0, '1', 'PR.png'), (182, 'Doha', 'Qatari', '634', 'Qatari riyal', 'QAR', 'dirham', '﷼', 2, 'State of Qatar', 'QA', 'QAT', 'Qatar', '142', '145', 0, '974', 'QA.png'), (183, 'Saint-Denis', 'Reunionese', '638', 'euro', 'EUR', 'cent', '€', 2, 'Réunion', 'RE', 'REU', 'Réunion', '002', '014', 0, '262', 'RE.png'), (184, 'Bucharest', 'Romanian', '642', 'Romanian leu (pl. lei)', 'RON', 'ban (pl. bani)', 'lei', 2, 'Romania', 'RO', 'ROU', 'Romania', '150', '151', 1, '40', 'RO.png'), (185, 'Moscow', 'Russian', '643', 'Russian rouble', 'RUB', 'kopek', 'руб', 2, 'Russian Federation', 'RU', 'RUS', 'Russian Federation', '150', '151', 0, '7', 'RU.png'), (186, 'Kigali', 'Rwandan; Rwandese', '646', 'Rwandese franc', 'RWF', 'centime', 'RWF', 0, 'Republic of Rwanda', 'RW', 'RWA', 'Rwanda', '002', '014', 0, '250', 'RW.png'), (187, 'Gustavia', 'of Saint Barthélemy', '652', 'euro', 'EUR', 'cent', NULL, NULL, 'Collectivity of Saint Barthélemy', 'BL', 'BLM', 'Saint Barthélemy', '019', '029', 0, '590', NULL), (188, 'Jamestown', 'Saint Helenian', '654', 'Saint Helena pound', 'SHP', 'penny', '£', 2, 'Saint Helena, Ascension and Tristan da Cunha', 'SH', 'SHN', 'Saint Helena, Ascension and Tristan da Cunha', '002', '011', 0, '290', 'SH.png'), (189, 'Basseterre', 'Kittsian; Nevisian', '659', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Federation of Saint Kitts and Nevis', 'KN', 'KNA', 'Saint Kitts and Nevis', '019', '029', 0, '1', 'KN.png'), (190, 'The Valley', 'Anguillan', '660', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Anguilla', 'AI', 'AIA', 'Anguilla', '019', '029', 0, '1', 'AI.png'), (191, 'Castries', 'Saint Lucian', '662', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Saint Lucia', 'LC', 'LCA', 'Saint Lucia', '019', '029', 0, '1', 'LC.png'), (192, 'Marigot', 'of Saint Martin', '663', 'euro', 'EUR', 'cent', NULL, NULL, 'Collectivity of Saint Martin', 'MF', 'MAF', 'Saint Martin (French part)', '019', '029', 0, '590', NULL), (193, 'Saint-Pierre', 'St-Pierrais; Miquelonnais', '666', 'euro', 'EUR', 'cent', '€', 2, 'Territorial Collectivity of Saint Pierre and Miquelon', 'PM', 'SPM', 'Saint Pierre and Miquelon', '019', '021', 0, '508', 'PM.png'), (194, 'Kingstown', 'Vincentian', '670', 'East Caribbean dollar', 'XCD', 'cent', '$', 2, 'Saint Vincent and the Grenadines', 'VC', 'VCT', 'Saint Vincent and the Grenadines', '019', '029', 0, '1', 'VC.png'), (195, 'San Marino', 'San Marinese', '674', 'euro', 'EUR ', 'cent', '€', 2, 'Republic of San Marino', 'SM', 'SMR', 'San Marino', '150', '039', 0, '378', 'SM.png'), (196, 'São Tomé', 'São Toméan', '678', 'dobra', 'STD', 'centavo', 'Db', 2, 'Democratic Republic of São Tomé and Príncipe', 'ST', 'STP', 'Sao Tome and Principe', '002', '017', 0, '239', 'ST.png'), (197, 'Riyadh', 'Saudi Arabian', '682', 'riyal', 'SAR', 'halala', '﷼', 2, 'Kingdom of Saudi Arabia', 'SA', 'SAU', 'Saudi Arabia', '142', '145', 0, '966', 'SA.png'), (198, 'Dakar', 'Senegalese', '686', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Republic of Senegal', 'SN', 'SEN', 'Senegal', '002', '011', 0, '221', 'SN.png'), (199, 'Belgrade', 'Serb', '688', 'Serbian dinar', 'RSD', 'para (inv.)', NULL, NULL, 'Republic of Serbia', 'RS', 'SRB', 'Serbia', '150', '039', 0, '381', NULL), (200, 'Victoria', 'Seychellois', '690', 'Seychelles rupee', 'SCR', 'cent', '₨', 2, 'Republic of Seychelles', 'SC', 'SYC', 'Seychelles', '002', '014', 0, '248', 'SC.png'), (201, 'Freetown', 'Sierra Leonean', '694', 'leone', 'SLL', 'cent', 'Le', 2, 'Republic of Sierra Leone', 'SL', 'SLE', 'Sierra Leone', '002', '011', 0, '232', 'SL.png'), (202, 'Singapore', 'Singaporean', '702', 'Singapore dollar', 'SGD', 'cent', '$', 2, 'Republic of Singapore', 'SG', 'SGP', 'Singapore', '142', '035', 0, '65', 'SG.png'), (203, 'Bratislava', 'Slovak', '703', 'euro', 'EUR', 'cent', 'Sk', 2, 'Slovak Republic', 'SK', 'SVK', 'Slovakia', '150', '151', 1, '421', 'SK.png'), (204, 'Hanoi', 'Vietnamese', '704', 'dong', 'VND', '(10 hào', '₫', 2, 'Socialist Republic of Vietnam', 'VN', 'VNM', 'Viet Nam', '142', '035', 0, '84', 'VN.png'), (205, 'Ljubljana', 'Slovene', '705', 'euro', 'EUR', 'cent', '€', 2, 'Republic of Slovenia', 'SI', 'SVN', 'Slovenia', '150', '039', 1, '386', 'SI.png'), (206, 'Mogadishu', 'Somali', '706', 'Somali shilling', 'SOS', 'cent', 'S', 2, 'Somali Republic', 'SO', 'SOM', 'Somalia', '002', '014', 0, '252', 'SO.png'), (207, 'Pretoria (ZA1)', 'South African', '710', 'rand', 'ZAR', 'cent', 'R', 2, 'Republic of South Africa', 'ZA', 'ZAF', 'South Africa', '002', '018', 0, '27', 'ZA.png'), (208, 'Harare', 'Zimbabwean', '716', 'Zimbabwe dollar (ZW1)', 'ZWL', 'cent', 'Z$', 2, 'Republic of Zimbabwe', 'ZW', 'ZWE', 'Zimbabwe', '002', '014', 0, '263', 'ZW.png'), (209, 'Madrid', 'Spaniard', '724', 'euro', 'EUR', 'cent', '€', 2, 'Kingdom of Spain', 'ES', 'ESP', 'Spain', '150', '039', 1, '34', 'ES.png'), (210, 'Juba', 'South Sudanese', '728', 'South Sudanese pound', 'SSP', 'piaster', NULL, NULL, 'Republic of South Sudan', 'SS', 'SSD', 'South Sudan', '002', '015', 0, '211', NULL), (211, 'Khartoum', 'Sudanese', '729', 'Sudanese pound', 'SDG', 'piastre', NULL, NULL, 'Republic of the Sudan', 'SD', 'SDN', 'Sudan', '002', '015', 0, '249', NULL), (212, 'Al aaiun', 'Sahrawi', '732', 'Moroccan dirham', 'MAD', 'centime', 'MAD', 2, 'Western Sahara', 'EH', 'ESH', 'Western Sahara', '002', '015', 0, '212', 'EH.png'), (213, 'Paramaribo', 'Surinamese', '740', 'Surinamese dollar', 'SRD', 'cent', '$', 2, 'Republic of Suriname', 'SR', 'SUR', 'Suriname', '019', '005', 0, '597', 'SR.png'), (214, 'Longyearbyen', 'of Svalbard', '744', 'Norwegian krone (pl. kroner)', 'NOK', 'øre (inv.)', 'kr', 2, 'Svalbard and <NAME>', 'SJ', 'SJM', 'Svalbard and <NAME>', '150', '154', 0, '47', 'SJ.png'), (215, 'Mbabane', 'Swazi', '748', 'lilangeni', 'SZL', 'cent', 'SZL', 2, 'Kingdom of Swaziland', 'SZ', 'SWZ', 'Swaziland', '002', '018', 0, '268', 'SZ.png'), (216, 'Stockholm', 'Swedish', '752', 'krona (pl. kronor)', 'SEK', 'öre (inv.)', 'kr', 2, 'Kingdom of Sweden', 'SE', 'SWE', 'Sweden', '150', '154', 1, '46', 'SE.png'), (217, 'Berne', 'Swiss', '756', 'Swiss franc', 'CHF', 'centime', 'CHF', 2, 'Swiss Confederation', 'CH', 'CHE', 'Switzerland', '150', '155', 1, '41', 'CH.png'), (218, 'Damascus', 'Syrian', '760', 'Syrian pound', 'SYP', 'piastre', '£', 2, 'Syrian Arab Republic', 'SY', 'SYR', 'Syrian Arab Republic', '142', '145', 0, '963', 'SY.png'), (219, 'Dushanbe', 'Tajik', '762', 'somoni', 'TJS', 'diram', 'TJS', 2, 'Republic of Tajikistan', 'TJ', 'TJK', 'Tajikistan', '142', '143', 0, '992', 'TJ.png'), (220, 'Bangkok', 'Thai', '764', 'baht (inv.)', 'THB', 'satang (inv.)', '฿', 2, 'Kingdom of Thailand', 'TH', 'THA', 'Thailand', '142', '035', 0, '66', 'TH.png'), (221, 'Lomé', 'Togolese', '768', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Togolese Republic', 'TG', 'TGO', 'Togo', '002', '011', 0, '228', 'TG.png'), (222, '(TK2)', 'Tokelauan', '772', 'New Zealand dollar', 'NZD', 'cent', '$', 2, 'Tokelau', 'TK', 'TKL', 'Tokelau', '009', '061', 0, '690', 'TK.png'), (223, 'Nuku’alofa', 'Tongan', '776', 'pa’anga (inv.)', 'TOP', 'seniti (inv.)', 'T$', 2, 'Kingdom of Tonga', 'TO', 'TON', 'Tonga', '009', '061', 0, '676', 'TO.png'), (224, 'Port of Spain', 'Trinidadian; Tobagonian', '780', 'Trinidad and Tobago dollar', 'TTD', 'cent', 'TT$', 2, 'Republic of Trinidad and Tobago', 'TT', 'TTO', 'Trinidad and Tobago', '019', '029', 0, '1', 'TT.png'), (225, '<NAME>', 'Emirian', '784', 'UAE dirham', 'AED', 'fils (inv.)', 'AED', 2, 'United Arab Emirates', 'AE', 'ARE', 'United Arab Emirates', '142', '145', 0, '971', 'AE.png'), (226, 'Tunis', 'Tunisian', '788', 'Tunisian dinar', 'TND', 'millime', 'TND', 3, 'Republic of Tunisia', 'TN', 'TUN', 'Tunisia', '002', '015', 0, '216', 'TN.png'), (227, 'Ankara', 'Turk', '792', 'Turkish lira (inv.)', 'TRY', 'kurus (inv.)', '₺', 2, 'Republic of Turkey', 'TR', 'TUR', 'Turkey', '142', '145', 0, '90', 'TR.png'), (228, 'Ashgabat', 'Turkmen', '795', 'Turkmen manat (inv.)', 'TMT', 'tenge (inv.)', 'm', 2, 'Turkmenistan', 'TM', 'TKM', 'Turkmenistan', '142', '143', 0, '993', 'TM.png'), (229, 'Cockburn Town', 'Turks and Caicos Islander', '796', 'US dollar', 'USD', 'cent', '$', 2, 'Turks and Caicos Islands', 'TC', 'TCA', 'Turks and Caicos Islands', '019', '029', 0, '1', 'TC.png'), (230, 'Funafuti', 'Tuvaluan', '798', 'Australian dollar', 'AUD', 'cent', '$', 2, 'Tuvalu', 'TV', 'TUV', 'Tuvalu', '009', '061', 0, '688', 'TV.png'), (231, 'Kampala', 'Ugandan', '800', 'Uganda shilling', 'UGX', 'cent', 'UGX', 0, 'Republic of Uganda', 'UG', 'UGA', 'Uganda', '002', '014', 0, '256', 'UG.png'), (232, 'Kiev', 'Ukrainian', '804', 'hryvnia', 'UAH', 'kopiyka', '₴', 2, 'Ukraine', 'UA', 'UKR', 'Ukraine', '150', '151', 0, '380', 'UA.png'), (233, 'Skopje', 'of the former Yugoslav Republic of Macedonia', '807', 'denar (pl. denars)', 'MKD', 'deni (inv.)', 'ден', 2, 'the former Yugoslav Republic of Macedonia', 'MK', 'MKD', 'Macedonia, the former Yugoslav Republic of', '150', '039', 0, '389', 'MK.png'), (234, 'Cairo', 'Egyptian', '818', 'Egyptian pound', 'EGP', 'piastre', '£', 2, 'Arab Republic of Egypt', 'EG', 'EGY', 'Egypt', '002', '015', 0, '20', 'EG.png'), (235, 'London', 'British', '826', 'pound sterling', 'GBP', 'penny (pl. pence)', '£', 2, 'United Kingdom of Great Britain and Northern Ireland', 'GB', 'GBR', 'United Kingdom', '150', '154', 1, '44', 'GB.png'), (236, 'St <NAME>', 'of Guernsey', '831', 'Guernsey pound (GG2)', 'GGP (GG2)', 'penny (pl. pence)', NULL, NULL, 'Bailiwick of Guernsey', 'GG', 'GGY', 'Guernsey', '150', '154', 0, '44', NULL), (237, 'St Helier', 'of Jersey', '832', 'Jersey pound (JE2)', 'JEP (JE2)', 'penny (pl. pence)', NULL, NULL, 'Bailiwick of Jersey', 'JE', 'JEY', 'Jersey', '150', '154', 0, '44', NULL), (238, 'Douglas', 'Manxman; Manxwoman', '833', 'Manx pound (IM2)', 'IMP (IM2)', 'penny (pl. pence)', NULL, NULL, 'Isle of Man', 'IM', 'IMN', 'Isle of Man', '150', '154', 0, '44', NULL), (239, 'Dodoma (TZ1)', 'Tanzanian', '834', 'Tanzanian shilling', 'TZS', 'cent', 'TZS', 2, 'United Republic of Tanzania', 'TZ', 'TZA', 'Tanzania, United Republic of', '002', '014', 0, '255', 'TZ.png'), (240, 'Washington DC', 'American', '840', 'US dollar', 'USD', 'cent', '$', 2, 'United States of America', 'US', 'USA', 'United States', '019', '021', 0, '1', 'US.png'), (241, 'Charlotte Amalie', 'US Virgin Islander', '850', 'US dollar', 'USD', 'cent', '$', 2, 'United States Virgin Islands', 'VI', 'VIR', 'Virgin Islands, U.S.', '019', '029', 0, '1', 'VI.png'), (242, 'Ouagadougou', 'Burkinabe', '854', 'CFA franc (BCEAO)', 'XOF', 'centime', 'XOF', 0, 'Burkina Faso', 'BF', 'BFA', 'Burkina Faso', '002', '011', 0, '226', 'BF.png'), (243, 'Montevideo', 'Uruguayan', '858', 'Uruguayan peso', 'UYU', 'centésimo', '$U', 0, 'Eastern Republic of Uruguay', 'UY', 'URY', 'Uruguay', '019', '005', 0, '598', 'UY.png'), (244, 'Tashkent', 'Uzbek', '860', 'sum (inv.)', 'UZS', 'tiyin (inv.)', 'лв', 2, 'Republic of Uzbekistan', 'UZ', 'UZB', 'Uzbekistan', '142', '143', 0, '998', 'UZ.png'), (245, 'Caracas', 'Venezuelan', '862', 'bolívar fuerte (pl. bolívares fuertes)', 'VEF', 'céntimo', 'Bs', 2, 'Bolivarian Republic of Venezuela', 'VE', 'VEN', 'Venezuela, Bolivarian Republic of', '019', '005', 0, '58', 'VE.png'), (246, 'Mata-Utu', 'Wallisian; Futunan; Wallis and Futuna Islander', '876', 'CFP franc', 'XPF', 'centime', 'XPF', 0, 'Wallis and Futuna', 'WF', 'WLF', 'Wallis and Futuna', '009', '061', 0, '681', 'WF.png'), (247, 'Apia', 'Samoan', '882', 'tala (inv.)', 'WST', 'sene (inv.)', 'WS$', 2, 'Independent State of Samoa', 'WS', 'WSM', 'Samoa', '009', '061', 0, '685', 'WS.png'), (248, 'San’a', 'Yemenite', '887', 'Yemeni rial', 'YER', 'fils (inv.)', '﷼', 2, 'Republic of Yemen', 'YE', 'YEM', 'Yemen', '142', '145', 0, '967', 'YE.png'), (249, 'Lusaka', 'Zambian', '894', 'Zambian kwacha (inv.)', 'ZMW', 'ngwee (inv.)', 'ZK', 2, 'Republic of Zambia', 'ZM', 'ZMB', 'Zambia', '002', '014', 0, '260', 'ZM.png'); -- -------------------------------------------------------- -- -- Table structure for table `faqs` -- DROP TABLE IF EXISTS `faqs`; CREATE TABLE `faqs` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `campaign_id` int(11) DEFAULT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `faqs` -- INSERT INTO `faqs` (`id`, `user_id`, `campaign_id`, `title`, `description`, `created_at`, `updated_at`) VALUES (1, 1, 2, 'Will you need any more donation', 'No, We have no need any more donation, Updated', '2017-03-25 11:59:12', '2017-03-25 12:10:49'), (3, 1, 2, 'A lot happened in the past 48 hours.', 'Dear Supporters,\r\n\r\nYou have helped us hit the goal! Now we believe that we have a product worth making and it\'s going to bring a lot of fun into the world. Each of you are a big part of what made this possible!\r\n\r\nWe will keep updating everyone all latest news and announcements about our progress and plans. Please do not hesitate to let us know if you have any questions or concerns, and we will be do our best to provide answers as soon as possible.', '2017-03-25 12:16:49', '2017-03-25 12:16:49'), (4, 1, 1, 'How you will deliver it', 'We will delivery it by air', '2017-03-25 13:31:56', '2017-03-25 13:31:56'), (5, 1, 1, 'Is it secure?', 'Yes, its fully secure and you can trust us', '2017-03-25 13:32:21', '2017-03-25 13:32:21'), (6, 6, 9, 'Q1: Lorem Ipsum is simply dummy text of', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry', '2017-04-09 13:07:23', '2017-04-09 13:07:23'), (7, 6, 9, 'Q2: Lorem Ipsum is simply dummy text of the printing.', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\n\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry', '2017-04-09 13:07:38', '2017-04-09 13:07:38'), (8, 6, 9, 'Q3', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\n\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry\r\n\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry', '2017-04-09 13:07:48', '2017-04-09 13:07:48'), (9, 6, 9, 'Q4: Lorem Ipsum is simply dummy text of the printing and typesettin.', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry', '2017-04-09 13:08:03', '2017-04-09 13:08:03'), (10, 5, 16, 'When it will be arrived?', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.', '2018-05-22 14:45:20', '2018-05-22 14:45:20'), (11, 5, 16, 'What about supports after getting it?', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.', '2018-05-22 14:45:33', '2018-05-22 14:46:01'), (12, 5, 16, 'It will be world wide available?', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.', '2018-05-22 14:45:44', '2018-05-22 14:45:44'), (13, 5, 16, 'Can I sale it after getting one from you?', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.', '2018-05-22 14:49:26', '2018-05-22 14:49:26'), (14, 5, 16, 'What about build quality?', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.', '2018-05-22 14:49:38', '2018-05-22 14:49:38'), (15, 5, 16, 'Do i need coffee bean to make coffee in this machine?', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.', '2018-05-22 14:49:56', '2018-05-22 14:49:56'); -- -------------------------------------------------------- -- -- Table structure for table `media` -- DROP TABLE IF EXISTS `media`; CREATE TABLE `media` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug_ext` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `file_size` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mime_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `sort_order` int(11) DEFAULT '0', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `media` -- INSERT INTO `media` (`id`, `user_id`, `name`, `slug`, `slug_ext`, `file_size`, `mime_type`, `sort_order`, `created_at`, `updated_at`) VALUES (2, 6, 'cofee-maker.jpg', 'cofee-maker', 'cofee-maker.jpg', '67627', 'image/jpeg', 0, '2018-05-06 12:19:05', '2018-05-06 12:19:05'), (3, 6, 'penknife-pocket-knife-blade-serrated-37863.jpeg', 'penknife-pocket-knife-blade-serrated-37863', 'penknife-pocket-knife-blade-serrated-37863.jpeg', '132982', 'image/jpeg', 0, '2018-05-06 12:26:07', '2018-05-06 12:26:07'), (4, 6, 'analog-clock.png', 'analog-clock', 'analog-clock.png', '797751', 'image/png', 0, '2018-05-08 13:32:01', '2018-05-08 13:32:01'), (5, 6, 'analog-clock-2.png', 'analog-clock-2', 'analog-clock-2.png', '315927', 'image/png', 0, '2018-05-08 13:34:18', '2018-05-08 13:34:18'), (6, 6, 'logo.png', 'logo', 'logo.png', '10182', 'image/png', 0, '2018-05-14 11:57:26', '2018-05-14 11:57:26'), (7, 6, 'cookie.jpg', 'cookie', 'cookie.jpg', '50138', 'image/jpeg', 0, '2018-05-14 12:49:09', '2018-05-14 12:49:09'), (9, 6, 'profile-photo-female.png', 'profile-photo-female', 'profile-photo-female.png', '29208', 'image/png', 0, '2018-05-14 13:25:57', '2018-05-14 13:25:57'), (10, 6, 'bear-2203644_1280.jpg', 'bear-2203644-1280', 'bear-2203644-1280.jpg', '507785', 'image/jpeg', 0, '2018-05-18 14:31:03', '2018-05-18 14:31:03'), (11, 6, 'home-tv-stand-shelves_925x.jpg', 'home-tv-stand-shelves-925x', 'home-tv-stand-shelves-925x.jpg', '40292', 'image/jpeg', 0, '2018-05-18 14:33:32', '2018-05-18 14:33:32'), (12, 5, 'irobot.jpeg', 'irobot', 'irobot.jpeg', '157143', 'image/jpeg', 0, '2018-05-19 12:06:19', '2018-05-19 12:06:19'), (16, 5, 'coffee-maker.png', 'coffee-maker', 'coffee-maker.png', '343773', 'image/png', 0, '2018-05-20 12:52:33', '2018-05-20 12:52:33'), (17, 5, 'clock-1850066_1280.jpg', 'clock-1850066-1280', 'clock-1850066-1280.jpg', '211191', 'image/jpeg', 0, '2018-05-20 12:54:39', '2018-05-20 12:54:39'), (18, 5, 'coffee-802057_1280.jpg', 'coffee-802057-1280', 'coffee-802057-1280.jpg', '206736', 'image/jpeg', 0, '2018-05-20 12:54:39', '2018-05-20 12:54:39'), (19, 5, 'profile-photo.jpg', 'profile-photo', 'profile-photo.jpg', '18714', 'image/jpeg', 0, '2018-05-20 13:09:09', '2018-05-20 13:09:09'), (20, 6, 'powerful-tab.jpg', 'powerful-tab', 'powerful-tab.jpg', '374289', 'image/jpeg', 0, '2018-05-22 12:17:36', '2018-05-22 12:17:36'), (21, 6, 'pexels-photo-458976.jpeg', 'pexels-photo-458976', 'pexels-photo-458976.jpeg', '228081', 'image/jpeg', 0, '2018-05-22 12:27:28', '2018-05-22 12:27:28'), (22, 6, 'animal-1.jpeg', 'animal-1', 'animal-1.jpeg', '93027', 'image/jpeg', 0, '2018-05-22 12:28:01', '2018-05-22 12:28:01'), (23, 6, 'animal-2.jpeg', 'animal-2', 'animal-2.jpeg', '132829', 'image/jpeg', 0, '2018-05-22 12:28:02', '2018-05-22 12:28:02'), (24, 1, 'children.jpg', 'children', 'children.jpg', '401174', 'image/jpeg', 0, '2018-05-22 12:31:56', '2018-05-22 12:31:56'), (25, 1, 'child-3.jpg', 'child-3', 'child-3.jpg', '310012', 'image/jpeg', 0, '2018-05-22 12:53:27', '2018-05-22 12:53:27'), (26, 1, 'childs-2.jpg', 'childs-2', 'childs-2.jpg', '352246', 'image/jpeg', 0, '2018-05-22 12:53:28', '2018-05-22 12:53:28'), (28, 1, 'bavarian-forest.jpg', 'bavarian-forest', 'bavarian-forest.jpg', '475945', 'image/jpeg', 0, '2018-05-22 13:07:06', '2018-05-22 13:07:06'), (29, 1, 'new-food.jpg', 'new-food', 'new-food.jpg', '337035', 'image/jpeg', 0, '2018-05-22 13:33:12', '2018-05-22 13:33:12'), (31, 1, 'people.jpg', 'people', 'people.jpg', '286024', 'image/jpeg', 0, '2018-05-22 13:48:12', '2018-05-22 13:48:12'), (32, 1, 'poor-homeless.jpg', 'poor-homeless', 'poor-homeless.jpg', '191546', 'image/jpeg', 0, '2018-05-22 13:48:13', '2018-05-22 13:48:13'), (36, 5, 'old-car.jpg', 'old-car', 'old-car.jpg', '599935', 'image/jpeg', 0, '2018-05-22 13:55:15', '2018-05-22 13:55:15'), (37, 5, 'old-car-2.jpg', 'old-car-2', 'old-car-2.jpg', '519733', 'image/jpeg', 0, '2018-05-22 13:55:16', '2018-05-22 13:55:16'), (38, 5, 'old-yello-car.jpeg', 'old-yello-car', 'old-yello-car.jpeg', '336414', 'image/jpeg', 0, '2018-05-22 13:55:16', '2018-05-22 13:55:16'), (39, 5, 'telescope-2127704_1280.jpg', 'telescope-2127704-1280', 'telescope-2127704-1280.jpg', '123176', 'image/jpeg', 0, '2018-05-22 14:00:56', '2018-05-22 14:00:56'), (40, 5, 'injection.jpeg', 'injection', 'injection.jpeg', '70134', 'image/jpeg', 0, '2018-05-22 14:07:55', '2018-05-22 14:07:55'), (41, 5, 'office-tobs.jpeg', 'office-tobs', 'office-tobs.jpeg', '147747', 'image/jpeg', 0, '2018-05-22 14:16:26', '2018-05-22 14:16:26'), (42, 5, 'pets-healthy.jpeg', 'pets-healthy', 'pets-healthy.jpeg', '118943', 'image/jpeg', 0, '2018-05-22 14:22:04', '2018-05-22 14:22:04'), (43, 5, 'pexels-photo-296888.jpeg', 'pexels-photo-296888', 'pexels-photo-296888.jpeg', '121501', 'image/jpeg', 0, '2018-05-22 14:26:27', '2018-05-22 14:26:27'), (44, 5, 'pexels-photo-414645.jpeg', 'pexels-photo-414645', 'pexels-photo-414645.jpeg', '244889', 'image/jpeg', 0, '2018-05-22 14:26:27', '2018-05-22 14:26:27'); -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- DROP TABLE IF EXISTS `migrations`; CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (21, '2014_10_12_000000_create_users_table', 1), (22, '2014_10_12_100000_create_password_resets_table', 1), (23, '2017_03_05_153630_create_categories_table', 1), (24, '2017_03_11_154724_create_options_table', 2), (29, '2017_03_17_163533_create_campaigns_table', 3), (30, '2017_03_17_190257_setup_countries_table', 3), (33, '2017_03_25_141611_create_rewards_table', 4), (34, '2017_03_25_164308_create_updates_table', 5), (35, '2017_03_25_174610_create_faqs_table', 6), (57, '2016_07_23_110550_create_social_accounts_table', 7), (58, '2016_08_28_095425_create_post_table', 7), (59, '2017_03_26_141054_create_sessions_table', 7), (60, '2017_04_01_115454_create_payments_table', 7), (61, '2017_07_22_154825_create_withdrawal_preference', 7), (62, '2017_07_22_184150_create_withdrawal_requests', 7), (63, '2016_08_06_145145_create_language_table', 8), (64, '2017_11_25_103526_create_media_table', 9), (65, '2017_08_05_205220_create_comments_table', 10); -- -------------------------------------------------------- -- -- Table structure for table `options` -- DROP TABLE IF EXISTS `options`; CREATE TABLE `options` ( `id` int(10) UNSIGNED NOT NULL, `option_key` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `option_value` text COLLATE utf8mb4_unicode_ci ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `options` -- INSERT INTO `options` (`id`, `option_key`, `option_value`) VALUES (1, 'currency_sign', 'USD'), (2, 'enable_stripe', '1'), (3, 'stripe_test_mode', '1'), (4, 'paypal_receiver_email', '<EMAIL>'), (5, 'stripe_test_secret_key', '<KEY>'), (6, 'stripe_test_publishable_key', '<KEY>'), (7, 'stripe_live_secret_key', NULL), (8, 'stripe_live_publishable_key', NULL), (9, 'date_format', 'd/m/Y'), (10, 'time_format', 'H:i'), (11, 'site_name', 'HelpUs'), (12, 'site_title', 'HelpUs'), (13, 'email_address', '<EMAIL>'), (14, 'default_timezone', 'Africa/Abidjan'), (15, 'date_format_custom', 'd/m/Y'), (16, 'time_format_custom', 'H:i'), (17, 'enable_paypal', '1'), (18, 'enable_paypal_sandbox', '1'), (19, 'additional_css', NULL), (20, 'additional_js', NULL), (21, 'footer_about_us', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\n\r\nLorem Ipsum has been the industry\'s standard dummy text ever since the 1500s.'), (22, 'footer_about_us_read_more_text', NULL), (23, 'footer_address', '<li><i class=\"fa fa-map-marker\"></i> <span>4122 Riverside Drive\r\n<br /> Clarkesville, GA 30523 <br /> United States</span></li>\r\n<li><i class=\"fa fa-phone\"></i> <span>+01 234 567890</span></li>\r\n<li><i class=\"fa fa-envelope-o\"></i> <span><EMAIL></span></li>'), (24, 'copyright_text', '[copyright_sign] [year] [site_name], All rights reserved.'), (25, 'logo', '6'), (26, 'logo_settings', 'show_image'), (27, 'enable_social_login', '1'), (28, 'enable_facebook_login', '1'), (29, 'enable_google_login', '1'), (30, 'fb_app_id', '807346162754117'), (31, 'fb_app_secret', '<KEY>'), (32, 'google_client_id', '62019812075-0sp3u7h854tp7aknl1m8q7ens0pm4im0.apps.googleusercontent.com'), (33, 'google_client_secret', '<KEY>'), (34, 'campaign_owner_commission', '80'), (35, 'enable_disqus_comment', '0'), (36, 'disqus_shortname', 'tclassifieds'), (37, 'enable_bank_transfer', '1'), (38, 'bank_swift_code', 'USDIIEDH'), (39, 'account_number', '9879878798798'), (40, 'branch_name', 'Bank of America'), (41, 'branch_address', '7510 147th St W Apple Valley, MN 55124'), (42, 'account_name', '<NAME>'), (43, 'iban', '2343'), (44, 'enable_recaptcha_login', '0'), (45, 'recaptcha_site_key', '<KEY>'), (46, 'recaptcha_secret_key', '<KEY>'), (47, 'enable_recaptcha_registration', '0'), (48, 'enable_recaptcha_contact_form', '0'), (49, 'currency_position', 'left'), (50, 'default_storage', 'public'), (51, 'enable_cookie_alert', '1'), (52, 'cookie_message', 'Cookies help us deliver services, By browsing our website, you agree to our use of cookies.'), (53, 'cookie_learn_page', '1'), (54, 'enable_comments', '1'), (55, 'enable_twitter_login', '1'), (56, 'twitter_consumer_key', 'LlngSMKGqvY4jTarS6KiHBHhL'), (57, 'twitter_consumer_secret', '<KEY>'); -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- DROP TABLE IF EXISTS `password_resets`; CREATE TABLE `password_resets` ( `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `password_resets` -- INSERT INTO `password_resets` (`email`, `token`, `created_at`) VALUES ('<EMAIL>', <PASSWORD>', '2017-10-31 11:21:21'); -- -------------------------------------------------------- -- -- Table structure for table `payments` -- DROP TABLE IF EXISTS `payments`; CREATE TABLE `payments` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `campaign_id` int(11) DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `reward_id` int(11) DEFAULT NULL, `amount` decimal(8,2) DEFAULT NULL, `payment_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` enum('initial','pending','success','failed','declined','dispute') COLLATE utf8mb4_unicode_ci DEFAULT 'initial', `currency` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `token_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `card_last4` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `card_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `card_brand` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `card_country` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `card_exp_month` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `card_exp_year` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `client_ip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `charge_id_or_token` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `payer_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `local_transaction_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `payment_created` int(11) DEFAULT NULL, `contributor_name_display` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_swift_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `branch_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `branch_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `account_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `iban` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `payments` -- INSERT INTO `payments` (`id`, `name`, `email`, `campaign_id`, `user_id`, `reward_id`, `amount`, `payment_method`, `status`, `currency`, `token_id`, `card_last4`, `card_id`, `card_brand`, `card_country`, `card_exp_month`, `card_exp_year`, `client_ip`, `charge_id_or_token`, `payer_email`, `description`, `local_transaction_id`, `payment_created`, `contributor_name_display`, `bank_swift_code`, `account_number`, `branch_name`, `branch_address`, `account_name`, `iban`, `created_at`, `updated_at`) VALUES (1, 'John', 'Doe', 13, NULL, NULL, '50.00', 'bank_transfer', 'pending', 'USD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TRAN_1507659037OFP2ZP', NULL, 'full_name', '234234', '3453453§', 'Bank', 'address', 'Account name', 'Iban', '2017-10-10 12:10:37', '2017-10-10 12:10:37'), (2, '<NAME>', '<EMAIL>', 6, 6, 11, '70.00', 'bank_transfer', 'success', 'USD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TRAN_1510499657VH8LOB', NULL, 'full_name', '234234', '3453453§', 'American Peoples Bank', 'California', 'Stiven Gerrud', 'Iban', '2017-11-12 09:14:17', '2017-11-12 09:14:17'), (3, '<NAME>', '<EMAIL>', 9, 6, NULL, '40.00', 'stripe', 'success', 'USD', NULL, '4242', 'card_1CPETAIdV7MTb07GRfbf3Yaq', 'Visa', NULL, '12', '2019', NULL, 'ch_1CPETGIdV7MTb07GBk4SP2rx', NULL, 'Innovative Nano Blade | World\'s Smallest Tactical Pocket Knife [Contributing]', NULL, 1525719242, 'full_name', NULL, NULL, NULL, NULL, NULL, NULL, '2018-05-07 12:54:03', '2018-05-07 12:54:03'), (4, '<NAME>', '<EMAIL>', 9, 6, NULL, '20.00', 'stripe', 'success', 'USD', NULL, '4242', 'card_1CTF61IdV7MTb07GjocTnK3F', 'Visa', NULL, '12', '2019', NULL, 'ch_1CTF67IdV7MTb07GRsPv8qvC', NULL, 'Innovative Nano Blade | World\'s Smallest Tactical Pocket Knife [Contributing]', NULL, 1526674963, 'full_name', NULL, NULL, NULL, NULL, NULL, NULL, '2018-05-18 14:22:48', '2018-05-18 14:22:48'), (5, '<NAME>', '<EMAIL>', 16, 6, NULL, '110.00', 'stripe', 'success', 'USD', NULL, '4242', 'card_1CTx6PIdV7MTb07GUH9gxqWc', 'Visa', NULL, '12', '2021', NULL, 'ch_1CTx6UIdV7MTb07GFZNteWcr', NULL, 'Coffee maker production [Contributing]', NULL, 1526844122, 'full_name', NULL, NULL, NULL, NULL, NULL, NULL, '2018-05-20 13:22:03', '2018-05-20 13:22:03'), (6, '<NAME>', '<EMAIL>', 16, 6, NULL, '5000.00', 'bank_transfer', 'success', 'USD', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'TRAN_15268441728FF3WU', NULL, 'full_name', '234234', '2342342345', 'American Peoples Bank', 'California', 'Stiven Gerrud', 'Iban', '2018-05-20 13:22:52', '2018-05-20 13:28:28'); -- -------------------------------------------------------- -- -- Table structure for table `posts` -- DROP TABLE IF EXISTS `posts`; CREATE TABLE `posts` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `post_content` longtext COLLATE utf8mb4_unicode_ci, `feature_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `type` enum('post','page') COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint(4) DEFAULT NULL, `show_in_header_menu` tinyint(4) DEFAULT NULL, `show_in_footer_menu` tinyint(4) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `posts` -- INSERT INTO `posts` (`id`, `user_id`, `title`, `slug`, `post_content`, `feature_image`, `type`, `status`, `show_in_header_menu`, `show_in_footer_menu`, `created_at`, `updated_at`) VALUES (1, 6, 'Cookie and Privacy Policy', 'cookie-and-privacy-policy', '<p><img alt=\"cookie.jpg\" src=\"http://localhost/helpus/source/public/uploads/images/cookie.jpg\" style=\"width: 800px; height: 450px;\" /></p>\r\n\r\n<p>1.&nbsp;Cookies help us deliver services, By browsing our website, you agree to our use of cookies.</p>\r\n\r\n<p>2. We are not selling your personal data</p>\r\n\r\n<p>3. Your Personal Data will store to our server securly</p>', NULL, 'page', 1, 0, 1, '2018-05-14 12:40:11', '2018-05-14 12:49:25'), (2, 6, 'About Us', 'about-us', '<p>Lorem ipsum dolor sit amet, et animal deserunt similique mel, illud erant vulputate mea ne. Pro postea imperdiet ad, appareat officiis id eam. At velit neglegentur vis. Ne ius graece deseruisse conclusionemque, at audiam suavitate usu. Persecuti inciderint dissentiunt vix et, primis gloriatur vis at, id vel dolor partem.</p>\r\n\r\n<p>Qui prompta offendit honestatis id, sed nusquam oportere deterruisset ut, has etiam evertitur aliquando eu. Nam ne hinc option utroque, nec no paulo laoreet. In bonorum oportere vis, cu omnium officiis periculis sed, no eos posse inani saperet. Ei vim liber ludus graecis, quo graeci aliquid et. Ei quod lorem persequeris vim. Aperiri temporibus eu pro.</p>\r\n\r\n<p>Vis clita civibus contentiones ex, eam idque iisque ne. Te modo mollis eam, vim iriure imperdiet id. Latine expetendis mea cu, et mei tale appareat moderatius, dolore dolorum cu his. At vel quot legendos, mei no exerci ceteros voluptaria. Illud everti sanctus ut usu, nam ei paulo noster, te dolorem epicurei facilisis his.</p>\r\n\r\n<p>Ea has ipsum vocibus nostrum. Te eos harum accusam accommodare, ex qui munere populo. Ius ne esse minimum patrioque. No dolores appareat constituam vim. Sit in utroque omnesque. Qui ei ridens accusata, dignissim expetendis duo et.</p>\r\n\r\n<p>Pri an justo possim, est in feugait tibique accusam. Mei et suas vide. Malis signiferumque eu pro, sed aliquip interesset vituperatoribus an, in qui probo propriae. His doctus efficiendi cotidieque eu.</p>', NULL, 'page', 1, 1, 0, '2018-05-21 14:39:30', '2018-05-21 14:39:30'); -- -------------------------------------------------------- -- -- Table structure for table `rewards` -- DROP TABLE IF EXISTS `rewards`; CREATE TABLE `rewards` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `campaign_id` int(11) DEFAULT NULL, `amount` decimal(8,2) DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci, `estimated_delivery` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `quantity` int(11) DEFAULT NULL, `equity_share_percent` decimal(8,2) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `rewards` -- INSERT INTO `rewards` (`id`, `user_id`, `campaign_id`, `amount`, `description`, `estimated_delivery`, `quantity`, `equity_share_percent`) VALUES (1, 1, 1, '30.00', '1 honorary crest with bless. child will be happy with your donation, you are invited to visit', '2018-12', 40, NULL), (3, 1, 1, '40.00', 'You are geek, your name will be print in our nameplate with a historic sign as doner', '2018-11', 1, NULL), (4, 5, 4, '50.00', 'There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour', '2023-01', 10, NULL), (5, 6, 8, '15.00', 'The nature will save, you will get 15 HD photos', '2020-06', 10, NULL), (6, 6, 8, '25.00', 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.', '2021-10', 5, NULL), (7, 6, 9, '35.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry', '2022-07', 20, NULL), (8, 6, 9, '45.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry', '2021-10', 15, NULL), (9, 6, 9, '55.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry', '2021-10', 10, NULL), (10, 6, 6, '50.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', '2022-11', 20, NULL), (11, 6, 6, '70.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', '2023-07', 25, NULL), (12, 6, 6, '80.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', '2022-11', 30, NULL), (13, 6, 6, '90.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. \r\nLorem Ipsum is simply dummy text of the printing and typesetting industry.', '2023-07', 35, NULL), (14, 6, 6, '100.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', '2023-12', 10, NULL), (15, 1, 10, '20.00', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s.', '2024-11', 80, NULL), (16, 5, 17, '100.00', '10 packs injections (20 injection each pack)', '2024-02', 50, NULL), (17, 5, 17, '200.00', '30 packs injections (10 items each pack)', '2024-07', 60, NULL), (18, 5, 16, '100.00', '1 coffee machine will send you to use it or resale', '2024-02', 100, NULL), (19, 5, 16, '150.00', '2 coffee machine you will get to use or resale', '2024-05', 120, NULL), (20, 5, 16, '200.00', '3 coffee machine you will get to use it or gift to your nearest person', '2024-05', 200, NULL), (21, 5, 5, '40.00', 'A car will be sent to you for your personal purpose and you can\'t sell it again', '2025-02', 10, NULL), (22, 5, 5, '80.00', 'Car tyre you will get for re-sell, enjoy this reward', '2024-07', 50, NULL), (23, 5, 5, '100.00', '4 refurbished car you can sell after getting from us, we will send you as soon as possible', '2024-12', 60, NULL), (24, 5, 5, '160.00', 'Get 3% share from our company and you will get the revenue equally', '2023-11', 10, NULL); -- -------------------------------------------------------- -- -- Table structure for table `sessions` -- DROP TABLE IF EXISTS `sessions`; CREATE TABLE `sessions` ( `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` int(11) DEFAULT NULL, `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_agent` text COLLATE utf8mb4_unicode_ci, `payload` text COLLATE utf8mb4_unicode_ci NOT NULL, `last_activity` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `social_accounts` -- DROP TABLE IF EXISTS `social_accounts`; CREATE TABLE `social_accounts` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) NOT NULL, `provider_user_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `updates` -- DROP TABLE IF EXISTS `updates`; CREATE TABLE `updates` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `campaign_id` int(11) DEFAULT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` text COLLATE utf8mb4_unicode_ci NOT NULL, `image_id` int(11) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `updates` -- INSERT INTO `updates` (`id`, `user_id`, `campaign_id`, `title`, `description`, `image_id`, `created_at`, `updated_at`) VALUES (1, 1, 2, 'want to some update about your classified store', 'Themeqx Classified is one of the best classified ever. Updated', NULL, '2017-03-25 10:59:01', '2017-03-25 11:29:51'), (3, 1, 2, 'Thank you our supporter', 'We are getting huge response from your doner and you are a part of this Thank you very much', NULL, '2017-03-25 11:33:00', '2017-03-25 11:33:00'), (4, 1, 1, 'Love all supporters', 'Let us say thank to all of your supporters. They are awesome', NULL, '2017-03-25 13:29:55', '2017-03-25 13:29:55'), (5, 1, 1, 'Few need more', 'We need few more supporters to reach our goal\r\n\r\nThanks', NULL, '2017-03-25 13:30:28', '2017-03-25 13:30:28'), (6, 1, 1, 'Donation amount has been increased', 'From now, donation amount has been increased.\r\n\r\nstay with us to get latest updates\r\n\r\nBest regards', NULL, '2017-03-25 13:31:11', '2017-03-25 13:31:11'), (7, 6, 9, 'Update one', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry', 11, '2017-04-09 13:06:36', '2018-05-18 14:33:37'), (8, 6, 9, 'Update two', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\n\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry', NULL, '2017-04-09 13:06:46', '2017-04-09 13:06:46'), (9, 6, 9, 'Update three', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry\r\nLorem Ipsum is simply dummy text of the printing and typesetting industry', NULL, '2017-04-09 13:06:56', '2017-04-09 13:06:56'), (10, 1, 10, 'Some angel required', 'We need really some angels', NULL, '2017-04-13 13:36:04', '2017-04-13 13:36:04'), (11, 6, 9, 'Our Event will be start soon', 'This is a friendly notification that our event will be start soon and we are seeking volunteers from you guys, Please apply now.', 10, '2018-05-18 14:31:10', '2018-05-18 14:31:10'), (12, 5, 16, 'Coffee machine started send response', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.\r\n\r\nEa saepe laudem luptatum duo, legere deleniti no duo. Dolorum similique quo ne, semper oporteat his an. Quod salutatus ad usu. Dicant feugait maluisset vis ne. Ad eos quaeque commune consetetur, ex diam ridens labores usu.', 43, '2018-05-22 14:26:35', '2018-05-22 14:26:35'), (13, 5, 16, 'A cup of coffee just madden by this coffee machine', 'Lorem ipsum dolor sit amet, ius nisl doctus prodesset ei, cu urbanitas appellantur per, eu eos tation tollit eloquentiam. Ex vix aliquid graecis albucius. Mel adhuc vidisse an. Ne graece expetenda eam. Noluisse salutatus ex usu. Aliquid impedit delicata at eos.\r\n\r\nEa saepe laudem luptatum duo, legere deleniti no duo. Dolorum similique quo ne, semper oporteat his an. Quod salutatus ad usu. Dicant feugait maluisset vis ne. Ad eos quaeque commune consetetur, ex diam ridens labores usu.', 44, '2018-05-22 14:27:21', '2018-05-22 14:27:40'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `gender` enum('male','female') COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `website` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_type` enum('user','admin') COLLATE utf8mb4_unicode_ci DEFAULT NULL, `active_status` tinyint(4) DEFAULT NULL, `request_deletion` tinyint(4) DEFAULT NULL, `request_deletion_time` datetime DEFAULT NULL, `cancel_deletion_time` datetime DEFAULT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `email`, `password`, `country_id`, `gender`, `address`, `website`, `phone`, `photo`, `user_type`, `active_status`, `request_deletion`, `request_deletion_time`, `cancel_deletion_time`, `remember_token`, `created_at`, `updated_at`) VALUES (1, '<NAME>', '<EMAIL>', <PASSWORD>', NULL, NULL, NULL, NULL, NULL, NULL, 'user', 1, NULL, NULL, NULL, 'tiyorRIQ8oDjaz0r1Z7HJ5sf8UtSRCvgvhPv0GDSEDE0tyeG7OV0ZilSYnjn', '2017-03-05 12:23:01', '2017-04-13 14:02:49'), (2, '<NAME>', '<EMAIL>', '$2y$10$4YsQF7kv3D09t/gx281zWOWj0Iob/tpgOXeI/zT046WY3oBU82NdG', NULL, NULL, NULL, NULL, NULL, '9', 'user', 1, NULL, NULL, NULL, 'MrY6AOkKZH1zKhe8lT8aCHxoyaGqw5hKOxqQ2AlX8AOIfW5n8YM6bh3BdSB5', '2017-04-02 09:01:41', '2017-07-06 11:33:42'), (3, '<NAME>', '<EMAIL>', '$2y$10$KC5umKosFDyao8t1goqbK.g4GxxvBeaGZgv14OCvJgzmQgvpZxnr.', NULL, NULL, NULL, NULL, NULL, NULL, 'user', 1, NULL, NULL, NULL, 'ZYxZRttNPfnh3UhMg14Hc6lsIfbjEriVr5y382k6qepo8Eoz6fZflAMYwlbI', '2017-04-02 09:02:29', '2017-04-02 09:02:29'), (5, '<NAME>', '<EMAIL>', '$2y$10$JqLnjAFxFMiLiK1X2shPuew5IA.XU7/.NvBoh/8b0bmcCQp./FkTu', NULL, NULL, NULL, NULL, NULL, '19', 'user', 1, NULL, NULL, NULL, '5IJSS3NJ35Z4qOqLVyE59JgGfZZP946ZPPkR6g41krJdUxCF9F7Sxw8FHvmU', '2017-04-02 09:04:59', '2018-05-20 13:09:16'), (6, '<NAME>', '<EMAIL>', <PASSWORD>', 235, 'male', 'London, UK', NULL, '02569841', '9', 'admin', 1, NULL, NULL, NULL, 'OlSwPdgcZJvpuVbGoQAQb5e8OHHXlSIMwyv3Rb5y4QJ1isYDQGkeUnLCTdYK', '2017-04-02 09:05:33', '2018-05-14 13:27:28'); -- -------------------------------------------------------- -- -- Table structure for table `withdrawal_preferences` -- DROP TABLE IF EXISTS `withdrawal_preferences`; CREATE TABLE `withdrawal_preferences` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `default_withdrawal_account` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `paypal_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_account_holders_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `swift_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_name_full` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch_city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `country_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `withdrawal_preferences` -- INSERT INTO `withdrawal_preferences` (`id`, `user_id`, `default_withdrawal_account`, `paypal_email`, `bank_account_holders_name`, `bank_account_number`, `swift_code`, `bank_name_full`, `bank_branch_name`, `bank_branch_city`, `bank_branch_address`, `country_id`, `created_at`, `updated_at`) VALUES (1, 6, 'paypal', '<EMAIL>', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2018-05-21 14:35:17', '2018-05-21 14:35:17'); -- -------------------------------------------------------- -- -- Table structure for table `withdrawal_requests` -- DROP TABLE IF EXISTS `withdrawal_requests`; CREATE TABLE `withdrawal_requests` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) DEFAULT NULL, `campaign_id` int(11) DEFAULT NULL, `total_amount` double(10,2) NOT NULL, `withdrawal_amount` double(10,2) NOT NULL, `platform_owner_commission` double(10,2) NOT NULL, `withdrawal_account` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `paypal_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_account_holders_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `swift_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_name_full` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch_city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `country_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `campaigns` -- ALTER TABLE `campaigns` ADD PRIMARY KEY (`id`); -- -- Indexes for table `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Indexes for table `comments` -- ALTER TABLE `comments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `countries` -- ALTER TABLE `countries` ADD PRIMARY KEY (`id`); -- -- Indexes for table `faqs` -- ALTER TABLE `faqs` ADD PRIMARY KEY (`id`); -- -- Indexes for table `media` -- ALTER TABLE `media` ADD PRIMARY KEY (`id`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `options` -- ALTER TABLE `options` ADD PRIMARY KEY (`id`); -- -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`), ADD KEY `password_resets_token_index` (`token`); -- -- Indexes for table `payments` -- ALTER TABLE `payments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `posts` -- ALTER TABLE `posts` ADD PRIMARY KEY (`id`); -- -- Indexes for table `rewards` -- ALTER TABLE `rewards` ADD PRIMARY KEY (`id`); -- -- Indexes for table `sessions` -- ALTER TABLE `sessions` ADD UNIQUE KEY `sessions_id_unique` (`id`); -- -- Indexes for table `social_accounts` -- ALTER TABLE `social_accounts` ADD PRIMARY KEY (`id`); -- -- Indexes for table `updates` -- ALTER TABLE `updates` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- Indexes for table `withdrawal_preferences` -- ALTER TABLE `withdrawal_preferences` ADD PRIMARY KEY (`id`); -- -- Indexes for table `withdrawal_requests` -- ALTER TABLE `withdrawal_requests` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `campaigns` -- ALTER TABLE `campaigns` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; -- -- AUTO_INCREMENT for table `categories` -- ALTER TABLE `categories` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `comments` -- ALTER TABLE `comments` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `countries` -- ALTER TABLE `countries` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=250; -- -- AUTO_INCREMENT for table `faqs` -- ALTER TABLE `faqs` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `media` -- ALTER TABLE `media` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45; -- -- AUTO_INCREMENT for table `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=66; -- -- AUTO_INCREMENT for table `options` -- ALTER TABLE `options` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58; -- -- AUTO_INCREMENT for table `payments` -- ALTER TABLE `payments` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `posts` -- ALTER TABLE `posts` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `rewards` -- ALTER TABLE `rewards` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; -- -- AUTO_INCREMENT for table `social_accounts` -- ALTER TABLE `social_accounts` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `updates` -- ALTER TABLE `updates` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `withdrawal_preferences` -- ALTER TABLE `withdrawal_preferences` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `withdrawal_requests` -- ALTER TABLE `withdrawal_requests` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
SELECT * FROM pg_catalog.ts_debug( pg_catalog.get_current_ts_config(), $1);
<filename>MS SQL/CRUD Operations/Create View Employees with Salaries.sql CREATE VIEW V_EmployeesSalaries AS SELECT FirstName, LastName, Salary FROM Employees
create or replace package ext_load_file_pkg authid definer as -- to speed it up create_collection_from_query constant boolean := false; subtype t_boolean is integer; -- must be a SQL type, not a PL/SQL type subtype t_excel_column_name is varchar2(3 char); subtype t_mime_type is varchar2(255 char); subtype t_nls_charset_name is varchar2(100); min_excel_column_name constant t_excel_column_name := 'A'; min_excel_column_number constant positiven := 1; max_excel_column_name constant t_excel_column_name := 'XFD'; -- in Excel 2019 max_excel_column_number constant positiven := 16384; -- 24 (X) * 26 * 26 + 6 (F) * 26 + 4 (D) csv_nls_charset_name constant t_nls_charset_name := 'WE8MSWIN1252'; subtype t_determine_datatype is integer; -- must be a SQL type, not a PL/SQL type -- All strings of maximum length hence VARCHAR2(4000 CHAR) "DATATYPE STRING LENGTH MAX" constant t_determine_datatype := 0; -- Use the document information to determine the exact datatype and for a string the minimum length to store all data. -- Possible datatypes: -- 1) NUMBER -- 2) DATE -- 3) TIMESTAMP -- 4) VARCHAR2(n CHAR) where n is the maximum length in the data document hence the minimum to store all document data "DATATYPE EXACT LENGTH MIN" constant t_determine_datatype := 1; -- Use the document information to determine the exact datatype and for a string the maximum length (hence VARCHAR2(4000 CHAR)) "DATATYPE EXACT LENGTH MAX" constant t_determine_datatype := 2; /* An structure that describes how to load DML */ type t_object_info_rec is record ( view_name user_views.view_name%type -- this view contains excel name - database column name mapping plus key info , file_name varchar2(1000 char) -- Excel/CSV file name , mime_type t_mime_type -- text/csv for CSV files , object_name all_objects.object_name%type -- name of the object to load into (may be fully qualified like TOOLS."test") , sheet_names varchar2(4000 char) -- for spreadsheet files , last_excel_column_name t_excel_column_name default 'ZZ' -- header start at this row (0 means NO header) , header_row_from integer default 1 -- natural is not supported due to the pipelined function built on this record -- header ends at this row (inclusive) , header_row_till integer default 1 -- the data starts at this row (should be after after header_row_till) , data_row_from integer default 2 , data_row_till integer default null -- all -- do we need to determine the datatype? , determine_datatype t_determine_datatype default "DATATYPE EXACT LENGTH MAX" -- use varchar2(4000 char) for strings , nls_charset_name t_nls_charset_name default csv_nls_charset_name ); type t_object_info_tab is table of t_object_info_rec; /* An object that describes how to load a column */ type t_column_info_rec is record ( apex_file_id apex_application_temp_files.id%type -- key part 1 for apex_collection , seq_id apex_collections.seq_id%type -- key part 2 for apex_collection , view_name user_views.view_name%type -- this view contains excel name - database column name mapping plus key info , excel_column_name t_excel_column_name , header_row varchar2(4000 char) , data_row varchar2(4000 char) , data_type varchar2(100 char) , format_mask varchar2(100 char) , in_key t_boolean , default_value varchar2(4000 char) ); type t_column_info_tab is table of t_column_info_rec; type t_object_columns_tab is table of all_tab_columns.column_name%type; /** * Return the columns of a table/view (or synonym pointing to a table/view). * * @param p_object_name The object name (may be fully qualified if p_owner is empty) * @param p_owner The owner (may be empty) * * @return The schema owner of that package */ function get_object_columns ( p_object_name in varchar2 , p_owner in varchar2 default null ) return t_object_columns_tab pipelined; /** * Return the owner of the load data package. * * May be useful when creating a table and granting privileges to this owner * so the load can succeed. * * The load data package is currently EXCELTABLE. * * @return The schema owner of that package */ function get_load_data_owner return all_users.username%type; /** * Return an natural integer for an Excel column name. * * It will return: * - 0 for null * - 1 for 'A' * - 2 for 'B' * - 26 for 'Z' * - 27 for 'AA' * * @param p_excel_column_name An Excel column name * * @return A natural integer */ function excel_column_name2number ( p_excel_column_name in varchar2 ) return naturaln deterministic; /** * Return an Excel column name for a number. * * @param p_number A natural integer * * @return An Excel column name */ function number2excel_column_name ( p_number in naturaln ) return varchar2 deterministic; /** * Set load file info. * * Creates a view named LOAD_FILE_<timestamp>_V with as column names * the Excel columns and a primary key (disabled) for those * Excel columns that have in_key set to 1. * * @param p_object_info_rec The object info * @param p_column_info_tab A table of column info * @param p_view_name The view containing the object info */ procedure set_load_file_info ( p_object_info_rec in t_object_info_rec , p_column_info_tab in t_column_info_tab , p_view_name out nocopy varchar2 ); /** * Get object info. * * @param p_view_name The view containing the object info * @param p_object_info_rec The object info */ procedure get_object_info ( p_view_name in varchar2 , p_object_info_rec out nocopy t_object_info_rec ); /** * Get column info. * * @param p_view_name The view containing the object info * @param p_column_info_tab A table of column info */ procedure get_column_info ( p_view_name in varchar2 , p_column_info_tab out nocopy t_column_info_tab ); /** * Display object info used to load into objects. * * @return A list of object info */ function display_object_info return t_object_info_tab pipelined; /** * Display column info used to load into objects. * * @return A list of column info */ function display_column_info return t_column_info_tab pipelined; /** * Convert blob to clob. * * @param p_blob The blob * @param p_nls_charset_name The NLS character set used to convert the flat file BLOB into a CLOB. * * @return A CLOB */ function blob2clob ( p_blob in blob , p_nls_charset_name in t_nls_charset_name default csv_nls_charset_name ) return clob; /** * Display the contents of the collection to initialise. * * This function is used in init(). * * @param p_apex_file_id An apex_application_temp_files id * @param p_sheet_names The colon separated Excel sheet names list (for non CSV files) * @param p_last_excel_column_name The last Excel column name (for non CSV files) * @param p_header_row_from The header starts at this row (0: no header) * @param p_header_row_till The header ends at this row (0: no header) * @param p_data_row_from The first data row starts at this row * @param p_data_row_till The last data row ends at this row (null means all) * @param p_determine_datatype Determine the datatype * @param p_format_mask The format mask for a DATE or TIMESTAMP * @param p_view_name The object info for the DML * @param p_nls_charset_name The NLS character set used to convert the flat file BLOB into a CLOB. * * @return A collection */ function display ( p_apex_file_id in apex_application_temp_files.id%type , p_sheet_names in varchar2 , p_last_excel_column_name in varchar2 , p_header_row_from in natural , p_header_row_till in natural , p_data_row_from in natural , p_data_row_till in natural , p_determine_datatype in t_determine_datatype , p_format_mask in varchar2 , p_view_name in varchar2 , p_nls_charset_name in t_nls_charset_name default csv_nls_charset_name ) return t_column_info_tab pipelined; /** * Determine CSV info about field separator and end of line string. * * See also https://www.codeproject.com/Articles/231582/Auto-detect-CSV-separator. * * Rules for writing CSV files are pretty simple: * * a) If value contains separator character or new line character or begins * with a quote - enclose the value in quotes. * b) If value is enclosed in quotes - any quote character contained in the * value should be followed by an additional quote character. * * This algorithm just keeps the count of all possible field separator * candidates and to speed it up one additional heuristic is used: for each * row the field separator candidates that are seen in the current row are * stored. This allows us to speed up and normally just reading the header * line(s) is enough. * * The end of line string is the first sequence of line feeds and/or carriage * returns not inside a quoted field. * * The algorithm stops when: * 1) the CSV (at most 32767 characters) has been read * 2) there is a new row and at most one candidate has been processed * * Now: * I) when no candidate has been seen: the field separator will be empty (CSV with one column?) * II) when one candidate has been seen: that is the field separator * III) when more candidate have been seen: take the one with the maximal count overall * * @param p_csv * @param p_field_separators A string of possible field separator characters (each 1 long) * @param p_eol The end of line string * @param p_field_separator The field separator */ procedure determine_csv_info ( p_csv in clob , p_field_separators in varchar2 default ',;:|' || chr(9) , p_quote_char in varchar2 default '"' , p_eol out nocopy varchar2 , p_field_separator out nocopy varchar2 ); -- helper function invoked by function display( p_apex_file_id ... ) procedure get_column_info_tab ( -- common parameters p_apex_file_id in apex_application_temp_files.id%type , p_last_excel_column_name in varchar2 , p_header_row_from in natural , p_header_row_till in natural , p_data_row_from in natural , p_data_row_till in natural , p_determine_datatype in t_determine_datatype , p_format_mask in varchar2 , p_view_name in varchar2 -- CSV parameters , p_clob in clob default null , p_eol in varchar2 default null , p_field_separator in varchar2 default null , p_quote_char in varchar2 default null -- Spreadsheet parameters , p_blob in blob default null , p_sheet_names in varchar2 default null , p_column_info_tab out nocopy t_column_info_tab ); /** * Create a collection to describe a file and display the header and first data row. * * Invoked by an Apex application. * * @param p_apex_file_id An apex_application_temp_files id * @param p_sheet_names The colon separated Excel sheet names list * @param p_last_excel_column_name The last Excel column name (for non CSV files) * @param p_header_row_from The header starts at this row (0: no header) * @param p_header_row_till The header ends at this row (0: no header) * @param p_data_row_from The first data row starts at this row * @param p_data_row_till The first data row ends at this row (null means all) * @param p_determine_datatype Determine the datatype * @param p_format_mask The format mask for a DATE or TIMESTAMP * @param p_view_name The object info for the DML * @param p_nls_charset_name The NLS character set used to convert the flat file BLOB into a CLOB. */ procedure init ( p_apex_file_id in apex_application_temp_files.id%type , p_sheet_names in varchar2 , p_last_excel_column_name in varchar2 , p_header_row_from in natural , p_header_row_till in natural , p_data_row_from in natural , p_data_row_till in natural , p_determine_datatype in t_determine_datatype , p_format_mask in varchar2 default v('APP_NLS_TIMESTAMP_FORMAT') , p_view_name in varchar2 default null , p_nls_charset_name in t_nls_charset_name default csv_nls_charset_name ); /** * Display the collection initialized by procedure init (and updated by dml). * * @param p_apex_file_id An apex_application_temp_files id * * @return A collection */ function display ( p_apex_file_id in apex_application_temp_files.id%type ) return t_column_info_tab pipelined; /** * Generate a create table statement so the table can be used by function load. * * @param p_apex_file_id An apex_application_temp_files id * @param p_table_name The table name * * @return Create table statement with primary key if there are key columns. */ function create_table_statement ( p_apex_file_id in apex_application_temp_files.id%type , p_table_name in varchar2 ) return dbms_sql.varchar2a; /** * Validate the load file columns. * * These checks are performed: * 1) is the excel column correct? * 2) is the header row correct? * 3) is the data type correct? * 4) is the format mask correct (only for date / timestamp)? * 5) is the in key value correct? * 6) is the default value correct? * * @param p_apex_file_id An Apex collection */ procedure validate ( p_excel_column_name in varchar2 , p_header_row in varchar2 , p_data_type in varchar2 , p_format_mask in varchar2 , p_in_key in varchar2 -- string yes and not a number in order to better check the value , p_default_value in varchar2 ); /** * Validate the collection table column names. * * These checks are performed: * 1) are there duplicate table column names (header_row) in the collection? * 2) is the (fully qualified) object column name set a superset of the collection column name set? * 3) for action Update, Merge or Delete there must be a key * * @param p_apex_file_id An apex_application_temp_files id * @param p_object_info_rec The object info * @param p_action (I)nsert * (R)eplace for truncate + insert * (U)pdate * (M)erge * (D)elete */ procedure validate ( p_apex_file_id in apex_application_temp_files.id%type , p_object_info_rec in t_object_info_rec , p_action in varchar2 ); /** * Validate the collection table column names. * * See validate(p_apex_file_id, p_object_info_rec, p_action). * * @param p_apex_file_id An apex_application_temp_files id * @param p_sheet_names The colon separated Excel sheet names list * @param p_last_excel_column_name The last Excel column name (for non CSV files) * @param p_header_row_from The header starts at this row (0: no header) * @param p_header_row_till The header ends at this row (0: no header) * @param p_data_row_from The first data row starts at this row * @param p_data_row_till The last data row ends at this row (null means all) * @param p_determine_datatype Determine the datatype * @param p_object_name The object name for the DML * @param p_action (I)nsert * (R)eplace for truncate + insert * (U)pdate * (M)erge * (D)elete * @param p_nls_charset_name The NLS character set used to convert the flat file BLOB into a CLOB. */ procedure validate ( p_apex_file_id in apex_application_temp_files.id%type , p_sheet_names in varchar2 , p_last_excel_column_name in varchar2 , p_header_row_from in natural , p_header_row_till in natural , p_data_row_from in natural , p_data_row_till in natural , p_determine_datatype in t_determine_datatype , p_object_name in varchar2 , p_action in varchar2 , p_nls_charset_name in t_nls_charset_name default csv_nls_charset_name ); /** * Load an Excel. * * This function is used in load(). * * @param p_object_name The object name for the DML * @param p_column_info_tab The columns to insert * @param p_action (I)nsert * (R)eplace for truncate + insert * (U)pdate * (M)erge * (D)elete * @param p_blob The Excel * @param p_sheet_names The colon separated Excel sheet names list * @param p_header_row_from The header starts at this row (0: no header) * @param p_header_row_till The header ends at this row (0: no header) * @param p_data_row_from The first data row starts at this row * @param p_data_row_till The last data row ends at this row (null means all) * * @return The number of rows affected */ function load_excel ( p_object_name in varchar2 , p_column_info_tab in t_column_info_tab , p_action in varchar2 , p_blob in blob , p_sheet_names in varchar2 , p_header_row_from in natural , p_header_row_till in natural , p_data_row_from in natural , p_data_row_till in natural ) return integer; /** * Load a CSV. * * This function is used in load(). * * @param p_object_name The object name for the DML * @param p_column_info_tab The columns to insert * @param p_action (I)nsert * (R)eplace for truncate + insert * (U)pdate * (M)erge * (D)elete * @param p_clob The CSV * @param p_eol The end of line sequence (for CSV files) * @param p_field_separator The field separator (for CSV files) * @param p_quote_char To quote a field (for CSV files) * @param p_header_row_from The header starts at this row (0: no header) * @param p_header_row_till The header ends at this row (0: no header) * @param p_data_row_from The first data row starts at this row * @param p_data_row_till The last data row ends at this row (null means all) * @param p_nls_charset_name The NLS character set used to convert the flat file BLOB into a CLOB. * * @return The number of rows affected */ function load_csv ( p_object_name in varchar2 , p_column_info_tab in t_column_info_tab , p_action in varchar2 , p_clob in clob , p_eol in varchar2 , p_field_separator in varchar2 , p_quote_char in varchar2 , p_header_row_from in natural , p_header_row_till in natural , p_data_row_from in natural , p_data_row_till in natural , p_nls_charset_name in t_nls_charset_name default csv_nls_charset_name ) return integer; /** * Load the collection initialized by procedure init (and updated by dml). * * @param p_apex_file_id An apex_application_temp_files id * @param p_sheet_names The colon separated Excel sheet names list * @param p_last_excel_column_name The last Excel column name (for non CSV files) * @param p_header_row_from The header starts at this row (0: no header) * @param p_header_row_till The header ends at this row (0: no header) * @param p_data_row_from The first data row starts at this row * @param p_data_row_till The last data row ends at this row (null means all) * @param p_determine_datatype Determine the datatype * @param p_object_name The object name for the DML * @param p_action (I)nsert * (R)eplace for truncate + insert * (U)pdate * (M)erge * (D)elete * @param p_nls_charset_name The NLS character set used to convert the flat file BLOB into a CLOB. * * @return The number of rows affected */ function load ( p_apex_file_id in apex_application_temp_files.id%type , p_sheet_names in varchar2 , p_last_excel_column_name in varchar2 , p_header_row_from in natural , p_header_row_till in natural , p_data_row_from in natural , p_data_row_till in natural , p_determine_datatype in t_determine_datatype , p_object_name in varchar2 , p_action in varchar2 , p_nls_charset_name in t_nls_charset_name default csv_nls_charset_name ) return integer; /** * Load an Apex file. * * This function is used by the Finish button. * * @param p_apex_file The name for the temporary Apex file * @param p_owner The application owner * @param p_object_info_rec Record containing all the defaults * @param p_apex_file_name The Apex file name * @param p_csv_file Is it a CSV file (0 = false; 1 = true)? * @param p_action The action to perform * @param p_new_table Is the object a new table (0 = false; 1 = true)? * @param p_nr_rows The number of rows affected */ procedure load ( p_apex_file in varchar2 , p_owner in varchar2 , p_object_info_rec in out nocopy t_object_info_rec , p_apex_file_id out nocopy apex_application_temp_files.id%type , p_apex_file_name out nocopy apex_application_temp_files.filename%type , p_csv_file out nocopy natural , p_action out nocopy varchar2 , p_new_table out nocopy natural , p_nr_rows out nocopy natural ); /** * Cleanup the collection initialized by procedure init (and updated by dml). * * @param p_apex_file_id An apex_application_temp_files id */ procedure done ( p_apex_file_id in apex_application_temp_files.id%type ); /** * Issue DML. * * May be used in Apex to manage the load file object info. * * @param p_action (I)nsert, (U)pdate or (D)elete * @param p_view_name The object info for the DML and also the primary key * @param p_file_name The file name * @param p_mime_type The file MIME type * @param p_object_name The object to load into * @param p_sheet_names The colon separated Excel sheet names list * @param p_last_excel_column_name The last Excel column name (for non CSV files) * @param p_header_row_from The header starts at this row (0: no header) * @param p_header_row_till The header ends at this row (0: no header) * @param p_data_row_from The first data row starts at this row * @param p_data_row_till The last data row ends at this row (null means all) * @param p_determine_datatype Determine the datatype */ procedure dml ( p_action in varchar2 , p_view_name in user_views.view_name%type -- key , p_file_name in varchar2 default null , p_mime_type in t_mime_type default null , p_object_name in all_objects.object_name%type default null , p_sheet_names in varchar2 default null , p_last_excel_column_name in t_excel_column_name default null , p_header_row_from in natural default null , p_header_row_till in natural default null , p_data_row_from in natural default null , p_data_row_till in natural default null , p_determine_datatype in t_determine_datatype default null ); /** * Issue DML for the load file column info (using an Apex collection). * * May be used in Apex to manage the load file column info. * * @param p_action (I)nsert, (U)pdate or (D)elete * @param p_apex_file_id Primary key part 1 (used to populate an Apex collection with the id as name) * @param p_seq_id Primary key part 2 (write on insert, read on update or delete) * @param p_excel_column_name * @param p_header_row * @param p_data_row * @param p_data_type * @param p_format_mask * @param p_in_key * @param p_default_value */ procedure dml ( p_action in varchar2 , p_apex_file_id in apex_application_temp_files.id%type -- key part 1 , p_seq_id in out apex_collections.seq_id%type -- key part 2 , p_excel_column_name in varchar2 , p_header_row in varchar2 , p_data_row in varchar2 , p_data_type in varchar2 , p_format_mask in varchar2 , p_in_key in integer , p_default_value in varchar2 ); /** * Return the sheet names of an Excel file. * * @param p_excel The Excel BLOB * * @return A list of sheet names */ function get_sheets ( p_excel in blob ) return sys.odcivarchar2list pipelined; /** * Parse an optionally fully qualified object name into an owner and object name. * * With owner."Object" as input, it returns OWNER and Object. * * @param p_fq_object_name An object name optionally prepended with an owner * @param p_owner The unquoted object owner name (as in ALL_OBJECTS) * @param p_object_name The unquoted object name (as in ALL_OBJECTS) */ procedure parse_object_name ( p_fq_object_name in varchar2 , p_owner out nocopy varchar2 , p_object_name out nocopy varchar2 ); $if cfg_pkg.c_testing $then --%suitepath(EXT) --%suite --%rollback(manual) --%beforeall procedure ut_setup; --%afterall procedure ut_teardown; --%test procedure ut_excel_column_name2number; --%test procedure ut_number2excel_column_name; -- test set_load_file_info / get_object_info / get_column_info --%test procedure ut_load_file_info; --%test procedure ut_load_csv; --%test procedure ut_get_column_info_tab; --%test procedure ut_determine_csv_info; $end end ext_load_file_pkg; /
/* 01.01. Въведение в базите данни */ /* Problem 10. Създаване на нова база данни */ CREATE SCHEMA IF NOT EXISTS `school`; /* students */ CREATE TABLE IF NOT EXISTS `school`.`students` ( `id` INT(3) NOT NULL, `name` VARCHAR(50) NOT NULL, `age` INT(3) NULL, `phone_number` VARCHAR(50) NULL, PRIMARY KEY (`id`) ); INSERT INTO `school`.`students` (`id`, `name`, `age`) VALUES ('1', 'Mitko', '42'); INSERT INTO `school`.`students` (`id`, `name`, `age`) VALUES ('2', 'Ani', '36'); INSERT INTO `school`.`students` (`id`, `name`, `age`) VALUES ('3', 'Peter', '4'); /* classes */ CREATE TABLE IF NOT EXISTS `school`.`classes` ( `id` INT(3) NOT NULL, `name` VARCHAR(50) NOT NULL, `max_students` INT(3) NULL, PRIMARY KEY (`id`) ); INSERT INTO `school`.`classes` (`id`, `name`, `max_students`) VALUES ('1', 'Introduction to programming', '15'); INSERT INTO `school`.`classes` (`id`, `name`, `max_students`) VALUES ('2', 'Algorithms and data structure', '10'); INSERT INTO `school`.`classes` (`id`, `name`, `max_students`) VALUES ('3', 'Databases', '2'); /* teachers */ CREATE TABLE IF NOT EXISTS `school`.`teachers` ( `id` INT(3) NOT NULL, `name` VARCHAR(50) NOT NULL, `class` TEXT NULL, PRIMARY KEY (`id`) ); INSERT INTO `school`.`teachers` (`id`, `name`, `class`) VALUES ('1', '<NAME>', 'Introduction to programming'); INSERT INTO `school`.`teachers` (`id`, `name`, `class`) VALUES ('2', '<NAME>', 'Algorithms and data structure'); INSERT INTO `school`.`teachers` (`id`, `name`, `class`) VALUES ('3', '<NAME>', 'Databases'); /* Problem 11. Създаване на нова таблица */ CREATE TABLE IF NOT EXISTS `school`.`towns` ( `id` INT(3) NOT NULL, `name` VARCHAR(40) NOT NULL, PRIMARY KEY (`id`) ); INSERT INTO `school`.`towns` (`id`,`name`) VALUES (1,"Burgas"); INSERT INTO `school`.`towns` (`id`,`name`) VALUES (2,"Sofia"); INSERT INTO `school`.`towns` (`id`,`name`) VALUES (3,"Varna"); /* Problem 9. Свързване на таблици */ ALTER TABLE `school`.`students` ADD COLUMN `townid` INT NULL AFTER `phone_number`; ALTER TABLE `school`.`students` ADD CONSTRAINT `fk_students_towns` FOREIGN KEY (`id`) REFERENCES `school`.`towns` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
DROP TABLE IF EXISTS `users`; DROP TABLE IF EXISTS `posts`; CREATE TABLE `users` ( `id` bigint(20) AUTO_INCREMENT PRIMARY KEY, `gmt_create` datetime(6) NOT NULL, `email` varchar(256) NOT NULL UNIQUE, `nickname` varchar(256) NOT NULL ); CREATE TABLE `posts` ( `id` bigint(20) AUTO_INCREMENT PRIMARY KEY, `gmt_create` datetime(6) NOT NULL, `content` TEXT, `description` varchar(256) NOT NULL );
-- file:privileges.sql ln:61 expect:true GRANT SELECT ON atest1 TO regress_user3, regress_user4
/* Risky Projects https://platform.stratascratch.com/coding/10304-risky-projects?python= Difficult: Medium Identify projects that are at risk for going overbudget. A project is considered to be overbudget if the cost of all employees assigned to the project is greater than the budget of the project. You'll need to prorate the cost of the employees to the duration of the project. For example, if the budget for a project that takes half a year to complete is $10K, then the total half-year salary of all employees assigned to the project should not exceed $10K. Output a list of projects that are overbudget with their project name, project budget, and prorated total employee expense (rounded to the next dollar amount). Tables: <linkedin_projects> id int title varchar budget int start_date datetime end_date datetime <linkedin_emp_projects> emp_id int project_id int <linkedin_employees> id int first_name varchar last_name varchar salary int */ -- objective: -- FIND projects that are at risk of overbudget -- Overbudget: cost of all emps assigned > budget of project -- assumption: -- not all projects are rated at 1 year, some are less than that -- need to prorate (salary of emp (cost) must feedback pro-rated rate) -- pro-rate is by days -- logic: -- LEFT JOIN emp_projects, employees ON projects -- COMPUTE project duration in months -- SUM(salary) GROUP BY projects.id -- Pro-rate SUM(salary) based on projects.start_date, projects.end_date -- ROUND(emp cost) to the next dollar amount -- output: -- project name, proj budget, prorated total employee expenses (rounded to next dollar amount) SELECT project_title, project_budget, CEILING(emp_costs * (duration/365::float)) total_costs FROM ( SELECT title AS project_title, budget AS project_budget, duration, SUM(salary) AS emp_costs FROM ( SELECT p.*, p.end_date - p.start_date AS duration, ep.emp_id, e.salary FROM linkedin_projects p LEFT JOIN linkedin_emp_projects ep ON p.id = ep.project_id JOIN linkedin_employees e ON ep.emp_id = e.id ) proj_infos GROUP BY 1, 2, 3 ) costs WHERE emp_costs * (duration/365::float) > project_budget ORDER BY 1
# Convert all tables to InnoDB. Although all new installations use InnoDB, some # older ones may still have tables using the MyISAM engine. ALTER TABLE %DB_TBL_PREFIX%area ENGINE=InnoDB; ALTER TABLE %DB_TBL_PREFIX%entry ENGINE=InnoDB; ALTER TABLE %DB_TBL_PREFIX%repeat ENGINE=InnoDB; ALTER TABLE %DB_TBL_PREFIX%room ENGINE=InnoDB; ALTER TABLE %DB_TBL_PREFIX%users ENGINE=InnoDB; ALTER TABLE %DB_TBL_PREFIX%variables ENGINE=InnoDB; ALTER TABLE %DB_TBL_PREFIX%zoneinfo ENGINE=InnoDB;
-- -- remove timezone and license key from settings, set in web.xml now -- UPDATE appinfo SET appinfo_value='2007051501' WHERE appinfo_name='db_version'; \connect - jcms DELETE FROM settings WHERE setting_name='site_timezone'; DELETE FROM settings WHERE setting_name='site_licensekey';
<gh_stars>1-10 USE [master] GO /****** Object: Database [WebTask] Script Date: 11/28/2015 15:52:04 ******/ CREATE DATABASE [WebTask] GO ALTER DATABASE [WebTask] SET COMPATIBILITY_LEVEL = 100 GO IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')) begin EXEC [WebTask].[dbo].[sp_fulltext_database] @action = 'enable' end GO ALTER DATABASE [WebTask] SET ANSI_NULL_DEFAULT OFF GO ALTER DATABASE [WebTask] SET ANSI_NULLS OFF GO ALTER DATABASE [WebTask] SET ANSI_PADDING OFF GO ALTER DATABASE [WebTask] SET ANSI_WARNINGS OFF GO ALTER DATABASE [WebTask] SET ARITHABORT OFF GO ALTER DATABASE [WebTask] SET AUTO_CLOSE OFF GO ALTER DATABASE [WebTask] SET AUTO_CREATE_STATISTICS ON GO ALTER DATABASE [WebTask] SET AUTO_SHRINK OFF GO ALTER DATABASE [WebTask] SET AUTO_UPDATE_STATISTICS ON GO ALTER DATABASE [WebTask] SET CURSOR_CLOSE_ON_COMMIT OFF GO ALTER DATABASE [WebTask] SET CURSOR_DEFAULT GLOBAL GO ALTER DATABASE [WebTask] SET CONCAT_NULL_YIELDS_NULL OFF GO ALTER DATABASE [WebTask] SET NUMERIC_ROUNDABORT OFF GO ALTER DATABASE [WebTask] SET QUOTED_IDENTIFIER OFF GO ALTER DATABASE [WebTask] SET RECURSIVE_TRIGGERS OFF GO ALTER DATABASE [WebTask] SET DISABLE_BROKER GO ALTER DATABASE [WebTask] SET AUTO_UPDATE_STATISTICS_ASYNC OFF GO ALTER DATABASE [WebTask] SET DATE_CORRELATION_OPTIMIZATION OFF GO ALTER DATABASE [WebTask] SET TRUSTWORTHY OFF GO ALTER DATABASE [WebTask] SET ALLOW_SNAPSHOT_ISOLATION OFF GO ALTER DATABASE [WebTask] SET PARAMETERIZATION SIMPLE GO ALTER DATABASE [WebTask] SET READ_COMMITTED_SNAPSHOT OFF GO ALTER DATABASE [WebTask] SET HONOR_BROKER_PRIORITY OFF GO ALTER DATABASE [WebTask] SET READ_WRITE GO ALTER DATABASE [WebTask] SET RECOVERY SIMPLE GO ALTER DATABASE [WebTask] SET MULTI_USER GO ALTER DATABASE [WebTask] SET PAGE_VERIFY CHECKSUM GO ALTER DATABASE [WebTask] SET DB_CHAINING OFF GO USE [WebTask] GO /****** Object: Table [dbo].[Orders] Script Date: 11/28/2015 15:53:45 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Orders]( [ID] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](50) NOT NULL, [Price] [float] NOT NULL, CONSTRAINT [PK_Orders] PRIMARY KEY CLUSTERED ( [ID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO USE [WebTask] GO /****** Object: Table [dbo].[Languages] Script Date: 11/28/2015 15:54:00 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Languages]( [ID] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](50) NOT NULL, [EngName] [nvarchar](50) NOT NULL, [CultureName] [nvarchar](50) NOT NULL, CONSTRAINT [PK_Languages] PRIMARY KEY CLUSTERED ( [ID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO --- insert default language data insert into [dbo].[Languages] (EngName , Name, CultureName) values ('English','English','en-US'); insert into [dbo].[Languages] (EngName , Name, CultureName) values ('Arabic',N'عربى','ar-EG');
-- Drop New tables DROP TABLE IF EXISTS `staff_training_needs`; -- Restore Admin - training tables RENAME TABLE `z_1978_staff_training_needs` TO `staff_training_needs`; -- workflow_models DELETE FROM `workflow_models` WHERE `model` = 'Staff.TrainingNeeds'; -- db_patches DELETE FROM `db_patches` WHERE `issue` = 'PHPOE-1978'; -- area_administratives ALTER TABLE `area_administratives` CHANGE COLUMN `parent_id` `parent_id` INT(11) NOT NULL COMMENT '', DROP COLUMN `is_main_country`; ALTER TABLE `areas` CHANGE COLUMN `parent_id` `parent_id` INT(11) NOT NULL COMMENT ''; DELETE FROM `db_patches` WHERE `issue` = 'PHPOE-2069'; -- PHPOE-2086 DROP TABLE `import_mapping`; ALTER TABLE `z2086_import_mapping` RENAME `import_mapping`; DROP TABLE `survey_forms`; ALTER TABLE `z2086_survey_forms` RENAME `survey_forms`; DROP TABLE `survey_questions`; ALTER TABLE `z2086_survey_questions` RENAME `survey_questions`; DELETE FROM `security_functions` WHERE `id` IN (1024, 1025); INSERT INTO `security_functions` SELECT * FROM `z_2086_security_functions`; DROP TABLE `z_2086_security_functions`; -- security_role_functions DELETE FROM `security_role_functions` WHERE `id` IN ( SELECT `id` FROM `z_2086_security_role_functions` ); INSERT INTO `security_role_functions` SELECT * FROM `z_2086_security_role_functions`; DROP TABLE `z_2086_security_role_functions`; DELETE FROM `db_patches` WHERE `issue`='PHPOE-2086'; UPDATE config_items SET value = '3.3.6' WHERE code = 'db_version';
<filename>farrago/unitsql/optimizer/semijoin.sql -- $Id$ -- Tests semijoin transformations create schema sj; set schema 'sj'; -- set session personality to LucidDB so all tables -- will be column-store by default alter session implementation set jar sys_boot.sys_boot.luciddb_plugin; create table t( a int, b char(20), c varchar(20) not null, d varchar(128) not null); create index it_d on t(d); create index it_bd on t(b, d); insert into t values(1, 'abcdef', 'no match', 'this is row 1'); insert into t values(2, 'abcdef', 'ghijkl', 'this is row 2'); insert into t values(3, 'abcdef', 'ghijkl', 'this is row 3'); insert into t values(4, null, 'ghijkl', 'this is row 4'); insert into t values(5, null, 'ghijkl', 'no match'); -- although this table has the same number of rows as t, we will force this -- to be the dimension table in the semijoin by putting a dummy filter on -- the table create table smalltable( s1 varchar(128) not null, s2 int, s3 varchar(128), s4 varchar(128) not null); insert into smalltable values('this is row 1', 1, 'abcdef', 'ghijkl'); insert into smalltable values('this is row 2', 2, 'abcdef', 'ghijkl'); insert into smalltable values('this is row 3', 3, 'abcdef', 'ghijkl'); insert into smalltable values('this is row 4', 4, 'abcdef', 'ghijkl'); insert into smalltable values('this is row 5', 5, 'abcdef', 'ghijkl'); insert into smalltable values('this is row 6', 6, null, 'ghijkl'); -- Create fake statistics. The stats do not match the actual data in the -- tables and are meant to force the optimizer to choose semijoins call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'T', 10000); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'SMALLTABLE', 10); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'T', 'B', 10, 100, 10, 1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'T', 'D', 10, 100, 10, 1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'SMALLTABLE', 'S1', 10, 100, 10, 1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'SMALLTABLE', 'S3', 10, 100, 10, 1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'); -- explain plan tests !set outputformat csv ---------------------- -- single column joins ---------------------- explain plan for select * from t inner join smalltable s on t.b = s.s3 and s.s1 = 'this is row 1' order by a; explain plan for select * from t inner join smalltable s on t.d = s.s1 where s.s2 > 0 order by a; ----------------- -- negative cases ----------------- -- no index available to process join explain plan for select * from t inner join smalltable s on t.c = s.s4 where s.s2 > 0; -- filter not of the form cola = colb explain plan for select * from t inner join smalltable s on t.d = upper(s.s1) where s.s2 > 0; -- no filter on dimension table, so not worthwhile to do a semijoin explain plan for select * from t inner join smalltable s on t.d = s.s1; -- outer joins -- should not use semijoin explain plan for select * from t left outer join smalltable s on t.b = s.s3 and s.s1 = 'this is row 1'; explain plan for select * from t right outer join smalltable s on t.b = s.s3 and s.s1 = 'this is row 1'; explain plan for select * from t full outer join smalltable s on t.b = s.s3 and s.s1 = 'this is row 1'; -- this outer join uses HashJoin since join types match explain plan for select * from t full outer join smalltable s on t.d = s.s1 where s.s2 > 0 order by a; !set outputformat table select * from t full outer join smalltable s on t.d = s.s1 where s.s2 > 0 order by a, s1; --------------------- -- multi-column joins --------------------- !set outputformat csv explain plan for select * from t inner join smalltable s on t.d = s.s1 and t.b = s.s3 where s.s2 > 0 order by a; -- same as above except join columns are reversed explain plan for select * from t inner join smalltable s on t.b = s.s3 and s.s1 = t.d where s.s2 > 0 order by a; -- join on 3 columns but index only on 2 columns explain plan for select * from t inner join smalltable s on s.s1 = t.d and s.s3 = t.b and t.c = s.s4 where s.s2 > 0 order by a; -- same query but filters juggled around explain plan for select * from t inner join smalltable s on s.s4 = t.c and s.s1 = t.d and s.s3 = t.b where s.s2 > 0 order by a; --------------------------------------- -- run queries above that use semijoins --------------------------------------- !set outputformat table select * from t inner join smalltable s on t.b = s.s3 and s.s1 = 'this is row 1' order by a; select * from t inner join smalltable s on t.d = s.s1 where s.s2 > 0 order by a; select * from t inner join smalltable s on t.d = s.s1 and t.b = s.s3 where s.s2 > 0 order by a; select * from t inner join smalltable s on t.b = s.s3 and s.s1 = t.d where s.s2 > 0 order by a; select * from t inner join smalltable s on s.s1 = t.d and s.s3 = t.b and t.c = s.s4 where s.s2 > 0 order by a; select * from t inner join smalltable s on s.s4 = t.c and s.s1 = t.d and s.s3 = t.b where s.s2 > 0 order by a; ------------------ -- n-way semijoins ------------------ create table sales( sid int, product_id int, salesperson int, customer int, quantity int); create index i_sales_pid on sales(product_id); create index i_sales_sp on sales(salesperson); create index i_sales_cust on sales(customer); create table product( id int unique, name char(20), color char(10), size char(1)); create table salesperson(id int unique not null, name char(20), age int); create table customer( id int unique, company char(20), city char(20) not null); create table state(city char(20) unique not null, state char(20)); create index i_product_color on product(color); create index i_product_size on product(size); create index i_customer_city on customer(city); insert into product values(1, 'radio', 'black', 'S'); insert into product values(2, 'phone', 'white', 'M'); insert into product values(null, null, null, null); insert into salesperson values(1, 'XYZ', 30); insert into salesperson values(2, 'UVW', 40); insert into customer values(1, 'ABC', '<NAME>'); insert into customer values(2, 'DEF', 'New York City'); insert into customer values(null, null, 'Foo'); insert into state values('San Mateo', 'CA'); insert into state values('New York City', 'New York'); insert into sales values(1, 1, 1, 1, 10); insert into sales values(2, 1, 1, 2, 20); insert into sales values(3, 1, 2, 1, 30); insert into sales values(4, 1, 2, 2, 40); insert into sales values(5, 2, 1, 1, 50); insert into sales values(6, 2, 1, 2, 60); insert into sales values(7, 2, 2, 1, 70); insert into sales values(8, 2, 2, 2, 80); insert into sales values(9, null, null, null, null); -- more faking of stats; note also that the predicates chosen in the -- actual queries aren't necessarily selective in reality but the stats -- make the optimizer think they are call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'SALES', 100000); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'PRODUCT', 20); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'SALESPERSON', 10); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'CUSTOMER', 100); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'STATE', 5); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'SALES', 'PRODUCT_ID', 20, 100, 20, 0, '0123456789'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'SALES', 'SALESPERSON', 10, 100, 10, 0, '0123456789'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'SALES', 'CUSTOMER', 100, 100, 100, 0, '0123456789'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'PRODUCT', 'ID', 20, 100, 20, 0, '0123456789'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'SALESPERSON', 'ID', 10, 100, 10, 0, '0123456789'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'CUSTOMER', 'ID', 100, 100, 100, 0, '0123456789'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'CUSTOMER', 'CITY', 5, 100, 5, 1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'STATE', 'CITY', 5, 100, 5, 1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'); !set outputformat csv explain plan for select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; -- push semijoin past filter explain plan for select sid, p.name, p.color, p.size, s.quantity from product p, sales s where s.product_id = p.id and p.size = 'S' and sid > 2 order by sid; explain plan for select sid, p.name, p.color, p.size, s.quantity from product p, sales s where s.product_id = p.id and p.size = 'S' and p.color = 'white' and sid > 2 order by sid; -- push semijoin past joins explain plan for select sid, p.name, p.color, p.size, sp.name, s.quantity from sales s, product p, salesperson sp where s.product_id = p.id and s.salesperson = sp.id and p.size >= 'M' and sp.age >= 30 order by sid; explain plan for select sid, p.name, p.color, p.size, sp.name, c.company from customer c, salesperson sp, product p, sales s where s.product_id = p.id and s.salesperson = sp.id and s.customer = c.id and p.size >= 'M' and sp.age >= 30 and c.city >= 'N' order by sid; -- push semijoin past filter and join explain plan for select sid, p.name, p.color, p.size, sp.name, s.quantity from product p, sales s, salesperson sp where s.sid < 3 and s.product_id = p.id and s.salesperson = sp.id and p.size >= 'M' and sp.age >= 30 order by sid; -- chained join explain plan for select sid, c.company, c.city, st.state from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; -- index can be used for both semijoins and table filtering explain plan for select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' and s.salesperson > 0 order by sid; explain plan for select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' and s.salesperson = 1 order by sid; explain plan for select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' and s.salesperson > 0 and s.customer > 0 order by sid; -- cartesian product join where the RHS of the cartesian product join contains -- a semijoin where the dimension table is processed using index intersection; -- this testcase ensures that things behave correctly if an early close is done -- on the bitmap intersect explain plan for select a, sid, name, color, size, quantity from t left outer join (select * from sales s, product p where s.product_id = p.id and p.size = 'S' and p.color = 'black') on true order by a, sid; -- similar to the above query except the dimension table is processed using -- a bitmap merge explain plan for select a, sid, name, color, size, quantity from t left outer join (select * from sales s, product p where s.product_id = p.id and p.color > 'w') on true order by a, sid; -- semijoin can't be used here because we don't push semijoins past aggregates explain plan for select s.product_id from (select sum(quantity), product_id from sales group by product_id) s, product p where s.product_id = p.id and p.size = 'S' order by 1; ----------------------------- -- run the n-way join queries ----------------------------- !set outputformat table select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; select sid, p.name, p.color, p.size, s.quantity from product p, sales s where s.product_id = p.id and p.size = 'S' and sid > 2 order by sid; select sid, p.name, p.color, p.size, sp.name, s.quantity from sales s, product p, salesperson sp where s.product_id = p.id and s.salesperson = sp.id and p.size >= 'M' and sp.age >= 30 order by sid; select sid, p.name, p.color, p.size, sp.name, c.company from customer c, salesperson sp, product p, sales s where s.product_id = p.id and s.salesperson = sp.id and s.customer = c.id and p.size >= 'M' and sp.age >= 30 and c.city >= 'N' order by sid; select sid, p.name, p.color, p.size, sp.name, s.quantity from product p, sales s, salesperson sp where s.sid < 3 and s.product_id = p.id and s.salesperson = sp.id and p.size >= 'M' and sp.age >= 30 order by sid; select sid, c.company, c.city, st.state from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' and s.salesperson > 0 order by sid; select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' and s.salesperson = 1 order by sid; select sid, p.name, p.color, p.size, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' and s.salesperson > 0 and s.customer > 0 order by sid; -- run the queries below twice to ensure proper handling when executing a -- previously closed stream graph select a, sid, name, color, size, quantity from t left outer join (select * from sales s, product p where s.product_id = p.id and p.size = 'S' and p.color = 'black') on true order by a, sid; select a, sid, name, color, size, quantity from t left outer join (select * from sales s, product p where s.product_id = p.id and p.size = 'S' and p.color = 'black') on true order by a, sid; select a, sid, name, color, size, quantity from t left outer join (select * from sales s, product p where s.product_id = p.id and p.color > 'w') on true order by a, sid; select a, sid, name, color, size, quantity from t left outer join (select * from sales s, product p where s.product_id = p.id and p.color > 'w') on true order by a, sid; -------------------------------------------------------------------------- -- semijoin used for IN clause; customer column has 100 distinct values so -- the semijoin should be worthwhile -------------------------------------------------------------------------- !set outputformat csv explain plan for select * from sales where customer in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10); explain plan for select * from sales where customer in (select id from customer where id < 10); !set outputformat table select * from sales where customer in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) order by sid; select * from sales where customer in (select id from customer where id < 10) order by sid; -------------------------- -- test semijoins on views -------------------------- create view vt(vc, vd, vb, vbd) as select upper(c), trim(d), b, b || d from t; select * from vt; !set outputformat csv -- semijoin should be usable in these two cases; for the second and third, -- should only use the index on column b explain plan for select * from vt, smalltable s where vt.vb = s.s3 and s.s1 = 'this is row 1'; explain plan for select * from vt, smalltable s where vt.vb = s.s3 and vt.vbd = s.s1 and s.s2 > 0; explain plan for select * from vt, smalltable s where vt.vb = s.s3 and vt.vd = s.s1 and s.s2 > 0; -- but not in these cases explain plan for select * from vt, smalltable s where vt.vd = s.s1 and s.s2 > 0; explain plan for select * from vt, smalltable s where vt.vbd = s.s3 and s.s1 = 'this is row 1'; -- run the queries corresponding to the cases where semijoins can be used !set outputformat table select * from vt, smalltable s where vt.vb = s.s3 and s.s1 = 'this is row 1' order by vc; select * from vt, smalltable s where vt.vb = s.s3 and vt.vbd = s.s1 and s.s2 > 0 order by vc; select * from vt, smalltable s where vt.vb = s.s3 and vt.vd = s.s1 and s.s2 > 0 order by vc; ------------------------------------------------------- -- cases where join with dimension table can be removed ------------------------------------------------------- !set outputformat csv explain plan for select sid, p.id, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; explain plan for select sid from product p, sales s where s.product_id = p.id and p.size = 'S' and sid > 2 order by sid; explain plan for select sid, p.id as pid, sp.id spid, s.quantity from sales s, product p, salesperson sp where p.id = s.product_id and s.salesperson = sp.id and p.size = 'M' and sp.age = 30 order by sid; explain plan for select sid from customer c, salesperson sp, product p, sales s where s.product_id = p.id and s.salesperson = sp.id and s.customer = c.id and p.size = 'S' and sp.age = 40 and c.city >= 'N' order by sid; explain plan for select sid, s.quantity from product p, sales s, salesperson sp where s.sid < 3 and s.product_id = p.id and s.salesperson = sp.id and p.size >= 'M' and sp.age >= 30 order by sid; explain plan for select sid, c.id from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; -- shuffle the order of the tables in the from clause explain plan for select sid, c.id from customer c, sales s, state st where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; -- product can be removed because its join key with t can be obtained from -- sales explain plan for select sid, s.quantity, t.c from sales s, product p, t where s.product_id = p.id and p.size = 'S' and p.id = t.a order by sid; -- LER-6330 explain plan for select s1.sid, s2.sid from product p1, sales s1, product p2, sales s2 where s1.product_id = p1.id and p1.size = 'S' and s2.product_id = p2.id and p2.size = 'S'; explain plan for select s1.sid from sales s1, customer c1, sales s2, customer c2 where s1.customer = c1.id and s2.customer = c2.id and c2.company = 'DEF' and c1.id = c2.id; -- run the queries !set outputformat table select sid, p.id, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; select sid from product p, sales s where s.product_id = p.id and p.size = 'S' and sid > 2 order by sid; select sid, p.id as pid, sp.id spid, s.quantity from sales s, product p, salesperson sp where p.id = s.product_id and s.salesperson = sp.id and p.size = 'M' and sp.age = 30 order by sid; select sid from customer c, salesperson sp, product p, sales s where s.product_id = p.id and s.salesperson = sp.id and s.customer = c.id and p.size = 'S' and sp.age = 40 and c.city >= 'N' order by sid; select sid, s.quantity from product p, sales s, salesperson sp where s.sid < 3 and s.product_id = p.id and s.salesperson = sp.id and p.size >= 'M' and sp.age >= 30 order by sid; select sid, c.id from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; select sid, c.id from customer c, sales s, state st where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; select sid, s.quantity, t.c from sales s, product p, t where s.product_id = p.id and p.size = 'S' and p.id = t.a order by sid; select s1.sid s1id, s2.sid s2id from product p1, sales s1, product p2, sales s2 where s1.product_id = p1.id and p1.size = 'S' and s2.product_id = p2.id and p2.size = 'S' order by s1id, s2id; select s1.sid from sales s1, customer c1, sales s2, customer c2 where s1.customer = c1.id and s2.customer = c2.id and c2.company = 'DEF' and c1.id = c2.id order by sid; ----------------------------------------- -- cases where the join cannot be removed ----------------------------------------- !set outputformat csv -- extra join filters explain plan for select t.* from t inner join smalltable s on s.s1 = t.d and s.s3 = t.b and t.c = s.s4 where s.s2 > 0 order by a; -- semijoin keys not unique explain plan for select t.* from t inner join smalltable s on t.b = s.s3 and s.s1 = 'this is row 1' order by a; -- references to non-semijoin key column in projection list explain plan for select * from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; explain plan for select sid, p.name, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; -- state can be removed because city can be retrieved from customer; note that -- we can't remove customer instead of state because if we were to retrieve -- city from state instead of customer, we'd also need the city column from -- customer to join with state, resulting in neither join being removed explain plan for select sid, st.city from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; -- neither customer or state can be removed because state is referenced in the -- projection list; therefore customer needs to be joined with state in order -- to retrieve the state column explain plan for select sid, st.state from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; -- although customer doesn't need to be joined with either state or sales -- because of semijoins with those two tables, it needs to be joined with t; -- so its join can't be removed explain plan for select sid from sales s, state st, customer c, t where s.customer = c.id and c.city = st.city and st.state = 'New York' and c.city = t.c order by sid; !set outputformat table select t.* from t inner join smalltable s on s.s1 = t.d and s.s3 = t.b and t.c = s.s4 where s.s2 > 0 order by a; select t.* from t inner join smalltable s on t.b = s.s3 and s.s1 = 'this is row 1' order by a; select * from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; select sid, p.name, s.quantity from sales s, product p where s.product_id = p.id and p.size = 'S' order by sid; select sid, st.city from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; select sid, st.state from sales s, state st, customer c where s.customer = c.id and c.city = st.city and st.state = 'New York' order by sid; select sid from sales s, state st, customer c, t where s.customer = c.id and c.city = st.city and st.state = 'New York' and c.city = t.c order by sid; ------------ -- Misc Bugs ------------ -- LER-6865 -- a semijoin should not be used create table le_org_party(org_party_key int primary key, dummy int); create table le_sales_ordlns(cust_sold_to_key int, dummy int); create index i_sales_ordlns on le_sales_ordlns(cust_sold_to_key); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'LE_ORG_PARTY', 6353); call sys_boot.mgmt.stat_set_row_count( 'LOCALDB', 'SJ', 'LE_SALES_ORDLNS', 2641498); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'LE_ORG_PARTY', 'ORG_PARTY_KEY', 6353, 100, 6353, 0, '0123456789'); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'LE_SALES_ORDLNS', 'CUST_SOLD_TO_KEY', 5614, 100, 5614, 0, '0123456789'); !set outputformat csv explain plan for select count(*) from le_sales_ordlns s, le_org_party o where s.cust_sold_to_key = o.org_party_key; -- LER-6916 -- aggregation should be performed on SUPPLIER(S_NATIONKEY) CREATE TABLE TPCHCUSTOMER ( C_CUSTKEY INTEGER PRIMARY KEY, C_NAME VARCHAR(25) NOT NULL, C_ADDRESS VARCHAR(40) NOT NULL, C_NATIONKEY INTEGER NOT NULL, C_PHONE VARCHAR(15) NOT NULL, C_ACCTBAL DECIMAL(15,2) NOT NULL, C_MKTSEGMENT VARCHAR(10) NOT NULL, C_COMMENT VARCHAR(117) NOT NULL); CREATE TABLE SUPPLIER ( S_SUPPKEY INTEGER PRIMARY KEY, S_NAME VARCHAR(25) NOT NULL, S_ADDRESS VARCHAR(40) NOT NULL, S_NATIONKEY INTEGER NOT NULL, S_PHONE VARCHAR(15) NOT NULL, S_ACCTBAL DECIMAL(15,2) NOT NULL, S_COMMENT VARCHAR(101) NOT NULL); CREATE INDEX C_NATIONKEY_IDX ON TPCHCUSTOMER(C_NATIONKEY); CREATE INDEX S_NATIONKEY_IDX ON SUPPLIER(S_NATIONKEY); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'TPCHCUSTOMER', 150000); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'SUPPLIER', 10000); explain plan for select * from tpchcustomer c, supplier s where c.c_nationkey = s.s_nationkey and s.s_name = 'foo'; -- LER-8251 -- In the resulting query plan, you should NOT see a cast of a -- NULL literal to a NOT NULL type CREATE TABLE ORDERS ( O_ORDERKEY INTEGER PRIMARY KEY, O_CUSTKEY INTEGER NOT NULL, O_ORDERSTATUS VARCHAR(1) NOT NULL, O_TOTALPRICE DECIMAL(15,2) NOT NULL, O_ORDERDATE DATE NOT NULL, O_ORDERPRIORITY VARCHAR(15) NOT NULL, O_CLERK VARCHAR(15) NOT NULL, O_SHIPPRIORITY INTEGER NOT NULL, O_COMMENT VARCHAR(79) NOT NULL); CREATE TABLE NATION ( N_NATIONKEY INTEGER PRIMARY KEY, N_NAME VARCHAR(25) NOT NULL, N_REGIONKEY INTEGER NOT NULL, N_COMMENT VARCHAR(152)); CREATE TABLE REGION ( R_REGIONKEY INTEGER PRIMARY KEY, R_NAME VARCHAR(25) NOT NULL, R_COMMENT VARCHAR(152)); CREATE TABLE LINEITEM ( L_ORDERKEY INTEGER, L_PARTKEY INTEGER NOT NULL, L_SUPPKEY INTEGER NOT NULL, L_LINENUMBER INTEGER, L_QUANTITY DECIMAL(15,2) NOT NULL, L_EXTENDEDPRICE DECIMAL(15,2) NOT NULL, L_DISCOUNT DECIMAL(15,2) NOT NULL, L_TAX DECIMAL(15,2) NOT NULL, L_RETURNFLAG VARCHAR(1) NOT NULL, L_LINESTATUS VARCHAR(1) NOT NULL, L_SHIPDATE DATE NOT NULL, L_COMMITDATE DATE NOT NULL, L_RECEIPTDATE DATE NOT NULL, L_SHIPINSTRUCT VARCHAR(25) NOT NULL, L_SHIPMODE VARCHAR(10) NOT NULL, L_COMMENT VARCHAR(44) NOT NULL, PRIMARY KEY(L_ORDERKEY, L_LINENUMBER) ); CREATE TABLE PART ( P_PARTKEY INTEGER PRIMARY KEY, P_NAME VARCHAR(55) NOT NULL, P_MFGR VARCHAR(25) NOT NULL, P_BRAND VARCHAR(10) NOT NULL, P_TYPE VARCHAR(25) NOT NULL, P_SIZE INTEGER NOT NULL, P_CONTAINER VARCHAR(10) NOT NULL, P_RETAILPRICE DECIMAL(15,2) NOT NULL, P_COMMENT VARCHAR(23) NOT NULL ); create index O_CUSTKEY_IDX on ORDERS(O_CUSTKEY); create index N_REGIONKEY_IDX on NATION(N_REGIONKEY); create index L_PARTKEY_IDX on LINEITEM(L_PARTKEY); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'ORDERS', 1500000); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'NATION', 250); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'REGION', 50); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'LINEITEM', 6000000); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'PART', 200000); explain plan for select count(*) from orders, tpchcustomer, nation, region, lineitem, part where o_custkey = c_custkey and c_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'AMERICA' and O_ORDERDATE BETWEEN DATE'1995-01-01' AND DATE'1996-12-31' and l_partkey = p_partkey and p_type = 'ECONOMY ANODIZED STEEL'; -- LER-8795 - The following join should not use a semijoin because the -- selectivity of the semijoin is high. create table t1(a int); call sys_boot.mgmt.stat_set_row_count('LOCALDB', 'SJ', 'T1', 5000000); call sys_boot.mgmt.stat_set_column_histogram( 'LOCALDB', 'SJ', 'T1', 'A', 53, 100, 53, 0, '0123456789'); create index it1 on t1(a); create table t2(a int generated always as identity primary key, b varchar(30)); insert into t2(b) values(null); insert into t2(b) select b from t2; insert into t2(b) select b from t2; insert into t2(b) select b from t2; insert into t2(b) select b from t2; insert into t2(b) select b from t2; insert into t2(b) select b from t2 where lcs_rid(a) <= 20; insert into t2(b) values('1'); analyze table t2 compute statistics for all columns; explain plan for select count(*) from t1, t2 where t1.a = t2.a and t2.b is null; -- LER-9882 -- the join to PRODUCT should be removed even though it left outer -- joins with U because the left outer join with U can also be removed !set outputformat csv create table u(a char(10) primary key); explain plan for select count(*) from sales s, product p left outer join u on u.a = p.name where s.product_id = p.id and p.size = 'S';
#sql('list') select * from t_user #end
insert into t_xt_authorities_resources (ID, AUTHORITY_ID, RESOURCE_ID, ENABLED) values (1, 'AUTH_ADMIN', 'admin', 1); insert into t_xt_authorities_resources (ID, AUTHORITY_ID, RESOURCE_ID, ENABLED) values (2, 'AUTH_EMPLOYEE', 'employee', 1);
CREATE TABLE `settings` ( `id` int(11) NOT NULL AUTO_INCREMENT, `parent_id` int(11) NULL DEFAULT NULL, `default_parent_id` int(11) NULL DEFAULT NULL COMMENT 'id of the map setting this setting is the default child for', `key` varchar(60) NOT NULL, `type` varchar(40) NOT NULL DEFAULT 'String', `value` text NULL DEFAULT NULL, `tooltip` text NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `setting_id` (`parent_id`,`key`), UNIQUE KEY `map_default_child` (`default_parent_id`), FOREIGN KEY (`parent_id`) REFERENCES `settings` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (`default_parent_id`) REFERENCES `settings` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; /* Root Settings */ INSERT INTO `settings` (`key`, `type`) VALUES ('root', 'Dictionary'); SET @root = LAST_INSERT_ID(); /* EXABEAM SETTINGS */; /* create directory */; INSERT INTO `settings` (`parent_id`, `key`, `type`) VALUES (@root, 'Exabeam', 'Dictionary'); SET @dir = LAST_INSERT_ID(); /* add settings */; INSERT INTO `settings` (`parent_id`, `key`, `type`, `tooltip`) VALUES (@dir, 'Watchlists', 'Dictionary', 'name of the watchlist'); /* create map default child */; SELECT id INTO @map FROM settings WHERE parent_id=@dir AND `key`='Watchlists'; INSERT INTO `settings` (`default_parent_id`, `key`, `type`) VALUES (@map, 'Watchlist', 'Dictionary'); SET @default_child = LAST_INSERT_ID(); INSERT INTO `settings` (`parent_id`, `key`, `type`, `value`, `tooltip`) VALUES (@default_child, 'enabled', 'Boolean', 'True', 'turns alerting on/off'), (@default_child, 'threshold', 'Numeric', '45', 'risk threshold required to alert'); /* MVISION SETTINGS */; /* create directory */; INSERT INTO `settings` (`parent_id`, `key`, `type`) VALUES (@root, 'MVision', 'Dictionary'); SET @dir = LAST_INSERT_ID(); /* add settings */; INSERT INTO `settings` (`parent_id`, `key`, `type`, `value`, `tooltip`) VALUES (@dir, 'share_threshold', 'Numeric', '1', 'number of users a file must be shared with to alert'), (@dir, 'Policies', 'Dictionary', NULL, 'name of the policy'); /* create map default child */; SELECT id INTO @map FROM settings WHERE parent_id=@dir AND `key`='Policies'; INSERT INTO `settings` (`default_parent_id`, `key`, `type`) VALUES (@map, 'Policy', 'Dictionary'); SET @default_child = LAST_INSERT_ID(); INSERT INTO `settings` (`parent_id`, `key`, `type`, `value`, `tooltip`) VALUES (@default_child, 'enabled', 'Boolean', 'True', 'turns alerting on/off'), (@default_child, 'always_alert', 'Boolean', 'False', 'alert unconditionally when this policy is seen');
fastload table new_order no_o_id 1 no_d_id 2 no_w_id 3 infile '/tmp/new_order.data'
ALTER TABLE products ADD category_id INT NOT NULL AFTER id; CREATE INDEX category_id ON products (category_id); UPDATE products INNER JOIN categories_xref ON products.id = categories_xref.product_id SET products.category_id = categories_xref.category_id; ALTER TABLE products ADD FOREIGN KEY (category_id) REFERENCES categories(id); ALTER TABLE products CHANGE active active TINYINT(1) NOT NULL, CHANGE deleted deleted INT NOT NULL; ALTER TABLE products ENGINE=InnoDB ; ALTER TABLE products ENGINE=MyISAM ;
drop table if exists t1; drop table if exists t2; create table t1(a enum('a', 'b', 'c')); insert into t1 values (1), (2), (3); create table t2 as select cast(a as ENUM('a', 'b', 'c', 'a', 'a', 'a')) col, a from t1; create table t2 as select cast(a as ENUM('a', 'b', 'c','d')) col, a from t1; select cast(a as ENUM('e','f','g','a', 'c','b', 'd')) + 0 col from t2 where col=1; insert into t2(a) select cast(a as ENUM('e','f','g','a', 'c','b', 'd')) col from t2 where col='a'; select * from t2 where cast(col as ENUM('e','f','g','a', 'c','b', 'd')) >4 order by a; select * from t2 where cast(col as ENUM('e','f','g','a', 'c','m','b', 'd')) >6; select * from t2 where cast(col as ENUM('e','f','g','a', 'c','m','b', 'd')) >'e'; select * from t2 where cast(col as ENUM('e','f','g','a', 'c','m','b', 'd')) >=cast(a as ENUM('e','f','g','a', 'c','m','b', 'd')) order by a; drop table t1,t2;
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: 14 Apr 2018 pada 16.49 -- Versi Server: 10.1.19-MariaDB -- PHP Version: 5.5.38 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: `ci_login` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `guru` -- CREATE TABLE `guru` ( `id_guru` int(3) NOT NULL, `nama_guru` varchar(20) NOT NULL, `nip` varchar(12) NOT NULL, `kelamin` enum('laki-laki','perempuan') NOT NULL, `alamat_guru` text NOT NULL, `telpon_guru` varchar(12) NOT NULL, `username` varchar(20) NOT NULL, `password` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `guru` -- INSERT INTO `guru` (`id_guru`, `nama_guru`, `nip`, `kelamin`, `alamat_guru`, `telpon_guru`, `username`, `password`) VALUES (1, 'B<NAME>', '<PASSWORD>', '<PASSWORD>', '<PASSWORD>', '<PASSWORD>', '<PASSWORD>', 'guru'), (2, 'Rosni Anjar', '111113', 'perempuan', 'Jakarta', '0217703111', 'rosni', 'guru'), (3, '<NAME>', '111114', 'laki-laki', 'Cijantung', '0217703222', 'iwan', 'guru'), (4, '<NAME>', '111115', 'laki-laki', 'Bekasi', '0217703555', 'imam', 'guru'), (5, '<NAME>', '111116', 'perempuan', 'Bogor', '0217703444', 'desi', 'guru'); -- -------------------------------------------------------- -- -- Struktur dari tabel `kontak` -- CREATE TABLE `kontak` ( `id` int(11) NOT NULL, `NAMA` varchar(200) DEFAULT NULL, `ALAMAT` varchar(150) DEFAULT NULL, `PHONE` varchar(30) DEFAULT NULL, `MOBILE` varchar(12) DEFAULT NULL, `FAX` varchar(13) DEFAULT NULL, `PIC` varchar(20) DEFAULT NULL, `EMAIL` varchar(30) DEFAULT NULL, `KOTA` varchar(15) DEFAULT NULL, `WILAYAH` varchar(15) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `kontak` -- INSERT INTO `kontak` (`id`, `NAMA`, `ALAMAT`, `PHONE`, `MOBILE`, `FAX`, `PIC`, `EMAIL`, `KOTA`, `WILAYAH`) VALUES (1, 'As<NAME>ataan Ruang Kav. Strategis Ekonomi', '-', '-', '081286808423', '-', '<NAME>', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (2, 'Bappeda DKI', '-', '-', '08122392899', '-', '<NAME>', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (3, 'Bappeda DKI Kepala Dinas Penataan Kota', '-', '021-3811613/33822159', '085945608060', '021-3822360', 'Bp.Douglas', '-', 'Jakarta', 'DKI Jakarta'), (4, 'Bappeda Kabupaten Mimika', '-', '-', '081219355510', '-', 'Bp. Casper', '-', 'Papua', 'Irian Jaya'), (5, 'Bappeda Karawang', '-', '-', '08128444321', '-', 'Bp. Arian', '-', 'Karawang', 'Jawa Barat'), (6, 'Bappeda Kepri', '-', '-', '081277499924', '-', 'Ibu Venny', '-', 'Batam', 'Kepulauan Riau'), (7, 'Bappeda Kota Bogor', '-', '(0251)8338052', '-', '(0251)8321075', '-', '-', 'Bogor', 'Jawa Barat'), (8, 'Bappeda Kota Bukit Tinggi', 'Jl. <NAME> No.1 (Bukit Gulai Bancah)', '(0752)33050', '-', '-', '-', '-', 'Bukit Tinggi', 'Sumatera Barat'), (9, 'Bappeda Kota Makassar', '-', '-', '082196457497', '-', 'Ibu Yanisa', '-', 'Makassar', 'Sulawesi Selata'), (10, 'Bappeda Kota Makassar', '-', '-', '08164385897', '-', 'Bp. Darwis', '-', 'Makassar', 'Sulawesi Selata'), (11, 'Bappeda Kota Makassar', '-', '-', '085395244119', '-', 'Ibu Tasya', '-', 'Makassar', 'Sulawesi Selata'), (12, 'Bappeda Prov. Sulsel kasubdit Tata Ruang', '-', '-', '08124256772', '(0411) 453869', 'Ibu Any Ro', '-', 'Makassar', 'Sulawesi Selata'), (13, 'Bappeda Provinsi Jatim', '-', '-', '081332205467', '-', 'Tiat Sutra', '-', 'Surabaya', 'Jawa Timur'), (14, 'Bappeda Provinsi Sumatera Barat', 'Jl. <NAME>, No.1, Padang Sumatera Barat', '(0751)7054374', '-', '-', '-', '-', 'Bukit Tinggi', 'Sumatera Barat'), (15, 'Bappeda Sekretariat Bogor', '-', '(0251)8321075', '-', '(0251)8321577', '-', '<EMAIL>', 'Bogor', 'Jawa Barat'), (16, 'Bappenas Kelautan dan Perikanan', '-', '-', '-', '-', '-', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (17, 'Bappenas Pangan Pertanian Deputi Kemaritiman', '-', '021-31934323', '-', '021-3915401', '-', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (18, 'Bappenas Pengembangan Wil. Regional', '', '021-3157016', 'Ext 3308/330', '-', 'Suratno', '-', 'Jakarta', 'DKI Jakarta'), (19, 'Bappenas Tata Ruang dan Tanah', '-', '-', '-', '-', '-', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (20, 'Bidang Tata Ruang Kota Makassar', '-', '(0411) 435550', '-', '-', 'Bpk Yusril', '-', 'Makassar', 'Sulawesi Selata'), (21, 'Bina Usaha Perdagangan', '-', '-', '-', '021-3858188', 'Bp. Sahar', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (22, 'BPN Bogor', '-', '(0251)328796/323478', '-', '(0251)8332105', '-', '-', 'Bogor', 'Jawa Barat'), (23, 'BPN Kota Bogor', '-', '(0251) 879011', '-', '(0251) 332105', '-', '<EMAIL>', 'Bogor', 'Jawa Barat'), (24, 'BPN Provinsi Sumatera Barat', 'Jl. <NAME> No.22 Padang 2112', '0751-28279,28180', '-', '-', '-', '<EMAIL>', 'Padang', 'Sumatera Barat'), (25, 'BPN Sumsel Makassar', '-', '(0411) 859539', '085242004579', '-', 'Bp. Taufik', '<EMAIL>', 'Makassar', 'Sulawesi Selata'), (26, 'Dinas Kebersihan Kota Bogor', '-', '-', '-', '(0251)8321577', '-', '-', 'Bogor', 'Jawa Barat'), (27, 'Dinas Koperasi, Pengindustrian dan Perdagangan Kota Bukit Tinggi', 'Jl. Perwira No.148', '0752-21486', '-', '-', '-', '-', 'Bukit Tinggi', 'Sumatera Barat'), (28, 'Dinas Pengelolaan Pasar Kota Bukit Tinggi', 'Jl. <NAME>', '0752-21055', '-', '-', '-', '-', 'Bukit Tinggi', 'Sumatera Barat'), (29, 'Dinas Perindustrian dan Perdagangan Provinsi Sumatera Barat', 'Jl. Khotib Sulaiman No.11', '(0751)7055292', '-', '(0751)7052701', '-', '-', 'Bukit Tinggi', 'Sumatera Barat'), (30, 'Dinas Prasarana Jalan, Tata Ruang dan Permukiman Sumatera Barat', 'Jl. Taman Siswa No.1 Padang', '0751-7051756', '-', '0751-7051756', '-', '-', 'Padang', 'Sumatera Barat'), (31, 'Dinas Tata Ruang Kepri', '-', '-', '08192203001', '-', 'Ibu Fauzia', '-', 'Batam', 'Kepulauan Riau'), (32, 'Dinas Tata Ruang Kepri', '-', '-', '085271311757', '-', 'Bp Robi', '-', 'Batam', 'Kepulauan Riau'), (33, 'Direktorat Jendral Perhubungan Darat', '-', '021-3503013', '-', '-', '-', '-', 'Jakarta', 'DKI Jakarta'), (34, 'Direktorat Prasarana Perhubungan Darat', '-', '021-3506145', '-', '-', '-', '-', 'Jakarta', 'DKI Jakarta'), (35, 'Direktur Sinkronisasi Urusan Daerah', '-', '021-7942640/7942634', '-', '-', '-', '-', 'Jakarta', 'DKI Jakarta'), (36, 'Direktur Tata Ruang & Pertanahan Bappenas', '-', '021-3927412', '-', '-', '-', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (37, 'Dinas Pengawasan Bangunan dan Permukiman', 'Jalan Pengadilan No. 8A;', '(0251)8322001', '-', '(0251)8322001', '-', '<EMAIL>', 'Bogor', 'Jawa Barat'), (38, 'Dinas Perhubungan DKI Jakarta', 'Jl. Taman Jati Baru No.1, RT.17/RW.1, Cideng, Gambir, Kota', '021-3501349', '-', '-', '-', 'dishub.jakarta.go.id', 'Jakarta', 'DKI Jakarta'), (39, 'Dinas Perhubungan Kota Makassar', 'Jl. Mallengkeri No.18, Mangasa, Tamalate, Kota Makassar, Sulawesi Selatan', '(0411) 884816', '085399242499', '-', 'Bp Jasman', '-', 'Makassar', 'Sulawesi Selata'), (40, 'Direktorat Bina Usaha Perdagangan', '-', '-', '085711090436', '-', 'Bp Rabda', 'binusdag.kemendag.go.id', 'Jakarta', 'DKI Jakarta'), (41, 'Direktorat Bina Usaha Perdagangan', '-', '-', '085276906050', '-', 'Ibu Nova', '-', 'Jakarta', 'DKI Jakarta'), (42, 'Humas PD Pasar Jaya', '-', '021-8580981', '-', '021-8580629', '-', '-', 'Jakarta', 'DKI Jakarta'), (43, 'Kantor Pertanahan Kota <NAME>', 'Jl. Prof. Hazairin, SH No.15 Belakang balok', '0752-22947 / 628769', '-', '-', '-', '<EMAIL>', '<NAME>', 'Sumatera Barat'), (44, 'Kanwil BPN Jawa Timur', '-', '082233652007', '081973872900', '-', 'Az<NAME>u / Ferry', '-', 'Surabaya', 'Jawa Timur'), (45, 'Kanwil BPN Jawa Timur', '-', '-', '081359784118', '-', 'Ferry', '-', 'Surabaya', 'Jawa Timur'), (46, 'Kasubdit Pertanahan dan Penataan Ruang', '-', '021-7942642', '-', '-', '-', '-', 'Jakarta', 'DKI Jakarta'), (47, 'Kasubid Tata Ruang Bappeprov Sulsel', '-', '-', '08124256772', '-', 'Ibu Any Rofaida', '<EMAIL>', 'Makassar', 'Sulawesi Selata'), (48, 'Kemendagri (Dirtjen Bina Bangola)', '-', '021-7942653/3450038', '021-7942631', '021-7983769', '-', '-', 'Jakarta', 'DKI Jakarta'), (49, 'Kementrian Perhubungan', '-', '021-3852649/3456779', '021-3456919', '021-3451657', '-', '<EMAIL>.com', 'Jakarta', 'DKI Jakarta'), (50, 'Kementrian Perhubungan', '-', '021-3811308 ext 1491', '-', '-', '-', '-', 'Jakarta', 'DKI Jakarta'), (51, 'Kementrian Perhubungan Biro Rencana', '-', '-', '082113230116', '-', 'Bpk Suryo', '-', 'Jakarta', 'DKI Jakarta'), (52, 'Kementrian Pariwisata (Destinasi Wisata Alam)', '-', '021-3813739', '-', '021-3813739', '-', '-', 'Jakarta', 'DKI Jakarta'), (53, 'Kementrian Pertanian Biro Perencanaan', '-', '021-7804156', '-', '-', '-', '-', 'Jakarta', 'DKI Jakarta'), (54, 'Kepala Bagian Tata Usaha BPN Provinsi Jawa Barat', 'Jl. Soekarno Hatta No.586 Bandung, Jawa Barat', '(022) 7562056-57', '-', '(022) 7563130', '<NAME>, S', '-', 'Bandung', 'Jawa Barat'), (55, 'Kepala Bidang Hak Tanah dan Pendaftaran Tanah BPN Prov. Banten', 'Jl. Syech Nawawi Albantani Curug Serang 42171', '0254-7075198 / 267037', '-', '0254-267036', 'TETE PURNAMA, SH, MH', '-', 'Serang', 'Banten'), (56, 'Kepala Bidang Hak Tanah dan Pendaftaran Tanah BPN Wil. Provinsi', 'Jl. Soekarno Hatta No. 586 Bandung Jawa Barat', '022-7562056-57', '-', '022-7563130', 'ADIANA RATIH YUNIATI', '-', 'Bandung', 'Jawa Barat'), (57, 'Kepala Bidang Pengaturan dan Penataan Pertanahan BPN Prov BANTEN', 'Jl. Syech Nawawi Albantani Curug, Serang 42171', '0254-7075198 / 267037', '-', '0254-267036', 'ATET GANDJAR MUSLIHA', '-', 'Serang', 'Banten'), (58, 'Kepala Bidang Pengaturan dan Penataan Pertanahan BPN Provinsi Jawa Barat', 'Jl. Soekarno Hatta No. 586 Bandung, Jawa Barat', '022-7562056-57', '-', '022-7563130', '<NAME>', '-', 'Bandung', 'Jawa Barat'), (59, 'Kepala Bidang Pengendalian Pertanahan dan Pemberdayaan Masyarakat BPN Prov Banten', 'Jl. Syech Nawawi Albantani Curug Serang 42171', '0254-7075198 / 267037', '-', '0254-267036', 'Drs. TRISEMADIONO SL', '-', 'Serang', 'Banten'), (60, 'Kepala Bidang Pengendalian, Pertanahan dan Pemberdayaan Masyarakat BPN Provinsi', 'Jl. Soekarno Hatta No. 586 Bandung Jawa Barat', '022-7562056-57', '-', '022-7563130', 'Mulyadi Natawijaya,', '-', 'Bandung', 'Jawa Barat'), (61, 'Kepala Bidang Pengkajian dan Penanganan Sengketa dan Konflik Pertanahan BPN Prov Banten', 'Jl. Syech Nawawi Albantani Curug Serang 42171', '0254-7075198 / 267037', '-', '0254-267036', 'EDY PRASETYO, SH', '-', 'Serang', 'Banten'), (62, 'Kepala Bidang Pengkajian dan Penanganan Sengketa dan Konflik Pertanahan BPN Prov. Jawa Barat', 'Jl. Soekarno Hatta No. 586 Bandung Jawa Barat', '022-7562056-57', '-', '022-7563130', 'HADIAT SONDARA, D, S', '-', 'Bandung', 'Jawa Barat'), (63, 'Kepala Bidang Survey Pengukuran dan Pemetaan BPN Prov banten', 'Jl. Syech Nawawi Albantani Curug Serang 42171', '0254-7075198/267037', '', '0254-267036', 'Ir. Nandang Agus Tar', '-', 'Serang', 'Banten'), (64, 'Kepala Bidang Survey, Pengukuran dan Pemetaan BPN Prov. Jawa Barat', 'Jl. Soekarno Hatta No.586 Bandung, Jawa Barat', '022-7562056-57', '-', '022-7563130,', 'Ir. Djoko Kustanto H', '-', 'Bandung', 'Jawa Barat'), (65, 'Kepala Kantor Pertanahan Kabuopaten tangerang BPN Prov Banten', 'Komplek Perkantoran PEMDA Tiga Raksa Tangerang Banten', '021-5992163 / 15720', '-', '-', 'YUNIAR HIKMAT GINANJ', '-', 'Serang', 'Banten'), (66, 'Kepala Kantor Pertanahan Kabupaten Bogor BPN Provinsi Wilayah Jawa Barat', 'Jl. Tegar Beriman Cibinong Bogor Jawa Barat', '021-87901140-41', '-', '021-87901142', 'Ir. Joko Haryadi, MM', '-', 'Bogor', 'Jawa Barat'), (67, 'Kepala Kantor Pertanahan Kabupaten Lebak BPN Prov Banten', 'Jl. Jend Sudirman KM 3, Rangkas bitung Lebak Banten', '0252-201605/42315', '-', '-', 'Ir. Yus Sudarso', '-', 'Serang', 'Banten'), (68, 'Kepala Kantor Pertanahan Kabupaten Pandeglang BPN Prov Banten', 'Komplek Perkantoran Cikupa Kabupaten Pandeglang Banten', '0253-204751', '-', '-', 'Ir. Boediharto Toesa', '-', 'Serang', 'Banten'), (69, 'Kepala Kantor Pertanahan Kabupaten Serang BPN Prov Banten', 'Jl. Letnan Jidun No. 5 Serang Banten', '0254-42115/203301', '-', '-', 'Drs. <NAME>', '-', 'Serang', 'Banten'), (70, 'Kepala Kantor Pertanahan Kota Administrasi Jakarta Timur', 'Jl. Dr <NAME>ulo Gebang Jakarta Timur 13950', '021-4802138/4802202', '-', '-', 'Ir. Perdananto Aribo', '-', 'Jakarta', 'DKI Jakarta'), (71, 'Kepala Kantor Pertanahan Kota Administrasi Jakarta Utara', 'Jl. Yos Sudarso No. 27-29 Blok R lt 4. Jakarta Utara', '021-4352439/4301124.ext5171', '-', '-', 'SUKARTONO, SH', '-', 'Jakarta', 'DKI Jakarta'), (72, 'Kasubdit Kawasan Strategis Direktorat Perencanaan Ruang Laut, Direktorat Jendral Pengelolaan Ruang Laut, Kemen', '-', '021-3513256', '-', '021-3513256', '-', '-', 'Jakarta', 'DKI Jakarta'), (73, 'Bappeda Provinsi Yogyakarta', '-', '0274-586712', '-', '-', '-', '-', 'Yogyakarta', 'Jawa Tengah'), (74, 'Dinas Pekerjaan Umum Yogyakarta', '-', '0274-589074', '-', '-', '-', '-', 'Yogyakarta', 'Jawa Tengah'), (75, 'Dinas Budaya', '-', '0274-562628', '-', '-', '-', '-', 'Yogyakarta', 'Jawa Tengah'), (76, 'Dinas Pariwisata', '-', '0274-562295', '-', '-', '-', '-', 'Yogyakarta', 'Jawa Tengah'), (77, 'Bappeda Sumatera Utara', '-', '-', '081511516884', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (78, 'Bappeda Sumatera Utara', '-', '-', '081397867021', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (79, 'Bappeda Sumatera Utara', '-', '-', '081624108942', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (80, 'Kabid Dinas Tata Ruang dan Tata Bangunan', '-', '-', '08153103611', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (81, 'Bappeda Sumatera Utara', '-', '-', '081361459393', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (82, 'Kasubdit Tata Ruang Bappeda Sumatera Utara', '-', '-', '0811636570', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (83, 'Bappeda Sumatera Utara', '-', '-', '081397726902', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (84, 'Bappeda Provinsi Sumatera Utara', '-', '-', '0811018321', '-', 'Liga Elba Pardudo', '-', 'Medan', 'Sumatera Utara'), (85, '<NAME>', '-', '-', '081370483729', '-', 'Yossi', '-', 'Medan', 'Sumatera Utara'), (86, '<NAME>', '-', '-', '085297791113', '-', 'I<NAME>', '-', 'Medan', 'Sumatera Utara'), (87, '<NAME>', '-', '-', '082366570888', '-', 'Sofyan', '-', 'Medan', 'Sumatera Utara'), (88, 'Dinas Penataan Ruang dan Pemukiman', '-', '-', '081322034668', '-', '<NAME>', '-', 'Medan', 'Sumatera Utara'), (89, 'Kemendagri Dir. Sinkronisasi Unit Daerah Bangda', 'Subdit Pertanahan dan Penataan Ruang', '-', '081232728042', '-', 'Elfira', '-', 'Jakarta', 'DKI Jakarta'), (90, 'Kemendagri Dir. Sinkronisasi Unit Daerah bangda', 'Subdit Pertanahan dan Penataan Ruang', '-', '081319935234', '-', 'Mutia', '-', 'Jakarta', 'DKI Jakarta'), (91, 'Kemendagri Dir. Sinkronisasi Unit Daerah Bangda', 'Subdit Pertanahan dan Penataan Ruang', '021-7942642', '-', '-', 'Kantor', '-', 'Jakarta', 'DKI Jakarta'), (92, 'Kemenko Perekonomian Sekretaris Pk. Ukil', 'Jakarta', '-', '081286808423', '-', 'Silmi', '-', 'Jakarta', 'DKI Jakarta'), (93, 'Bappenas', 'Jakarta', '-', '085131041661', '-', 'Gita', '-', 'Jakarta', 'DKI Jakarta'), (94, 'Sekretariat Bappenas', '-', '021-392 7412 / 6601', '-', '-', 'Kantor', '-', 'Jakarta', 'DKI Jakarta'), (95, 'BPN <NAME>', 'Sarinah Thamrin Jakarta Pusat', '021-3154683', '-', '-', '-', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (96, '<NAME>', '-', '-', '081284441905', '-', '<NAME>', '<EMAIL>', 'Jakarta', 'DKI Jakarta'), (97, 'Kementrian Perdagangan Staff', '-', '-', '087777880170', '-', '<NAME>', '<EMAIL>', 'Jakarta', 'DKI Jakarta'); -- -------------------------------------------------------- -- -- Struktur dari tabel `siswa` -- CREATE TABLE `siswa` ( `nis` varchar(11) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `nama` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `jenis_kelamin` varchar(10) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `telp` varchar(15) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `alamat` text CHARACTER SET latin1 COLLATE latin1_bin NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `siswa` -- INSERT INTO `siswa` (`nis`, `nama`, `jenis_kelamin`, `telp`, `alamat`) VALUES ('00001', 'BAMBANG', 'Laki-laki', '085780907168', 'jl. belly no.5'), ('00002', 'Wahyu ', 'Laki-laki', '082312313', 'Jl. Bungur Raya no 23'), ('00003', 'Putri', 'Perempuan', '821414124', 'Jl. Palem Raya'), ('00004', 'abustman', 'Laki-laki', '0844553312312', 'Jl. Katak No 2'), ('0002', 'Ani', 'Perempuan', '02123213123', 'Jl Salak no 2'); -- -------------------------------------------------------- -- -- Struktur dari tabel `users` -- CREATE TABLE `users` ( `id_user` int(11) NOT NULL, `nama` varchar(100) NOT NULL, `email` varchar(255) NOT NULL, `username` varchar(32) NOT NULL, `password` varchar(64) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `users` -- INSERT INTO `users` (`id_user`, `nama`, `email`, `username`, `password`) VALUES (1, 'Wisnu', '<EMAIL>', '<PASSWORD>nu', '<PASSWORD>'); -- -- Indexes for dumped tables -- -- -- Indexes for table `guru` -- ALTER TABLE `guru` ADD PRIMARY KEY (`id_guru`); -- -- Indexes for table `kontak` -- ALTER TABLE `kontak` ADD PRIMARY KEY (`id`); -- -- Indexes for table `siswa` -- ALTER TABLE `siswa` ADD PRIMARY KEY (`nis`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id_user`), ADD UNIQUE KEY `email` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `guru` -- ALTER TABLE `guru` MODIFY `id_guru` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `kontak` -- ALTER TABLE `kontak` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=98; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id_user` int(11) 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 */;
CREATE SCHEMA IF NOT EXISTS agi_mopublic_pub_export; CREATE SEQUENCE agi_mopublic_pub_export.t_ili2db_seq;; -- SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung CREATE TABLE agi_mopublic_pub_export.mopublic_bodenbedeckung ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,art_txt varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,egid integer NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,geometrie geometry(POLYGON,2056) NOT NULL ) ; CREATE INDEX mopublic_bodenbedeckung_geometrie_idx ON agi_mopublic_pub_export.mopublic_bodenbedeckung USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckung.art_txt IS 'Bodenbedeckungsart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckung.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckung.egid IS 'Eidgenössischer Gebäudeidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckung.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckung.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckung.geometrie IS 'Geometrie'; -- SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj CREATE TABLE agi_mopublic_pub_export.mopublic_bodenbedeckungproj ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,art_txt varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,egid integer NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,geometrie geometry(POLYGON,2056) NOT NULL ) ; CREATE INDEX mopublic_bodenbedeckngproj_geometrie_idx ON agi_mopublic_pub_export.mopublic_bodenbedeckungproj USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckungproj.art_txt IS 'Bodenbedeckungsart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckungproj.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckungproj.egid IS 'Eidgenössischer Gebäudeidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckungproj.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckungproj.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_bodenbedeckungproj.geometrie IS 'Geometrie'; -- SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche CREATE TABLE agi_mopublic_pub_export.mopublic_einzelobjektflaeche ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,art_txt varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,egid integer NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,geometrie geometry(POLYGON,2056) NOT NULL ) ; CREATE INDEX mopublic_einzelobjektflche_geometrie_idx ON agi_mopublic_pub_export.mopublic_einzelobjektflaeche USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektflaeche.art_txt IS 'Einzelobjektart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektflaeche.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektflaeche.egid IS 'Eidgenössischer Gebäudeidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektflaeche.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektflaeche.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektflaeche.geometrie IS 'Geometrie'; -- SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie CREATE TABLE agi_mopublic_pub_export.mopublic_einzelobjektlinie ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,art_txt varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,geometrie geometry(LINESTRING,2056) NOT NULL ) ; CREATE INDEX mopublic_einzelobjektlinie_geometrie_idx ON agi_mopublic_pub_export.mopublic_einzelobjektlinie USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektlinie.art_txt IS 'Einzelobjektart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektlinie.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektlinie.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektlinie.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektlinie.geometrie IS 'Geometrie'; -- SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze CREATE TABLE agi_mopublic_pub_export.mopublic_gemeindegrenze ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,gemeindename varchar(100) NOT NULL ,geometrie geometry(POLYGON,2056) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_gemeindegrenze_geometrie_idx ON agi_mopublic_pub_export.mopublic_gemeindegrenze USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenze.gemeindename IS 'Name der Gemeinde'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenze.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenze.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenze.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenze.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj CREATE TABLE agi_mopublic_pub_export.mopublic_gemeindegrenzeproj ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,gemeindename varchar(100) NOT NULL ,geometrie geometry(LINESTRING,2056) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_gemeindegrenzproj_geometrie_idx ON agi_mopublic_pub_export.mopublic_gemeindegrenzeproj USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenzeproj.gemeindename IS 'Name der Gemeinde'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenzeproj.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenzeproj.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenzeproj.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gemeindegrenzeproj.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung CREATE TABLE agi_mopublic_pub_export.mopublic_rohrleitung ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(LINESTRING,2056) NOT NULL ,art_txt varchar(100) NOT NULL ,betreiber varchar(40) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_rohrleitung_geometrie_idx ON agi_mopublic_pub_export.mopublic_rohrleitung USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_rohrleitung.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_rohrleitung.art_txt IS 'Transportmedium (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_rohrleitung.betreiber IS 'Betreiber'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_rohrleitung.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_rohrleitung.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_rohrleitung.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.Strassenachse CREATE TABLE agi_mopublic_pub_export.mopublic_strassenachse ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(LINESTRING,2056) NOT NULL ,strassenname varchar(100) NULL ,ordnung integer NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_strassenachse_geometrie_idx ON agi_mopublic_pub_export.mopublic_strassenachse USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassenachse.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassenachse.strassenname IS 'Strassenname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassenachse.ordnung IS 'Ordnung des Strassenstückes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassenachse.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassenachse.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassenachse.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt CREATE TABLE agi_mopublic_pub_export.mopublic_einzelobjektpunkt ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,art_txt varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,symbolorientierung decimal(5,2) NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,geometrie geometry(POINT,2056) NOT NULL ) ; CREATE INDEX mopublic_einzelobjektpunkt_geometrie_idx ON agi_mopublic_pub_export.mopublic_einzelobjektpunkt USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektpunkt.art_txt IS 'Einzelobjektart (Txt-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektpunkt.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektpunkt.symbolorientierung IS 'Orientierung des Symbols'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektpunkt.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektpunkt.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_einzelobjektpunkt.geometrie IS 'Geometrie'; -- SO_AGI_MOpublic_20201009.MOpublic.Flurname CREATE TABLE agi_mopublic_pub_export.mopublic_flurname ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(POLYGON,2056) NOT NULL ,flurname varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,gemeinde varchar(255) NOT NULL ) ; CREATE INDEX mopublic_flurname_geometrie_idx ON agi_mopublic_pub_export.mopublic_flurname USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurname.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurname.flurname IS 'Flurname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurname.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurname.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurname.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurname.gemeinde IS 'Name der Gemeinde'; -- SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos CREATE TABLE agi_mopublic_pub_export.mopublic_flurnamepos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NOT NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,flurname varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,gemeinde varchar(255) NOT NULL ) ; CREATE INDEX mopublic_flurnamepos_pos_idx ON agi_mopublic_pub_export.mopublic_flurnamepos USING GIST ( pos ); COMMENT ON TABLE agi_mopublic_pub_export.mopublic_flurnamepos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.flurname IS 'Flurname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_flurnamepos.gemeinde IS 'Name der Gemeinde'; -- SO_AGI_MOpublic_20201009.MOpublic.Gebaeudeadresse CREATE TABLE agi_mopublic_pub_export.mopublic_gebaeudeadresse ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,lage geometry(POINT,2056) NOT NULL ,strassenname varchar(100) NULL ,hausnummer varchar(20) NULL ,egid integer NULL ,edid integer NULL ,plz integer NOT NULL ,ortschaft varchar(100) NOT NULL ,astatus varchar(20) NULL ,ist_offizielle_bezeichnung boolean NULL ,hoehenlage integer NULL ,gebaeudename varchar(100) NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_gebaeudeadresse_lage_idx ON agi_mopublic_pub_export.mopublic_gebaeudeadresse USING GIST ( lage ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.lage IS 'Lage des Gebäudeeingangs'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.strassenname IS 'Name der Strasse'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.hausnummer IS 'Hausnummer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.egid IS 'Eidgenössischer Gebäudeidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.edid IS 'Eidgenössischer Eingangsidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.plz IS 'Vierstellige Postleitzahl'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.ortschaft IS 'Ortschaftsname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.astatus IS 'Status des Gebäudeinganges'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.ist_offizielle_bezeichnung IS 'Ist Adresse offiziell? ja/nein'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.hoehenlage IS 'Relative Lage des Gebäudeeinganges'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.gebaeudename IS 'Name des Gebäudes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadresse.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos CREATE TABLE agi_mopublic_pub_export.mopublic_gebaeudeadressepos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,pos geometry(POINT,2056) NULL ,orientierung decimal(5,2) NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,strassenname varchar(100) NULL ,hausnummer varchar(20) NULL ,egid integer NULL ,edid integer NULL ,plz integer NOT NULL ,ortschaft varchar(100) NOT NULL ,astatus varchar(20) NULL ,ist_offizielle_bezeichnung boolean NULL ,hoehenlage integer NULL ,gebaeudename varchar(100) NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_gebaeudeadresspos_pos_idx ON agi_mopublic_pub_export.mopublic_gebaeudeadressepos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.pos IS 'Positionierungspunkt für Beschriftung der Hausnummer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.orientierung IS 'Orientierung des Beschriftungstextes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.strassenname IS 'Name der Strasse'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.hausnummer IS 'Hausnummer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.egid IS 'Eidgenössischer Gebäudeidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.edid IS 'Eidgenössischer Eingangsidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.plz IS 'Vierstellige Postleitzahl'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.ortschaft IS 'Ortschaftsname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.astatus IS 'Status des Gebäudeinganges'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.ist_offizielle_bezeichnung IS 'Ist Adresse offiziell? ja/nein'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.hoehenlage IS 'Relative Lage des Gebäudeeinganges'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.gebaeudename IS 'Name des Gebäudes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gebaeudeadressepos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.Gelaendename CREATE TABLE agi_mopublic_pub_export.mopublic_gelaendename ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,gelaendename varchar(100) NOT NULL ,bfs_nr integer NOT NULL ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NOT NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,gemeinde varchar(255) NOT NULL ) ; CREATE INDEX mopublic_gelaendename_pos_idx ON agi_mopublic_pub_export.mopublic_gelaendename USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.gelaendename IS 'Geländename'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_gelaendename.gemeinde IS 'Name der Gemeinde'; -- SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt CREATE TABLE agi_mopublic_pub_export.mopublic_grenzpunkt ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(POINT,2056) NOT NULL ,lagegenauigkeit decimal(4,1) NOT NULL ,lagezuverlaessigkeit boolean NOT NULL ,punktzeichen_txt varchar(100) NOT NULL ,symbolorientierung decimal(5,2) NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,gueltigkeit varchar(255) NOT NULL ) ; CREATE INDEX mopublic_grenzpunkt_geometrie_idx ON agi_mopublic_pub_export.mopublic_grenzpunkt USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.lagegenauigkeit IS 'Lagegenauigkeit'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.lagezuverlaessigkeit IS 'Ist Lagebestimmung zuverlässig? ja/nein'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.punktzeichen_txt IS 'Art des Punktzeichens (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.symbolorientierung IS 'Symbolorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grenzpunkt.gueltigkeit IS 'Gueltigkeit'; -- SO_AGI_MOpublic_20201009.MOpublic.Grundstueck CREATE TABLE agi_mopublic_pub_export.mopublic_grundstueck ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(POLYGON,2056) NOT NULL ,nbident varchar(12) NOT NULL ,nummer varchar(15) NOT NULL ,art_txt varchar(100) NOT NULL ,flaechenmass integer NOT NULL ,egrid varchar(14) NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,grundbuch varchar(255) NOT NULL ,gemeinde varchar(255) NOT NULL ) ; CREATE INDEX mopublic_grundstueck_geometrie_idx ON agi_mopublic_pub_export.mopublic_grundstueck USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.nbident IS 'Nummerierungsbereichidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.nummer IS 'Grundbuchnummer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.art_txt IS 'Grundstücksart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.flaechenmass IS 'Fläche des Grundstückes in m2'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.egrid IS 'Eidgenössischer Grundstücksidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.grundbuch IS 'Name des Grundbuchs (= Grundbuchkreis)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueck.gemeinde IS 'Name der Gemeinde'; -- SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos CREATE TABLE agi_mopublic_pub_export.mopublic_grundstueckpos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NOT NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,nbident varchar(12) NOT NULL ,nummer varchar(15) NOT NULL ,art_txt varchar(100) NOT NULL ,flaechenmass integer NOT NULL ,egrid varchar(14) NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,grundbuch varchar(255) NOT NULL ,gemeinde varchar(255) NOT NULL ) ; CREATE INDEX mopublic_grundstueckpos_pos_idx ON agi_mopublic_pub_export.mopublic_grundstueckpos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.nbident IS 'Nummerierungsbereichidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.nummer IS 'Grundbuchnummer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.art_txt IS 'Grundstücksart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.flaechenmass IS 'Fläche des Grundstückes in m2'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.egrid IS 'Eidgenössischer Grundstücksidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.grundbuch IS 'Name des Grundbuchs (= Grundbuchkreis)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckpos.gemeinde IS 'Name der Gemeinde'; -- SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProj CREATE TABLE agi_mopublic_pub_export.mopublic_grundstueckproj ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(POLYGON,2056) NOT NULL ,nbident varchar(12) NOT NULL ,nummer varchar(15) NOT NULL ,art_txt varchar(100) NOT NULL ,flaechenmass integer NOT NULL ,egrid varchar(14) NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,grundbuch varchar(255) NOT NULL ,gemeinde varchar(255) NOT NULL ) ; CREATE INDEX mopublic_grundstueckproj_geometrie_idx ON agi_mopublic_pub_export.mopublic_grundstueckproj USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.nbident IS 'Nummerierungsbereichidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.nummer IS 'Grundbuchnummer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.art_txt IS 'Grundstücksart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.flaechenmass IS 'Fläche des Grundstückes in m2'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.egrid IS 'Eidgenössischer Grundstücksidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.grundbuch IS 'Name des Grundbuchs (= Grundbuchkreis)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckproj.gemeinde IS 'Name der Gemeinde'; -- SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos CREATE TABLE agi_mopublic_pub_export.mopublic_grundstueckprojpos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NOT NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,nbident varchar(12) NOT NULL ,nummer varchar(15) NOT NULL ,art_txt varchar(100) NOT NULL ,flaechenmass integer NOT NULL ,egrid varchar(14) NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,grundbuch varchar(255) NOT NULL ,gemeinde varchar(255) NOT NULL ) ; CREATE INDEX mopublic_grundstueckprjpos_pos_idx ON agi_mopublic_pub_export.mopublic_grundstueckprojpos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.nbident IS 'Nummerierungsbereichidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.nummer IS 'Grundbuchnummer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.art_txt IS 'Grundstücksart (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.flaechenmass IS 'Fläche des Grundstückes in m2'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.egrid IS 'Eidgenössischer Grundstücksidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.grundbuch IS 'Name des Grundbuchs (= Grundbuchkreis)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_grundstueckprojpos.gemeinde IS 'Name der Gemeinde'; -- SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos CREATE TABLE agi_mopublic_pub_export.mopublic_objektnamepos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,objektname varchar(100) NOT NULL ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NOT NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,art_txt varchar(100) NOT NULL ,herkunft varchar(255) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,astatus varchar(20) NOT NULL ) ; CREATE INDEX mopublic_objektnamepos_pos_idx ON agi_mopublic_pub_export.mopublic_objektnamepos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.objektname IS 'Name des Objektes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.pos IS 'Position'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.hali IS 'Halignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.vali IS 'Valignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.art_txt IS 'Art des Objektnamens, aus Art BB/EO. (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.herkunft IS 'Herkunft des Objektnames'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_objektnamepos.astatus IS 'Status der Geometrie: projektiert/realisiert'; -- SO_AGI_MOpublic_20201009.MOpublic.Ortsname CREATE TABLE agi_mopublic_pub_export.mopublic_ortsname ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(POLYGON,2056) NOT NULL ,ortsname varchar(40) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_ortsname_geometrie_idx ON agi_mopublic_pub_export.mopublic_ortsname USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsname.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsname.ortsname IS 'Ortsname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsname.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsname.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsname.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos CREATE TABLE agi_mopublic_pub_export.mopublic_ortsnamepos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NOT NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,ortsname varchar(40) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_ortsnamepos_pos_idx ON agi_mopublic_pub_export.mopublic_ortsnamepos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.ortsname IS 'Ortsname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_ortsnamepos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos CREATE TABLE agi_mopublic_pub_export.mopublic_strassennamepos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,strassenname varchar(100) NOT NULL ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NOT NULL ,hali varchar(255) NOT NULL ,vali varchar(255) NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_strassennamepos_pos_idx ON agi_mopublic_pub_export.mopublic_strassennamepos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.strassenname IS 'Strassenname'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_strassennamepos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.Fixpunkt CREATE TABLE agi_mopublic_pub_export.mopublic_fixpunkt ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(POINT,2056) NOT NULL ,typ_txt varchar(100) NOT NULL ,nbident varchar(12) NOT NULL ,nummer varchar(12) NULL ,hoehe decimal(7,3) NULL ,bfs_nr integer NOT NULL ,lagegenauigkeit decimal(4,1) NOT NULL ,hoehengenauigkeit decimal(4,1) NULL ,punktzeichen_txt varchar(100) NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,koordinate varchar(40) NOT NULL ) ; CREATE INDEX mopublic_fixpunkt_geometrie_idx ON agi_mopublic_pub_export.mopublic_fixpunkt USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.typ_txt IS 'Fixpunkttyp (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.nbident IS 'Nummerierungsbereichidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.nummer IS 'Bezeichnung des Fixpunktes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.hoehe IS 'Höhe'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.lagegenauigkeit IS 'Lagegenauigkeit'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.hoehengenauigkeit IS 'Höhengenauigkeit'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.punktzeichen_txt IS 'Punktzeichen (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunkt.koordinate IS 'Koordinate (Text-Repräsentation)'; -- SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos CREATE TABLE agi_mopublic_pub_export.mopublic_fixpunktpos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,pos geometry(POINT,2056) NOT NULL ,orientierung decimal(5,2) NULL ,hali varchar(255) NULL ,vali varchar(255) NULL ,typ_txt varchar(100) NOT NULL ,nbident varchar(12) NOT NULL ,nummer varchar(12) NULL ,hoehe decimal(7,3) NULL ,bfs_nr integer NOT NULL ,lagegenauigkeit decimal(4,1) NOT NULL ,hoehengenauigkeit decimal(4,1) NULL ,punktzeichen_txt varchar(100) NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ,koordinate varchar(40) NOT NULL ) ; CREATE INDEX mopublic_fixpunktpos_pos_idx ON agi_mopublic_pub_export.mopublic_fixpunktpos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.orientierung IS 'Textorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.typ_txt IS 'Fixpunkttyp (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.nbident IS 'Nummerierungsbereichidentifikator'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.nummer IS 'Bezeichnung des Fixpunktes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.hoehe IS 'Höhe'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.lagegenauigkeit IS 'Lagegenauigkeit'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.hoehengenauigkeit IS 'Höhengenauigkeit'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.punktzeichen_txt IS 'Punktzeichen (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_fixpunktpos.koordinate IS 'Koordinate (Text-Repräsentation)'; -- SO_AGI_MOpublic_20201009.MOpublic.Hoheitsgrenzpunkt CREATE TABLE agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,geometrie geometry(POINT,2056) NOT NULL ,nummer varchar(20) NULL ,punktzeichen_txt varchar(100) NOT NULL ,schoener_stein boolean NOT NULL ,lagegenauigkeit decimal(4,1) NOT NULL ,lagezuverlaessigkeit boolean NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_hoheitsgrenzpunkt_geometrie_idx ON agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt USING GIST ( geometrie ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.geometrie IS 'Geometrie'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.nummer IS 'Nummer des Hoheitsgrenzpunktes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.punktzeichen_txt IS 'Punktzeichen (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.schoener_stein IS 'Schöner Stein? ja/nein'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.lagegenauigkeit IS 'Lagegenauigkeit'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.lagezuverlaessigkeit IS 'Ist Lagebestimmung zuverlässig? ja/nein'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt.nachfuehrung IS 'Datum der Nachführung durch Geometer'; -- SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos CREATE TABLE agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos ( T_Id bigint PRIMARY KEY DEFAULT nextval('agi_mopublic_pub_export.t_ili2db_seq') ,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4() ,pos geometry(POINT,2056) NULL ,hali varchar(255) NULL ,vali varchar(255) NULL ,symbolorientierung decimal(5,2) NULL ,nummer varchar(20) NULL ,punktzeichen_txt varchar(100) NOT NULL ,schoener_stein boolean NOT NULL ,lagegenauigkeit decimal(4,1) NOT NULL ,lagezuverlaessigkeit boolean NOT NULL ,bfs_nr integer NOT NULL ,importdatum timestamp NOT NULL ,nachfuehrung date NULL ) ; CREATE INDEX mopublic_hohetsgrnzpnktpos_pos_idx ON agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos USING GIST ( pos ); COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.pos IS 'Positionierungspunkt für Beschriftung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.hali IS 'HAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.vali IS 'VAlignment'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.symbolorientierung IS 'Symbolorientierung'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.nummer IS 'Nummer des Hoheitsgrenzpunktes'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.punktzeichen_txt IS 'Punktzeichen (Text-Repräsentation)'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.schoener_stein IS '<NAME>? ja/nein'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.lagegenauigkeit IS 'Lagegenauigkeit'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.lagezuverlaessigkeit IS 'Ist Lagebestimmung zuverlässig? ja/nein'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.bfs_nr IS 'Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt.'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.importdatum IS 'Importdatum'; COMMENT ON COLUMN agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos.nachfuehrung IS 'Datum der Nachführung durch Geometer'; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_BASKET ( T_Id bigint PRIMARY KEY ,dataset bigint NULL ,topic varchar(200) NOT NULL ,T_Ili_Tid varchar(200) NULL ,attachmentKey varchar(200) NOT NULL ,domains varchar(1024) NULL ) ; CREATE INDEX T_ILI2DB_BASKET_dataset_idx ON agi_mopublic_pub_export.t_ili2db_basket ( dataset ); CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_DATASET ( T_Id bigint PRIMARY KEY ,datasetName varchar(200) NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_INHERITANCE ( thisClass varchar(1024) PRIMARY KEY ,baseClass varchar(1024) NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_SETTINGS ( tag varchar(60) PRIMARY KEY ,setting varchar(1024) NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_TRAFO ( iliname varchar(1024) NOT NULL ,tag varchar(1024) NOT NULL ,setting varchar(1024) NOT NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_MODEL ( filename varchar(250) NOT NULL ,iliversion varchar(3) NOT NULL ,modelName text NOT NULL ,content text NOT NULL ,importDate timestamp NOT NULL ,PRIMARY KEY (modelName,iliversion) ) ; CREATE TABLE agi_mopublic_pub_export.valignment ( itfCode integer PRIMARY KEY ,iliCode varchar(1024) NOT NULL ,seq integer NULL ,inactive boolean NOT NULL ,dispName varchar(250) NOT NULL ,description varchar(1024) NULL ) ; CREATE TABLE agi_mopublic_pub_export.halignment ( itfCode integer PRIMARY KEY ,iliCode varchar(1024) NOT NULL ,seq integer NULL ,inactive boolean NOT NULL ,dispName varchar(250) NOT NULL ,description varchar(1024) NULL ) ; CREATE TABLE agi_mopublic_pub_export.mopublic_objektnamepos_herkunft ( itfCode integer PRIMARY KEY ,iliCode varchar(1024) NOT NULL ,seq integer NULL ,inactive boolean NOT NULL ,dispName varchar(250) NOT NULL ,description varchar(1024) NULL ) ; CREATE TABLE agi_mopublic_pub_export.mopublic_grenzpunkt_gueltigkeit ( itfCode integer PRIMARY KEY ,iliCode varchar(1024) NOT NULL ,seq integer NULL ,inactive boolean NOT NULL ,dispName varchar(250) NOT NULL ,description varchar(1024) NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_CLASSNAME ( IliName varchar(1024) PRIMARY KEY ,SqlName varchar(1024) NOT NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_ATTRNAME ( IliName varchar(1024) NOT NULL ,SqlName varchar(1024) NOT NULL ,ColOwner varchar(1024) NOT NULL ,Target varchar(1024) NULL ,PRIMARY KEY (ColOwner,SqlName) ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP ( tablename varchar(255) NOT NULL ,subtype varchar(255) NULL ,columnname varchar(255) NOT NULL ,tag varchar(1024) NOT NULL ,setting varchar(1024) NOT NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP ( tablename varchar(255) NOT NULL ,tag varchar(1024) NOT NULL ,setting varchar(1024) NOT NULL ) ; CREATE TABLE agi_mopublic_pub_export.T_ILI2DB_META_ATTRS ( ilielement varchar(255) NOT NULL ,attr_name varchar(1024) NOT NULL ,attr_value varchar(1024) NOT NULL ) ; ALTER TABLE agi_mopublic_pub_export.mopublic_bodenbedeckung ADD CONSTRAINT mopublic_bodenbedeckung_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_bodenbedeckung ADD CONSTRAINT mopublic_bodenbedeckung_egid_check CHECK( egid BETWEEN 0 AND 999999999); ALTER TABLE agi_mopublic_pub_export.mopublic_bodenbedeckungproj ADD CONSTRAINT mopublic_bodenbedckngproj_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_bodenbedeckungproj ADD CONSTRAINT mopublic_bodenbedckngproj_egid_check CHECK( egid BETWEEN 0 AND 999999999); ALTER TABLE agi_mopublic_pub_export.mopublic_einzelobjektflaeche ADD CONSTRAINT mopublic_einzelobjktflche_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_einzelobjektflaeche ADD CONSTRAINT mopublic_einzelobjktflche_egid_check CHECK( egid BETWEEN 0 AND 999999999); ALTER TABLE agi_mopublic_pub_export.mopublic_einzelobjektlinie ADD CONSTRAINT mopublic_einzelobjektlnie_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gemeindegrenze ADD CONSTRAINT mopublic_gemeindegrenze_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gemeindegrenzeproj ADD CONSTRAINT mopublic_gemeindegrnzproj_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_rohrleitung ADD CONSTRAINT mopublic_rohrleitung_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_strassenachse ADD CONSTRAINT mopublic_strassenachse_ordnung_check CHECK( ordnung BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_strassenachse ADD CONSTRAINT mopublic_strassenachse_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_einzelobjektpunkt ADD CONSTRAINT mopublic_einzelobjektpnkt_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_einzelobjektpunkt ADD CONSTRAINT mopublic_einzelobjektpnkt_symbolorientierung_check CHECK( symbolorientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_flurname ADD CONSTRAINT mopublic_flurname_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_flurnamepos ADD CONSTRAINT mopublic_flurnamepos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_flurnamepos ADD CONSTRAINT mopublic_flurnamepos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadresse ADD CONSTRAINT mopublic_gebaeudeadresse_egid_check CHECK( egid BETWEEN 0 AND 999999999); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadresse ADD CONSTRAINT mopublic_gebaeudeadresse_edid_check CHECK( edid BETWEEN 0 AND 99); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadresse ADD CONSTRAINT mopublic_gebaeudeadresse_plz_check CHECK( plz BETWEEN 0 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadresse ADD CONSTRAINT mopublic_gebaeudeadresse_hoehenlage_check CHECK( hoehenlage BETWEEN -99 AND 99); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadresse ADD CONSTRAINT mopublic_gebaeudeadresse_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadressepos ADD CONSTRAINT mopublic_gebaeudeadrsspos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadressepos ADD CONSTRAINT mopublic_gebaeudeadrsspos_egid_check CHECK( egid BETWEEN 0 AND 999999999); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadressepos ADD CONSTRAINT mopublic_gebaeudeadrsspos_edid_check CHECK( edid BETWEEN 0 AND 99); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadressepos ADD CONSTRAINT mopublic_gebaeudeadrsspos_plz_check CHECK( plz BETWEEN 0 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadressepos ADD CONSTRAINT mopublic_gebaeudeadrsspos_hoehenlage_check CHECK( hoehenlage BETWEEN -99 AND 99); ALTER TABLE agi_mopublic_pub_export.mopublic_gebaeudeadressepos ADD CONSTRAINT mopublic_gebaeudeadrsspos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gelaendename ADD CONSTRAINT mopublic_gelaendename_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_gelaendename ADD CONSTRAINT mopublic_gelaendename_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_grenzpunkt ADD CONSTRAINT mopublic_grenzpunkt_lagegenauigkeit_check CHECK( lagegenauigkeit BETWEEN 0.0 AND 700.0); ALTER TABLE agi_mopublic_pub_export.mopublic_grenzpunkt ADD CONSTRAINT mopublic_grenzpunkt_symbolorientierung_check CHECK( symbolorientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_grenzpunkt ADD CONSTRAINT mopublic_grenzpunkt_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueck ADD CONSTRAINT mopublic_grundstueck_flaechenmass_check CHECK( flaechenmass BETWEEN 0 AND 2147483647); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueck ADD CONSTRAINT mopublic_grundstueck_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckpos ADD CONSTRAINT mopublic_grundstueckpos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckpos ADD CONSTRAINT mopublic_grundstueckpos_flaechenmass_check CHECK( flaechenmass BETWEEN 0 AND 2147483647); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckpos ADD CONSTRAINT mopublic_grundstueckpos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckproj ADD CONSTRAINT mopublic_grundstueckproj_flaechenmass_check CHECK( flaechenmass BETWEEN 0 AND 2147483647); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckproj ADD CONSTRAINT mopublic_grundstueckproj_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckprojpos ADD CONSTRAINT mopublic_grundstuckprjpos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckprojpos ADD CONSTRAINT mopublic_grundstuckprjpos_flaechenmass_check CHECK( flaechenmass BETWEEN 0 AND 2147483647); ALTER TABLE agi_mopublic_pub_export.mopublic_grundstueckprojpos ADD CONSTRAINT mopublic_grundstuckprjpos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_objektnamepos ADD CONSTRAINT mopublic_objektnamepos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_objektnamepos ADD CONSTRAINT mopublic_objektnamepos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_ortsname ADD CONSTRAINT mopublic_ortsname_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_ortsnamepos ADD CONSTRAINT mopublic_ortsnamepos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_ortsnamepos ADD CONSTRAINT mopublic_ortsnamepos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_strassennamepos ADD CONSTRAINT mopublic_strassennamepos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_strassennamepos ADD CONSTRAINT mopublic_strassennamepos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunkt ADD CONSTRAINT mopublic_fixpunkt_hoehe_check CHECK( hoehe BETWEEN -200.0 AND 1600.0); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunkt ADD CONSTRAINT mopublic_fixpunkt_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunkt ADD CONSTRAINT mopublic_fixpunkt_lagegenauigkeit_check CHECK( lagegenauigkeit BETWEEN 0.0 AND 700.0); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunkt ADD CONSTRAINT mopublic_fixpunkt_hoehengenauigkeit_check CHECK( hoehengenauigkeit BETWEEN 0.0 AND 700.0); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunktpos ADD CONSTRAINT mopublic_fixpunktpos_orientierung_check CHECK( orientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunktpos ADD CONSTRAINT mopublic_fixpunktpos_hoehe_check CHECK( hoehe BETWEEN -200.0 AND 1600.0); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunktpos ADD CONSTRAINT mopublic_fixpunktpos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunktpos ADD CONSTRAINT mopublic_fixpunktpos_lagegenauigkeit_check CHECK( lagegenauigkeit BETWEEN 0.0 AND 700.0); ALTER TABLE agi_mopublic_pub_export.mopublic_fixpunktpos ADD CONSTRAINT mopublic_fixpunktpos_hoehengenauigkeit_check CHECK( hoehengenauigkeit BETWEEN 0.0 AND 700.0); ALTER TABLE agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt ADD CONSTRAINT mopublic_hoheitsgrenzpnkt_lagegenauigkeit_check CHECK( lagegenauigkeit BETWEEN 0.0 AND 700.0); ALTER TABLE agi_mopublic_pub_export.mopublic_hoheitsgrenzpunkt ADD CONSTRAINT mopublic_hoheitsgrenzpnkt_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos ADD CONSTRAINT mopublic_hohtsgrnzpnktpos_symbolorientierung_check CHECK( symbolorientierung BETWEEN -270.0 AND 90.0); ALTER TABLE agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos ADD CONSTRAINT mopublic_hohtsgrnzpnktpos_lagegenauigkeit_check CHECK( lagegenauigkeit BETWEEN 0.0 AND 700.0); ALTER TABLE agi_mopublic_pub_export.mopublic_hoheitsgrenzpunktpos ADD CONSTRAINT mopublic_hohtsgrnzpnktpos_bfs_nr_check CHECK( bfs_nr BETWEEN 1 AND 9999); ALTER TABLE agi_mopublic_pub_export.T_ILI2DB_BASKET ADD CONSTRAINT T_ILI2DB_BASKET_dataset_fkey FOREIGN KEY ( dataset ) REFERENCES agi_mopublic_pub_export.T_ILI2DB_DATASET DEFERRABLE INITIALLY DEFERRED; CREATE UNIQUE INDEX T_ILI2DB_DATASET_datasetName_key ON agi_mopublic_pub_export.T_ILI2DB_DATASET (datasetName) ; CREATE UNIQUE INDEX T_ILI2DB_MODEL_modelName_iliversion_key ON agi_mopublic_pub_export.T_ILI2DB_MODEL (modelName,iliversion) ; CREATE UNIQUE INDEX T_ILI2DB_ATTRNAME_ColOwner_SqlName_key ON agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (ColOwner,SqlName) ; INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProj','mopublic_grundstueckproj'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung','mopublic_rohrleitung'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('INTERLIS.VALIGNMENT','valignment'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grundstueck','mopublic_grundstueck'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase','mopublic_flurnamebase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('INTERLIS.HALIGNMENT','halignment'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase','mopublic_gebaeudeadressebase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Gueltigkeit','mopublic_grenzpunkt_gueltigkeit'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt','mopublic_grenzpunkt'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase','mopublic_hoheitsgrenzpunktbase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Flurname','mopublic_flurname'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos','mopublic_grundstueckpos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase','mopublic_ortsnamebase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos','mopublic_flurnamepos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gebaeudeadresse','mopublic_gebaeudeadresse'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos','mopublic_ortsnamepos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos','mopublic_objektnamepos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename','mopublic_gelaendename'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj','mopublic_gemeindegrenzeproj'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Hoheitsgrenzpunkt','mopublic_hoheitsgrenzpunkt'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos','mopublic_hoheitsgrenzpunktpos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung','mopublic_bodenbedeckung'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse','mopublic_strassenachse'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Ortsname','mopublic_ortsname'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos','mopublic_strassennamepos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase','mopublic_grundstueckprojbase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt','mopublic_einzelobjektpunkt'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos','mopublic_grundstueckprojpos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos','mopublic_fixpunktpos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Fixpunkt','mopublic_fixpunkt'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Herkunft','mopublic_objektnamepos_herkunft'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase','mopublic_fixpunktbase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie','mopublic_einzelobjektlinie'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj','mopublic_bodenbedeckungproj'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos','mopublic_gebaeudeadressepos'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase','mopublic_grundstueckbase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze','mopublic_gemeindegrenze'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche','mopublic_einzelobjektflaeche'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse.Importdatum','importdatum','mopublic_strassenachse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.Importdatum','importdatum','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos.VAli','vali','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Nachfuehrung','nachfuehrung','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze.BFS_Nr','bfs_nr','mopublic_gemeindegrenze',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt.Importdatum','importdatum','mopublic_einzelobjektpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Importdatum','importdatum','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Gemeinde','gemeinde','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Art_txt','art_txt','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj.Gemeindename','gemeindename','mopublic_gemeindegrenzeproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos.Pos','pos','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Strassenname','strassenname','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Nachfuehrung','nachfuehrung','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Grundbuch','grundbuch','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt.BFS_Nr','bfs_nr','mopublic_einzelobjektpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Strassenname','strassenname','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt.Art_txt','art_txt','mopublic_einzelobjektpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie.Art_txt','art_txt','mopublic_einzelobjektlinie',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Importdatum','importdatum','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.NBIdent','nbident','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.HAli','hali','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Nummer','nummer','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung.Geometrie','geometrie','mopublic_rohrleitung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Gebaeudename','gebaeudename','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.Importdatum','importdatum','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung.Art_txt','art_txt','mopublic_rohrleitung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Nachfuehrung','nachfuehrung','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Orientierung','orientierung','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie.Importdatum','importdatum','mopublic_einzelobjektlinie',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Grundbuch','grundbuch','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj.Nachfuehrung','nachfuehrung','mopublic_gemeindegrenzeproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche.EGID','egid','mopublic_einzelobjektflaeche',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos.Orientierung','orientierung','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Gebaeudename','gebaeudename','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche.Importdatum','importdatum','mopublic_einzelobjektflaeche',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.EGRID','egrid','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse.Ordnung','ordnung','mopublic_strassenachse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos.VAli','vali','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Hoehengenauigkeit','hoehengenauigkeit','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung.Importdatum','importdatum','mopublic_bodenbedeckung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.EGRID','egrid','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.Ortsname','ortsname','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Nachfuehrung','nachfuehrung','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.NBIdent','nbident','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.NBIdent','nbident','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.PLZ','plz','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.NBIdent','nbident','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Nachfuehrung','nachfuehrung','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.EGRID','egrid','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.BFS_Nr','bfs_nr','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.Pos','pos','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung.Nachfuehrung','nachfuehrung','mopublic_bodenbedeckung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.Strassenname','strassenname','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Hausnummer','hausnummer','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Nachfuehrung','nachfuehrung','mopublic_flurname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.BFS_Nr','bfs_nr','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Importdatum','importdatum','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung.BFS_Nr','bfs_nr','mopublic_rohrleitung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Status','astatus','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Importdatum','importdatum','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung.Importdatum','importdatum','mopublic_rohrleitung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung.Art_txt','art_txt','mopublic_bodenbedeckung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj.BFS_Nr','bfs_nr','mopublic_gemeindegrenzeproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Importdatum','importdatum','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Hoehengenauigkeit','hoehengenauigkeit','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Importdatum','importdatum','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.PLZ','plz','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj.BFS_Nr','bfs_nr','mopublic_bodenbedeckungproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze.Gemeindename','gemeindename','mopublic_gemeindegrenze',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.BFS_Nr','bfs_nr','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos.HAli','hali','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.BFS_Nr','bfs_nr','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj.Importdatum','importdatum','mopublic_bodenbedeckungproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj.Geometrie','geometrie','mopublic_bodenbedeckungproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Gemeinde','gemeinde','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Nachfuehrung','nachfuehrung','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.NBIdent','nbident','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.BFS_Nr','bfs_nr','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Nachfuehrung','nachfuehrung','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt.Nachfuehrung','nachfuehrung','mopublic_einzelobjektpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos.Pos','pos','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Art_txt','art_txt','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Nachfuehrung','nachfuehrung','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt.Geometrie','geometrie','mopublic_einzelobjektpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Ortschaft','ortschaft','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie.Geometrie','geometrie','mopublic_einzelobjektlinie',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.Importdatum','importdatum','mopublic_ortsname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Lagegenauigkeit','lagegenauigkeit','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt.Symbolorientierung','symbolorientierung','mopublic_einzelobjektpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Ortschaft','ortschaft','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Lagezuverlaessigkeit','lagezuverlaessigkeit','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Pos','pos','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Gemeinde','gemeinde','mopublic_flurname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos.VAli','vali','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Importdatum','importdatum','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos.Orientierung','orientierung','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos.VAli','vali','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Nummer','nummer','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.VAli','vali','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Nummer','nummer','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Lagegenauigkeit','lagegenauigkeit','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Fixpunkt.Geometrie','geometrie','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos.Pos','pos','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Art_txt','art_txt','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Lagegenauigkeit','lagegenauigkeit','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Hausnummer','hausnummer','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.EGID','egid','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj.Geometrie','geometrie','mopublic_gemeindegrenzeproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.Importdatum','importdatum','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Art_txt','art_txt','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Flaechenmass','flaechenmass','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos.HAli','hali','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grundstueck.Geometrie','geometrie','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Hoehe','hoehe','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Punktzeichen_txt','punktzeichen_txt','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Flurname','flurname','mopublic_flurname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Koordinate','koordinate','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse.BFS_Nr','bfs_nr','mopublic_strassenachse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung.Betreiber','betreiber','mopublic_rohrleitung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.Orientierung','orientierung','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj.Art_txt','art_txt','mopublic_bodenbedeckungproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Nachfuehrung','nachfuehrung','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Nachfuehrung','nachfuehrung','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Flurname.Geometrie','geometrie','mopublic_flurname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Status','astatus','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse.Nachfuehrung','nachfuehrung','mopublic_strassenachse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Lagegenauigkeit','lagegenauigkeit','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung.Geometrie','geometrie','mopublic_bodenbedeckung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche.BFS_Nr','bfs_nr','mopublic_einzelobjektflaeche',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Typ_txt','typ_txt','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.BFS_Nr','bfs_nr','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj.Nachfuehrung','nachfuehrung','mopublic_bodenbedeckungproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.BFS_Nr','bfs_nr','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Koordinate','koordinate','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.EGID','egid','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.VAli','vali','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Ortsname.Geometrie','geometrie','mopublic_ortsname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProj.Geometrie','geometrie','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.BFS_Nr','bfs_nr','mopublic_ortsname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Importdatum','importdatum','mopublic_flurname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.HAli','hali','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos.Orientierung','orientierung','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Gemeinde','gemeinde','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Flaechenmass','flaechenmass','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Punktzeichen_txt','punktzeichen_txt','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos.HAli','hali','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.BFS_Nr','bfs_nr','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie.Nachfuehrung','nachfuehrung','mopublic_einzelobjektlinie',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche.Nachfuehrung','nachfuehrung','mopublic_einzelobjektflaeche',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Flurname','flurname','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos.Orientierung','orientierung','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.Orientierung','orientierung','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Importdatum','importdatum','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Importdatum','importdatum','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Nachfuehrung','nachfuehrung','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche.Geometrie','geometrie','mopublic_einzelobjektflaeche',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.Pos','pos','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Symbolorientierung','symbolorientierung','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.Nachfuehrung','nachfuehrung','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung.BFS_Nr','bfs_nr','mopublic_bodenbedeckung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos.HAli','hali','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung.Nachfuehrung','nachfuehrung','mopublic_rohrleitung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gebaeudeadresse.Lage','lage','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Geometrie','geometrie','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.Ortsname','ortsname','mopublic_ortsname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos.Pos','pos','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Importdatum','importdatum','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Importdatum','importdatum','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos.VAli','vali','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos.Pos','pos','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze.Nachfuehrung','nachfuehrung','mopublic_gemeindegrenze',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Herkunft','herkunft','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Hoheitsgrenzpunkt.Geometrie','geometrie','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Punktzeichen_txt','punktzeichen_txt','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie.BFS_Nr','bfs_nr','mopublic_einzelobjektlinie',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Nummer','nummer','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Lagezuverlaessigkeit','lagezuverlaessigkeit','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.BFS_Nr','bfs_nr','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung.EGID','egid','mopublic_bodenbedeckung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse.Strassenname','strassenname','mopublic_strassenachse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos.HAli','hali','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Grundbuch','grundbuch','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos.HAli','hali','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Flaechenmass','flaechenmass','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Nachfuehrung','nachfuehrung','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Importdatum','importdatum','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Hoehenlage','hoehenlage','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze.Importdatum','importdatum','mopublic_gemeindegrenze',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos.Orientierung','orientierung','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.NBIdent','nbident','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos.Pos','pos','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.ist_offizielle_bezeichnung','ist_offizielle_bezeichnung','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze.Geometrie','geometrie','mopublic_gemeindegrenze',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.EDID','edid','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos.HAli','hali','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.Nachfuehrung','nachfuehrung','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos.VAli','vali','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Hoehe','hoehe','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.HAli','hali','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Art_txt','art_txt','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.BFS_Nr','bfs_nr','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.schoener_Stein','schoener_stein','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.schoener_Stein','schoener_stein','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos.Pos','pos','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Flaechenmass','flaechenmass','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos.Symbolorientierung','symbolorientierung','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Nummer','nummer','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Nummer','nummer','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Punktzeichen_txt','punktzeichen_txt','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Gemeinde','gemeinde','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase.Nachfuehrung','nachfuehrung','mopublic_ortsname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Gueltigkeit','gueltigkeit','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Nachfuehrung','nachfuehrung','mopublic_grundstueckprojpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj.EGID','egid','mopublic_bodenbedeckungproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.Objektname','objektname','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche.Art_txt','art_txt','mopublic_einzelobjektflaeche',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos.VAli','vali','mopublic_objektnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase.Grundbuch','grundbuch','mopublic_grundstueckproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Hoehenlage','hoehenlage','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.BFS_Nr','bfs_nr','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos.VAli','vali','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.ist_offizielle_bezeichnung','ist_offizielle_bezeichnung','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.BFS_Nr','bfs_nr','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Nummer','nummer','mopublic_fixpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Lagezuverlaessigkeit','lagezuverlaessigkeit','mopublic_hoheitsgrenzpunktpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.Gelaendename','gelaendename','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.Status','astatus','mopublic_gebaeudeadresse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.BFS_Nr','bfs_nr','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos.Nachfuehrung','nachfuehrung','mopublic_strassennamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.BFS_Nr','bfs_nr','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.BFS_Nr','bfs_nr','mopublic_flurname',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase.Nummer','nummer','mopublic_hoheitsgrenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.BFS_Nr','bfs_nr','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.EGRID','egrid','mopublic_grundstueckpos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse.Geometrie','geometrie','mopublic_strassenachse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename.Gemeinde','gemeinde','mopublic_gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos.Orientierung','orientierung','mopublic_ortsnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase.EDID','edid','mopublic_gebaeudeadressepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Typ_txt','typ_txt','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase.Importdatum','importdatum','mopublic_flurnamepos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt.Punktzeichen_txt','punktzeichen_txt','mopublic_grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.BFS_Nr','bfs_nr','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase.Lagegenauigkeit','lagegenauigkeit','mopublic_fixpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase.Gemeinde','gemeinde','mopublic_grundstueck',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj.Importdatum','importdatum','mopublic_gemeindegrenzeproj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProj','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grundstueck','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase','ch.ehi.ili2db.inheritance','subClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase','ch.ehi.ili2db.inheritance','subClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase','ch.ehi.ili2db.inheritance','subClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Flurname','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase','ch.ehi.ili2db.inheritance','subClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gebaeudeadresse','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Hoheitsgrenzpunkt','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Ortsname','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase','ch.ehi.ili2db.inheritance','subClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Fixpunkt','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase','ch.ehi.ili2db.inheritance','subClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase','ch.ehi.ili2db.inheritance','subClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche','ch.ehi.ili2db.inheritance','newClass'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.StrassennamePos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.BodenbedeckungProj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktPos','SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.ObjektnamePos',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktPos','SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadressePos','SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektLinie',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Flurname','SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckPos','SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Hoheitsgrenzpunkt','SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Bodenbedeckung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GemeindegrenzeProj',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grundstueck','SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Fixpunkt','SO_AGI_MOpublic_20201009.MOpublic.FixpunktBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektFlaeche',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.EinzelobjektPunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Grenzpunkt',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckBase',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjPos','SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gemeindegrenze',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Rohrleitung',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Ortsname','SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.FlurnamePos','SO_AGI_MOpublic_20201009.MOpublic.FlurnameBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.OrtsnamePos','SO_AGI_MOpublic_20201009.MOpublic.OrtsnameBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Strassenachse',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProj','SO_AGI_MOpublic_20201009.MOpublic.GrundstueckProjBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gebaeudeadresse','SO_AGI_MOpublic_20201009.MOpublic.GebaeudeadresseBase'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.HoheitsgrenzpunktBase',NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_MOpublic_20201009.MOpublic.Gelaendename',NULL); INSERT INTO agi_mopublic_pub_export.valignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (0,'Top',0,'Top',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.valignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (1,'Cap',1,'Cap',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.valignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (2,'Half',2,'Half',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.valignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (3,'Base',3,'Base',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.valignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (4,'Bottom',4,'Bottom',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.halignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (0,'Left',0,'Left',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.halignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (1,'Center',1,'Center',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.halignment (seq,iliCode,itfCode,dispName,inactive,description) VALUES (2,'Right',2,'Right',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.mopublic_objektnamepos_herkunft (seq,iliCode,itfCode,dispName,inactive,description) VALUES (NULL,'EO_Punkt',0,'EO Punkt',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.mopublic_objektnamepos_herkunft (seq,iliCode,itfCode,dispName,inactive,description) VALUES (NULL,'EO_Linie',1,'EO Linie',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.mopublic_objektnamepos_herkunft (seq,iliCode,itfCode,dispName,inactive,description) VALUES (NULL,'EO_Flaeche',2,'EO Flaeche',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.mopublic_objektnamepos_herkunft (seq,iliCode,itfCode,dispName,inactive,description) VALUES (NULL,'BB',3,'BB',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.mopublic_grenzpunkt_gueltigkeit (seq,iliCode,itfCode,dispName,inactive,description) VALUES (NULL,'projektiert',0,'projektiert',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.mopublic_grenzpunkt_gueltigkeit (seq,iliCode,itfCode,dispName,inactive,description) VALUES (NULL,'gueltig',1,'gueltig',FALSE,NULL); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadresse',NULL,'lage','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadresse',NULL,'lage','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadresse',NULL,'lage','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadresse',NULL,'lage','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadresse',NULL,'lage','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadresse',NULL,'lage','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadresse',NULL,'lage','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'hoehengenauigkeit','ch.ehi.ili2db.unit','cm'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckungproj',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckungproj',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckungproj',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckungproj',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckungproj',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckungproj',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckungproj',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsname',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsname',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsname',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsname',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsname',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsname',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsname',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckung',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckung',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckung',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckung',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckung',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckung',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_bodenbedeckung',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenze',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenze',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenze',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenze',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenze',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenze',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenze',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenzeproj',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenzeproj',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenzeproj',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenzeproj',NULL,'geometrie','ch.ehi.ili2db.geomType','LINESTRING'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenzeproj',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenzeproj',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gemeindegrenzeproj',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'hoehe','ch.ehi.ili2db.unit','M'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'lagegenauigkeit','ch.ehi.ili2db.unit','cm'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'lagegenauigkeit','ch.ehi.ili2db.unit','cm'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektflaeche',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektflaeche',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektflaeche',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektflaeche',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektflaeche',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektflaeche',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektflaeche',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'symbolorientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'symbolorientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurname',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurname',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurname',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurname',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurname',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurname',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurname',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueck',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueck',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueck',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueck',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueck',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueck',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueck',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_objektnamepos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'lagegenauigkeit','ch.ehi.ili2db.unit','cm'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunktpos',NULL,'hoehengenauigkeit','ch.ehi.ili2db.unit','cm'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'geometrie','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektpunkt',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassennamepos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'geometrie','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'lagegenauigkeit','ch.ehi.ili2db.unit','cm'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'hoehe','ch.ehi.ili2db.unit','M'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'lagegenauigkeit','ch.ehi.ili2db.unit','cm'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_rohrleitung',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_rohrleitung',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_rohrleitung',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_rohrleitung',NULL,'geometrie','ch.ehi.ili2db.geomType','LINESTRING'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_rohrleitung',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_rohrleitung',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_rohrleitung',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'geometrie','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_fixpunkt',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'geometrie','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grenzpunkt',NULL,'symbolorientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckprojpos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gebaeudeadressepos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_gelaendename',NULL,'orientierung','ch.ehi.ili2db.unit','Angle_Degree'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckpos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_ortsnamepos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'pos','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'pos','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'pos','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'pos','ch.ehi.ili2db.geomType','POINT'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'pos','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'pos','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_flurnamepos',NULL,'pos','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektlinie',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektlinie',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektlinie',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektlinie',NULL,'geometrie','ch.ehi.ili2db.geomType','LINESTRING'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektlinie',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektlinie',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_einzelobjektlinie',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassenachse',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassenachse',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassenachse',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassenachse',NULL,'geometrie','ch.ehi.ili2db.geomType','LINESTRING'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassenachse',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassenachse',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_strassenachse',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckproj',NULL,'geometrie','ch.ehi.ili2db.coordDimension','2'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckproj',NULL,'geometrie','ch.ehi.ili2db.c1Max','2870000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckproj',NULL,'geometrie','ch.ehi.ili2db.c2Max','1310000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckproj',NULL,'geometrie','ch.ehi.ili2db.geomType','POLYGON'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckproj',NULL,'geometrie','ch.ehi.ili2db.c1Min','2460000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckproj',NULL,'geometrie','ch.ehi.ili2db.c2Min','1045000.000'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('mopublic_grundstueckproj',NULL,'geometrie','ch.ehi.ili2db.srid','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_grenzpunkt','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_strassenachse','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_grundstueckprojpos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_einzelobjektlinie','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_bodenbedeckung','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_ortsnamepos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('halignment','ch.ehi.ili2db.tableKind','ENUM'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_hoheitsgrenzpunkt','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_grundstueckproj','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('valignment','ch.ehi.ili2db.tableKind','ENUM'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_grundstueckpos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_strassennamepos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_gemeindegrenze','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_grenzpunkt_gueltigkeit','ch.ehi.ili2db.tableKind','ENUM'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_fixpunktpos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_einzelobjektpunkt','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_fixpunkt','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_rohrleitung','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_gemeindegrenzeproj','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_ortsname','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_bodenbedeckungproj','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_gebaeudeadresse','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_objektnamepos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_gebaeudeadressepos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_hoheitsgrenzpunktpos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_flurnamepos','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_einzelobjektflaeche','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_flurname','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_gelaendename','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_grundstueck','ch.ehi.ili2db.tableKind','CLASS'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('mopublic_objektnamepos_herkunft','ch.ehi.ili2db.tableKind','ENUM'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CHBase_Part4_ADMINISTRATIVEUNITS_20110830.ili','2.3','CHAdminCodes_V1 AdministrativeUnits_V1{ CHAdminCodes_V1 InternationalCodes_V1 Dictionaries_V1 Localisation_V1 INTERLIS} AdministrativeUnitsCH_V1{ CHAdminCodes_V1 InternationalCodes_V1 LocalisationCH_V1 AdministrativeUnits_V1 INTERLIS}','/* ######################################################################## CHBASE - BASE MODULES OF THE SWISS FEDERATION FOR MINIMAL GEODATA MODELS ====== BASISMODULE DES BUNDES MODULES DE BASE DE LA CONFEDERATION FÜR MINIMALE GEODATENMODELLE POUR LES MODELES DE GEODONNEES MINIMAUX PROVIDER: GKG/KOGIS - GCS/COSIG CONTACT: <EMAIL> PUBLISHED: 2011-08-30 ######################################################################## */ INTERLIS 2.3; /* ######################################################################## ######################################################################## PART IV -- ADMINISTRATIVE UNITS - Package CHAdminCodes - Package AdministrativeUnits - Package AdministrativeUnitsCH */ !! Version | Who | Modification !!------------------------------------------------------------------------------ !! 2018-02-19 | KOGIS | Enumeration CHCantonCode adapted (FL and CH added) !! 2020-04-24 | KOGIS | Constraint in Association Hierarchy in Model AdministrativeUnitsCH_V1 corrected (#CHE) !! 2020-08-25 | KOGIS | Classes AdministrativeUnit and AdministrativeUnion declared as not abstract. !! ######################################################################## !!@technicalContact=mailto:<EMAIL> !!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html TYPE MODEL CHAdminCodes_V1 (en) AT "http://www.geo.admin.ch" VERSION "2018-02-19" = DOMAIN CHCantonCode = (ZH,BE,LU,UR,SZ,OW,NW,GL,ZG,FR,SO,BS,BL,SH,AR,AI,SG, GR,AG,TG,TI,VD,VS,NE,GE,JU,FL,CH); CHMunicipalityCode = 1..9999; !! BFS-Nr END CHAdminCodes_V1. !! ######################################################################## !!@technicalContact=mailto:<EMAIL> !!@furtherInformation=https://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html MODEL AdministrativeUnits_V1 (en) AT "http://www.geo.admin.ch" VERSION "2020-08-25" = IMPORTS UNQUALIFIED INTERLIS; IMPORTS UNQUALIFIED CHAdminCodes_V1; IMPORTS UNQUALIFIED InternationalCodes_V1; IMPORTS Localisation_V1; IMPORTS Dictionaries_V1; TOPIC AdministrativeUnits (ABSTRACT) = CLASS AdministrativeElement (ABSTRACT) = END AdministrativeElement; CLASS AdministrativeUnit EXTENDS AdministrativeElement = END AdministrativeUnit; ASSOCIATION Hierarchy = UpperLevelUnit (EXTERNAL) -<> {0..1} AdministrativeUnit; LowerLevelUnit -- AdministrativeUnit; END Hierarchy; CLASS AdministrativeUnion EXTENDS AdministrativeElement = END AdministrativeUnion; ASSOCIATION UnionMembers = Union -<> AdministrativeUnion; Member -- AdministrativeElement; END UnionMembers; END AdministrativeUnits; TOPIC Countries EXTENDS AdministrativeUnits = CLASS Country EXTENDS AdministrativeUnit = Code: MANDATORY CountryCode_ISO3166_1; UNIQUE Code; END Country; END Countries; TOPIC CountryNames EXTENDS Dictionaries_V1.Dictionaries = DEPENDS ON AdministrativeUnits_V1.Countries; STRUCTURE CountryName EXTENDS Entry = Code: MANDATORY CountryCode_ISO3166_1; END CountryName; CLASS CountryNamesTranslation EXTENDS Dictionary = Entries(EXTENDED): LIST OF CountryName; UNIQUE Entries->Code; EXISTENCE CONSTRAINT Entries->Code REQUIRED IN AdministrativeUnits_V1.Countries.Country: Code; END CountryNamesTranslation; END CountryNames; TOPIC Agencies (ABSTRACT) = DEPENDS ON AdministrativeUnits_V1.AdministrativeUnits; CLASS Agency (ABSTRACT) = END Agency; ASSOCIATION Authority = Supervisor (EXTERNAL) -<> {1..1} Agency OR AdministrativeUnits_V1.AdministrativeUnits.AdministrativeElement; Agency -- Agency; END Authority; ASSOCIATION Organisation = Orderer (EXTERNAL) -- Agency OR AdministrativeUnits_V1.AdministrativeUnits.AdministrativeElement; Executor -- Agency; END Organisation; END Agencies; END AdministrativeUnits_V1. !! ######################################################################## !!@technicalContact=mailto:<EMAIL> !!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html MODEL AdministrativeUnitsCH_V1 (en) AT "http://www.geo.admin.ch" VERSION "2020-04-24" = IMPORTS UNQUALIFIED INTERLIS; IMPORTS UNQUALIFIED CHAdminCodes_V1; IMPORTS UNQUALIFIED InternationalCodes_V1; IMPORTS LocalisationCH_V1; IMPORTS AdministrativeUnits_V1; TOPIC CHCantons EXTENDS AdministrativeUnits_V1.AdministrativeUnits = DEPENDS ON AdministrativeUnits_V1.Countries; CLASS CHCanton EXTENDS AdministrativeUnit = Code: MANDATORY CHCantonCode; Name: LocalisationCH_V1.MultilingualText; Web: URI; UNIQUE Code; END CHCanton; ASSOCIATION Hierarchy (EXTENDED) = UpperLevelUnit (EXTENDED, EXTERNAL) -<> {1..1} AdministrativeUnits_V1.Countries.Country; LowerLevelUnit (EXTENDED) -- CHCanton; MANDATORY CONSTRAINT UpperLevelUnit->Code == #CHE; END Hierarchy; END CHCantons; TOPIC CHDistricts EXTENDS AdministrativeUnits_V1.AdministrativeUnits = DEPENDS ON AdministrativeUnitsCH_V1.CHCantons; CLASS CHDistrict EXTENDS AdministrativeUnit = ShortName: MANDATORY TEXT*20; Name: LocalisationCH_V1.MultilingualText; Web: MANDATORY URI; END CHDistrict; ASSOCIATION Hierarchy (EXTENDED) = UpperLevelUnit (EXTENDED, EXTERNAL) -<> {1..1} AdministrativeUnitsCH_V1.CHCantons.CHCanton; LowerLevelUnit (EXTENDED) -- CHDistrict; UNIQUE UpperLevelUnit->Code, LowerLevelUnit->ShortName; END Hierarchy; END CHDistricts; TOPIC CHMunicipalities EXTENDS AdministrativeUnits_V1.AdministrativeUnits = DEPENDS ON AdministrativeUnitsCH_V1.CHCantons; DEPENDS ON AdministrativeUnitsCH_V1.CHDistricts; CLASS CHMunicipality EXTENDS AdministrativeUnit = Code: MANDATORY CHMunicipalityCode; Name: LocalisationCH_V1.MultilingualText; Web: URI; UNIQUE Code; END CHMunicipality; ASSOCIATION Hierarchy (EXTENDED) = UpperLevelUnit (EXTENDED, EXTERNAL) -<> {1..1} AdministrativeUnitsCH_V1.CHCantons.CHCanton OR AdministrativeUnitsCH_V1.CHDistricts.CHDistrict; LowerLevelUnit (EXTENDED) -- CHMunicipality; END Hierarchy; END CHMunicipalities; TOPIC CHAdministrativeUnions EXTENDS AdministrativeUnits_V1.AdministrativeUnits = DEPENDS ON AdministrativeUnits_V1.Countries; DEPENDS ON AdministrativeUnitsCH_V1.CHCantons; DEPENDS ON AdministrativeUnitsCH_V1.CHDistricts; DEPENDS ON AdministrativeUnitsCH_V1.CHMunicipalities; CLASS AdministrativeUnion (EXTENDED) = OID AS UUIDOID; Name: LocalisationCH_V1.MultilingualText; Web: URI; Description: LocalisationCH_V1.MultilingualMText; END AdministrativeUnion; END CHAdministrativeUnions; TOPIC CHAgencies EXTENDS AdministrativeUnits_V1.Agencies = DEPENDS ON AdministrativeUnits_V1.Countries; DEPENDS ON AdministrativeUnitsCH_V1.CHCantons; DEPENDS ON AdministrativeUnitsCH_V1.CHDistricts; DEPENDS ON AdministrativeUnitsCH_V1.CHMunicipalities; CLASS Agency (EXTENDED) = OID AS UUIDOID; Name: LocalisationCH_V1.MultilingualText; Web: URI; Description: LocalisationCH_V1.MultilingualMText; END Agency; END CHAgencies; END AdministrativeUnitsCH_V1. !! ######################################################################## ','2020-10-10 14:55:25.073'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('Units-20120220.ili','2.3','Units','!! File Units.ili Release 2012-02-20 INTERLIS 2.3; !! 2012-02-20 definition of "Bar [bar]" corrected !!@precursorVersion = 2005-06-06 CONTRACTED TYPE MODEL Units (en) AT "http://www.interlis.ch/models" VERSION "2012-02-20" = UNIT !! abstract Units Area (ABSTRACT) = (INTERLIS.LENGTH*INTERLIS.LENGTH); Volume (ABSTRACT) = (INTERLIS.LENGTH*INTERLIS.LENGTH*INTERLIS.LENGTH); Velocity (ABSTRACT) = (INTERLIS.LENGTH/INTERLIS.TIME); Acceleration (ABSTRACT) = (Velocity/INTERLIS.TIME); Force (ABSTRACT) = (INTERLIS.MASS*INTERLIS.LENGTH/INTERLIS.TIME/INTERLIS.TIME); Pressure (ABSTRACT) = (Force/Area); Energy (ABSTRACT) = (Force*INTERLIS.LENGTH); Power (ABSTRACT) = (Energy/INTERLIS.TIME); Electric_Potential (ABSTRACT) = (Power/INTERLIS.ELECTRIC_CURRENT); Frequency (ABSTRACT) = (INTERLIS.DIMENSIONLESS/INTERLIS.TIME); Millimeter [mm] = 0.001 [INTERLIS.m]; Centimeter [cm] = 0.01 [INTERLIS.m]; Decimeter [dm] = 0.1 [INTERLIS.m]; Kilometer [km] = 1000 [INTERLIS.m]; Square_Meter [m2] EXTENDS Area = (INTERLIS.m*INTERLIS.m); Cubic_Meter [m3] EXTENDS Volume = (INTERLIS.m*INTERLIS.m*INTERLIS.m); Minute [min] = 60 [INTERLIS.s]; Hour [h] = 60 [min]; Day [d] = 24 [h]; Kilometer_per_Hour [kmh] EXTENDS Velocity = (km/h); Meter_per_Second [ms] = 3.6 [kmh]; Newton [N] EXTENDS Force = (INTERLIS.kg*INTERLIS.m/INTERLIS.s/INTERLIS.s); Pascal [Pa] EXTENDS Pressure = (N/m2); Joule [J] EXTENDS Energy = (N*INTERLIS.m); Watt [W] EXTENDS Power = (J/INTERLIS.s); Volt [V] EXTENDS Electric_Potential = (W/INTERLIS.A); Inch [in] = 2.54 [cm]; Foot [ft] = 0.3048 [INTERLIS.m]; Mile [mi] = 1.609344 [km]; Are [a] = 100 [m2]; Hectare [ha] = 100 [a]; Square_Kilometer [km2] = 100 [ha]; Acre [acre] = 4046.873 [m2]; Liter [L] = 1 / 1000 [m3]; US_Gallon [USgal] = 3.785412 [L]; Angle_Degree = 180 / PI [INTERLIS.rad]; Angle_Minute = 1 / 60 [Angle_Degree]; Angle_Second = 1 / 60 [Angle_Minute]; Gon = 200 / PI [INTERLIS.rad]; Gram [g] = 1 / 1000 [INTERLIS.kg]; Ton [t] = 1000 [INTERLIS.kg]; Pound [lb] = 0.4535924 [INTERLIS.kg]; Calorie [cal] = 4.1868 [J]; Kilowatt_Hour [kWh] = 0.36E7 [J]; Horsepower = 746 [W]; Techn_Atmosphere [at] = 98066.5 [Pa]; Atmosphere [atm] = 101325 [Pa]; Bar [bar] = 100000 [Pa]; Millimeter_Mercury [mmHg] = 133.3224 [Pa]; Torr = 133.3224 [Pa]; !! Torr = [mmHg] Decibel [dB] = FUNCTION // 10**(dB/20) * 0.00002 // [Pa]; Degree_Celsius [oC] = FUNCTION // oC+273.15 // [INTERLIS.K]; Degree_Fahrenheit [oF] = FUNCTION // (oF+459.67)/1.8 // [INTERLIS.K]; CountedObjects EXTENDS INTERLIS.DIMENSIONLESS; Hertz [Hz] EXTENDS Frequency = (CountedObjects/INTERLIS.s); KiloHertz [KHz] = 1000 [Hz]; MegaHertz [MHz] = 1000 [KHz]; Percent = 0.01 [CountedObjects]; Permille = 0.001 [CountedObjects]; !! ISO 4217 Currency Abbreviation USDollar [USD] EXTENDS INTERLIS.MONEY; Euro [EUR] EXTENDS INTERLIS.MONEY; SwissFrancs [CHF] EXTENDS INTERLIS.MONEY; END Units. ','2020-10-10 14:55:25.073'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CoordSys-20151124.ili','2.3','CoordSys','!! File CoordSys.ili Release 2015-11-24 INTERLIS 2.3; !! 2015-11-24 Cardinalities adapted (line 122, 123, 124, 132, 133, 134, 142, 143, !! 148, 149, 163, 164, 168, 169, 206 and 207) !!@precursorVersion = 2005-06-16 REFSYSTEM MODEL CoordSys (en) AT "http://www.interlis.ch/models" VERSION "2015-11-24" = UNIT Angle_Degree = 180 / PI [INTERLIS.rad]; Angle_Minute = 1 / 60 [Angle_Degree]; Angle_Second = 1 / 60 [Angle_Minute]; STRUCTURE Angle_DMS_S = Degrees: -180 .. 180 CIRCULAR [Angle_Degree]; CONTINUOUS SUBDIVISION Minutes: 0 .. 59 CIRCULAR [Angle_Minute]; CONTINUOUS SUBDIVISION Seconds: 0.000 .. 59.999 CIRCULAR [Angle_Second]; END Angle_DMS_S; DOMAIN Angle_DMS = FORMAT BASED ON Angle_DMS_S (Degrees ":" Minutes ":" Seconds); Angle_DMS_90 EXTENDS Angle_DMS = "-90:00:00.000" .. "90:00:00.000"; TOPIC CoordsysTopic = !! Special space aspects to be referenced !! ************************************** CLASS Ellipsoid EXTENDS INTERLIS.REFSYSTEM = EllipsoidAlias: TEXT*70; SemiMajorAxis: MANDATORY 6360000.0000 .. 6390000.0000 [INTERLIS.m]; InverseFlattening: MANDATORY 0.00000000 .. 350.00000000; !! The inverse flattening 0 characterizes the 2-dim sphere Remarks: TEXT*70; END Ellipsoid; CLASS GravityModel EXTENDS INTERLIS.REFSYSTEM = GravityModAlias: TEXT*70; Definition: TEXT*70; END GravityModel; CLASS GeoidModel EXTENDS INTERLIS.REFSYSTEM = GeoidModAlias: TEXT*70; Definition: TEXT*70; END GeoidModel; !! Coordinate systems for geodetic purposes !! **************************************** STRUCTURE LengthAXIS EXTENDS INTERLIS.AXIS = ShortName: TEXT*12; Description: TEXT*255; PARAMETER Unit (EXTENDED): NUMERIC [INTERLIS.LENGTH]; END LengthAXIS; STRUCTURE AngleAXIS EXTENDS INTERLIS.AXIS = ShortName: TEXT*12; Description: TEXT*255; PARAMETER Unit (EXTENDED): NUMERIC [INTERLIS.ANGLE]; END AngleAXIS; CLASS GeoCartesian1D EXTENDS INTERLIS.COORDSYSTEM = Axis (EXTENDED): LIST {1} OF LengthAXIS; END GeoCartesian1D; CLASS GeoHeight EXTENDS GeoCartesian1D = System: MANDATORY ( normal, orthometric, ellipsoidal, other); ReferenceHeight: MANDATORY -10000.000 .. +10000.000 [INTERLIS.m]; ReferenceHeightDescr: TEXT*70; END GeoHeight; ASSOCIATION HeightEllips = GeoHeightRef -- {*} GeoHeight; EllipsoidRef -- {1} Ellipsoid; END HeightEllips; ASSOCIATION HeightGravit = GeoHeightRef -- {*} GeoHeight; GravityRef -- {1} GravityModel; END HeightGravit; ASSOCIATION HeightGeoid = GeoHeightRef -- {*} GeoHeight; GeoidRef -- {1} GeoidModel; END HeightGeoid; CLASS GeoCartesian2D EXTENDS INTERLIS.COORDSYSTEM = Definition: TEXT*70; Axis (EXTENDED): LIST {2} OF LengthAXIS; END GeoCartesian2D; CLASS GeoCartesian3D EXTENDS INTERLIS.COORDSYSTEM = Definition: TEXT*70; Axis (EXTENDED): LIST {3} OF LengthAXIS; END GeoCartesian3D; CLASS GeoEllipsoidal EXTENDS INTERLIS.COORDSYSTEM = Definition: TEXT*70; Axis (EXTENDED): LIST {2} OF AngleAXIS; END GeoEllipsoidal; ASSOCIATION EllCSEllips = GeoEllipsoidalRef -- {*} GeoEllipsoidal; EllipsoidRef -- {1} Ellipsoid; END EllCSEllips; !! Mappings between coordinate systems !! *********************************** ASSOCIATION ToGeoEllipsoidal = From -- {0..*} GeoCartesian3D; To -- {0..*} GeoEllipsoidal; ToHeight -- {0..*} GeoHeight; MANDATORY CONSTRAINT ToHeight -> System == #ellipsoidal; MANDATORY CONSTRAINT To -> EllipsoidRef -> Name == ToHeight -> EllipsoidRef -> Name; END ToGeoEllipsoidal; ASSOCIATION ToGeoCartesian3D = From2 -- {0..*} GeoEllipsoidal; FromHeight-- {0..*} GeoHeight; To3 -- {0..*} GeoCartesian3D; MANDATORY CONSTRAINT FromHeight -> System == #ellipsoidal; MANDATORY CONSTRAINT From2 -> EllipsoidRef -> Name == FromHeight -> EllipsoidRef -> Name; END ToGeoCartesian3D; ASSOCIATION BidirectGeoCartesian2D = From -- {0..*} GeoCartesian2D; To -- {0..*} GeoCartesian2D; END BidirectGeoCartesian2D; ASSOCIATION BidirectGeoCartesian3D = From -- {0..*} GeoCartesian3D; To2 -- {0..*} GeoCartesian3D; Precision: MANDATORY ( exact, measure_based); ShiftAxis1: MANDATORY -10000.000 .. 10000.000 [INTERLIS.m]; ShiftAxis2: MANDATORY -10000.000 .. 10000.000 [INTERLIS.m]; ShiftAxis3: MANDATORY -10000.000 .. 10000.000 [INTERLIS.m]; RotationAxis1: Angle_DMS_90; RotationAxis2: Angle_DMS_90; RotationAxis3: Angle_DMS_90; NewScale: 0.000001 .. 1000000.000000; END BidirectGeoCartesian3D; ASSOCIATION BidirectGeoEllipsoidal = From4 -- {0..*} GeoEllipsoidal; To4 -- {0..*} GeoEllipsoidal; END BidirectGeoEllipsoidal; ASSOCIATION MapProjection (ABSTRACT) = From5 -- {0..*} GeoEllipsoidal; To5 -- {0..*} GeoCartesian2D; FromCo1_FundPt: MANDATORY Angle_DMS_90; FromCo2_FundPt: MANDATORY Angle_DMS_90; ToCoord1_FundPt: MANDATORY -10000000 .. +10000000 [INTERLIS.m]; ToCoord2_FundPt: MANDATORY -10000000 .. +10000000 [INTERLIS.m]; END MapProjection; ASSOCIATION TransverseMercator EXTENDS MapProjection = END TransverseMercator; ASSOCIATION SwissProjection EXTENDS MapProjection = IntermFundP1: MANDATORY Angle_DMS_90; IntermFundP2: MANDATORY Angle_DMS_90; END SwissProjection; ASSOCIATION Mercator EXTENDS MapProjection = END Mercator; ASSOCIATION ObliqueMercator EXTENDS MapProjection = END ObliqueMercator; ASSOCIATION Lambert EXTENDS MapProjection = END Lambert; ASSOCIATION Polyconic EXTENDS MapProjection = END Polyconic; ASSOCIATION Albus EXTENDS MapProjection = END Albus; ASSOCIATION Azimutal EXTENDS MapProjection = END Azimutal; ASSOCIATION Stereographic EXTENDS MapProjection = END Stereographic; ASSOCIATION HeightConversion = FromHeight -- {0..*} GeoHeight; ToHeight -- {0..*} GeoHeight; Definition: TEXT*70; END HeightConversion; END CoordsysTopic; END CoordSys. ','2020-10-10 14:55:25.073'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CHBase_Part2_LOCALISATION_20110830.ili','2.3','InternationalCodes_V1 Localisation_V1{ InternationalCodes_V1} LocalisationCH_V1{ InternationalCodes_V1 Localisation_V1} Dictionaries_V1{ InternationalCodes_V1} DictionariesCH_V1{ InternationalCodes_V1 Dictionaries_V1}','/* ######################################################################## CHBASE - BASE MODULES OF THE SWISS FEDERATION FOR MINIMAL GEODATA MODELS ====== BASISMODULE DES BUNDES MODULES DE BASE DE LA CONFEDERATION FÜR MINIMALE GEODATENMODELLE POUR LES MODELES DE GEODONNEES MINIMAUX PROVIDER: GKG/KOGIS - GCS/COSIG CONTACT: <EMAIL> PUBLISHED: 2011-08-30 ######################################################################## */ INTERLIS 2.3; /* ######################################################################## ######################################################################## PART II -- LOCALISATION - Package InternationalCodes - Packages Localisation, LocalisationCH - Packages Dictionaries, DictionariesCH */ !! ######################################################################## !!@technicalContact=<EMAIL> !!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html TYPE MODEL InternationalCodes_V1 (en) AT "http://www.geo.admin.ch" VERSION "2011-08-30" = DOMAIN LanguageCode_ISO639_1 = (de,fr,it,rm,en, aa,ab,af,am,ar,as,ay,az,ba,be,bg,bh,bi,bn,bo,br,ca,co,cs,cy,da,dz,el, eo,es,et,eu,fa,fi,fj,fo,fy,ga,gd,gl,gn,gu,ha,he,hi,hr,hu,hy,ia,id,ie, ik,is,iu,ja,jw,ka,kk,kl,km,kn,ko,ks,ku,ky,la,ln,lo,lt,lv,mg,mi,mk,ml, mn,mo,mr,ms,mt,my,na,ne,nl,no,oc,om,or,pa,pl,ps,pt,qu,rn,ro,ru,rw,sa, sd,sg,sh,si,sk,sl,sm,sn,so,sq,sr,ss,st,su,sv,sw,ta,te,tg,th,ti,tk,tl, tn,to,tr,ts,tt,tw,ug,uk,ur,uz,vi,vo,wo,xh,yi,yo,za,zh,zu); CountryCode_ISO3166_1 = (CHE, ABW,AFG,AGO,AIA,ALA,ALB,AND_,ANT,ARE,ARG,ARM,ASM,ATA,ATF,ATG,AUS, AUT,AZE,BDI,BEL,BEN,BFA,BGD,BGR,BHR,BHS,BIH,BLR,BLZ,BMU,BOL,BRA, BRB,BRN,BTN,BVT,BWA,CAF,CAN,CCK,CHL,CHN,CIV,CMR,COD,COG,COK,COL, COM,CPV,CRI,CUB,CXR,CYM,CYP,CZE,DEU,DJI,DMA,DNK,DOM,DZA,ECU,EGY, ERI,ESH,ESP,EST,ETH,FIN,FJI,FLK,FRA,FRO,FSM,GAB,GBR,GEO,GGY,GHA, GIB,GIN,GLP,GMB,GNB,GNQ,GRC,GRD,GRL,GTM,GUF,GUM,GUY,HKG,HMD,HND, HRV,HTI,HUN,IDN,IMN,IND,IOT,IRL,IRN,IRQ,ISL,ISR,ITA,JAM,JEY,JOR, JPN,KAZ,KEN,KGZ,KHM,KIR,KNA,KOR,KWT,LAO,LBN,LBR,LBY,LCA,LIE,LKA, LSO,LTU,LUX,LVA,MAC,MAR,MCO,MDA,MDG,MDV,MEX,MHL,MKD,MLI,MLT,MMR, MNE,MNG,MNP,MOZ,MRT,MSR,MTQ,MUS,MWI,MYS,MYT,NAM,NCL,NER,NFK,NGA, NIC,NIU,NLD,NOR,NPL,NRU,NZL,OMN,PAK,PAN,PCN,PER,PHL,PLW,PNG,POL, PRI,PRK,PRT,PRY,PSE,PYF,QAT,REU,ROU,RUS,RWA,SAU,SDN,SEN,SGP,SGS, SHN,SJM,SLB,SLE,SLV,SMR,SOM,SPM,SRB,STP,SUR,SVK,SVN,SWE,SWZ,SYC, SYR,TCA,TCD,TGO,THA,TJK,TKL,TKM,TLS,TON,TTO,TUN,TUR,TUV,TWN,TZA, UGA,UKR,UMI,URY,USA,UZB,VAT,VCT,VEN,VGB,VIR,VNM,VUT,WLF,WSM,YEM, ZAF,ZMB,ZWE); END InternationalCodes_V1. !! ######################################################################## !!@technicalContact=<EMAIL> !!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html TYPE MODEL Localisation_V1 (en) AT "http://www.geo.admin.ch" VERSION "2011-08-30" = IMPORTS UNQUALIFIED InternationalCodes_V1; STRUCTURE LocalisedText = Language: LanguageCode_ISO639_1; Text: MANDATORY TEXT; END LocalisedText; STRUCTURE LocalisedMText = Language: LanguageCode_ISO639_1; Text: MANDATORY MTEXT; END LocalisedMText; STRUCTURE MultilingualText = LocalisedText : BAG {1..*} OF LocalisedText; UNIQUE (LOCAL) LocalisedText:Language; END MultilingualText; STRUCTURE MultilingualMText = LocalisedText : BAG {1..*} OF LocalisedMText; UNIQUE (LOCAL) LocalisedText:Language; END MultilingualMText; END Localisation_V1. !! ######################################################################## !!@technicalContact=<EMAIL> !!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html TYPE MODEL LocalisationCH_V1 (en) AT "http://www.geo.admin.ch" VERSION "2011-08-30" = IMPORTS UNQUALIFIED InternationalCodes_V1; IMPORTS Localisation_V1; STRUCTURE LocalisedText EXTENDS Localisation_V1.LocalisedText = MANDATORY CONSTRAINT Language == #de OR Language == #fr OR Language == #it OR Language == #rm OR Language == #en; END LocalisedText; STRUCTURE LocalisedMText EXTENDS Localisation_V1.LocalisedMText = MANDATORY CONSTRAINT Language == #de OR Language == #fr OR Language == #it OR Language == #rm OR Language == #en; END LocalisedMText; STRUCTURE MultilingualText EXTENDS Localisation_V1.MultilingualText = LocalisedText(EXTENDED) : BAG {1..*} OF LocalisedText; END MultilingualText; STRUCTURE MultilingualMText EXTENDS Localisation_V1.MultilingualMText = LocalisedText(EXTENDED) : BAG {1..*} OF LocalisedMText; END MultilingualMText; END LocalisationCH_V1. !! ######################################################################## !!@technicalContact=<EMAIL> !!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html MODEL Dictionaries_V1 (en) AT "http://www.geo.admin.ch" VERSION "2011-08-30" = IMPORTS UNQUALIFIED InternationalCodes_V1; TOPIC Dictionaries (ABSTRACT) = STRUCTURE Entry (ABSTRACT) = Text: MANDATORY TEXT; END Entry; CLASS Dictionary = Language: MANDATORY LanguageCode_ISO639_1; Entries: LIST OF Entry; END Dictionary; END Dictionaries; END Dictionaries_V1. !! ######################################################################## !!@technicalContact=<EMAIL> !!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html MODEL DictionariesCH_V1 (en) AT "http://www.geo.admin.ch" VERSION "2011-08-30" = IMPORTS UNQUALIFIED InternationalCodes_V1; IMPORTS Dictionaries_V1; TOPIC Dictionaries (ABSTRACT) EXTENDS Dictionaries_V1.Dictionaries = CLASS Dictionary (EXTENDED) = MANDATORY CONSTRAINT Language == #de OR Language == #fr OR Language == #it OR Language == #rm OR Language == #en; END Dictionary; END Dictionaries; END DictionariesCH_V1. !! ######################################################################## ','2020-10-10 14:55:25.073'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('SO_AGI_MOpublic_20201009.ili','2.3','SO_AGI_MOpublic_20201009{ GeometryCHLV95_V1 CHAdminCodes_V1 Units}','INTERLIS 2.3; /** !!------------------------------------------------------------------------------ * !! Version | wer | Änderung * !!------------------------------------------------------------------------------ * !! 2017-10-03 | sz | Erstfassung * !! 2017-10-10 | sz | Anpassung nach Review ns * !! 2017-10-12 | sz | Grundstueck(_Proj).Art_txt -> 40 Zeichen * !! | sz | XMLTime -> XMLDate * !! | sz | Einzelobjekte_Punkt -> Einzelobjekt_Punkt * !! | sz | VAlignmet -> VAli * !! 2018-02-21 | sz | Range für verschiedene Aufzähltypen korrigiert. * !! | sz | Range für Orientierung korrigiert. * !! 2018-04-30 | ns | Gueltigkeit bei Grenzpunkt hinzugefuegt * !! 2019-04-24 | sz | LFP-Koordinate als Text * !! 2020-10-09 | sz | Nur noch eine Geometrie in einer Klasse (wegen Export nach Shapefile) * !!============================================================================== * !!@ title="MOpublic-SO (amtliche Vermessung)" * !!@ shortDescription="Vereinfachtes Datenmodell (Shapefileniveau) der amtlichen Vermessung." */ !!@ technicalContact="mailto:<EMAIL>" !!@ furtherInformation="http://geo.so.ch/models/AGI/SO_AGI_MOpublic_20201009.uml" MODEL SO_AGI_MOpublic_20201009 (de) AT "https://geo.so.ch" VERSION "2020-10-09" = IMPORTS GeometryCHLV95_V1,Units,CHAdminCodes_V1; TOPIC MOpublic = OID AS INTERLIS.UUIDOID; DOMAIN Genauigkeit = 0.0 .. 700.0 [Units.cm]; Hoehe = -200.000 .. 1600.000 [INTERLIS.M]; /** In Grad. Einheit, Drehsinn und Nullpunkt an GDI-Software angepasst. */ Orientierung = -270.00 .. 90.00 [Units.Angle_Degree]; CLASS Bodenbedeckung = /** Bodenbedeckungsart (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Eidgenössischer Gebäudeidentifikator */ EGID : 0 .. 999999999; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; END Bodenbedeckung; CLASS BodenbedeckungProj = /** Bodenbedeckungsart (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Eidgenössischer Gebäudeidentifikator */ EGID : 0 .. 999999999; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; END BodenbedeckungProj; CLASS EinzelobjektFlaeche = /** Einzelobjektart (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Eidgenössischer Gebäudeidentifikator */ EGID : 0 .. 999999999; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; END EinzelobjektFlaeche; CLASS EinzelobjektLinie = /** Einzelobjektart (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Line; END EinzelobjektLinie; CLASS FlurnameBase (ABSTRACT) = /** Flurname */ Flurname : MANDATORY TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Name der Gemeinde */ Gemeinde : MANDATORY TEXT*255; END FlurnameBase; CLASS GebaeudeadresseBase (ABSTRACT) = /** Name der Strasse */ Strassenname : TEXT*100; /** Hausnummer */ Hausnummer : TEXT*20; /** Eidgenössischer Gebäudeidentifikator */ EGID : 0 .. 999999999; /** Eidgenössischer Eingangsidentifikator */ EDID : 0 .. 99; /** Vierstellige Postleitzahl */ PLZ : MANDATORY 0 .. 9999; /** Ortschaftsname */ Ortschaft : MANDATORY TEXT*100; /** Status des Gebäudeinganges */ Status : TEXT*20; /** Ist Adresse offiziell? ja/nein */ ist_offizielle_bezeichnung : BOOLEAN; /** Relative Lage des Gebäudeeinganges */ Hoehenlage : -99 .. 99; /** Name des Gebäudes */ Gebaeudename : TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END GebaeudeadresseBase; CLASS Gemeindegrenze = /** Name der Gemeinde */ Gemeindename : MANDATORY TEXT*100; /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END Gemeindegrenze; CLASS GemeindegrenzeProj = /** Name der Gemeinde */ Gemeindename : MANDATORY TEXT*100; /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Line; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END GemeindegrenzeProj; CLASS GrundstueckBase (ABSTRACT) = /** Nummerierungsbereichidentifikator */ NBIdent : MANDATORY TEXT*12; /** Grundbuchnummer */ Nummer : MANDATORY TEXT*15; /** Grundstücksart (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Fläche des Grundstückes in m2 */ Flaechenmass : MANDATORY 0 .. 9999999999; /** Eidgenössischer Grundstücksidentifikator */ EGRID : TEXT*14; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Name des Grundbuchs (= Grundbuchkreis) */ Grundbuch : MANDATORY TEXT*255; /** Name der Gemeinde */ Gemeinde : MANDATORY TEXT*255; END GrundstueckBase; CLASS GrundstueckProjBase (ABSTRACT) = /** Nummerierungsbereichidentifikator */ NBIdent : MANDATORY TEXT*12; /** Grundbuchnummer */ Nummer : MANDATORY TEXT*15; /** Grundstücksart (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Fläche des Grundstückes in m2 */ Flaechenmass : MANDATORY 0 .. 9999999999; /** Eidgenössischer Grundstücksidentifikator */ EGRID : TEXT*14; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Name des Grundbuchs (= Grundbuchkreis) */ Grundbuch : MANDATORY TEXT*255; /** Name der Gemeinde */ Gemeinde : MANDATORY TEXT*255; END GrundstueckProjBase; CLASS OrtsnameBase (ABSTRACT) = /** Ortsname */ Ortsname : MANDATORY TEXT*40; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END OrtsnameBase; CLASS Rohrleitung = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Line; /** Transportmedium (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Betreiber */ Betreiber : MANDATORY TEXT*40; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END Rohrleitung; CLASS Strassenachse = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Line; /** Strassenname */ Strassenname : TEXT*100; /** Ordnung des Strassenstückes */ Ordnung : MANDATORY 1 .. 9999; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END Strassenachse; CLASS EinzelobjektPunkt = /** Einzelobjektart (Txt-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Orientierung des Symbols */ Symbolorientierung : MANDATORY Orientierung; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Coord2; END EinzelobjektPunkt; CLASS FixpunktBase (ABSTRACT) = /** Fixpunkttyp (Text-Repräsentation) */ Typ_txt : MANDATORY TEXT*100; /** Nummerierungsbereichidentifikator */ NBIdent : MANDATORY TEXT*12; /** Bezeichnung des Fixpunktes */ Nummer : TEXT*12; /** Höhe */ Hoehe : Hoehe; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Lagegenauigkeit */ Lagegenauigkeit : MANDATORY Genauigkeit; /** Höhengenauigkeit */ Hoehengenauigkeit : Genauigkeit; /** Punktzeichen (Text-Repräsentation) */ Punktzeichen_txt : MANDATORY TEXT*100; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Koordinate (Text-Repräsentation) */ Koordinate : MANDATORY TEXT*40; END FixpunktBase; CLASS Flurname EXTENDS FlurnameBase = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; END Flurname; /** Positionierungspunkt für Beschriftung */ CLASS FlurnamePos EXTENDS FlurnameBase = /** Positionierungspunkt für Beschriftung */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : MANDATORY Orientierung; /** HAlignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** VAlignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; END FlurnamePos; CLASS Gebaeudeadresse EXTENDS GebaeudeadresseBase = /** Lage des Gebäudeeingangs */ Lage : MANDATORY GeometryCHLV95_V1.Coord2; END Gebaeudeadresse; CLASS GebaeudeadressePos EXTENDS GebaeudeadresseBase = /** Positionierungspunkt für Beschriftung der Hausnummer */ Pos : GeometryCHLV95_V1.Coord2; /** Orientierung des Beschriftungstextes */ Orientierung : Orientierung; /** HAlignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** VAlignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; END GebaeudeadressePos; CLASS Gelaendename = /** Geländename */ Gelaendename : MANDATORY TEXT*100; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Positionierungspunkt für Beschriftung */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : MANDATORY Orientierung; /** HAlignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** VAlignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Name der Gemeinde */ Gemeinde : MANDATORY TEXT*255; END Gelaendename; CLASS Grenzpunkt = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Coord2; /** Lagegenauigkeit */ Lagegenauigkeit : MANDATORY Genauigkeit; /** Ist Lagebestimmung zuverlässig? ja/nein */ Lagezuverlaessigkeit : MANDATORY BOOLEAN; /** Art des Punktzeichens (Text-Repräsentation) */ Punktzeichen_txt : MANDATORY TEXT*100; /** Symbolorientierung */ Symbolorientierung : Orientierung; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Gueltigkeit */ Gueltigkeit : MANDATORY ( projektiert, gueltig ); END Grenzpunkt; CLASS Grundstueck EXTENDS GrundstueckBase = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; END Grundstueck; CLASS GrundstueckPos EXTENDS GrundstueckBase = /** Positionierungspunkt für Beschriftung */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : MANDATORY Orientierung; /** HAlignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** VAlignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; END GrundstueckPos; CLASS GrundstueckProj EXTENDS GrundstueckProjBase = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; END GrundstueckProj; CLASS GrundstueckProjPos EXTENDS GrundstueckProjBase = /** Positionierungspunkt für Beschriftung */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : MANDATORY Orientierung; /** HAlignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** VAlignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; END GrundstueckProjPos; CLASS HoheitsgrenzpunktBase (ABSTRACT) = /** Nummer des Hoheitsgrenzpunktes */ Nummer : TEXT*20; /** Punktzeichen (Text-Repräsentation) */ Punktzeichen_txt : MANDATORY TEXT*100; /** Schöner Stein? ja/nein */ schoener_Stein : MANDATORY BOOLEAN; /** Lagegenauigkeit */ Lagegenauigkeit : MANDATORY Genauigkeit; /** Ist Lagebestimmung zuverlässig? ja/nein */ Lagezuverlaessigkeit : MANDATORY BOOLEAN; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END HoheitsgrenzpunktBase; CLASS ObjektnamePos = /** Name des Objektes */ Objektname : MANDATORY TEXT*100; /** Position */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : MANDATORY Orientierung; /** Halignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** Valignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; /** Art des Objektnamens, aus Art BB/EO. (Text-Repräsentation) */ Art_txt : MANDATORY TEXT*100; /** Herkunft des Objektnames */ Herkunft : MANDATORY ( EO_Punkt, EO_Linie, EO_Flaeche, BB ); /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; /** Status der Geometrie: projektiert/realisiert */ Status : MANDATORY TEXT*20; END ObjektnamePos; CLASS Ortsname EXTENDS OrtsnameBase = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.SurfaceWithOverlaps2mm; END Ortsname; CLASS OrtsnamePos EXTENDS OrtsnameBase = /** Positionierungspunkt für Beschriftung */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : MANDATORY Orientierung; /** HAlignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** VAlignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; END OrtsnamePos; CLASS StrassennamePos = /** Strassenname */ Strassenname : MANDATORY TEXT*100; /** Positionierungspunkt für Beschriftung */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : MANDATORY Orientierung; /** HAlignment */ HAli : MANDATORY INTERLIS.HALIGNMENT; /** VAlignment */ VAli : MANDATORY INTERLIS.VALIGNMENT; /** Gemeindenummer (BfS-Nummer) der Gemeinde in welcher das Objekt liegt. */ BFS_Nr : MANDATORY CHAdminCodes_V1.CHMunicipalityCode; /** Importdatum */ Importdatum : MANDATORY INTERLIS.XMLDateTime; /** Datum der Nachführung durch Geometer */ Nachfuehrung : INTERLIS.XMLDate; END StrassennamePos; CLASS Fixpunkt EXTENDS FixpunktBase = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Coord2; END Fixpunkt; CLASS FixpunktPos EXTENDS FixpunktBase = /** Positionierungspunkt für Beschriftung */ Pos : MANDATORY GeometryCHLV95_V1.Coord2; /** Textorientierung */ Orientierung : Orientierung; /** HAlignment */ HAli : INTERLIS.HALIGNMENT; /** VAlignment */ VAli : INTERLIS.VALIGNMENT; END FixpunktPos; CLASS Hoheitsgrenzpunkt EXTENDS HoheitsgrenzpunktBase = /** Geometrie */ Geometrie : MANDATORY GeometryCHLV95_V1.Coord2; END Hoheitsgrenzpunkt; CLASS HoheitsgrenzpunktPos EXTENDS HoheitsgrenzpunktBase = /** Positionierungspunkt für Beschriftung */ Pos : GeometryCHLV95_V1.Coord2; /** HAlignment */ HAli : INTERLIS.HALIGNMENT; /** VAlignment */ VAli : INTERLIS.VALIGNMENT; /** Symbolorientierung */ Symbolorientierung : Orientierung; END HoheitsgrenzpunktPos; END MOpublic; END SO_AGI_MOpublic_20201009. ','2020-10-10 14:55:25.073'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CHBase_Part1_GEOMETRY_20110830.ili','2.3','GeometryCHLV03_V1{ CoordSys Units INTERLIS} GeometryCHLV95_V1{ CoordSys Units INTERLIS}','/* ######################################################################## CHBASE - BASE MODULES OF THE SWISS FEDERATION FOR MINIMAL GEODATA MODELS ====== BASISMODULE DES BUNDES MODULES DE BASE DE LA CONFEDERATION FÜR MINIMALE GEODATENMODELLE POUR LES MODELES DE GEODONNEES MINIMAUX PROVIDER: GKG/KOGIS - GCS/COSIG CONTACT: <EMAIL> PUBLISHED: 2011-0830 ######################################################################## */ INTERLIS 2.3; /* ######################################################################## ######################################################################## PART I -- GEOMETRY - Package GeometryCHLV03 - Package GeometryCHLV95 */ !! ######################################################################## !! Version | Who | Modification !!------------------------------------------------------------------------------ !! 2015-02-20 | KOGIS | WITHOUT OVERLAPS added (line 57, 58, 65 and 66) !! 2015-11-12 | KOGIS | WITHOUT OVERLAPS corrected (line 57 and 58) !! 2017-11-27 | KOGIS | Meta-Attributes @furtherInformation adapted and @CRS added (line 31, 44 and 50) !! 2017-12-04 | KOGIS | Meta-Attribute @CRS corrected !!@technicalContact=<EMAIL> !!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html TYPE MODEL GeometryCHLV03_V1 (en) AT "http://www.geo.admin.ch" VERSION "2017-12-04" = IMPORTS UNQUALIFIED INTERLIS; IMPORTS Units; IMPORTS CoordSys; REFSYSTEM BASKET BCoordSys ~ CoordSys.CoordsysTopic OBJECTS OF GeoCartesian2D: CHLV03 OBJECTS OF GeoHeight: SwissOrthometricAlt; DOMAIN !!@CRS=EPSG:21781 Coord2 = COORD 460000.000 .. 870000.000 [m] {CHLV03[1]}, 45000.000 .. 310000.000 [m] {CHLV03[2]}, ROTATION 2 -> 1; !!@CRS=EPSG:21781 Coord3 = COORD 460000.000 .. 870000.000 [m] {CHLV03[1]}, 45000.000 .. 310000.000 [m] {CHLV03[2]}, -200.000 .. 5000.000 [m] {SwissOrthometricAlt[1]}, ROTATION 2 -> 1; Surface = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001; Area = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001; Line = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord2; DirectedLine EXTENDS Line = DIRECTED POLYLINE; LineWithAltitude = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3; DirectedLineWithAltitude = DIRECTED POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3; /* minimal overlaps only (2mm) */ SurfaceWithOverlaps2mm = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002; AreaWithOverlaps2mm = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002; Orientation = 0.00000 .. 359.99999 CIRCULAR [Units.Angle_Degree] <Coord2>; Accuracy = (cm, cm50, m, m10, m50, vague); Method = (measured, sketched, calculated); STRUCTURE LineStructure = Line: Line; END LineStructure; STRUCTURE DirectedLineStructure = Line: DirectedLine; END DirectedLineStructure; STRUCTURE MultiLine = Lines: BAG {1..*} OF LineStructure; END MultiLine; STRUCTURE MultiDirectedLine = Lines: BAG {1..*} OF DirectedLineStructure; END MultiDirectedLine; STRUCTURE SurfaceStructure = Surface: Surface; END SurfaceStructure; STRUCTURE MultiSurface = Surfaces: BAG {1..*} OF SurfaceStructure; END MultiSurface; END GeometryCHLV03_V1. !! ######################################################################## !! Version | Who | Modification !!------------------------------------------------------------------------------ !! 2015-02-20 | KOGIS | WITHOUT OVERLAPS added (line 135, 136, 143 and 144) !! 2015-11-12 | KOGIS | WITHOUT OVERLAPS corrected (line 135 and 136) !! 2017-11-27 | KOGIS | Meta-Attributes @furtherInformation adapted and @CRS added (line 109, 122 and 128) !! 2017-12-04 | KOGIS | Meta-Attribute @CRS corrected !!@technicalContact=<EMAIL> !!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html TYPE MODEL GeometryCHLV95_V1 (en) AT "http://www.geo.admin.ch" VERSION "2017-12-04" = IMPORTS UNQUALIFIED INTERLIS; IMPORTS Units; IMPORTS CoordSys; REFSYSTEM BASKET BCoordSys ~ CoordSys.CoordsysTopic OBJECTS OF GeoCartesian2D: CHLV95 OBJECTS OF GeoHeight: SwissOrthometricAlt; DOMAIN !!@CRS=EPSG:2056 Coord2 = COORD 2460000.000 .. 2870000.000 [m] {CHLV95[1]}, 1045000.000 .. 1310000.000 [m] {CHLV95[2]}, ROTATION 2 -> 1; !!@CRS=EPSG:2056 Coord3 = COORD 2460000.000 .. 2870000.000 [m] {CHLV95[1]}, 1045000.000 .. 1310000.000 [m] {CHLV95[2]}, -200.000 .. 5000.000 [m] {SwissOrthometricAlt[1]}, ROTATION 2 -> 1; Surface = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001; Area = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001; Line = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord2; DirectedLine EXTENDS Line = DIRECTED POLYLINE; LineWithAltitude = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3; DirectedLineWithAltitude = DIRECTED POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3; /* minimal overlaps only (2mm) */ SurfaceWithOverlaps2mm = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002; AreaWithOverlaps2mm = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002; Orientation = 0.00000 .. 359.99999 CIRCULAR [Units.Angle_Degree] <Coord2>; Accuracy = (cm, cm50, m, m10, m50, vague); Method = (measured, sketched, calculated); STRUCTURE LineStructure = Line: Line; END LineStructure; STRUCTURE DirectedLineStructure = Line: DirectedLine; END DirectedLineStructure; STRUCTURE MultiLine = Lines: BAG {1..*} OF LineStructure; END MultiLine; STRUCTURE MultiDirectedLine = Lines: BAG {1..*} OF DirectedLineStructure; END MultiDirectedLine; STRUCTURE SurfaceStructure = Surface: Surface; END SurfaceStructure; STRUCTURE MultiSurface = Surfaces: BAG {1..*} OF SurfaceStructure; END MultiSurface; END GeometryCHLV95_V1. !! ######################################################################## ','2020-10-10 14:55:25.073'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createMetaInfo','True'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.beautifyEnumDispName','underscore'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.arrayTrafo','coalesce'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.nameOptimization','topic'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.localisedTrafo','expand'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.numericCheckConstraints','create'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.sender','ili2pg-4.3.1-23b1f79e8ad644414773bb9bd1a97c8c265c5082'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createForeignKey','yes'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.sqlgen.createGeomIndex','True'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.defaultSrsAuthority','EPSG'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.defaultSrsCode','2056'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.uuidDefaultValue','uuid_generate_v4()'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.StrokeArcs','enable'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multiLineTrafo','coalesce'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.interlis.ili2c.ilidirs','.;http://models.geo.admin.ch'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createForeignKeyIndex','yes'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.jsonTrafo','coalesce'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createEnumDefs','multiTable'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.uniqueConstraints','create'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.maxSqlNameLength','60'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.inheritanceTrafo','smart1'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.catalogueRefTrafo','coalesce'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multiPointTrafo','coalesce'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multiSurfaceTrafo','coalesce'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multilingualTrafo','expand'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('DictionariesCH_V1','furtherInformation','http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('DictionariesCH_V1','technicalContact','<EMAIL>'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('SO_AGI_MOpublic_20201009','furtherInformation','http://geo.so.ch/models/AGI/SO_AGI_MOpublic_20201009.uml'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('SO_AGI_MOpublic_20201009','technicalContact','mailto:<EMAIL>'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('Dictionaries_V1','furtherInformation','http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('Dictionaries_V1','technicalContact','<EMAIL>'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnits_V1','furtherInformation','https://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnits_V1','technicalContact','mailto:<EMAIL>'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnitsCH_V1','furtherInformation','https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html'); INSERT INTO agi_mopublic_pub_export.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnitsCH_V1','technicalContact','mailto:<EMAIL>');
<reponame>BrynjarGeir/LeetCode # Write your MySQL query statement below SELECT Department.Name as Department, e.Name as Employee, e.Salary FROM Employee e Inner Join Department ON e.DepartmentID = Department.Id WHERE (SELECT count(Distinct m.Salary) FROM Employee m where m.DepartmentId = e.DepartmentId and m.salary > e.salary) < 3
<gh_stars>0 SELECT title FROM books WHERE title LIKE 'Harry%Potter%'
/*Create a table*/ CREATE TABLE person ( id BIGSERIAL NOT NULL PRIMARY KEY, first_name VARCHAR(50) NOT NULL, last_name VARCHAR(50) NOT NULL, gender VARCHAR(7) NOT NULL, date_of_birth DATE NOT NULL, email VARCHAR(150) ); INSERT INTO person ( first_name, last_name, gender, date_of_birth, email) VALUES ('Jake', 'Jones', 'MALE', DATE '1990-01-10', '<EMAIL>');
<reponame>martinsivanov/CSharp-Databases-January-2021 --Section 01 CREATE DATABASE TripService CREATE TABLE Cities ( Id INT PRIMARY KEY IDENTITY, [Name] NVARCHAR(20) NOT NULL, CountryCode VARCHAR(2) NOT NULL ) CREATE TABLE Hotels ( Id INT PRIMARY KEY IDENTITY, [Name] NVARCHAR(30) NOT NULL, CityId INT FOREIGN KEY REFERENCES Cities(Id) NOT NULL, EmployeeCount INT NOT NULL, BaseRate DECIMAL(5,2) ) CREATE TABLE Rooms ( Id INT PRIMARY KEY IDENTITY, Price DECIMAL(5,2) NOT NULL, [Type] NVARCHAR(20) NOT NULL, Beds INT NOT NULL, HotelId INT FOREIGN KEY REFERENCES Hotels(Id) NOT NULL ) CREATE TABLE Trips ( Id INT PRIMARY KEY IDENTITY, RoomId INT FOREIGN KEY REFERENCES Rooms(Id) NOT NULL, BookDate DATE NOT NULL, ArrivalDate DATE NOT NULL, ReturnDate DATE NOT NULL, CancelDate DATE, CONSTRAINT Checked_BookDate_ArrivalDate CHECK(DATEDIFF(DAY, BookDate, ArrivalDate) > 0), CONSTRAINT Checked_ArrivalDate_ReturnDate CHECK(DATEDIFF(DAY, ArrivalDate, ReturnDate) > 0) ) CREATE TABLE Accounts ( Id INT PRIMARY KEY IDENTITY, FirstName NVARCHAR(50) NOT NULL, MiddleName NVARCHAR(20), LastName NVARCHAR(50) NOT NULL, CityId INT FOREIGN KEY REFERENCES Cities(Id) NOT NULL, BirthDate DATE NOT NULL, Email VARCHAR(100) UNIQUE NOT NULL ) CREATE TABLE AccountsTrips ( AccountId INT FOREIGN KEY REFERENCES Accounts(Id) NOT NULL, TripId INT FOREIGN KEY REFERENCES Trips(Id) NOT NULL, Luggage INT CHECK(Luggage >= 0) NOT NULL, PRIMARY KEY (AccountId, TripId) ) --Section 02 -- 2. Insert INSERT INTO Accounts(FirstName,MiddleName,LastName,CityId,BirthDate,Email) VALUES ('John','Smith','Smith',34,'1975-07-21','<EMAIL>'), ('Gosho',NULL,'Petrov',11,'1978-05-16','<EMAIL>'), ('Ivan','Petrovich','Pavlov',59,'1849-09-26','<EMAIL>'), ('Friedrich','Wilhelm','Nietzsche',2,'1844-10-15','<EMAIL>') INSERT INTO Trips(RoomId,BookDate,ArrivalDate,ReturnDate,CancelDate) VALUES (101,'2015-04-12','2015-04-14','2015-04-20','2015-02-02'), (102,'2015-07-07','2015-07-15','2015-07-22','2015-04-29'), (103,'2013-07-17','2013-07-23','2013-07-24',NULL), (104,'2012-03-17','2012-03-31','2012-04-01','2012-01-10'), (109,'2017-08-07','2017-08-28','2017-08-29',NULL) -- 3. Update SELECT * FROM Rooms UPDATE Rooms SET Price += (Price * 0.14) WHERE HotelId IN (5,7,9) -- 4. Delete DELETE FROM AccountsTrips WHERE AccountId = 47 DELETE FROM Accounts WHERE Id = 47 --Section 03 -- 5. EEE-Mails SELECT a.FirstName, a.LastName, FORMAT(BirthDate,'MM-dd-yyyy') AS BirthDate, c.[Name] AS [Hometown], a.Email FROM Accounts as a JOIN Cities as c ON a.CityId = c.Id WHERE Email LIKE 'e%' ORDER BY c.Name -- 6. City Statistics SELECT c.[Name], COUNT(h.Id) AS [Hotels] FROM Cities as c JOIN Hotels as h ON h.CityId = c.Id GROUP BY c.[Name] ORDER BY [Hotels] DESC, c.[Name] -- 7. Longest and Shortest Trips SELECT a.Id AS AccountId, CONCAT(a.FirstName,' ',a.LastName) AS FullName, MAX(DATEDIFF(DAY,t.ArrivalDate,t.ReturnDate)) AS LongestTrip, MIN(DATEDIFF(DAY,t.ArrivalDate,t.ReturnDate)) AS ShortestTrip FROM Trips AS t JOIN AccountsTrips AS [at] ON t.Id = [at].TripId LEFT JOIN Accounts AS a ON [at].AccountId = a.Id WHERE a.MiddleName IS NULL AND t.CancelDate IS NULL GROUP BY a.Id,a.FirstName,a.LastName ORDER BY LongestTrip DESC, ShortestTrip ASC -- 8. Metropolis SELECT TOP(10)c.Id, c.Name AS [City],c.CountryCode AS [Country],COUNT(a.Id) AS [Accounts] FROM Accounts as a JOIN Cities as c ON a.CityId = c.Id GROUP BY c.Id,c.[Name],c.CountryCode ORDER BY Accounts DESC -- 9. Romantic Getaways SELECT a.Id,a.Email,c.[Name] AS [City],COUNT(at.TripId) AS Trips FROM Accounts as a JOIN AccountsTrips as [at] ON a.Id = at.AccountId JOIN Trips as t ON t.Id = at.TripId JOIN Rooms as r ON t.RoomId = r.Id JOIN Hotels as h ON h.Id = r.HotelId JOIN Cities as c ON c.Id = a.CityId AND c.Id = h.CityId GROUP BY a.Id,a.Email,c.[Name] ORDER BY COUNT(at.TripId) DESC, a.Id -- 10. GDPR Violation SELECT t.Id, A2.FirstName + ' ' + ISNULL(A2.MiddleName + ' ', '') + A2.LastName AS [Full Name], C.[Name] AS [From], C2.[Name] AS [TO], IIF(t.CancelDate IS NOT NULL, 'Canceled', CAST(DATEDIFF(DAY, t.ArrivalDate, t.ReturnDate) AS NVARCHAR(100)) + ' days') AS Duration FROM Trips AS t JOIN AccountsTrips A ON t.Id = A.TripId JOIN Accounts A2 ON A2.Id = A.AccountId JOIN Cities C ON C.Id = A2.CityId JOIN Rooms R2 ON R2.Id = t.RoomId JOIN Hotels H ON H.Id = R2.HotelId JOIN Cities C2 ON C2.Id = H.CityId ORDER BY [Full Name],t.Id -- 11. Available Room CREATE FUNCTION udf_GetAvailableRoom(@HotelId INT, @Date DATE, @People INT) RETURNS VARCHAR(MAX) AS BEGIN DECLARE @RoomId INT = (SELECT TOP 1 r.Id FROM Trips AS t JOIN Rooms AS r ON t.RoomId = r.Id JOIN Hotels AS h ON r.HotelId = h.Id WHERE h.Id = @HotelId AND @Date NOT BETWEEN t.ArrivalDate AND t.ReturnDate AND t.CancelDate IS NULL AND r.Beds >= @People AND YEAR(@Date) = YEAR(t.ArrivalDate) ORDER BY r.Price DESC) IF @RoomId IS NULL RETURN 'No rooms available' DECLARE @RoomPrice DECIMAL(15, 2) = (SELECT Price FROM Rooms WHERE Id = @RoomId) DECLARE @RoomType VARCHAR(50) = (SELECT Type FROM Rooms WHERE Id = @RoomId) DECLARE @BedsCount INT = (SELECT Beds FROM Rooms WHERE Id = @RoomId) DECLARE @HotelBaseRate DECIMAL(15, 2) = (SELECT BaseRate FROM Hotels WHERE Id = @HotelId) DECLARE @TotalPrice DECIMAL(15, 2) = (@HotelBaseRate + @RoomPrice) * @People RETURN CONCAT('Room ', @RoomId, ': ', @RoomType, ' (', @BedsCount, ' beds', ') - $', @TotalPrice) END -- 12. Switch Room CREATE PROCEDURE usp_SwitchRoom(@TripId INT, @TargetRoomId INT) AS BEGIN IF ((SELECT TOP 1 h.Id FROM Trips AS t JOIN Rooms AS r ON r.Id = t.RoomId JOIN Hotels AS h ON h.Id = r.HotelId WHERE t.Id = @TripId) != (SELECT HotelId FROM Rooms WHERE @TargetRoomId = Id)) THROW 50001, 'Target room is in another hotel!', 1 IF ((SELECT Beds FROM Rooms WHERE @TargetRoomId = Id) < (SELECT COUNT(*) AS Count FROM AccountsTrips WHERE TripId = @TripId)) THROW 50002, 'Not enough beds in target room!', 1 UPDATE Trips SET RoomId = @TargetRoomId WHERE Id = @TripId END GO EXEC usp_SwitchRoom 10, 11 SELECT RoomId FROM Trips WHERE Id = 10 -- 11 EXEC usp_SwitchRoom 10, 7 --Target room is in another hotel! EXEC usp_SwitchRoom 10, 8 -- Not enough beds in target room!
CREATE TABLE customer (custId int GENERATED ALWAYS AS IDENTITY, firstName varchar(50) NOT NULL, lastName varchar(50) NOT NULL, PRIMARY KEY(custId)); INSERT INTO customer(firstName, lastName) VALUES ('Josh', 'Bertrand'); CREATE TABLE store (storeId int GENERATED ALWAYS AS IDENTITY, storeName varchar(50), PRIMARY KEY(storeId)); INSERT INTO store(storeName) VALUES ('Samples Store'); CREATE TABLE product (productId int GENERATED ALWAYS AS IDENTITY, productDescription varchar(50) NOT NULL, productPrice decimal(10, 2), PRIMARY KEY(productId)); INSERT INTO product(productDescription, productPrice) VALUES ('Sample Battery Pack', 3.99); CREATE TABLE storeInventory (storeInvId int GENERATED ALWAYS AS IDENTITY, storeId int NOT NULL, productId int NOT NULL, quantity int NOT NULL, PRIMARY KEY(storeInvId), FOREIGN KEY(storeId) REFERENCES store(storeId), FOREIGN KEY(productId) REFERENCES product(productId)); CREATE TABLE orderInst (orderId int GENERATED ALWAYS AS IDENTITY, orderDate date, customerId int NOT NULL, storeId int NOT NULL, PRIMARY KEY(orderId), FOREIGN KEY(customerId) REFERENCES customer(custId), FOREIGN KEY(storeId) REFERENCES store(storeId)); CREATE TABLE orderHistory (orderHistoryId int GENERATED ALWAYS AS IDENTITY, orderId int NOT NULL, productId int NOT NULL, PRIMARY KEY(orderHistoryId), FOREIGN KEY(orderId) REFERENCES orderInst(orderId), FOREIGN KEY(productId) REFERENCES product(productId));
<filename>sql/book1/Chapter9_views.sql ---Chapter 9 - VIEWS SELECT e.employee_id , e.last_name , e.department_id , d.department_name , e.salary FROM employees e JOIN departments d ON e.department_id = D.department_id CREATE OR REPLACE VIEW emp_dep AS SELECT e.employee_id , e.last_name , e.department_id , d.department_name , e.salary FROM employees e JOIN departments d ON e.department_id = D.department_id SELECT * FROM emp_dep SELECT * FROM emp_dep WHERE department_id = 30 SELECT last_name , salary , salary *1.12 FROM emp_dep WHERE department_id = 30 CREATE VIEW emp_dep AS SELECT e.employee_id , e.last_name , e.department_id , d.department_name , e.salary*1.2 AS Total FROM employees e JOIN departments d ON e.department_id = D.department_id CREATE OR REPLACE VIEW emp_dep AS SELECT e.employee_id , e.last_name , e.department_id , d.department_name , e.salary*1.2 AS Total FROM employees e JOIN departments d ON e.department_id = D.department_id SELECT * FROM emp_dep WHERE total >=15000
<filename>database/fireandincidentsysbackup.sql select * from responses
CREATE TABLE [dbo].[SupplementaryData] ( [SupplementaryDataId] INT IDENTITY (1, 1) NOT NULL, [ConRefNumber] VARCHAR (20) NOT NULL, [DeliverableCode] VARCHAR (10) NOT NULL, [CalendarYear] INT NOT NULL, [CalendarMonth] INT NOT NULL, [CostType] VARCHAR (20) NOT NULL, [StaffName] VARCHAR (100) NULL, [ReferenceType] VARCHAR (20) NOT NULL, [Reference] VARCHAR (100) NOT NULL, [ULN] BIGINT NULL, [ProviderSpecifiedReference] VARCHAR (200) NULL, [Value] DECIMAL (8, 2) NULL, [HourlyRate] DECIMAL (8, 2) NULL, [TotalHoursWorked] DECIMAL (8, 2) NULL, [ProjectHours] DECIMAL (8, 2) NULL, [OrgHours] DECIMAL (8, 2) NULL, [SourceFileId] INT NOT NULL, CONSTRAINT [PK_SupplementaryData] PRIMARY KEY CLUSTERED ([ConRefNumber] ASC, [DeliverableCode] ASC, [CalendarYear] ASC, [CalendarMonth] ASC, [CostType] ASC, [ReferenceType] ASC, [Reference] ASC), CONSTRAINT [FK_SourceFile] FOREIGN KEY ([SourceFileId]) REFERENCES [dbo].[SourceFile] ([SourceFileId]) );
use [DataWorks] --change the database name to your preference go /* create schema utl; --if you decide to use name 'utl' in your new database, execute this; otherwise, rename 'utl' schema through the scripts go */ set nocount on set transaction isolation level read uncommitted set deadlock_priority low set textsize -1 --reset to unlimited go drop table if exists #objs; select distinct o.[schema_id] as sch_id , o.parent_object_id as par_id , o.[object_id] as obj_id , i.[object_id] as idx_id , i.[name] as idx_name , schema_name(o.[schema_id]) as sch_name , object_name(o.parent_object_id) as par_name , o.[name] as obj_name , o.[type] as obj_type into #objs from sys.objects o left join sys.indexes i on o.[parent_object_id] = i.[object_id] where o.is_ms_shipped = 0 and schema_name(o.[schema_id]) = N'utl' ------------------------------------------------------------------------------------------------------------------- -- Tables ------------------------------------------------------------------------------------------------------------------- if not exists ( select top 1 1 from #objs where obj_name = N'obj_name' and obj_type = 'U' ) begin --This table contains unique object names including a type --for example, view and procedure will have different assigned obj_name_id for same database, schema and name create table utl.obj_name ( obj_name_id bigint identity(1,1) not null constraint PK_obj_name_obj_name_id primary key , data_name sysname not null --Database name , sch_name sysname not null --Schema name , obj_name sysname not null --Object name , obj_type varchar(2) not null --Object type ); print 'created table utl.obj_name' end go if not exists ( select top 1 1 from #objs o where o.par_name = N'obj_name' and o.idx_name = N'IX_obj_name_data_name_sch_name_obj_name_obj_type' ) begin create unique index IX_obj_name_data_name_sch_name_obj_name_obj_type on utl.obj_name (data_name, sch_name, obj_name, obj_type); print 'created index IX_obj_name_data_name_sch_name_obj_name_obj_type' end go if not exists ( select top 1 1 from #objs where obj_name = N'obj_defs' and obj_type = 'U' ) begin create table utl.obj_defs ( --This table will contain unique object definition --Critical assumption is that combination of length and SHA2 hash is always unique obj_def_id bigint identity(1,1) not null constraint PK_obj_defs_obj_def_id primary key , obj_len int not null , obj_hash varbinary(32) not null --sized for SHA2_256 , obj_def varbinary(max) not null , processed_ts datetime not null default(getutcdate()) ); print 'created table utl.obj_defs' end go if not exists ( select top 1 1 from #objs o where o.par_name = N'obj_defs' and o.idx_name = N'IX_obj_defs_obj_len_obj_hash' ) begin create unique index IX_obj_defs_obj_len_obj_hash on utl.obj_defs (obj_len, obj_hash); print 'created index IX_obj_defs_obj_len_obj_hash' end go if not exists ( select top 1 1 from #objs where obj_name = N'ref_reason' and obj_type = 'U' ) begin --This table is dictionary for the type of the change create table utl.ref_reason ( reason_id tinyint not null constraint PK_ref_reason_reason_id primary key , reason_name nvarchar(32) not null ); insert utl.ref_reason(reason_id, reason_name) values (cast(0x01 as tinyint), N'New') , (cast(0x02 as tinyint), N'Deleted') , (cast(0x04 as tinyint), N'Modified') , (cast(0x08 as tinyint), N'Renamed') ; end go if not exists ( select top 1 1 from #objs where obj_name = N'obj_hist' and obj_type = 'U' ) begin --This is the main history table create table utl.obj_hist ( obj_hist_id bigint not null identity(1,1) constraint PK_obj_hist_obj_hist_id primary key , reason_id tinyint not null constraint FK_obj_hist__ref_reason_reason_id foreign key references utl.ref_reason(reason_id) , obj_name_id bigint not null constraint FK_obj_hist__obj_name_obj_name_id foreign key references utl.obj_name(obj_name_id) , data_id int null , sch_id int null , obj_id int not null , created_ts datetime null , modified_ts datetime null , previous_id bigint null constraint FK_obj_hist__obj_hist_obj_hist_id foreign key references utl.obj_hist(obj_hist_id) , processed_ts datetime not null default(getutcdate()) , obj_def_id bigint null constraint FK_obj_hist__obj_defs_obj_def_id references utl.obj_defs(obj_def_id) , change_map bigint not null default(0) ); print 'created table utl.obj_hist' end go if not exists ( select top 1 1 from #objs o where o.par_name = N'obj_hist' and o.idx_name = N'IX_obj_hist_reason_id' ) begin create index IX_obj_hist_reason_id on utl.obj_hist (reason_id) where reason_id in (0x01, 0x02, 0x04, 0x08); print 'created filtered index IX_obj_hist_reason_id' end go if not exists ( select top 1 1 from #objs where obj_name = N'ref_change_map' and obj_type = 'U' ) begin --This table is a dictionary holding the precalculated combination of possbile changes drop table if exists #change_map; create table #change_map(change_map bigint not null default(0), change_desc varchar(max) not null); insert #change_map(change_map, change_desc) select cast(map.change_map as tinyint) as change_map, map.change_desc from ( values (0x01, 'data_id' ) , (0x02, 'sch_id' ) , (0x04, 'obj_id' ) , (0x08, 'created_ts' ) , (0x10, 'modified_ts') , (0x20, 'obj_len' ) , (0x40, 'obj_hash' ) , (0x80, 'obj_def' ) ) as map(change_map, change_desc); drop table if exists #mapping; ;with cte as ( select 1 as x, 1 as y, cast('' as varchar(max)) as dsc union all select iif(y = 0, cte.x + 1, cte.x) as x, iif(y = 0, cte.x + 1, y & y - 1) as y, dsc as dsc from cte cte where cte.x < 256 ) select cte.x as xx, cte.y as xy, cte.x, cte.y, cm.change_map, cm.change_desc into #mapping from cte cte join #change_map cm on cm.change_map = cte.y where cte.x & cte.y = cte.y and cte.y != 0 order by cte.x option(maxrecursion 0); create table utl.ref_change_map(change_map bigint not null constraint PK_ref_change_map_change_map primary key, change_desc nvarchar(max)); insert utl.ref_change_map(change_map, change_desc) select cast(m.xx as bigint) as change_map, m1.change_desc --, string_agg(m.change_desc, ', ') as change_desc from #mapping m cross apply ( select stuff((select N',' + m1.change_desc from #mapping as m1 where m1.xx = m.xx for xml path (N'')), 1, 1, N'') as change_desc ) as m1 group by m.xx, m1.change_desc order by m.xx insert utl.ref_change_map(change_map, change_desc) values (0, N'') --entry for no changes at value 0 print 'created table utl.ref_change_map' end go ------------------------------------------------------------------------------------------------------------------- -- Procedures ------------------------------------------------------------------------------------------------------------------- drop procedure if exists utl.usp_obj_refresh; go --This is the main detection procedure, updates obj_hist, obj_defs, obj_names create procedure utl.usp_obj_refresh as begin set nocount on set transaction isolation level read uncommitted set deadlock_priority low set textsize -1 --reset to unlimited declare @now datetime = getutcdate() declare @msg nvarchar(max) = null declare @rows int = 0 declare @reason_new tinyint = 0x01 --(select r.reason_id from utl.ref_reason r where r.reason_name = N'New') declare @reason_deleted tinyint = 0x02 --(select r.reason_id from utl.ref_reason r where r.reason_name = N'Deleted') declare @reason_modified tinyint = 0x04 --(select r.reason_id from utl.ref_reason r where r.reason_name = N'Modified') declare @reason_renamed tinyint = 0x08 --(select r.reason_id from utl.ref_reason r where r.reason_name = N'Renamed') --Log table drop table if exists #msgs; create table #msgs(id int identity(1,1) not null, txt nvarchar(1000) not null, ts datetime not null default(getdate()), dur int null); insert #msgs(txt) values ( N'STARTED' ); --This table will hold recalculated objects drop table if exists #temp_objects; create table #temp_objects ( temp_object_id bigint not null identity(1,1) primary key , obj_name_id bigint null , data_name sysname not null , sch_name sysname not null , obj_name sysname not null , data_id int not null , sch_id int not null , obj_id int not null , obj_type varchar(2) not null , obj_hash varbinary(32) not null --sized for SHA2_256 , obj_len int not null , obj_def varbinary(max) not null , obj_def_id bigint null , created_ts datetime not null , modified_ts datetime not null ) insert #msgs(txt) values ( N'#temp_objects created' ); declare data_cursor cursor local forward_only read_only fast_forward for select d.[name] from sys.sysdatabases d(nolock) --where d.[name] not in (N'master', N'tempdb', N'model', N'msdb') order by d.[name]; declare @data_name sysname open data_cursor fetch next from data_cursor into @data_name declare @cr nchar(1) = nchar(13) declare @lf nchar(1) = nchar(10) declare @crlf nchar(2) = @cr + @lf set @rows = 0; declare @count int = 0; while(@@fetch_status = 0) begin declare @sql nvarchar(max) = concat ( N'set @result = 0;', @crlf , N'declare @tz_offset int = datediff(minute, getdate(), getutcdate());', @crlf , N'with def as', @crlf , N'(', @crlf , N' select o.[object_id], o.[type], o.[schema_id] as sch_id, schema_name(o.[schema_id]) as sch_name, o.[name] as obj_name, dateadd(minute, @tz_offset, o.create_date) as create_date, dateadd(minute, @tz_offset, o.modify_date) as modify_date, body.val as body, body_len.val as body_len', @crlf , N' from ( select o.* from sys.objects o where o.[type] in (''P'', ''FN'', ''TF'', ''TR'', ''IF'', ''V'', ''S'', ''SO'') ) as o', @crlf , N' cross apply ( select object_definition(o.[object_id]) as val ) as body', @crlf , N' cross apply ( select iif(body.val is null, 0, len(body.val)) as val ) as body_len', @crlf , N' cross apply ( select iif(body_len.val = 0, null, compress(body.val)) as val ) as zip', @crlf , N')', @crlf , N'insert into #temp_objects(data_name, sch_name, obj_name, data_id, sch_id, obj_id, obj_type, obj_len, obj_def, obj_hash, created_ts, modified_ts)', @crlf , N'select @data_name, def.sch_name, def.obj_name, db_id(@data_name), def.sch_id, def.[object_id], def.[type], len(def.body), compress(def.body), convert(varbinary(32), hashbytes(N''SHA2_256'', def.body)), def.create_date, def.modify_date', @crlf , N'from def def', @crlf , N'cross apply ( select len(def.body) as body_len, compress(def.body) as body_comp ) as obj', @crlf , N'where def.body is not null;', @crlf , N'set @result += @@rowcount;', @crlf ); declare @params nvarchar(max) = N'@result bigint output, @data_name sysname'; declare @exec nvarchar(1024) = concat(quotename(@data_name), N'.sys.sp_executesql'); declare @result bigint = 0; declare @rc int; if @count = 0 print concat('SQL:', @crlf, @sql, @crlf); execute @rc = @exec @sql, @params, @data_name = @data_name, @result = @result output; set @rows += @result set @count += 1 fetch next from data_cursor into @data_name end close data_cursor deallocate data_cursor insert #msgs(txt) values ( concat(N'cursor finished, ', @rows, N' rows') ); create index IX_temp_objects_obj_name_id on #temp_objects(obj_name_id); insert #msgs(txt) values ( concat(N'indexed #temp_objects, ', @rows, N' rows') ); --Resolve obj_name_id reference from existing entries, where object snapshot read already exists update t set t.obj_name_id = i.obj_name_id from #temp_objects as t join utl.obj_name as i on i.data_name = t.data_name and i.sch_name = t.sch_name and i.obj_name = t.obj_name and i.obj_type = t.obj_type set @rows = @@rowcount insert #msgs(txt) values ( concat(N'updated name entries, ', @rows, N' rows') ); --Create new named entries for an object not previously encountered insert utl.obj_name(data_name, sch_name, obj_name, obj_type) select t.data_name, t.sch_name, t.obj_name, t.obj_type from #temp_objects as t where t.obj_name_id is null set @rows = @@rowcount insert #msgs(txt) values ( concat(N'creating new name entries, ', @rows, N' rows') ); --Resolve obj_name_id reference from existing entries - where object snapshot read is new update t set t.obj_name_id = i.obj_name_id from #temp_objects as t join utl.obj_name as i on i.data_name = t.data_name and i.sch_name = t.sch_name and i.obj_name = t.obj_name and i.obj_type = t.obj_type where t.obj_name_id is null set @rows = @@rowcount insert #msgs(txt) values ( concat(N'updated with new name entries, ', @rows, N' rows') ); --Sanity check, #temp_objects must have all names resolved if exists (select top 1 1 from #temp_objects as t where t.obj_name_id is null) begin raiserror(N'Name not resolved, fatal exit', 15, 1000); end --Resolve obj_def_id reference from existing entries update t set t.obj_def_id = d.obj_def_id from #temp_objects as t join utl.obj_defs d on d.obj_len = t.obj_len and d.obj_hash = t.obj_hash set @rows = @@rowcount insert #msgs(txt) values ( concat(N'updated object definitions, ', @rows, N' rows') ); --Create new entries for an object definition not previously encountered insert utl.obj_defs(obj_len, obj_hash, obj_def) select t.obj_len, t.obj_hash, t.obj_def from ( select row_number() over (partition by t.obj_len, t.obj_hash, t.obj_def order by t.obj_len) as rn, t.obj_len, t.obj_hash, t.obj_def from #temp_objects as t where t.obj_def_id is null ) as t where t.rn = 1 set @rows = @@rowcount insert #msgs(txt) values ( concat(N'creating new object definitions, ', @rows, N' rows') ); update t set t.obj_def_id = d.obj_def_id from #temp_objects as t join utl.obj_defs d on d.obj_len = t.obj_len and d.obj_hash = t.obj_hash where t.obj_def_id is null set @rows = @@rowcount insert #msgs(txt) values ( concat(N'updated with new object definitions, ', @rows, N' rows') ); --Sanity check, #temp_objects must have all definitions resolved if exists (select top 1 1 from #temp_objects as t where t.obj_def_id is null) begin raiserror(N'Object definition not resolved, fatal exit', 15, 1000); end --Get the latest version for each database + schema + object name fully qualified name drop table if exists #temp_latest create table #temp_latest(obj_name_id int not null, obj_hist_id bigint not null, reason_id tinyint); insert #temp_latest(obj_name_id, obj_hist_id, reason_id) select c.obj_name_id, c.obj_hist_id, c.reason_id from ( select row_number() over (partition by obj_name_id order by c.obj_hist_id desc) as rn, c.obj_name_id, c.obj_hist_id, c.reason_id from utl.obj_hist as c ) as c where c.rn = 1 --where c.reason_id != @reason_deleted --group by c.obj_name_id set @rows = @@rowcount insert #msgs(txt) values ( concat(N'created #temp_latest, ', @rows, N' rows') ); --select * from #temp_latest as l --Mark deleted entries drop table if exists #temp_deleted; create table #temp_deleted(obj_hist_id bigint not null); insert #temp_deleted(obj_hist_id) select c.obj_hist_id from #temp_latest as c where not exists (select top 1 1 from #temp_objects as t2 where t2.obj_name_id = c.obj_name_id) and c.reason_id != @reason_deleted set @rows = @@rowcount insert #msgs(txt) values ( concat(N'marked deleted, ', @rows, N' rows') ); --Update existing record from new readings drop table if exists #temp_modified; create table #temp_modified(temp_object_id bigint not null, obj_hist_id bigint null, change_map bigint null); insert #temp_modified(temp_object_id, obj_hist_id, change_map) select t.temp_object_id , c.obj_hist_id , isnull(data_id_test.val, 0) + isnull(sch_id_test.val, 0) + isnull(obj_id_test.val, 0) + isnull(created_ts_test.val, 0) + isnull(modified_ts_test.val, 0) + isnull(obj_len_test.val, 0) + isnull(obj_hash_test.val, 0) + isnull(obj_def_test.val, 0) from #temp_objects as t join #temp_latest as i on i.obj_name_id = t.obj_name_id and i.reason_id != @reason_deleted outer apply ( select top 1 h2.* from utl.obj_hist as h2 join #temp_latest as t2 on t2.obj_hist_id = h2.obj_hist_id where h2.obj_name_id = t.obj_name_id ) as c left join utl.obj_defs as dc on dc.obj_def_id = c.obj_def_id left join utl.obj_defs as dt on dt.obj_def_id = t.obj_def_id outer apply ( select iif(coalesce(c.data_id, t.data_id) is null or (t.data_id = c.data_id), null, 1) as val ) as data_id_test outer apply ( select iif(coalesce(c.sch_id, t.sch_id) is null or (t.sch_id = c.sch_id), null, 2) as val ) as sch_id_test outer apply ( select iif(coalesce(c.obj_id, t.obj_id) is null or (t.obj_id = c.obj_id), null, 4) as val ) as obj_id_test outer apply ( select iif(coalesce(c.created_ts, t.created_ts) is null or (t.created_ts = c.created_ts), null, 8) as val ) as created_ts_test outer apply ( select iif(coalesce(c.modified_ts, t.modified_ts) is null or (t.modified_ts = c.modified_ts), null, 16) as val ) as modified_ts_test outer apply ( select iif(coalesce(dc.obj_len, dt.obj_len) is null or (dt.obj_len = dc.obj_len), null, 32) as val ) as obj_len_test outer apply ( select iif(coalesce(dc.obj_hash, dt.obj_hash) is null or (dt.obj_hash = dc.obj_hash), null, 64) as val ) as obj_hash_test outer apply ( select iif(coalesce(dc.obj_def, dt.obj_def) is null or (dt.obj_def = dc.obj_def), null, 128) as val ) as obj_def_test outer apply ( select iif(coalesce(data_id_test.val, sch_id_test.val, obj_id_test.val, created_ts_test.val, modified_ts_test.val, obj_len_test.val, obj_hash_test.val, obj_def_test.val) is not null, 1, 0) as is_modified ) as test where test.is_modified = 1 set @rows = @@rowcount insert #msgs(txt) values ( concat(N'updated #temp_modified, ', @rows, N' rows') ); --Update deleted records update c set c.processed_ts = @now , c.reason_id = @reason_deleted from utl.obj_hist as c join #temp_deleted as d on d.obj_hist_id = c.obj_hist_id set @rows = @@rowcount insert #msgs(txt) values ( concat(N'deleted, ', @rows, N' rows') ); --Update modified records insert utl.obj_hist(reason_id, obj_name_id, data_id, sch_id, obj_id, created_ts, modified_ts, previous_id, processed_ts, obj_def_id, change_map) select @reason_modified, t.obj_name_id, t.data_id, t.sch_id, t.obj_id, t.created_ts, t.modified_ts, m.obj_hist_id, @now, t.obj_def_id, m.change_map from #temp_modified as m join #temp_objects as t on t.temp_object_id = m.temp_object_id set @rows = @@rowcount insert #msgs(txt) values ( concat(N'updated, ', @rows, N' rows') ); --Insert new records insert utl.obj_hist(reason_id, obj_name_id, data_id, sch_id, obj_id, created_ts, modified_ts, previous_id, processed_ts, obj_def_id, change_map) select @reason_new, t.obj_name_id, t.data_id, t.sch_id, t.obj_id, t.created_ts, t.modified_ts, null, @now, t.obj_def_id, 0 from #temp_objects as t left join #temp_latest as l on l.obj_name_id = t.obj_name_id where l.obj_name_id is null or l.reason_id = @reason_deleted set @rows = @@rowcount insert #msgs(txt) values ( concat(N'inserted, ', @rows, N' rows') ); --------------------------------------------------------------------------------------------------------------------------------------- -- Calculate duration for performance log --------------------------------------------------------------------------------------------------------------------------------------- report: insert #msgs(txt) values ( N'FINISHED' ); update m2 set m2.dur = datediff(ms, m1.ts, m2.ts) from #msgs m1 left join #msgs as m2 on m2.id = m1.id + 1 declare @log_entries int declare @log_entry_width int declare @total_duration int select @log_entries = max(id), @log_entry_width = max(len(txt)), @total_duration = sum(dur) from #msgs declare @i int = 1 declare @pad int = 8 while @i <= @log_entries begin select @msg = concat(convert(nvarchar(100), m.ts, 121), N' | ', right(replicate(' ', @pad) + convert(nvarchar(16), isnull(m.dur, 0)), @pad), N' | ', m.txt) from #msgs m where m.id = @i --raiserror(@msg, 0, 1) with nowait print @msg set @i += 1 end select @msg = concat(N'Total duration: ',isnull(@total_duration, 0), N' ms') raiserror(@msg, 0, 1) with nowait end go ------------------------------------------------------------------------------------------------------------------- -- Views ------------------------------------------------------------------------------------------------------------------- --This view displays the overview of the changes found in all databases, show hashes and fetch compressed objects drop view if exists utl.vw_obj_hist_detail; go create view utl.vw_obj_hist_detail as --Shows all history entries select r.reason_name, cm.change_desc, c.obj_hist_id, c.previous_id, c.obj_name_id, c.data_id, c.sch_id, c.obj_id , i.data_name, i.sch_name, i.obj_name, i.obj_type , dc.obj_len, dc.obj_hash , c.created_ts, c.modified_ts, c.processed_ts , datalength(dc.obj_def) as zip_len_curr, dc.obj_def as zip_obj_curr --, convert(nvarchar(max), decompress(dc.obj_def)) as obj_def_curr from utl.obj_hist as c join utl.obj_name as i on i.obj_name_id = c.obj_name_id left join utl.obj_defs as dc on dc.obj_def_id = c.obj_def_id left join utl.ref_reason as r on r.reason_id = c.reason_id left join utl.ref_change_map as cm on cm.change_map = c.change_map go --This view displays the overview of the changes found in all databases, you can retrieve objects by querying obj_defs via obj_def_id drop view if exists utl.vw_obj_hist; go create view utl.vw_obj_hist as --Shows all history entries select r.reason_name, cm.change_desc, c.obj_hist_id, c.previous_id, c.obj_name_id, c.data_id, c.sch_id, c.obj_id , i.data_name, i.sch_name, i.obj_name, i.obj_type , c.obj_def_id , c.created_ts, c.modified_ts, c.processed_ts from utl.obj_hist as c join utl.obj_name as i on i.obj_name_id = c.obj_name_id left join utl.obj_defs as dc on dc.obj_def_id = c.obj_def_id left join utl.ref_reason as r on r.reason_id = c.reason_id left join utl.ref_change_map as cm on cm.change_map = c.change_map go
SELECT COUNT(*) FROM tag as t, site as s, question as q, tag_question as tq WHERE t.site_id = s.site_id AND q.site_id = s.site_id AND tq.site_id = s.site_id AND tq.question_id = q.id AND tq.tag_id = t.id AND (s.site_name in ('stackoverflow')) AND (t.name in ('amazon-dynamodb','automatic-ref-counting','babeljs','bigdata','conv-neural-network','deserialization','graphql','grid','nsstring','ocaml','tuples','windows-store-apps')) AND (q.favorite_count >= 1) AND (q.favorite_count <= 10)
USE chat; INSERT INTO user ( email, password, role, fullName ) VALUES ( '<EMAIL>', '$2a$10$qNl6oSAKpNe1Bqc6CTvJNOWiYgwOPizqJrxGUsv4WcZwqphX5Og6G', 'STANDARD-ROLE', '<NAME>' ), ( '<EMAIL>', '$2a$10$qNl6oSAKpNe1Bqc6CTvJNOWiYgwOPizqJrxGUsv4WcZwqphX5Og6G', 'STANDARD-ROLE', '<NAME>' ), ( '<EMAIL>', '$2a$10$qNl6oSAKpNe1Bqc6CTvJNOWiYgwOPizqJrxGUsv4WcZwqphX5Og6G', 'STANDARD-ROLE', '<NAME>' ), ( '<EMAIL>', '$2a$10$qNl6oSAKpNe1Bqc6CTvJNOWiYgwOPizqJrxGUsv4WcZwqphX5Og6G', 'STANDARD-ROLE', '<NAME>' );
-- SPDX-License-Identifier: Apache-2.0 -- Licensed to the Ed-Fi Alliance under one or more agreements. -- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. -- See the LICENSE and NOTICES files in the project root for more information. PRINT N'Creating primary key [GradebookEntryLearningStandard_PK] on [edfi].[GradebookEntryLearningStandard]' GO ALTER TABLE [edfi].[GradebookEntryLearningStandard] ADD CONSTRAINT [GradebookEntryLearningStandard_PK] PRIMARY KEY CLUSTERED ([DateAssigned], [GradebookEntryTitle], [LearningStandardId], [LocalCourseCode], [SchoolId], [SchoolYear], [SectionIdentifier], [SessionName]) GO PRINT N'Creating index [FK_GradebookEntryLearningStandard_GradebookEntry] on [edfi].[GradebookEntryLearningStandard]' GO CREATE NONCLUSTERED INDEX [FK_GradebookEntryLearningStandard_GradebookEntry] ON [edfi].[GradebookEntryLearningStandard] ([DateAssigned], [GradebookEntryTitle], [LocalCourseCode], [SchoolId], [SchoolYear], [SectionIdentifier], [SessionName]) GO PRINT N'Creating index [FK_GradebookEntryLearningStandard_LearningStandard] on [edfi].[GradebookEntryLearningStandard]' GO CREATE NONCLUSTERED INDEX [FK_GradebookEntryLearningStandard_LearningStandard] ON [edfi].[GradebookEntryLearningStandard] ([LearningStandardId]) GO PRINT N'Adding constraints to [edfi].[GradebookEntryLearningStandard]' GO ALTER TABLE [edfi].[GradebookEntryLearningStandard] ADD CONSTRAINT [GradebookEntryLearningStandard_DF_CreateDate] DEFAULT (getdate()) FOR [CreateDate] GO
<filename>languages/modules/mips/install/mips.sql<gh_stars>0 DROP TABLE IF EXISTS `shuyang_mips`; CREATE TABLE IF NOT EXISTS `shuyang_mips` ( `siteid` smallint(5) unsigned NOT NULL DEFAULT '1', `sitename` char(30) NOT NULL, `logo` char(100) DEFAULT NULL, `domain` varchar(100) DEFAULT NULL, `setting` mediumtext, `status` tinyint(2) DEFAULT NULL, PRIMARY KEY (`siteid`) ) TYPE=MyISAM; INSERT INTO `shuyang_mips` (`siteid`, `sitename`, `logo`, `domain`, `setting`, `status`) VALUES(1, '沭阳MIP', '/statics/images/mobile/logo.gif', '', '{"wxname":"\\u4e92\\u52a8\\u6cad\\u9633","wxappid":"wx48a33f79c889d820","wxappsecret":"1e46b044d671f1f65c280732ed6b45af"}', 0); ALTER TABLE `shuyang_category` ADD `mipssetting` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ; update `shuyang_category` set mipssetting = 'array (\n ''template_list'' => ''default'',\n ''index_template'' => ''index'',\n ''category_template'' => ''category'',\n ''list_template'' => ''list'',\n ''show_template'' => ''show'',\n ''content_ishtml'' => ''0'',\n ''category_ruleid'' => ''47'',\n ''show_ruleid'' => ''44'',\n)';
CREATE ROLE new_tenant_mod_orders_storage PASSWORD '<PASSWORD>' NOSUPERUSER NOCREATEDB INHERIT LOGIN; GRANT new_tenant_mod_orders_storage TO CURRENT_USER; CREATE SCHEMA new_tenant_mod_orders_storage AUTHORIZATION new_tenant_mod_orders_storage; CREATE TABLE IF NOT EXISTS new_tenant_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); CREATE ROLE new_tenant_mod_invoice_storage PASSWORD '<PASSWORD>' NOSUPERUSER NOCREATEDB INHERIT LOGIN; GRANT new_tenant_mod_invoice_storage TO CURRENT_USER; CREATE SCHEMA new_tenant_mod_invoice_storage AUTHORIZATION new_tenant_mod_invoice_storage; CREATE TABLE IF NOT EXISTS new_tenant_mod_invoice_storage.invoice_lines ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );
<filename>jwk/migrations/sql/tests/3_test.sql -- +migrate Up INSERT INTO hydra_jwk (sid, kid, version, keydata, created_at) VALUES ('3-sid', '3-kid', 0, 'some-key', NOW()); -- +migrate Down
SELECT c.id, CONCAT(first_name, ' ', last_name) AS full_name FROM colonists AS c JOIN travel_cards AS tc ON c.id = tc.colonist_id WHERE job_during_journey = 'Pilot' ORDER BY c.id
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.5.2 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jan 06, 2018 at 02:42 AM -- Server version: 10.1.9-MariaDB -- PHP Version: 5.6.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 utf8mb4 */; -- -- Database: `db_turi` -- -- -------------------------------------------------------- -- -- Table structure for table `alumni` -- CREATE TABLE `alumni` ( `id` int(11) NOT NULL, `nis` varchar(255) NOT NULL, `nama` varchar(255) NOT NULL, `nama_sekolah` varchar(255) NOT NULL, `nama_panggilan` varchar(255) NOT NULL, `tempat_lahir` varchar(255) NOT NULL, `tanggal_lahir` date NOT NULL, `mulai` date NOT NULL, `lulus` date NOT NULL, `alamat` varchar(255) NOT NULL, `telp` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `pekerjaan` varchar(255) NOT NULL, `organisasi` varchar(255) NOT NULL, `jabatan` varchar(255) NOT NULL, `alamat_org` varchar(255) NOT NULL, `telp_org` varchar(255) NOT NULL, `foto` text, `password` text NOT NULL, `remember_token` text, `namaPanggilanVis` tinyint(1) NOT NULL DEFAULT '1', `namaSekolahVis` tinyint(1) NOT NULL DEFAULT '1', `tempatLahirVis` tinyint(1) NOT NULL DEFAULT '1', `tanggalLahirVis` tinyint(1) NOT NULL DEFAULT '1', `nisVis` tinyint(1) NOT NULL DEFAULT '1', `angkatanVis` tinyint(1) NOT NULL DEFAULT '1', `alamatVis` tinyint(1) NOT NULL DEFAULT '1', `telpVis` tinyint(1) NOT NULL DEFAULT '1', `emailVis` tinyint(1) NOT NULL DEFAULT '1', `pekerjaanVis` tinyint(1) NOT NULL DEFAULT '1', `organisasiVis` tinyint(1) NOT NULL DEFAULT '1', `jabatanVis` tinyint(1) NOT NULL DEFAULT '1', `alamatOrgVis` tinyint(1) NOT NULL DEFAULT '1', `telpOrgVis` tinyint(1) NOT NULL DEFAULT '1', `status` tinyint(1) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `alumni` -- INSERT INTO `alumni` (`id`, `nis`, `nama`, `nama_sekolah`, `nama_panggilan`, `tempat_lahir`, `tanggal_lahir`, `mulai`, `lulus`, `alamat`, `telp`, `email`, `pekerjaan`, `organisasi`, `jabatan`, `alamat_org`, `telp_org`, `foto`, `password`, `remember_token`, `namaPanggilanVis`, `namaSekolahVis`, `tempatLahirVis`, `tanggalLahirVis`, `nisVis`, `angkatanVis`, `alamatVis`, `telpVis`, `emailVis`, `pekerjaanVis`, `organisasiVis`, `jabatanVis`, `alamatOrgVis`, `telpOrgVis`, `status`) VALUES (5, '1534', 'deeper', 'rifardi', 'rifardi', 'sur', '2018-01-01', '2018-01-02', '2018-01-03', 'ban', '098', '<EMAIL>', 'fron', 'dd', 'cof', 'dipo', 'fax', 'qq.jpg', '$2y$10$yJVZiguJqnYVryPPmnU89OvNzPWRMcbnLTxh/72QiAurBqZPa.Mh2', 'SgBP2gxro5fQK3LXUrwkFRtmzykx5uDMfhAbVW8uREMV6Q8UyXVAZZZg2PkS', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), (10, '1534010032', '<NAME>', 'Safri', 'Rian', 'Gresik', '1997-04-03', '2012-07-01', '2015-06-30', 'jl. h. abdul 1/18 gresik', '085730462830', '<EMAIL>', 'mahasiswa', 'pers', 'mantan calon pimum', 'sayap barat giri loka', '0999', '10.jpg', '$2y$10$MGD6mKQuEFLa4/axrhn9L.zR9uMMl.ykRfVMmlNvYcmpkyuSE4Q0W', 'x5Bv2mDvAPzCpgEhr7tQiPX0E7ICQODQCso6EIHHQ3ujxMGvRiJe7SJCJ6N0', 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); -- -------------------------------------------------------- -- -- Table structure for table `berita` -- CREATE TABLE `berita` ( `id_berita` int(11) NOT NULL, `id_kategori` int(11) NOT NULL, `judul` varchar(255) NOT NULL, `konten` text NOT NULL, `featured_image` text, `created_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `berita` -- INSERT INTO `berita` (`id_berita`, `id_kategori`, `judul`, `konten`, `featured_image`, `created_at`) VALUES (2, 1, 'suara mahasiswa', '<p>fad<br />\r\nTessca pradipta desain komunikasi visual 2014<br />\r\nsudah banyak yang diperbaiki, dulu struktur bangunan belum dikelola dengan baik sekarang lebih banyak perbaikan sehingga antusias mahasiswa lebih semangat untuk kuliah, namun terdapat ketidaksiapan mahasiswa dan lembaga dalam menghadapi kurikulum yang baru, semoga dapat terbangun komunikasi yang lebih baik antara lembaga dengan mahasiswa.<br />\r\n&nbsp;<br />\r\nfh<br />\r\n<NAME> ilmu hukum 2014<br />\r\nsemakin tambah tahun semenjak kenegerian semakin baik dari segi fasilitas yang ada di kampus, fasilitas di bidang akademik, fasilitas umum seperti parkiran, sarana dan prasarana untuk mahasiswa lebih diperbaiki, semoga program2 yang sudah baik bisa ditingkatkan jangan sampai turun.<br />\r\n&nbsp;<br />\r\nfik<br />\r\nHerwantoro arya teknik informatika 2014<br />\r\nmasih perlu ditekankan mulai dari fasilitas sampai dari ranah mahasiswa, kurikulum bertambah serta ditingkatkan jadi mau tidak mau angkatan swasta harus mengikuti kurikulum negeri, fakultas2 baru memerlukan sumbangsi fasilitas yang lebih tinggi daripada fakultas lain, juga terjadi perubahan birokrasi, serta sempat terjadi perubahan peraturan seperti tidak boleh bonceng3, lepas helm saat pengambilan karcis, dan uts yang harus menggunakan hitamputih, semoga dari lembaga mendengarkan suara mahasiswa untuk perkembangan upn kedepannya.<br />\r\n&nbsp;<br />\r\nfisip<br />\r\nIzzati baril haq ilmu komunikasi 2014<br />\r\nterjadi perubahan sistem yang dibuat di fisip sama fasilitas, mahasiswa yang angkatan lama kurang merasakan perubahan di segi fasilitas karena perbaikan lebih kepada media, fasilitas jalan mulai diperbaiki, parkir lebih terarah uda ada satpam dimana2, kemudian juga ada peraturan hitamputih saat ujian, serta ada isu yang katanya harus 4 tahun untuk lulus, hal tersebut harus disosialisasikan supaya informasinya tidak bimbang, semoga prestasinya dikenal lebih luas lagi.<br />\r\n&nbsp;<br />\r\nfp<br />\r\nLaras fitriani agribisnis 2014<br />\r\nperubahan fasilitas keliatan dengan adanya maskot jendral sudirman, gedung2 serta kamar mandi dari tiap fakultas lebih baik, akademik yang ditingkatkan, untuk dapat nilai a lebih sulit, lebih condong ke angkatan baru, penilaian dosen ke mahasiswa berbeda, tetep belum ada solusi untuk dosen yang tidak masuk kuliah, perubahan pjk, lebih susah untuk meminta dana ke lembaga, semoga lebih memfasilitasi mahasiswa yang ingin berprestasi dipermudah intinya, semoga upn memiliki sepemikiran untuk membangun bersama.<br />\r\n&nbsp;<br />\r\nft<br />\r\nKhoirul imam nasihin teknologi pangan 2014<br />\r\nadanya perbaikan sarana prasarana perbaikan cat, alhamdulillah sekarang ada wifi dan semua kebijakan sudah terstruktur dan terorganisir, kurikulum sudah diperbaiki, akreditasi dinaikkan, sudah disoroti sebagai kampus belanegara,&nbsp; kemudian penyeragaman yang membuat mahasiswa menjadi kaget, tidak adanya remidi dan semester pendek, semoga lebih perbaiki sistem secara birokrasi seperti tataletak gedung, semoga upn menjadi percontohan kampus lain sebagai kampus bela negara.<br />\r\n&nbsp;<br />\r\nfeb<br />\r\nDaflina octiara putri akuntansi 2014<br />\r\ndari segi fasilitas wifi yang dulu tidak ada sekarang sudah ada, beluma ada perubahan dari segi akademik seperti dosen yang jarang masuk, krs yang sangat susah untuk diurus, disarankan memakai pakaian hitamputih saat ujian, fasilitas yang kurang dengan bayar spp yang mahal, dosen dan staff2 yang kurang memperhatikan mahasiswa, perpustakaan fakultas yang jarang dibuka sehingga mahasiswa harus pergi ke perpustakaan pusat, semoga upn menjadi semakin baik tanpa ada yang ruwet2 lagi.</p>', '2.png', '2018-01-04 13:35:52'), (3, 2, 'fad', '<p>Tessca pradipta desain komunikasi visual 2014<br />\r\nsudah banyak yang diperbaiki, dulu struktur bangunan belum dikelola dengan baik sekarang lebih banyak perbaikan sehingga antusias mahasiswa lebih semangat untuk kuliah, namun terdapat ketidaksiapan mahasiswa dan lembaga dalam menghadapi kurikulum yang baru, semoga dapat terbangun komunikasi yang lebih baik antara lembaga dengan mahasiswa.</p>', '3.jpg', '2018-01-04 14:44:59'), (4, 2, 'fh', '<p><NAME> ilmu hukum 2014<br />\r\nsemakin tambah tahun semenjak kenegerian semakin baik dari segi fasilitas yang ada di kampus, fasilitas di bidang akademik, fasilitas umum seperti parkiran, sarana dan prasarana untuk mahasiswa lebih diperbaiki, semoga program2 yang sudah baik bisa ditingkatkan jangan sampai turun.</p>', '4.png', '2018-01-04 14:45:23'), (5, 2, 'fik', '<p>Herwantoro arya teknik informatika 2014<br />\r\nmasih perlu ditekankan mulai dari fasilitas sampai dari ranah mahasiswa, kurikulum bertambah serta ditingkatkan jadi mau tidak mau angkatan swasta harus mengikuti kurikulum negeri, fakultas2 baru memerlukan sumbangsi fasilitas yang lebih tinggi daripada fakultas lain, juga terjadi perubahan birokrasi, serta sempat terjadi perubahan peraturan seperti tidak boleh bonceng3, lepas helm saat pengambilan karcis, dan uts yang harus menggunakan hitamputih, semoga dari lembaga mendengarkan suara mahasiswa untuk perkembangan upn kedepannya.</p>', '5.png', '2018-01-04 14:45:48'); -- -------------------------------------------------------- -- -- Table structure for table `coba` -- CREATE TABLE `coba` ( `id` int(11) NOT NULL, `nama` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `remember_token` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `coba` -- INSERT INTO `coba` (`id`, `nama`, `email`, `password`, `remember_token`) VALUES (1, 'elche', '<EMAIL>', <PASSWORD>', ''), (2, 'qwww', '<EMAIL>', <PASSWORD>', 'PiTLbxw2eTw7X14ptb2gXnzAtRC3tJcln18Wau9945LdcjBGgcRhkGt1Ufhh'), (3, 'w', '<EMAIL>', <PASSWORD>', NULL); -- -------------------------------------------------------- -- -- Table structure for table `kategori` -- CREATE TABLE `kategori` ( `id_kategori` int(11) NOT NULL, `nama` varchar(255) NOT NULL, `keterangan` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `kategori` -- INSERT INTO `kategori` (`id_kategori`, `nama`, `keterangan`) VALUES (1, 'Berita Panas', 'Berita Yang Panas'), (2, 'Berita Dingin', 'Berita Yang Dingin'); -- -------------------------------------------------------- -- -- Table structure for table `komentar` -- CREATE TABLE `komentar` ( `id_komentar` int(11) NOT NULL, `id_berita` int(11) NOT NULL, `id_alumni` int(11) NOT NULL, `isi` text NOT NULL, `created_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `user_adm` -- CREATE TABLE `user_adm` ( `id` int(11) NOT NULL, `nama` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password` text NOT NULL, `foto` varchar(255) NOT NULL, `remember_token` text ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_adm` -- INSERT INTO `user_adm` (`id`, `nama`, `email`, `password`, `foto`, `remember_token`) VALUES (1, 'Elche', '<EMAIL>', '<PASSWORD>', '1.jpg', NULL), (2, '<NAME>', '<EMAIL>', <PASSWORD>', '2.jpg', '11HB5ycWJMbbRT7RvV7jDC6Skw4cgLt0G11bnxkSUcY8JKs0Kx4iN3S8VSp6'); -- -- Indexes for dumped tables -- -- -- Indexes for table `alumni` -- ALTER TABLE `alumni` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `email` (`email`), ADD UNIQUE KEY `nis` (`nis`); -- -- Indexes for table `berita` -- ALTER TABLE `berita` ADD PRIMARY KEY (`id_berita`); -- -- Indexes for table `coba` -- ALTER TABLE `coba` ADD PRIMARY KEY (`id`); -- -- Indexes for table `kategori` -- ALTER TABLE `kategori` ADD PRIMARY KEY (`id_kategori`); -- -- Indexes for table `komentar` -- ALTER TABLE `komentar` ADD PRIMARY KEY (`id_komentar`); -- -- Indexes for table `user_adm` -- ALTER TABLE `user_adm` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `alumni` -- ALTER TABLE `alumni` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `berita` -- ALTER TABLE `berita` MODIFY `id_berita` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `coba` -- ALTER TABLE `coba` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `kategori` -- ALTER TABLE `kategori` MODIFY `id_kategori` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `komentar` -- ALTER TABLE `komentar` MODIFY `id_komentar` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `user_adm` -- ALTER TABLE `user_adm` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; /*!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>ReubenUnruh/PowerJiraSqlRefresh<filename>Redgate/Views/dbo.vw_Jira_Deployment_Environment.sql SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO CREATE VIEW [dbo].[vw_Jira_Deployment_Environment] AS SELECT [Environment_Id], [Environment_Type], [Display_Name], [Update_Refresh_Id] FROM [dbo].[tbl_Jira_Deployment_Environment] GO GRANT SELECT ON [dbo].[vw_Jira_Deployment_Environment] TO [JiraRefreshRole] GO
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 18, 2018 at 11:18 AM -- Server version: 10.1.37-MariaDB -- PHP Version: 7.3.0 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `loginpro` -- -- -------------------------------------------------------- -- -- Table structure for table `admin` -- CREATE TABLE `admin` ( `usr` varchar(15) NOT NULL, `nama` varchar(90) DEFAULT NULL, `pass` varchar(40) DEFAULT NULL, `level` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `admin` -- INSERT INTO `admin` (`usr`, `nama`, `pass`, `level`) VALUES ('1003', 'Salim', '<PASSWORD>', 1), ('1004', 'Ahmad', '<PASSWORD>', 1), ('1005', 'Ajeng', '<PASSWORD>', 1), ('admin', 'Joko', '<PASSWORD>', 1), ('bdpb', 'Agus', '<PASSWORD>', 1); -- -------------------------------------------------------- -- -- Table structure for table `bdpb` -- CREATE TABLE `bdpb` ( `usr` varchar(15) NOT NULL, `nama` varchar(90) DEFAULT NULL, `pass` varchar(40) DEFAULT NULL, `level` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `bdpb` -- INSERT INTO `bdpb` (`usr`, `nama`, `pass`, `level`) VALUES ('2001', 'Rohman', '<PASSWORD>', 2), ('2002', 'Rohim', '<PASSWORD>', 2), ('2003', 'Malik', '<PASSWORD>', 2), ('2004', 'Muhaimin', '<PASSWORD>', 2), ('2005', 'Aziz', '<PASSWORD>', 2); -- -------------------------------------------------------- -- -- Table structure for table `korporat` -- CREATE TABLE `korporat` ( `usr` varchar(15) NOT NULL, `nama` varchar(90) DEFAULT NULL, `pass` varchar(40) DEFAULT NULL, `level` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `korporat` -- INSERT INTO `korporat` (`usr`, `nama`, `pass`, `level`) VALUES ('3002', 'Umar', 'd8578edf8458ce06fbc5bb76a58c5ca4', 3), ('3003', 'Rian', 'd8578edf8458ce06fbc5bb76a58c5ca4', 3), ('3004', 'Abdul', 'd8578edf8458ce06fbc5bb76a58c5ca4', 3), ('3005', 'Fattah', 'd8578edf8458ce06fbc5bb76a58c5ca4', 3), ('korporat', 'Pringgo', 'e10adc3949ba59abbe56e057f20f883e', 3), ('korporat1', 'Umar', 'd8578edf8458ce06fbc5bb76a58c5ca4', 3); -- -------------------------------------------------------- -- -- Table structure for table `tbl_berita` -- CREATE TABLE `tbl_berita` ( `berita_id` int(11) NOT NULL, `berita_judul` varchar(150) DEFAULT NULL, `berita_isi` text, `berita_image` varchar(40) DEFAULT NULL, `berita_tanggal` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_berita` -- INSERT INTO `tbl_berita` (`berita_id`, `berita_judul`, `berita_isi`, `berita_image`, `berita_tanggal`) VALUES (25, 'Potensi Hujan Lebat Kembali Meningkat, Masyarakat Diimbau Waspada', '<p>Dari pantauan kondisi dinamika atmosfer terkini terindikasi munculnya potensi hujan lebat disertai kilat/petir dan angin kencang di sekitar wilayah Indonesia dalam periode 5 hari kedepan 18 - 22 Januari 2018,</p>\r\n\r\n<p>Masyarakat diimbau agar waspada dan berhati hati akan dampak peningkatan potensi hujan mulai pertengahan Januari 2018, diperkirakan potensi banjir, longsor, genangan, banjir bandang dan pohon tumbang juga turut meningkat.</p>\r\n\r\n<p>SUMBER : Badan Meteorologi, Klimatologi, dan Geofisika</p>\r\n', 'c442f71396e858c0034b0c47ef45a6ca.jpg', '2018-12-18 08:58:39'), (26, 'Rapat koordinasi awal SIGAP PROJECT dengan BPBD Kota Bogor', '<p>Rabu, 17 Januari 2018, Bertempat di Kantor BPBD Kota Bogor, Jln. Raya Pajajaran No.12 A, Kel. Baranangsiang, Kec. Bogor Timur, Kota Bogor, telah dilangsungkan rapat koordinasi awal untuk&nbsp;pengurangan resiko bencana diwilayah Kota Bogor antara Badan Penanggulangan Bencana Daerah (BPBD) Kota Bogor bersama SIGAP PROJECT (Konsorsium antara Wahana Visi Indonesia - Catholic Relief Services (CRS) - Yayasan Save The Children).</p>\r\n\r\n<p>Tujuan rapat koordinasi awal ini adalah permulaan perkenalan dengan BPBD Kota Bogor dalam hal Penanggulangan Bencana.</p>\r\n', '8c6ef31993a8ad768fa740b1582b2af5.jpeg', '2018-12-18 09:00:52'), (27, 'Gempa 6,1 SR Guncang Banten, Kota Bogor dan Sekitarnya', '<p>Hari Selasa, 23 Januari 2018, pukul 13:34:53 WIB, wilayah Samudera Hindia Selatan Jawa diguncang gempabumi tektonik. Hasil analisis BMKG menunjukkan bahwa gempabumi berkekuatan M=6,1 terjadi dengan koordinat episenter pada 7,23 LS dan 105,9 BT, atau tepatnya berlokasi di laut pada jarak 43 km arah selatan Kota Muarabinuangeun, Kabupaten Cilangkahan, Propinsi Banten pada kedalaman 61 km.</p>\r\n\r\n<p>Dampak gempabumi yang digambarkan oleh peta tingkat guncangan (shakemap) BMKG menunjukkan bahwa dampak gempabumi berupa guncangan berpotensi dirasakan di daerah Jakarta, Tangerang Selatan, Bogor, II SIG-BMKG (IV-V MMI).</p>\r\n\r\n<p>Gempabumi selatan Jawa-Bali-Nusa Tenggara ini termasuk dalam klasifikasi gempabumi berkedalaman dangkal akibat aktivitas subduksi Lempeng Indo-Australia ke bawah Lempang Eurasia.</p>\r\n\r\n<p>SUMBER : BMKG | Badan Meteorologi, Klimatologi, dan Geofisika</p>\r\n', '9120c12c1df5f216ffeed7a1e835547a.JPG', '2018-12-18 09:03:24'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_files` -- CREATE TABLE `tbl_files` ( `file_id` int(11) NOT NULL, `file_judul` varchar(120) DEFAULT NULL, `file_deskripsi` text, `file_tanggal` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `file_oleh` varchar(60) DEFAULT NULL, `file_download` int(11) DEFAULT '0', `file_data` varchar(120) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `tbl_files` -- INSERT INTO `tbl_files` (`file_id`, `file_judul`, `file_deskripsi`, `file_tanggal`, `file_oleh`, `file_download`, `file_data`) VALUES (16, 'cara penanggulangan banjir', 'proposal ini digunakan untuk mengurangi banjir di kota jakarta', '2018-12-18 09:42:50', 'Wahyudi', 0, '4903ba5c7082f238f4586f84169b5050.docx'), (17, 'Program siaga bencara menghadapi gempa', 'Program siaga bencara menghadapi gempa di daerah rawan gempa', '2018-12-18 09:45:17', 'ahmad', 0, 'f8c94e53e51f7b743cb0955ec3d50a65.docx'), (18, 'Program Siaga bencana di gunung merapi', 'Program Siaga bencana di gunung merapi di yogyakarta', '2018-12-18 09:46:50', 'Rohman', 0, '48943c83953f71f30bba92ec484131ba.docx'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_nilai` -- CREATE TABLE `tbl_nilai` ( `nilai_id` int(11) NOT NULL, `nilai_judul` varchar(150) DEFAULT NULL, `nilai_poin` int(5) DEFAULT NULL, `nilai_status` varchar(40) DEFAULT NULL, `nilai_tanggal` date DEFAULT NULL, `nilai_oleh` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_nilai` -- INSERT INTO `tbl_nilai` (`nilai_id`, `nilai_judul`, `nilai_poin`, `nilai_status`, `nilai_tanggal`, `nilai_oleh`) VALUES (4, 'cara penanggulangan banjir', 80, 'diterima', '2018-12-12', 'Wahyudi'), (5, 'Program siaga bencara menghadapi gempa', 40, 'belum diterima', '2018-12-05', 'Ahmad'), (6, 'Program Siaga bencana di gunung merapi', 90, 'diterima', '2018-12-04', 'Rohman'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_pelpro` -- CREATE TABLE `tbl_pelpro` ( `pelpro_id` int(11) NOT NULL, `pelpro_judul` varchar(150) DEFAULT NULL, `pelpro_isi` text, `pelpro_image` varchar(40) DEFAULT NULL, `pelpro_tanggal` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_pelpro` -- INSERT INTO `tbl_pelpro` (`pelpro_id`, `pelpro_judul`, `pelpro_isi`, `pelpro_image`, `pelpro_tanggal`) VALUES (3, 'Tiap Desa Perlu Bangun Melaksanakan Siaga Bencana', '<p>JAKARTA -- Menteri Desa, Pembangunan Daerah Tertinggal, dan Transmigrasi Marwan Jafar menegaskan agar infrastruktur, dan fasilitas sosial dasar masyarakat desa yang terkena bencana segera dibenahi. Dia mengatakan bencana yang kerap menimpa sejumlah desa mengakibatkan rusaknya sarana prasarana seperti jalan desa, sanitasi air, termasuk fasilitas sosial dasar masyarakat.</p>\r\n', '07a1a2de68cb70d452542a854614dd72.JPG', '2018-12-18 09:21:52'), (4, 'UPAYA PENANGGULANGAN BENCANA LONGSOR', '<p>kejadian tanah longsor seringkali terjadi di beberapa daerah di Indonesia dan tak sedikit korban yang tewas karenanya. Badan Penanggulangan Bencana sudah sering melakukan upaya penanggulangan tanah longsor, namun kita tidak tahu kapan bencana itu akan terjadi. Indonesia mempunyai rekor masalah bencana longsor salah satu yang terbesar adalah longsor di Banjarnegara pada 2015 kemarin. Inilah sebabnya perlu dilakukan upaya dan strategi penanggulangan tanah longsor antara lain adalah dengan:</p>\r\n\r\n<p>1. Menghindari pembangunan pemukiman di daerah dibawah lereng yang rawan terjadi tanah longsor.</p>\r\n\r\n<p>2. Mengurangi tingkat keterjangan lereng dengan pengolahan lahan terasering di kawasan lereng</p>\r\n\r\n<p>3. Menjaga drainese lereng yang baik untuk menghindarkan air mengalir dari dalam lereng keluar lereng</p>\r\n\r\n<p>4. Pembuatan bangunan penahan supaya tidak terjadi pergerakan tanah penyebab longsor</p>\r\n\r\n<p>5. Penanaman pohon yang mempunyai perakaran yang dalam dan jarak tanam yang tidak terlalu rapat diantaranya di seling-selingi tanaman pendek yang bisa menjaga drainase air.</p>\r\n', '08982e7aa4793ed2853656d4f75fbdd4.jpg', '2018-12-18 09:22:50'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_program` -- CREATE TABLE `tbl_program` ( `program_id` int(11) NOT NULL, `program_judul` varchar(150) DEFAULT NULL, `program_isi` text, `program_image` varchar(40) DEFAULT NULL, `program_tanggal` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_program` -- INSERT INTO `tbl_program` (`program_id`, `program_judul`, `program_isi`, `program_image`, `program_tanggal`) VALUES (3, 'Program Sekolah Siaga Bencana', '<p><strong>KEBUMEN, (Tubas)</strong>&nbsp;&ndash; Sekolah Siaga Bencana (SSB) adalah sekolah yang memiliki kemampuan untuk mengelola resiko bencana di lingkungannya. Sedangkan tujuan SSB adalah untuk membangun budaya siaga dan budaya aman di sekolah, serta membangun ketahanan dalam menghadapi bencana oleh warga sekolah.</p>\r\n\r\n<p>Menurut keterangan, baru-baru ini, Sekolah Siaga Bencana dilaksanakan di sekolah-sekolah dengan beberapa pertimbangan, di antaranya, sekolah secara sadar dan terencana melakukan upaya mewujudkan suasana belajar dan proses pembelajaran.</p>\r\n\r\n<p>Sekolah tetap merupakan &ldquo;ruang publik&rdquo; dengan tingkat kerentanan tinggi (dari hasil penelitian LIPI dan UNESCO tahun 2006).</p>\r\n\r\n<p>Program Sekolah Siaga Bencana telah dilaksanakan di lima sekolah di Kabupaten Kebumen, yaitu SMK Negeri Karanggayam, SMA Negeri Karangsambung, SMA Tamtama Prembun, SMP Negeri Padureso dan MTs Penajung Alian Kebumen.&nbsp;<strong>(ahmad)</strong></p>\r\n', '02c9028f860c2ec1b260d6e773564fff.jpg', '2018-12-18 09:14:36'), (4, 'S<NAME> (SIGAB)', '<p>SIGAB (Santri Siaga Bencana) adalah program sosial kemanusiaan untuk aksi paskabencana di wilayah terdampak baik bencana alam, sosial, dan kejadian luar biasa. SIGAB melingkupi aktivitas&nbsp;<em>emergency</em>, rehabilitasi, atau rekonstruksi wilayah terdampak.</p>\r\n\r\n<p>Santri adalah orang, komunitas, dan kelompok masyarakat tertentu dengan berbagai profesi yang berpihak dan bersedia bergerak dalam dunia kemanusiaan.</p>\r\n\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\r\n\r\n<p><strong>Tujuan dan manfaat Program SIGAB adalah sebagai berikut :</strong></p>\r\n\r\n<ul>\r\n <li>Adanya&nbsp;<em>Rapid Risk Assessment</em>&nbsp;(RRA) dalam penanganan kebencanaan.</li>\r\n <li>Melakukan aksi efektif dan efisien dalam penanganan kebencanaan.</li>\r\n <li>Melakukan&nbsp;<em>Community Based Disaster Management</em>&nbsp;berpusat di masjid, rumah tahfidz, atau madrasah.</li>\r\n <li>Membangun mental masyarakat di wilayah terdampak bencana berbasis tahfidzul Qur&rsquo;an.</li>\r\n</ul>\r\n', 'adedc765c7d1cc3374b46cd0aed80bce.jpg', '2018-12-18 09:17:19'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_sls` -- CREATE TABLE `tbl_sls` ( `sls_id` int(11) NOT NULL, `sls_judul` varchar(150) DEFAULT NULL, `sls_isi` text, `sls_image` varchar(40) DEFAULT NULL, `sls_tanggal` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_sls` -- INSERT INTO `tbl_sls` (`sls_id`, `sls_judul`, `sls_isi`, `sls_image`, `sls_tanggal`) VALUES (8, 'Jepang Dukung Nias Selatan Lakukan Program Siaga Bencana Melalui Tarian Maena', '<p>KBRN, Nias Selatan: Dalam upaya meningkatkan kesadaran dan pengetahuan masyarakat Indonesia khususnya Nias Selatan dalam hal kesiapsiagaan dan tanggap bencana sekaligus upaya melestarikan tarian maena budaya Nias di kalangan anak &ndash; anak sekolah dasar, pemerintah Jepang melalui Japan International Cooperation Agency (JICA) dengan Yayasan Obor Berkat Indonesia (OBI) bekerjasama dengan Pemerintah Kabupaten Nias Selatan melalui Dinas Pendidikan Kabupaten Nias Selatan, yang didukung secara teknis oleh Badan Penanggulangan Bencana Daerah (BPBD) Kabupaten&nbsp; Nias Selatan, melaksanakan program Integrasi Pendidikan Siaga Bencana Melalui Tarian Tradisional Maena.</p>\r\n', '017e33ff62a368e529d81c9e06f3820b.jpg', '2018-12-18 09:18:48'), (9, 'BPBD Jepara Gelar Kegiatan Pengembangan Desa Siaga Bencana di Desa Sowan Kidul dan Desa Gedangan', '<p><strong>Jepara</strong>&nbsp;&ndash; Guna memberikan pengetahuan dan pemahaman kepada masyarakat terkait upaya- upaya serta penanggulangan bencana di suatu daerah yang rawan akan bencana , Badan Penanggulangan Bencana Daerah Kabupaten Jepara melaksanakan kegiatan Pengembangan Desa Siaga Bencana bertempat di Desa Sowan Kidul Kecamatan Kedung pada hari Rabu ( 25/7 ) dan Desa Gedangan Kecamatan Welahan pada hari Kamis ( 26/7 ). Hal ini mengingat bahwa penanggulangan bencana merupakan tanggung jawab bersama antara pemerintah ,masyarakat dan dunia usaha.</p>\r\n', '7abed66c608ac6ddc3014f79e9f856ac.jpg', '2018-12-18 09:25:09'); -- -- Indexes for dumped tables -- -- -- Indexes for table `admin` -- ALTER TABLE `admin` ADD PRIMARY KEY (`usr`); -- -- Indexes for table `bdpb` -- ALTER TABLE `bdpb` ADD PRIMARY KEY (`usr`); -- -- Indexes for table `korporat` -- ALTER TABLE `korporat` ADD PRIMARY KEY (`usr`); -- -- Indexes for table `tbl_berita` -- ALTER TABLE `tbl_berita` ADD PRIMARY KEY (`berita_id`); -- -- Indexes for table `tbl_files` -- ALTER TABLE `tbl_files` ADD PRIMARY KEY (`file_id`) USING BTREE; -- -- Indexes for table `tbl_nilai` -- ALTER TABLE `tbl_nilai` ADD PRIMARY KEY (`nilai_id`); -- -- Indexes for table `tbl_pelpro` -- ALTER TABLE `tbl_pelpro` ADD PRIMARY KEY (`pelpro_id`); -- -- Indexes for table `tbl_program` -- ALTER TABLE `tbl_program` ADD PRIMARY KEY (`program_id`); -- -- Indexes for table `tbl_sls` -- ALTER TABLE `tbl_sls` ADD PRIMARY KEY (`sls_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tbl_berita` -- ALTER TABLE `tbl_berita` MODIFY `berita_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29; -- -- AUTO_INCREMENT for table `tbl_files` -- ALTER TABLE `tbl_files` MODIFY `file_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT for table `tbl_nilai` -- ALTER TABLE `tbl_nilai` MODIFY `nilai_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `tbl_pelpro` -- ALTER TABLE `tbl_pelpro` MODIFY `pelpro_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `tbl_program` -- ALTER TABLE `tbl_program` MODIFY `program_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `tbl_sls` -- ALTER TABLE `tbl_sls` MODIFY `sls_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
INSERT INTO price (id, currency, price, vehicle_id) VALUES (1, 'USD', 100.50, 1); INSERT INTO price (id, currency, price, vehicle_id) VALUES (2, 'USD', 200.50, 2); INSERT INTO price (id, currency, price, vehicle_id) VALUES (3, 'USD', 300.50, 3); INSERT INTO price (id, currency, price, vehicle_id) VALUES (4, 'USD', 400.50, 4); INSERT INTO price (id, currency, price, vehicle_id) VALUES (5, 'USD', 500.50, 5); INSERT INTO price (id, currency, price, vehicle_id) VALUES (6, 'USD', 600.50, 6);
CREATE PROCEDURE [dbo].[spProduct_GetAll] AS begin set nocount on; select Id, ProductName, [Description], RetailPrice, QuantityInStock, IsTaxable from dbo.Product order by ProductName; end
PRAGMA foreign_keys=OFF; BEGIN TRANSACTION; CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL); INSERT INTO "schema_migrations" VALUES('20100325202228'); INSERT INTO "schema_migrations" VALUES('20100325202714'); INSERT INTO "schema_migrations" VALUES('20100326153711'); INSERT INTO "schema_migrations" VALUES('20100326204647'); INSERT INTO "schema_migrations" VALUES('20100329214831'); INSERT INTO "schema_migrations" VALUES('20100329215316'); INSERT INTO "schema_migrations" VALUES('20100329221040'); INSERT INTO "schema_migrations" VALUES('20100330205139'); INSERT INTO "schema_migrations" VALUES('20100330205534'); INSERT INTO "schema_migrations" VALUES('20100330213038'); INSERT INTO "schema_migrations" VALUES('20100331220847'); INSERT INTO "schema_migrations" VALUES('20100401203736'); INSERT INTO "schema_migrations" VALUES('20100401210154'); INSERT INTO "schema_migrations" VALUES('20100402181443'); INSERT INTO "schema_migrations" VALUES('20100402184925'); INSERT INTO "schema_migrations" VALUES('20100402184937'); INSERT INTO "schema_migrations" VALUES('20100402185152'); INSERT INTO "schema_migrations" VALUES('20100408231924'); INSERT INTO "schema_migrations" VALUES('20100412004214'); INSERT INTO "schema_migrations" VALUES('20100414172838'); INSERT INTO "schema_migrations" VALUES('20100416133155'); INSERT INTO "schema_migrations" VALUES('20100419063642'); INSERT INTO "schema_migrations" VALUES('20100419072522'); INSERT INTO "schema_migrations" VALUES('20100419210027'); INSERT INTO "schema_migrations" VALUES('20100429154433'); INSERT INTO "schema_migrations" VALUES('20100429154520'); INSERT INTO "schema_migrations" VALUES('20100429174844'); INSERT INTO "schema_migrations" VALUES('20100429180712'); INSERT INTO "schema_migrations" VALUES('20100509091732'); INSERT INTO "schema_migrations" VALUES('20100510005330'); INSERT INTO "schema_migrations" VALUES('20100519073728'); INSERT INTO "schema_migrations" VALUES('20100519074532'); CREATE TABLE "apartment_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" text, "created_at" datetime, "updated_at" datetime, "apartment_id" integer); INSERT INTO "apartment_statuses" VALUES(1,'aoeuaoeu','2015-02-06 07:21:54','2015-02-06 07:21:54',1); INSERT INTO "apartment_statuses" VALUES(2,'aoeuaoeu oeuao aoeuaoe','2015-02-06 07:22:10','2015-02-06 07:22:10',1); INSERT INTO "apartment_statuses" VALUES(3,'A new event at this place and time','2015-02-06 17:44:34','2015-02-06 17:44:34',2); INSERT INTO "apartment_statuses" VALUES(4,'Here is a new cool story.','2015-02-06 17:44:59','2015-02-06 17:44:59',2); INSERT INTO "apartment_statuses" VALUES(5,'Somebody just did something.','2015-02-06 17:46:36','2015-02-06 17:46:36',2); INSERT INTO "apartment_statuses" VALUES(6,'Did you hear what the barber said to the shopkeep?','2015-02-06 17:47:18','2015-02-06 17:47:18',1); INSERT INTO "apartment_statuses" VALUES(7,'Knock knock. ','2015-02-06 17:47:36','2015-02-06 17:47:36',1); INSERT INTO "apartment_statuses" VALUES(8,'What do you call an alligator in a vest? An Investigator ','2015-02-06 17:48:44','2015-02-06 17:48:44',1); CREATE TABLE "apartment_pics" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime, "apartment_id" integer); INSERT INTO "apartment_pics" VALUES(1,'http://lorempixel.com/400/200/','2015-02-06 17:44:34','2015-02-06 17:44:34',2); INSERT INTO "apartment_pics" VALUES(2,'http://lorempixel.com/400/200/sports/1/','2015-02-06 17:44:34','2015-02-06 17:45:38',2); INSERT INTO "apartment_pics" VALUES(3,'http://lorempixel.com/400/200/food/1','2015-02-06 17:44:34','2015-02-06 17:46:16',2); CREATE TABLE "keywords" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(255), "owner_id" integer, "created_at" datetime, "updated_at" datetime, "owner_type" varchar(255)); INSERT INTO "keywords" VALUES(1,'c',NULL,'2015-02-06 07:19:44','2015-02-06 07:19:44',NULL); INSERT INTO "keywords" VALUES(2,'p',NULL,'2015-02-06 07:19:44','2015-02-06 07:19:44',NULL); INSERT INTO "keywords" VALUES(3,'joke',1,'2015-02-06 07:21:54','2015-02-06 17:47:00','Apartment'); INSERT INTO "keywords" VALUES(4,'news',2,'2015-02-06 17:44:34','2015-02-06 17:44:34','Apartment'); INSERT INTO "keywords" VALUES(5,'911',1,'2015-02-06 17:50:36','2015-02-06 17:50:36','List'); INSERT INTO "keywords" VALUES(6,'updates',2,'2015-02-06 17:51:43','2015-02-06 17:51:43','List'); CREATE TABLE "apartments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "created_at" datetime, "updated_at" datetime, "pcb_disabled" boolean DEFAULT 'f'); INSERT INTO "apartments" VALUES(1,'get a new joke','2015-02-06 07:21:54','2015-02-06 17:47:00','t'); INSERT INTO "apartments" VALUES(2,'Get the latest news','2015-02-06 17:44:34','2015-02-06 17:44:34','f'); CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "last_apt_queried_id" integer, "created_at" datetime, "updated_at" datetime, "name" varchar(255), "apartment_id" integer, "room" varchar(255)); INSERT INTO "users" VALUES(1,'+14026501421',NULL,'2015-02-06 17:49:07','2015-02-06 17:49:07','<NAME>',NULL,NULL); INSERT INTO "users" VALUES(2,'+14029999999',NULL,'2015-02-06 17:49:24','2015-02-06 17:49:24','Some Person',NULL,NULL); INSERT INTO "users" VALUES(3,'+19132939809',NULL,'2015-02-06 17:52:22','2015-02-06 17:52:22','<NAME>',NULL,NULL); CREATE TABLE "callbacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "apt_time" datetime, "apartment_id" integer, "completed" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime); CREATE TABLE "poll_choices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "keyword" varchar(255), "value" varchar(255), "poll_question_id" integer, "created_at" datetime, "updated_at" datetime); CREATE TABLE "poll_votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "poll_choice_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime); CREATE TABLE "poll_questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(255), "poll_id" integer, "created_at" datetime, "updated_at" datetime, "graph_filename" varchar(255)); CREATE TABLE "polls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime); CREATE TABLE "apartment_queries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "apartment_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime); CREATE TABLE "apartment_callbacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "apt_time" datetime, "apartment_id" integer, "completed" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime, "user_id" integer, "message" varchar(255)); CREATE TABLE "lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "name" varchar(255), "description" varchar(255)); INSERT INTO "lists" VALUES(1,'2015-02-06 17:50:36','2015-02-06 17:50:36','Emergency','A list for sending out emergency alerts'); INSERT INTO "lists" VALUES(2,'2015-02-06 17:51:43','2015-02-06 17:51:43','Updates','A list for general updates'); CREATE TABLE "list_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(255), "list_id" integer, "created_at" datetime, "updated_at" datetime); CREATE TABLE "lists_users" ("list_id" integer, "user_id" integer); INSERT INTO "lists_users" VALUES(1,1); INSERT INTO "lists_users" VALUES(1,2); INSERT INTO "lists_users" VALUES(2,3); CREATE TABLE "sms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "incoming" boolean, "created_at" datetime, "updated_at" datetime); CREATE TABLE "sms_users" ("sms_id" integer, "user_id" integer); DELETE FROM sqlite_sequence; INSERT INTO "sqlite_sequence" VALUES('keywords',6); INSERT INTO "sqlite_sequence" VALUES('apartments',2); INSERT INTO "sqlite_sequence" VALUES('apartment_statuses',8); INSERT INTO "sqlite_sequence" VALUES('apartment_pics',3); INSERT INTO "sqlite_sequence" VALUES('users',3); INSERT INTO "sqlite_sequence" VALUES('lists',2); CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version"); COMMIT;
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.3.11 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: 21 Sep 2021 pada 04.51 -- Versi Server: 5.6.24 -- PHP Version: 5.6.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 utf8 */; -- -- Database: `simrs_dev003` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tbdaftardokter` -- CREATE TABLE IF NOT EXISTS `tbdaftardokter` ( `IdDokter` int(20) NOT NULL, `NamaDokter` varchar(75) DEFAULT NULL, `PangkatCorps` varchar(75) DEFAULT NULL, `NRP` varchar(45) DEFAULT NULL, `Spesialisasi` int(50) DEFAULT NULL, `Kategori` int(10) NOT NULL, `NoTelp` varchar(25) DEFAULT NULL, `Keterangan` text, `Status` varchar(10) NOT NULL DEFAULT 'aktif', `IdBPJS` varchar(32) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tbdaftardokter` -- INSERT INTO `tbdaftardokter` (`IdDokter`, `NamaDokter`, `PangkatCorps`, `NRP`, `Spesialisasi`, `Kategori`, `NoTelp`, `Keterangan`, `Status`, `IdBPJS`) VALUES (2, 'dr. DJOKO TJAHJONO WAHJUTOMO, Sp.PD', NULL, NULL, 4, 1, '-', NULL, 'aktif', '12785'), (3, 'dr. <NAME>, Sp,An', NULL, NULL, 10, 1, '-', NULL, 'aktif', ''), (4, 'dr. <NAME>, Sp.S', NULL, NULL, 18, 1, '-', NULL, 'aktif', '12794'), (5, 'dr. <NAME>, Sp.PD', NULL, NULL, 4, 1, '-', NULL, 'aktif', '12787'), (6, 'dr. <NAME>, Sp.An', NULL, NULL, 10, 1, '-', NULL, 'aktif', ''), (7, 'dr. <NAME>, Sp.A', NULL, NULL, 5, 1, '-', NULL, 'aktif', '12790'), (8, 'dr. <NAME>, Sp.B', NULL, NULL, 3, 1, '-', NULL, 'aktif', '38506'), (9, 'dr. <NAME>, Sp. B', NULL, NULL, 3, 1, '-', NULL, 'aktif', '12788'), (10, 'dr. <NAME>, Sp.BS', NULL, NULL, 19, 1, '-', NULL, 'aktif', ''), (11, 'dr. <NAME>,Sp.THT-KL', NULL, NULL, 14, 1, '-', NULL, 'aktif', '12504'), (12, 'dr. <NAME>, Sp.PD', NULL, NULL, 4, 1, '-', NULL, 'aktif', '12947'), (13, 'dr. FARHAT, Sp.OT', NULL, NULL, 167, 1, '-', NULL, 'aktif', '12796'), (14, 'dr. <NAME>, Sp. OG', NULL, NULL, 6, 1, '-', NULL, 'aktif', '12789'), (15, 'dr. POEDJIHARI, Sp.Rad', NULL, NULL, 7, 1, '021', NULL, 'aktif', ''), (16, 'dr. KRISBIYANTO, Sp.P', NULL, NULL, 17, 1, '-', NULL, 'aktif', '12797'), (17, 'dr. <NAME>, Sp.PK', NULL, NULL, 11, 1, '0212222', NULL, 'aktif', ''), (18, 'dr. <NAME>, Sp.KJ', NULL, NULL, 12, 1, '-', NULL, 'aktif', '38540'), (19, 'dr. <NAME> , Sp U', NULL, NULL, 21, 1, '-', NULL, 'aktif', '279886'), (20, 'dr. DJEMIRAN', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (21, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (22, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (23, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (24, 'dr. <NAME> (TISA)', NULL, NULL, 1, 1, '-', NULL, 'nonaktif', ''), (25, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (26, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (27, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (28, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (29, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (30, 'drg <NAME>', NULL, NULL, 33, 1, '-', NULL, 'aktif', ''), (31, 'drg. <NAME>', NULL, NULL, 33, 1, '-', NULL, 'aktif', '12783'), (32, 'drg. <NAME>', NULL, NULL, 33, 1, '-', NULL, 'nonaktif', ''), (33, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (34, 'dr. <NAME>', NULL, NULL, 1, 1, '-', NULL, 'aktif', ''), (35, 'dr. <NAME>', NULL, NULL, 1, 0, '0', NULL, 'aktif', ''), (36, 'dr. KHUSNUL', NULL, NULL, 1, 0, '-', NULL, 'aktif', ''), (37, 'dr. EKO JAENUDIN, Sp.A', NULL, NULL, 5, 0, '-', NULL, 'nonaktif', ''), (38, 'dr. <NAME>, SP.JP', NULL, NULL, 166, 0, '-', NULL, 'aktif', '291639'), (39, 'drg. <NAME>', NULL, NULL, 34, 0, '-', NULL, 'aktif', '12784'), (40, 'dr. <NAME>., Sp.M', NULL, NULL, 13, 0, '0021212', NULL, 'aktif', '260908'), (41, 'dr. <NAME>, Sp.M', NULL, NULL, 13, 0, '1211111', NULL, 'aktif', '265426'), (43, 'DR. <NAME>', NULL, NULL, 1, 0, '-', NULL, 'aktif', ''), (44, 'dr. RULI Sp.KK', NULL, NULL, 15, 0, '-', NULL, 'aktif', ''), (45, 'dr. <NAME> BINUKO Sp.A', NULL, NULL, 5, 0, '-', NULL, 'aktif', '319672'), (46, 'dr <NAME>, Sp OG', NULL, NULL, 6, 0, '-', NULL, 'aktif', ''); -- -- Indexes for dumped tables -- -- -- Indexes for table `tbdaftardokter` -- ALTER TABLE `tbdaftardokter` ADD PRIMARY KEY (`IdDokter`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tbdaftardokter` -- ALTER TABLE `tbdaftardokter` MODIFY `IdDokter` int(20) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=47; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
SELECT DISTINCT v_R_System.Name0 as [ComputerName], v_R_System.ResourceID, v_GS_WINDOWSUPDATEAGENTVERSION.Version0 AS Version FROM v_GS_WINDOWSUPDATEAGENTVERSION INNER JOIN v_R_System ON v_GS_WINDOWSUPDATEAGENTVERSION.ResourceID = v_R_System.ResourceID GROUP BY v_GS_WINDOWSUPDATEAGENTVERSION.Version0, v_R_System.ResourceID, dbo.v_R_System.Name0 ORDER BY v_R_System.Name0
<reponame>umaha-acid/slf-sync /** * Author: Fathoni * Created: Feb 14, 2017 */ SELECT kls.id_kelas_mk, mk.kd_mata_kuliah||' '||mk.nm_mata_kuliah||' ('||nk.nama_kelas||') ' as nm_kelas, (SELECT count(*) FROM pengambilan_mk pmk WHERE pmk.id_kelas_mk = kls.id_kelas_mk AND status_apv_pengambilan_mk = 1) as peserta, (SELECT count(*) FROM pengambilan_mk pmk WHERE pmk.id_kelas_mk = kls.id_kelas_mk AND status_apv_pengambilan_mk = 1 AND nilai_huruf is not null) as ada_nilai, (SELECT count(*) FROM pengambilan_mk pmk WHERE pmk.id_kelas_mk = kls.id_kelas_mk AND status_apv_pengambilan_mk = 1 AND (/* Insert Baru */(fd_id_kls IS NULL AND fd_id_reg_pd IS NULL) OR /* Update*/ (fd_id_kls IS NOT NULL AND fd_id_reg_pd IS NOT NULL AND fd_sync_on < updated_on))) AS perlu_sync FROM kelas_mk kls JOIN mata_kuliah mk ON mk.id_mata_kuliah = kls.id_mata_kuliah JOIN nama_kelas nk ON nk.id_nama_kelas = kls.no_kelas_mk JOIN program_studi ps ON ps.id_program_studi = kls.id_program_studi JOIN fakultas f ON f.id_fakultas = ps.id_fakultas JOIN perguruan_tinggi pt ON pt.id_perguruan_tinggi = f.id_perguruan_tinggi WHERE pt.npsn = '@npsn' AND ps.kode_program_studi = '@kode_prodi' AND kls.id_semester = '@smt' AND kls.fd_id_kls IS NOT NULL ORDER BY mk.nm_mata_kuliah, nk.nama_feeder
INSERT INTO public.filter (id, name, definition) VALUES (2, 'Select All', '{ "match_all": {} }'); INSERT INTO public.filter (id, name, definition) VALUES (1, 'Filename Regex', '{ "regexp": { "File Name.keyword": "${{FILENAME_REGEX}}$" } }'); INSERT INTO public.filter (id, name, definition) VALUES (3, 'Mode Regex', '{ "regexp": { "Mode.keyword": "${{MODE_REGEX}}$" } }');
<reponame>archguard/archguard alter table system_info add column `language` varchar(50) not null default 'jvm';
<reponame>ngothanhtung/sqlserver UPDATE Products SET Price = Price * 110% WHERE Price <= 100000
<reponame>oldinaction/smjava /* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 60011 Source Host : 127.0.0.1:3306 Source Database : servletblog Target Server Type : MYSQL Target Server Version : 60011 File Encoding : 65001 Date: 2014-11-22 21:36:34 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for comment_log -- ---------------------------- DROP TABLE IF EXISTS `comment_log`; CREATE TABLE `comment_log` ( `id` int(11) NOT NULL AUTO_INCREMENT, `content` varchar(800) DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `log_id` int(11) DEFAULT NULL, `createtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `updatetime` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `log_id` (`log_id`), CONSTRAINT `comment_log_ibfk_2` FOREIGN KEY (`log_id`) REFERENCES `log` (`id`), CONSTRAINT `comment_log_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of comment_log -- ---------------------------- INSERT INTO `comment_log` VALUES ('1', '我顶你', '1', '1', '2014-10-16 22:56:23', '2014-10-25 16:40:51'); INSERT INTO `comment_log` VALUES ('2', '你好啊', '1', '1', '2014-10-25 22:57:56', '2014-11-22 21:25:39'); INSERT INTO `comment_log` VALUES ('3', '我很好', '2', '1', '2014-10-25 16:40:46', '2014-11-22 21:25:41'); INSERT INTO `comment_log` VALUES ('4', '是大法官', '2', '3', '2014-10-25 16:41:08', '2014-10-21 16:41:11'); INSERT INTO `comment_log` VALUES ('5', '高上大放撒大多数', '1', '2', '2014-10-25 19:49:44', '2014-11-22 21:25:44'); -- ---------------------------- -- Table structure for log -- ---------------------------- DROP TABLE IF EXISTS `log`; CREATE TABLE `log` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(100) DEFAULT NULL, `content` text, `createtime` datetime DEFAULT NULL, `updatetime` datetime DEFAULT NULL, `user_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), CONSTRAINT `log_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of log -- ---------------------------- INSERT INTO `log` VALUES ('1', '星期六', '第一篇文章要好好写,但是今天心情不怎么好,先写这么多吧!', '2014-10-16 22:36:06', '2014-10-25 12:53:13', '1'); INSERT INTO `log` VALUES ('2', '我有一个想法', '想想好好虚席', '2014-10-16 22:39:59', '2014-11-22 21:25:10', '2'); INSERT INTO `log` VALUES ('3', '第2片文章', '10月24日,广东省纪委监察厅网站称,深圳市委常委、政法委书记蒋尊玉因涉嫌严重违纪问题,正在接受组织调查。\r\n  ', '2014-10-25 16:38:33', '2014-11-22 21:25:15', '1'); -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account` varchar(80) DEFAULT NULL, `password` varchar(20) DEFAULT NULL, `nickname` varchar(40) DEFAULT NULL, `description` text, `createtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `updatetime` datetime DEFAULT NULL, `headerpic` varchar(200) DEFAULT NULL, `age` int(3) DEFAULT NULL, `birthday` date DEFAULT NULL, `address` varchar(200) DEFAULT NULL, `email` varchar(80) DEFAULT NULL, `male` int(1) DEFAULT NULL, `telephone` varchar(20) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES ('1', 'smalle', '123456', '小易Smalle', '小易正在学习java,欢迎和大家交流', '2014-10-24 10:30:28', '2014-10-24 11:00:34', 'pic.jpg', '18', '2014-10-24', '北京', '<EMAIL>', '1', '12345678901'); INSERT INTO `user` VALUES ('2', 'old', '456', 'old', '无描述', '2014-10-24 10:37:38', '2014-10-25 12:23:41', 'peple.jpg', null, '2014-11-22', '', '', null, '');
<reponame>LeeBaekHaeng/sql SELECT /* 뷰 */ A.* FROM ALL_VIEWS A WHERE 1 = 1 AND A.OWNER = 'SYS' AND A.VIEW_NAME LIKE 'DBA_TA%' ORDER BY A.VIEW_NAME ; SELECT /* select */ A.* FROM ALL_VIEWS A WHERE 1 = 1 AND A.OWNER = 'SYS' -- AND A.VIEW_NAME LIKE 'ALL_TA%' -- AND A.VIEW_NAME LIKE 'ALL_%' -- AND A.VIEW_NAME LIKE 'ALL_%COMMENTS%' -- AND A.VIEW_NAME LIKE 'ALL_TAB%' -- AND A.VIEW_NAME LIKE 'ALL_OBJ%' -- AND A.VIEW_NAME LIKE 'ALL_%USER%' AND A.VIEW_NAME LIKE 'ALL_%CONS%' ORDER BY A.OWNER, A.VIEW_NAME ; SELECT /* */ A.* FROM ALL_VIEWS A WHERE 1 = 1 AND A.OWNER = 'SYS' AND A.VIEW_NAME LIKE 'USER_TA%' ORDER BY A.VIEW_NAME ;
<reponame>niceyang/os-sri INSERT INTO `mydb`.`user` (`name`, `email`,`phone`) VALUES ('Yang', '<EMAIL>', '4123131123'); INSERT INTO `mydb`.`data` (`userid`, `category`,`subcategory`,`data`) VALUES (1, 'A', 'AA', 'DATA1'); INSERT INTO `mydb`.`data` (`userid`, `category`,`subcategory`,`data`) VALUES (1, 'A', 'AB', 'DATA2'); INSERT INTO `mydb`.`data` (`userid`, `category`,`subcategory`,`data`) VALUES (1, 'A', 'AB', 'DATA3');
Create VIEW [EntityCode].[LocationTimeRecurring] AS Select LTA.LocationTimeRecurringId As [Id], LTA.LocationTimeRecurringKey As [Key], L.LocationKey, L.LocationName, L.LocationDescription, TA.BeginDay, TA.EndDay, TA.BeginTime, TA.EndTime, TA.Interval, IsNull(LTA.TimeTypeKey, '00000000-0000-0000-0000-000000000000') As [TimeTypeKey], LTA.CreatedDate, LTA.ModifiedDate From [Entity].[LocationTimeRecurring] LTA Join [Entity].[Location] L On LTA.LocationKey = L.LocationKey Join [Entity].[TimeRecurring] TA On LTA.TimeRecurringKey = TA.TimeRecurringKey Where LTA.RecordStateKey <> '081C6A5B-0817-4161-A3AD-AD7924BEA874'
<filename>Programmable Objects/Stored Procedures/Utility.spGetIndexCreationProgress.sql GO IF OBJECT_ID('[Utility].[spGetIndexCreationProgress]') IS NOT NULL DROP PROCEDURE [Utility].[spGetIndexCreationProgress]; GO SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO CREATE PROCEDURE [Utility].[spGetIndexCreationProgress] @SPID INT AS /* NOTE: QUERIES MUST BE EXECUTED WITH 'SET STATISTICS PROFILE ON' IN ORDER FOR THIS TO WORK!! EXEC Utility.spGetIndexCreationProgress @SPID = 67 */ ;WITH agg AS ( SELECT SUM(qp.[row_count]) AS [RowsProcessed], SUM(qp.[estimate_row_count]) AS [TotalRows], MAX(qp.last_active_time) - MIN(qp.first_active_time) AS [ElapsedMS], MAX(IIF(qp.[close_time] = 0 AND qp.[first_row_time] > 0, [physical_operator_name], N'<Transition>')) AS [CurrentStep] FROM sys.dm_exec_query_profiles qp WHERE qp.[physical_operator_name] IN (N'Table Scan', N'Clustered Index Scan', N'Index Scan', N'Sort') AND qp.[session_id] = @SPID ), comp AS ( SELECT *, ([TotalRows] - [RowsProcessed]) AS [RowsLeft], ([ElapsedMS] / 1000.0) AS [ElapsedSeconds] FROM agg ) SELECT [CurrentStep], [TotalRows], [RowsProcessed], [RowsLeft], CONVERT(DECIMAL(5, 2), (([RowsProcessed] * 1.0) / [TotalRows]) * 100) AS [PercentComplete], [ElapsedSeconds], (([ElapsedSeconds] / [RowsProcessed]) * [RowsLeft]) AS [EstimatedSecondsLeft], DATEADD(SECOND, (([ElapsedSeconds] / [RowsProcessed]) * [RowsLeft]), GETDATE()) AS [EstimatedCompletionTime] FROM comp; GO
ALTER TABLE oracle_buckets DROP COLUMN namespace;
TCGA-A2-A1G0,TCGA-A1-A0SM,TCGA-E2-A1IU,TCGA-E9-A1QZ,TCGA-E9-A22B,TCGA-C8-A1HE,TCGA-EW-A1PG,TCGA-A1-A0SE,TCGA-E9-A1NG,TCGA-EW-A1OX,TCGA-D8-A1XB,TCGA-A1-A0SQ,TCGA-D8-A1JN,TCGA-A2-A1FX,TCGA-EW-A1IZ,TCGA-A2-A0CT,TCGA-A1-A0SD,TCGA-E9-A1R3,TCGA-A2-A0CP,TCGA-E2-A1LL,TCGA-A2-A0CL,TCGA-A2-A0YD,TCGA-EW-A1J1,TCGA-A2-A0CZ,TCGA-A2-A0SU,TCGA-E2-A10E,TCGA-A7-A26J,TCGA-A2-A04V,TCGA-E2-A1B1,TCGA-A2-A0YF,TCGA-A2-A0T6,TCGA-E2-A15T,TCGA-A2-A04R,TCGA-D8-A27F,TCGA-A2-A0EU,TCGA-E2-A1L6,TCGA-E2-A15J,TCGA-A2-A0EN,TCGA-EW-A1OV,TCGA-A2-A0ST,TCGA-D8-A27T,TCGA-A8-A07F,TCGA-EW-A1PE,TCGA-E2-A156,TCGA-A2-A0CS,TCGA-A2-A1FV,TCGA-A2-A0EW,TCGA-E9-A295,TCGA-A8-A085,TCGA-E9-A1NE,TCGA-EW-A1J3,TCGA-A2-A0YC,TCGA-E2-A1AZ,TCGA-E2-A15R,TCGA-E2-A1L9,TCGA-E9-A1R2,TCGA-A2-A25B,TCGA-E2-A15D,TCGA-EW-A1IX,TCGA-A2-A0D4,TCGA-A2-A0YI,TCGA-A7-A0CG,TCGA-A7-A13F,TCGA-E9-A22A,TCGA-A2-A0EM,TCGA-EW-A1J2,TCGA-E9-A1NH,TCGA-A8-A07L,TCGA-E9-A1RH,TCGA-EW-A1IY,TCGA-EW-A1PD,TCGA-A8-A0AD,TCGA-A7-A0CD,TCGA-A8-A07J,TCGA-A2-A04Y,TCGA-A2-A25A,TCGA-A2-A0T0,TCGA-A2-A0YK,TCGA-A2-A0CV,TCGA-A8-A07E,TCGA-A2-A25C,TCGA-GI-A2C8,TCGA-A8-A06Y,TCGA-A2-A04X,TCGA-A2-A0CU,TCGA-A2-A0EO,TCGA-A8-A096,TCGA-A8-A09R,TCGA-A2-A25D,TCGA-A7-A0D9,TCGA-A2-A25F,TCGA-A8-A083,TCGA-A1-A0SH,TCGA-A8-A09D,TCGA-AN-A0XW,TCGA-A2-A0YL,TCGA-A8-A06Z,TCGA-AN-A041,TCGA-AN-A0XO,TCGA-A1-A0SJ,TCGA-AC-A23E,TCGA-A8-A06P,TCGA-A8-A09V,TCGA-A2-A04N,TCGA-A8-A0A2,TCGA-AO-A1KT,TCGA-AO-A12E,TCGA-A8-A06N,TCGA-A2-A0ES,TCGA-AN-A0FN,TCGA-A8-A07G,TCGA-AN-A04A,TCGA-A7-A26E,TCGA-A2-A1G4,TCGA-A8-A099,TCGA-A8-A07I,TCGA-A8-A09G,TCGA-AN-A049,TCGA-AO-A0JJ,TCGA-A2-A25E,TCGA-A8-A091,TCGA-A8-A06R,TCGA-AR-A1AO,TCGA-A8-A08T,TCGA-A8-A086,TCGA-A8-A08L,TCGA-AO-A03U,TCGA-A2-A259,TCGA-AN-A0FK,TCGA-AN-A0XP,TCGA-A8-A08H,TCGA-A8-A0A4,TCGA-A2-A0T4,TCGA-A8-A08F,TCGA-AO-A125,TCGA-A2-A1G6,TCGA-A8-A09I,TCGA-AR-A24W,TCGA-AO-A12A,TCGA-A8-A09W,TCGA-AO-A0JF,TCGA-B6-A0IM,TCGA-A8-A08Z,TCGA-AR-A252,TCGA-AR-A1AU,TCGA-A8-A095,TCGA-AQ-A1H3,TCGA-BH-A0DH,TCGA-A8-A07C,TCGA-B6-A0WZ,TCGA-A8-A0A1,TCGA-AR-A251,TCGA-A8-A09A,TCGA-BH-A0E7,TCGA-AN-A0FS,TCGA-BH-A0BM,TCGA-AN-A0FF,TCGA-AN-A0FZ,TCGA-AR-A24O,TCGA-BH-A0DG,TCGA-AR-A0TY,TCGA-BH-A0B1,TCGA-AO-A1KO,TCGA-AR-A250,TCGA-AR-A1AK,TCGA-BH-A0GZ,TCGA-AN-A0XV,TCGA-AN-A0FD,TCGA-BH-A0HI,TCGA-B6-A0X4,TCGA-AR-A24M,TCGA-BH-A18F,TCGA-BH-A0B8,TCGA-BH-A0B4,TCGA-AO-A03P,TCGA-BH-A0HW,TCGA-AO-A0JA,TCGA-BH-A0C1,TCGA-BH-A1F8,TCGA-B6-A0WW,TCGA-BH-A0DX,TCGA-BH-A209,TCGA-AO-A12B,TCGA-AN-A0XL,TCGA-AO-A0J5,TCGA-B6-A0IG,TCGA-BH-A1EW,TCGA-B6-A0WY,TCGA-B6-A0IN,TCGA-D8-A1X7,TCGA-AO-A1KS,TCGA-B6-A1KF,TCGA-BH-A0BA,TCGA-AR-A0TT,TCGA-BH-A0HL,TCGA-AR-A0TZ,TCGA-D8-A1XS,TCGA-AR-A1AV,TCGA-D8-A1JE,TCGA-AO-A12H,TCGA-BH-A0E9,TCGA-B6-A0RV,TCGA-AO-A0J9,TCGA-BH-A0BJ,TCGA-BH-A0H0,TCGA-AR-A1AT,TCGA-AR-A24T,TCGA-AO-A0JG,TCGA-C8-A12V,TCGA-BH-A0EA,TCGA-AR-A255,TCGA-AR-A24H,TCGA-C8-A137,TCGA-BH-A0BV,TCGA-BH-A0AY,TCGA-AR-A1AL,TCGA-AR-A1AR,TCGA-AR-A24U,TCGA-BH-A0BZ,TCGA-BH-A0HP,TCGA-BH-A18I,TCGA-AR-A24X,TCGA-BH-A1FM,TCGA-B6-A0I6,TCGA-B6-A0RG,TCGA-BH-A0C7,TCGA-BH-A0DT,TCGA-C8-A1HL,TCGA-BH-A18M,TCGA-D8-A1XR,TCGA-B6-A0I8,TCGA-AR-A24V,TCGA-D8-A145,TCGA-D8-A1JU,TCGA-BH-A1FH,TCGA-E9-A1RC,TCGA-E2-A15L,TCGA-AR-A1AX,TCGA-D8-A1X9,TCGA-BH-A0B5,TCGA-C8-A12U,TCGA-E9-A1N3,TCGA-E9-A1NA,TCGA-BH-A0BQ,TCGA-B6-A1KC,TCGA-BH-A0DE,TCGA-AR-A24Z,TCGA-BH-A1ET,TCGA-E9-A228,TCGA-D8-A1XG,TCGA-BH-A0E1,TCGA-AR-A24L,TCGA-E2-A1IH,TCGA-D8-A1XU,TCGA-D8-A1X8,TCGA-B6-A0IH,TCGA-D8-A1XF,TCGA-BH-A0DK,TCGA-BH-A0H6,TCGA-E9-A227,TCGA-D8-A1JT,TCGA-BH-A18J,TCGA-BH-A0DS,TCGA-E9-A22E,TCGA-BH-A1FJ,TCGA-C8-A133,TCGA-D8-A1XY,TCGA-E2-A1BD,TCGA-BH-A0BS,TCGA-E2-A1B5,TCGA-BH-A204,TCGA-E2-A153,TCGA-BH-A0EB,TCGA-E2-A15A,TCGA-E2-A10A,TCGA-B6-A0RI,TCGA-E2-A14Q,TCGA-D8-A141,TCGA-E9-A1R7,TCGA-D8-A1JH,TCGA-C8-A12N,TCGA-E9-A1N4,TCGA-D8-A1XV,094-472,TCGA-BH-A0HA,TCGA-E9-A22H,TCGA-B6-A0X7,TCGA-BH-A0DO,TCGA-E2-A1LB,TCGA-E2-A1BC,TCGA-D8-A146,TCGA-E2-A1IJ,TCGA-BH-A0H3,TCGA-D8-A1JM,TCGA-E2-A14S,TCGA-BH-A0EI,TCGA-E9-A24A,TCGA-BH-A1EU,TCGA-E9-A1RD,TCGA-BH-A0HO,TCGA-EW-A1P3,TCGA-BH-A0AZ,TCGA-BH-A1EO,TCGA-BH-A1F2,TCGA-E9-A1RF,TCGA-BH-A18K,TCGA-D8-A1Y0,TCGA-EW-A1J6,TCGA-D8-A1XC,TCGA-E2-A15P,TCGA-BH-A18N,TCGA-BH-A0DQ,TCGA-E2-A1IL,TCGA-D8-A1Y2,TCGA-BH-A203,TCGA-BH-A201,TCGA-BH-A1FR,TCGA-BH-A1EN,TCGA-BH-A0W4,TCGA-D8-A27I,TCGA-E2-A15S,TCGA-C8-A12M,TCGA-C8-A132,TCGA-BH-A28Q,TCGA-C8-A1HO,TCGA-D8-A140,TCGA-E2-A15G,TCGA-E2-A15K,TCGA-E2-A1L8,TCGA-C8-A273,TCGA-BH-A18P,TCGA-D8-A1JI,TCGA-E2-A1IG,TCGA-D8-A1JP,TCGA-E2-A14T,TCGA-D8-A1JB,TCGA-E2-A1IE,TCGA-AO-A12F,TCGA-BH-A0BW
<filename>migrations/v0009.sql -- +migrate Down UPDATE releases SET badge_ratings = NULL; -- +migrate Up
<reponame>svennesson/auth-server<filename>src/main/resources/db/migration/V3__Create_login_attempts_table.sql CREATE TABLE login_attempts ( id serial PRIMARY KEY, user_id INT REFERENCES users, success BOOLEAN, timestampz TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() )
/* Warnings: - Added the required column `password` to the `Author` table without a default value. This is not possible if the table is not empty. */ -- RedefineTables PRAGMA foreign_keys=OFF; CREATE TABLE "new_Author" ( "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "name" TEXT NOT NULL, "email" TEXT NOT NULL, "password" TEXT NOT NULL ); INSERT INTO "new_Author" ("email", "id", "name") SELECT "email", "id", "name" FROM "Author"; DROP TABLE "Author"; ALTER TABLE "new_Author" RENAME TO "Author"; CREATE UNIQUE INDEX "Author_email_key" ON "Author"("email"); PRAGMA foreign_key_check; PRAGMA foreign_keys=ON;
-- phpMyAdmin SQL Dump -- version 4.8.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 14, 2018 at 04:02 AM -- Server version: 10.1.33-MariaDB -- PHP Version: 7.2.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 */; -- -- Database: `pal_knowledge` -- -- -------------------------------------------------------- -- -- Table structure for table `comment` -- CREATE TABLE `comment` ( `commentID` int(11) NOT NULL, `content` text NOT NULL, `dateOfComment` datetime NOT NULL, `knowledgeID` varchar(20) NOT NULL, `userID` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `discussion` -- CREATE TABLE `discussion` ( `discussID` int(11) NOT NULL, `topic` varchar(50) NOT NULL, `discContent` text NOT NULL, `dateOfDiscuss` datetime NOT NULL, `userID` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `discussion` -- INSERT INTO `discussion` (`discussID`, `topic`, `discContent`, `dateOfDiscuss`, `userID`) VALUES (1, 'yeiyei', 'what i think.', '2018-08-16 11:04:34', 'magrid'), (9, 'pengelasan', 'i dont think anything', '2018-08-31 11:06:40', 'magrid'), (10, 'pengelasan', 'bg', '2018-09-14 08:24:08', 'magrid'); -- -------------------------------------------------------- -- -- Table structure for table `division` -- CREATE TABLE `division` ( `divisionID` varchar(10) NOT NULL, `divisionName` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `division` -- INSERT INTO `division` (`divisionID`, `divisionName`) VALUES ('1', 'PEMBANGUNAN KAPAL'), ('11', 'DIVISI DESIGN'), ('12', 'DIVISI KAPAL NIAGA'), ('13', 'DIVISI KAPAL PERANG'), ('14', 'DIVISI KAPAL SELAM'), ('15', 'DIVISI PEMASARAN DAN PENJUALAN BANGKAP'), ('2', 'REKAYASA UMUM DAN HARKAN'), ('21', 'DIVISI REKAYASA UMUM DAN HARKAN'), ('22', 'DIVISI PEMELIHARAAN DAN PERBAIKAN'), ('23', 'DIVISI PENJUALAN REKUMHAR'), ('24', 'DIVISI JAMINAN KUALITAS'), ('25', 'DIVISI SUPPLY CHAIN'), ('3', 'KEUANGAN'), ('31', 'DIVISI PERBENDAHARAAN'), ('32', 'DIVISI AKUNTANSI'), ('33', 'DIVISI TEKNOLOGI INFORMASI'), ('4', 'SDM DAN UMUM'), ('41', 'DIVISI HCM DAN COMMAND MEDIA'), ('42', 'DIVISI KAWASAN'); -- -------------------------------------------------------- -- -- Table structure for table `knowledge` -- CREATE TABLE `knowledge` ( `knowledgeID` varchar(20) NOT NULL, `title` varchar(50) NOT NULL, `type` tinyint(1) NOT NULL, `category` tinyint(1) NOT NULL, `divisionID` varchar(10) NOT NULL, `file` varchar(100) NOT NULL, `fileType` varchar(10) NOT NULL, `description` text NOT NULL, `dateOfUpload` datetime NOT NULL, `userID` varchar(30) NOT NULL, `totalRate` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `knowledge` -- INSERT INTO `knowledge` (`knowledgeID`, `title`, `type`, `category`, `divisionID`, `file`, `fileType`, `description`, `dateOfUpload`, `userID`, `totalRate`) VALUES ('1220180907101608', 'yang sekian', 0, 0, '12', 'assets/upload/12/3ece0562.mp4', 'video', 'ya allah', '2018-09-07 10:16:08', 'magrid', 0), ('1320180907095959', 'nahlooo', 0, 1, '13', 'assets/upload/13/3eda0564.mp4', 'video', 'akskals', '2018-09-07 09:59:59', 'magrid', 0), ('1320180907101956', 'video bts', 0, 0, '13', 'assets/upload/13/3e941f81.mp4', 'video', 'bias', '2018-09-07 10:19:56', 'magrid', 0), ('1420180901053006', 'pdf dulu', 0, 1, '14', 'assets/upload/14/20040418.pdf', 'pdf', 'ioya', '2018-09-01 05:30:06', 'magrid', 0), ('2120180901065350', 'desain', 0, 1, '21', 'assets/upload/21/3eda0564.mp4', 'video', 'a', '2018-09-01 06:53:50', 'magrid', 0), ('2520180831103650', 'coba yg video', 0, 1, '25', 'assets/upload/25/58310742.mp4', 'video', 'aaa', '2018-08-31 10:36:50', 'magrid', 0), ('3220180831103508', 'coba foto', 0, 1, '32', 'assets/upload/32/15060370.jpg', 'foto', 'coba yang foto', '2018-08-31 10:35:08', 'magrid', 0); -- -------------------------------------------------------- -- -- Table structure for table `rating` -- CREATE TABLE `rating` ( `value` int(1) NOT NULL, `userID` varchar(30) NOT NULL, `knowledgeID` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `replydiscussion` -- CREATE TABLE `replydiscussion` ( `replyID` int(11) NOT NULL, `replyContent` text NOT NULL, `dateOfReply` datetime NOT NULL, `UserID` varchar(30) NOT NULL, `discusID` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `replydiscussion` -- INSERT INTO `replydiscussion` (`replyID`, `replyContent`, `dateOfReply`, `UserID`, `discusID`) VALUES (1, 'yoke', '2018-08-17 00:00:00', 'magrid', 1), (2, 'hoooke', '2018-08-17 00:00:00', 'magrid', 1), (4, 'singgenah', '2018-08-31 11:07:17', 'magrid', 9); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `userID` varchar(30) NOT NULL, `name` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `divisionID` varchar(10) NOT NULL, `level` varchar(10) NOT NULL, `userEmail` varchar(50) NOT NULL, `userPhoto` varchar(50) NOT NULL, `authentication` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`userID`, `name`, `password`, `divisionID`, `level`, `userEmail`, `userPhoto`, `authentication`) VALUES ('magrid', '<NAME>', '<PASSWORD>', '33', 'admin', '<EMAIL>', 'assets/upload/users/DSC_0124.jpg', 0), ('wul', 'wulan', '<PASSWORD>', '42', 'staff', 'wul', '', 0); -- -- Indexes for dumped tables -- -- -- Indexes for table `comment` -- ALTER TABLE `comment` ADD PRIMARY KEY (`commentID`), ADD KEY `fk_user_comment` (`userID`), ADD KEY `fk_knowledge_comment` (`knowledgeID`); -- -- Indexes for table `discussion` -- ALTER TABLE `discussion` ADD PRIMARY KEY (`discussID`), ADD KEY `fk_user_discuss` (`userID`); -- -- Indexes for table `division` -- ALTER TABLE `division` ADD PRIMARY KEY (`divisionID`); -- -- Indexes for table `knowledge` -- ALTER TABLE `knowledge` ADD PRIMARY KEY (`knowledgeID`), ADD KEY `fk_division_knowledge` (`divisionID`), ADD KEY `fk_user_knowledge` (`userID`); -- -- Indexes for table `rating` -- ALTER TABLE `rating` ADD KEY `fk_knowledge_rating` (`knowledgeID`), ADD KEY `fk_user_rating` (`userID`); -- -- Indexes for table `replydiscussion` -- ALTER TABLE `replydiscussion` ADD PRIMARY KEY (`replyID`), ADD UNIQUE KEY `replyID` (`replyID`), ADD KEY `fk_discussion_reply` (`discusID`), ADD KEY `fk_user_reply` (`UserID`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`userID`), ADD UNIQUE KEY `email` (`userEmail`), ADD KEY `fk_division_user` (`divisionID`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `discussion` -- ALTER TABLE `discussion` MODIFY `discussID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `replydiscussion` -- ALTER TABLE `replydiscussion` MODIFY `replyID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- Constraints for dumped tables -- -- -- Constraints for table `comment` -- ALTER TABLE `comment` ADD CONSTRAINT `fk_knowledge_comment` FOREIGN KEY (`knowledgeID`) REFERENCES `knowledge` (`knowledgeID`), ADD CONSTRAINT `fk_user_comment` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`); -- -- Constraints for table `discussion` -- ALTER TABLE `discussion` ADD CONSTRAINT `fk_user_discuss` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `knowledge` -- ALTER TABLE `knowledge` ADD CONSTRAINT `fk_division_knowledge` FOREIGN KEY (`divisionID`) REFERENCES `division` (`divisionID`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_user_knowledge` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `rating` -- ALTER TABLE `rating` ADD CONSTRAINT `fk_knowledge_rating` FOREIGN KEY (`knowledgeID`) REFERENCES `knowledge` (`knowledgeID`), ADD CONSTRAINT `fk_user_rating` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`); -- -- Constraints for table `replydiscussion` -- ALTER TABLE `replydiscussion` ADD CONSTRAINT `fk_reply_discussion` FOREIGN KEY (`discusID`) REFERENCES `discussion` (`discussID`), ADD CONSTRAINT `fk_user_reply` FOREIGN KEY (`UserID`) REFERENCES `user` (`userID`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `user` -- ALTER TABLE `user` ADD CONSTRAINT `fk_division_user` FOREIGN KEY (`divisionID`) REFERENCES `division` (`divisionID`) ON DELETE CASCADE ON UPDATE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>bizmaercq/eda-reporting --Global Statistics on FlexPay select aa.ac_branch,sum(Number_Received) Number_Received,sum(aa.Received) Received,sum(aa.commission) Commission, sum(aa.tax) Tax,sum(Number_Paid) Number_Paid ,sum(aa.paid) paid from ( select a.AC_BRANCH, case when a.TRN_CODE = 'TTI' then count(*) else 0 end as Number_Received, case when a.TRN_CODE = 'TTI' then sum(a.LCY_AMOUNT) else 0 end as Received, case when a.TRN_CODE = 'TTC' then sum(a.LCY_AMOUNT) else 0 end as Commission, case when a.TRN_CODE = 'TAX' then sum(a.LCY_AMOUNT) else 0 end as Tax, case when a.TRN_CODE = 'TTL' then count(*) else 0 end as Number_Paid, case when a.TRN_CODE = 'TTL' then sum(a.LCY_AMOUNT) else 0 end as Paid from acvw_all_ac_entries a where a.trn_ref_no like '%TTIW%' and a.AC_NO not in ('571110000','452101000') and a.TRN_DT between '&Start_Date' and '&End_Date' group by a.AC_BRANCH,a.TRN_CODE ) aa group by aa.ac_branch order by aa.ac_branch; -- Detail Statistics on FlexPay select aa.home_branch TRN_BRANCH,aa.TRN_DT TRN_DATE,aa.TRN_REF_NO,aa.USER_ID,sum(aa.Received) Received,sum(aa.commission) Commission, sum(aa.tax) Tax, sum(aa.Paid) Paid from ( select u.home_branch,a.TRN_DT, a.TRN_REF_NO,u.USER_ID, case when a.TRN_CODE = 'TTI' then sum(a.LCY_AMOUNT) else 0 end as Received, case when a.TRN_CODE = 'TTC' then sum(a.LCY_AMOUNT) else 0 end as Commission, case when a.TRN_CODE = 'TAX' then sum(a.LCY_AMOUNT) else 0 end as Tax, case when a.TRN_CODE = 'TTL' then sum(a.LCY_AMOUNT) else 0 end as Paid from acvw_all_ac_entries a , smtb_user u where a.USER_ID = u.user_id and a.trn_ref_no like '%TTIW%' and a.AC_NO not in ('571110000','452101000') and a.TRN_DT between '&Start_Date' and '&End_Date' group by u.home_branch,a.TRN_CODE,a.TRN_DT,a.TRN_REF_NO,u.USER_ID ) aa group by aa.home_branch,aa.TRN_DT,aa.TRN_REF_NO,aa.USER_ID order by aa.TRN_REF_NO,aa.trn_dt,aa.USER_ID;
<filename>Svetlina/SQL/All SQL tasks/SQL Language - Lab/Employee Address.sql SELECT TOP 5 EmployeeID, JobTitle, a.[AddressID], AddressText From Employees AS e JOIN Addresses AS a ON a.AddressID = e.AddressID ORDER BY a.[AddressID]
<filename>new_site_doc/doc/liuqcup_20210607.sql -- MySQL dump 10.13 Distrib 8.0.16, for Linux (x86_64) -- -- Host: localhost Database: liuqcup -- ------------------------------------------------------ -- Server version 8.0.16 /*!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 */; SET NAMES utf8mb4 ; /*!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 `aberrantlogs` -- DROP TABLE IF EXISTS `aberrantlogs`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `aberrantlogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cusid` varchar(20) NOT NULL, `storeid` char(100) NOT NULL, `nums` int(11) NOT NULL DEFAULT '0', `comments` varchar(255) DEFAULT NULL, `eventtimes` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `cusphone` varchar(20) NOT NULL, `checks` enum('Y','N','B') NOT NULL DEFAULT 'N', `rentlogid` varchar(200) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `aberrantlogs` -- LOCK TABLES `aberrantlogs` WRITE; /*!40000 ALTER TABLE `aberrantlogs` DISABLE KEYS */; INSERT INTO `aberrantlogs` VALUES (1,'CUS20210517153534265','<PASSWORD>77',0,'欠杯','2021-05-23 15:09:52','0123456789','N','H7H6H5H'); /*!40000 ALTER TABLE `aberrantlogs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `accounts` -- DROP TABLE IF EXISTS `accounts`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `accounts` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '流水序號', `adminid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '管理人員的帳號', `adminname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '管理人員的真實姓名', `password` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '管理人員的密碼', `salt` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '加密用的 Hash Key', `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '管理人員的 Key', `level` enum('0','1','2') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '2' COMMENT '管理人員等級碼', `phoneno` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '管理人員連絡電話', `email` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '管理人員連絡用Email', `lock` enum('Y','N') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y' COMMENT '凍結帳號與否', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `accounts_adminid_unique` (`adminid`), UNIQUE KEY `accounts_salt_unique` (`salt`), UNIQUE KEY `accounts_token_unique` (`token`), UNIQUE KEY `accounts_phoneno_unique` (`phoneno`), UNIQUE KEY `accounts_email_unique` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `accounts` -- LOCK TABLES `accounts` WRITE; /*!40000 ALTER TABLE `accounts` DISABLE KEYS */; INSERT INTO `accounts` VALUES (1,'peter','LuLupeter','ABCD123456','Wa,u,1LHxe','$2y$10$Pore0b5PhsXsRC8TIF1qyOnuv73OvcwAUgl33vx1aXsBq0w0.p3Ga','0','0912345678','<EMAIL>','N',NULL,'2021-06-06 18:52:15'),(3,'admin','admin','AB123456','$QJL;CeiUq','$2y$10$Fb0SwB1dVgIhqDBX7Z.QL.TilbOGlPaEe0Kggc.qHjrg6OIoC9z36','0','0123456789','<EMAIL>','N','2021-04-29 17:15:41','2021-06-06 16:59:03'),(33,'shiuan','shiuanlin','AB123456','zETBu4Y$6?','$2y$10$5doro7ybbcsA.4KFAqaJWuvOl72CCrpQUvwtDvJ1rGLy5Uu36EGaa','2','0912836143','<EMAIL>','N','2021-05-28 20:38:16','2021-06-01 18:47:12'); /*!40000 ALTER TABLE `accounts` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `classes` -- DROP TABLE IF EXISTS `classes`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `classes` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '流水序號', `classid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '類別編號', `classname` char(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '類別名稱', PRIMARY KEY (`id`), UNIQUE KEY `classes_classid_unique` (`classid`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `classes` -- LOCK TABLES `classes` WRITE; /*!40000 ALTER TABLE `classes` DISABLE KEYS */; INSERT INTO `classes` VALUES (1,'1','專賣'),(2,'2','民宿'),(3,'3','商店'); /*!40000 ALTER TABLE `classes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `customers` -- DROP TABLE IF EXISTS `customers`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `customers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cusid` varchar(20) NOT NULL, `cusname` varchar(100) DEFAULT NULL, `salt` char(20) NOT NULL, `token` varchar(255) NOT NULL, `password` varchar(100) NOT NULL DEFAULT '<PASSWORD>', `cusphone` varchar(150) DEFAULT NULL, `email` varchar(100) DEFAULT NULL, `lock` enum('Y','N') NOT NULL DEFAULT 'Y', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `cusid` (`cusid`), UNIQUE KEY `salt` (`<PASSWORD>`), UNIQUE KEY `token` (`token`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `customers` -- LOCK TABLES `customers` WRITE; /*!40000 ALTER TABLE `customers` DISABLE KEYS */; INSERT INTO `customers` VALUES (1,'CUS20210516043825341',NULL,'HQ/B&bKhnL','$2y$10$wk5U3jLmERplZwsNd4VqheDVmNjjM3NSnvPBFPqjmZasJcWMKFlti','<PASSWORD>','0912345678,0987654321',NULL,'Y','2021-05-15 20:38:25','2021-06-06 19:00:46'),(2,'CUS20210516043830302',NULL,'8;Wglirw&F','$2y$10$ZWJMIrx7crTGWlcmx88CPOKo9JnQzBzZJfhM33KPRIwBYoLbHfa8q','ABC123','0912345677',NULL,'Y','2021-05-15 20:38:30','2021-05-15 20:38:30'),(3,'CUS20210516043910420',NULL,'iC.sP1&FNt','$2y$10$mRyKvahDh50SeM83inhzTOSg7iShJ7lEKc4JO.9MZB12fD8ovBiE.','CDE12345','0912345676',NULL,'Y','2021-05-15 20:39:10','2021-05-15 20:39:10'),(4,'CUS20210517153534265',NULL,'li_dpFjw&X','$2y$10$5sDSA0Tb8CFgUDEj/GqtDe5J5SG0EagDCs0Y3GB2bJLfLj7NeggZO','ABC123','0123456789',NULL,'Y','2021-05-17 07:35:34','2021-05-17 07:35:34'),(5,'CUS20210530143230377',NULL,'-*936VSAmr','$2y$10$yJSo2m4QQPrFuW/hGZWm.O9wvEAxWGw6Y.2Al7cBh67qvQ2Snw9Eq','ABC123','1234567890',NULL,'Y','2021-05-30 06:32:30','2021-05-30 06:32:30'); /*!40000 ALTER TABLE `customers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `functions` -- DROP TABLE IF EXISTS `functions`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `functions` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '流水序號', `funcid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '功能編號', `funcname` char(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '功能名稱', PRIMARY KEY (`id`), UNIQUE KEY `functions_funcid_unique` (`funcid`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `functions` -- LOCK TABLES `functions` WRITE; /*!40000 ALTER TABLE `functions` DISABLE KEYS */; INSERT INTO `functions` VALUES (1,'1','還杯'),(2,'2','借杯'),(3,'3','使用琉行杯消費'); /*!40000 ALTER TABLE `functions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lottofiles` -- DROP TABLE IF EXISTS `lottofiles`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `lottofiles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `fileid` varchar(100) NOT NULL, `filename` varchar(255) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `disname` varchar(255) NOT NULL, `month` varchar(5) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `newsid` (`fileid`) ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lottofiles` -- LOCK TABLES `lottofiles` WRITE; /*!40000 ALTER TABLE `lottofiles` DISABLE KEYS */; INSERT INTO `lottofiles` VALUES (7,'FILE1622859455957','6x70nRyZfzKIm0WdUOogx0c9IkglBK0S0ew1bbRK.pdf','2021-06-04 18:17:35','2021-06-04 18:17:35','12.pdf','12'),(8,'FILE1622876145468','d5xL87UUsE7ZZanL33TI2ppEf1bPZ15W2DTjJtL5.pdf','2021-06-04 22:55:45','2021-06-04 22:55:45','6月份中獎名單','6'),(9,'FILE1622879975230','f86HpN4l7G8fYCwnANPhmzU5RUlZWfoPMFef3KDd.pdf','2021-06-04 23:59:35','2021-06-04 23:59:35','6月份中獎名單','6'),(10,'FILE1622880029513','A8kRKV9eyusA2i3AfTKvdGHApQJezKsJEjNiCNv8.pdf','2021-06-05 00:00:29','2021-06-05 00:00:29','6月份中獎名單','6'),(11,'FILE1622883694524','EikHpp4Xse6XlPzX7KmQ718AKBift8diyzjPWSy3.pdf','2021-06-05 01:01:34','2021-06-05 01:01:34','6月份中獎名單','6'),(12,'FILE1622883781213','kQEgqgqvIzwHElj35HbETyDwkSVqCMHscDB7nnCO.pdf','2021-06-05 01:03:01','2021-06-05 01:03:01','6月份中獎名單','6'),(13,'FILE1622883839188','xjdLrvdrEO7Z1pxj6BgPVNaS3xqWPtFaIguMuLLf.pdf','2021-06-05 01:03:59','2021-06-05 01:03:59','6月份中獎名單','6'),(14,'FILE1622883919226','Nffq99QjQg3RDL1wYeZhVw5TPGJWQ0ck4bq3B4jC.pdf','2021-06-05 01:05:19','2021-06-05 01:05:19','6月份中獎名單','6'),(15,'FILE162288394445','BnnKT4MUv460v9SYs8VieYfEa1cBjCg8avPsRn97.pdf','2021-06-05 01:05:44','2021-06-05 01:05:44','6月份中獎名單','6'),(16,'FILE1622884068165','e2TyKt06R0ZVCobeOIUnEYxLKkY2Sn0LANKinKZZ.pdf','2021-06-05 01:07:48','2021-06-05 01:07:48','6月份中獎名單','6'),(17,'FILE162288409236','Xlpm2mSkScartqIOhj6W1mhI1w2g8y1czcqsx0OY.pdf','2021-06-05 01:08:12','2021-06-05 01:08:12','6月份中獎名單','6'),(23,'FILE1622885371512','wRekUXBzFiV0OlDPcr00o1LzBErk0C3Yp3wZytbI.pdf','2021-06-05 01:29:31','2021-06-05 01:29:31','12份中獎名單','12'),(24,'FILE1622908493788','5jayNT4eVbBbchI2f36g7DQvP9vrflB82CrhW570.jpg','2021-06-05 07:54:53','2021-06-05 07:54:53','6月份中獎名單','6'),(25,'FILE1622908578719','2RKIL78TnWfgHESRxIzLkY44XbMzxRGgXo5SPUc3.jpg','2021-06-05 07:56:18','2021-06-05 07:56:18','6月份中獎名單','6'); /*!40000 ALTER TABLE `lottofiles` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `migrations` -- DROP TABLE IF EXISTS `migrations`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `migrations` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `migrations` -- LOCK TABLES `migrations` WRITE; /*!40000 ALTER TABLE `migrations` DISABLE KEYS */; INSERT INTO `migrations` VALUES (1,'2021_04_13_012724_create_manager_accounts_table',1),(2,'2021_04_19_071505_create_stores_table',1),(3,'2021_04_19_072911_create_storesclass_table',1),(4,'2021_04_19_073023_create_storesfunctions_table',1),(5,'2021_04_19_073339_create_storescupsrecords_table',1),(6,'2021_04_20_024951_create_class_table',1),(7,'2021_04_20_025001_create_functions_table',1),(8,'2021_04_20_035303_add__f_k_to_storesclass_table',1),(9,'2021_04_20_035327_add__f_k_to_storesfunctions_table',1),(10,'2021_04_20_035352_add__f_k_to_storescupsrecords_table',1),(11,'2021_04_25_142502_create_storesagentids_table',1),(12,'2021_04_25_145801_add__f_k_to_storesagentids_table',1),(19,'2021_05_01_121846_modify_stores_table',2),(20,'2021_05_01_125734_modify_stores_table_2',2),(23,'2021_05_01_131345_modify_stores_table_3',3),(27,'2021_05_01_141545_modify_storesclass_table',4),(28,'2021_05_01_142126_modify_storesclass_table_2',4),(29,'2021_05_01_143428_add__f_k_storesclass_table',5); /*!40000 ALTER TABLE `migrations` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `newslogs` -- DROP TABLE IF EXISTS `newslogs`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `newslogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `newsid` varchar(100) NOT NULL, `newstitle` varchar(255) NOT NULL, `newscontent` text, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `disname` varchar(255) DEFAULT NULL, `filename` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `newsid` (`newsid`) ) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `newslogs` -- LOCK TABLES `newslogs` WRITE; /*!40000 ALTER TABLE `newslogs` DISABLE KEYS */; INSERT INTO `newslogs` VALUES (26,'NEWS1623031398289','琉行杯新站台開放測試','琉行杯新站台從今日 6/7 起,對外開放測試!有心人士請把握時間進行測試與利用!','2021-06-06 18:03:18','2021-06-06 18:03:18','大鵬灣-小琉球05-1024x768.jpg','o0xLmNW31qEOkxK4JZwn4JTqSy4FSXBXXzHAgwt6.jpg'); /*!40000 ALTER TABLE `newslogs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `registerlogs` -- DROP TABLE IF EXISTS `registerlogs`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `registerlogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `salt` char(20) NOT NULL, `token` varchar(255) NOT NULL, `password` varchar(100) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `salt` (`salt`), UNIQUE KEY `token` (`token`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `registerlogs` -- LOCK TABLES `registerlogs` WRITE; /*!40000 ALTER TABLE `registerlogs` DISABLE KEYS */; /*!40000 ALTER TABLE `registerlogs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `rentlogs` -- DROP TABLE IF EXISTS `rentlogs`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `rentlogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cusid` varchar(20) NOT NULL, `storeid` char(100) NOT NULL, `rentid` enum('R','B') NOT NULL DEFAULT 'R', `nums` int(11) NOT NULL DEFAULT '0', `comments` varchar(255) DEFAULT NULL, `eventtimes` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `checks` enum('Y','N','B') DEFAULT 'N', `cusphone` varchar(20) NOT NULL, `backtimes` timestamp NULL DEFAULT NULL, `backstoreid` char(100) DEFAULT NULL, PRIMARY KEY (`id`,`eventtimes`) ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 /*!50100 PARTITION BY RANGE (year(`eventtimes`)) SUBPARTITION BY HASH (month(`eventtimes`)) (PARTITION year2019 VALUES LESS THAN (2020) (SUBPARTITION dec2019 ENGINE = InnoDB, SUBPARTITION jan2019 ENGINE = InnoDB, SUBPARTITION feb2019 ENGINE = InnoDB, SUBPARTITION mar2019 ENGINE = InnoDB, SUBPARTITION apr2019 ENGINE = InnoDB, SUBPARTITION may2019 ENGINE = InnoDB, SUBPARTITION jun2019 ENGINE = InnoDB, SUBPARTITION jul2019 ENGINE = InnoDB, SUBPARTITION aug2019 ENGINE = InnoDB, SUBPARTITION sep2019 ENGINE = InnoDB, SUBPARTITION oct2019 ENGINE = InnoDB, SUBPARTITION nov2019 ENGINE = InnoDB), PARTITION year2020 VALUES LESS THAN (2021) (SUBPARTITION dec2020 ENGINE = InnoDB, SUBPARTITION jan2020 ENGINE = InnoDB, SUBPARTITION feb2020 ENGINE = InnoDB, SUBPARTITION mar2020 ENGINE = InnoDB, SUBPARTITION apr2020 ENGINE = InnoDB, SUBPARTITION may2020 ENGINE = InnoDB, SUBPARTITION jun2020 ENGINE = InnoDB, SUBPARTITION jul2020 ENGINE = InnoDB, SUBPARTITION aug2020 ENGINE = InnoDB, SUBPARTITION sep2020 ENGINE = InnoDB, SUBPARTITION oct2020 ENGINE = InnoDB, SUBPARTITION nov2020 ENGINE = InnoDB), PARTITION year2021 VALUES LESS THAN (2022) (SUBPARTITION dec2021 ENGINE = InnoDB, SUBPARTITION jan2021 ENGINE = InnoDB, SUBPARTITION feb2021 ENGINE = InnoDB, SUBPARTITION mar2021 ENGINE = InnoDB, SUBPARTITION apr2021 ENGINE = InnoDB, SUBPARTITION may2021 ENGINE = InnoDB, SUBPARTITION jun2021 ENGINE = InnoDB, SUBPARTITION jul2021 ENGINE = InnoDB, SUBPARTITION aug2021 ENGINE = InnoDB, SUBPARTITION sep2021 ENGINE = InnoDB, SUBPARTITION oct2021 ENGINE = InnoDB, SUBPARTITION nov2021 ENGINE = InnoDB), PARTITION year2022 VALUES LESS THAN (2023) (SUBPARTITION dec2022 ENGINE = InnoDB, SUBPARTITION jan2022 ENGINE = InnoDB, SUBPARTITION feb2022 ENGINE = InnoDB, SUBPARTITION mar2022 ENGINE = InnoDB, SUBPARTITION apr2022 ENGINE = InnoDB, SUBPARTITION may2022 ENGINE = InnoDB, SUBPARTITION jun2022 ENGINE = InnoDB, SUBPARTITION jul2022 ENGINE = InnoDB, SUBPARTITION aug2022 ENGINE = InnoDB, SUBPARTITION sep2022 ENGINE = InnoDB, SUBPARTITION oct2022 ENGINE = InnoDB, SUBPARTITION nov2022 ENGINE = InnoDB), PARTITION year2023 VALUES LESS THAN (2024) (SUBPARTITION dec2023 ENGINE = InnoDB, SUBPARTITION jan2023 ENGINE = InnoDB, SUBPARTITION feb2023 ENGINE = InnoDB, SUBPARTITION mar2023 ENGINE = InnoDB, SUBPARTITION apr2023 ENGINE = InnoDB, SUBPARTITION may2023 ENGINE = InnoDB, SUBPARTITION jun2023 ENGINE = InnoDB, SUBPARTITION jul2023 ENGINE = InnoDB, SUBPARTITION aug2023 ENGINE = InnoDB, SUBPARTITION sep2023 ENGINE = InnoDB, SUBPARTITION oct2023 ENGINE = InnoDB, SUBPARTITION nov2023 ENGINE = InnoDB), PARTITION year2024 VALUES LESS THAN (2025) (SUBPARTITION dec2024 ENGINE = InnoDB, SUBPARTITION jan2024 ENGINE = InnoDB, SUBPARTITION feb2024 ENGINE = InnoDB, SUBPARTITION mar2024 ENGINE = InnoDB, SUBPARTITION apr2024 ENGINE = InnoDB, SUBPARTITION may2024 ENGINE = InnoDB, SUBPARTITION jun2024 ENGINE = InnoDB, SUBPARTITION jul2024 ENGINE = InnoDB, SUBPARTITION aug2024 ENGINE = InnoDB, SUBPARTITION sep2024 ENGINE = InnoDB, SUBPARTITION oct2024 ENGINE = InnoDB, SUBPARTITION nov2024 ENGINE = InnoDB), PARTITION year2025 VALUES LESS THAN (2026) (SUBPARTITION dec2025 ENGINE = InnoDB, SUBPARTITION jan2025 ENGINE = InnoDB, SUBPARTITION feb2025 ENGINE = InnoDB, SUBPARTITION mar2025 ENGINE = InnoDB, SUBPARTITION apr2025 ENGINE = InnoDB, SUBPARTITION may2025 ENGINE = InnoDB, SUBPARTITION jun2025 ENGINE = InnoDB, SUBPARTITION jul2025 ENGINE = InnoDB, SUBPARTITION aug2025 ENGINE = InnoDB, SUBPARTITION sep2025 ENGINE = InnoDB, SUBPARTITION oct2025 ENGINE = InnoDB, SUBPARTITION nov2025 ENGINE = InnoDB), PARTITION year2026 VALUES LESS THAN (2027) (SUBPARTITION dec2026 ENGINE = InnoDB, SUBPARTITION jan2026 ENGINE = InnoDB, SUBPARTITION feb2026 ENGINE = InnoDB, SUBPARTITION mar2026 ENGINE = InnoDB, SUBPARTITION apr2026 ENGINE = InnoDB, SUBPARTITION may2026 ENGINE = InnoDB, SUBPARTITION jun2026 ENGINE = InnoDB, SUBPARTITION jul2026 ENGINE = InnoDB, SUBPARTITION aug2026 ENGINE = InnoDB, SUBPARTITION sep2026 ENGINE = InnoDB, SUBPARTITION oct2026 ENGINE = InnoDB, SUBPARTITION nov2026 ENGINE = InnoDB), PARTITION year2027 VALUES LESS THAN (2028) (SUBPARTITION dec2027 ENGINE = InnoDB, SUBPARTITION jan2027 ENGINE = InnoDB, SUBPARTITION feb2027 ENGINE = InnoDB, SUBPARTITION mar2027 ENGINE = InnoDB, SUBPARTITION apr2027 ENGINE = InnoDB, SUBPARTITION may2027 ENGINE = InnoDB, SUBPARTITION jun2027 ENGINE = InnoDB, SUBPARTITION jul2027 ENGINE = InnoDB, SUBPARTITION aug2027 ENGINE = InnoDB, SUBPARTITION sep2027 ENGINE = InnoDB, SUBPARTITION oct2027 ENGINE = InnoDB, SUBPARTITION nov2027 ENGINE = InnoDB), PARTITION year2028 VALUES LESS THAN (2029) (SUBPARTITION dec2028 ENGINE = InnoDB, SUBPARTITION jan2028 ENGINE = InnoDB, SUBPARTITION feb2028 ENGINE = InnoDB, SUBPARTITION mar2028 ENGINE = InnoDB, SUBPARTITION apr2028 ENGINE = InnoDB, SUBPARTITION may2028 ENGINE = InnoDB, SUBPARTITION jun2028 ENGINE = InnoDB, SUBPARTITION jul2028 ENGINE = InnoDB, SUBPARTITION aug2028 ENGINE = InnoDB, SUBPARTITION sep2028 ENGINE = InnoDB, SUBPARTITION oct2028 ENGINE = InnoDB, SUBPARTITION nov2028 ENGINE = InnoDB), PARTITION year2029 VALUES LESS THAN (2030) (SUBPARTITION dec2029 ENGINE = InnoDB, SUBPARTITION jan2029 ENGINE = InnoDB, SUBPARTITION feb2029 ENGINE = InnoDB, SUBPARTITION mar2029 ENGINE = InnoDB, SUBPARTITION apr2029 ENGINE = InnoDB, SUBPARTITION may2029 ENGINE = InnoDB, SUBPARTITION jun2029 ENGINE = InnoDB, SUBPARTITION jul2029 ENGINE = InnoDB, SUBPARTITION aug2029 ENGINE = InnoDB, SUBPARTITION sep2029 ENGINE = InnoDB, SUBPARTITION oct2029 ENGINE = InnoDB, SUBPARTITION nov2029 ENGINE = InnoDB), PARTITION year2030 VALUES LESS THAN (2031) (SUBPARTITION dec2030 ENGINE = InnoDB, SUBPARTITION jan2030 ENGINE = InnoDB, SUBPARTITION feb2030 ENGINE = InnoDB, SUBPARTITION mar2030 ENGINE = InnoDB, SUBPARTITION apr2030 ENGINE = InnoDB, SUBPARTITION may2030 ENGINE = InnoDB, SUBPARTITION jun2030 ENGINE = InnoDB, SUBPARTITION jul2030 ENGINE = InnoDB, SUBPARTITION aug2030 ENGINE = InnoDB, SUBPARTITION sep2030 ENGINE = InnoDB, SUBPARTITION oct2030 ENGINE = InnoDB, SUBPARTITION nov2030 ENGINE = InnoDB), PARTITION future VALUES LESS THAN MAXVALUE (SUBPARTITION `dec` ENGINE = InnoDB, SUBPARTITION jan ENGINE = InnoDB, SUBPARTITION feb ENGINE = InnoDB, SUBPARTITION mar ENGINE = InnoDB, SUBPARTITION apr ENGINE = InnoDB, SUBPARTITION may ENGINE = InnoDB, SUBPARTITION jun ENGINE = InnoDB, SUBPARTITION jul ENGINE = InnoDB, SUBPARTITION aug ENGINE = InnoDB, SUBPARTITION sep ENGINE = InnoDB, SUBPARTITION oct ENGINE = InnoDB, SUBPARTITION nov ENGINE = InnoDB)) */; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `rentlogs` -- LOCK TABLES `rentlogs` WRITE; /*!40000 ALTER TABLE `rentlogs` DISABLE KEYS */; INSERT INTO `rentlogs` VALUES (1,'CUS20210517153534265','13354477','B',3,NULL,'2021-05-23 22:56:44','B','0123456789','2021-05-23 07:00:28','13354477'),(2,'CUS20210517153534265','13354477','B',4,NULL,'2021-05-23 22:56:49','B','0123456789','2021-05-23 07:00:28','13354477'),(3,'CUS20210517153534265','13354477','B',5,NULL,'2021-05-23 22:56:51','B','0123456789','2021-05-23 07:00:28','13354477'),(4,'CUS20210517153534265','13354477','B',3,NULL,'2021-05-23 23:01:12','B','0123456789','2021-05-23 07:01:35','13354477'),(5,'CUS20210517153534265','13354477','B',2,'異常','2021-05-23 23:04:17','Y','0123456789','2021-05-23 07:09:52','13354477'),(6,'CUS20210517153534265','13354477','B',5,'異常','2021-05-23 23:04:20','Y','0123456789','2021-05-23 07:09:52','13354477'),(7,'CUS20210517153534265','13354477','B',1,'異常','2021-05-23 23:04:22','Y','0123456789','2021-05-23 07:09:52','13354477'),(8,'CUS20210517153534265','13354477','B',6,NULL,'2021-05-23 23:04:25','Y','0123456789','2021-05-23 07:09:52','13354477'),(9,'CUS20210530143230377','13354477','R',1,NULL,'2021-05-30 22:32:30','Y','1234567890',NULL,NULL),(10,'CUS20210516043825341','13354477','R',1,NULL,'2021-05-30 22:35:28','N','0912345678',NULL,NULL),(11,'CUS20210516043825341','13354477','R',1,NULL,'2021-05-30 22:36:56','N','0912345678',NULL,NULL),(12,'CUS20210516043825341','13354477','R',2,NULL,'2021-05-31 11:07:23','N','0912345678',NULL,NULL),(13,'CUS20210516043825341','13354477','R',2,NULL,'2021-05-31 19:30:39','N','0912345678',NULL,NULL),(14,'CUS20210516043825341','13354477','R',3,NULL,'2021-05-31 19:31:30','N','0912345678',NULL,NULL),(15,'CUS20210516043825341','13354477','R',1,NULL,'2021-06-02 16:59:35','N','0912345678',NULL,NULL),(16,'CUS20210516043825341','13354477','R',12,NULL,'2021-06-02 17:07:18','N','0912345678',NULL,NULL),(17,'CUS20210516043825341','13354477','R',7,NULL,'2021-06-02 17:13:49','N','0912345678',NULL,NULL),(18,'CUS20210516043825341','13354477','R',9,NULL,'2021-06-02 17:14:53','N','0912345678',NULL,NULL),(19,'CUS20210516043825341','13354477','R',1,NULL,'2021-06-02 17:39:11','N','0912345678',NULL,NULL),(20,'CUS20210516043825341','13354477','R',3,NULL,'2021-06-02 17:40:18','N','0912345678',NULL,NULL),(21,'CUS20210516043825341','13354478','R',2,NULL,'2021-06-02 18:20:53','N','0912345678',NULL,NULL),(22,'CUS20210516043825341','13354478','R',2,NULL,'2021-06-02 18:30:29','N','0912345678',NULL,NULL),(23,'CUS20210516043825341','13354477','R',1,NULL,'2021-06-03 11:17:14','N','0912345678',NULL,NULL),(24,'CUS20210516043825341','13354477','R',2,NULL,'2021-06-03 11:17:56','N','0912345678',NULL,NULL); /*!40000 ALTER TABLE `rentlogs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `sociallogs` -- DROP TABLE IF EXISTS `sociallogs`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `sociallogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `storeid` varchar(100) NOT NULL, `ssname` varchar(100) NOT NULL, `sslink` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `sociallogs` -- LOCK TABLES `sociallogs` WRITE; /*!40000 ALTER TABLE `sociallogs` DISABLE KEYS */; /*!40000 ALTER TABLE `sociallogs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `stores` -- DROP TABLE IF EXISTS `stores`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `stores` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '流水序號', `storeid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家編號', `storename` char(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家名稱', `qrcodeid` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家 QRcode 編碼', `phoneno` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT '店家連絡用Email(DC2Type:json)', `lock` enum('Y','N') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y' COMMENT '凍結帳號與否', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `address` char(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '店家地址', `businessid` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家統一編號', PRIMARY KEY (`id`), UNIQUE KEY `stores_storeid_unique` (`storeid`), UNIQUE KEY `stores_qrcodeid_unique` (`qrcodeid`), UNIQUE KEY `stores_businessid_unique` (`businessid`) ) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `stores` -- LOCK TABLES `stores` WRITE; /*!40000 ALTER TABLE `stores` DISABLE KEYS */; INSERT INTO `stores` VALUES (1,'10011021','花羨沐嵐','125D1CBA5B0A98C18D','088613576',NULL,'N',NULL,'2021-06-06 01:39:09','屏東縣琉球鄉民生路84號','125D1CBA5B0A98C18D'),(2,'10031223','龜咖','125D1CBA5B0A991077','088614585',NULL,'N',NULL,'2021-06-05 19:32:43','屏東縣琉球鄉民生路63號','125D1CBA5B0A991077'),(3,'10041324','吉祥純果汁','125D1CBA5B0A9937EC','088612539',NULL,'N',NULL,'2021-06-05 06:39:13','屏東縣琉球鄉中山路144號','125D1CBA5B0A9937EC'),(4,'10051425','凍檸茶','125D1CBA5B0A995F61','0915992982',NULL,'N',NULL,'2021-06-05 06:53:01','屏東縣琉球鄉民生路32-2號','125D1CBA5B0A995F61'),(5,'10071627','吳家紅茶冰','125D1CBA5B0A99AE4B','088612679',NULL,'N',NULL,'2021-06-05 06:54:36','屏東縣琉球鄉民生路49號','125D1CBA5B0A99AE4B'),(6,'10081728','小琉球海洋甜心','125D1CBA5B0A99D5C0','000000000',NULL,'Y',NULL,'2021-06-05 06:57:53','屏東縣琉球鄉中山路99號','125D1CBA5B0A99D5C0'),(7,'10091829','小琉球 Khóo 果子菓子','125D1CBA5B0A99FD35','088612679',NULL,'Y',NULL,'2021-06-05 07:00:09','屏東縣琉球鄉民生路78號','125D1CBA5B0A99FD35'),(8,'10101930','清心福全','125D1CBA5B0A9A24AA','088611797',NULL,'N',NULL,'2021-06-05 07:56:08','屏東縣琉球鄉中正路172-7號','125D1CBA5B0A9A24AA'),(9,'10112031','Hibula小琉球店','125D1CBA5B0A9A4C1F','088614289',NULL,'Y',NULL,'2021-06-05 07:57:19','屏東縣琉球鄉民生路88-2號','125D1CBA5B0A9A4C1F'),(10,'10122132','Wave Bar 冰郎','125D1CBA5B0A9A7394','0921124435',NULL,'N',NULL,'2021-06-05 08:46:14','屏東縣琉球鄉三民路308號','125D1CBA5B0A9A7394'),(11,'10132233','灰窯人文咖啡 Coral Cafe','125D1CBA5B0A9A9B09','0921124435',NULL,'Y',NULL,NULL,'屏東縣琉球鄉民族路10號','125D1CBA5B0A9A9B09'),(12,'10142334','慢板咖啡','125D1CBA5B0A9AC27E','088612415',NULL,'N',NULL,'2021-06-05 08:03:31','屏東縣琉球鄉本漁路112-2號','125D1CBA5B0A9AC27E'),(13,'10152435','OKLATEE','125D1CBA5B0A9AE9F3','0928408426',NULL,'N',NULL,'2021-06-05 08:05:13','屏東縣琉球鄉中山路8之27號','125D1CBA5B0A9AE9F3'),(14,'10162536','悅飲小舖','125D1CBA5B0A9B1168','088612539',NULL,'N',NULL,'2021-06-05 08:06:29','屏東縣琉球鄉相埔路13之23號','125D1CBA5B0A9B1168'),(15,'10172637','小琉球瑪麗安','125D1CBA5B0A9B38DD','088614992',NULL,'N',NULL,'2021-06-05 08:08:01','屏東縣琉球鄉民生路58號','125D1CBA5B0A9B38DD'),(16,'10182738','超難喝到的紅茶','125D1CBA5B0A9B6052','088612496',NULL,'N',NULL,'2021-06-05 08:09:04','琉球鄉中山路198之1號','125D1CBA5B0A9B6052'),(17,'10192839','松本鮮奶茶','125D1CBA5B0A9B87C7','088612225',NULL,'Y',NULL,'2021-06-05 08:10:09','琉球鄉中正路172-11號','125D1CBA5B0A9B87C7'),(18,'10213041','7-ELEVEN 小琉球門市','125D1CBA5B0A9BD6B1','088614309',NULL,'N',NULL,'2021-06-05 08:11:23','琉球鄉民生路61號','125D1CBA5B0A9BD6B1'),(19,'10223142','7-ELEVEN 花瓶岩門市','125D1CBA5B0A9BFE26','088612932',NULL,'N',NULL,'2021-06-05 08:12:26','琉球鄉中山路51-5號','125D1CBA5B0A9BFE26'),(20,'10233243','7-ELEVEN 白燈塔門市','125D1CBA5B0A9C259B','088612496',NULL,'N',NULL,'2021-06-05 08:13:44','琉球鄉中正路303之2號','125D1CBA5B0A9C259B'),(21,'10324152','老早伯飲料店','125D1CC638F79D88B8','088613261',NULL,'Y',NULL,'2021-06-05 08:14:37','屏東縣琉球鄉大福村和平路20-2號','125D1CC638F79D88B8'),(22,'10334253','涼水冰店','125D1CC638F79DB02D','088612549',NULL,'Y',NULL,NULL,'屏東縣琉球鄉民生路37號','125D1CC638F79DB02D'),(23,'10344354','老甕手工粉圓','125D1CC638F79DD7A2','0925003150',NULL,'N',NULL,'2021-06-05 08:16:14','屏東縣琉球鄉民生路11-1號','125D1CC638F79DD7A2'),(24,'10354455','自己來紅茶牛奶店','125D1CC638F79DFF17','0903365099',NULL,'Y',NULL,'2021-06-05 08:19:11','屏東縣琉球鄉本福村民生路16號','125D1CC638F79DFF17'),(25,'10364556','乙順飲料店','125D1CC638F79E268C','0988509003',NULL,'N',NULL,'2021-06-05 08:20:37','屏東縣琉球鄉大福村中正路309號','125D1CC638F79E268C'),(26,'10374657','冰心茶王','125D1CC638F79E4E01','088611390',NULL,'N',NULL,'2021-06-05 08:21:58','屏東縣琉球鄉大福村和平路3巷31-5號','125D1CC638F79E4E01'),(27,'10384758','堤香茶坊','125D1CC638F79E7576','088613018',NULL,'Y',NULL,'2021-06-05 08:23:20','屏東縣琉球鄉中山路230號','125D1CC638F79E7576'),(28,'10394859','水巷茶弄','125D1CC638F79E9CEB','088613255',NULL,'Y',NULL,'2021-06-05 08:26:57','屏東縣琉球鄉中山路26之1號','125D1CC638F79E9CEB'),(29,'10404960','七里香','125D1CC638F79EC460','088614818',NULL,'N',NULL,'2021-06-05 08:27:50','屏東縣琉球鄉本福村中山路24之7號','125D1CC638F79EC460'),(30,'10415061','荷花軒','125D1CC638F79EEBD5','0989723932',NULL,'N',NULL,'2021-06-05 08:28:54','屏東縣琉球鄉中正路182-1號','125D1CC638F79EEBD5'),(31,'10445364','西晒咖啡','125F46CF6CE59F6234','0965105988',NULL,'N',NULL,'2021-06-05 08:30:16','屏東縣琉球鄉觀光港路30號','125F46CF6CE59F6234'),(32,'10455465','潛水咖啡','125F46CF6D999F89A9','0919791113',NULL,'N',NULL,'2021-06-05 08:31:39','屏東縣琉琉鄉三民路202號','125F46CF6D999F89A9'),(33,'10465566','全家便利商店','125F46CF6E839FB11E','088611797',NULL,'Y',NULL,NULL,'屏東縣琉琉鄉民生路2-6號','125F46CF6E839FB11E'),(34,'11243344','琉夏萊餐旅','125D1CBA5B0AAB8F50','088612493',NULL,'N',NULL,'2021-06-05 08:32:55','屏東縣琉球鄉民生路43-2號','125D1CBA5B0AAB8F50'),(35,'11253445','小琉球澎坊免稅商店','125D1CBA5B0AABB6C5','088612415',NULL,'N',NULL,'2021-06-05 08:34:06','屏東縣琉球鄉三民路360號','125D1CBA5B0AABB6C5'),(36,'11263546','海龜ㄉ故事','125D1CBA5B0AABDE3A','088613233',NULL,'N',NULL,'2021-06-05 08:35:45','屏東縣琉球鄉民生路84號','125D1CBA5B0AABDE3A'),(37,'11273647','蜜仔琉部','125D1CBA5B0AAC05AF','088614400',NULL,'N',NULL,'2021-06-05 08:36:47','屏東縣琉球鄉白沙觀光港10號商店','125D1CBA5B0AAC05AF'),(38,'11283748','琉行杯清洗站','125D1CBA5B0AAC2D24','088612248',NULL,'N',NULL,'2021-06-05 08:38:01','屏東縣琉球鄉民族路20號','125D1CBA5B0AAC2D24'),(39,'12293849','小島停琉-海洋獨立書店','125D1CBA5B0ABB96D9','0936237586',NULL,'Y',NULL,'2021-06-05 08:39:22','屏東縣琉球鄉中正路255-1號','125D1CBA5B0ABB96D9'),(40,'12303950','小琉球遊客中心','125D1CBA5B0ABBBE4E','088614615',NULL,'N',NULL,'2021-06-05 08:40:53','屏東縣琉球鄉民族路20號','125D1CBA5B0ABBBE4E'),(41,'12324152','鄭記香腸','125F52F8D800BC0D38','0800081223',NULL,'N',NULL,'2021-06-05 08:41:54','屏東縣琉球鄉中山路204號','125F52F8D800BC0D38'),(42,'12425162','三金馬商店','125D1CC638F7BD97CA','088612625',NULL,'N',NULL,'2021-06-05 08:43:13','屏東縣琉球鄉本福村中山路187號','125D1CC638F7BD97CA'),(43,'12435263','探索拉美','125D22CDF95EBDBF3F','088614511',NULL,'N',NULL,'2021-06-05 08:44:26','屏東縣琉球鄉碼頭9號','125D22CDF95EBDBF3F'),(44,'13011021','白燈樓旅宿','125D1CC638F7C6884D','088614848',NULL,'N',NULL,NULL,'屏東縣琉球鄉中正路303-2號','125D1CC638F7C6884D'),(45,'13021122','加依家民宿','125D1CC638F7C6AFC2','088611198',NULL,'N',NULL,'2021-06-05 17:58:37','屏東縣琉球鄉中正路184、184-1號','125D1CC638F7C6AFC2'),(46,'13031223','蘇宅旅店','125D1CC638F7C6D737','088613657',NULL,'Y',NULL,'2021-06-06 04:32:35','屏東縣琉球鄉中山路199號','125D1CC638F7C6D737'),(47,'13041324','海洋風情度假旅館','125D1CC638F7C6FEAC','088612617',NULL,'N',NULL,'2021-06-05 18:01:08','屏東縣琉球鄉民生路73之1號','125D1CC638F7C6FEAC'),(48,'13051425','馬鞍民宿','125D1CC638F7C72621','088614456',NULL,'N',NULL,'2021-06-05 18:08:51','屏東縣琉球鄉中正路170之6號','125D1CC638F7C72621'),(49,'13061526','琉球谷民宿','125D1CC638F7C74D96','088614549',NULL,'N',NULL,'2021-06-05 18:10:35','屏東縣琉球鄉三民路250號','125D1CC638F7C74D96'),(50,'13071627','南國海岸渡假特色民宿','125D1CC638F7C7750B','088613830',NULL,'N',NULL,'2021-06-05 18:11:58','屏東縣琉球鄉杉福村肚仔坪路8號','125D1CC638F7C7750B'),(51,'13081728','貝殼沙民宿','125D1CC638F7C79C80','088613050',NULL,'N',NULL,'2021-06-06 04:39:37','屏東縣琉球鄉中福村三民路221-2號','125D1CC638F7C79C80'),(52,'13091829','大峰民宿','125D1CC638F7C7C3F5','088614588',NULL,'Y',NULL,'2021-06-06 04:40:57','屏東縣琉球鄉三民路288-3號','125D1CC638F7C7C3F5'),(53,'13101930','小火雞民宿','125D1CC638F7C7EB6A','0917612006',NULL,'N',NULL,'2021-06-06 04:41:30','屏東縣琉球鄉杉福村復興路91-9號','125D1CC638F7C7EB6A'),(54,'13112031','鄉村民宿','125D1CC638F7C812DF','088611257',NULL,'Y',NULL,'2021-06-05 18:18:45','屏東縣琉球鄉中山路177之1號','125D1CC638F7C812DF'),(55,'13122132','星月旅店','125D1CC638F7C83A54','088613703',NULL,'Y',NULL,NULL,'屏東縣琉球鄉中山路116號','125D1CC638F7C83A54'),(56,'13132233','瑚岩美術館','125D1CC638F7C861C9','0928707585',NULL,'N',NULL,'2021-06-06 04:43:23','屏東縣琉球鄉本福村中山路23號','125D1CC638F7C861C9'),(57,'13142334','幸福樂民宿','125D1CC638F7C8893E','0920189071',NULL,'Y',NULL,'2021-06-05 18:21:26','屏東縣琉球鄉杉板路67號','125D1CC638F7C8893E'),(58,'13152435','白海民宿','125D1CC638F7C8B0B3','088611767',NULL,'Y',NULL,'2021-06-05 18:24:22','屏東縣琉球鄉杉板路65號','125D1CC638F7C8B0B3'),(59,'13162536','好喝ㄟ特色民宿','125D1CC638F7C8D828','088614148',NULL,'N',NULL,'2021-06-06 04:44:49','屏東縣琉球鄉中山路176號','125D1CC638F7C8D828'),(60,'13172637','樂活島嶼','125D1CC638F7C8FF9D','0975268989',NULL,'N',NULL,'2021-06-06 04:45:29','屏東縣琉球鄉杉板路91號','125D1CC638F7C8FF9D'),(61,'13182738','月牙灣','125D1CC638F7C92712','088613777',NULL,'Y',NULL,'2021-06-06 04:45:49','屏東縣琉球鄉杉板路71號','125D1CC638F7C92712'),(62,'13192839','大海的天空','125D1CC638F7C94E87','0915155815',NULL,'Y',NULL,'2021-06-06 04:46:11','屏東縣琉球鄉本漁路102號','125D1CC638F7C94E87'),(63,'13202940','1幸福民宿','125D1CC638F7C975FC','088614517',NULL,'N',NULL,'2021-06-06 04:46:35','屏東縣琉球鄉本漁路106、108號','125D1CC638F7C975FC'),(64,'13213041','7幸福民宿','125D1CC638F7C99D71','088614517',NULL,'Y',NULL,'2021-06-06 04:47:02','屏東縣琉球鄉本漁路110、112號','125D1CC638F7C99D71'),(65,'13223142','琉夏萊旅店','125D1CC638F7C9C4E6','088611133',NULL,'Y',NULL,'2021-06-06 04:47:33','屏東縣琉球鄉民生路43-2號','125D1CC638F7C9C4E6'),(66,'13233243','好樣的民宿','125D1CC638F7C9EC5B','088614466',NULL,'N',NULL,'2021-06-06 04:48:16','屏東縣琉球鄉復興路161-11號','125D1CC638F7C9EC5B'),(67,'13243344','海豚灣海景民宿','125D1CC638F7CA13D0','088612570',NULL,'N',NULL,'2021-06-06 04:48:38','屏東縣琉球鄉三民路276號','125D1CC638F7CA13D0'),(68,'13253445','漁埕民宿','125D1CC638F7CA3B45','0982096908',NULL,'N',NULL,'2021-06-06 04:48:56','屏東縣琉球鄉三民路19號','125D1CC638F7CA3B45'),(69,'13263546','彩繪民宿','125D1CC638F7CA62BA','0938317390',NULL,'Y',NULL,'2021-06-06 04:49:25','屏東縣琉球鄉本福村中山路193-1號','125D1CC638F7CA62BA'),(70,'13273647','夏堤民宿','125D1CC638F7CA8A2F','088611155',NULL,'N',NULL,'2021-06-06 04:49:51','屏東縣琉球鄉杉板路51巷2號','125D1CC638F7CA8A2F'),(71,'13283748','雲海居觀景民宿','125D1CC638F7CAB1A4','088611229',NULL,'N',NULL,'2021-06-06 04:50:11','屏東縣琉球鄉杉福村肚仔坪路6號','125D1CC638F7CAB1A4'),(72,'13293849','杉板灣十號特色民宿','125D1CC638F7CAD919','088613300',NULL,'N',NULL,'2021-06-06 04:50:34','屏東縣琉球鄉肚仔坪路2-10號','125D1CC638F7CAD919'),(73,'13303950','小琉球古拉克民宿','125D1CC638F7CB008E','0930101968',NULL,'N',NULL,'2021-06-06 04:50:59','屏東縣琉球鄉中山路61-20號','125D1CC638F7CB008E'),(74,'13314051','小琉球船屋民宿','125D1CC638F7CB2803','088612239',NULL,'N',NULL,'2021-06-06 04:51:24','屏東縣琉球鄉中山路224號','125D1CC638F7CB2803'),(75,'13324152','法拉園','125D22347214CB4F78','0988377332',NULL,'N',NULL,'2021-06-06 04:51:41','屏東縣琉球鄉相埔路92-5號','125D22347214CB4F78'),(76,'13334253','上福民宿','125D228E4F4BCB76ED','0963229013',NULL,'N',NULL,'2021-06-06 04:51:58','屏東縣琉球鄉相埔路79-6號','125D228E4F4BCB76ED'),(77,'13344354','八村民宿','125D228E4F8BCB9E62','088611188',NULL,'N',NULL,'2021-06-06 04:52:20','屏東縣琉球鄉復興路161-11號','125D228E4F8BCB9E62'),(78,'13354455','悠遊民宿','125F3A7927B8CBC5D7','0933685532',NULL,'N',NULL,'2021-06-06 04:52:42','屏東縣琉球鄉三民路146號','125F3A7927B8CBC5D7'),(79,'13354456','緣聚閣民宿','125F3A79286FCBC5D8','0905280849',NULL,'N',NULL,'2021-06-06 04:53:03','屏東縣琉球鄉民生路6號','125F3A79286FCBC5D8'),(80,'13354457','海明珠民宿','125F3A7929A9CBC5D9','088614947',NULL,'N',NULL,'2021-06-06 04:53:23','屏東縣琉球鄉上杉路101-5號','125F3A7929A9CBC5D9'),(81,'13354458','蜂潛水民宿','125F3A792A54CBC5DA','0986165777',NULL,'N',NULL,'2021-06-06 04:53:55','屏東縣琉球鄉中興路33-39號','125F3A792A54CBC5DA'),(82,'13354459','遛一遛民宿','125F3A792ACECBC5DB','0937689107',NULL,'N',NULL,'2021-06-06 04:54:14','屏東縣琉球鄉和平路三巷6-16號','125F3A792ACECBC5DB'),(83,'13354460','芭芭雅','125F52F8D7A7CBC5DC','0921258662',NULL,'N',NULL,'2021-06-06 04:54:32','屏東縣琉球鄉本福村民生路1號','125F52F8D7A7CBC5DC'),(84,'13354461','上杉看海民宿','125F46CF6E839FB11F','0966603071',NULL,'N',NULL,'2021-06-06 04:54:54','屏東縣琉球鄉上福村復興路6-32號','125F46CF6E839FB11F'),(85,'13354462','吉祥民宿','125F46CF6E839FB120','0910997753',NULL,'N',NULL,'2021-06-06 04:55:13','屏東縣琉球鄉民權路44之5號','125F46CF6E839FB120'),(86,'13354463','國王旅店','125F46CF6E839FB121','0989688395',NULL,'N',NULL,'2021-06-06 04:55:29','屏東線琉球鄉中山路43之16號','125F46CF6E839FB121'),(87,'13354464','好萊屋民宿','125F46CF6E839FB122','0933688478',NULL,'N',NULL,'2021-06-06 04:55:43','屏東縣琉球鄉上福村杉板路81巷10號','125F46CF6E839FB122'),(88,'13354465','好宿多民宿','125F46CF6E839FB123','0988777910',NULL,'N',NULL,'2021-06-06 04:56:01','屏東縣琉球鄉相埔路66號','125F46CF6E839FB123'),(89,'13354466','蜂潛水','125F46CF6E839FB124','0986165777',NULL,'N',NULL,'2021-06-06 04:56:18','屏東縣琉球鄉中興路33-39號','125F46CF6E839FB124'),(90,'13354467','彩繪假期','125F46CF6E839FB125','0938317390',NULL,'N',NULL,'2021-06-06 04:56:35','屏東縣琉球鄉中山路193-1號','125F46CF6E839FB125'),(91,'13354468','星宿海民宿','125F46CF6E839FB126','0956111530',NULL,'N',NULL,'2021-06-06 04:56:49','屏東縣琉球鄉南福村中正路2-2號','125F46CF6E839FB126'),(92,'13354469','星月民宿','125F46CF6E839FB127','0982844110',NULL,'N',NULL,'2021-06-06 04:57:05','屏東縣琉球鄉中山路116號','125F46CF6E839FB127'),(93,'13354470','景好睡民宿','125F46CF6E839FB128','0938134256',NULL,'N',NULL,'2021-06-06 04:57:21','屏東縣琉球鄉本福村民生路11號','125F46CF6E839FB128'),(94,'13354471','暮旅民宿    ','125F46CF6E839FB129','0988212039',NULL,'N',NULL,'2021-06-06 04:57:39','屏東縣琉球鄉中興路5-3號','125F46CF6E839FB129'),(95,'13354472','海墘民宿','125F46CF6E839FB130','0988537535',NULL,'N',NULL,'2021-06-06 04:57:54','屏東縣琉球鄉三民路28號','125F46CF6E839FB130'),(96,'13354473','琉球夯生態旅遊民宿','125F46CF6E839FB131','0980061585',NULL,'N',NULL,'2021-06-06 04:58:16','屏東縣琉球鄉中山路6號','125F46CF6E839FB131'),(97,'13354474','睡一宿民宿','125F46CF6E839FB132','0919172795',NULL,'N',NULL,'2021-06-06 04:58:35','屏東縣琉球鄉民生路20-1號','125F46CF6E839FB132'),(98,'13354475','輪廓莊園','125F46CF6E839FB133','0978252543',NULL,'N',NULL,'2021-06-06 04:59:19','屏東縣琉球鄉杉福村復興路163號-5','125F46CF6E839FB133'),(100,'13354476','好棒棒','13354476','0912345678',NULL,'N','2021-05-09 07:51:10',NULL,'屏東縣琉球鄉中正路四號','13354476'),(101,'13354477','好棒棒3','13354477','0912345678',NULL,'N','2021-05-09 08:05:22','2021-06-02 06:07:06','屏東縣琉球鄉中正路四號','13354477'); /*!40000 ALTER TABLE `stores` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `storesagentids` -- DROP TABLE IF EXISTS `storesagentids`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `storesagentids` ( `id` int(11) NOT NULL AUTO_INCREMENT, `agentid` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `agentname` char(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '店家管理人員姓名', `agentphone` char(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `storeid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家編號', `salt` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '加密用的 Hash Key', `token` char(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家管理人員的 Key', `password` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家管理人員密碼', `lock` enum('Y','N') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '凍結帳號與否', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `storesagentids_agentid_unique` (`agentid`), UNIQUE KEY `storesagentids_salt_unique` (`salt`), UNIQUE KEY `storesagentids_token_unique` (`token`), KEY `storesagentids_storeid_foreign` (`storeid`), CONSTRAINT `storesagentids_storeid_foreign` FOREIGN KEY (`storeid`) REFERENCES `stores` (`storeid`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `storesagentids` -- LOCK TABLES `storesagentids` WRITE; /*!40000 ALTER TABLE `storesagentids` DISABLE KEYS */; INSERT INTO `storesagentids` VALUES (5,'<EMAIL>','王小明','0192929292','13354477','$azIYlVx_W','$2y$10$zqh0ACOfvCvxXl/k75amsulQ4INs9Gp/ktRkZRSzhhaAkAg7XAgI6','ABC123Y','N','2021-05-15 04:42:50','2021-06-06 15:27:05'),(10,'<EMAIL>','shiuan','0912345678','13354475','EK9,lIxa2+','$2y$10$qnBVkMr2YfgqKFMlLXZEZeGnxwNLWj6jwZbGRbx1WmBx6L5fMHnhm','ABC123','N','2021-06-01 21:59:48','2021-06-02 02:28:32'),(13,'L<EMAIL>','暫時沒寫',NULL,'10011021','iH/C:T5W1Y','$2y$10$KpUHGYnfOeqDsHAE7jKK3.3TyfnKhaSDImivocG6vbSRYCz6pxdBG','ABC123','N','2021-06-06 18:15:34','2021-06-06 18:59:54'),(14,'L<EMAIL>','暫時沒寫',NULL,'10031223','&jRtMhSk7$','$2y$10$vDt6PkN2QtNeY2cQ3Ja56OzQ4s4oFAexaYcEE6qOyHE7AlmCf1ex.','ABC123','N','2021-06-06 18:16:35','2021-06-06 18:16:35'),(15,'L<EMAIL>','暫時沒寫',NULL,'10041324','OB;fl,1gAR','$2y$10$b92p3LpC.7.KL3nhLew2RuTjPF6FLaw2l1Pyr3H63W4xV81XHUxde','ABC123','N','2021-06-06 18:16:54','2021-06-06 18:16:54'),(16,'L<EMAIL>','暫時沒寫',NULL,'10051425','Gm+0XCEKi+','$2y$10$y.d.uqI4onTZMGMbcG1exeQ771.FLN7EaVCsfa2eTF6DVnA2G91le','ABC123','N','2021-06-06 18:17:06','2021-06-06 18:17:06'),(17,'L<EMAIL>','暫時沒寫',NULL,'10071627','8Kjhn/q+G2','$2y$10$.Ie2xKCFgK0I61aWPkcQeuH10gV/WKF3DZcq/jmm0RMSlHkwwWyX6','ABC123','N','2021-06-06 18:17:27','2021-06-06 18:17:27'),(18,'L<EMAIL>','暫時沒寫',NULL,'10081728',',6VZxrT!h1','$2y$10$jemdpMCxS4HTYDmEe7K54ukahB9XLEqOG3G2KF61gldLNXoSbeqwS','ABC123','N','2021-06-06 18:18:05','2021-06-06 18:18:05'),(19,'L<EMAIL>','暫時沒寫',NULL,'10091829','*/suBE8fGQ','$2y$10$/C84Bm9zkHwGXOjr8EbncesU/8ma9Bh9qttlBiDpVrxK.U5XLE8Kq','ABC123','N','2021-06-06 18:18:16','2021-06-06 18:18:16'),(20,'L<EMAIL>','暫時沒寫',NULL,'10101930','iF9Eb_.8mJ','$2y$10$Em.F3S8A0O40cIe9YyKiLOpOwRNkJngvCFTlFk4zmhZgMqpKqfP1O','ABC123','N','2021-06-06 18:18:29','2021-06-06 18:18:29'),(21,'L<EMAIL>','暫時沒寫',NULL,'10112031','@0JQr!7YzE','$2y$10$Pvgu1HA.baesnH/u88AGZOlBDA3sUDqZnm.ISNzYLh/yHF5QmAfLC','ABC123','N','2021-06-06 18:18:41','2021-06-06 18:18:41'),(22,'L<EMAIL>','暫時沒寫',NULL,'10122132','x58BgwFQ?;','$2y$10$MNw5xu5FjPmyK/WOZqwQcuBhb9.PZdmBw7zEXT3sXwW41..JtkhRa','ABC123','N','2021-06-06 18:18:54','2021-06-06 18:18:54'),(23,'L<EMAIL>','暫時沒寫',NULL,'10132233','5l2sJN.w,f','$2y$10$UW10ED/aPxdIdyl.J9k4ru5zWr4sb1lKNX9po4XbnYHTKYbbeskkS','ABC123','N','2021-06-06 18:19:05','2021-06-06 18:19:05'),(24,'L<EMAIL>','暫時沒寫',NULL,'10142334','HFj-!M7heo','$2y$10$eS.Dn4K5MNHMPko8icYywOzgzDevkexpggN.EBjIFTycb4QH44Kpa','ABC123','N','2021-06-06 18:19:27','2021-06-06 18:19:27'),(25,'L<EMAIL>','暫時沒寫',NULL,'10152435','Fg@Zf2,TSq','$2y$10$ZHwGMemZo4TgRRMB.eE2BuMENGg7K9VJgVwj0VZXwgC8kaW3Wi.UG','ABC123','N','2021-06-06 18:19:39','2021-06-06 18:19:39'),(26,'L<EMAIL>','暫時沒寫',NULL,'10162536','+3gsmfHb?4','$2y$10$Qzy5lUEIFT1AEViGg.agcedccwIxBTnl3r0TlSxvupUOEwzzNqZGa','ABC123','N','2021-06-06 18:19:49','2021-06-06 18:19:49'),(27,'L<EMAIL>','暫時沒寫',NULL,'10172637','l-AhUwdb+r','$2y$10$anVFvewN1FVssrBg0tGKie2gieh.9cYzL1WpEvZICTL2DICI1SJW2','ABC123','N','2021-06-06 18:20:01','2021-06-06 18:20:01'),(28,'L<EMAIL>','暫時沒寫',NULL,'10182738','HVi?PmU?fL','$2y$10$m/e/Ahu.VZ0mD7TjdbA3ZeLnj7Hcn4XZxV5u63lUmHwasr0bJ6B1i','ABC123','N','2021-06-06 18:20:10','2021-06-06 18:20:10'),(29,'L<EMAIL>','暫時沒寫',NULL,'10192839','OUiHp3qT_$','$2y$10$do/.YWYSSk2NF6SD3SZ2DOhbL30y2.yWbqYwno1VEoEyLntKD1oX.','ABC123','N','2021-06-06 18:20:20','2021-06-06 18:20:20'),(30,'L<EMAIL>','暫時沒寫',NULL,'10213041','W!AdYs-LeS','$2y$10$76lLWfvTfXJEOc4lxlFbF.nXnGXNwMCDAut0k9uEWfLHWBdyR/C4i','ABC123','N','2021-06-06 18:20:32','2021-06-06 18:20:32'),(31,'L<EMAIL>','暫時沒寫',NULL,'10223142','g*mOXGuf$5','$2y$10$RyboRuu283.rcnCe4Dl/b.9LkoA/g0nFb7Eqv1WUzXAyYN3XqJoDu','ABC123','N','2021-06-06 18:20:43','2021-06-06 18:20:43'),(32,'L<EMAIL>','暫時沒寫',NULL,'10233243','0&ALFwlp$m','$2y$10$XhVefneAps0BMxhPuTWYJOOywzFJRS082BuZmzSE3KEbgZ9sM71pe','ABC123','N','2021-06-06 18:20:55','2021-06-06 18:20:55'),(33,'L<EMAIL>','暫時沒寫',NULL,'10324152',':EiDKQzAa+','$2y$10$wSMSvDgZO.SqYgOPDmwk9uFt5.tgBDX8lH9IWF5FyGUX5lnUHp6pS','ABC<PASSWORD>','N','2021-06-06 18:21:07','2021-06-06 18:21:07'),(34,'L<EMAIL>','暫時沒寫',NULL,'10334253','mF3+hS*pKP','$2y$10$m6OYx3qz0jJlDNqU21ZhH.8C0pVgvZca/JSM/fIq8kHh.Nr91dXOq','ABC123','N','2021-06-06 18:21:19','2021-06-06 18:21:19'),(35,'L<EMAIL>','暫時沒寫',NULL,'10344354','YLH/rxam-O','$2y$10$I0dURZ/6fGVF09bGQbNa2eE1ZK44gvKX9u0voVqab1XyC2IWDloRK','ABC123','N','2021-06-06 18:21:30','2021-06-06 18:21:30'),(36,'L<EMAIL>','暫時沒寫',NULL,'10354455','poJL3H5+Z*','$2y$10$d5ALOFKVU0duI.3alKXkNeEvCFm78RERUdya6uOCsL4ChLEB37lj.','ABC123','N','2021-06-06 18:21:42','2021-06-06 18:21:42'),(37,'L<EMAIL>','暫時沒寫',NULL,'10364556','qCud;N&m8c','$2y$10$PJfSffWdZD3I9CewxdozqeFeEcX3mzKynUlYePIHFWJgw1JQ1be8m','ABC123','N','2021-06-06 18:21:57','2021-06-06 18:21:57'),(38,'L<EMAIL>','暫時沒寫',NULL,'10374657','M:fp!iIEax','$2y$10$TGE2HU8KqrhC8Z7YORcWEOGN7dsc6uEJflxJXa/fW/NLIYky8u0YO','ABC123','N','2021-06-06 18:22:08','2021-06-06 18:22:08'),(39,'L<EMAIL>','暫時沒寫',NULL,'10384758','6T.tRx1E@4','$2y$10$6j4fZEuHNQ/CqirZjyFNAu60BSR9/cr337MvqqqZ.1OEq4AU26rx.','ABC123','N','2021-06-06 18:22:18','2021-06-06 18:22:18'),(40,'L<EMAIL>','暫時沒寫',NULL,'10394859','l*LE$zamUR','$2y$10$6UPfI22FmKwo63ngI5gMyOe.Hjtdz0i6tIJ1v0CkBLqg9rk8huaMS','ABC123','N','2021-06-06 18:22:28','2021-06-06 18:22:28'),(41,'L<EMAIL>','暫時沒寫',NULL,'10404960','vOIm9-/Ery','$2y$10$u3be5OwwPbbdu//APVjt.uc4cQ0.vSP99e3PfO3H6/HBw6dUiyyrS','ABC123','N','2021-06-06 18:22:38','2021-06-06 18:22:38'),(42,'L<EMAIL>','暫時沒寫',NULL,'10415061','.YN71.FUQE','$2y$10$VRQaeqii.aEPWp7R4SAm3.3uR6tFtjWGHcHOSkFJCo3GMUYZCrv9m','ABC123','N','2021-06-06 18:22:50','2021-06-06 18:22:50'),(43,'L<EMAIL>','暫時沒寫',NULL,'10445364','b_N+y7reWk','$2y$10$b410ZIt6hVmCzfJ6tr18HO7OfvWWnHCaVM0vBUM3.bAYD.y72z27m','ABC123','N','2021-06-06 18:23:00','2021-06-06 18:23:00'),(44,'L<EMAIL>','暫時沒寫',NULL,'10455465','rz4il/gjo,','$2y$10$x3fyCRXuibOS6.9jaXtTVOSBl5HSWvz7tFnrzA53f2.t.nisSzL9e','ABC123','N','2021-06-06 18:23:18','2021-06-06 18:23:18'),(45,'L<EMAIL>','暫時沒寫',NULL,'10465566','rcv*BEDs!K','$2y$10$0QHGm9kJDRwYvhjls6SIveQjxFEu9LRK9c0p40voGsLarc6BatJ/K','ABC123','N','2021-06-06 18:23:30','2021-06-06 18:23:30'),(46,'L<EMAIL>','暫時沒寫',NULL,'11243344','vD6ZqYgG@&','$2y$10$NoefmGbmWgOBgYJfL8gIHeE3mSxUPBhoT/msfX5/qTsJOH1LGa4ze','ABC123','N','2021-06-06 18:23:52','2021-06-06 18:23:52'),(47,'L<EMAIL>','暫時沒寫',NULL,'11253445','XmpawQFh-&','$2y$10$p/gI/ZnwrUZqjqFQqFylOuG2qOv1KBf7pAFg3WgqTrVEpZ0YZBl/i','ABC123','N','2021-06-06 18:24:02','2021-06-06 18:24:02'),(48,'L<EMAIL>','暫時沒寫',NULL,'11263546','k-AUL&cquZ','$2y$10$DZlS3bsHiRLAVjzLJz8xKeAr60Xkwk3HQ2mEvW/MTiEetwteu211S','ABC123','N','2021-06-06 18:24:11','2021-06-06 18:24:11'),(49,'L<EMAIL>','暫時沒寫',NULL,'11273647','i*VWykEhZ+','$2y$10$Wsu2p1yRoreAr1lMlsrXsOciwBu9IHbFH4x3zGsUHsu97QynJC3Ka','ABC123','N','2021-06-06 18:24:24','2021-06-06 18:24:24'),(50,'L<EMAIL>','暫時沒寫',NULL,'11283748','zDF!&u673N','$2y$10$Brbl9M0/mYkFgVJ.t7Kbb.A5HI.XJeCMP4q98wiPDL79e4NOU1Lu.','ABC123','N','2021-06-06 18:24:34','2021-06-06 18:24:34'),(51,'L<EMAIL>','暫時沒寫',NULL,'12293849','nd.R6TNBh;','$2y$10$ALraiOAmn6v/dBckogHTwOI.uoFwIII0ZeFSNm9IuYP4w5tgWExRG','ABC123','N','2021-06-06 18:24:49','2021-06-06 18:24:49'),(52,'L<EMAIL>','暫時沒寫',NULL,'12303950','tA-*TaRBUG','$2y$10$uY1LtolGK7auYdK6Zkz.ruspdG96PbEKjUhLbcq2rXIdeYWz8cfzu','ABC123','N','2021-06-06 18:24:59','2021-06-06 18:24:59'),(53,'L<EMAIL>','暫時沒寫',NULL,'12324152','Ve&uB8c59/','$2y$10$oKq5g29OI8KXH/ye7qU/Guuc3wvAMzjRgmsnAgL7NYjOokjvF.I.G','ABC123','N','2021-06-06 18:25:12','2021-06-06 18:25:12'),(54,'L<EMAIL>','暫時沒寫',NULL,'12425162','sA$gKERP*S','$2y$10$QrwPR8BZUvNXkE/Ua2ZPeOZM1gaBS4egcRCqeNcFu6KTY.IHsHySK','ABC123','N','2021-06-06 18:25:23','2021-06-06 18:25:23'),(55,'L<EMAIL>','暫時沒寫',NULL,'12435263',',;apw7ogxY','$2y$10$exbHlVRipgkwAx/MMjkC3.rbP1gJ8MgpeiLhzAmbxtCziWizRfQtG','ABC123','N','2021-06-06 18:25:33','2021-06-06 18:25:33'),(56,'L<EMAIL>','暫時沒寫',NULL,'13011021','pvcS.+PfbR','$2y$10$4/Tkl1fTUz5/bKRhgY5RSOuT8/UcIoKZmsWUUHEbQPgQGJknE6C8.','ABC123','N','2021-06-06 18:25:42','2021-06-06 18:25:42'),(57,'L<EMAIL>','暫時沒寫',NULL,'13021122','3KRIvBz/$a','$2y$10$JhLoD4qhGdr2feUAbE.RTOOngcLWpkcMFhQiBfjH5bBJx7lA9YkU2','ABC123','N','2021-06-06 18:25:52','2021-06-06 18:25:52'),(58,'L<EMAIL>','暫時沒寫',NULL,'13031223','&MHE&kpaIx','$2y$10$xn8NniGa74gLt2m9f/pP6uHKJeD11btXaj2N2TK23UxmAs8yVbIBG','ABC123','N','2021-06-06 18:26:03','2021-06-06 18:26:03'),(59,'L<EMAIL>','暫時沒寫',NULL,'13041324','_u,VmrQGHY','$2y$10$GVSJ9HjHROEUhyw9phi/lOoi2VpYx5JiltcUVs8P8Rif7WQJ.9lh2','ABC123','N','2021-06-06 18:26:13','2021-06-06 18:26:13'),(60,'L<EMAIL>','暫時沒寫',NULL,'13061526','yoORSz+.FB','$2y$10$oWbRgiOOC9yIxwwAXmT/ceJtDVBwhnsCSSiEY8nt6r07pIJHOXjCG','ABC123','N','2021-06-06 18:26:31','2021-06-06 18:26:31'),(61,'L<EMAIL>','暫時沒寫',NULL,'13071627','mPAvsn,1*I','$2y$10$TdyQR4mApnJNMf2q9kyua.vS1sy1URjg2m6514hmuCGeaOEuhrv.6','ABC123','N','2021-06-06 18:26:44','2021-06-06 18:26:44'),(62,'L<EMAIL>','暫時沒寫',NULL,'13081728','Ufyk&bBa8/','$2y$10$tOUvgZ0TcEcbha2hpFtIL.HnO//20NCL76CFvOp3EbWQjVfntZ/iy','ABC123','N','2021-06-06 18:26:53','2021-06-06 18:26:53'),(63,'L<EMAIL>','暫時沒寫',NULL,'13091829','JF+-N6EtZz','$2y$10$AjNr1j/EL6IEnIHyTPIet.AxEH1AgsgHfpmPZGRijld5bUmBhl9Wu','ABC123','N','2021-06-06 18:27:03','2021-06-06 18:27:03'),(64,'L<EMAIL>','暫時沒寫',NULL,'13101930','YB*2n6oqa.','$2y$10$FN7W48Ul6e7P40VHyR8ZOuWazFQ4qR3rytl4lfkoiuOVVlx.ISMZ2','ABC123','N','2021-06-06 18:27:12','2021-06-06 18:27:12'),(65,'L<EMAIL>','暫時沒寫',NULL,'13112031','bwECuv,?xe','$2y$10$cGJeGU9PadvZkoC.NConbOK6kkzNpXdMJ9131tV6voS8E2jR5AiPO','ABC123','N','2021-06-06 18:27:24','2021-06-06 18:27:24'),(66,'L<EMAIL>','暫時沒寫',NULL,'13122132','ok*Q&X91wv','$2y$10$ZGUYY8XLhiWwEoNb5E0XqewVGwG3Q1py/eBFZmdQGkyqwhqjIlL9C','ABC123','N','2021-06-06 18:27:35','2021-06-06 18:27:35'),(67,'L<EMAIL>','暫時沒寫',NULL,'13132233','e7jhp*&Snz','$2y$10$Ucq4YeG.35vsLcrMxyV03.J5OJ8YHsH7FPhOaO5MM5QMHaSP2YASS','ABC123','N','2021-06-06 18:27:44','2021-06-06 18:27:44'),(68,'L<EMAIL>','暫時沒寫',NULL,'13142334','A49$0kGq&s','$2y$10$Xiw4MjU1Cy1Ni/2p/kfqDuOd9pxVSzzEHnQFw8UEWB9rboJmftbfO','ABC123','N','2021-06-06 18:27:54','2021-06-06 18:27:54'),(69,'L<EMAIL>','暫時沒寫',NULL,'13152435','y@,cutgOLV','$2y$10$nm1cryaATmnYXr8c21/tMOJEUvsEUSpwYSf/FWHELgRG6tpxH0Hze','ABC123','N','2021-06-06 18:28:04','2021-06-06 18:28:04'),(70,'L<EMAIL>','暫時沒寫',NULL,'13162536','?01_itqkM7','$2y$10$Bcij85eyjFHmLZU1uaHbGuEKc2cnyEUaN9VibMbeXL.2zbrB/B6Uq','ABC123','N','2021-06-06 18:28:14','2021-06-06 18:28:14'),(71,'L<EMAIL>','暫時沒寫',NULL,'13172637','$Aqpjue.JE','$2y$10$vl5G6iCtF8f7PwywelXz8u6udNxFuzf7n2LnAbyUS406ISOUVTGGq','ABC123','N','2021-06-06 18:28:23','2021-06-06 18:28:23'),(72,'L13182<EMAIL>','暫時沒寫',NULL,'13182738','f9,M1gsDU?','$2y$10$9gDN/hDs4r3tv.kJ6RlgN.z9QN04EZgEOP6uQrN94.1a3Nt4wQMlK','ABC123','N','2021-06-06 18:28:33','2021-06-06 18:28:33'),(73,'L<EMAIL>','暫時沒寫',NULL,'13192839','V+7ALT_3kS','$2y$10$aCy3bVHVu2XQCjdJ.oMuQObLj2mbofIhX9dhIW/8XR0go2F3VY0jq','ABC123','N','2021-06-06 18:28:44','2021-06-06 18:28:44'),(74,'L<EMAIL>','暫時沒寫',NULL,'13202940','NYe?9ITCw$','$2y$10$3Nf1j8ZKzOg5XYVnYL58Gea3AhnQrr8IcnDSFPaRQIeUGaPmVhI9G','ABC123','N','2021-06-06 18:28:58','2021-06-06 18:28:58'),(75,'L<EMAIL>','暫時沒寫',NULL,'13213041','QJ:u0TZxW,','$2y$10$tje7QBkYzvc3R2PJvrGbNueQN850iuzEeiozuo0JN92CxMB/NICQu','ABC123','N','2021-06-06 18:29:24','2021-06-06 18:29:24'),(76,'L<EMAIL>','暫時沒寫',NULL,'13223142','y.h5*tsAFV','$2y$10$U7TB5d.wsbZx4IWqkagCCuEVmDfoCaKvAJTrRwGDTSE4soZBXr3ju','ABC123','N','2021-06-06 18:29:35','2021-06-06 18:29:35'),(77,'L<EMAIL>','暫時沒寫',NULL,'13233243','2Jxr&/8IbU','$2y$10$9/YseyrRyTmOTGYBir7Kku5yf2u0WNm4LFB5aA1s/sg8eWfAStGly','ABC123','N','2021-06-06 18:29:44','2021-06-06 18:29:44'),(78,'L<EMAIL>','暫時沒寫',NULL,'13243344','Ps!$vRNi5z','$2y$10$N5c5T.ZcOwlhBw/Ndn.LRO4EEuk.8b9lnkj.4kYs.K1D2ygIoXy/K','ABC123','N','2021-06-06 18:29:57','2021-06-06 18:29:57'),(79,'L<EMAIL>','暫時沒寫',NULL,'13253445','sFx:6,BdgI','$2y$10$3ePGHiryVUCSU2VJ7bwyCed02xKEu0lcOSitPlRDhEYHPMG6QJTCa','ABC123','N','2021-06-06 18:30:07','2021-06-06 18:30:07'),(80,'<EMAIL>','暫時沒寫',NULL,'13263546','-o,3sUIvhS','$2y$10$OJ4vpu7/9ihssx9x8Is6ZOPGMOc7.5m6RQ7Y0lCdFD/dSNC.iBUVO','ABC123','N','2021-06-06 18:30:15','2021-06-06 18:30:15'),(81,'L<EMAIL>','暫時沒寫',NULL,'13273647',';pX_QWva5H','$2y$10$fAFEL6nlMDVScESx8HsCtewignBaxLvDYd1zAv2FRQpoUO1mV2ODW','ABC123','N','2021-06-06 18:30:26','2021-06-06 18:30:26'),(82,'<EMAIL>','暫時沒寫',NULL,'13283748','@QwBCV+Knm','$2y$10$F3DFmE0S6oylTbmaQmXG6.u4Dw0Ha/RQI7AGV5BBRp3xJxOTH//3y','ABC123','N','2021-06-06 18:30:35','2021-06-06 18:30:35'),(83,'L<EMAIL>','暫時沒寫',NULL,'13293849','pmi@DEau+C','$2y$10$.TjhfP3dbZ4EeLZCzHUXv.Cm6jiIRpiWP1sqJNb8AEB6X64jYIrUm','ABC123','N','2021-06-06 18:30:44','2021-06-06 18:30:44'),(84,'L<EMAIL>','暫時沒寫',NULL,'13303950','sj*8J,H4wa','$2y$10$vjAGvb.I5ZEh6g.5dt/nluU3rli8PL668NPBhTGK/sPSmAW67487.','ABC123','N','2021-06-06 18:30:53','2021-06-06 18:30:53'),(85,'L<EMAIL>','暫時沒寫',NULL,'13314051','DOZ$PyRjs/','$2y$10$gJpP.ZUlvzKvTHtZlymMGO6.99GgtcyTyIoGLUos7FOoSEomo9is.','ABC123','N','2021-06-06 18:31:03','2021-06-06 18:31:03'),(86,'L<EMAIL>','暫時沒寫',NULL,'13324152','O*ZiJX/ylg','$2y$10$/ZAotTpI26SMv.Klx05Oye.b0y1Nad58IOFcihWIr.ZX3yT1MoBwa','ABC123','N','2021-06-06 18:31:14','2021-06-06 18:31:14'),(87,'L<EMAIL>','暫時沒寫',NULL,'13334253','1/w-gx8LiI','$2y$10$Lhqch1adnG9OBMcO8eSaXe7HLUv.6ZqhAfBNCs3zIq5p4d/kgR.VG','ABC123','N','2021-06-06 18:31:24','2021-06-06 18:31:24'),(88,'L<EMAIL>','暫時沒寫',NULL,'13344354','n1mL-!6Gvd','$2y$10$5xRC87/MNJp.YqPqLkNSReKKWMulFlykSo0fdxBl8XxmLNFiPZCUa','ABC123','N','2021-06-06 18:31:34','2021-06-06 18:31:34'),(89,'L<EMAIL>','暫時沒寫',NULL,'13354455','9+JKLs;XY8','$2y$10$zmqPLden7V.MCySsZxKUe.ORB1yU/RMsawBkBOS1KOUQmUDWhpFbS','ABC123','N','2021-06-06 18:31:43','2021-06-06 18:31:43'),(90,'L<EMAIL>','暫時沒寫',NULL,'13354456','$wersLTfj&','$2y$10$NrLF6mopgrJhSvOvdZAc8.62hg54otGYOJnAAlZg0SfYXI1wlFBiC','ABC123','N','2021-06-06 18:31:53','2021-06-06 18:31:53'),(91,'L<EMAIL>','暫時沒寫',NULL,'13354457','zd+bveV.TH','$2y$10$MHI/kf4nzsgzsr48xb4EnuIF.ueJ5IYvPT24VprXg3CPZCRPt0Uby','ABC123','N','2021-06-06 18:32:01','2021-06-06 18:32:01'),(92,'<EMAIL>','暫時沒寫',NULL,'13354458','h/Z-G5Witv','$2y$10$BK78BMhhnhDdFaqAxb0GYOUpsVc1CodpGwAf.LM/iYwLT.YMyVPaa','ABC123','N','2021-06-06 18:32:11','2021-06-06 18:32:11'),(93,'L<EMAIL>','暫時沒寫',NULL,'13354459','+KBpsry;jE','$2y$10$9u7gpVLL1JqYznPax0VTBuAwhhtnvKDyiDdIHr7KQE2v1MIKHdSCi','ABC123','N','2021-06-06 18:32:21','2021-06-06 18:32:21'),(94,'L<EMAIL>','暫時沒寫',NULL,'13354460','@oNcl7/6x3','$2y$10$ewPUF5/qzh3iS4Y/6X1qIeFkUrGWChNlZct8FyCQeqc.Jzvqu3o8S','ABC123','N','2021-06-06 18:32:30','2021-06-06 18:32:30'),(95,'L<EMAIL>','暫時沒寫',NULL,'13354461','atkDn@d/09','$2y$10$bkliWYrkXQQR6NPg22M0iuf8Ywm4BDXqUmNbyRR3OrTWImu1.X2V6','ABC123','N','2021-06-06 18:32:39','2021-06-06 18:32:39'),(96,'<EMAIL>','暫時沒寫',NULL,'13354462','N37Pb+:ud0','$2y$10$LzfvLr/uuBBwTwSxlmchg.MvdvGV7kTxgPHf5bOpj1zOsERxv7mku','ABC123','N','2021-06-06 18:32:50','2021-06-06 18:32:50'),(97,'L<EMAIL>','暫時沒寫',NULL,'13354463','V-JsGcv$bA','$2y$10$Q7zIr8ZsI15wI2B5t3gTzOC7l3qeYyC3rmFS076nPYDOr2G3x9vRG','ABC123','N','2021-06-06 18:32:59','2021-06-06 18:32:59'),(98,'L<EMAIL>','暫時沒寫',NULL,'13354464',';CmUpIW8z?','$2y$10$WxPWzkdeTWHBhn0VA/j/Z.KB9tHhVwke7TJ1gLt4akGckiNOXAVzC','ABC123','N','2021-06-06 18:33:08','2021-06-06 18:33:08'),(99,'L<EMAIL>','暫時沒寫',NULL,'13354466','BMK.9h/65f','$2y$10$vJpqYDokjExt3waG4v7hQeBZs7C0.A8gF2yb5HVTTF3c0Kp0A9k0y','ABC123','N','2021-06-06 18:33:18','2021-06-06 18:33:18'),(100,'L<EMAIL>','暫時沒寫',NULL,'13354467','-8ic&krjwn','$2y$10$iRfxgwWhgS35eeXyQHGNVu5/EyftqXBtj63MkvHRYPrEbDaiF.w2W','ABC123','N','2021-06-06 18:33:27','2021-06-06 18:33:27'),(101,'L<EMAIL>','暫時沒寫',NULL,'13354468','K$l.Fm3Qgs','$2y$10$1bk3VXbwmB3bV7zWmgJ8qOPC7XrcItlqLV.EYiud/BMWsKGEMRzye','ABC123','N','2021-06-06 18:33:38','2021-06-06 18:33:38'),(102,'L<EMAIL>','暫時沒寫',NULL,'13354469','5L!YHqP;za','$2y$10$M3V0qSjIRIfAiq7DzOKcJ.Bfnqbee5krAL/cLIZmO6Gbie60e8lFO','ABC123','N','2021-06-06 18:33:51','2021-06-06 18:33:51'),(103,'<EMAIL>','暫時沒寫',NULL,'13354470','GaR0Lpve_*','$2y$10$LVKV2ONuLN.FNkQcqeNEiuIsl6Gm.gEExlYa4GnYYK10LOV/i1MH6','ABC123','N','2021-06-06 18:34:03','2021-06-06 18:34:03'),(104,'L<EMAIL>','暫時沒寫',NULL,'13354471','Ih,!NHc1Gs','$2y$10$gVcLES3b2jMQTh.WrBiRIutZtYTKqZ7urORwbRkWBoS3FC/oS0Ccq','ABC123','N','2021-06-06 18:34:20','2021-06-06 18:34:20'),(105,'L<EMAIL>','暫時沒寫',NULL,'13354472','bTWm+sVS?L','$2y$10$zlnSj9Fhw/bHIz4nSamNa.rvVzkTtj3PYtJ23qKAsSSK27xHX0f4e','ABC123','N','2021-06-06 18:34:29','2021-06-06 18:34:29'),(106,'<EMAIL>','暫時沒寫',NULL,'13354473','V63odk1U*;','$2y$10$gMYnkazEEXZU/WM..tTZeuzgvjjYkjy31dI08VBr4.MYqQViACgDC','ABC123','N','2021-06-06 18:34:39','2021-06-06 18:34:39'),(107,'<EMAIL>','暫時沒寫',NULL,'13354474','Vp,0X;NaJF','$2y$10$UI8UBwE8ruh2glhdpZvaROGp0DGROFM28QiZlI1r2exnJTdO3vHKy','ABC123','N','2021-06-06 18:34:55','2021-06-06 18:34:55'),(108,'<EMAIL>','暫時沒寫',NULL,'13354475','W0oJ?Sr-Uy','$2y$10$nTOHnhVEiET4iBza.rg.c.iaNCV3g7nM7kAqgttJ1hkW2F/x0L0k2','ABC123','N','2021-06-06 18:35:00','2021-06-06 18:35:00'); /*!40000 ALTER TABLE `storesagentids` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `storesclass` -- DROP TABLE IF EXISTS `storesclass`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `storesclass` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '流水序號', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `storeid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `classid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `storesclass_storeid_index` (`storeid`), KEY `storesclass_classid_index` (`classid`), CONSTRAINT `storesclass_classid_classes` FOREIGN KEY (`classid`) REFERENCES `classes` (`classid`), CONSTRAINT `storesclass_storeid_stores` FOREIGN KEY (`storeid`) REFERENCES `stores` (`storeid`) ) ENGINE=InnoDB AUTO_INCREMENT=266 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `storesclass` -- LOCK TABLES `storesclass` WRITE; /*!40000 ALTER TABLE `storesclass` DISABLE KEYS */; INSERT INTO `storesclass` VALUES (64,'2021-06-02 06:07:06','2021-06-02 06:07:06','13354477','1'),(67,'2021-06-05 06:38:18','2021-06-05 06:38:18','10041324','3'),(68,'2021-06-05 06:53:01','2021-06-05 06:53:01','10051425','3'),(69,'2021-06-05 06:54:36','2021-06-05 06:54:36','10071627','3'),(70,'2021-06-05 06:57:53','2021-06-05 06:57:53','10081728','3'),(72,'2021-06-05 07:00:09','2021-06-05 07:00:09','10091829','3'),(73,'2021-06-05 07:56:08','2021-06-05 07:56:08','10101930','3'),(74,'2021-06-05 07:57:20','2021-06-05 07:57:20','10112031','3'),(75,'2021-06-05 08:03:31','2021-06-05 08:03:31','10142334','3'),(76,'2021-06-05 08:05:13','2021-06-05 08:05:13','10152435','3'),(77,'2021-06-05 08:06:29','2021-06-05 08:06:29','10162536','3'),(78,'2021-06-05 08:08:01','2021-06-05 08:08:01','10172637','3'),(79,'2021-06-05 08:09:04','2021-06-05 08:09:04','10182738','3'),(80,'2021-06-05 08:10:09','2021-06-05 08:10:09','10192839','3'),(81,'2021-06-05 08:11:23','2021-06-05 08:11:23','10213041','3'),(82,'2021-06-05 08:12:26','2021-06-05 08:12:26','10223142','3'),(83,'2021-06-05 08:13:44','2021-06-05 08:13:44','10233243','3'),(84,'2021-06-05 08:14:37','2021-06-05 08:14:37','10324152','3'),(85,'2021-06-05 08:16:14','2021-06-05 08:16:14','10344354','3'),(86,'2021-06-05 08:19:11','2021-06-05 08:19:11','10354455','3'),(87,'2021-06-05 08:20:37','2021-06-05 08:20:37','10364556','3'),(88,'2021-06-05 08:21:58','2021-06-05 08:21:58','10374657','3'),(89,'2021-06-05 08:23:20','2021-06-05 08:23:20','10384758','3'),(90,'2021-06-05 08:26:57','2021-06-05 08:26:57','10394859','3'),(91,'2021-06-05 08:27:50','2021-06-05 08:27:50','10404960','3'),(92,'2021-06-05 08:28:54','2021-06-05 08:28:54','10415061','3'),(93,'2021-06-05 08:30:16','2021-06-05 08:30:16','10445364','3'),(94,'2021-06-05 08:31:39','2021-06-05 08:31:39','10455465','3'),(95,'2021-06-05 08:32:55','2021-06-05 08:32:55','11243344','3'),(96,'2021-06-05 08:34:06','2021-06-05 08:34:06','11253445','3'),(97,'2021-06-05 08:35:45','2021-06-05 08:35:45','11263546','3'),(98,'2021-06-05 08:36:47','2021-06-05 08:36:47','11273647','3'),(99,'2021-06-05 08:38:01','2021-06-05 08:38:01','11283748','1'),(100,'2021-06-05 08:39:22','2021-06-05 08:39:22','12293849','3'),(101,'2021-06-05 08:40:53','2021-06-05 08:40:53','12303950','3'),(102,'2021-06-05 08:41:54','2021-06-05 08:41:54','12324152','3'),(103,'2021-06-05 08:43:13','2021-06-05 08:43:13','12425162','3'),(104,'2021-06-05 08:44:26','2021-06-05 08:44:26','12435263','3'),(105,'2021-06-05 08:46:15','2021-06-05 08:46:15','10122132','3'),(106,'2021-06-05 17:58:37','2021-06-05 17:58:37','13021122','2'),(109,'2021-06-05 18:08:51','2021-06-05 18:08:51','13051425','2'),(110,'2021-06-05 18:10:35','2021-06-05 18:10:35','13061526','2'),(111,'2021-06-05 18:11:58','2021-06-05 18:11:58','13071627','2'),(116,'2021-06-05 18:18:45','2021-06-05 18:18:45','13112031','2'),(118,'2021-06-05 18:21:26','2021-06-05 18:21:26','13142334','2'),(121,'2021-06-05 18:24:22','2021-06-05 18:24:22','13152435','2'),(153,'2021-06-05 19:32:43','2021-06-05 19:32:43','10031223','3'),(155,'2021-06-06 04:33:00','2021-06-06 04:35:33','10132233','3'),(156,'2021-06-06 04:33:00','2021-06-06 04:35:33','10334253','3'),(157,'2021-06-06 04:33:00','2021-06-06 04:35:33','10465566','3'),(158,'2021-06-06 04:33:00','2021-06-06 04:35:33','13011021','2'),(159,'2021-06-06 04:33:00','2021-06-06 04:35:33','13122132','2'),(167,'2021-06-06 04:33:00','2021-06-06 04:35:33','13354476','2'),(185,'2021-06-06 01:39:10','2021-06-06 01:39:10','10011021','3'),(220,'2021-06-06 04:32:35','2021-06-06 04:32:35','13031223','2'),(221,'2021-06-06 04:39:37','2021-06-06 04:39:37','13081728','2'),(223,'2021-06-06 04:40:57','2021-06-06 04:40:57','13091829','2'),(224,'2021-06-06 04:41:31','2021-06-06 04:41:31','13101930','2'),(225,'2021-06-06 04:43:23','2021-06-06 04:43:23','13132233','2'),(226,'2021-06-06 04:44:50','2021-06-06 04:44:50','13162536','2'),(227,'2021-06-06 04:45:29','2021-06-06 04:45:29','13172637','2'),(228,'2021-06-06 04:45:49','2021-06-06 04:45:49','13182738','2'),(229,'2021-06-06 04:46:11','2021-06-06 04:46:11','13192839','2'),(230,'2021-06-06 04:46:36','2021-06-06 04:46:36','13202940','2'),(231,'2021-06-06 04:47:02','2021-06-06 04:47:02','13213041','2'),(232,'2021-06-06 04:47:33','2021-06-06 04:47:33','13223142','2'),(233,'2021-06-06 04:48:16','2021-06-06 04:48:16','13233243','2'),(234,'2021-06-06 04:48:38','2021-06-06 04:48:38','13243344','2'),(235,'2021-06-06 04:48:57','2021-06-06 04:48:57','13253445','2'),(236,'2021-06-06 04:49:25','2021-06-06 04:49:25','13263546','2'),(237,'2021-06-06 04:49:51','2021-06-06 04:49:51','13273647','2'),(238,'2021-06-06 04:50:12','2021-06-06 04:50:12','13283748','2'),(239,'2021-06-06 04:50:35','2021-06-06 04:50:35','13293849','2'),(240,'2021-06-06 04:50:59','2021-06-06 04:50:59','13303950','2'),(241,'2021-06-06 04:51:24','2021-06-06 04:51:24','13314051','2'),(242,'2021-06-06 04:51:41','2021-06-06 04:51:41','13324152','2'),(243,'2021-06-06 04:51:58','2021-06-06 04:51:58','13334253','2'),(244,'2021-06-06 04:52:21','2021-06-06 04:52:21','13344354','2'),(245,'2021-06-06 04:52:43','2021-06-06 04:52:43','13354455','2'),(246,'2021-06-06 04:53:03','2021-06-06 04:53:03','13354456','2'),(247,'2021-06-06 04:53:23','2021-06-06 04:53:23','13354457','2'),(248,'2021-06-06 04:53:56','2021-06-06 04:53:56','13354458','2'),(249,'2021-06-06 04:54:15','2021-06-06 04:54:15','13354459','2'),(250,'2021-06-06 04:54:32','2021-06-06 04:54:32','13354460','2'),(251,'2021-06-06 04:54:54','2021-06-06 04:54:54','13354461','2'),(252,'2021-06-06 04:55:13','2021-06-06 04:55:13','13354462','2'),(253,'2021-06-06 04:55:30','2021-06-06 04:55:30','13354463','2'),(254,'2021-06-06 04:55:43','2021-06-06 04:55:43','13354464','2'),(255,'2021-06-06 04:56:01','2021-06-06 04:56:01','13354465','2'),(256,'2021-06-06 04:56:18','2021-06-06 04:56:18','13354466','3'),(257,'2021-06-06 04:56:35','2021-06-06 04:56:35','13354467','3'),(258,'2021-06-06 04:56:49','2021-06-06 04:56:49','13354468','2'),(259,'2021-06-06 04:57:05','2021-06-06 04:57:05','13354469','2'),(260,'2021-06-06 04:57:21','2021-06-06 04:57:21','13354470','2'),(261,'2021-06-06 04:57:39','2021-06-06 04:57:39','13354471','2'),(262,'2021-06-06 04:57:54','2021-06-06 04:57:54','13354472','2'),(263,'2021-06-06 04:58:16','2021-06-06 04:58:16','13354473','2'),(264,'2021-06-06 04:58:35','2021-06-06 04:58:35','13354474','2'),(265,'2021-06-06 04:59:19','2021-06-06 04:59:19','13354475','2'); /*!40000 ALTER TABLE `storesclass` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `storescups` -- DROP TABLE IF EXISTS `storescups`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `storescups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `storeid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `pullcup` int(11) NOT NULL DEFAULT '0', `pushcup` int(11) NOT NULL DEFAULT '0', `comment` varchar(255) DEFAULT NULL, `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `storescups_storeid_stores` (`storeid`), CONSTRAINT `storescups_storeid_stores` FOREIGN KEY (`storeid`) REFERENCES `stores` (`storeid`) ) ENGINE=InnoDB AUTO_INCREMENT=105 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `storescups` -- LOCK TABLES `storescups` WRITE; /*!40000 ALTER TABLE `storescups` DISABLE KEYS */; INSERT INTO `storescups` VALUES (1,'13354477',0,20,NULL,'2021-05-24 20:41:44'),(2,'13354476',0,0,NULL,'2021-06-02 14:25:34'),(8,'10011021',0,0,NULL,'2021-06-07 11:08:37'),(9,'10031223',0,0,NULL,'2021-06-07 11:08:50'),(10,'10041324',0,0,NULL,'2021-06-07 11:09:02'),(11,'10051425',0,0,NULL,'2021-06-07 11:09:18'),(12,'10071627',0,0,NULL,'2021-06-07 11:09:54'),(13,'10081728',0,0,NULL,'2021-06-07 11:10:03'),(14,'10091829',0,0,NULL,'2021-06-07 11:10:15'),(15,'10101930',0,0,NULL,'2021-06-07 11:10:25'),(16,'10112031',0,0,NULL,'2021-06-07 11:10:35'),(17,'10122132',0,0,NULL,'2021-06-07 11:10:44'),(18,'10132233',0,0,NULL,'2021-06-07 11:10:54'),(19,'10142334',0,0,NULL,'2021-06-07 11:11:03'),(20,'10152435',0,0,NULL,'2021-06-07 11:11:12'),(21,'10162536',0,0,NULL,'2021-06-07 11:11:21'),(22,'10172637',0,0,NULL,'2021-06-07 11:11:34'),(23,'10182738',0,0,NULL,'2021-06-07 11:11:44'),(24,'10192839',0,0,NULL,'2021-06-07 11:11:53'),(25,'10213041',0,0,NULL,'2021-06-07 11:12:02'),(26,'10223142',0,0,NULL,'2021-06-07 11:12:13'),(27,'10233243',0,0,NULL,'2021-06-07 11:12:22'),(28,'10324152',0,0,NULL,'2021-06-07 11:12:31'),(29,'10334253',0,0,NULL,'2021-06-07 11:12:40'),(30,'10344354',0,0,NULL,'2021-06-07 11:12:49'),(31,'10354455',0,0,NULL,'2021-06-07 11:12:57'),(32,'10364556',0,0,NULL,'2021-06-07 11:13:07'),(33,'10374657',0,0,NULL,'2021-06-07 11:13:16'),(34,'10384758',0,0,NULL,'2021-06-07 11:13:24'),(35,'10394859',0,0,NULL,'2021-06-07 11:13:32'),(36,'10404960',0,0,NULL,'2021-06-07 11:13:41'),(37,'10415061',0,0,NULL,'2021-06-07 11:13:51'),(38,'10445364',0,0,NULL,'2021-06-07 11:14:00'),(39,'10455465',0,0,NULL,'2021-06-07 11:14:09'),(40,'10465566',0,0,NULL,'2021-06-07 11:14:18'),(41,'11243344',0,0,NULL,'2021-06-07 11:14:27'),(42,'11253445',0,0,NULL,'2021-06-07 11:14:40'),(43,'11263546',0,0,NULL,'2021-06-07 11:14:49'),(44,'11273647',0,0,NULL,'2021-06-07 11:15:01'),(45,'11283748',0,0,NULL,'2021-06-07 11:15:11'),(46,'12293849',0,0,NULL,'2021-06-07 11:15:22'),(47,'12303950',0,0,NULL,'2021-06-07 11:15:33'),(48,'12324152',0,0,NULL,'2021-06-07 11:15:44'),(49,'12425162',0,0,NULL,'2021-06-07 11:15:55'),(50,'12435263',0,0,NULL,'2021-06-07 11:16:04'),(51,'13011021',0,0,NULL,'2021-06-07 11:16:15'),(52,'13021122',0,0,NULL,'2021-06-07 11:16:25'),(53,'13031223',0,0,NULL,'2021-06-07 11:16:33'),(54,'13041324',0,0,NULL,'2021-06-07 11:16:41'),(55,'13061526',0,0,NULL,'2021-06-07 11:16:50'),(56,'13071627',0,0,NULL,'2021-06-07 11:17:02'),(57,'13081728',0,0,NULL,'2021-06-07 11:17:13'),(58,'13091829',0,0,NULL,'2021-06-07 11:17:22'),(59,'13101930',0,0,NULL,'2021-06-07 11:17:32'),(60,'13112031',0,0,NULL,'2021-06-07 11:17:41'),(61,'13122132',0,0,NULL,'2021-06-07 11:17:50'),(62,'13132233',0,0,NULL,'2021-06-07 11:17:59'),(63,'13142334',0,0,NULL,'2021-06-07 11:18:09'),(64,'13152435',0,0,NULL,'2021-06-07 11:18:18'),(65,'13162536',0,0,NULL,'2021-06-07 11:18:26'),(66,'13172637',0,0,NULL,'2021-06-07 11:18:39'),(67,'13182738',0,0,NULL,'2021-06-07 11:18:49'),(68,'13192839',0,0,NULL,'2021-06-07 11:19:02'),(69,'13202940',0,0,NULL,'2021-06-07 11:19:13'),(70,'13213041',0,0,NULL,'2021-06-07 11:19:26'),(71,'13223142',0,0,NULL,'2021-06-07 11:19:34'),(72,'13233243',0,0,NULL,'2021-06-07 11:19:43'),(73,'13243344',0,0,NULL,'2021-06-07 11:19:53'),(74,'13253445',0,0,NULL,'2021-06-07 11:20:02'),(75,'13263546',0,0,NULL,'2021-06-07 11:20:12'),(76,'13273647',0,0,NULL,'2021-06-07 11:20:24'),(77,'13283748',0,0,NULL,'2021-06-07 11:20:34'),(78,'13293849',0,0,NULL,'2021-06-07 11:20:42'),(79,'13303950',0,0,NULL,'2021-06-07 11:20:51'),(80,'13314051',0,0,NULL,'2021-06-07 11:21:00'),(81,'13324152',0,0,NULL,'2021-06-07 11:21:10'),(82,'13334253',0,0,NULL,'2021-06-07 11:21:18'),(83,'13344354',0,0,NULL,'2021-06-07 11:21:27'),(84,'13354455',0,0,NULL,'2021-06-07 11:21:35'),(85,'13354456',0,0,NULL,'2021-06-07 11:21:50'),(86,'13354457',0,0,NULL,'2021-06-07 11:22:07'),(87,'13354458',0,0,NULL,'2021-06-07 11:22:10'),(88,'13354459',0,0,NULL,'2021-06-07 11:22:13'),(89,'13354460',0,0,NULL,'2021-06-07 11:22:16'),(90,'13354461',0,0,NULL,'2021-06-07 11:22:18'),(91,'13354462',0,0,NULL,'2021-06-07 11:22:20'),(92,'13354463',0,0,NULL,'2021-06-07 11:22:41'),(93,'13354464',0,0,NULL,'2021-06-07 11:22:44'),(94,'13354465',0,0,NULL,'2021-06-07 11:22:46'),(95,'13354466',0,0,NULL,'2021-06-07 11:22:48'),(96,'13354467',0,0,NULL,'2021-06-07 11:22:50'),(97,'13354468',0,0,NULL,'2021-06-07 11:22:52'),(98,'13354469',0,0,NULL,'2021-06-07 11:22:54'),(99,'13354470',0,0,NULL,'2021-06-07 11:22:57'),(100,'13354471',0,0,NULL,'2021-06-07 11:22:58'),(101,'13354472',0,0,NULL,'2021-06-07 11:23:00'),(102,'13354473',0,0,NULL,'2021-06-07 11:23:02'),(103,'13354474',0,0,NULL,'2021-06-07 11:23:04'),(104,'13354475',0,0,NULL,'2021-06-07 11:23:06'); /*!40000 ALTER TABLE `storescups` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `storescupsrecords` -- DROP TABLE IF EXISTS `storescupsrecords`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `storescupsrecords` ( `id` bigint(20) unsigned NOT NULL COMMENT '流水序號', `storeid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家編號', `pullcup` int(11) NOT NULL DEFAULT '0' COMMENT '取杯數量', `pushcup` int(11) NOT NULL DEFAULT '0' COMMENT '送杯數量', `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '收送時間戳記', `adminid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '管理人員的帳號', `check` enum('Y','N') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '確認章簽', `comment` char(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '備註', PRIMARY KEY (`date`,`id`), KEY `storescupsrecords_storeid_adminid_index` (`storeid`,`adminid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci /*!50100 PARTITION BY RANGE (year(`date`)) SUBPARTITION BY HASH (month(`date`)) (PARTITION year2019 VALUES LESS THAN (2020) (SUBPARTITION dec2019 ENGINE = InnoDB, SUBPARTITION jan2019 ENGINE = InnoDB, SUBPARTITION feb2019 ENGINE = InnoDB, SUBPARTITION mar2019 ENGINE = InnoDB, SUBPARTITION apr2019 ENGINE = InnoDB, SUBPARTITION may2019 ENGINE = InnoDB, SUBPARTITION jun2019 ENGINE = InnoDB, SUBPARTITION jul2019 ENGINE = InnoDB, SUBPARTITION aug2019 ENGINE = InnoDB, SUBPARTITION sep2019 ENGINE = InnoDB, SUBPARTITION oct2019 ENGINE = InnoDB, SUBPARTITION nov2019 ENGINE = InnoDB), PARTITION year2020 VALUES LESS THAN (2021) (SUBPARTITION dec2020 ENGINE = InnoDB, SUBPARTITION jan2020 ENGINE = InnoDB, SUBPARTITION feb2020 ENGINE = InnoDB, SUBPARTITION mar2020 ENGINE = InnoDB, SUBPARTITION apr2020 ENGINE = InnoDB, SUBPARTITION may2020 ENGINE = InnoDB, SUBPARTITION jun2020 ENGINE = InnoDB, SUBPARTITION jul2020 ENGINE = InnoDB, SUBPARTITION aug2020 ENGINE = InnoDB, SUBPARTITION sep2020 ENGINE = InnoDB, SUBPARTITION oct2020 ENGINE = InnoDB, SUBPARTITION nov2020 ENGINE = InnoDB), PARTITION year2021 VALUES LESS THAN (2022) (SUBPARTITION dec2021 ENGINE = InnoDB, SUBPARTITION jan2021 ENGINE = InnoDB, SUBPARTITION feb2021 ENGINE = InnoDB, SUBPARTITION mar2021 ENGINE = InnoDB, SUBPARTITION apr2021 ENGINE = InnoDB, SUBPARTITION may2021 ENGINE = InnoDB, SUBPARTITION jun2021 ENGINE = InnoDB, SUBPARTITION jul2021 ENGINE = InnoDB, SUBPARTITION aug2021 ENGINE = InnoDB, SUBPARTITION sep2021 ENGINE = InnoDB, SUBPARTITION oct2021 ENGINE = InnoDB, SUBPARTITION nov2021 ENGINE = InnoDB), PARTITION year2022 VALUES LESS THAN (2023) (SUBPARTITION dec2022 ENGINE = InnoDB, SUBPARTITION jan2022 ENGINE = InnoDB, SUBPARTITION feb2022 ENGINE = InnoDB, SUBPARTITION mar2022 ENGINE = InnoDB, SUBPARTITION apr2022 ENGINE = InnoDB, SUBPARTITION may2022 ENGINE = InnoDB, SUBPARTITION jun2022 ENGINE = InnoDB, SUBPARTITION jul2022 ENGINE = InnoDB, SUBPARTITION aug2022 ENGINE = InnoDB, SUBPARTITION sep2022 ENGINE = InnoDB, SUBPARTITION oct2022 ENGINE = InnoDB, SUBPARTITION nov2022 ENGINE = InnoDB), PARTITION year2023 VALUES LESS THAN (2024) (SUBPARTITION dec2023 ENGINE = InnoDB, SUBPARTITION jan2023 ENGINE = InnoDB, SUBPARTITION feb2023 ENGINE = InnoDB, SUBPARTITION mar2023 ENGINE = InnoDB, SUBPARTITION apr2023 ENGINE = InnoDB, SUBPARTITION may2023 ENGINE = InnoDB, SUBPARTITION jun2023 ENGINE = InnoDB, SUBPARTITION jul2023 ENGINE = InnoDB, SUBPARTITION aug2023 ENGINE = InnoDB, SUBPARTITION sep2023 ENGINE = InnoDB, SUBPARTITION oct2023 ENGINE = InnoDB, SUBPARTITION nov2023 ENGINE = InnoDB), PARTITION year2024 VALUES LESS THAN (2025) (SUBPARTITION dec2024 ENGINE = InnoDB, SUBPARTITION jan2024 ENGINE = InnoDB, SUBPARTITION feb2024 ENGINE = InnoDB, SUBPARTITION mar2024 ENGINE = InnoDB, SUBPARTITION apr2024 ENGINE = InnoDB, SUBPARTITION may2024 ENGINE = InnoDB, SUBPARTITION jun2024 ENGINE = InnoDB, SUBPARTITION jul2024 ENGINE = InnoDB, SUBPARTITION aug2024 ENGINE = InnoDB, SUBPARTITION sep2024 ENGINE = InnoDB, SUBPARTITION oct2024 ENGINE = InnoDB, SUBPARTITION nov2024 ENGINE = InnoDB), PARTITION year2025 VALUES LESS THAN (2026) (SUBPARTITION dec2025 ENGINE = InnoDB, SUBPARTITION jan2025 ENGINE = InnoDB, SUBPARTITION feb2025 ENGINE = InnoDB, SUBPARTITION mar2025 ENGINE = InnoDB, SUBPARTITION apr2025 ENGINE = InnoDB, SUBPARTITION may2025 ENGINE = InnoDB, SUBPARTITION jun2025 ENGINE = InnoDB, SUBPARTITION jul2025 ENGINE = InnoDB, SUBPARTITION aug2025 ENGINE = InnoDB, SUBPARTITION sep2025 ENGINE = InnoDB, SUBPARTITION oct2025 ENGINE = InnoDB, SUBPARTITION nov2025 ENGINE = InnoDB), PARTITION year2026 VALUES LESS THAN (2027) (SUBPARTITION dec2026 ENGINE = InnoDB, SUBPARTITION jan2026 ENGINE = InnoDB, SUBPARTITION feb2026 ENGINE = InnoDB, SUBPARTITION mar2026 ENGINE = InnoDB, SUBPARTITION apr2026 ENGINE = InnoDB, SUBPARTITION may2026 ENGINE = InnoDB, SUBPARTITION jun2026 ENGINE = InnoDB, SUBPARTITION jul2026 ENGINE = InnoDB, SUBPARTITION aug2026 ENGINE = InnoDB, SUBPARTITION sep2026 ENGINE = InnoDB, SUBPARTITION oct2026 ENGINE = InnoDB, SUBPARTITION nov2026 ENGINE = InnoDB), PARTITION year2027 VALUES LESS THAN (2028) (SUBPARTITION dec2027 ENGINE = InnoDB, SUBPARTITION jan2027 ENGINE = InnoDB, SUBPARTITION feb2027 ENGINE = InnoDB, SUBPARTITION mar2027 ENGINE = InnoDB, SUBPARTITION apr2027 ENGINE = InnoDB, SUBPARTITION may2027 ENGINE = InnoDB, SUBPARTITION jun2027 ENGINE = InnoDB, SUBPARTITION jul2027 ENGINE = InnoDB, SUBPARTITION aug2027 ENGINE = InnoDB, SUBPARTITION sep2027 ENGINE = InnoDB, SUBPARTITION oct2027 ENGINE = InnoDB, SUBPARTITION nov2027 ENGINE = InnoDB), PARTITION year2028 VALUES LESS THAN (2029) (SUBPARTITION dec2028 ENGINE = InnoDB, SUBPARTITION jan2028 ENGINE = InnoDB, SUBPARTITION feb2028 ENGINE = InnoDB, SUBPARTITION mar2028 ENGINE = InnoDB, SUBPARTITION apr2028 ENGINE = InnoDB, SUBPARTITION may2028 ENGINE = InnoDB, SUBPARTITION jun2028 ENGINE = InnoDB, SUBPARTITION jul2028 ENGINE = InnoDB, SUBPARTITION aug2028 ENGINE = InnoDB, SUBPARTITION sep2028 ENGINE = InnoDB, SUBPARTITION oct2028 ENGINE = InnoDB, SUBPARTITION nov2028 ENGINE = InnoDB), PARTITION year2029 VALUES LESS THAN (2030) (SUBPARTITION dec2029 ENGINE = InnoDB, SUBPARTITION jan2029 ENGINE = InnoDB, SUBPARTITION feb2029 ENGINE = InnoDB, SUBPARTITION mar2029 ENGINE = InnoDB, SUBPARTITION apr2029 ENGINE = InnoDB, SUBPARTITION may2029 ENGINE = InnoDB, SUBPARTITION jun2029 ENGINE = InnoDB, SUBPARTITION jul2029 ENGINE = InnoDB, SUBPARTITION aug2029 ENGINE = InnoDB, SUBPARTITION sep2029 ENGINE = InnoDB, SUBPARTITION oct2029 ENGINE = InnoDB, SUBPARTITION nov2029 ENGINE = InnoDB), PARTITION year2030 VALUES LESS THAN (2031) (SUBPARTITION dec2030 ENGINE = InnoDB, SUBPARTITION jan2030 ENGINE = InnoDB, SUBPARTITION feb2030 ENGINE = InnoDB, SUBPARTITION mar2030 ENGINE = InnoDB, SUBPARTITION apr2030 ENGINE = InnoDB, SUBPARTITION may2030 ENGINE = InnoDB, SUBPARTITION jun2030 ENGINE = InnoDB, SUBPARTITION jul2030 ENGINE = InnoDB, SUBPARTITION aug2030 ENGINE = InnoDB, SUBPARTITION sep2030 ENGINE = InnoDB, SUBPARTITION oct2030 ENGINE = InnoDB, SUBPARTITION nov2030 ENGINE = InnoDB), PARTITION future VALUES LESS THAN MAXVALUE (SUBPARTITION `dec` ENGINE = InnoDB, SUBPARTITION jan ENGINE = InnoDB, SUBPARTITION feb ENGINE = InnoDB, SUBPARTITION mar ENGINE = InnoDB, SUBPARTITION apr ENGINE = InnoDB, SUBPARTITION may ENGINE = InnoDB, SUBPARTITION jun ENGINE = InnoDB, SUBPARTITION jul ENGINE = InnoDB, SUBPARTITION aug ENGINE = InnoDB, SUBPARTITION sep ENGINE = InnoDB, SUBPARTITION oct ENGINE = InnoDB, SUBPARTITION nov ENGINE = InnoDB)) */; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `storescupsrecords` -- LOCK TABLES `storescupsrecords` WRITE; /*!40000 ALTER TABLE `storescupsrecords` DISABLE KEYS */; /*!40000 ALTER TABLE `storescupsrecords` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `storesfunctions` -- DROP TABLE IF EXISTS `storesfunctions`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `storesfunctions` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '流水序號', `storeid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '店家編號', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `funcid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `storesfunctions_funcid_functions` (`funcid`), KEY `storesfunctions_storeid_stores` (`storeid`), CONSTRAINT `storesfunctions_funcid_functions` FOREIGN KEY (`funcid`) REFERENCES `functions` (`funcid`), CONSTRAINT `storesfunctions_storeid_stores` FOREIGN KEY (`storeid`) REFERENCES `stores` (`storeid`) ) ENGINE=InnoDB AUTO_INCREMENT=394 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `storesfunctions` -- LOCK TABLES `storesfunctions` WRITE; /*!40000 ALTER TABLE `storesfunctions` DISABLE KEYS */; INSERT INTO `storesfunctions` VALUES (8,'13354476','2021-05-13 01:43:48','2021-05-13 01:43:48','1'),(9,'13354476','2021-05-13 01:43:48','2021-05-13 01:43:48','2'),(90,'13354477','2021-06-02 06:07:06','2021-06-02 06:07:06','1'),(91,'13354477','2021-06-02 06:07:06','2021-06-02 06:07:06','2'),(151,'10041324','2021-06-05 06:39:13','2021-06-05 06:39:13','1'),(153,'10051425','2021-06-05 06:53:01','2021-06-05 06:53:01','1'),(154,'10071627','2021-06-05 06:54:36','2021-06-05 06:54:36','1'),(158,'10101930','2021-06-05 07:56:08','2021-06-05 07:56:08','1'),(160,'10142334','2021-06-05 08:03:31','2021-06-05 08:03:31','1'),(161,'10152435','2021-06-05 08:05:13','2021-06-05 08:05:13','1'),(162,'10162536','2021-06-05 08:06:29','2021-06-05 08:06:29','1'),(166,'10213041','2021-06-05 08:11:23','2021-06-05 08:11:23','1'),(167,'10223142','2021-06-05 08:12:26','2021-06-05 08:12:26','1'),(168,'10233243','2021-06-05 08:13:44','2021-06-05 08:13:44','1'),(170,'10344354','2021-06-05 08:16:14','2021-06-05 08:16:14','1'),(172,'10364556','2021-06-05 08:20:37','2021-06-05 08:20:37','1'),(173,'10374657','2021-06-05 08:21:58','2021-06-05 08:21:58','1'),(176,'10404960','2021-06-05 08:27:50','2021-06-05 08:27:50','1'),(177,'10415061','2021-06-05 08:28:54','2021-06-05 08:28:54','1'),(178,'10445364','2021-06-05 08:30:16','2021-06-05 08:30:16','1'),(179,'10455465','2021-06-05 08:31:39','2021-06-05 08:31:39','1'),(180,'11243344','2021-06-05 08:32:55','2021-06-05 08:32:55','1'),(181,'11253445','2021-06-05 08:34:06','2021-06-05 08:34:06','1'),(182,'11263546','2021-06-05 08:35:45','2021-06-05 08:35:45','1'),(183,'11273647','2021-06-05 08:36:47','2021-06-05 08:36:47','1'),(184,'11283748','2021-06-05 08:38:01','2021-06-05 08:38:01','1'),(186,'12303950','2021-06-05 08:40:53','2021-06-05 08:40:53','1'),(187,'12324152','2021-06-05 08:41:54','2021-06-05 08:41:54','1'),(188,'12425162','2021-06-05 08:43:13','2021-06-05 08:43:13','1'),(189,'12435263','2021-06-05 08:44:26','2021-06-05 08:44:26','1'),(190,'10122132','2021-06-05 08:46:15','2021-06-05 08:46:15','1'),(191,'13021122','2021-06-05 17:58:37','2021-06-05 17:58:37','1'),(193,'13041324','2021-06-05 18:01:08','2021-06-05 18:01:08','1'),(194,'13051425','2021-06-05 18:08:51','2021-06-05 18:08:51','1'),(195,'13061526','2021-06-05 18:10:35','2021-06-05 18:10:35','1'),(201,'13112031','2021-06-05 18:18:45','2021-06-05 18:18:45','1'),(203,'13142334','2021-06-05 18:21:26','2021-06-05 18:21:26','1'),(206,'13152435','2021-06-05 18:24:22','2021-06-05 18:24:22','1'),(238,'10031223','2021-06-05 19:32:43','2021-06-05 19:32:43','2'),(240,'10031223','2021-06-06 04:33:00','2021-06-06 04:35:33','1'),(241,'10041324','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(242,'10051425','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(243,'10071627','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(244,'10101930','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(245,'10122132','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(246,'10142334','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(247,'10152435','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(248,'10162536','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(250,'10172637','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(251,'10182738','2021-06-06 04:33:00','2021-06-06 04:35:33','1'),(252,'10182738','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(253,'10213041','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(254,'10223142','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(255,'10233243','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(256,'10344354','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(257,'10364556','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(258,'10404960','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(259,'10415061','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(260,'10445364','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(261,'10455465','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(262,'10465566','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(263,'11243344','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(264,'11273647','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(265,'11283748','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(266,'12303950','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(267,'12324152','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(268,'13011021','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(269,'13021122','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(270,'13041324','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(271,'13051425','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(272,'13061526','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(273,'13071627','2021-06-06 04:33:00','2021-06-06 04:35:33','2'),(295,'10011021','2021-06-06 01:39:09','2021-06-06 01:39:09','1'),(314,'13031223','2021-06-06 04:32:35','2021-06-06 04:32:35','2'),(315,'13031223','2021-06-06 04:32:35','2021-06-06 04:32:35','1'),(316,'13081728','2021-06-06 04:39:37','2021-06-06 04:39:37','2'),(318,'13091829','2021-06-06 04:40:57','2021-06-06 04:40:57','2'),(319,'13101930','2021-06-06 04:41:31','2021-06-06 04:41:31','2'),(320,'13132233','2021-06-06 04:43:23','2021-06-06 04:43:23','2'),(321,'13162536','2021-06-06 04:44:50','2021-06-06 04:44:50','2'),(322,'13172637','2021-06-06 04:45:29','2021-06-06 04:45:29','1'),(323,'13172637','2021-06-06 04:45:29','2021-06-06 04:45:29','2'),(324,'13182738','2021-06-06 04:45:49','2021-06-06 04:45:49','1'),(325,'13182738','2021-06-06 04:45:49','2021-06-06 04:45:49','2'),(326,'13192839','2021-06-06 04:46:11','2021-06-06 04:46:11','1'),(327,'13202940','2021-06-06 04:46:35','2021-06-06 04:46:35','1'),(328,'13202940','2021-06-06 04:46:35','2021-06-06 04:46:35','2'),(329,'13213041','2021-06-06 04:47:02','2021-06-06 04:47:02','1'),(330,'13223142','2021-06-06 04:47:33','2021-06-06 04:47:33','1'),(331,'13233243','2021-06-06 04:48:16','2021-06-06 04:48:16','1'),(332,'13233243','2021-06-06 04:48:16','2021-06-06 04:48:16','2'),(333,'13243344','2021-06-06 04:48:38','2021-06-06 04:48:38','1'),(334,'13243344','2021-06-06 04:48:38','2021-06-06 04:48:38','2'),(335,'13253445','2021-06-06 04:48:57','2021-06-06 04:48:57','1'),(336,'13253445','2021-06-06 04:48:57','2021-06-06 04:48:57','2'),(337,'13263546','2021-06-06 04:49:25','2021-06-06 04:49:25','1'),(338,'13273647','2021-06-06 04:49:51','2021-06-06 04:49:51','1'),(339,'13273647','2021-06-06 04:49:51','2021-06-06 04:49:51','2'),(340,'13283748','2021-06-06 04:50:11','2021-06-06 04:50:11','1'),(341,'13283748','2021-06-06 04:50:11','2021-06-06 04:50:11','2'),(342,'13293849','2021-06-06 04:50:34','2021-06-06 04:50:34','1'),(343,'13293849','2021-06-06 04:50:34','2021-06-06 04:50:34','2'),(344,'13303950','2021-06-06 04:50:59','2021-06-06 04:50:59','2'),(345,'13314051','2021-06-06 04:51:24','2021-06-06 04:51:24','2'),(346,'13324152','2021-06-06 04:51:41','2021-06-06 04:51:41','1'),(347,'13324152','2021-06-06 04:51:41','2021-06-06 04:51:41','2'),(348,'13334253','2021-06-06 04:51:58','2021-06-06 04:51:58','1'),(349,'13334253','2021-06-06 04:51:58','2021-06-06 04:51:58','2'),(350,'13344354','2021-06-06 04:52:21','2021-06-06 04:52:21','1'),(351,'13344354','2021-06-06 04:52:21','2021-06-06 04:52:21','2'),(352,'13354455','2021-06-06 04:52:42','2021-06-06 04:52:42','1'),(353,'13354455','2021-06-06 04:52:42','2021-06-06 04:52:42','2'),(354,'13354456','2021-06-06 04:53:03','2021-06-06 04:53:03','1'),(355,'13354456','2021-06-06 04:53:03','2021-06-06 04:53:03','2'),(356,'13354457','2021-06-06 04:53:23','2021-06-06 04:53:23','2'),(357,'13354458','2021-06-06 04:53:56','2021-06-06 04:53:56','1'),(358,'13354458','2021-06-06 04:53:56','2021-06-06 04:53:56','2'),(359,'13354459','2021-06-06 04:54:15','2021-06-06 04:54:15','1'),(360,'13354459','2021-06-06 04:54:15','2021-06-06 04:54:15','2'),(361,'13354460','2021-06-06 04:54:32','2021-06-06 04:54:32','1'),(362,'13354460','2021-06-06 04:54:32','2021-06-06 04:54:32','2'),(363,'13354461','2021-06-06 04:54:54','2021-06-06 04:54:54','1'),(364,'13354461','2021-06-06 04:54:54','2021-06-06 04:54:54','2'),(365,'13354461','2021-06-06 04:54:54','2021-06-06 04:54:54','3'),(366,'13354462','2021-06-06 04:55:13','2021-06-06 04:55:13','1'),(367,'13354462','2021-06-06 04:55:13','2021-06-06 04:55:13','2'),(368,'13354463','2021-06-06 04:55:30','2021-06-06 04:55:30','1'),(369,'13354463','2021-06-06 04:55:30','2021-06-06 04:55:30','2'),(370,'13354464','2021-06-06 04:55:43','2021-06-06 04:55:43','1'),(371,'13354464','2021-06-06 04:55:43','2021-06-06 04:55:43','2'),(372,'13354465','2021-06-06 04:56:01','2021-06-06 04:56:01','2'),(373,'13354465','2021-06-06 04:56:01','2021-06-06 04:56:01','1'),(374,'13354466','2021-06-06 04:56:18','2021-06-06 04:56:18','1'),(375,'13354466','2021-06-06 04:56:18','2021-06-06 04:56:18','2'),(376,'13354467','2021-06-06 04:56:35','2021-06-06 04:56:35','1'),(377,'13354467','2021-06-06 04:56:35','2021-06-06 04:56:35','2'),(378,'13354468','2021-06-06 04:56:49','2021-06-06 04:56:49','1'),(379,'13354468','2021-06-06 04:56:49','2021-06-06 04:56:49','2'),(380,'13354469','2021-06-06 04:57:05','2021-06-06 04:57:05','1'),(381,'13354469','2021-06-06 04:57:05','2021-06-06 04:57:05','2'),(382,'13354470','2021-06-06 04:57:21','2021-06-06 04:57:21','1'),(383,'13354470','2021-06-06 04:57:21','2021-06-06 04:57:21','2'),(384,'13354471','2021-06-06 04:57:39','2021-06-06 04:57:39','1'),(385,'13354471','2021-06-06 04:57:39','2021-06-06 04:57:39','2'),(386,'13354472','2021-06-06 04:57:54','2021-06-06 04:57:54','1'),(387,'13354472','2021-06-06 04:57:54','2021-06-06 04:57:54','2'),(388,'13354473','2021-06-06 04:58:16','2021-06-06 04:58:16','2'),(389,'13354473','2021-06-06 04:58:16','2021-06-06 04:58:16','1'),(390,'13354474','2021-06-06 04:58:35','2021-06-06 04:58:35','1'),(391,'13354474','2021-06-06 04:58:35','2021-06-06 04:58:35','2'),(392,'13354475','2021-06-06 04:59:19','2021-06-06 04:59:19','1'),(393,'13354475','2021-06-06 04:59:19','2021-06-06 04:59:19','2'); /*!40000 ALTER TABLE `storesfunctions` 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 2021-06-07 11:29:05
<gh_stars>0 INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (1, 1, null, 'Австралийский Союз — государство, расположенное на материке Австралия, острове Тасмания и ряде других островов Индийского и Тихого океанов. Занимает 6 место в мире по размеру территории.', '2020-02-13 13:14:53', '2020-02-13 13:14:53', '/countries/australia', 'https://gtmarket.ru/files/flags/Flag_of_Australia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (2, 2, null, 'Австрийская Республика — государство в Центральной Европе.', '2020-02-13 13:14:54', '2020-02-13 13:14:54', '/countries/austria', 'https://gtmarket.ru/files/flags/Flag_of_Austria.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (3, 3, null, 'Азербайджанская Республика — государство в восточной части Южного Кавказа.', '2020-02-13 13:14:55', '2020-02-13 13:14:55', '/countries/azerbaijan', 'https://gtmarket.ru/files/flags/Flag_of_Azerbaijan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (4, 4, null, 'Республика Албания (Republika e Shqipërisë) — государство в Центральной Европе, расположенное в западной части Балканского полуострова. Имеет государственные границы с шестью странами: на юго-западе с Италией (по морю), на северо-западе с Черногорией, на северо-востоке с Сербией и Косово, на востоке с Македонией, на юго-востоке с Грецией.', '2020-02-13 13:14:55', '2020-02-13 13:14:55', '/countries/albania', 'https://gtmarket.ru/files/flags/Flag_of_Albania.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (5, 5, null, 'Алжирская Народная Демократическая Республика (الجمهورية الجزائرية الديمقراطية الشعبية) — государство в Северной Африке. Имеет государственные границы с шестью странами: на западе с Марокко, на юго-западе с Мавританией и Мали, на юго-востоке с Нигером, на востоке с Ливией и Тунисом. Занимает первое место в Африке по размеру территории, однако основная её часть не заселена, так как расположена в пустыне Сахара.', '2020-02-13 13:14:56', '2020-02-13 13:14:56', '/countries/algeria', 'https://gtmarket.ru/files/flags/Flag_of_Algeria.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (6, 6, null, 'Республика Ангола (República de Angola) — государство в Юго-Западной Африке. Имеет государственные границы с четырьмя странами: на севере с Республикой Конго, на юге с Намибией, на востоке с Замбией, на северо-востоке с Демократической Республикой Конго.', '2020-02-13 13:14:57', '2020-02-13 13:14:57', '/countries/angola', 'https://gtmarket.ru/files/flags/Flag_of_Angola.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (7, 7, null, 'Княжество Андорра (Principat d’Andorra) — государство в Южной Европе, расположенное в восточных Пиренеях между Францией и Испанией. Относится к малым государствам.', '2020-02-13 13:14:58', '2020-02-13 13:14:58', '/countries/andorra', 'https://gtmarket.ru/files/flags/Flag_of_Andorra.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (8, 8, null, 'Антигуа и Барбуда (Antigua and Barbuda) — государство, расположенное в Карибском море на одноимённых островах в группе Малых Антильских островов. Относится к малым государствам.', '2020-02-13 13:14:59', '2020-02-13 13:14:59', '/countries/antigua', 'https://gtmarket.ru/files/flags/Flag_of_Antigua_and_Barbuda.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (9, 9, null, 'Аргентинская Республика (República Argentina) — государство в Южной Америке. Имеет государственные границы с пятью странами: на севере с Боливией и Парагваем, на западе с Чили, на северо-востоке с Бразилией и Уругваем. Занимает второе место в Южной Америке (после Бразилии) по размеру территории.', '2020-02-13 13:15:00', '2020-02-13 13:15:00', '/countries/argentina', 'https://gtmarket.ru/files/flags/Flag_of_Argentina.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (10, 10, null, 'Армения (Հայաստանի Հանրապետություն) — государство на Южном Кавказе. Имеет государственные границы с четырьмя странами: на востоке с Азербайджаном и непризнанным Организацией Объединённых Наций государственным образованием Нагорно-Карабахской Республикой, на западе с Турцией, на севере с Грузией, на юге с Ираном.', '2020-02-13 13:15:02', '2020-02-13 13:15:02', '/countries/armenia', 'https://gtmarket.ru/files/flags/Flag_of_Armenia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (11, 11, null, 'Аруба — государственное образование, расположенное на одноимённом острове в Карибском море вблизи берегов Венесуэлы.', '2020-02-13 13:15:03', '2020-02-13 13:15:03', '/countries/aruba', 'https://gtmarket.ru/files/flags/Flag_of_Aruba.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (12, 12, null, 'Исламская Республика Афганистан (د افغانستان اسلامي جمهوریت) — государство на Среднем Востоке. Имеет государственные границы с шестью странами: на севере c Туркменистаном, Узбекистаном и Таджикистаном, на юге и на востоке с Пакистаном, на северо-востоке с Китаем, на западе с Ираном.', '2020-02-13 13:15:04', '2020-02-13 13:15:04', '/countries/afghanistan', 'https://gtmarket.ru/files/flags/Flag_of_Afghanistan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (13, 13, null, 'Содружество Багамских Островов — государство, расположенное на одноимённом архипелаге в Атлантическом океане к юго-востоку от полуострова Флорида.', '2020-02-13 13:15:05', '2020-02-13 13:15:05', '/countries/bahamas', 'https://gtmarket.ru/files/flags/Flag_of_Bahamas.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (14, 14, null, 'Народная Республика Бангладеш — государство в Южной Азии, расположенное в дельте реки Ганг.', '2020-02-13 13:15:06', '2020-02-13 13:15:06', '/countries/bangladesh', 'https://gtmarket.ru/files/flags/Flag_of_Bangladesh.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (15, 15, null, 'Барбадос — государство, расположенное в Карибском море на одноимённом острове в составе Малых Антильских островов.', '2020-02-13 13:15:07', '2020-02-13 13:15:07', '/countries/barbados', 'https://gtmarket.ru/files/flags/Flag_of_Barbados.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (16, 16, null, 'Королевство Бахрейн — государство на одноимённом архипелаге в Персидском заливе.', '2020-02-13 13:15:09', '2020-02-13 13:15:09', '/countries/bahrain', 'https://gtmarket.ru/files/flags/Flag_of_Bahrain.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (17, 17, null, 'Р<NAME> — государство в Восточной Европе. Имеет государственные границы с пятью странами: на севере и востоке с Россией, на юге с Украиной, на западе с Польшей, на северо-западе с Литвой, на севере с Латвией.', '2020-02-13 13:15:10', '2020-02-13 13:15:10', '/countries/belarus', 'https://gtmarket.ru/files/flags/Flag_of_Belarus.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (18, 18, null, 'Белиз — государство в Центральной Америке.', '2020-02-13 13:15:11', '2020-02-13 13:15:11', '/countries/belize', 'https://gtmarket.ru/files/flags/Flag_of_Belize.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (19, 19, null, 'Королевство Бельгия — государство в Западной Европе.', '2020-02-13 13:15:13', '2020-02-13 13:15:13', '/countries/belgium', 'https://gtmarket.ru/files/flags/Flag_of_Belgium.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (20, 20, null, 'Респ<NAME> — государство в Западной Африке.', '2020-02-13 13:15:14', '2020-02-13 13:15:14', '/countries/benin', 'https://gtmarket.ru/files/flags/Flag_of_Benin.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (21, 21, null, 'Бермуды — государственное образование, расположенное на одноимённом архипелаге в Атлантическом океане к востоку от полуострова Флорида.', '2020-02-13 13:15:16', '2020-02-13 13:15:16', '/countries/bermuda', 'https://gtmarket.ru/files/flags/Flag_of_Bermuda.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (22, 22, null, 'Республика Болгария — государство в Восточной Европе.', '2020-02-13 13:15:17', '2020-02-13 13:15:17', '/countries/bulgaria', 'https://gtmarket.ru/files/flags/Flag_of_Bulgaria.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (23, 23, null, 'Многонациональное Государство Боливия — государство в Южной Америке.', '2020-02-13 13:15:17', '2020-02-13 13:15:17', '/countries/bolivia', 'https://gtmarket.ru/files/flags/Flag_of_Bolivia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (24, 24, null, 'Босния и Герцеговина — государство в Центральной Европе, расположенное на Балканском полуострове.', '2020-02-13 13:15:18', '2020-02-13 13:15:18', '/countries/bosnia-and-herzegovina', 'https://gtmarket.ru/files/flags/Flag_of_Bosnia_and_Herzegovina.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (25, 25, null, 'Республика Ботсвана — государство в Южной Африке.', '2020-02-13 13:15:19', '2020-02-13 13:15:19', '/countries/botswana', 'https://gtmarket.ru/files/flags/Flag_of_Botswana.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (26, 26, null, 'Федеративная Республика Бразилия — государство в Южной Америке. Относится к крупнейшим государствам мира по размеру территории и численности населения.', '2020-02-13 13:15:20', '2020-02-13 13:15:20', '/countries/brazil', 'https://gtmarket.ru/files/flags/Flag_of_Brazil.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (27, 27, null, 'Бруней-Даруссалам — государство в Юго-Восточной Азии, расположенное в северо-западной части острова Борнео.', '2020-02-13 13:15:21', '2020-02-13 13:15:21', '/countries/brunei-darussalam', 'https://gtmarket.ru/files/flags/Flag_of_Brunei.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (28, 28, null, 'Б<NAME> — государство в Западной Африке.', '2020-02-13 13:15:22', '2020-02-13 13:15:22', '/countries/burkina-faso', 'https://gtmarket.ru/files/flags/Flag_of_Burkina_Faso.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (29, 29, null, 'Республика Бурунди — государство в Центральной Африке.', '2020-02-13 13:15:23', '2020-02-13 13:15:23', '/countries/burundi', 'https://gtmarket.ru/files/flags/Flag_of_Burundi.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (30, 30, null, 'Королевство Бутан — государство в Южной Азии, расположенное в Гималаях.', '2020-02-13 13:15:24', '2020-02-13 13:15:24', '/countries/bhutan', 'https://gtmarket.ru/files/flags/Flag_of_Bhutan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (31, 31, null, 'Республика Вануату — государство в Южной части Тихого океана, расположенное на архипелаге Новые Гебриды.', '2020-02-13 13:15:25', '2020-02-13 13:15:25', '/countries/vanuatu', 'https://gtmarket.ru/files/flags/Flag_of_Vanuatu.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (32, 32, null, 'Государство-город Ватикан — государство-анклав, расположенное на территории столицы Италии города Рима. Имеет международный статус резиденции Святого Престола — высшего духовного руководства Римской Католической Церкви. Наименьшее по размеру территории государство мира, площадь которого составляет 0,44 км², а общая длина государственной границы — 3,2 км.', '2020-02-13 13:15:26', '2020-02-13 13:15:26', '/countries/vatican', 'https://gtmarket.ru/files/flags/Flag_of_Vatican.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (33, 33, null, 'Соединённое Королевство Великобритании и Северной Ирландии — государство в Западной Европе, расположенное на Британских островах у северо-западного побережья континентальной Европы.', '2020-02-13 13:15:27', '2020-02-13 13:15:27', '/countries/united-kingdom', 'https://gtmarket.ru/files/flags/Flag_of_United_Kingdom.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (34, 34, null, 'Венгрия — государство в Центральной Европе.', '2020-02-13 13:15:28', '2020-02-13 13:15:28', '/countries/hungary', 'https://gtmarket.ru/files/flags/Flag_of_Hungary.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (35, 35, null, 'Боливарианская Республика Венесуэла — государство в Южной Америке.', '2020-02-13 13:15:31', '2020-02-13 13:15:31', '/countries/venezuela', 'https://gtmarket.ru/files/flags/Flag_of_Venezuela.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (36, 36, null, 'Демократическая Республика Восточный Тимор — государство в Юго-Восточной Азии, занимающее восточную часть острова Тимор в Малайском архипелаге.', '2020-02-13 13:15:32', '2020-02-13 13:15:32', '/countries/east-timor', 'https://gtmarket.ru/files/flags/Flag_of_East_Timor.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (37, 37, null, 'Социалистическая Республика Вьетнам — государство в Юго-Восточной Азии на полуострове Индокитай.', '2020-02-13 13:15:33', '2020-02-13 13:15:33', '/countries/viet-nam', 'https://gtmarket.ru/files/flags/Flag_of_Vietnam.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (38, 38, null, 'Габонская Республика — государство в Центральной Африке.', '2020-02-13 13:15:34', '2020-02-13 13:15:34', '/countries/gabon', 'https://gtmarket.ru/files/flags/Flag_of_Gabon.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (39, 39, null, 'Республика Гаити — государство в Карибском море, расположенное в западной части острова Гаити.', '2020-02-13 13:15:36', '2020-02-13 13:15:36', '/countries/haiti', 'https://gtmarket.ru/files/flags/Flag_of_Haiti.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (40, 40, null, 'Кооперативная Республика Гайана — государство в Южной Америке.', '2020-02-13 13:15:36', '2020-02-13 13:15:36', '/countries/guyana', 'https://gtmarket.ru/files/flags/Flag_of_Guyana.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (41, 41, null, 'Республика Гамбия — государство в Западной Африке.', '2020-02-13 13:15:37', '2020-02-13 13:15:37', '/countries/gambia', 'https://gtmarket.ru/files/flags/Flag_of_Gambia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (42, 42, null, 'Республика Гана — государство в Западной Африке.', '2020-02-13 13:15:38', '2020-02-13 13:15:38', '/countries/ghana', 'https://gtmarket.ru/files/flags/Flag_of_Ghana.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (43, 43, null, 'Республика Гватемала — государство в Центральной Америке.', '2020-02-13 13:15:40', '2020-02-13 13:15:40', '/countries/guatemala', 'https://gtmarket.ru/files/flags/Flag_of_Guatemala.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (44, 44, null, 'Гвинейская Республика — государство в Западной Африке.', '2020-02-13 13:15:41', '2020-02-13 13:15:41', '/countries/guinea', 'https://gtmarket.ru/files/flags/Flag_of_Guinea.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (45, 45, null, 'Республика Гвинея-Бисау — государство в Западной Африке.', '2020-02-13 13:15:42', '2020-02-13 13:15:42', '/countries/guinea-bissau', 'https://gtmarket.ru/files/flags/Flag_of_Guinea-Bissau.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (46, 46, null, 'Федеративная Республика Германия — государство в Центральной Европе.', '2020-02-13 13:15:43', '2020-02-13 13:15:43', '/countries/germany', 'https://gtmarket.ru/files/flags/Flag_of_Germany.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (47, 47, null, 'Гибралтар — государственное образование в Южной Европе, расположенное на юге Пиренейского полуострова.', '2020-02-13 13:15:44', '2020-02-13 13:15:44', '/countries/gibraltar', 'https://gtmarket.ru/files/flags/Flag_of_Gibraltar.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (48, 48, null, 'Республика Гондурас — государство в Центральной Америке.', '2020-02-13 13:15:45', '2020-02-13 13:15:45', '/countries/honduras', 'https://gtmarket.ru/files/flags/Flag_of_Honduras.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (49, 49, null, 'Специальный административный район Гонконг (Сянган) — автономный район в составе Китайской Народной Республики, расположенный на побережье Южно-Китайского моря, и включающий в себя территорию полуострова Цзюлун (Коулун) и 262 прилегающих острова, крупнейшие из которых Дахаодао (Ланьтау) и Сянгандао (Гонконг).', '2020-02-13 13:15:46', '2020-02-13 13:15:46', '/countries/hong-kong', 'https://gtmarket.ru/files/flags/Flag_of_Hong_Kong.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (50, 50, null, 'Гренада — государство в Карибском море, расположенное на острове Гренада и части островов Гренадины в группе Малых Антильских островов.', '2020-02-13 13:15:47', '2020-02-13 13:15:47', '/countries/grenada', 'https://gtmarket.ru/files/flags/Flag_of_Grenada.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (51, 51, null, 'Гренландия — государственное образование в северной части Атлантического океана, расположенное на одноимённом острове и прилегающих островах.', '2020-02-13 13:15:48', '2020-02-13 13:15:48', '/countries/greenland', 'https://gtmarket.ru/files/flags/Flag_of_Greenland.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (52, 52, null, 'Греческая Республика — государство в Центральной Европе, расположенное на Балканском полуострове.', '2020-02-13 13:15:49', '2020-02-13 13:15:49', '/countries/greece', 'https://gtmarket.ru/files/flags/Flag_of_Greece.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (53, 53, null, 'Грузия — государство в западной части Южного Кавказа.', '2020-02-13 13:15:49', '2020-02-13 13:15:49', '/countries/georgia', 'https://gtmarket.ru/files/flags/Flag_of_Georgia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (54, 54, null, 'Королевство Дания — государство в Северной Европе, расположенное на полуострове Ютландия и ряде островов к северу от Германии.', '2020-02-13 13:15:50', '2020-02-13 13:15:50', '/countries/denmark', 'https://gtmarket.ru/files/flags/Flag_of_Denmark.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (55, 55, null, 'Демократическая Республика Конго — государство в Центральной Африке.', '2020-02-13 13:15:51', '2020-02-13 13:15:51', '/countries/democratic-republic-congo', 'https://gtmarket.ru/files/flags/Flag_of_Democratic_Republic_Congo.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (56, 56, null, 'Республика Джибути — государство в Северо-Восточной Африке.', '2020-02-13 13:15:52', '2020-02-13 13:15:52', '/countries/djibouti', 'https://gtmarket.ru/files/flags/Flag_of_Djibouti.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (57, 57, null, 'Содружество Доминики — государство, расположенное в Карибском море на одноимённом острове в составе Малых Антильских островов.', '2020-02-13 13:15:53', '2020-02-13 13:15:53', '/countries/dominica', 'https://gtmarket.ru/files/flags/Flag_of_Dominica.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (58, 58, null, 'Доминиканская Республика — государство в Карибском море, расположенное в восточной части острова Гаити.', '2020-02-13 13:15:54', '2020-02-13 13:15:54', '/countries/dominican-republic', 'https://gtmarket.ru/files/flags/Flag_of_Dominican_Republic.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (59, 59, null, 'Арабская Республика Египет — государство в Северо-Восточной Африке.', '2020-02-13 13:15:56', '2020-02-13 13:15:56', '/countries/egypt', 'https://gtmarket.ru/files/flags/Flag_of_Egypt.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (60, 60, null, 'Республика Замбия — государство, расположенное на юге центральной Африки.', '2020-02-13 13:15:57', '2020-02-13 13:15:57', '/countries/zambia', 'https://gtmarket.ru/files/flags/Flag_of_Zambia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (61, 61, null, 'Республика Зимбабве — государство в Южной Африке.', '2020-02-13 13:15:58', '2020-02-13 13:15:58', '/countries/zimbabwe', 'https://gtmarket.ru/files/flags/Flag_of_Zimbabwe.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (62, 62, null, 'Государство Израиль — государство на Ближнем Востоке.', '2020-02-13 13:15:59', '2020-02-13 13:15:59', '/countries/israel', 'https://gtmarket.ru/files/flags/Flag_of_Israel.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (63, 63, null, 'Республика Индия — государство в Южной Азии. Имеет государственные границы с девятью странами: на западе с Пакистаном, на востоке с Бангладеш и Мьянмой, на северо-востоке с Китаем, Непалом и Бутаном, на юге со Шри-Ланкой (по морю), на юго-западе с Мальдивскими Островами (по морю), на юго-востоке с Индонезией (по морю). Относится к крупнейшим государствам мира по размеру территории и численности населения.', '2020-02-13 13:16:00', '2020-02-13 13:16:00', '/countries/india', 'https://gtmarket.ru/files/flags/Flag_of_India.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (64, 64, null, 'Республика Индонезия — государство в Юго-Восточной Азии, расположенное на островах Зондского архипелага.', '2020-02-13 13:16:01', '2020-02-13 13:16:01', '/countries/indonesia', 'https://gtmarket.ru/files/flags/Flag_of_Indonesia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (65, 65, null, 'Иорданское Хашимитское Королевство — государство на Ближнем Востоке.', '2020-02-13 13:16:04', '2020-02-13 13:16:04', '/countries/jordan', 'https://gtmarket.ru/files/flags/Flag_of_Jordan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (66, 66, null, 'Республика Ирак — государство на Ближнем Востоке.', '2020-02-13 13:16:06', '2020-02-13 13:16:06', '/countries/iraq', 'https://gtmarket.ru/files/flags/Flag_of_Iraq.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (67, 67, null, 'Исламская Республика Иран — государство на Среднем Востоке.', '2020-02-13 13:16:07', '2020-02-13 13:16:07', '/countries/iran', 'https://gtmarket.ru/files/flags/Flag_of_Iran.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (68, 68, null, 'Республика Ирландия — государство в Западной Европе, расположенное на одноимённом острове к западу от Великобритании.', '2020-02-13 13:16:08', '2020-02-13 13:16:08', '/countries/ireland', 'https://gtmarket.ru/files/flags/Flag_of_Ireland.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (69, 69, null, 'Республика Исландия — государство в Северной Европе, расположенное на одноимённом острове в северной части Атлантического океана.', '2020-02-13 13:16:09', '2020-02-13 13:16:09', '/countries/iceland', 'https://gtmarket.ru/files/flags/Flag_of_Iceland.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (70, 70, null, 'Королевство Испании — государство в Юго-Западной Европе.', '2020-02-13 13:16:10', '2020-02-13 13:16:10', '/countries/spain', 'https://gtmarket.ru/files/flags/Flag_of_Spain.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (71, 71, null, 'Итальянская Республика — государство в Южной Европе.', '2020-02-13 13:16:11', '2020-02-13 13:16:11', '/countries/italy', 'https://gtmarket.ru/files/flags/Flag_of_Italy.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (72, 72, null, 'Йеменская Республика — государство в Юго-Западной Азии, расположенное на юге Аравийского полуострова.', '2020-02-13 13:16:12', '2020-02-13 13:16:12', '/countries/yemen', 'https://gtmarket.ru/files/flags/Flag_of_Yemen.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (73, 73, null, 'Республика Кабо-Верде — государство в Атлантическом океане, расположенное на архипелаге Острова Зеленого Мыса.', '2020-02-13 13:16:13', '2020-02-13 13:16:13', '/countries/cape-verde', 'https://gtmarket.ru/files/flags/Flag_of_Cape_Verde.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (74, 74, null, 'Республика Казахстан — государство в Центральной Азии. Имеет государственные границы с пятью странами: на западе и севере с Россией, на юге с Туркменистаном, Узбекистаном и Кыргызстаном, на востоке с Китаем.', '2020-02-13 13:16:14', '2020-02-13 13:16:14', '/countries/kazakhstan', 'https://gtmarket.ru/files/flags/Flag_of_Kazakhstan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (75, 75, null, '<NAME> — государственное образование в Карибском море, расположенное на группе островов к югу от острова Куба.', '2020-02-13 13:16:15', '2020-02-13 13:16:15', '/countries/cayman-islands', 'https://gtmarket.ru/files/flags/Flag_of_Cayman_Islands.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (76, 76, null, 'Королевство Камбоджа — государство в Юго-Восточной Азии, расположенное на юге полуострова Индокитай.', '2020-02-13 13:16:16', '2020-02-13 13:16:16', '/countries/cambodia', 'https://gtmarket.ru/files/flags/Flag_of_Cambodia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (77, 77, null, 'Республика Камерун — государство в западной части Центральной Африки.', '2020-02-13 13:16:17', '2020-02-13 13:16:17', '/countries/cameroon', 'https://gtmarket.ru/files/flags/Flag_of_Cameroon.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (78, 78, null, 'Канада — государство в Северной Америке. Относится к крупнейшим государствам мира по размеру территории.', '2020-02-13 13:16:18', '2020-02-13 13:16:18', '/countries/canada', 'https://gtmarket.ru/files/flags/Flag_of_Canada.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (79, 79, null, 'Катар — государство на Ближнем Востоке, расположенное на Катарском полуострове в северо-восточной части Аравийского полуострова. Имеет государственную границу с двумя странами: на юге с Саудовской Аравией, на северо-западе с Бахрейном (по морю).', '2020-02-13 13:16:19', '2020-02-13 13:16:19', '/countries/qatar', 'https://gtmarket.ru/files/flags/Flag_of_Qatar.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (80, 80, null, 'Республика Кения — государство в Восточной Африке.', '2020-02-13 13:16:20', '2020-02-13 13:16:20', '/countries/kenya', 'https://gtmarket.ru/files/flags/Flag_of_Kenya.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (81, 81, null, 'Республика Кипр — государство в Южной Европе, расположенное на одноимённом острове в Средиземном море.', '2020-02-13 13:16:21', '2020-02-13 13:16:21', '/countries/cyprus', 'https://gtmarket.ru/files/flags/Flag_of_Cyprus.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (82, 82, null, 'Республика Кирибати — государство, расположенное на группе островов в экваториальной части Тихого океана.', '2020-02-13 13:16:22', '2020-02-13 13:16:22', '/countries/kiribati', 'https://gtmarket.ru/files/flags/Flag_of_Kiribati.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (83, 83, null, 'Китайская Народная Республика (Китай) — государство в Восточной Азии. Имеет государственные границы с тринадцатью странами: на севере — с Россией и Монголией, на северо-востоке с Северной Кореей, на северо-западе с Казахстаном, на западе с Киргизией, Таджикистаном и Афганистаном, на юге — с Мьянмой, Лаосом и Вьетнамом, на юго-западе с Индией, Непалом и Бутаном. Относится к крупнейшим государствам мира по размеру территории, численности населения, экономическому и политическому влиянию.', '2020-02-13 13:16:23', '2020-02-13 13:16:23', '/countries/china', 'https://gtmarket.ru/files/flags/Flag_of_China.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (84, 84, null, 'Республика Колумбия — государство в Южной Америке.', '2020-02-13 13:16:24', '2020-02-13 13:16:24', '/countries/colombia', 'https://gtmarket.ru/files/flags/Flag_of_Colombia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (85, 85, null, 'Союз Коморских Островов — государство в Индийском океане, расположенное на группе островов в северной части Мозамбикского пролива.', '2020-02-13 13:16:25', '2020-02-13 13:16:25', '/countries/comoros', 'https://gtmarket.ru/files/flags/Flag_of_Comoros.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (86, 86, null, 'Республика Конго — государство в Центральной Африке.', '2020-02-13 13:16:26', '2020-02-13 13:16:26', '/countries/congo', 'https://gtmarket.ru/files/flags/Flag_of_Republic_of_Congo.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (87, 87, null, 'Республика Косово — государственное образование в Центральной Европе, расположенное на Балканском полуострове.', '2020-02-13 13:16:27', '2020-02-13 13:16:27', '/countries/kosovo', 'https://gtmarket.ru/files/flags/Flag_of_Kosovo.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (88, 88, null, 'Республика Коста-Рика — государство в Центральной Америке.', '2020-02-13 13:16:28', '2020-02-13 13:16:28', '/countries/costa-rica', 'https://gtmarket.ru/files/flags/Flag_of_Costa_Rica.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (89, 89, null, 'Республика Кот-д''Ивуар — государство в Западной Африке.', '2020-02-13 13:16:29', '2020-02-13 13:16:29', '/countries/cote-d-ivoire', 'https://gtmarket.ru/files/flags/Flag_of_Cote_d_Ivoire.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (90, 90, null, 'Республика Куба — государство в Карибском море, расположенное на одноимённом острове и ряде сопредельных островов.', '2020-02-13 13:16:30', '2020-02-13 13:16:30', '/countries/cuba', 'https://gtmarket.ru/files/flags/Flag_of_Cuba.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (91, 91, null, 'Государство Кувейт — государство на Ближнем Востоке, расположенное в северо-восточной части Аравийского полуострова.', '2020-02-13 13:16:31', '2020-02-13 13:16:31', '/countries/kuwait', 'https://gtmarket.ru/files/flags/Flag_of_Kuwait.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (92, 92, null, 'Кыргызская Республика — государство в Средней Азии.', '2020-02-13 13:16:33', '2020-02-13 13:16:33', '/countries/kyrgyzstan', 'https://gtmarket.ru/files/flags/Flag_of_Kyrgyzstan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (93, 93, null, 'Лаосская Народно-Демократическая Республика — государство в Юго-Восточной Азии.', '2020-02-13 13:16:34', '2020-02-13 13:16:34', '/countries/laos', 'https://gtmarket.ru/files/flags/Flag_of_Laos.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (94, 94, null, 'Латвийская Республика — государство в Северо-Восточной Европе.', '2020-02-13 13:16:34', '2020-02-13 13:16:34', '/countries/latvia', 'https://gtmarket.ru/files/flags/Flag_of_Latvia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (95, 95, null, 'Королевство Лесото — государство-анклав в Южной Африке, окружённый территорией Южно-Африканской Республики.', '2020-02-13 13:16:35', '2020-02-13 13:16:35', '/countries/lesotho', 'https://gtmarket.ru/files/flags/Flag_of_Lesotho.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (96, 96, null, 'Республика Либерия — государство в Западной Африке.', '2020-02-13 13:16:36', '2020-02-13 13:16:36', '/countries/liberia', 'https://gtmarket.ru/files/flags/Flag_of_Liberia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (97, 97, null, 'Ливанская Республика — государство на Ближнем Востоке.', '2020-02-13 13:16:37', '2020-02-13 13:16:37', '/countries/livan', 'https://gtmarket.ru/files/flags/Flag_of_Lebanon.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (98, 98, null, 'Ливийская республика — государство в Северной Африке.', '2020-02-13 13:16:38', '2020-02-13 13:16:38', '/countries/libya', 'https://gtmarket.ru/files/flags/Flag_of_Libya.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (99, 99, null, 'Литовская Республика — государство в Северо-Восточной Европе.', '2020-02-13 13:16:40', '2020-02-13 13:16:40', '/countries/lithuania', 'https://gtmarket.ru/files/flags/Flag_of_Lithuania.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (100, 100, null, '<NAME>ейн — государство в Центральной Европе, расположенное в Альпах, на границе между Швейцарией и Австрией. Относится к малым государствам, площадь которого составляет 160 км².', '2020-02-13 13:16:41', '2020-02-13 13:16:41', '/countries/liechtenstein', 'https://gtmarket.ru/files/flags/Flag_of_Liechtenstein.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (101, 101, null, 'Великое Герцогство Люксембург — государство в Западной Европе. Имеет государственные границы с тремя странами: на севере с Бельгией, на западе и на юге с Францией, на востоке с Германией.', '2020-02-13 13:16:42', '2020-02-13 13:16:42', '/countries/luxembourg', 'https://gtmarket.ru/files/flags/Flag_of_Luxembourg.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (102, 102, null, 'Республика Маврикий — государство в юго-западной части Индийского океана, расположенное на островах Маврикий и Родригес.', '2020-02-13 13:16:44', '2020-02-13 13:16:44', '/countries/mauritius', 'https://gtmarket.ru/files/flags/Flag_of_Mauritius.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (103, 103, null, 'Исламская Республика Мавритания — государство в Запачной Африке.', '2020-02-13 13:16:45', '2020-02-13 13:16:45', '/countries/mauritania', 'https://gtmarket.ru/files/flags/Flag_of_Mauritania.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (104, 104, null, 'Республика Мадагаскар — государство в юго-западной части Индийского океана, расположенное на одноимённом острове у восточного побережья Африки.', '2020-02-13 13:16:46', '2020-02-13 13:16:46', '/countries/madagascar', 'https://gtmarket.ru/files/flags/Flag_of_Madagascar.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (105, 105, null, 'Специальный административный район Макао (Аомынь) — автономный район в составе Китайской Народной Республики, расположенный на побережье Южно-Китайского моря в устье реки Сицзян, и включающий в себя территорию полуострова Макао, а также острова Ханьцзыдао (Тайпа) и Цзюадао (Колоане).', '2020-02-13 13:16:47', '2020-02-13 13:16:47', '/countries/macao', 'https://gtmarket.ru/files/flags/Flag_of_Macau.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (106, 106, null, 'Республика Македония — государство в Юго-Восточной Европе, расположенное на Балканском полуострове.', '2020-02-13 13:16:48', '2020-02-13 13:16:48', '/countries/macedonia', 'https://gtmarket.ru/files/flags/Flag_of_Macedonia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (107, 107, null, 'Республика Малави — государство в Юго-Восточной Африке.', '2020-02-13 13:16:49', '2020-02-13 13:16:49', '/countries/malawi', 'https://gtmarket.ru/files/flags/Flag_of_Malawi.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (108, 108, null, 'Малайзия — государство в Юго-Восточной Азии.', '2020-02-13 13:16:50', '2020-02-13 13:16:50', '/countries/malaysia', 'https://gtmarket.ru/files/flags/Flag_of_Malaysia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (109, 109, null, 'Республи<NAME> — государство в Западной Африке.', '2020-02-13 13:16:52', '2020-02-13 13:16:52', '/countries/mali', 'https://gtmarket.ru/files/flags/Flag_of_Mali.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (110, 110, null, 'Мальдивская Республика — государство в Южной Азии, расположенное на группе островов в Индийском океане.', '2020-02-13 13:16:52', '2020-02-13 13:16:52', '/countries/maldives', 'https://gtmarket.ru/files/flags/Flag_of_Maldives.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (111, 111, null, 'Республика Мальта — государство в Средиземном море, расположенное на Мальтийском архипелаге.', '2020-02-13 13:16:53', '2020-02-13 13:16:53', '/countries/malta', 'https://gtmarket.ru/files/flags/Flag_of_Malta.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (112, 112, null, 'Королевство Марокко — государство в Северной Африке.', '2020-02-13 13:16:54', '2020-02-13 13:16:54', '/countries/morocco', 'https://gtmarket.ru/files/flags/Flag_of_Morocco.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (113, 113, null, 'Мартиника — государство в Карибском море, расположенное на одноимённом острове в составе Малых Антильских островов.', '2020-02-13 13:16:55', '2020-02-13 13:16:55', '/countries/martinique', 'https://gtmarket.ru/files/flags/Flag_of_Martinique.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (114, 114, null, 'Мексиканские Соединённые Штаты — государство в Северной Америке.', '2020-02-13 13:16:56', '2020-02-13 13:16:56', '/countries/mexico', 'https://gtmarket.ru/files/flags/Flag_of_Mexico.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (115, 115, null, 'Федеративные Штаты Микронезии — государственное образование в Тихом океане, расположенное на Каролинских островах.', '2020-02-13 13:16:57', '2020-02-13 13:16:57', '/countries/micronesia', 'https://gtmarket.ru/files/flags/Flag_of_Micronesia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (116, 116, null, 'Республика Мозамбик — государство в Юго-Восточной Африке.', '2020-02-13 13:16:58', '2020-02-13 13:16:58', '/countries/mozambique', 'https://gtmarket.ru/files/flags/Flag_of_Mozambique.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (117, 117, null, 'Республи<NAME> — государство в Восточной Европе.', '2020-02-13 13:17:00', '2020-02-13 13:17:00', '/countries/moldova', 'https://gtmarket.ru/files/flags/Flag_of_Moldova.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (118, 118, null, '<NAME> — город-государство в Южной Европе, расположенное на побережье Средиземного моря и окруженное с суши территорией Франции. Одно из самых маленьких государств мира, площадь которого составляет 2,02 км², а общая длина государственной границы — 4,4 км.', '2020-02-13 13:17:01', '2020-02-13 13:17:01', '/countries/monaco', 'https://gtmarket.ru/files/flags/Flag_of_Monaco.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (119, 119, null, 'Монголия — государство на востоке Центральной Азии.', '2020-02-13 13:17:03', '2020-02-13 13:17:03', '/countries/mongolia', 'https://gtmarket.ru/files/flags/Flag_of_Mongolia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (120, 120, null, 'Монтсеррат — государственное образование, расположенное в Карибском море на одноимённом острове в составе Малых Антильских островов.', '2020-02-13 13:17:04', '2020-02-13 13:17:04', '/countries/montserrat', 'https://gtmarket.ru/files/flags/Flag_of_Montserrat.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (121, 121, null, '<NAME> — государство в Юго-Восточной Азии, расположенное в западной части полуострова Индокитай.', '2020-02-13 13:17:05', '2020-02-13 13:17:05', '/countries/myanmar', 'https://gtmarket.ru/files/flags/Flag_of_Myanmar.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (122, 122, null, 'Республика Намибия — государство в Юго-Западной Африке.', '2020-02-13 13:17:06', '2020-02-13 13:17:06', '/countries/namibia', 'https://gtmarket.ru/files/flags/Flag_of_Namibia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (123, 123, null, 'Республика Науру — государство на одноимённом острове в экваториальной части Тихого океана.', '2020-02-13 13:17:07', '2020-02-13 13:17:07', '/countries/nauru', 'https://gtmarket.ru/files/flags/Flag_of_Nauru.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (124, 124, null, 'Федеративная Демократическая Республика Непал — государство в Южной Азии, расположенное в Гималаях.', '2020-02-13 13:17:08', '2020-02-13 13:17:08', '/countries/nepal', 'https://gtmarket.ru/files/flags/Flag_of_Nepal.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (125, 125, null, 'Республика Нигер — государство в Западной Африке.', '2020-02-13 13:17:09', '2020-02-13 13:17:09', '/countries/niger', 'https://gtmarket.ru/files/flags/Flag_of_Niger.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (126, 126, null, 'Федеративная Республика Нигерия — государство в Западной Африке.', '2020-02-13 13:17:10', '2020-02-13 13:17:10', '/countries/nigeria', 'https://gtmarket.ru/files/flags/Flag_of_Nigeria.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (127, 127, null, 'Королевство Нидерландов — государство в Западной Европе.', '2020-02-13 13:17:11', '2020-02-13 13:17:11', '/countries/netherlands', 'https://gtmarket.ru/files/flags/Flag_of_Netherlands.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (128, 128, null, 'Республика Никарагуа — государство в Центральной Америке.', '2020-02-13 13:17:12', '2020-02-13 13:17:12', '/countries/nicaragua', 'https://gtmarket.ru/files/flags/Flag_of_Nicaragua.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (129, 129, null, 'Ниуэ — государственное образование, расположенное на одноимённом острове в южной части Тихого океана.', '2020-02-13 13:17:13', '2020-02-13 13:17:13', '/countries/niue', 'https://gtmarket.ru/files/flags/Flag_of_Niue.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (130, 130, null, 'Новая Зеландия — государство в Полинезии, расположенное в юго-западной части Тихого океана на двух больших островах: Северном и Южном, разделённых проливом Кука, включая также прилегающие малые острова.', '2020-02-13 13:17:14', '2020-02-13 13:17:14', '/countries/new-zealand', 'https://gtmarket.ru/files/flags/Flag_of_New_Zealand.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (131, 131, null, 'Новая Каледония — государство в юго-западной части Тихого океана, расположенное на одноимённом острове и прилегающих островах.', '2020-02-13 13:17:15', '2020-02-13 13:17:15', '/countries/new-caledonia', 'https://gtmarket.ru/files/flags/Flag_of_France.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (132, 132, null, 'Королевство Норвегия — государство в Северной Европе, расположенное в западной части Скандинавского полуострова, а также внешних территориях: архипелаг Шпицберген и остров Медвежий (Северный Ледовитый океан), остров Ян-Майен (северная часть Атлантического океана), остров Буве (южная часть Атлантического океана). Имеет государственные границы с тремя странами: на востоке со Швецией, на северо-востоке с Финляндией и Россией.', '2020-02-13 13:17:16', '2020-02-13 13:17:16', '/countries/norway', 'https://gtmarket.ru/files/flags/Flag_of_Norway.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (133, 133, null, 'Объединённые Арабские Эмираты — государство на Ближнем Востоке, расположенное в восточной части Аравийского полуострова.', '2020-02-13 13:17:17', '2020-02-13 13:17:17', '/countries/united-arab-emirates', 'https://gtmarket.ru/files/flags/Flag_of_United_Arab_Emirates.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (134, 134, null, 'Султанат Оман — государство на Ближнем Востоке, расположенное на Аравийском полуострове.', '2020-02-13 13:17:18', '2020-02-13 13:17:18', '/countries/oman', 'https://gtmarket.ru/files/flags/Flag_of_Oman.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (135, 135, null, 'Острова Кука — государственное образование, расположенное на одноимённом архипелаге в южной части Тихого океана.', '2020-02-13 13:17:19', '2020-02-13 13:17:19', '/countries/cook-islands', 'https://gtmarket.ru/files/flags/Flag_of_Cook_Islands.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (136, 136, null, 'Исламская Республика Пакистан — государство в Южной Азии.', '2020-02-13 13:17:20', '2020-02-13 13:17:20', '/countries/pakistan', 'https://gtmarket.ru/files/flags/Flag_of_Pakistan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (137, 137, null, 'Республика Палау — государство в Тихом океане, расположенное на одноимённом острове к востоку от Филиппин и к северу от Индонезии.', '2020-02-13 13:17:21', '2020-02-13 13:17:21', '/countries/palau', 'https://gtmarket.ru/files/flags/Flag_of_Palau.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (138, 138, null, 'Республика Панама — государство в Центральной Америке.', '2020-02-13 13:17:22', '2020-02-13 13:17:22', '/countries/panama', 'https://gtmarket.ru/files/flags/Flag_of_Panama.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (139, 139, null, 'Независимое Государство Папуа — Новая Гвинея — государство в Океании, расположенное на восточной части острова Новая Гвинея, архипелаге Бисмарка и северной части Соломоновых островов.', '2020-02-13 13:17:23', '2020-02-13 13:17:23', '/countries/papua-new-guinea', 'https://gtmarket.ru/files/flags/Flag_of_Papua_New_Guinea.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (140, 140, null, 'Республика Парагвай — государство в Южной Америке.', '2020-02-13 13:17:24', '2020-02-13 13:17:24', '/countries/paraguay', 'https://gtmarket.ru/files/flags/Flag_of_Paraguay.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (141, 141, null, 'Республика Перу — государство в Южной Америке.', '2020-02-13 13:17:25', '2020-02-13 13:17:25', '/countries/peru', 'https://gtmarket.ru/files/flags/Flag_of_Peru.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (142, 142, null, 'Острова Питкэрн — государственное образование в южной части Тихого океана, расположенное на одноимённом острове и прилегающих островах.', '2020-02-13 13:17:26', '2020-02-13 13:17:26', '/countries/pitcairn', 'https://gtmarket.ru/files/flags/Flag_of_the_Pitcairn.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (143, 143, null, '<NAME> — государство в Центральной Европе.', '2020-02-13 13:17:28', '2020-02-13 13:17:28', '/countries/poland', 'https://gtmarket.ru/files/flags/Flag_of_Poland.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (144, 144, null, 'Португальская Республика — государство в Юго-Западной Европе.', '2020-02-13 13:17:29', '2020-02-13 13:17:29', '/countries/portugal', 'https://gtmarket.ru/files/flags/Flag_of_Portugal.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (145, 145, null, 'Реюньон — государственное образование в юго-западной части Индийского океана, расположенное на одноимённом острове.', '2020-02-13 13:17:30', '2020-02-13 13:17:30', '/countries/reunion', 'https://gtmarket.ru/files/flags/Flag_of_France_1.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (146, 146, null, 'Российская Федерация (Россия) — государство, расположенное в Евразии — в восточной части Европы и северной части Азии. Имеет государственные границы с шестнадцатью странами: на северо-западе с Норвегией и Финляндией, на западе с Эстонией, Латвией, Литвой, Польшей, Белоруссией, Украиной, на юге с Грузией, Азербайджаном, Казахстаном, Монголией, Китаем, на востоке с Северной Кореей и Японией (по морю), на северо-востоке с Соединёнными Штатами Америки (по морю), а также на юге с двумя непризнанными Организацией Объединённых Наций государственными образованиями: Абхазией и Южной Осетией. Относится к крупнейшим государствам мира. Занимает первое место в мире по размеру территории и протяжённости сухопутных и морских границ.', '2020-02-13 13:17:30', '2020-02-13 13:17:30', '/countries/russia', 'https://gtmarket.ru/files/flags/Flag_of_Russia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (147, 147, null, 'Республика Руанда — государство в Центральной Африке.', '2020-02-13 13:17:31', '2020-02-13 13:17:31', '/countries/rwanda', 'https://gtmarket.ru/files/flags/Flag_of_Rwanda.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (148, 148, null, 'Румыния — государство в Восточной Европе.', '2020-02-13 13:17:32', '2020-02-13 13:17:32', '/countries/romania', 'https://gtmarket.ru/files/flags/Flag_of_Romania.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (149, 149, null, 'Республика Эль-Сальвадор — государство в Центральной Америке.', '2020-02-13 13:17:33', '2020-02-13 13:17:33', '/countries/el-salvador', 'https://gtmarket.ru/files/flags/Flag_of_El_Salvador.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (150, 150, null, 'Независимое Государство Самоа — государство в южной части Тихого океана, занимающее западную часть одноимённого архипелага.', '2020-02-13 13:17:34', '2020-02-13 13:17:34', '/countries/samoa', 'https://gtmarket.ru/files/flags/Flag_of_Samoa.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (151, 151, null, 'Республика Сан-Марино — государство-анклав в Южной Европе, расположенное на Апеннинском полуострове и окружённое со всех сторон территорией Италии. Относится к малым государствам, площадь которого составляет 61,2 км².', '2020-02-13 13:17:36', '2020-02-13 13:17:36', '/countries/san-marino', 'https://gtmarket.ru/files/flags/Flag_of_San_Marino.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (152, 152, null, 'Демократическая Республика Сан-Томе и Принсипи — государство, расположенное на одноимённых островах в Гвинейском заливе у побережья Западной Африки.', '2020-02-13 13:17:37', '2020-02-13 13:17:37', '/countries/sao-tome-and-principe', 'https://gtmarket.ru/files/flags/Flag_of_Sao_Tome_and_Principe.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (153, 153, null, 'Королевство Саудовская Аравия — государство на Ближнем Востоке, расположенное на Аравийском полуострове.', '2020-02-13 13:17:37', '2020-02-13 13:17:37', '/countries/saudi-arabia', 'https://gtmarket.ru/files/flags/Flag_of_Saudi_Arabia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (154, 154, null, 'Королевство Свазиленд — государство в Южной Африке.', '2020-02-13 13:17:38', '2020-02-13 13:17:38', '/countries/swaziland', 'https://gtmarket.ru/files/flags/Flag_of_Swaziland.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (155, 155, null, 'Корейская Народно-Демократическая Республика — государство в восточной Азии, расположенное в северной части Корейского полуострова.', '2020-02-13 13:17:39', '2020-02-13 13:17:39', '/countries/korea-north', 'https://gtmarket.ru/files/flags/Flag_of_North_Korea.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (156, 156, null, 'Республика Сейшельские Острова — государство в западной части Индийского океане, расположенное на одноимённом архипелаге к востоку от Африки.', '2020-02-13 13:17:40', '2020-02-13 13:17:40', '/countries/seychelles', 'https://gtmarket.ru/files/flags/Flag_of_Seychelles.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (157, 157, null, 'Республика Сенегал — государство в Западной Африке.', '2020-02-13 13:17:41', '2020-02-13 13:17:41', '/countries/senegal', 'https://gtmarket.ru/files/flags/Flag_of_Senegal.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (158, 158, null, 'Сент-Винсент и Гренадины — государство в Карибском море, расположенное на одноимённых островах в составе Малых Антильских островов.', '2020-02-13 13:17:42', '2020-02-13 13:17:42', '/countries/saint-vincent', 'https://gtmarket.ru/files/flags/Flag_of_Saint_Vincent_and_Grenadines.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (159, 159, null, '<NAME>ент-Китс и Невис — государство в восточной части Карибского моря, расположенное на одноимённых островах.', '2020-02-13 13:17:43', '2020-02-13 13:17:43', '/countries/saint-kitts-and-nevis', 'https://gtmarket.ru/files/flags/Flag_of_Saint_Kitts_and_Nevis.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (160, 160, null, 'Сент-Люсия — государство в Карибском море, расположенное на одноимённом острове в составе Малых Антильских островов.', '2020-02-13 13:17:46', '2020-02-13 13:17:46', '/countries/saint-lucia', 'https://gtmarket.ru/files/flags/Flag_of_Saint_Lucia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (161, 161, null, 'Республика Сингапур — город-государство в Юго-Восточной Азии, расположенное на одноимённом острове к югу от Малаккского полуострова. Имеет государственные границы (по морю) с двумя странами: Малайзией и Индонезией.', '2020-02-13 13:17:47', '2020-02-13 13:17:47', '/countries/singapore', 'https://gtmarket.ru/files/flags/Flag_of_Singapore.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (162, 162, null, 'Сирийская Арабская Республика — государство на Ближнем Востоке.', '2020-02-13 13:17:48', '2020-02-13 13:17:48', '/countries/syria', 'https://gtmarket.ru/files/flags/Flag_of_Syria.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (163, 163, null, 'Словацкая Республика — государство в Центральной Европе.', '2020-02-13 13:17:48', '2020-02-13 13:17:48', '/countries/slovak-republic', 'https://gtmarket.ru/files/flags/Flag_of_Slovakia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (164, 164, null, 'Республика Словения — государство на юге Центральной Европы.', '2020-02-13 13:17:49', '2020-02-13 13:17:49', '/countries/slovenia', 'https://gtmarket.ru/files/flags/Flag_of_Slovenia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (165, 165, null, 'Соединённые Штаты Америки (США) — государство в Северной Америке. Имеет государственные границы с тремя странами: на севере с Канадой, на северо-западе с Россией (по морю), на юге с Мексикой. Относится к крупнейшим государствам мира по размеру территории, численности населения, экономическому, политическому и культурному влиянию, а также научно-техническому и военному потенциалу. В настоящее время считаются единственной сверхдержавой.', '2020-02-13 13:17:50', '2020-02-13 13:17:50', '/countries/united-states', 'https://gtmarket.ru/files/flags/Flag_of_United_States.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (166, 166, null, 'Соломоновы острова — государство в юго-западной части Тихого океана, расположенное на одноимённом архипелаге.', '2020-02-13 13:17:52', '2020-02-13 13:17:52', '/countries/solomon-islands', 'https://gtmarket.ru/files/flags/Flag_of_Solomon_Islands.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (167, 167, null, 'Сомалийская Республика — государство в Северо-Восточной Африке.', '2020-02-13 13:17:52', '2020-02-13 13:17:52', '/countries/somalia', 'https://gtmarket.ru/files/flags/Flag_of_Somalia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (168, 168, null, 'Республика Судан — государство в Северо-Восточной Африке.', '2020-02-13 13:17:53', '2020-02-13 13:17:53', '/countries/sudan', 'https://gtmarket.ru/files/flags/Flag_of_Sudan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (169, 169, null, 'Республика Суринам — государство в Южной Америке.', '2020-02-13 13:17:54', '2020-02-13 13:17:54', '/countries/suriname', 'https://gtmarket.ru/files/flags/Flag_of_Suriname.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (170, 170, null, 'Республика Сьерра-Леоне — государство в Западной Африке.', '2020-02-13 13:17:55', '2020-02-13 13:17:55', '/countries/sierra-leone', 'https://gtmarket.ru/files/flags/Flag_of_Sierra_Leone.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (171, 171, null, 'Республика Таджикистан — государство в Центральной Азии.', '2020-02-13 13:17:56', '2020-02-13 13:17:56', '/countries/tajikistan', 'https://gtmarket.ru/files/flags/Flag_of_Tajikistan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (172, 172, null, 'Королевство Таиланд — государство в Юго-Восточной Азии на полуострове Индокитай.', '2020-02-13 13:17:57', '2020-02-13 13:17:57', '/countries/thailand', 'https://gtmarket.ru/files/flags/Flag_of_Thailand.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (173, 173, null, 'Китайская Республика (Тайвань) — государственное образование в Восточной Азии, расположенное на острове Тайвань в Тихом океане в 130–220 км к востоку от материкового Китая.', '2020-02-13 13:17:58', '2020-02-13 13:17:58', '/countries/taiwan', 'https://gtmarket.ru/files/flags/Flag_of_Taiwan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (174, 174, null, 'Объединённая Республика Танзания — государство в Юго-Восточной Африке.', '2020-02-13 13:18:00', '2020-02-13 13:18:00', '/countries/tanzania', 'https://gtmarket.ru/files/flags/Flag_of_Tanzania.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (175, 175, null, 'Тоголезская Республика — государство в Западной Африке.', '2020-02-13 13:18:01', '2020-02-13 13:18:01', '/countries/togo', 'https://gtmarket.ru/files/flags/Flag_of_Togo.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (176, 176, null, 'Токелау — государственное образование в южной части Тихого океана, расположенное на островах Атафу, Нукунону и Факаофо.', '2020-02-13 13:18:02', '2020-02-13 13:18:02', '/countries/tokelau', 'https://gtmarket.ru/files/flags/Flag_of_Tokelau.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (177, 177, null, 'Королевство Тонга — государство на архипелаге Тонга в южной части Тихого океана.', '2020-02-13 13:18:03', '2020-02-13 13:18:03', '/countries/tonga', 'https://gtmarket.ru/files/flags/Flag_of_Tonga.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (178, 178, null, 'Республика Тринидад и Тобаго — государство, расположенное на островах Тринидад и Тобаго в Карибском море вблизи берегов Венесуэлы.', '2020-02-13 13:18:04', '2020-02-13 13:18:04', '/countries/trinidad-and-tobago', 'https://gtmarket.ru/files/flags/Flag_of_Trinidad_and_Tobago.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (179, 179, null, 'Тувалу — государство на архипелаге Тувалу в южной части Тихого океана.', '2020-02-13 13:18:04', '2020-02-13 13:18:04', '/countries/tuvalu', 'https://gtmarket.ru/files/flags/Flag_of_Tuvalu.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (180, 180, null, 'Тунисская Республика — государство в Северной Африке.', '2020-02-13 13:18:06', '2020-02-13 13:18:06', '/countries/tunisia', 'https://gtmarket.ru/files/flags/Flag_of_Tunisia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (181, 181, null, 'Туркменистан — государство в Центральной Азии.', '2020-02-13 13:18:07', '2020-02-13 13:18:07', '/countries/turkmenistan', 'https://gtmarket.ru/files/flags/Flag_of_Turkmenistan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (182, 182, null, 'Турецкая Республика — государство на Среднем Востоке.', '2020-02-13 13:18:08', '2020-02-13 13:18:08', '/countries/turkey', 'https://gtmarket.ru/files/flags/Flag_of_Turkey.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (183, 183, null, 'Республика Уганда — государство в Восточной Африке.', '2020-02-13 13:18:09', '2020-02-13 13:18:09', '/countries/uganda', 'https://gtmarket.ru/files/flags/Flag_of_Uganda.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (184, 184, null, 'Республика Узбекистан — государство в Центральной Азии. Имеет государственные границы с пятью странами: на севере с Казахстаном, на юге с Афганистаном, Таджикистаном и Туркменистаном, на востоке с Кыргызстаном.', '2020-02-13 13:18:10', '2020-02-13 13:18:10', '/countries/uzbekistan', 'https://gtmarket.ru/files/flags/Flag_of_Uzbekistan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (185, 185, null, 'Украина — государство в Восточной Европе. Имеет государственные границы с семью странами: на востоке и северо-востоке с Россией (по суше и по морю), на севере с Белоруссией, на западе с Польшей, Словакией и Венгрией, на юго-западе с Румынией (по суше и по морю) и Молдовой.', '2020-02-13 13:18:10', '2020-02-13 13:18:10', '/countries/ukraine', 'https://gtmarket.ru/files/flags/Flag_of_Ukraine.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (186, 186, null, 'Восточная Республика Уругвай — государство в Южной Америке.', '2020-02-13 13:18:11', '2020-02-13 13:18:11', '/countries/uruguay', 'https://gtmarket.ru/files/flags/Flag_of_Uruguay.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (187, 187, null, 'Республика Островов Фиджи — государство на архипелаге Фиджи в южной части Тихого океана.', '2020-02-13 13:18:12', '2020-02-13 13:18:12', '/countries/fiji', 'https://gtmarket.ru/files/flags/Flag_of_Fiji.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (188, 188, null, 'Республика Филиппины — государство в Юго-Восточной Азии, расположенное на группе островов в западной части Тихого океана.', '2020-02-13 13:18:13', '2020-02-13 13:18:13', '/countries/philippines', 'https://gtmarket.ru/files/flags/Flag_of_Philippines.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (189, 189, null, 'Республика Финляндия — государство в Северной Европе на Скандинавском полуострове.', '2020-02-13 13:18:14', '2020-02-13 13:18:14', '/countries/finland', 'https://gtmarket.ru/files/flags/Flag_of_Finland.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (190, 190, null, 'Французская Республика — государство в Западной Европе.', '2020-02-13 13:18:15', '2020-02-13 13:18:15', '/countries/france', 'https://gtmarket.ru/files/flags/Flag_of_France_2.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (191, 191, null, 'Французская Гвиана — государственное образование в Южной Америке.', '2020-02-13 13:18:16', '2020-02-13 13:18:16', '/countries/french-guiana', 'https://gtmarket.ru/files/flags/Flag_of_Guyane.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (192, 192, null, 'Французская Полинезия — государственное образование в южной части Тихого океана, расположенное на архипелагах: Острова Общества, Острова Туамоту, Маркизские острова, Острова Тубуаи.', '2020-02-13 13:18:17', '2020-02-13 13:18:17', '/countries/french-polynesia', 'https://gtmarket.ru/files/flags/Flag_of_French_Polynesia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (193, 193, null, 'Республика Хорватия — государство в Центральной Европе, расположенное на Балканском полуострове.', '2020-02-13 13:18:18', '2020-02-13 13:18:18', '/countries/croatia', 'https://gtmarket.ru/files/flags/Flag_of_Croatia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (194, 194, null, 'Центрально-Африканская Республика — государство в Центральной Африке.', '2020-02-13 13:18:20', '2020-02-13 13:18:20', '/countries/central-african-republic', 'https://gtmarket.ru/files/flags/Flag_of_Central_African_Republic.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (195, 195, null, 'Республика Чад — государство в Центральной Африке.', '2020-02-13 13:18:21', '2020-02-13 13:18:21', '/countries/chad', 'https://gtmarket.ru/files/flags/Flag_of_Chad.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (196, 196, null, 'Чешская Республика — государство в Центральной Европе.', '2020-02-13 13:18:22', '2020-02-13 13:18:22', '/countries/czech-republic', 'https://gtmarket.ru/files/flags/Flag_of_Czech_Republic.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (197, 197, null, 'Республика Чили — государство в Южной Америке.', '2020-02-13 13:18:23', '2020-02-13 13:18:23', '/countries/chile', 'https://gtmarket.ru/files/flags/Flag_of_Chile.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (198, 198, null, 'Швейцарская Конфедерация — государство в Центральной Европе.', '2020-02-13 13:18:24', '2020-02-13 13:18:24', '/countries/switzerland', 'https://gtmarket.ru/files/flags/Flag_of_Switzerland.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (199, 199, null, 'Королевство Швеция — государство в Северной Европе на Скандинавском полуострове.', '2020-02-13 13:18:25', '2020-02-13 13:18:25', '/countries/sweden', 'https://gtmarket.ru/files/flags/Flag_of_Sweden.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (200, 200, null, 'Демократическая Социалистическая Республика Шри-Ланка — государство в Южной Азии, расположенное на одноимённом острове у юго-восточного побережья Индии.', '2020-02-13 13:18:26', '2020-02-13 13:18:26', '/countries/sri-lanka', 'https://gtmarket.ru/files/flags/Flag_of_Sri_Lanka.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (201, 201, null, 'Республика Эквадор — государство в Южной Америке.', '2020-02-13 13:18:27', '2020-02-13 13:18:27', '/countries/ecuador', 'https://gtmarket.ru/files/flags/Flag_of_Ecuador.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (202, 202, null, 'Республика Экваториальная Гвинея — государство в Центральной Африке.', '2020-02-13 13:18:28', '2020-02-13 13:18:28', '/countries/equatorial-guinea', 'https://gtmarket.ru/files/flags/Flag_of_Equatorial_Guinea.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (203, 203, null, 'Государство Эритрея — государство в Северо-Восточной Африке.', '2020-02-13 13:18:30', '2020-02-13 13:18:30', '/countries/eritrea', 'https://gtmarket.ru/files/flags/Flag_of_Eritrea.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (204, 204, null, 'Эстонская Республика — государство в Северо-Восточной Европе.', '2020-02-13 13:18:31', '2020-02-13 13:18:31', '/countries/estonia', 'https://gtmarket.ru/files/flags/Flag_of_Estonia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (205, 205, null, 'Федеративная Демократическая Республика Эфиопия — государство в Восточной Африке.', '2020-02-13 13:18:31', '2020-02-13 13:18:31', '/countries/ethiopia', 'https://gtmarket.ru/files/flags/Flag_of_Ethiopia.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (206, 206, null, 'Южно-Африканская Республика — государство в Южной Африке.', '2020-02-13 13:18:32', '2020-02-13 13:18:32', '/countries/south-africa', 'https://gtmarket.ru/files/flags/Flag_of_South_Africa.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (207, 207, null, 'Республика Корея — государство в Восточной Азии, расположенное в южной части Корейского полуострова.', '2020-02-13 13:18:33', '2020-02-13 13:18:33', '/countries/korea-south', 'https://gtmarket.ru/files/flags/Flag_of_South_Korea.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (208, 208, null, 'Республика Южный Судан — государство в Северо-Восточной Африке.', '2020-02-13 13:18:34', '2020-02-13 13:18:34', '/countries/sudan-south', 'https://gtmarket.ru/files/flags/Flag_of_South_Sudan.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (209, 209, null, 'Ямайка — государство, расположенное в Карибском море на одноимённом острове в составе Больших Антильских островов.', '2020-02-13 13:18:36', '2020-02-13 13:18:36', '/countries/jamaica', 'https://gtmarket.ru/files/flags/Flag_of_Jamaica.png', null); INSERT INTO basked_db.spr_countries_details (id, country_id, name, descr, created_at, updated_at, url, img_flag, img_gerb) VALUES (210, 210, null, 'Япония — государство в Восточной Азии, расположенное на группе островов в западной части Тихого океана.', '2020-02-13 13:18:37', '2020-02-13 13:18:37', '/countries/japan', 'https://gtmarket.ru/files/flags/Flag_of_Japan.png', null);
CREATE TABLE CLIENTE ( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NOME VARCHAR(100), CPF VARCHAR(11), DATANASCIMENTO DATE, GENERO VARCHAR(50) ); CREATE TABLE USUARIO( ID INTEGER PRIMARY KEY AUTO_INCREMENT, LOGIN VARCHAR(50) NOT NULL, SENHA VARCHAR(255) NOT NULL, ADMIN BOOL DEFAULT FALSE ); insert into usuario (login, password) values ('<PASSWORD>', <PASSWORD>');
<reponame>lgcarrier/AFW SET DEFINE OFF; CREATE UNIQUE INDEX AFW_12_MEMBR_STRUC_PK ON AFW_12_MEMBR_STRUC (SEQNC) LOGGING /
<reponame>desafinadude/municipal-data -- DROP TABLE uifwexp_facts; CREATE TABLE public.uifwexp_facts ( demarcation_code text REFERENCES scorecard_geography (geo_code), financial_year integer, item_code text, item_label text, amount bigint, id serial, CONSTRAINT uifwexp_facts_pkey PRIMARY KEY (id), CONSTRAINT uifwexp_facts_unique_demarcation_financial_year_item UNIQUE (demarcation_code, financial_year, item_code) ) WITH ( OIDS=FALSE ); ALTER TABLE public.uifwexp_facts OWNER TO municipal_finance;
<reponame>thibault-lr/typescript-hapi-rest-api<gh_stars>1-10 INSERT INTO users("name","department","login","password") VALUES('test','dep1', 'test','test'),('test2','dep2', 'test','test'),('test3','dep3', 'test','test');
--https://dune.xyz/queries/124678 /* lp function */ create or replace function dune_user_generated.get_lp_positions( pair bytea, token bytea, types text, lp_mint_addr bytea, lp_decimal numeric, token_decimal numeric ) returns table (holder bytea, types text, lp_position numeric) as $body$ with lps as ( select sum(amount) as total_lp_token from ( select "value"/$5 as amount from erc20."ERC20_evt_Transfer" where "contract_address" = $1 and "from" = $4 union all select -"value"/$5 as amount from erc20."ERC20_evt_Transfer" where "contract_address" = $1 and "to" = $4 ) x ), dpi_amount_in_pair as ( select sum(amount) as total_dpi_amount from ( select -"value"/$6 as amount from erc20."ERC20_evt_Transfer" where "contract_address" = $2 and "from" = $1 union all select "value"/$6 as amount from erc20."ERC20_evt_Transfer" where "contract_address" = $2 and "to" = $1 ) x ), -- select * from dpi_amount_in_pair user_lps as ( select holder, sum(amount) as lp_token from ( select "from" as holder, -"value"/$5 as amount from erc20."ERC20_evt_Transfer" where "contract_address" = $1 union all select "to" as holder, "value"/$5 as amount from erc20."ERC20_evt_Transfer" where "contract_address" = $1 ) x where holder != $4 group by holder ) -- select * from user_lps select holder, --lp_token, --total_lp_token, --total_dpi_amount, $3 as types, (lp_token/total_lp_token)*total_dpi_amount as lp_position from (select * from user_lps where lp_token > 0.01 ) a cross join lps cross join dpi_amount_in_pair; $body$ language sql; ------------------------------------------------------------ -- uni v2 -- 0x4d5ef58aac27d99935e5b6b4a6778ff292059991 pair -- 0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b dpi -- 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 weth -- 0x4<PASSWORD> lp token -- sushi dpi/eth -- 0x34b13f8cd184f55d0bd4dd1fe6c07d46f245c7ed pair -- 0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b dpi -- uni v3 dpi/eth -- 0x9359c87b38dd25192c5f2b07b351ac91c90e6ca7 pair -- 0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b dpi drop table if exists dune_user_generated.dpi_lp_position; create table dune_user_generated.dpi_lp_position as with uniswapv3_pool as ( select pool, token0, tok0.symbol as symbol0, tok0.decimals as decimals0, token1, tok1.symbol as symbol1, tok1.decimals as decimals1 from uniswap_v3."Factory_evt_PoolCreated" pool inner join erc20."tokens" tok0 on pool.token0 = tok0.contract_address inner join erc20."tokens" tok1 on pool.token1 = tok1.contract_address where pool = '\x9359c87b38dd25192c5f2b07b351ac91c90e6ca7' ) , -- select * from uniswapv3_pool v3_position_mint as ( select "evt_tx_hash", "contract_address", "tickLower", "tickUpper" from uniswap_v3."Pair_evt_Mint" where "contract_address" = '\x9359c87b38dd25192c5f2b07b351ac91c90e6ca7' ) , -- select count(*),count(distinct evt_tx_hash) from v3_position_mint; v3_position_nfts_id as ( select distinct "tokenId", b."contract_address", "tickLower", "tickUpper" from uniswap_v3."NonfungibleTokenPositionManager_evt_IncreaseLiquidity" a inner join v3_position_mint b on a.evt_tx_hash = b.evt_tx_hash ) , -- select count(*),count(distinct "tokenId") from v3_position_nfts_id; v3_positions as ( select "tokenId", sum("liquidity") as current_liquidity from ( select "tokenId", -"liquidity" as liquidity from uniswap_v3."NonfungibleTokenPositionManager_evt_DecreaseLiquidity" where "tokenId" in (select "tokenId" from v3_position_nfts_id) union all select "tokenId", "liquidity" from uniswap_v3."NonfungibleTokenPositionManager_evt_IncreaseLiquidity" where "tokenId" in (select "tokenId" from v3_position_nfts_id) ) x group by "tokenId" ), -- select * from v3_positions; v3_positions_detail as ( select a."tokenId", a.current_liquidity, b."tickLower", b."tickUpper", token0, symbol0, decimals0, token1, symbol1, decimals1, CASE WHEN "tickLower" < 0 THEN (1.0001^("tickLower")) * (10^(ABS(decimals0-decimals1))) ELSE (1.0001^("tickLower")) / (10^(ABS(decimals0-decimals1))) END AS price_lower, CASE WHEN "tickUpper" < 0 THEN (1.0001^("tickUpper")) * (10^(ABS(decimals0-decimals1))) ELSE (1.0001^("tickUpper")) / (10^(ABS(decimals0-decimals1))) END AS price_upper from v3_positions a left join v3_position_nfts_id b on a."tokenId" = b."tokenId" left join uniswapv3_pool c on b.contract_address = c.pool where current_liquidity != 0 ) , -- select * from v3_positions_detail; -- select * from uniswap_v3."NonfungibleTokenPositionManager_evt_DecreaseLiquidity" limit 10; price_feed as ( select -- "sqrtPriceX96", -- (power("sqrtPriceX96",2)/ (2^(96*2))) as price avg((power("sqrtPriceX96",2)/ (2^(96*2)))) as price from ( select * from uniswap_v3."Pair_evt_Swap" where contract_address ='\x9359c87b38dd25192c5f2b07b351ac91c90e6ca7' order by "evt_block_time" desc limit 3 ) x ), -- select * from price_feed; v3_position_real_temp1 as ( select a.*, price, case when price between price_lower and price_upper then 'between' when price < price_lower then 'below' when price > price_upper then 'above' end as price_wrt_range, current_liquidity/sqrt(price_lower) as amount0_lp, current_liquidity*sqrt(price_lower) as amount1_lp, current_liquidity/sqrt(price_upper) as amount0_up, current_liquidity*sqrt(price_upper) as amount1_up, current_liquidity/sqrt(price) as amount0_cp, current_liquidity*sqrt(price) as amount1_cp from v3_positions_detail a cross join price_feed b ), v3_position_real_temp2 as ( select a.*, case when price_wrt_range = 'between' then (amount0_cp - amount0_up)/10^decimals0 when price_wrt_range = 'above' then 0 when price_wrt_range = 'below' then (amount0_lp - amount0_up)/10^decimals0 end as amount0_real, case when price_wrt_range = 'between' then (amount1_cp - amount1_lp)/10^decimals1 when price_wrt_range = 'above' then (amount1_up - amount1_lp)/10^decimals1 when price_wrt_range = 'below' then 0 end as amount1_real from v3_position_real_temp1 a ), v3_position_real as ( select a.*, case when symbol0 = 'DPI' then amount0_real when symbol1 = 'DPI' then amount1_real end as current_dpi_amount from v3_position_real_temp2 as a ) , -- select count(*),count(distinct "tokenId") from v3_position_real; -- select distinct * from v3_position_real; -- toekn id owner position_nft_owner as ( select holder, "tokenId" from ( select "to" as holder, "tokenId", "evt_block_time", row_number() over( partition by "tokenId" order by "evt_block_time" desc ) as rnk from erc721."ERC721_evt_Transfer" where "contract_address" = '\xc36442b4a4522e871399cd717abdd847ab11fe88' and "tokenId" in (select "tokenId" from v3_positions_detail) ) x where rnk = 1 ) select holder, types, lp_position::int as lp_position from ( -- uni v2 select * from dune_user_generated.get_lp_positions( '\x4d5ef58aac27d99935e5b6b4a6778ff292059991'::bytea, '\x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b'::bytea, 'uni_v2_lp', '\x0000000000000000000000000000000000000000'::bytea, 1e18, 1e18 ) union all -- sushi lp select * from dune_user_generated.get_lp_positions( '\x34b13f8cd184f55d0bd4dd1fe6c07d46f245c7ed'::bytea, '\x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b'::bytea, 'sushi_lp', '\x0000000000000000000000000000000000000000'::bytea, 1e18, 1e18 ) union all select holder, 'uni_v3_lp' as types, sum(current_dpi_amount) as lp_position from position_nft_owner a left join v3_position_real b on a."tokenId" = b."tokenId" group by holder ) x where lp_position >= 1 ; with lp_position as ( SELECT holder, coalesce(sushi_lp, 0) as sushi_lp, coalesce(uni_v2_lp, 0) as uni_v2_lp, coalesce(uni_v3_lp, 0) as uni_v3_lp FROM crosstab ( 'SELECT holder, types, lp_position FROM dune_user_generated.dpi_lp_position ORDER BY 1, 2', 'SELECT DISTINCT types FROM dune_user_generated.dpi_lp_position ORDER BY 1' ) AS ( holder bytea, sushi_lp numeric, uni_v2_lp numeric, uni_v3_lp numeric ) ), wallet_balance as ( select holder, dpi_balance::int as wallet from dune_user_generated.dpi_balance_by_day where rnk = 1 ) select count(*) as number_of_lps, sum(dpi_balance) as total_dpi_balance, sum(dpi_in_wallet) as total_dpi_in_wallet, sum(dpi_in_lp) as total_dpi_in_lp, sum(sushi_lp) as total_dpi_in_sushi_lp, sum(uni_v2_lp) as total_dpi_in_uni_v2_lp, sum(uni_v3_lp) as total_dpi_in_uni_v3_lp from ( select -- count(*), -- count(distinct a.holder) a.holder, (coalesce(wallet, 0) + sushi_lp + uni_v2_lp + uni_v3_lp) as dpi_balance, coalesce(wallet, 0) as dpi_in_wallet, ( sushi_lp + uni_v2_lp + uni_v3_lp) as dpi_in_lp, sushi_lp, uni_v2_lp, uni_v3_lp from lp_position a left join wallet_balance b on a.holder = b.holder ) x ;
-- file:matview.sql ln:186 expect:true SELECT * FROM mvtest_mv_v_4
<gh_stars>0 CREATE OR REPLACE VIEW OSP$UNIT ( UNIT_NUMBER, UNIT_NAME, ADMINISTRATIVE_OFFICER, OSP_ADMINISTRATOR, UNIT_HEAD, DEAN_VP, OTHER_INDIVIDUAL_TO_NOTIFY, ORGANIZATION_ID, UPDATE_TIMESTAMP, UPDATE_USER ) AS select U.UNIT_NUMBER, U.UNIT_NAME, AO.person_id as ADMINISTRATIVE_OFFICER, OA.person_id as OSP_ADMINISTRATOR, UH.person_id as UNIT_HEAD, DV.person_id as DEAN_VP, OI.person_id as OTHER_INDIVIDUAL_TO_NOTIFY, ORGANIZATION_ID, UPDATE_TIMESTAMP, UPDATE_USER from UNIT U, (select unit_number,person_id from unit_administrator where UNIT_ADMINISTRATOR_TYPE_CODE=1) AO, (select unit_number,person_id from unit_administrator where UNIT_ADMINISTRATOR_TYPE_CODE=2) OA, (select unit_number,person_id from unit_administrator where UNIT_ADMINISTRATOR_TYPE_CODE=3) UH, (select unit_number,person_id from unit_administrator where UNIT_ADMINISTRATOR_TYPE_CODE=4) DV, (select unit_number,person_id from unit_administrator where UNIT_ADMINISTRATOR_TYPE_CODE=5) OI where U.UNIT_NUMBER = AO.UNIT_NUMBER(+) and U.UNIT_NUMBER = OA.UNIT_NUMBER(+) and U.UNIT_NUMBER = UH.UNIT_NUMBER(+) and U.UNIT_NUMBER = DV.UNIT_NUMBER(+) and U.UNIT_NUMBER = OI.UNIT_NUMBER(+)
<filename>UMKnotPrecise_employess.sql -- MySQL dump 10.13 Distrib 5.7.18, for Linux (x86_64) -- -- Host: localhost Database: UMKnotPrecise -- ------------------------------------------------------ -- Server version 5.7.18-0ubuntu0.16.04.1 /*!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 `employess` -- DROP TABLE IF EXISTS `employess`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `employess` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `surname` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `specialization` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL, `mail` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB AUTO_INCREMENT=795 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `employess` -- LOCK TABLES `employess` WRITE; /*!40000 ALTER TABLE `employess` DISABLE KEYS */; INSERT INTO `employess` VALUES (1,'Maria','Lewicka',' place_attachment place_identity social_memory social_and_environmental_psychology','umk'),(2,'Bogusław','Buszewski',' analytical_chemistry','chem'),(3,'Maciej','Wojtkowski',' optics','fizyka'),(4,'Lutosław','Wolniewicz',' fizyka chemia_kwantowa','fizyka'),(5,'Krzysztof','Katarzynski',' high_energy_astrophysics','astro'),(6,'Andrzej','Kowalczyk',' molecular_spectroscopy applied_optics','fizyka'),(7,'Włodzisław','Duch',' neural_networks artificial_intelligence machine_learning cognitive_science quantum_chemistry','is'),(8,'Ryszard','Olinski',' oxidative_damage_to_dna_-_repair__…','cm'),(9,'Justyna','Wiśniewska',NULL,'umk'),(10,'Werner','Ulrich',' ecology biogeography macroecology statistics','umk'),(11,'Wieslaw','Kozak',' immunology','umk'),(12,'Alina','Sionkowska',' chemistry polymers biopolymers biomaterials cosmetics','chem'),(13,'Daniel','Gackowski',' biochemistry medicinal_chemistry biomarkers mass_spectrometry multidimensional_chromatography','cm'),(14,'Jan','Filipski',' first_interest second_interest','umk'),(15,'Jacek','Karwowski',' physics chemistry mathematics','fizyka'),(16,'Stanisław','Biniak',NULL,'chem'),(17,'Iwona','Gorczynska',NULL,'fizyka'),(18,'Karol','Jankowski',NULL,'fizyka'),(19,'Jacek','Kubica',' cardiology','cm'),(20,'Piotr','Gauden',' physical_chemistry adsorption thermodynamics_of_adsorption numerical_recipes computer_simulations','uni'),(21,'Grzegorz','Karwasz',' atomic_physics solid_state_physics didactis_of_physics','fizyka'),(22,'Andrzej','Wojtowicz',' physics solid_state_physics luminescence vuv_spectroscopy scintillators','fizyka'),(23,'Dariusz','Chruscinski',' quantum_physics quantum_information mathematical_physics','fizyka'),(24,'Wojciech','Kujawski',NULL,'chem'),(25,'Roman','Ciurylo',' atomic molecular_and_optical_physics','fizyka'),(26,'Edward','Szłyk',' chemia_koord. chemia_i_analiza__żywności …_warstwy_metaliczne_i_hybrydowe__metody_cvd spin_coating nmr','umk'),(27,'Marek','Foksinski',' clinical_biochemistry','cm'),(28,'Andrzej','Wojtczak',NULL,'chem'),(29,'Jan','Styczynski',NULL,'cm'),(30,'Rafał','Różalski',NULL,'cm'),(31,'Andrzej','Tretyn',' biotechnology molecular_biology medical_biology plant_physiology','umk'),(32,'Eugene','Gutkin',' mathematics mathematical_physics','mat'),(33,'Piotr','Targowski',' physics optics conservation_science','fizyka'),(34,'Michał','Caputa',' animal_physiology','umk'),(35,'Maciej','Szkulmowski',NULL,'fizyka'),(36,'Wlodzimierz','Jaskolski',' solid_state_physics nanophysics graphene','fizyka'),(37,'Grzegorz','Nowak',' astronomy','astri'),(38,'Leszek','Meissner',NULL,'fizyka'),(39,'Grzegorz','Szymański',' nanostructured_carbon_materials carbons_in_catalysis heterogenous_catalysis acid-base_catalysis','uni'),(40,'Rafal','Adamczak',' neural_networks artificial_intelligence bioinformatics','fizyka'),(41,'Krzysztof','Goździewski',' astronomy astrophysics celestial_mechanics','umk'),(42,'Agnieszka','Siomek-Górecka',NULL,'cm'),(43,'Anna','Bartkiewicz',' cosmic_masers radio_astronomy','astro'),(44,'Rajmund','Przybylak',' zmiany_klimatu_polski_i_arktyki','umk'),(45,'Daniel','Lisak',NULL,'fizyka'),(46,'Jan','Kopcewicz',NULL,'umk'),(47,'Barbara','Bojko',NULL,'cm'),(48,'Maciej','Grochowski',' językoznawstwo semantyka składnia partykuły wyrażenia_funkcyjne','umk'),(49,'Piotr','Żuchowski',' physics chemistry','fizyka'),(50,'Norbert','Jankowski',' computational_intelligence machine_learning neural_networks complexity algorithms','is'),(51,'Boudewijn','Roukema',' cosmology','cosmo'),(52,'Tomasz','Kowalkowski',' environmental_chemistry analytical_chemistry','chem'),(53,'Ireneusz','Grulkowski',' inzynieria_optyczna','fizyka'),(54,'Ireneusz','Grabowski',' physics quantum_chemistry electron_correlation many_body_theory density_functional_theory','fizyka'),(55,'Winicjusz','Drozdowski',' solid_state_physics spectroscopy scintillators thermoluminescence optical_materials','fizyka'),(56,'Grażyna','Staszewska',' physics quantum_chemistry chemistry','fizyka'),(57,'Józef','Szudy',' fizyka_atomowa','fizyka'),(58,'Andrzej','Niedzielski',' astronomy astrophysics','umk'),(59,'Marian','Grabowski',' fizyka aksjologia_nauki antropologia_filozoficzna etyka filozofia_nauki','umk'),(60,'Michał','Marszałł',' pharmacy medicinal_chemistry','cm'),(61,'Michał','Hanasz',' astronomy astrophysics physics','umk'),(62,'Wojciech','Kryszewski',' topological_methods_in_nonlinear_analysis','mat'),(63,'Toma','Tomov',' astronomy_astrophysics','umk'),(64,'Marian','Szymczak',' astronomy_-_astrophysical_masers','astro'),(65,'Aleksander','Balter',' molecular_biophysics fluorescence_spectroscopy','fizyka'),(66,'Franciszek','Firszt',NULL,'fizyka'),(67,'Adam','Bucinski',NULL,'cm'),(68,'Wieslaw','Nowak',' theoretical_molecular_biophysics single_molecule_nanomechanics molecular_dynamics fluorescent_probes computational_physics','fizyka'),(69,'Adam','Jakubowski',' mathematics statistics._probability stochastic_processes','mat'),(70,'Krzysztof','Grąbczewski',NULL,'is'),(71,'Anna','Szkulmowska',' tomografia_optyczna komercjalizacja','fizyka'),(72,'Gracjan','Maciejewski',' astronomy','umk'),(73,'Andrzej','Nowicki',' matematyka','mat'),(74,'Krzysztof','Szpila',' zoologia biologia entomologia entomologia_sądowa','umk'),(75,'Jacek','Kobus',' atomic_and_molecular_physics numerical_methods','fizyka'),(76,'Agata','Karska',' star_formation molecular_astrophysics far-ir_and_sub-mm_astronomy','umk'),(77,'Piotr','Maslowski',' molecular_spectroscopy optical_frequency_combs optical_enhancement_cavities','fizyka'),(78,'Barbara','Chwirot',NULL,'umk'),(79,'Chandra','Pareek',' functional_genomics translational_research','umk'),(80,'Piotr','Cysewski',' chemia_i_nie_tylko_...','cm'),(81,'Romuald','Wodzki',' chemistry polymers membranes','chem'),(82,'Andrzej','Marecki',' extragalactic_astronomy','astro'),(83,'Daniela','Szymańska',' sustainable_and_regional_development city_urbanization human_and_settlement_geography renewable_energy_sources','umk'),(84,'Beata','Derkowska-Zielińska',NULL,'fizyka'),(85,'Ryszard','Trawinski',NULL,'fizyka'),(86,'Dariusz','Kędziera',' quantum_and_computational_chemistry','chem'),(87,'Jerzy','Łukaszewicz',' materials_synthesis_and_characterization','chem'),(88,'Aldona','Kubica',' health_promotion education cardiology','cm'),(89,'Michal','Zawada',NULL,'fizyka'),(90,'Krzysztof','Gesicki',' astrophysics','umk'),(91,'Czeslaw','Koepke',' optical_spectroscopy solid_state_physics excited_state_spectroscopy spectroscopy_of_low-dimensional_systems','fizyka'),(92,'Katarzyna','Hrynkiewicz',NULL,'umk'),(93,'Iwona','Łakomska',NULL,'umk'),(94,'Sylwia','Studzińska',' chemia_analityczna chromatografia oligonukleotydy ciecze_jonowe','chem'),(95,'Bogumił','Brzeziński',NULL,'law'),(96,'Grzegorz','Bazylak',' separation_science supramolecular_chemistry drug_analysis obesity nutrition','cm'),(97,'Krzysztof','Olechnicki',NULL,'umk'),(98,'Agata','Cygan',NULL,'fizyka'),(99,'Hanna','Meczynska',NULL,'fizyka'),(100,'Przemysław','Staszewski',' quantum_continual_measurements quantum_probability&information','cm'),(101,'St','Dembinski',' optyka','fizyka'),(102,'Monika','Stanke',' physics quantum_chemistry relativistic_quantum_mechanics','fizyka'),(103,'Tomasz','Wazny',' wood_science dendrochronology','umk'),(104,'Stefan','Kruszewski',NULL,'cm'),(105,'Mirosław','Jabłoński',' computational_chemistry chess mountain_tourism','chem'),(106,'Sławomir','Sojak',NULL,'umk'),(107,'Jarosław','Kobak',' biology ecology','umk'),(108,'Jarosław','Zaremba',' optyka_kwantowa fizyka_atomowa','fizyka'),(109,'Dominik','Antonowicz',' higher_education_policy sport','umk'),(110,'Wojciech','Wysota',' glacial_geology/geomorphology glacial_sedimentology stratigraphy_and_paleogeography_of_the__…','umk'),(111,'Slawomir','Rybicki',' mathematics','mat'),(112,'Michał','Zieliński',' kropki_kwantowe obliczenia_atomistyczne quantum_dots atomistic_calculations','fizyka'),(113,'Ryszard','Mrugała',NULL,'fizyka'),(114,'Magdalena','Osińska',' economics econometrics finance','umk'),(115,'Krzysztof','Cyrek',' archaeology palaeolithic','umk'),(116,'Stanisław','Chwirot',NULL,'fizyka'),(117,'Marek','Kejna',' klimatologia meteorologia klimat_regionów_polarnych monitoring_środowiska','umk'),(118,'Daniel','Makowiecki',' archaeozoology zooarchaeology archaeology environmental_archaeology','umk'),(119,'Danuta','Dziawgo',' financial_market credit_rating investor_relations individual_investors','uni'),(120,'Emilia','Mikołajewska',' rehabilitation neurorehabilitation physiotherapy neurological_physiotherapy physical_therapy','cm'),(121,'Katharina','Boguslawski',' theoretical_chemistry computational_chemistry strongly_correlated_systems new_wave_function_approaches transition_metals','fizyka'),(122,'Zenon','Wiśniewski',NULL,'umk'),(123,'Katarzyna','Lewandowska',' polymers polymer_mixtures properties chemistry','chem'),(124,'Jolanta','Kowalonek',' chemia','umk'),(125,'Krzysztof','Wiśniewski',' solid_state_physics_-_spectroscopy_-_materials__…','fizyka'),(126,'Magdalena','Kunert-Bajraszewska',' agns','astro'),(127,'Krzysztof','Przegietka',' luminescence luminescence_dating environmental_radioactivity dosimetry history_of_science','fizyka'),(128,'Jolanta','Domysławska',' atomic_and_molecular_spectroscopy','fizyka'),(129,'Michał','Wojciechowski',' physiological_ecology phenotypic_flexibility heterothermy energetics thermoregulation','umk'),(130,'Andrzej','Borodo',' prawo_finansowe finanse_publiczne budżet_państwa finanse_samorządu_terytorialnego','umk'),(131,'Michał','Polasik',' payment_system mobile_&_electronic_banking network_&_payment_economics fintech cryptocurrencies','umk'),(132,'Grzegorz','Przybylski',' medycyna','cm'),(133,'Paweł','Tecmer',' …__structure_of_heavy_elements_-_excited_states_-__…','fizyka'),(134,'Tadeusz','Kufel',' ekonometria prognozowanie statystyka oprogramowanie_gretl','umk'),(135,'Hubert','Cybulski',NULL,'fizyka'),(136,'Rafal','Smoczynski',' bioinformatics','doktorant'),(137,'Kazimierz','Borkowski',' astronomy radio_astronomy geodesy','astro'),(138,'Tomasz','Kakareko',NULL,'umk'),(139,'Szymon','Wójtewicz',' spektroskopia','fizyka'),(140,'Anna','Kozakiewicz',NULL,'chem'),(141,'Marcin','Koprowski',' ecology dendrochronology dendroecology dendroclimatology','umk'),(142,'Krzysztof','Gorynski',' analytical_chemistry spme doping_control mass_spectrometry medicinal_chemistry','cm'),(143,'Anna','Goc',' molecular_biology','umk'),(144,'Bronisław','Siemieniecki',' pedagogika_medialna technologia_informacyjna pedagogika_kognitywistyczna neurodydaktyka neurowychowanie','umk'),(145,'Felicja','Mrugala',NULL,'fizyka'),(146,'Andrzej','Araźny',' climatology biometeorology polar_regions','umk'),(147,'Andrzej','Raczyński',' fizyka_kwantowa optyka_kwantowa','fizyka'),(148,'Wieslawa','Limont',' giftedness creativity visual_metaphor art_education visual_perception','umk'),(149,'Włodzimierz','Karaszewski',' międzynarodowe_przepływy_kapitału','econ'),(150,'Grzegorz','Gabor',' topological_methods_in_nonlinear_analysis','mat'),(151,'Jacek','Nowaczyk',NULL,'umk'),(152,'Mirosław','Bylicki',' fizyka_atomowa_i_molekularna struktura_elektronowa','fizyka'),(153,'Grzegorz','Trykowski',' carbon_materials graphene carbon_nanotubes raman ftir','chem'),(154,'Dawid','Piatkowski',' fluorescence_microscopy up-conversion nanomaterials plasmonics optical_spectroscopy','fizyka'),(155,'Eugeniusz','Kowalewski',' insurance_law civil_law','umk'),(156,'Marek','Grochowski',' computational_intelligence data_mining neural_networks machine_learning','is'),(157,'Rafał','Haffer',' tqm_&_business_excellence business_performance_measurement','econ'),(158,'Marek','Krzeminski',' organic_chemistry','chem'),(159,'Maciej','Walczak',' mikrobiologia biotechnologia','umk'),(160,'Kacper','Kowalik',NULL,'astri'),(161,'Dorota','Kowalska',NULL,'fizyka'),(162,'Elżbieta','Żbikowska',' malacology parasitology','umk'),(163,'Bartosz','Rakoczy',' law environmental_law','umk'),(164,'Scianowski','Jacek',' organic_chemistry','chem'),(165,'Katarzyna','Bielska',NULL,'fizyka'),(166,'Marcin','Koba',NULL,'cm'),(167,'Marcin','Golebiewski',' metagenomics genomics bioinformatics biodiversity','biol'),(168,'Kamil','Fedus',' electron_and_positron_scattering','fizyka'),(169,'Monika','Adamów',NULL,'astri'),(170,'Bartłomiej','Igliński',' energetyka_odnawialna ochrona_środowiska chemia','chem'),(171,'Aldona','Glińska-Neweś',' zachowania_organizacyjne kultura_organizacyjna pozytywne_relacje_interpersonalne__…','econ'),(172,'Justyna','Rogalska',NULL,'umk'),(173,'Dariusz','Dziczek',NULL,'fizyka'),(174,'Anna','Zawadzka',NULL,'fizyka'),(175,'Marcin','Cichosz',' environmental_chemistry analytical_chemistry soda_ash_production','chem'),(176,'Magdalena','Gierszewska',' chemistry_polymers_biopolymers_membranes__…','chem'),(177,'Anna','Stefanska',' medicine','cm'),(178,'Krzysztof','Frączek',' dynamical_system ergodic_theory','mat'),(179,'Alicja','Chruścińska',NULL,'fizyka'),(180,'Julia','Maria',NULL,'stud'),(181,'Jerzy','Wiśniewski',NULL,'umk'),(182,'Piotr','Fiszeder',' financial_econometrics','umk'),(183,'Marcin','Sylwestrzak',' optical_coherence_tomography gpu gpgpu cuda','fizyka'),(184,'Magdalena','Izdebska',NULL,'cm'),(185,'Piotr','Malicki',' mathematics algebra representation_theory_of_algebras homological_algebra','mat'),(186,'Krzysztof','Rubacha',NULL,'umk'),(187,'Jacek','Zakrzewski',NULL,'fizyka'),(188,'Grzegorz','Pestka',' quantum_mechanical_description_of_few__…','fizyka'),(189,'Bartosz','Lew',NULL,'astro'),(190,'Piotr','Kolenderski',NULL,'fizyka'),(191,'Krzysztof','Leśniak',' topology dynamical_systems fractals game_theory','mat'),(192,'Michal','Jankowski',' geneza_gleb paleopedologia archeopedologia geografia_gleb systematyka_gleb','umk'),(193,'Malgorzata','Jefimow',NULL,'umk'),(194,'Karol','Strzalkowski',NULL,'fizyka'),(195,'Marian','Filar',' prawo_karne_materialne prawo_karne_procesowe kryminalistyka kryminologia polityka_kryminalna','umk'),(196,'Magdalena','Iwanicka',' conservation_science','umk'),(197,'Michał','Pawlak',' photothermal_radiometry photocarrier_radiometry infrared_thermography','fizyka'),(198,'Joanna','Kujawa',NULL,'umk'),(199,'Przemysław','Płóciennik',NULL,'fizyka'),(200,'Piotr','Pepłowski',' physics quabtum_dynamics stochastic_processes dynamical_systems databases','fizyka'),(201,'Paweł','Szroeder',' fizyka','fizyka'),(202,'Elzbieta','Grzelak-Kostulska',' geography demography tourism','umk'),(203,'Derra','Aleksandra',' gender_studies feminism contemporary_philosophy_of_language contemporary_philosophy_of_culture','umk'),(204,'Agnieszka','Olesinska',' prawo_podatkowe','umk'),(205,'Agnieszka','Piernik',NULL,'umk'),(206,'Zbigniew','Serafin',' neuroradiology cardiovascular_imaging interventional_radiology','cm'),(207,'Jan','Iwaniszewski',NULL,'fizyka'),(208,'Jarosław','Tyburski',' cellular_redox_systems antioxidant transcriptomics abiotic_stress bioremediation','umk'),(209,'Grzegorz','Sionkowski',' chemistry polymers nanoparticles membranes','chem'),(210,'Ewa','Olewnik-Kruszkowska',NULL,'umk'),(211,'Charzynski','Przemyslaw',' soil_science urban_soils technosols suitma cultural_tourism','umk'),(212,'Adriana','Szmidt-Jaworska',NULL,'umk'),(213,'Marek','Zieliński',' metrologia systemy_pomiarowe','fizyka'),(214,'Ewa','Bińczyk',' philosophy_of_language philosophy_of_science sociology_of_scientific_knowledge science_and_technology_studies','umk'),(215,'Roman','Rudnicki',' geografia_rolnictwa geografia_wsi obszary_wiejskie agroturystyka','umk'),(216,'Jacek','Jurkowski',NULL,'fizyka'),(217,'Justyna','Kosakowska',' algebra teoria_reprezentacji_algebr formy_kwadratowe','mat'),(218,'Małgorzata','Poznańska',' ecology hydrobiology macrozoobenthos','umk'),(219,'Marcin','Switoniak',NULL,'umk'),(220,'Bożena','Kołosowska',' ubezpieczenia finanse_przedsiębiorstw msp strategie_finansowe_przedsiębiorstw','umk'),(221,'Andrzej','Grzywacz',' diptera muscidae systematics forensic_entomology phylogenetics','umk'),(222,'Arkadiusz','Karwacki',' sociology_of_social_problems social_policy','umk'),(223,'Mariusz','Piwiński',' atomic_physics computer_networks itc','fizyka'),(224,'Ewa','Siemińska',NULL,'econ'),(225,'Marcin','Piwczynski',' evolutionary_biology entomology botany phylogenetics','umk'),(226,'Piotr','Hulisz',' soil_science geochemistry hydrochemistry','umk'),(227,'Piotr','Wcisło',NULL,'fizyka'),(228,'Maciej','Gagat',' cell_biology histology f-actin cell-cell_junctions confocal_microscopy','cm'),(229,'Seweryn','Morawiec',' plasmonics photonics photovoltaics iii-n_materials_and_devices','fizyka'),(230,'Piotr','Weckwerth',' geomorphology sedimentology geology','umk'),(231,'Zbigniew','Witkowski',' prawo_konstytucyjne prawo_parlamentarne prawo_konstytucyjne_porównawcze prawo_włoskie','umk'),(232,'Andrzej','Pietruszczak',' logika filozofia','umk'),(233,'Bożena','Gronowska',' prawa_człowieka','law'),(234,'Piotr','Szczepański',NULL,'umk'),(235,'Barbara','Ruszkowska-Ciastek',NULL,'cm'),(236,'Łukasz','Kuźbicki',' cancer_biology','umk'),(237,'Ludmiła','Tymińska-Widmer',' …__and_restoration_of_paintings_and_polychrome_… conservation_science','umk'),(238,'Tadeusz','Jasudowicz',' prawa_człowieka bioetyka międzynarodowe_prawo_humanitarne','umk'),(239,'Paweł','Dąbkowski',' automatyka_i_robotyka','fizyka'),(240,'Bozena','Bednarek-Michalska',' informacja_naukowa biblioteki_cyfrowe otwarta_nauka jakość_informacji','umk'),(241,'Maciej','Zastempowski',' innovation_management economics_of_innovation innovation smes','umk'),(242,'Tomasz','Siódmiak',NULL,'cm'),(243,'Dariusz','Sokołowski',' geografia_społeczno-ekonomiczna osadnictwo turystyka gospodarka_przestrzenna','umk'),(244,'Janusz','Strzelecki',' single_molecule force_spectroscopy afm dna biomechanics','fizyka'),(245,'Andrzej','Mróz',' representation_theory_of_algebras algorithms computational_complexity computer_science algebra','mat'),(246,'Mieczyslaw','Kunz',' gis remote_sensing land_use/cover landscape_ecology','umk'),(247,'Marta','Ziegler-Borowska',NULL,'chem'),(248,'Bogumiła','Kupcewicz',NULL,'cm'),(249,'Emilia','Wilmowicz',' molekularna_i_hormonalna_regulacja__… wpływ_stresu_szuszy_glebowej_na_nodulację','umk'),(250,'Mateusz','Borkowski',' amo_physics','fizyka'),(251,'Robert','Frankowski',' metrologia informatyka modelarstwo sport','fizyka'),(252,'Małgorzata','Jaworek',NULL,'umk'),(253,'Golinska','Patrycja',' microbiology','umk'),(254,'Andrzej','Korcala',NULL,'fizyka'),(255,'Piotr','Wiśniewski',' databases object_oriented_programing commutative_algebra hopf_algebras','mat'),(256,'Krzysztof','Wasielewski',' socjologia_edukacji socjologia_wychowania socjologia_wsi sociology_of_education nierówności_społeczne','umk'),(257,'Aleksander','Cwiszewski',' mathematics:_partial_differential_equations dynamical_systems applications_in_mathematical_modelling','mat'),(258,'Adrian','Wójcik',' social_psychology','umk'),(259,'Dariusz','Chaberski',' arm avr fpga time-interval_measurement','fizyka'),(260,'Józef','Binnebesel',NULL,'fizyka'),(261,'Katarzyna','Komar',NULL,'fizyka'),(262,'Joanna','Szczepanek',' gene_expression_profile microarray_technology','umk'),(263,'Marcin','Kuzel',' internacjonalizacja_przedsiębiorstw bezpośrednie_inwestycje_zagraniczne zarządzanie_wiedzą kapitał_intelektualny','umk'),(264,'Sławomir','Grzelak',NULL,'fizyka'),(265,'Renata','Drozdowska',' luminescence scintillators','fizyka'),(266,'Ewa','Prejs',' prawo podatki prawo_podatkowe zasady_konstytucyjne konstytucja','umk'),(267,'Justyna','Chodkowska-Miszczuk',' renewable_energy_sources energy_geography biogas local_development rural_areas','umk'),(268,'Aleksander','Deptula',' mikrobiologia choroby_zakaźne epidemiologia','cm'),(269,'Ewa','Dembowska',' phytoplankton_in_rivers lakes_and_oxbows chlorococcales volvocales diatoms','umk'),(270,'Agnieszka','Żuryń',NULL,'cm'),(271,'Radosław','Sojak',' sociology','umk'),(272,'Jadwiga','Biegańska',' rural_areas peri-urban_areas population_geography infrastructure','umk'),(273,'Ciechan-Kujawa','Marlena',' rachunkowość_-_audyt_-_controlling_-__…','econ'),(274,'Robert','Lenartowski',NULL,'umk'),(275,'Julita','Templin',' spiders anomaly arachnology development','umk'),(276,'Grzegorz','Osipowicz',' mesolithic stone_age_archaeology experimental_archaeology neolithic','umk'),(277,'Hanna','Solarczyk',' edukacja_dorosłych edukacja_całożyciowa doradztwo pedagogkika_porównawcza','umk'),(278,'Rafał','Kot',' georóżnorodność geodiversity geodiversitaet ekologia_krajobrazu landscape_ecology','umk'),(279,'Damian','Walczak',' ubezpieczenia ekonomika_rolnictwa finanse_publiczne msp','umk'),(280,'Magdalena','Sudoł',' archeologia paleolit_środkowy neandertalczyk kultura_mikocka','umk'),(281,'Krzysztof','Dobosz',' neural_networks cognitive_science artificial_intelligence machine_learning data_mining','is'),(282,'Jarosław','Porazinski',' historia_16-18_w. historia_literatury_staropolskiej archiwistyka','umk'),(283,'Jacek','Wijaczka',' <EMAIL>','umk'),(284,'Piotr','Stankiewicz',' science_and_technology_studies technology_assessment risk_studies innovations_in_energy_sector','umk'),(285,'Teresa','Napiórkowska',' spiders teratology anomalies cns','umk'),(286,'Andrzej','Kędziorski',NULL,'fizyka'),(287,'Maciej','Bosek',NULL,'cm'),(288,'Paweł','Napiórkowski',' hydrobiology ecology environmental_sciences','umk'),(289,'Maciej','Ostrowski',' enzymologia koniugaty_fitohormonów fosfolipaza_a2','umk'),(290,'Tomasz','Tarczewski',' automatic_control electrical_drives power_electronics neural_networks','fizyka'),(291,'Ewa','Głowacka',' bibliotekoznawstwo informatologia','umk'),(292,'Dorota','Górecka',' wielokryterialne_wspomaganie_decyzji','umk'),(293,'Kamila','Skrzypczyńska',NULL,'econ'),(294,'Katarzyna','Roszek',' cell_culture biochemistry enzymology','umk'),(295,'Michał','Głuszkowski',' linguistics sociolinguistics history_of_sociology językoznawstwo bilingualism','umk'),(296,'Jacek','Matulewski',' fizyka optyka_kwantowa kognitywistyka','phys'),(297,'Stefania','Środa-Murawska',' geography knowledge-based_economy culture poland germany','umk'),(298,'Łukasz','Pepłowski',' physics biophysics bioinformatics','fizyka'),(299,'Agnieszka','Sowinska',' linguistics','umk'),(300,'Łukasz','Afeltowicz',NULL,'umk'),(301,'Marta','Burzańska',NULL,'mat'),(302,'Piotr','Oliński',' history','umk'),(303,'Jacek','Jarosław',' pedagogika_specjalna komunikacja głębokie_deficyty_w_rozwoju','umk'),(304,'Łukasz','Mikulski',' theoretical_computer_science','mat'),(305,'Zbigniew','Stanisław',NULL,'mat'),(306,'Maciej','Ziółkowski',' bitcoin blockchain ethereum digital_currencies maciej_ziolkowski','stud'),(307,'Krzysztof','Domagalski',' infectious_diseases','umk'),(308,'Andrzej','Sokala',' prawo_rzymskie prawo_wyborcze','umk'),(309,'Piotr','Siemiątkowski',' international_investment_position foreign_direct_investment financial_dependence międzynarodowa_pozycja_inwestycyjna biz','umk'),(310,'Małgorzata','Szałucka',' bezpośrednie_inwestycje_zagraniczne strategie_internacjonalizacji konkurencyjność_przedsiębiorstwa konkurencyjność_mię','umk'),(311,'Agnieszka','Polak',' algebraic_graph_theory spectral_graph_theory algorithms','mat'),(312,'Kamil','Zawadzki',' labour_market creative_economy polityka_rynku_pracy przemysły_kreatywne zarządzanie_zasobami_ludzkimi','umk'),(313,'Karolina','Słowik',NULL,'fizyka'),(314,'Krzysztof','Pietrowicz',' teoria_socjologiczna metodologia_nauk_społecznych socjotechnika badania_zakulisowe socjologia_kultury','umk'),(315,'Malgorzata','Gut',' cognitive_psychology psychophysiology neuroplasticity mathematical_cognition','umk'),(316,'Piotr','Rączka',' samorząd samorząd_zawodowy prawo_i_postępowanie_administracyjne','umk'),(317,'Ewelina','Zarakowska',' fitness jazda_na_nartach','cm'),(318,'Piotr','Przymus',NULL,'mat'),(319,'Veslava','Osińska',' information_visualization wizualizacja_informacji knowledge_visualization science_visualisation','umk'),(320,'Waldemar','Chorążyczewski',' archiwistyka dyplomatyka historia_nowożytna klimatologia_historyczna antropologia_historyczna','umk'),(321,'Ewa','Chojnacka',' financial_reporting nonfinancial_reporting capital_structure','umk'),(322,'Tomasz','Piotrowski',' signal_processing','is'),(323,'Piotr','Petrykowski',' społeczno_-_kulturowe_uwarunkowania__… tożsamość_kulturowa_(cultural_iden','umk'),(324,'Aleksandra','Banaszkiewicz',' historia_rachunkowości','umk'),(325,'Monika','Chodorek',' systemy_zarządzania_talentami zarządzanie_strategiczne strategie_konkurencyjności_przedsiębiorstw','umk'),(326,'Grzegorz','Goździewicz',' prawo_pracy zbiorowe_prawo_pracy ubezpieczenia_społeczne','umk'),(327,'Witold','Orzeszko',' nonlinear_financial_time_series','umk'),(328,'Marek','Nasieniewski',' logic philosophy','umk'),(329,'Tomasz','Karasiewicz',' geomorphology palaeogeography_...','umk'),(330,'Bartłomiej','Michalak',' prawo_wyborcze systemy_wyborcze zachowania_elektoratu','umk'),(331,'Wojciech','Morawski',' prawo','law'),(332,'Marzena','Fandzloch',' bioinorganic_chemistry','umk'),(333,'Andrzej','Lis',' zarządzanie restrukturyzacja przemysł_obronny logistyka_wojskowa outsourcing','econ'),(334,'Tomasz','Jędrzejewski',' prawo_administracyjne','umk'),(335,'Krzysztof','Łączkowski',' anticancer_activity antimicrobial_activity anticonvulsants thiazole','cm'),(336,'Piotr','Roszak',' thomas_aquinas medieval_exegesis mozarabs camino_de_santiago fundamental_theology','umk'),(337,'Stanisław','Burdziej',' procedural_justice legitimacy sociology_of_law citizen_court_monitoring social_theory','umk'),(338,'Barbara','Jozefowicz',' zachowania_organizacyjne zarządzanie_zaufaniem zarządzanie_marką','umk'),(339,'Piotr','Morzynski',NULL,'fizyka'),(340,'Joanna','Czarnecka',' biochemia','umk'),(341,'Katarzyna','Liczmańska',' brand_management entrepreneurship_international_-_business__…','econ'),(342,'Maciej','Markiewicz',' soil_science soil_organic_matter soils_in_catchment_of_disappearing_lakes pedoarchaeology','umk'),(343,'Krzysztof','Rykaczewski',' partial_differential_equations applications_of_mathematics mathematical_modelling','mat'),(344,'Arkadiusz','Lach',' prawo_karne_procesowe cyberprzestępczość europejskie_prawo_karne','umk'),(345,'Monika','Kwiecińska-Zdrenka',' sociology social_studies youth women civic_activity','umk'),(346,'Mirosław','Biczkowski',' obszary_wiejskie fundusze_ue geografia geografia_wsi','umk'),(347,'Tomasz','Kempa',' early_modern_history history_of_eastern_europe','umk'),(348,'Krzysztof','Piątek',' polityka_społeczna_-_polityka_socjalna_-__…','umk'),(349,'Robert','Huterski',' pieniądz polityka_pieniężna zrównoważony_rozwój finanse_publiczne finanse_międzynarodowe','umk'),(350,'Wiesław','Nowosad',' historia_nowożytna archiwistyka genealogia historia_klimatu dokument_elekroniczny','umk'),(351,'Sebastian','Drużyński',NULL,'uni'),(352,'Odile','Franck',NULL,'fizyka'),(353,'Michał','Moszyński',' macroeconomics economic_order economic_transformation institutional_economics','umk'),(354,'Mariusz','Pawlak',' atomic_and_molecular_physics quantum_physics quantum_chemistry','chem'),(355,'Magdalena','Niedzielska',' german_history prussia 19th_century political_thought liberalism','umk'),(356,'Stanisław','Roszak',' historia_kultury','umk'),(357,'Przemyslaw','Zywiczynski',' evolution_of_language pragmatics axiology buddhism','umk'),(358,'Dorota','Krupa',' finance investment_funds financial_markets','umk'),(359,'M.','Bober',NULL,'fizyka'),(360,'Jacek','Wantoch-Rekowski',' prawo_finansów_publicznych składki_na_ubezpieczenia_społeczne podatki_i_opłaty_lokalne','umk'),(361,'Dorota','Chełminiak-Dudkiewicz',NULL,'doktorant'),(362,'Slawomir','Wacewicz',' evolution_of_language cognitive_science','umk'),(363,'Maria','Kola-Bezka',' rozwój_regionalny uwarunkowania_rozwoju_przedsiębiorczości fundusze_unijne konkurencyjność_regionów poziom_i_jakość','econ'),(364,'Tomasz','Wolniewicz',' matematyka informatyka','umk'),(365,'Beata','Przyborowska',' theory_of_innovation general_pedagogy','umk'),(366,'Iwona','Kaproń-Charzyńska',' linguistics','umk'),(367,'Michał','Buszko',' bankowość rynek_kapitałowy finanse_strukturyzowane','econ'),(368,'Edyta','Adamska',' lichenologia ochrona_przyrody','umk'),(369,'Zbigniew','Karpus',' history international_relations','umk'),(370,'Joanna','Dreszer',' cognitive_science intelligence tip time_perception timing','umk'),(371,'Magdalena','Żabowska',' linguistics semantics językoznawstwo metatekst leksykografia','umk'),(372,'Przemysław','Grodzicki',' honeybee_physiology thermoregulation behaviour','umk'),(373,'Łukasz','Andrzej',' archaeology palaeolithic conservation_and_preservation archaeoinformatics computer_science','umk'),(374,'Magdalena','Twardowska',' nanotechnology graphene plasmonics energy_transfer microscopy','fizyka'),(375,'Jacek','Kwiatkowski',' statistics econometrics bayesian_inference time_series','uni'),(376,'Ewa','Wedrowska',NULL,'umk'),(377,'Karolina','Smolarek',NULL,'fizyka'),(378,'Karolina','Mikulska-Ruminska',' biophysics molecular_dynamics docking force_spectroscopy smfs','fizyka'),(379,'Jaroslaw','Dumanowski',' history','umk'),(380,'Marcin','Fałdziński',NULL,'umk'),(381,'Marcin','Witkowski',' physics_-_solid_state_physics_-_luminescence_-__…','fizyka'),(382,'Aneta','Szóstek',' bezpośrednie_inwestycje_zagraniczne','econ'),(383,'Tomasz','Jędrzejewski',NULL,'umk'),(384,'Andrzej','Wawrzak',' automatyka sterowniki_mikroprocesorowe serwonapędy','fizyka'),(385,'Małgorzata','Kowalska',' crowdsourcing informaton_science methodology_of_research digitalization_of_information_resources infobrokering','umk'),(386,'Adam','Dobaczewski',' theoretical_linguistics semantics lexicology','umk'),(387,'Hanna','Karaszewska',' human_resources_management motivation_and_remunaration_systems','econ'),(388,'Tomasz','Wandtke',' gene_therapy lung_cancer interstitial_lung_diseases molecular_cell_biology','doktorant'),(389,'Sebastian','Żurowski',' linguistics','umk'),(390,'Monika','Wojdyło-Preisner',' polityka_rynku_pracy','umk'),(391,'Aleksandra','Pospieszyńska',' climatology dendroclimatology','doktorant'),(392,'Mieczysław','Kluba',NULL,'umk'),(393,'Zbigniew','Nerczuk',' ancient_philosophy','umk'),(394,'Edyta','Deja-Sikora',' microbial_ecology biodiversity ngs','umk'),(395,'Bartosz','Celmer',' artificial_intelligence artificial_neural_networks','is'),(396,'Sylwester','Bejger',' industrial_organization competition_studies game_theory operational_research econometrics','umk'),(397,'Renata','Paprocka',' chemia_medyczna szachy','cm'),(398,'Janusz','Tondel',NULL,'umk'),(399,'Waldemar','Rozynkowski',NULL,'umk'),(400,'Lech','Zieliński',' językoznawstwo przekałdoznawstwo historia_niemiec','uni'),(401,'Szymon','Śmiga',' electron_correlation optimized_effective_potential_method many_body_theory density_functional_theory coupled_cluster_methods','fizyka'),(402,'Katarzyna','Witkowska-Chrzczonowicz',' prawo_europejskie prawo_konstytucyjne prawo_porównawcze','umk'),(403,'Waldemar','Glabiszewski',' zarządzanie_usługami_i_procesami konkurencyjność_i_innowacyjność transfer_technologii komunikacja_i_kreowanie_wizerunku','umk'),(404,'Patryk','Wawrzynski',' government\'s_remembrance_policy politics_of_memory identity_politics transitional_studies political_mythologies','doktorant'),(405,'Błażej','Łyszczarz',' ekonomika_zdrowia health_economics determinants_of_health','cm'),(406,'Jan','Burdziej',' gis geoinformation digital_cartography web_mapping spatial_accessibility','umk'),(407,'Michał','Balcerzak',' prawo_międzynarodowe_publiczne prawa_człowieka','umk'),(408,'Agnieszka','Pawełek',' calcium_signalling stress_reactions molecular_biology biotechnology plant_physiology','umk'),(409,'Anna','Hnatyszyn-Dzikowska',' ekonomika_zdrowia health_economics health_systems state','cm'),(410,'Małgorzata','Świderska',' prawo_medyczne prawo_rodzinne prawo_cywilne prawo_francuskie','law'),(411,'Krystian','Erwiński',' cnc nurbs artificial_neural_network optimization ethernet_powerlik','fizyka'),(412,'Joanna','Muszyńska',NULL,'umk'),(413,'Alicja','Jaworska-Pastuszak',' representation_theory','mat'),(414,'Artur','Słomka',NULL,'cm'),(415,'Maciej','Serowaniec',' prawo_konstytucyjne prawo_parlamentarne porównawcze_prawo_konstytucyjne','umk'),(416,'Justyna','Łapińska',' international_economics','umk'),(417,'Danuta','Musiał',' ancient_greek_and_roman_religion women_in_roman_world','umk'),(418,'Anna','Bitner',' aktywność_autonomicznego_układu__… farmakoterapia','cm'),(419,'Grzegorz','Kowzan',NULL,'fizyka'),(420,'Krystyna','Mruczek-Nasieniewska',' logic algebra philosophy','umk'),(421,'Wojciech','Cichosz',' pedagogika katechetyka szkolnictwo_katolickie teologia_apostolstwa przemiany_kulturowe','umk'),(422,'Agata','Kućko',' plant_physiology organ_abscission phytohormones','doktorant'),(423,'Robert','Skiba',' mathematics nonlinear_analysis','mat'),(424,'Wanda','Roman',' archiwistyka historia kultura_dokumentacyjna informacja','umk'),(425,'Adam','Kola',' comparative_literature_/_komparatystyka__… historia_nauki slawistyka kulturoznawstwo ant','umk'),(426,'Rafał','Gruszczyński',' logic mereology point-free_geometry point-free_topology','umk'),(427,'Adrian','Topolski',' inorganic_chemistry kinetics material_science titania_nanotubes surface_modifications','umk'),(428,'Małgorzata','Kowalczyk',' criminology victimology rehabilitation','umk'),(429,'Marcin','Paprocki',' artificial_intelligence cnc fpga ethernet_powerlik rtos','fizyka'),(430,'Małgorzata','Grupa',' archeologia konserwacja kostiumologia tkaniny archaeology','umk'),(431,'Michal','Ziemiak',' insurance_law civil_law consumer_law','law'),(432,'Paweł','Brzustewicz',' marketing sustainable_marketing new_product_development business_ethics','umk'),(433,'Beata','Borowska-Beszta',' kultura_i_niepełnosprawność._kultury__…','umk'),(434,'Jan','Malinowski',' pedagogika_społeczna pedagogika_czasu_wolnego socjologia_edukacji turystyka','umk'),(435,'Adam','Sikora',' brak','cm'),(436,'Jerzy','Lachowski',' film n<NAME>ka','umk'),(437,'Czesław','Adamiak',' tourism_geography','umk'),(438,'Piotr','Ablewski',' atomic_and_molecular_physics spectroscopy spectral_line_shapes cold_and_ultracold_molecules','fizyka'),(439,'Joanna','Kulwicka-Kamińska',' historical_linguistics kitab_studies translation_studies','umk'),(440,'Jarosław','Horowski',NULL,'umk'),(441,'Aleksander','Zawadzki',' rachunkowość_finansowa','econ'),(442,'Dorota','Porowińska',' biologia biochemia biotechnologia','umk'),(443,'Katarzyna','Suwada',' gender_studies men\'s_studies sociology_of_families sociological_theories qualitative_research','umk'),(444,'Małgorzata','Fedorowicz-Kruszewska',' bibliologia_i_informatologia public_relations zarządzanie_organizacjami_non-profit projektowanie_unwersalne','umk'),(445,'Adam','Szweda',' historia_średniowieczna nauki_pomocnicze_historii','umk'),(446,'Marek','Nowicki',' compuiter_science','mat'),(447,'Iwona','Escher',' marketing badania_marketingowe zachowania_konsumentów','umk'),(448,'Maciej','Krzyżyński',NULL,'doktorant'),(449,'Dawid','Szostek',' marketing organizational_behaviour marketing_research scial_marketing employees','umk'),(450,'Łukasz','Mendyk',' gleby osady_jeziorne osady_stawów_młyńskich','doktorant'),(451,'Ryszard','Mikulski',NULL,'umk'),(452,'Tomasz','Jeliński',' chemia epoksydy ciecze_jonowe','cm'),(453,'Dariusz','Kotecki',' ewangelie_synoptyczne apokalipsa_św._jana egzegeza teologia_i_hermeneutyka_biblijna','umk'),(454,'Karolina','Karpus',' law environmental_law','umk'),(455,'Wanda','Ciszewska',' history_of_the_book movement-book_publishing_since_1945 contemporary_publishing_movement desktop_publishing.','umk'),(456,'Adam','Piasecki',' hydrologia limnologia gospodarka_wodna','doktorant'),(457,'Halina','Robótka',' archiwistyka zarządzanie_dokumentacją archival_science records_management','umk'),(458,'Kamil','Ciszak',NULL,'fizyka'),(459,'Grażyna','Szczepańska',NULL,'chem'),(460,'Marcin','Czyżniewski',' czechy europa_środkowa','umk'),(461,'Monika','Wałachowska',' civil_law insurance_law medical_law private_international_law intellectual_property_law','umk'),(462,'Mateusz','Wilk',NULL,'mat'),(463,'Krzysztof','Służewski',NULL,'fizyka'),(464,'Dorota','Michaluk',NULL,'umk'),(465,'Anna','Branach-Kallas',' postcolonial_studies canadian_literature war_and_trauma_studies gothic_literature','umk'),(466,'Łukasz','Syrocki',NULL,'fizyka'),(467,'Adam','Grzeliński',' filozofia estetyka','umk'),(468,'Katarzyna','Pleskacz',' fizyka statystyka medycyna','fizyka'),(469,'Joanna','Wyszkowska',NULL,'umk'),(470,'Grzegorz','Pastuszak',' representation_theory model_theory linear_algebra','mat'),(471,'Elżbieta','Kostowska-Watanabe',' japanese_society','umk'),(472,'Jan','Boratyński',' physiological_ecology phenotypic_flexibility heterothermy energetics','doktorant'),(473,'Tomasz','Komendzinski',' kognitywistyka komunikacja świadomość studia_interdyscyplinarne ucieleśnienie','umk'),(474,'Slawomir','Mandra',' automatic_control electrical_drives','fizyka'),(475,'Anna','Lewandowska-Czarnecka',' analiza_emergetyczna_agrosystemów przepływ_energii_i_materii zarządzanie_zasobami_naturalnymi','umk'),(476,'Katarzyna','Marciniak',' plant_physiology molecular_biology','umk'),(477,'Jarosław','Piersa',' artificial_neural_networks bayesian_networks 3d_graphics','mat'),(478,'Michał','Wróblewski',' science_and_technology_studies theory_of_hegemony biomedicalization','umk'),(479,'Dorota','Jachimowicz-Gaweł',NULL,'cm'),(480,'Beata','Stachowiak',NULL,'umk'),(481,'Dariusz','Kamiński',' botany environmental_biology phytosociology','umk'),(482,'Małgorzata','Gębka-Wolak',' linguistics','umk'),(483,'Joanna','Górka',NULL,'umk'),(484,'Marcin','Sikora',' genome_sequencing bioinformatics genetics_of_non-communicable_diseases','abs'),(485,'Kamila','Majewska',' tablica_multimedialna nowoczesne_media_dydaktyczne nauczanie_interaktywne','umk'),(486,'Anna','Kola',' social_work sociology_of_education university praca_socjalna socjologia_edukacji_szkoły_wyższej','umk'),(487,'Karolina','Górna',' econometrics panel_data spatial_econometrics fuzzy_logic','doktorant'),(488,'Tomasz','Jaworski',' geomorphology','umk'),(489,'Andrzej','Neubauer',NULL,'umk'),(490,'Łukasz','Wojtkowski',' mediatization media_sociology critical_theory media_theory social_movements','umk'),(491,'Marek','Kachnic',' geology hydrogeology computing environmental_modelling','umk'),(492,'Wojciech','Olszewski',NULL,'umk'),(493,'Filip','Nalaskowski',' szkolnictwo_wyższe edukacja kultura_popularna ubóstwo','umk'),(494,'Paulina','Szatkowska',' toksykologia','cm'),(495,'Szymon','Tamborski',' optics tomography microscopy','fizyka'),(496,'Łukasz','Pałkowski',NULL,'cm'),(497,'Piotr','Sobotka',' general_linguistics philosophy_of_language etymology historical_linguistics semantics','umk'),(498,'Anna','Brzezińska-Rawa',' prawo_planowania_i_zagospodarowania__… prawo_budowlane publiczne_prawo_konkurencji','law'),(499,'Ewa','Kurkowska',' information_literacy e-learning','umk'),(500,'Joanna','Petrykowska',' marketingowo-logistyczna_obsługa_klienta__(_… nowoczesne_formy_promocji_(modern_forms_o','umk'),(501,'Łukasz','Niewiara',' energoelektronika sterowanie_napędem odnawialne_źródła_energii logika_rozmyta sztuczne_sieci_neuronowe','fizyka'),(502,'Agnieszka','Łyszkiewicz',' ecology','umk'),(503,'Marcin','Wiewióra',' archaeology architecture nubiology teutonic_castles castle','umk'),(504,'Remigiusz','Sokołowski',' medicine','stud'),(505,'Bronisława','Woźniczka-Paruzel',' bibliologia biblioterapia czytelnictwo osoby_niepełnosprawne','umk'),(506,'Mikołaj','Zaborowski',NULL,'fizyka'),(507,'Zdzisław','Pawłowski',' hermeneutyka_biblijna egzegeza_narracyjna księgi_narracyjne_st','umk'),(508,'Jolanta','Wiśniewska',' audit expert_auditors\'_services assurance_of_csr_reports forensic_accounting ethics_in_accounting','umk'),(509,'Marta','Czyżak',' historia_kościoła_w_średniowieczu rękopisoznawstwo','umk'),(510,'Anna','Drążkowska',' odzież_grobowa krypty historia_ubioru','umk'),(511,'Agnieszka','Huterska',NULL,'umk'),(512,'Leszek','Wydzgowski',NULL,'fizyka'),(513,'Ania','Gogolinska',' bioinformatics petri_nets immune_system molecular_dynamic_simulations antibodies','mat'),(514,'Agnieszka','Rosa',' archiwistyka archival_science egodokument historia','umk'),(515,'Tomasz','Kupś',' philosophy german_philosophy history_of_philosophy philosophy_of_religion history_of_religions','umk'),(516,'Michał','Kukieła',' partially_ordered_sets combinatorial_topology','mat'),(517,'Alicja','Drozd-Lipińska',' archaeology anthropology demography_and_population_studies','umk'),(518,'Katarzyna','Goldmann',' e-biznes analiza_finansowa zarządzanie_płynnością_finansowa','econ'),(519,'Agnieszka','Górska-Pukownik',' biomembranes fluorescence_microscopy raman_spectroscopy atomic_force_microscopy','fizyka'),(520,'Radosław','Puchałka',NULL,'umk'),(521,'Marta','Hałas-Wiśniewska',NULL,'cm'),(522,'Aleksandra','Lewandowska',' sustainable_development urban_ecology eco-cities environmental_ethics bioethics','doktorant'),(523,'Rafał','Palczewski',NULL,'umk'),(524,'Dorota','Buczyńska',NULL,'fizyka'),(525,'Czesław','Kustra',' pedagogika opieka profilaktyka resocjalizacja','umk'),(526,'Paweł','Bohuszewicz',' teoria_literatury literatura_dawna historia_i_teoria_powieści teoria_narracji teoria_interpretacji','umk'),(527,'Marcin','Zdrenka',' ethics history_of_morals virtues_and_vices','umk'),(528,'Janusz','Bojarski',' economic_crime_money_laundreing_corruption','umk'),(529,'Tomasz','Kazimierczak',' cosmology large_scale_structure n-body_simulations dark_matter dark_energy','astro'),(530,'Piotr','Olszewski',' entomology hymenoptera aculeata','stud'),(531,'Tomasz','Kruszewski',' komunikacja_i_psychologia_społeczna psychologia_posiadania psychoterapia_poznawczo-behawioralna','umk'),(532,'Agnieszka','Szulc',' rynek_pracy nowa_ekonomia_instytucjonalna szara_strefa','umk'),(533,'Jan','Perszon',' eklezjologia teologia_fundamentalna etnologia','umk'),(534,'Kinga','Bączyk-Rozwadowska',' civil_law medical_law consumer_law','law'),(535,'Zbigniew','Kwaśniewski',' prawo_handlowe','umk'),(536,'Mirosław','Supruniuk',' historia_nauki historia_sztuki historia_kultury emigracja polonia','umk'),(537,'Anna','Tarnowska',' historia_ustroju_i_prawa …__administracji__-_adiunkt_na_wydziale_prawa_i__…','law'),(538,'Rafał','Jakubowski',' computational_biophysics bioinformatics protein_interactions drug_design','fizyka'),(539,'Szymon','Olszaniec',' późne_cesarstwo_rzymskie bizancjum','umk'),(540,'Karolina','Zawada',' astronomy','astro'),(541,'Wojciech','Pikor',' stary_testament prorocy analiza_narracyjna analiza_retoryczna katecheza_biblijna','umk'),(542,'Jakub','Rydzewski',' molecular_dynamics chemical_physics','fizyka'),(543,'Joanna','Winska',' zachowania_organizacyjne','umk'),(544,'Violetta','Wróblewska',' folklor kultura_i_literatura_dziecięca kultura_i_literatura_popularna','umk'),(545,'Zdzisław','Gordon',' prawo_handlowe prawo_zamówień_publicznych','umk'),(546,'Sławomir','Kunka',' protologia antropologia_adekwatna personalizm','umk'),(547,'Joanna','Karlowska-Pik',' probability_theory','mat'),(548,'Tomasz','Jarmakowski-Kostrzanowski',' control_deprivation moral_psychology political_psychology','umk'),(549,'Hanna','Kletkiewicz',' biologia','doktorant'),(550,'Wiktor','Szewczak',' political_science sociology','umk'),(551,'Tomasz','Leszniewski',NULL,'umk'),(552,'Wioletta','Kwiatkowska',' education e-learning individual_preferences_in_e-learning media_pedagogy','umk'),(553,'Damian','Czarnecki',' addiction_(alcohol care nutrition_status craving_and_relapse) homelessness','cm'),(554,'Marcin','Wołk',' literatura_/_literature','umk'),(555,'Krzysztof','Nierzwicki',' księgoznawstwo inkunabulistyka biblioteki_kościelne','umk'),(556,'Bibianna','Balaj',' cognitive_psychology eye_tracking hci bci','umk'),(557,'Radosław','Biskup',NULL,'umk'),(558,'Adrian','Falkowski',NULL,'mat'),(559,'Beata','Stachowiak',NULL,'umk'),(560,'Krzysztof','Szulzycki',' optyka','fizyka'),(561,'Brygida','Świeżawska',' plant_physiology molecular_biology biotechnology','umk'),(562,'Maciej','Siwicki',' ochrona_własności_intelektualnej cyberprzestępczość','umk'),(563,'Marek','Chabowski',' sedimentology','umk'),(564,'Maria','Wincławska',' partie_polityczne systemy_partyjne australia','umk'),(565,'Bartosz','Pałucki',' it gardering','fizyka'),(566,'Natalia','Kijek',' science-luminescence travelling speedway reports-books','fizyka'),(567,'Jolanta','Żelazna',' historia_filozofii filozofia_xvii_w. filozofia_niemieckiego_obszaru_językowego','umk'),(568,'Justyna','Grzelak',' fizyka chemia','fizyka'),(569,'Jarosław','Czoków',' engineering_physics acoustic_engineering instrumentation_engineering','fizyka'),(570,'Krystyna','Bojałkowska',' linguistics','umk'),(571,'Anita','Pacholik-Żuromska',' philosophy_of_mind philosophy_of_neuroscience theory_of_knowledge','umk'),(572,'Małgorzata','Banasiak',' education parent-teacher_relations teacher_training teacher_education theory_of_school','umk'),(573,'Ditta','Baczała',' rozwój_społeczny_osób_z__… kompetencje_społeczne social_developement_of_people_with_mental__… social_skills social_competences','uni'),(574,'Joanna','Górna',' ekonometria logika_rozmyta statystyka','doktorant'),(575,'Kamil','Wiwatowski',' spectroscopy nanotechnology luminescence optics','doktorant'),(576,'Violetta','Kopińska',' education school_education civic_education critical_discourse_analysis','umk'),(577,'Maciej','Kosicki',NULL,'fizyka'),(578,'Anna','Frydrych-Depka',' prawo_wyborcze podstawowe_zasady_prawa_wyborczego bezpośredniości_wyborów_zasada','umk'),(579,'Mariusz','Popławski',' samorząd_terytorialny organizacje_pozarządowe','umk'),(580,'Maciej','Karpicz',' homological_algebra representation_theory','mat'),(581,'Krzysztof','Kopiński',' nauki_pomocnicze_historii archiwistyka edytorstwo','umk'),(582,'Dominika','Czyżak',' bibliotekarstwo biblioteki_cyfrowe','umk'),(583,'Sebastian','Meszyński',' systemy_wieloagentowe logika_rozmyta systemy_ekspertowe biofizyka','fizyka'),(584,'Bartosz','Awianowicz',' retoryka neolatynistyka numizmatyka_antyczna historia_antyczna','umk'),(585,'Magdalena','Mateja',' media_masowe komunikacja kultura_popularna feminizm','umk'),(586,'Tadeusz','Wasilewski',NULL,'law'),(587,'Mirosław','Mróz',' thomas_aquinas biblical_thomism ethics moral_theology','umk'),(588,'Andrzej','Gaca',' historia_państwa_skandynawskich historia_rosji historia_włoch powszechna_historia_państwa_i_prawa','umk'),(589,'Włodzimierz','Juśkiewicz',NULL,'umk'),(590,'','Bozena',' profesor_assistant conservation_and_restoration_of_works_of_art','umk'),(591,'Marcin','Hlebionek',' heraldyka sfragistyka genealogia archiwistyka dzieje_wielkopolski','umk'),(592,'Aneta','Prymaczek',NULL,'doktorant'),(593,'Anna','Moszyńska',' historia_prawa','law'),(594,'Sławomir','Kujawski',' <EMAIL>','stud'),(595,'Maciej','Ryczkowski',' monetary_policy money_creation modern_central_banking monetary_policy_transmission_mechanism role_of_money_and_credit','umk'),(596,'Krzysztof','Wawrzonkowski',' estetyka teoria_poznania historia_filozofii','umk'),(597,'Jarosław','Przeperski',' praca_socjalna pedagogika_społeczna rodzina family_social_work family','umk'),(598,'Wiesław','Łużyński',' katolicka_nauka_społeczna','umk'),(599,'Marcin','Budny',' diazo_compounds catalytic_reactions stereoselective_synthesis hydroxamic_acids nmr','stud'),(600,'Małgorzata','Skibińska',' pedagogika_medialna technologia_kształcenia umiejętności_informacyjne kompetencje_informacyjne umiejętności_medialne','umk'),(601,'Robert','Degen',' archiwistyka zarządzanie_dokumentacją kancelaria_wpółczesna archival_science records_management','umk'),(602,'Lucyna','Czechowska',' teoria_stosunków_międzynarodowych partnerstwa_strategiczne polityka_zagraniczna_polski relacje_zewnętrzne_unii_europejskie','umk'),(603,'Piotr','Chrzczonowicz',' prawo_karne kryminologia penologia penitencjarystyka prawo_konstytucyjne','umk'),(604,'Joanna','Kamper-Warejko',NULL,'umk'),(605,'Edmund','Kartanas',NULL,'umk'),(606,'Dariusz','Brzostek',' cultural_studies anthropology literary_studies psychoanalysis','umk'),(607,'Marlena','Jabłońska',' pierwszy_obszar_zainteresowań drugi_obszar_zainteresowań','umk'),(608,'Artur','Czerwiński',' open_quantum_systems quantum_control quantum_tomography mathematical_physics algebra','stud'),(609,'Bogdan','Burdziej',' polish_literature polish-jewish_relations','umk'),(610,'Katarzyna','Dembska',' współczesny_język_polski czeski_i_rosyjski','umk'),(611,'Dorota','Siemieniecka',' media_pedagogy','umk'),(612,'Janina','Wiertlewska',' sociolinguistics esp/medical_english linguistic_sustainabilty ecology_o_flanguage/communication transdisciplinary_studies','cm'),(613,'Roman','Czaja',' historia_średniowiecz historia_miast historia_zakonów_rycerskich','umk'),(614,'Paweł','Nowicki',' system_zamówień_publicznych ekonomiczna_analiza_prawa prawo_unii_europejskiej','law'),(615,'Artur','Duda',' theatre_studies performance_studies culture_studies','umk'),(616,'Miroslaw','Zientarski',' educational_sciences','umk'),(617,'Andrzej','Geise',' ekonometria econometrics statystyka statistics forecasting','doktorant'),(618,'Marcin','Kilanowski',' legal_theory political_theory jurisprudence','umk'),(619,'Katarzyna','Wieckowska',' literature cultural_studies gender_studies feminism','umk'),(620,'Marcin','Szalkowski',' plasmonics photosynthesis nanotechnology luminescence optics','fizyka'),(621,'Wacław','Lewandowski',' historia_literatury','umk'),(622,'Krzysztof','Kucharski',' prawo_działaności_gospodarczej prawo_budowlane zagospodarowanie_przestrzenne','umk'),(623,'Dariusz','Pniewski',NULL,'umk'),(624,'Łukasz','Ćwikliński',NULL,'fizyka'),(625,'Wiesława','Kwiatkowska',' archiwistyka metodyka_opracowania_zasobu_archiwalnego kancelaria_xix_-_xx_w.','umk'),(626,'Izabela','Jamorska',' geology hydrogeology geotourism','umk'),(627,'Takeo','Kamizawa',' dynamical_system open_quantum_systems number_theory','fizyka'),(628,'Piotr','Grochowski',' kulturoznawstwo medioznawstwo folklorystyka','umk'),(629,'Daniel','Żuromski',' filozofia_umysłu poznania psychologii neopragmatyzm','umk'),(630,'Zuzanna','Pepłowska-Dąbrowska',' private_law maritime_law international_commercial_law tourism_law','law'),(631,'Katarzyna','Siudzińska',' open_quantum_systems geometry_of_quantum_mechanics','doktorant'),(632,'Daniel','Brzeziński',' historia_i_teologia_liturgii liturgia_i_architektura','umk'),(633,'Piskorska','Elżbieta',' elektrofizjologia choroby_zawodowe medycyna_doświadczalna diagnostyka_laboratoryjna','cm'),(634,'Małgorzata','Cilak',NULL,'umk'),(635,'Dorota','Degen',' polityka_wydawnicza','umk'),(636,'Kamil','Wyrąbkiewicz',' mobile_robots automatic_control electrical_drives','fizyka'),(637,'Dominik','Mirosław',' systemy_zarządzania_treścią','umk'),(638,'Piotr','Sadowski',' prawa_człowieka imigracja uchodźcy cudzoziemcy','umk'),(639,'Milena','Kulasek',NULL,'doktorant'),(640,'Alina','Tomaszewska-Szewczyk',' konserwacja_zabytków_metalowych','umk'),(641,'Wojciech','Stemplowski',' biotechnology epidemiology health_science','stud'),(642,'Karolina','Rokicka-Murszewska',' prawo_administracyjne planowanie_i_zagospodarowanie__…','umk'),(643,'Agnieszka','Wałęga',' historia_wychowania','umk'),(644,'Natalia','Karczewska-Kamińska',' civil_law medical_law','umk'),(645,'Aleksandra','Sikorska-Lewandowska',' prawo_handlowe prawo_rzeczowe prawo_wspólnot_mieszkaniowych','umk'),(646,'Urszula','Zaborska',NULL,'umk'),(647,'Monika','Kamińska',' kultury_in_vitro fizjologia_roślin biotechnologia','doktorant'),(648,'Milena','Śliwińska',' bibliologia prasoznawstwo e-media','umk'),(649,'Anna','Kola',' sociology_of_education university social_elite','umk'),(650,'Maciej','Pokornowski',' artificial_intelligence language_processing language_evolution data_science syntax','doktorant'),(651,'Katarzyna','Marak',' horror_studies popular_culture_studies american_popular_culture japanese_popular_culture media_anthropology','umk'),(652,'Łukasz','Maszewski',' prawo_administracyjne publiczne_prawo_gospodarcze','umk'),(653,'Magdalena','Cuprjak',' tożsamość gimnazjum dorastanie relacje_w_klasie metodologia_badań_nad_edukacją','umk'),(654,'Lidia','Wisniewska',' body_image trauma','umk'),(655,'Katarzyna','Krupa-Lipińska',' prawo_własności_przemysłowej prawo_odszkodowawcze prawo_medyczne','umk'),(656,'Natalia','Przybylska',' zarządzanie innowacyjność sektor_msp otwarte_innowacje crowdsourcing','doktorant'),(657,'Katarzyna','Wegrzynowska-Drzymalska',NULL,'doktorant'),(658,'Mateusz','Olech',NULL,'astro'),(659,'Andrzej','Gajewski',' optyka_kwantowa','fizyka'),(660,'Paweł','Ossowski',NULL,'fizyka'),(661,'Maciej','Żenkiewicz',NULL,'law'),(662,'Agnieszka','Glińska',NULL,'umk'),(663,'Marzena','Szabłowska-Juckiewicz',NULL,'law'),(664,'Agata','Czarnecka',NULL,'law'),(665,'Karol','Kłodziński',' historia_starożytna prawo_rzymskie administracja_rzymska','umk'),(666,'Joanna','Piechowiak-Lamparska',NULL,'umk'),(667,'Beata','Pietkiewicz-Pareek',' education_in_india','doktorant'),(668,'Mateusz','Tomanek',' sports_management quality_management','umk'),(669,'Michał','Targowski',NULL,'umk'),(670,'Edyta','Grotek',' etno-_i_socjolingwistyka lingwistyka_tożsamości','umk'),(671,'Ewelina','Siemianowska',' archeologia historia wczesne_średniowiecze','umk'),(672,'Andrzej','Kubanowski',' teologia teologia_moralna chrystianologia chrystianologia_moralna tomizm_biblijny','doktorant'),(673,'Katarzyna','Kulpińska',NULL,'umk'),(674,'Kazimierz','Skoczylas',' teologia pedagogika','umk'),(675,'Magdalena','Krajewska',' antropologia_fizyczna paleopatologia epidemiologia bioarcheologia paleoauksologia','umk'),(676,'Magdalena','Majorek',' archeologia kultura_funeralna pompa_funebris','doktorant'),(677,'Magdalena','Wiśniewska-Drewniak',' archiwistyka archiwa_społeczne teoria_archiwalna oral_history historia_mówiona','doktorant'),(678,'Anna','Dubownik',' geografia_rolnictwa_i_obszarów_wiejskich polityka_regionalna_polski_i_unii_europejskiej ozwój_lokalny_i_regionalny_w_polsce','umk'),(679,'Adriana','Wróbel',NULL,'doktorant'),(680,'Tomasz','Kowalczyk',' prawo_ustrojowe historia_ustrojów historia_prawa_karnego prawo_medyczne','doktorant'),(681,'Rafał','Moczkodan',' krytyka_literacka kreatywność storytelling','umk'),(682,'Agnieszka','Marasek',NULL,'fizyka'),(683,'Piotr','Wasąg',NULL,'umk'),(684,'Grzegorz','Szturo',' history librarianship','umk'),(685,'Wojciech','Niemczyk',' finance corporate_finance healthcare_financing restructuring','doktorant'),(686,'Paweł','Umiński',' post-keynesian_economics prices_and_pricing john_k._galbraith income_inequalities heterodox_economics','doktorant'),(687,'Liliana','Lewandowska',' historia_kościoła religijna_literatura_użytkowa konflikty_międzywyznaniowe teologia historia_kultury','umk'),(688,'Paulina','Rosalska',' linguistics','stud'),(689,'Grzegorz','Kopcewicz',NULL,'umk'),(690,'Małgorzata','Lisecka',' early_poetry aesthetics_of_music history_of_musical_thought historical_poetics history_of_opera_and_musical_theatre','umk'),(691,'Jarosław','Centek',' historia_wojskowa','umk'),(692,'Joanna','Cukras-Stelągowska',' edukacja_międzykulturowa tożsamość_etniczna żydzi','umk'),(693,'Dawid','Kolasa',' karl_jaspers filozofia_egzystencjalna','doktorant'),(694,'Radosław','Krajniak',' średniowiecze duchowieństwo prozopografia genealogia','doktorant'),(695,'Renata','Lesner-Szwarc',' cultural_anthropology ethnology choreology','umk'),(696,'Tomasz','Kucharski',' historia_państwa_i_prawa_polskiego historia_staropolskiego_parlamentaryzmu staropolskie_bezkrólewia','umk'),(697,'Maja','Klubińska',NULL,'umk'),(698,'Mikołaj','Fejzer',NULL,'mat'),(699,'Daria','Gęsicka',' prawo_własności_intelektualnej prawo_autorskie twórczość nowe_technologie','umk'),(700,'Katarzyna','Kuziak',' edukacja_dorosłych praca_socjalna','umk'),(701,'Igor','Kantorski',' mathematcal_modeling scintillators','stud'),(702,'Rafał','Sarniak',' astronomia','astro'),(703,'Rafał','Michalski',' antropologia_filozofia_społeczna_polityka','umk'),(704,'Monika','Dąbkowska',' pedagogika_specjalna psychologia seksuologia','umk'),(705,'Izabela','Symonowicz-Jabłońska',' baśń baśniowość kultura edukacja','umk'),(706,'Julia','Kapelańska-Pręgowska',' prawo_międzynarodowe_praw_człowieka prawo_biomedyczne','law'),(707,'Ilona','Pietryka',' macroeconomics monetary_policy','umk'),(708,'Bartek','Chludzinski',' prawo_administracyjne','umk'),(709,'Jacek','Szymanski',' teologia_moralna','umk'),(710,'Tomasz','Huzarek',' antropologia_filozoficzna_i_teologiczna','umk'),(711,'Ireneusz','Werbiński',' teologia_duchowości psychologia','umk'),(712,'Tomasz','Tułodziecki',NULL,'umk'),(713,'Beata','Rutkowska',' prawo_pracy zbiorowe_prawo_pracy ubezpieczenia_społeczne','umk'),(714,'Małgorzata','Kowalska',' seksuologia rozwój_psychoseksualny tożsamość_nieheteronormatywna transpłciowość gender','abs'),(715,'Michał','Świderski',NULL,'fizyka'),(716,'Paweł','Cegliński',' zarządzanie_strategiczne inwestycje_finansowe prawo_podatkowe prawo_cywilne prawo_handlowe','umk'),(717,'Bartosz','Bieganowski',NULL,'mat'),(718,'Aleksander','Adamczyk',' geografia geomorfologia geologia_glacjalna_gis','doktorant'),(719,'Mirosław','Biczkowski',' geography spatial_planning regional_development eu_funds','umk'),(720,'Anna','Gęsicka',' literatura_litterature_kultura_culture__…','umk'),(721,'Dawid','Lipiński',' teolingwistyka indoeuropeistyka','stud'),(722,'Michał','Krajkowski',NULL,'umk'),(723,'Lech','Walkiewicz',' historia_wojskowa_xv-xvii_w. historia_artylerii','doktorant'),(724,'Paulina','Karbownik',' philosophy_of_politics','doktorant'),(725,'Marcin','Sobiech',' gis geomorfologia archeologia','doktorant'),(726,'Jacek','Rakoczy',' archeologia numizmatyka','umk'),(727,'Artur','Karasiński',' słowotwórstwo_języków_bałkańskich morfologia_i_składnia_języków_bałkańskich językoznawstwo_arealne','umk'),(728,'Toruńskie','Konfrontacje',' archiwistyka teoria_archiwalna antropologia_archiwistyki','umk'),(729,'Ewa','Kabza',' law','umk'),(730,'Agnieszka','Bień-Kacała',' prawo_konstytucyjne','law'),(731,'Ilona','Zaleska',' historia xix_w. polskie_partie_polityczne ruchy_polityczne myśl_polityczna_xix/xx_w.','umk'),(732,'Sebastian','Dudzik',' kultura_materialna_xvi-xvii_w. grafika_artystyczna uniwesum_w_sztuce_abstrakcyjnej nowe_media teoria_i_praktyka_muzyczna','umk'),(733,'Aneta','Niewęgłowska',' sport muzyka kino','umk'),(734,'Dorota','Grabowska-Pieńkosz',' pedagogika historia_wychowania pedeutologia biografistyka','umk'),(735,'Tomasz','Rosset',' kolekcjonerstwo sztuka_współczesna malarstwo_holenderskie malarstwo_francuskie_rokokowe','umk'),(736,'Krzysztof','Krzemiński',' dogmatic_theology ecumenism','umk'),(737,'Marcin','Karwowski',' zarządzanie biblioterapia mystery_shopping','doktorant'),(738,'Witold','Konopka',' prl relacje_państwo-kościół kościół_katolicki toruń historia_najnowsza','doktorant'),(739,'Adam','Bednarczyk',' classical_japanese_literature medieval_japanese_culture','umk'),(740,'Katarzyna','Rogalska-Chodecka',' linguistics communication evolution_of_language iterated_learning technology','umk'),(741,'Katarzyna','Norkowska',' literatura_współczesna_(niemieckojęzyczna)','umk'),(742,'Jordan','Siemianowski',' historia historia_skandynawii historia_żeglugi','doktorant'),(743,'Alicja','Stańco-Wawrzyńska',' terroryzm media','doktorant'),(744,'Marzenna','Wiśniewska',' theatre_studies performance_studies culture_studies culture_animation','umk'),(745,'Jakub','Osiński',' teoria_i_historia_literatury','stud'),(746,'Grażyna','Olszaniec',' języki_romańskie języki_celtyckie','umk'),(747,'Michal','Piechowicz',' proces_decyzyjny lobbing unia_europejska wspólna_polityka_zagraniczna_i__…','umk'),(748,'Agnieszka','Norwa',NULL,'doktorant'),(749,'Michał','Oleszczak',' logistyka_informacji','umk'),(750,'Aleksander','Sztramski',' philosophical_anthropology theological_anthropology theology_of_the_body','doktorant'),(751,'Wiktor','Łachmański',' solid_state_physics spectroscopy scintillators optical_materials','fizyka'),(752,'Alicja','Raczyńska',' renesans neoklasycyzm dante_we_współczesnej_literaturze_popularnej renesans_w_literaturze_popularnej romantyzm','umk'),(753,'Dorota','Kromp',NULL,'umk'),(754,'Konrad','Pawlak',' afm force_spectroscopy biophysics','fizyka'),(755,'Mariusz','Kłoda',NULL,'doktorant'),(756,'Dawid','Grupa',' archeologia konserwacja_zabytków','doktorant'),(757,'Magdalena','Kuczmarska',' międzynarodowe_przepływy_kapitału bezpośrednie_inwestycje_zagraniczne','umk'),(758,'Paulina','Berlińska',' horror_studies urban_studies new_media new_media_art','doktorant'),(759,'Joanna','Falkowska',' historia_wychowania','umk'),(760,'Mateusz','Węclewicz',' experimental_medicine pharmacology','stud'),(761,'Tomasz','Różański',' pedagogika_społeczna','umk'),(762,'Agnieszka','Anielska',' sociology higher_education lifelong_learning','doktorant'),(763,'Natalia','Daśko',' prawo_karne kryminologia cyberprzestępczość','umk'),(764,'Julita','Niedźwiecka',' biblioteki_naukowe zarządzanie_i_organizacja_bibliotekami e-książka wizualizacja_informacji','doktorant'),(765,'Jakub','Woźniak',' nauczanie_josepha_ratzingera-benedykta__… teologia_dogmatyczna teologia_liturgii','doktorant'),(766,'Stanisław','Suwiński',' teologia_duchowości','umk'),(767,'Sławomir','Tykarski',' psychoterapia_małżeństw poradnictwo_rodzinne psychologia_małżeństwa','umk'),(768,'Kinga','Frąckowska',' prophetic_books_of_the_old_testament book_of_ezekiel prophecy','doktorant'),(769,'Krzysztof','Pilarz',' biblistyka qumranologia psychoterapia','umk'),(770,'Anna','Olewnik',' historia_rachunkowości','umk'),(771,'Małgorzata','Szczepaniak',' macroeconomics','umk'),(772,'Marcin','Berent',' prawo_karne_materialne prawo_karne_procesowe kryminalistyka kryminologia polityka_kryminalna','umk'),(773,'Tomasz','Jasiakiewicz',' prawo_cywilne','umk'),(774,'Agnieszka','Karpińska',NULL,'doktorant'),(775,'Adam','Biedrzycki',NULL,'umk'),(776,'Andrzej','Mycio',' rękopiśmiennictwo','umk'),(777,'Agnieszka','Dwornik',' librarianship metadata','umk'),(778,'Hubert','Bąk',NULL,'doktorant'),(779,'Zbigniew','Filipiak',' historia_francji historia_polski_w_xix_wieku historia_żydów historia_kultury','umk'),(780,'Marek','Sobczyk',' law history_of_law roman_law unjustified_enrichment','law'),(781,'Magdalena','Jankowska',NULL,'umk'),(782,'Weronika','Kortas',' społeczności_internetowe portale_społecznościowe socjologia','doktorant'),(783,'Aleksandra','Burdziej',' german_literature_of_20._and_21._ct memory','umk'),(784,'Michał','Bomastyk',' filozofia_feministyczna gender_studies uchodźstwo filozofia_kultury egzystencjalizm','doktorant'),(785,'Marek','Sofij',NULL,'doktorant'),(786,'Ewa','Zdunek-Rosa',NULL,'uni'),(787,'Patrycja','Gulak-Lipka',' zarządzanie_w_sporcie zarządzanie_międzykulturowe csr','doktorant'),(788,'Katarzyna','Kiljan',' prawo kształcenie','umk'),(789,'Andrzej','Winnicki',NULL,'cm'),(790,'Aldona','Lipka',' interests:_marketing branding heuristics_in_decision-making the_use_of_historical_figures_in_imc_marketing','doktorant'),(791,'Karolina','Sedziak',NULL,'fizyka'),(792,'Julia','Trzeciakowska',' phonetics evolutionary_psychology sociolinguistics','doktorant'),(793,'Artur','Nowak',' chemia_kwantowa','doktorant'),(794,'Katarzyna','Pepłowska',' zarządzanie_dokumentacją_tradycyjną_i__… archiwa_cyfrowe informatyzacja_adminisatrcji_publicznej','umk'); /*!40000 ALTER TABLE `employess` 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 2017-07-27 21:21:17
--"rename" UCUM concept [degC] to Cel update concept set standard_concept=null, invalid_reason='U', valid_end_date=current_date where concept_id=8653; insert into concept values(586323,'degree Celsius','Unit','UCUM','Unit','S','Cel',to_date ('19700101', 'YYYYMMDD'),to_date('20991231', 'YYYYMMDD'),null); update concept_relationship set valid_end_date=current_date, invalid_reason='D' where concept_id_1=8653 and concept_id_2=8653; insert into concept_relationship values(8653,586323,'Concept replaced by',to_date ('19700101', 'YYYYMMDD'),to_date('20991231', 'YYYYMMDD'),null); insert into concept_relationship values(586323,8653,'Concept replaces',to_date ('19700101', 'YYYYMMDD'),to_date('20991231', 'YYYYMMDD'),null); insert into concept_relationship values(586323,586323,'Maps to',to_date ('19700101', 'YYYYMMDD'),to_date('20991231', 'YYYYMMDD'),null); insert into concept_relationship values(586323,586323,'Mapped from',to_date ('19700101', 'YYYYMMDD'),to_date('20991231', 'YYYYMMDD'),null); --bugfix with non-proper standard_concept (old OMOP generated concepts) update concept set standard_concept=null where invalid_reason is not null and standard_concept is not null;
--liquibase formatted sql --changeset pmuchowski:1519812660070-1 CREATE TABLE call_flow_element_log (id VARCHAR(255) NOT NULL, created_date datetime NULL, updated_date datetime NULL, end_date datetime NULL, start_date datetime NULL, call_flow_element_id VARCHAR(255) NOT NULL, unit_progress_id VARCHAR(255) NOT NULL); --changeset pmuchowski:1519812660070-2 CREATE TABLE message_log (call_flow_element_log_id VARCHAR(255) NOT NULL); --changeset pmuchowski:1519812660070-3 CREATE TABLE multiple_choice_question_log (number_of_attempts INT NOT NULL, call_flow_element_log_id VARCHAR(255) NOT NULL, response_id VARCHAR(255) NULL); --changeset pmuchowski:1519812660070-4 ALTER TABLE call_flow_element_log ADD PRIMARY KEY (id); --changeset pmuchowski:1519812660070-5 ALTER TABLE message_log ADD PRIMARY KEY (call_flow_element_log_id); --changeset pmuchowski:1519812660070-6 ALTER TABLE multiple_choice_question_log ADD PRIMARY KEY (call_flow_element_log_id); --changeset pmuchowski:1519812660070-7 ALTER TABLE call_flow_element_log ADD CONSTRAINT FK7uxgn0fe0tf4mcbf7rb7pcf1c FOREIGN KEY (unit_progress_id) REFERENCES unit_progress (id); --changeset pmuchowski:1519812660070-8 ALTER TABLE message_log ADD CONSTRAINT FK8mmo4p9rxt2jjioct3q3vcaio FOREIGN KEY (call_flow_element_log_id) REFERENCES call_flow_element_log (id); --changeset pmuchowski:1519812660070-9 ALTER TABLE multiple_choice_question_log ADD CONSTRAINT FKgx1boftsm9kfq5fq3v3ywtaq6 FOREIGN KEY (call_flow_element_log_id) REFERENCES call_flow_element_log (id); --changeset pmuchowski:1519812660070-10 ALTER TABLE multiple_choice_question_log ADD CONSTRAINT FKraoecc8g2enm2nb8f4wjkcoq2 FOREIGN KEY (response_id) REFERENCES choice (id); --changeset pmuchowski:1519812660070-11 ALTER TABLE call_flow_element_log ADD CONSTRAINT FKth2klq4eqfmp825vboeyblypn FOREIGN KEY (call_flow_element_id) REFERENCES call_flow_element (id); --changeset pmuchowski:1519812660070-12 ALTER TABLE question_response DROP FOREIGN KEY FK38jlskoqmxu97ma7qywfvud1t; --changeset pmuchowski:1519812660070-13 ALTER TABLE question_response DROP FOREIGN KEY FKcn5kg8v65bk53it5wykkncrmw; --changeset pmuchowski:1519812660070-14 ALTER TABLE question_response DROP FOREIGN KEY FKhfrr5otnbipe5kd6w5qx3t9t9; --changeset pmuchowski:1519812660070-15 DROP TABLE question_response;
SELECT orderid, customerid, shipcountry FROM orders WHERE shipcountry in ('Brazil', 'Mexico', 'Argentina', 'Venezuela')
select type.typename company, pd.prod_name prodName, prod.premium, prod.prod_plan productPlan, sub.depart_user departid, parent.product_plan_id productPlanId, parent.period parentPeriod, sub.period, parent.rate parentRate, sub.id, sub.rate from (select conf1.id, conf1.product_plan_id, conf1.period, conf1.rate from wb_commission_conf conf1, t_s_depart depart where conf1.depart_user = depart.parentdepartid and depart.ID=:departId ) parent left join (select * from wb_commission_conf conf1 where conf1.depart_user=:departId) sub on parent.product_plan_id = sub.product_plan_id join wb_product_detail prod on parent.product_plan_id = prod.id join wb_insurance_product pd on pd.id=prod.prod_id join t_s_type type on type.typecode=pd.insur_comp_name join t_s_typegroup tg on tg.ID=type.typegroupid where tg.typegroupcode='ins_comp'
insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('B-ER-1234', 0, 1, null); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('H-AX-1337', 0, 1, null); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('HM-HM-12', 0, 1, null); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('HX-HX-1', 1, 0, '28362hshdnfjfhegd'); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('TR-OL-9', 0, 0, null); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('RS-VT-1', 1, 0, 'TOKEN'); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('RS-VT-2', 0, 0, null); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('RS-VT-3', 0, 1, null); insert into T_KENNZEICHEN(KENNZEICHEN, RESERVIERT, VERGEBEN, TOKEN) VALUES ('RS-VT-4', 1, 0, 'TOKEN');
<gh_stars>1-10 SELECT drug_strength.* INTO map.drug_strength_single_ingredient FROM ( SELECT drug_concept_id FROM drug_strength GROUP BY drug_concept_id HAVING COUNT(*) = 1 ) temp LEFT JOIN drug_strength ON drug_strength.drug_concept_id = temp.drug_concept_id ;
--Adapted: 08-Aug-19 (<NAME> -- https://stackoverflow.com/questions/2298550/oracle-any-vs-in) -- Employees who earn the same salary as the minimum salary for each department: SELECT last_name, salary,department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_id); -- Employees who are not IT Programmers and whose salary is less than that of any IT programmer: SELECT employee_id, last_name, salary, job_id FROM employees WHERE salary <ANY (SELECT salary FROM employees WHERE job_id = 'IT_PROG') AND job_id <> 'IT_PROG'; -- Employees whose salary is less than the salary of all employees with a job ID of IT_PROG and whose job is not IT_PROG: SELECT employee_id,last_name, salary,job_id FROM employees WHERE salary <ALL (SELECT salary FROM employees WHERE job_id = 'IT_PROG') AND job_id <> 'IT_PROG';
<filename>etl/etl/lk_vis_part_2.sql -- ------------------------------------------------------------------- -- @2020, Odysseus Data Services, Inc. All rights reserved -- MIMIC IV CDM Conversion -- ------------------------------------------------------------------- -- ------------------------------------------------------------------- -- Populate lookups for cdm_visit_occurrence and cdm_visit_detail -- -- Dependencies: run after -- st_core.sql -- lk_vis_part_1.sql -- lk_meas_labevents.sql -- lk_meas_specimen.sql -- lk_meas_waveform.sql -- ------------------------------------------------------------------- -- ------------------------------------------------------------------- -- Known issues / Open points: -- -- negative unique id from FARM_FINGERPRINT(GENERATE_UUID()) -- -- ------------------------------------------------------------------- -- ------------------------------------------------------------------- -- lk_visit_no_hadm_all -- -- collect rows without hadm_id from all tables affected by this case: -- lk_meas_labevents_mapped -- lk_meas_organism_mapped -- lk_meas_ab_mapped -- lk_meas_waveform_mapped -- ------------------------------------------------------------------- CREATE OR REPLACE TABLE `@etl_project`.@etl_dataset.lk_visit_no_hadm_all AS -- labevents SELECT src.subject_id AS subject_id, CAST(src.start_datetime AS DATE) AS date_id, src.start_datetime AS start_datetime, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_meas_labevents_mapped src WHERE src.hadm_id IS NULL UNION ALL -- specimen SELECT src.subject_id AS subject_id, CAST(src.start_datetime AS DATE) AS date_id, src.start_datetime AS start_datetime, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_specimen_mapped src WHERE src.hadm_id IS NULL UNION ALL -- organism SELECT src.subject_id AS subject_id, CAST(src.start_datetime AS DATE) AS date_id, src.start_datetime AS start_datetime, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_meas_organism_mapped src WHERE src.hadm_id IS NULL UNION ALL -- antibiotics SELECT src.subject_id AS subject_id, CAST(src.start_datetime AS DATE) AS date_id, src.start_datetime AS start_datetime, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_meas_ab_mapped src WHERE src.hadm_id IS NULL UNION ALL -- waveforms SELECT src.subject_id AS subject_id, CAST(src.start_datetime AS DATE) AS date_id, src.start_datetime AS start_datetime, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_meas_waveform_mapped src WHERE src.hadm_id IS NULL ; -- ------------------------------------------------------------------- -- lk_visit_no_hadm_dist -- ------------------------------------------------------------------- CREATE OR REPLACE TABLE `@etl_project`.@etl_dataset.lk_visit_no_hadm_dist AS SELECT src.subject_id AS subject_id, src.date_id AS date_id, MIN(src.start_datetime) AS start_datetime, MAX(src.start_datetime) AS end_datetime, 'AMBULATORY OBSERVATION' AS admission_type, -- outpatient visit CAST(NULL AS STRING) AS admission_location, -- to hospital CAST(NULL AS STRING) AS discharge_location, -- from hospital -- 'no_hadm' AS unit_id, 'lk_visit_no_hadm_all' AS load_table_id, 0 AS load_row_id, TO_JSON_STRING(STRUCT( src.subject_id AS subject_id, src.date_id AS date_id )) AS trace_id FROM `@etl_project`.@etl_dataset.lk_visit_no_hadm_all src GROUP BY src.subject_id, src.date_id ; -- ------------------------------------------------------------------- -- lk_visit_detail_waveform_dist -- -- collect rows without hadm_id from all tables affected by this case: -- lk_meas_waveform_mapped -- ------------------------------------------------------------------- CREATE OR REPLACE TABLE `@etl_project`.@etl_dataset.lk_visit_detail_waveform_dist AS SELECT src.subject_id AS subject_id, src.hadm_id AS hadm_id, CAST(MIN(src.start_datetime) AS DATE) AS date_id, MIN(src.start_datetime) AS start_datetime, MAX(src.start_datetime) AS end_datetime, 'AMBULATORY OBSERVATION' AS current_location, -- outpatient visit src.reference_id AS reference_id, -- 'waveforms' AS unit_id, 'lk_meas_waveform_mapped' AS load_table_id, 0 AS load_row_id, TO_JSON_STRING(STRUCT( src.subject_id AS subject_id, src.hadm_id AS hadm_id, src.reference_id AS reference_id )) AS trace_id FROM `@etl_project`.@etl_dataset.lk_meas_waveform_mapped src GROUP BY src.subject_id, src.hadm_id, src.reference_id ; -- ------------------------------------------------------------------- -- lk_visit_clean -- ------------------------------------------------------------------- CREATE OR REPLACE TABLE `@etl_project`.@etl_dataset.lk_visit_clean AS SELECT FARM_FINGERPRINT(GENERATE_UUID()) AS visit_occurrence_id, src.subject_id AS subject_id, src.hadm_id AS hadm_id, CAST(NULL AS DATE) AS date_id, src.start_datetime AS start_datetime, src.end_datetime AS end_datetime, src.admission_type AS admission_type, -- current location src.admission_location AS admission_location, -- to hospital src.discharge_location AS discharge_location, -- from hospital CONCAT( CAST(src.subject_id AS STRING), '|', CAST(src.hadm_id AS STRING) ) AS source_value, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_admissions_clean src -- adm UNION ALL SELECT FARM_FINGERPRINT(GENERATE_UUID()) AS visit_occurrence_id, src.subject_id AS subject_id, CAST(NULL AS INT64) AS hadm_id, src.date_id AS date_id, src.start_datetime AS start_datetime, src.end_datetime AS end_datetime, src.admission_type AS admission_type, -- current location src.admission_location AS admission_location, -- to hospital src.discharge_location AS discharge_location, -- from hospital CONCAT( CAST(src.subject_id AS STRING), '|', CAST(src.date_id AS STRING) ) AS source_value, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_visit_no_hadm_dist src -- adm ; -- ------------------------------------------------------------------- -- lk_visit_detail_clean -- -- Rule 1. -- transfers with valid hadm_id -- ------------------------------------------------------------------- CREATE OR REPLACE TABLE `@etl_project`.@etl_dataset.lk_visit_detail_clean AS SELECT FARM_FINGERPRINT(GENERATE_UUID()) AS visit_detail_id, src.subject_id AS subject_id, src.hadm_id AS hadm_id, src.date_id AS date_id, src.start_datetime AS start_datetime, src.end_datetime AS end_datetime, -- if null, populate with next start_datetime CONCAT( CAST(src.subject_id AS STRING), '|', COALESCE(CAST(src.hadm_id AS STRING), CAST(src.date_id AS STRING)), '|', CAST(src.transfer_id AS STRING) ) AS source_value, src.current_location AS current_location, -- find prev and next for adm and disch location -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_transfers_clean src WHERE src.hadm_id IS NOT NULL -- some ER transfers are excluded because not all of them fit to additional single day visits ; -- ------------------------------------------------------------------- -- lk_visit_detail_clean -- -- Rule 2. -- ER admissions -- ------------------------------------------------------------------- INSERT INTO `@etl_project`.@etl_dataset.lk_visit_detail_clean SELECT FARM_FINGERPRINT(GENERATE_UUID()) AS visit_detail_id, src.subject_id AS subject_id, src.hadm_id AS hadm_id, CAST(src.start_datetime AS DATE) AS date_id, src.start_datetime AS start_datetime, CAST(NULL AS DATETIME) AS end_datetime, -- if null, populate with next start_datetime CONCAT( CAST(src.subject_id AS STRING), '|', CAST(src.hadm_id AS STRING) ) AS source_value, src.admission_type AS current_location, -- find prev and next for adm and disch location -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_admissions_clean src WHERE src.is_er_admission ; -- ------------------------------------------------------------------- -- lk_visit_detail_clean -- -- Rule 3. -- services -- ------------------------------------------------------------------- INSERT INTO `@etl_project`.@etl_dataset.lk_visit_detail_clean SELECT FARM_FINGERPRINT(GENERATE_UUID()) AS visit_detail_id, src.subject_id AS subject_id, src.hadm_id AS hadm_id, CAST(src.start_datetime AS DATE) AS date_id, src.start_datetime AS start_datetime, src.end_datetime AS end_datetime, CONCAT( CAST(src.subject_id AS STRING), '|', CAST(src.hadm_id AS STRING), '|', CAST(src.start_datetime AS STRING) ) AS source_value, src.curr_service AS current_location, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_services_clean src WHERE src.prev_service = src.lag_service -- ensure that the services sequence is still consistent after removing duplicates ; -- ------------------------------------------------------------------- -- lk_visit_detail_clean -- -- Rule 4. -- waveforms -- ------------------------------------------------------------------- INSERT INTO `@etl_project`.@etl_dataset.lk_visit_detail_clean SELECT FARM_FINGERPRINT(GENERATE_UUID()) AS visit_detail_id, src.subject_id AS subject_id, src.hadm_id AS hadm_id, src.date_id AS date_id, src.start_datetime AS start_datetime, src.end_datetime AS end_datetime, -- if null, populate with next start_datetime src.reference_id AS source_value, src.current_location AS current_location, -- find prev and next for adm and disch location -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_visit_detail_waveform_dist src ; -- ------------------------------------------------------------------- -- lk_visit_detail_prev_next -- skip "mapped" -- ------------------------------------------------------------------- CREATE OR REPLACE TABLE `@etl_project`.@etl_dataset.lk_visit_detail_prev_next AS SELECT src.visit_detail_id AS visit_detail_id, src.subject_id AS subject_id, src.hadm_id AS hadm_id, src.date_id AS date_id, src.start_datetime AS start_datetime, COALESCE( src.end_datetime, LEAD(src.start_datetime) OVER ( PARTITION BY src.subject_id, src.hadm_id, src.date_id ORDER BY src.start_datetime ASC ), vis.end_datetime ) AS end_datetime, src.source_value AS source_value, -- src.current_location AS current_location, LAG(src.visit_detail_id) OVER ( PARTITION BY src.subject_id, src.hadm_id, src.date_id, src.unit_id ORDER BY src.start_datetime ASC ) AS preceding_visit_detail_id, COALESCE( LAG(src.current_location) OVER ( PARTITION BY src.subject_id, src.hadm_id, src.date_id, src.unit_id -- double-check if chains follow each other or intercept ORDER BY src.start_datetime ASC ), vis.admission_location ) AS admission_location, COALESCE( LEAD(src.current_location) OVER ( PARTITION BY src.subject_id, src.hadm_id, src.date_id, src.unit_id ORDER BY src.start_datetime ASC ), vis.discharge_location ) AS discharge_location, -- src.unit_id AS unit_id, src.load_table_id AS load_table_id, src.load_row_id AS load_row_id, src.trace_id AS trace_id FROM `@etl_project`.@etl_dataset.lk_visit_detail_clean src LEFT JOIN `@etl_project`.@etl_dataset.lk_visit_clean vis ON src.subject_id = vis.subject_id AND ( src.hadm_id = vis.hadm_id OR src.hadm_id IS NULL AND src.date_id = vis.date_id ) ; -- ------------------------------------------------------------------- -- lk_visit_concept -- -- gcpt_admission_type_to_concept -> mimiciv_vis_admission_type -- gcpt_admission_location_to_concept -> mimiciv_vis_admission_location -- gcpt_discharge_location_to_concept -> mimiciv_vis_discharge_location -- brand new vocabulary -> mimiciv_vis_service -- gcpt_care_site -> mimiciv_cs_place_of_service -- -- keep exact values of admission type etc as custom concepts, -- then map it to standard Visit concepts -- ------------------------------------------------------------------- CREATE OR REPLACE TABLE `@etl_project`.@etl_dataset.lk_visit_concept AS SELECT vc.concept_code AS source_code, vc.concept_id AS source_concept_id, vc2.concept_id AS target_concept_id, vc.vocabulary_id AS source_vocabulary_id FROM `@etl_project`.@etl_dataset.voc_concept vc LEFT JOIN `@etl_project`.@etl_dataset.voc_concept_relationship vcr ON vc.concept_id = vcr.concept_id_1 and vcr.relationship_id = 'Maps to' LEFT JOIN `@etl_project`.@etl_dataset.voc_concept vc2 ON vc2.concept_id = vcr.concept_id_2 AND vc2.standard_concept = 'S' AND vc2.invalid_reason IS NULL WHERE vc.vocabulary_id IN ( 'mimiciv_vis_admission_location', -- for admission_location_concept_id (visit and visit_detail) 'mimiciv_vis_discharge_location', -- for discharge_location_concept_id 'mimiciv_vis_service', -- for admisstion_location_concept_id (visit_detail) -- and for discharge_location_concept_id 'mimiciv_vis_admission_type', -- for visit_concept_id 'mimiciv_cs_place_of_service' -- for visit_detail_concept_id ) ;
/* Custom filters are special keywords that resolve as a subquery or list of values. https://docs.snowflake.com/en/user-guide/ui-snowsight-worksheets.html#custom-filters The benefit of filters is: * it's a Single Version of the Truth (SVOT) for your business definitions * users don't need to write additional SQL * when you change a filter, all queries that use it have the latest definition Recommended Setup: * Create a Virtual Warehouse such as XSMALL_CONST_WH so it's an XS Constant Warehouse that no one will resize. * Set it was auto-suspend of 1 minute to save costs Note: * These filters are used by the "finserv demo 35 SnowSight" script. */ -- :trader select distinct trader from finservam.public.trader order by 1; -- :fsdate select distinct date from finservam.public.trade order by 1; -- :fssymbol select distinct symbol from finservam.public.trade order by 1;
ALTER TABLE CM_SP_PURPOSE_PII_CAT_ASSOC ADD IS_CONSENTED NUMBER(1) DEFAULT 1 NOT NULL;
drop table if exists act_hi_identitylink cascade; -- force-commit
<filename>corpus/sql/training/SQLErrorLogs_queries.sql<gh_stars>100-1000 -- remove duplicates from SQLErrorLogs table select * from SQLErrorLogs a join (select ServerName , Date , spid , Message , max(seq_num) AS max_seq_num from SQLErrorLogs group by ServerName, Date, spid, Message having count(*) > 1) b on a.ServerName = b.ServerName and a.Date = b.Date and a.spid = b.spid and a.Message = b.Message and a.seq_num < b.max_seq_num ----------------------------------------- select * from SQLAgentErrorLogs a join (select ServerName, Date, ErrorLevel, Message, max(seq_num) AS max_seq_num from SQLAgentErrorLogs group by ServerName, Date, ErrorLevel, Message having count(*) > 1) b on a.ServerName = b.ServerName and a.Date = b.Date and a.ErrorLevel = b.ErrorLevel and a.Message = b.Message and a.seq_num < b.max_seq_num select * from tempdb.dboSQLAgentErrorLogsDestination select * from Status.dboSQLAgentErrorLogs select * from dbamaint.dbosqlagenterrorlog select * from ssiserrors order by LastUpdate desc
<filename>payara5/h2db/src/test/org/h2/test/scripts/functions/system/last-insert-id.sql<gh_stars>0 -- Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0, -- and the EPL 1.0 (https://h2database.com/html/license.html). -- Initial Developer: H2 Group -- SET MODE MySQL; > ok create memory table sequence (id INT NOT NULL AUTO_INCREMENT, title varchar(255)); > ok INSERT INTO sequence (title) VALUES ('test'); > update count: 1 INSERT INTO sequence (title) VALUES ('test1'); > update count: 1 SELECT LAST_INSERT_ID() AS L; >> 2 SELECT LAST_INSERT_ID(100) AS L; >> 100 SELECT LAST_INSERT_ID() AS L; >> 100 INSERT INTO sequence (title) VALUES ('test2'); > update count: 1 SELECT MAX(id) AS M FROM sequence; >> 3 SELECT LAST_INSERT_ID() AS L; >> 3 SELECT LAST_INSERT_ID(NULL) AS L; >> null SELECT LAST_INSERT_ID() AS L; >> 0 DROP TABLE sequence; > ok
<filename>openGaussBase/testcase/KEYWORDS/coalesce/Opengauss_Function_Keyword_Coalesce_Case0031.sql<gh_stars>0 -- @testpoint:opengauss关键字coalesce(非保留),作为字段数据类型(合理报错) --前置条件 drop table if exists coalesce_test cascade; --关键字不带引号-合理报错 create table coalesce_test(id int,name coalesce); --关键字带双引号-合理报错 create table coalesce_test(id int,name "coalesce"); --关键字带单引号-合理报错 create table coalesce_test(id int,name 'coalesce'); --关键字带反引号-合理报错 create table coalesce_test(id int,name `coalesce`);
<reponame>cscl-git/digit-bpa alter table eg_checklists add column version bigint default 0 ; alter table eg_checklists add column createdby bigint; alter table eg_checklists add column createddate timestamp without time zone; alter table eg_checklists add column lastmodifiedby bigint ;
USE [SoftwareCFP] GO /****** Object: Table [dbo].[Corsi] Script Date: 02/10/2021 12:05:48 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Corsi]( [Id] [int] IDENTITY(1,1) NOT NULL, [IdCorso] [nvarchar](max) NULL, [CodiceDipartimento] [nvarchar](max) NULL, [EdizioneCorso] [nvarchar](max) NULL, [NomeCorso] [nvarchar](max) NULL, [DataInizioCorso] [nvarchar](max) NULL, [DataFineCorso] [nvarchar](max) NULL, [OreCorso] [nvarchar](max) NULL, [Note] [nvarchar](max) NULL, CONSTRAINT [PK_Corsi] PRIMARY KEY CLUSTERED ( [Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] GO