File size: 11,717 Bytes
9e4ab0c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 |
CREATE TABLE "breeds" (
"breed_code" text,
"breed_name" text
);
INSERT INTO breeds VALUES ("bul", "eskimo");
INSERT INTO breeds VALUES ("esk", "husky");
INSERT INTO breeds VALUES ("hus", "bulldog");
CREATE TABLE "charges" (
"charge_id" integer,
"charge_type" text,
"charge_amount" integer
);
INSERT INTO charges VALUES (1, "daily accommodation", 98);
INSERT INTO charges VALUES (2, "drugs", 322);
INSERT INTO charges VALUES (3, "health check", 640);
CREATE TABLE "sizes" (
"size_code" text,
"size_description" text
);
INSERT INTO sizes VALUES ("lge", "small");
INSERT INTO sizes VALUES ("med", "medium");
INSERT INTO sizes VALUES ("sml", "large");
CREATE TABLE "treatment_types" (
"treatment_type_code" text,
"treatment_type_description" text
);
INSERT INTO treatment_types VALUES ("exam", "physical examination");
INSERT INTO treatment_types VALUES ("vac", "vaccination");
INSERT INTO treatment_types VALUES ("walk", "take for a walk");
CREATE TABLE "owners" (
"owner_id" integer,
"first_name" text,
"last_name" text,
"street" text,
"city" text,
"state" text,
"zip_code" text,
"email_address" text,
"home_phone" text,
"cell_number" text
);
INSERT INTO owners VALUES (1, "nora", "haley", "0647 hintz village apt. 024", "lake tia", "wisconsin", "93165", "[email protected]", "1-682-845-0116x63235", "478.978.0729");
INSERT INTO owners VALUES (2, "melisa", "dubuque", "1204 mae highway apt. 107", "port reannamouth", "virginia", "45244", "[email protected]", "799563-0260x454", "722768-5439x484");
INSERT INTO owners VALUES (3, "jaclyn", "stoltenberg", "2635 caitlyn plains", "barrettburgh", "vermont", "02647", "[email protected]", "916.976.9480x13851", "481-483-9083x37986");
INSERT INTO owners VALUES (4, "tre", "hamill", "692 jaskolski forges", "brakusfurt", "florida", "87304", "[email protected]", "1-332-849-1908", "739-136-7202");
INSERT INTO owners VALUES (5, "johann", "fisher", "68118 daniel row", "lake valentin", "northdakota", "61019", "[email protected]", "544034-1670", "1-626-264-7659x1697");
INSERT INTO owners VALUES (6, "kade", "rippin", "51934 treutel harbor", "lake carleyborough", "arizona", "25609", "[email protected]", "318-052-6573", "+7049217952551");
INSERT INTO owners VALUES (7, "emelie", "mertz", "2417 keara stravenue apt. 146", "lake jennyferfort", "newyork", "00589", "[email protected]", "058997-7627", "121.381.3316x6535");
INSERT INTO owners VALUES (8, "rolando", "prohaska", "57382 yost ridges", "south afton", "arkansas", "86010", "[email protected]", "01802479758", "783271-6744x4507");
INSERT INTO owners VALUES (9, "adelle", "ondricka", "9212 rosenbaum lights", "east hillardberg", "washington", "92406", "[email protected]", "066.264.7885", "+0024323592985");
INSERT INTO owners VALUES (10, "lorenz", "nicolas", "59509 mellie mountain", "new margaretteborough", "southdakota", "78297", "[email protected]", "085.557.0379x84348", "559.874.3011x989");
INSERT INTO owners VALUES (11, "gay", "feil", "60352 kayleigh crossing suite 700", "port zackery", "indiana", "35747", "[email protected]", "130-796-4589x05454", "762.589.6117x1328");
INSERT INTO owners VALUES (12, "orlando", "price", "89011 kertzmann spring suite 642", "east maribelbury", "mississippi", "11990", "[email protected]", "363.948.1090", "1-739-421-2225x38148");
INSERT INTO owners VALUES (13, "cindy", "schmitt", "6950 katherine forges apt. 630", "beerton", "northdakota", "36871", "[email protected]", "094747-5094x8134", "633.455.3045x85484");
INSERT INTO owners VALUES (14, "rachelle", "funk", "15828 spencer extensions", "west leonard", "maryland", "22731", "[email protected]", "1-346-655-5842x768", "257399-3116");
INSERT INTO owners VALUES (15, "heather", "hauck", "1858 jan park", "south daisyfurt", "pennsylvania", "22693", "[email protected]", "893-862-5295x61709", "341.667.8085");
CREATE TABLE "dogs" (
"dog_id" integer,
"owner_id" integer,
"abandoned_yn" text,
"breed_code" text,
"size_code" text,
"name" text,
"age" text,
"date_of_birth" text,
"gender" text,
"weight" text,
"date_arrived" text,
"date_adopted" text,
"date_departed" text
);
INSERT INTO dogs VALUES (1, 3, "1", "esk", "lge", "kacey", "6", "2012-01-27 05:11:53", "1", "7.57", "2017-09-08 20:10:13", "2018-03-06 16:32:11", "2018-03-25 06:58:44");
INSERT INTO dogs VALUES (2, 11, "0", "bul", "lge", "hipolito", "9", "2013-02-13 05:15:21", "0", "1.72", "2017-12-22 05:02:02", "2018-03-25 08:12:51", "2018-03-25 02:11:32");
INSERT INTO dogs VALUES (3, 1, "0", "bul", "med", "mavis", "8", "2008-05-19 15:54:49", "1", "8.04", "2017-06-25 10:14:05", "2018-03-07 21:45:43", "2018-03-25 10:25:46");
INSERT INTO dogs VALUES (4, 14, "0", "esk", "lge", "houston", "5", "2008-10-09 22:38:53", "0", "2.18", "2017-04-20 00:58:55", "2018-03-18 15:12:50", "2018-03-24 19:12:22");
INSERT INTO dogs VALUES (5, 7, "0", "bul", "med", "jeffrey", "4", "2018-03-17 04:05:12", "0", "1.39", "2017-10-25 00:55:34", "2018-02-27 11:54:35", "2018-03-25 04:50:22");
INSERT INTO dogs VALUES (6, 5, "0", "hus", "med", "merritt", "9", "2015-02-26 21:31:22", "1", "9.8", "2017-04-15 09:25:31", "2018-03-08 15:03:00", "2018-03-25 13:07:04");
INSERT INTO dogs VALUES (7, 3, "0", "bul", "med", "narciso", "2", "2017-09-19 05:39:09", "1", "9.48", "2017-05-06 08:03:52", "2018-02-27 00:27:57", "2018-03-25 06:29:10");
INSERT INTO dogs VALUES (8, 14, "0", "esk", "sml", "george", "2", "2013-02-20 14:50:56", "0", "8.95", "2017-10-16 20:06:21", "2018-03-23 16:02:04", "2018-03-25 02:47:40");
INSERT INTO dogs VALUES (9, 2, "0", "bul", "med", "bessie", "4", "2012-05-31 08:01:36", "1", "3.52", "2018-01-17 11:44:16", "2018-02-25 23:45:30", "2018-03-25 06:46:07");
INSERT INTO dogs VALUES (10, 6, "0", "hus", "med", "troy", "9", "2012-07-11 17:15:10", "0", "8.96", "2017-12-29 06:08:26", "2018-03-18 07:47:40", "2018-03-25 04:42:14");
INSERT INTO dogs VALUES (11, 13, "0", "bul", "lge", "betty", "3", "2012-10-14 14:44:37", "0", "8.16", "2017-07-25 15:19:07", "2018-03-14 08:05:18", "2018-03-25 15:05:16");
INSERT INTO dogs VALUES (12, 12, "0", "hus", "med", "holden", "8", "2009-04-12 06:02:48", "0", "6.92", "2017-10-24 04:45:13", "2018-03-05 06:05:23", "2018-03-25 14:15:41");
INSERT INTO dogs VALUES (13, 8, "0", "hus", "sml", "jesus", "2", "2012-05-03 21:42:25", "0", "5.16", "2018-01-02 03:15:29", "2018-03-21 10:41:18", "2018-03-25 05:07:47");
INSERT INTO dogs VALUES (14, 14, "1", "esk", "med", "lyric", "4", "2010-11-11 07:11:53", "0", "4.36", "2017-06-18 19:45:38", "2018-03-13 12:47:15", "2018-03-24 23:48:59");
INSERT INTO dogs VALUES (15, 10, "1", "bul", "med", "evangeline", "1", "2008-05-30 12:51:34", "1", "4.01", "2017-12-29 23:24:13", "2018-03-10 15:06:43", "2018-03-24 19:36:59");
CREATE TABLE "professionals" (
"professional_id" integer,
"role_code" text,
"first_name" text,
"street" text,
"city" text,
"state" text,
"zip_code" text,
"last_name" text,
"email_address" text,
"home_phone" text,
"cell_number" text
);
INSERT INTO professionals VALUES (1, "employee", "taryn", "6915 oberbrunner point suite 491
gleasonville la", "west heidi", "indiana", "06646", "braun", "[email protected]", "+7162898266914", "275939-2435x80863");
INSERT INTO professionals VALUES (2, "employee", "jayson", "88665 terence lodge apt. 904
corneliusfort nc 194", "north odellfurt", "connecticut", "43129", "ullrich", "[email protected]", "+0210259033559", "889-940-2676");
INSERT INTO professionals VALUES (3, "employee", "olaf", "68589 bradly manor
new audrey in 91497", "jaceton", "wisconsin", "77129", "watsica", "[email protected]", "325-155-0801x7005", "369908-7311x065");
INSERT INTO professionals VALUES (4, "veterenarian", "vernice", "72532 hane course
lake berylland nd 95283", "domenickton", "mississippi", "02281", "tillman", "[email protected]", "312.216.3352", "00230569697");
INSERT INTO professionals VALUES (5, "veterenarian", "danny", "188 vonrueden tunnel suite 630
north macibury nv", "new laurytown", "hawaii", "84515", "considine", "[email protected]", "1-609-566-2752x25197", "011.193.9081x3186");
INSERT INTO professionals VALUES (6, "veterenarian", "ruben", "17286 waters green
east bernadinefort ca 89573", "baileymouth", "newmexico", "52476", "oreilly", "[email protected]", "+4351132733868", "139-321-7313");
INSERT INTO professionals VALUES (7, "veterenarian", "velva", "44234 marvin shoals suite 659
north frances al 23", "mclaughlinfort", "northcarolina", "67980", "hayes", "[email protected]", "022.529.0550x1319", "499-434-0215x1628");
INSERT INTO professionals VALUES (8, "employee", "karley", "36895 eli ferry
port marcelle fl 45712", "kirastad", "indiana", "33020", "hyatt", "[email protected]", "891.475.2256", "328.842.3792");
INSERT INTO professionals VALUES (9, "veterenarian", "monte", "07073 brenna ways suite 089
lowehaven ky 93275-96", "south rockyport", "southcarolina", "80775", "kshlerin", "[email protected]", "320-508-6023", "962-983-8109x3509");
INSERT INTO professionals VALUES (10, "employee", "domenica", "7284 torphy flats apt. 610
diannaburgh sc 78560", "new maryjane", "california", "54312", "jacobs", "[email protected]", "230338-3342x585", "461-801-2600");
INSERT INTO professionals VALUES (11, "employee", "brady", "09615 mckenzie stravenue apt. 128
west elliottview", "raynorfort", "alabama", "07412", "pouros", "[email protected]", "920304-4499x59146", "609-405-2990");
INSERT INTO professionals VALUES (12, "veterenarian", "winfield", "92912 langworth valleys apt. 743
thompsonborough", "juddton", "utah", "34041", "christiansen", "[email protected]", "246-951-0080x76716", "1-181-670-9466");
INSERT INTO professionals VALUES (13, "veterenarian", "ericka", "7783 abraham alley
port madelynhaven ky 59172-273", "borisside", "wyoming", "17902", "murazik", "[email protected]", "346.594.3739", "880-659-7577x736");
INSERT INTO professionals VALUES (14, "employee", "sigurd", "390 bryce drive
north dock la 65357-7228", "east ila", "connecticut", "41215", "frami", "[email protected]", "971.048.3763x9404", "1-185-137-1945x409");
INSERT INTO professionals VALUES (15, "employee", "lesly", "63949 keeling landing apt. 502
johnsview sd 06780", "north adelberttown", "montana", "98844", "walter", "[email protected]", "1-138-287-3775", "1-258-285-4707x8020");
CREATE TABLE "treatments" (
"treatment_id" integer,
"dog_id" integer,
"professional_id" integer,
"treatment_type_code" text,
"date_of_treatment" text,
"cost_of_treatment" integer
);
INSERT INTO treatments VALUES (1, 14, 9, "walk", "2018-03-19 04:39:54", 567);
INSERT INTO treatments VALUES (2, 4, 10, "vac", "2018-03-15 20:25:34", 147);
INSERT INTO treatments VALUES (3, 14, 4, "exam", "2018-03-08 05:26:23", 429);
INSERT INTO treatments VALUES (4, 2, 8, "vac", "2018-03-01 04:14:46", 266);
INSERT INTO treatments VALUES (5, 12, 14, "vac", "2018-03-23 13:52:10", 668);
INSERT INTO treatments VALUES (6, 10, 4, "exam", "2018-03-11 04:23:15", 313);
INSERT INTO treatments VALUES (7, 15, 14, "exam", "2018-03-10 11:45:58", 852);
INSERT INTO treatments VALUES (8, 2, 6, "exam", "2018-03-24 22:25:58", 407);
INSERT INTO treatments VALUES (9, 14, 10, "walk", "2018-03-14 19:10:40", 139);
INSERT INTO treatments VALUES (10, 10, 7, "walk", "2018-02-28 17:09:43", 681);
INSERT INTO treatments VALUES (11, 15, 5, "vac", "2018-03-13 12:22:58", 514);
INSERT INTO treatments VALUES (12, 13, 9, "exam", "2018-03-16 10:27:36", 428);
INSERT INTO treatments VALUES (13, 7, 8, "vac", "2018-02-26 09:08:53", 945);
INSERT INTO treatments VALUES (14, 10, 9, "walk", "2018-03-04 20:33:43", 349);
INSERT INTO treatments VALUES (15, 1, 6, "walk", "2018-03-15 19:10:02", 656);
COMMIT;
|