1.1 Relational Model Flashcards
What are the three parts of a database model?
- Data structures that prescribe how data is organized.
- Operations that manipulate data structures.
- Rules that govern valid data.
What is SQL?
SQL is the universal query language of relational databases, standardizing data structure, operations, and rules.
What is big data?
Big data refers to the unprecedented data volumes and rapidly changing data structures generated by the rise of the internet in the 1990s.
What is a set?
A set is an unordered collection of elements enclosed in braces. {}
What is a tuple?
A tuple is an ordered collection of elements enclosed in parentheses. ()
What defines a table in a database?
A table has a name, a fixed tuple of columns, and a varying set of rows.
What is a data type?
A data type is a named set of values from which column values are drawn.
What is relational algebra?
Relational algebra consists of operations that are the theoretical foundation of the SQL language.
What are relational rules?
Relational rules are part of the relational model and govern data in every relational database.
What are business rules?
Business rules are based on business policy and specific to a particular database.
What are constraints in a relational database?
relational rules implemented as SQL constraints and enforced by the database system.
Framework
a structured set of tools, guidelines, and components that developers use to build applications efficiently. It provides a foundation and standard practices that simplify complex tasks and promote consistency in code. By using frameworks, developers can focus on building the specific features of their application without having to reinvent common functionalities.
Frameworks serve as a reusable platform with pre-written code libraries and guidelines that provide a scaffold for applications, making development faster and more standardized. They typically cover particular aspects of programming, such as front-end (e.g., React, Angular) or back-end (e.g., Django, Spring). Frameworks enforce architectural patterns, like MVC (Model-View-Controller), which separates concerns in code, enhancing scalability, testability, and maintenance. This setup accelerates development by providing optimized solutions for common tasks, such as database access, user authentication, and routing.
Ex: using Legos to build a house vs needing to build each brick first to build a house