PRAGMA foreign_keys = ON;

PRAGMA writable_schema = 1;
DELETE FROM sqlite_master WHERE type IN ("table", "index", "trigger");
PRAGMA writable_schema = 0;
VACUUM;

CREATE TABLE "Charges" (
"charge_id" INT,
"charge_type" VARCHAR(10),
"charge_amount" DECIMAL(19, 4),
PRIMARY KEY ("charge_id")
);

CREATE TABLE "Treatments" (
"treatment_id" INT,
"treatment_type_code" VARCHAR(10),
"cost_of_treatment" DECIMAL(19, 4),
PRIMARY KEY ("treatment_id")
);





INSERT INTO "Charges" VALUES ("1", "Boarding", "50.00");
INSERT INTO "Charges" VALUES ("2", "Grooming", "35.00");
INSERT INTO "Charges" VALUES ("3", "Training", "75.00");
INSERT INTO "Charges" VALUES ("4", "Daycare", "25.00");
INSERT INTO "Charges" VALUES ("5", "Medical", "100.00");
INSERT INTO "Charges" VALUES ("6", "Boarding", "55.00");
INSERT INTO "Charges" VALUES ("7", "Grooming", "40.00");
INSERT INTO "Charges" VALUES ("8", "Training", "80.00");
INSERT INTO "Charges" VALUES ("9", "Daycare", "30.00");
INSERT INTO "Charges" VALUES ("10", "Medical", "120.00");
INSERT INTO "Treatments" VALUES ("1", "VET", "150.00");
INSERT INTO "Treatments" VALUES ("2", "GROOM", "45.00");
INSERT INTO "Treatments" VALUES ("3", "TRAIN", "90.00");
INSERT INTO "Treatments" VALUES ("4", "VET", "200.00");
INSERT INTO "Treatments" VALUES ("5", "GROOM", "50.00");
INSERT INTO "Treatments" VALUES ("6", "TRAIN", "100.00");
INSERT INTO "Treatments" VALUES ("7", "VET", "175.00");
INSERT INTO "Treatments" VALUES ("8", "GROOM", "38.00");
INSERT INTO "Treatments" VALUES ("9", "TRAIN", "85.00");
INSERT INTO "Treatments" VALUES ("10", "VET", "250.00");