CREATE TABLE "roles" ( "role_code" text, "role_description" text ); INSERT INTO roles VALUES ("dba", "database administrator"); INSERT INTO roles VALUES ("proj-mgr", "project manager"); CREATE TABLE "users" ( "user_id" integer, "role_code" text, "user_name" text, "user_login" text, "password" text ); INSERT INTO users VALUES (1, "proj-mgr", "dickens.elta", "0", "e72b5a2d50b39a8760764a5f7a9d68ca2f076877"); INSERT INTO users VALUES (2, "dba", "tremblay.raheem", "1", "9bc25a040d5647ced5ec32e1a455e90fafc10bcb"); INSERT INTO users VALUES (3, "dba", "lynn.haley", "0", "90db8f51449e6c39e2a01f0b649d5a92fe76bbbb"); INSERT INTO users VALUES (4, "proj-mgr", "ycremin", "0", "f6977378f409f5d2d230016a6678a582e14f43b0"); INSERT INTO users VALUES (5, "proj-mgr", "larson.vesta", "1", "da383455a05a824606c54e99f671c4d6a2ddae26"); INSERT INTO users VALUES (6, "dba", "amelie53", "0", "6aa66440864ff8143fe7dee5940a6af3460bad07"); INSERT INTO users VALUES (7, "dba", "jacklyn.schmitt", "1", "3f6affa583bfdf7fac6faeb2ca418431909d4b39"); INSERT INTO users VALUES (8, "proj-mgr", "joanne.deckow", "0", "20241478f890508ac47870cfba472e1db04a71ca"); INSERT INTO users VALUES (9, "proj-mgr", "dickinson.lenora", "0", "a0fe5434a5f4c218e37b0082f2408b357feb0fa6"); INSERT INTO users VALUES (10, "dba", "heller.harley", "1", "11af7569a5c1e8b455add5755e18131be2ac8636"); INSERT INTO users VALUES (11, "dba", "roger.oconner", "0", "3d478d7056d6417966f6b1676f6ec81b3094f44f"); INSERT INTO users VALUES (12, "dba", "gussie00", "1", "75f7b5ed8e70e86467155e003ccda6fce1011c29"); INSERT INTO users VALUES (13, "proj-mgr", "johanna.fisher", "1", "1fb26eea854962d41512827bf90a5b7ce4b359d8"); INSERT INTO users VALUES (14, "dba", "faye30", "0", "27cca8f94136f0e8971b5ca555a21ff756871b27"); INSERT INTO users VALUES (15, "proj-mgr", "glenna.simonis", "1", "95f489fc0921bbb3e7d661a550ae208b88d9b11a"); CREATE TABLE "document_structures" ( "document_structure_code" text, "parent_document_structure_code" text, "document_structure_description" text ); INSERT INTO document_structures VALUES ("1", "1", "header"); INSERT INTO document_structures VALUES ("5", "1", "main section"); INSERT INTO document_structures VALUES ("6", "1", "bib"); INSERT INTO document_structures VALUES ("8", "6", "image section"); INSERT INTO document_structures VALUES ("9", "8", "author section"); CREATE TABLE "functional_areas" ( "functional_area_code" text, "parent_functional_area_code" text, "functional_area_description" text ); INSERT INTO functional_areas VALUES ("1", "8", "signature"); INSERT INTO functional_areas VALUES ("8", "8", "acknowledgement"); INSERT INTO functional_areas VALUES ("9", "8", "keep blank"); CREATE TABLE "images" ( "image_id" integer, "image_alt_text" text, "image_name" text, "image_url" text ); INSERT INTO images VALUES (1, "lea", "top1", "http://www.rempelnader.com/1.jpg"); INSERT INTO images VALUES (2, "arden", "top2", "http://connellykertzmann.org/1.jpg"); INSERT INTO images VALUES (3, "mohamed", "top3", "http://www.bernierconnelly.com/1.jpg"); INSERT INTO images VALUES (4, "chaya", "top4", "http://abernathyboehm.com/1.jpg"); INSERT INTO images VALUES (5, "percival", "chapter1", "http://gaylord.info/1.jpg"); INSERT INTO images VALUES (6, "lincoln", "chapter2", "http://www.hellerreinger.com/1.jpg"); INSERT INTO images VALUES (7, "camylle", "chapter3", "http://faycummerata.net/1.jpg"); INSERT INTO images VALUES (8, "ashtyn", "chapter4", "http://haleychamplin.net/1.jpg"); INSERT INTO images VALUES (9, "filomena", "chapter5", "http://www.fritsch.net/1.jpg"); INSERT INTO images VALUES (10, "jeanette", "data1", "http://sauer.com/1.jpg"); INSERT INTO images VALUES (11, "name", "data2", "http://www.heller.com/1.jpg"); INSERT INTO images VALUES (12, "marianna", "data3", "http://www.hermann.com/1.jpg"); INSERT INTO images VALUES (13, "stephen", "data4", "http://rowelakin.com/1.jpg"); INSERT INTO images VALUES (14, "miller", "data5", "http://andersonluettgen.net/1.jpg"); INSERT INTO images VALUES (15, "trycia", "data6", "http://www.beahan.biz/1.jpg"); CREATE TABLE "documents" ( "document_code" text, "document_structure_code" text, "document_type_code" text, "access_count" integer, "document_name" text ); INSERT INTO documents VALUES ("217", "8", "book", 1864, "learning english"); INSERT INTO documents VALUES ("349", "1", "paper", 8208, "research about art history"); INSERT INTO documents VALUES ("465", "8", "book", 3769, "learning database"); INSERT INTO documents VALUES ("510", "5", "advertisement", 6661, "summer sails"); INSERT INTO documents VALUES ("566", "9", "book", 2910, "learning japanese"); INSERT INTO documents VALUES ("621", "9", "cv", 6345, "david cv"); INSERT INTO documents VALUES ("675", "8", "book", 2045, "how to cook pasta"); INSERT INTO documents VALUES ("706", "6", "paper", 3479, "humanity: a fact"); INSERT INTO documents VALUES ("713", "9", "advertisement", 8623, "winter sails"); INSERT INTO documents VALUES ("714", "9", "cv", 5924, "john cv"); INSERT INTO documents VALUES ("928", "8", "cv", 2294, "joe cv"); INSERT INTO documents VALUES ("930", "5", "advertisement", 3289, "spring sails"); INSERT INTO documents VALUES ("958", "9", "book", 1219, "life about claude monet"); INSERT INTO documents VALUES ("961", "1", "advertisement", 7509, "fall sails"); INSERT INTO documents VALUES ("989", "6", "paper", 9948, "relationships between history and arts"); CREATE TABLE "document_functional_areas" ( "document_code" text, "functional_area_code" text ); INSERT INTO document_functional_areas VALUES ("675", "9"); INSERT INTO document_functional_areas VALUES ("930", "1"); INSERT INTO document_functional_areas VALUES ("217", "1"); INSERT INTO document_functional_areas VALUES ("465", "1"); INSERT INTO document_functional_areas VALUES ("958", "1"); INSERT INTO document_functional_areas VALUES ("958", "9"); INSERT INTO document_functional_areas VALUES ("217", "9"); INSERT INTO document_functional_areas VALUES ("961", "9"); INSERT INTO document_functional_areas VALUES ("928", "9"); INSERT INTO document_functional_areas VALUES ("958", "9"); INSERT INTO document_functional_areas VALUES ("349", "1"); INSERT INTO document_functional_areas VALUES ("961", "8"); INSERT INTO document_functional_areas VALUES ("989", "1"); INSERT INTO document_functional_areas VALUES ("706", "8"); INSERT INTO document_functional_areas VALUES ("713", "8"); CREATE TABLE "document_sections" ( "section_id" integer, "document_code" text, "section_sequence" integer, "section_code" text, "section_title" text ); INSERT INTO document_sections VALUES (12, "714", 6072, "70", "after"); INSERT INTO document_sections VALUES (15, "217", 4510, "14", "after"); INSERT INTO document_sections VALUES (19, "675", 7236, "90", "after"); INSERT INTO document_sections VALUES (21, "675", 9847, "72", "before"); INSERT INTO document_sections VALUES (23, "465", 8548, "49", "after"); INSERT INTO document_sections VALUES (27, "566", 6016, "18", "before"); INSERT INTO document_sections VALUES (38, "930", 6521, "58", "after"); INSERT INTO document_sections VALUES (40, "465", 4964, "93", "after"); INSERT INTO document_sections VALUES (54, "961", 4794, "34", "before"); INSERT INTO document_sections VALUES (57, "989", 6349, "22", "after"); INSERT INTO document_sections VALUES (62, "621", 5552, "16", "after"); INSERT INTO document_sections VALUES (86, "706", 2170, "60", "after"); INSERT INTO document_sections VALUES (89, "566", 2354, "34", "before"); INSERT INTO document_sections VALUES (93, "713", 4433, "91", "before"); INSERT INTO document_sections VALUES (95, "621", 8805, "38", "before"); CREATE TABLE "document_sections_images" ( "section_id" integer, "image_id" integer ); INSERT INTO document_sections_images VALUES (93, 6); INSERT INTO document_sections_images VALUES (86, 2); INSERT INTO document_sections_images VALUES (27, 3); INSERT INTO document_sections_images VALUES (12, 12); INSERT INTO document_sections_images VALUES (19, 12); INSERT INTO document_sections_images VALUES (38, 12); INSERT INTO document_sections_images VALUES (89, 8); INSERT INTO document_sections_images VALUES (23, 8); INSERT INTO document_sections_images VALUES (40, 5); INSERT INTO document_sections_images VALUES (19, 2); INSERT INTO document_sections_images VALUES (62, 14); INSERT INTO document_sections_images VALUES (21, 2); INSERT INTO document_sections_images VALUES (86, 4); INSERT INTO document_sections_images VALUES (15, 14); INSERT INTO document_sections_images VALUES (54, 12); INSERT INTO document_sections_images VALUES (38, 7); INSERT INTO document_sections_images VALUES (15, 13); INSERT INTO document_sections_images VALUES (27, 10); INSERT INTO document_sections_images VALUES (40, 6); INSERT INTO document_sections_images VALUES (19, 6); COMMIT;