sql
stringlengths
6
1.05M
<gh_stars>0 DROP TABLE patient; CREATE TABLE `patient` ( `id` int(12) NOT NULL AUTO_INCREMENT, `uId` varchar(25) NOT NULL, `lastName` varchar(255) NOT NULL, `firstName` varchar(255) NOT NULL, `middleName` varchar(255) NOT NULL, `dateOfBirth` date DEFAULT NULL, `createdAt` datetime(6) DEFAULT current_timestamp(6), `ward` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=191 DEFAULT CHARSET=utf8mb4; INSERT INTO patient VALUES("44","k8hz0vv1onexscuney","GABARDA","JOSE"," ","0000-00-00","2020-04-02 07:38:13.499452","General"); INSERT INTO patient VALUES("45","k8hz1cuo869ysh16ey4","DIMEN","WILSON"," ","0000-00-00","2020-04-02 07:38:35.499005","General"); INSERT INTO patient VALUES("46","k8hz1uwl7bvefoo0mjh","MENDOZA","NICANOR"," ","0000-00-00","2020-04-02 07:38:58.888104","General"); INSERT INTO patient VALUES("47","k8hz293r9k2dlb2j6ni","<NAME>","JIMENEZ"," ","0000-00-00","2020-04-02 07:39:17.289984","General"); INSERT INTO patient VALUES("48","k8hz2smubz0an6sam1k","DOMINGUEZ","NEOPITO"," ","0000-00-00","2020-04-02 07:39:42.604525","General"); INSERT INTO patient VALUES("49","k8hz35uvheczgda5l2b","GUELAS","NELIA"," ","0000-00-00","2020-04-02 07:39:59.738234","General"); INSERT INTO patient VALUES("50","k8hz3fud7ydx8izqfz5","FRAGO","LILIA"," ","0000-00-00","2020-04-02 07:40:12.684078","General"); INSERT INTO patient VALUES("51","k8hz3pymi6vt0hs8uid","ENAJE","MARIA"," ","0000-00-00","2020-04-02 07:40:25.795731","General"); INSERT INTO patient VALUES("52","k8hz41qm41t89l6ymjn","ABINA","GLORIA"," ","0000-00-00","2020-04-02 07:40:41.066788","General"); INSERT INTO patient VALUES("53","k8hz4j7hnifbaflhk4j","BELTRAN","MARIBEL"," ","0000-00-00","2020-04-02 07:41:03.704890","General"); INSERT INTO patient VALUES("54","k8hz4xtbqnd5c428gwc","HERNANDEZ","EVANGELINE"," ","0000-00-00","2020-04-02 07:41:22.617978","General"); INSERT INTO patient VALUES("55","k8hz5acmdl5gi2y2s5v","AGARAP","FLUGENCIA"," ","0000-00-00","2020-04-02 07:41:38.869888","General"); INSERT INTO patient VALUES("56","k8hz5m8dh00ujiapogs","LACSA","TEODORO"," ","0000-00-00","2020-04-02 07:41:54.266732","General"); INSERT INTO patient VALUES("57","k8hz63dhr5al3wfm4ml","CLAVEL","BETTY"," ","0000-00-00","2020-04-02 07:42:16.486810","General"); INSERT INTO patient VALUES("58","k8hz6f3xniqbwy9be8e","ESTADILLA","LORNA"," ","0000-00-00","2020-04-02 07:42:31.691138","General"); INSERT INTO patient VALUES("59","k8hz6vfooz498gwemnj","GAURINO","AUGUSTO"," ","0000-00-00","2020-04-02 07:42:52.857335","General"); INSERT INTO patient VALUES("60","k8hz82toht3zaboftkg","DEOCAREZA","SALVADOR"," ","0000-00-00","2020-04-02 07:43:49.093421","General"); INSERT INTO patient VALUES("61","k8hz8fm1tv9xcebx5s","BRIN","PEARLIE"," ","0000-00-00","2020-04-02 07:44:05.665699","General"); INSERT INTO patient VALUES("62","k8hz8pxe16r1m8pbp7qh","DOLOSA","MARISSA"," ","0000-00-00","2020-04-02 07:44:19.030380","General"); INSERT INTO patient VALUES("63","k8hz95ctngfx1h7wi4r","GUELA","RAFAEL"," ","0000-00-00","2020-04-02 07:44:39.028292","General"); INSERT INTO patient VALUES("64","k8hz9fuzkgu6wnxwln","CHIAO","BAYANI"," ","0000-00-00","2020-04-02 07:44:52.642134","General"); INSERT INTO patient VALUES("65","k8hzbcvoitjarx1r3yp","LANUZA","ARNEL"," ","0000-00-00","2020-04-02 07:46:22.091104","General"); INSERT INTO patient VALUES("66","k8hzbmqal1p7cu2wj5a","LONCERAS","JAIME"," ","0000-00-00","2020-04-02 07:46:34.855936","General"); INSERT INTO patient VALUES("67","k8hzbyrnjtzdddjxnbg","DESACULA","FRANCISCO"," ","0000-00-00","2020-04-02 07:46:50.456624","General"); INSERT INTO patient VALUES("68","k8hzcdmrwytn03wjto","JAMISOLA","PEPITO"," ","0000-00-00","2020-04-02 07:47:09.722745","General"); INSERT INTO patient VALUES("69","k8hzcx61bqd9mmuogbw","FUNTELAR","PEDRO"," ","0000-00-00","2020-04-02 07:47:35.031861","General"); INSERT INTO patient VALUES("70","k8hzd823e8lqgjjqijb","FULLERO","LITO"," ","0000-00-00","2020-04-02 07:47:49.150294","General"); INSERT INTO patient VALUES("71","k8hzdm1uw719k4wgvyi","FETALVO","ABRAHAM"," ","0000-00-00","2020-04-02 07:48:07.287581","General"); INSERT INTO patient VALUES("72","k8hzdtip127p5vg9o9x","BARUELO","DANDING"," ","0000-00-00","2020-04-02 07:48:16.963436","General"); INSERT INTO patient VALUES("73","k8hze0ldnhj6e4w9bjn","DESPI","ROGER"," ","0000-00-00","2020-04-02 07:48:26.129049","General"); INSERT INTO patient VALUES("74","k8hzeozvarrcdt48pmu","FULGAR","KRISNA"," ","0000-00-00","2020-04-02 07:48:57.772527","General"); INSERT INTO patient VALUES("75","k8hzf3qz6xmx9solt8h","<NAME>","NOEL"," ","0000-00-00","2020-04-02 07:49:16.888844","General"); INSERT INTO patient VALUES("76","k8hzg7zj9py163qsgg","GERMIDEA","JAIME"," ","0000-00-00","2020-04-02 07:50:09.025264","General"); INSERT INTO patient VALUES("77","k8hzglek84rw7uleqtq","ALMARIO","DANILO"," ","0000-00-00","2020-04-02 07:50:26.424127","General"); INSERT INTO patient VALUES("78","k8hzgtas30rkva5r3jm","SORETA","RAUL"," ","0000-00-00","2020-04-02 07:50:36.654366","General"); INSERT INTO patient VALUES("79","k8hzh4jkmjcg9zjpcms","MARIANO","LAURO"," ","0000-00-00","2020-04-02 07:50:51.219032","General"); INSERT INTO patient VALUES("80","k8hzhhq7iaa6vh0czd8","AVERILLA","RAMON"," ","0000-00-00","2020-04-02 07:51:08.310591","General"); INSERT INTO patient VALUES("81","k8hzih5gl1uwrt4bqh","DESTAJO","BENJAMIN"," ","0000-00-00","2020-04-02 07:51:54.220913","General"); INSERT INTO patient VALUES("82","k8hzipqrvs7eytros6","MERCA","ELINOR"," ","0000-00-00","2020-04-02 07:52:05.350936","General"); INSERT INTO patient VALUES("83","k8hzkh7lfi059qdny5i","FORTES","SANTIAGO"," ","0000-00-00","2020-04-02 07:53:27.608485","General"); INSERT INTO patient VALUES("84","k8hzl6cwfwjswrzs047","PANAGSAGAN","GLENDA"," ","0000-00-00","2020-04-02 07:54:00.190266","General"); INSERT INTO patient VALUES("85","k8hzld070mtd66v9zk4q","LATAGAN","NORMA"," ","0000-00-00","2020-04-02 07:54:08.804105","General"); INSERT INTO patient VALUES("86","k8hzlmbsvjkrf6n001n","ALZAGA","KAREN"," ","0000-00-00","2020-04-02 07:54:20.889543","General"); INSERT INTO patient VALUES("87","k8hzlxzin21d58rbxkh","JASARENO","PRECILLA"," ","0000-00-00","2020-04-02 07:54:36.010190","General"); INSERT INTO patient VALUES("88","k8hzm606z1hk3j9lgu","<NAME>","ROWILLA"," ","0000-00-00","2020-04-02 07:54:46.405217","General"); INSERT INTO patient VALUES("89","k8hzmgiuygrrt3g0dqb","REONDANGA","MARIA"," ","0000-00-00","2020-04-02 07:55:00.036089","General"); INSERT INTO patient VALUES("90","k8hzmqzabv83csxtgp5","HAY","SALVACION"," ","0000-00-00","2020-04-02 07:55:13.586768","Rehy/ISO"); INSERT INTO patient VALUES("91","k8hzpyubdnnj0iirwb7","GRATUITO","DENITA"," ","0000-00-00","2020-04-02 07:57:43.740116","General"); INSERT INTO patient VALUES("92","k8hzqi9v42ts94cf774","GUERRERO","NATIVIDAD"," ","0000-00-00","2020-04-02 07:58:08.925204","General"); INSERT INTO patient VALUES("93","k8hzqql75yryeumkhi","LUSARDE","<NAME>"," ","0000-00-00","2020-04-02 07:58:19.692847","General"); INSERT INTO patient VALUES("94","k8hzr1s33051hximwtr","DOMETITA","ALICIA"," ","0000-00-00","2020-04-02 07:58:34.202724","General"); INSERT INTO patient VALUES("95","k8hzrjbynobbyyge9o","DUGAN","MARILO"," ","0000-00-00","2020-04-02 07:58:56.948453","General"); INSERT INTO patient VALUES("96","k8hzubg3cfaivdv6s","GALERIA","JENNY"," ","0000-00-00","2020-04-02 08:01:06.706273","Pedia/Surgery"); INSERT INTO patient VALUES("97","k8hzvpx8al62x2lnu3o","MELLA","TATUM"," ","0000-00-00","2020-04-02 08:02:12.118585","Pedia/Surgery"); INSERT INTO patient VALUES("98","k8hzw15mc4xoqhbrtbl","MONTE","ADELA"," ","0000-00-00","2020-04-02 08:02:26.685120","Pedia/Surgery"); INSERT INTO patient VALUES("99","k8hzwshqasb9vedtsog","ARCOS","DYSELLE"," ","0000-00-00","2020-04-02 08:03:02.106378","Pedia/Surgery"); INSERT INTO patient VALUES("100","k8hzxc0t7eelg5ft43s","DIONELA","JEROME"," ","0000-00-00","2020-04-02 08:03:27.416132","Pedia/Surgery"); INSERT INTO patient VALUES("101","k8hzxo0lxxyqhkhhiog","LADOB","DOMINGO"," ","0000-00-00","2020-04-02 08:03:42.955601","Pedia/Surgery"); INSERT INTO patient VALUES("102","k8hzykxcz4h25x4d25g","GRESOLA","TRANQUILLANO"," ","0000-00-00","2020-04-02 08:04:25.615987","Pedia/Surgery"); INSERT INTO patient VALUES("103","k8hzz589vq981tapyx","DOLOSA","GENEROSO"," ","0000-00-00","2020-04-02 08:04:51.919563","Pedia/Surgery"); INSERT INTO patient VALUES("104","k8hzzrzvoa3gtz4u8u","ATULI","JANER"," ","0000-00-00","2020-04-02 08:05:21.422688","Pedia/Surgery"); INSERT INTO patient VALUES("105","k8i008bgolf8trezal","HAMTO","ROMEO"," ","0000-00-00","2020-04-02 08:05:42.580406","Pedia/Surgery"); INSERT INTO patient VALUES("106","k8i06sw923ohmtlykyn","DIVINA","MYRNA"," ","0000-00-00","2020-04-02 08:10:49.177169","Pedia/Surgery"); INSERT INTO patient VALUES("107","k8i076c9gszial6xy3m","ESTRABELLA","JESSICA"," ","0000-00-00","2020-04-02 08:11:06.606467","Pedia/Surgery"); INSERT INTO patient VALUES("108","k8i1ddwlhvhbedqd96v","SARMEINTO","ZENAIDA"," ","0000-00-00","2020-04-02 08:43:55.970241","Pedia/Surgery"); INSERT INTO patient VALUES("109","k8i1e33gqnfgytitpeh","BAJAMUNDI","EDUQIUIO"," ","0000-00-00","2020-04-02 08:44:28.627589","Pedia/Surgery"); INSERT INTO patient VALUES("110","k8i1el9xb9yxj6op6ov","HEDIA","<NAME>"," ","0000-00-00","2020-04-02 08:44:52.176717","Pedia/Surgery"); INSERT INTO patient VALUES("111","k8i1eymld45falfxib","BORCON","MELANIE"," ","0000-00-00","2020-04-02 08:45:09.474195","Pedia/Surgery"); INSERT INTO patient VALUES("112","k8i1fer8yxk072h7sug","GOGOLIN","ANGELIZA"," ","0000-00-00","2020-04-02 08:45:30.383871","Pedia/Surgery"); INSERT INTO patient VALUES("113","k8i1gbgf0gj9p798ch9c","GARATE","BERNADETTE"," ","0000-00-00","2020-04-02 08:46:12.765966","OB"); INSERT INTO patient VALUES("114","k8i1gxaduyt3dkyfcx","HOLLON","<NAME>"," ","0000-00-00","2020-04-02 08:46:41.049307","OB"); INSERT INTO patient VALUES("115","k8i1h9is2y5tjdyx9cz","ANGUSTIA","JENLYN"," ","0000-00-00","2020-04-02 08:46:56.906554","OB"); INSERT INTO patient VALUES("116","k8i1hkmkix71l140nu","FLORALDE","JESUSA"," ","0000-00-00","2020-04-02 08:47:11.295041","OB"); INSERT INTO patient VALUES("117","k8i1hzmki3nzz2qqvf8","ESCARDA","CRISTINA"," ","0000-00-00","2020-04-02 08:47:30.736140","OB"); INSERT INTO patient VALUES("118","k8i1imvcplpsfpvhh4","OYIRA","<NAME>"," ","0000-00-00","2020-04-02 08:48:00.859863","OB"); INSERT INTO patient VALUES("119","k8i1iy8ozh1gn801e0q","GUBATON","MARIFE"," ","0000-00-00","2020-04-02 08:48:15.606747","OB"); INSERT INTO patient VALUES("120","k8i1jlzrgdblvlto3zo","CORIDOR","<NAME>"," ","0000-00-00","2020-04-02 08:48:46.382274","OB"); INSERT INTO patient VALUES("121","k8i1k6rsoqhmoo1pipf","ORTIZ","<NAME>"," ","0000-00-00","2020-04-02 08:49:13.312397","OB"); INSERT INTO patient VALUES("122","k8i1la3avzvj68uordl","PANAMBO","GENEVE"," ","0000-00-00","2020-04-02 08:50:04.273151","OB"); INSERT INTO patient VALUES("123","k8i1lk7yifjlomd409","CANAR","KATHERINE"," ","0000-00-00","2020-04-02 08:50:17.398004","OB"); INSERT INTO patient VALUES("124","k8i1lt7avvxgv2qvlx","GULLON","MERCY"," ","0000-00-00","2020-04-02 08:50:29.040489","OB"); INSERT INTO patient VALUES("125","k8i1m88dza62yof7d5l","GALLETA","MYKA"," ","0000-00-00","2020-04-02 08:50:48.515161","OB"); INSERT INTO patient VALUES("126","k8i1mj22b7j2bhgw3tm","FORTEO","ALMA"," ","0000-00-00","2020-04-02 08:51:02.534819","OB"); INSERT INTO patient VALUES("127","k8i1q8qfve5r9pxk3lr","AMANO","FLONYTE"," ","0000-00-00","2020-04-02 08:53:55.793327","OB"); INSERT INTO patient VALUES("128","k8i1qhuv8x6ntmbwbc","DEFEO","NADINE"," ","0000-00-00","2020-04-02 08:54:07.604195","OB"); INSERT INTO patient VALUES("129","k8i1quimajmwnpgbsv6","DESPABILADERA","LANNY"," ","0000-00-00","2020-04-02 08:54:24.013901","OB"); INSERT INTO patient VALUES("130","k8i1rnyqx5eoivd4ffi","RODRIGUEZ","CLARIZ"," ","0000-00-00","2020-04-02 08:55:02.174875","OB"); INSERT INTO patient VALUES("131","k8i1tyr5oskby22cy0s","GARDON","JENNILYN"," ","0000-00-00","2020-04-02 08:56:49.475839","OB"); INSERT INTO patient VALUES("132","k8i1u9iweajl67go56k","CALVARIO","GLADYS"," ","0000-00-00","2020-04-02 08:57:03.435128","OB"); INSERT INTO patient VALUES("133","k8i1uii74bbt07uex9m","LOPEZ","BABELYN"," ","0000-00-00","2020-04-02 08:57:15.083379","OB"); INSERT INTO patient VALUES("134","k8i1urwfmwge3lj29ai","GAYOLA","JESSABEL"," ","0000-00-00","2020-04-02 08:57:27.251017","OB"); INSERT INTO patient VALUES("135","k8i1v4vqwrty9dv8mj","ESTRADA","<NAME>"," ","0000-00-00","2020-04-02 08:57:44.067485","OB"); INSERT INTO patient VALUES("136","k8i1vhzrkt3w5td79g","PASIN","<NAME>"," ","0000-00-00","2020-04-02 08:58:01.062746","OB"); INSERT INTO patient VALUES("137","k8i1vq5x28g1hbh0t8y","ESPINOCILLA","DAISY"," ","0000-00-00","2020-04-02 08:58:11.650790","OB"); INSERT INTO patient VALUES("138","k8i1vxct7d1hr04n7k9","BREZUELA","IRENE"," ","0000-00-00","2020-04-02 08:58:20.980819","OB"); INSERT INTO patient VALUES("139","k8i1w79ab2qgj83bj06","FORCADO","JAENA"," ","0000-00-00","2020-04-02 08:58:33.799328","OB"); INSERT INTO patient VALUES("140","k8i1yyzg5more4xxxv","ORTIZ","MARY GRACE"," ","0000-00-00","2020-04-02 09:00:43.081972","OB"); INSERT INTO patient VALUES("141","k8i30ru2jul3s3rcepk","DECHAVEZ","GINALYN"," ","0000-00-00","2020-04-02 09:30:06.702788","OB"); INSERT INTO patient VALUES("142","k8i339jbot13sgorxto","BAÑADOS","MARCHIE"," ","0000-00-00","2020-04-02 09:32:02.987915","OB"); INSERT INTO patient VALUES("143","k8i33rc3cgdude2wg6s","LORA","REMEDIOS"," ","0000-00-00","2020-04-02 09:32:26.040833","OB"); INSERT INTO patient VALUES("144","k8i33yojuu0epak52i","DOCOT","GENNIE"," ","0000-00-00","2020-04-02 09:32:35.565476","OB"); INSERT INTO patient VALUES("145","k8i34lmfst6vr4qp5","GATACELO","BRENDA"," ","0000-00-00","2020-04-02 09:33:05.291657","OB"); INSERT INTO patient VALUES("146","k8i3512n16gx3rasgy7","MIRASOL","MEDILYN"," ","0000-00-00","2020-04-02 09:33:25.314341","OB"); INSERT INTO patient VALUES("147","k8i35abquj87snza5hl","JENIEBRE","REGINA"," ","0000-00-00","2020-04-02 09:33:37.305204","OB"); INSERT INTO patient VALUES("148","k8i35psubuho48zks4h","EVANGELISTA","MARICRIS"," ","0000-00-00","2020-04-02 09:33:57.356568","OB"); INSERT INTO patient VALUES("149","k8i360r9f3a3pifmnf","ENCINARES","<NAME>"," ","0000-00-00","2020-04-02 09:34:11.565610","OB"); INSERT INTO patient VALUES("150","k8i367slzo3i5j7w7xi","LOFAMIA","JINKY"," ","0000-00-00","2020-04-02 09:34:20.683628","OB"); INSERT INTO patient VALUES("151","k8i36i1haxshzk3sy85","BUENO","MARICHU"," ","0000-00-00","2020-04-02 09:34:33.954890","OB"); INSERT INTO patient VALUES("152","k8i371o522ryg9t2xzth","DIVINO","ROGEMIE"," ","0000-00-00","2020-04-02 09:34:59.404005","OB"); INSERT INTO patient VALUES("153","k8i37a3afejzg154fcv","DOCTOR","RENALYN"," ","0000-00-00","2020-04-02 09:35:10.315865","OB"); INSERT INTO patient VALUES("154","k8i37h7wk8bqedrep2f","ESCOTE","SHERYL"," ","0000-00-00","2020-04-02 09:35:19.556100","OB"); INSERT INTO patient VALUES("155","k8i37s9glvnimotr5k","GIPAYA","CHERYLI"," ","0000-00-00","2020-04-02 09:35:33.863740","OB"); INSERT INTO patient VALUES("156","k8i381vpluwdy18nfxc","GARDUQUE","AILEEN"," ","0000-00-00","2020-04-02 09:35:46.323763","OB"); INSERT INTO patient VALUES("157","k8i38c5hxjyb32px7q9","GARDON","LORRY"," ","0000-00-00","2020-04-02 09:35:59.644642","OB"); INSERT INTO patient VALUES("158","k8i38pjwefwcrkhjmx8","ESTRELLADO","MARGIE"," ","0000-00-00","2020-04-02 09:36:17.010590","OB"); INSERT INTO patient VALUES("159","k8i390ropquy2e37xu","ESCITE","JESSA"," ","0000-00-00","2020-04-02 09:36:31.539568","OB"); INSERT INTO patient VALUES("160","k8i39cvu0rror9azou1q","ENCELAN","MARIVIC"," ","0000-00-00","2020-04-02 09:36:47.255625","OB"); INSERT INTO patient VALUES("161","k8i39pttcu82ttywnaj","DEAÑO","LOVELYN"," ","0000-00-00","2020-04-02 09:37:04.035886","OB"); INSERT INTO patient VALUES("162","k8i3a8jt84yaaq8b4im","SANTIAGO","JACQUILYN"," ","0000-00-00","2020-04-02 09:37:28.297990","OB"); INSERT INTO patient VALUES("163","k8i3aksfqow34x20tw","MACAPAGAL","<NAME>"," ","0000-00-00","2020-04-02 09:37:44.144773","OB"); INSERT INTO patient VALUES("164","k8i3awtbwfx4giwtvoj","IBANITA","<NAME>"," ","0000-00-00","2020-04-02 09:37:59.738056","OB"); INSERT INTO patient VALUES("165","k8i3baf8sf4h1k7k7we","ESPENOCILLA","REINA"," ","0000-00-00","2020-04-02 09:38:17.368821","OB"); INSERT INTO patient VALUES("166","k8i3c2ixj2io90ohygl","DIMAANO","ZYPHRINE"," ","0000-00-00","2020-04-02 09:38:53.802375","Rehy/ISO"); INSERT INTO patient VALUES("167","k8i3ccvsfbar8nz5fwa","JAYLO","<NAME>"," ","0000-00-00","2020-04-02 09:39:07.221287","Rehy/ISO"); INSERT INTO patient VALUES("168","k8i3cshcyqtre2v92vh","BUENAOBRA","JOSHUA"," ","0000-00-00","2020-04-02 09:39:27.431964","Rehy/ISO"); INSERT INTO patient VALUES("169","k8i3d2dk6lodrec7mps","ORAA","CHRISTY"," ","0000-00-00","2020-04-02 09:39:40.259007","Rehy/ISO"); INSERT INTO patient VALUES("170","k8i3db9gh0ee3608lhb","ENCELAN","ELENA"," ","0000-00-00","2020-04-02 09:39:51.770722","Rehy/ISO"); INSERT INTO patient VALUES("171","k8i3dz2rrc1bpkshte","ELLI","EZEKIEL"," ","0000-00-00","2020-04-02 09:40:22.625663","Rehy/ISO"); INSERT INTO patient VALUES("172","k8i3e5oankutmbk8ofn","ELLI","ETHAN"," ","0000-00-00","2020-04-02 09:40:31.180878","Rehy/ISO"); INSERT INTO patient VALUES("173","k8i3ejljqqzs7gwynym","MARANIO","ERLINA"," ","0000-00-00","2020-04-02 09:40:49.232191","Rehy/ISO"); INSERT INTO patient VALUES("174","k8i3eqmvbss4ru7ronm","TAMBAL","SANTIAGO"," ","0000-00-00","2020-04-02 09:40:58.349612","Rehy/ISO"); INSERT INTO patient VALUES("175","k8i3ezy7ucb5azsuc7c","GALERIA","EDUARDO"," ","0000-00-00","2020-04-02 09:41:10.426689","Rehy/ISO"); INSERT INTO patient VALUES("176","k8i3f8dz6xmef6fjmru","NAVOTAS","TERESITA"," ","0000-00-00","2020-04-02 09:41:21.352114","Rehy/ISO"); INSERT INTO patient VALUES("177","k8i3fgxaqbfhyj7rec","JESTRE","JANET"," ","0000-00-00","2020-04-02 09:41:32.418738","Rehy/ISO"); INSERT INTO patient VALUES("178","k8i3gzlldg9bewqyayc","LATOSA","JOSEFA"," ","0000-00-00","2020-04-02 09:42:43.291706","Rehy/ISO"); INSERT INTO patient VALUES("179","k8i3hi9kdqxdu6wmbmg","FURIO","OFELIA"," ","0000-00-00","2020-04-02 09:43:07.474018","Rehy/ISO"); INSERT INTO patient VALUES("180","k8i3i3olo7y4wqrz8sa","CRUCILLA","SUSAN"," ","0000-00-00","2020-04-02 09:43:35.228702","Rehy/ISO"); INSERT INTO patient VALUES("181","k8i3inbp8590ud5mmp6","COVID PUI - ENANO","ROMEO"," ","0000-00-00","2020-04-02 09:44:00.686034","Rehy/ISO"); INSERT INTO patient VALUES("182","k8jenvwm4jkh6jqcst9","DINGALAN","ELIZER"," ","0000-00-00","2020-04-03 07:43:47.050224","General"); INSERT INTO patient VALUES("183","k8jep45h2l2u072tsk6","GALICIA","LEONILO"," ","0000-00-00","2020-04-03 07:44:44.375091","General"); INSERT INTO patient VALUES("184","k8jeprjl3ohhii7gvm8","GARLAN","JERRY"," ","0000-00-00","2020-04-03 07:45:14.688506","General"); INSERT INTO patient VALUES("185","k8jerb8f8x0n7n6pav8","DY","ROMEO"," ","0000-00-00","2020-04-03 07:46:26.867226","General"); INSERT INTO patient VALUES("186","k8jetrwk4mzqbcq0975","ESPAÑO","JASON"," ","0000-00-00","2020-04-03 07:48:21.797234","General"); INSERT INTO patient VALUES("187","k8jeunt0ejh0vskm99k","DITAN","SALVADOR"," ","0000-00-00","2020-04-03 07:49:03.122079","General"); INSERT INTO patient VALUES("188","k8jex8dv4db5mk7wh2p","MARANO","LAURO"," ","0000-00-00","2020-04-03 07:51:03.120085","General"); INSERT INTO patient VALUES("189","k8jf0bja9ek3syplj9a","CAPORADO","JOSEFIN"," ","0000-00-00","2020-04-03 07:53:27.158877","General"); INSERT INTO patient VALUES("190","k8jf3h8z83d8ym21jcq","GAVARRA","MENERVA"," ","0000-00-00","2020-04-03 07:55:54.534962","General"); DROP TABLE patientsubsistence; CREATE TABLE `patientsubsistence` ( `id` int(12) NOT NULL AUTO_INCREMENT, `pId` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `date` date NOT NULL, `breakfast` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL, `lunch` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL, `dinner` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL, `npo` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `gl` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=254 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO patientsubsistence VALUES("66","k8hz0vv1onexscuney","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("67","k8hz1cuo869ysh16ey4","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("68","k8hz1uwl7bvefoo0mjh","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("69","k8hz293r9k2dlb2j6ni","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("70","k8hz2smubz0an6sam1k","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("71","k8hz35uvheczgda5l2b","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("72","k8hz3fud7ydx8izqfz5","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("73","k8hz3pymi6vt0hs8uid","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("74","k8hz41qm41t89l6ymjn","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("75","k8hz4j7hnifbaflhk4j","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("76","k8hz4xtbqnd5c428gwc","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("77","k8hz5acmdl5gi2y2s5v","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("78","k8hz5m8dh00ujiapogs","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("79","k8hz63dhr5al3wfm4ml","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("80","k8hz6f3xniqbwy9be8e","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("81","k8hz6vfooz498gwemnj","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("82","k8hz82toht3zaboftkg","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("83","k8hz8fm1tv9xcebx5s","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("84","k8hz8pxe16r1m8pbp7qh","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("85","k8hz95ctngfx1h7wi4r","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("86","k8hz9fuzkgu6wnxwln","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("87","k8hzbcvoitjarx1r3yp","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("88","k8hzbmqal1p7cu2wj5a","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("89","k8hzbyrnjtzdddjxnbg","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("90","k8hzcdmrwytn03wjto","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("91","k8hzcx61bqd9mmuogbw","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("92","k8hzd823e8lqgjjqijb","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("93","k8hzdm1uw719k4wgvyi","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("94","k8hzdtip127p5vg9o9x","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("95","k8hze0ldnhj6e4w9bjn","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("96","k8hzeozvarrcdt48pmu","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("97","k8hzf3qz6xmx9solt8h","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("98","k8hzg7zj9py163qsgg","2020-04-01","","on","on","",""); INSERT INTO patientsubsistence VALUES("99","k8hzglek84rw7uleqtq","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("100","k8hzgtas30rkva5r3jm","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("101","k8hzh4jkmjcg9zjpcms","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("102","k8hzhhq7iaa6vh0czd8","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("103","k8hzih5gl1uwrt4bqh","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("104","k8hzipqrvs7eytros6","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("105","k8hzkh7lfi059qdny5i","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("106","k8hzl6cwfwjswrzs047","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("107","k8hzld070mtd66v9zk4q","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("108","k8hzlmbsvjkrf6n001n","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("109","k8hzlxzin21d58rbxkh","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("110","k8hzm606z1hk3j9lgu","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("111","k8hzmgiuygrrt3g0dqb","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("112","k8hzmqzabv83csxtgp5","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("113","k8hzpyubdnnj0iirwb7","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("114","k8hzqi9v42ts94cf774","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("115","k8hzqql75yryeumkhi","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("116","k8hzr1s33051hximwtr","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("117","k8hzrjbynobbyyge9o","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("118","k8hzubg3cfaivdv6s","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("119","k8hzvpx8al62x2lnu3o","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("120","k8hzw15mc4xoqhbrtbl","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("121","k8hzwshqasb9vedtsog","2020-04-01","","","","","on"); INSERT INTO patientsubsistence VALUES("122","k8hzxc0t7eelg5ft43s","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("123","k8hzxo0lxxyqhkhhiog","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("124","k8hzykxcz4h25x4d25g","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("125","k8hzz589vq981tapyx","2020-04-01","","on","on","",""); INSERT INTO patientsubsistence VALUES("126","k8hzzrzvoa3gtz4u8u","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("127","k8i008bgolf8trezal","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("128","k8i06sw923ohmtlykyn","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("129","k8i076c9gszial6xy3m","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("130","k8i1ddwlhvhbedqd96v","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("131","k8i1e33gqnfgytitpeh","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("132","k8i1el9xb9yxj6op6ov","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("133","k8i1eymld45falfxib","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("134","k8i1fer8yxk072h7sug","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("135","k8i1gbgf0gj9p798ch9c","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("136","k8i1gxaduyt3dkyfcx","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("137","k8i1h9is2y5tjdyx9cz","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("138","k8i1hkmkix71l140nu","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("139","k8i1hzmki3nzz2qqvf8","2020-04-01","on","","","",""); INSERT INTO patientsubsistence VALUES("140","k8i1imvcplpsfpvhh4","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("141","k8i1iy8ozh1gn801e0q","2020-04-01","on","","","",""); INSERT INTO patientsubsistence VALUES("142","k8i1jlzrgdblvlto3zo","2020-04-01","on","","","",""); INSERT INTO patientsubsistence VALUES("143","k8i1k6rsoqhmoo1pipf","2020-04-01","","","","",""); INSERT INTO patientsubsistence VALUES("144","k8i1la3avzvj68uordl","2020-04-01","on","","","",""); INSERT INTO patientsubsistence VALUES("145","k8i1lk7yifjlomd409","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("146","k8i1lt7avvxgv2qvlx","2020-04-01","on","","","",""); INSERT INTO patientsubsistence VALUES("147","k8i1m88dza62yof7d5l","2020-04-01","on","","","",""); INSERT INTO patientsubsistence VALUES("148","k8i1mj22b7j2bhgw3tm","2020-04-01","on","","","",""); INSERT INTO patientsubsistence VALUES("149","k8i1q8qfve5r9pxk3lr","2020-04-01","","on","on","",""); INSERT INTO patientsubsistence VALUES("150","k8i1qhuv8x6ntmbwbc","2020-04-01","","on","on","",""); INSERT INTO patientsubsistence VALUES("151","k8i1quimajmwnpgbsv6","2020-04-01","","on","on","",""); INSERT INTO patientsubsistence VALUES("152","k8i1rnyqx5eoivd4ffi","2020-04-01","","on","on","",""); INSERT INTO patientsubsistence VALUES("153","k8i1tyr5oskby22cy0s","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("154","k8i1u9iweajl67go56k","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("155","k8i1uii74bbt07uex9m","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("156","k8i1urwfmwge3lj29ai","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("157","k8i1v4vqwrty9dv8mj","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("158","k8i1vhzrkt3w5td79g","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("159","k8i1vq5x28g1hbh0t8y","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("160","k8i1vxct7d1hr04n7k9","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("161","k8i1w79ab2qgj83bj06","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("162","k8i1yyzg5more4xxxv","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("163","k8i30ru2jul3s3rcepk","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("164","k8i339jbot13sgorxto","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("165","k8i33rc3cgdude2wg6s","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("166","k8i33yojuu0epak52i","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("167","k8i34lmfst6vr4qp5","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("168","k8i3512n16gx3rasgy7","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("169","k8i35abquj87snza5hl","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("170","k8i35psubuho48zks4h","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("171","k8i360r9f3a3pifmnf","2020-04-01","","","","","on"); INSERT INTO patientsubsistence VALUES("172","k8i367slzo3i5j7w7xi","2020-04-01","","","","","on"); INSERT INTO patientsubsistence VALUES("173","k8i36i1haxshzk3sy85","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("174","k8i371o522ryg9t2xzth","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("175","k8i37a3afejzg154fcv","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("176","k8i37h7wk8bqedrep2f","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("177","k8i37s9glvnimotr5k","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("178","k8i381vpluwdy18nfxc","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("179","k8i38c5hxjyb32px7q9","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("180","k8i38pjwefwcrkhjmx8","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("181","k8i390ropquy2e37xu","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("182","k8i39cvu0rror9azou1q","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("183","k8i39pttcu82ttywnaj","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("184","k8i3a8jt84yaaq8b4im","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("185","k8i3aksfqow34x20tw","2020-04-01","","","","",""); INSERT INTO patientsubsistence VALUES("186","k8i3awtbwfx4giwtvoj","2020-04-01","","","","on",""); INSERT INTO patientsubsistence VALUES("187","k8i3baf8sf4h1k7k7we","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("188","k8i3c2ixj2io90ohygl","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("189","k8i3ccvsfbar8nz5fwa","2020-04-01","on","on","","",""); INSERT INTO patientsubsistence VALUES("190","k8i3cshcyqtre2v92vh","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("191","k8i3d2dk6lodrec7mps","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("192","k8i3db9gh0ee3608lhb","2020-04-01","on","on","","",""); INSERT INTO patientsubsistence VALUES("193","k8i3dz2rrc1bpkshte","2020-04-01","on","on","","",""); INSERT INTO patientsubsistence VALUES("194","k8i3e5oankutmbk8ofn","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("195","k8i3ejljqqzs7gwynym","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("196","k8i3eqmvbss4ru7ronm","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("197","k8i3ezy7ucb5azsuc7c","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("198","k8i3f8dz6xmef6fjmru","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("199","k8i3fgxaqbfhyj7rec","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("200","k8i3gzlldg9bewqyayc","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("201","k8i3hi9kdqxdu6wmbmg","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("202","k8i3i3olo7y4wqrz8sa","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("203","k8i3inbp8590ud5mmp6","2020-04-01","on","on","on","",""); INSERT INTO patientsubsistence VALUES("204","k8hz1cuo869ysh16ey4","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("205","k8hz1uwl7bvefoo0mjh","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("206","k8hz293r9k2dlb2j6ni","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("207","k8hz2smubz0an6sam1k","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("208","k8hz35uvheczgda5l2b","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("209","k8hz3fud7ydx8izqfz5","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("210","k8hzqi9v42ts94cf774","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("211","k8hz41qm41t89l6ymjn","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("212","k8hz4j7hnifbaflhk4j","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("213","k8hz4xtbqnd5c428gwc","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("214","k8hz3pymi6vt0hs8uid","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("215","k8hz5m8dh00ujiapogs","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("216","k8hz63dhr5al3wfm4ml","2020-04-02","","","","on",""); INSERT INTO patientsubsistence VALUES("217","k8hz6vfooz498gwemnj","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("218","k8hz8fm1tv9xcebx5s","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("219","k8hz8pxe16r1m8pbp7qh","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("220","k8jenvwm4jkh6jqcst9","2020-04-02","","","","on",""); INSERT INTO patientsubsistence VALUES("221","k8hz95ctngfx1h7wi4r","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("222","k8hz9fuzkgu6wnxwln","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("223","k8jep45h2l2u072tsk6","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("224","k8jeprjl3ohhii7gvm8","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("225","k8hzbyrnjtzdddjxnbg","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("226","k8hzcdmrwytn03wjto","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("227","k8hzcx61bqd9mmuogbw","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("228","k8jerb8f8x0n7n6pav8","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("229","k8hzdm1uw719k4wgvyi","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("230","k8hzdtip127p5vg9o9x","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("231","k8hze0ldnhj6e4w9bjn","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("232","k8jetrwk4mzqbcq0975","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("233","k8hzf3qz6xmx9solt8h","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("234","k8jeunt0ejh0vskm99k","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("235","k8hzeozvarrcdt48pmu","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("236","k8hzg7zj9py163qsgg","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("237","k8hzglek84rw7uleqtq","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("238","k8hzgtas30rkva5r3jm","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("239","k8jex8dv4db5mk7wh2p","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("240","k8hzhhq7iaa6vh0czd8","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("241","k8hzih5gl1uwrt4bqh","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("242","k8hzipqrvs7eytros6","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("243","k8hzkh7lfi059qdny5i","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("244","k8hzl6cwfwjswrzs047","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("245","k8jf0bja9ek3syplj9a","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("246","k8hzld070mtd66v9zk4q","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("247","k8hzlxzin21d58rbxkh","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("248","k8hzm606z1hk3j9lgu","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("249","k8hzmgiuygrrt3g0dqb","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("250","k8hzpyubdnnj0iirwb7","2020-04-02","","","","",""); INSERT INTO patientsubsistence VALUES("251","k8hzqql75yryeumkhi","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("252","k8jf3h8z83d8ym21jcq","2020-04-02","on","on","on","",""); INSERT INTO patientsubsistence VALUES("253","k8hzrjbynobbyyge9o","2020-04-02","on","on","on","",""); DROP TABLE reports; CREATE TABLE `reports` ( `id` int(12) NOT NULL AUTO_INCREMENT, `pId` varchar(25) NOT NULL, `lastName` varchar(255) NOT NULL, `firstName` varchar(255) NOT NULL, `middleName` varchar(255) NOT NULL, `ward` varchar(255) NOT NULL, `date` date NOT NULL, `day01` varchar(255) DEFAULT NULL, `day02` varchar(255) DEFAULT NULL, `day03` varchar(255) DEFAULT NULL, `day04` varchar(255) DEFAULT NULL, `day05` varchar(255) DEFAULT NULL, `day06` varchar(255) DEFAULT NULL, `day07` varchar(255) DEFAULT NULL, `day08` varchar(255) DEFAULT NULL, `day09` varchar(255) DEFAULT NULL, `day10` varchar(255) DEFAULT NULL, `day11` varchar(255) DEFAULT NULL, `day12` varchar(255) DEFAULT NULL, `day13` varchar(255) DEFAULT NULL, `day14` varchar(255) DEFAULT NULL, `day15` varchar(255) DEFAULT NULL, `day16` varchar(255) DEFAULT NULL, `day17` varchar(255) DEFAULT NULL, `day18` varchar(255) DEFAULT NULL, `day19` varchar(255) DEFAULT NULL, `day20` varchar(255) DEFAULT NULL, `day21` varchar(255) DEFAULT NULL, `day22` varchar(255) DEFAULT NULL, `day23` varchar(255) DEFAULT NULL, `day24` varchar(255) DEFAULT NULL, `day25` varchar(255) DEFAULT NULL, `day26` varchar(255) DEFAULT NULL, `day27` varchar(255) DEFAULT NULL, `day28` varchar(255) DEFAULT NULL, `day29` varchar(255) DEFAULT NULL, `day30` varchar(255) DEFAULT NULL, `day31` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=194 DEFAULT CHARSET=utf8mb4; INSERT INTO reports VALUES("47","k8hz0vv1onexscuney","GABARDA","JOSE"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("48","k8hz1cuo869ysh16ey4","DIMEN","WILSON"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("49","k8hz1uwl7bvefoo0mjh","MENDOZA","NICANOR"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("50","k8hz293r9k2dlb2j6ni","DE OCAMPO","JIMENEZ"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("51","k8hz2smubz0an6sam1k","DOMINGUEZ","NEOPITO"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("52","k8hz35uvheczgda5l2b","GUELAS","NELIA"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("53","k8hz3fud7ydx8izqfz5","FRAGO","LILIA"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("54","k8hz3pymi6vt0hs8uid","ENAJE","MARIA"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("55","k8hz41qm41t89l6ymjn","ABINA","GLORIA"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("56","k8hz4j7hnifbaflhk4j","BELTRAN","MARIBEL"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("57","k8hz4xtbqnd5c428gwc","HERNANDEZ","EVANGELINE"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("58","k8hz5acmdl5gi2y2s5v","AGARAP","FLUGENCIA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("59","k8hz5m8dh00ujiapogs","LACSA","TEODORO"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("60","k8hz63dhr5al3wfm4ml","CLAVEL","BETTY"," ","General","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("61","k8hz6f3xniqbwy9be8e","ESTADILLA","LORNA"," ","General","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("62","k8hz6vfooz498gwemnj","GAURINO","AUGUSTO"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("63","k8hz82toht3zaboftkg","DEOCAREZA","SALVADOR"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("64","k8hz8fm1tv9xcebx5s","BRIN","PEARLIE"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("65","k8hz8pxe16r1m8pbp7qh","DOLOSA","MARISSA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("66","k8hz95ctngfx1h7wi4r","GUELA","RAFAEL"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("67","k8hz9fuzkgu6wnxwln","CHIAO","BAYANI"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("68","k8hzbcvoitjarx1r3yp","LANUZA","ARNEL"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("69","k8hzbmqal1p7cu2wj5a","LONCERAS","JAIME"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("70","k8hzbyrnjtzdddjxnbg","DESACULA","FRANCISCO"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("71","k8hzcdmrwytn03wjto","JAMISOLA","PEPITO"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("72","k8hzcx61bqd9mmuogbw","FUNTELAR","PEDRO"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("73","k8hzd823e8lqgjjqijb","FULLERO","LITO"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("74","k8hzdm1uw719k4wgvyi","FETALVO","ABRAHAM"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("75","k8hzdtip127p5vg9o9x","BARUELO","DANDING"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("76","k8hze0ldnhj6e4w9bjn","DESPI","ROGER"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("77","k8hzeozvarrcdt48pmu","FULGAR","KRISNA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("78","k8hzf3qz6xmx9solt8h","DELA TORRE","NOEL"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("79","k8hzg7zj9py163qsgg","GERMIDEA","JAIME"," ","General","2020-04-01","dl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("80","k8hzglek84rw7uleqtq","ALMARIO","DANILO"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("81","k8hzgtas30rkva5r3jm","SORETA","RAUL"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("82","k8hzh4jkmjcg9zjpcms","MARIANO","LAURO"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("83","k8hzhhq7iaa6vh0czd8","AVERILLA","RAMON"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("84","k8hzih5gl1uwrt4bqh","DESTAJO","BENJAMIN"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("85","k8hzipqrvs7eytros6","MERCA","ELINOR"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("86","k8hzkh7lfi059qdny5i","FORTES","SANTIAGO"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("87","k8hzl6cwfwjswrzs047","PANAGSAGAN","GLENDA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("88","k8hzld070mtd66v9zk4q","LATAGAN","NORMA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("89","k8hzlmbsvjkrf6n001n","ALZAGA","KAREN"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("90","k8hzlxzin21d58rbxkh","JASARENO","PRECILLA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("91","k8hzm606z1hk3j9lgu","DE LEON","ROWILLA"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("92","k8hzmgiuygrrt3g0dqb","REONDANGA","MARIA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("93","k8hzmqzabv83csxtgp5","HAY","SALVACION"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("94","k8hzpyubdnnj0iirwb7","GRATUITO","DENITA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("95","k8hzqi9v42ts94cf774","GUERRERO","NATIVIDAD"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("96","k8hzqql75yryeumkhi","LUSARDE","MARY ANN"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("97","k8hzr1s33051hximwtr","DOMETITA","ALICIA"," ","General","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("98","k8hzrjbynobbyyge9o","DUGAN","MARILO"," ","General","2020-04-01","bld","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("99","k8hzubg3cfaivdv6s","GALERIA","JENNY"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("100","k8hzvpx8al62x2lnu3o","MELLA","TATUM"," ","Pedia/Surgery","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("101","k8hzw15mc4xoqhbrtbl","MONTE","ADELA"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("102","k8hzwshqasb9vedtsog","ARCOS","DYSELLE"," ","Pedia/Surgery","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("103","k8hzxc0t7eelg5ft43s","DIONELA","JEROME"," ","Pedia/Surgery","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("104","k8hzxo0lxxyqhkhhiog","LADOB","DOMINGO"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("105","k8hzykxcz4h25x4d25g","GRESOLA","TRANQUILLANO"," ","Pedia/Surgery","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("106","k8hzz589vq981tapyx","DOLOSA","GENEROSO"," ","Pedia/Surgery","2020-04-01","dl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("107","k8hzzrzvoa3gtz4u8u","ATULI","JANER"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("108","k8i008bgolf8trezal","HAMTO","ROMEO"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("109","k8i06sw923ohmtlykyn","DIVINA","MYRNA"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("110","k8i076c9gszial6xy3m","ESTRABELLA","JESSICA"," ","Pedia/Surgery","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("111","k8i1ddwlhvhbedqd96v","SARMEINTO","ZENAIDA"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("112","k8i1e33gqnfgytitpeh","BAJAMUNDI","EDUQIUIO"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("113","k8i1el9xb9yxj6op6ov","HEDIA","<NAME>"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("114","k8i1eymld45falfxib","BORCON","MELANIE"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("115","k8i1fer8yxk072h7sug","GOGOLIN","ANGELIZA"," ","Pedia/Surgery","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("116","k8i1gbgf0gj9p798ch9c","GARATE","BERNADETTE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("117","k8i1gxaduyt3dkyfcx","HOLLOR","MA. LOURDES"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("118","k8i1h9is2y5tjdyx9cz","ANGUSTIA","JENLYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("119","k8i1hkmkix71l140nu","FLORALDE","JESUSA"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("120","k8i1hzmki3nzz2qqvf8","ESCARDA","CRISTINA"," ","OB","2020-04-01","b","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("121","k8i1imvcplpsfpvhh4","OYIRA","BABY SHIRLYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("122","k8i1iy8ozh1gn801e0q","GUBATON","MARIFE"," ","OB","2020-04-01","b","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("123","k8i1jlzrgdblvlto3zo","CORIDOR","MARY JANE"," ","OB","2020-04-01","b","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("124","k8i1k6rsoqhmoo1pipf","ORTIZ","MARIA AGNES"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("125","k8i1la3avzvj68uordl","PANAMBO","GENEVE"," ","OB","2020-04-01","b","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("126","k8i1lk7yifjlomd409","CANAR","KATHERINE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("127","k8i1lt7avvxgv2qvlx","GULLON","MERCY"," ","OB","2020-04-01","b","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("128","k8i1m88dza62yof7d5l","GALLETA","MYKA"," ","OB","2020-04-01","b","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("129","k8i1mj22b7j2bhgw3tm","FORTEO","ALMA"," ","OB","2020-04-01","b","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("130","k8i1q8qfve5r9pxk3lr","AMANO","FLONYTE"," ","OB","2020-04-01","dl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("131","k8i1qhuv8x6ntmbwbc","DEFEO","NADINE"," ","OB","2020-04-01","dl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("132","k8i1quimajmwnpgbsv6","DESPABILADERA","LANNY"," ","OB","2020-04-01","dl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("133","k8i1rnyqx5eoivd4ffi","RODRIGUEZ","CLARIZ"," ","OB","2020-04-01","dl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("134","k8i1tyr5oskby22cy0s","GARDON","JENNILYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("135","k8i1u9iweajl67go56k","CALVARIO","GLADYS"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("136","k8i1uii74bbt07uex9m","LOPEZ","BABELYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("137","k8i1urwfmwge3lj29ai","GAYOLA","JESSABEL"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("138","k8i1v4vqwrty9dv8mj","ESTRADA","BABY ROSE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("139","k8i1vhzrkt3w5td79g","PASIN","MA. CONCEPCION"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("140","k8i1vq5x28g1hbh0t8y","ESPINOCILLA","DAISY"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("141","k8i1vxct7d1hr04n7k9","BREZUELA","IRENE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("142","k8i1w79ab2qgj83bj06","FORCADO","JAENA"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("143","k8i1yyzg5more4xxxv","ORTIZ","MARY GRACE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("144","k8i30ru2jul3s3rcepk","DECHAVEZ","GINALYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("145","k8i339jbot13sgorxto","BAÑADOS","MARCHIE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("146","k8i33rc3cgdude2wg6s","LORA","REMEDIOS"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("147","k8i33yojuu0epak52i","DOCOT","GENNIE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("148","k8i34lmfst6vr4qp5","GATACELO","BRENDA"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("149","k8i3512n16gx3rasgy7","MIRASOL","MEDILYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("150","k8i35abquj87snza5hl","JENIEBRE","REGINA"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("151","k8i35psubuho48zks4h","EVANGELISTA","MARICRIS"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("152","k8i360r9f3a3pifmnf","ENCINARES","MARY ANN"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("153","k8i367slzo3i5j7w7xi","LOFAMIA","JINKY"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("154","k8i36i1haxshzk3sy85","BUENO","MARICHU"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("155","k8i371o522ryg9t2xzth","DIVINO","ROGEMIE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("156","k8i37a3afejzg154fcv","DOCTOR","RENALYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("157","k8i37h7wk8bqedrep2f","ESCOTE","SHERYL"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("158","k8i37s9glvnimotr5k","GIPAYA","CHERYLI"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("159","k8i381vpluwdy18nfxc","GARDUQUE","AILEEN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("160","k8i38c5hxjyb32px7q9","GARDON","LORRY"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("161","k8i38pjwefwcrkhjmx8","ESTRELLADO","MARGIE"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("162","k8i390ropquy2e37xu","ESCITE","JESSA"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("163","k8i39cvu0rror9azou1q","ENCELAN","MARIVIC"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("164","k8i39pttcu82ttywnaj","DEAÑO","LOVELYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("165","k8i3a8jt84yaaq8b4im","SANTIAGO","JACQUILYN"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("166","k8i3aksfqow34x20tw","MACAPAGAL","<NAME>"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("167","k8i3awtbwfx4giwtvoj","IBANITA","<NAME>"," ","OB","2020-04-01","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("168","k8i3baf8sf4h1k7k7we","ESPENOCILLA","REINA"," ","OB","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("169","k8i3c2ixj2io90ohygl","DIMAANO","ZYPHRINE"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("170","k8i3ccvsfbar8nz5fwa","JAYLO","<NAME>"," ","Rehy/ISO","2020-04-01","bl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("171","k8i3cshcyqtre2v92vh","BUENAOBRA","JOSHUA"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("172","k8i3d2dk6lodrec7mps","ORAA","CHRISTY"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("173","k8i3db9gh0ee3608lhb","ENCELAN","ELENA"," ","Rehy/ISO","2020-04-01","bl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("174","k8i3dz2rrc1bpkshte","ELLI","EZEKIEL"," ","Rehy/ISO","2020-04-01","bl","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("175","k8i3e5oankutmbk8ofn","ELLI","ETHAN"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("176","k8i3ejljqqzs7gwynym","MARANIO","ERLINA"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("177","k8i3eqmvbss4ru7ronm","TAMBAL","SANTIAGO"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("178","k8i3ezy7ucb5azsuc7c","GALERIA","EDUARDO"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("179","k8i3f8dz6xmef6fjmru","NAVOTAS","TERESITA"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("180","k8i3fgxaqbfhyj7rec","JESTRE","JANET"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("181","k8i3gzlldg9bewqyayc","LATOSA","JOSEFA"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("182","k8i3hi9kdqxdu6wmbmg","FURIO","OFELIA"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("183","k8i3i3olo7y4wqrz8sa","CRUCILLA","SUSAN"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("184","k8i3inbp8590ud5mmp6","COVID - ENANO","ROMEO"," ","Rehy/ISO","2020-04-01","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("185","k8jenvwm4jkh6jqcst9","DINGALAN","ELIZER"," ","General","2020-04-02","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("186","k8jep45h2l2u072tsk6","GALICIA","LEONILO"," ","General","2020-04-02","","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("187","k8jeprjl3ohhii7gvm8","GARLAN","JERRY"," ","General","2020-04-02","","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("188","k8jerb8f8x0n7n6pav8","DY","ROMEO"," ","General","2020-04-02","","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("189","k8jetrwk4mzqbcq0975","ESPAÑO","JASON"," ","General","2020-04-02","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("190","k8jeunt0ejh0vskm99k","DITAN","SALVADOR"," ","General","2020-04-02","","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("191","k8jex8dv4db5mk7wh2p","MARANO","LAURO"," ","General","2020-04-02","","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("192","k8jf0bja9ek3syplj9a","CAPORADO","JOSEFIN"," ","General","2020-04-02","","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""); INSERT INTO reports VALUES("193","k8jf3h8z83d8ym21jcq","GAVARRA","MENERVA"," ","General","2020-04-02","","bld","","","","","","","","","","","","","","","","","","","","","","","","","","","","","");
<filename>Trend_Lines/RollingTotalSetup.sql /* * Starts the rolling sum of incidents */ SELECT Site, StudentID, Date, TermName, TermOrder, Cnt, SUM(Cnt) OVER (PARTITION BY StudentID, TermName ORDER BY CONVERT(Date,Date)) as RunTotal, ROW_NUMBER() OVER (PARTITION BY StudentID, TermName ORDER BY StudentID, CONVERT(Date,DATE)) as DayNum FROM ZZ_TEST_BB_RollingAttendance_Prep4_5 ORDER BY StudentID, CONVERT(Date,Date)
<gh_stars>0 DROP TABLE IF EXISTS `%s`.`%s`
<filename>db/20.04.09_4.sql UPDATE `pages` SET `id` = '1', `order` = '0', `status` = '1', `type` = 'front', `admin_title` = 'Главная', `title` = 'Denon', `values` = '{\"slider\":[{\"image\":\"images\\/uploads\\/fs-slide.png\",\"title\":\"ALL IN ONE!*\",\"subtitle\":\"\\u041d\\u041e\\u0412\\u042b\\u0419 CEOL\",\"description\":\"\\u0441\\u0442\\u0438\\u043b\\u044c\\u043d\\u044b\\u0439, \\u043c\\u043e\\u0449\\u043d\\u044b\\u0439, \\u043a\\u043e\\u043c\\u043f\\u0430\\u043a\\u0442\\u043d\\u044b\\u0439, \\u0443\\u043d\\u0438\\u0432\\u0435\\u0440\\u0441\\u0430\\u043b\\u044c\\u043d\\u044b\\u0439\",\"path\":\"#\",\"help\":\"*\\u041e\\u0414\\u0418\\u041d \\u0417\\u0410 \\u0412\\u0421\\u0415\\u0425\",\"award\":\"images\\/uploads\\/award.png\"},{\"image\":\"images\\/uploads\\/fs-slide.png\",\"title\":\"ALL IN ONE!*\",\"subtitle\":\"\\u041d\\u041e\\u0412\\u042b\\u0419 CEOL\",\"description\":\"\\u0441\\u0442\\u0438\\u043b\\u044c\\u043d\\u044b\\u0439, \\u043c\\u043e\\u0449\\u043d\\u044b\\u0439, \\u043a\\u043e\\u043c\\u043f\\u0430\\u043a\\u0442\\u043d\\u044b\\u0439, \\u0443\\u043d\\u0438\\u0432\\u0435\\u0440\\u0441\\u0430\\u043b\\u044c\\u043d\\u044b\\u0439\",\"path\":\"#\",\"help\":\"*\\u041e\\u0414\\u0418\\u041d \\u0417\\u0410 \\u0412\\u0421\\u0415\\u0425\",\"award\":\"images\\/uploads\\/award.png\"},{\"image\":\"images\\/uploads\\/fs-slide.png\",\"title\":\"ALL IN ONE!*\",\"subtitle\":\"\\u041d\\u041e\\u0412\\u042b\\u0419 CEOL\",\"description\":\"\\u0441\\u0442\\u0438\\u043b\\u044c\\u043d\\u044b\\u0439, \\u043c\\u043e\\u0449\\u043d\\u044b\\u0439, \\u043a\\u043e\\u043c\\u043f\\u0430\\u043a\\u0442\\u043d\\u044b\\u0439, \\u0443\\u043d\\u0438\\u0432\\u0435\\u0440\\u0441\\u0430\\u043b\\u044c\\u043d\\u044b\\u0439\",\"path\":\"#\",\"help\":\"*\\u041e\\u0414\\u0418\\u041d \\u0417\\u0410 \\u0412\\u0421\\u0415\\u0425\",\"award\":\"images\\/uploads\\/award.png\"}],\"slogan\":\"\\u0422\\u041e\\u0427\\u041d\\u041e\\u0421\\u0422\\u042c - \\u041a\\u041b\\u042e\\u0427\\u0415\\u0412\\u041e\\u0419 \\u0410\\u0421\\u041f\\u0415\\u041a\\u0422 \\u041f\\u0420\\u0418 \\u0412\\u041e\\u0421\\u041f\\u0420\\u041e\\u0418\\u0417\\u0412\\u0415\\u0414\\u0415\\u041d\\u0418\\u0418 \\u041c\\u0423\\u0417\\u042b\\u041a\\u0418\",\"description\":\"\\u0423\\u043d\\u0438\\u043a\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0442\\u0435\\u0445\\u043d\\u043e\\u043b\\u043e\\u0433\\u0438\\u0438 Denon \\u0434\\u043b\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f CD\\/SACD \\u0434\\u0438\\u0441\\u043a\\u043e\\u0432, \\u0441\\u0442\\u0440\\u043e\\u0433\\u0438\\u0439 \\u043e\\u0442\\u0431\\u043e\\u0440 \\u043a\\u043e\\u043c\\u043f\\u043b\\u0435\\u043a\\u0442\\u0443\\u044e\\u0449\\u0438\\u0445 \\u0438 \\u043c\\u0430\\u0441\\u0442\\u0435\\u0440\\u0441\\u0442\\u0432\\u043e \\u0441\\u0445\\u0435\\u043c\\u043e\\u0442\\u0435\\u0445\\u043d\\u0438\\u043a\\u0438 \\u043f\\u043e\\u043c\\u043e\\u0433\\u0430\\u044e\\u0442 \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u043e\\u0434\\u0438\\u0442\\u044c \\u0437\\u0432\\u0443\\u043a, \\u043c\\u0430\\u043a\\u0441\\u0438\\u043c\\u0430\\u043b\\u044c\\u043d\\u043e \\u043f\\u0440\\u0438\\u0431\\u043b\\u0438\\u0436\\u0435\\u043d\\u043d\\u044b\\u0439 \\u043a \\u043e\\u0440\\u0438\\u0433\\u0438\\u043d\\u0430\\u043b\\u0443.\"}', `meta_title` = 'Denon', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-04-09 10:58:23', `slug` = '/' WHERE `id` = '1'; UPDATE `pages` SET `id` = '2', `order` = '1', `status` = '1', `type` = 'warranty', `admin_title` = 'Гарантия и сервис', `title` = 'Гарантия', `values` = '{\"bg_image\":\"images\\/project\\/page-title.jpg\",\"slogan\":\"\\u0422\\u041e\\u0427\\u041d\\u041e\\u0421\\u0422\\u042c - \\u041a\\u041b\\u042e\\u0427\\u0415\\u0412\\u041e\\u0419 \\u0410\\u0421\\u041f\\u0415\\u041a\\u0422 \\u041f\\u0420\\u0418 \\u0412\\u041e\\u0421\\u041f\\u0420\\u041e\\u0418\\u0417\\u0412\\u0415\\u0414\\u0415\\u041d\\u0418\\u0418 \\u041c\\u0423\\u0417\\u042b\\u041a\\u0418\",\"description\":\"\\u0423\\u043d\\u0438\\u043a\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0442\\u0435\\u0445\\u043d\\u043e\\u043b\\u043e\\u0433\\u0438\\u0438 Denon \\u0434\\u043b\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f CD\\/SACD \\u0434\\u0438\\u0441\\u043a\\u043e\\u0432, \\u0441\\u0442\\u0440\\u043e\\u0433\\u0438\\u0439 \\u043e\\u0442\\u0431\\u043e\\u0440 \\u043a\\u043e\\u043c\\u043f\\u043b\\u0435\\u043a\\u0442\\u0443\\u044e\\u0449\\u0438\\u0445 \\u0438 \\u043c\\u0430\\u0441\\u0442\\u0435\\u0440\\u0441\\u0442\\u0432\\u043e \\u0441\\u0445\\u0435\\u043c\\u043e\\u0442\\u0435\\u0445\\u043d\\u0438\\u043a\\u0438 \\u043f\\u043e\\u043c\\u043e\\u0433\\u0430\\u044e\\u0442 \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u043e\\u0434\\u0438\\u0442\\u044c \\u0437\\u0432\\u0443\\u043a, \\u043c\\u0430\\u043a\\u0441\\u0438\\u043c\\u0430\\u043b\\u044c\\u043d\\u043e \\u043f\\u0440\\u0438\\u0431\\u043b\\u0438\\u0436\\u0435\\u043d\\u043d\\u044b\\u0439 \\u043a \\u043e\\u0440\\u0438\\u0433\\u0438\\u043d\\u0430\\u043b\\u0443.\",\"warranty_icon\":null,\"warranty_title\":\"\\u0413\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u044f\",\"warranty_subtitle\":\"\\u0421\\u0420\\u041e\\u041a\\u0418 \\u0418 \\u0423\\u0421\\u041b\\u041e\\u0412\\u0418\\u042f \\u0413\\u0410\\u0420\\u0410\\u041d\\u0422\\u0418\\u0418 \\u0414\\u041b\\u042f \\u041a\\u041e\\u041d\\u0415\\u0427\\u041d\\u042b\\u0425 \\u041f\\u041e\\u0422\\u0420\\u0415\\u0411\\u0418\\u0422\\u0415\\u041b\\u0415\\u0419\",\"warranty_text\":null,\"service_icon\":null,\"service_title\":\"\\u0421\\u0415\\u0420\\u0412\\u0418\\u0421\",\"service_subtitle\":\"\\u0421\\u041f\\u0418\\u0421\\u041e\\u041a \\u0410\\u0412\\u0422\\u041e\\u0420\\u0418\\u0417\\u041e\\u0412\\u0410\\u041d\\u041d\\u042b\\u0425 \\u0421\\u0415\\u0420\\u0412\\u0418\\u0421\\u041d\\u042b\\u0425 \\u0426\\u0415\\u041d\\u0422\\u0420\\u041e\\u0412 DENON\",\"service_addresses\":[{\"title\":\"\\u041c\\u043e\\u0441\\u043a\\u0432\\u0430\",\"text\":\"<p>\\u041e\\u041e\\u041e \\u0421\\u0435\\u0440\\u0432\\u0438\\u0441\\u043d\\u044b\\u0439 \\u0446\\u0435\\u043d\\u0442\\u0440 &quot;\\u0420\\u0443\\u0431\\u0438\\u043d&quot;<\\/p>\\r\\n\\r\\n<p>\\u0443\\u043b \\u0410\\u0434\\u043c\\u0438\\u0440\\u0430\\u043b\\u0430 \\u041c\\u0430\\u043a\\u0430\\u0440\\u043e\\u0432\\u0430, \\u0434.2 \\u0441\\u0442\\u0440.9<\\/p>\\r\\n\\r\\n<p>\\u0442\\u0435\\u043b: (925)1462423<\\/p>\\r\\n\\r\\n<p><EMAIL><\\/p>\"},{\"title\":\"\\u041c\\u043e\\u0441\\u043a\\u0432\\u0430\",\"text\":\"<p>\\u0410\\u0421\\u0426 &quot;\\u0422\\u0430\\u043b\\u0438\\u043e\\u043d-\\u0441\\u0435\\u0440\\u0432\\u0438\\u0441&quot;<\\/p>\\r\\n\\r\\n<p>\\u041c\\u043e\\u0441\\u043a\\u0432\\u0430, \\u041b\\u0435\\u043d\\u0438\\u043d\\u0441\\u043a\\u0438\\u0439 \\u043f\\u0440\\u043e\\u0441\\u043f\\u0435\\u043a\\u0442, \\u0434\\u043e\\u043c 60\\/2<\\/p>\\r\\n\\r\\n<p>\\u0442\\u0435\\u043b. +7-495-651-25-38<\\/p>\\r\\n\\r\\n<p>\\u0442\\u0435\\u043b +7-495-651-25-41<\\/p>\\r\\n\\r\\n<p>http:\\/\\/www.talion.ru\\/<\\/p>\"},{\"title\":\"\\u041c\\u043e\\u0441\\u043a\\u0432\\u0430\",\"text\":\"<p>\\u0420\\u042d\\u0414 \\u0421\\u0435\\u0440\\u0432\\u0438\\u0441<\\/p>\\r\\n\\r\\n<p>\\u0443\\u043b \\u041a\\u0440\\u0436\\u0438\\u0436\\u0430\\u043d\\u043e\\u0432\\u0441\\u043a\\u043e\\u0433\\u043e 31<\\/p>\\r\\n\\r\\n<p>\\u0442\\u0435\\u043b: (499) 990-07-96<\\/p>\\r\\n\\r\\n<p><EMAIL><\\/p>\\r\\n\\r\\n<p>http:\\/\\/www.redservice.pro<\\/p>\"}]}', `meta_title` = 'Гарантия и сервис', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-04-09 11:25:40', `slug` = 'warranty' WHERE `id` = '2'; UPDATE `pages` SET `id` = '3', `order` = '2', `status` = '1', `type` = 'delivery', `admin_title` = 'Доставка и оплата', `title` = 'Доставка и оплата', `values` = '{\"bg_image\":\"images\\/project\\/page-title.jpg\",\"slogan\":\"\\u0422\\u041e\\u0427\\u041d\\u041e\\u0421\\u0422\\u042c - \\u041a\\u041b\\u042e\\u0427\\u0415\\u0412\\u041e\\u0419 \\u0410\\u0421\\u041f\\u0415\\u041a\\u0422 \\u041f\\u0420\\u0418 \\u0412\\u041e\\u0421\\u041f\\u0420\\u041e\\u0418\\u0417\\u0412\\u0415\\u0414\\u0415\\u041d\\u0418\\u0418 \\u041c\\u0423\\u0417\\u042b\\u041a\\u0418\",\"description\":\"\\u0423\\u043d\\u0438\\u043a\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0442\\u0435\\u0445\\u043d\\u043e\\u043b\\u043e\\u0433\\u0438\\u0438 Denon \\u0434\\u043b\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f CD\\/SACD \\u0434\\u0438\\u0441\\u043a\\u043e\\u0432, \\u0441\\u0442\\u0440\\u043e\\u0433\\u0438\\u0439 \\u043e\\u0442\\u0431\\u043e\\u0440 \\u043a\\u043e\\u043c\\u043f\\u043b\\u0435\\u043a\\u0442\\u0443\\u044e\\u0449\\u0438\\u0445 \\u0438 \\u043c\\u0430\\u0441\\u0442\\u0435\\u0440\\u0441\\u0442\\u0432\\u043e \\u0441\\u0445\\u0435\\u043c\\u043e\\u0442\\u0435\\u0445\\u043d\\u0438\\u043a\\u0438 \\u043f\\u043e\\u043c\\u043e\\u0433\\u0430\\u044e\\u0442 \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u043e\\u0434\\u0438\\u0442\\u044c \\u0437\\u0432\\u0443\\u043a, \\u043c\\u0430\\u043a\\u0441\\u0438\\u043c\\u0430\\u043b\\u044c\\u043d\\u043e \\u043f\\u0440\\u0438\\u0431\\u043b\\u0438\\u0436\\u0435\\u043d\\u043d\\u044b\\u0439 \\u043a \\u043e\\u0440\\u0438\\u0433\\u0438\\u043d\\u0430\\u043b\\u0443.\",\"pay_icon\":null,\"pay_title\":\"\\u0414\\u041e\\u0421\\u0422\\u0410\\u0412\\u041a\\u0410 \\u0418 \\u041e\\u041f\\u041b\\u0410\\u0422\\u0410\",\"pay_subtitle\":null,\"pay_text\":\"<p>\\u042e\\u0440\\u0438\\u0434\\u0438\\u0447\\u0435\\u0441\\u043a\\u0438\\u043c \\u043b\\u0438\\u0446\\u043e\\u043c...<\\/p>\",\"delivery_title\":\"\\u0414\\u041e\\u0421\\u0422\\u0410\\u0412\\u041a\\u0410 \\u0422\\u041e\\u0412\\u0410\\u0420\\u041e\\u0412 \\u041f\\u041e \\u041c\\u041e\\u0421\\u041a\\u0412\\u0415 \\u0411\\u0415\\u0421\\u041f\\u041b\\u0410\\u0422\\u041d\\u0410\\u042f\",\"delivery_text\":\"<p>\\u041c\\u0430\\u0433\\u0430\\u0437\\u0438\\u043d &quot;\\u0414\\u0435\\u0444\\u043e\\u043d.\\u0440\\u0444&quot; \\u043c\\u043e\\u0436\\u0435\\u0442 \\u0432\\u0437\\u044f\\u0442\\u044c \\u043d\\u0430 \\u0441\\u0435\\u0431\\u044f \\u0437\\u0430\\u0431\\u043e\\u0442\\u0443 \\u043e..<\\/p>\"}', `meta_title` = 'Доставка и оплата', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-04-09 11:37:32', `slug` = 'delivery' WHERE `id` = '3'; UPDATE `pages` SET `id` = '4', `order` = '3', `status` = '1', `type` = 'contacts', `admin_title` = 'Контакты', `title` = 'Контакты', `values` = '{\"bg_image\":\"images\\/project\\/page-title.jpg\",\"slogan\":\"\\u0422\\u041e\\u0427\\u041d\\u041e\\u0421\\u0422\\u042c - \\u041a\\u041b\\u042e\\u0427\\u0415\\u0412\\u041e\\u0419 \\u0410\\u0421\\u041f\\u0415\\u041a\\u0422 \\u041f\\u0420\\u0418 \\u0412\\u041e\\u0421\\u041f\\u0420\\u041e\\u0418\\u0417\\u0412\\u0415\\u0414\\u0415\\u041d\\u0418\\u0418 \\u041c\\u0423\\u0417\\u042b\\u041a\\u0418\",\"description\":\"\\u0423\\u043d\\u0438\\u043a\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0442\\u0435\\u0445\\u043d\\u043e\\u043b\\u043e\\u0433\\u0438\\u0438 Denon \\u0434\\u043b\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f CD\\/SACD \\u0434\\u0438\\u0441\\u043a\\u043e\\u0432, \\u0441\\u0442\\u0440\\u043e\\u0433\\u0438\\u0439 \\u043e\\u0442\\u0431\\u043e\\u0440 \\u043a\\u043e\\u043c\\u043f\\u043b\\u0435\\u043a\\u0442\\u0443\\u044e\\u0449\\u0438\\u0445 \\u0438 \\u043c\\u0430\\u0441\\u0442\\u0435\\u0440\\u0441\\u0442\\u0432\\u043e \\u0441\\u0445\\u0435\\u043c\\u043e\\u0442\\u0435\\u0445\\u043d\\u0438\\u043a\\u0438 \\u043f\\u043e\\u043c\\u043e\\u0433\\u0430\\u044e\\u0442 \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u043e\\u0434\\u0438\\u0442\\u044c \\u0437\\u0432\\u0443\\u043a, \\u043c\\u0430\\u043a\\u0441\\u0438\\u043c\\u0430\\u043b\\u044c\\u043d\\u043e \\u043f\\u0440\\u0438\\u0431\\u043b\\u0438\\u0436\\u0435\\u043d\\u043d\\u044b\\u0439 \\u043a \\u043e\\u0440\\u0438\\u0433\\u0438\\u043d\\u0430\\u043b\\u0443.\",\"contacts_icon\":null,\"contacts_title\":\"\\u041a\\u041e\\u041d\\u0422\\u0410\\u041a\\u0422\\u041d\\u0410\\u042f \\u0418\\u041d\\u0424\\u041e\\u0420\\u041c\\u0410\\u0426\\u0418\\u042f\",\"contacts_subtitle\":\"\\u0418\\u043d\\u0442\\u0435\\u0440\\u043d\\u0435\\u0442 \\u043c\\u0430\\u0433\\u0430\\u0437\\u0438\\u043d \\\"\\u0414\\u0435\\u043d\\u043e\\u043d.\\u0440\\u0444\\\" \\u0441\\u043f\\u0435\\u0446\\u0438\\u0430\\u043b\\u0438\\u0437\\u0438\\u0440\\u0443\\u0435\\u0442\\u0441\\u044f \\u043d\\u0430 \\u043f\\u0440\\u043e\\u0434\\u0430\\u0436\\u0430\\u0445 \\u043a\\u043e\\u043c\\u043f\\u043b\\u0435\\u043a\\u0442\\u043e\\u0432 \\u0430\\u043f\\u043f\\u0430\\u0440\\u0430\\u0442\\u0443\\u0440\\u044b \\u0438 \\u043e\\u0442\\u0434\\u0435\\u043b\\u044c\\u043d\\u044b\\u0445 \\u043a\\u043e\\u043c\\u043f\\u043e\\u043d\\u0435\\u043d\\u0442\\u043e\\u0432, \\u0441\\u043e\\u0432\\u043e\\u043a\\u0443\\u043f\\u043d\\u0430\\u044f \\u0441\\u0442\\u043e\\u0438\\u043c\\u043e\\u0441\\u0442\\u044c \\u043a\\u043e\\u0442\\u043e\\u0440\\u044b\\u0445 \\u043f\\u0440\\u0435\\u0432\\u044b\\u0448\\u0430\\u0435\\u0442 10 000 \\u0440\\u0443\\u0431\\u043b\\u0435\\u0439 (\\u043e\\u0434\\u0438\\u043d \\u0437\\u0430\\u043a\\u0430\\u0437 - \\u043e\\u0434\\u043d\\u0430 \\u043f\\u043e\\u0441\\u0442\\u0430\\u0432\\u043a\\u0430).\",\"contacts_text\":\"<p>\\u041d\\u043e\\u043c\\u0435\\u0440\\u0430 \\u0442\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\\u043e\\u0432: <a href=\\\"tel:\\/\\/84992546297\\\">8 (499) 254-62-97<\\/a>; <a href=\\\"tel:\\/\\/89167075777\\\">8 (916) 707-5-777<\\/a><\\/p>\\r\\n\\r\\n<p>\\u042d\\u043b\\u0435\\u043a\\u0442\\u0440\\u043e\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0447\\u0442\\u0430: <a href=\\\"mailto:<EMAIL>\\\"><EMAIL><\\/a><\\/p>\\r\\n\\r\\n<p>\\u041e\\u0431\\u0440\\u0430\\u0442\\u043d\\u0430\\u044f \\u0441\\u0432\\u044f\\u0442\\u044c: <a href=\\\"#\\\">\\u041d\\u0430\\u043f\\u0438\\u0441\\u0430\\u0442\\u044c<\\/a><\\/p>\\r\\n\\r\\n<p>\\u041c\\u0435\\u0441\\u0441\\u0435\\u043d\\u0434\\u0436\\u0435\\u0440\\u044b: <a href=\\\"http:\\/\\/whatsapp.com\\\">WhatsApp<\\/a><\\/p>\",\"show_icon\":null,\"show_title\":\"\\u0428\\u041e\\u0423 \\u0420\\u0423\\u041c DENON \\u041d\\u0410 \\u041f\\u0420\\u0415\\u0421\\u041d\\u0415\",\"show_subtitle\":null,\"show_text\":\"<p>\\u041e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435 Denon HEOS \\u043f\\u0440\\u0435\\u0434\\u0441\\u0442\\u0430\\u0432\\u043b\\u0435\\u043d\\u043e \\u043d\\u0430 \\u043d\\u0430\\u0448\\u0435\\u0439 \\u0432\\u0438\\u0442\\u0440\\u0438\\u043d\\u0435 \\u0432 \\u0422\\u0426 \\u042d\\u043b\\u0435\\u043a\\u0442\\u0440\\u043e\\u043d\\u0438\\u043a\\u0430 \\u043d\\u0430 \\u041f\\u0440\\u0435\\u0441\\u043d\\u0435 )\\u043f\\u0435\\u0440\\u0435\\u0434 \\u043f\\u0440\\u0438\\u0435\\u0437\\u0434\\u043e\\u043c \\u043f\\u0440\\u043e\\u0441\\u044c\\u0431\\u0430 \\u0437\\u0432\\u043e\\u043d\\u0438\\u0442\\u044c).<\\/p>\\r\\n\\r\\n<p>\\u0410\\u0434\\u0440\\u0435\\u0441: \\u0433.\\u041c\\u043e\\u0441\\u043a\\u0432\\u0430, \\u0443\\u043b \\u0411\\u043e\\u043b\\u044c\\u0448\\u0430\\u044f \\u0414\\u0435\\u043a\\u0430\\u0431\\u0440\\u044c\\u0441\\u043a\\u0430\\u044f \\u0434.3 \\u0441\\u0442\\u0440.2 \\u041e\\u0444\\u0438\\u0441 \\u041a-9 (\\u041c\\u0435\\u0442\\u0440\\u043e 1905 \\u0433\\u043e\\u0434\\u0430).<\\/p>\\r\\n\\r\\n<p>&nbsp;<\\/p>\\r\\n\\r\\n<ul>\\r\\n\\t<li>\\u0413\\u0420\\u0410\\u0424\\u0418\\u041a \\u0420\\u0410\\u0411\\u041e\\u0422\\u042b: \\u0421 10 \\u0414\\u041e 20 \\u0427\\u0410\\u0421\\u041e\\u0412 - \\u0415\\u0416\\u0415\\u0414\\u041d\\u0415\\u0412\\u041d\\u041e.<\\/li>\\r\\n<\\/ul>\",\"legal_text\":\"<p>\\u0418\\u043d\\u0444\\u043e\\u0440\\u043c\\u0430\\u0446\\u0438\\u044f \\u043e \\u043c\\u0430\\u0433\\u0430\\u0437\\u0438\\u043d\\u0435 &quot;\\u0414\\u0435\\u043d\\u043e\\u043d.\\u0440\\u0444&quot;<\\/p>\\r\\n\\r\\n<p>\\u041e\\u0440\\u0433\\u0430\\u043d\\u0438\\u0437\\u0430\\u0446\\u0438\\u043e\\u043d\\u043d\\u043e-\\u043f\\u0440\\u0430\\u0432\\u043e\\u0432\\u0430\\u044f \\u0444\\u043e\\u0440\\u043c\\u0430 \\u0438 \\u043d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435: \\u041e\\u041e\\u041e &quot;\\u041f\\u0420\\u0410\\u0419&quot;<\\/p>\"}', `meta_title` = 'Контакты', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-04-09 11:53:43', `slug` = 'contacts' WHERE `id` = '4'; UPDATE `pages` SET `id` = '5', `order` = '4', `status` = '1', `type` = 'cart', `admin_title` = 'Корзина', `title` = 'Корзина', `values` = '{\"delivery_icon\":null,\"delivery_title\":\"\\u0414\\u043e\\u0441\\u0442\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0430\",\"delivery_subtitle\":\"\\u042e\\u0440\\u0438\\u0434\\u0438\\u0447\\u0435\\u0441\\u043a\\u0438\\u043c \\u043b\\u0438\\u0446\\u043e\\u043c \\u043c\\u0430\\u0433\\u0430\\u0437\\u0438\\u043d\\u0430 \\\"\\u0414\\u0435\\u043d\\u043e\\u043d.\\u0440\\u0444\\\" \\u044f\\u0432\\u043b\\u044f\\u0435\\u0442\\u0441\\u044f \\u041e\\u041e\\u041e \\\"\\u041f\\u0420\\u0410\\u0419\\\", \\u0447\\u0435\\u0440\\u0435\\u0437 \\u043a\\u043e\\u0442\\u043e\\u0440\\u043e\\u0435 \\u043e\\u0441\\u0443\\u0449\\u0435\\u0441\\u0442\\u0432\\u043b\\u044f\\u044e\\u0442\\u0441\\u044f \\u043f\\u043b\\u0430\\u0442\\u0435\\u0436\\u0438 \\u0438 \\u0441\\u0442\\u0440\\u0430\\u0445\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043f\\u0440\\u0438\\u043e\\u0431\\u0440\\u0435\\u0442\\u0435\\u043d\\u043d\\u043e\\u0433\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u0435\\u0441\\u043b\\u0438 \\u0432 \\u044d\\u0442\\u043e\\u0439 \\u0443\\u0441\\u043b\\u0443\\u0433\\u0435 \\u0437\\u0430\\u0438\\u043d\\u0442\\u0435\\u0440\\u0435\\u0441\\u043e\\u0432\\u0430\\u043d \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442).\",\"delivery_text\":\"<ul>\\r\\n\\t<li>\\u041f\\u0440\\u0438 \\u043d\\u0430\\u043b\\u0438\\u0447\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0441\\u0447\\u0435\\u0442\\u0430\\u0445, \\u043e\\u043f\\u043b\\u0430\\u0442\\u0430 \\u043f\\u0440\\u043e\\u0438\\u0441\\u0445\\u043e\\u0434\\u0438\\u0442 \\u043f\\u0440\\u0438 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0435\\u043d\\u0438\\u0438 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 \\u0432\\u043c\\u0435\\u0441\\u0442\\u0435 \\u0441 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0439\\u043d\\u044b\\u043c \\u0442\\u0430\\u043b\\u043e\\u043d\\u043e\\u043c.<\\/li>\\r\\n\\t<li>\\u041f\\u0440\\u0435 \\u0431\\u0435\\u0437\\u043d\\u0430\\u043b\\u0438\\u0447\\u043d\\u043e\\u0439 \\u0444\\u043e\\u0440\\u043c\\u0435 \\u043e\\u043f\\u043b\\u0430\\u0442\\u044b, \\u0442\\u043e\\u0432\\u0430\\u0440 \\u0432\\u043c\\u0435\\u0441\\u0442\\u0435 \\u0441 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0439\\u043d\\u044b\\u043c \\u0442\\u0430\\u043b\\u043e\\u043d\\u043e\\u043c \\u0438 \\u043d\\u0430\\u043a\\u043b\\u0430\\u0434\\u043d\\u043e\\u0439 \\u0434\\u043e\\u0441\\u0442\\u0430\\u0432\\u043b\\u044f\\u0435\\u0442\\u0441\\u044f \\u0437\\u0430\\u043a\\u0430\\u0437\\u0447\\u0438\\u043a\\u0443 \\u043f\\u043e\\u0441\\u043b\\u0435 \\u043f\\u043e\\u0441\\u0442\\u0443\\u043f\\u043b\\u0435\\u043d\\u0438\\u044f \\u0434\\u0435\\u043d\\u0435\\u0433 \\u043d\\u0430 \\u0440\\u0430\\u0441\\u0447\\u0435\\u0442\\u043d\\u044b\\u0439 \\u0441\\u0447\\u0435\\u0442 \\u041e\\u041e\\u041e &quot;\\u041f\\u0420\\u0410\\u0419&quot;<\\/li>\\r\\n<\\/ul>\\r\\n\\r\\n<p>\\u041c\\u044b \\u0440\\u0430\\u0431\\u043e\\u0442\\u0430\\u0435\\u043c \\u0435\\u0436\\u0435\\u0434\\u043d\\u0435\\u0432\\u043d\\u043e \\u0441 10 \\u0434\\u043e 22 \\u0447\\u0430\\u0441\\u043e\\u0432. \\u0412 \\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0443, \\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435 \\u0438 \\u043f\\u0440\\u0430\\u0437\\u0434\\u043d\\u0438\\u0447\\u043d\\u044b\\u0435 \\u0434\\u043d\\u0438 \\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u043e\\u0434\\u0438\\u0442\\u0441\\u044f \\u0434\\u043e\\u0441\\u0442\\u0430\\u0432\\u043a\\u0430 \\u0442\\u043e\\u043b\\u044c\\u043a\\u043e \\u0442\\u0435\\u0445 \\u0437\\u0430\\u043a\\u0430\\u0437\\u043e\\u0432, \\u043a\\u043e\\u0442\\u043e\\u0440\\u044b\\u0435 \\u0431\\u044b\\u043b\\u0438 \\u043e\\u0444\\u043e\\u0440\\u043c\\u043b\\u0435\\u043d\\u044b \\u0432 \\u0431\\u0443\\u0434\\u043d\\u0438\\u0435 \\u0434\\u043d\\u0438 \\u0432\\u043e \\u0432\\u0440\\u0435\\u043c\\u044f \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b \\u043e\\u043f\\u0442\\u043e\\u0432\\u043e\\u0433\\u043e \\u0441\\u043a\\u043b\\u0430\\u0434\\u0430.<\\/p>\"}', `meta_title` = 'Корзина', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-04-08 13:19:30', `slug` = 'cart' WHERE `id` = '5'; UPDATE `pages` SET `id` = '6', `order` = '5', `status` = '1', `type` = 'news', `admin_title` = 'Новости', `title` = 'Новости', `values` = '{\"paginate\":\"6\"}', `meta_title` = 'Новости', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-04-09 12:24:15', `slug` = 'news' WHERE `id` = '6'; UPDATE `pages` SET `id` = '7', `order` = '6', `status` = '1', `type` = 'installations', `admin_title` = 'Инсталяции', `title` = 'Инсталяции', `values` = '', `meta_title` = 'Инсталяции', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-03-19 10:54:51', `slug` = 'installations' WHERE `id` = '7'; UPDATE `pages` SET `id` = '8', `order` = '7', `status` = '1', `type` = 'search', `admin_title` = 'Результаты поиска', `title` = 'Результаты поиска', `values` = '{\"bg_image\":\"images\\/project\\/page-title.jpg\",\"slogan\":\"\\u0422\\u041e\\u0427\\u041d\\u041e\\u0421\\u0422\\u042c - \\u041a\\u041b\\u042e\\u0427\\u0415\\u0412\\u041e\\u0419 \\u0410\\u0421\\u041f\\u0415\\u041a\\u0422 \\u041f\\u0420\\u0418 \\u0412\\u041e\\u0421\\u041f\\u0420\\u041e\\u0418\\u0417\\u0412\\u0415\\u0414\\u0415\\u041d\\u0418\\u0418 \\u041c\\u0423\\u0417\\u042b\\u041a\\u0418\",\"description\":\"\\u0423\\u043d\\u0438\\u043a\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0442\\u0435\\u0445\\u043d\\u043e\\u043b\\u043e\\u0433\\u0438\\u0438 Denon \\u0434\\u043b\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f CD\\/SACD \\u0434\\u0438\\u0441\\u043a\\u043e\\u0432, \\u0441\\u0442\\u0440\\u043e\\u0433\\u0438\\u0439 \\u043e\\u0442\\u0431\\u043e\\u0440 \\u043a\\u043e\\u043c\\u043f\\u043b\\u0435\\u043a\\u0442\\u0443\\u044e\\u0449\\u0438\\u0445 \\u0438 \\u043c\\u0430\\u0441\\u0442\\u0435\\u0440\\u0441\\u0442\\u0432\\u043e \\u0441\\u0445\\u0435\\u043c\\u043e\\u0442\\u0435\\u0445\\u043d\\u0438\\u043a\\u0438 \\u043f\\u043e\\u043c\\u043e\\u0433\\u0430\\u044e\\u0442 \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u043e\\u0434\\u0438\\u0442\\u044c \\u0437\\u0432\\u0443\\u043a, \\u043c\\u0430\\u043a\\u0441\\u0438\\u043c\\u0430\\u043b\\u044c\\u043d\\u043e \\u043f\\u0440\\u0438\\u0431\\u043b\\u0438\\u0436\\u0435\\u043d\\u043d\\u044b\\u0439 \\u043a \\u043e\\u0440\\u0438\\u0433\\u0438\\u043d\\u0430\\u043b\\u0443.\",\"paginate\":\"6\"}', `meta_title` = 'Результаты поиска', `meta_description` = '', `meta_keywords` = '', `created_at` = '2020-04-08 09:41:59', `updated_at` = '2020-04-09 12:29:28', `slug` = 'search' WHERE `id` = '8';
-- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64) -- -- Host: localhost Database: myclinic -- ------------------------------------------------------ -- Server version 5.7.12-log /*!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 `disease` -- DROP TABLE IF EXISTS `disease`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `disease` ( `disease_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `patient_id` int(10) unsigned NOT NULL DEFAULT '0', `shoubyoumeicode` int(11) NOT NULL DEFAULT '0', `start_date` date NOT NULL DEFAULT '0000-00-00', `end_date` date NOT NULL DEFAULT '0000-00-00', `end_reason` char(1) NOT NULL DEFAULT 'N', PRIMARY KEY (`disease_id`) ) ENGINE=InnoDB AUTO_INCREMENT=59162 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `disease_adj` -- DROP TABLE IF EXISTS `disease_adj`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `disease_adj` ( `disease_adj_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `disease_id` int(11) NOT NULL DEFAULT '0', `shuushokugocode` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`disease_adj_id`) ) ENGINE=InnoDB AUTO_INCREMENT=9373 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `drug_attr` -- DROP TABLE IF EXISTS `drug_attr`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `drug_attr` ( `drug_id` int(10) unsigned NOT NULL, `tekiyou` text, PRIMARY KEY (`drug_id`), CONSTRAINT `drug_attr_ibfk_1` FOREIGN KEY (`drug_id`) REFERENCES `visit_drug` (`drug_id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `hoken_koukikourei` -- DROP TABLE IF EXISTS `hoken_koukikourei`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hoken_koukikourei` ( `koukikourei_id` int(11) NOT NULL AUTO_INCREMENT, `patient_id` int(11) NOT NULL DEFAULT '0', `hokensha_bangou` varchar(255) NOT NULL DEFAULT '', `hihokensha_bangou` varchar(255) NOT NULL DEFAULT '', `futan_wari` tinyint(4) NOT NULL DEFAULT '0', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`koukikourei_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1727 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `hoken_roujin` -- DROP TABLE IF EXISTS `hoken_roujin`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hoken_roujin` ( `roujin_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `patient_id` int(10) unsigned NOT NULL DEFAULT '0', `shichouson` int(10) unsigned NOT NULL DEFAULT '0', `jukyuusha` int(10) unsigned NOT NULL DEFAULT '0', `futan_wari` tinyint(3) unsigned NOT NULL DEFAULT '0', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`roujin_id`) ) ENGINE=InnoDB AUTO_INCREMENT=193 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `hoken_shahokokuho` -- DROP TABLE IF EXISTS `hoken_shahokokuho`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hoken_shahokokuho` ( `shahokokuho_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `patient_id` int(10) unsigned NOT NULL DEFAULT '0', `hokensha_bangou` int(10) unsigned NOT NULL DEFAULT '0', `hihokensha_kigou` varchar(255) NOT NULL DEFAULT '', `hihokensha_bangou` varchar(255) NOT NULL DEFAULT '', `honnin` tinyint(4) NOT NULL DEFAULT '1', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', `kourei` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`shahokokuho_id`) ) ENGINE=InnoDB AUTO_INCREMENT=10711 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `hotline` -- DROP TABLE IF EXISTS `hotline`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hotline` ( `hotline_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `message` text NOT NULL, `sender` varchar(255) NOT NULL DEFAULT '', `recipient` varchar(255) NOT NULL DEFAULT '', `m_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`hotline_id`) ) ENGINE=InnoDB AUTO_INCREMENT=217092 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `intraclinic_comment` -- DROP TABLE IF EXISTS `intraclinic_comment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `intraclinic_comment` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `content` varchar(255) NOT NULL DEFAULT '', `post_id` int(11) NOT NULL DEFAULT '0', `created_at` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2843 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `intraclinic_post` -- DROP TABLE IF EXISTS `intraclinic_post`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `intraclinic_post` ( `id` int(11) NOT NULL AUTO_INCREMENT, `content` text NOT NULL, `created_at` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1456 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `intraclinic_tag` -- DROP TABLE IF EXISTS `intraclinic_tag`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `intraclinic_tag` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `intraclinic_tag_post` -- DROP TABLE IF EXISTS `intraclinic_tag_post`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `intraclinic_tag_post` ( `post_id` int(11) NOT NULL, `tag_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `iyakuhin_master_arch` -- DROP TABLE IF EXISTS `iyakuhin_master_arch`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `iyakuhin_master_arch` ( `iyakuhincode` int(10) unsigned NOT NULL DEFAULT '0', `yakkacode` varchar(12) NOT NULL DEFAULT '', `name` varchar(64) NOT NULL DEFAULT '', `yomi` varchar(20) NOT NULL DEFAULT '', `unit` varchar(12) NOT NULL DEFAULT '', `yakka` varchar(10) NOT NULL DEFAULT '', `madoku` char(1) NOT NULL DEFAULT '', `kouhatsu` char(1) NOT NULL DEFAULT '', `zaikei` char(1) NOT NULL DEFAULT '', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`iyakuhincode`,`valid_from`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `kouhi` -- DROP TABLE IF EXISTS `kouhi`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `kouhi` ( `kouhi_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `futansha` int(10) unsigned NOT NULL DEFAULT '0', `jukyuusha` int(10) unsigned NOT NULL DEFAULT '0', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', `patient_id` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`kouhi_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1333 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `patient` -- DROP TABLE IF EXISTS `patient`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `patient` ( `patient_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `last_name` varchar(20) NOT NULL DEFAULT '', `first_name` varchar(20) NOT NULL DEFAULT '', `last_name_yomi` varchar(40) NOT NULL DEFAULT '', `first_name_yomi` varchar(40) NOT NULL DEFAULT '', `sex` char(1) NOT NULL DEFAULT '', `birth_day` date NOT NULL DEFAULT '0000-00-00', `address` varchar(80) NOT NULL DEFAULT '', `phone` varchar(30) NOT NULL DEFAULT '', PRIMARY KEY (`patient_id`) ) ENGINE=InnoDB AUTO_INCREMENT=7086 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `pharma_drug` -- DROP TABLE IF EXISTS `pharma_drug`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pharma_drug` ( `iyakuhincode` int(10) unsigned NOT NULL DEFAULT '0', `description` text NOT NULL, `sideeffect` text NOT NULL, PRIMARY KEY (`iyakuhincode`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `pharma_queue` -- DROP TABLE IF EXISTS `pharma_queue`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pharma_queue` ( `visit_id` int(10) unsigned NOT NULL DEFAULT '0', `pharma_state` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`visit_id`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `practice_log` -- DROP TABLE IF EXISTS `practice_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `practice_log` ( `practice_log_id` int(11) NOT NULL AUTO_INCREMENT, `created_at` datetime NOT NULL, `kind` varchar(32) DEFAULT NULL, `body` json DEFAULT NULL, PRIMARY KEY (`practice_log_id`), KEY `practice_date` (`created_at`) ) ENGINE=InnoDB AUTO_INCREMENT=77345 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `presc_example` -- DROP TABLE IF EXISTS `presc_example`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `presc_example` ( `presc_example_id` int(11) NOT NULL AUTO_INCREMENT, `m_iyakuhincode` int(11) NOT NULL DEFAULT '0', `m_master_valid_from` date NOT NULL DEFAULT '0000-00-00', `m_amount` varchar(10) NOT NULL DEFAULT '', `m_usage` varchar(255) NOT NULL DEFAULT '', `m_days` int(10) NOT NULL DEFAULT '0', `m_category` tinyint(4) NOT NULL DEFAULT '0', `m_comment` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`presc_example_id`) ) ENGINE=InnoDB AUTO_INCREMENT=875 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `shinryou_attr` -- DROP TABLE IF EXISTS `shinryou_attr`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shinryou_attr` ( `shinryou_id` int(10) unsigned NOT NULL, `tekiyou` text, PRIMARY KEY (`shinryou_id`), CONSTRAINT `shinryou_attr_ibfk_1` FOREIGN KEY (`shinryou_id`) REFERENCES `visit_shinryou` (`shinryou_id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Temporary view structure for view `shinryou_view` -- DROP TABLE IF EXISTS `shinryou_view`; /*!50001 DROP VIEW IF EXISTS `shinryou_view`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE VIEW `shinryou_view` AS SELECT 1 AS `shinryou_id`, 1 AS `visit_id`, 1 AS `visited_at`, 1 AS `name`, 1 AS `shinryoucode`*/; SET character_set_client = @saved_cs_client; -- -- Table structure for table `shinryoukoui_master_arch` -- DROP TABLE IF EXISTS `shinryoukoui_master_arch`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shinryoukoui_master_arch` ( `shinryoucode` int(10) unsigned NOT NULL DEFAULT '0', `name` varchar(64) NOT NULL DEFAULT '', `tensuu` varchar(10) NOT NULL DEFAULT '', `tensuu_shikibetsu` char(1) NOT NULL DEFAULT '', `shuukeisaki` varchar(3) NOT NULL DEFAULT '', `houkatsukensa` varchar(2) NOT NULL DEFAULT '', `oushinkubun` char(1) NOT NULL DEFAULT '', `kensagroup` varchar(2) NOT NULL DEFAULT '', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`shinryoucode`,`valid_from`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `shoubyoumei_master_arch` -- DROP TABLE IF EXISTS `shoubyoumei_master_arch`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shoubyoumei_master_arch` ( `shoubyoumeicode` int(10) unsigned NOT NULL DEFAULT '0', `name` varchar(60) NOT NULL DEFAULT '', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`shoubyoumeicode`,`valid_from`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `shouki` -- DROP TABLE IF EXISTS `shouki`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shouki` ( `visit_id` int(10) unsigned NOT NULL, `shouki` text, PRIMARY KEY (`visit_id`), CONSTRAINT `shouki_ibfk_1` FOREIGN KEY (`visit_id`) REFERENCES `visit` (`visit_id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `shuushokugo_master` -- DROP TABLE IF EXISTS `shuushokugo_master`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `shuushokugo_master` ( `shuushokugocode` int(10) unsigned NOT NULL DEFAULT '0', `name` varchar(40) NOT NULL DEFAULT '', PRIMARY KEY (`shuushokugocode`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `stock_drug` -- DROP TABLE IF EXISTS `stock_drug`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `stock_drug` ( `stock_drug_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `m_iyakuhincode` int(10) unsigned NOT NULL DEFAULT '0', `m_amount` varchar(10) NOT NULL DEFAULT '', `m_usage` varchar(255) NOT NULL DEFAULT '', `m_days` int(10) unsigned NOT NULL DEFAULT '0', `m_category` tinyint(4) NOT NULL DEFAULT '0', `m_comment` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`stock_drug_id`) ) ENGINE=InnoDB AUTO_INCREMENT=313 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `tokuteikizai_master_arch` -- DROP TABLE IF EXISTS `tokuteikizai_master_arch`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tokuteikizai_master_arch` ( `kizaicode` int(10) unsigned NOT NULL DEFAULT '0', `name` varchar(64) NOT NULL DEFAULT '', `yomi` varchar(20) NOT NULL DEFAULT '', `unit` varchar(12) NOT NULL DEFAULT '', `kingaku` varchar(10) NOT NULL DEFAULT '', `valid_from` date NOT NULL DEFAULT '0000-00-00', `valid_upto` date NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`kizaicode`,`valid_from`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit` -- DROP TABLE IF EXISTS `visit`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit` ( `visit_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `patient_id` int(10) unsigned NOT NULL DEFAULT '0', `v_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `shahokokuho_id` int(10) unsigned NOT NULL DEFAULT '0', `roujin_id` int(10) unsigned NOT NULL DEFAULT '0', `kouhi_1_id` int(10) unsigned NOT NULL DEFAULT '0', `kouhi_2_id` int(10) unsigned NOT NULL DEFAULT '0', `kouhi_3_id` int(10) unsigned NOT NULL DEFAULT '0', `koukikourei_id` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`visit_id`), KEY `patient_id` (`patient_id`), KEY `idx_v_datetime` (`v_datetime`) ) ENGINE=InnoDB AUTO_INCREMENT=94736 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_charge` -- DROP TABLE IF EXISTS `visit_charge`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_charge` ( `visit_id` int(10) unsigned NOT NULL DEFAULT '0', `charge` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`visit_id`), KEY `visit_id` (`visit_id`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_conduct` -- DROP TABLE IF EXISTS `visit_conduct`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_conduct` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_id` int(10) unsigned NOT NULL DEFAULT '0', `kind` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1174 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_conduct_drug` -- DROP TABLE IF EXISTS `visit_conduct_drug`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_conduct_drug` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_conduct_id` int(10) unsigned NOT NULL DEFAULT '0', `iyakuhincode` int(10) unsigned NOT NULL DEFAULT '0', `amount` double NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=441 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_conduct_kizai` -- DROP TABLE IF EXISTS `visit_conduct_kizai`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_conduct_kizai` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_conduct_id` int(10) unsigned NOT NULL DEFAULT '0', `kizaicode` int(10) unsigned NOT NULL DEFAULT '0', `amount` double NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=757 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_conduct_shinryou` -- DROP TABLE IF EXISTS `visit_conduct_shinryou`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_conduct_shinryou` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_conduct_id` int(10) unsigned NOT NULL DEFAULT '0', `shinryoucode` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1743 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_drug` -- DROP TABLE IF EXISTS `visit_drug`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_drug` ( `drug_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_id` int(10) unsigned NOT NULL DEFAULT '0', `d_iyakuhincode` int(10) unsigned NOT NULL DEFAULT '0', `d_amount` varchar(10) NOT NULL DEFAULT '', `d_usage` varchar(255) NOT NULL DEFAULT '', `d_days` int(10) unsigned NOT NULL DEFAULT '0', `d_category` tinyint(4) NOT NULL DEFAULT '0', `d_prescribed` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`drug_id`), KEY `visit_id` (`visit_id`) ) ENGINE=InnoDB AUTO_INCREMENT=179275 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_gazou_label` -- DROP TABLE IF EXISTS `visit_gazou_label`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_gazou_label` ( `visit_conduct_id` int(10) unsigned NOT NULL DEFAULT '0', `label` varchar(255) DEFAULT NULL, PRIMARY KEY (`visit_conduct_id`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_payment` -- DROP TABLE IF EXISTS `visit_payment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_payment` ( `visit_id` int(10) unsigned NOT NULL DEFAULT '0', `amount` int(10) unsigned DEFAULT NULL, `paytime` datetime DEFAULT NULL, KEY `visit_id` (`visit_id`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_shinryou` -- DROP TABLE IF EXISTS `visit_shinryou`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_shinryou` ( `shinryou_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_id` int(10) unsigned NOT NULL DEFAULT '0', `shinryoucode` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`shinryou_id`), KEY `visit_id` (`visit_id`) ) ENGINE=InnoDB AUTO_INCREMENT=628234 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `visit_text` -- DROP TABLE IF EXISTS `visit_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `visit_text` ( `text_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `visit_id` int(10) unsigned DEFAULT NULL, `content` text NOT NULL, PRIMARY KEY (`text_id`), KEY `visit_id` (`visit_id`) ) ENGINE=InnoDB AUTO_INCREMENT=116085 DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `wqueue` -- DROP TABLE IF EXISTS `wqueue`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `wqueue` ( `visit_id` int(10) unsigned NOT NULL DEFAULT '0', `wait_state` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`visit_id`) ) ENGINE=InnoDB DEFAULT CHARSET=cp932; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Final view structure for view `shinryou_view` -- /*!50001 DROP VIEW IF EXISTS `shinryou_view`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = cp932 */; /*!50001 SET character_set_results = cp932 */; /*!50001 SET collation_connection = cp932_japanese_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`hangil`@`%` SQL SECURITY DEFINER */ /*!50001 VIEW `shinryou_view` AS select `s`.`shinryou_id` AS `shinryou_id`,`v`.`visit_id` AS `visit_id`,`v`.`v_datetime` AS `visited_at`,`m`.`name` AS `name`,`s`.`shinryoucode` AS `shinryoucode` from ((`visit_shinryou` `s` join `visit` `v`) join `shinryoukoui_master_arch` `m`) where ((`s`.`visit_id` = `v`.`visit_id`) and (`m`.`shinryoucode` = `s`.`shinryoucode`) and (`m`.`valid_from` <= cast(`v`.`v_datetime` as date)) and ((`m`.`valid_upto` = '0000-00-00') or (`m`.`valid_upto` >= cast(`v`.`v_datetime` as date)))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2018-12-16 11:36:32
CREATE OR REPLACE FUNCTION fn_ethosMultipleCaseRefGen (numofcases INT, office varchar(200)) RETURNS VARCHAR(200) AS $$ -- ============================================= -- Author: <NAME> -- TEST : SELECT fn_ethosMultipleCaseRefGen(2,'Manchester'); -- -- Create date: 14-APR-2020 -- Description: Function to generate Ethos case reference numbers for multiple cases -- VERSION : 14-MAR-2020 1.0 - Initial -- : 28-OCT-2021 2.0 - CCD Consolidation -- ============================================= DECLARE currentval Integer; DECLARE currentvalstr Varchar(200); BEGIN CASE WHEN office = 'ET_EnglandWales' THEN SELECT counter INTO currentval FROM multiple_reference_englandwales FOR UPDATE; CASE WHEN currentval = 99999 OR (currentval + numofcases) > 99999 THEN currentval = NULL; ELSE UPDATE multiple_reference_englandwales SET counter = counter + numofcases; END CASE; IF currentval IS NOT NULL THEN currentval = currentval + 1 ; currentvalstr = RIGHT(CONCAT ('00000', currentval) ,5); ELSE currentvalstr = CONCAT ('Exception - Not enough multiple reference numbers available in index multipleReference', Office, ' to service requests'); END IF; RETURN currentvalstr; WHEN office = 'ET_Scotland' THEN SELECT counter INTO currentval FROM multiple_reference_scotland FOR UPDATE; CASE WHEN currentval = 99999 OR (currentval + numofcases) > 99999 THEN currentval = NULL; ELSE UPDATE multiple_reference_scotland SET counter = counter + numofcases; END CASE; IF currentval IS NOT NULL THEN currentval = currentval + 1 ; currentvalstr = RIGHT(CONCAT ('00000', currentval) ,5); ELSE currentvalstr = CONCAT ('Exception - Not enough multiple reference numbers available in index multipleReference', Office, ' to service requests'); END IF; RETURN currentvalstr; END CASE; END; $$ LANGUAGE plpgsql;
CREATE TABLE orders ( id serial primary key, units_names text ); CREATE TABLE units ( id serial primary key, id_order integer NOT NULL REFERENCES orders, name text not null unique );
DROP FUNCTION IF EXISTS assigncustomerproduct; DELIMITER $$ CREATE FUNCTION assigncustomerproduct(p_customers_id CHAR(36),p_contractdetails_id CHAR(36),p_expires DATETIME) RETURNS CHAR(36) CHARSET utf8 BEGIN DECLARE generated_customerproducts_id CHAR(36); SELECT newid() INTO generated_customerproducts_id; INSERT INTO customerproducts(id,customers_id,contractdetails_id,expires) VALUES (generated_customerproducts_id,p_customers_id,p_contractdetails_id,p_expires); RETURN generated_customerproducts_id; END$$ DELIMITER ;
-- Table: teams -- DROP TABLE teams; CREATE TABLE teams ( "TEAM_ID" bigint, "TEAM_NAME" text ) WITH ( OIDS=FALSE );
<gh_stars>1-10 CREATE TABLE [dbo].[Usuario] ( [Usuario_Id] INT NOT NULL, [Usuario_Login] VARCHAR (50) NOT NULL, [Usuario_Senha] VARCHAR (255) NOT NULL, CONSTRAINT [PK_Usuario] PRIMARY KEY CLUSTERED ([Usuario_Id] ASC) );
<gh_stars>1-10 /* Navicat MySQL Data Transfer Source Server : work Source Server Version : 50505 Source Host : localhost:3306 Source Database : files Target Server Type : MYSQL Target Server Version : 50505 File Encoding : 65001 Date: 2020-08-27 00:31:19 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `departments` -- ---------------------------- DROP TABLE IF EXISTS `departments`; CREATE TABLE `departments` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `short_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `long_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of departments -- ---------------------------- INSERT INTO `departments` VALUES ('1', 'ICT', ' ICT Directorate', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); -- ---------------------------- -- Table structure for `dispatches` -- ---------------------------- DROP TABLE IF EXISTS `dispatches`; CREATE TABLE `dispatches` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `reg_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `to_whom_receive` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `date_of_letter` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `no_of_letter` int(11) NOT NULL, `subject` text COLLATE utf8mb4_unicode_ci NOT NULL, `remarks` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `office_id` bigint(20) unsigned NOT NULL, `user_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `dispatches_office_id_foreign` (`office_id`), KEY `dispatches_user_id_foreign` (`user_id`), CONSTRAINT `dispatches_office_id_foreign` FOREIGN KEY (`office_id`) REFERENCES `offices` (`id`), CONSTRAINT `dispatches_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of dispatches -- ---------------------------- -- ---------------------------- -- Table structure for `failed_jobs` -- ---------------------------- DROP TABLE IF EXISTS `failed_jobs`; CREATE TABLE `failed_jobs` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of failed_jobs -- ---------------------------- -- ---------------------------- -- Table structure for `incomings` -- ---------------------------- DROP TABLE IF EXISTS `incomings`; CREATE TABLE `incomings` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `reg_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `to_whom_receive` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `date_of_letter` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `no_of_letter` int(11) NOT NULL, `subject` text COLLATE utf8mb4_unicode_ci NOT NULL, `remarks` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `office_id` bigint(20) unsigned NOT NULL, `user_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `incomings_office_id_foreign` (`office_id`), KEY `incomings_user_id_foreign` (`user_id`), CONSTRAINT `incomings_office_id_foreign` FOREIGN KEY (`office_id`) REFERENCES `offices` (`id`), CONSTRAINT `incomings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of incomings -- ---------------------------- -- ---------------------------- -- Table structure for `memos` -- ---------------------------- DROP TABLE IF EXISTS `memos`; CREATE TABLE `memos` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `sender` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `reciever` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `path` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of memos -- ---------------------------- INSERT INTO `memos` VALUES ('1', '1', '1', 'public/memo//e6xTMaE9xRZPjvAwyJtP7eZwdibeXnLb9ce1aAfL.docx', '2020-08-25 19:09:01', '2020-08-25 19:09:01'); INSERT INTO `memos` VALUES ('2', '1', '1', 'public/memo//ebSdFZO6tp2kIgto6TB8lUAe67LObCI6xZJKAR0v.docx', '2020-08-25 19:11:00', '2020-08-25 19:11:00'); INSERT INTO `memos` VALUES ('3', '1', '1', 'public/memo//HF15frzQakTfX9eBurXpfHTu0BOEtALgH7JaEj7I.docx', '2020-08-25 19:14:28', '2020-08-25 19:14:28'); INSERT INTO `memos` VALUES ('4', '1', '2', 'public/memo//0yvbdCf28lvrVfbAVye3iOkSRM1VdEElfVmRZh9H.docx', '2020-08-26 10:43:13', '2020-08-26 10:43:13'); INSERT INTO `memos` VALUES ('5', '1', '2', 'public/memo//YAj9WoLqri6zY6GYKz4QdSYPYC6k0To87UckbFY0.pdf', '2020-08-26 10:44:41', '2020-08-26 10:44:41'); -- ---------------------------- -- Table structure for `migrations` -- ---------------------------- DROP TABLE IF EXISTS `migrations`; CREATE TABLE `migrations` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of migrations -- ---------------------------- INSERT INTO `migrations` VALUES ('1', '2014_10_12_000000_create_users_table', '1'); INSERT INTO `migrations` VALUES ('2', '2014_10_12_100000_create_password_resets_table', '1'); INSERT INTO `migrations` VALUES ('3', '2019_08_19_000000_create_failed_jobs_table', '1'); INSERT INTO `migrations` VALUES ('4', '2020_02_20_102656_create_routes_table', '1'); INSERT INTO `migrations` VALUES ('5', '2020_02_20_112829_create_departments_table', '1'); INSERT INTO `migrations` VALUES ('6', '2020_02_20_112929_create_offices_table', '1'); INSERT INTO `migrations` VALUES ('7', '2020_02_20_115155_create_dispatches_table', '1'); INSERT INTO `migrations` VALUES ('8', '2020_02_20_115300_create_incomings_table', '1'); INSERT INTO `migrations` VALUES ('9', '2020_02_20_124332_create_m_c_l_s_table', '1'); INSERT INTO `migrations` VALUES ('10', '2020_07_09_110418_create_roles_table', '1'); INSERT INTO `migrations` VALUES ('11', '2020_08_25_182833_create_memos_table', '1'); -- ---------------------------- -- Table structure for `m_c_l_s` -- ---------------------------- DROP TABLE IF EXISTS `m_c_l_s`; CREATE TABLE `m_c_l_s` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `office_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `m_c_l_s_office_id_foreign` (`office_id`), CONSTRAINT `m_c_l_s_office_id_foreign` FOREIGN KEY (`office_id`) REFERENCES `offices` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of m_c_l_s -- ---------------------------- -- ---------------------------- -- Table structure for `offices` -- ---------------------------- DROP TABLE IF EXISTS `offices`; CREATE TABLE `offices` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `departments_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `offices_departments_id_foreign` (`departments_id`), CONSTRAINT `offices_departments_id_foreign` FOREIGN KEY (`departments_id`) REFERENCES `departments` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of offices -- ---------------------------- INSERT INTO `offices` VALUES ('1', 'Main Office', '1', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `offices` VALUES ('2', 'HOD Office', '1', '2020-08-26 10:33:07', '2020-08-26 10:33:07'); -- ---------------------------- -- Table structure for `password_resets` -- ---------------------------- DROP TABLE IF EXISTS `password_resets`; CREATE TABLE `password_resets` ( `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, KEY `password_resets_email_index` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of password_resets -- ---------------------------- -- ---------------------------- -- Table structure for `roles` -- ---------------------------- DROP TABLE IF EXISTS `roles`; CREATE TABLE `roles` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `routes_ids` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `roles_user_id_foreign` (`user_id`), CONSTRAINT `roles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of roles -- ---------------------------- INSERT INTO `roles` VALUES ('1', '[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\"]', '1', '2020-08-25 18:40:01', '2020-08-25 18:40:23'); INSERT INTO `roles` VALUES ('2', '[6,7,8,10,11]', '2', '2020-08-26 10:42:45', '2020-08-26 10:42:45'); -- ---------------------------- -- Table structure for `routes` -- ---------------------------- DROP TABLE IF EXISTS `routes`; CREATE TABLE `routes` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `route` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of routes -- ---------------------------- INSERT INTO `routes` VALUES ('1', 'Roles', '/admin/role-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('2', 'Departments', '/admin/department-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('3', 'Privilege', '/admin/assign-privilege-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('4', 'User Account', '/admin/user-accounts-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('5', 'Offices', '/admin/offices-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('6', 'Incoming', '/incoming-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('7', 'Dispatch', '/dispatch-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('8', 'Tracking', '/tracking-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('9', 'Reset Password', '/admin/reset-password', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('10', 'Change Password', '/change-password-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `routes` VALUES ('11', 'Memo', '/memo-index', '2020-08-25 18:40:01', '2020-08-25 18:40:01'); -- ---------------------------- -- Table structure for `users` -- ---------------------------- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `dept_id` bigint(20) unsigned DEFAULT NULL, `office_id` bigint(20) unsigned DEFAULT NULL, `user_role_id` bigint(20) unsigned DEFAULT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`), KEY `users_dept_id_foreign` (`dept_id`), KEY `users_office_id_foreign` (`office_id`), CONSTRAINT `users_dept_id_foreign` FOREIGN KEY (`dept_id`) REFERENCES `departments` (`id`), CONSTRAINT `users_office_id_foreign` FOREIGN KEY (`office_id`) REFERENCES `offices` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- ---------------------------- -- Records of users -- ---------------------------- INSERT INTO `users` VALUES ('1', 'Administrator', '<EMAIL>', null, '$2y$10$wqc4V1R6g36CwwkpNae5YuloB6r9qgSODl/f2TcSPME0vnQJDfRpy', '1', '1', null, null, '2020-08-25 18:40:01', '2020-08-25 18:40:01'); INSERT INTO `users` VALUES ('2', '<NAME>', '<EMAIL>', null, '$2y$10$d5IJEht2Rc4YBe0N4vlmUebOePNYAc7xQj2uI4Bgv4xUoldSOTuQi', null, null, null, null, '2020-08-26 10:42:18', '2020-08-26 10:42:18');
<gh_stars>1-10  CREATE View repo_sys.ColumnReference As -- --muss / kann noch angereichert werden Select SysObject_full_name = so.SysObject_fullname , sdsre.referencing_minor_id , sdsre.referenced_server_name , sdsre.referenced_database_name , sdsre.referenced_schema_name , sdsre.referenced_entity_name , sdsre.referenced_minor_name , sdsre.referenced_id , sdsre.referenced_minor_id , sdsre.referenced_class , sdsre.referenced_class_desc , sdsre.is_caller_dependent , sdsre.is_ambiguous , sdsre.is_selected , sdsre.is_updated , sdsre.is_select_all , sdsre.is_all_columns_found , sdsre.is_insert_all , sdsre.is_incomplete From repo_sys.SysObject As so Cross Apply sys_dwh.dm_sql_referenced_entities ( so.SysObject_fullname, 'OBJECT' ) As sdsre Where so.type In ( 'U', 'V' ) GO EXECUTE sp_addextendedproperty @name = N'RepoObject_guid', @value = '5c90291c-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'e6f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'SysObject_full_name'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'e7f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referencing_minor_id'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'e8f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_server_name'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'eaf47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_schema_name'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'ecf47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_minor_name'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'eef47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_minor_id'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'edf47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_id'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'ebf47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_entity_name'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'e9f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_database_name'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f0f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_class_desc'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'eff47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'referenced_class'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f4f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_updated'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f3f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_selected'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f5f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_select_all'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f7f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_insert_all'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f8f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_incomplete'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f1f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_caller_dependent'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f2f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_ambiguous'; GO EXECUTE sp_addextendedproperty @name = N'RepoObjectColumn_guid', @value = 'f6f47926-9d61-eb11-84dc-a81e8446d5b0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'is_all_columns_found'; GO EXECUTE sp_addextendedproperty @name = N'ReferencedObjectList', @value = N'* [repo_sys].[SysObject] * [sys_dwh].[dm_sql_referenced_entities]', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference'; GO EXECUTE sp_addextendedproperty @name = N'has_execution_plan_issue', @value = N'1', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference'; GO EXECUTE sp_addextendedproperty @name = N'AntoraReferencedList', @value = N'* xref:repo_sys.SysObject.adoc[] * xref:sys_dwh.dm_sql_referenced_entities.adoc[]', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference'; GO EXECUTE sp_addextendedproperty @name = N'is_ssas', @value = N'0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference'; GO EXECUTE sp_addextendedproperty @name = N'is_repo_managed', @value = N'0', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference'; GO EXECUTE sp_addextendedproperty @name = N'ReferencedObjectColumnList', @value = N'* [repo_sys].[SysObject].[SysObject_fullname]', @level0type = N'SCHEMA', @level0name = N'repo_sys', @level1type = N'VIEW', @level1name = N'ColumnReference', @level2type = N'COLUMN', @level2name = N'SysObject_full_name';
CREATE TABLE IF NOT EXISTS shipments ( id SERIAL PRIMARY KEY, name TEXT NOT NULL ); CREATE TABLE IF NOT EXISTS shipment_inventory ( shipment_id INTEGER NOT NULL, item_id INTEGER NOT NULL, count INTEGER NOT NULL, PRIMARY KEY (shipment_id, item_id), FOREIGN KEY(shipment_id) REFERENCES shipments(id) ON DELETE CASCADE, FOREIGN KEY(item_id) REFERENCES inventory(id) ON DELETE CASCADE )
-- file:create_view.sql ln:411 expect:true select pg_get_viewdef('vv4', true)
<reponame>elemential/blog -- phpMyAdmin SQL Dump -- version 3.4.10.1deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 25, 2014 at 04:02 PM -- Server version: 5.5.40 -- PHP Version: 5.3.10-1ubuntu3.15 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `bejelentkezes` -- -- -------------------------------------------------------- -- -- Table structure for table `cimkek` -- CREATE TABLE IF NOT EXISTS `cimkek` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nev` varchar(127) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ; -- -- Dumping data for table `cimkek` -- INSERT INTO `cimkek` (`id`, `nev`) VALUES (1, 'kutya'), (2, 'macska'); -- -------------------------------------------------------- -- -- Table structure for table `felhasznalok` -- CREATE TABLE IF NOT EXISTS `felhasznalok` ( `id` int(11) NOT NULL AUTO_INCREMENT, `felhasznaloi_nev` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `jelszo` char(32) COLLATE utf8_unicode_ci NOT NULL, `teljes_nev` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, `utolso_bejelentkezes` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ; -- -- Dumping data for table `felhasznalok` -- INSERT INTO `felhasznalok` (`id`, `felhasznaloi_nev`, `jelszo`, `teljes_nev`, `utolso_bejelentkezes`) VALUES (4, 'bela', 'e99a18c428cb38d5f260853678922e03', '<NAME>', '2014-05-27 17:41:11'), (5, 'geza', 'e99a18c428cb38d5f260853678922e03', '<NAME>', '2014-05-27 17:41:11'), (6, 'sanyi', 'e99a18c428cb38d5f260853678922e03', NULL, '2014-05-27 17:41:11'); -- -------------------------------------------------------- -- -- Table structure for table `hozzaszolasok` -- CREATE TABLE IF NOT EXISTS `hozzaszolasok` ( `id` int(11) NOT NULL AUTO_INCREMENT, `tartalom` text COLLATE utf8_unicode_ci NOT NULL, `szerzo_id` int(11) NOT NULL, `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `poszt_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=17 ; -- -- Dumping data for table `hozzaszolasok` -- INSERT INTO `hozzaszolasok` (`id`, `tartalom`, `szerzo_id`, `datum`, `poszt_id`) VALUES (10, 'Suspendisse tincidunt at ligula gravida posuere. Duis at venenatis nibh. In hac habitasse platea dictumst.', 6, '2014-05-27 17:55:04', 13), (11, 'Pellentesque placerat sapien sapien! Aliquam gravida molestie justo, imperdiet ullamcorper est ullamcorper id. Fusce vel pellentesque mi, euismod suscipit mauris.', 4, '2014-05-27 17:55:30', 13), (12, 'Donec sit amet leo vel tortor suscipit egestas.', 5, '2014-05-27 17:55:49', 13), (13, 'Fusce volutpat nunc a quam posuere ultrices. Maecenas sit amet nisl accumsan, aliquam eros nec, aliquam nulla. Praesent euismod mollis ipsum sed dignissim. Nullam aliquam eros eget turpis congue, ac blandit mauris ullamcorper. Nam dapibus molestie diam et condimentum. Duis volutpat hendrerit felis quis congue. Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 5, '2014-05-27 17:56:06', 13), (14, 'fdssdf', 4, '2014-09-30 12:42:46', 13), (15, 'dasdasdasd', 5, '2014-09-30 14:54:24', 13), (16, 'sdfsdfsdf', 5, '2014-09-30 14:55:24', 14); -- -------------------------------------------------------- -- -- Table structure for table `posztCimkek` -- CREATE TABLE IF NOT EXISTS `posztCimkek` ( `poszt_id` int(11) NOT NULL, `cimke_id` int(11) NOT NULL, PRIMARY KEY (`poszt_id`,`cimke_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `posztCimkek` -- INSERT INTO `posztCimkek` (`poszt_id`, `cimke_id`) VALUES (11, 1), (12, 2), (13, 1), (13, 2); -- -------------------------------------------------------- -- -- Table structure for table `posztok` -- CREATE TABLE IF NOT EXISTS `posztok` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cim` varchar(128) COLLATE utf8_unicode_ci NOT NULL, `datum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `tartalom` text COLLATE utf8_unicode_ci NOT NULL, `szerzo_id` int(11) NOT NULL, `hsz_lehet` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=15 ; -- -- Dumping data for table `posztok` -- INSERT INTO `posztok` (`id`, `cim`, `datum`, `tartalom`, `szerzo_id`, `hsz_lehet`) VALUES (11, 'Lorem ipsum dolor', '2014-05-27 17:43:35', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus posuere auctor mi, a tincidunt eros convallis id. Nam ac est vitae justo blandit semper id non nisl. In malesuada augue mi, et feugiat neque eleifend id. Suspendisse vitae erat ultrices, semper dui quis, varius lacus. Mauris molestie, metus eget vestibulum tempor, orci enim lobortis lorem, eu consectetur sapien eros ac turpis. Etiam bibendum dolor dui, sit amet aliquam mauris volutpat at. Ut quis justo euismod nisi porta suscipit. Phasellus sit amet placerat lorem.\r\n\r\nVivamus lacinia varius felis quis convallis. Donec eget malesuada erat. Fusce aliquet mattis semper. Aliquam erat volutpat. Nam eget arcu dui. Quisque auctor massa a libero dapibus, eu iaculis lorem tempus. Pellentesque sit amet mi sed nibh placerat scelerisque. Curabitur volutpat faucibus accumsan.\r\n\r\nFusce ac eleifend felis. Cras placerat sollicitudin enim, laoreet venenatis eros fermentum porttitor. Praesent commodo enim at est convallis aliquam. Suspendisse venenatis ut diam a vehicula. Aliquam tortor est, elementum id scelerisque in, interdum et nisl. Etiam faucibus purus in molestie fringilla. Quisque a faucibus eros. Praesent vulputate vehicula sapien, in venenatis velit.', 5, 1), (12, 'Nulla id lobortis orci', '2014-05-27 17:51:37', 'Sed egestas vitae elit ac adipiscing. Aenean sagittis bibendum aliquam. In pretium consectetur diam. Cras lacinia nisi id nisi molestie sagittis. Nunc vel velit non ipsum hendrerit tristique eget ut ante. Quisque rutrum, massa at feugiat tempor, ligula dolor posuere sapien, vel pretium nulla nulla quis metus. Aliquam quis tortor vehicula, vestibulum metus nec, sollicitudin urna. Suspendisse vestibulum velit id malesuada gravida. Sed scelerisque neque nec metus venenatis, sit amet facilisis ipsum bibendum. Nunc mauris enim, tempus nec suscipit eu, consequat non justo. Nulla auctor tortor bibendum, placerat sem at, cursus ligula. Vestibulum tempor pretium leo, eget malesuada libero semper sed. Sed tincidunt libero et lectus adipiscing vehicula. Etiam cursus lectus pretium molestie egestas. Curabitur sodales libero ac interdum euismod. In non quam ante.\r\n\r\nAenean sem neque, pellentesque vitae vestibulum non, hendrerit ut lectus. Morbi ut pulvinar dolor. Donec suscipit placerat ipsum ac porttitor. In quis turpis rhoncus, tristique turpis nec, scelerisque justo. Praesent consequat nisl quam, eget fermentum tellus laoreet vel. In auctor justo nec bibendum porttitor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis commodo sodales enim at bibendum. Curabitur tristique lectus in lectus malesuada malesuada. Vivamus ullamcorper ligula eu eros molestie pretium eget id nibh.\r\n\r\nMaecenas ac metus condimentum, dignissim lacus in, pharetra felis. Cras sed suscipit nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin et est pellentesque, rhoncus nisi nec, lobortis risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis porta laoreet tellus, sed lacinia justo aliquet in. Nunc aliquam erat vel quam commodo faucibus. Nullam blandit justo in sem scelerisque, non ultrices sapien mattis. Aenean aliquam tellus vitae interdum sagittis. Suspendisse congue dui id fermentum lacinia. Praesent at sapien id diam viverra scelerisque. Nam mi elit, tristique vel velit nec, rhoncus consequat velit. Nulla vehicula nunc dolor, sed rhoncus ante placerat ac. Nam eget nibh dui. In ut tristique est.\r\n\r\nUt ut elementum libero. Nullam justo odio, varius eget ultricies a, ornare sed ante. Aenean egestas vulputate pretium. Proin mattis dictum velit, sit amet condimentum dolor dignissim eget. Cras dapibus congue gravida. In at condimentum dolor, vitae vulputate massa. Vestibulum rhoncus dui fringilla, viverra erat in, vehicula eros. Pellentesque accumsan nisi non varius semper. Proin in est placerat, commodo risus et, consectetur eros. Donec vel mauris et odio pharetra egestas quis eget risus. Mauris tellus ante, sollicitudin viverra auctor ut, volutpat vel quam. Donec sed lorem ut tellus pulvinar dignissim pellentesque ut odio. Nunc nunc nisi, mollis vitae dolor quis, sagittis dapibus velit.\r\n\r\nNam ut turpis ac turpis adipiscing convallis vel in urna. Nulla eu semper felis, ac auctor odio. Curabitur ornare nisl eu turpis volutpat, id dictum turpis adipiscing. Aenean vitae quam sed lorem lacinia faucibus id vel arcu. Vestibulum non nisl felis. Fusce sit amet mauris varius, accumsan risus sit amet, sagittis lorem. Maecenas nec dapibus purus. Donec mattis ultrices augue sed eleifend. Suspendisse vel adipiscing massa. Nulla tempus molestie elit, vitae ultricies elit commodo sed. Curabitur porttitor aliquam velit, vitae condimentum nisl pellentesque nec.', 4, 0), (13, 'Scelerisque tempus', '2014-05-27 17:53:54', 'Proin neque felis, rhoncus suscipit nisl vel, fermentum blandit magna. Fusce eu sollicitudin diam. Nullam vitae gravida arcu, eget ultricies erat. In rhoncus ullamcorper felis viverra molestie. Suspendisse sollicitudin elit at pharetra laoreet. Donec aliquet dignissim odio, sed porta enim fringilla non. Quisque condimentum leo at arcu rutrum, vitae tincidunt eros malesuada. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus lobortis lorem posuere nisl dictum scelerisque. Vivamus blandit urna nec sem semper fringilla. Praesent id laoreet est, vitae faucibus ligula. Praesent vitae malesuada enim. Aliquam vestibulum blandit velit et placerat. Praesent lacinia, turpis in sollicitudin vulputate, sem dolor rutrum lorem, gravida elementum augue lacus ut purus. Aliquam scelerisque lorem eleifend, mollis purus et, congue est.\r\n\r\nCurabitur ut vestibulum magna, quis tempor diam. Maecenas venenatis, eros sed rutrum dapibus, sem odio laoreet est, in sodales nunc justo at purus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non turpis risus. Etiam tempor in lacus a ultrices. Sed malesuada tortor erat. Donec et metus sed felis consequat porta. Integer laoreet suscipit elit nec sodales. Sed ultricies urna sed eleifend aliquet. Donec tincidunt leo sed nibh imperdiet, non consectetur dui rutrum. Proin volutpat purus at massa.', 5, 1), (14, 'Próba poszt', '2014-09-30 14:55:11', 'asdasdasda', 5, 1); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>mrudulpolus/kc<gh_stars>0 ALTER TABLE NOTIFICATION_TYPE_RECIPIENT RENAME COLUMN ROLE_ID TO ROLE_NAME; ALTER TABLE NOTIFICATION_TYPE_RECIPIENT MODIFY ROLE_NAME VARCHAR2(125); -- Run only for servers that already have entries matching this. Full integration (without hardcoding) between this and KCIRB-1299 should be done in the release scripts UPDATE NOTIFICATION_TYPE_RECIPIENT SET ROLE_NAME = 'KC-PROTOCOL:Protocol Aggregator' WHERE ROLE_NAME = '1117'; UPDATE NOTIFICATION_TYPE_RECIPIENT SET ROLE_NAME = 'KC-UNT:IRB Administrator' WHERE ROLE_NAME = '1119';
-- Generato da Oracle SQL Developer Data Modeler 4.1.1.888 -- in: 2016-02-21 19:56:41 CET -- sito: Oracle Database 11g -- tipo: Oracle Database 11g CREATE TABLE SPREADEASY_TEST_RESULTS ( TEST_NO NUMBER (10) NOT NULL , TEST_UNIT_NAME VARCHAR2 (100 CHAR) , STYLE_ID NUMBER (2) NOT NULL , SPREADSHEET XMLTYPE , START_DATE_TIME TIMESTAMP (3) NOT NULL , EXECUTION_TIME INTERVAL DAY (0) TO SECOND (9) ) XMLTYPE COLUMN SPREADSHEET STORE AS BINARY XML ( STORAGE ( PCTINCREASE 0 MINEXTENTS 1 MAXEXTENTS UNLIMITED FREELISTS 1 BUFFER_POOL DEFAULT ) RETENTION ENABLE STORAGE IN ROW NOCACHE ) ; COMMENT ON TABLE SPREADEASY_TEST_RESULTS IS 'Repository of the spreadsheets generated by the tests' ; COMMENT ON COLUMN SPREADEASY_TEST_RESULTS.TEST_NO IS 'Test number (sequence generated)' ; COMMENT ON COLUMN SPREADEASY_TEST_RESULTS.TEST_UNIT_NAME IS 'Unit test name' ; COMMENT ON COLUMN SPREADEASY_TEST_RESULTS.STYLE_ID IS 'XSLT Style ID: 1=Excel 2002 (.xls)' ; COMMENT ON COLUMN SPREADEASY_TEST_RESULTS.SPREADSHEET IS 'Spreadsheet XML file' ; COMMENT ON COLUMN SPREADEASY_TEST_RESULTS.START_DATE_TIME IS 'Test execution start date and time' ; COMMENT ON COLUMN SPREADEASY_TEST_RESULTS.EXECUTION_TIME IS 'Time elapsed to complete the execution of th "build" procedure' ; ALTER TABLE SPREADEASY_TEST_RESULTS ADD CONSTRAINT SPREADEASY_TEST_RESULTS_PK PRIMARY KEY ( TEST_NO ) ; CREATE SEQUENCE SPREADEASY_TEST_RESULTS_SQ START WITH 1 NOCACHE ORDER ; CREATE OR REPLACE TRIGGER SPREADEASY_TEST_RESULTS_SQTR BEFORE INSERT ON SPREADEASY_TEST_RESULTS FOR EACH ROW WHEN (NEW.TEST_NO IS NULL) BEGIN :NEW.TEST_NO := SPREADEASY_TEST_RESULTS_SQ.NEXTVAL; END; / -- Report sintetico di Oracle SQL Developer Data Modeler: -- -- CREATE TABLE 1 -- CREATE INDEX 0 -- ALTER TABLE 1 -- CREATE VIEW 0 -- ALTER VIEW 0 -- CREATE PACKAGE 0 -- CREATE PACKAGE BODY 0 -- CREATE PROCEDURE 0 -- CREATE FUNCTION 0 -- CREATE TRIGGER 1 -- ALTER TRIGGER 0 -- CREATE COLLECTION TYPE 0 -- CREATE STRUCTURED TYPE 0 -- CREATE STRUCTURED TYPE BODY 0 -- CREATE CLUSTER 0 -- CREATE CONTEXT 0 -- CREATE DATABASE 0 -- CREATE DIMENSION 0 -- CREATE DIRECTORY 0 -- CREATE DISK GROUP 0 -- CREATE ROLE 0 -- CREATE ROLLBACK SEGMENT 0 -- CREATE SEQUENCE 1 -- CREATE MATERIALIZED VIEW 0 -- CREATE SYNONYM 0 -- CREATE TABLESPACE 0 -- CREATE USER 0 -- -- DROP TABLESPACE 0 -- DROP DATABASE 0 -- -- REDACTION POLICY 0 -- -- ORDS DROP SCHEMA 0 -- ORDS ENABLE SCHEMA 0 -- ORDS ENABLE OBJECT 0 -- -- ERRORS 0 -- WARNINGS 0
<gh_stars>0 /* -- SQL equivalents for Jira server's workflow integrity checks -- Execute the Administration -> System -> Integrity Checker -- Execute the Administration -> System -> Indexing */ -- https://confluence.atlassian.com/jirakb/how-to-run-the-workflow-integrity-checks-in-sql-658179102.html -- https://jira.atlassian.com/browse/JRASERVER-4241 -- check Workflow Entry States are Correct select jiraissue.id issue_id, jiraissue.workflow_id, OS_WFENTRY.* from jiraissue join OS_WFENTRY on jiraissue.workflow_id = OS_WFENTRY.id where OS_WFENTRY.state is null or OS_WFENTRY.state = 0; -- fix by -- UPDATE OS_WFENTRY SET state = 1 WHERE id in (OS_WFENTRY_ID_VALUES) /* SELECT concat( 'UPDATE OS_WFENTRY SET state = 1 WHERE id in (', jiraissue.workflow_id, ');') FROM jiraissue JOIN OS_WFENTRY ON jiraissue.workflow_id = OS_WFENTRY.id WHERE OS_WFENTRY.state IS NULL OR OS_WFENTRY.state = 0; */ -- check issue number null tickets select id,issuenum,project from jiraissue where project is null; -- fix -- delete FROM jiraissue WHERE project IS NULL;
<gh_stars>0 CREATE TABLE [dbo].[EmploymentEducation] ( [EmploymentEducationID] INT NOT NULL, [ProjectEntryID] INT NOT NULL, [PersonalID] INT NOT NULL, [InformationDate] DATETIME NOT NULL, [LastGradeCompleted] NVARCHAR (50) NULL, [SchoolStatus] INT NULL, [Employed] INT NOT NULL, [EmploymentType] INT NULL, [NotEmployedReason] NVARCHAR (250) NULL, [DataCollectionStage] INT NOT NULL, [DateCreated] DATETIME NOT NULL, [DateUpdated] DATETIME NOT NULL, [UpdatedBy] INT NOT NULL, [DateDeleted] DATETIME NULL, CONSTRAINT [PK_EmploymentEducation] PRIMARY KEY CLUSTERED ([EmploymentEducationID] ASC), CONSTRAINT [FK_EmploymentEducation_Client] FOREIGN KEY ([PersonalID]) REFERENCES [dbo].[Client] ([UUID]) );
CREATE TABLE "public"."camera" ( "id" int8 NOT NULL DEFAULT nextval('camera_id_seq'::regclass), "title" varchar(255) COLLATE "default", "location" varchar(255) COLLATE "default", "rtsp_url" varchar(255) COLLATE "default", "realtime_path" varchar(255) COLLATE "default", "analysis_on_time" time(6), "analysis_off_time" time(6), CONSTRAINT "camera_pkey" PRIMARY KEY ("id") NOT DEFERRABLE INITIALLY IMMEDIATE ) WITH (OIDS=FALSE); ALTER TABLE "public"."camera" OWNER TO "postgres"; CREATE TABLE "public"."video" ( "id" int8 NOT NULL DEFAULT nextval('video_id_seq'::regclass), "camera_id" int8, "video_path" varchar(255) COLLATE "default", "poster_path" varchar(255) COLLATE "default", "start_date" timestamp(6) WITH TIME ZONE, "duration_in_second" int8, CONSTRAINT "video_pkey" PRIMARY KEY ("id") NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT "fk_camera_id" FOREIGN KEY ("camera_id") REFERENCES "public"."camera" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION NOT DEFERRABLE INITIALLY IMMEDIATE ) WITH (OIDS=FALSE); ALTER TABLE "public"."video" OWNER TO "postgres"; CREATE INDEX "idx_camera_id" ON "public"."video" USING btree(camera_id ASC NULLS LAST); CREATE UNIQUE INDEX "video_id_key" ON "public"."video" USING btree("id" ASC NULLS LAST); CREATE TABLE "public"."alert" ( "id" int8 NOT NULL, "video_id" int8, "type" int8, "level" int8, "message" varchar(255) COLLATE "default", "poster_path" varchar(255) COLLATE "default", "start_date" timestamp(6) WITH TIME ZONE, "end_date" timestamp(6) WITH TIME ZONE, "end_reason" int8, CONSTRAINT "event_copy_pkey" PRIMARY KEY ("id") NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT "alert_video_id_fkey" FOREIGN KEY ("video_id") REFERENCES "public"."video" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION NOT DEFERRABLE INITIALLY IMMEDIATE ) WITH (OIDS=FALSE); ALTER TABLE "public"."alert" OWNER TO "postgres"; CREATE INDEX "idx_alert_video_id" ON "public"."alert" USING btree(video_id ASC NULLS LAST); CREATE TABLE "public"."event" ( "id" int8 NOT NULL DEFAULT nextval('event_id_seq'::regclass), "video_id" int8, "create_date" timestamp(6) WITH TIME ZONE DEFAULT now(), "top_x" int8, "top_y" int8, "width" int8, "height" int8, "type" int8, CONSTRAINT "event_pkey" PRIMARY KEY ("id") NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT "fk_video_id" FOREIGN KEY ("video_id") REFERENCES "public"."video" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION NOT DEFERRABLE INITIALLY IMMEDIATE ) WITH (OIDS=FALSE); ALTER TABLE "public"."event" OWNER TO "postgres"; CREATE INDEX "idx_video_id" ON "public"."event" USING btree(video_id ASC NULLS LAST);
<gh_stars>1-10 #standardSQL CREATE TEMPORARY FUNCTION hasGridTemplateAreas(css STRING) RETURNS BOOLEAN LANGUAGE js OPTIONS (library = "gs://httparchive/lib/css-utils.js") AS ''' try { function compute(ast) { let ret = {}; walkDeclarations(ast, ({property, value}) => { for (let area of value.matchAll(/(['"])(?<names>[-\\w\\s.]+?)\\1/g)) { let names = area.groups.names.split(/\\s+/); for (let name of names) { incrementByKey(ret, name); } } }, { properties: /^grid(-template(-areas)?)?$/ }); return sortObject(ret); } const ast = JSON.parse(css); return Object.keys(compute(ast)).length > 0; } catch (e) { return false; } '''; SELECT client, COUNTIF(grid_template_areas) AS pages_with_grid_template_areas, total, COUNTIF(grid_template_areas) / total AS pct FROM ( SELECT client, page, COUNTIF(hasGridTemplateAreas(css)) > 0 AS grid_template_areas FROM `httparchive.almanac.parsed_css` WHERE date = '2020-08-01' GROUP BY client, page) JOIN ( SELECT _TABLE_SUFFIX AS client, COUNT(0) AS total FROM `httparchive.summary_pages.2020_08_01_*` GROUP BY client) USING (client) GROUP BY client, total
<reponame>blinkops/blink-aws-query<filename>aws-test/tests/aws_sns_topic/test-get-query.sql<gh_stars>10-100 select display_name from aws.aws_sns_topic where topic_arn = '{{ output.resource_aka.value }}'
<gh_stars>0 -- -- PostgreSQL database dump -- -- Dumped from database version 9.5.12 -- Dumped by pg_dump version 10.3 SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET client_min_messages = warning; SET row_security = off; -- -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -- CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog; -- -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; SET default_tablespace = ''; SET default_with_oids = false; -- -- Name: displacements; Type: TABLE; Schema: public; Owner: postgres -- CREATE TABLE public.displacements ( id integer NOT NULL, visit_at timestamp without time zone NOT NULL, url_came character varying(2044), url_went character varying(2044), user_id integer NOT NULL ); ALTER TABLE public.displacements OWNER TO postgres; -- -- Name: TABLE displacements; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON TABLE public.displacements IS 'Перемещения пользователя'; -- -- Name: COLUMN displacements.id; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.displacements.id IS 'Идентификатор перемещения'; -- -- Name: COLUMN displacements.visit_at; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.displacements.visit_at IS 'Дата и время перемещения'; -- -- Name: COLUMN displacements.url_came; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.displacements.url_came IS 'URL с которого зашел'; -- -- Name: COLUMN displacements.url_went; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.displacements.url_went IS 'URL куда зашел'; -- -- Name: COLUMN displacements.user_id; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.displacements.user_id IS 'Идентификатор польлзователя'; -- -- Name: displacements_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres -- CREATE SEQUENCE public.displacements_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; ALTER TABLE public.displacements_id_seq OWNER TO postgres; -- -- Name: displacements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres -- ALTER SEQUENCE public.displacements_id_seq OWNED BY public.displacements.id; -- -- Name: users; Type: TABLE; Schema: public; Owner: postgres -- CREATE TABLE public.users ( id integer NOT NULL, ip character varying(15) NOT NULL, browser character varying(255), operating_system character varying(2044) ); ALTER TABLE public.users OWNER TO postgres; -- -- Name: TABLE users; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON TABLE public.users IS 'ip пользователя'; -- -- Name: COLUMN users.id; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.users.id IS 'Идентификатор польлзователя'; -- -- Name: COLUMN users.ip; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.users.ip IS 'ip пользователя'; -- -- Name: COLUMN users.browser; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.users.browser IS 'Веб-браузер'; -- -- Name: COLUMN users.operating_system; Type: COMMENT; Schema: public; Owner: postgres -- COMMENT ON COLUMN public.users.operating_system IS 'Операционная система'; -- -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres -- CREATE SEQUENCE public.users_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; ALTER TABLE public.users_id_seq OWNER TO postgres; -- -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres -- ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id; -- -- Name: displacements id; Type: DEFAULT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.displacements ALTER COLUMN id SET DEFAULT nextval('public.displacements_id_seq'::regclass); -- -- Name: users id; Type: DEFAULT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass); -- -- Name: displacements displacement_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.displacements ADD CONSTRAINT displacement_pkey PRIMARY KEY (id); -- -- Name: users unique_ip; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.users ADD CONSTRAINT unique_ip UNIQUE (ip); -- -- Name: users user_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.users ADD CONSTRAINT user_pkey PRIMARY KEY (id); -- -- Name: fk_user_id; Type: INDEX; Schema: public; Owner: postgres -- CREATE INDEX fk_user_id ON public.displacements USING btree (user_id); -- -- Name: index_ip; Type: INDEX; Schema: public; Owner: postgres -- CREATE UNIQUE INDEX index_ip ON public.users USING btree (ip); -- -- Name: index_visit_at; Type: INDEX; Schema: public; Owner: postgres -- CREATE INDEX index_visit_at ON public.displacements USING btree (visit_at); -- -- Name: displacements lnk_user_displacement; Type: FK CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.displacements ADD CONSTRAINT lnk_user_displacement FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE; -- -- Name: SCHEMA public; Type: ACL; Schema: -; Owner: postgres -- REVOKE ALL ON SCHEMA public FROM PUBLIC; REVOKE ALL ON SCHEMA public FROM postgres; GRANT ALL ON SCHEMA public TO postgres; GRANT ALL ON SCHEMA public TO PUBLIC; -- -- PostgreSQL database dump complete --
<reponame>CBIIT/rembrandt<gh_stars>1-10 /*L Copyright (c) 2006 SAIC, SAIC-F. Distributed under the OSI-approved BSD 3-Clause License. See http://ncip.github.com/rembrandt/LICENSE.txt for details. L*/ DROP TABLE ACC_CHR_POSITION CASCADE CONSTRAINTS; CREATE TABLE ACC_CHR_POSITION ( ACCESSION_NUM VARCHAR2(40), CHROMOSOME VARCHAR2(40), ACC_START VARCHAR2(40), ACC_END VARCHAR2(40) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE AGENT_DIM DROP PRIMARY KEY CASCADE; DROP TABLE AGENT_DIM CASCADE CONSTRAINTS; CREATE TABLE AGENT_DIM ( AGENT_ID NUMBER NOT NULL, AGENT_NAME VARCHAR2(120), AGENT_TYPE VARCHAR2(100), NSC_NUMBER NUMBER, EVS_ID VARCHAR2(50) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE AGE_GROUP_DX_DIM DROP PRIMARY KEY CASCADE; DROP TABLE AGE_GROUP_DX_DIM CASCADE CONSTRAINTS; CREATE TABLE AGE_GROUP_DX_DIM ( AGE_GROUP_DESC VARCHAR2(50) NOT NULL, AGE_GROUP VARCHAR2(20) NOT NULL, LOWERBOUND NUMBER(3), UPPERBOUND NUMBER(3) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE ARRAY_GENO_ABN_FACT DROP PRIMARY KEY CASCADE; DROP TABLE ARRAY_GENO_ABN_FACT CASCADE CONSTRAINTS; CREATE TABLE ARRAY_GENO_ABN_FACT ( CHROMOSOME VARCHAR2(20), CHANNEL_RATIO FLOAT(126), LOSS_GAIN VARCHAR2(20), DATASET_ID NUMBER, INSTITUTION_ID NUMBER, AGA_ID NUMBER NOT NULL, CYTOBAND VARCHAR2(50), DISEASE_TYPE_ID NUMBER NOT NULL, COPYNO_PVAL FLOAT(126), GENDER_CODE VARCHAR2(1), COPY_NUMBER FLOAT(126), EXP_PLATFORM_ID NUMBER, TIMECOURSE_ID NUMBER, BIOSPECIMEN_ID NUMBER, SURVIVAL_LENGTH_RANGE VARCHAR2(15), AGE_GROUP VARCHAR2(20), TREATMENT_HISTORY_ID NUMBER, AGENT_ID NUMBER, DISEASE_HISTORY_ID NUMBER, SNP_PROBESET_ID NUMBER, SNP_PROBESET_NAME VARCHAR2(200), LOH FLOAT(126), PHYSICAL_POSITION NUMBER, DISEASE_TYPE VARCHAR2(100), SAMPLE_ID VARCHAR2(20) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 655544K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE BIOSPECIMEN_DIM DROP PRIMARY KEY CASCADE; DROP TABLE BIOSPECIMEN_DIM CASCADE CONSTRAINTS; CREATE TABLE BIOSPECIMEN_DIM ( SAMPLE_ID VARCHAR2(50) NOT NULL, SPECIMEN_NAME VARCHAR2(100), SPECIMEN_DESC VARCHAR2(255), BIOSPECIMEN_ID NUMBER NOT NULL, PATIENT_DID NUMBER ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE CLONE_DIM DROP PRIMARY KEY CASCADE; DROP TABLE CLONE_DIM CASCADE CONSTRAINTS; CREATE TABLE CLONE_DIM ( CLONE_ID NUMBER NOT NULL, CLONE_NAME VARCHAR2(200), CLONE_DESC VARCHAR2(4000), UTR NUMBER(1), UNIGENE_LIBRARY VARCHAR2(50), UNIGENE_ID VARCHAR2(50), CLONE_TYPE VARCHAR2(20), CYTOBAND VARCHAR2(50), CHROMOSOME VARCHAR2(20) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 3440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE CYTOBAND_POSITION DROP PRIMARY KEY CASCADE; DROP TABLE CYTOBAND_POSITION CASCADE CONSTRAINTS; CREATE TABLE CYTOBAND_POSITION ( CHROMOSOME VARCHAR2(10) NOT NULL, CYTOBAND VARCHAR2(50) NOT NULL, ORGANISM VARCHAR2(200), CB_START NUMBER, CB_END_POS NUMBER, CYTOBAND_POSITION_ID NUMBER NOT NULL, CHR_CYTOBAND VARCHAR2(60) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 80K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE DETECTION_TYPE DROP PRIMARY KEY CASCADE; DROP TABLE DETECTION_TYPE CASCADE CONSTRAINTS; CREATE TABLE DETECTION_TYPE ( DETECTION_TYPE_ID NUMBER NOT NULL, DETECTION_TYPE VARCHAR2(100), DETECTION_TYPE_DESC VARCHAR2(255) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT DROP PRIMARY KEY CASCADE; DROP TABLE DIFFERENTIAL_EXPRESSION_GFACT CASCADE CONSTRAINTS; CREATE TABLE DIFFERENTIAL_EXPRESSION_GFACT ( DEG_ID NUMBER NOT NULL, EXPRESSION_RATIO FLOAT(126), NORMAL_INTENSITY FLOAT(126), RATIO_PVAL FLOAT(126), DISEASE_TYPE_ID NUMBER, PROBESET_ID NUMBER, CLONE_ID NUMBER, DATASET_ID NUMBER, INSTITUTION_ID NUMBER, EXP_PLATFORM_ID NUMBER, PROBESET_NAME VARCHAR2(200), CLONE_NAME VARCHAR2(200), TIMECOURSE_ID NUMBER, GENE_SYMBOL VARCHAR2(50), SAMPLE_INTENSITY FLOAT(126), DISEASE_TYPE VARCHAR2(100) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 38440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT DROP PRIMARY KEY CASCADE; DROP TABLE DIFFERENTIAL_EXPRESSION_SFACT CASCADE CONSTRAINTS; CREATE TABLE DIFFERENTIAL_EXPRESSION_SFACT ( DES_ID NUMBER NOT NULL, PROBESET_ID NUMBER, CLONE_ID NUMBER, EXPRESSION_RATIO FLOAT(126), SAMPLE_INTENSITY FLOAT(126), NORMAL_INTENSITY FLOAT(126), GENE_SYMBOL VARCHAR2(50), DATASET_ID NUMBER, EXP_PLATFORM_ID NUMBER, INSTITUTION_ID NUMBER, BIOSPECIMEN_ID NUMBER NOT NULL, DISEASE_TYPE_ID NUMBER NOT NULL, GENDER_CODE VARCHAR2(1), AGE_GROUP VARCHAR2(20), SURVIV_LENGTH_RANGE VARCHAR2(15), TREATMENT_HISTORY_ID NUMBER, AGENT_ID NUMBER, DISEASE_HISTORY_ID NUMBER, TIMECOURSE_ID NUMBER, CLONE_NAME VARCHAR2(200), PROBESET_NAME VARCHAR2(200), CYTOBAND VARCHAR2(500), DISEASE_TYPE VARCHAR2(100), SAMPLE_ID VARCHAR2(20) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 655640K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE DISEASE_GRADE CASCADE CONSTRAINTS; CREATE TABLE DISEASE_GRADE ( GRADE_ID NUMBER, GRADE VARCHAR2(5), GRADE_DESC VARCHAR2(20) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE DISEASE_HISTORY_DIM DROP PRIMARY KEY CASCADE; DROP TABLE DISEASE_HISTORY_DIM CASCADE CONSTRAINTS; CREATE TABLE DISEASE_HISTORY_DIM ( DISEASE_HISTORY_ID NUMBER NOT NULL, OCCURRENCE_STATUS VARCHAR2(10), OCCURRENCE_STATUS_DESC VARCHAR2(50) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE DISEASE_TYPE_DIM DROP PRIMARY KEY CASCADE; DROP TABLE DISEASE_TYPE_DIM CASCADE CONSTRAINTS; CREATE TABLE DISEASE_TYPE_DIM ( DISEASE_TYPE_ID NUMBER NOT NULL, DISEASE_TYPE VARCHAR2(100) NOT NULL, DISEASE_DESC VARCHAR2(200) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE EXP_PLATFORM_DIM DROP PRIMARY KEY CASCADE; DROP TABLE EXP_PLATFORM_DIM CASCADE CONSTRAINTS; CREATE TABLE EXP_PLATFORM_DIM ( EXP_PLATFORM_ID NUMBER NOT NULL, EXP_PLATFORM_NAME VARCHAR2(50), EXP_PLATFORM_DESC VARCHAR2(200) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE GENDER_DIM DROP PRIMARY KEY CASCADE; DROP TABLE GENDER_DIM CASCADE CONSTRAINTS; CREATE TABLE GENDER_DIM ( GENDER_CODE VARCHAR2(1) NOT NULL, GENDER_DESC VARCHAR2(30) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE GENE_CLONE DROP PRIMARY KEY CASCADE; DROP TABLE GENE_CLONE CASCADE CONSTRAINTS; CREATE TABLE GENE_CLONE ( GENE_CLONE_ID NUMBER NOT NULL, UNIGENE_LIBRARY VARCHAR2(50), GENE_TITLE VARCHAR2(2000), UNIGENE_ID VARCHAR2(50), LL_ID VARCHAR2(50), EC VARCHAR2(100), ACCESSION_NUMBER VARCHAR2(100), ACC_START NUMBER, ACC_END NUMBER, CLONE_ID NUMBER, GENE_SYMBOL VARCHAR2(50), IMAGE_ID VARCHAR2(50), OMIM_ID VARCHAR2(50), CHROMOSOME VARCHAR2(20), UP_GENE_SYMBOL VARCHAR2(50) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 3440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE GENE_LL_ACC_SNP CASCADE CONSTRAINTS; CREATE TABLE GENE_LL_ACC_SNP ( GENE_SYMBOL VARCHAR2(100), ACCESSION VARCHAR2(50), LL_ID VARCHAR2(50), CHROMOSOME VARCHAR2(100), UP_GENE_SYMBOL VARCHAR2(50), SNP_PROBESET_ID NUMBER, PROBESET_NAME VARCHAR2(200), PHYSICAL_POSITION NUMBER ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE GENE_ONTOLOGY CASCADE CONSTRAINTS; CREATE TABLE GENE_ONTOLOGY ( GO_NAME VARCHAR2(200), GENE_SYMBOL VARCHAR2(100), GO_DESC VARCHAR2(4000), GO_ID VARCHAR2(15), UP_GENE_SYMBOL VARCHAR2(50) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 3440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE GENE_PATHWAY CASCADE CONSTRAINTS; CREATE TABLE GENE_PATHWAY ( PATHWAY_NAME VARCHAR2(200), DATA_SOURCE VARCHAR2(30), GENE_SYMBOL VARCHAR2(50), PATHWAY_DESC VARCHAR2(4000), UP_GENE_SYMBOL VARCHAR2(50) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE GENE_SNP CASCADE CONSTRAINTS; CREATE TABLE GENE_SNP ( GENE_SYMBOL VARCHAR2(100), UP_GENE_SYMBOL VARCHAR2(50), SNP_PROBESET_ID NUMBER, PROBESET_NAME VARCHAR2(200) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE GENO_ABN_TYPE DROP PRIMARY KEY CASCADE; DROP TABLE GENO_ABN_TYPE CASCADE CONSTRAINTS; CREATE TABLE GENO_ABN_TYPE ( GENO_ABN_TYPE_DESC VARCHAR2(200), GENO_ABN_TYPE VARCHAR2(20) NOT NULL ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE INSTITUTION_DIM DROP PRIMARY KEY CASCADE; DROP TABLE INSTITUTION_DIM CASCADE CONSTRAINTS; CREATE TABLE INSTITUTION_DIM ( INSTITUTION_ID NUMBER NOT NULL, INSTITUTION_NAME VARCHAR2(100), INSTITUTION_DESC VARCHAR2(200) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE LL_SNP CASCADE CONSTRAINTS; CREATE TABLE LL_SNP ( LL_ID VARCHAR2(50), SNP_PROBESET_ID NUMBER, PROBESET_NAME VARCHAR2(200) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE LOSS_GAIN_CODE DROP PRIMARY KEY CASCADE; DROP TABLE LOSS_GAIN_CODE CASCADE CONSTRAINTS; CREATE TABLE LOSS_GAIN_CODE ( LOSS_GAIN_DESC VARCHAR2(100), LOSS_GAIN VARCHAR2(20) NOT NULL, GENE_ID NUMBER ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE MLOG$_BIOSPECIMEN_DIM CASCADE CONSTRAINTS; CREATE TABLE MLOG$_BIOSPECIMEN_DIM ( BIOSPECIMEN_ID NUMBER, M_ROW$$ VARCHAR2(255), SNAPTIME$$ DATE, DMLTYPE$$ VARCHAR2(1), OLD_NEW$$ VARCHAR2(1), CHANGE_VECTOR$$ RAW(255) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 60 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; COMMENT ON TABLE MLOG$_BIOSPECIMEN_DIM IS 'snapshot log for master table NAUTILUSDEV.BIOSPECIMEN_DIM'; DROP TABLE MLOG$_PATIENT CASCADE CONSTRAINTS; CREATE TABLE MLOG$_PATIENT ( PATIENT_DID NUMBER, M_ROW$$ VARCHAR2(255), SNAPTIME$$ DATE, DMLTYPE$$ VARCHAR2(1), OLD_NEW$$ VARCHAR2(1), CHANGE_VECTOR$$ RAW(255) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 60 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; COMMENT ON TABLE MLOG$_PATIENT IS 'snapshot log for master table NAUTILUSDEV.PATIENT'; ALTER TABLE PATIENT DROP PRIMARY KEY CASCADE; DROP TABLE PATIENT CASCADE CONSTRAINTS; CREATE TABLE PATIENT ( PATIENT_DID NUMBER NOT NULL, POPULATION_TYPE_ID NUMBER, AGE NUMBER, SURVIVAL_LENGTH NUMBER, CENSORING_STATUS VARCHAR2(5), GENDER VARCHAR2(5) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE PATIENT_DATA CASCADE CONSTRAINTS; CREATE TABLE PATIENT_DATA ( SAMPLE_ID VARCHAR2(50) NOT NULL, BIOSPECIMEN_ID NUMBER NOT NULL, PATIENT_DID NUMBER, POPULATION_TYPE_ID NUMBER, AGE NUMBER, SURVIVAL_LENGTH NUMBER, GENDER VARCHAR2(5), CENSORING_STATUS VARCHAR2(5) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; COMMENT ON TABLE PATIENT_DATA IS 'snapshot table for snapshot NAUTILUSDEV.PATIENT_DATA'; ALTER TABLE POPULATION_TYPE DROP PRIMARY KEY CASCADE; DROP TABLE POPULATION_TYPE CASCADE CONSTRAINTS; CREATE TABLE POPULATION_TYPE ( POPULATION_TYPE_ID NUMBER NOT NULL, POPULATION_TYPE_NAME VARCHAR2(50), POPULATION_TYPE_DESC VARCHAR2(200) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE PROBESET_DIM DROP PRIMARY KEY CASCADE; DROP TABLE PROBESET_DIM CASCADE CONSTRAINTS; CREATE TABLE PROBESET_DIM ( PROBESET_ID NUMBER NOT NULL, PROBESET_NAME VARCHAR2(200) NOT NULL, ARRAY_NAME VARCHAR2(100) NOT NULL, GENE_SYMBOL VARCHAR2(50), GENOME_VERSION VARCHAR2(100), GENE_TITLE VARCHAR2(2000), ALIGNMENTS VARCHAR2(255), LL_ID VARCHAR2(50), UNIGENE_ID VARCHAR2(50), EC VARCHAR2(100), KB_START NUMBER, KB_END NUMBER, CHROMOSOME VARCHAR2(20), CYTOBAND VARCHAR2(50), ACCESSION_NUMBER VARCHAR2(100), OMIM_ID VARCHAR2(50), UP_GENE_SYMBOL VARCHAR2(50) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 21360K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE PROTEIN_FAMILY CASCADE CONSTRAINTS; CREATE TABLE PROTEIN_FAMILY ( PROTEIN_FAMILY VARCHAR2(1000), PROBESET_ID NUMBER ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 5M MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE REFSEQ_MRNA_ID CASCADE CONSTRAINTS; CREATE TABLE REFSEQ_MRNA_ID ( REFSEQ_MRNA_ID VARCHAR2(50), PROBESET_ID NUMBER ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE REFSEQ_PROTEIN_ID CASCADE CONSTRAINTS; CREATE TABLE REFSEQ_PROTEIN_ID ( REFSEQ_PROTEIN_ID NUMBER, PROBESET_ID NUMBER ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE RUPD$_BIOSPECIMEN_DIM CASCADE CONSTRAINTS; CREATE GLOBAL TEMPORARY TABLE RUPD$_BIOSPECIMEN_DIM ( BIOSPECIMEN_ID NUMBER, DMLTYPE$$ VARCHAR2(1), SNAPID INTEGER, CHANGE_VECTOR$$ RAW(255) ) ON COMMIT PRESERVE ROWS; COMMENT ON TABLE RUPD$_BIOSPECIMEN_DIM IS 'temporary updatable snapshot log'; DROP TABLE RUPD$_PATIENT CASCADE CONSTRAINTS; CREATE GLOBAL TEMPORARY TABLE RUPD$_PATIENT ( PATIENT_DID NUMBER, DMLTYPE$$ VARCHAR2(1), SNAPID INTEGER, CHANGE_VECTOR$$ RAW(255) ) ON COMMIT PRESERVE ROWS; COMMENT ON TABLE RUPD$_PATIENT IS 'temporary updatable snapshot log'; ALTER TABLE SNP_PROBESET_DIM DROP PRIMARY KEY CASCADE; DROP TABLE SNP_PROBESET_DIM CASCADE CONSTRAINTS; CREATE TABLE SNP_PROBESET_DIM ( ARRAY_NAME VARCHAR2(50) NOT NULL, PROBESET_NAME VARCHAR2(200) NOT NULL, SNP_PROBESET_ID NUMBER NOT NULL, DB_SNP_ID VARCHAR2(18), PHYSICAL_POSITION NUMBER, CYTOBAND VARCHAR2(50), ALLELE_FREQUENCY_AS VARCHAR2(100), ALLELE_FREQUENCY_AF VARCHAR2(100), ALLELE_FREQUENCY_CA VARCHAR2(100), CHROMOSOME VARCHAR2(20) ) TABLESPACE NAUTILUS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 25624K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE STUDY_DATASET_DIM DROP PRIMARY KEY CASCADE; DROP TABLE STUDY_DATASET_DIM CASCADE CONSTRAINTS; CREATE TABLE STUDY_DATASET_DIM ( DATASET_ID NUMBER NOT NULL, DATASET_NAME VARCHAR2(100), DATASET_DESC VARCHAR2(255) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE STUDY_TIMECOURSE_DIM DROP PRIMARY KEY CASCADE; DROP TABLE STUDY_TIMECOURSE_DIM CASCADE CONSTRAINTS; CREATE TABLE STUDY_TIMECOURSE_DIM ( TIMECOURSE_ID NUMBER NOT NULL, TIMECOURSE_NAME VARCHAR2(50), TIMECOURSE_DESC VARCHAR2(200) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE SURVIVAL_LENGTH_RANGE_DIM DROP PRIMARY KEY CASCADE; DROP TABLE SURVIVAL_LENGTH_RANGE_DIM CASCADE CONSTRAINTS; CREATE TABLE SURVIVAL_LENGTH_RANGE_DIM ( SURVIVAL_LENGTH_RANGE VARCHAR2(15) NOT NULL, GROUP_DESC VARCHAR2(100), LOWERBOUND NUMBER(5), UPPERBOUND NUMBER(8) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; DROP TABLE SWISSPROT CASCADE CONSTRAINTS; CREATE TABLE SWISSPROT ( SWISSPROT VARCHAR2(50), PROBESET_ID NUMBER ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 2320K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; ALTER TABLE TREATMENT_HISTORY_DIM DROP PRIMARY KEY CASCADE; DROP TABLE TREATMENT_HISTORY_DIM CASCADE CONSTRAINTS; CREATE TABLE TREATMENT_HISTORY_DIM ( TREATMENT_HISTORY_ID NUMBER NOT NULL, TREATMENT_TYPE VARCHAR2(30), TREATMENT_TYPE_DESC VARCHAR2(200) ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCACHE NOPARALLEL; CREATE INDEX ACCNNB_IDX ON PROBESET_DIM (ACCESSION_NUMBER) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1720K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX ACP_ACCNUM_IDX ON ACC_CHR_POSITION (ACCESSION_NUM) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX ACP_CHROMOSOME_IDX ON ACC_CHR_POSITION (CHROMOSOME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AFAG_DISHIST_BIDX ON ARRAY_GENO_ABN_FACT (DISEASE_HISTORY_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AGAF_AGEGRP_BIDX ON ARRAY_GENO_ABN_FACT (AGE_GROUP) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGAF_CPNO_IDX ON ARRAY_GENO_ABN_FACT (COPY_NUMBER) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 129520K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGAF_CPV_IDX ON ARRAY_GENO_ABN_FACT (COPYNO_PVAL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AGAF_DATASET_BIDX ON ARRAY_GENO_ABN_FACT (DATASET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AGAF_DISTYPE_BIDX ON ARRAY_GENO_ABN_FACT (DISEASE_TYPE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AGAF_EXPPLAT_BIDX ON ARRAY_GENO_ABN_FACT (EXP_PLATFORM_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AGAF_INST_BIDX ON ARRAY_GENO_ABN_FACT (INSTITUTION_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGAF_LOH_IDX ON ARRAY_GENO_ABN_FACT (LOH) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGAF_SNPID_IDX ON ARRAY_GENO_ABN_FACT (SNP_PROBESET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 129504K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGAF_SNPNM_IDX ON ARRAY_GENO_ABN_FACT (SNP_PROBESET_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 194232K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AGAF_SURLEG_BIDX ON ARRAY_GENO_ABN_FACT (SURVIVAL_LENGTH_RANGE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGF_CHROM_IDX ON ARRAY_GENO_ABN_FACT (CHROMOSOME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGF_CYTOBAND_IDX ON ARRAY_GENO_ABN_FACT (CYTOBAND) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 129560K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX AGF_SAM_IDX ON ARRAY_GENO_ABN_FACT (BIOSPECIMEN_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 129520K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX AGF_SEX_BIDX ON ARRAY_GENO_ABN_FACT (GENDER_CODE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 2320K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX BIOS_SAM_IDX ON BIOSPECIMEN_DIM (SAMPLE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX BIO_PTDID_IDX ON BIOSPECIMEN_DIM (PATIENT_DID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CB_CYTOBAND_IDX ON CYTOBAND_POSITION (CYTOBAND) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CB_END_IDX ON CYTOBAND_POSITION (CB_END_POS) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CB_START_IDX ON CYTOBAND_POSITION (CB_START) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CD_CYTOBAND_IDX ON CLONE_DIM (CYTOBAND) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CD_UPPER_CLONENM_IDX ON CLONE_DIM (UPPER("CLONE_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CD_UPPER_CYTOBAND_IDX ON CLONE_DIM (UPPER("CYTOBAND")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CLONENM_IDX ON CLONE_DIM (CLONE_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 680K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CP_CHRCYTOBAND_IDX ON CYTOBAND_POSITION (CHR_CYTOBAND) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CP_CHROM_IDX ON CYTOBAND_POSITION (CHROMOSOME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX CYTOBAND_IDX ON PROBESET_DIM (CYTOBAND) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1920K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DATANM_IDX ON STUDY_DATASET_DIM (DATASET_NAME) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_CLONEID_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (CLONE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_CLONENM_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (CLONE_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DEGF_DISEASETYPE_BIDX ON DIFFERENTIAL_EXPRESSION_GFACT (DISEASE_TYPE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DEGF_DISTYPE_BIDX ON DIFFERENTIAL_EXPRESSION_GFACT (DISEASE_TYPE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DEGF_DTATSET_BIDX ON DIFFERENTIAL_EXPRESSION_GFACT (DATASET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DEGF_EXPPLAT_BIDX ON DIFFERENTIAL_EXPRESSION_GFACT (EXP_PLATFORM_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_EXPR_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (EXPRESSION_RATIO) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_GSYMBOL_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DEGF_INST_BIDX ON DIFFERENTIAL_EXPRESSION_GFACT (INSTITUTION_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_NORMI_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (NORMAL_INTENSITY) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_PROID_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (PROBESET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_PRONM_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (PROBESET_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_RPV_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (RATIO_PVAL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_UPPER_CLONENM_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (UPPER("CLONE_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_UPPER_GSYMBOL_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (UPPER("GENE_SYMBOL")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DEGF_UPPER_PROBNM_IDX ON DIFFERENTIAL_EXPRESSION_GFACT (UPPER("PROBESET_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_AGEGRP_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (AGE_GROUP) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_BIOSPID_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (BIOSPECIMEN_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_CLONEID_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (CLONE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_CLONENM_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (CLONE_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_CYTOBAND_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (CYTOBAND) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_DATASET_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (DATASET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_DISEASETYPE_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (DISEASE_TYPE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_DISHISTO_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (DISEASE_HISTORY_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_DISTYPE_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (DISEASE_TYPE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_EXPPLAT_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (EXP_PLATFORM_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_EXPR_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (EXPRESSION_RATIO) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_GENDER_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (GENDER_CODE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_GSYMBOL_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_INST_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (INSTITUTION_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_NORMI_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (NORMAL_INTENSITY) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_PROSETID_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (PROBESET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_PROSETNM_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (PROBESET_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_SAMI_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (SAMPLE_INTENSITY) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_SAMPLEID_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (SAMPLE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE BITMAP INDEX DESF_SURLENG_BIDX ON DIFFERENTIAL_EXPRESSION_SFACT (SURVIV_LENGTH_RANGE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_UPPER_CLONENM_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (UPPER("CLONE_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_UPPER_GSYMBOL_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (UPPER("GENE_SYMBOL")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DESF_UPPER_PROBNM_IDX ON DIFFERENTIAL_EXPRESSION_SFACT (UPPER("PROBESET_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DG_GRADEID_IDX ON DISEASE_GRADE (GRADE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX DG_GRADE_IDX ON DISEASE_GRADE (GRADE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX EXPNM_IDX ON EXP_PLATFORM_DIM (EXP_PLATFORM_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GC_ACC_IDX ON GENE_CLONE (ACCESSION_NUMBER) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1560K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GC_GSYMBOL_IDX ON GENE_CLONE (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1040K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GC_IMAGEID_IDX ON GENE_CLONE (IMAGE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1560K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GC_LLID_IDX ON GENE_CLONE (LL_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 680K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GC_UPGENE_IDX ON GENE_CLONE (UP_GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GC_UPPER_GSYMBOL_IDX ON GENE_CLONE (UPPER("GENE_SYMBOL")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GENE_CLONE_IND ON GENE_CLONE (CLONE_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1056K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GLACS_ACC_IDX ON GENE_LL_ACC_SNP (ACCESSION) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GLAS_CHR_BIDX ON GENE_LL_ACC_SNP (CHROMOSOME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GLAS_GENE_IDX ON GENE_LL_ACC_SNP (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GLAS_LLID_IDX ON GENE_LL_ACC_SNP (LL_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GLAS_SNPID_IDX ON GENE_LL_ACC_SNP (SNP_PROBESET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GLAS_SNPNM_IDX ON GENE_LL_ACC_SNP (PROBESET_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GLAS_UPGENE_IDX ON GENE_LL_ACC_SNP (UP_GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GO_GONM_IDX ON GENE_ONTOLOGY (GO_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 3440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GO_NGOIDX_IDX ON GENE_ONTOLOGY (GO_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GO_SYMBOL_IDX ON GENE_ONTOLOGY (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1560K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GO_UPGENE_IDX ON GENE_ONTOLOGY (UP_GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GO_UPPER_GSYMBOL_IDX ON GENE_ONTOLOGY (UPPER("GENE_SYMBOL")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GP_GSYMBOL_IDX ON GENE_PATHWAY (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 160K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GP_PATHNM_IDX ON GENE_PATHWAY (PATHWAY_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 160K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GP_UPPER_GSYMBOL_IDX ON GENE_PATHWAY (UPPER("GENE_SYMBOL")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GP_UPPER_PATHWAY_IDX ON GENE_PATHWAY (UPPER("PATHWAY_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GS_GENE_IDX ON GENE_SNP (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GS_SNPID_IDX ON GENE_SNP (SNP_PROBESET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GS_SNPNM_IDX ON GENE_SNP (PROBESET_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX GS_UPGENE_IDX ON GENE_SNP (UP_GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX INSD_INSTNM_IDX ON INSTITUTION_DIM (INSTITUTION_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX LS_LLID_IDX ON LL_SNP (LL_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX LS_SNPID_IDX ON LL_SNP (SNP_PROBESET_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX LS_SNPNM_IDX ON LL_SNP (PROBESET_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_CHROM_IDX ON PROBESET_DIM (CHROMOSOME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1040K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_KBEND_IDX ON PROBESET_DIM (KB_END) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1040K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_KBSTART_IDX ON PROBESET_DIM (KB_START) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1040K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_LLID_IDX ON PROBESET_DIM (LL_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1040K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_UPGENE_IDX ON PROBESET_DIM (UP_GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_UPPER_CYTOBAND_IDX ON PROBESET_DIM (UPPER("CYTOBAND")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_UPPER_GSYMBOL_IDX ON PROBESET_DIM (UPPER("GENE_SYMBOL")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PD_UPPER_PROBNM_IDX ON PROBESET_DIM (UPPER("PROBESET_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PROBENM_IDX ON PROBESET_DIM (PROBESET_NAME) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1560K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PS_SYMBOL_IDX ON PROBESET_DIM (GENE_SYMBOL) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1536K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PTD_AGE_IDX ON PATIENT_DATA (AGE) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PTD_BIOID_IDX ON PATIENT_DATA (BIOSPECIMEN_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX PTD_SUR_IDX ON PATIENT_DATA (SURVIVAL_LENGTH) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX SNPDM_PRONM_IDX ON SNP_PROBESET_DIM (PROBESET_NAME) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 3440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX SNPPD_CYTOBAND_IDX ON SNP_PROBESET_DIM (CYTOBAND) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 3472K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX SNPPD_DBSNP_IDX ON SNP_PROBESET_DIM (DB_SNP_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 5M MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX SNPPD_PHYSPOS_IDX ON SNP_PROBESET_DIM (PHYSICAL_POSITION) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 2320K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX SNPPD_UPPER_CYTOBAND_IDX ON SNP_PROBESET_DIM (UPPER("CYTOBAND")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE INDEX SNPPD_UPPER_PROBNM_IDX ON SNP_PROBESET_DIM (UPPER("PROBESET_NAME")) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKAGENT ON AGENT_DIM (AGENT_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKAGE_GROUP_DX ON AGE_GROUP_DX_DIM (AGE_GROUP) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKARRAY_PLATFORM_DIM ON EXP_PLATFORM_DIM (EXP_PLATFORM_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKBIOSPECIMEN_DIM ON BIOSPECIMEN_DIM (BIOSPECIMEN_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKCLONE_DIM ON CLONE_DIM (CLONE_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKCYTOBAND_POSITION ON CYTOBAND_POSITION (CYTOBAND_POSITION_ID) LOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKDETECTION_TYPE_STG ON DETECTION_TYPE (DETECTION_TYPE_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKDIFFERENTIAL_EXPRESSION_FAC ON DIFFERENTIAL_EXPRESSION_GFACT (DEG_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 7640K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKDISEASE_HISTORY ON DISEASE_HISTORY_DIM (DISEASE_HISTORY_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKDISEASE_TYPE_DIM ON DISEASE_TYPE_DIM (DISEASE_TYPE_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKGENDER ON GENDER_DIM (GENDER_CODE) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKINSTITUTION_DIM ON INSTITUTION_DIM (INSTITUTION_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKPATIENT ON PATIENT (PATIENT_DID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKPOPULATION_TYPE ON POPULATION_TYPE (POPULATION_TYPE_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKSTUDY_DATASET_DIM ON STUDY_DATASET_DIM (DATASET_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKSTUDY_PHASE ON STUDY_TIMECOURSE_DIM (TIMECOURSE_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKSURVIVAL_LENGTH_RANGE ON SURVIVAL_LENGTH_RANGE_DIM (SURVIVAL_LENGTH_RANGE) NOLOGGING TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; CREATE UNIQUE INDEX XPKTREATMENT_HISTORY ON TREATMENT_HISTORY_DIM (TREATMENT_HISTORY_ID) LOGGING TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL; ALTER TABLE AGENT_DIM ADD ( PRIMARY KEY (AGENT_ID)); ALTER TABLE AGE_GROUP_DX_DIM ADD ( PRIMARY KEY (AGE_GROUP)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( PRIMARY KEY (AGA_ID) USING INDEX TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 129560K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 )); ALTER TABLE BIOSPECIMEN_DIM ADD ( PRIMARY KEY (BIOSPECIMEN_ID)); ALTER TABLE CLONE_DIM ADD ( PRIMARY KEY (CLONE_ID)); ALTER TABLE CYTOBAND_POSITION ADD ( PRIMARY KEY (CYTOBAND_POSITION_ID)); ALTER TABLE DETECTION_TYPE ADD ( PRIMARY KEY (DETECTION_TYPE_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT ADD ( PRIMARY KEY (DEG_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( PRIMARY KEY (DES_ID) USING INDEX TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 86440K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 )); ALTER TABLE DISEASE_HISTORY_DIM ADD ( PRIMARY KEY (DISEASE_HISTORY_ID)); ALTER TABLE DISEASE_TYPE_DIM ADD ( PRIMARY KEY (DISEASE_TYPE_ID)); ALTER TABLE EXP_PLATFORM_DIM ADD ( PRIMARY KEY (EXP_PLATFORM_ID)); ALTER TABLE GENDER_DIM ADD ( PRIMARY KEY (GENDER_CODE)); ALTER TABLE GENE_CLONE ADD ( PRIMARY KEY (GENE_CLONE_ID) USING INDEX TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 680K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 )); ALTER TABLE GENO_ABN_TYPE ADD ( PRIMARY KEY (GENO_ABN_TYPE) USING INDEX TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 )); ALTER TABLE INSTITUTION_DIM ADD ( PRIMARY KEY (INSTITUTION_ID)); ALTER TABLE LOSS_GAIN_CODE ADD ( PRIMARY KEY (LOSS_GAIN) USING INDEX TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 40K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 )); ALTER TABLE PATIENT ADD ( PRIMARY KEY (PATIENT_DID)); ALTER TABLE POPULATION_TYPE ADD ( PRIMARY KEY (POPULATION_TYPE_ID)); ALTER TABLE PROBESET_DIM ADD ( PRIMARY KEY (PROBESET_ID) USING INDEX TABLESPACE USERS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 1320K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 )); ALTER TABLE SNP_PROBESET_DIM ADD ( PRIMARY KEY (SNP_PROBESET_ID) USING INDEX TABLESPACE NAUTILUS PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 2320K MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 )); ALTER TABLE STUDY_DATASET_DIM ADD ( PRIMARY KEY (DATASET_ID)); ALTER TABLE STUDY_TIMECOURSE_DIM ADD ( PRIMARY KEY (TIMECOURSE_ID)); ALTER TABLE SURVIVAL_LENGTH_RANGE_DIM ADD ( PRIMARY KEY (SURVIVAL_LENGTH_RANGE)); ALTER TABLE TREATMENT_HISTORY_DIM ADD ( PRIMARY KEY (TREATMENT_HISTORY_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (TIMECOURSE_ID) REFERENCES STUDY_TIMECOURSE_DIM (TIMECOURSE_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (EXP_PLATFORM_ID) REFERENCES EXP_PLATFORM_DIM (EXP_PLATFORM_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (GENDER_CODE) REFERENCES GENDER_DIM (GENDER_CODE)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (DATASET_ID) REFERENCES STUDY_DATASET_DIM (DATASET_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (INSTITUTION_ID) REFERENCES INSTITUTION_DIM (INSTITUTION_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (DISEASE_TYPE_ID) REFERENCES DISEASE_TYPE_DIM (DISEASE_TYPE_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (SNP_PROBESET_ID) REFERENCES SNP_PROBESET_DIM (SNP_PROBESET_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (AGENT_ID) REFERENCES AGENT_DIM (AGENT_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (TREATMENT_HISTORY_ID) REFERENCES TREATMENT_HISTORY_DIM (TREATMENT_HISTORY_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (DISEASE_HISTORY_ID) REFERENCES DISEASE_HISTORY_DIM (DISEASE_HISTORY_ID)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (AGE_GROUP) REFERENCES AGE_GROUP_DX_DIM (AGE_GROUP)); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (SURVIVAL_LENGTH_RANGE) REFERENCES SURVIVAL_LENGTH_RANGE_DIM (SURVIVAL_LENGTH_RANGE) DISABLE); ALTER TABLE ARRAY_GENO_ABN_FACT ADD ( FOREIGN KEY (BIOSPECIMEN_ID) REFERENCES BIOSPECIMEN_DIM (BIOSPECIMEN_ID)); ALTER TABLE BIOSPECIMEN_DIM ADD ( FOREIGN KEY (PATIENT_DID) REFERENCES PATIENT (PATIENT_DID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT ADD ( FOREIGN KEY (CLONE_ID) REFERENCES CLONE_DIM (CLONE_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT ADD ( FOREIGN KEY (EXP_PLATFORM_ID) REFERENCES EXP_PLATFORM_DIM (EXP_PLATFORM_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT ADD ( FOREIGN KEY (INSTITUTION_ID) REFERENCES INSTITUTION_DIM (INSTITUTION_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT ADD ( FOREIGN KEY (DATASET_ID) REFERENCES STUDY_DATASET_DIM (DATASET_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT ADD ( FOREIGN KEY (DISEASE_TYPE_ID) REFERENCES DISEASE_TYPE_DIM (DISEASE_TYPE_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_GFACT ADD ( FOREIGN KEY (PROBESET_ID) REFERENCES PROBESET_DIM (PROBESET_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (AGENT_ID) REFERENCES AGENT_DIM (AGENT_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (TREATMENT_HISTORY_ID) REFERENCES TREATMENT_HISTORY_DIM (TREATMENT_HISTORY_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (DISEASE_HISTORY_ID) REFERENCES DISEASE_HISTORY_DIM (DISEASE_HISTORY_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (AGE_GROUP) REFERENCES AGE_GROUP_DX_DIM (AGE_GROUP)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (BIOSPECIMEN_ID) REFERENCES BIOSPECIMEN_DIM (BIOSPECIMEN_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (TIMECOURSE_ID) REFERENCES STUDY_TIMECOURSE_DIM (TIMECOURSE_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (EXP_PLATFORM_ID) REFERENCES EXP_PLATFORM_DIM (EXP_PLATFORM_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (GENDER_CODE) REFERENCES GENDER_DIM (GENDER_CODE)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (DATASET_ID) REFERENCES STUDY_DATASET_DIM (DATASET_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (INSTITUTION_ID) REFERENCES INSTITUTION_DIM (INSTITUTION_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (PROBESET_ID) REFERENCES PROBESET_DIM (PROBESET_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (CLONE_ID) REFERENCES CLONE_DIM (CLONE_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (DISEASE_TYPE_ID) REFERENCES DISEASE_TYPE_DIM (DISEASE_TYPE_ID)); ALTER TABLE DIFFERENTIAL_EXPRESSION_SFACT ADD ( FOREIGN KEY (SURVIV_LENGTH_RANGE) REFERENCES SURVIVAL_LENGTH_RANGE_DIM (SURVIVAL_LENGTH_RANGE) DISABLE); ALTER TABLE PATIENT ADD ( FOREIGN KEY (POPULATION_TYPE_ID) REFERENCES POPULATION_TYPE (POPULATION_TYPE_ID)); ALTER TABLE PROTEIN_FAMILY ADD ( FOREIGN KEY (PROBESET_ID) REFERENCES PROBESET_DIM (PROBESET_ID)); ALTER TABLE SWISSPROT ADD ( FOREIGN KEY (PROBESET_ID) REFERENCES PROBESET_DIM (PROBESET_ID)); GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON AGENT_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON AGE_GROUP_DX_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON ARRAY_GENO_ABN_FACT TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON BIOSPECIMEN_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON CLONE_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON CYTOBAND_POSITION TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON DETECTION_TYPE TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON DIFFERENTIAL_EXPRESSION_GFACT TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON DIFFERENTIAL_EXPRESSION_SFACT TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON DISEASE_GRADE TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON DISEASE_HISTORY_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON DISEASE_TYPE_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON EXP_PLATFORM_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON GENDER_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON GENE_CLONE TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON GENE_ONTOLOGY TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON GENE_PATHWAY TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON GENO_ABN_TYPE TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON INSTITUTION_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON LOSS_GAIN_CODE TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON PATIENT TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON POPULATION_TYPE TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON PROBESET_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON PROTEIN_FAMILY TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON REFSEQ_MRNA_ID TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON REFSEQ_PROTEIN_ID TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON SNP_PROBESET_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON STUDY_DATASET_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON STUDY_TIMECOURSE_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON SURVIVAL_LENGTH_RANGE_DIM TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON SWISSPROT TO NAUTILUSDEV2; GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK ON TREATMENT_HISTORY_DIM TO NAUTILUSDEV2;
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 10, 2021 at 09:26 PM -- 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: `client_heavenly-loves-cemetery` -- -- -------------------------------------------------------- -- -- Table structure for table `cemetery` -- CREATE TABLE `cemetery` ( `id` int(255) NOT NULL, `user_id` int(255) DEFAULT NULL, `title` varchar(255) NOT NULL, `street` varchar(255) NOT NULL, `zip` varchar(255) NOT NULL, `longitude` varchar(255) NOT NULL, `latitude` varchar(255) NOT NULL, `phone` varchar(255) NOT NULL, `image` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `cemetery` -- INSERT INTO `cemetery` (`id`, `user_id`, `title`, `street`, `zip`, `longitude`, `latitude`, `phone`, `image`) VALUES (1, NULL, 'Rest Haven Memorial Park', '10209 Plainfield Rd Cincinnati', 'OH 45241', '-84.395756', '39.251561', '(513) 322-3857', 'Haven-Memorial.png'), (2, NULL, 'Butler County Memorial Park', '4570 Trenton-Oxford Rd Hamilton', 'OH 45011', '-84.505109', '39.482748', '(513) 830-5016', 'County-Memorial.jpg'), (3, NULL, 'Crown Hill Memorial Park & Mausoleum', '11825 Pippin Rd Cincinnati', 'OH 45231', '-84.571554', '39.299629', '(513) 214-2426', 'Crown-Hill-Memorial.jpg'), (4, NULL, 'Crown Hill Cemetery', '8592 Darrow Rd Twinsburg', 'OH 44087', '-81.440899', '41.300583', '(330) 734-6142', 'Crown-Hill-Cemetery.jpg'), (5, NULL, 'Highland Memorial Park Beloit', '264 S 12th St, Beloit', 'OH 44609', '-81.012082', '40.897717', '(330) 267-2581', 'Highland-Memorial.jpg'), (6, NULL, 'Alger Cemetery', '16710 Bradgate Ave, Cleveland', 'OH 44111', '-81.81323', '41.44791', '(216) 348-7216', 'cbk.jpg'), (7, NULL, 'Scranton Cemetery', 'Scranton Rd & Wade Ave, Cleveland', 'OH 44113', '-81.696377', '41.473557', '(216) 348-7210', 'Scranton_Cemetery.jpg'); -- -------------------------------------------------------- -- -- Table structure for table `obituary` -- CREATE TABLE `obituary` ( `id` int(255) NOT NULL, `user_id` int(255) DEFAULT NULL, `person_name` varchar(255) NOT NULL, `dates` text NOT NULL, `prayers` text NOT NULL, `image` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `obituary` -- INSERT INTO `obituary` (`id`, `user_id`, `person_name`, `dates`, `prayers`, `image`) VALUES (1, NULL, '<NAME>', '06/25/2015 - 06/25/2015', '<NAME> (44) called to eternal rest on June 25, 2015. Viewing Wednesday, July 1, 2015, at GAINES FUNERAL HOME 9116 Union Avenue 3:00 pm – 7:00 pm where funeral service will be held Thursday, July 2, 2015. Wake 10:00 am Funeral 10:30 am.', 'person1.png'), (2, NULL, '<NAME>', '03/15/1913 - 04/05/2015', 'In Loving Memory of Pearl Floyd March 15, 1913 – April 5, 2015. A lovely women left us with grief but beautiful memories of her', 'person4.png'), (3, NULL, '<NAME>', '05/15/1965 - 04/02/2014', 'I’d like the memory of me to be a happy one, I’d like to leave and afterglow when life is one, I’d like to leave and echo whispering softly down the ways, of happy time and laughing times and bright and sunny days. I’d like the tears of those who grieve, to dry before the sun Of happy memories that I leave when life is done. In Loving Memory of <NAME>ter May 15, 1965 – April 2, 2014.', 'person2.png'), (4, NULL, '<NAME> Sr', '08/09/1952 - 11/13/2020', 'On November 13, 2020 Jesse departed this life and went home to be with God and his mother. He leaves behind to cherish his memory his beloved wife <NAME>, son, <NAME> Jr., <NAME> Antonio; daughters, <NAME> and Jessica; sisters, <NAME>. (James) Isler, <NAME>, <NAME>, <NAME> (Joseph) Pinnock and <NAME>; brothers, <NAME> (<NAME>ose) Johnson and <NAME>; along with a host of grandchildren, nieces and nephews.', '3217563305.jpg'), (5, NULL, '<NAME>', '09/01/1925 - 11/16/2020', '<NAME>, age 95, went home to be with the Lord on November 16, 2020.\r\n\r\nMy<NAME> departed this life and went to be with the Lord at the age of 95 on November 16, 2020. She leaves to cherish her memory two sons and daughter in laws, <NAME>orton (Cheryl) of Cleveland, OH, Stanley Horton (Sheilah) of Newton, MA and a step daughter, Virginia Barker of Cleveland, OH, four sisters: <NAME>ams of Chattanooga, TN; Roberta Dews and <NAME> of Chickamauga, GA; <NAME> Clemons of Reminderville, OH; and brother, <NAME>, Jr. (Mildred) of Lylerly, GA and many nieces, nephews, grandchildren, great grandchildren and a great, great grandchild.\r\n\r\nShe is preceded in death by her devoted husband, <NAME>, her parents, Lillian and <NAME>, Sr., her siblings <NAME>, <NAME>, <NAME>, Sr. and and her grandson, <NAME>.', '143430731.jpg'), (6, NULL, '<NAME>', '05/12/1936 - 11/14/2020', '<NAME>, age 84, went home to be with the Lord on November 14, 2020. Lola was proceeded in death by her parents, Essie and <NAME>; sisters, <NAME>, <NAME>, and <NAME>; brothers Essie, Jr., James, and <NAME>. She leaves to cherish her memory; daughter, <NAME> (John); grandsons; Arnold, Aaron, <NAME>, and <NAME>; her sister, <NAME>; brothers, Ike, John, Clarence, and <NAME>, twelve great-grandchildren and a host of nieces, nephews, cousins, and friends.', '38537459.jpg'), (7, NULL, 'Supt. <NAME> Sr', '07/11/1927 - 11/16/2020', '<NAME> Sr., age 93, went home to be with the Lord on November 16, 2020.\r\n\r\n<NAME>, Sr., was born July 11, 1927 in Birmingham, Alabama, to the late <NAME> and Evangelist Mahala <NAME>. Robert accepted Jesus as his Lord and Savior at very early age. He was called to the ministry at age 13, but did not acknowledge it because of his desire to be a lawyer. At age 20, after much introspection and his desire to be obedient and do God’s will, he finally acknowledged and accepted his calling to preach the gospel.\r\n\r\n \r\n\r\nAfter graduating from Warren G. Harding High School (Warren, OH) in 1946, Robert enlisted into the United States Army/ Air Force. After receiving an honorable discharge, Robert attended Youngstown University where he studied photography and law. Robert transferred to Cleveland Bible College (Malone College), earning two Bachelor’s degrees in Theology and Religious Education in 1953 and 1954 respectively. Robert was employed at Republic Steel, White Motors Company; and served as the Director at Stark County Community Action Agency (SCCAA).\r\n\r\nWhile attending Williams Temple Church of God in Christ, Robert met the lovely Dorothy <NAME>, the daughter of the late Bishop <NAME>. In May 1950, Robert and Dorothy married in Cleveland, Ohio. From this union, they welcomed four beautiful children: <NAME>, <NAME>, <NAME> and <NAME>, Jr. Robert and Dorothy were married for 51 years until Dorothy’s passing in 2001.\r\n\r\nRobert was blessed to receive his early ministry training and experience at Williams Temple Church of God in Christ under his late father-in-law, Bishop <NAME>. In or about 1967, Robert was appointed Pastor of St. Paul Church of God in Christ, Massillon, OH. He and his family traveled the highways from Cleveland to Massillon for several years. In 1974, the family relocated to Massillon, OH. Robert was also called to evangelize and conduct revivals throughout the state of Ohio for many years. After a revival conducted in Cleveland, he was asked to return to serve as Interim/Assistant Pastor at Hayes Temple, on behalf of Pastor <NAME>. After four years, Robert was officially appointed Pastor at Hayes Temple in 1982. Robert retired as Pastor of Hayes Temple Church of God in Christ in December 2014. For several years, Robert hosted a radio broadcast on WABQ entitled “Stop Now: It’s Praying Time.” How apropos, considering todays trying times. Robert was an avid reader, and housed a library of over 10,000 books. He would spend hours upon hours reading the word of God, as well as English literature, psychology, the sciences, art, law, etc. He was often referred to as a Theologian.\r\n\r\nRobert faithfully served under, Ohio North and Ohio Central under the leadership of his late father-in law, Bishop <NAME>, the late Bishop U.E. Miller, the late Bishop <NAME>, the late Bishop <NAME>, the late Bishop Warren Miller, the late Bishop <NAME>, Bishop <NAME> and currently under Bishop <NAME>.\r\n\r\nEven as he faced challenges in his health, Robert stayed true to his message “Stay in the Word.” On Monday, November 16, 2020, God told him,” Truly I tell you, today you will be with me in paradise.” Preceding him in death were his parents <NAME>, <NAME>, his beloved Dorothy <NAME>, daughters, <NAME> and <NAME>.\r\n\r\nRobert leaves to cherish his memory: his children, <NAME>, <NAME>, Jr., (Robin), grandchildren, <NAME>, <NAME>, <NAME> (Darnell), <NAME>, <NAME>, III, <NAME>, <NAME>, <NAME> and <NAME>; and 15 great grandchildren, cousins <NAME>, <NAME> and <NAME>, spiritual children <NAME> and <NAME>, along with many nieces, nephews, great-nieces, great-nephews, cousins, and a host of friends. Special thanks to his caregivers, Aultman Hospice and Palliative Care Center, Ms. <NAME>, Ms. <NAME> and Ms. <NAME>!', '1378791782.jpg'), (8, NULL, '<NAME>', '04/21/1988 - 11/18/2020', 'The Celebration of Life will be held on Friday, November 27, 2020 Wake: 10:00 a.m. Funeral: 10:30 a.m. at THE CALHOUN FUNERAL HOME, 23000 Rockside Road, Bedford Heights, Ohio, 44146.\r\n\r\nBy<NAME>, age 32, went home to be with the Lord on November 18, 2020.', '317502468.jpeg'), (9, NULL, '<NAME>', '02/23/1929 - 11/19/2020', 'Tuesday, November 24, 2020, from 2-8p.m. at THE CALHOUN FUNERAL HOME 23000 Rockside Rd. Bedford Hts. OH, 44146.\r\n\r\n<NAME>, age 91, went home to be with the Lord on November 19, 2020.', '1556486534.jpg'), (10, NULL, '<NAME>', '07/14/1950 - 11/16/2020', 'Tuesday, November 24, 2020, at THE CALHOUN FUNERAL HOME 17010 Lakeshore Blvd. Cleveland, OH 44110 Time 2:00PM ~ 8:00PM. \r\n\r\nShe leaves to forever cherish her memory her loving daughters, <NAME> (Damon), <NAME> and <NAME>; loving sister <NAME> (Jackie); her only loving grandson, <NAME>r.; caregiver, <NAME>; and a host of nieces, nephews, friend and loved ones. Verita is preceded in death by her parents, Oliver and <NAME>, Sister Be<NAME>; brother <NAME>; and daughter <NAME>.', '96852198.jpg'), (11, NULL, '<NAME>', '03/28/1963 - 11/21/2020', '<NAME>, age 57, went home to be with the Lord on November 21, 2020. Barbara is survived by her mother <NAME>; children, <NAME> III(Delisha), <NAME>, <NAME>(Terrell), <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>; siblings, <NAME>(Jimmie), <NAME>(Darnell); grandchildren, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> Jr., and <NAME>. Barbara is the daughter of the late, <NAME>. She is also preceded in death by her beloved husband, <NAME>.', 'Barbara_Annette_Graham-Murray.jpg'), (12, NULL, '<NAME>, Sr.', '05/21/1948 - 11/22/2020', 'Monday, November 30, 2020 from 2-8p.m. at THE CALHOUN FUNERAL HOME 23000 Rockside Rd. Bedford Hts. OH, 44146.', 'Dwayne_Thomas.jpg'), (13, NULL, '<NAME>', '07/24/1927 - 11/21/2020', '<NAME> was born on July 24, 1927 in Roanoke, VA. Her parents, James (Jason) <NAME> and Annie (Doll) Virgin<NAME>, moved to West Virginia in the early 1920’s. Helen spent most of her youth growing up in West Virginia.\r\n\r\nAs a young adult, she met a drafting student from Alabama who attended West Virginia State University named <NAME>. After dating, they married in 1951 and settled in Cleveland , Ohio. Helen and James had two children: <NAME> (daughter) and <NAME> Jr., (son).\r\n\r\n<NAME>, Sr. became a respected architect in Cleveland, and Helen was a well-liked and well-appreciated homemaker. Not only did she have the responsibility of taking care of her own home, she also took care of other families for years.\r\n\r\nHelen was a devoted wife, mother, and grandmother that everyone loved and wanted to spend time with. She was someone who was very opinionated and brutally honest. She had a great appreciation for the outdoors, while enjoying fishing and spending time in her garden. She loved to sew and crochet. She, also, adored cooking and making lay-based pottery and ceramics. She was a fan of old western movies and n advent to the holiday season, ensuring that each and every one of her grandchildren received a gift. She was a compassionate matriarch and always there in time of need. Family or not, she was everyone’s grandma!\r\n\r\nHelen is survived by her two sisters, <NAME> and <NAME>; two children, <NAME> and <NAME> Jr.; grandchildren, <NAME>, Theon Teal, (<NAME>), <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>. She has 25 great-grandchildren, 5 great-great-grandchildren, and a host of nieces ad nephews. Helen will be missed by all who knew and loved her.', 'Helen_Daniels.jpg'), (14, NULL, '<NAME>', '04/21/1988 - 11/18/2020', 'On April 21, 1988, our Heavenly Father placed an angel on earth to bless us with his loving heart, overwhelming generosity, captivating charm, contagious smile, and brilliance. This “Earthly Angel” was <NAME>. He was born the youngest of three children in Cleveland, Ohio to the union of Vincent and <NAME>. Byron, often very quiet in nature, was a “loud giant” when it came to his earthly angelic tasks, because his goal was to always help others in whatever way possible and to make people smile and laugh on life’s journey. On November 18, 2020, our Heavenly Father told Byron that his angelic task of providing blessings to others on earth was complete and it was time for him to come to his heavenly home.\r\n\r\nByron accepted his task as an “Earthly Angel” when he accepted Jesus Christ as his personal Lord and Savior at an early age at New Community Bible Fellowship located in Cleveland Heights, Ohio. The job of an Angel is to bring peace to difficult situations and help people to remain calm and relaxed. Byron never wanted anyone to stress over any situation and would make sure that he would provide comedic relief to ease all tension.\r\n\r\nAs a child, Byron displayed his angelic charm through modeling. His success in modeling landed him a contract with a major modeling agency in New York and he won the American International Competition for his age division. Byron was one who believed in the fact that, “the more one learns, the better off one will be.” Byron was a graduate of the 2006 Class of Shaker Heights High School in Shaker Heights, Ohio. While at Shaker Heights High School, Byron excelled as the star wide receiver for the Red Raiders and was the top pick for the East West Conference Championship game in 2006. He was awarded a scholarship to play at Kentucky State University located in Frankfort, Kentucky. While at Kentucky State, Byron played wide receiver for the “Thorobreds”. He later enrolled at The University of Toledo in Toledo, Ohio. He received an Associate’s Degree in Business from Tri-C Community College in Cleveland, Ohio.\r\n\r\nAfter college, he began his career working with his parents, Vincent and Robin, to manage their State Farm Agency located in Shaker Heights, Ohio. He also pursued a career in real estate and worked with Century 21 as a Real Estate Agent. Byron was very progressive, goal-oriented, and had an intrinsic entrepreneurial spirit. He flourished in his entrepreneurial endeavors. He never failed to exemplify his angelic spirit at work and there are numerous individuals whom he impacted with his presence.\r\n\r\nByron was a world traveler. His journey took him to various locations in Europe such as the following: Paris, France; London, England; Barcelona, Spain; and several locations in Italy. Byron was also an avid reader. His favorite book was the Holy Bible and he loved books on leadership development and novels. This was a great source of comfort to him.\r\n\r\nByron always displayed his angelic spirit by showing his commitment to others through public service. He was a strong supporter of his community. Byron’s favorite past times were spent on a golf course, shopping for the latest fashions, watching his favorite football team, and taking care of his dog, Blaze. Sunday afternoons were overtaken with phone calls to his siblings and parents talking about the football games.\r\n\r\nByron was convinced that his most important task as an “Earthly Angel” was to make sure that everyone knows that the greatest asset in life is family. Spending time with his family was a significant key to his success and happiness. He never hesitated to make sure that his parents always had whatever they needed. He worked diligently and tirelessly to help them succeed in their business and enjoyed traveling across the country with them. They were his best friends. As a brother, he was the typical “little brother” always making his siblings laugh and always being their biggest cheerleader. He was the epitome of an uncle. His nephews never lacked in love, communication, guidance, and a friend in “Uncle Man Man”. Byron forever cherished the memories of those family members who preceded him in death: his maternal grandmother, <NAME>, affectionately known as “Grandmommy”; his paternal grandmother, <NAME>, affectionately known as “Grandma”; and his beloved great-grandmother, <NAME>, who was affectionately known as “Goggie”.\r\n\r\nByron’s “Earthly Angelic” journey will forever be cherished and celebrated by the following: parents, Vincent and <NAME> of Solon, Ohio; brother, <NAME> of Bedford Heights, Ohio; sister, Loren (Billy) Walker of Nashville (Brentwood), Tennessee; maternal grandfather, <NAME> of Cleveland, Ohio; nephew, Billy (Trace) Walker, III of Nashville (Brentwood), Tennessee; nephew, Qaiden Gorman of Bedford Heights, Ohio; nephew, Braxton Walker of Nashville (Brentwood), Tennessee; Uncles; Aunts; and a host of cousins.\r\n\r\nByron <NAME> was truly an “Angel on Earth”!', 'Byron_Gorman.jpg'), (15, NULL, '<NAME>', '10/13/1971 - 11/24/2020', 'Adrian is survived by his significant other <NAME>; parents, <NAME> (father), <NAME> (mother); Children, <NAME>; Siblings, <NAME> (Brother) <NAME> (brother), <NAME> (brother), <NAME> (Brother), and a host of family and friends.', 'Adrian_C__Franklin.jpg'), (16, NULL, '<NAME>', '08/27/1928 - 11/25/2020', '<NAME>, age 92, went home to be with the Lord on November 25, 2020. Herman is preceded in death by his parents, <NAME> and <NAME>; grandson, <NAME> Jr. He leaves to cherish his memories, his loving wife, Irene; daughter, <NAME>; grandchildren, <NAME> and <NAME> Sr.; great-grandchildren, <NAME> Jr., and <NAME>', 'Herman_Turntine.jpg'), (17, NULL, '<NAME>', '02/05/1937 - 11/22/2020', 'Mr. <NAME> was born on February 5, 1937, to Oral Bush and <NAME> in Columbus, Mississippi. Eddie moved to Akron, Ohio at a young age and attended North High School. After high school, he went on to work with his stepfather at the U.S. Concrete Company for many years until the company closed operations in the late 1970s. Later, Eddie worked as a water quality control manager with the City of Akron until he retired in 2001. Eddie was a “go-to” employee at the City of Akron’s Water Department at Lake Rockwell and on several occasions was highlighted as an employee of the month.\r\n\r\nAs the proud captain of his 8-man motorboat, Eddie was an avid fisherman and could often be found on rivers, lakes, and streams all over the Northern Ohio region. Whenever the Blue Gills were biting or the White Bass were running, you could expect to see him ready for a fun outdoor adventure.\r\n\r\nEddie was a conservative person who enjoyed the simple things in life like sitting with his wife and playing cards. He was an avid and competitive 500 Rummy and Tonk card player who enjoyed winning, even when he didn’t.\r\n\r\nHe is preceded in death by his wife Mrs. <NAME>, father, Oral Bush, his mother, <NAME>, and stepfather, <NAME>, and daughter <NAME>.\r\n\r\nHis legacy is secured by his children which include Daughters: <NAME>, <NAME>, Starlett (Damon, Sr)Mitchell, <NAME>, and Sandra (Samuel) DeShazior; Sons: <NAME>, <NAME>, and <NAME>. He also leaves twenty-four grandchildren, a host of great-grandchildren, a great-great-grandchild, nieces, nephews, cousins, and friends. Also cherishing his memory is his “Uncle Son” <NAME>.\r\n\r\nTo God be the glory!!!', 'Eddie_Will_Bush.jpg'), (18, NULL, '<NAME>, III', '10/07/1963 - 11/24/2020', 'Tuesday, December 8, 2020, at 3:30 PM until time of service.', 'Willlie_G__Baker,_III.jpg'), (19, NULL, '<NAME>', '11/02/1927 - 11/26/2020', '<NAME>, age 93, went home to be with the Lord on November 26, 2020.', 'Jettie_Ruth_Fletcher.jpg'), (20, NULL, '<NAME>', '11/03/1941 - 11/25/2020', 'There will be a PRIVATE GRAVESIDE service held.\r\n\r\n<NAME>, age 79, went home to be with the Lord on November 25, 2020', 'Kenneth_C__Lard.jpeg'), (21, NULL, '<NAME>, II', '11/22/1982 - 11/22/2020', '<NAME> was born in Akron, Ohio on March 29, 1982 to <NAME>, Sr., and <NAME>-Brown.\r\n\r\nHe attended Akron Public Schools, graduating from <NAME> High School in 2000. Upon graduation, he enlisted and served in the United States Army, stationed at Fort Eustis, Virginia as an 88-M Motor Transport Operator for the 7th Group Transportation Co. Richard was currently employed by the Little Tikes Company in Hudson, Ohio. He also owned and operated a lawn care business coined, “One Man, One Lawnmower.”\r\n\r\n \r\n\r\nRichard was quick to show his smile and talk mess with the best. He was a diehard Cleveland Browns and New York Knicks fan. He enjoyed playing basketball and continued to play and coach the game until sidelined with a recent knee injury.\r\n\r\n \r\n\r\nGardening was in his blood and he would continually test an inherited green-thumb in his backyard, experimenting with a variety of vegetables and plants. He also had a real joy and talent for cooking. No one could outdo him in the kitchen or on the grill! If you know, you know! And if by chance “you” made something delicious, Richard would even take some credit for that.\r\n\r\nHe enjoyed hosting friends for dinners, game night, and impromptu get-togethers. Richard took great pride in spoiling his children and checking in on close friends and family.\r\n\r\n<NAME> was preceded in death by his great-grandmother, Addie “Honey” Waller; grandparents, Calvin and <NAME>, <NAME>, Sr., and aunt, <NAME>.\r\n\r\nHe is survived by his father, Richard, Sr. (<NAME>; mother, <NAME>; sisters, Yvaughn and <NAME>; sons, <NAME> and <NAME>; daughters, Lanae and <NAME>; and grandmother, <NAME>. He shared love and lifelong relationships with Qiana and <NAME>, <NAME> and <NAME>, <NAME>, <NAME> and <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, Jr., <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and a host of other family members and friends.', 'Richard_A__Brown,_II.jpg'), (22, NULL, '<NAME>', '03/02/1953 - 11/19/2020', '<NAME>, age 67, went home to be with the Lord on November 19, 2020.', 'Mary_Hunter_Pickens.jpg'), (23, NULL, '<NAME>', '02/23/1942 - 11/25/2020', '<NAME>, a loving and devoted father, husband and friend to all whose lives he touched, departed this life on November 25, 2020. He left us while sleeping peacefully at his residence in Berea, Ohio. He was in his 78th year of life.\r\n\r\nRobert was born on February 23, 1942, in South Bend, Indiana, to the union of Gilbert and <NAME>s, who both preceded him in death. Also preceding him in death were his brothers, Merrill and <NAME>, Jr. and his sisters, <NAME> and <NAME>.\r\n\r\nIn December of 1982, Robert married his wife, Sandra of more than 37 years. She survives to mourn his passing, along with their daughter, Crystal (Rashaun) Dillard and his granddaughter, Sydney. He is also survived by his daughter, Lenette (Antonio) Short and his sister, Esther (Edward) Wade.\r\n\r\nRobert was educated in South Bend Schools and graduated from Central High School. After his graduation, he enlisted in the United States Navy, where he served for five years. He worked for fifteen years as a manager at Value City Furniture and eleven years as a manager at American General Insurance before retiring.\r\n\r\nRobert was a funny man, with a big bold laugh that filled a room. He gave great advice and had a story for everything. One of his favorite stories was about a brief fight he had with a rooster before Thanksgiving dinner (the rooster won the fight).\r\n\r\nRobert was an active member of his church over the years, having faithfully participated in numerous activities including serving as an under-shepherd, elder, and a leader in the men’s ministry. His influence was profound and he will be greatly missed by all who knew him.', 'Robert_Elmer_Brooks.jpg'), (24, NULL, '<NAME>s Sr.', '03/19/1948 - 11/28/2020', '<NAME> Sims Sr., age 72, went home to be with the Lord on November 28, 2020. Kenneth is survived by his children, Lee, Jacqueline, Kenneth Jr. (Nettina), Kimberly (Mikey), Karena (Mike), Kellie (Jesse), Robin, Cortney, Candra and Stephanie; siblings, Jerome, Gary and Linda; Grandfather of 29; Great-grandfather of 6. And a host of nieces, nephews, friends and extended family.', 'Kenneth_Clifford_Sims_Sr_.jpg'), (25, NULL, '<NAME>', '12/13/1955 - 11/25/2020', '<NAME>, age 64, went home to be with the Lord on November 25, 2020. Barney is survived by his beloved wife, Alice; children, Tiffany (Richard), Brian, and Brittany; siblings, Lorna, Deborah, Arnold, Darwin, Reginald, Stephanie, and Cornell; grandchildren, Mila and Sydney. Barney is the son of the late, Kelley and <NAME>. He is preceded in death by his siblings, <NAME>r., and Lonnie.', 'Barney_McKinney.jpg'), (26, NULL, 'Otelia Stone', '12/22/1935 - 11/28/2020', '<NAME>, age 84, went home to be with the Lord on November 28, 2020.\r\n\r\nOtelia is preceded by her husband <NAME>; mother and father <NAME> & Wife Kate (Pannill) Haley. She is survived by her Children, <NAME> (Abram),<NAME> (<NAME>), <NAME>, <NAME> (Bessie), <NAME> (Yolanda), <NAME> (Virginia), <NAME> (Adriane), <NAME> (deceased); Siblings, Lucy (Haley) Hamilton (deceased), <NAME> (Shirley) both are (deceased), <NAME> (Catherine); grandchildren, <NAME> (Elaine), <NAME>, <NAME>, <NAME>, <NAME>one, Keith Stone, Jermaine Stone, <NAME>one (deceased), <NAME>, <NAME>, <NAME>, <NAME> (Adeoayo), <NAME>, Kayla Steele & <NAME>; and a host of Great-Grandchildren, nieces, nephews and friends.', 'Otelia_Stone.jpg'), (27, NULL, 'Louise America Lewis', '05/18/1939 - 11/23/2020', '<NAME>, age 81, went home to be with the Lord on November 23, 2020. Louise is survived by her children, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>; siblings, <NAME>, <NAME>, and <NAME>; 15 grandchildren; 18 great-grandchildren; and a host of great-great-grandchildren, and nieces and nephews. Louise America Lewis, was born to the late Thelma and Johnson Morrow in Greenfield Tennessee, who preceded her in death. She moved to Cleveland in 1950 and attended Cleveland Public School system. She also worked for years as a nursing assistant before she became a stay at home mom. Her husband, <NAME>; sister, <NAME>; and daughter, <NAME> all preceded her in death.', 'Louise_America_Lewis.jpg'), (28, NULL, '<NAME>', '12/20/1925 - 12/02/2020', '<NAME> age 94, went home to be with the Lord on December 2, 2020, 18 days shy of her 95th birthday.\r\n\r\nSarah is survived by her son <NAME> (Bernadine). 7 Grandchildren; 15 plus Great grandchildren; and 11 plus great-great grandchildren, along with a host of other relatives and friends.\r\n\r\nSarah was preceded in death by her parents Sammel and <NAME>, and son <NAME>.', 'Sarah-Johnson.jpg'), (29, NULL, '<NAME>', '05/14/1966 - 12/03/2020', '<NAME>, age 54, went home to be with the Lord on December 3, 2020. Charles is survived by his children, Santierra”Pooder”, Santielle”Moosie”White; 3 step-daughters, Santia, Santrionna, and <NAME>; siblings, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>(Evang); grandchildren, Charlee and <NAME>. Charles is the son of the late, <NAME> and <NAME>.', 'Charles-Edward-White.jpg'), (30, NULL, 'Ms. <NAME>', '02/09/1923 - 11/27/2020', 'Was born February 9, 1923 in West Blocton, Alabama to the late Jim and <NAME>. She joined the Mount Olive Baptist Church in West Blocton, Alabama as a young lady. She was named “Walter” Belle to honor her uncle Walter who was a World War I soldier. Belle Fields-Coleman departed this life on November 27, 2020 at South Pointe Hospital, Cleveland, Ohio.\r\n\r\nShe fell in love with her first husband Alphonso Fields Sr. and was married in 1938. He preceded her in death in Aug 1978. To this marriage eight children were born, Daughter <NAME>, Son Alphonso Jr., Son <NAME>, Son <NAME>, Daughter <NAME>, Son <NAME>, Daughter <NAME>, and Daughter <NAME>. Belle decided to dedicate her life to being a proud and fantastic mother to her children and supporting them through their many passions, dreams, aspirations and difficulties. She lost <NAME> as an infant and <NAME> as a teen after a long illness. It was her mission to improve the lives of her children and other family members. Belle never met a stranger. She was a passionate mom filling her home with warmth and kindness. She was also strict disciplinarian when you got out of line. We will miss her.\r\n\r\nShe was a long time member of the Christland Community Church of Cleveland, Ohio. For many years Belle worked at the Western Reserve Psychiatric Hospital where she retired after 30 plus years.\r\n\r\nBelle was also preceded in death by her second husband <NAME>, Brother <NAME>, Sister Beatrice Joiner, Brother <NAME>, Brother <NAME>, Sister <NAME> and <NAME>.\r\n\r\nBelle is survived by sister Willa Dean Pace of Los Angeles, son Alphonso Jr (Mary) New Orleans, La., son <NAME> (Jewell) Cleveland, Ohio; Daughter <NAME> Columbus, Ohio; son Charles (Michele) Cleveland, Ohio; daughter <NAME>, Ga.; daughter <NAME>, Ohio. Grandchildren: Tracey Fields, <NAME>, <NAME> Jr, <NAME>, <NAME>, Kenneth Fields, <NAME> (Alfred), Nicole Fields, Lavelle Fields, <NAME>, Tiffany Fields. Belle’s Great Grandchildren are Dr. <NAME>, <NAME>, <NAME> ,Cory, JaVaughn, Derrick, Taylor, Nyla, <NAME>, <NAME>., <NAME>., <NAME>, <NAME> Olivia, and Yazmeen. There are also many great-great grands, nephews and nieces. All were loved and touched deeply.', 'Ms-Walter-Belle-Fields.jpg'), (31, NULL, 'Levoyus McClain Sr', '11/14/1953 - 12/02/2020', 'Levoyus McClain Sr., affectionately known as “Lee,” was born in Cleveland, OH November 14, 1953 to the late Hattie Mae McClain (Scovil) and Gervest McClain Sr. He was the second eldest child of four children.\r\n\r\nLee attended public schools in Cleveland, OH including John Adams High School.\r\n\r\nOn July 14, 1973, Lee was wed to his childhood sweetheart, <NAME> (Hardaway). From their union they were blessed to raise 10 children. They shared 48 years of love and companionship that will be carried on forever. One of the things they loved to do is take a cruise every year to spend quality time together and get away from the cold weather in Cleveland.\r\n\r\nLee worked for Automated Wheel for over 19 years. Because he was a seasoned hard worker, management often looked to him to assist the supervisor with training employees and assisting with some of the other day to day duties.\r\n\r\nIn Lee’s spare time, he loved to spend time with his grandchildren, as family was a priority. He also had a knack for fixing cars, so family and friends would always come to him for his advice. You would see a few cars lined up in the driveway that he was working on that kept him busy while listening to his music. One of his favorite artists was <NAME>. \r\n\r\nIn addition to his parents, Lee was preceded in death by his daughter, Chamecka; one sister, <NAME> and two brothers, <NAME> and <NAME>.\r\n\r\nLee’s memory is cherished by his loving and dedicated wife, Brenda; three daughters, Shanese, Sharria and Chaleeia along with seven sons, Levoyus Jr. (LeTisha), Franklin, Branden, Randy, Adam, Christian and <NAME> Sr.; over 20 grandchildren, 5 great grandchildren; one brother, <NAME>r.; aunts and uncles, <NAME>, <NAME>, <NAME>, <NAME> and <NAME> of Florida; sisters and brothers-in-law, <NAME>, <NAME>, <NAME>, <NAME> and a host of relatives and friends.', 'Levoyus-McClain-Sr.jpg'), (32, NULL, '<NAME>', '03/27/1946 - 12/01/2020', '<NAME>, age 74, went home to be with the Lord on December 1, 2020.\r\n\r\n<NAME> went home to be with the Lord on December 1, 2020. Thurman is survived by his wife Elaine; Children, <NAME>, <NAME>; Siblings, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>; Grandchildren, <NAME>, Amir Boles, <NAME>', 'Thurman-Knox.jpg'), (33, NULL, '<NAME>', '09/14/1931 - 11/26/2020', 'Friday, December 11, 2020, at 11:00 AM, at Cathedral Church of God, 2940 <NAME> King Jr Dr, Cleveland, OH 44104. Interment at Lakeview Cemetery.', 'Charles-Hall.jpg'), (34, NULL, '<NAME>', '04/12/1935 - 12/02/2020', 'Tuesday, December 15, 2020, at 1:00 PM, at STEWART & CALHOUN FUNERAL HOME, 529 W. Thornton St., Akron, OH 44307. Interment at Glendale Cemetery. Condolences may be sent to 1337 Chippewa Ave., Akron, OH 44305.', 'Zora-Jean-Radcliff.jpeg'), (35, NULL, '<NAME>', '09/26/1934 - 12/06/2020', '<NAME>, age 86, went home to be with the Lord on December 6, 2020. Lillian is survived by her daughter, <NAME>; siblings, <NAME> Jr., <NAME>, <NAME>, and <NAME>; granddaughter, <NAME>(Patrick); great-grandchildren, <NAME>, <NAME>, <NAME>, <NAME>cott IV, <NAME>, and <NAME> III.; 4 great, great-grandchildren. Lillian is the daughter of the late, Gilbert and <NAME>. She is preceded in death by her grandson, <NAME> III.', 'Lillian_A__Johnson.jpg'), (36, NULL, 'Minister <NAME>', '11/21/1930 - 12/06/2020', 'Saturday, December 12, 2020, at 10:00 AM, at STEWART & CALHOUN FUNERAL HOME, 529 W. Thornton St., Akron, OH 44307. Interment at Glendale Cemetery. Condolences may be sent to 3145 Sparrows Crest, Akron, OH 44319.', 'Minister_Gussie_Mae_Hardwick.jpg'), (37, NULL, '<NAME>', '08/07/1951 - 12/03/2020', 'Angeline (<NAME>, affectionately known as <NAME>, walked into the arms of the Lord on December 3, 2020, surrounded by her family. She was born to the union of <NAME> and <NAME> on August 7, 1951, in Barberton, OH, but resided in Akron, OH until her departure.\r\n\r\n<NAME> was a devoted wife, sister, aunt, grandmother, and avid cook. No one went unloved in her presence. She enjoyed being around family, traveling, talking on the phone, telling endless stories, dancing, gardening, knitting, going to bingo and playing games on her telephone. <NAME> was a spiritual woman, attending both the House of the Lord, and Greater Bethel, where she was involved in many activities, such as: kitchen cook, singing in the choir, and participating in the chili and rib cook-offs. To all, Big Angel’s life seemed short, but as she would often quote, “To be absent from the body, is to be present with the Lord.” For all those touched by Big Angel’s love, understood the quality of her existence far exceed the quantity of time she was giving.\r\n\r\nBig Angel considered herself an interior decorator, constantly changing the décor in her home, as well as others. She also gave out jeri curl treatments. Big Angel gave us all tremendous love, courage, hope, loyalty, and morals. She reminded us constantly of the preciousness of life. Angeline went to South High School and held cooking jobs with Golden Corral, VFW, and the nursing home Laurel Lake. Upon retiring, she became an entrepreneur and continued to be a loving companion and nurturer. We will truly miss her way of speaking, her wittiness, and surrounding us with unconditional love and laughter.\r\n\r\n \r\n\r\nAngeline was preceded in death by her parents, Elie and <NAME> and Katie and <NAME>; daughters, Florence and <NAME>; step son, <NAME>; brother, <NAME>, <NAME>, Herman and <NAME>; sister <NAME> and great grandson, <NAME>.\r\n\r\n \r\n\r\nLeaving behind to cherish her legacy and memory, husband, <NAME> of Akron; son, Albert (Barbara) Bartee of Nebraska; daughter, <NAME>; step-daughter, <NAME> of Florida: brothers, John (Connie) Thomas, Charles (Willa Mae) Bartee, <NAME>, all of Barberton, Elijah (Bertha) Vickers, Larry (Juliette) Vickers, Ronnie, Freeman (Kayla) Vickers all of Akron, and Darnell Vickers of Columbus; sisters, Beverly (Greg) Morton of Twinsburg, Connie (Stanley) murphy, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>ickers, all of Akron, Gussie Mitchell of Columbus and Pearl Sharpe of Las Vegas; grandchildren, Robert (Lisa) Bartee, Betty (Aaron) Farrey, Ronald (Alaina) Bartee, Angel (Chandler) Bartee-Boyd, <NAME>-G<NAME> and <NAME>, Jonte, <NAME>, Anjalie and <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>. 22 great-grandchildren and a host of many other relatives; special niece, <NAME>; special cousin, <NAME>; special granddaughter, Lexi; special friends, Cheryl and <NAME>; and best friends, Peggy and sister Elliott.', 'Angeline_(Bartee)_Latson.png'), (38, NULL, '<NAME>', '02/10/1957 - 12/06/2020', '<NAME>, age 63, went home to be with the Lord on December 6, 2020. <NAME> is survived by her beloved husband, <NAME>; children, Courtlin, Chad, Bre’Anna(Dezmin), and Taylor; silbings, Leatrice, Constance, Juanita; grandchildren, <NAME>. and <NAME> is the daughter of the late, <NAME>. and <NAME>. Carolyne is preceded in death by her daughter, Brittany; and sister, Gloria.', 'Carolyn_V__Ford.jpg'), (43, NULL, '<NAME>', '03/28/1969 - 12/02/2020', 'Tuesday, December 8, 2020, from 10:00 AM – 11:00 AM, at STEWART & CALHOUN FUNERAL HOME, 529 W. Thornton St., Akron, OH 44307.', 'Mary_Kithcart.jpg'), (44, NULL, '<NAME> JR', '08/05/1954 - 11/12/2020', 'On Thursday, November 12, 2020 James opened his eyes and transcended to our Heavenly Father.\r\n\r\nJames leaves to celebrate his life and cherish his memory his mother, <NAME>; step-mother, <NAME>;\r\n\r\nFour brothers: <NAME> (Barbara), <NAME>, <NAME>, and <NAME>; five sisters, <NAME>(Donnie), <NAME>, <NAME> (Ernest) and <NAME>.\r\n\r\nFour daughters, <NAME>, <NAME>, <NAME> (Kiyana), and India Austin.\r\n\r\nThree granddaughters, Kelsey, Sydney, and London.\r\n\r\nFour grandsons, Johnell, Tristian, <NAME>, and Stephon.\r\n\r\nJames leaves behind his significant other of seven years Pamela Rance.\r\n\r\nBest friend and mother of two of his daughters <NAME>, and a host of aunts, uncles, nieces, nephews, cousins and friends.\r\n\r\nPreceded him in death are his father, <NAME> Sr.; sister, <NAME>; granddaughter, <NAME>, and fiancé <NAME>.', 'Jammie_Harris_JR.jpg'), (45, NULL, '<NAME>', '01/25/1922 - 12/01/2020', 'Public Viewing is Wednesday, December 9, 2020, 2-6pm; Masonic Service 6-8pm at THE CALHOUN FUNERAL HOME, 23000 Rockside Rd., Bedford Hts., OH, 44146\r\n\r\n\r\n<NAME>, age 98, went home to be with the Lord on December 1, 2020. Charles is survived by his son, <NAME>; brother, <NAME>; nephew, <NAME>; nieces, <NAME>, <NAME> and <NAME>; grandson, <NAME> (Natoire); great-grandchildren, <NAME> and <NAME>.', 'Charles_Walter_Hales.jpg'), (46, NULL, '<NAME>', '10/19/1919 - 11/29/2020', '<NAME>, born <NAME>, passed away on November 29, 2020, at the age of 101. She was born on October 19, 1919, in Struthers, Ohio to the parents of Emanuel and <NAME>. Her family moved to south Akron in 1925, where she attended Miller, Goodrich, and South High School. Irene later married <NAME> in 1938. Irene was the mother of ten children and lived to see five generations. In the year 1952, she married <NAME> and they were together for 44 years until his passing in 1996. Irene reclaimed the Islamic religion in the year 1967. Irene who was known as “Grandmother” as many of us called her, enjoyed spending time with her grandchildren.\r\n\r\nIrene was preceded in death by her husband <NAME>; parents Emanuel and <NAME>; siblings, <NAME>, <NAME>, Arthur, Jesse, Jimmy, Lillie, Ester, Francis, and <NAME>; children, <NAME>, <NAME>, <NAME>, Ester Battle, <NAME>, <NAME>, and <NAME>; grandsons, Ameer (Leroy) Saafir and Stephen (Stevie) Johnson.\r\n\r\nShe leaves to cherish her memory daughter, <NAME>; sons, Tommy (Oradell) Jackson and Robert (Augustine) Rogers; grandchildren, Trinka, Kevin, Arlibera, Lisa, Alethea, Jacob, Qadriyyah, Sabreen, Raymond, Andrea, Charlie, Garland, Charlene, Terrance, Shu, Niecy, Shawn, Dannie, Robin, John, Stephanie, Staci, Grady, Jasper, Tony, Garvin, Tracy, Kijana, J’-Saun, Irene, Emanuel and a host of great-grandchildren, great-great-grandchildren, great-great-great-grandchildren, nieces, nephews, cousins, family, and friends.', 'Irene_X__Barefield.jpg'), (47, NULL, '<NAME>rent Peace', '08/03/1935 - 12/02/2020', 'Julia Brent Link-Peace, age 85, was born August 3, 1935. She went home to be with the Lord on Wednesday, December 2, 2020, at 10:36 AM.\r\n\r\nShe was a precious and beloved wife, mother, and grandmother. Julia was a devout Baptist and faithful member of Galilee Missionary Baptist Church and firmly believed Ecclesiastes 9:10a, “Whatever your hands find to do, do it with all of your strength.” This was something she practiced in service to God and in her home life. She tried never to be idle.\r\n\r\nJulia was preceded in death by her husband, <NAME>; her parents, Alvin Link and <NAME>- Link; siblings, Clotilda Link-Kittrell, Albert Link, <NAME> Link-Turner, <NAME> Link, Jasper (Jack) Link, Sidney Link, Saul Link, James Link, Nettie Link-Henderson, George Link, Lenard Link and Sterling Link; and daughter-in-law, Casandra Owens-Peace.\r\n\r\nShe is survived by siblings, Joseph (Joe) Link of Boston, <NAME>ynn Link Stockdale of New Hampshire, Susie (Irene) Link McKnight of Akron; daughter, <NAME>-Jacobs; sons, <NAME>. Peace Sr., <NAME>ace, Jr., <NAME>, Vernill Peace and <NAME> Peace, as well as a host of grandchildren, great-grands and great-great grands, nieces and nephews.', 'Julia_Brent_Link-Peace.jpg'), (48, NULL, '<NAME>. Register', '01/10/1933 - 11/26/2020', '<NAME>. Register, age 87, went home to be with the Lord on November 26, 2020. Samuel is preceded in death by his wife, Shirley Register; mother and father, Annie and Samuel Register; son, David; grandson, David, Jr. and sisters, Cora and Dorothy. He is survived by children, Brian, Dwayne, Alison and Eric; sisters, Ann and Jean; grandchildren, Sean, Mallorie, Kandrice, Demaris, Bianca, Rachel, Deangelo, Sam, Diane, Demario and Demia and a host of great grand and great great grandchildren.', 'Samuel_S__Register.jpg'), (49, NULL, '<NAME>', '08/19/1931 - 11/29/2020', 'Mrs. <NAME>, born August 19, 1931, was called home to be with the Lord on November 29, 2020. She was born in Jacksonville, Florida, and preceded in death by her father, <NAME>, and mother, Mrs. <NAME>. Her family moved to Akron, Ohio after the untimely death of her mother when Mittie was 9 years old. Her paternal aunt, the late-Mrs. Abigail (President) Dinish, raised her along with her older sister until Mittie married the late-Mr. <NAME> in 1948, known to many as Louis. They lived in Akron, Ohio until their deaths and raised six children together. Louis and Mittie were married 62 years when Louis passed away on October 4, 2010.\r\n\r\nMittie loved to pray, sing, read the Bible, other books, papers, write, crochet, figure out puzzles, tend flowers, visit with family and friends, and watch her favorite programs on television. She enjoyed working as a first-grade teacher’s aide for several years at Robinson Elementary School until it was required to have a high school diploma or GED to assist in the classroom. She later attended school to attain a GED but stopped to take care of her husband when his health began to decline and to help other family members. Despite not receiving the GED, Mittie is a published author of short stories. Both Louis and Mittie were among the most intelligent people you could meet. They both loved and valued education and were the inspiration for their children attaining 22 educational degrees, certificates, and certifications.\r\n\r\nMittie loved God, her family, friends, and flowers. She attended the Abundant Life Church of Akron, Ohio, and served as one of the church mothers. She looked forward to conversations and visits from everyone and was always cheerful and welcoming. Mittie may be remembered by many for her distinctive laugh, beauty, and kindness. Her late husband once said, “I have seen pretty women all my life, but none have ever been as pretty as your mama. Ever.” They met when Mittie was 13 years old and Louis was 14 years old.\r\n\r\nBesides her late parents and late husband, Mittie was preceded in death by an older only brother, Mr. <NAME>. (Stella R.) Jones, Sr.; older sisters, <NAME>, II (who died in infancy), Mrs. <NAME> (Johnny) Reynolds; eldest grandson, <NAME>, II; adopted grandson, <NAME>unn; great-grandsons, <NAME> (died as an infant) and <NAME>; brothers-in-Law, <NAME>, <NAME> (died as a toddler); James, AKA Skinny (<NAME>) Walker, Clarence (Mildred) Walker, Edward, AKA <NAME> (Francis) Walker, Sr.; sisters-in-Law, Mrs. Martha (John) Tillman, and Betty (Leroy, Sr.) Calhoun.\r\n\r\n<NAME> is survived by her six children Ms. <NAME> (Akron, Ohio), Ms. <NAME> (Akron, Ohio), Ms. <NAME> (Smyrna, GA), Dr. Mrs. <NAME>. (Obed) Monago (Laramie, WY), Mrs. Noreene (Cecil) Dutch (New Franklin, OH), Mr. <NAME>. (Marva) Walker (Fairlawn, OH); 15 grandchildren; 28 great-grandchildren; and 31 great-great-grandchildren and a host of other loving relatives and friends.', 'Mittie_Jones_Walker.jpeg'), (50, NULL, '<NAME>', '06/27/1937 - 11/28/2020', '<NAME>, affectionately known as “Momma”, was called home to be with the Lord on November 28, 2020. She was born in Wetumpka, Alabama on June 27, 1937, to Sherman and <NAME>.\r\n\r\nMary confessed her life to Christ at an early age at the New Style United Methodist Church in Wetumpka, Ala. She later left Alabama and moved to Detroit, Michigan for a short time before making a home in Akron, Ohio.\r\n\r\nMary was employed at Akron City Hospital for over 40 years. She was a highly respected cook and baker that made meals with so much love, and that legacy continues today. Momma had a love for music, especially the “Blues”. She was an avid bingo player and loved spending time at the racetrack and casino.\r\n\r\nShe was preceded in death by her parents, Sherman and Mattie Piner; husband, <NAME>; grandsons, <NAME> (Dank) Oliver, <NAME> (JO) Oliver and <NAME> (Des) Oliver; son-in-law, <NAME>, <NAME>, <NAME> and the love of her life, Leo Belton Sr.\r\n\r\nShe is survived by her loving children, <NAME>, <NAME>, <NAME>, <NAME> (Anthony Sr.) Brinson, <NAME>, <NAME> (Denita) Belton, Leo Larue (Karryl) Belton Jr. and Ronald (Pat) Belton; grandchildren, Damon (Naida) Oliver, <NAME>, Jovon (Ja’Nay) Lamb, Anthony (Danielle) Brinson Jr., Qiana (Dwight) Shade, Paul (PJ) Lundy, Carlisa (Chanel) Brinson, Steven (Jamel) Lamb, <NAME>, and <NAME>; 19 great-grandchildren and 6 great-great-grandchildren; special cousin, <NAME>, and special friends, <NAME> and <NAME>; and a host of other family members and friends.', 'Mary_E__Oliver.jpg'), (51, NULL, 'Urban Veron Lee', '09/09/1955 - 11/29/2020', 'Urban V. Lee is survived by his wife Janice. Parents were <NAME> (Deceased) and <NAME> (Deceased), Stepfather, <NAME>; Children, <NAME> and <NAME>; Siblings, <NAME>, <NAME>, Ramona Childs, <NAME>, and <NAME>.', 'Urban_Veron_Lee.jpg'); INSERT INTO `obituary` (`id`, `user_id`, `person_name`, `dates`, `prayers`, `image`) VALUES (52, NULL, '<NAME>', '06/17/1946 - 11/29/2020', 'Graveside service, Thursday, December 10, 2020, at 10:00 AM, at Mount Peace Cemetery, 183 Aqueduct St., Akron, OH 44303. Procession to form at STEWART & CALHOUN FUNERAL HOME, 529 W. Thornton St., Akron, OH 44307.\r\n\r\n\r\nAn<NAME> was born and raised in Akron, Ohio, on June 17, 1946. After a lengthy illness at the Pinnacle Nursing Home, Angelette answered the Master’s Call and departed her earthly home on November 29, 2020. “Precious in the sight of the LORD is the death of His faithful servants.” Psalm 116: 15 NIV.\r\n\r\nEducated in the Akron area spending her formative years at St. Martha School; graduated in 1964 from North High School and a graduated of the University of Akron. Until her illness, Angelette was a life-long active member of the St. Martha’s Parish.\r\n\r\nShe was employed at the Akron General Hospital-Cleveland Clinic, The University of Akron, and the Oriana House. Angelette had a spirit of volunteerism; serving with a love for people at the St. Vincent DePaul, where she fed the homeless on the weekends with a hot meal and a word of encouragement.\r\n\r\nAngelette loved her family and enjoyed family gatherings, where she often prepared meals for every appetite. She was an excellent cook!\r\n\r\nPreceded in death by her father, <NAME>; mother, <NAME>; sisters, <NAME>, <NAME>, and <NAME>; brothers, <NAME>, and <NAME>; sister-in-law <NAME>; nephew Garland L. Stokes. She leaves to cherish her memory, son, <NAME>; grandson, <NAME>, and <NAME>; great grandson, <NAME>, Akron, Ohio; sister, <NAME>, New York, N.Y.; sister-in-law, <NAME>, Winnipeg, Manitoba, Canada; former husband, <NAME> and special friends, <NAME> Jr., <NAME>, and Sue and <NAME>; special nieces, <NAME>, <NAME> and <NAME>; and a host of nieces, nephews, loving family members and friends.\r\n\r\nAcknowledgements\r\n\r\nThe Colvin and Stokes Families express our heartfelt gratitude to all of you for your generosity shown during the illness and subsequent transition of our loved one. And, Special thanks is extended to Father <NAME> of Blessed Trinity Parish, (formerly, St. Martha) and the staff of the Pinnacle Nursing Home.', 'Angelette_Ledean_Colvin.jpg'), (53, NULL, '<NAME>', '02/16/1953 - 11/28/2020', '<NAME> (Joanie), age 67, of Akron, OH went home to be with the Lord on Saturday, November 28, 2020, at her residence in Akron, Ohio. She was born in Ravenna, Ohio on February 16, 1953, to the late Joseph & LaVerne Warren.\r\n\r\nJoan graduated from Windham High School and continued to obtain a Business diploma from Bohecker College in Ravenna, Ohio. She was a woman of God and was a faithful member of Ravenna Church of God.\r\n\r\nShe married her high school sweetheart in 1971, <NAME>, Sr. She started her family in 1972 and to this union 4 children were born <NAME> Jr, <NAME>, <NAME> and <NAME>.\r\n\r\nShe enjoyed spending time with her grandchildren, doing puzzles, watching sporting events and movies. She loved the outdoors- keeping her yard neat and clean was a priority! Those who knew her well knew she had a ridiculous LOVE for popcorn!!!\r\n\r\n \r\n\r\nJoan was preceded in death by her parents Joseph and <NAME>; husband, <NAME>, Sr.; brother, <NAME>; sister, <NAME>.\r\n\r\n \r\n\r\nJoanie, “Grandma,” Joan will be sorely missed by her twin sister, <NAME>ctor of Akron, Ohio; sister, <NAME> of Cleveland, OH; brother, <NAME> of Cleveland; children, oldest son, <NAME>, Jr. of Scottsdale, Arizona; daughters <NAME> and <NAME> both of Akron, Ohio; son, <NAME> of Akron, Ohio; bonus daughter, Kellie King of Akron, OH.\r\n\r\nShe also will be deeply missed by her grandchildren, Anthony and <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>; bonus grandchildren, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>; great- grandchildren, <NAME>, Peyton & <NAME>, <NAME>, <NAME>, <NAME>, <NAME>; special friend, <NAME>; nieces, Kiaunie Procotor, Nechiya Warren-Saunders; nephews, Demetrius Proctor, <NAME>, Jr. (BJ) and host of great nieces and nephews, cousins and friends.', 'Joan_Warren.jpg'), (54, NULL, '<NAME>', '04/07/1956 - 11/28/2020', '<NAME> transitioned to his heavenly home on November 28, 2020. He was born to the late Thomas and <NAME>lin on April 7, 1956, in Akron, Ohio. In his early years, he attended Akron Public Schools, and at the age of 17, he chose to serve our country by joining the U.S. Navy and later transitioning into the Army. He served our county multiple years and upon completion, he started a family. He had two children <NAME> and <NAME>. Over the years, he continued his studies in the arts. He developed into a great artist creating various artworks, including writing poetry. He worked many years as a laborer in Washington Courthouse, Ohio, and retired in 2012 to return to Akron, Ohio. He enjoyed reading, drawing, watching old western movies, and his favorite team the Cleveland Browns. Most of all he enjoyed being a grandfather. On June 6, 2020, he married his long-time sweetheart <NAME>.\r\n\r\n \r\n\r\nIn his homegoing, he joins his mother and father; brother, Johnny; longtime friend (Butch) <NAME>; stepson, <NAME>, and stepdaughter, <NAME>.\r\n\r\n \r\n\r\nHe is survived by his wife Crystal; former spouse and longtime friend <NAME>; children, Donielle Carpenter of Texas, and <NAME> (Markee); siblings, <NAME>, <NAME>, <NAME>; grandchildren, <NAME>, Jayden, Payton, <NAME> and 7 more and a host of nieces, nephews, and friends.', 'Larry_Summerlin.jpg'), (55, NULL, 'Evelyn Lorine Garden', '11/16/1935 - 11/27/2020', 'Evelyn Lorine Garden, age 85, of Akron, Ohio passed away on Friday, November 27, 2020. She was born on November 16, 1935, in Birmingham, Alabama to the late Henry and <NAME>ll. In addition to her parents, Evelyn was preceded in death by her husband, <NAME>, Sr. and their son, <NAME>, Jr.\r\n\r\n \r\n\r\nEvelyn was a seamstress, crafter, cake decorator, and musician. She enjoyed studying The Word and singing God’s praises.\r\n\r\n \r\n\r\nShe is survived by her children <NAME>, Evelyn (Don) Franklin and <NAME>, all of Akron Ohio; brother, <NAME>; sister, <NAME> both of Akron, Ohio; grandchildren, <NAME>, <NAME> of Akron, Ohio, <NAME> of Barberton, Ohio, Kristen (Terna) Nande of Washington D.C., <NAME> and <NAME> of Akron, Ohio; 15 great-grandchildren, 9 great-great-grandchildren and a host of other family and friends.', 'Evelyn_Lorine_Garden.jpg'), (56, NULL, '<NAME>', '07/10/1947 - 11/27/2020', 'Roger Lett age 73, went home to be with the Lord on November 27, 2020.\r\n\r\nRoger is survived by his son <NAME>. Siblings: <NAME> (Deborah), <NAME>, <NAME>, and <NAME> Cox.\r\n\r\nHe was preceded in death by his son <NAME>, and brothers, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and and sister Genevieve Lett.', 'Roger_Lett.jpg'), (57, NULL, '<NAME>', '06/30/1937 - 11/28/2020', '<NAME> age 83, was called to glory on November 28, 2020.\r\n\r\nPreceded in death by her husband of 30 years, <NAME> Sr.\r\n\r\nCordelia is survived by her children <NAME>., (Lorretta), <NAME>, and stepchildren, <NAME> (Terri), and <NAME>. 10 Grandchildren, great-grandchildren, and a host of nieces, nephews, and cousins. Close and life long friends <NAME> and <NAME>.\r\n\r\nPreceded in death by her son <NAME>, and sister, <NAME>.\r\n\r\n \r\n\r\n<NAME> was born in Bessemer Alabama on June 30, 1937. She was the eldest child of Roosevelt Underwood and <NAME>oks Underwood.\r\n\r\nCordelia was raised in Bessemer and attended Winona Senior High School, where she was an excellent student and athlete. After high school, she furthered her education gaining an Associate Degree in Secretarial Services. This led her to an Administrative position at Alabama A&M University, which she greatly enjoyed. She moved to Cleveland and held other jobs including working for the IRS, Higbee’s Department Store, and the Cleveland County Election Board.\r\n\r\nCordelia met and married <NAME>, Sr, and they migrated to Cleveland, Ohio to grow and raise their family.\r\n\r\nCordelia was a member of Windemere United Methodist Church for more than 30 years. She was a Sunday School teacher and also, worked in the church office. She later joined Church of The Saviour, where she enjoyed her church family and was active in the Ladies Circle and Bible Study.', 'Cordelia_Scott.jpg'), (58, NULL, '<NAME>', '06/29/1992 - 11/27/2020', '<NAME>, age 28, went home to be with the Lord on November 27, 2020. Arnise is survived by her beloved husband, Brandon; parents, Arnold and <NAME>; children, Crystalyn, Summerlyn, Lovelyn, and Harlem; siblings, Arnaye and Arnold Jr. Arnise is preceded in death by her daughter, Kashlyn.', 'Arnise_S__Thrasher-Hickerson.jpeg'), (59, NULL, '<NAME>', '07/27/1964 - 12/09/2020', '<NAME>, age 56 went home to be with the Lord on December 9, 2020.\r\n\r\nReginald is survived by his mother <NAME>; Children, Markishea, Rachel, Rashaund, Zachary; Siblings, Terrance, Aretha, Bridget; Grandchildren, Dvonte, Jvonte, Obtavia; Great-grandchildren, Kaniya, Journee, Royal, A’mare and a host of family and friends.', 'Reginald_Lorenzo_Adams.jpg'), (60, NULL, '<NAME>', '03/09/1933 - 12/07/2020', '<NAME> went home to be with the Lord on December 7, 2020.\r\n\r\nBeatrice is survived by her son <NAME> (Gennorris); Sibling, <NAME>; Grandchildren, <NAME> II, <NAME>, <NAME>, <NAME>; Great-Grandchildren, <NAME>; <NAME> and a host of family and friends.', 'Beatrice_Elizabeth_Heard.jpg'), (61, NULL, '<NAME>', '03/16/1927 - 12/07/2020', '<NAME>, age 93, went home to be with the Lord on December 7, 2020. <NAME> is survived by her children, <NAME> (Edward) and <NAME> (Rodney); siblings, <NAME>; 19 grandchildren; 24 great-grandchildren; 30 great-great-grandchildren.\r\n\r\n<NAME> is preceded in death by her husband of 30 years, <NAME>. She was also preceded in death by her son <NAME> and daughter <NAME>.', 'Mary_E__Burks.jpg'), (62, NULL, '<NAME>', '02/12/1956 - 12/06/2020', 'Friday, December 18, 2020, at 4:30 PM, at STEWART & CALHOUN FUNERAL HOME, 529 W. Thornton St., Akron, OH 44307. Condolences may be sent to 1067 Roslyn Ave., Akron, OH 44320.', 'Kenneth_C__Lard1.jpeg'), (63, NULL, '<NAME>', '01/16/1934 - 12/08/2020', 'Ralph is survived by his wife <NAME>; daughters, Antwanette and <NAME>; granddaughter, <NAME>; great-grandchildren, Jeremiah & Nevae<NAME>ese; sisters-in-law, <NAME> & <NAME>; brother-in-law, <NAME>; adopted daughter, <NAME> and a host of nieces, nephews, cousins and extended family and friends.', 'Ralph-Louis-Reese.jpg'), (64, NULL, '<NAME>', '12/06/1965 - 12/09/2020', 'The Celebration of Life will be held on Tuesday, December 22, 2020 Wake:12:30p.m. Service: 1:00p.m. at THE CALHOUN FUNERAL HOME 23000 Rockside Rd. Bedford Hts. OH, 44146.', 'Rhonda-Y_-George.jpg'), (65, NULL, '<NAME>ison', '06/30/1930 - 12/15/2020', '<NAME>, age 90, born June 30, 1930, passed away on December 15, 2020.\r\n\r\nShe was born in Covington, Kentucky to the late <NAME>, Sr., and <NAME>. Loving wife of the late Chellis Madison.\r\n\r\n \r\n\r\nMary is survived by her daughter <NAME> (Frederick); grandson, <NAME>, and one sister <NAME>.\r\n\r\nShe was preceded in death by siblings: <NAME>, Jr., <NAME>, <NAME> and <NAME>.\r\n\r\n \r\n\r\nA graduate of Talladega College and Case Western Reserve University, she was a dedicated teacher in the Cleveland Public School system prior to her retirement in the 1980s. Mary was a faithful member of Church of the Redeemer, UMC in Cleveland Heights. Mary continued to remain active in many organizations until recently and loved theater, ballet, entertaining and traveling with her clubs. She leaves behind a host of family and friends.\r\n\r\nIn lieu of flowers, memorial contributions may be sent to Talladega College Scholarship Fund, 1009 South Street E., Talladega, Alabama 35160.', 'mary-etta.jpg'), (66, NULL, '<NAME>', '02/17/1969 - 12/17/2020', '<NAME> went home to be with the Lord on , Decemver 17, 2020. Montresse leaves to cherish his memory his son, <NAME>; daughter, <NAME>; sister, <NAME>; cousins, <NAME>, <NAME>, <NAME> and <NAME> III; and aunt <NAME>.', 'cover-edited.jpg'), (67, NULL, '<NAME>', '08/17/1930 - 12/14/2020', 'Florence (Reden) Francis, age 90 of Maple Heights, passed away peacefully on December 14, 2020.\r\n\r\nBeloved wife of <NAME>. Loving mother of Poppie (Alford), Edwina and <NAME>. Grandmother of Alford (Angela), Brandon (Shauntay), Christopher (Shaunt’e) and Marcus, Great-Grandmother of, Chistian, Zachary, Dayton, Robert, Tierra, and Shayla, Daughter of Amanda and Finest Reden.', 'Florence.jpg'), (68, NULL, 'Leefield \"Leroy\" <NAME>', '02/02/1940 - 12/12/2020', 'The Celebration of Life will be held on Wednesday, December 23, 2020 Wake:12:30p.m. Service: 1:00p.m. at THE CALHOUN FUNERAL HOME 23000 Rockside Rd. Bedford Hts. OH, 44146.', 'leefield.jpg'), (69, NULL, '<NAME>', '05/23/1931 - 12/12/2020', '<NAME> went home to be with the Lord on December 12, 2020.\r\n\r\nAlbert is survived by his beloved wife Barbara.\r\n\r\nChildren: <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>.\r\n\r\nGrandchildren: <NAME> Jr., <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and <NAME>.\r\n\r\nGreat-grandchildren: <NAME> III, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and <NAME>.\r\n\r\nTwo sisters: <NAME> and <NAME>.\r\n\r\nPreceded in death by siblings: <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>.', 'albert.jpg'), (70, NULL, 'Olivia B. Germany', '12/22/1947 - 12/14/2020', 'Olivia B. Germany went home to be with the Lord on, December 14, 2020 at the age of 72. Olivia leaves to cherish her memory her son, <NAME>; and siblings, <NAME>, <NAME>, <NAME>, <NAME> and <NAME>', 'candle-gallery.jpeg'), (71, NULL, '<NAME>', '04/19/1933 - 12/10/2020', 'Wednesday, December 23, 2020, at 12:00 PM, at STEWART & CALHOUN FUNERAL HOME, 529 W. Thornton St., Akron, OH 44307. Interment at Ohio Western Reserve Cemetery. Condolences may be sent to 1975 Fox Trace Trail, Cuyahoga Falls, OH 44223.', 'edna.jpg'), (72, NULL, '<NAME>', '12/21/1985 - 12/10/2020', 'On December 10, 2020, God called our beloved James home. He was born December 21, 1985, in Akron, OH to <NAME> and <NAME>. James was the fourth of four children.\r\n\r\nJames was educated through the Akron Public School system graduating from Akron Buchtel High School. He spent the last four years in the healthcare field working as a transporter and a caregiver. Lastly, working with Akron General Medical Center, The Arbors, and Emmanuel Touch Home Care Specialists.\r\n\r\nJames was kind, loving, and fun to be around always greeting you with a smile. He enjoyed spending time with his sons and family watching football games and movies. He was always respectful to his family and strangers. James was a very hard worker and did his best to stand-up and support himself and his family. He will always be remembered for his smile and a caring heart by his family.\r\n\r\n \r\n\r\nHe was preceded in death by his father <NAME>; grandparents, Clyde and <NAME>; parents-in-law, Claude and <NAME>.\r\n\r\n \r\n\r\nJames will lovingly be remembered by his wife <NAME>; children, Semaj and <NAME>; mother <NAME>; brothers, <NAME>, <NAME>, <NAME>; special aunt, <NAME>; the Wilson, Hargrove, Beauford and the William families and a host of aunts, uncles, nieces, nephews, cousins, family and friends.', 'james.jpg'), (73, NULL, '<NAME>', '12/12/1947 - 12/13/2020', '<NAME> age 73 went home to be with the Lord on December 13, 2020.\r\n\r\nBruce is survived by his former & lifetime friend <NAME>; Children, <NAME> and <NAME>; Siblings, <NAME> (Alfreda); <NAME> (nee Oden); <NAME> (<NAME>)', 'bruce.jpg'), (74, NULL, 'Johnnie \"Buddy\" Straight', '09/29/1938 - 12/11/2020', 'Johnnie “Buddy” Straight went home to be with the Lord on, December 11, 2020 at the age of 82. He leaves to cherish his memory his beloved wife <NAME>; his children Otis, Johnny, <NAME>, <NAME>-Hicks, Brenda, Gerald and <NAME>; siblings Albert, Rosa, Otis, Ella and Lancie Uncle LC Hill, 16 grandchildren, 30 great grandchildren, and 1 great great grandchild. Johnnie is preceded in passing by his parents, <NAME> and <NAME>.', 'johnnie.jpg'), (75, NULL, '<NAME>', '03/01/1936 - 12/18/2020', '<NAME> age 84, went home to be with the Lord on December 18, 2020.\r\n\r\nThomas is survived by his wife <NAME>.\r\n\r\nChildren: <NAME>, <NAME>, <NAME>, <NAME>, <NAME> (Thomasina), <NAME>, <NAME> and <NAME>.\r\n\r\nSiblings: <NAME>, <NAME>, <NAME> and <NAME>.\r\n\r\nEleven Grandchildren and Nine Great-Grandchildren.', 'thomas.jpg'), (76, NULL, '<NAME>', '10/25/1950 - 12/16/2020', 'Memorial service to be held at a later date.', 'candle-gallery1.jpeg'), (77, NULL, '<NAME>', '08/03/1925 - 12/15/2020', 'On Tuesday, December 15, 2020, <NAME>, age 95, peacefully transitioned from labor to reward. The third child of <NAME> and <NAME> (Gragg) Cooper, Johnnie was born on August 3, 1925, in Acworth, GA. Johnnie grew up in Acworth, GA, and moved to New York when she was 16. She then moved to Dalton, Georgia, where she met the love of her life, future Major League Baseball player Harry “Suitcase” Simpson.\r\n\r\n \r\n\r\nJohnnie and Harry were married in the fall of 1946. To their loving union, five children were born. Due to her husband’s profession as a professional baseball player, they lived in several places, including San Diego, CA, Kansas City, KS, Cleveland, OH, New York, and Cuba.\r\n\r\n \r\n\r\nAfter moving to the Akron area, Johnnie attended Mt. Zion Baptist Church and then Arlington Street Church of God. She was a licensed cosmetologist in the Akron area for over 70 years. Johnnie began her career working at a small beauty salon in Barberton, OH then moved to Edinburgh Beauty Salon in Akron. During the 1980s, she became co-owner of Le Premiere Beauty Salon in north Akron with her daughter Gwen. Johnnie used her gift to help her clients feel beautiful both inside and out.\r\n\r\n \r\n\r\nJohnnie had many passions. She loved music and was self-taught on piano and organ. Quite the horticulturist, Johnnie also enjoyed taking care of her plants that bloomed so gloriously in her home. However, the family was Johnnie’s greatest love. She relished the opportunity to spend time with her family and traveled to Hawaii as often as she could to see her son, daughter-in-law, and grandchildren. She was a loving wife and doting mother who could often be found spending her days off babysitting her great-grandchildren.\r\n\r\n \r\n\r\nJohnnie was preceded in death by her husband <NAME>; sons <NAME>, Jr. and <NAME>; daughter <NAME>; parents <NAME> and <NAME>; sisters <NAME>, <NAME>, and <NAME>; and brothers <NAME>, Jr., and <NAME>.\r\n\r\n \r\n\r\nShe leaves to celebrate her life and memory her loving son, <NAME> of Akron, OH; devoted daughter, Harion (John) <NAME> of Fort Washington, MD; brother, Gerald (Veronica) Cooper; sister, Dorothy (Vince) Nevins; grandchildren, Carmelita (Kaleo) Westbrook, Lashawna (Marquis) Grimes, Keia (Jason) Williams, Michael (Breanne) Simpson Jr., Marcus (Daina) Simpson, Michelle (Tuli) Malepeai, and Maurice (Kayanna) Simpson; daughter-in-law, <NAME>; 20 great-grandchildren, 1 great-great-granddaughter, and a host of nieces, nephews, and other family members and friends.', 'jannie-m.jpg'), (78, NULL, '<NAME>', '02/22/2001 - 12/11/2020', '<NAME> went home to be with the Lord on December 11, 2020.\r\n\r\nTy’Len is survived by his Parents <NAME> and <NAME>; Siblings, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and a host of family and friends.', 'tylen.jpg'), (79, NULL, '<NAME>', '10/11/1945 - 12/14/2020', '<NAME>, age 75 went home to be with the Lord on December 14, 2020.\r\n\r\nParents: Grant and <NAME> (preceded him in death)\r\n\r\nHe was also preceded in death by his dedicated wife <NAME>. Turner of 25 year; Sisters Beatrice, Ernestine, Jean, Elaine and Shirley; Brothers, Charles and <NAME>r. and <NAME>.\r\n\r\nHe is survived by 2 brothers, Raymond (marie), Kenneth, 2 brothers-in-law Andrew and Frank (Laverne).\r\n\r\n5 children- <NAME>, <NAME> Sr. (Bernadette), <NAME>, <NAME>-Caffey (Carlton), <NAME> – White (Kevin)\r\n\r\n18 Grandchildren: Tiffany, Kholen, Tabbitha, Christian, TaShae, Laniece, Crenshaw, Hillary, Devin, Jasmine, Kevin Jr., DeAngelo, Destanie, Karlyn, Carlton Jr., Johnnie Jr., Ashley, Jordan\r\n\r\n15 Great Grandchildren', 'James-Turner.jpg'), (80, NULL, 'Linda Ann Slaughter', '11/25/1952 - 12/17/2020', '<NAME>laughter went home to be with the Lord on December 17, 2020.\r\n\r\nLinda is preceded in death by her parents Henry and <NAME>;\r\n\r\nLinda is survived by her son, <NAME>; sister, <NAME> and a host of family and friends.\r\n\r\nFacebookTwitter', 'Linda-Ann-Slaughter.jpg'), (81, NULL, '<NAME>, Jr.', '10/27/1933 - 12/17/2020', '<NAME> Jr. went home to be with the Lord on December 17, 2020.\r\n\r\n<NAME> is preceded in death by his parents <NAME> Sr., <NAME>; children <NAME>Clendon; siblings, <NAME>, <NAME>, Betty McClendon\r\n\r\n<NAME> is survived by his wife <NAME>; children, <NAME>, <NAME> (Cyrus); siblings, <NAME>, <NAME> (Garion), <NAME>, <NAME> (Kenneth); grandchildren, <NAME>, <NAME>, <NAME> (Kevin), <NAME>, <NAME>, <NAME>, <NAME>; 8 great-grandchildren and a host of family and friends.', 'Benjamin-McClendon-Jr.jpg'), (82, NULL, '<NAME>', '04/16/1950 - 12/17/2020', '<NAME> was called to her eternal home on December 17, 2020 at the age of 70. Pamela was preceded in passing by her parents, her daughter Angela and her brother Joseph. Thankful and blessed to cherish her memories are her beloved husband, <NAME> Sr; daughter <NAME> and granddaughter Aniah; sister, Josephine and brother, Alonzo; and a host of nieces, nephews, family and friends.', 'Pamela-Harris.jpg'), (83, NULL, 'Ruth \"Ruthy\" Mae Kirksey Lattimore', '03/26/1930 - 12/14/2020', 'On Monday, December 14, 2020, at the age of 90, Shepherdess Lattimore transitioned from time to eternity.\r\n\r\nShe leaves to cherish her memory her daughter, <NAME> (Cleveland) two sisters: <NAME> (Alliance) <NAME> (Cleveland), two brothers: <NAME> (Ella) Mohammed, (Cleveland), and Grover (Nadine) Kirksey (Alliance), four grandchildren: <NAME> (Las Vegas), <NAME> (Detroit) Jonathan and <NAME> (Cleveland), eight great grandchildren, one great-great grandchild, host of nieces and nephews, and a special niece Mrs. Charlette (Dennis) Thurman (Alliance), Good Samaritan Lighthouse and the Pittsburgh Community Food Bank. A host of sons and daughters in the gospel throughout this nation too numerous to name, however, honorable mention to Bishop <NAME> and Pentecostal Temple Church of God in Christ, Pittsburgh Steelers Coach <NAME> and the Steeler organization, Pittsburgh Food Bank Reps, The Kanarek Family, <NAME>, <NAME>, <NAME> (Richard) Reed, <NAME> (Thelma) Glenn, Mother <NAME>, <NAME> (Glenda) Brice and Pastor Selara (Diane) Mann (New Jersey), Pastor <NAME>, Pastor <NAME>, Rev. <NAME>, Rev. <NAME>, Bishop <NAME>, Bishop Brooks (deceased), Bishop <NAME>, Sr., Williams Temple Church of God in Christ, and The Ohio Central East Ecclesiastic Jurisdiction.\r\n\r\nShe was preceded in death by her parents, husband, son, three brothers: Sanford, Jr, Willie and <NAME>, four sisters <NAME>, <NAME>, <NAME>, and <NAME>.', 'Ruth-Ruthy.jpg'), (84, NULL, '<NAME>', '09/16/1953 - 12/15/2020', '<NAME> Tait age 67, Tait fell asleep in death on December 15, 2020.\r\n\r\nMildred leaves a lifetime of precious and loving memories to her daughters, <NAME> (Nate); <NAME> (LaTrell) and <NAME>; sons, <NAME> and <NAME>; her siblings: <NAME>, <NAME> (Dwayne), <NAME>, <NAME>, and <NAME>, 11 grandchildren, a host of great-grandchildren and an abundance of loving relatives and friends, including her two best friends, Linda and Rosalind.', 'Mildred-Renee.jpg'), (85, NULL, '<NAME>', '01/27/1938 - 12/20/2020', '<NAME> was born on January 27, 1938, in Greenwood, South Carolina to the late Ellis Warren and <NAME>. He was the oldest of six children. He attended school in Greenwood, South Carolina. The family attended church regularly. He joined the United States Air Force in 1956.\r\n\r\nIn 1958, Clyde married Bettye Foster of Akron, Ohio. From that union four beautiful daughters were born, <NAME>, <NAME>, <NAME>, and <NAME>. Clyde also has one son, <NAME>, two stepsons, <NAME> and <NAME> II; one stepdaughter, <NAME>.\r\n\r\nHe was a self-employed entrepreneur who was gifted in many ways. He really enjoyed making unique hand-made crafts. He was inspired to become a boxer, until the thought of his nose being broken! Clyde aka “Goodie” loved to dance, play cards, sing, and have a good time. Clyde was a compassionate person with a heart of gold.\r\n\r\nClyde’s style of fashion was classy, and he dressed to impress. He enjoyed teaching others and had a desire to learn more. One of his favorite sayings was, “Look at the people” and his favorite scripture was Psalms 23.\r\n\r\n \r\n\r\n<NAME> received his wings on December 20, 2020, to be with his Lord and Savior Jesus Christ.\r\n\r\n \r\n\r\nClyde was preceded in death by his parents; two sisters, <NAME> and <NAME>; one brother, <NAME> (Ralph); daughter, <NAME>; granddaughter, <NAME>.\r\n\r\n \r\n\r\nClyde is survived by his siblings, <NAME> aka “Butch” (Diane), Peggy King ( Fred, preceded in death ), <NAME> aka “Teko” all of Evanston, Illinois; brother-in-law, <NAME> (Joyce ) of Columbus, Ohio, Sancyarae <NAME> (Richard, preceded in death ), <NAME> (Dexter), <NAME> (Kent); stepdaughter, <NAME> (Corey); stepson, <NAME> II (Brenda) all of California, Theodore Moore and <NAME> (Sharon) of Ohio. He was blessed with 16 grandchildren; 28 great-grandchildren; 2 great-great-granddaughters and a host of nieces, nephews, cousins, family, and friends.', 'Clyde-Goodman.jpg'), (86, NULL, '<NAME>wards', '06/28/1968 - 12/21/2020', 'Traci Lynette Edwards age 52, fell asleep in death, on December 21, 2020. Traci is survived by her parents: <NAME>, <NAME> and <NAME>. One brother <NAME> (Juanita). One niece <NAME>.', 'Traci-Lynette-Edwards.jpg'), (87, NULL, '<NAME>', '12/03/1945 - 12/21/2020', '<NAME>, age 75, went home to be with the Lord on December 21, 2020, after a short illness. She was born in Akron, Ohio on December 3, 1945.\r\n\r\nShe graduated from South High School in 1963. She worked briefly as a dental assistant. She later met <NAME>, and they were married in 1965, a marriage that lasted for 55 years. From this union two sons were born, Peter and Dexter. Thereafter, she joined the Mt. Zion Baptist Church and became a deaconess, serving faithfully until her death. Roberta was loved by her family and friends, and she will be greatly missed.\r\n\r\nRoberta (Bert) was preceded in death by her father, <NAME>; mother, <NAME>; brothers, <NAME>, and <NAME>; sisters, <NAME>, and <NAME>; brother-in-law, Rev. Dr. <NAME>.\r\n\r\nShe leaves to cherish her memory, her loving husband, <NAME>; sons, Peter (Karlett) Shoates, and <NAME>; brother, <NAME> (Sondra) Shephard, Jr.; special friend, Patricia “Pat” Moore; and a host of grandchildren, great- grandchildren, nieces, nephews, cousins, relatives, and friends.', 'Roberta-Shoates.jpg'), (88, NULL, '<NAME>, Sr.', '05/07/1932 - 12/20/2020', 'On Sunday, December 20, 2020. <NAME> made his peaceful transition, labor-to-reward, at the age of 88. He was the first born of five, arriving on May 7, 1932 in Boligee, Alabama, to his late parents, <NAME> and <NAME> Sr.\r\n\r\nJimmie was a proud military veteran, serving his country for two years pushing through the ranks of the Army and retiring as a Corporal in 1955. He then worked for Chrysler for 25 years, later retiring in 1988.\r\n\r\nJimmie was such a loving and caring person. He would sit and talk with anyone that he came in contact with, sharing much knowledge and wisdom that you would never forget. He loved to be with family, sit and tell a lot of jokes, and tell old stories from his childhood.\r\n\r\nJimmie was preceded in death by his parents; daughter, <NAME>; brother; <NAME>.\r\n\r\nHe leaves to carry on his legacy his devoted and loving wife, <NAME>; daughters, <NAME>, <NAME> and <NAME>; sons, <NAME> and <NAME> Jr.; sister; <NAME>; brothers, James (Nellie) Burt and Willie (Minnie) Byrd; grandchildren, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> (lll), <NAME> and <NAME>, <NAME>, <NAME>, <NAME>, and <NAME> along with a host of great-grandchildren, nieces, nephews and other loving relatives and friends.', 'Jimmie-Lee-Burt-Sr.jpg'), (89, NULL, '<NAME>', '01/31/1952 - 12/14/2020', '<NAME>, went home to be with the Lord on December 14, 2020.\r\n\r\nElaine is survived by her Parents <NAME> and <NAME>; children, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>; Siblings, <NAME> Sr. <NAME>; grandchildren, Deshai, Deon, Brittany, Jacarra, Marrisa, Pastina, Shakenya, Jeremiah, Isaiah, Deangelo, Delonta, Delvonta, Demarco, Darian, Da’Vion, Ante’nesia; 31 great-grandchildren, 17 great-granddaughters, 14 great-grandsons, and a host of family and friends.', 'Elaine-V-Smith.jpg'), (90, NULL, '<NAME>-<NAME>', '08/28/2000 - 12/14/2020', '<NAME>-<NAME> wen t home to be with the lord on December 14, 2020 at the age of 20. Chris leaves to cherish his many memories parents, <NAME>; stepfather, <NAME>; and siblings, <NAME>, <NAME> and <NAME>, <NAME>, <NAME> and <NAME>', 'Christopher-Robert-Maurice-Williams.jpg'), (91, NULL, 'Nathaniel \"Nate\" Wilder', '09/03/1928 - 12/19/2020', 'Nathaniel “Nate” Wilder age 92, went home to be with the Lord on December 19, 2020. Nate is survived by his beloved wife Dr. <NAME> of 64 years.\r\n\r\nChildren: Herbert (Carole) Colvin, <NAME> and <NAME>.\r\n\r\nGrandchildren: Camille (Karnardo) Garnett, <NAME>, Cameron (Christine) Colvin, <NAME>, <NAME>, Alycia (Matthew) Wilder-Mollison, <NAME>, Travell (Ayanna) Summerville, Courtney (Sean) Summerville and <NAME>.\r\n\r\n19 Great-Grandchildren.\r\n\r\nIn lieu of flowers, the family suggests donations to the St. Mark’s Presbyterian Church (Jazz Vespers Program) or the National Kidney Foundation of Northern Ohio.', 'Nathaniel-Nate-Wilder.jpg'), (92, NULL, '<NAME>', '07/21/1939 - 12/19/2020', '<NAME>, age 81 went home to be with the Lord on December 19, 2020. Jean is survived by her devoted husband, <NAME> Sr.; children, <NAME> (Benjamin), <NAME>, <NAME> Jr., <NAME>; siblings, <NAME> (Lucille) and <NAME>; her aunt, Juanita Singleton; 8 grandchildren, 3 of which she raised as if they were her own, <NAME>, <NAME> ( Eric) and <NAME>; <NAME>, <NAME>, <NAME>, <NAME> and <NAME>; 18 great grandchildren and a host of cousins, nieces, nephews, great nieces, great nephews, caregivers, church family and friends.\r\n\r\n<NAME> was born in Cleveland Ohio on July 21, 1939 to the late Samuel and <NAME>. She was the fourth of eight children. Five siblings preceded her in death, Eva, Jerry, Franklin (Deborah), Lawrence (Carol) and Samuel (Gloria).\r\n\r\nJean attended John Hay High School. After high school, she worked several jobs, including Stouffers restaurant, where she met <NAME> Sr. They later married in 1963 and together they raised four children.\r\n\r\nA loving mother and devoted wife, Jean had a lot of love to give others and found a passion in being an educator. She was a teacher’s assistant for the Cleveland Public Schools for over 30 years. Every student that had her as a teacher always says “She was the best teacher I’ve ever had.”\r\n\r\nWhen Jean was not being a caregiver, she enjoyed comics, puzzles, and a cold Pepsi. If you bought her a card, she wanted one of her favorite inspirational poets, Helen Steiner Rice.\r\n\r\nJean started her love of Christ at an early age, attending her father’s church, St Luke Free Will Spiritual Methodist Church. From there she attended Temple Baptist Church under the pastorate of the late Rev. Dr. AE Campbell and now Pastor Sedric D. Veal Sr. She was a faithful member attending church regularly and serving on the Usher Board, Sr Ministry, Noon Day Bible Class, and Vacation Bible School. She would always help wherever there was a need.\r\n\r\n<NAME> passed peacefully from this life on December 19, 2020 after a gradual decline in health. She was surrounded and supported by her loving family in her last moments of life.\r\n\r\nMany family members are left to cherish her memories, devoted husband, <NAME> Sr.; children, <NAME> (Benjamin), <NAME>, <NAME> Jr., <NAME>; siblings, <NAME> (Lucille) and <NAME>; her aunt, <NAME>; 8 grandchildren, 3 of which she raised as if they were her own, <NAME>, <NAME> ( Eric) and <NAME>; <NAME>, <NAME>, <NAME>, <NAME> and <NAME>; 18 great grandchildren and a host of cousins, nieces, nephews, great nieces, great nephews, caregivers, church family and friends.', 'Jean-C-Jubert.jpg'), (93, NULL, '<NAME>', '07/08/1966 - 12/24/2020', '<NAME>, age 54, went home to be with the Lord on December 24, 2020. <NAME> is survived by his beloved wife, <NAME>; mother, <NAME>; children, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> Jr.; siblings, <NAME>, Marvin (Doris) Raum, and <NAME>; granddaughter, <NAME>. Vincent is the son of the late, <NAME>.', 'Vincent-Lee-Grimes.jpg'), (94, NULL, '<NAME>', '10/19/1952 - 12/18/2020', 'Linda <NAME>, age 68, went home to be with the Lord on Friday, December 18, 2020. Linda is survived by her Lynch family; Mary Lynch of South Euclid, Ohio, Michael Lynch of Columbus, Ohio, Theresa (Wayne) Martin of Columbus, Ohio, Larry Lynch of Bedford Heights, Ohio, Ricky (Chryscelle) Lynch of Bedford, Ohio, Christine (DelRay) Sanders of Cleveland, Ohio, Margarita Lynch of Eastlake, Ohio, Naomi White of Tallmadge, Ohio, Marcia Elliott of South Euclid, Ohio, Stephen Lynch of Columbus, Ohio, and Earl Lynch of Tallmadge, Ohio. Linda is also survived by three special friends, MaryLou, 60 years friendship, <NAME>, 55 years friendship & <NAME>, 40+ year friendship. Linda also leaves a host of nieces, nephews, great nieces and nephews, and godchildren. Linda’s long-term companion, <NAME> Jr. aka Paco preceded her in death.', 'Linda-Charlier.jpg'), (95, NULL, '<NAME>', '05/31/1964 - 12/20/2020', 'TIMOTHY LEE BEASLEY age 56, went home to be with the Lord on December 20, 2020.\r\n\r\nTimothy is survived by his beloved mother <NAME>; one, son <NAME> Jr. Sibling: Joya Beasley Sr., <NAME> (Freda). One grandson Dom’eeion Harrell. He was preceded in death by his brother <NAME> Jr.', 'candle-gallery2.jpeg'), (96, NULL, '<NAME>', '09/27/1961 - 12/20/2020', '<NAME> went home to be with the Lord on December 20, 2020.\r\n\r\nKenneth is preceded in death by his parents, Alice, and Earnest Shields; Sibling, Larry.\r\n\r\nKenneth is survived by his beloved wife Donna; Children, Angela, Endia, Chyna, Tiffany, Darnell, D’Angelo; Siblings, <NAME>, Kelvin, Gregory, Lavonia; grandchildren, <NAME>, Hannah, Elijah and <NAME>, <NAME> Jr., <NAME>, <NAME> and a host of family and friends.', 'Kenneth-Shields.jpg'), (97, NULL, '<NAME>', '07/27/1984 - 12/19/2020', '<NAME> age 36, passed away December 19, 2020. Delontez was born July 27, 1984 in Cleveland, Ohio. Delontez is survived by his wife Candice, their four children, his mother and father, his sisters , his nephews , and his grandfather, his uncles , and several cousins. Delontez will be greatly missed and fondly remembered. ', 'Delontez-Lawrence.jpg'), (98, NULL, '<NAME>', '05/14/1926 - 12/23/2020', '<NAME> was born on May 14, 1926 in Brinkley, Arkansas to <NAME>, Sr. and <NAME> (Fullerton). Opher was preceded in death by three brothers: <NAME>, <NAME> and <NAME>, Jr. and a daughter, <NAME>.\r\n\r\n \r\n\r\nOpher was a long-time member of East Glenville United Methodist Church and Celebration United Methodist Church, consecrated after East Glenville and Werner United Methodist Church combined. He served on the Trustee Board, was a member of the Men’s Choir and the United Methodist Men. He helped organize the Annual Men’s Pancake Breakfast, Men’s Fish Fry and other fundraising events. He supported East Glenville and Celebration with his time and energy. <NAME> was vigilant, listened and trusted the Lord, Jesus Christ until the end of his life.\r\n\r\n \r\n\r\nBig “O” as he was affectionately known by his family, came to Cleveland in the 1930s. He attended Central High School. He joined the Army and fought in the South Pacific from 1945-1946. After being honorably discharged, he worked for the city of Euclid. He was a member of Teamsters Local 138 and retired from ACME Foods in 1988.\r\n\r\n \r\n\r\nBig “O” married <NAME> in June 1954 and from this union one child was born, <NAME>. They were married for sixty-five years.\r\n\r\n \r\n\r\nBig “O” was a quiet and loyal man. He was an exceptional roller-skater. The “Pla-Mor” Skating Rink had a display of him skating. He loved to dance with his wife and play catch with his son. He rooted for the Cleveland Browns, Indians, and Cavaliers. He was a prolific Browns fan and attended the games with his family from 1946-2015 and as a season ticket holder from 1965. He enjoyed his daily walks around Euclid Creek Park for over 30 years after he retired.\r\n\r\n \r\n\r\nOpher peacefully departed this life on Wednesday, December 23, 2020. He leaves to celebrate his transition to Heaven, his son, <NAME> (Belinda); three grandchildren, <NAME>, <NAME>, and <NAME>; one brother-in-law, <NAME>, four sisters-in-law, <NAME>, <NAME>, <NAME> and <NAME>our all of Cleveland, Ohio and a host of nieces, nephews, cousins, other relatives and friends.', 'Opher-Jackson.jpg'), (99, NULL, '<NAME>', '09/03/1928 - 12/19/2020', '<NAME> went home to be with the Lord on December 19, 2020 at the age of 92', 'candle-gallery3.jpeg'), (100, NULL, '<NAME>', '10/18/1942 - 12/21/2020', '<NAME> went home to be with the Lord on December 21, 2020 at the age of 78.', 'Delores-A-Dunlop.jpg'), (101, NULL, 'Mrs. <NAME>', '05/05/1954 - 12/22/2020', '<NAME> went home to be with the Lord on December 22, 2020 at the age of 66.\r\n\r\nGloria is preceded in death by her parents, <NAME> and <NAME> Brown\r\n\r\nGloria is survived by her husband <NAME>; stepmother, <NAME>; children <NAME>, Tita (David) Watson; Siblings, <NAME>, Lorena (Melvin) Royster, Carla (Harry) Halmon, <NAME>, <NAME>, and <NAME>; grandchildren, <NAME>, and a host of family and friends.', 'Mrs-Gloria-Ann-Coleman.jpg'), (102, NULL, '<NAME>', '11/07/1935 - 12/19/2020', '<NAME> went home to be with the Lord on December 19, 2020. She was born in Forrest City, Arkansas on November 7,1935. She was preceded in death by her parents George and <NAME>; husband Leonard (LC) Roundtree, brother Sylvester (Buster) Taylor, Sr. She is survived by her daughter Sharon (Robert, deceased) Ware, step-grandchildren Shyvonne and Tasha; step-great grandchildren Kevin, Moniere, Ryan, Joshua and Kyran; step great, great grandchild Reign, and son Leonard (Rena) Roundtree, grandchildren Tianna (Tre), Kiarra, Jorel, and Javan; great grandchildren Jeremy and Kimora and sister Gurtha (Louis, deceased) Moore, in-laws Gladys (deceased Sylvester (Buster)) Taylor, Louise (deceased) (deceased Sylvester (Buster)) Taylor, <NAME>, Mattie (Bill, deceased) Pitts, Charlene (Thaddeus) Troy and a host of loving in-laws preceded in death, nephews, nieces, cousins, and friends.', 'Betty-Mae-Roundtree.jpg'), (103, NULL, '<NAME>', '07/20/1951 - 12/25/2020', 'Dianne is survived by her father, <NAME> Sr.; husband, <NAME> Sr.; her children, <NAME> Jr. (m. Guin<NAME>), <NAME>, <NAME>, <NAME> and bonus daughter, <NAME>; her siblings, <NAME> and <NAME>; her grandchildren, <NAME> and Giana; her nieces Lashawn and <NAME>. She is preceded in death by her beloved mother, <NAME>, and her brother, <NAME> Jr.', 'Dianne-Naimah-Rashada.jpg'), (104, NULL, '<NAME>', '09/16/1957 - 12/13/2020', '<NAME> age 63, went home to the with the Lord on December 13, 2020.\r\n\r\nRobert son of <NAME> and the late <NAME> (11/2020). Survived by his sibling: <NAME>, <NAME> and <NAME>. Several grandchildren and a host of relatives and friends. He was preceded in death by his son Rayshawn.', 'Robert-Cory-Albert.jpg'), (105, NULL, '<NAME>', '02/06/1942 - 12/21/2020', '<NAME> went home to be with the Lord on December 21, 2020 at the age of 76.', 'candle-gallery4.jpeg'), (106, NULL, '<NAME>', '12/20/1942 - 12/20/2020', '<NAME> (nee Hall) age 78 of Cleveland, Ohio passed away on Sunday, December 20, 2020. Frances is survived by her brother, <NAME>, Jr. (JoAnne) of Lyndhurst, OH; sister-in-law Carolyn Hall (Clinton, dec.) of Warrensville Hts., OH; nieces Dr. Teresa Dews (David) of Bratenahl, OH; Tracey Yarbrough (Reese) of Twinsburg, OH: Kimberly Hall of Warrensville Hts., OH and nephews: Dr. Ricardo Hall (Andrea) of Easton, PA.: Thomas Hall III (Shannon) of Edmond, OK; Leonard Hall of Cleveland, OH and a host of relatives and friends.', 'Frances-Louise-Williams.jpg'), (107, 4, '<NAME>', '07/29/1995 - 12/27/2020', '<NAME>, age 65, went home to be with the Lord on December 27, 2020. Lamar is survived by his loving wife, <NAME>; children, <NAME>, <NAME>r., and <NAME>; brother, <NAME>.', 'web-46.jpg'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id` int(255) NOT NULL, `first_name` varchar(255) NOT NULL, `last_name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `pwd_reset_token` varchar(255) NOT NULL, `user_status` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `first_name`, `last_name`, `email`, `password`, `pwd_reset_token`, `user_status`) VALUES (4, 'Admin', 'Admin', '<EMAIL>', '<PASSWORD>d6f1a12e9d6b05d14c5f6b1fee87d11293c605d2d8f4dcbd01084c94b752a4143a208f5d16cdd46a73207cdtgMr0d5rCEAW4ijmZQrGPDXA7rf1aeieiiqLXXRVycQ=', '', 'admin'); -- -- Indexes for dumped tables -- -- -- Indexes for table `cemetery` -- ALTER TABLE `cemetery` ADD PRIMARY KEY (`id`), ADD KEY `user_id` (`user_id`); -- -- Indexes for table `obituary` -- ALTER TABLE `obituary` ADD PRIMARY KEY (`id`), ADD KEY `user_id` (`user_id`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `cemetery` -- ALTER TABLE `cemetery` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `obituary` -- ALTER TABLE `obituary` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=108; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- Constraints for dumped tables -- -- -- Constraints for table `cemetery` -- ALTER TABLE `cemetery` ADD CONSTRAINT `cemetery_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `obituary` -- ALTER TABLE `obituary` ADD CONSTRAINT `obituary_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL 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 */;
<filename>data-raw/sql/note_nlp.sql<gh_stars>0 CREATE TABLE note_nlp ( note_nlp_id BIGINT NOT NULL , note_id INTEGER NOT NULL , section_concept_id INTEGER NULL , snippet VARCHAR(250) NULL , offset VARCHAR(250) NULL , lexical_variant VARCHAR(250) NOT NULL , note_nlp_concept_id INTEGER NULL , note_nlp_source_concept_id INTEGER NULL , nlp_system VARCHAR(250) NULL , nlp_date DATE NOT NULL , nlp_datetime DATETIME2 NULL , term_exists VARCHAR(1) NULL , term_temporal VARCHAR(50) NULL , term_modifiers VARCHAR(2000) NULL ) ;
<reponame>kdeng/java-demos -- drop table USER if exists; -- CREATE TABLE USER (ID integer identity primary key,USERNAME varchar(20) NOT NULL, MOBILE varchar(20) not null, EMAIL varchar(50) default null, FULLNAME varchar(50) DEFAULT NULL, ROLE varchar(1) DEFAULT NULL, STATUS varchar(1) DEFAULT NULL, DATE_CREATED integer, DATE_UPDATED integer, unique(MOBILE)); -- CREATE SCHEMA OSNZ AUTHORIZATION DBA; -- id BIGINT generated by default as identity (start with 1), -- CREATE SCHEMA OSNZ; --CREATE SCHEMA IF NOT EXISTS OSNZ; --CREATE SEQUENCE OSNZ.OSNZ_SEQUENCE START WITH 1 INCREMENT BY 1; --CREATE SEQUENCE OSNZ.DEFAULT_CW_MEMBER START WITH 1 INCREMENT BY 1; CREATE TABLE member ( id INTEGER IDENTITY PRIMARY KEY, email VARCHAR(50) DEFAULT NULL, mobile VARCHAR(20) NOT NULL, password VARCHAR(50) NOT NULL, created_on DATETIME NOT NULL, updated_on DATETIME NOT NULL, date_verified_email DATETIME DEFAULT NULL, verified_email INT NOT NULL, role VARCHAR(50) NOT NULL, credit_point INTEGER NOT NULL, pending_expense DECIMAL(12, 2) NOT NULL, total_expense DECIMAL(12, 2) NOT NULL, active INT NOT NULL );
USE [Smile_Logistics] GO /****** Object: Table [dbo].[Job_Workings] Script Date: 31-Mar-17 23:05:03 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Job_Workings]( [ID] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](50) NOT NULL, [Description] [ntext] NOT NULL, [LastestUpdated] [datetime] NOT NULL, [UpdatedBy] [int] NOT NULL, [IsDeleted] [bit] NOT NULL CONSTRAINT [DF_Job_Workings_IsDeleted] DEFAULT ((0)), CONSTRAINT [PK_Job_Workings] 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 ALTER TABLE [dbo].[Job_Workings] WITH CHECK ADD CONSTRAINT [FK_Job_Workings_Sys_Users] FOREIGN KEY([UpdatedBy]) REFERENCES [dbo].[Sys_Users] ([ID]) GO ALTER TABLE [dbo].[Job_Workings] CHECK CONSTRAINT [FK_Job_Workings_Sys_Users] GO
<gh_stars>0 CREATE TABLE `tblRateGenerator` ( `RateGeneratorId` int(11) NOT NULL AUTO_INCREMENT, `CompanyID` int(11) NOT NULL, `CodeDeckId` int(11) DEFAULT NULL, `RateGeneratorName` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `TrunkID` int(11) DEFAULT NULL, `RatePosition` int(11) NOT NULL DEFAULT '1', `RateTableId` int(11) DEFAULT NULL, `UseAverage` tinyint(1) NOT NULL DEFAULT '0', `UsePreference` tinyint(1) DEFAULT NULL, `Sources` varchar(50) COLLATE utf8_unicode_ci DEFAULT 'All', `Status` tinyint(3) unsigned DEFAULT '1', `created_at` datetime DEFAULT NULL, `CreatedBy` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `updated_at` datetime DEFAULT NULL, `ModifiedBy` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `CurrencyID` int(11) DEFAULT NULL, `Policy` int(11) DEFAULT NULL, PRIMARY KEY (`RateGeneratorId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
ALTER TABLE `wniosek_nadanie_odebranie_zasobow` CHANGE `pracownicy` `pracownicy` text COLLATE 'utf8_unicode_ci' NULL AFTER `pracownikSpozaParp`;
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64) -- -- Host: localhost Database: traindb -- ------------------------------------------------------ -- Server version 5.6.37 /*!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 `train` -- DROP TABLE IF EXISTS `train`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `train` ( `TrainID` int(11) NOT NULL, `RailwayID` int(11) DEFAULT NULL, `Arrival StationID` int(11) NOT NULL, `DepartureStationID` int(11) NOT NULL, `Duration` int(11) DEFAULT NULL, `TrainTypeID` int(11) DEFAULT NULL, PRIMARY KEY (`TrainID`), UNIQUE KEY `TrainID_UNIQUE` (`TrainID`), KEY `RailwayId_idx` (`RailwayID`), KEY `traintypeid_idx` (`TrainTypeID`), KEY `arrivalstationid_idx` (`Arrival StationID`), KEY `depraturestationid_idx` (`DepartureStationID`), CONSTRAINT `RailwayId` FOREIGN KEY (`RailwayID`) REFERENCES `railwaystation` (`RailStationId`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `arrivalstationid` FOREIGN KEY (`Arrival StationID`) REFERENCES `railwaystation` (`RailStationId`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `depraturestationid` FOREIGN KEY (`DepartureStationID`) REFERENCES `railwaystation` (`RailStationId`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `traintypeid` FOREIGN KEY (`TrainTypeID`) REFERENCES `train classification` (`TrainTypeID`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `train` -- LOCK TABLES `train` WRITE; /*!40000 ALTER TABLE `train` DISABLE KEYS */; INSERT INTO `train` VALUES (1,1,1,2,5,2),(2,2,3,4,2,2),(3,4,5,4,6,2),(4,6,7,6,150,1),(5,3,3,5,10,2); /*!40000 ALTER TABLE `train` 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-12-13 3:41:13
<reponame>diogocezar/dctb-old-systems CREATE TABLE Grupo ( idGrupo INTEGER NOT NULL, contGrupo INTEGER NOT NULL, nomeGrupo VARCHAR(50) NOT NULL, PRIMARY KEY (idGrupo) ); CREATE TABLE Pagina ( idPagina INTEGER NOT NULL, ultimoAcesso TIMESTAMP NOT NULL, urlPagina VARCHAR(250) NOT NULL, contPagina INTEGER NOT NULL, PRIMARY KEY (idPagina) ); CREATE TABLE ParametrosAdm ( paLogin VARCHAR(15) NOT NULL, paSenha VARCHAR(15) NOT NULL, kAcrecimoFeromonio INTEGER NOT NULL, patchSite VARCHAR(250) NOT NULL ); CREATE TABLE Feromonio ( idFeromonio INTEGER NOT NULL, idPaginaOrigem FLOAT NOT NULL, idPaginaDestino FLOAT NOT NULL, idGrupo CHAR(18) NOT NULL, qtdFeromonio FLOAT NOT NULL, PRIMARY KEY (idFeromonio), FOREIGN KEY (idGrupo) REFERENCES Grupo, FOREIGN KEY (idPaginaDestino) REFERENCES Pagina, FOREIGN KEY (idPaginaOrigem) REFERENCES Pagina ); CREATE TABLE CorLink ( corHexadecimal VARCHAR(7) NOT NULL, qtdMinFeromonio FLOAT NOT NULL, qtdMaxFeromonio FLOAT NOT NULL );
<filename>aws/aurora-mysql-tables/alerts-waze-tbl.sql CREATE TABLE `wazer`.`alerts` ( `uuid` varchar(30) NOT NULL, `type` varchar(100) DEFAULT NULL, `subtype` varchar(100) DEFAULT NULL, `street` varchar(45) DEFAULT NULL, `reportRating` int(11) DEFAULT NULL, `reportDescription` varchar(45) DEFAULT NULL, `reliability` int(11) DEFAULT NULL, `pubMillis` bigint(50) DEFAULT NULL, `nThumbsUp` int(11) DEFAULT NULL, `magvar` int(11) DEFAULT NULL, `latitude` double DEFAULT NULL, `longitude` double DEFAULT NULL, `country` varchar(45) DEFAULT NULL, `confidence` int(11) DEFAULT NULL, `city` varchar(45) DEFAULT NULL, `wid` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`wid`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=latin1
--########################################################### --Contributor: Unknown --Usage: Use this to view locks --Results: The list of locks on this system. --########################################################### SELECT t1.resource_type, t1.resource_database_id, t1.resource_associated_entity_id, t1.request_mode, t1.request_session_id, t2.blocking_session_id, o1.name 'object name', o1.type_desc 'object descr', p1.partition_id 'partition id', p1.rows 'partition/page rows', a1.type_desc 'index descr', a1.container_id 'index/page container_id' FROM sys.dm_tran_locks as t1 LEFT OUTER JOIN sys.dm_os_waiting_tasks as t2 ON t1.lock_owner_address = t2.resource_address LEFT OUTER JOIN sys.objects o1 on o1.object_id = t1.resource_associated_entity_id LEFT OUTER JOIN sys.partitions p1 on p1.hobt_id = t1.resource_associated_entity_id LEFT OUTER JOIN sys.allocation_units a1 on a1.allocation_unit_id = t1.resource_associated_entity_id
<gh_stars>1-10 SELECT a2.name AS [tablename], a1.rows as row_count, (a1.reserved + ISNULL(a4.reserved,0))* 8 AS reserved, a1.data * 8 AS data, (CASE WHEN (a1.used + ISNULL(a4.used,0)) > a1.data THEN (a1.used + ISNULL(a4.used,0)) - a1.data ELSE 0 END) * 8 AS index_size, (CASE WHEN (a1.reserved + ISNULL(a4.reserved,0)) > a1.used THEN (a1.reserved + ISNULL(a4.reserved,0)) - a1.used ELSE 0 END) * 8 AS unused FROM (SELECT ps.object_id, SUM ( CASE WHEN (ps.index_id < 2) THEN row_count ELSE 0 END ) AS [rows], SUM (ps.reserved_page_count) AS reserved, SUM ( CASE WHEN (ps.index_id < 2) THEN (ps.in_row_data_page_count + ps.lob_used_page_count + ps.row_overflow_used_page_count) ELSE (ps.lob_used_page_count + ps.row_overflow_used_page_count) END ) AS data, SUM (ps.used_page_count) AS used FROM sys.dm_db_partition_stats ps WHERE ps.object_id NOT IN (SELECT object_id FROM sys.tables WHERE is_memory_optimized = 1) GROUP BY ps.object_id) AS a1 LEFT OUTER JOIN (SELECT it.parent_id, SUM(ps.reserved_page_count) AS reserved, SUM(ps.used_page_count) AS used FROM sys.dm_db_partition_stats ps INNER JOIN sys.internal_tables it ON (it.object_id = ps.object_id) WHERE it.internal_type IN (202,204) GROUP BY it.parent_id) AS a4 ON (a4.parent_id = a1.object_id) INNER JOIN sys.all_objects a2 ON ( a1.object_id = a2.object_id ) INNER JOIN sys.schemas a3 ON (a2.schema_id = a3.schema_id) WHERE a2.type <> N'S' and a2.type <> N'IT' ORDER BY a3.name, a2.name
BEGIN TRANSACTION; CREATE TABLE IF NOT EXISTS "Form" ( "OgrId" INTEGER NOT NULL UNIQUE, "OgrAdi" TEXT NOT NULL, "OgrSoyadi" TEXT NOT NULL, "OgrTC" TEXT NOT NULL, "OgrNo" TEXT NOT NULL, "OgrFak" TEXT NOT NULL, "OgrProg" TEXT NOT NULL, "OgrSinif" TEXT NOT NULL, "OgrEposta" TEXT NOT NULL, "OgrTel" TEXT NOT NULL, "StjDurum" TEXT NOT NULL, "StjBasT" TEXT NOT NULL, "StjBitT" TEXT NOT NULL, "StjSure" TEXT NOT NULL, "StjGun" TEXT NOT NULL, "FrmAdi" TEXT NOT NULL, "FrmAdres" TEXT NOT NULL, "FrmAlani" TEXT NOT NULL, "FrmPerSayi" TEXT NOT NULL, "FrmSGK" TEXT NOT NULL, "FrmTel" TEXT NOT NULL, "FrmEposta" TEXT NOT NULL, "YonAdi" TEXT NOT NULL, "YonSoyadi" TEXT NOT NULL, "YonGorev" TEXT NOT NULL, "YonEposta" TEXT NOT NULL, PRIMARY KEY("OgrId" AUTOINCREMENT) ); CREATE TABLE IF NOT EXISTS "KullanıcıGiris" ( "KulId" INTEGER NOT NULL UNIQUE, "KulAdi" TEXT NOT NULL, "KulSifre" TEXT NOT NULL, PRIMARY KEY("KulId" AUTOINCREMENT) ); INSERT INTO "Form" VALUES (89,'Ali','VELİ','0','1180505008','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5435362525',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (90,'Ahmet','AKPINAR','0','1180505014','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5312153353','0','2020-10-02T00:00:00','2020-10-02T00:00:00','0','[]','Softtech','ANKARA','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (91,'Yasin','AKYASAN','0','1180505029','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5386807144',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (92,'BETÜL','ALKAN','0','1180505027','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5558655555','0','2020-10-02T00:00:00','2020-10-02T00:00:00','0','[]','Gittigidiyor','ANKARA','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (93,'<NAME>','DENİZCİ','0','1180505042','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5433158747','0','2020-10-02T00:00:00','2020-10-02T00:00:00','0','[]','Softtech','ANKARA','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (94,'<NAME>','ASLAN','0','1180505803','MÜH.FAK.','YAZILIM MÜH.','1','<EMAIL>','5458745456',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (95,'ZEYNEL','AVKAROĞLU','0','1180505048','MÜH.FAK.','YAZILIM MÜH.','1','<EMAIL>','5458724123',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (96,'NUMAN VEYSEL','AYAR','0','1180505043','MÜH.FAK.','YAZILIM MÜH.','1','<EMAIL>','5074139321',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (97,'Muhammed','AYIRAN','0','1180505044','MÜH.FAK.','Y<NAME>.','1','<EMAIL>','5524100529',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (98,'','','0','','','','','','',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (99,'','','0','*NORMALDE 80-100 arası öğrenci olacak bu listede','','','','','',' ','2020-10-02 15:01:59.922763','2020-10-02 15:01:59.922763','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (100,'Arzu','VELİ','0','1180505008','MÜH.FAK.','<NAME>.','2','<EMAIL>','5435362525',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (101,'Yahya','AKPINAR','0','1180505014','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5312153353',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (102,'Yeter','AKYASAN','0','1180505029','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5386807144',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (103,'Bebek','ALKAN','0','1180505027','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5558655555',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (104,'<NAME>','DENİZCİ','0','1180505042','MÜH.FAK.','YAZILIM MÜH.','2','<EMAIL>','5433158747',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (105,'<NAME>','ASLAN','0','1180505803','MÜH.FAK.','YAZILIM MÜH.','1','<EMAIL>','5458745456',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (106,'ZEYNEP','AVKAROĞLU','0','1180505048','MÜH.FAK.','YAZILIM MÜH.','1','<EMAIL>','5458724123',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (107,'<NAME>','AYAR','0','1180505043','MÜH.FAK.','YAZILIM MÜH.','1','<EMAIL>','5074139321',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "Form" VALUES (108,'Mesned','AYIRAN','0','1180505044','MÜH.FAK.','YAZILIM MÜH.','1','<EMAIL>','5524100529',' ','2020-10-02 15:27:10.567229','2020-10-02 15:27:10.567229','0','0','0','0','0','0','0','0','0','0','0','0','0'); INSERT INTO "KullanıcıGiris" VALUES (1,'Olcay','Dark39'); INSERT INTO "KullanıcıGiris" VALUES (2,'Olcay',''); INSERT INTO "KullanıcıGiris" VALUES (3,'Olcay','Dark39'); INSERT INTO "KullanıcıGiris" VALUES (4,'Olcay','Dark39'); INSERT INTO "KullanıcıGiris" VALUES (5,'Olcay','Dark39'); COMMIT;
create table result ( ss_a {{ substring('🥰😘😍' from 1) }} ss_b {{ substring('🥰😘😍' from 2) }} ss_c {{ substring('🥰😘😍' from 2 for 1) }} ss_d {{ substring('🥰😘😍' from -99) }} ss_e {{ substring('🥰😘😍' from 99) }} ss_f {{ substring('🥰😘😍' from 2 for 99) }} ss_g {{ substring('🥰😘😍' from -2 for 99) }} ss_h {{ substring('🥰😘😍' from -1 for 3) }} ss_i {{ substring('🥰😘😍' from 2 for -1) }} ss_j {{ substring('🥰' from 2 using octets) }} ss_k {{ substring('🥰' from 2 for 2 using octets) }} ss_l {{ substring('🥰' from -1 for 3 using octets) }} ss_m {{ substring('🥰' from 99 using octets) }} ss_n {{ substring('🥰' from 99 for 99 using octets) }} ss_o {{ substring('🥰😘😍' for 2) }} ss_p {{ substring('🥰😘😍' for 2 using octets) }} ov_a {{ overlay('ABCDEF' placing '🥰' from 2) }} ov_b {{ overlay('ABCDEF' placing '🥰' from 2 using octets) }} ov_c {{ overlay('🥰😘😍' placing 'A' from 1) }} ov_d {{ overlay('🥰' placing 'A' from 1 using octets) }} ov_e {{ overlay('XYZ' placing 'abc' from 3) }} ov_f {{ overlay('XYZ' placing 'abc' from 3 using octets) }} ov_g {{ overlay('ABCDEF' placing '_' from 2 for 4) }} ov_h {{ overlay('ABCDEF' placing '_' from 2 for 0) }} );
DROP TABLE if exists b_voximplant_statistic; DROP TABLE if exists b_voximplant_statistic_index; DROP TABLE if exists b_voximplant_phone; DROP TABLE if exists b_voximplant_call; DROP TABLE if exists b_voximplant_sip; DROP TABLE if exists b_voximplant_config; DROP TABLE if exists b_voximplant_line_access; DROP TABLE if exists b_voximplant_queue; DROP TABLE if exists b_voximplant_queue_user; DROP TABLE if exists b_voximplant_blacklist; DROP TABLE if exists b_voximplant_role; DROP TABLE if exists b_voximplant_role_permission; DROP TABLE if exists b_voximplant_role_access; DROP TABLE if exists b_voximplant_ivr; DROP TABLE if exists b_voximplant_ivr_item; DROP TABLE if exists b_voximplant_ivr_action; DROP TABLE if exists b_voximplant_transcript; DROP TABLE if exists b_voximplant_transcript_line;
select trim(e01.rcnum) as RCNUM, trim(d01.rmail) as "emailaddr" from odmprd.odmt_employee e01 inner join odmprd.odmt_e_directory d01 on e01.rcnum = d01.rcnum -- condition
<reponame>saschajullmann/oso<gh_stars>0 PRAGMA foreign_keys=OFF; BEGIN TRANSACTION; CREATE TABLE IF NOT EXISTS "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY); INSERT INTO schema_migrations VALUES('20200619185311'); INSERT INTO schema_migrations VALUES('20200619185427'); INSERT INTO schema_migrations VALUES('20200619185837'); INSERT INTO schema_migrations VALUES('20200619193022'); INSERT INTO schema_migrations VALUES('20200619193650'); INSERT INTO schema_migrations VALUES('20200619193721'); INSERT INTO schema_migrations VALUES('20200619193737'); INSERT INTO schema_migrations VALUES('20200620042743'); INSERT INTO schema_migrations VALUES('20200620045102'); CREATE TABLE IF NOT EXISTS "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL); INSERT INTO ar_internal_metadata VALUES('environment','development','2020-07-23 01:59:21.368379','2020-07-23 01:59:21.368379'); CREATE TABLE IF NOT EXISTS "roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL); INSERT INTO roles VALUES(1,'admin','2020-07-23 01:59:24.656549','2020-07-23 01:59:24.656549'); INSERT INTO roles VALUES(2,'accountant','2020-07-23 01:59:24.683004','2020-07-23 01:59:24.683004'); INSERT INTO roles VALUES(3,'employee','2020-07-23 01:59:24.709098','2020-07-23 01:59:24.709098'); CREATE TABLE IF NOT EXISTS "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "title" varchar, "location_id" integer, "organization_id" integer, "manager_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL); INSERT INTO users VALUES(1,'<EMAIL>','CEO',1,1,NULL,'2020-07-23 01:59:24.803843','2020-07-23 01:59:24.803843'); INSERT INTO users VALUES(2,'<EMAIL>','CFO',3,1,1,'2020-07-23 01:59:24.849942','2020-07-23 01:59:24.849942'); INSERT INTO users VALUES(3,'<EMAIL>','Senior Accountant',1,1,2,'2020-07-23 01:59:24.893020','2020-07-23 01:59:24.893020'); INSERT INTO users VALUES(4,'<EMAIL>','Accountant',1,1,3,'2020-07-23 01:59:24.935930','2020-07-23 01:59:24.935930'); INSERT INTO users VALUES(5,'<EMAIL>','Director of Engineering',1,1,1,'2020-07-23 01:59:24.986995','2020-07-23 01:59:24.986995'); INSERT INTO users VALUES(6,'<EMAIL>','Engineering Manager',1,1,5,'2020-07-23 01:59:25.045160','2020-07-23 01:59:25.045160'); INSERT INTO users VALUES(7,'<EMAIL>','Software Engineer',1,1,6,'2020-07-23 01:59:25.082724','2020-07-23 01:59:25.082724'); INSERT INTO users VALUES(8,'<EMAIL>','Director of Sales',1,1,1,'2020-07-23 01:59:25.116264','2020-07-23 01:59:25.116264'); INSERT INTO users VALUES(9,'<EMAIL>','Regional Sales Manager',2,1,8,'2020-07-23 01:59:25.169940','2020-07-23 01:59:25.169940'); INSERT INTO users VALUES(10,'<EMAIL>','Sales Rep',2,1,9,'2020-07-23 01:59:25.213552','2020-07-23 01:59:25.213552'); INSERT INTO users VALUES(11,'<EMAIL>','Accountant',2,1,3,'2020-07-23 01:59:25.257120','2020-07-23 01:59:25.257120'); INSERT INTO users VALUES(12,'<EMAIL>','CTO',3,1,1,'2020-07-23 01:59:25.299858','2020-07-23 01:59:25.299858'); INSERT INTO users VALUES(13,'<EMAIL>','CEO',1,2,NULL,'2020-07-23 01:59:30.488827','2020-07-23 01:59:30.488827'); CREATE TABLE IF NOT EXISTS "roles_users" ("user_id" integer NOT NULL, "role_id" integer NOT NULL); INSERT INTO roles_users VALUES(1,1); INSERT INTO roles_users VALUES(2,1); INSERT INTO roles_users VALUES(3,2); INSERT INTO roles_users VALUES(4,2); INSERT INTO roles_users VALUES(5,3); INSERT INTO roles_users VALUES(6,3); INSERT INTO roles_users VALUES(7,3); INSERT INTO roles_users VALUES(8,3); INSERT INTO roles_users VALUES(9,3); INSERT INTO roles_users VALUES(10,3); INSERT INTO roles_users VALUES(11,2); INSERT INTO roles_users VALUES(12,1); INSERT INTO roles_users VALUES(13,1); CREATE TABLE IF NOT EXISTS "expenses" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "amount" integer, "description" varchar, "project_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3ee69df61" FOREIGN KEY ("user_id") REFERENCES "users" ("id") , CONSTRAINT "fk_rails_f097e0a9ca" FOREIGN KEY ("project_id") REFERENCES "projects" ("id") ); INSERT INTO expenses VALUES(1,4,64165,'Trust fund pour-over.',6,'2020-07-23 01:59:26.793029','2020-07-23 01:59:26.793029'); INSERT INTO expenses VALUES(2,1,17743,'Pug irony.',8,'2020-07-23 01:59:26.829541','2020-07-23 01:59:26.829541'); INSERT INTO expenses VALUES(3,12,8092,'Gastropub viral.',7,'2020-07-23 01:59:26.862951','2020-07-23 01:59:26.862951'); INSERT INTO expenses VALUES(4,3,55013,'Intelligentsia health.',2,'2020-07-23 01:59:26.902323','2020-07-23 01:59:26.902323'); INSERT INTO expenses VALUES(5,11,7703,'Paleo kickstarter.',3,'2020-07-23 01:59:26.944763','2020-07-23 01:59:26.944763'); INSERT INTO expenses VALUES(6,10,6022,'Plaid tote bag.',3,'2020-07-23 01:59:26.977392','2020-07-23 01:59:26.977392'); INSERT INTO expenses VALUES(7,4,1075,'Locavore migas.',5,'2020-07-23 01:59:27.006154','2020-07-23 01:59:27.006154'); INSERT INTO expenses VALUES(8,2,72414,'Diy semiotics.',7,'2020-07-23 01:59:27.055030','2020-07-23 01:59:27.055030'); INSERT INTO expenses VALUES(9,5,62919,'Retro pabst.',6,'2020-07-23 01:59:27.097562','2020-07-23 01:59:27.097562'); INSERT INTO expenses VALUES(10,12,82684,'Shabby chic brooklyn.',7,'2020-07-23 01:59:27.132183','2020-07-23 01:59:27.132183'); INSERT INTO expenses VALUES(11,9,20696,'Biodiesel chartreuse.',1,'2020-07-23 01:59:27.165553','2020-07-23 01:59:27.165553'); INSERT INTO expenses VALUES(12,5,29639,'Swag cornhole.',5,'2020-07-23 01:59:27.210909','2020-07-23 01:59:27.210909'); INSERT INTO expenses VALUES(13,10,92267,'Tilde ramps.',1,'2020-07-23 01:59:27.248681','2020-07-23 01:59:27.248681'); INSERT INTO expenses VALUES(14,9,75724,'Yolo butcher.',1,'2020-07-23 01:59:27.277687','2020-07-23 01:59:27.277687'); INSERT INTO expenses VALUES(15,10,40051,'Carry pinterest.',1,'2020-07-23 01:59:27.316445','2020-07-23 01:59:27.316445'); INSERT INTO expenses VALUES(16,12,60910,'Food truck ethical.',7,'2020-07-23 01:59:27.355072','2020-07-23 01:59:27.355072'); INSERT INTO expenses VALUES(17,5,35384,'Polaroid mlkshk.',8,'2020-07-23 01:59:27.394964','2020-07-23 01:59:27.394964'); INSERT INTO expenses VALUES(18,6,42905,'Sustainable humblebrag.',6,'2020-07-23 01:59:27.436173','2020-07-23 01:59:27.436173'); INSERT INTO expenses VALUES(19,7,53212,'Ugh master.',5,'2020-07-23 01:59:27.472859','2020-07-23 01:59:27.472859'); INSERT INTO expenses VALUES(20,1,55754,'Bitters hashtag.',8,'2020-07-23 01:59:27.507571','2020-07-23 01:59:27.507571'); INSERT INTO expenses VALUES(21,12,4376,'8-bit dreamcatcher.',7,'2020-07-23 01:59:27.548086','2020-07-23 01:59:27.548086'); INSERT INTO expenses VALUES(22,3,8772,'Blog vhs.',2,'2020-07-23 01:59:27.582775','2020-07-23 01:59:27.582775'); INSERT INTO expenses VALUES(23,5,93244,'Gentrify flannel.',5,'2020-07-23 01:59:27.611932','2020-07-23 01:59:27.611932'); INSERT INTO expenses VALUES(24,3,13393,'Blog distillery.',6,'2020-07-23 01:59:27.647973','2020-07-23 01:59:27.647973'); INSERT INTO expenses VALUES(25,2,70243,'Vinegar meh.',7,'2020-07-23 01:59:27.689016','2020-07-23 01:59:27.689016'); INSERT INTO expenses VALUES(26,9,4656,'Portland semiotics.',1,'2020-07-23 01:59:27.718580','2020-07-23 01:59:27.718580'); INSERT INTO expenses VALUES(27,2,28668,'Sartorial mlkshk.',7,'2020-07-23 01:59:27.748297','2020-07-23 01:59:27.748297'); INSERT INTO expenses VALUES(28,8,59060,'Cornhole meh.',8,'2020-07-23 01:59:27.789877','2020-07-23 01:59:27.789877'); INSERT INTO expenses VALUES(29,4,3914,'Beard narwhal.',5,'2020-07-23 01:59:27.831786','2020-07-23 01:59:27.831786'); INSERT INTO expenses VALUES(30,8,73241,'Flexitarian farm-to-table.',8,'2020-07-23 01:59:27.867501','2020-07-23 01:59:27.867501'); INSERT INTO expenses VALUES(31,10,84047,'Chambray vice.',1,'2020-07-23 01:59:27.899671','2020-07-23 01:59:27.899671'); INSERT INTO expenses VALUES(32,6,22716,'Occupy bespoke.',2,'2020-07-23 01:59:27.937669','2020-07-23 01:59:27.937669'); INSERT INTO expenses VALUES(33,11,46972,'You probably haven''t heard of them mustache.',3,'2020-07-23 01:59:27.969329','2020-07-23 01:59:27.969329'); INSERT INTO expenses VALUES(34,8,71749,'Church-key locavore.',8,'2020-07-23 01:59:28.015755','2020-07-23 01:59:28.015755'); INSERT INTO expenses VALUES(35,12,93152,'Sustainable portland.',7,'2020-07-23 01:59:28.054563','2020-07-23 01:59:28.054563'); INSERT INTO expenses VALUES(36,3,94527,'Diy chillwave.',6,'2020-07-23 01:59:28.088886','2020-07-23 01:59:28.088886'); INSERT INTO expenses VALUES(37,6,62378,'Vhs poutine.',2,'2020-07-23 01:59:28.129478','2020-07-23 01:59:28.129478'); INSERT INTO expenses VALUES(38,6,33062,'Etsy scenester.',5,'2020-07-23 01:59:28.163469','2020-07-23 01:59:28.163469'); INSERT INTO expenses VALUES(39,12,73320,'Vhs carry.',7,'2020-07-23 01:59:28.197837','2020-07-23 01:59:28.197837'); INSERT INTO expenses VALUES(40,9,67408,'Slow-carb art party.',3,'2020-07-23 01:59:28.245418','2020-07-23 01:59:28.245418'); INSERT INTO expenses VALUES(41,11,63633,'Banh mi cleanse.',3,'2020-07-23 01:59:28.282211','2020-07-23 01:59:28.282211'); INSERT INTO expenses VALUES(42,1,21737,'Selfies loko.',5,'2020-07-23 01:59:28.316213','2020-07-23 01:59:28.316213'); INSERT INTO expenses VALUES(43,1,45714,'Phlogiston hoodie.',8,'2020-07-23 01:59:28.355364','2020-07-23 01:59:28.355364'); INSERT INTO expenses VALUES(44,11,81268,'Slow-carb tote bag.',3,'2020-07-23 01:59:28.390195','2020-07-23 01:59:28.390195'); INSERT INTO expenses VALUES(45,1,79875,'Waistcoat lumbersexual.',6,'2020-07-23 01:59:28.429581','2020-07-23 01:59:28.429581'); INSERT INTO expenses VALUES(46,8,77942,'Echo polaroid.',9,'2020-07-23 01:59:28.470106','2020-07-23 01:59:28.470106'); INSERT INTO expenses VALUES(47,3,82163,'Deep v migas.',6,'2020-07-23 01:59:28.510865','2020-07-23 01:59:28.510865'); INSERT INTO expenses VALUES(48,12,54165,'Swag trust fund.',4,'2020-07-23 01:59:28.542343','2020-07-23 01:59:28.542343'); INSERT INTO expenses VALUES(49,2,10209,'Whatever viral.',7,'2020-07-23 01:59:28.578791','2020-07-23 01:59:28.578791'); INSERT INTO expenses VALUES(50,3,21358,'Farm-to-table lomo.',5,'2020-07-23 01:59:28.610228','2020-07-23 01:59:28.610228'); INSERT INTO expenses VALUES(51,7,90780,'Typewriter carry.',2,'2020-07-23 01:59:28.649679','2020-07-23 01:59:28.649679'); INSERT INTO expenses VALUES(52,11,22351,'Quinoa neutra.',1,'2020-07-23 01:59:28.672660','2020-07-23 01:59:28.672660'); INSERT INTO expenses VALUES(53,7,12513,'Squid iphone.',6,'2020-07-23 01:59:28.715897','2020-07-23 01:59:28.715897'); INSERT INTO expenses VALUES(54,3,74361,'Vhs mumblecore.',8,'2020-07-23 01:59:28.756867','2020-07-23 01:59:28.756867'); INSERT INTO expenses VALUES(55,11,56747,'Iphone salvia.',1,'2020-07-23 01:59:28.783876','2020-07-23 01:59:28.783876'); INSERT INTO expenses VALUES(56,11,97009,'Crucifix distillery.',1,'2020-07-23 01:59:28.824702','2020-07-23 01:59:28.824702'); INSERT INTO expenses VALUES(57,5,62993,'Bicycle rights quinoa.',9,'2020-07-23 01:59:28.864023','2020-07-23 01:59:28.864023'); INSERT INTO expenses VALUES(58,5,47652,'Pbr&b leggings.',2,'2020-07-23 01:59:28.908834','2020-07-23 01:59:28.908834'); INSERT INTO expenses VALUES(59,2,53979,'Xoxo celiac.',4,'2020-07-23 01:59:28.941396','2020-07-23 01:59:28.941396'); INSERT INTO expenses VALUES(60,12,47715,'Tousled ugh.',7,'2020-07-23 01:59:28.966652','2020-07-23 01:59:28.966652'); INSERT INTO expenses VALUES(61,3,40337,'Tofu viral.',5,'2020-07-23 01:59:28.994543','2020-07-23 01:59:28.994543'); INSERT INTO expenses VALUES(62,4,74212,'Forage master.',2,'2020-07-23 01:59:29.023798','2020-07-23 01:59:29.023798'); INSERT INTO expenses VALUES(63,2,2836,'Echo drinking.',10,'2020-07-23 01:59:29.061061','2020-07-23 01:59:29.061061'); INSERT INTO expenses VALUES(64,10,34003,'Irony portland.',3,'2020-07-23 01:59:29.101656','2020-07-23 01:59:29.101656'); INSERT INTO expenses VALUES(65,12,44382,'Post-ironic stumptown.',4,'2020-07-23 01:59:29.135824','2020-07-23 01:59:29.135824'); INSERT INTO expenses VALUES(66,2,89275,'Phlogiston church-key.',4,'2020-07-23 01:59:29.169962','2020-07-23 01:59:29.169962'); INSERT INTO expenses VALUES(67,12,52967,'Mlkshk flannel.',7,'2020-07-23 01:59:29.197831','2020-07-23 01:59:29.197831'); INSERT INTO expenses VALUES(68,12,18522,'Synth green juice.',10,'2020-07-23 01:59:29.238667','2020-07-23 01:59:29.238667'); INSERT INTO expenses VALUES(69,12,4736,'Fashion axe semiotics.',4,'2020-07-23 01:59:29.274958','2020-07-23 01:59:29.274958'); INSERT INTO expenses VALUES(70,8,46020,'Bitters ennui.',8,'2020-07-23 01:59:29.311330','2020-07-23 01:59:29.311330'); INSERT INTO expenses VALUES(71,12,7245,'Williamsburg butcher.',10,'2020-07-23 01:59:29.345242','2020-07-23 01:59:29.345242'); INSERT INTO expenses VALUES(72,9,46437,'Polaroid occupy.',3,'2020-07-23 01:59:29.381216','2020-07-23 01:59:29.381216'); INSERT INTO expenses VALUES(73,12,57370,'Pop-up flexitarian.',4,'2020-07-23 01:59:29.421942','2020-07-23 01:59:29.421942'); INSERT INTO expenses VALUES(74,8,92729,'Tattooed brunch.',8,'2020-07-23 01:59:29.444160','2020-07-23 01:59:29.444160'); INSERT INTO expenses VALUES(75,2,40273,'Vinegar polaroid.',7,'2020-07-23 01:59:29.471505','2020-07-23 01:59:29.471505'); INSERT INTO expenses VALUES(76,10,48961,'Truffaut wolf.',1,'2020-07-23 01:59:29.506802','2020-07-23 01:59:29.506802'); INSERT INTO expenses VALUES(77,12,19606,'Lumbersexual tofu.',7,'2020-07-23 01:59:29.530067','2020-07-23 01:59:29.530067'); INSERT INTO expenses VALUES(78,2,1413,'<NAME> drinking.',10,'2020-07-23 01:59:29.556927','2020-07-23 01:59:29.556927'); INSERT INTO expenses VALUES(79,9,27631,'Intelligentsia iphone.',1,'2020-07-23 01:59:29.612244','2020-07-23 01:59:29.612244'); INSERT INTO expenses VALUES(80,12,8181,'Selfies kogi.',10,'2020-07-23 01:59:29.658125','2020-07-23 01:59:29.658125'); INSERT INTO expenses VALUES(81,6,35172,'Skateboard synth.',9,'2020-07-23 01:59:29.698597','2020-07-23 01:59:29.698597'); INSERT INTO expenses VALUES(82,3,50251,'Umami fingerstache.',6,'2020-07-23 01:59:29.735382','2020-07-23 01:59:29.735382'); INSERT INTO expenses VALUES(83,7,85491,'Mumblecore sriracha.',9,'2020-07-23 01:59:29.782195','2020-07-23 01:59:29.782195'); INSERT INTO expenses VALUES(84,5,23815,'Deep v mlkshk.',9,'2020-07-23 01:59:29.812659','2020-07-23 01:59:29.812659'); INSERT INTO expenses VALUES(85,3,67684,'Church-key wes anderson.',9,'2020-07-23 01:59:29.853565','2020-07-23 01:59:29.853565'); INSERT INTO expenses VALUES(86,5,91711,'Williamsburg vhs.',6,'2020-07-23 01:59:29.885666','2020-07-23 01:59:29.885666'); INSERT INTO expenses VALUES(87,6,11407,'Mustache heirloom.',5,'2020-07-23 01:59:29.929122','2020-07-23 01:59:29.929122'); INSERT INTO expenses VALUES(88,1,58385,'Street shabby chic.',8,'2020-07-23 01:59:29.958955','2020-07-23 01:59:29.958955'); INSERT INTO expenses VALUES(89,5,31278,'Neutra bitters.',9,'2020-07-23 01:59:29.999538','2020-07-23 01:59:29.999538'); INSERT INTO expenses VALUES(90,9,43679,'Microdosing polaroid.',3,'2020-07-23 01:59:30.031723','2020-07-23 01:59:30.031723'); INSERT INTO expenses VALUES(91,12,13581,'Listicle squid.',7,'2020-07-23 01:59:30.072248','2020-07-23 01:59:30.072248'); INSERT INTO expenses VALUES(92,4,72905,'Whatever truffaut.',6,'2020-07-23 01:59:30.102800','2020-07-23 01:59:30.102800'); INSERT INTO expenses VALUES(93,7,83728,'Neutra banh mi.',6,'2020-07-23 01:59:30.135553','2020-07-23 01:59:30.135553'); INSERT INTO expenses VALUES(94,2,40782,'Taxidermy retro.',10,'2020-07-23 01:59:30.164569','2020-07-23 01:59:30.164569'); INSERT INTO expenses VALUES(95,9,90313,'Literally sartorial.',1,'2020-07-23 01:59:30.199102','2020-07-23 01:59:30.199102'); INSERT INTO expenses VALUES(96,4,71548,'Stumptown portland.',5,'2020-07-23 01:59:30.234590','2020-07-23 01:59:30.234590'); INSERT INTO expenses VALUES(97,9,19812,'90''s helvetica.',3,'2020-07-23 01:59:30.274835','2020-07-23 01:59:30.274835'); INSERT INTO expenses VALUES(98,12,7354,'Dreamcatcher yolo.',4,'2020-07-23 01:59:30.304072','2020-07-23 01:59:30.304072'); INSERT INTO expenses VALUES(99,7,81731,'Yr literally.',9,'2020-07-23 01:59:30.348982','2020-07-23 01:59:30.348982'); INSERT INTO expenses VALUES(100,8,43546,'Blue bottle pug.',9,'2020-07-23 01:59:30.391978','2020-07-23 01:59:30.391978'); INSERT INTO expenses VALUES(101,13,45476,'Hire a copywriter to create some job postings.',11,'2020-07-23 01:59:30.560484','2020-07-23 01:59:30.560484'); CREATE TABLE IF NOT EXISTS "projects" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "team_id" integer, "location_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL); INSERT INTO projects VALUES(1,3,2,'Equity Investment Instruments','2020-07-23 01:59:26.410163','2020-07-23 01:59:26.410163'); INSERT INTO projects VALUES(2,1,1,'Clothing & Accessories','2020-07-23 01:59:26.453004','2020-07-23 01:59:26.453004'); INSERT INTO projects VALUES(3,2,2,'Medical Supplies','2020-07-23 01:59:26.477936','2020-07-23 01:59:26.477936'); INSERT INTO projects VALUES(4,3,3,'Apparel Retailers','2020-07-23 01:59:26.506309','2020-07-23 01:59:26.506309'); INSERT INTO projects VALUES(5,2,1,'Medical Supplies','2020-07-23 01:59:26.537835','2020-07-23 01:59:26.537835'); INSERT INTO projects VALUES(6,3,1,'Electronic Equipment','2020-07-23 01:59:26.587487','2020-07-23 01:59:26.587487'); INSERT INTO projects VALUES(7,1,3,'Iron & Steel','2020-07-23 01:59:26.625163','2020-07-23 01:59:26.625163'); INSERT INTO projects VALUES(8,3,1,'Reinsurance','2020-07-23 01:59:26.666440','2020-07-23 01:59:26.666440'); INSERT INTO projects VALUES(9,3,1,'Forestry','2020-07-23 01:59:26.696504','2020-07-23 01:59:26.696504'); INSERT INTO projects VALUES(10,2,3,'Brewers','2020-07-23 01:59:26.731228','2020-07-23 01:59:26.731228'); INSERT INTO projects VALUES(11,5,1,'Hire first employee','2020-07-23 01:59:30.528606','2020-07-23 01:59:30.528606'); CREATE TABLE IF NOT EXISTS "teams" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "organization_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_f07f0bd66d" FOREIGN KEY ("organization_id") REFERENCES "organizations" ("id") ); INSERT INTO teams VALUES(1,'Engineering',1,'2020-07-23 01:59:24.535388','2020-07-23 01:59:24.535388'); INSERT INTO teams VALUES(2,'Leadership',1,'2020-07-23 01:59:24.568823','2020-07-23 01:59:24.568823'); INSERT INTO teams VALUES(3,'Finance',1,'2020-07-23 01:59:24.593442','2020-07-23 01:59:24.593442'); INSERT INTO teams VALUES(4,'Sales',1,'2020-07-23 01:59:24.615934','2020-07-23 01:59:24.615934'); INSERT INTO teams VALUES(5,'Leadership',2,'2020-07-23 01:59:30.447400','2020-07-23 01:59:30.447400'); CREATE TABLE IF NOT EXISTS "organizations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL); INSERT INTO organizations VALUES(1,'Foo Industries','2020-07-23 01:59:24.481020','2020-07-23 01:59:24.481020'); INSERT INTO organizations VALUES(2,'Bar, Inc.','2020-07-23 01:59:30.418613','2020-07-23 01:59:30.418613'); CREATE TABLE IF NOT EXISTS "locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL); INSERT INTO locations VALUES(1,'NYC','2020-07-23 01:59:24.383830','2020-07-23 01:59:24.383830'); INSERT INTO locations VALUES(2,'Milwaukee','2020-07-23 01:59:24.411004','2020-07-23 01:59:24.411004'); INSERT INTO locations VALUES(3,'Crestone','2020-07-23 01:59:24.444765','2020-07-23 01:59:24.444765'); CREATE TABLE IF NOT EXISTS "teams_users" ("user_id" integer NOT NULL, "team_id" integer NOT NULL); INSERT INTO teams_users VALUES(1,2); INSERT INTO teams_users VALUES(2,2); INSERT INTO teams_users VALUES(3,3); INSERT INTO teams_users VALUES(4,3); INSERT INTO teams_users VALUES(5,1); INSERT INTO teams_users VALUES(6,1); INSERT INTO teams_users VALUES(7,1); INSERT INTO teams_users VALUES(8,4); INSERT INTO teams_users VALUES(9,4); INSERT INTO teams_users VALUES(10,4); INSERT INTO teams_users VALUES(11,3); INSERT INTO teams_users VALUES(12,2); INSERT INTO teams_users VALUES(13,5); DELETE FROM sqlite_sequence; INSERT INTO sqlite_sequence VALUES('locations',3); INSERT INTO sqlite_sequence VALUES('organizations',2); INSERT INTO sqlite_sequence VALUES('teams',5); INSERT INTO sqlite_sequence VALUES('roles',3); INSERT INTO sqlite_sequence VALUES('users',13); INSERT INTO sqlite_sequence VALUES('projects',11); INSERT INTO sqlite_sequence VALUES('expenses',101); CREATE INDEX "index_users_on_location_id" ON "users" ("location_id"); CREATE INDEX "index_users_on_organization_id" ON "users" ("organization_id"); CREATE INDEX "index_users_on_manager_id" ON "users" ("manager_id"); CREATE INDEX "index_roles_users_on_user_id" ON "roles_users" ("user_id"); CREATE INDEX "index_roles_users_on_role_id" ON "roles_users" ("role_id"); CREATE INDEX "index_expenses_on_user_id" ON "expenses" ("user_id"); CREATE INDEX "index_expenses_on_project_id" ON "expenses" ("project_id"); CREATE INDEX "index_projects_on_team_id" ON "projects" ("team_id"); CREATE INDEX "index_projects_on_location_id" ON "projects" ("location_id"); CREATE INDEX "index_teams_on_organization_id" ON "teams" ("organization_id"); CREATE INDEX "index_teams_users_on_user_id" ON "teams_users" ("user_id"); CREATE INDEX "index_teams_users_on_team_id" ON "teams_users" ("team_id"); COMMIT;
ALTER TABLE QUERY ADD COLUMN DASH_UUID varchar(255) DEFAULT NULL; UPDATE QUERY INNER JOIN DASH ON (QUERY.DASH_ID = DASH.ID) SET QUERY.DASH_UUID = DASH.UUID; ALTER TABLE QUERY DROP COLUMN DASH_ID
-------------------------------------------------------------------------- -- .info command test -------------------------------------------------------------------------- .run ../common/mysql_setup.sql .info behavior .info catalog .info client .info feature .info function .info keyword .info limit .info schema .info table .info typemap .info importmap .format csv .info type .format table -- ignore begin .info server .info user -- ignore end .quit
-- -- PostgreSQL database dump -- SET client_encoding = 'UTF8'; SET check_function_bodies = false; SET client_min_messages = warning; -- -- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres -- COMMENT ON SCHEMA public IS 'Standard public schema'; SET search_path = pg_catalog; SET default_tablespace = ''; SET default_with_oids = false; -- -- Name: test_table; Type: TABLE; Schema: public; Owner: fordfrog; Tablespace: -- CREATE SEQUENCE public.test_table_id_seq START WITH 1 INCREMENT BY 1 NO MAXVALUE NO MINVALUE CACHE 1; ALTER SEQUENCE public.test_table_id_seq OWNER TO shamsutdinov_lr; CREATE TABLE public.test_table ( id integer DEFAULT nextval('public.test_table_id_seq'::regclass) NOT NULL ); ALTER TABLE public.test_table OWNER TO shamsutdinov_lr; ALTER SEQUENCE public.test_table_id_seq OWNED BY public.test_table.id; CREATE OR REPLACE FUNCTION public.test_table_trigger() RETURNS trigger LANGUAGE plpgsql AS $$ begin return NEW; end; $$; ALTER FUNCTION public.test_table_trigger() OWNER TO shamsutdinov_lr; -- -- Name: public; Type: ACL; Schema: -; Owner: postgres -- REVOKE ALL ON SCHEMA public FROM PUBLIC; REVOKE ALL ON SCHEMA public FROM postgres; GRANT ALL ON SCHEMA public TO postgres; GRANT ALL ON SCHEMA public TO PUBLIC; -- -- PostgreSQL database dump complete --
SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for cancel_log -- ---------------------------- DROP TABLE IF EXISTS `cancel_log`; CREATE TABLE `cancel_log` ( `tx_no` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '全局事务编号', `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0), PRIMARY KEY (`tx_no`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of cancel_log -- ---------------------------- -- ---------------------------- -- Table structure for confirm_log -- ---------------------------- DROP TABLE IF EXISTS `confirm_log`; CREATE TABLE `confirm_log` ( `tx_no` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '全局事务编号', `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0), PRIMARY KEY (`tx_no`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of confirm_log -- ---------------------------- -- ---------------------------- -- Table structure for try_log -- ---------------------------- DROP TABLE IF EXISTS `try_log`; CREATE TABLE `try_log` ( `tx_no` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '全局事务编号', `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0), PRIMARY KEY (`tx_no`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of try_log -- ---------------------------- -- ---------------------------- -- Table structure for user_account -- ---------------------------- DROP TABLE IF EXISTS `user_account`; CREATE TABLE `user_account` ( `account_no` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '账户编号', `account_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '账户名称', `account_balance` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '账户余额', `transfer_amount` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '转账金额', PRIMARY KEY (`account_no`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '账户信息' ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of user_account -- ---------------------------- INSERT INTO `user_account` VALUES ('1002', '冰河002', 10000.00, 100.00); SET FOREIGN_KEY_CHECKS = 1;
<reponame>Ogabek/yii2shop<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1 -- Время создания: Мар 04 2018 г., 16:29 -- Версия сервера: 10.1.21-MariaDB -- Версия PHP: 5.6.30 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 */; -- -- База данных: `magazin` -- -- -------------------------------------------------------- -- -- Структура таблицы `migration` -- CREATE TABLE `migration` ( `version` varchar(180) NOT NULL, `apply_time` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `migration` -- INSERT INTO `migration` (`version`, `apply_time`) VALUES ('m000000_000000_base', 1516793304), ('m130524_201442_init', 1516793313); -- -------------------------------------------------------- -- -- Структура таблицы `user` -- CREATE TABLE `user` ( `id` int(11) NOT NULL, `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `auth_key` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `password_hash` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password_reset_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` smallint(6) NOT NULL DEFAULT '10', `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Дамп данных таблицы `user` -- INSERT INTO `user` (`id`, `username`, `auth_key`, `password_hash`, `password_reset_token`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'admin', '<PASSWORD>', <PASSWORD>', NULL, '<EMAIL>', 10, 1486727855, 1486727855), (2, 'ogabek', 'VKho_cSSJxlswz7B3aETnyyAuzpJMiM2', <PASSWORD>', NULL, '<EMAIL>', 10, 1516871420, 1516871420); -- -- Индексы сохранённых таблиц -- -- -- Индексы таблицы `migration` -- ALTER TABLE `migration` ADD PRIMARY KEY (`version`); -- -- Индексы таблицы `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `username` (`username`), ADD UNIQUE KEY `email` (`email`), ADD UNIQUE KEY `password_reset_token` (`password_reset_token`); -- -- AUTO_INCREMENT для сохранённых таблиц -- -- -- AUTO_INCREMENT для таблицы `user` -- ALTER TABLE `user` 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 */;
SELECT MIN(`logdate`) AS mindate, MAX(`logdate`) AS maxdate FROM `{{brand_id}}_wc_word_cnt`
<filename>src/content/modules/gallery2019/sql/down/001.sql DROP TABLE `{prefix}gallery`;
CREATE TYPE [Core].[OrganizationTableType_new] AS TABLE( [OrganizationUUID] [nvarchar](250) NULL, [OrganizationName] [nvarchar](250) NULL, [OrganizationPurview] [nvarchar](250) NULL, [OrganizationWebsite] [nvarchar](250) NULL, [OrganizationPhoneNumber] [nvarchar](250) NULL, [OrganizationContactName] [nvarchar](250) NULL, [OrganizationContactEmail] [nvarchar](250) NULL, [OrganizationDataMappingURL] [nvarchar](250) NULL, [State] [nvarchar] (2) NULL ) GO EXEC Core.UpdateUUDT 'Core', 'OrganizationTableType'; GO
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Czas generowania: 04 Lip 2019, 14:20 -- Wersja serwera: 10.1.28-MariaDB -- Wersja PHP: 7.1.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Baza danych: `appgame` -- -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `games` -- CREATE TABLE `games` ( `id` bigint(20) UNSIGNED NOT NULL, `choice_user` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL, `choice_computer` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL, `who_won` enum('computer','user','draw') 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; -- -- Zrzut danych tabeli `games` -- INSERT INTO `games` (`id`, `choice_user`, `choice_computer`, `who_won`, `created_at`, `updated_at`) VALUES (1, 'papier', 'papier', 'draw', '2019-07-03 15:59:49', '2019-07-03 15:59:49'), (2, 'papier', 'papier', 'draw', '2019-07-03 16:00:01', '2019-07-03 16:00:01'), (3, 'papier', 'kamień', 'user', '2019-07-03 16:00:04', '2019-07-03 16:00:04'), (4, 'papier', 'nożyczki', 'computer', '2019-07-03 16:01:17', '2019-07-03 16:01:17'), (5, 'papier', 'nożyczki', 'computer', '2019-07-03 16:01:20', '2019-07-03 16:01:20'), (6, 'papier', 'papier', 'draw', '2019-07-03 16:01:22', '2019-07-03 16:01:22'), (7, 'papier', 'nożyczki', 'computer', '2019-07-03 17:29:49', '2019-07-03 17:29:49'), (8, 'nożyczki', 'kamień', 'computer', '2019-07-03 17:37:10', '2019-07-03 17:37:10'), (9, 'papier', 'papier', 'draw', '2019-07-04 09:47:38', '2019-07-04 09:47:38'), (10, 'papier', 'nożyczki', 'computer', '2019-07-04 09:48:08', '2019-07-04 09:48:08'), (11, 'papier', 'papier', 'draw', '2019-07-04 09:48:52', '2019-07-04 09:48:52'), (12, 'papier', 'nożyczki', 'computer', '2019-07-04 09:49:30', '2019-07-04 09:49:30'), (13, 'papier', 'nożyczki', 'computer', '2019-07-04 10:12:13', '2019-07-04 10:12:13'), (14, 'kamień', 'papier', 'computer', '2019-07-04 10:12:38', '2019-07-04 10:12:38'); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Zrzut danych tabeli `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2019_07_02_184702_create_games_table', 1); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `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; -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Indeksy dla zrzutów tabel -- -- -- Indexes for table `games` -- ALTER TABLE `games` ADD PRIMARY KEY (`id`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT dla tabeli `games` -- ALTER TABLE `games` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT dla tabeli `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT dla tabeli `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) 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 */;
<filename>data/exp_services.sql /* Navicat MySQL Data Transfer Source Server : ZServer Source Server Version : 50620 Source Host : localhost:3306 Source Database : exp_services Target Server Type : MYSQL Target Server Version : 50620 File Encoding : 65001 Date: 2014-09-26 17:27:37 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `cs_budgets` -- ---------------------------- DROP TABLE IF EXISTS `cs_budgets`; CREATE TABLE `cs_budgets` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `price` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of cs_budgets -- ---------------------------- INSERT INTO `cs_budgets` VALUES ('1', '10-100'); INSERT INTO `cs_budgets` VALUES ('2', '100-200'); INSERT INTO `cs_budgets` VALUES ('3', '200-500'); INSERT INTO `cs_budgets` VALUES ('4', '500-1000'); INSERT INTO `cs_budgets` VALUES ('5', '1000-2000'); INSERT INTO `cs_budgets` VALUES ('6', '> 2000'); -- ---------------------------- -- Table structure for `cs_items` -- ---------------------------- DROP TABLE IF EXISTS `cs_items`; CREATE TABLE `cs_items` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `requirement` text COLLATE utf8_unicode_ci NOT NULL, `link` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `attachment` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `info` text COLLATE utf8_unicode_ci NOT NULL, `budget_id` int(10) unsigned NOT NULL, `deliver_in` int(11) NOT NULL DEFAULT '0', `service_type_id` int(10) unsigned NOT NULL, `user_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `cs_items_budget_id_index` (`budget_id`), KEY `cs_items_service_type_id_index` (`service_type_id`), KEY `cs_items_user_id_index` (`user_id`), CONSTRAINT `cs_items_budget_id_foreign` FOREIGN KEY (`budget_id`) REFERENCES `cs_budgets` (`id`) ON DELETE CASCADE, CONSTRAINT `cs_items_service_type_id_foreign` FOREIGN KEY (`service_type_id`) REFERENCES `cs_service_types` (`id`) ON DELETE CASCADE, CONSTRAINT `cs_items_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of cs_items -- ---------------------------- -- ---------------------------- -- Table structure for `cs_messages` -- ---------------------------- DROP TABLE IF EXISTS `cs_messages`; CREATE TABLE `cs_messages` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `item_id` int(10) unsigned NOT NULL, `user_id` int(10) unsigned NOT NULL, `status_id` int(10) unsigned NOT NULL, `comments` text COLLATE utf8_unicode_ci NOT NULL, `attachment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `submit_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `cs_messages_item_id_index` (`item_id`), KEY `cs_messages_user_id_index` (`user_id`), KEY `cs_messages_status_id_index` (`status_id`), CONSTRAINT `cs_messages_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `cs_items` (`id`) ON DELETE CASCADE, CONSTRAINT `cs_messages_status_id_foreign` FOREIGN KEY (`status_id`) REFERENCES `cs_status` (`id`) ON DELETE CASCADE, CONSTRAINT `cs_messages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of cs_messages -- ---------------------------- -- ---------------------------- -- Table structure for `cs_service_types` -- ---------------------------- DROP TABLE IF EXISTS `cs_service_types`; CREATE TABLE `cs_service_types` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `description` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of cs_service_types -- ---------------------------- INSERT INTO `cs_service_types` VALUES ('1', 'Theme', 'Lorem Ipsum has been the industry\'s standard '); INSERT INTO `cs_service_types` VALUES ('2', 'Project', 'Lorem Ipsum has been the industry\'s standard '); INSERT INTO `cs_service_types` VALUES ('3', 'Fix Bug', 'Lorem Ipsum has been the industry\'s standard '); -- ---------------------------- -- Table structure for `cs_status` -- ---------------------------- DROP TABLE IF EXISTS `cs_status`; CREATE TABLE `cs_status` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of cs_status -- ---------------------------- INSERT INTO `cs_status` VALUES ('1', 'Open', 'Lorem Ipsum has been the dummy text ever since the 1500s'); INSERT INTO `cs_status` VALUES ('2', 'In Progress', 'Lorem Ipsum has been the dummy text ever since the 1500s'); INSERT INTO `cs_status` VALUES ('3', 'Close', 'Lorem Ipsum has been the dummy text ever since the 1500s'); INSERT INTO `cs_status` VALUES ('4', 'Cancel', 'Lorem Ipsum has been the dummy text ever since the 1500s'); -- ---------------------------- -- Table structure for `groups` -- ---------------------------- DROP TABLE IF EXISTS `groups`; CREATE TABLE `groups` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `permissions` text COLLATE utf8_unicode_ci, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `groups_name_unique` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of groups -- ---------------------------- INSERT INTO `groups` VALUES ('1', 'administer', '{\"administer\":1}', '2014-09-26 10:27:25', '2014-09-26 10:27:25'); INSERT INTO `groups` VALUES ('2', 'supporter', '{\"supporter\":1}', '2014-09-26 10:27:25', '2014-09-26 10:27:25'); INSERT INTO `groups` VALUES ('3', 'user', '{\"user\":1}', '2014-09-26 10:27:25', '2014-09-26 10:27:25'); -- ---------------------------- -- Table structure for `migrations` -- ---------------------------- DROP TABLE IF EXISTS `migrations`; CREATE TABLE `migrations` ( `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of migrations -- ---------------------------- INSERT INTO `migrations` VALUES ('2012_12_06_225921_migration_cartalyst_sentry_install_users', '1'); INSERT INTO `migrations` VALUES ('2012_12_06_225929_migration_cartalyst_sentry_install_groups', '1'); INSERT INTO `migrations` VALUES ('2012_12_06_225945_migration_cartalyst_sentry_install_users_groups_pivot', '1'); INSERT INTO `migrations` VALUES ('2012_12_06_225988_migration_cartalyst_sentry_install_throttle', '1'); INSERT INTO `migrations` VALUES ('2014_09_11_025849_users', '2'); INSERT INTO `migrations` VALUES ('2014_09_11_025900_cs_service_types', '2'); INSERT INTO `migrations` VALUES ('2014_09_11_025922_cs_status', '2'); INSERT INTO `migrations` VALUES ('2014_09_11_030022_cs_budgets', '2'); INSERT INTO `migrations` VALUES ('2014_09_11_030034_cs_items', '2'); INSERT INTO `migrations` VALUES ('2014_09_11_030046_cs_messages', '2'); INSERT INTO `migrations` VALUES ('2014_09_24_015252_t_powerful', '2'); INSERT INTO `migrations` VALUES ('2014_09_24_020029_t_categories', '2'); INSERT INTO `migrations` VALUES ('2014_09_24_020204_t_themes', '2'); INSERT INTO `migrations` VALUES ('2014_09_24_020609_t_theme_images', '2'); INSERT INTO `migrations` VALUES ('2014_09_24_020616_t_theme_logs', '2'); INSERT INTO `migrations` VALUES ('2014_09_24_020721_t_orders', '2'); -- ---------------------------- -- Table structure for `throttle` -- ---------------------------- DROP TABLE IF EXISTS `throttle`; CREATE TABLE `throttle` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned DEFAULT NULL, `ip_address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `attempts` int(11) NOT NULL DEFAULT '0', `suspended` tinyint(1) NOT NULL DEFAULT '0', `banned` tinyint(1) NOT NULL DEFAULT '0', `last_attempt_at` timestamp NULL DEFAULT NULL, `suspended_at` timestamp NULL DEFAULT NULL, `banned_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `throttle_user_id_index` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of throttle -- ---------------------------- -- ---------------------------- -- Table structure for `t_categories` -- ---------------------------- DROP TABLE IF EXISTS `t_categories`; CREATE TABLE `t_categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `description` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of t_categories -- ---------------------------- INSERT INTO `t_categories` VALUES ('1', 'Drupal', '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'); INSERT INTO `t_categories` VALUES ('2', 'Joomla', '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'); INSERT INTO `t_categories` VALUES ('3', 'Wordpress', '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'); -- ---------------------------- -- Table structure for `t_orders` -- ---------------------------- DROP TABLE IF EXISTS `t_orders`; CREATE TABLE `t_orders` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `theme_id` int(10) unsigned NOT NULL, `ordered_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `t_orders_user_id_index` (`user_id`), KEY `t_orders_theme_id_index` (`theme_id`), CONSTRAINT `t_orders_theme_id_foreign` FOREIGN KEY (`theme_id`) REFERENCES `t_themes` (`id`) ON DELETE CASCADE, CONSTRAINT `t_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of t_orders -- ---------------------------- -- ---------------------------- -- Table structure for `t_powerful` -- ---------------------------- DROP TABLE IF EXISTS `t_powerful`; CREATE TABLE `t_powerful` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `icon` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'public/images/icon.png', `description` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of t_powerful -- ---------------------------- INSERT INTO `t_powerful` VALUES ('1', 'HTML 5', 'public/images/icon.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the '); INSERT INTO `t_powerful` VALUES ('2', 'CSS3', 'public/images/icon.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the '); INSERT INTO `t_powerful` VALUES ('3', 'Custom Typography', 'public/images/icon.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the '); INSERT INTO `t_powerful` VALUES ('4', 'Responsive Design', 'public/images/icon.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the '); INSERT INTO `t_powerful` VALUES ('5', 'Custom Fonts', 'public/images/icon.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the '); -- ---------------------------- -- Table structure for `t_themes` -- ---------------------------- DROP TABLE IF EXISTS `t_themes`; CREATE TABLE `t_themes` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` text COLLATE utf8_unicode_ci, `thumbnail` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `features` text COLLATE utf8_unicode_ci, `powerful_id` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `version` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '1.0', `price` decimal(10,2) NOT NULL DEFAULT '0.00', `category_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `t_themes_category_id_index` (`category_id`), CONSTRAINT `t_themes_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `t_categories` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of t_themes -- ---------------------------- -- ---------------------------- -- Table structure for `t_theme_images` -- ---------------------------- DROP TABLE IF EXISTS `t_theme_images`; CREATE TABLE `t_theme_images` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `image` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `ordering` int(11) NOT NULL DEFAULT '0', `state` tinyint(4) NOT NULL DEFAULT '1', `theme_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `t_theme_images_theme_id_index` (`theme_id`), CONSTRAINT `t_theme_images_theme_id_foreign` FOREIGN KEY (`theme_id`) REFERENCES `t_themes` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of t_theme_images -- ---------------------------- -- ---------------------------- -- Table structure for `t_theme_logs` -- ---------------------------- DROP TABLE IF EXISTS `t_theme_logs`; CREATE TABLE `t_theme_logs` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `description` text COLLATE utf8_unicode_ci NOT NULL, `state` tinyint(4) NOT NULL DEFAULT '1', `theme_id` int(10) unsigned NOT NULL, `changed_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `t_theme_logs_theme_id_index` (`theme_id`), CONSTRAINT `t_theme_logs_theme_id_foreign` FOREIGN KEY (`theme_id`) REFERENCES `t_themes` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of t_theme_logs -- ---------------------------- -- ---------------------------- -- Table structure for `users` -- ---------------------------- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `permissions` text COLLATE utf8_unicode_ci, `activated` tinyint(1) NOT NULL DEFAULT '0', `activation_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `activated_at` timestamp NULL DEFAULT NULL, `last_login` timestamp NULL DEFAULT NULL, `persist_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `reset_password_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `address` varchar(45) COLLATE utf8_unicode_ci NOT NULL, `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL, `skype` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `avatar` varchar(45) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'public/images/avatar.png', `sex` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL, `profile` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`), KEY `users_activation_code_index` (`activation_code`), KEY `users_reset_password_code_index` (`reset_password_code`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of users -- ---------------------------- INSERT INTO `users` VALUES ('1', '<EMAIL>', <PASSWORD>', null, '1', null, null, null, null, null, 'John', 'Nguyen', '2014-09-26 10:27:25', '2014-09-26 10:27:25', '', '123456789', 'skypename', 'public/images/avatar.png', 'male', 'Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s'); INSERT INTO `users` VALUES ('2', '<EMAIL>', <PASSWORD>', null, '1', null, null, null, null, null, 'John', 'McClane', '2014-09-26 10:27:25', '2014-09-26 10:27:25', '', '123456789', 'skypename', 'public/images/avatar4.png', 'male', 'Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s'); INSERT INTO `users` VALUES ('3', '<EMAIL>', '$2y$10$Tj63BkwnYJ2.wJuH7nQIaub/coRwtps1mzW98d/mAH.7Um6YKigB2', null, '1', null, null, null, null, null, 'Bruce', 'Wayne', '2014-09-26 10:27:25', '2014-09-26 10:27:25', '', '23564586', 'skypename', 'public/images/avatar2.png', 'male', 'Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s'); -- ---------------------------- -- Table structure for `users_groups` -- ---------------------------- DROP TABLE IF EXISTS `users_groups`; CREATE TABLE `users_groups` ( `user_id` int(10) unsigned NOT NULL, `group_id` int(10) unsigned NOT NULL, PRIMARY KEY (`user_id`,`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of users_groups -- ---------------------------- INSERT INTO `users_groups` VALUES ('1', '1'); INSERT INTO `users_groups` VALUES ('2', '2'); INSERT INTO `users_groups` VALUES ('3', '3');
SELECT tb_projeto.NUMERO_PROJETO, tb_projeto.NUMERO_DEPARTAMENTO ,tb_funcionario.ULTIMO_NOME, tb_funcionario.ENDERECO, tb_funcionario.DATA_NASCIMENTO FROM tb_projeto INNER JOIN tb_departamento ON tb_projeto.NUMERO_DEPARTAMENTO = tb_departamento.NUMERO_DEPARTAMENTO INNER JOIN tb_funcionario ON tb_funcionario.cpf = tb_departamento.CPF_GERENTE WHERE tb_projeto.LOCAL_PROJETO = 'Mauá';
<filename>feed/migrations/001_init.up.sql begin; create table if not exists police_event ( id uuid not null, url text not null, title text not null, region text not null, description text not null, publish_time timestamptz not null, create_time timestamptz not null, content_hash bytea not null, revision int not null, constraint police_event_pk primary key (id, revision) ); end transaction;
-- phpMyAdmin SQL Dump -- version 5.0.3 -- https://www.phpmyadmin.net/ -- -- Servidor: localhost -- Tiempo de generación: 01-11-2020 a las 03:26:06 -- Versión del servidor: 10.4.14-MariaDB -- Versión de PHP: 7.4.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de datos: `Laravel_Inventory` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `advanced__salaries` -- CREATE TABLE `advanced__salaries` ( `id` bigint(20) UNSIGNED NOT NULL, `employee_id` int(11) NOT NULL, `month` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `year` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `advanced_salary` 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; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `attendances` -- CREATE TABLE `attendances` ( `id` bigint(20) UNSIGNED NOT NULL, `employee_id` bigint(20) UNSIGNED NOT NULL, `attendance` tinyint(4) NOT NULL, `date` date NOT NULL, `month` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `year` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `attendances` -- INSERT INTO `attendances` (`id`, `employee_id`, `attendance`, `date`, `month`, `year`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2020-10-31', 'october', '2020', '2020-11-01 01:40:14', '2020-11-01 01:40:14'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `categories` -- CREATE TABLE `categories` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `categories` -- INSERT INTO `categories` (`id`, `name`, `slug`, `created_at`, `updated_at`) VALUES (1, 'Control Remoto Video Juegos', 'control-remoto-video-juegos', '2020-10-30 02:24:45', '2020-10-30 02:24:45'), (2, 'Video Juegos Digitales', 'video-juegos-digitales', '2020-10-31 04:36:33', '2020-10-31 04:36:33'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `customers` -- CREATE TABLE `customers` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `shop_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `account_holder` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch` 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; -- -- Volcado de datos para la tabla `customers` -- INSERT INTO `customers` (`id`, `name`, `email`, `phone`, `address`, `city`, `shop_name`, `photo`, `account_holder`, `account_number`, `bank_name`, `bank_branch`, `created_at`, `updated_at`) VALUES (1, '<NAME>', '<EMAIL>', '2837465019', 'Independientes no. 2', 'Guatemala', 'Mi ciber', 'alonso-dominguez-2020-10-29-5f9b8c3821532.jpg', NULL, '2938475869', 'Banco Santander, S.A. de C.V.', 'Guatemala', '2020-10-30 03:44:56', '2020-10-30 03:44:56'), (2, '<NAME>', '<EMAIL>', '2839485760', 'Independencia Norte no. 10', 'Quetzaltenango', 'Super Max', 'david-procum-2020-10-30-5f9ce977ba703.jpg', '<NAME>', '18293847', 'Bano Industrial, S.A de C.V.', 'Quetzaltenango', '2020-10-31 04:35:04', '2020-10-31 04:35:04'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `employees` -- CREATE TABLE `employees` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `experience` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `photo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `salary` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `vacation` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `city` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `employees` -- INSERT INTO `employees` (`id`, `name`, `email`, `phone`, `address`, `experience`, `photo`, `salary`, `vacation`, `city`, `created_at`, `updated_at`) VALUES (1, '<NAME>', '<EMAIL>', '3874576019', 'Libertadores # 6', '3 años', 'jose-garita-2020-10-29-5f9b8b9447c12.jpg', '3000', '10', 'Guatemala', '2020-10-30 03:42:12', '2020-10-30 03:42:12'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `expenses` -- CREATE TABLE `expenses` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `amount` double(8,2) NOT NULL, `month` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `year` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2018_12_23_120000_create_shoppingcart_table', 1), (4, '2019_04_20_180941_create_employees_table', 1), (5, '2019_04_21_212214_create_customers_table', 1), (6, '2019_04_22_060343_create_suppliers_table', 1), (7, '2019_04_22_162015_create_advanced__salaries_table', 1), (8, '2019_04_22_183251_create_salaries_table', 1), (9, '2019_04_23_131117_create_categories_table', 1), (10, '2019_04_23_135321_create_products_table', 1), (11, '2019_04_23_185416_create_expenses_table', 1), (12, '2019_04_24_144756_create_attendances_table', 1), (13, '2019_04_25_224956_create_settings_table', 1), (14, '2019_04_27_221009_create_orders_table', 1), (15, '2019_04_27_221136_create_order_details_table', 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `orders` -- CREATE TABLE `orders` ( `id` bigint(20) UNSIGNED NOT NULL, `customer_id` bigint(20) UNSIGNED NOT NULL, `order_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `order_status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `total_products` int(11) NOT NULL, `sub_total` double(8,2) NOT NULL, `vat` double(8,2) NOT NULL, `total` double(8,2) NOT NULL, `payment_status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `pay` double(8,2) DEFAULT NULL, `due` double(8,2) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `orders` -- INSERT INTO `orders` (`id`, `customer_id`, `order_date`, `order_status`, `total_products`, `sub_total`, `vat`, `total`, `payment_status`, `pay`, `due`, `created_at`, `updated_at`) VALUES (1, 1, '2020-10-30', 'pending', 1, 1500.00, 240.00, 1740.00, 'HandCash', NULL, 1740.00, '2020-10-31 04:15:45', '2020-10-31 04:15:45'), (2, 1, '2020-10-30', 'approved', 2, 3300.00, 528.00, 3828.00, 'Due', NULL, 3828.00, '2020-10-31 04:28:29', '2020-11-01 01:18:50'), (3, 2, '2020-10-30', 'pending', 2, 3300.00, 528.00, 3828.00, 'HandCash', NULL, 3828.00, '2020-10-31 04:41:13', '2020-10-31 04:41:13'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `order_details` -- CREATE TABLE `order_details` ( `id` bigint(20) UNSIGNED NOT NULL, `order_id` bigint(20) UNSIGNED NOT NULL, `product_id` bigint(20) UNSIGNED NOT NULL, `quantity` int(11) NOT NULL, `unit_cost` double(8,2) NOT NULL, `total` double(8,2) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `order_details` -- INSERT INTO `order_details` (`id`, `order_id`, `product_id`, `quantity`, `unit_cost`, `total`, `created_at`, `updated_at`) VALUES (1, 1, 1, 1, 1500.00, 1740.00, '2020-10-31 04:15:45', '2020-10-31 04:15:45'), (2, 2, 1, 1, 1500.00, 1740.00, '2020-10-31 04:28:29', '2020-10-31 04:28:29'), (3, 2, 2, 1, 1800.00, 2088.00, '2020-10-31 04:28:29', '2020-10-31 04:28:29'), (4, 3, 2, 1, 1800.00, 2088.00, '2020-10-31 04:41:13', '2020-10-31 04:41:13'), (5, 3, 1, 1, 1500.00, 1740.00, '2020-10-31 04:41:13', '2020-10-31 04:41:13'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `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; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `products` -- CREATE TABLE `products` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `category_id` bigint(20) UNSIGNED NOT NULL, `supplier_id` bigint(20) UNSIGNED NOT NULL, `code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `garage` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `route` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `buying_date` datetime NOT NULL, `expire_date` datetime NOT NULL, `buying_price` double(8,2) NOT NULL, `selling_price` double(8,2) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `products` -- INSERT INTO `products` (`id`, `name`, `category_id`, `supplier_id`, `code`, `garage`, `route`, `image`, `buying_date`, `expire_date`, `buying_price`, `selling_price`, `created_at`, `updated_at`) VALUES (1, 'Microsoft - Control inalámbrico para Xbox One + Tarjeta FORNITE - Blanco', 1, 1, '82736458', 'A', 'B', 'microsoft-control-inalambrico-para-xbox-one-tarjeta-fornite-blanco-2020-10-29-5f9b7b49039d8.jpeg', '2020-10-29 00:00:00', '2021-08-26 00:00:00', 1500.00, 2200.00, '2020-10-30 02:32:41', '2020-11-01 00:52:56'), (2, 'Jostick', 1, 1, '92834756', 'B', 'C', 'jostick-2020-10-30-5f9ce6384f2c1.jpg', '2020-10-30 00:00:00', '2022-10-13 00:00:00', 1400.00, 1800.00, '2020-10-31 04:21:12', '2020-10-31 04:21:12'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `salaries` -- CREATE TABLE `salaries` ( `id` bigint(20) UNSIGNED NOT NULL, `employee_id` int(11) NOT NULL, `salary_month` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `paid_amount` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `settings` -- CREATE TABLE `settings` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'abc', `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'xyz', `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '<EMAIL>', `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `logo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'logo.png', `city` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'savar', `country` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Bangladesh', `zip_code` int(11) NOT NULL DEFAULT 1000, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `settings` -- INSERT INTO `settings` (`id`, `name`, `address`, `email`, `phone`, `mobile`, `logo`, `city`, `country`, `zip_code`, `created_at`, `updated_at`) VALUES (1, 'Quetzalt Games', 'Guatemala', '<EMAIL>', '2837465019', '8374596010', 'quetzalt-games-2020-10-29-5f9b86834b977.jpg', 'Guatemala', 'Guatemala', 1000, NULL, '2020-10-30 03:20:35'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `shoppingcart` -- CREATE TABLE `shoppingcart` ( `identifier` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `instance` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `content` longtext 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; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `suppliers` -- CREATE TABLE `suppliers` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `city` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `shop_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `account_holder` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_branch` 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; -- -- Volcado de datos para la tabla `suppliers` -- INSERT INTO `suppliers` (`id`, `name`, `email`, `phone`, `address`, `city`, `type`, `photo`, `shop_name`, `account_holder`, `account_number`, `bank_name`, `bank_branch`, `created_at`, `updated_at`) VALUES (1, '<NAME>', '<EMAIL>', '3483745629', 'Independencia Norte no. 10', 'Guatemala', '2', 'carlos-de-la-rosa-2020-10-29-5f9b7ab49a5b4.jpg', 'Proveedora Internacional, S.A. de C.V.', '<NAME>', '129384756', 'Banco Azteca', 'Guatemala', '2020-10-30 02:30:12', '2020-10-30 02:30:12'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Volcado de datos para la tabla `users` -- INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 'Silverio', '<EMAIL>', NULL, <PASSWORD>', NULL, '2020-10-30 02:20:12', '2020-10-30 02:20:12'); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `advanced__salaries` -- ALTER TABLE `advanced__salaries` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `attendances` -- ALTER TABLE `attendances` ADD PRIMARY KEY (`id`), ADD KEY `attendances_employee_id_foreign` (`employee_id`); -- -- Indices de la tabla `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `customers` -- ALTER TABLE `customers` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `employees` -- ALTER TABLE `employees` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `expenses` -- ALTER TABLE `expenses` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `orders` -- ALTER TABLE `orders` ADD PRIMARY KEY (`id`), ADD KEY `orders_customer_id_foreign` (`customer_id`); -- -- Indices de la tabla `order_details` -- ALTER TABLE `order_details` ADD PRIMARY KEY (`id`), ADD KEY `order_details_order_id_foreign` (`order_id`), ADD KEY `order_details_product_id_foreign` (`product_id`); -- -- Indices de la tabla `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indices de la tabla `products` -- ALTER TABLE `products` ADD PRIMARY KEY (`id`), ADD KEY `products_category_id_foreign` (`category_id`), ADD KEY `products_supplier_id_foreign` (`supplier_id`); -- -- Indices de la tabla `salaries` -- ALTER TABLE `salaries` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `settings` -- ALTER TABLE `settings` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `shoppingcart` -- ALTER TABLE `shoppingcart` ADD PRIMARY KEY (`identifier`,`instance`); -- -- Indices de la tabla `suppliers` -- ALTER TABLE `suppliers` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `advanced__salaries` -- ALTER TABLE `advanced__salaries` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `attendances` -- ALTER TABLE `attendances` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `categories` -- ALTER TABLE `categories` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT de la tabla `customers` -- ALTER TABLE `customers` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT de la tabla `employees` -- ALTER TABLE `employees` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `expenses` -- ALTER TABLE `expenses` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT de la tabla `orders` -- ALTER TABLE `orders` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT de la tabla `order_details` -- ALTER TABLE `order_details` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT de la tabla `products` -- ALTER TABLE `products` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT de la tabla `salaries` -- ALTER TABLE `salaries` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `settings` -- ALTER TABLE `settings` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `suppliers` -- ALTER TABLE `suppliers` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- Restricciones para tablas volcadas -- -- -- Filtros para la tabla `attendances` -- ALTER TABLE `attendances` ADD CONSTRAINT `attendances_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE; -- -- Filtros para la tabla `orders` -- ALTER TABLE `orders` ADD CONSTRAINT `orders_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE; -- -- Filtros para la tabla `order_details` -- ALTER TABLE `order_details` ADD CONSTRAINT `order_details_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `order_details_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE; -- -- Filtros para la tabla `products` -- ALTER TABLE `products` ADD CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `products_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`) ON DELETE 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>EL-BID/nexso<gh_stars>1-10 CREATE PROCEDURE [dbo].[dnn_DeleteTab] @TabId Int -- ID of tab to delete; Not Null and > 0 AS BEGIN DECLARE @TabOrder Int DECLARE @ParentId Int DECLARE @ContentItemId Int SELECT @TabOrder = TabOrder, @ParentId = ParentID, @ContentItemID = ContentItemID FROM dbo.[dnn_Tabs] WHERE TabID = @TabId -- Delete Tab -- DELETE FROM dbo.[dnn_Tabs] WHERE TabID = @TabId -- Update TabOrder of remaining Tabs -- UPDATE dbo.[dnn_Tabs] SET TabOrder = TabOrder - 2 WHERE IsNull(ParentID, -1) = IsNull(@ParentId , -1) AND TabOrder > @TabOrder -- Delete Content Item -- DELETE FROM dbo.[dnn_ContentItems] WHERE ContentItemID = @ContentItemId END
select * from semantic.alerts where alert = '5000Y00000V0Y3o' select * from semantic.alerts a where a.datetime_opened >= '2016-12-05'::date - interval '60 days' and a.datetime_opened < '2016-12-05' and ST_DWithin('0101000020E6100000AD0782B68B1FB5BFDFB023C44BC34940',a.location, 50)
-- database values INSERT INTO burgers (burger_name) VALUES ("Crispy Chicken Sandwich"), ("Double Cheeseburger"), ("Bacon Cheeseburger");
<reponame>wani-hackase/wanictf2020-writeup<filename>web/SQL_challenge_1/src/mysql/initdb.d/1_schema.sql DROP TABLE IF EXISTS anime; CREATE TABLE anime ( name VARCHAR(32) NOT NULL, years INT(32) NOT NULL, PRIMARY KEY (name) );
-- Only applicable for SQL Server 2017 DECLARE @logit_model VARBINARY(MAX) = (SELECT TOP 1 [Model] FROM [dbo].[NYCTaxiModel] WHERE [IsRealTimeScoring] = 1 ORDER BY [CreatedOn] DESC); WITH d AS ( SELECT 2 AS passenger_count, 10 AS trip_distance, 1950 AS trip_time_in_secs, dbo.fnCalculateDistance(47.643272, -122.127235, 47.620529, -122.349297) AS direct_distance) SELECT * FROM PREDICT( MODEL = @logit_model, DATA = d) WITH (tipped_Pred FLOAT) p;
<reponame>filoxo/comunidades-unidas-internal<filename>migrations/sqls/20200216175943-issue-443-down.sql DELETE FROM services WHERE serviceName = "Mammograms"; DELETE FROM services WHERE serviceName = "Sexual Education"; DELETE FROM services WHERE serviceName = "Family Planning"; DELETE FROM services WHERE serviceName = "Volunteers"; UPDATE services SET serviceName = "Youth Groups" WHERE serviceName = "Youth Groups - Monthly Meetings"; UPDATE services SET serviceName = "Promotora" WHERE serviceName = "Promotora - Monthly Meetings";
-- alias.test -- -- db eval { -- SELECT x, sequence() AS y FROM t1 WHERE y>0 -- } SELECT x, sequence() AS y FROM t1 WHERE y>0
<filename>src/test/resources/sql/select/62bf6408.sql<gh_stars>10-100 -- file:date.sql ln:255 expect:true SELECT EXTRACT(DECADE FROM DATE '0009-12-31')
<reponame>Shuttl-Tech/antlr_psql -- file:updatable_views.sql ln:1139 expect:true select tableoid::regclass, * from pt
CREATE TABLE /*_*/annotatedimages ( ai_id int(11) UNSIGNED NOT null primary key auto_increment ai_page_id int(11) UNSIGNED NOT NULL, ai_filename varchar(256) NOT NULL, ai_hash varchar(64) NOT NULL, ai_data_json text DEFAULT '', ai_data_svg text TEXT DEFAULT '', ai_thumbfile varchar(256) NULL, -- Timestamp used to send notification e-mails and show "updated since last visit" markers on -- history and recent changes / watchlist. Set to NULL when the user visits the latest revision -- of the page, which means that they should be sent an e-mail on the next change. pb_notificationtimestamp varbinary(14) ) /*$wgDBTableOptions*/; CREATE INDEX /*i*/annotatedimages_page_id ON /*_*/annotatedimages (ai_page_id); CREATE INDEX /*i*/annotatedimages_filename ON /*_*/annotatedimages (ai_filename); CREATE INDEX /*i*/annotatedimages_filename_data_json ON /*_*/annotatedimages (ai_filename, ai_data_json);
<filename>test/sql/complex.sql -- Complex ${foo/bar/baz}
CREATE PROCEDURE [dbo].[SetMaintenanceWindow] ( @plannedTimestamp DATETIME ) AS BEGIN SET NOCOUNT ON; DELETE FROM dbo.MaintenanceWindow IF NOT ISNULL(@plannedTimestamp, '') = '' AND @plannedTimestamp > GETDATE() BEGIN INSERT INTO dbo.MaintenanceWindow (maintenancePlannedTimestamp) VALUES (@plannedTimestamp) END RETURN 0; END
<filename>lessonbuilder/components/src/ddl/hsqldb/simplepage.sql<gh_stars>10-100 -- --------------------------------------------------------------------------- -- tables are created by hibernate; so we only need indices here. While in development -- put newer statements first, since reading the file will stop if the first -- statement fails. If you need to force it to be read, try -- update SAKAI_CLUSTER set SERVER_ID='1' where SERVER_ID='1'; -- --------------------------------------------------------------------------- create index lesson_builder_group_site on lesson_builder_groups(siteId); create index lesson_builder_item_gb on lesson_builder_items(gradebookid); create index lesson_builder_item_altgb on lesson_builder_items(altGradebook); create index lesson_builder_prop_idx on lesson_builder_properties(attribute); create index lesson_builder_qr_questionId_userId on lesson_builder_q_responses(questionId, userId); create index lesson_builder_qr_total_qi on lesson_builder_qr_totals(questionId); create index lesson_builder_comments_itemid_author on lesson_builder_comments(itemId, author); create index lesson_builder_student_pages_pageId on lesson_builder_student_pages(pageId); create index lesson_builder_student_pages_itemId on lesson_builder_student_pages(itemId); create index lesson_builder_log_index on lesson_builder_log(userId,itemId, studentPageId); create index lesson_builder_student_pages_index on lesson_builder_student_pages(itemId, owner, deleted); create index lesson_builder_comments_uuid on lesson_builder_comments(UUID); create index lesson_builder_comments_author on lesson_builder_comments(pageId, author); create index lesson_builder_log_index3 on lesson_builder_log(itemId); create index lesson_builder_log_index2 on lesson_builder_log(userId,toolId); create index lesson_builder_groups_itemid on lesson_builder_groups(itemId); create index lesson_builder_pages_pageid on lesson_builder_pages(pageId); create index lesson_builder_pages_toolid on lesson_builder_pages(toolId, parent); create index lesson_builder_items_pageid on lesson_builder_items(pageId); create index lesson_builder_items_sakaiid on lesson_builder_items(sakaiId);
 alter table [users] alter column [login] nvarchar(255) go alter table [users] alter column [email] nvarchar(255) go INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'login.sign_up', 'Sign-Up' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'signup.acct_exists1', 'The email address you supplied has already been registered.' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'signup.acct_exists2', 'Please choose another, or try retrieving your password if that is your email address.' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'signup.retrieve_your_password', 'Retrieve your password' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'login.please_enter_email', 'Please enter your email address' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'signup.phone_required', 'Phone number is required for participation in the watchman wall.' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'request.keep_me_posted', 'Keep me posted' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'login.welcome', 'Welcome to our online house of prayer. ' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'login.come_alongside', 'and come alongside other prayer warriors in our watchman prayer ministry. ' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'login.if_you_have_an_account', ' if you already have an account.' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'request.prayer_session_complete', 'Prayer session complete.' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'request.praise', 'PRAISE' from phrases INSERT INTO phrases ([id], [language_id], [label], [phrase]) SELECT COUNT(*) + 1, 1, 'request.praises_updates_comments', 'praises, updates, or comments' from phrases INSERT INTO [dbo].[updates] VALUES ( 36, GETDATE() )
-- -- Nimrod/G -- https://github.com/UQ-RCC/nimrodg -- -- SPDX-License-Identifier: Apache-2.0 -- Copyright (c) 2021 The University of Queensland -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- DROP TYPE IF EXISTS nimrod_agent_state CASCADE; CREATE TYPE nimrod_agent_state AS ENUM('WAITING_FOR_HELLO', 'READY', 'BUSY', 'SHUTDOWN'); DROP TYPE IF EXISTS nimrod_agent_shutdown_reason CASCADE; CREATE TYPE nimrod_agent_shutdown_reason AS ENUM('HostSignal', 'Requested'); DROP TABLE IF EXISTS nimrod_resource_types CASCADE; CREATE TABLE nimrod_resource_types( id BIGSERIAL NOT NULL PRIMARY KEY, implementation_class TEXT NOT NULL, name TEXT NOT NULL UNIQUE ); DROP TABLE IF EXISTS nimrod_resources CASCADE; CREATE TABLE nimrod_resources ( id BIGSERIAL NOT NULL PRIMARY KEY, name nimrod_identifier NOT NULL UNIQUE, type_id BIGINT NOT NULL REFERENCES nimrod_resource_types(id) ON DELETE RESTRICT, config JSONB NOT NULL, -- I'm not using nimrod_uri to keep SELECTion and INSERTion code simple. amqp_uri TEXT, amqp_cert_path TEXT, amqp_no_verify_peer BOOLEAN, amqp_no_verify_host BOOLEAN, tx_uri TEXT, tx_cert_path TEXT, tx_no_verify_peer BOOLEAN, tx_no_verify_host BOOLEAN ); DROP VIEW IF EXISTS nimrod_full_resources CASCADE; CREATE VIEW nimrod_full_resources AS( SELECT r.id, r.name, r.type_id, r.config, COALESCE(r.amqp_uri, cfg.amqp_uri) AS amqp_uri, COALESCE(r.amqp_cert_path, cfg.amqp_cert_path) AS amqp_cert_path, COALESCE(r.amqp_no_verify_peer, cfg.amqp_no_verify_peer) AS amqp_no_verify_peer, COALESCE(r.amqp_no_verify_host, cfg.amqp_no_verify_host) AS amqp_no_verify_host, COALESCE(r.tx_uri, cfg.tx_uri) AS tx_uri, COALESCE(r.tx_cert_path, cfg.tx_cert_path) AS tx_cert_path, COALESCE(r.tx_no_verify_peer, cfg.tx_no_verify_peer) AS tx_no_verify_peer, COALESCE(r.tx_no_verify_host, cfg.tx_no_verify_host) AS tx_no_verify_host, t.name AS type_name, t.implementation_class AS type_class FROM nimrod_resources AS r LEFT JOIN get_config() AS cfg ON TRUE LEFT JOIN nimrod_resource_types AS t ON r.type_id = t.id ); DROP TABLE IF EXISTS nimrod_resource_assignments CASCADE; CREATE TABLE nimrod_resource_assignments( id BIGSERIAL NOT NULL PRIMARY KEY, exp_id BIGINT NOT NULL REFERENCES nimrod_experiments(id) ON DELETE CASCADE, resource_id BIGINT NOT NULL REFERENCES nimrod_resources(id) ON DELETE RESTRICT, tx_uri TEXT, tx_cert_path TEXT, tx_no_verify_peer BOOLEAN, tx_no_verify_host BOOLEAN, UNIQUE(exp_id, resource_id) ); DROP VIEW IF EXISTS nimrod_full_resource_assignments; CREATE VIEW nimrod_full_resource_assignments AS SELECT a.id, a.exp_id, a.resource_id, COALESCE(a.tx_uri, r.tx_uri, cfg.tx_uri) AS tx_uri, COALESCE(a.tx_cert_path, r.tx_cert_path, cfg.tx_cert_path) AS tx_cert_path, COALESCE(a.tx_no_verify_peer, r.tx_no_verify_peer, cfg.tx_no_verify_peer) AS tx_no_verify_peer, COALESCE(a.tx_no_verify_host, r.tx_no_verify_host, cfg.tx_no_verify_host) AS tx_no_verify_host FROM nimrod_resource_assignments AS a INNER JOIN nimrod_resources AS r ON a.resource_id = r.id LEFT JOIN nimrod_config AS cfg ON cfg.id = 1 ; DROP TABLE IF EXISTS nimrod_resource_capabilities CASCADE; CREATE TABLE nimrod_resource_capabilities( id BIGSERIAL NOT NULL PRIMARY KEY, exp_id BIGINT NOT NULL REFERENCES nimrod_experiments(id) ON DELETE CASCADE, resource_id BIGINT NOT NULL REFERENCES nimrod_resources(id) ON DELETE CASCADE, UNIQUE(exp_id, resource_id) ); DROP TABLE IF EXISTS nimrod_resource_agents CASCADE; CREATE TABLE nimrod_resource_agents( id BIGSERIAL NOT NULL PRIMARY KEY, state nimrod_agent_state NOT NULL, queue TEXT CHECK((state IN ('WAITING_FOR_HELLO', 'SHUTDOWN') AND queue IS NULL) OR (queue IS NOT NULL)), agent_uuid UUID NOT NULL UNIQUE, shutdown_signal INTEGER NOT NULL, shutdown_reason nimrod_agent_shutdown_reason NOT NULL, -- From here, none of this is actually state. created TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(), connected_at TIMESTAMP WITH TIME ZONE CHECK(connected_at >= created), last_heard_from TIMESTAMP WITH TIME ZONE CHECK(last_heard_from >= created), expiry_time TIMESTAMP WITH TIME ZONE CHECK(expiry_time >= created), expired_at TIMESTAMP WITH TIME ZONE DEFAULT NULL CHECK(expired_at >= created), expired BOOLEAN NOT NULL DEFAULT FALSE, secret_key TEXT NOT NULL DEFAULT _generate_random_token(32), location BIGINT REFERENCES nimrod_resources(id) ON DELETE CASCADE, actuator_data JSONB ); CREATE INDEX ON nimrod_resource_agents(location) WHERE location IS NOT NULL; -- -- If the agent's expired, disallow changes. -- If the agent's state is setting to SHUTDOWN, mark it as expired. -- CREATE OR REPLACE FUNCTION _res_t_agent_expire_on_shutdown() RETURNS TRIGGER AS $$ BEGIN IF OLD.expired = TRUE THEN RAISE EXCEPTION 'Cannot update expired agent'; END IF; IF NEW.state = 'SHUTDOWN'::nimrod_agent_state THEN NEW.expired = TRUE; END IF; IF NEW.expired = TRUE THEN NEW.expired_at = NOW(); END IF; -- Sometimes there's a few ms drift between the sever and db. IF NEW.last_heard_from < NEW.created THEN NEW.last_heard_from = NEW.created; END IF; RETURN NEW; END $$ LANGUAGE 'plpgsql'; DROP TRIGGER IF EXISTS t_res_agent_expire_on_shutdown ON nimrod_resource_agents; CREATE TRIGGER t_res_agent_expire_on_shutdown BEFORE UPDATE ON nimrod_resource_agents FOR EACH ROW EXECUTE PROCEDURE _res_t_agent_expire_on_shutdown(); -- -- Delete any capabilities if their experiment has been unassigned. -- CREATE OR REPLACE FUNCTION _res_t_assignment_remove_checks() RETURNS TRIGGER AS $$ BEGIN DELETE FROM nimrod_resource_capabilities WHERE exp_id IN (SELECT id FROM nimrod_experiments WHERE exp_id = OLD.exp_id) AND resource_id = OLD.resource_id ; RETURN NULL; END $$ LANGUAGE 'plpgsql'; DROP TRIGGER IF EXISTS t_res_assignment_remove_checks ON nimrod_resource_assignments; CREATE TRIGGER t_res_assignment_remove_checks AFTER DELETE ON nimrod_resource_assignments FOR EACH ROW EXECUTE PROCEDURE _res_t_assignment_remove_checks(); -- -- ACTUAL FUNCTIONS -- CREATE OR REPLACE FUNCTION add_resource(_name TEXT, _typename TEXT, _config JSONB, _amqp_uri nimrod_uri, _tx_uri nimrod_uri) RETURNS SETOF nimrod_full_resources AS $$ DECLARE _type_id BIGINT; _resource_id BIGINT; BEGIN SELECT id INTO _type_id FROM nimrod_resource_types WHERE name = _typename; if _type_id IS NULL THEN RAISE EXCEPTION 'Invalid type %', _typename; END IF; INSERT INTO nimrod_resources( name, type_id, config, amqp_uri, amqp_cert_path, amqp_no_verify_peer, amqp_no_verify_host, tx_uri, tx_cert_path, tx_no_verify_peer, tx_no_verify_host ) VALUES( _name, _type_id, _config, _amqp_uri.uri, _amqp_uri.cert_path, _amqp_uri.no_verify_peer, _amqp_uri.no_verify_host, _tx_uri.uri, _tx_uri.cert_path, _tx_uri.no_verify_peer, _tx_uri.no_verify_host ) RETURNING id INTO _resource_id; RETURN QUERY SELECT * FROM nimrod_full_resources WHERE id = _resource_id; END $$ LANGUAGE 'plpgsql'; CREATE OR REPLACE FUNCTION get_assigned_resources(_exp_id BIGINT) RETURNS SETOF nimrod_full_resources AS $$ SELECT s.* FROM nimrod_resource_assignments AS a, nimrod_full_resources AS s WHERE a.resource_id = s.id AND a.exp_id = _exp_id ; $$ LANGUAGE SQL; CREATE OR REPLACE FUNCTION assign_resource(_res_id BIGINT, _exp_id BIGINT, _tx_uri nimrod_uri) RETURNS SETOF nimrod_resource_assignments AS $$ INSERT INTO nimrod_resource_assignments( exp_id, resource_id, tx_uri, tx_cert_path, tx_no_verify_peer, tx_no_verify_host ) VALUES( _exp_id, _res_id, _tx_uri.uri, _tx_uri.cert_path, _tx_uri.no_verify_peer, _tx_uri.no_verify_host ) ON CONFLICT DO NOTHING RETURNING *; $$ LANGUAGE SQL; CREATE OR REPLACE FUNCTION get_agent_resource(_uuid UUID) RETURNS SETOF nimrod_full_resources AS $$ SELECT * FROM nimrod_full_resources WHERE id = ( SELECT location FROM nimrod_resource_agents WHERE agent_uuid = _uuid ); $$ LANGUAGE SQL; CREATE OR REPLACE FUNCTION add_agent( _state nimrod_agent_state, _queue TEXT, _uuid UUID, _shutdown_signal INTEGER, _shutdown_reason nimrod_agent_shutdown_reason, _expiry_time TIMESTAMP WITH TIME ZONE, _secret_key TEXT, _location BIGINT, _actuator_data JSONB ) RETURNS nimrod_resource_agents AS $$ INSERT INTO nimrod_resource_agents( state, queue, agent_uuid, shutdown_signal, shutdown_reason, expiry_time, secret_key, location, actuator_data ) VALUES( _state, _queue, _uuid, _shutdown_signal, _shutdown_reason, _expiry_time, COALESCE(_secret_key, _generate_random_token(32)), _location, _actuator_data ) RETURNING *; $$ LANGUAGE SQL; CREATE OR REPLACE FUNCTION update_agent(_uuid UUID, _state nimrod_agent_state, _queue TEXT, _signal INTEGER, _reason nimrod_agent_shutdown_reason, _connected_at TIMESTAMP WITH TIME ZONE, _last_heard_from TIMESTAMP WITH TIME ZONE, _expiry_time TIMESTAMP WITH TIME ZONE, _expired BOOLEAN, _actuator_data JSONB) RETURNS SETOF nimrod_resource_agents AS $$ UPDATE nimrod_resource_agents SET state = _state, queue = _queue, shutdown_signal = _signal, shutdown_reason = _reason, connected_at = _connected_at, last_heard_from = _last_heard_from, expiry_time = _expiry_time, expired = _expired, actuator_data = _actuator_data WHERE agent_uuid = _uuid RETURNING *; $$ LANGUAGE SQL;
--alter table tb_trade_order modify column EXPRESS_CHARGE double;
DROP TABLE IF EXISTS `shuyang_message_group`;
INSERT INTO RIPS_SETTINGS (id, ui_url, api_url, username, password) VALUES (1, 'https://saas.ripstech.com', 'https://api-2.ripstech.com', '', '');
/* [df:title] Option Member Select [df:description] This SQL has many option. */ -- #df:entity# -- !df:pmb! -- !!Integer memberId!! -- !!String memberName:likePrefix!! -- !!String memberAccount:like!! -- !!Date fromFormalizedDate:fromDate!! -- !!Date toFormalizedDate:toDate!! -- !!String memberStatusCode:cls(MemberStatus)!! -- !!Integer displayOrder:ref(MemberStatus)!! -- !!Date birthdate:fromDate | ref(Member)!! -- !!String status:cls(MemberStatus)|ref(Member.MEMBER_STATUS_CODE)!! select mb.MEMBER_ID , mb.MEMBER_NAME , mb.BIRTHDATE , mb.FORMALIZED_DATETIME , mb.MEMBER_STATUS_CODE -- for Classification Test of Sql2Entity , stat.DISPLAY_ORDER as STATUS_DISPLAY_ORDER -- for Alias Name Test , stat.MEMBER_STATUS_NAME , 0 as DUMMY_FLG -- for Classification Test of Sql2Entity , 0 as DUMMY_NOFLG -- for Classification Test of Sql2Entity from `MEMBER` mb left outer join MEMBER_STATUS stat on mb.MEMBER_STATUS_CODE = stat.MEMBER_STATUS_CODE /*BEGIN*/ where /*IF pmb.memberId != null*/ mb.MEMBER_ID = /*pmb.memberId*/3 /*END*/ /*IF pmb.memberName != null*/ and mb.MEMBER_NAME like /*pmb.memberName*/'S%' /*END*/ /*IF pmb.memberAccount != null*/ and mb.MEMBER_ACCOUNT like /*pmb.memberAccount*/'%v%' /*END*/ /*IF pmb.fromFormalizedDate != null*/ and mb.FORMALIZED_DATETIME >= /*pmb.fromFormalizedDate*/'1964-12-27' /*END*/ /*IF pmb.toFormalizedDate != null*/ and mb.FORMALIZED_DATETIME < /*pmb.toFormalizedDate*/'1974-04-17' /*END*/ /*IF pmb.memberStatusCode != null*/ and mb.MEMBER_STATUS_CODE = /*pmb.memberStatusCode*/'WDL' /*END*/ /*END*/ order by mb.MEMBER_ID asc
SET sp_template.id = '{{index . 0}}'; SET sp1.id = '{{index . 1}}'; SET sp2.id = '{{index . 2}}'; SET wit.id = '{{index . 3}}'; SET wi1.id = '{{index . 4}}'; SET wi2.id = '{{index . 5}}'; SET wi3.id = '{{index . 6}}'; SET wi4.id = '{{index . 7}}'; SET iter1.id = '{{index . 8}}'; SET iter2.id = '{{index . 9}}'; SET iter3.id = '{{index . 10}}'; SET iter4.id = '{{index . 11}}'; SET area1.id = '{{index . 12}}'; SET area2.id = '{{index . 13}}'; SET area3.id = '{{index . 14}}'; SET area4.id = '{{index . 15}}'; -- create space template INSERT INTO space_templates (id,name,description) VALUES(current_setting('sp_template.id')::uuid, current_setting('sp_template.id'), 'test template'); -- create two spaces INSERT INTO spaces (id,name,space_template_id) VALUES (current_setting('sp1.id')::uuid, current_setting('sp1.id'), current_setting('sp_template.id')::uuid), (current_setting('sp2.id')::uuid, current_setting('sp2.id'), current_setting('sp_template.id')::uuid); INSERT INTO work_item_types (id,name,can_construct,space_template_id,fields,description,icon) VALUES (current_setting('wit.id')::uuid, 'Custom WIT', 'true', current_setting('sp_template.id')::uuid, '{"system.title": {"type": {"kind": "string"}, "label": "Title", "required": true, "read_only": false, "description": "The title text of the work item"}}', 'Description for Impediment', 'fa fa-bookmark'); INSERT INTO work_items (id, type, space_id, fields, number, created_at) VALUES (current_setting('wi1.id')::uuid, current_setting('wit.id')::uuid, current_setting('sp1.id')::uuid, '{"system.title":"WI1"}'::json, 1, '2018-09-17 16:01'), (current_setting('wi2.id')::uuid, current_setting('wit.id')::uuid, current_setting('sp1.id')::uuid, '{"system.title":"WI2"}'::json, 2, '2018-09-17 18:01'), (current_setting('wi3.id')::uuid, current_setting('wit.id')::uuid, current_setting('sp2.id')::uuid, '{"system.title":"WI3"}'::json, 1, '2018-09-17 12:01'), (current_setting('wi4.id')::uuid, current_setting('wit.id')::uuid, current_setting('sp2.id')::uuid, '{"system.title":"WI4"}'::json, 2, '2018-09-17 17:01'); INSERT INTO work_item_number_sequences (space_id, current_val) VALUES (current_setting('sp1.id')::uuid, 2), (current_setting('sp2.id')::uuid, 2); INSERT INTO iterations (id, name, path, space_id, created_at) VALUES (current_setting('iter1.id')::uuid, 'iteration 1', replace(current_setting('iter1.id'), '-', '_')::ltree, current_setting('sp1.id')::uuid, '2018-09-17 16:01'), (current_setting('iter2.id')::uuid, 'iteration 2', replace(current_setting('iter2.id'), '-', '_')::ltree, current_setting('sp1.id')::uuid, '2018-09-17 15:01'), (current_setting('iter3.id')::uuid, 'iteration 3', replace(current_setting('iter3.id'), '-', '_')::ltree, current_setting('sp2.id')::uuid, '2018-09-17 16:01'), (current_setting('iter4.id')::uuid, 'iteration 4', replace(current_setting('iter4.id'), '-', '_')::ltree, current_setting('sp2.id')::uuid, '2018-09-17 15:01'); INSERT INTO areas (id, name, path, space_id, created_at) VALUES (current_setting('area1.id')::uuid, 'area 1', replace(current_setting('area1.id'), '-', '_')::ltree, current_setting('sp1.id')::uuid, '2018-09-17 13:01'), (current_setting('area2.id')::uuid, 'area 2', replace(current_setting('area2.id'), '-', '_')::ltree, current_setting('sp1.id')::uuid, '2018-09-17 12:01'), (current_setting('area3.id')::uuid, 'area 3', replace(current_setting('area3.id'), '-', '_')::ltree, current_setting('sp2.id')::uuid, '2018-09-17 13:01'), (current_setting('area4.id')::uuid, 'area 4', replace(current_setting('area4.id'), '-', '_')::ltree, current_setting('sp2.id')::uuid, '2018-09-17 12:01');
-- Create test participant INSERT INTO studyparticipant (subject_id) VALUES('7bfc3b07-a97d-4e11-8ac6-b970c1745476'); INSERT INTO studyparticipant (subject_id) VALUES('dd06747c-03df-4adb-9dbb-90b38dccab16'); -- Create test questionnaires INSERT INTO questionnaires (id,body) VALUES ('initial','{ "resourceType": "Questionnaire", "url": "http://hl7.org/fhir/Questionnaire/Fragebogen_COMPASS_Beispiel", "identifier": [{ "use": "official", "system": "urn:UMOID:", "value": "Fragebogen COMPASS Beispiel Initial" }], "version": "1.2", "title": "Fragebogen COMPASS Beispiel Initial", "status": "draft", "subjectType": [ "Patient" ], "date": "2021-01-25", "publisher": "IBM", "purpose": "Abbildung der aktuell in der von IBM entwickelten App unterstützten FHIR Funktionalitäten - Initial", "item": [{ "linkId": "1", "text": "Fragegruppe 1", "type": "group", "required": true, "item": [{ "linkId": "1.1", "text": "Das ist eine Freitextabfrage", "type": "string", "required": true }, { "linkId": "1.2", "text": "Das ist eine Datumsabfrage", "type": "date", "required": true }, { "linkId": "1.3", "text": "Das ist eine Dezimalzahlenabfrage", "type": "decimal", "required": true }, { "linkId": "1.4", "text": "Das ist eine Ganzzahlenabfrage", "type": "integer", "required": true }, { "linkId": "1.5", "text": "Das ist eine boolsche Abfrage", "type": "boolean", "required": true }, { "linkId": "1.6", "text": "Das ist eine informative Anzeige ohne Abfrage", "type": "display", "required": true }, { "linkId": "1.7", "text": "Das ist eine Slider-Abfrage", "type": "integer", "extension": [{ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [{ "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "slider" }] } }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-lowRangeLabel", "valueString": "Niedrig" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-highRangeLabel", "valueString": "Hoch" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/minValue", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/maxValue", "valueInteger": 10 } ], "required": true }, { "linkId": "1.8", "text": "Das ist eine optionale Frage", "type": "string", "required": false }, { "linkId": "1.9", "text": "Das ist eine Multiple-Choice-Abfrage", "type": "open-choice", "required": true, "answerOption": [{ "valueString": "Option A" }, { "valueString": "Option B" }, { "valueString": "Option C" } ] }, { "linkId": "1.10", "text": "Das ist eine alternative Art eine Multiple-Choice-Abfrage abzubilden", "type": "group", "required": true, "item": [{ "linkId": "1.10.1", "text": "Option A", "type": "boolean", "required": true }, { "linkId": "1.10.2", "text": "Option B", "type": "boolean", "required": true }, { "linkId": "1.10.3", "text": "Option C", "type": "boolean", "required": true } ] }, { "linkId": "1.11", "text": "Das ist eine Single-Choice-Abfrage", "type": "choice", "required": true, "answerOption": [{ "valueString": "Option A" }, { "valueString": "Option B" }, { "valueString": "Option C" } ] }, { "linkId": "1.12", "text": "Diese Frage wird nur angezeigt, wenn 1.11 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.11", "operator": "=", "answerString": "Option A" }] }, { "linkId": "1.13", "text": "Diese Frage wird nur angezeigt, wenn 1.11 oder 1.10.1 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.10.1", "operator": "=", "answerBoolean": true }, { "question": "1.11", "operator": "=", "answerString": "Option A" }], "enableBehavior": "any" }, { "linkId": "1.14", "text": "Diese Frage wird nur angezeigt, wenn 1.11 und 1.10.1 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.10.1", "operator": "=", "answerBoolean": true }, { "question": "1.11", "operator": "=", "answerString": "Option A" }], "enableBehavior": "all" }, { "linkId": "1.15", "text": "Bedingte Abfrage mit answerDecimal", "type": "group", "required": true, "item": [{ "linkId": "1.15.1", "text": "Abfrage Dezimalzahl (erwartet = 1.5)", "type": "decimal", "required": true }, { "linkId": "1.15.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.15.1", "operator": "=", "answerDecimal": 1.5 }] } ] }, { "linkId": "1.16", "text": "Bedingte Abfrage mit answerInteger", "type": "group", "required": true, "item": [{ "linkId": "1.16.1", "text": "Abfrage Ganzzahl (erwartet = 1)", "type": "integer", "required": true }, { "linkId": "1.16.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.16.1", "operator": "=", "answerInteger": 1 }] } ] }, { "linkId": "1.17", "text": "Bedingte Abfrage mit answerDate", "type": "group", "required": true, "item": [{ "linkId": "1.17.1", "text": "Abfrage Datum (erwartet = 01.01.2021)", "type": "date", "required": true }, { "linkId": "1.17.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.17.1", "operator": "=", "answerDate": "2021-01-01" }] } ] }, { "linkId": "1.18", "text": "Das ist eine Frage mit Definition", "type": "string", "required": true, "definition": "http://loinc.org/example#uri" }, { "linkId": "1.19", "text": "Das ist eine Frage mit max. Eingabelänge von 10 Zeichen", "type": "string", "required": true, "maxLength": 10 } ] }, { "linkId": "2", "text": "Fragegruppe 2", "type": "group", "required": true, "item": [{ "linkId": "2.1", "text": "Untergruppe 1", "type": "group", "required": true, "item": [{ "linkId": "2.1.1", "text": "Untergruppe 2", "type": "group", "required": true, "item": [{ "linkId": "2.1.1.1", "text": "Frage der Untergruppe 2", "type": "string", "required": true }, { "linkId": "2.1.1.2", "text": "Untergruppe 3", "type": "group", "required": true, "item": [{ "linkId": "2.1.1.2.1", "text": "Frage 1 der Untergruppe 3", "type": "string", "required": true }, { "linkId": "2.1.1.2.2", "text": "Frage 2 der Untergruppe 3", "type": "string", "required": true } ] } ] }, { "linkId": "2.1.2", "text": "Frage der Untergruppe 1", "type": "boolean", "required": true } ] }] }] }') ,('q_1.0','{ "resourceType": "Questionnaire", "url": "http://hl7.org/fhir/Questionnaire/Fragebogen_COMPASS_Beispiel", "identifier": [{ "use": "official", "system": "urn:UMOID:", "value": "Fragebogen COMPASS Beispiel A" }], "version": "1.2", "title": "Fragebogen COMPASS Beispiel A", "status": "draft", "subjectType": [ "Patient" ], "date": "2021-01-25", "publisher": "IBM", "purpose": "Abbildung der aktuell in der von IBM entwickelten App unterstützten FHIR Funktionalitäten - A", "item": [{ "linkId": "1", "text": "Fragegruppe 1", "type": "group", "required": true, "item": [{ "linkId": "1.1", "text": "Das ist eine Freitextabfrage", "type": "string", "required": true }, { "linkId": "1.2", "text": "Das ist eine Datumsabfrage", "type": "date", "required": true }, { "linkId": "1.3", "text": "Das ist eine Dezimalzahlenabfrage", "type": "decimal", "required": true }, { "linkId": "1.4", "text": "Das ist eine Ganzzahlenabfrage", "type": "integer", "required": true }, { "linkId": "1.5", "text": "Das ist eine boolsche Abfrage", "type": "boolean", "required": true }, { "linkId": "1.6", "text": "Das ist eine informative Anzeige ohne Abfrage", "type": "display", "required": true }, { "linkId": "1.7", "text": "Das ist eine Slider-Abfrage", "type": "integer", "extension": [{ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [{ "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "slider" }] } }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-lowRangeLabel", "valueString": "Niedrig" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-highRangeLabel", "valueString": "Hoch" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/minValue", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/maxValue", "valueInteger": 10 } ], "required": true }, { "linkId": "1.8", "text": "Das ist eine optionale Frage", "type": "string", "required": false }, { "linkId": "1.9", "text": "Das ist eine Multiple-Choice-Abfrage", "type": "open-choice", "required": true, "answerOption": [{ "valueString": "Option A" }, { "valueString": "Option B" }, { "valueString": "Option C" } ] }, { "linkId": "1.10", "text": "Das ist eine alternative Art eine Multiple-Choice-Abfrage abzubilden", "type": "group", "required": true, "item": [{ "linkId": "1.10.1", "text": "Option A", "type": "boolean", "required": true }, { "linkId": "1.10.2", "text": "Option B", "type": "boolean", "required": true }, { "linkId": "1.10.3", "text": "Option C", "type": "boolean", "required": true } ] }, { "linkId": "1.11", "text": "Das ist eine Single-Choice-Abfrage", "type": "choice", "required": true, "answerOption": [{ "valueString": "Option A" }, { "valueString": "Option B" }, { "valueString": "Option C" } ] }, { "linkId": "1.12", "text": "Diese Frage wird nur angezeigt, wenn 1.11 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.11", "operator": "=", "answerString": "Option A" }] }, { "linkId": "1.13", "text": "Diese Frage wird nur angezeigt, wenn 1.11 oder 1.10.1 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.10.1", "operator": "=", "answerBoolean": true }, { "question": "1.11", "operator": "=", "answerString": "Option A" }], "enableBehavior": "any" }, { "linkId": "1.14", "text": "Diese Frage wird nur angezeigt, wenn 1.11 und 1.10.1 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.10.1", "operator": "=", "answerBoolean": true }, { "question": "1.11", "operator": "=", "answerString": "Option A" }], "enableBehavior": "all" }, { "linkId": "1.15", "text": "Bedingte Abfrage mit answerDecimal", "type": "group", "required": true, "item": [{ "linkId": "1.15.1", "text": "Abfrage Dezimalzahl (erwartet = 1.5)", "type": "decimal", "required": true }, { "linkId": "1.15.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.15.1", "operator": "=", "answerDecimal": 1.5 }] } ] }, { "linkId": "1.16", "text": "Bedingte Abfrage mit answerInteger", "type": "group", "required": true, "item": [{ "linkId": "1.16.1", "text": "Abfrage Ganzzahl (erwartet = 1)", "type": "integer", "required": true }, { "linkId": "1.16.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.16.1", "operator": "=", "answerInteger": 1 }] } ] }, { "linkId": "1.17", "text": "Bedingte Abfrage mit answerDate", "type": "group", "required": true, "item": [{ "linkId": "1.17.1", "text": "Abfrage Datum (erwartet = 01.01.2021)", "type": "date", "required": true }, { "linkId": "1.17.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.17.1", "operator": "=", "answerDate": "2021-01-01" }] } ] }, { "linkId": "1.18", "text": "Das ist eine Frage mit Definition", "type": "string", "required": true, "definition": "http://loinc.org/example#uri" }, { "linkId": "1.19", "text": "Das ist eine Frage mit max. Eingabelänge von 10 Zeichen", "type": "string", "required": true, "maxLength": 10 } ] }, { "linkId": "2", "text": "Fragegruppe 2", "type": "group", "required": true, "item": [{ "linkId": "2.1", "text": "Untergruppe 1", "type": "group", "required": true, "item": [{ "linkId": "2.1.1", "text": "Untergruppe 2", "type": "group", "required": true, "item": [{ "linkId": "2.1.1.1", "text": "Frage der Untergruppe 2", "type": "string", "required": true }, { "linkId": "2.1.1.2", "text": "Untergruppe 3", "type": "group", "required": true, "item": [{ "linkId": "2.1.1.2.1", "text": "Frage 1 der Untergruppe 3", "type": "string", "required": true }, { "linkId": "2.1.1.2.2", "text": "Frage 2 der Untergruppe 3", "type": "string", "required": true } ] } ] }, { "linkId": "2.1.2", "text": "Frage der Untergruppe 1", "type": "boolean", "required": true } ] }] }] }') ,('fedaf08b-aae2-4d9b-8306-8a3de02d2f74','{ "resourceType": "Questionnaire", "url": "http://hl7.org/fhir/Questionnaire/Fragebogen_COMPASS_Beispiel", "identifier": [{ "use": "official", "system": "urn:UMOID:", "value": "Fragebogen COMPASS Beispiel B" }], "version": "1.2", "title": "Fragebogen COMPASS Beispiel B", "status": "draft", "subjectType": [ "Patient" ], "date": "2021-01-25", "publisher": "IBM", "purpose": "Abbildung der aktuell in der von IBM entwickelten App unterstützten FHIR Funktionalitäten - B", "item": [{ "linkId": "1", "text": "Fragegruppe 1", "type": "group", "required": true, "item": [{ "linkId": "1.1", "text": "Das ist eine Freitextabfrage", "type": "string", "required": true }, { "linkId": "1.2", "text": "Das ist eine Datumsabfrage", "type": "date", "required": true }, { "linkId": "1.3", "text": "Das ist eine Dezimalzahlenabfrage", "type": "decimal", "required": true }, { "linkId": "1.4", "text": "Das ist eine Ganzzahlenabfrage", "type": "integer", "required": true }, { "linkId": "1.5", "text": "Das ist eine boolsche Abfrage", "type": "boolean", "required": true }, { "linkId": "1.6", "text": "Das ist eine informative Anzeige ohne Abfrage", "type": "display", "required": true }, { "linkId": "1.7", "text": "Das ist eine Slider-Abfrage", "type": "integer", "extension": [{ "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [{ "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "slider" }] } }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-lowRangeLabel", "valueString": "Niedrig" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-highRangeLabel", "valueString": "Hoch" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/minValue", "valueInteger": 0 }, { "url": "http://hl7.org/fhir/StructureDefinition/maxValue", "valueInteger": 10 } ], "required": true }, { "linkId": "1.8", "text": "Das ist eine optionale Frage", "type": "string", "required": false }, { "linkId": "1.9", "text": "Das ist eine Multiple-Choice-Abfrage", "type": "open-choice", "required": true, "answerOption": [{ "valueString": "Option A" }, { "valueString": "Option B" }, { "valueString": "Option C" } ] }, { "linkId": "1.10", "text": "Das ist eine alternative Art eine Multiple-Choice-Abfrage abzubilden", "type": "group", "required": true, "item": [{ "linkId": "1.10.1", "text": "Option A", "type": "boolean", "required": true }, { "linkId": "1.10.2", "text": "Option B", "type": "boolean", "required": true }, { "linkId": "1.10.3", "text": "Option C", "type": "boolean", "required": true } ] }, { "linkId": "1.11", "text": "Das ist eine Single-Choice-Abfrage", "type": "choice", "required": true, "answerOption": [{ "valueString": "Option A" }, { "valueString": "Option B" }, { "valueString": "Option C" } ] }, { "linkId": "1.12", "text": "Diese Frage wird nur angezeigt, wenn 1.11 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.11", "operator": "=", "answerString": "Option A" }] }, { "linkId": "1.13", "text": "Diese Frage wird nur angezeigt, wenn 1.11 oder 1.10.1 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.10.1", "operator": "=", "answerBoolean": true }, { "question": "1.11", "operator": "=", "answerString": "Option A" }], "enableBehavior": "any" }, { "linkId": "1.14", "text": "Diese Frage wird nur angezeigt, wenn 1.11 und 1.10.1 mit \"Option A\" beantwortet wurde", "type": "string", "required": true, "enableWhen": [{ "question": "1.10.1", "operator": "=", "answerBoolean": true }, { "question": "1.11", "operator": "=", "answerString": "Option A" }], "enableBehavior": "all" }, { "linkId": "1.15", "text": "Bedingte Abfrage mit answerDecimal", "type": "group", "required": true, "item": [{ "linkId": "1.15.1", "text": "Abfrage Dezimalzahl (erwartet = 1.5)", "type": "decimal", "required": true }, { "linkId": "1.15.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.15.1", "operator": "=", "answerDecimal": 1.5 }] } ] }, { "linkId": "1.16", "text": "Bedingte Abfrage mit answerInteger", "type": "group", "required": true, "item": [{ "linkId": "1.16.1", "text": "Abfrage Ganzzahl (erwartet = 1)", "type": "integer", "required": true }, { "linkId": "1.16.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.16.1", "operator": "=", "answerInteger": 1 }] } ] }, { "linkId": "1.17", "text": "Bedingte Abfrage mit answerDate", "type": "group", "required": true, "item": [{ "linkId": "1.17.1", "text": "Abfrage Datum (erwartet = 01.01.2021)", "type": "date", "required": true }, { "linkId": "1.17.2", "text": "Diese Frage wird nur bei erwarteter Eingabe angezeigt", "type": "string", "required": true, "enableWhen": [{ "question": "1.17.1", "operator": "=", "answerDate": "2021-01-01" }] } ] }, { "linkId": "1.18", "text": "Das ist eine Frage mit Definition", "type": "string", "required": true, "definition": "http://loinc.org/example#uri" }, { "linkId": "1.19", "text": "Das ist eine Frage mit max. Eingabelänge von 10 Zeichen", "type": "string", "required": true, "maxLength": 10 } ] }, { "linkId": "2", "text": "Fragegruppe 2", "type": "group", "required": true, "item": [{ "linkId": "2.1", "text": "Untergruppe 1", "type": "group", "required": true, "item": [{ "linkId": "2.1.1", "text": "Untergruppe 2", "type": "group", "required": true, "item": [{ "linkId": "2.1.1.1", "text": "Frage der Untergruppe 2", "type": "string", "required": true }, { "linkId": "2.1.1.2", "text": "Untergruppe 3", "type": "group", "required": true, "item": [{ "linkId": "2.1.1.2.1", "text": "Frage 1 der Untergruppe 3", "type": "string", "required": true }, { "linkId": "2.1.1.2.2", "text": "Frage 2 der Untergruppe 3", "type": "string", "required": true } ] } ] }, { "linkId": "2.1.2", "text": "Frage der Untergruppe 1", "type": "boolean", "required": true } ] }] }] }') ;
<reponame>gvgreat/hrillekha<filename>db-scripts/retail/Item.sql<gh_stars>0 /*ITEM*/ insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHMPRFSXL/42_599','FSHMPRFSXL/42_599','0000',1,1,12,1,'INR',312,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHMPRHSXL/42_499','FSHMPRHSXL/42_499','0000',1,1,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHMPRHSL/40_599','FSHMPRHSL/40_599','0000',1,1,12,1,'INR',401.33,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHMPRFSL/40_599','FSHMPRFSL/40_599','0000',1,1,12,1,'INR',401.33,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHMPRFSM/38_599','FSHMPRFSM/38_599','0000',1,1,12,1,'INR',401.33,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHMPRFSM/38_599','FSHMPRFSM/38_599','0000',1,1,12,1,'INR',401.33,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHMPRFSS/36_499','FSHMPRFSS/36_499','0000',1,1,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSM/38_649','FSHCOLFSM/38_649','0000',1,2,12,1,'INR',434.83,649,649,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSM/38_699','FSHCOLFSM/38_699','0000',1,2,12,1,'INR',468.33,699,699,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSM/38_749','FSHCOLFSM/38_749','0000',1,2,12,1,'INR',501.83,749,749,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLHSM/38_649','FSHCOLHSM/38_649','0000',1,2,12,1,'INR',434.83,649,649,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLHSM/38_699','FSHCOLHSM/38_699','0000',1,2,12,1,'INR',468.33,699,699,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSL/40_649','FSHCOLFSL/40_649','0000',1,2,12,1,'INR',434.83,649,649,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSL/40_699','FSHCOLFSL/40_699','0000',1,2,12,1,'INR',468.33,699,699,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSL/40_749','FSHCOLFSL/40_749','0000',1,2,12,1,'INR',501.83,749,749,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLHSL/40_649','FSHCOLHSL/40_649','0000',1,2,12,1,'INR',434.83,649,649,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSXL/42_649','FSHCOLFSXL/42_649','0000',1,2,12,1,'INR',434.83,649,649,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSXL/42_699','FSHCOLFSXL/42_699','0000',1,2,12,1,'INR',468.33,699,699,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLFSXL/42_749','FSHCOLFSXL/42_749','0000',1,2,12,1,'INR',501.83,749,749,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLHSXL/42_649','FSHCOLHSXL/42_649','0000',1,2,12,1,'INR',434.83,649,649,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FSHCOLHSXL/42_699','FSHCOLHSXL/42_699','0000',1,2,12,1,'INR',468.33,699,699,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCFSS/36_499','WSHROCFSS/36_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCFSM/38_499','WSHROCFSM/38_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCFSL/40_499','WSHROCFSL/40_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCFSXL/42_499','WSHROCFSXL/42_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCHSS/36_499','WSHROCHSS/36_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCHSM/38_499','WSHROCHSM/38_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCHSL/40_499','WSHROCHSL/40_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCHSXL/42_499','WSHROCHSXL/42_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHROCHSXXL/44_499','WSHROCHSXXL/44_499','0000',5,7,12,1,'INR',334.33,499,499,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJFSS/36_399','WSHWRJFSS/36_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJFSM/38_399','WSHWRJFSM/38_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJFSL/40_399','WSHWRJFSL/40_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJFSXL/42_399','WSHWRJFSXL/42_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJHSS/36_399','WSHWRJHSS/36_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJHSM/38_399','WSHWRJHSM/38_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJHSL/40_399','WSHWRJHSL/40_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('WSHWRJHSXL/42_399','WSHWRJHSXL/42_399','0000',5,9,12,1,'INR',267.33,399,399,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('SFSFNFFSL/40_599','SFSFNFFSL/40_599','0000',4,3,12,1,'INR',405,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('SFSFNFFSM/38_599','SFSFNFFSM/38_599','0000',4,3,12,1,'INR',405,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('SFSFNFFSS/36_599','SFSFNFFSS/36_599','0000',4,3,12,1,'INR',405,599,599,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPACANCF40_799','JPACANCF40_799','0000',6,6,12,1,'INR',595,799,799,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPAWWNSF28_599','JPAWWNSF28_599','16',6,12,12,1,'INR',385,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPAWWNSF30_599','JPAWWNSF30_599','16',6,12,12,1,'INR',385,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPAWWNSF32_599','JPAWWNSF32_599','16',6,12,12,1,'INR',385,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPAWWNSF34_599','JPAWWNSF34_599','16',6,12,12,1,'INR',385,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPAWWNSF36_599','JPAWWNSF36_599','16',6,12,12,1,'INR',385,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPAWWNCF38_649','JPAWWNCF38_649','16',6,12,12,1,'INR',385,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPAWWNCF40_649','JPAWWNCF40_649','16',6,12,12,1,'INR',385,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF28_649','JPADGTSF28_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF30_649','JPADGTSF30_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF32_649','JPADGTSF32_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF34_649','JPADGTSF34_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF36_649','JPADGTSF36_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTCF28_649','JPADGTCF28_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTCF30_649','JPADGTCF30_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTCF32_649','JPADGTCF32_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTCF34_649','JPADGTCF34_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTCF36_649','JPADGTCF36_649','1022',6,13,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPALGNSF28_649','JPALGNSF28_649','1463',6,14,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPALGNSF30_649','JPALGNSF30_649','1436',6,14,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPALGNSF32_649','JPALGNSF32_649','1436',6,14,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPALGNSF34_649','JPALGNSF34_649','1436',6,14,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPALGNSF36_649','JPALGNSF36_649','1436',6,14,12,1,'INR',420,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF28_649','JPADGTSF28_649','1005',6,13,12,1,'INR',410,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF30_649','JPADGTSF30_649','1005',6,13,12,1,'INR',410,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF32_649','JPADGTSF32_649','1005',6,13,12,1,'INR',410,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF34_649','JPADGTSF34_649','1005',6,13,12,1,'INR',410,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('JPADGTSF36_649','JPADGTSF36_649','1005',6,13,12,1,'INR',410,649,649,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FPALTLFS30_799','FPALTLFS30_799','0000',6,17,12,1,'INR',470,799,799,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FPALTLFS32_799','FPALTLFS32_799','0000',6,17,12,1,'INR',470,799,799,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FPALTLFS34_799','FPALTLFS34_799','0000',6,17,12,1,'INR',470,799,799,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FPALTLFS36_799','FPALTLFS36_799','0000',6,17,12,1,'INR',470,799,799,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FPALTLFS38_799','FPALTLFS38_799','0000',6,17,12,1,'INR',470,799,799,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('FPALTLFS40_799','FPALTLFS40_799','0000',6,17,12,1,'INR',470,799,799,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFS/36_499','CSHJENSFS/36_499','3008',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFM/38_499','CSHJENSFM/38_499','3008',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFL/40_499','CSHJENSFL/40_499','3008',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFS/36_499','CSHJENSFS/36_499','3009',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFM/38_499','CSHJENSFM/38_499','3009',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFL/40_499','CSHJENSFL/40_499','3009',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFS/36_499','CSHJENSFS/36_499','3010',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFM/38_499','CSHJENSFM/38_499','3010',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFL/40_499','CSHJENSFL/40_499','3010',2,19,12,1,'INR',310,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFS/36_499','CSHJENSFS/36_499','7007',2,19,12,1,'INR',360,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFM/38_499','CSHJENSFM/38_499','7007',2,19,12,1,'INR',360,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFL/40_499','CSHJENSFL/40_499','7007',2,19,12,1,'INR',360,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFS/36_549','CSHJENSFS/36_549','7008',2,19,12,1,'INR',360,549,549,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFM/38_549','CSHJENSFM/38_549','7008',2,19,12,1,'INR',360,549,549,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFL/40_549','CSHJENSFL/40_549','7008',2,19,12,1,'INR',360,549,549,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFS/36_599','CSHJENSFS/36_599','Plain_6000',2,19,12,1,'INR',370,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFM/38_599','CSHJENSFM/38_599','Plain_6000',2,19,12,1,'INR',370,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFL/40_599','CSHJENSFL/40_599','Plain_6000',2,19,12,1,'INR',370,599,599,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFS/36_499','CSHJENSFS/36_499','Plain_7002',2,19,12,1,'INR',325,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFM/38_499','CSHJENSFM/38_499','Plain_7002',2,19,12,1,'INR',325,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('CSHJENSFL/40_499','CSHJENSFL/40_499','Plain_7002',2,19,12,1,'INR',325,499,499,1,0); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXS_199','BRIDIXS_199','UN_153_2P',9,10,11,2,'INR',140.39,199,99.5,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXM_199','BRIDIXM_199','UN_153_2P',9,10,11,2,'INR',140.39,199,99.5,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXL_199','BRIDIXL_199','UN_153_2P',9,10,11,2,'INR',140.39,199,99.5,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXXL_219','BRIDIXXL_219','UN_153_2P',9,10,11,2,'INR',154.5,219,109.5,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXS_125','BRIDIXS_125','UN_155',9,10,12,1,'INR',88.18,125,125,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXM_125','BRIDIXM_125','UN_155',9,10,12,1,'INR',88.18,125,125,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXL_125','BRIDIXL_125','UN_155',9,10,12,1,'INR',88.18,125,125,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXXL_0','BRIDIXXL_0','UN_155',9,10,12,1,'INR',0,0,0,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXS_150','BRIDIXS_150','UN_158',9,10,11,2,'INR',105.82,150,75,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXM_150','BRIDIXM_150','UN_158',9,10,11,2,'INR',105.82,150,75,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXL_150','BRIDIXL_150','UN_158',9,10,11,2,'INR',105.82,150,75,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('BRIDIXXL_160','BRIDIXXL_160','UN_158',9,10,11,2,'INR',112.87,160,80,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('VESDIXS_220','VESDIXS_220','UN_100_2P',10,10,11,2,'INR',155.2,220,110,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('VESDIXM_220','VESDIXM_220','UN_100_2P',10,10,11,2,'INR',155.2,220,110,1,5); insert into item(item_code, item_name, model_number, item_category, item_brand, uom, pieces_per_uom, currency, cost_price, uom_price, item_price, status, vat) values ('VESDIXL_220','VESDIXL_220','UN_100_2P',10,10,11,2,'INR',155.2,220,110,1,5);
-- MySQL Administrator dump 1.4 -- -- ------------------------------------------------------ -- Server version 5.7.11-log /*!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 */; /*!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' */; -- -- Create schema ssmrl -- CREATE DATABASE IF NOT EXISTS ssmrl; USE ssmrl; -- -- Definition of table `admin` -- DROP TABLE IF EXISTS `admin`; CREATE TABLE `admin` ( `id` varchar(10) NOT NULL, `password` varchar(45) NOT NULL DEFAULT '<PASSWORD>', `authoid` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '权限等级', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `admin` -- /*!40000 ALTER TABLE `admin` DISABLE KEYS */; INSERT INTO `admin` (`id`,`password`,`authoid`) VALUES ('<PASSWORD>','<PASSWORD>',1), ('1234562','<PASSWORD>',1), ('1234563','<PASSWORD>',1), ('1234564','<PASSWORD>be56e057f20f883e',1), ('1234565','e10adc3949ba59abbe56e057f20f883e',1), ('1234566','e10adc3949ba59abbe56e057f20f883e',1), ('1234567','e10adc3949ba59abbe56e057f20f883e',1), ('1234568','e10adc3949ba59abbe56e057f20f883e',1), ('admin','<PASSWORD>',2); /*!40000 ALTER TABLE `admin` ENABLE KEYS */; -- -- Definition of table `authority` -- DROP TABLE IF EXISTS `authority`; CREATE TABLE `authority` ( `authoid` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '权限等级', `authoName` varchar(15) NOT NULL COMMENT '权限名称', PRIMARY KEY (`authoid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `authority` -- /*!40000 ALTER TABLE `authority` DISABLE KEYS */; INSERT INTO `authority` (`authoid`,`authoName`) VALUES (1,'普通用户'), (2,'超级管理员'); /*!40000 ALTER TABLE `authority` ENABLE KEYS */; -- -- Definition of table `comment` -- DROP TABLE IF EXISTS `comment`; CREATE TABLE `comment` ( `commentID` varchar(45) NOT NULL, `discussID` varchar(45) NOT NULL, `id` varchar(10) NOT NULL, `commentContent` text NOT NULL, `commentTime` datetime NOT NULL, PRIMARY KEY (`commentID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='评论表'; -- -- Dumping data for table `comment` -- /*!40000 ALTER TABLE `comment` DISABLE KEYS */; INSERT INTO `comment` (`commentID`,`discussID`,`id`,`commentContent`,`commentTime`) VALUES ('100','5e8d74f5fbab43eab3cdb784529106c6','1234562','wwwwwww','2001-07-12 00:00:00'), ('3a4750a6cb834f048f90963124e56e5b','5e8d74f5fbab43eab3cdb784529106c6','admin','1000','2020-12-30 23:19:40'), ('755587cb2a1a4470a7267e9055a95c5c','5e8d74f5fbab43eab3cdb784529106c6','admin','000','2020-12-30 23:22:48'), ('e1635c2200e84f37aaba02fdbf3b037b','5e8d74f5fbab43eab3cdb784529106c6','admin','20201230','2020-12-30 23:18:38'), ('e5274b1b3ad64191957d75f4b5196d64','5e8d74f5fbab43eab3cdb784529106c6','admin','111','2021-01-03 15:53:37'); /*!40000 ALTER TABLE `comment` ENABLE KEYS */; -- -- Definition of table `dept` -- DROP TABLE IF EXISTS `dept`; CREATE TABLE `dept` ( `deptid` varchar(3) NOT NULL, `deptName` varchar(12) NOT NULL, PRIMARY KEY (`deptid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `dept` -- /*!40000 ALTER TABLE `dept` DISABLE KEYS */; INSERT INTO `dept` (`deptid`,`deptName`) VALUES ('001','Java开发部'), ('002','算法部'), ('003','运营部'); /*!40000 ALTER TABLE `dept` ENABLE KEYS */; -- -- Definition of table `discuss` -- DROP TABLE IF EXISTS `discuss`; CREATE TABLE `discuss` ( `discussid` varchar(45) NOT NULL, `discusscontent` text NOT NULL, `discusstime` datetime NOT NULL, `id` varchar(10) NOT NULL, `discussTitle` text, PRIMARY KEY (`discussid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='讨论表'; -- -- Dumping data for table `discuss` -- /*!40000 ALTER TABLE `discuss` DISABLE KEYS */; INSERT INTO `discuss` (`discussid`,`discusscontent`,`discusstime`,`id`,`discussTitle`) VALUES ('5e8d74f5fbab43eab3cdb784529106c6','我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事我今天。。。今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n今天做的一件事今天做的一件事今天做的一件事\r\n。。。\r\n今天做的一件事今天做的一件事','2020-12-28 22:09:57','admin','今天做的一件事'), ('6a4e9315a9f742a1973cc97975b35558','3333','2020-12-28 22:31:46','1234561','我今天在打酱油'), ('b299a835c5cf4784aa6cc6d794aaca3a','wpoopop\r\nssdskod\r\nsslapslapc','2020-12-29 22:47:46','admin','ppp'), ('b4e8edde97564ac2921d1cc7994e7023','9991000','2020-12-29 12:25:27','admin','999'); /*!40000 ALTER TABLE `discuss` ENABLE KEYS */; -- -- Definition of table `emp` -- DROP TABLE IF EXISTS `emp`; CREATE TABLE `emp` ( `empid` int(5) unsigned NOT NULL AUTO_INCREMENT, `empName` varchar(15) NOT NULL, `deptid` varchar(3) NOT NULL, `id` varchar(10) NOT NULL COMMENT '帐号', PRIMARY KEY (`empid`), UNIQUE KEY `Index_2` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; -- -- Dumping data for table `emp` -- /*!40000 ALTER TABLE `emp` DISABLE KEYS */; INSERT INTO `emp` (`empid`,`empName`,`deptid`,`id`) VALUES (1,'张三','002','1234561'), (2,'李四','003','1234562'), (3,'王五','001','1234563'), (4,'AA','001','1234564'), (5,'bb','001','1234565'), (6,'cc','002','1234566'), (7,'9dd','003','1234567'), (8,'9dd','001','1234568'); /*!40000 ALTER TABLE `emp` ENABLE KEYS */; -- -- Definition of table `logger` -- DROP TABLE IF EXISTS `logger`; CREATE TABLE `logger` ( `logid` varchar(45) NOT NULL COMMENT '日志编号', `id` varchar(10) NOT NULL COMMENT '用户id', `type` varchar(20) NOT NULL COMMENT '操作类型', `operation` varchar(45) NOT NULL COMMENT '操作内容', `date` datetime NOT NULL COMMENT '操作日期', `remark` varchar(45) DEFAULT NULL COMMENT '备注', PRIMARY KEY (`logid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `logger` -- /*!40000 ALTER TABLE `logger` DISABLE KEYS */; INSERT INTO `logger` (`logid`,`id`,`type`,`operation`,`date`,`remark`) VALUES ('00bcac992e7b48a6b68489891eaa4e77','admin','抽奖','/luckdraw','2020-12-24 22:09:24',''), ('02038b98b9254c77bbbd022042af9d0b','admin','修改部门','/changeDept','2020-12-16 17:58:40','oppo'), ('089d45391554416b972c47f206bd12cb','admin','修改管理员信息','/changgeAdmin','2020-12-15 22:57:32','22'), ('0b0dc60475ef4a51a55239729e74b66f','admin','删除帐号、员工信息','/delAdmin/1234561','2020-12-18 18:03:47',''), ('12eb63cbbe9f4acda784ef790e39be2a','admin','抽奖','/luckdraw','2020-12-24 21:47:00',''), ('15569f7ecc7846d5b4b36aacabc09a5e','admin','发布签到','/publish','2020-12-21 14:25:44',''), ('16aece82d7c848e2ba627330cebd846f','admin','添加管理员','/AddAdmin','2020-12-16 20:27:34','33'), ('17d7483758ad4bf98f279199c575b4f3','admin','添加员工、开通员工帐号','/AddEmp','2020-12-19 17:57:13',''), ('1b8841ca16484a15b352e9fd93cbf4e0','admin','添加管理员','/AddAdmin','2020-12-15 22:50:26','55'), ('213cc5c7148f465f8a7cfa66057ec8ea','admin','抽奖','/luckdraw','2020-12-24 21:57:06',''), ('21f44fa80fba4636bee0cbd432d7a0e1','admin','修改部门','/changeDept','2020-12-16 18:16:34',''), ('237f31df98a84fbcb156f535febc6962','admin','添加员工、开通员工帐号','/AddEmp','2020-12-18 18:09:25',''), ('2477d63e61da46f8b30d226c84bb9e39','admin','抽奖','/luckdraw','2020-12-24 13:09:10',''), ('24a65c9c395a431f9e66f243bc0f7ced','admin','修改员工信息','/changeEmp','2020-12-16 20:57:55',''), ('2ceea8b2289a40469ad47f4be002a290','admin','修改员工信息','/changeEmp','2020-12-14 18:45:02','two'), ('2feb1c65371a421faf0b9391f5da065d','admin','添加部门','/addDept','2020-12-16 17:43:35','w99'), ('303aa5895c4848fab617ef0add79be95','admin','删除管理员','/delAdmin/my','2020-12-15 22:35:46',''), ('30e9feb24e614d8b8f4ab0f62b6d1a16','admin','抽奖','/luckdraw','2020-12-24 21:57:52',''), ('378a2960f14249cd9ef8f2dee2b965c4','admin','添加员工','/AddEmp','2020-12-16 20:31:07',''), ('3b9b31cd95524015ab1d134847f37a7b','admin','发布签到','/publish','2020-12-21 14:33:29',''), ('409715ce8beb47cc838de288a4da6d56','admin','添加部门','/addDept','2020-12-16 20:28:19',''), ('428f21cb12944d9b894bb3106c780ef6','admin','删除员工','/delEmp/undefined','2020-12-16 20:58:26',''), ('43bd3d0260754f4bbf61f810d2038535','admin','抽奖','/luckdraw','2020-12-23 23:10:40',''), ('44509445d4074baa9f65b83cd175e7f2','admin','抽奖','/luckdraw','2020-12-23 23:08:52',''), ('48363e3700e04954a0322e38217fdbf8','admin','修改部门','/changeDept','2020-12-16 19:22:28','55one'), ('4c0e2ad8998b4e09a98e13f444d023dd','admin','抽奖','/luckdraw','2020-12-24 22:09:15',''), ('4c59fef8aab642a4aa83177a74d43306','admin','修改部门','/changeDept','2020-12-16 18:09:10',''), ('4d7413eeafac4000b48f731ef07b13a2','admin','发布签到','/publish','2020-12-21 13:17:09',''), ('5889e7d4a31247909bf885e025a1036f','admin','删除帐号、员工信息','/delAdmin/123','2020-12-18 18:10:44',''), ('5c1f5aec9eaa477eb745ebe9bb1540a0','admin','修改部门','/changeDept','2020-12-16 18:13:44',''), ('601d77e942cf40308388282bf3cef976','admin','添加员工、开通员工帐号','/AddEmp','2020-12-25 18:19:41',''), ('602666fca9ed4c57a876b0ade34c746a','admin','删除部门','/delDept/222','2020-12-16 19:35:40',''), ('6058980216ed4324a15959238bb4f0f9','admin','添加管理员','/AddAdmin','2020-12-15 22:35:34',''), ('6303c1e4bbe941e6836aaf357096933f','admin','修改管理员信息','/changgeAdmin','2020-12-15 22:55:03',''), ('664f413ec2774888b5e96181d0b81596','admin','添加员工、开通员工帐号','/AddEmp','2020-12-18 18:06:40',''), ('669042adf0954db7bd880dbf775c877b','admin','添加员工、开通员工帐号','/AddEmp','2020-12-18 21:42:36',''), ('6eb03fa07872448c963e5df286d9bd1c','admin','添加员工','/AddEmp','2020-12-16 20:08:01',''), ('716370a35b2846ebb4101944a2090c64','admin','添加员工、开通员工帐号','/AddEmp','2020-12-18 18:03:27',''), ('76a104de1cde46668f4c58ad9b84a887','admin','删除管理员','/delAdmin/330','2020-12-15 22:49:11',''), ('77cd2e07d79e4752a6da37fa5ea62fd1','admin','修改部门','/changeDept','2020-12-16 17:43:48',''), ('787de0e4f25946af92240dbe73158831','admin','删除管理员','/delAdmin/9333','2020-12-16 19:54:41',''), ('7b3deb58c9a04fabbf560ac978aefb42','admin','添加部门','/addDept','2020-12-16 17:38:38',''), ('7c982756f394405997ac15a847f841ba','admin','删除部门','/delDept/222','2020-12-15 14:38:12',''), ('7d10361192b84f6d9e9ef1ff29e5bb3c','admin','修改管理员信息','/changgeAdmin','2020-12-16 19:49:23',''), ('7fa6635e5c754025a5af408397aa2cbc','admin','删除管理员','/delAdmin/220','2020-12-15 22:58:08',''), ('801941b472c040f693a4b32e7cfefe52','admin','添加员工、开通员工帐号','/AddEmp','2020-12-19 17:56:53',''), ('8207762f9db542a192c0ef7c0236733b','admin','添加管理员','/AddAdmin','2020-12-15 22:48:50',''), ('831d5322ba8c4a198d0657b3ae798b7a','admin','修改管理员信息','/changgeAdmin','2020-12-15 22:58:04',''), ('8cf9ee3b627942e08c973a4ea636ab27','admin','添加管理员','/AddAdmin','2020-12-15 22:57:27',''), ('8d03028fc9fc458ca458e2aeab6c2fbe','admin','修改部门','/changeDept','2020-12-16 20:28:25',''), ('908bd3d48e34497b9482c6e4c3d068aa','admin','抽奖','/luckdraw','2020-12-24 21:49:52',''), ('923774ba06174d87a898b74966fd7bb2','admin','删除管理员','/delAdmin/99','2020-12-16 20:27:48',''), ('9266958ad26a4437b74f0729feb5bacf','admin','发布签到','/publish','2020-12-20 22:12:30',''), ('9a26a63edf8d494cb0f75437f7ec0c1b','admin','删除管理员','/delAdmin/220','2020-12-15 22:50:38',''), ('9d59058a87fb469dbc7934682cee2941','admin','添加部门','/addDept','2020-12-15 14:38:09',''), ('a18afa4152ea4294a5e0ae85325b067f','admin','修改管理员信息','/changgeAdmin','2020-12-16 20:27:41',''), ('a27b74318a5a477d9a96ced321a0d6c1','admin','抽奖','/luckdraw','2020-12-24 13:08:50',''), ('ace2e0f6df0a445db15b73caf9ef587c','admin','修改部门','/changeDept','2020-12-16 18:31:45',''), ('b144775e9fb94e828c1ba24814af62d3','admin','修改部门','/changeDept','2020-12-16 18:02:56',''), ('b6fc7c7a1ccd43af976b02de109affce','admin','删除员工、员工帐号','/delEmp/12','2020-12-18 18:09:58',''), ('b8aa2314ce3a4d02ab25d3db3178a7c8','admin','发布签到','/publish','2020-12-21 14:27:51',''), ('b8e100492d1b4452a0ce1882f1387d1f','admin','删除管理员','/delAdmin/922','2020-12-16 19:49:27',''), ('c1acf2f3a5a049a28556009e62d6bcde','admin','添加员工、开通员工帐号','/AddEmp','2020-12-25 18:15:30',''), ('c272a96badc04b69bff0a8b67e121974','admin','发布签到','/publish','2020-12-21 14:43:55',''), ('c4514d8bd2d04359b38c2fe3afc311fe','admin','添加管理员','/AddAdmin','2020-12-16 19:49:13',''), ('c546abc6a976413786da15bac972d1e4','admin','修改管理员信息','/changgeAdmin','2020-12-15 22:48:58',''), ('c64493c819a044f797e71a22c9e7c3f5','admin','修改管理员信息','/changgeAdmin','2020-12-15 22:49:07',''), ('c964b905d1074fe98d1b2067d33247ae','admin','添加员工、开通员工帐号','/AddEmp','2020-12-18 21:42:21',''), ('ce944498e6cf47ba9e672154e003e265','admin','删除部门','/delDept/999','2020-12-16 17:38:42',''), ('d14bb42c501b4dae9263c5547edaa1c1','admin','删除员工','/delEmp/undefined','2020-12-16 20:58:17',''), ('d1aaf6e727c44343a6e7ea491fd375e5','admin','修改部门','/changeDept','2020-12-16 18:31:52',''), ('d8dc220b7d6b4752ab5afccf5db862c6','admin','抽奖','/luckdraw','2020-12-24 21:57:37',''), ('dce229bbcf224035ae1688b1ca49b60e','admin','添加员工、开通员工帐号','/AddEmp','2020-12-18 21:42:50',''), ('dfc4d4b18b284244adf8846b20452542','admin','抽奖','/luckdraw','2020-12-24 21:56:54',''), ('dfdf915ad194455abad0243c2f5baea7','admin','修改管理员信息','/changgeAdmin','2020-12-15 22:53:11',''), ('e073b6c23d05464399ae33d706461472','admin','删除帐号、员工信息','/delAdmin/1234561','2020-12-18 18:09:12',''), ('e62671ed760242f3a44cbf937ef74a6d','admin','删除部门','/delDept/222','2020-12-16 20:28:30',''), ('e6a3232a40ef4929a4ec08ae3b98da64','admin','修改部门','/changeDept','2020-12-16 18:02:05',''), ('e74f89c4f0b04ce7a515ae10740ae5d1','admin','删除管理员','/delAdmin/220','2020-12-15 22:53:16',''), ('e8357f33af9f48bdaa754762772782e8','admin','添加管理员','/AddAdmin','2020-12-15 22:54:53',''), ('ea887ae29505455e83d2da118f7023ca','admin','添加员工、开通员工帐号','/AddEmp','2020-12-19 17:56:48',''), ('eb6ecd61bace4ea09c1bac402df05871','admin','修改员工信息','/changeEmp','2020-12-14 18:44:58','two'), ('ecda048d811c4c889ebb780fe059ac57','admin','删除员工','/delEmp/15','2020-12-16 21:00:03',''), ('edf8de9108464c0eb366732126af5dbf','admin','添加员工、开通员工帐号','/AddEmp','2020-12-19 17:57:02',''), ('f382daa74f2f4e64bfdec3ff8d717af1','admin','修改管理员信息','/changgeAdmin','2020-12-15 22:50:33',''), ('f58a9aa04c1f46a3b4c22355ef37154c','admin','修改部门','/changeDept','2020-12-16 18:04:37',''), ('f79bf43fb9a148628d363251327369db','admin','添加管理员','/AddAdmin','2020-12-15 22:53:05',''), ('fc2d4dca786c486fabcf8e0232822cb0','admin','添加管理员','/AddAdmin','2020-12-16 19:54:31',''), ('ffaffcd275d0456db2fc804f2f487484','admin','删除管理员','/delAdmin/220','2020-12-15 22:55:07',''); /*!40000 ALTER TABLE `logger` ENABLE KEYS */; -- -- Definition of table `luckdraw` -- DROP TABLE IF EXISTS `luckdraw`; CREATE TABLE `luckdraw` ( `xuhao` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '序号', `empid` int(5) unsigned NOT NULL, `empName` varchar(15) NOT NULL, `deptid` varchar(3) NOT NULL, `draw` varchar(45) NOT NULL, `date` datetime NOT NULL COMMENT '中奖日期', PRIMARY KEY (`xuhao`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; -- -- Dumping data for table `luckdraw` -- /*!40000 ALTER TABLE `luckdraw` DISABLE KEYS */; INSERT INTO `luckdraw` (`xuhao`,`empid`,`empName`,`deptid`,`draw`,`date`) VALUES (5,2,'李四','003','iPhone12','2020-12-24 22:09:15'), (6,5,'bb','001','iPhone16','2020-12-24 22:09:24'); /*!40000 ALTER TABLE `luckdraw` ENABLE KEYS */; -- -- Definition of table `publish` -- DROP TABLE IF EXISTS `publish`; CREATE TABLE `publish` ( `sid` varchar(45) NOT NULL COMMENT '签到编号', `id` varchar(10) NOT NULL COMMENT '发布者id', `startTIme` datetime NOT NULL COMMENT '开始时间', `endTime` datetime NOT NULL COMMENT '结束时间', `deptName` varchar(12) NOT NULL COMMENT '签到部门', PRIMARY KEY (`sid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `publish` -- /*!40000 ALTER TABLE `publish` DISABLE KEYS */; INSERT INTO `publish` (`sid`,`id`,`startTIme`,`endTime`,`deptName`) VALUES ('22b2dc1077874435aae0cf83f4632c8b','admin','2020-12-21 13:17:09','2020-12-21 13:18:09','所有部门'), ('365fcd6e7ca943fe86a0ac7c1307198b','admin','2020-12-21 14:33:29','2020-12-21 14:36:29','Java开发部'), ('4cbfa59989b74e16b071bfae5b75c28a','admin','2020-12-21 14:43:55','2020-12-21 14:46:55','Java开发部'), ('880acb7c7faa456b9188ecce1f17a8ed','admin','2020-12-21 14:27:51','2020-12-21 14:30:51','所有部门'), ('ad61119140314a9fb11882320d960401','admin','2020-12-21 14:25:44','2020-12-21 14:26:44','所有部门'); /*!40000 ALTER TABLE `publish` ENABLE KEYS */; -- -- Definition of table `reply` -- DROP TABLE IF EXISTS `reply`; CREATE TABLE `reply` ( `replyid` varchar(45) NOT NULL, `commentID` varchar(45) NOT NULL, `replyContent` text NOT NULL, `replyTime` datetime NOT NULL, `rid` varchar(10) NOT NULL, `pid` varchar(10) NOT NULL COMMENT '评论者id', PRIMARY KEY (`replyid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='回复表'; -- -- Dumping data for table `reply` -- /*!40000 ALTER TABLE `reply` DISABLE KEYS */; INSERT INTO `reply` (`replyid`,`commentID`,`replyContent`,`replyTime`,`rid`,`pid`) VALUES ('2dddda81cbeb4bbbbacbe90494f21b0e','100','999999','2021-01-03 22:51:52','admin','1234562'), ('998','100','回复1','2001-02-02 00:00:00','1234565','1234562'), ('999','755587cb2a1a4470a7267e9055a95c5c','回复','2001-02-02 00:00:00','1234563','admin'), ('c50d572cc217408398af9ebd02f17228','3a4750a6cb834f048f90963124e56e5b','999','2021-01-03 22:51:18','admin','admin'), ('df5465fbbddb4078b6b5e8faabd37386','755587cb2a1a4470a7267e9055a95c5c','99999','2021-01-03 22:51:37','admin','admin'); /*!40000 ALTER TABLE `reply` ENABLE KEYS */; -- -- Definition of table `sign` -- DROP TABLE IF EXISTS `sign`; CREATE TABLE `sign` ( `num` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '没啥用', `sid` varchar(45) NOT NULL COMMENT '签到编号', `empid` int(5) unsigned NOT NULL COMMENT '员工编号', `endTime` datetime NOT NULL COMMENT '结束时间', `flag` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否签到', PRIMARY KEY (`num`) ) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8; -- -- Dumping data for table `sign` -- /*!40000 ALTER TABLE `sign` DISABLE KEYS */; INSERT INTO `sign` (`num`,`sid`,`empid`,`endTime`,`flag`) VALUES (22,'22b2dc1077874435aae0cf83f4632c8b',1,'2020-12-21 13:18:09',0), (23,'22b2dc1077874435aae0cf83f4632c8b',2,'2020-12-21 13:18:09',0), (24,'22b2dc1077874435aae0cf83f4632c8b',3,'2020-12-21 13:18:09',0), (25,'22b2dc1077874435aae0cf83f4632c8b',4,'2020-12-21 13:18:09',0), (26,'22b2dc1077874435aae0cf83f4632c8b',5,'2020-12-21 13:18:09',0), (27,'22b2dc1077874435aae0cf83f4632c8b',6,'2020-12-21 13:18:09',0), (28,'22b2dc1077874435aae0cf83f4632c8b',7,'2020-12-21 13:18:09',0), (29,'ad61119140314a9fb11882320d960401',1,'2020-12-21 14:26:44',0), (30,'ad61119140314a9fb11882320d960401',2,'2020-12-21 14:26:44',0), (31,'ad61119140314a9fb11882320d960401',3,'2020-12-21 14:26:44',0), (32,'ad61119140314a9fb11882320d960401',4,'2020-12-21 14:26:44',0), (33,'ad61119140314a9fb11882320d960401',5,'2020-12-21 14:26:44',0), (34,'ad61119140314a9fb11882320d960401',6,'2020-12-21 14:26:44',0), (35,'ad61119140314a9fb11882320d960401',7,'2020-12-21 14:26:44',0), (36,'880acb7c7faa456b9188ecce1f17a8ed',1,'2020-12-21 14:30:51',0), (37,'880acb7c7faa456b9188ecce1f17a8ed',2,'2020-12-21 14:30:51',0), (38,'880acb7c7faa456b9188ecce1f17a8ed',3,'2020-12-21 14:30:51',0), (39,'880acb7c7faa456b9188ecce1f17a8ed',4,'2020-12-21 14:30:51',0), (40,'880acb7c7faa456b9188ecce1f17a8ed',5,'2020-12-21 14:30:51',0), (41,'880acb7c7faa456b9188ecce1f17a8ed',6,'2020-12-21 14:30:51',0), (42,'880acb7c7faa456b9188ecce1f17a8ed',7,'2020-12-21 14:30:51',0), (43,'365fcd6e7ca943fe86a0ac7c1307198b',3,'2020-12-21 14:36:29',0), (44,'365fcd6e7ca943fe86a0ac7c1307198b',4,'2020-12-21 14:36:29',0), (45,'365fcd6e7ca943fe86a0ac7c1307198b',5,'2020-12-21 14:36:29',0), (46,'4cbfa59989b74e16b071bfae5b75c28a',3,'2020-12-21 14:46:55',1), (47,'4cbfa59989b74e16b071bfae5b75c28a',4,'2020-12-21 14:46:55',0), (48,'4cbfa59989b74e16b071bfae5b75c28a',5,'2020-12-21 14:46:55',0); /*!40000 ALTER TABLE `sign` ENABLE KEYS */; /*!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 */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
-- ============================================= -- Author: <NAME> -- Create date: 2020-02-13 -- Updates: -- -- Description: v0.15.6 Fix Code Lookup and Activity Code table column trailing spaces, and inconsistent Activity Code column values -- ============================================= USE HMR_DEV; -- uncomment appropriate instance --USE HMR_TST; --USE HMR_UAT; --USE HMR_PRD; GO /* Load user context variables. Redeclared for subsequent executions */ DECLARE @utcdate DATETIME = (SELECT getutcdate() AS utcdate) DECLARE @app_guid UNIQUEIDENTIFIER = (SELECT CASE WHEN SUSER_SID() IS NOT NULL THEN SUSER_SID() ELSE (SELECT CONVERT(uniqueidentifier,STUFF(STUFF(STUFF(STUFF('B00D00A0AC0A0D0C00DD00F0D0C00000',9,0,'-'),14,0,'-'),19,0,'-'),24,0,'-'))) END AS app_guid) DECLARE @app_user VARCHAR(30) = (SELECT CASE WHEN SUBSTRING(SUSER_NAME(),CHARINDEX('\',SUSER_NAME())+1,LEN(SUSER_NAME())) IS NOT NULL THEN SUBSTRING(SUSER_NAME(),CHARINDEX('\',SUSER_NAME())+1,LEN(SUSER_NAME())) ELSE CURRENT_USER END AS app_user) DECLARE @app_user_dir VARCHAR(12) = (SELECT CASE WHEN LEN(SUBSTRING(SUSER_NAME(),0,CHARINDEX('\',SUSER_NAME(),0)))>1 THEN SUBSTRING(SUSER_NAME(),0,CHARINDEX('\',SUSER_NAME(),0)) ELSE 'WIN AUTH' END AS app_user_dir) /* ---------------------------------------------------------------------- */ /* Fix trailing spaces and inconsistent upper/lower case */ /* ---------------------------------------------------------------------- */ UPDATE [dbo].[HMR_ACTIVITY_CODE] SET UNIT_OF_MEASURE = LOWER(RTRIM(UNIT_OF_MEASURE)), CONCURRENCY_CONTROL_NUMBER=CONCURRENCY_CONTROL_NUMBER+1, APP_LAST_UPDATE_USERID=@app_user,APP_LAST_UPDATE_TIMESTAMP=@utcdate,APP_LAST_UPDATE_USER_GUID=@app_guid,APP_LAST_UPDATE_USER_DIRECTORY=@app_user_dir UPDATE [dbo].[HMR_CODE_LOOKUP] SET CODE_NAME = RTRIM(CODE_NAME), CODE_VALUE_TEXT = RTRIM(CODE_VALUE_TEXT), CONCURRENCY_CONTROL_NUMBER=CONCURRENCY_CONTROL_NUMBER+1 WHERE CODE_SET = 'UOM' /* ---------------------------------------------------------------------- */ /* Fix Activity Code table Maintenance Type values */ /* ---------------------------------------------------------------------- */ UPDATE [dbo].[HMR_ACTIVITY_CODE] SET MAINTENANCE_TYPE = (SELECT CODE_VALUE_TEXT FROM [dbo].[HMR_CODE_LOOKUP] WHERE CODE_SET = 'WRK_RPT_MAINT_TYPE' AND CODE_NAME = MAINTENANCE_TYPE), CONCURRENCY_CONTROL_NUMBER=CONCURRENCY_CONTROL_NUMBER+1, APP_LAST_UPDATE_USERID=@app_user,APP_LAST_UPDATE_TIMESTAMP=@utcdate,APP_LAST_UPDATE_USER_GUID=@app_guid,APP_LAST_UPDATE_USER_DIRECTORY=@app_user_dir WHERE EXISTS (Select 1 FROM [dbo].[HMR_CODE_LOOKUP] WHERE CODE_SET = 'WRK_RPT_MAINT_TYPE' AND CODE_NAME = MAINTENANCE_TYPE) UPDATE [dbo].[HMR_ACTIVITY_CODE] SET UNIT_OF_MEASURE = 'litre', CONCURRENCY_CONTROL_NUMBER=CONCURRENCY_CONTROL_NUMBER+1, APP_LAST_UPDATE_USERID=@app_user,APP_LAST_UPDATE_TIMESTAMP=@utcdate,APP_LAST_UPDATE_USER_GUID=@app_guid,APP_LAST_UPDATE_USER_DIRECTORY=@app_user_dir WHERE UNIT_OF_MEASURE = 'litres' GO
{% if aws_provider_uuid or ocp_provider_uuid %} SELECT rp.provider_id as ocp_uuid, p.uuid as infra_uuid, p.type FROM {{schema | sqlsafe}}.reporting_awscostentrylineitem_daily_summary as aws JOIN {{schema | sqlsafe}}.reporting_awscostentrybill as bill ON aws.cost_entry_bill_id = bill.id JOIN {{schema | sqlsafe}}.reporting_ocpusagelineitem_daily_summary as ocp ON aws.usage_start = ocp.usage_start AND ocp.resource_id = ANY(aws.resource_ids) JOIN {{schema | sqlsafe}}.reporting_ocpusagereportperiod as rp ON ocp.report_period_id = rp.id JOIN public.api_provider as p ON bill.provider_id = p.uuid WHERE aws.usage_start >= {{start_date}}::date AND aws.usage_start <= {{end_date}}::date AND ocp.usage_start >= {{start_date}}::date AND ocp.usage_start <= {{end_date}}::date {% if aws_provider_uuid %} AND bill.provider_id = {{aws_provider_uuid}} {% endif %} {% if ocp_provider_uuid %} AND rp.provider_id = {{ocp_provider_uuid}} {% endif %} GROUP BY rp.provider_id, p.uuid, p.type {% endif %} {% if ocp_provider_uuid %} UNION {% endif %} {% if azure_provider_uuid or ocp_provider_uuid %} SELECT rp.provider_id as ocp_uuid, p.uuid as infra_uuid, p.type FROM ( SELECT azure.cost_entry_bill_id, azure.usage_start, instance_id FROM {{schema | sqlsafe}}.reporting_azurecostentrylineitem_daily_summary as azure, unnest(instance_ids) as instance_ids(instance_id) WHERE azure.usage_start >= {{start_date}}::date AND azure.usage_start <= {{end_date}}::date {% if azure_provider_uuid %} AND azure.source_uuid = {{azure_provider_uuid}} {% endif %} ) as azure JOIN {{schema | sqlsafe}}.reporting_azurecostentrybill as bill ON azure.cost_entry_bill_id = bill.id JOIN {{schema | sqlsafe}}.reporting_ocpusagelineitem_daily_summary as ocp ON split_part(azure.instance_id, '/', 9) = ocp.node AND azure.usage_start = ocp.usage_start JOIN {{schema | sqlsafe}}.reporting_ocpusagereportperiod as rp ON ocp.report_period_id = rp.id JOIN public.api_provider as p ON bill.provider_id = p.uuid WHERE ocp.usage_start >= {{start_date}}::date AND ocp.usage_start <= {{end_date}}::date {% if ocp_provider_uuid %} AND rp.provider_id = {{ocp_provider_uuid}} {% endif %} GROUP BY rp.provider_id, p.uuid, p.type {% endif %}
-- @testpoint: opengauss关键字Inline(非保留),作为游标名,部分测试点合理报错 --前置条件 drop table if exists explain_test cascade; create table explain_test(cid int,fid int); --关键字不带引号-成功 start transaction; cursor Inline for select * from explain_test order by 1; close Inline; end; --关键字带双引号-成功 start transaction; cursor "Inline" for select * from explain_test order by 1; close "Inline"; end; --关键字带单引号-合理报错 start transaction; cursor 'Inline' for select * from explain_test order by 1; close 'Inline'; end; --关键字带反引号-合理报错 start transaction; cursor `Inline` for select * from explain_test order by 1; close `Inline`; end; --清理环境 drop table if exists explain_test cascade;
<gh_stars>0 -- @testpoint: 闪回truncate和drop结合,drop表后执行truncate闪回合理报错,drop闪回成功 --step1: 查询enable_recyclebin默认值; expect:显示默认值off show enable_recyclebin; --step2: 修改enable_recyclebin为on; expect:修改成功 alter system set enable_recyclebin to on; select pg_sleep(2); show enable_recyclebin; --step3: 清除回收站; expect:回收站清除成功 purge recyclebin; --step4: 创建表、插入数据并truncate表; expect:表创建成功、数据插入成功且表清空成功 drop table if exists t_timecapsule_0013; create table t_timecapsule_0013(a int); insert into t_timecapsule_0013 values(1); truncate table t_timecapsule_0013; --step5: 在回收站中统计原始对象名称t_timecapsule_0013; expect:预期结果为1 select count(*) from gs_recyclebin where rcyoriginname = 't_timecapsule_0013'; --step6: 删除表; expect:表删除成功 drop table t_timecapsule_0013; --step7: 在回收站中统计原始对象名称t_timecapsule_0013; expect:预期结果为2 select count(*) from gs_recyclebin where rcyoriginname = 't_timecapsule_0013'; --step8: 执行闪回truncate; expect:闪回失败,合理报错 timecapsule table t_timecapsule_0013 to before truncate; --step9: 执行闪回drop; expect:闪回成功 timecapsule table t_timecapsule_0013 to before drop; --step10: 在回收站中统计原始对象名称t_timecapsule_0013; expect:预期结果为1 select count(*) from gs_recyclebin where rcyoriginname = 't_timecapsule_0013' ; --step11: 查询闪回后的表; expect:查询结果为空与预期结果一致 select * from t_timecapsule_0013 order by a; --step12: 执行闪回truncate; expect:闪回成功 timecapsule table t_timecapsule_0013 to before truncate; --step13: 在回收站中统计原始对象名称t_timecapsule_0013; expect:预期结果为1 select count(*) from gs_recyclebin where rcyoriginname = 't_timecapsule_0013' ; --step14: 查询闪回后的表; expect:显示值为1与预期结果一致 select * from t_timecapsule_0013 order by a; --step15: 清理环境; expect:清理成功 drop table if exists t_timecapsule_0013 purge; purge recyclebin; --step16: 恢复默认值; expect:默认值恢复成功 alter system set enable_recyclebin to off; select pg_sleep(2); show enable_recyclebin;
Room(room_number, building, room_nr, trivial_name, area, capacity_timetable, capacity_lecture, capacity_work, capacity_exam, first_row_handicapped, handicapped, furniture, gps_coordinates, floor_nr, PK (room_number)); Request(id, oldroom, olddate, newdate, teacherid, teachername, numberofstudents, requesttype, notes, coursetype, faculty, status, newroom, comms, PK(id)); Activities(activity_id, moduleid, startdate, enddate, allday, location, activitytext, activitydescription, department, color, PK(activity_id), FK(moduleid) REFERENCES Modules(moduleid)); Modules(module_id, moduleid, description, hostkey, PK(module_id)); Student_sets(student_set_id, student_set, activity_id, PK(student_set_id), FK (activity_id) REFERENCES Activities(activity_id)); Users(user_id, email, password, staff_name, is_timetabler, PK(user_id)); Favourites(id, default_faculty, PK(id), FK(id) REFERENCES Users (user_id)); Staff_activities(staff_id, staff_name, activity_id, PK (staff_id), FK (activity_id) REFERENCES Activities(activity_id)); Cookies(user_id, cookie, PK(user_id));
<filename>sql/image/selectExists.sql SELECT COUNT(HASH) > 0 AS EXIST FROM IB01_IMAGE_STORE WHERE HASH = :hash;
<reponame>zoltanviski/HackerRank<gh_stars>0 -- Author: <NAME> (vizoli) -- vizoli.hu -- github.com/zoltanviski -- hackerrank.com/zoltanviski -- Problem: https://www.hackerrank.com/challenges/population-density-difference SELECT MAX(POPULATION) - MIN(POPULATION) FROM CITY;
<gh_stars>1-10 -- phpMyAdmin SQL Dump -- version 4.0.4.1 -- http://www.phpmyadmin.net -- -- Máquina: localhost -- Data de Criação: 13-Jan-2016 às 06:29 -- Versão do servidor: 5.5.31 -- versão do PHP: 5.4.19 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 */; -- -- Base de Dados: `demandou-prod` -- CREATE DATABASE IF NOT EXISTS `demandou-prod` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `demandou-prod`; -- -------------------------------------------------------- -- -- Estrutura da tabela `ci_sessions` -- CREATE TABLE IF NOT EXISTS `ci_sessions` ( `id` varchar(40) NOT NULL, `ip_address` varchar(45) NOT NULL, `timestamp` int(10) unsigned NOT NULL DEFAULT '0', `data` blob NOT NULL, PRIMARY KEY (`id`), KEY `ci_sessions_timestamp` (`timestamp`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Extraindo dados da tabela `ci_sessions` -- INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('003ca2b07bd0a9db405fd4525b10a5ffc1d9ef08', '::1', 1452657591, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635373431333b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('0acd734bfd138da98e22677137db8a07303235ca', '::1', 1452560402, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323536303330333b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('0cca8356bae3d59c150ecdab6e9feb125d8ead37', '::1', 1452656633, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635363632383b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('1c40cf9aa88f3ee5ada3fd24a1ba6adb3ed265e0', '::1', 1452641549, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323634303539343b636f6469676f5f7573756172696f7c733a313a2234223b6c6f67696e7c733a343a2269676f72223b6e6f6d657c733a343a2249676f72223b736f6272656e6f6d657c733a333a22436861223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31353a2269676f722d6176617461722e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452631157, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323633313134333b6c6f6761646f7c623a313b636f6469676f5f7573756172696f7c733a313a2238223b6c6f67696e7c733a343a2276696e69223b6e6f6d657c733a383a2256696e6963697573223b736f6272656e6f6d657c733a383a224d6f6e746569726f223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31323a2276696e69636975732e6a7067223b), ('1e7626e40bded3ec52a4279538c4ae8f3bbe0bf3', '::1', 1452632068, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323633313636333b6c6f6761646f7c623a313b636f6469676f5f7573756172696f7c733a313a2238223b6c6f67696e7c733a343a2276696e69223b6e6f6d657c733a383a2256696e6963697573223b736f6272656e6f6d657c733a383a224d6f6e746569726f223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31323a2276696e69636975732e6a7067223b), ('1f9d10518b3011a7d67088941c276fde693b7a2e', '::1', 1452628260, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323632383232303b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452647207, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323634363931383b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452655474, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635353437313b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('2df9a9c8f4137126c766e4d14163ab62feea77f0', '::1', 1452605935, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323630353834353b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452657172, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635363939343b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452660216, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323636303031363b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452652027, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635313832353b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('4d69c7e328419e2c6ecf16920e7f41ec424e083a', '::1', 1452561175, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323536303930393b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452651268, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635313038323b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('4f61aa95bd3ace86a4f2a7358b472d8d4ba83740', '::1', 1452653368, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635333038333b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('50197ff6f813aeb99eaab489b822c5568e33e91f', '::1', 1452661609, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323636313337303b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('56a4a5eea10759f9911853e7e313e625456ab758', '::1', 1452649415, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323634393430383b636f6469676f5f7573756172696f7c733a313a2237223b6c6f67696e7c733a343a226a6f616f223b6e6f6d657c733a353a224a6fc3a36f223b736f6272656e6f6d657c733a353a224c656d6f73223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a383a226a6f616f2e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452654944, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635343636373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452562215, <KEY>), ('5a0a7ead00d7822f64d8bbd229075900db4f7196', '::1', 1452662927, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323636323736353b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('6ac93dc848cc8a225e2a1b3ef6664e825f32ca13', '::1', 1452633601, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323633333136313b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('6de73b0043ada46a106e1a9bcb41b2afeeee7560', '::1', 1452640253, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323634303036373b636f6469676f5f7573756172696f7c733a323a223130223b6c6f67696e7c733a333a22706574223b6e6f6d657c733a393a22506574746572736f6e223b736f6272656e6f6d657c733a363a22466172696173223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a373a227065742e6a7067223b6c6f6761646f7c623a313b), ('71958875d3a529d20b63151e063f6c1fd567ce4f', '::1', 1452660789, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323636303737373b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('78867549a86f57b73a61e94e8e6686797daf28c1', '::1', 1452643146, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323634333134363b), ('897855fc50ce20f0abb2cbee3e192257756e92db', '::1', 1452621788, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323632313536333b636f6469676f5f7573756172696f7c733a313a2234223b6c6f67696e7c733a343a2269676f72223b6e6f6d657c733a343a2249676f72223b736f6272656e6f6d657c733a333a22436861223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452606916, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323630363836323b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452606777, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323630363439313b6c6f6761646f7c623a313b636f6469676f5f7573756172696f7c733a313a2238223b6c6f67696e7c733a343a2276696e69223b6e6f6d657c733a383a2256696e6963697573223b736f6272656e6f6d657c733a383a224d6f6e746569726f223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31323a2276696e69636975732e6a7067223b), ('<KEY>', '::1', 1452651026, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635303736323b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b61646963696f6e61725f616f5f70726f6a65746f7c613a313a7b733a31343a22636f6469676f5f70726f6a65746f223b693a313b7d5f5f63695f766172737c613a313a7b733a32303a2261646963696f6e61725f616f5f70726f6a65746f223b733a333a226e6577223b7d), ('<KEY>', '::1', 1452651658, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635313434393b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('ce10f51b993c1fa26db0047578972483428e69a8', '::1', 1452560219, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323535393332363b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('d69217d38b5856e7a1047a42955d1460bc1f404e', '::1', 1452652536, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635323234363b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452632563, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323633323235303b6c6f6761646f7c623a313b636f6469676f5f7573756172696f7c733a313a2238223b6c6f67696e7c733a343a2276696e69223b6e6f6d657c733a383a2256696e6963697573223b736f6272656e6f6d657c733a383a224d6f6e746569726f223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31323a2276696e69636975732e6a7067223b), ('d98e0703976c5b5ae4d98ec6c761f611793630ec', '::1', 1452629227, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323632383934353b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('d9dc569fb4eddbd4cfac45f7689e0ebea4e0792e', '::1', 1452630028, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323632393636313b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('e1f0e1b5eeea939453d81be4f5ceb94dbed24e87', '::1', 1452605444, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323630353433353b636f6469676f5f7573756172696f7c733a313a2237223b6c6f67696e7c733a343a226a6f616f223b6e6f6d657c733a353a224a6fc3a36f223b736f6272656e6f6d657c733a353a224c656d6f73223b636f6469676f5f70657266696c7c733a313a2231223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a383a226a6f616f2e6a7067223b6c6f6761646f7c623a313b), ('e21a0f30de8ac7cd905a43cac38cf28c1169c596', '::1', 1452564911, <KEY>), ('e235f3f3060395ed9202a80188168b3dcae0b45a', '::1', 1452558823, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323535383538303b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('e667281a7d2de8d783d6c5c536ef73e2153400d1', '::1', 1452654569, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323635343333393b636f6469676f5f7573756172696f7c733a313a2236223b6c6f67696e7c733a363a226e656e65746f223b6e6f6d657c733a373a22416e746f6e696f223b736f6272656e6f6d657c733a343a224e65746f223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31303a226e656e65746f2e6a7067223b6c6f6761646f7c623a313b), ('<KEY>', '::1', 1452629622, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323632393332353b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b), ('fac387728b70412bca7dde1eb4a1532efe7999a9', '::1', 1452630047, 0x5f5f63695f6c6173745f726567656e65726174657c693a313435323633303034343b636f6469676f5f7573756172696f7c733a313a2235223b6c6f67696e7c733a333a226d6c70223b6e6f6d657c733a373a224dc3a17263696f223b736f6272656e6f6d657c733a363a22506173736f73223b636f6469676f5f70657266696c7c733a313a2232223b636f6469676f5f7374617475737c733a313a2231223b6172717569766f5f6176617461727c733a31313a22617661746172332e6a7067223b6c6f6761646f7c623a313b); -- -------------------------------------------------------- -- -- Estrutura da tabela `observacoes_resposta` -- CREATE TABLE IF NOT EXISTS `observacoes_resposta` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `codigo_observacao` int(11) NOT NULL, `resposta` varchar(500) NOT NULL, `data_resposta` date DEFAULT NULL, `inserido_por` int(11) DEFAULT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Extraindo dados da tabela `observacoes_resposta` -- INSERT INTO `observacoes_resposta` (`codigo`, `codigo_observacao`, `resposta`, `data_resposta`, `inserido_por`) VALUES (5, 7, 'Só dessa vez. Mais 7 dias.', '2016-01-13', 6); -- -------------------------------------------------------- -- -- Estrutura da tabela `observacoes_status` -- CREATE TABLE IF NOT EXISTS `observacoes_status` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `nome` varchar(100) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Extraindo dados da tabela `observacoes_status` -- INSERT INTO `observacoes_status` (`codigo`, `nome`) VALUES (1, 'Em andamento'), (2, 'Aceita'), (3, 'Negada'), (4, 'Finalização forçada'); -- -------------------------------------------------------- -- -- Estrutura da tabela `observacoes_tipo` -- CREATE TABLE IF NOT EXISTS `observacoes_tipo` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `tipo` varchar(100) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Extraindo dados da tabela `observacoes_tipo` -- INSERT INTO `observacoes_tipo` (`codigo`, `tipo`) VALUES (1, 'Finalização'), (2, 'Extensão de Prazo'), (3, 'Finalização Forçada'); -- -------------------------------------------------------- -- -- Estrutura da tabela `papel` -- CREATE TABLE IF NOT EXISTS `papel` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `nome` varchar(30) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Extraindo dados da tabela `papel` -- INSERT INTO `papel` (`codigo`, `nome`) VALUES (1, 'Líder'), (2, 'Participante'), (3, 'Coordenador'); -- -------------------------------------------------------- -- -- Estrutura da tabela `perfil` -- CREATE TABLE IF NOT EXISTS `perfil` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `nome` varchar(30) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Extraindo dados da tabela `perfil` -- INSERT INTO `perfil` (`codigo`, `nome`) VALUES (1, 'User'), (2, 'Admin'); -- -------------------------------------------------------- -- -- Estrutura da tabela `projeto` -- CREATE TABLE IF NOT EXISTS `projeto` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `titulo` varchar(100) NOT NULL, `descricao` varchar(300) NOT NULL, `prioridade` int(11) NOT NULL, `data_inicio` date NOT NULL, `data_prazo` date NOT NULL, `data_fim` date DEFAULT NULL, `criado_por` int(11) NOT NULL, `codigo_status` int(11) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Extraindo dados da tabela `projeto` -- INSERT INTO `projeto` (`codigo`, `titulo`, `descricao`, `prioridade`, `data_inicio`, `data_prazo`, `data_fim`, `criado_por`, `codigo_status`) VALUES (1, 'Demandou', 'Sistema para gerencia de projetos da DCI', 2, '2016-01-01', '2016-01-31', NULL, 5, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `projeto_tarefa` -- CREATE TABLE IF NOT EXISTS `projeto_tarefa` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `codigo_projeto` int(11) NOT NULL, `codigo_tarefa` int(11) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Estrutura da tabela `status` -- CREATE TABLE IF NOT EXISTS `status` ( `codigo` int(11) NOT NULL, `nome` varchar(30) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Extraindo dados da tabela `status` -- INSERT INTO `status` (`codigo`, `nome`) VALUES (0, 'Desativado'), (1, 'Ativado'); -- -------------------------------------------------------- -- -- Estrutura da tabela `tarefa` -- CREATE TABLE IF NOT EXISTS `tarefa` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `titulo` varchar(100) NOT NULL, `descricao` varchar(300) NOT NULL, `prioridade` int(1) NOT NULL, `data_inicio` date NOT NULL, `data_prazo` date NOT NULL, `data_fim` date DEFAULT NULL, `encerrada` tinyint(4) DEFAULT NULL, `encerrada_por` int(11) DEFAULT NULL, `criado_por` int(11) NOT NULL, `codigo_projeto` int(11) NOT NULL, `codigo_usuario` int(11) NOT NULL, `codigo_status` int(11) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Extraindo dados da tabela `tarefa` -- INSERT INTO `tarefa` (`codigo`, `titulo`, `descricao`, `prioridade`, `data_inicio`, `data_prazo`, `data_fim`, `encerrada`, `encerrada_por`, `criado_por`, `codigo_projeto`, `codigo_usuario`, `codigo_status`) VALUES (1, 'Identidade Visual', 'Identidade visual by <NAME>.', 3, '2016-01-01', '2016-01-20', NULL, NULL, NULL, 5, 1, 4, 1), (2, 'Layout', 'Joao entrega layout.', 3, '2016-01-11', '2016-01-15', NULL, 1, 6, 5, 1, 7, 1), (3, 'Versão Beta do Demandou', 'Márcio entrega versão beta.', 2, '2016-01-18', '2016-01-22', NULL, NULL, NULL, 5, 1, 5, 1), (4, 'Avaliação', 'Neto avalia Demandou', 1, '2016-01-25', '2016-01-26', NULL, NULL, NULL, 5, 1, 6, 1), (5, 'Versão Beta 2', 'Márcio entrega Beta 2.', 1, '2016-01-27', '2016-01-31', NULL, NULL, NULL, 5, 1, 5, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `tarefa_observacoes` -- CREATE TABLE IF NOT EXISTS `tarefa_observacoes` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `observacao` varchar(500) NOT NULL, `data_criada` date NOT NULL, `codigo_tipo` int(11) NOT NULL, `codigo_status_obs` int(11) NOT NULL, `codigo_tarefa` int(11) NOT NULL, `inserido_por` int(11) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; -- -- Extraindo dados da tabela `tarefa_observacoes` -- INSERT INTO `tarefa_observacoes` (`codigo`, `observacao`, `data_criada`, `codigo_tipo`, `codigo_status_obs`, `codigo_tarefa`, `inserido_por`) VALUES (7, 'Extende. neto? by igor', '2016-01-13', 2, 1, 1, 4), (8, 'Viajaste, nao gostei. Vou refazer o pedido.', '2016-01-13', 3, 4, 2, 6); -- -------------------------------------------------------- -- -- Estrutura da tabela `usuario` -- CREATE TABLE IF NOT EXISTS `usuario` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `login` varchar(15) NOT NULL, `senha` varchar(100) NOT NULL, `email` varchar(100) NOT NULL, `nome` varchar(30) NOT NULL, `sobrenome` varchar(30) NOT NULL, `data_nascimento` date NOT NULL, `arquivo_avatar` varchar(200) NOT NULL, `data_criado` date NOT NULL, `codigo_funcao` int(11) NOT NULL, `codigo_perfil` int(11) NOT NULL, `codigo_status` int(11) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ; -- -- Extraindo dados da tabela `usuario` -- INSERT INTO `usuario` (`codigo`, `login`, `senha`, `email`, `nome`, `sobrenome`, `data_nascimento`, `arquivo_avatar`, `data_criado`, `codigo_funcao`, `codigo_perfil`, `codigo_status`) VALUES (4, 'igor', '<PASSWORD>', '<EMAIL>', 'Igor', 'Cha', '2001-01-01', 'igor-avatar.jpg', '2015-12-17', 4, 1, 1), (5, 'mlp', '7c67e<PASSWORD>', '<EMAIL>', 'Márcio', 'Passos', '1981-04-13', 'avatar3.jpg', '2015-12-17', 3, 2, 1), (6, 'neneto', '7c67e713a4b4139702de1a4fac672344', '<EMAIL>', 'Antonio', 'Neto', '2001-01-01', 'neneto.jpg', '2015-12-17', 1, 2, 1), (7, 'joao', '7c67e713a4b4139702de1a4fac672344', '<EMAIL>', 'João', 'Lemos', '2010-10-10', 'joao.jpg', '2015-12-17', 4, 1, 1), (8, 'vini', '7c67e713a4b4139702de1a4fac672344', '<EMAIL>', 'Vinicius', 'Monteiro', '2002-02-20', 'vinicius.jpg', '2015-12-17', 2, 1, 1), (9, 'italo', '7c67e713a4b4139702de1a4fac672344', '<EMAIL>', 'Ítalo', 'Torres', '1990-11-11', 'italo.jpg', '2015-12-17', 2, 1, 1), (10, 'pet', '7c67e713a4b4139702de1a4fac672344', '<EMAIL>', 'Petterson', 'Farias', '1993-12-12', 'pet.jpg', '2015-12-17', 2, 1, 1), (11, 'carolina', '7c67e713a4b4139702de1a4fac672344', '<EMAIL>', 'Carolina', '<NAME>', '2005-09-05', '12113508_10204682176965630_8757563117268102190_o.jpg', '2015-12-23', 2, 2, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `usuario_acesso` -- CREATE TABLE IF NOT EXISTS `usuario_acesso` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `codigo_usuario` int(11) NOT NULL, `data_acesso` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Estrutura da tabela `usuario_funcao` -- CREATE TABLE IF NOT EXISTS `usuario_funcao` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `titulo` varchar(100) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Extraindo dados da tabela `usuario_funcao` -- INSERT INTO `usuario_funcao` (`codigo`, `titulo`) VALUES (1, 'Diretor'), (2, 'Assessor de Comunicação'), (3, 'Analista de Sistemas'), (4, 'Designer Gráfico'), (5, 'Estagiário'); -- -------------------------------------------------------- -- -- Estrutura da tabela `usuario_projeto` -- CREATE TABLE IF NOT EXISTS `usuario_projeto` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `codigo_usuario` int(11) NOT NULL, `codigo_projeto` int(11) NOT NULL, `codigo_papel` int(11) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Extraindo dados da tabela `usuario_projeto` -- INSERT INTO `usuario_projeto` (`codigo`, `codigo_usuario`, `codigo_projeto`, `codigo_papel`) VALUES (1, 6, 1, 1), (2, 4, 1, 2), (3, 5, 1, 2), (4, 7, 1, 2); -- -------------------------------------------------------- -- -- Estrutura da tabela `usuario_tarefa` -- CREATE TABLE IF NOT EXISTS `usuario_tarefa` ( `codigo` int(11) NOT NULL AUTO_INCREMENT, `codigo_usuario` int(11) NOT NULL, `codigo_tarefa` int(11) NOT NULL, `codigo_papel` int(11) NOT NULL, PRIMARY KEY (`codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>stlbucket/postgraphile-de-extension -- Revert auth_fn:function/current_app_user from pg BEGIN; DROP FUNCTION IF EXISTS auth_fn.current_app_user(); COMMIT;
-- no bignum support
DROP POLICY account_managers ON accounts; DROP POLICY IF EXISTS account_managers ON accounts; DROP POLICY account_managers ON accounts CASCADE; DROP POLICY account_managers ON accounts RESTRICT; DROP POLICY IF EXISTS account_managers ON accounts RESTRICT;
<filename>transportasi.sql -- phpMyAdmin SQL Dump -- version 4.2.11 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: 04 Nov 2020 pada 05.07 -- Versi Server: 5.6.21 -- PHP Version: 5.6.3 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: `transportasi` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `t_booking` -- CREATE TABLE IF NOT EXISTS `t_booking` ( `kode_booking` varchar(50) NOT NULL, `nama_kegiatan` varchar(50) NOT NULL, `surat_izinkegiatan` varchar(255) NOT NULL, `tanggal_peminjaman` date NOT NULL, `tanggal_kembali` date DEFAULT NULL, `alamat_tujuan` varchar(50) NOT NULL, `jam_keberangkatan` varchar(50) NOT NULL, `penanggung_jawab` varchar(50) NOT NULL, `no_hp` varchar(50) NOT NULL, `status` varchar(50) NOT NULL, `id_sopir` int(11) NOT NULL, `kode_kendaraan` varchar(50) NOT NULL, `id_user` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_booking` -- INSERT INTO `t_booking` (`kode_booking`, `nama_kegiatan`, `surat_izinkegiatan`, `tanggal_peminjaman`, `tanggal_kembali`, `alamat_tujuan`, `jam_keberangkatan`, `penanggung_jawab`, `no_hp`, `status`, `id_sopir`, `kode_kendaraan`, `id_user`) VALUES ('YSXZ1WT2NV', 'dinas secata', 'f19a7cf8fe52c585cbf1951183e3af79.jpg', '2020-11-03', '2020-11-05', 'padang panjang', '09:00', 'DIO', '08123457898', 'confirm', 14, 'K004', 24), ('19WFHXWHLF', 'anjangsana', 'f19a7cf8fe52c585cbf1951183e3af79.jpg', '2020-11-03', '2020-11-05', 'padang panjang', '07:00', 'nabila', '08123457898', 'cancel', 11, 'K004', 24); -- -------------------------------------------------------- -- -- Struktur dari tabel `t_jurusan` -- CREATE TABLE IF NOT EXISTS `t_jurusan` ( `id_jurusan` int(11) NOT NULL, `id_user` int(11) NOT NULL, `logo` varchar(40) NOT NULL, `ketua_jurusan` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `t_kendaraan` -- CREATE TABLE IF NOT EXISTS `t_kendaraan` ( `kode_kendaraan` varchar(50) NOT NULL, `jenis_kendaraan` varchar(50) NOT NULL, `nomor_polisi` varchar(50) NOT NULL, `gambar_kendaraan` text NOT NULL, `kapasitas` varchar(50) NOT NULL, `warna` varchar(50) NOT NULL, `jumlah_roda` varchar(30) NOT NULL, `peruntukkan` varchar(50) NOT NULL, `status` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_kendaraan` -- INSERT INTO `t_kendaraan` (`kode_kendaraan`, `jenis_kendaraan`, `nomor_polisi`, `gambar_kendaraan`, `kapasitas`, `warna`, `jumlah_roda`, `peruntukkan`, `status`) VALUES ('K001', '<NAME>', 'BA 2376 AJ', 'Suzuki_Thunder_125_L_1.jpg', '125 CC', 'HITAM', '2', 'Operasional', 'disable'), ('K002', '<NAME>', 'BA 2374 AJ', 'Suzuki-GSX-150-Bandit.jpg', '125 CC', 'MERAH', '2', 'Operasional', 'enable'), ('K003', '<NAME>', 'BA 4366 BI', 'fa43aca6-011d-4205-a006-55dd666e2de3.jpeg', '115 CC', 'MERAH', '2', 'Operasional', 'enable'), ('K004', 'TOYOTA AVANZA', 'BA 1839 AI', 'Toyota-Avanza-Facelift-Black-Metallic.jpg', '1297 CC', 'HITAM', '4', 'Operasional', 'disable'); -- -------------------------------------------------------- -- -- Struktur dari tabel `t_level` -- CREATE TABLE IF NOT EXISTS `t_level` ( `id_level` int(11) NOT NULL, `nama` varchar(50) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_level` -- INSERT INTO `t_level` (`id_level`, `nama`) VALUES (0, 'Admin'), (1, 'Umum'), (2, 'Ormawa'), (3, 'Jurusan'), (4, 'Unit'), (5, 'Sopir'); -- -------------------------------------------------------- -- -- Struktur dari tabel `t_ormawa` -- CREATE TABLE IF NOT EXISTS `t_ormawa` ( `id_ormawa` int(11) NOT NULL, `id_user` int(11) NOT NULL, `logo` varchar(40) NOT NULL, `pembina` varchar(50) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_ormawa` -- INSERT INTO `t_ormawa` (`id_ormawa`, `id_user`, `logo`, `pembina`) VALUES (1, 25, 'ksr.jpg', 'Novirwan Trinanto, SE.,M.Si'), (2, 26, 'KorpS+SATGAS.png', 'Budi Warsito, S.Sos'); -- -------------------------------------------------------- -- -- Struktur dari tabel `t_sopir` -- CREATE TABLE IF NOT EXISTS `t_sopir` ( `id_sopir` int(11) NOT NULL, `id_user` int(11) NOT NULL, `status` varchar(30) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_sopir` -- INSERT INTO `t_sopir` (`id_sopir`, `id_user`, `status`) VALUES (10, 34, 'enable'), (11, 35, 'enable'), (12, 36, 'enable'), (13, 37, 'enable'), (14, 38, 'disable'); -- -------------------------------------------------------- -- -- Struktur dari tabel `t_umum` -- CREATE TABLE IF NOT EXISTS `t_umum` ( `id_umum` int(11) NOT NULL, `id_user` int(11) NOT NULL, `kelas` varchar(25) NOT NULL, `prodi` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `t_unit` -- CREATE TABLE IF NOT EXISTS `t_unit` ( `id_unit` int(11) NOT NULL, `id_user` int(11) NOT NULL, `kepala_unit` varchar(40) NOT NULL, `admin_unit` varchar(50) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_unit` -- INSERT INTO `t_unit` (`id_unit`, `id_user`, `kepala_unit`, `admin_unit`) VALUES (2, 28, '<NAME>', '<NAME>, ST.,M.Eng'), (3, 29, '<NAME>, M.Si', 'Naswiradianto, SS'); -- -------------------------------------------------------- -- -- Struktur dari tabel `t_user` -- CREATE TABLE IF NOT EXISTS `t_user` ( `id_user` int(11) NOT NULL, `nama` varchar(50) NOT NULL, `username` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `kontak` varchar(25) NOT NULL, `level` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_user` -- INSERT INTO `t_user` (`id_user`, `nama`, `username`, `password`, `kontak`, `level`) VALUES (24, 'admin', 'admin', '<PASSWORD>', '', 0), (25, 'korps sukarela', 'ksrpnp', '<PASSWORD>679ca88db6464eac60da96345513964', '081267926003', 2), (26, 'Korps SATGAS', 'satgaspnp', '8cb2237d0679ca88db6464eac60da96345513964', '081267926002', 2), (28, 'UPT. Hubungan Masyarakat', 'upthubunganmasyarakat', '8cb2237d0679ca88db6464eac60da96345513964', '081267926006', 4), (29, 'UPT. Kerjasama', 'uptkerjasama', '8cb2237d0679ca88db6464eac60da96345513964', '081267926065', 4), (30, 'Murahaa', 'sopir1', '642989fbd758bf2e3aaa655d559b962b14bc0120', '123', 5), (34, 'Marjohan', 'Marjohan', '8cb2237d0679ca88db6464eac60da96345513964', '081363367087', 5), (35, 'Handoyo', 'Handoyo', '8cb2237d0679ca88db6464eac60da96345513964', '081266439888', 5), (36, 'Warkum', 'Warkum', '8cb2237d0679ca88db6464eac60da96345513964', '082384649632', 5), (37, '<NAME>', 'Auliarahman', '8cb2237d0679ca88db6464eac60da96345513964', '081270572971', 5), (38, 'Arisandi', 'Arisandi', '8cb2237d0679ca88db6464eac60da96345513964', '08126820453', 5); -- -- Indexes for dumped tables -- -- -- Indexes for table `t_booking` -- ALTER TABLE `t_booking` ADD KEY `fkuser5` (`id_user`), ADD KEY `fkkendaraan` (`kode_kendaraan`); -- -- Indexes for table `t_jurusan` -- ALTER TABLE `t_jurusan` ADD PRIMARY KEY (`id_jurusan`), ADD KEY `fkuser4` (`id_user`); -- -- Indexes for table `t_kendaraan` -- ALTER TABLE `t_kendaraan` ADD PRIMARY KEY (`kode_kendaraan`); -- -- Indexes for table `t_level` -- ALTER TABLE `t_level` ADD PRIMARY KEY (`id_level`); -- -- Indexes for table `t_ormawa` -- ALTER TABLE `t_ormawa` ADD PRIMARY KEY (`id_ormawa`), ADD KEY `fkuser3` (`id_user`); -- -- Indexes for table `t_sopir` -- ALTER TABLE `t_sopir` ADD PRIMARY KEY (`id_sopir`); -- -- Indexes for table `t_umum` -- ALTER TABLE `t_umum` ADD PRIMARY KEY (`id_umum`), ADD KEY `FK_user` (`id_user`); -- -- Indexes for table `t_unit` -- ALTER TABLE `t_unit` ADD PRIMARY KEY (`id_unit`), ADD UNIQUE KEY `indeks2` (`id_user`); -- -- Indexes for table `t_user` -- ALTER TABLE `t_user` ADD PRIMARY KEY (`id_user`), ADD KEY `level` (`level`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `t_jurusan` -- ALTER TABLE `t_jurusan` MODIFY `id_jurusan` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_level` -- ALTER TABLE `t_level` MODIFY `id_level` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `t_ormawa` -- ALTER TABLE `t_ormawa` MODIFY `id_ormawa` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `t_sopir` -- ALTER TABLE `t_sopir` MODIFY `id_sopir` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `t_umum` -- ALTER TABLE `t_umum` MODIFY `id_umum` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_unit` -- ALTER TABLE `t_unit` MODIFY `id_unit` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `t_user` -- ALTER TABLE `t_user` MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=39; -- -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- -- -- Ketidakleluasaan untuk tabel `t_booking` -- ALTER TABLE `t_booking` ADD CONSTRAINT `fkuser5` FOREIGN KEY (`id_user`) REFERENCES `t_user` (`id_user`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Ketidakleluasaan untuk tabel `t_jurusan` -- ALTER TABLE `t_jurusan` ADD CONSTRAINT `fkuser4` FOREIGN KEY (`id_user`) REFERENCES `t_user` (`id_user`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Ketidakleluasaan untuk tabel `t_ormawa` -- ALTER TABLE `t_ormawa` ADD CONSTRAINT `fkuser3` FOREIGN KEY (`id_user`) REFERENCES `t_user` (`id_user`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Ketidakleluasaan untuk tabel `t_umum` -- ALTER TABLE `t_umum` ADD CONSTRAINT `FK_user` FOREIGN KEY (`id_user`) REFERENCES `t_user` (`id_user`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Ketidakleluasaan untuk tabel `t_unit` -- ALTER TABLE `t_unit` ADD CONSTRAINT `fkuser2` FOREIGN KEY (`id_user`) REFERENCES `t_user` (`id_user`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Ketidakleluasaan untuk tabel `t_user` -- ALTER TABLE `t_user` ADD CONSTRAINT `fklevel` FOREIGN KEY (`level`) REFERENCES `t_level` (`id_level`) ON DELETE NO ACTION ON UPDATE NO ACTION; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
IF NOT EXISTS (SELECT * FROM dbo.CataloguePriceType) INSERT INTO dbo.CataloguePriceType(Id, [Name]) VALUES (1, 'Flat'), (2, 'Tiered'); GO
<filename>scripts/sql/role_up.sql -- @BeeOverwrite NO -- @BeeGenerateTime 20200824_145130 CREATE TABLE role( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `app_id` int(11) NOT NULL, `intro` varchar(255) NOT NULL, `menu_ids` json NOT NULL, `menu_ids_ele` longtext NOT NULL, PRIMARY KEY (`id`) )
<filename>database/sql/views/vw_incomes.sql CREATE OR REPLACE VIEW vw_incomes AS SELECT a.id as income_id, a.amount, a.description, a.ip_address, a.status as income_status, a.created_at, a.updated_at, b.name as addedby_user_name, c.name as modifiedby_user_name, d.name as income_name FROM incomes a JOIN users b ON b.id = a.added_by JOIN users c ON c.id = a.modified_by JOIN income_categories d ON d.id = a.income_category_id;
<reponame>aalishov/School CREATE DATABASE ManyToMany; USE ManyToMany; CREATE TABLE Students ( Id INT PRIMARY KEY IDENTITY, [Name] NVARCHAR(50) NOT NULL ); CREATE TABLE Exams ( Id INT PRIMARY KEY IDENTITY(101,1), [Name] NVARCHAR(50) NOT NULL, ); CREATE TABLE StudentsExams ( StudentId INT NOT NULL, ExamId INT NOT NULL, CONSTRAINT PK_StudentsExams PRIMARY KEY (StudentId,ExamId), CONSTRAINT Fk_StudentsExams_Students FOREIGN KEY (StudentId) REFERENCES Students(Id), CONSTRAINT Fk_StudentsExams_Exams FOREIGN KEY (ExamId) REFERENCES Exams(Id) );
<filename>sql/47_include_only_repset_tables_3.sql SET client_min_messages = warning; SET ROLE test_pgl_ddl_deploy; ALTER TABLE special.foo ADD COLUMN happy TEXT; ALTER TABLE special.bar ADD COLUMN happier TEXT; SELECT c.create_tags, c.set_name, ddl_sql_raw, ddl_sql_sent FROM pgl_ddl_deploy.events e INNER JOIN pgl_ddl_deploy.set_configs c ON c.id = e.set_config_id WHERE c.set_name LIKE 'my_special_tables%' ORDER BY e.id DESC LIMIT 10; --Test renaming which was missing in 1.2 ALTER TABLE special.foo RENAME COLUMN happy to happyz; ALTER TABLE special.foo ADD CONSTRAINT bla CHECK (true); ALTER TABLE special.foo RENAME CONSTRAINT bla to blaz; ALTER TABLE special.foo RENAME COLUMN id TO id_2; ALTER TABLE special.bar RENAME COLUMN happier TO happierz; ALTER TABLE special.bar RENAME COLUMN id TO id_3; ALTER TABLE special.foo RENAME TO fooz; ALTER TABLE special.bar RENAME TO barz; SELECT c.set_name, ddl_sql_raw, ddl_sql_sent FROM pgl_ddl_deploy.events e INNER JOIN pgl_ddl_deploy.set_configs c ON c.id = e.set_config_id WHERE c.set_name LIKE 'my_special_tables%' ORDER BY e.id DESC LIMIT 20;
<filename>src/main/webapp/resources/sql/inwardProfessinalFees.sql set forein_key_checks=0; select * from patientencounter order by id limit 1; select * from patientencounter where `BHTNO` = '1239'; select id, `DTYPE`, `BILLDATE`, `BILLTIME`, `PATIENTENCOUNTER_ID`,`RETIRED` from Bill where `BILLTYPE` = 'InwardProfessional' and `PATIENTENCOUNTER_ID` = 27196697; -- set forein_key_checks=1;
<filename>inma_regenera_basics.sql update inma_regenera.regen_ibge_br_mi_250gc_2018 set area_ha = st_area(st_transform(geom, 31984))/1000
{%- macro dedupe(model, key_fields, sort_fields=[], field_list=['*'], filter_list=[]) -%} {#- Example usage: with deduped as ( {{ deduplicate ( source('raw_packet_db', 'addresses'), key_fields=['id'], sort_fields=['updated_at desc'] ) }} ) .... -#} select {{field_list|join(', ')}} from ( select {{field_list|join(', ')}}, row_number() over (partition by {{ key_fields|join(', ') }}{% if sort_fields %} order by {{ sort_fields|join(', ') }}{% endif %}) as rn from {{ model }} {% if filter_list -%} where {{ filter_list|join('\n and ') }} {% endif %} ) where rn = 1 -- dedupe {%- endmacro -%}
<filename>sql/example/postgresql/chk_rlt.sql select 'detail_info' detail, a.* from dbmeter_result a where s_phase='Run_avg' and t_time> (select max(t_time) from dbmeter_result where s_phase='Warmup'); select 'sum_of_trans' trans,sum(tpm) avg_tpm,sum(num_total) all_trans,sum(warmup_total) warmup_trans, sum(num_total-warmup_total) run_total from dbmeter_result where s_phase='Run_avg' and t_time> (select max(t_time) from dbmeter_result where s_phase='Warmup'); select 'avg_tpm' avg_tpm, sum(tpm) tpm from dbmeter_result where s_phase='Run_avg' and t_time> (select max(t_time) from dbmeter_result where s_phase='Warmup');
## select c1 from t1 union select c2 from t2; select c1 from t1 union select c2 from t2 limit 2; select c1 from t1 minus select c2 from t2 limit 2; select c1 from t1 limit 2 union select c2 from t2; select c1 from t1 union all select c2 from t2 limit 2; select c1 from t1 limit 5 union all select c2 from t2 limit 2; select c1 from t1 intersect select c2 from t2 limit 2; select c1 from t1 union all select c2 from t2 order by c1; select c1 from t1 union all select c2 from t2 order by c1 limit 2; select c1, c2 from t1 order by c2 union all select c1, c2 from t2 order by c1 limit 2; select c1, c2 from t1 limit 5 union all select c1, c2 from t2 order by c1 limit 2; select c1 from t1 minus select c2 from t2 order by c1 limit 2; ## complex test select * from v limit 10 union select * from v limit 10 union select * from v limit 10 union select * from v limit 10 union select * from v limit 10 union select * from v order by c1 limit 10; select * from v order by c1 union select * from v order by c1 union select * from v order by c1 union select * from v order by c1 union select * from v order by c1 union select * from v order by c1 limit 10; select * from v order by c1 union all select * from v order by c1 union all select * from v order by c1 union all select * from v order by c1 union all select * from v order by c1 union select * from v order by c1 limit 10; (select c2 from t1 order by c2 intersect select * from v order by c2 limit 10)union (select c1 from t1 minus select * from v order by c1 limit 11) order by c2 limit 3;
DROP DATABASE IF EXISTS SoundMapDB; CREATE SCHEMA SoundMapDB; USE SoundMapDB; CREATE TABLE User ( id INT NOT NULL AUTO_INCREMENT, email VARCHAR(30) UNIQUE NOT NULL, password VARCHAR(30) NOT NULL, first_name TEXT, last_name TEXT, balance INT DEFAULT 0, rating INT DEFAULT 0, PRIMARY KEY (id) ); CREATE TABLE SynthPreset ( id INT NOT NULL AUTO_INCREMENT, name TEXT, gate double, attack double, decay double, sustain double, release_synth double, cutoff double, threshold double, polyphony double, price int, primary key (id) ); CREATE TABLE MusicalInstrument ( name VARCHAR(20) PRIMARY KEY NOT NULL , premium boolean default FALSE ); CREATE TABLE Music ( id INT NOT NULL AUTO_INCREMENT, type VARCHAR(10) NOT NULL, genre VARCHAR(30), name TEXT NOT NULL, author TEXT NOT NULL , sheets_url VARCHAR(100) default 'https://www.youtube.com/watch?v=dQw4w9WgXcQ', price int default 0, rating int default 0, premium boolean default false, primary key (id) ); CREATE TABLE UserMusic ( id INT PRIMARY KEY NOT NULL AUTO_INCREMENT, user_id INT NOT NULL, music_id INT NOT NULL, foreign key (user_id) references User(id) ON DELETE CASCADE , foreign key (music_id) references Music(id) ON DELETE CASCADE ); CREATE TABLE MusicPreset ( id INT PRIMARY KEY NOT NULL AUTO_INCREMENT, music_id INT NOT NULL, preset_id INT NOT NULL , foreign key (music_id) references Music(id) ON DELETE CASCADE ON UPDATE CASCADE , foreign key (preset_id) references SynthPreset(id) ON DELETE CASCADE ON UPDATE CASCADE ); CREATE TABLE MusicInstruments ( id INT PRIMARY KEY NOT NULL AUTO_INCREMENT, music_id INT NOT NULL, instrument_name VARCHAR(20) NOT NULL , foreign key (music_id) references Music(id) ON DELETE CASCADE ON UPDATE CASCADE , foreign key (instrument_name) references MusicalInstrument(name) ON DELETE CASCADE ON UPDATE CASCADE ); insert into User ( email, password, first_name, last_name, balance, rating) values ('<EMAIL>', 'hsepassword', 'Vova', 'Fedorov', 20, 100);
<reponame>opentaps/opentaps-1 load data local infile '' ignore into table DATA_IMPORT_PRODUCT fields terminated by ',' optionally enclosed by "'" lines terminated by '\n' ( @productId, @customId1, @customId2, @description, @weight, @productLength, @width, @height, @price, @productFeature1, @productTypeId ) set PRODUCT_ID = nullif(trim(@productId),''), CUSTOM_ID1 = nullif(trim(@customId1),''), CUSTOM_ID2 = nullif(trim(@customId2),''), DESCRIPTION = nullif(trim(concat(@description, ' ', @customId1)),''), WEIGHT = nullif(trim(@weight),''), WEIGHT_UOM_ID = 'WT_lb', PRODUCT_LENGTH = nullif(trim(@productLength),''), PRODUCT_LENGTH_UOM_ID = 'LEN_mm', WIDTH = nullif(trim(@width),''), WIDTH_UOM_ID = 'LEN_mm', HEIGHT = nullif(trim(@height),''), HEIGHT_UOM_ID = 'LEN_mm', PRICE = nullif(trim(@price),''), PRICE_CURRENCY_UOM_ID = 'USD', PRODUCT_FEATURE1 = nullif(trim(@productFeature1),''), PRODUCT_TYPE_ID = nullif(trim(@productTypeId),'')