Search.setIndex({"docnames": ["PART1_SQL/01-sql-basics/sql-basics", "PART1_SQL/02-data-retrieval/data-retrieval", "PART1_SQL/03-expressions/expressions", "PART1_SQL/04-multiple-tables/multiple-tables", "PART1_SQL/05-data-modification/data-modification", "PART1_SQL/06-table-creation/table-creation", "PART1_SQL/07-constraints/constraints", "PART1_SQL/08-subqueries/subqueries", "PART1_SQL/09-grouping-and-aggregation/grouping-and-aggregation", "PART1_SQL/10-set-operations/set-operations", "PART1_SQL/11-advanced-topics/advanced-topics", "PART1_SQL/index", "PART2_DATA_MODELING/01-introduction/introduction", "PART2_DATA_MODELING/02-ERD/ERD", "PART2_DATA_MODELING/03-ERD-to-relational/ERD-to-relational", "PART2_DATA_MODELING/04-other-notations/other-notations", "PART2_DATA_MODELING/index", "PART3_RELATIONAL_DATABASE_THEORY/01-relational-model/relational-model", "PART3_RELATIONAL_DATABASE_THEORY/02-relational-algebra/relational-algebra", "PART3_RELATIONAL_DATABASE_THEORY/03-normalization/normalization", "PART3_RELATIONAL_DATABASE_THEORY/04-sql-vs-theory/sql-vs-theory", "PART3_RELATIONAL_DATABASE_THEORY/index", "appendix-a-datasets/datasets", "appendix-b-reference/reference", "front-matter/acknowledgments", "front-matter/preface", "index", "references/references"], "filenames": ["PART1_SQL/01-sql-basics/sql-basics.rst", "PART1_SQL/02-data-retrieval/data-retrieval.rst", "PART1_SQL/03-expressions/expressions.rst", "PART1_SQL/04-multiple-tables/multiple-tables.rst", "PART1_SQL/05-data-modification/data-modification.rst", "PART1_SQL/06-table-creation/table-creation.rst", "PART1_SQL/07-constraints/constraints.rst", "PART1_SQL/08-subqueries/subqueries.rst", "PART1_SQL/09-grouping-and-aggregation/grouping-and-aggregation.rst", "PART1_SQL/10-set-operations/set-operations.rst", "PART1_SQL/11-advanced-topics/advanced-topics.rst", "PART1_SQL/index.rst", "PART2_DATA_MODELING/01-introduction/introduction.rst", "PART2_DATA_MODELING/02-ERD/ERD.rst", "PART2_DATA_MODELING/03-ERD-to-relational/ERD-to-relational.rst", "PART2_DATA_MODELING/04-other-notations/other-notations.rst", "PART2_DATA_MODELING/index.rst", "PART3_RELATIONAL_DATABASE_THEORY/01-relational-model/relational-model.rst", "PART3_RELATIONAL_DATABASE_THEORY/02-relational-algebra/relational-algebra.rst", "PART3_RELATIONAL_DATABASE_THEORY/03-normalization/normalization.rst", "PART3_RELATIONAL_DATABASE_THEORY/04-sql-vs-theory/sql-vs-theory.rst", "PART3_RELATIONAL_DATABASE_THEORY/index.rst", "appendix-a-datasets/datasets.rst", "appendix-b-reference/reference.rst", "front-matter/acknowledgments.rst", "front-matter/preface.rst", "index.rst", "references/references.rst"], "titles": ["1.1. Basics", "1.2. Data retrieval", "1.3. Expressions", "1.4. Queries on multiple tables", "1.5. Modifying data", "1.6. Data types and table creation", "1.7. Keys and constraints", "1.8. Subqueries", "1.9. Grouping and aggregation", "1.10. Set operations", "1.11. Advanced topics", "1. SQL", "2.1. Introduction to data modeling", "2.2. Entity-relationship diagrams", "2.3. Converting ERD to a relational model", "2.4. ERD alternatives and variations", "2. DATA MODELING", "3.1. The relational model of the database", "3.2. Relational algebra", "3.3. Normalization", "3.4. Differences between SQL and the relational model", "3. RELATIONAL DATABASE THEORY", "Appendix A: Example datasets used in this book", "Appendix B: SQL Reference", "Acknowledgments", "Preface", "A Practical Introduction to Databases", "References"], "terms": {"part": [0, 2, 3, 5, 6, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 27], "1": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 13, 14, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27], "thi": [0, 5, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26], "book": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 21, 23, 24, 25, 26], "i": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "all": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "about": [0, 1, 2, 3, 4, 5, 7, 8, 11, 12, 13, 17, 18, 19, 20, 22], "most": [0, 1, 2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "popular": [0, 3, 4, 11, 15, 19, 22], "relat": [0, 1, 3, 5, 6, 9, 10, 11, 12, 13, 15, 16, 19, 22, 23, 25, 26], "main": [0, 2, 10, 11, 23], "focu": [0, 6, 11, 13, 19, 25], "The": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 23, 25, 26, 27], "goal": [0, 2, 19, 25], "chapter": [0, 5, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "introduc": [0, 2, 3, 6, 11, 13, 16, 17, 18, 22], "simpl": [0, 1, 2, 4, 5, 6, 7, 8, 9, 11, 13, 14, 15, 17, 18, 19, 20], "featur": [0, 13, 22], "you": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 22, 23, 24, 25], "learn": [0, 1, 2, 3, 12, 20], "how": [0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "get": [0, 1, 2, 3, 4, 5, 7, 8, 9, 17, 18, 19, 23, 26], "out": [0, 1, 2, 3, 5, 6, 8, 10, 13, 18, 19, 22, 23, 25], "textbook": [0, 1, 3, 5, 7, 22, 23, 24, 25], "": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25], "befor": [0, 2, 3, 4, 5, 7, 8, 13, 14, 18, 22], "we": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "start": [0, 2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 15, 17, 18, 19, 23, 25], "should": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17, 19, 20, 21, 22, 23], "defin": [0, 2, 3, 4, 5, 6, 8, 9, 10, 13, 17, 18, 19, 20, 22, 23], "two": [0, 1, 2, 3, 5, 6, 7, 8, 9, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "term": [0, 7, 9, 14, 15, 17, 18, 19, 22, 25], "an": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "organ": [0, 1, 6, 8, 11, 13, 14, 17, 19, 22, 27], "collect": [0, 1, 3, 7, 9, 14, 17, 19, 23, 26], "manag": [0, 2, 5, 7, 9, 13, 14, 19, 22], "dbm": [0, 1, 23], "softwar": [0, 3, 6, 12, 13, 15, 18, 19, 20, 22, 25], "storag": [0, 3, 5, 23], "provid": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "facil": [0, 3, 8], "search": [0, 14, 17, 22, 26], "modifi": [0, 1, 2, 5, 6, 7, 11, 13, 15, 17, 19, 22, 23, 26], "word": [0, 3, 14, 17, 22], "frequent": [0, 2, 9, 10, 13, 17, 19, 23], "shorthand": 0, "mean": [0, 2, 3, 5, 6, 7, 8, 10, 13, 17, 18, 19, 20, 22, 23, 25], "both": [0, 2, 3, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23], "usag": [0, 5, 6, 7, 9, 10, 12, 23], "can": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "found": [0, 3, 4, 6, 8, 10], "also": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "gener": [0, 2, 3, 4, 5, 6, 7, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 22, 23, 27], "synonym": [0, 5, 7, 23], "while": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22], "contain": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 17, 18, 19, 20, 22, 23], "mani": [0, 1, 2, 5, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24], "type": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21, 22, 26], "object": [0, 5, 7, 9, 10, 13, 17, 18, 19, 23], "store": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 17, 18, 19, 20, 22, 23], "each": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "ha": [0, 2, 3, 4, 6, 7, 8, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23], "name": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 17, 18, 19, 20, 22, 23], "which": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "usual": [0, 1, 2, 3, 5, 6, 8, 14, 15, 17, 18, 19, 20, 23], "some": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25], "indic": [0, 2, 3, 6, 8, 13, 14, 15, 16, 18, 19, 20, 22, 23], "what": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17, 18, 19, 22, 23], "kind": [0, 3, 5, 7, 12, 13, 14, 18, 19], "associ": [0, 5, 6, 9, 13, 14, 15, 17, 18, 19, 20, 22], "actual": [0, 1, 2, 3, 4, 5, 7, 10, 13, 15, 18, 19, 20, 22, 23], "row": [0, 2, 3, 5, 6, 8, 9, 10, 11, 14, 17, 19, 20, 22, 23], "one": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23], "point": [0, 2, 3, 13, 14, 19, 22, 25], "valu": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 18, 19, 20, 21, 22, 23, 25], "visual": [0, 3, 13, 15, 18], "well": [0, 1, 2, 3, 7, 8, 13, 14, 15, 17, 18, 19, 20, 21, 22], "illustr": [0, 3, 8, 9, 17, 19, 22], "abov": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 17, 18, 19, 20, 22, 23], "show": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 16, 17, 18, 19, 21, 22], "fruit_stand": [0, 22], "three": [0, 2, 3, 5, 7, 9, 13, 14, 19, 20, 21, 23, 25], "item": [0, 3, 6, 17], "price": [0, 3, 4, 8, 13, 14, 22], "unit": [0, 4, 8, 13, 22], "although": [0, 2, 3, 5, 6, 7, 13, 14, 15, 17, 19, 21, 23, 25], "doe": [0, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17, 18, 19, 22, 23], "might": [0, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 17, 18, 19, 22], "infer": [0, 21, 23], "text": [0, 1, 2, 4, 5, 13, 14, 15, 17, 19, 21, 22, 23, 25], "decim": [0, 2], "number": [0, 1, 2, 3, 4, 7, 8, 9, 10, 11, 13, 14, 17, 18, 19, 20, 22], "inform": [0, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 17, 18, 19, 20, 22, 23, 27], "fruit": [0, 22], "sold": [0, 3, 4, 8, 22], "stand": [0, 2, 18, 19, 22], "import": [0, 2, 3, 4, 5, 9, 12, 13, 17, 18, 19], "characterist": 0, "modern": [0, 14, 19, 20], "thei": [0, 2, 3, 5, 6, 7, 9, 10, 13, 14, 15, 17, 19, 20, 22, 23], "abstract": [0, 3, 12, 13, 15, 18, 22], "low": [0, 25], "level": [0, 12, 13, 16], "oper": [0, 1, 4, 5, 6, 7, 11, 19, 20, 21, 26], "file": [0, 5], "index": [0, 5, 11, 15, 16, 20, 21, 23, 26, 27], "so": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 17, 18, 19, 23, 24], "forth": [0, 1, 3, 8, 12, 13, 19], "high": [0, 12, 13, 25], "request": [0, 25], "ar": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "typic": [0, 3, 4, 5, 6, 7, 10, 15, 17, 18, 19, 20, 22, 23], "express": [0, 1, 3, 4, 5, 6, 8, 9, 11, 17, 19, 20, 21, 23, 26], "program": [0, 2, 3, 5, 6, 12, 20, 22, 24, 25], "differ": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 14, 15, 17, 18, 19, 21, 22, 23, 25, 26], "from": [0, 1, 2, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 27], "tend": [0, 6, 7], "declar": [0, 5, 17], "rather": [0, 2, 3, 5, 7, 8, 9, 13, 14, 15, 17, 18, 19, 20, 23], "than": [0, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 17, 18, 20, 22, 23], "imper": 0, "wherea": 0, "requir": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 19, 20, 22, 23, 25], "programm": [0, 3, 13, 20], "specifi": [0, 1, 2, 3, 5, 6, 8, 11, 14, 15, 18, 23], "exactli": [0, 1, 2, 3, 4, 5, 7, 9, 13, 15, 17, 18, 19, 22, 23], "step": [0, 3, 10, 13, 14, 18, 19, 25], "take": [0, 2, 3, 5, 6, 9, 10, 13, 17, 18, 19, 20], "perform": [0, 2, 3, 4, 5, 6, 9, 18, 19, 20], "task": [0, 1, 2], "simpli": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 19, 22, 23], "describ": [0, 3, 4, 5, 6, 7, 9, 13, 14, 15, 17, 18, 19, 20, 22], "desir": [0, 1, 2, 3, 6, 9, 11, 14, 18, 19, 22], "outcom": [0, 2, 20], "wa": [0, 1, 2, 3, 5, 7, 8, 9, 10, 14, 17, 18, 19, 20, 22, 25], "develop": [0, 5, 13, 14, 15, 19, 20, 25], "engin": [0, 20, 22, 25], "ibm": 0, "1970": 0, "standard": [0, 2, 3, 5, 6, 8, 9, 14, 17, 18, 22, 23, 27], "ansi": 0, "iso": [0, 5, 17, 27], "1986": 0, "regular": [0, 2, 3, 4, 5, 13, 15, 16, 23], "updat": [0, 6, 7, 11, 12, 13, 14, 17, 25], "follow": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 17, 18, 19, 20, 23], "new": [0, 2, 3, 4, 5, 6, 8, 9, 12, 13, 14, 17, 18, 19, 22, 25], "continu": [0, 3, 9], "technologi": [0, 20, 21, 25, 27], "applic": [0, 2, 5, 6, 7, 8, 9, 10, 13, 15, 18, 19, 20, 25], "evolv": [0, 19, 20], "even": [0, 2, 3, 6, 9, 10, 12, 13, 15, 17, 18, 19, 20, 21, 23], "though": [0, 2, 3, 4, 6, 7, 8, 9, 12, 17, 19, 20], "exist": [0, 3, 5, 6, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 22], "have": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23], "slightli": [0, 6, 14, 19, 22], "implement": [0, 2, 3, 5, 6, 7, 8, 9, 14, 15, 16, 20, 22, 23], "model": [0, 3, 18, 19, 21, 22, 25, 26], "similarli": [0, 2, 3, 6, 13, 15, 17, 18, 19, 22], "dialect": [0, 1], "despit": [0, 19], "share": [0, 3, 4, 8, 13, 15, 17, 19, 22, 25, 27], "enough": [0, 17], "common": [0, 2, 3, 5, 6, 8, 9, 11, 12, 14, 16, 17, 18, 19, 22, 25, 26, 27], "care": [0, 3, 6, 14, 20], "highli": [0, 19, 22], "portabl": [0, 5], "code": [0, 3, 4, 5, 6, 13, 14, 15, 17, 22], "written": [0, 2, 3, 7, 8, 9, 10, 13, 17, 18], "sqlite": [0, 1, 2, 3, 6, 7, 8, 9, 11, 23, 25, 27], "thu": [0, 2, 3, 4, 5, 6, 14, 17, 18, 19, 22, 23], "To": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 13, 17, 18, 19, 20, 22, 25], "extent": [0, 4, 25], "possibl": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "howev": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 13, 14, 17, 18, 19, 20, 21, 22, 23], "other": [0, 1, 2, 3, 5, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25], "between": [0, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 26], "note": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 23, 25, 26], "where": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 18, 19, 20, 22, 23], "signific": [0, 5, 13, 22, 23], "due": [0, 3, 5, 6, 14, 15, 17, 19, 20], "larg": [0, 1, 3, 5, 13, 14, 15, 18, 19, 20, 23, 27], "dbmse": [0, 1, 23], "avail": [0, 2, 3, 5, 7, 8, 9, 10, 13, 14, 17, 19, 20, 22, 23, 25], "onli": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 19, 20, 22, 23], "few": [0, 2, 3, 6, 7, 12, 14, 19], "includ": [0, 1, 2, 3, 5, 7, 8, 9, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "postgresql": [0, 5, 23, 27], "mysql": [0, 2, 3, 5, 6, 9, 23, 27], "oracl": [0, 2, 3, 4, 5, 9, 23, 27], "microsoft": [0, 22, 23, 27], "server": [0, 2, 5, 19, 23, 27], "run": [0, 1, 2, 3, 5, 7, 9, 12, 13, 14, 18, 22], "directli": [0, 3, 9, 10, 15, 22], "insid": [0, 3, 7], "onlin": [0, 25], "more": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 18, 19, 20, 22, 23, 25], "below": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "appendix": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 25, 26], "A": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 19, 20, 23, 24, 25, 27], "script": [0, 5, 22, 25], "list": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "element": [0, 3, 10, 12, 13, 15, 17, 19, 22], "distinct": [0, 2, 3, 4, 8, 9, 11, 17, 19, 20, 22, 23], "made": [0, 4, 5, 7, 14, 17, 18, 19, 22, 23, 25], "act": [0, 2, 7, 10, 13, 14, 18, 23], "chang": [0, 1, 2, 3, 4, 5, 6, 7, 13, 14, 17, 18, 19, 22, 25], "state": [0, 2, 3, 5, 13, 15, 17, 19, 22], "interchang": 0, "read": [0, 1, 2, 3, 5, 7, 9, 10, 13, 19, 21, 23], "much": [0, 12, 13, 17, 19, 22, 24], "like": [0, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 18, 19, 22, 23, 24], "english": [0, 2, 19, 22], "sentenc": [0, 13], "veri": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 17, 18, 19, 20, 22], "strict": 0, "often": [0, 1, 3, 4, 5, 7, 14, 15, 17, 19, 23], "pronounc": 0, "sequel": 0, "equal": [0, 1, 2, 3, 7, 17, 18, 19, 20, 23], "valid": [0, 1, 2, 3, 4, 5, 6, 13, 14, 17, 19, 23], "sai": [0, 2, 3, 6, 7, 13, 14, 15, 17, 19, 20], "letter": [0, 2, 5, 14, 18], "In": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "its": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "simplest": [0, 3, 4, 5, 6, 8, 14], "form": [0, 2, 3, 4, 5, 6, 7, 8, 12, 13, 15, 18, 21, 25], "just": [0, 1, 2, 3, 5, 6, 7, 8, 9, 14, 17, 18, 19, 22, 23], "need": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 25], "know": [0, 2, 3, 4, 5, 7, 8, 13, 17, 19, 20, 22, 23], "here": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 18, 19, 22, 25], "special": [0, 2, 4, 5, 6, 13, 14, 17, 18, 19, 23, 24], "symbol": [0, 15], "let": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 13, 17, 18, 19, 22], "alreadi": [0, 2, 3, 4, 5, 6, 8, 9, 10, 13, 14, 17, 19, 20, 22], "set": [0, 1, 2, 3, 4, 5, 6, 8, 11, 13, 14, 15, 19, 21, 22, 23, 26, 27], "up": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 13, 14, 17, 19, 22, 23, 25], "click": [0, 1, 2, 3, 4, 5, 7, 8, 9], "see": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17, 18, 19, 22, 23], "result": [0, 1, 2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "shown": [0, 2, 3, 13, 14, 15, 17, 18, 22, 23], "across": 0, "top": [0, 2, 19, 22], "said": [0, 2, 3, 13], "claus": [0, 2, 3, 4, 8, 9, 10, 11, 22], "keyword": [0, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22], "option": [0, 3, 4, 5, 6, 8, 10, 15, 16, 18, 19, 22, 23], "sens": [0, 3, 7, 8, 9, 13, 14, 17, 18, 19, 20, 22], "everi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17, 18, 19, 22], "necessari": [0, 2, 3, 4, 5, 6, 7, 12, 13, 14, 15, 17, 18, 20, 22], "produc": [0, 2, 3, 5, 6, 8, 12, 13, 14, 15, 17, 19, 20], "certain": [0, 2, 4, 6, 13, 14, 15, 17, 18, 19, 23], "mai": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "wish": [0, 1, 2, 3, 4, 5, 6, 9, 10, 13, 18, 22, 25], "order": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 17, 18, 20, 21, 23, 25], "replac": [0, 2, 4, 19, 22, 23], "our": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20], "comma": [0, 1, 7, 17, 22], "separ": [0, 1, 3, 6, 7, 8, 10, 13, 14, 15, 17, 19, 22], "past": [0, 1, 3, 4, 5, 17, 23], "tool": [0, 1, 2, 3, 4, 5, 7, 9, 13, 15, 22, 25], "There": [0, 1, 2, 3, 5, 6, 7, 9, 12, 13, 14, 17, 18, 19, 20, 22, 23], "lot": [0, 3], "do": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23], "explor": [0, 2, 3, 6, 14, 15, 17, 18, 19, 25], "futur": [0, 3, 14, 17, 19, 25], "2": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 22, 23, 25, 26, 27], "discuss": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 17, 18, 19, 23, 25], "subset": [0, 1, 8, 17, 18, 19, 20], "sort": [0, 1, 2, 5, 8, 13, 20, 23], "3": [0, 1, 2, 3, 5, 7, 8, 9, 12, 13, 14, 15, 17, 18, 19, 21, 22, 23, 25], "delv": 0, "deeper": [0, 17, 18], "4": [0, 1, 2, 4, 5, 6, 7, 9, 12, 13, 14, 17, 18, 19, 21, 22, 23, 25, 26], "connect": [0, 3, 13, 14, 15, 17, 20], "multipl": [0, 2, 5, 6, 7, 8, 9, 10, 11, 13, 14, 17, 18, 19, 20, 23, 26], "complex": [0, 1, 2, 3, 4, 6, 9, 10, 14, 15, 16, 18, 19, 20, 23], "advanc": [0, 11, 15, 24, 25, 26], "topic": [0, 1, 3, 5, 11, 13, 18, 19, 25, 26], "later": [0, 1, 2, 5, 6, 7, 10, 13, 14, 15, 17, 18, 19], "Of": [0, 4, 23], "cours": [0, 2, 3, 4, 7, 8, 13, 14, 17, 19, 20, 25], "put": [0, 1, 2, 3, 4, 5, 6, 7, 8, 14, 16, 17, 22], "first": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 17, 18, 19, 20, 21, 22, 23, 25], "numer": [0, 2, 5, 7, 19, 22, 23], "when": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "want": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17, 18, 19, 22], "give": [0, 1, 2, 3, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22], "try": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 19, 22], "my_purchas": 0, "As": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 18, 19, 20, 22], "soon": [0, 9], "ani": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23, 25], "yet": [0, 2, 3, 13, 14, 19], "add": [0, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 17, 19, 20], "insert": [0, 5, 6, 11, 14, 17, 22], "INTO": [0, 4, 5, 6], "appl": [0, 2, 5, 18], "6": [0, 2, 3, 4, 6, 8, 9, 13, 17, 18, 19], "98": 0, "melon": 0, "0": [0, 2, 4, 6, 9, 17, 22, 25, 26, 27], "89": 0, "your": [0, 1, 2, 3, 4, 5, 6, 7, 9, 12, 13, 14, 15, 17, 19, 22, 23, 24], "own": [0, 3, 6, 7, 14, 17, 19, 22], "them": [0, 1, 2, 3, 4, 5, 6, 7, 9, 13, 14, 15, 17, 18, 19, 20, 22, 25], "Be": [0, 5, 13, 26], "sure": [0, 1, 2, 4, 5, 13], "singl": [0, 1, 2, 3, 4, 6, 7, 8, 9, 13, 14, 17, 18, 19, 22], "quot": [0, 1, 2, 3], "around": [0, 7, 22], "string": [0, 1, 3, 6, 7, 11, 18, 19, 20, 22], "support": [0, 2, 3, 4, 5, 6, 7, 9, 14, 15, 17, 19, 22, 24, 25], "simplic": [0, 3, 17], "full": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 16, 18, 19, 22], "creation": [0, 11, 12, 26], "wait": [0, 7], "until": [0, 3, 7], "definit": [0, 5, 6, 13, 15, 17, 18, 19, 20, 23, 27], "construct": [0, 7, 13, 15, 18, 25], "likewis": [0, 4, 17, 19, 22], "detail": [0, 2, 3, 5, 8, 12, 13, 15, 19, 22, 23, 25], "5": [0, 5, 6, 13, 14, 17, 18, 19, 20, 22, 23], "same": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23, 24], "remov": [0, 5, 6, 7, 9, 10, 11, 17, 18, 19, 22, 23], "properli": [0, 3, 13, 14, 17], "termin": 0, "semicolon": 0, "allow": [0, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 17, 18, 19, 22, 23, 25], "untermin": 0, "true": [0, 1, 2, 3, 5, 6, 7, 9, 14, 17, 18, 19, 20, 23], "fact": [0, 1, 3, 6, 7, 13, 17, 18, 19], "alwai": [0, 1, 3, 5, 6, 7, 14, 17, 18, 19, 20, 22, 23], "becom": [0, 6, 10, 13, 14, 18, 19, 20], "send": 0, "time": [0, 3, 4, 7, 9, 10, 11, 13, 14, 17, 18, 19, 22, 25], "One": [0, 1, 2, 4, 5, 6, 9, 11, 15, 16, 17, 18, 19, 20], "implic": [0, 3, 17], "entir": [0, 3, 4, 6, 7, 8, 17, 22], "permiss": 0, "case": [0, 2, 5, 6, 7, 8, 9, 11, 13, 14, 17, 18, 19, 20, 22, 23], "prefer": [0, 3, 5, 7, 9, 13, 14, 15, 17, 19, 25], "write": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 18, 19, 23, 24], "line": [0, 6, 13, 14, 15, 22], "correct": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17, 18, 19, 20, 22, 24], "equival": [0, 2, 3, 5, 6, 7, 9, 13, 15, 17, 18, 19, 22, 23], "next": [0, 1, 3, 10, 13, 14, 15, 17, 18, 19], "insensit": [0, 3], "That": [0, 2, 3, 6, 7, 13, 18, 19, 23], "capit": [0, 2], "thing": [0, 2, 5, 6, 8, 11, 13, 19, 22], "function": [0, 3, 5, 6, 7, 8, 11, 20, 21, 22, 26], "etc": [0, 1, 2, 7, 9, 10, 14, 18, 19, 22, 23], "behavior": [0, 2, 3, 6, 9, 20, 22, 23], "vari": [0, 1, 2, 3, 5, 6, 12, 15, 17, 18, 23], "among": [0, 2, 5, 23, 25], "fairli": [0, 10, 12, 13, 18, 19, 23], "lowercas": [0, 2, 3, 13, 23], "help": [0, 1, 3, 5, 6, 7, 13, 17, 22, 24, 25], "distinguish": [0, 2, 3, 7, 13], "those": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15, 17, 18, 20, 22, 23], "teacher": [0, 19], "place": [0, 1, 3, 6, 7, 9, 10, 13, 19, 23], "work": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 20, 21, 22], "internet": [0, 22], "occasion": [0, 6, 18, 19], "annot": [0, 13, 15], "multi": [0, 2, 6, 19], "dash": [0, 13], "throughout": [0, 15, 18, 22], "If": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 15, 17, 18, 19, 20, 22, 23], "make": [0, 2, 3, 4, 5, 6, 7, 8, 10, 13, 14, 17, 18, 19, 22, 23], "page": [0, 4, 5, 19, 22, 26], "It": [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "copi": [0, 4, 5, 7, 8, 22], "load": [0, 5, 22], "web": [0, 3, 19, 22], "browser": [0, 3, 4, 5, 7, 22], "whenev": [0, 2, 19], "view": [0, 1, 4, 5, 11, 13, 18, 22, 27], "disappear": 0, "go": [0, 3, 7, 12, 14, 19], "anoth": [0, 2, 3, 4, 5, 6, 7, 9, 10, 13, 14, 17, 18, 19, 20, 23], "close": [0, 3, 13, 18, 19], "good": [0, 1, 3, 4, 5, 7, 8, 13, 14, 17, 19, 22], "experi": [0, 2, 22], "cannot": [0, 2, 3, 4, 5, 6, 7, 8, 10, 13, 14, 17, 18, 19, 20, 22], "harm": [0, 13], "anyth": [0, 2, 7, 17], "strongli": [0, 3, 5, 19], "encourag": [0, 13, 23, 24, 25], "idea": [0, 4, 7], "spend": [0, 3, 13], "plai": [0, 13, 17], "bad": [0, 4], "leav": [0, 3, 6, 14, 18, 19], "return": [0, 1, 2, 3, 4, 7, 8, 9, 10, 17, 19, 20, 22, 23], "document": [0, 1, 2, 5, 8, 12, 13, 15, 19, 23, 25, 27], "comput": [0, 3, 7, 8, 9, 12, 13, 14, 15, 19, 24, 27], "save": [0, 5, 10, 19], "scratch": [0, 11, 22], "activecod": 0, "pencil": 0, "instead": [0, 2, 3, 4, 6, 7, 13, 14, 15, 17, 18, 19, 20], "empti": [0, 2, 5, 9, 17, 18, 19], "through": [0, 2, 3, 6, 19, 21, 25], "base": [0, 1, 2, 4, 5, 8, 9, 13, 17, 20, 22, 23, 27], "variou": [0, 2, 3, 5, 6, 12, 13, 15, 22, 23], "execut": [0, 2, 7, 10, 18], "addit": [0, 1, 2, 3, 6, 7, 8, 10, 11, 13, 14, 15, 17, 19, 22, 23, 25], "sqlite_mast": [0, 5, 22], "select": [1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 20, 21, 22], "queri": [1, 2, 6, 7, 8, 9, 10, 11, 12, 14, 17, 19, 20, 21, 22, 26], "specif": [1, 2, 3, 5, 6, 7, 8, 11, 12, 13, 15, 17, 18, 19, 20, 22, 23], "output": [1, 2, 3, 8, 9], "simple_book": [1, 2, 3, 17, 19, 22], "simple_author": [1, 2, 3, 17, 22], "suggest": [1, 3, 13, 18, 24], "smaller": [1, 3, 19], "simplifi": [1, 18, 19, 22], "version": [1, 13, 14, 15, 19, 22, 23], "concern": [1, 2, 3, 13, 16, 17, 18, 19, 20], "author": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 17, 22, 24, 25], "explan": [1, 2, 3, 4, 5, 13, 14], "now": [1, 2, 3, 4, 5, 6, 8, 13, 14, 15, 17, 18, 19, 20], "recommend": [1, 5, 19, 23, 25], "interact": [1, 2, 3, 4, 5, 7, 8, 11, 12, 13, 22, 25], "purpos": [1, 3, 5, 6, 8, 15, 18, 19, 23, 25], "rememb": [1, 2, 3, 4, 17, 19], "previou": [1, 3, 8, 10, 14, 17, 18, 19], "column": [1, 5, 6, 8, 9, 11, 13, 14, 15, 17, 19, 20, 22, 23], "titl": [1, 2, 3, 4, 6, 7, 8, 9, 13, 17, 18, 19, 22], "especi": [1, 3, 13, 15, 18], "consist": [1, 3, 4, 5, 6, 8, 12, 14, 18, 19, 21, 22], "evalu": [1, 2, 3, 7, 8, 20, 23, 25], "fals": [1, 2, 5, 14, 17, 19, 23], "boolean": [1, 3, 5, 6, 9, 11, 17, 18], "after": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 17, 18, 19, 20], "exampl": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 20, 21, 23, 25, 26, 27], "charact": [1, 3, 7, 11, 14, 18, 19, 20, 22], "liter": [1, 5, 7, 11], "sql": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 21, 25, 26], "enclos": [1, 2, 5, 7, 23], "doubl": [1, 3, 4, 5, 13, 19, 23], "ll": 1, "zero": [1, 2, 3, 5, 7, 8, 13, 15, 17, 23], "match": [1, 2, 3, 4, 6, 7, 8, 13, 14, 17, 18, 22, 23], "condit": [1, 3, 4, 6, 7, 8, 9, 10, 11, 18, 19, 22, 23], "genr": [1, 2, 3, 13, 17, 22], "romanc": 1, "surpris": [1, 14, 17], "databas": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 20, 25], "necessarili": [1, 7, 14, 15, 17, 18, 19], "particular": [1, 2, 3, 7, 8, 9, 13, 14, 15, 16, 17, 18, 19, 20, 22, 23], "fashion": [1, 2, 7, 8, 14, 18, 19], "rdbmse": 1, "permit": [1, 4, 5, 6, 14, 19, 20, 22, 23], "whatev": [1, 19], "conveni": [1, 17], "effici": [1, 19, 20], "For": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23], "initi": [1, 2, 4, 19, 22], "ad": [1, 3, 5, 6, 8, 11, 13, 14, 17, 19, 22, 23], "subsequ": [1, 2, 18], "modif": [1, 6, 7, 11, 21, 22], "statement": [1, 2, 5, 6, 10, 11, 13, 14, 17, 19, 20, 22], "being": [1, 2, 3, 4, 7, 9, 13, 14, 15, 17, 23], "re": [1, 5, 19, 22, 25], "mechan": [1, 4, 5, 8, 10, 11, 14, 18, 19, 22, 23], "criteria": [1, 3, 19, 22], "accomplish": [1, 3, 4, 5, 9, 18, 19, 23], "via": [1, 3, 4, 18, 22], "come": [1, 2, 3, 5, 7, 8, 9, 13, 14, 15, 17, 19, 22], "last": [1, 2, 3, 4, 18, 19], "kei": [1, 3, 5, 11, 14, 15, 16, 18, 20, 21, 22, 25, 26], "phrase": [1, 3, 6], "must": [1, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "date": [1, 3, 4, 6, 7, 8, 9, 10, 11, 13, 17, 19, 22, 25], "By": [1, 18, 19, 20], "default": [1, 2, 3, 4, 6, 11, 22, 23], "smallest": 1, "largest": 1, "earliest": [1, 7], "latest": 1, "bit": [1, 5, 7, 17, 18, 19, 23], "trickier": [1, 5], "becaus": [1, 2, 3, 5, 6, 7, 8, 17, 18, 19, 20, 23], "lexicograph": 1, "ascii": 1, "appli": [1, 2, 3, 4, 6, 8, 10, 13, 14, 15, 17, 18, 19, 20, 23, 25], "accord": [1, 7, 8, 10, 11, 17, 23], "group": [1, 2, 3, 7, 10, 11, 13, 17, 18, 22, 26], "suppos": [1, 2, 3, 4, 10, 13, 17, 20], "librari": [1, 2, 22, 26], "bookstor": [1, 3, 4, 8], "alphabet": 1, "could": [1, 2, 3, 4, 6, 7, 8, 9, 10, 13, 14, 17, 18, 19], "revers": [1, 18, 19, 20], "desc": [1, 3, 8], "descend": 1, "asc": 1, "ascend": [1, 23], "omit": [1, 3, 4, 15, 19, 23], "recent": [1, 3, 4, 8], "least": [1, 2, 3, 7, 10, 13, 14, 15, 17, 19, 20, 22], "publication_year": [1, 2, 3, 7, 9, 18, 22], "practic": [1, 3, 4, 5, 9, 12, 17, 19, 20, 22, 23, 25], "wai": [1, 2, 3, 4, 5, 6, 7, 9, 13, 14, 15, 17, 18, 19, 22, 23, 25], "record": [1, 2, 3, 4, 5, 6, 8, 9, 14, 17, 19, 22, 23], "easili": [1, 3, 7, 9, 10, 13], "end": [1, 2, 3, 6, 9, 13, 14, 15, 18, 19, 20, 23], "duplic": [1, 3, 6, 7, 8, 9, 13, 14, 17, 18, 20], "were": [1, 2, 3, 4, 6, 7, 9, 10, 13, 17, 18, 22, 23, 25], "interest": [1, 2, 6, 7, 8, 13, 15, 17, 18, 19, 20, 22, 25], "brows": 1, "weren": 1, "t": [1, 2, 3, 17, 22, 23, 27], "determin": [1, 2, 9, 13, 14, 17, 18, 19, 22, 25], "would": [1, 2, 3, 4, 6, 7, 9, 10, 13, 14, 15, 17, 18, 19, 20, 23, 24], "choic": [1, 3, 6, 7, 9, 13, 14, 17, 19, 20, 22, 25], "given": [1, 2, 3, 4, 5, 7, 9, 13, 14, 15, 17, 18, 19, 22, 23, 25], "small": [1, 3, 5, 6, 12, 13, 14, 17, 19, 22], "probabl": [1, 2, 3, 4, 7, 8, 13, 14, 19], "fine": [1, 4, 5, 14], "pretti": 1, "quickli": [1, 3, 12, 13, 19], "real": [1, 3, 4, 5, 14, 19, 22, 23], "thousand": [1, 7], "wouldn": 1, "discov": [1, 2, 13], "tell": [1, 2, 6, 15, 19], "discard": [1, 6, 8, 19], "u": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 23, 27], "choos": [1, 3, 9, 13, 14, 15, 17, 20, 22], "section": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 16, 17, 18, 19, 22, 23], "stuck": [1, 2, 3, 4, 5, 7, 8, 9], "answer": [1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 17, 18, 19, 20], "button": [1, 2, 3, 4, 5, 7, 8, 9], "find": [1, 2, 3, 5, 6, 7, 8, 9, 12, 13, 17, 18, 19, 22, 25], "scienc": [1, 2, 3, 9, 18, 19, 22, 24], "fiction": [1, 2, 3, 13, 14, 15, 18, 19, 22], "public": [1, 2, 7, 10, 18, 19, 22], "year": [1, 2, 3, 4, 7, 9, 10, 13, 17, 19, 20, 22, 23], "bodega": 1, "dream": 1, "publish": [1, 2, 3, 7, 17, 18, 19, 22, 24], "prior": [1, 3, 4, 10, 18, 19, 23], "1950": [1, 2, 18], "sinc": [1, 2, 3, 4, 6, 7, 9, 14, 15, 17, 18, 19, 20, 22, 23], "1980": [1, 2], "1979": 1, "third": [1, 3, 9, 10, 17, 20, 21], "null": [1, 3, 5, 7, 8, 9, 11, 14, 19, 20, 21, 23], "occur": [1, 2, 3, 5, 6, 9, 10, 13, 18, 19, 20], "cover": [1, 4, 5, 6, 7, 8, 10, 13, 14, 15, 18, 19, 20, 23, 25], "assum": [1, 4, 6, 7, 11, 14, 16, 17, 18, 19, 20, 22], "normal": [1, 2, 3, 8, 13, 14, 17, 18, 21, 25, 26], "collat": [1, 22, 23], "scope": [1, 3, 22], "pleas": [1, 9], "call": [2, 3, 5, 6, 7, 13, 14, 15, 17, 18, 19], "whether": [2, 3, 7, 9, 13, 15, 17, 19, 23], "BY": [2, 3, 5, 7, 8, 11, 22], "again": [2, 3, 5, 7, 9, 13, 14, 18, 19], "remind": [2, 3, 7, 9], "current": [2, 3, 4, 5, 7, 17, 19, 22, 23], "process": [2, 3, 10, 13, 14, 17, 19, 22], "examin": [2, 3, 4, 7, 9, 12, 13, 14, 19], "turn": [2, 3, 12, 13, 18, 19], "j": [2, 3, 7, 10, 18, 19, 22], "r": [2, 3, 10, 14, 19, 22], "tolkien": [2, 3, 10, 18, 19, 22], "compar": [2, 3, 5, 6, 7, 9, 15, 17, 18, 20, 22, 23], "overal": 2, "otherwis": [2, 3, 4, 7, 8, 9, 12, 14, 17, 19, 22, 23], "exclud": [2, 3, 8, 9, 18, 25], "recogn": [2, 5, 6, 18, 23], "understand": [2, 3, 5, 7, 10, 11, 12, 13, 14, 17, 18, 19, 20, 23], "basic": [2, 3, 4, 5, 8, 9, 11, 14, 15, 16, 18, 19, 21, 23, 26, 27], "convert": [2, 3, 13, 16, 23, 25, 26], "within": [2, 3, 7, 8, 10, 13, 14, 17, 20, 22], "data": [2, 3, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, 20, 25, 26], "further": [2, 3, 4, 6, 12, 13, 15, 17, 18, 19, 22], "encount": [2, 3, 5, 7, 15, 18, 19, 25], "14159": 2, "0008": 2, "depend": [2, 3, 7, 11, 13, 14, 15, 16, 17, 21, 23, 25], "abl": [2, 5, 7, 19, 22], "scientif": [2, 5, 19], "notat": [2, 3, 12, 13, 16, 17, 18, 19, 22], "format": [2, 3, 5, 14, 18, 19, 22], "instanc": [2, 3, 6, 7, 13, 14, 15, 17, 18, 22], "02e23": 2, "02": [2, 18, 19], "10": [2, 5, 6, 9, 18, 19, 22, 23], "23": 2, "twice": [2, 6, 9, 19], "tricki": [2, 4], "accept": [2, 19], "wide": [2, 3, 13, 15, 17, 18, 22, 23], "talk": [2, 3, 5, 7, 13], "ask": [2, 4, 7, 8, 9, 13, 17, 18, 19, 20], "sometim": [2, 3, 5, 6, 7, 8, 13, 15, 17, 19, 20, 23], "itself": [2, 3, 6, 9, 10, 13, 14, 15, 17, 19], "42": [2, 3, 6, 7, 18], "hello": [2, 5, 7, 23], "meaning": 2, "b": [2, 3, 4, 5, 6, 7, 8, 13, 14, 15, 17, 19, 26], "extens": [2, 5, 18, 19], "commonli": [2, 3, 5, 6, 8, 13, 19, 22, 23], "ones": [2, 3, 14, 18, 19], "along": [2, 4, 5, 6, 8, 10, 14, 19, 25], "ve": 2, "seen": [2, 7, 18, 19], "test": [2, 4, 5, 6, 7, 10, 13, 19, 22, 23], "inequ": 2, "non": [2, 3, 4, 5, 12, 13, 17, 18, 19, 20, 22, 23], "languag": [2, 3, 6, 11, 12, 13, 15, 19, 20, 22, 23, 27], "difficult": [2, 3, 9, 12, 14, 18, 19, 20], "habit": 2, "break": [2, 3, 4, 8, 19], "less": [2, 5, 8, 12, 18, 19, 20, 23], "greater": [2, 5, 7, 15, 18, 20, 23], "ternari": 2, "expect": [2, 3, 4, 13, 14, 17, 20], "arithmet": 2, "subtract": [2, 5, 9, 18, 19, 23], "divis": [2, 21, 23], "ensur": [2, 3, 5, 6, 8, 10, 17, 19, 20, 22, 25], "think": [2, 3, 4, 7, 9, 12, 13, 17, 19, 23], "calcul": [2, 13, 20], "user": [2, 3, 4, 5, 6, 9, 12, 13, 15, 19, 20, 22], "dual": 2, "7": [2, 3, 4, 5, 13, 14, 17, 18, 23], "addition": [2, 3, 13, 14, 22, 23], "logarithm": [2, 23], "log": [2, 19, 23], "ln": [2, 23], "log10": [2, 23], "exponenti": [2, 23], "exp": [2, 23], "squar": [2, 3, 23], "root": [2, 19, 23], "sqrt": [2, 23], "modulu": [2, 23], "mod": [2, 23], "floor": [2, 3, 13, 23], "ceil": [2, 23], "trigonometr": 2, "sin": [2, 23], "co": [2, 23], "1e5": 2, "yourself": 2, "financi": [2, 24], "integ": [2, 3, 6, 7, 9, 14, 17, 18, 20, 22], "float": 2, "problem": [2, 3, 6, 7, 9, 12, 13, 17, 18, 19, 20], "somewhat": [2, 4, 11, 20, 23], "contriv": [2, 4, 20], "consid": [2, 3, 5, 6, 7, 8, 9, 13, 14, 15, 17, 18, 19, 20, 23], "centuri": [2, 3], "1st": 2, "tradition": 2, "100": [2, 3, 5, 6, 22], "20th": 2, "1901": 2, "2000": [2, 22], "With": [2, 8, 14, 17, 18, 19], "littl": [2, 19], "math": [2, 19], "extract": [2, 8, 22, 23], "99": [2, 3, 5, 23], "AS": [2, 3, 4, 5, 7, 8, 9, 10, 22, 23], "parenthes": [2, 4, 5, 7, 9, 17, 18, 23], "enforc": [2, 11, 17, 19, 20], "someth": [2, 4, 5, 6, 7, 17, 18, 19, 23], "renam": [2, 3, 19, 21], "complet": [2, 3, 6, 7, 9, 14, 16, 17, 19, 23], "vertic": [2, 15], "bar": 2, "concaten": [2, 3, 14, 18, 23], "append": [2, 23], "familiar": [2, 3, 9, 14], "represent": [2, 18, 23], "concat": [2, 23], "e": [2, 3, 4, 5, 6, 7, 9, 10, 13, 14, 17, 18, 19, 20, 22, 23], "g": [2, 3, 4, 5, 6, 10, 13, 14, 17, 18, 20, 22, 23], "almost": [2, 3, 7, 14, 19], "exclus": [2, 17], "pattern": [2, 6, 18, 19, 23], "capabl": [2, 4, 10, 19, 23], "wildcard": 2, "unspecifi": 2, "_": 2, "syntax": [2, 4, 5, 6, 7, 11, 14], "correspond": [2, 3, 6, 9, 12, 14, 15, 17, 18, 19, 22], "recal": [2, 14, 19], "look": [2, 3, 5, 6, 7, 11, 13, 14, 17, 18, 19, 22], "unknown": [2, 6, 9, 17, 19, 20, 23], "isabel": [2, 17, 18, 19], "allend": [2, 17, 18, 19], "granada": 2, "del": 2, "puerto": 2, "ginsberg": [2, 9], "onc": [2, 5, 7, 9, 10, 13, 14, 20], "earth": [2, 18, 19], "who": [2, 3, 7, 9, 12, 13, 19, 20, 21, 22], "period": [2, 3, 10, 19, 22, 23], "upper": [2, 23], "lower": [2, 13, 16, 19, 23], "uppercas": [2, 3, 23], "respect": [2, 3, 14, 19, 23], "Not": [2, 5, 23], "local": [2, 23], "back": [2, 12], "aren": 2, "love": [2, 24], "substr": [2, 7, 8, 23], "locat": [2, 3, 13, 14, 19, 22], "trim": [2, 23], "whitespac": [2, 23], "front": [2, 3], "logic": [2, 3, 9, 13, 14, 15, 21, 22, 23], "These": [2, 3, 5, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 22, 23], "AND": [2, 3, 4, 6, 7, 9, 17, 18, 23], "OR": [2, 3, 7, 9, 17, 18, 20, 23], "NOT": [2, 7, 8, 9, 11, 17, 18, 23], "impli": [2, 3, 6, 11, 13, 14, 15, 16, 17, 19, 22], "expr1": [2, 7], "expr2": [2, 7], "final": [2, 3, 4, 6, 14, 17, 18, 19, 20, 22, 25], "invert": [2, 15, 17, 23], "truth": [2, 23], "build": [2, 3, 13, 14, 19], "simpler": [2, 14, 19, 20], "fantasi": [2, 17, 19, 22], "Or": 2, "either": [2, 3, 4, 6, 7, 8, 9, 10, 13, 14, 15, 17, 18, 19, 20, 23], "hate": 2, "involv": [2, 3, 6, 7, 9, 12, 13, 15, 18, 19, 20, 23], "combin": [2, 3, 4, 5, 6, 8, 9, 13, 14, 17, 18, 19], "clear": [2, 3, 7, 13, 19], "perhap": [2, 3, 4, 7, 13, 17, 19, 20, 22], "tempt": [2, 13], "isn": 2, "quit": [2, 5, 12, 18], "right": [2, 3, 4, 5, 6, 9, 18, 19, 23], "origin": [2, 3, 7, 9, 13, 14, 15, 18, 19, 20], "explicitli": [2, 3, 6, 17], "second": [2, 3, 5, 6, 7, 9, 10, 13, 14, 17, 18, 20, 21, 22, 23], "fuller": 2, "extrem": [2, 5, 22], "government": 2, "institut": 2, "unfortun": [2, 19], "area": [2, 13], "conform": [2, 5, 6, 13, 17, 20, 23], "consult": [2, 5, 14, 19, 23], "offer": [2, 25], "handl": [2, 13, 14, 17, 19], "current_d": [2, 23], "current_tim": [2, 23], "current_timestamp": [2, 5, 23], "automat": [2, 4, 5, 19, 22], "newli": [2, 3], "creat": [2, 3, 4, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 22, 24, 25], "absenc": [2, 3, 13, 17, 20], "aspect": [2, 3, 12, 19, 20, 23], "piec": [2, 3, 10, 13, 14, 19], "entri": [2, 3, 6, 7, 13, 14, 17, 19, 22], "death": [2, 6, 7, 8, 9, 17, 18, 19, 22], "blank": [2, 19], "had": [2, 3, 7, 19, 20], "di": [2, 9, 22], "enter": [2, 4, 6, 17, 22], "birth": [2, 3, 6, 7, 8, 9, 13, 18, 19, 22], "certainli": 2, "clearli": [2, 19], "born": [2, 7], "person": [2, 7, 13, 17, 19, 20, 22], "noth": [2, 3, 17], "notion": [2, 9, 15, 20], "captur": [2, 3, 12, 14, 19], "repres": [2, 3, 5, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23], "miss": [2, 3, 17, 18], "reason": [2, 3, 5, 9, 12, 13, 17, 19, 20, 22], "extra": [2, 19], "truli": [2, 17, 19, 23], "consequ": [2, 19], "usefulli": [2, 5, 19], "x": [2, 5, 6, 13, 14, 17, 18, 19, 20, 23], "never": [2, 6, 14, 17, 19, 20], "seem": [2, 3, 6, 12, 13, 14, 17, 18], "counterintuit": 2, "question": [2, 3, 7, 9, 12, 13, 14, 17, 18, 19], "whom": [2, 6, 7, 17], "happen": [2, 3, 4, 7, 13, 18, 19, 20], "filter": [2, 3, 11], "lead": [2, 13, 19, 20, 23], "astrai": 2, "aliv": 2, "12": [2, 22, 23, 27], "31": [2, 4, 22, 23], "01": [2, 4, 5, 17, 18, 19, 23], "perfectli": [2, 4, 14], "live": [2, 7, 9, 15, 17, 19, 25], "yield": [2, 17, 18, 19, 20, 23], "therefor": [2, 3, 6, 13, 14, 19, 20, 22, 23, 25], "correctli": [2, 5, 6, 12, 14, 22], "wonder": 2, "why": [2, 3, 8, 14, 19], "compound": [2, 3, 7, 19], "lose": 2, "except": [2, 3, 7, 8, 9, 13, 17, 23], "operand": [2, 7, 18, 23], "doesn": [2, 3, 23], "matter": [2, 3, 5, 7, 9, 17, 23], "On": [2, 3, 7, 14, 15, 17, 19, 22, 23], "hand": [2, 3, 4, 7, 14, 15, 17, 18, 19, 22, 23], "meaningfulli": 2, "bottom": [2, 18, 19], "effect": [2, 4, 6, 7, 8, 10, 13, 17, 19, 23], "similar": [2, 5, 6, 9, 13, 14, 17, 18, 19, 22, 23], "els": [2, 3, 6, 17, 23], "switch": 2, "condition1": 2, "THEN": [2, 3, 9], "result1": 2, "condition2": 2, "result2": 2, "none": [2, 4, 6, 17, 18, 19], "finish": [2, 3, 15, 18], "categori": [2, 13, 19, 23], "mayb": 2, "present": [2, 3, 8, 14, 15, 17, 18, 19, 20, 25], "dataset": [2, 3, 7, 9, 10, 13, 26], "encompass": [2, 15, 19], "knowledg": [2, 11, 13, 16, 19, 22], "driven": [2, 22], "join": [2, 4, 6, 8, 9, 10, 11, 14, 19, 20, 21], "techniqu": [2, 3, 4, 15], "rewritten": [2, 3, 7], "specul": [2, 19], "poetri": [2, 22], "histori": [2, 17, 19, 23], "coalesc": [2, 23], "variabl": [2, 18, 20, 22, 23], "argument": [2, 8, 19, 20, 23], "descript": [2, 3, 4, 6, 7, 8, 9, 10, 14, 19, 23, 26], "nullif": [2, 23], "achiev": [2, 6, 9, 19], "solut": [2, 3, 6, 7, 14, 17, 18, 20, 21], "whose": [2, 5, 7, 14], "1999": [2, 17], "begin": [2, 3, 12, 13, 18, 19], "deceas": 2, "1915": 2, "togeth": [2, 3, 7, 14, 16, 17, 18, 19], "spell": 2, "twentieth": 2, "worri": [2, 3, 5, 7, 19], "21st": 2, "1900": 2, "2100": 2, "twenti": 2, "scholar": [2, 17], "reject": [2, 6, 17], "altern": [2, 7, 9, 13, 14, 16, 17, 18, 22, 23, 26], "down": [2, 3, 7, 8, 12, 19], "aggreg": [2, 3, 7, 10, 11, 18, 22, 26], "9": [2, 3, 7, 9, 10, 13, 17, 19, 22, 23, 27], "inclus": [2, 5, 9, 20], "controversi": [2, 3, 17, 20], "inconsist": [2, 3, 7, 17], "regardless": [2, 13], "saw": [3, 7, 9, 10], "retriev": [3, 5, 7, 8, 9, 11, 18, 22, 26, 27], "individu": [3, 6, 10, 17, 22, 23], "explain": [3, 4, 11, 12, 13, 14, 17, 19, 21, 22, 27], "issu": [3, 7, 13, 14, 17, 18, 19, 20, 22], "aris": [3, 13, 14, 19, 20], "sever": [3, 5, 14, 15, 22, 23, 25], "experiment": 3, "synthet": [3, 22], "simul": [3, 4, 8, 22], "brief": [3, 10], "amount": [3, 19], "notic": 3, "sy": 3, "ty": 3, "pair": [3, 6, 14, 17, 18, 19], "bring": [3, 25], "ON": [3, 4, 6, 7, 8, 9], "known": [3, 6, 7, 9, 14, 17, 18, 19, 22, 23], "liken": 3, "nest": [3, 7, 10], "loop": 3, "python": 3, "java": 3, "over": [3, 4, 5, 7, 8, 9, 13, 14, 15, 19, 22, 25], "green": [3, 18], "No": [3, 6, 14, 17], "move": [3, 10, 13, 19, 23], "blue": [3, 9, 17, 18], "s2": [3, 22], "t2": [3, 22], "fail": [3, 6, 19, 22], "understood": [3, 19], "s3": [3, 22], "t3": [3, 22], "access": [3, 17, 21, 22], "conceptu": [3, 15], "still": [3, 4, 11, 17, 18, 19], "figur": [3, 9], "sub": [3, 13], "free": [3, 13, 22, 25], "tz": 3, "rais": [3, 4, 20, 23], "earlier": [3, 5, 7, 10, 11, 13, 16, 17, 18, 19], "obtain": [3, 7, 8, 9, 13, 18, 20], "don": [3, 17], "mostli": [3, 8, 15, 18, 19, 23], "far": [3, 7, 15], "under": [3, 5, 13, 17, 19, 22, 23, 25, 26], "consider": [3, 14, 19, 20], "scenario": [3, 9, 14, 20], "suffici": [3, 14, 17, 18, 19, 22], "defer": 3, "regard": [3, 9, 13, 15, 17, 19, 20, 22, 23], "uniqu": [3, 4, 5, 7, 8, 11, 13, 14, 19, 20, 21, 22], "sx": 3, "lucki": 3, "collid": 3, "error": [3, 5, 6, 7, 8, 10, 14, 19, 20, 22, 23], "messag": [3, 5], "fortun": [3, 5], "easi": [3, 12, 13, 17, 19], "dot": [3, 16], "benefit": [3, 12, 21], "anyon": [3, 25], "asterisk": 3, "shortcut": 3, "prefix": 3, "Such": [3, 10, 19], "larger": [3, 10, 13], "system": [3, 5, 6, 11, 12, 13, 17, 19, 20, 22, 23, 25, 27], "rule": [3, 8, 9, 11, 14, 17, 21, 23], "easier": [3, 7, 10, 19], "maintain": [3, 6, 15, 19, 24], "context": [3, 7, 10, 13, 17, 20, 22, 23], "nicer": 3, "header": [3, 17, 22], "suppli": [3, 5, 13, 14, 18], "mathemat": [3, 5, 9, 11, 17, 18, 20, 21], "shall": 3, "shorten": 3, "keep": [3, 4, 7, 9, 10, 13, 17, 19, 22, 25], "short": [3, 7, 14, 19], "readabl": 3, "alia": [3, 7, 8], "significantli": 3, "done": [3, 18, 23], "guess": [3, 8, 18, 19], "bodi": [3, 7, 9, 10, 22], "b2": [3, 7], "b1": [3, 7], "confus": [3, 7, 17, 21], "troubl": [3, 12, 19], "style": [3, 7, 15], "incorrect": [3, 6, 12, 13, 17, 18, 20], "debug": 3, "affect": [3, 6, 18], "identifi": [3, 4, 5, 6, 8, 13, 16, 17, 19, 20, 22], "strang": 3, "awar": [3, 23], "consensu": 3, "better": [3, 4, 6, 7, 12, 13, 14, 19], "clariti": [3, 13], "displai": 3, "norm": 3, "sensit": [3, 17], "rare": [3, 14], "creator": 3, "forc": [3, 9], "avoid": [3, 5, 7, 13, 17, 18, 19, 22], "backtick": [3, 22], "apostroph": [3, 22], "slant": [3, 22], "opposit": [3, 22], "direct": [3, 9, 13, 14, 15, 19, 22], "confid": 3, "But": 3, "Then": [3, 18, 19], "did": [3, 4, 5, 7, 10, 18, 19], "intern": [3, 5, 17, 19, 22, 25, 26, 27], "travel": [3, 20], "countri": [3, 17, 19, 20], "passport": [3, 20], "border": 3, "peopl": [3, 10, 12, 13, 15, 17], "track": [3, 13], "domest": 3, "novelist": 3, "richard": 3, "wright": 3, "poet": [3, 9], "david": [3, 27], "diop": 3, "birthplac": 3, "attribut": [3, 7, 8, 10, 16, 18, 19, 21, 25, 26], "unsatisfactori": 3, "adopt": [3, 13, 15, 18], "artifici": [3, 13, 14], "id": [3, 5, 6, 7, 13, 14, 17, 18, 20, 22], "scheme": [3, 14, 19], "counter": [3, 20], "increment": [3, 11, 13], "random": [3, 23], "univers": [3, 19], "uuid": 3, "previous": [3, 7, 17, 19, 23], "detect": [3, 19], "author_id": [3, 4, 6, 7, 8, 9, 18, 22], "hold": [3, 5, 7, 13, 14, 18, 19], "strength": [3, 6], "advantag": [3, 7], "design": [3, 4, 5, 12, 14, 15, 16, 17, 20, 21, 22, 25], "beyond": [3, 7, 16], "approach": [3, 7, 9, 11, 13, 14, 17, 18, 19, 20, 22], "anticip": [3, 13, 14], "flexibl": 3, "immedi": [3, 4, 8, 13, 19, 22], "structur": [3, 4, 11, 12, 13, 14, 15, 17, 19, 20, 27], "book_id": [3, 7, 9, 18, 22], "link": [3, 11], "foreign": [3, 11, 14, 15, 18, 19, 20, 21, 22], "constraint": [3, 5, 11, 14, 15, 18, 19, 21, 22, 26], "diagram": [3, 9, 11, 12, 15, 16, 21, 22, 25, 26], "explicit": [3, 6, 17, 18, 22, 23], "appear": [3, 4, 6, 7, 9, 18, 19, 22, 23], "vice": [3, 7, 13, 17], "versa": [3, 7, 13, 17], "decis": [3, 13, 14, 19, 22], "seller": [3, 4, 8, 14, 22], "bookstore_inventori": [3, 4, 5, 8, 22], "bookstore_sal": [3, 4, 5, 8, 22], "sale": [3, 4, 8, 22], "payment": [3, 4, 8, 22], "receipt": [3, 4], "stock_numb": [3, 4, 8, 22], "unsold": 3, "possess": 3, "inventori": [3, 4, 8], "been": [3, 4, 8, 9, 11, 13, 14, 15, 17, 19, 22], "refer": [3, 5, 6, 7, 8, 10, 11, 14, 15, 17, 18, 19, 20, 22, 25, 26], "reflect": [3, 4, 14, 19, 22], "world": [3, 17, 19, 23], "symmetr": [3, 17, 19], "side": [3, 4, 7, 13, 14, 15, 18, 19], "strategi": 3, "edit": [3, 7, 10, 14, 22, 27], "print": [3, 4, 8, 10], "award": [3, 6, 7, 9, 10, 18, 19, 20, 22], "hugo": [3, 18, 19], "won": [3, 7, 9, 10, 19], "win": [3, 7, 19, 22], "nebula": [3, 18, 19], "trick": 3, "nearli": [3, 14, 17], "cross": [3, 14, 15, 20, 21, 22], "connector": 3, "At": [3, 8, 12, 15, 18, 19, 25], "minimum": [3, 8, 12, 13, 17, 19, 23], "books_award": [3, 7, 9, 22], "award_id": [3, 6, 7, 9, 22], "realli": [3, 17, 19, 20], "belong": [3, 8, 13, 17], "principl": 3, "intuit": [3, 18, 19], "authors_award": [3, 6, 7, 9, 22], "without": [3, 4, 5, 6, 8, 11, 17, 19, 20, 21, 22, 23, 24], "formal": [3, 17, 19], "drop": [3, 6, 10, 11], "left": [3, 7, 9, 18, 19, 23], "bracket": [3, 23], "fill": [3, 4, 13, 25], "relev": [3, 7, 19], "ba": [3, 7, 9], "referenc": [3, 6, 11, 14, 17, 19], "exhibit": [3, 17, 19], "unwant": 3, "listagg": [3, 23], "inv": 3, "stock": [3, 4, 8], "statu": [3, 9], "abil": 3, "long": [3, 4, 5, 6, 7, 10, 18, 19, 23, 24, 25], "introduct": [3, 10, 16, 21, 25], "practition": [3, 19, 25], "best": [3, 5, 7, 13, 14, 17, 19, 22], "reduc": [3, 10, 19, 22], "product": [3, 13, 19, 21], "action": [3, 4, 5, 6, 18], "danger": 3, "accident": 3, "n": [3, 4, 5, 13, 17, 18, 23], "path": [3, 5], "node": 3, "graph": [3, 11, 16, 21], "shape": [3, 13], "tree": [3, 21], "edg": [3, 14], "systemat": [3, 19], "proper": [3, 7, 17, 19, 23], "clue": [3, 19], "suddenli": 3, "older": 3, "seldom": 3, "hobbit": [3, 18, 19], "fellowship": [3, 18, 19], "ring": [3, 18, 19], "2005": [3, 23], "publisher_loc": [3, 22], "2010": 3, "neustadt": [3, 19], "prize": [3, 7, 18, 19], "literatur": [3, 7, 18, 19, 22], "1996": 3, "au": [3, 9, 17], "aa": [3, 6, 9], "aw": [3, 9], "hint": [3, 5, 7, 8], "interpret": [3, 7, 20, 22], "maladi": 3, "nobel": [3, 7, 18, 19], "aw1": 3, "aw2": 3, "particularli": [3, 5, 7, 10, 12, 13, 15, 19, 22, 24], "dirti": [3, 22], "accuraci": 3, "argu": [3, 19, 20], "arrai": [3, 5, 14, 17, 18, 19], "solv": [3, 9, 13, 17], "dilemma": 3, "slow": [3, 4], "memori": [3, 22], "temporari": [3, 22], "sell": [4, 8, 14, 22], "receipt_numb": [4, 22], "custom": [4, 5, 9, 14], "purchas": [4, 5, 8], "hundr": [4, 7], "solitud": 4, "gabriel": 4, "garc\u00eda": 4, "m\u00e1rquez": 4, "1455": 4, "august": 4, "14": 4, "2021": 4, "pai": [4, 20], "cash": [4, 8], "970": 4, "date_sold": [4, 8, 22], "verifi": [4, 7, 18, 22], "old": [4, 18, 19, 22], "assumpt": [4, 12, 13], "971": 4, "1429": 4, "08": [4, 18, 19, 26], "15": [4, 5, 22], "trade": [4, 8, 14, 21], "todai": [4, 13], "1460": 4, "dai": [4, 5, 13, 23], "1444": 4, "credit": [4, 22, 25], "card": [4, 22], "1435": 4, "1453": 4, "bookstore_recent_sal": 4, "month": [4, 8], "unless": [4, 6, 7, 10, 12, 13, 19, 20, 22, 23], "rid": 4, "appropri": [4, 5, 7, 12, 14, 17, 19, 25], "8": [4, 8, 9, 13, 17, 18, 19, 22, 23, 27], "subqueri": [4, 6, 8, 10, 11, 20, 26], "IN": [4, 8, 9, 20, 23], "perman": [4, 22], "undo": [4, 5], "imposs": [4, 17], "restor": [4, 19], "backup": 4, "session": [4, 22, 24], "refresh": [4, 7, 10, 11, 22], "power": [4, 7, 9, 22, 23], "tablenam": 4, "column1": [4, 5], "expression1": 4, "column2": [4, 5], "expression2": 4, "decid": [4, 14, 19, 22], "thought": [4, 17], "river": 4, "nicola": 4, "griffith": 4, "fair": [4, 8, 22], "currenc": [4, 8, 14, 17, 22], "upgrad": 4, "50": [4, 6], "mistakenli": 4, "juli": 4, "fix": [4, 5, 22, 23], "07": [4, 18, 19, 23], "mark": 4, "clever": 4, "assign": [4, 8, 10, 17, 19, 20], "henc": 4, "25": 4, "truncat": [4, 5, 23], "faster": [4, 19], "merg": [4, 14], "synchron": 4, "neither": [4, 9, 17, 19, 22], "strictli": [4, 18, 23], "mind": [4, 10, 19, 22], "reload": [4, 5, 22], "fresh": [4, 5], "hous": [4, 17, 18, 19], "dawn": [4, 18], "scott": [4, 18], "momadai": [4, 18], "1471": 4, "75": 4, "john": [4, 19], "steinbeck": [4, 19], "00": [4, 19], "963": 4, "clifford": 4, "simak": 4, "us": [5, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 25, 26], "unusu": 5, "dynam": [5, 22], "survei": 5, "major": [5, 22, 25], "compat": [5, 7, 9, 18], "limit": [5, 6, 20, 22, 23], "smallint": [5, 23], "bigint": [5, 23], "uncommon": [5, 19, 20, 23], "abbrevi": [5, 19, 23], "int": [5, 23], "32": [5, 23], "16": [5, 17, 18, 19, 23], "64": [5, 23, 27], "digit": [5, 8, 20, 22, 23], "1234": [5, 23], "56789": [5, 23], "unlik": [5, 6, 10, 13, 19], "paramet": [5, 23], "precis": [5, 23], "scale": [5, 23], "999": [5, 23], "maximum": [5, 8, 13, 23], "9999": [5, 23], "behav": [5, 9, 22, 23], "attempt": [5, 6, 9, 17, 19, 22, 23], "too": [5, 10, 13, 19, 23], "round": [5, 23], "monetari": 5, "possibli": [5, 17, 18, 19, 22, 23], "inexact": [5, 23], "ident": [5, 9, 11, 13, 14, 18, 19, 20, 22, 23], "ieee": [5, 23], "754": [5, 23], "char": [5, 23], "length": [5, 23], "relax": [5, 23], "shorter": [5, 23], "pad": [5, 23], "trail": [5, 23], "space": [5, 11, 17, 19, 22, 23], "longer": [5, 7, 19, 22, 23], "varchar": [5, 6, 23], "varchar2": [5, 23], "four": [5, 7, 17, 22], "y": [5, 6, 17, 18, 19, 23], "disadvantag": 5, "predict": 5, "arbitrari": [5, 14, 17, 19, 20, 23], "impos": [5, 13, 19], "size": [5, 7, 18, 22], "alloc": 5, "complic": [5, 14, 19, 22], "affair": 5, "calendar": [5, 17, 23], "cultur": 5, "zone": [5, 23], "geograph": 5, "leap": [5, 22], "adjust": [5, 17], "clock": 5, "irregularli": 5, "robust": 5, "offset": 5, "8601": 5, "2001": 5, "04": [5, 17, 18, 19], "2014": 5, "22": [5, 18, 19, 22], "ignor": [5, 7, 8, 19], "binari": [5, 9, 13, 15, 18, 23], "imag": 5, "music": [5, 19], "great": [5, 13, 23], "deal": [5, 6, 14], "extern": 5, "url": 5, "json": 5, "xml": 5, "geometr": 5, "spatial": 5, "coordin": 5, "mention": [5, 14, 19], "essenti": [5, 13], "chosen": [5, 7, 17, 20], "demonstr": [5, 6, 8, 18, 19, 22, 25], "anytim": 5, "command": [5, 6, 22], "type1": 5, "type2": 5, "caus": [5, 7, 17], "inconveni": 5, "recreat": [5, 22], "IF": [5, 6], "destroi": [5, 6], "irrevoc": 5, "thoroughli": [5, 10], "ever": [5, 17], "perspect": [5, 17, 19], "temporarili": [5, 17], "implicitli": [5, 22], "new_tabl": 5, "properti": [5, 6, 9, 13, 15, 17, 21, 22], "enhanc": [5, 17], "restrict": [5, 6, 14, 18], "whole": [5, 8, 9, 17], "greet": 5, "test3": [5, 6], "created_at": 5, "20": [5, 6, 22], "sequenc": [5, 21, 22], "sequenti": [5, 18, 22], "column_nam": 5, "overridden": 5, "auto_incr": [5, 22], "autoincr": [5, 22], "primari": [5, 11, 14, 15, 18, 19, 20, 21, 22], "test4": 5, "afternoon": 5, "my_tabl": 5, "c": [5, 6, 7, 13, 14, 18, 19, 23, 27], "d": [5, 13, 14, 23], "a_author": 5, "constrain": [6, 14, 17, 20], "preserv": 6, "critic": [6, 11, 13, 19], "worth": 6, "everyth": [6, 19], "report": [6, 8, 10, 19, 22], "trigger": 6, "event": [6, 19], "domain": [6, 9, 12, 13, 14, 17, 18, 19, 20, 22], "control": 6, "prevent": [6, 14, 17, 19, 20, 22], "unnecessari": [6, 13, 14, 18], "statist": [6, 7, 10, 11, 23], "count": [6, 7, 8, 9, 23], "sum": [6, 8, 13, 14, 20, 23], "delet": [6, 7, 11, 17], "violat": [6, 17, 19], "forbidden": [6, 17, 19], "independ": [6, 7, 13, 17, 19], "11": [6, 7, 18, 19, 22], "easiest": [6, 17], "test2": 6, "alter": [6, 18, 22], "relationship": [6, 11, 12, 16, 17, 18, 19, 20, 22, 25, 26, 27], "pragma": 6, "foreign_kei": 6, "successfulli": [6, 7], "predetermin": 6, "presenc": [6, 7, 17, 23], "natur": [6, 13, 17, 19, 21, 23], "referenti": [6, 17], "integr": [6, 17], "xx": 6, "referencing2": 6, "referenced2": 6, "bb": 6, "compani": [6, 9, 13, 14, 17, 20], "employe": [6, 9, 13, 15, 17, 20], "supervisor_id": [6, 14], "cascad": 6, "compos": [6, 13, 14, 19, 20], "30": 6, "beethoven": 6, "mozart": 6, "composer_id": 6, "symphoni": 6, "quartet": 6, "treat": [6, 7, 9, 17, 20, 23], "test5": 6, "stronger": [6, 19], "sourc": [6, 13, 19, 20, 22, 25], "bug": 6, "incorrectli": [6, 22], "corrupt": [6, 19], "against": [6, 7, 9], "wrong": [6, 19], "invis": [6, 18, 19], "factor": [6, 14, 23], "lost": [6, 19], "hour": [6, 23], "resolv": [6, 7, 13, 17], "believ": 6, "valuabl": [6, 13, 15], "incorpor": [6, 13, 14, 17, 23], "test6": 6, "200": [6, 22], "anonym": [6, 17, 20], "field": [6, 23], "And": 6, "closer": [6, 12], "inner": [6, 11], "opportun": 6, "carefulli": [6, 18], "constructor": 7, "1415": [7, 18], "2008": [7, 18, 19], "substitut": [7, 19, 22], "kingdom": 7, "americanah": 7, "invers": [7, 18, 23], "convers": [7, 15, 16, 23], "virginia": 7, "woolf": 7, "kazuo": [7, 18], "ishiguro": [7, 18], "iri": 7, "murdoch": 7, "test11": 7, "test12": 7, "test21": 7, "test22": 7, "conjunct": [7, 18], "contrast": [7, 19, 20], "pass": [7, 11], "willa": 7, "cather": 7, "outer": [7, 11, 18], "posthum": 7, "situat": [7, 9, 13, 14, 17, 18, 19, 20], "ambigu": [7, 11], "alias": [7, 11], "a1": 7, "a2": 7, "chanc": [7, 14], "uncorrel": 7, "preced": [7, 21], "constant": [7, 18], "emphas": [7, 13, 17], "unimport": 7, "total": [7, 8, 13, 14, 15, 20, 22], "fulli": [7, 13, 19, 23], "prepar": [7, 24], "popul": [7, 23], "min": [7, 8, 15, 23], "unmodifi": 7, "window": [7, 11, 22], "basi": [7, 25], "author_tot": 7, "subtl": [7, 9, 19], "pull": [7, 25], "unwieldi": 7, "hard": [7, 13, 14], "ineffici": 7, "mere": [7, 9, 19], "clean": 7, "repeat": 7, "viet": 7, "thanh": 7, "nguyen": 7, "becam": 7, "human": [7, 19], "albert": 7, "camu": 7, "pulitz": [7, 18, 19], "m": [7, 13, 19], "coetze": 7, "briefli": [7, 22], "focus": [8, 15, 19], "analys": 8, "method": [8, 13, 14, 22], "partit": 8, "primarili": [8, 18, 22], "averag": [8, 23], "observ": [8, 14], "moment": [8, 19, 23], "summari": [8, 23], "avg": [8, 23], "max": [8, 15, 23], "varianc": [8, 23], "deviat": [8, 23], "versu": 8, "charg": 8, "membership": [8, 10], "member": [8, 17, 19, 20], "label": [8, 9, 13, 15, 18, 19, 22], "paid": 8, "total_sal": 8, "rewrit": 8, "toni": 8, "morrison": 8, "highest": [8, 15], "books_sold": 8, "theori": [9, 17, 19, 20, 25, 26], "strai": 9, "remain": [9, 17, 19, 25], "skip": [9, 15], "background": [9, 15], "circl": [9, 15, 19], "overlap": [9, 18, 19, 23], "portion": 9, "succinctli": 9, "yellow": [9, 17, 18], "venn": 9, "rang": [9, 23], "commut": [9, 18], "exchang": 9, "outsid": [9, 20], "approxim": 9, "minu": 9, "imagin": 9, "amaz": [9, 24], "concept": [9, 12, 13, 15, 19, 22, 23], "intend": [9, 12, 14, 15, 17, 18, 20, 22, 25], "dead": 9, "email": [9, 14], "everyon": [9, 13], "vendor": [9, 13, 15, 23], "mail": 9, "elimin": [9, 10, 12, 18, 19], "occas": [9, 19], "retain": [9, 18], "w": [9, 14, 25], "1995": 9, "mix": [9, 11], "nor": [9, 17, 19], "cautiou": 9, "allen": 9, "bo": 9, "coverag": [10, 25], "fit": [10, 13, 19, 23], "neatli": [10, 23], "hope": [10, 19, 22], "suffic": [10, 14], "minim": 10, "skill": [10, 25], "book_edit": 10, "cte": 10, "lifetim": 10, "correl": [10, 11], "WITH": [10, 23], "name1": 10, "name2": 10, "visibl": 10, "rank": [10, 17], "ordin": 10, "materi": [10, 19, 25], "instructor": [11, 25], "strong": [11, 16, 21, 22], "weak": [11, 15, 16], "tabl": [11, 12, 13, 15, 16, 17, 18, 19, 20, 23], "content": [11, 16, 25], "ahead": [11, 13], "convent": 11, "comment": 11, "self": [11, 16, 19, 21], "check": [11, 16, 21], "exercis": [11, 16, 21], "comparison": [11, 18, 20], "collis": [11, 18], "qualifi": [11, 19], "reserv": [11, 14, 22], "implicit": [11, 13, 17, 20], "auto": 11, "scalar": 11, "union": [11, 18, 19], "intersect": [11, 12, 18, 19], "chain": 11, "project": [12, 13, 15, 19, 20, 21, 22], "expend": 12, "effort": [12, 13, 20, 24], "sit": 12, "activ": [12, 13, 19], "analysi": [12, 16, 19], "thorough": 12, "insight": [12, 13], "gain": [12, 19], "meet": [12, 19], "complementari": [12, 19], "uncov": [12, 13], "partial": [12, 13, 14, 15, 20, 23], "facilit": [12, 13, 17, 25], "varieti": 12, "graphic": [12, 13, 16], "physic": [12, 14, 15, 19], "network": [12, 15], "deploi": 12, "underli": 12, "realiz": [12, 15], "lack": [12, 13, 17, 20, 22], "entiti": [12, 16, 22, 25, 26, 27], "erd": [12, 16, 22, 25, 26], "expert": [12, 13, 14], "transit": [12, 19, 22], "mediat": [12, 25], "variat": [12, 16, 23, 26], "map": [13, 17, 19], "precursor": 13, "conceiv": 13, "peter": [13, 27], "chen": [13, 15, 27], "1976": [13, 15, 27], "paper": [13, 15, 18, 19], "stood": 13, "expand": [13, 15, 25], "upon": 13, "extend": [13, 15, 18, 19, 25], "elmasri": [13, 27], "navath": [13, 27], "manufactur": [13, 14, 15], "denot": [13, 17, 18, 19], "straight": 13, "noun": [13, 14], "rectangl": [13, 15], "oval": 13, "attach": 13, "underlin": [13, 15, 22], "identif": [13, 14, 17], "govern": [13, 14, 17], "ssn": 13, "verb": 13, "diamond": 13, "factori": [13, 15], "layout": [13, 19], "subtli": 13, "influenc": 13, "citi": [13, 14, 22], "ultim": [13, 15], "rise": 13, "reveal": [13, 20], "address": [13, 14, 19], "hierarch": 13, "head": 13, "supervisor": 13, "role": [13, 14], "supervis": [13, 14], "supervise": 13, "assembli": [13, 14], "daili": [13, 19, 25], "throughput": [13, 14], "posit": [13, 14, 17, 18, 20, 23], "outlin": [13, 14, 16], "draw": [13, 15], "parent": [13, 14], "constitut": 13, "street": 13, "postal": 13, "drawn": 13, "compon": [13, 14, 19], "differenti": 13, "market": [13, 14], "game": [13, 14], "multimedia": 13, "busi": [13, 14, 19], "ag": 13, "poor": 13, "necessit": 13, "bui": 13, "8tb": [13, 14], "7200rpm": 13, "drive": [13, 14], "brand": 13, "classic": 13, "agenc": 13, "contract": 13, "supplier": 13, "legal": 13, "agreement": 13, "p": 13, "rest": [13, 22], "explanatori": 13, "commun": [13, 15, 19, 27], "earli": [13, 15, 19, 20, 22, 24], "stage": [13, 15, 24], "counterproduct": 13, "vein": 13, "perfect": [13, 14], "improv": [13, 17, 19], "feel": [13, 22], "adapt": [13, 15, 22, 25], "wherev": 13, "endeavor": 13, "forget": [13, 15, 19], "dictat": [13, 20], "advic": [13, 24], "crucial": [13, 19], "manipul": 13, "deep": 13, "brainstorm": 13, "whiteboard": 13, "potenti": [13, 17], "propos": [13, 17, 19], "subject": [13, 25], "exhaust": [13, 23, 25], "satisfactori": 13, "messi": 13, "chaotic": 13, "patient": 13, "disagr": 13, "revisit": 13, "engag": [13, 20], "intermedi": [13, 15, 18], "built": [13, 14], "translat": 13, "concret": 13, "stakehold": [13, 15], "align": [13, 18, 25], "went": 13, "acquaint": 13, "q": [13, 14, 17], "movi": 13, "actor": 13, "remad": 13, "unrel": 13, "film": 13, "dialogu": 13, "releas": [13, 22, 25, 26], "accur": [13, 17, 19, 20, 23], "reconsid": 13, "sole": [13, 19, 20], "deduc": 13, "off": [14, 21, 22], "foundat": [14, 17, 19, 21, 25, 27], "iii": 14, "tabular": [14, 17, 22], "plural": 14, "singular": 14, "emploi": 14, "underscor": 14, "assemblylin": 14, "deriv": [14, 15, 16, 19], "composit": [14, 15, 16, 18], "depict": [14, 15, 17], "pay_rat": 14, "pay_typ": 14, "h": 14, "salari": [14, 20], "hourli": [14, 19], "particip": [14, 16], "Its": [14, 25], "guidelin": 14, "borrow": 14, "factory_c": 14, "cardin": [14, 16], "ratio": [14, 16], "intermediari": 14, "accommod": [14, 19], "challeng": 14, "tradit": 14, "pictur": [14, 15, 17, 18, 19], "vendor_nam": 14, "part_numb": 14, "phone": 14, "employee_id": [14, 20], "mislead": 14, "util": [14, 20, 22, 23], "suitabl": [14, 25], "manager_id": 14, "themselv": [14, 15], "video": 14, "model_nam": 14, "model_numb": 14, "opt": 14, "orion": 14, "xz450": 14, "contact": 14, "info": 14, "a_id": [14, 18], "b_id": [14, 18], "a_b": 14, "prone": 14, "r_w": 14, "r_id": 14, "c_d": 14, "c_id": 14, "d_id": 14, "c_d_x": 14, "unnecessarili": 14, "taken": [14, 19, 20], "caution": 14, "overview": 15, "nicknam": 15, "famili": [15, 24], "gordon": [15, 27], "everest": [15, 27], "resembl": 15, "arrow": 15, "fork": [15, 25], "higher": [15, 16, 19], "bold": 15, "closest": 15, "branch": 15, "open": [15, 22, 25], "mandatori": 15, "multivalu": [15, 16, 21], "ariti": [15, 16], "rel": [15, 23], "compact": [15, 17], "emphasi": [15, 25], "fundament": [15, 17, 18, 22, 27], "suit": 15, "boldfac": [15, 22], "italic": [15, 22], "disk": 15, "administr": 15, "dba": 15, "lesser": 15, "degre": 15, "unifi": [15, 27], "uml": 15, "inherit": 15, "hierarchi": 15, "equat": [15, 18], "ital": 15, "foreground": 15, "color": [15, 17], "pk": 15, "fk": 15, "highlight": [15, 17], "recurs": 16, "crow": [16, 22], "foot": [16, 22], "terminologi": [17, 18], "audienc": 17, "infinit": 17, "finit": 17, "odd": 17, "superset": [17, 19], "dimension": 17, "spirit": [17, 18, 19], "1982": [17, 18, 19], "magic": [17, 19], "realism": [17, 19], "fourth": [17, 21, 25], "literari": [17, 19, 22], "speak": [17, 23], "th": 17, "simultan": 17, "intrins": 17, "assert": [17, 18, 19], "exact": 17, "transitori": [17, 19], "accumul": 17, "worker": 17, "trust": [17, 25], "candid": 17, "per": 17, "guarante": [17, 19], "paycheck": 17, "meaningless": 17, "circular": 17, "transact": [17, 27], "wizard": [17, 18], "earthsea": [17, 18], "ursula": [17, 18, 19], "k": [17, 18, 19], "le": [17, 18, 19], "guin": [17, 18, 19], "1968": [17, 18, 27], "ralph": [17, 18, 19], "ellison": [17, 18, 19], "1914": [17, 18, 19], "03": [17, 18, 19, 23], "1994": [17, 18, 19], "proce": [17, 18, 19], "placehold": 17, "problemat": [17, 19], "incompat": 17, "nobodi": 17, "overlook": 17, "irrelev": 17, "inapplic": 17, "research": 17, "ascrib": 17, "led": [17, 19], "incomplet": [17, 19], "altogeth": [17, 19], "summar": [17, 23], "memor": 17, "lookup": [17, 19], "country_cod": 17, "currency_cod": 17, "principal_currency_cod": 17, "obvious": 17, "dk": 17, "danmark": 17, "dkk": 17, "australia": 17, "aud": 17, "thb": 17, "baht": 17, "thailand": 17, "argentin": 17, "peso": 17, "aq": 17, "antarctica": 17, "ye": [17, 23], "technic": [17, 19, 23], "australian": 17, "dollar": 17, "optim": 18, "calculu": 18, "greek": 18, "sigma": 18, "pi": 18, "rho": 18, "man": [18, 19], "1952": [18, 19], "1937": [18, 19], "unaccustom": [18, 19], "1954": [18, 19], "tupl": [18, 19, 21], "1960": 18, "sigma_": 18, "subscript": 18, "input": [18, 19, 23], "schema": [18, 19, 20, 21, 22, 25], "glanc": [18, 19], "onto": [18, 19, 20], "fewer": 18, "conflict": [18, 20], "rho_": 18, "mybook": 18, "unchang": [18, 19], "rightarrow": [18, 19], "attent": 18, "jhumpa": [18, 19], "lahiri": [18, 19], "1967": [18, 19], "1942": [18, 19], "1934": 18, "27": 18, "1929": [18, 19], "21": [18, 19, 23], "2018": [18, 19], "1892": [18, 19], "1973": [18, 19], "09": [18, 19], "cartesian": 18, "disambigu": 18, "prepend": 18, "v": [18, 20], "z": [18, 19, 23], "71828": 18, "pear": 18, "618": 18, "mango": 18, "trivial": [18, 19], "multipli": 18, "agre": [18, 19], "join_": 18, "underset": 18, "contribut": 18, "dangl": 18, "studi": [18, 19], "redund": [18, 19, 22], "unsurprisingli": 18, "orang": 18, "19": [18, 23], "cherri": 18, "77": 18, "banana": 18, "coconut": 18, "17": [18, 20, 22], "looser": 18, "equiv": 18, "divid": 18, "loos": 18, "red": 18, "quotient": 18, "tangibl": 18, "nation": [18, 19, 23], "cherryh": 18, "booker": [18, 19], "michael": 18, "chabon": 18, "receiv": [18, 19, 22], "decompos": [18, 19], "eqnarrai": [18, 19], "xxx": 18, "plan": [18, 25], "upward": 18, "x1": 18, "x2": 18, "deepli": 19, "theoret": [19, 21, 27], "seri": 19, "shortli": 19, "contradict": 19, "suscept": 19, "big": [19, 20], "excess": 19, "school": [19, 24, 26], "room": 19, "offic": 19, "depart": [19, 24], "awai": 19, "class_nam": 19, "classroom": 19, "algebra": [19, 20, 21, 23, 25, 26], "c01": 19, "mr": 19, "rey": 19, "b24": 19, "geometri": 19, "c15": 19, "tan": [19, 23], "a11": 19, "c09": 19, "larsen": 19, "a05": 19, "c06": 19, "musa": 19, "b22": 19, "chemistri": 19, "13": [19, 22], "c17": 19, "c25": 19, "pal": 19, "a03": 19, "hi": 19, "124": 19, "teach": 19, "faculti": 19, "hassan": 19, "he": 19, "fake": 19, "ourselv": 19, "job": [19, 25], "incauti": 19, "student": [19, 20, 21, 22, 25], "refin": 19, "1nf": 19, "2nf": 19, "3nf": 19, "4nf": 19, "bcnf": 19, "met": 19, "restructur": [19, 20], "atom": 19, "isbn": 19, "broken": 19, "inde": 19, "reiter": 19, "author_birth": 19, "author_death": 19, "dispossess": 19, "1974": 19, "furthermor": 19, "analyz": 19, "fd": 19, "defintiion": 19, "analyt": 19, "categor": 19, "shelv": 19, "convei": 19, "procedur": [19, 22], "trival": 19, "maxim": 19, "straightforward": 19, "five": [19, 23], "armstrong": 19, "axiom": 19, "prove": 19, "proof": 19, "behind": 19, "yz": 19, "reflex": 19, "augment": 19, "xz": 19, "xy": 19, "split": 19, "plainli": 19, "trial": [19, 22], "iter": 19, "coupl": 19, "increas": 19, "f": 19, "unus": 19, "readi": 19, "obviou": 19, "walkthrough": 19, "r1": 19, "r2": 19, "pi_": 19, "recov": 19, "recover": 19, "negoti": 19, "fulfil": 19, "lockstep": 19, "novel": 19, "stori": 19, "unambigu": 19, "1975": 19, "larri": 19, "niven": 19, "hole": 19, "arthur": 19, "clark": 19, "rendezv": 19, "rama": 19, "joe": 19, "haldeman": 19, "forev": 19, "war": 19, "acknowledg": [19, 26], "fall": 19, "narrow": 19, "ab": [19, 23], "roger": 19, "zelazni": 19, "doorwai": 19, "sand": 19, "forward": 19, "visit": 19, "websit": [19, 22], "appar": 19, "gather": 19, "harder": 19, "merit": 19, "recognit": 19, "book_award": 19, "louis": 19, "gl\u00fcck": 19, "alic": 19, "munro": 19, "giller": 19, "distract": [19, 20], "central": 19, "casual": 19, "whatsoev": [19, 25], "mvd": 19, "opaqu": 19, "multidetermin": 19, "twoheadrightarrow": 19, "her": 19, "she": 19, "prolifer": 19, "modest": 19, "isol": 19, "suffer": 19, "volum": 19, "expens": 19, "de": 19, "held": [19, 22], "lightli": 19, "impact": [19, 20, 25], "greatli": 19, "circumst": [19, 22], "industri": [19, 22, 25], "sensor": 19, "respons": 19, "electron": 19, "flat": 19, "parti": 19, "emerg": 19, "resist": 19, "absent": 19, "middl": 19, "surnam": 19, "speaker": 19, "compel": 19, "http": [19, 27], "www": [19, 27], "w3": 19, "org": [19, 27], "qa": 19, "compromis": 19, "unawar": 19, "comfort": 19, "intention": 19, "raymond": 19, "edgar": [19, 27], "1971": 19, "ian": [19, 24], "heath": 19, "gave": 19, "inspir": 20, "frame": 20, "guid": [20, 23], "treatment": [20, 23], "multiset": 20, "seriou": 20, "hypothet": 20, "project_id": 20, "cost": [20, 25], "redesign": 20, "percentag": 20, "era": 20, "prohibit": 20, "eras": 20, "competit": 20, "matur": 20, "flexibli": 20, "invok": 20, "difficulti": 20, "bonus": 20, "formula": 20, "momentari": 20, "account": 20, "columnar": 20, "puzzl": 20, "cite": 20, "tautolog": 20, "tautologi": 20, "speed": 20, "inhabit": 20, "some_t": 20, "len": [21, 23], "reader": [21, 22], "exposur": 21, "prerequisit": 21, "permut": 21, "unari": [21, 23], "theta": 21, "equijoin": 21, "anomali": 21, "superkei": 21, "closur": 21, "boyc": 21, "codd": [21, 27], "decomposit": 21, "algorithm": 21, "76": 22, "download": 22, "inaccuraci": 22, "omiss": 22, "emul": 22, "edition_id": 22, "isbn10": 22, "isbn13": 22, "sponsor": 22, "booksel": 22, "companion": 22, "secur": 22, "revert": 22, "fan": 22, "overrepres": 22, "divers": 22, "everywher": [22, 23], "nevertheless": 22, "bia": 22, "toward": [22, 27], "lastli": 22, "favor": 22, "cap": 22, "handpick": 22, "wikipedia": 22, "2022": 22, "regrett": 22, "unavoid": [22, 25], "acclaim": 22, "freeli": 22, "fabric": 22, "persist": [22, 25], "safe": 22, "destruct": 22, "client": 22, "notabl": 22, "instal": 22, "instruct": [22, 25], "utf": 22, "unicod": 22, "former": 22, "latter": 22, "sqlite3": 22, "39": 22, "ex": 22, "linux": 22, "mint": 22, "kernel": 22, "41": 22, "psql": 22, "86": 22, "encod": 22, "utf8": 22, "accordingli": 22, "29": [22, 27], "shell": 22, "mysqlsh": 22, "26": [22, 26, 27], "timestamp": [22, 23], "sqlcl": 22, "openjdk": 22, "xe": 22, "18c": [22, 27], "opensus": 22, "18": [22, 27], "ran": 22, "plu": 22, "uncom": 22, "halt": 22, "sqlcmd": 22, "sqlserver": 22, "0001": 22, "2019": 22, "latin1_general_100_ci_as_sc_utf8": 22, "editor": 22, "manual": [22, 27], "zip": 22, "archiv": 22, "csv": 22, "spreadsheet": 22, "export": 22, "practical_db_data_fil": 22, "2016": [23, 27], "target": 23, "FOR": 23, "binary_doubl": 23, "offici": 23, "clunki": 23, "goe": [23, 24], "clob": 23, "128tb": 23, "princip": 23, "gregorian": 23, "julian": 23, "datetime2": 23, "interv": 23, "span": 23, "chronolog": 23, "configur": 23, "nonstandard": 23, "exterior": 23, "absolut": 23, "remaind": 23, "divisor": 23, "expon": 23, "sine": 23, "radian": 23, "cosin": 23, "tangent": 23, "asin": 23, "aco": 23, "atan": 23, "sinh": 23, "hyperbol": 23, "cosh": 23, "tanh": 23, "regex": 23, "char_length": 23, "character_length": 23, "instr": 23, "ltrim": 23, "rtrim": 23, "overlai": 23, "xor": 23, "timezon": 23, "inadvis": 23, "minut": 23, "period1": 23, "period2": 23, "2002": 23, "2003": 23, "05": 23, "departur": 23, "replic": 23, "cast": 23, "var_pop": 23, "varp": 23, "var_samp": 23, "sampl": 23, "var": 23, "stddev_pop": 23, "stdevp": 23, "stddev_samp": 23, "stdev": 23, "delim": 23, "group_concat": 23, "string_agg": 23, "indistinguish": 23, "thank": 24, "colorado": [24, 26], "mine": [24, 26], "oer": [24, 25], "steer": 24, "committe": 24, "incent": 24, "grant": 24, "emili": 24, "bongiovanni": 24, "jaidynn": 24, "fohr": 24, "proofread": 24, "brad": 24, "miller": 24, "runeston": [24, 25], "academi": [24, 25], "platform": [24, 25], "my": 24, "patienc": 24, "patti": 24, "tim": 24, "god": 25, "edward": 25, "deme": 25, "introductori": 25, "sustain": 25, "growth": 25, "licens": 25, "creativ": [25, 26], "sharealik": [25, 26], "redistribut": 25, "github": 25, "welcom": 25, "regularli": 25, "orient": 25, "core": 25, "supplement": 25, "academia": 25, "alik": 25, "seemingli": 25, "gravit": 25, "center": 25, "embed": 25, "educ": 25, "resourc": 25, "laid": 25, "unesco": 25, "nosql": 25, "relational databas": 26, "computer sci": 26, "christoph": 26, "painter": 26, "8209": 26, "wakefield": 26, "prefac": 26, "triniti": 26, "colleg": 26, "henri": 26, "unsplash": 26, "commit": 26, "2023": 26, "electrotechn": 27, "commiss": 27, "iec": 27, "9075": 27, "fifth": 27, "doc": 27, "html": 27, "dev": 27, "com": 27, "refman": 27, "en": 27, "april": 27, "2020": 27, "sqlrf": 27, "ver15": 27, "pin": 27, "shan": 27, "acm": 27, "tod": 27, "36": 27, "ramez": 27, "sham": 27, "7th": 27, "pearson": 27, "proc": 27, "texa": 27, "confer": 27, "child": 27, "l": 27, "feasibl": 27, "reconstitut": 27, "ifip": 27, "cong": 27, "frank": 27, "bank": 27, "1983": 27, "69": 27}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"basic": [0, 13, 17], "databas": [0, 13, 17, 19, 21, 22, 23, 26, 27], "system": 0, "tabl": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 22, 26], "structur": 0, "queri": [0, 3, 4, 5, 18], "languag": 0, "sql": [0, 11, 20, 22, 23, 27], "retriev": [0, 1], "data": [0, 1, 4, 5, 8, 12, 16, 22, 23, 27], "us": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 13, 22], "select": [0, 7, 18], "specif": 0, "column": [0, 2, 3, 4, 7], "look": 0, "ahead": 0, "creat": [0, 5, 6], "ad": [0, 4], "statement": [0, 4, 7], "rule": [0, 19], "convent": 0, "comment": 0, "interact": 0, "exampl": [0, 13, 19, 22], "thi": [1, 2, 3, 4, 6, 7, 8, 9, 10, 22], "chapter": [1, 2, 3, 4, 6, 7, 8, 9, 10], "filter": [1, 8], "row": [1, 4, 7], "where": 1, "claus": [1, 7], "order": [1, 2], "BY": 1, "uniqu": [1, 6, 17], "distinct": 1, "keyword": 1, "self": [1, 2, 3, 4, 5, 7, 8, 9, 13, 14, 17], "check": [1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17], "exercis": [1, 2, 3, 4, 5, 7, 8, 9, 13, 14, 17], "express": [2, 7, 10, 18], "liter": 2, "oper": [2, 9, 17, 18, 23], "function": [2, 10, 19, 23], "comparison": [2, 7, 23], "mathemat": [2, 23], "charact": [2, 5, 23], "string": [2, 5, 23], "boolean": [2, 7, 23], "date": [2, 5, 23], "time": [2, 5, 23], "null": [2, 6, 17], "condit": 2, "multipl": [3, 4], "simpl": [3, 22], "join": [3, 7, 18], "name": 3, "thing": 3, "collis": 3, "ambigu": 3, "qualifi": 3, "alias": 3, "reserv": 3, "space": 3, "mix": 3, "case": 3, "ident": 3, "relationship": [3, 13, 14, 15], "One": [3, 14], "one": [3, 14], "mani": [3, 14], "inner": 3, "outer": 3, "implicit": 3, "syntax": 3, "modifi": 4, "insert": [4, 19], "specifi": 4, "result": [4, 7], "remov": 4, "delet": [4, 19], "updat": [4, 19], "other": [4, 6, 7, 22], "modif": [4, 17, 19], "type": [5, 19, 23], "creation": 5, "number": [5, 23], "integ": [5, 23], "exact": [5, 19, 23], "decim": [5, 23], "float": [5, 23], "point": [5, 23], "addit": 5, "sqlite": [5, 22], "from": [5, 7], "scratch": 5, "drop": 5, "default": 5, "auto": 5, "increment": 5, "kei": [6, 13, 17, 19], "constraint": [6, 17], "primari": [6, 17], "foreign": [6, 17], "enforc": 6, "mechan": 6, "NOT": 6, "subqueri": 7, "scalar": 7, "IN": 7, "all": 7, "ani": 7, "some": 7, "correl": 7, "exist": 7, "set": [7, 9, 17, 18, 20], "group": 8, "aggreg": [8, 23], "statist": 8, "refresh": 9, "union": 9, "multiset": 9, "complic": 9, "intersect": 9, "differ": [9, 20], "chain": 9, "advanc": 10, "topic": 10, "view": 10, "common": [10, 15], "window": 10, "introduct": [12, 19, 26], "model": [12, 13, 14, 15, 16, 17, 20, 27], "entiti": [13, 14, 15], "diagram": 13, "attribut": [13, 14, 15, 17, 20], "cardin": [13, 15], "ratio": [13, 15], "particip": [13, 15], "put": 13, "togeth": 13, "more": 13, "complex": 13, "option": 13, "recurs": 13, "weak": [13, 14], "composit": 13, "multivalu": [13, 14, 19], "deriv": 13, "higher": [13, 14], "ariti": [13, 14], "complet": 13, "erd": [13, 14, 15], "design": [13, 19], "analysi": 13, "implement": 13, "beyond": 13, "convert": 14, "relat": [14, 17, 18, 20, 21, 27], "regular": 14, "employe": 14, "preliminari": 14, "factori": 14, "assembly_lin": 14, "vendor": 14, "part": 14, "vendor_part": 14, "identifi": 14, "model_appl": 14, "applic": 14, "full": 14, "convers": 14, "model_part": 14, "altern": 15, "variat": 15, "crow": 15, "": [15, 18], "foot": 15, "notat": 15, "lower": 15, "level": 15, "minimum": 15, "maximum": 15, "The": [17, 22], "tupl": [17, 20], "schema": 17, "permut": 17, "consist": 17, "three": 17, "valu": 17, "logic": [17, 20], "algebra": 18, "unari": 18, "book": [18, 19, 22], "project": 18, "pi_": 18, "text": 18, "year": 18, "renam": 18, "cross": 18, "product": 18, "author": [18, 19], "t": 18, "theta": 18, "equijoin": 18, "natur": 18, "A": [18, 22, 26], "b": [18, 23], "cup": 18, "cap": 18, "divis": 18, "p": 18, "r": 18, "q": 18, "authors_award": 18, "science_fiction_award": 18, "div": 18, "sequenc": 18, "tree": 18, "normal": 19, "anomali": 19, "class": 19, "solut": 19, "instructor": 19, "form": 19, "superkei": 19, "librari": 19, "depend": 19, "infer": 19, "closur": 19, "second": 19, "third": 19, "boyc": 19, "codd": 19, "decomposit": 19, "algorithm": 19, "work": 19, "library2": 19, "genr": 19, "properti": 19, "recoveri": 19, "preserv": 19, "scifi_award": 19, "scifi_awards_1": 19, "scifi_awards_2": 19, "fourth": 19, "authors_and_award": 19, "author_award": 19, "author_book_award": 19, "trade": 19, "off": 19, "between": 20, "confus": 20, "theori": [21, 27], "appendix": [22, 23], "dataset": 22, "quick": 22, "link": 22, "descript": 22, "expand": 22, "bookstor": 22, "collect": 22, "note": 22, "get": 22, "postgresql": 22, "mysql": 22, "oracl": 22, "server": 22, "raw": 22, "file": 22, "refer": [23, 27], "support": 23, "miscellan": 23, "acknowledg": 24, "prefac": 25, "practic": 26, "content": 26, "cover": 26, "photo": 26, "licens": 26, "version": 26}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"Basics": [[0, "basics"]], "Databases and database systems": [[0, "databases-and-database-systems"]], "Tables": [[0, "tables"]], "Structured Query Language (SQL)": [[0, "structured-query-language-sql"]], "Retrieving data using SELECT": [[0, "retrieving-data-using-select"]], "Retrieving specific columns": [[0, "retrieving-specific-columns"]], "Looking ahead": [[0, "looking-ahead"], [0, "id1"]], "Creating tables and adding data": [[0, "creating-tables-and-adding-data"]], "SQL statement rules and conventions": [[0, "sql-statement-rules-and-conventions"]], "Comments": [[0, "comments"]], "Interactive examples": [[0, "interactive-examples"]], "Data retrieval": [[1, "data-retrieval"]], "Tables used in this chapter": [[1, "tables-used-in-this-chapter"], [2, "tables-used-in-this-chapter"], [3, "tables-used-in-this-chapter"], [4, "tables-used-in-this-chapter"], [6, "tables-used-in-this-chapter"], [7, "tables-used-in-this-chapter"], [8, "tables-used-in-this-chapter"], [9, "tables-used-in-this-chapter"], [10, "tables-used-in-this-chapter"]], "Filtering rows: the WHERE clause": [[1, "filtering-rows-the-where-clause"]], "Ordering data: the ORDER BY clause": [[1, "ordering-data-the-order-by-clause"]], "Retrieving unique rows: the DISTINCT keyword": [[1, "retrieving-unique-rows-the-distinct-keyword"]], "Self-check exercises": [[1, "self-check-exercises"], [2, "self-check-exercises"], [3, "self-check-exercises"], [4, "self-check-exercises"], [5, "self-check-exercises"], [7, "self-check-exercises"], [8, "self-check-exercises"], [9, "self-check-exercises"], [13, "self-check-exercises"], [14, "self-check-exercises"], [17, "self-check-exercises"]], "Expressions": [[2, "expressions"]], "Column expressions": [[2, "column-expressions"]], "Literals": [[2, "literals"]], "Operators and functions": [[2, "operators-and-functions"], [23, "operators-and-functions"]], "Comparison operators": [[2, "comparison-operators"], [23, "comparison-operators"]], "Mathematics": [[2, "mathematics"]], "Character string operators and functions": [[2, "character-string-operators-and-functions"], [23, "character-string-operators-and-functions"]], "Boolean operators": [[2, "boolean-operators"], [23, "boolean-operators"]], "Date and time operators and functions": [[2, "date-and-time-operators-and-functions"], [23, "date-and-time-operators-and-functions"]], "NULL": [[2, "null"], [17, "null"]], "Ordering and NULLs": [[2, "ordering-and-nulls"]], "Conditional expressions": [[2, "conditional-expressions"]], "Queries on multiple tables": [[3, "queries-on-multiple-tables"]], "Simple joins": [[3, "simple-joins"]], "Names of things": [[3, "names-of-things"]], "Name collisions and ambiguity": [[3, "name-collisions-and-ambiguity"]], "Qualified names": [[3, "qualified-names"]], "Aliasing": [[3, "aliasing"]], "Reserved names, names with spaces, or mixed-case names": [[3, "reserved-names-names-with-spaces-or-mixed-case-names"]], "Identity columns": [[3, "index-5"]], "Table relationships": [[3, "table-relationships"]], "One-to-one": [[3, "one-to-one"], [14, "one-to-one"]], "One-to-many": [[3, "one-to-many"], [14, "one-to-many"]], "Many-to-many": [[3, "many-to-many"], [14, "many-to-many"]], "Inner and outer joins": [[3, "inner-and-outer-joins"]], "Implicit join syntax": [[3, "implicit-join-syntax"]], "Modifying data": [[4, "modifying-data"]], "Adding data using INSERT": [[4, "adding-data-using-insert"]], "Specifying columns": [[4, "specifying-columns"]], "Inserting multiple rows": [[4, "inserting-multiple-rows"]], "Inserting query results": [[4, "inserting-query-results"]], "Removing data with DELETE": [[4, "removing-data-with-delete"]], "Modifying data with UPDATE": [[4, "modifying-data-with-update"]], "Other data modification statements": [[4, "other-data-modification-statements"]], "Data types and table creation": [[5, "data-types-and-table-creation"]], "Data types": [[5, "data-types"], [23, "data-types"]], "Numbers": [[5, "numbers"]], "Integers": [[5, "integers"], [23, "integers"]], "Exact decimal numbers": [[5, "exact-decimal-numbers"], [23, "exact-decimal-numbers"]], "Floating point numbers": [[5, "floating-point-numbers"], [23, "floating-point-numbers"]], "Character string types": [[5, "character-string-types"], [23, "character-string-types"]], "Date and time types": [[5, "date-and-time-types"], [23, "date-and-time-types"]], "Additional data types": [[5, "additional-data-types"]], "Types in SQLite": [[5, "types-in-sqlite"]], "Creating tables": [[5, "creating-tables"]], "Creating a table from scratch": [[5, "creating-a-table-from-scratch"]], "Dropping tables": [[5, "dropping-tables"]], "Creating a table from a query": [[5, "creating-a-table-from-a-query"]], "Defaults and auto increments": [[5, "defaults-and-auto-increments"]], "Keys and constraints": [[6, "keys-and-constraints"]], "Constraints": [[6, "constraints"], [17, "constraints"]], "Primary keys": [[6, "primary-keys"]], "Creating a primary key": [[6, "creating-a-primary-key"]], "Foreign keys": [[6, "foreign-keys"], [17, "foreign-keys"]], "Creating a foreign key constraint": [[6, "creating-a-foreign-key-constraint"]], "Enforcement mechanisms": [[6, "enforcement-mechanisms"]], "Other constraints": [[6, "other-constraints"]], "UNIQUE": [[6, "unique"]], "NOT NULL": [[6, "not-null"]], "CHECK": [[6, "check"]], "Subqueries": [[7, "subqueries"]], "Scalars, rows, and tables": [[7, "scalars-rows-and-tables"]], "Boolean expressions using subqueries": [[7, "boolean-expressions-using-subqueries"]], "Scalar or row result": [[7, "scalar-or-row-result"]], "Table or column result": [[7, "table-or-column-result"]], "IN": [[7, "in"]], "ALL, ANY, and SOME": [[7, "all-any-and-some"]], "Use in statements": [[7, "use-in-statements"]], "Correlated subqueries": [[7, "correlated-subqueries"]], "EXISTS": [[7, "exists"]], "Subqueries in other clauses": [[7, "subqueries-in-other-clauses"]], "SELECT": [[7, "select"]], "SET": [[7, "set"]], "FROM": [[7, "from"]], "Comparison with joins": [[7, "comparison-with-joins"]], "Grouping and aggregation": [[8, "grouping-and-aggregation"]], "Aggregate statistics": [[8, "aggregate-statistics"]], "Grouping": [[8, "grouping"]], "Filtering grouped data": [[8, "filtering-grouped-data"]], "Set operations": [[9, "set-operations"], [18, "set-operations"]], "Sets refresher": [[9, "sets-refresher"]], "Tables as sets": [[9, "tables-as-sets"]], "Union": [[9, "union"]], "Multiset complication": [[9, "multiset-complication"]], "Intersection": [[9, "intersection"]], "Set difference": [[9, "set-difference"]], "Chaining operations": [[9, "chaining-operations"]], "Advanced topics": [[10, "advanced-topics"]], "Views": [[10, "views"]], "Common table expressions": [[10, "common-table-expressions"]], "Window functions": [[10, "window-functions"]], "SQL": [[11, "sql"], [27, "sql"]], "Introduction to data modeling": [[12, "introduction-to-data-modeling"]], "Entity-relationship diagrams": [[13, "entity-relationship-diagrams"]], "Basic model": [[13, "basic-model"]], "Entities": [[13, "entities"], [14, "entities"]], "Attributes": [[13, "attributes"], [15, "attributes"], [17, "attributes"]], "Keys": [[13, "keys"]], "Relationships": [[13, "relationships"], [14, "relationships"]], "Cardinality ratios and participation": [[13, "cardinality-ratios-and-participation"], [15, "cardinality-ratios-and-participation"]], "Putting it together": [[13, "putting-it-together"]], "More complex modeling options": [[13, "more-complex-modeling-options"]], "Recursive relationships": [[13, "recursive-relationships"]], "Weak entities": [[13, "weak-entities"], [14, "weak-entities"]], "Composite attributes": [[13, "composite-attributes"]], "Multivalued attributes": [[13, "multivalued-attributes"], [14, "multivalued-attributes"]], "Derived attributes": [[13, "derived-attributes"]], "Relationship attributes": [[13, "relationship-attributes"]], "Higher-arity relationships": [[13, "higher-arity-relationships"]], "Complete example": [[13, "complete-example"]], "Using ERD to design a database": [[13, "using-erd-to-design-a-database"]], "Analysis": [[13, "analysis"]], "Design, implementation, and beyond": [[13, "design-implementation-and-beyond"]], "Converting ERD to a relational model": [[14, "converting-erd-to-a-relational-model"]], "Regular entities": [[14, "regular-entities"]], "Table employee (preliminary)": [[14, "id3"]], "Table factory (preliminary)": [[14, "id4"]], "Table assembly_line": [[14, "id5"], [14, "id16"]], "Table vendor": [[14, "id6"], [14, "id22"]], "Table part": [[14, "id7"], [14, "id20"]], "Table vendor_part": [[14, "id8"], [14, "id23"]], "Table employee": [[14, "id9"], [14, "id14"]], "Table factory": [[14, "id10"], [14, "id15"]], "Higher arity relationships": [[14, "higher-arity-relationships"]], "Identifying relationships": [[14, "identifying-relationships"]], "Table model (preliminary)": [[14, "id11"]], "Table model_application (preliminary)": [[14, "id12"]], "Table application": [[14, "id13"], [14, "id19"]], "Full model conversion": [[14, "full-model-conversion"]], "Table model": [[14, "id17"]], "Table model_application": [[14, "id18"]], "Table model_part": [[14, "id21"]], "ERD alternatives and variations": [[15, "erd-alternatives-and-variations"]], "Crow\u2019s foot notation": [[15, "crow-s-foot-notation"]], "Entity-relationship modeling": [[15, "entity-relationship-modeling"]], "Lower level models": [[15, "lower-level-models"]], "Common variations": [[15, "common-variations"]], "Participation": [[15, "id5"]], "Minimum and maximum cardinality": [[15, "id6"]], "DATA MODELING": [[16, "data-modeling"]], "The relational model of the database": [[17, "the-relational-model-of-the-database"]], "Model basics": [[17, "model-basics"]], "Sets": [[17, "sets"]], "Relations": [[17, "relations"]], "Tuples": [[17, "tuples"]], "Schemas": [[17, "schemas"]], "Uniqueness and permutations": [[17, "uniqueness-and-permutations"]], "Keys and primary keys": [[17, "keys-and-primary-keys"]], "Consistency": [[17, "consistency"]], "Modification operations": [[17, "modification-operations"]], "Three-valued logic": [[17, "three-valued-logic"]], "Constraints and NULL": [[17, "constraints-and-null"]], "Relational algebra": [[18, "relational-algebra"]], "Unary operations": [[18, "unary-operations"]], "books": [[18, "id9"], [19, "id19"]], "Selection": [[18, "selection"]], "Projection": [[18, "projection"]], "\\pi_{\\text{year}}(\\text{books})": [[18, "id10"]], "Renaming": [[18, "renaming"]], "Cross products and joins": [[18, "cross-products-and-joins"]], "authors": [[18, "id11"], [19, "id17"]], "Cross product": [[18, "cross-product"]], "S": [[18, "id12"]], "T": [[18, "id13"]], "Join": [[18, "join"]], "Theta-join and equijoin": [[18, "theta-join-and-equijoin"]], "Natural join": [[18, "natural-join"]], "A": [[18, "id14"]], "B": [[18, "id15"]], "\\text{A} \\cup \\text{B}": [[18, "id16"]], "\\text{A} \\cap \\text{B}": [[18, "id17"]], "\\text{A} - \\text{B}": [[18, "id18"]], "\\text{B} - \\text{A}": [[18, "id19"]], "Division": [[18, "division"]], "P": [[18, "id20"]], "R": [[18, "id21"]], "Q": [[18, "id22"]], "authors_awards": [[18, "id23"]], "science_fiction_awards": [[18, "id24"]], "\\text{authors_awards} \\div \\text{science_fiction_awards}": [[18, "id25"]], "Queries": [[18, "queries"]], "Operation sequences": [[18, "operation-sequences"]], "Expression trees": [[18, "expression-trees"]], "Normalization": [[19, "normalization"]], "Introduction": [[19, "introduction"]], "Modification anomalies": [[19, "modification-anomalies"]], "classes": [[19, "id13"], [19, "id14"]], "Insert anomaly": [[19, "insert-anomaly"]], "Delete anomaly": [[19, "delete-anomaly"]], "Update anomaly": [[19, "update-anomaly"]], "Example solution": [[19, "example-solution"]], "instructors": [[19, "id15"]], "Normal forms": [[19, "normal-forms"]], "Keys and superkeys": [[19, "keys-and-superkeys"]], "library": [[19, "id16"]], "Functional dependencies": [[19, "functional-dependencies"]], "Types of functional dependency": [[19, "types-of-functional-dependency"]], "Inference rules": [[19, "inference-rules"]], "Closure": [[19, "closure"]], "Second, third, and Boyce-Codd normal forms": [[19, "second-third-and-boyce-codd-normal-forms"]], "Second normal form": [[19, "second-normal-form"]], "Third normal form": [[19, "third-normal-form"]], "Boyce-Codd normal form": [[19, "boyce-codd-normal-form"]], "Decomposition": [[19, "decomposition"]], "Decomposition algorithm": [[19, "decomposition-algorithm"]], "Worked example": [[19, "worked-example"]], "library2": [[19, "id18"]], "genres": [[19, "id20"]], "Decomposition properties": [[19, "decomposition-properties"]], "Exact recovery": [[19, "exact-recovery"]], "Dependency preservation": [[19, "dependency-preservation"]], "scifi_awards": [[19, "id21"]], "scifi_awards_1": [[19, "id22"]], "scifi_awards_2": [[19, "id23"]], "Multivalued dependencies and fourth normal form": [[19, "multivalued-dependencies-and-fourth-normal-form"]], "authors_and_awards": [[19, "id24"]], "author_awards": [[19, "id25"]], "author_book_awards": [[19, "id26"]], "Trade-offs": [[19, "trade-offs"]], "Normalization in database design": [[19, "normalization-in-database-design"]], "Differences between SQL and the relational model": [[20, "differences-between-sql-and-the-relational-model"]], "Relations as sets": [[20, "relations-as-sets"]], "Tuples and attributes": [[20, "tuples-and-attributes"]], "Logical confusions": [[20, "logical-confusions"]], "RELATIONAL DATABASE THEORY": [[21, "relational-database-theory"]], "Appendix A: Example datasets used in this book": [[22, "appendix-a-example-datasets-used-in-this-book"]], "Quick links": [[22, "quick-links"]], "Dataset descriptions": [[22, "dataset-descriptions"]], "The simple books dataset": [[22, "the-simple-books-dataset"]], "The expanded books dataset": [[22, "the-expanded-books-dataset"]], "The bookstore dataset": [[22, "the-bookstore-dataset"]], "Other tables in the database": [[22, "other-tables-in-the-database"]], "Data collection notes": [[22, "data-collection-notes"]], "Getting the data": [[22, "getting-the-data"]], "SQLite": [[22, "id1"]], "PostgreSQL": [[22, "postgresql"]], "MySQL": [[22, "mysql"]], "Oracle": [[22, "oracle"]], "SQL Server": [[22, "sql-server"]], "Raw data files": [[22, "raw-data-files"]], "Appendix B: SQL Reference": [[23, "appendix-b-sql-reference"]], "Number types": [[23, "number-types"]], "Database support for number types": [[23, "database-support-for-number-types"]], "Mathematical operators and functions": [[23, "mathematical-operators-and-functions"]], "Miscellaneous operators and functions": [[23, "miscellaneous-operators-and-functions"]], "Aggregate functions": [[23, "aggregate-functions"]], "Acknowledgments": [[24, "acknowledgments"]], "Preface": [[25, "preface"]], "A Practical Introduction to Databases": [[26, "a-practical-introduction-to-databases"]], "Table of contents": [[26, "table-of-contents"]], "Cover photo": [[26, "cover-photo"]], "License": [[26, "license"]], "Version": [[26, "version"]], "References": [[27, "references"]], "Data modeling": [[27, "data-modeling"]], "Relational database theory": [[27, "relational-database-theory"]]}, "indexentries": {"dbms": [[0, "index-0"]], "from": [[0, "index-3"]], "select": [[0, "index-3"]], "sql": [[0, "index-2"]], "structured query language": [[0, "index-2"]], "clause": [[0, "index-3"]], "column": [[0, "index-1"], [3, "index-5"]], "comments": [[0, "index-4"]], "data": [[0, "index-3"], [4, "index-0"], [4, "index-2"], [4, "index-3"], [5, "index-1"], [12, "index-0"]], "database": [[0, "index-0"], [12, "index-0"], [17, "index-0"], [17, "index-7"]], "database management system": [[0, "index-0"]], "database system": [[0, "index-0"]], "defined": [[0, "index-0"], [0, "index-1"], [9, "index-1"]], "query": [[0, "index-2"]], "query language": [[0, "index-2"]], "retrieving": [[0, "index-3"]], "row": [[0, "index-1"]], "statement": [[0, "index-2"]], "table": [[0, "index-1"], [3, "index-8"], [5, "index-0"], [5, "index-9"], [6, "index-3"]], "asc": [[1, "index-1"]], "desc": [[1, "index-1"]], "distinct": [[1, "index-2"]], "order by": [[1, "index-1"]], "where": [[1, "index-0"]], "uniqueness": [[1, "index-2"], [6, "index-6"]], "and": [[2, "index-6"]], "boolean": [[2, "index-2"], [2, "index-6"], [5, "index-7"], [5, "index-7"]], "current_date": [[2, "index-7"]], "current_time": [[2, "index-7"]], "current_timestamp": [[2, "index-7"]], "like": [[2, "index-5"]], "not": [[2, "index-6"]], "null - sql": [[2, "index-8"]], "or": [[2, "index-6"]], "character string": [[2, "index-2"], [2, "index-5"], [5, "index-5"]], "column expression": [[2, "index-1"]], "comparison": [[2, "index-3"]], "conditional expressions": [[2, "index-9"]], "date and time": [[2, "index-7"]], "expression": [[2, "index-0"]], "function": [[2, "index-4"], [2, "index-5"], [2, "index-7"]], "literal": [[2, "index-2"]], "mathematics": [[2, "index-4"]], "number": [[2, "index-2"]], "operator": [[2, "index-3"], [2, "index-4"], [2, "index-5"], [2, "index-6"], [2, "index-7"]], "pattern matching": [[2, "index-5"]], "string concatenation": [[2, "index-5"]], "three value logic - sql": [[2, "index-8"]], "as": [[3, "index-3"]], "cross join": [[3, "index-10"]], "full [outer] join": [[3, "index-9"]], "inner join": [[3, "index-9"]], "join": [[3, "index-0"], [7, "index-11"], [18, "index-3"]], "left [outer] join": [[3, "index-9"]], "right [outer] join": [[3, "index-9"]], "uuid": [[3, "index-5"]], "aliasing": [[3, "index-3"]], "ambiguity": [[3, "index-1"]], "collision": [[3, "index-1"]], "cross product - sql": [[3, "index-10"]], "cross-reference": [[3, "index-8"]], "cross-reference table": [[3, "index-8"]], "double quotes": [[3, "index-4"]], "id column": [[3, "index-5"]], "identity": [[3, "index-5"]], "implicit": [[3, "index-10"]], "inner": [[3, "index-0"]], "join - sql": [[3, "index-0"], [3, "index-10"], [3, "index-9"], [3, "index-0"]], "join condition": [[3, "index-0"]], "many-to-many": [[3, "index-8"], [13, "index-5"]], "many-to-many relationship - tables": [[3, "index-8"]], "many-to-one": [[3, "index-7"], [13, "index-5"]], "many-to-one relationship - tables": [[3, "index-7"]], "name": [[3, "index-1"], [3, "index-2"]], "one-to-many": [[3, "index-7"], [13, "index-5"]], "one-to-many relationship - tables": [[3, "index-7"]], "one-to-one": [[3, "index-6"], [13, "index-5"]], "one-to-one relationship - tables": [[3, "index-6"]], "outer": [[3, "index-9"]], "outer join": [[3, "index-9"]], "qualified": [[3, "index-2"]], "relationship - tables": [[3, "index-6"], [3, "index-7"], [3, "index-8"]], "universally unique identifier": [[3, "index-5"]], "delete": [[4, "index-2"]], "insert": [[4, "index-0"]], "insert into": [[4, "index-0"]], "insert into ... select": [[4, "index-1"]], "merge": [[4, "index-4"]], "set": [[4, "index-3"], [9, "index-1"]], "truncate": [[4, "index-4"]], "update": [[4, "index-3"]], "adding": [[4, "index-0"]], "modifying": [[4, "index-3"]], "removing": [[4, "index-2"]], "bigint": [[5, "index-2"]], "char": [[5, "index-5"]], "character": [[5, "index-5"]], "character varying": [[5, "index-5"]], "create table": [[5, "index-8"]], "create table ... as select": [[5, "index-10"]], "decimal": [[5, "index-3"]], "default": [[5, "index-11"], [5, "index-11"]], "double": [[5, "index-4"]], "double precision": [[5, "index-4"]], "drop table": [[5, "index-9"]], "float": [[5, "index-4"]], "false": [[5, "index-7"]], "generated ... as identity": [[5, "index-11"]], "int": [[5, "index-2"]], "integer": [[5, "index-2"], [5, "index-2"]], "numeric": [[5, "index-3"]], "real": [[5, "index-4"]], "smallint": [[5, "index-2"]], "text": [[5, "index-5"]], "true": [[5, "index-7"]], "varchar": [[5, "index-5"]], "auto increment": [[5, "index-11"]], "creation": [[5, "index-0"]], "data type": [[5, "index-1"], [5, "index-2"], [5, "index-3"], [5, "index-4"], [5, "index-5"], [5, "index-6"], [5, "index-7"]], "date": [[5, "index-6"]], "exact decimal number": [[5, "index-3"]], "floating point number": [[5, "index-4"]], "precision": [[5, "index-3"]], "removal": [[5, "index-9"]], "scale": [[5, "index-3"]], "sequence": [[5, "index-11"]], "time": [[5, "index-6"]], "timestamp": [[5, "index-6"]], "types": [[5, "index-1"]], "alter table": [[6, "index-2"]], "check": [[6, "index-8"], [6, "index-8"]], "foreign key": [[6, "index-4"], [6, "index-3"]], "not null": [[6, "index-7"], [6, "index-7"]], "on [update|delete] cascade": [[6, "index-5"]], "on [update|delete] restrict": [[6, "index-5"]], "on [update|delete] set null": [[6, "index-5"]], "primary key": [[6, "index-2"], [6, "index-1"]], "references": [[6, "index-4"]], "unique": [[6, "index-6"], [17, "index-5"]], "constraint": [[6, "index-0"], [6, "index-1"], [6, "index-3"], [6, "index-5"], [6, "index-6"], [6, "index-7"], [6, "index-8"]], "domain": [[6, "index-0"], [17, "index-2"]], "foreign": [[6, "index-3"], [17, "index-6"]], "foreign key - sql": [[6, "index-3"]], "key - sql": [[6, "index-1"], [6, "index-3"]], "primary": [[6, "index-1"], [17, "index-5"]], "primary key - sql": [[6, "index-1"]], "referenced": [[6, "index-3"]], "referencing": [[6, "index-3"]], "referential integrity": [[6, "index-3"]], "referential integrity constraint": [[6, "index-3"]], "violation": [[6, "index-5"]], "all": [[7, "index-4"]], "any": [[7, "index-4"]], "exists": [[7, "index-7"]], "in": [[7, "index-3"]], "not exists": [[7, "index-7"]], "not in": [[7, "index-3"]], "some": [[7, "index-4"]], "compared to join": [[7, "index-11"]], "compared to subquery": [[7, "index-11"]], "correlated": [[7, "index-6"]], "correlated subquery": [[7, "index-6"]], "nested query": [[7, "index-0"]], "row value": [[7, "index-1"]], "row value constructor": [[7, "index-1"]], "scalar value": [[7, "index-1"]], "subquery": [[7, "index-0"], [7, "index-10"], [7, "index-11"], [7, "index-2"], [7, "index-5"], [7, "index-6"], [7, "index-8"], [7, "index-9"]], "subquery expression": [[7, "index-0"]], "table value": [[7, "index-1"]], "used in boolean expression": [[7, "index-2"]], "used in from clause": [[7, "index-10"]], "used in select clause": [[7, "index-8"]], "used in statement": [[7, "index-5"]], "used in update": [[7, "index-9"]], "avg": [[8, "index-0"]], "count": [[8, "index-0"]], "group by": [[8, "index-1"]], "having": [[8, "index-2"]], "max": [[8, "index-0"]], "min": [[8, "index-0"]], "sum": [[8, "index-0"]], "aggregate function": [[8, "index-0"]], "aggregate statistic": [[8, "index-0"]], "grouping": [[8, "index-1"]], "except": [[9, "index-6"]], "intersect": [[9, "index-5"]], "union": [[9, "index-3"], [9, "index-3"], [18, "index-6"]], "union all": [[9, "index-4"]], "difference": [[9, "index-6"], [18, "index-6"]], "intersection": [[9, "index-5"], [18, "index-6"]], "multiset": [[9, "index-2"]], "set operation - sql": [[9, "index-0"], [9, "index-3"], [9, "index-5"], [9, "index-6"]], "create view": [[10, "index-0"]], "cte": [[10, "index-1"]], "drop view": [[10, "index-0"]], "partition by": [[10, "index-2"]], "with": [[10, "index-1"]], "common table expression": [[10, "index-1"]], "view": [[10, "index-0"]], "window function": [[10, "index-2"]], "analysis": [[12, "index-0"]], "data model": [[12, "index-0"]], "design": [[12, "index-0"]], "modeling": [[12, "index-0"]], "chen notation": [[13, "index-0"]], "erd": [[13, "index-0"], [14, "index-0"]], "attribute": [[13, "index-11"], [17, "index-3"]], "cardinality ratio": [[13, "index-5"], [15, "index-3"]], "composite": [[13, "index-8"]], "derived": [[13, "index-10"]], "entity": [[13, "index-1"], [13, "index-7"]], "entity attribute": [[13, "index-10"], [13, "index-2"], [13, "index-3"], [13, "index-8"], [13, "index-9"]], "entity-relationship diagram": [[13, "index-0"]], "higher-arity": [[13, "index-12"]], "identifying relationship": [[13, "index-7"]], "key": [[13, "index-3"]], "many-to-many relationship - erd": [[13, "index-5"]], "many-to-one relationship - erd": [[13, "index-5"]], "multivalued": [[13, "index-9"]], "one-to-many relationship - erd": [[13, "index-5"]], "one-to-one relationship - erd": [[13, "index-5"]], "partial": [[13, "index-5"]], "partial key": [[13, "index-7"]], "partial participation": [[13, "index-5"]], "participation": [[13, "index-5"]], "recursive": [[13, "index-6"]], "recursive relationship": [[13, "index-6"]], "regular": [[13, "index-1"]], "relationship - erd": [[13, "index-11"], [13, "index-12"], [13, "index-4"], [13, "index-5"], [13, "index-6"]], "total": [[13, "index-5"]], "total participation": [[13, "index-5"]], "weak": [[13, "index-7"]], "weak entity": [[13, "index-7"]], "weak key": [[13, "index-7"]], "conversion to sql": [[14, "index-0"]], "uml": [[15, "index-2"]], "alternate notation": [[15, "index-3"]], "crow's foot notation": [[15, "index-0"]], "logical model": [[15, "index-1"]], "physical model": [[15, "index-1"]], "unified modeling language": [[15, "index-2"]], "null - relational model": [[17, "index-8"]], "candidate": [[17, "index-5"]], "candidate key": [[17, "index-5"]], "consistency": [[17, "index-7"]], "foreign key - relational model": [[17, "index-6"]], "inconsistent": [[17, "index-7"]], "key - relational model": [[17, "index-5"], [17, "index-6"]], "primary key - relational model": [[17, "index-5"]], "relation": [[17, "index-1"]], "relation schema": [[17, "index-4"]], "relational model of": [[17, "index-0"]], "relational model of databases": [[17, "index-0"]], "schema": [[17, "index-4"]], "three-value logic - relational model": [[17, "index-9"]], "tuple": [[17, "index-2"], [17, "index-3"]], "unique key": [[17, "index-5"]], "cross product": [[18, "index-2"]], "cross product - relational algebra": [[18, "index-2"]], "division": [[18, "index-7"]], "equijoin": [[18, "index-4"]], "join - relational algebra": [[18, "index-3"]], "natural join": [[18, "index-5"]], "projection": [[18, "index-1"]], "query trees": [[18, "index-8"]], "relational algebra": [[18, "index-0"]], "relational algebra operations": [[18, "index-1"], [18, "index-2"], [18, "index-3"], [18, "index-5"], [18, "index-6"], [18, "index-7"]], "relational calculus": [[18, "index-0"]], "renaming": [[18, "index-1"]], "selection": [[18, "index-1"]], "set difference": [[18, "index-6"]], "set operation - relational algebra": [[18, "index-6"]], "theta join": [[18, "index-4"]], "2nf": [[19, "index-11"]], "3nf": [[19, "index-11"]], "4nf": [[19, "index-13"]], "bcnf": [[19, "index-11"]], "boyce-codd normal form": [[19, "index-11"]], "closure": [[19, "index-10"]], "decomposition": [[19, "index-12"]], "delete anomaly": [[19, "index-4"]], "fourth normal form": [[19, "index-13"]], "functional dependency": [[19, "index-8"], [19, "index-9"]], "inference rules": [[19, "index-9"]], "insert anomaly": [[19, "index-3"]], "key - normalization": [[19, "index-7"]], "modification anomaly": [[19, "index-2"]], "multivalued dependency": [[19, "index-13"]], "normal form": [[19, "index-6"]], "normalization": [[19, "index-0"], [19, "index-12"]], "redundancy": [[19, "index-1"]], "second normal form": [[19, "index-11"]], "superkey": [[19, "index-7"]], "third normal form": [[19, "index-11"]], "update anomaly": [[19, "index-5"]]}})