Databases and SQL: Basic Terms

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Umgangssprachlich verstehen wir unter einem "Datum" eine ______.

Termin-Angabe

In der Fachsprache wird der Begriff “Datum” erweitert und meint ______.

Information

Der EDV-Begriff für Elektronische Datenverarbeitung ist ______.

EDV

Ein ______ wird im Allgemeinen als eine Sammlung von Daten verstanden.

<p>Datenbank</p> Signup and view all the answers

Datenbanken müssen es ermöglichen, Daten hinzuzufügen, zu korrigieren/löschen und ______.

<p>abzufragen</p> Signup and view all the answers

Der Begriff, der austauschbar mit 'Datenbank' verwendet werden kann, und mehr als eine reine Datensammlung verstanden wird, lautet ______.

<p>Datenbanksystem</p> Signup and view all the answers

Die Informationen die mittels Daten angesprochen werden, beschreiben ein ______.

<p>Etwas</p> Signup and view all the answers

Anstelle von einem “Etwas” sprechen wir zukünftig von einer ______.

<p>Entität</p> Signup and view all the answers

Eine Datenbank beinhaltet üblicherweise Daten zu mehreren ______.

<p>Entitäten</p> Signup and view all the answers

Jede konkrete Person oder jedes konkrete Auto stellt eine eigenständige ______ dar.

<p>Entität</p> Signup and view all the answers

Alle Personen sind gemeinsam, dass sie zum selben ______ gezählt werden können.

<p>Entitätstyp</p> Signup and view all the answers

Die Eigenschaften von Entitäten, die Daten einer Datenbank beschreiben, werden als ______ bezeichnet.

<p>Attribute</p> Signup and view all the answers

Die Attribute die dem gemeinsamen Entitätstyp zugeordnet werden, können wir dem gemeinsamen ______ zuordnen.

<p>Entitätstypen</p> Signup and view all the answers

Einem Entitätstypen werden üblicherweise mehrere ______ zugeordnet.

<p>Attribute</p> Signup and view all the answers

Die Gruppe von Daten, die zusammengehören und die selbe Entität beschreiben, wird als ______ bezeichnet.

<p>Datensatz</p> Signup and view all the answers

Verschiedene Entitätstypen stehen in einer ______ zueinander.

<p>Beziehung</p> Signup and view all the answers

Anstelle von dem Begriff "Beziehung" kann man in manchen Fällen auch von ______ sprechen.

<p>Relation</p> Signup and view all the answers

Ein Entity-Relationship-______ ist eine gedankliche Zusammenfassung aller Elemente, die für den Aufbau einer Datenbank von Bedeutung sein werden.

<p>Modell</p> Signup and view all the answers

Ein Entity-Relationship-______ ist die graphische Darstellung aller Elemente

<p>Diagramm</p> Signup and view all the answers

ER-Diagramme können als (grober) ______ einer leeren Datenbank betrachtet werden.

<p>Bauplan</p> Signup and view all the answers

Die klassische Notation, die in diesem Kurs verwendet und von der IHK erwartet wird, ist die ______.

<p>Chen-Notation</p> Signup and view all the answers

ER-Diagramme können Datenbanken ______ darstellen.

<p>übersichtlich</p> Signup and view all the answers

ER-Diagramme nutzen wir außerdem als ersten Schritt eines ______.

<p>Datenbankentwurfs-Prozesses</p> Signup and view all the answers

Der erste von den drei Teilschritten bei der Entwicklung einer Datenbank ist der, ______ Datenbankentwurf.

<p>Konzeptioneller</p> Signup and view all the answers

Der, ______ Datenbankenentwurf implentiert das relationale Modell mittels SQL.

<p>Physischer</p> Signup and view all the answers

Flashcards

What are Data?

Data is a general term referring to facts or information used for analysis or reasoning.

What is a Database?

A database is an organized collection of data, stored and accessed electronically.

What is an Entity?

An entity is a thing or object in the real world with an independent existence.

What is an Attribute?

An attribute is a characteristic or property of an entity.

Signup and view all the flashcards

What is a Record?

A record is a collection of related data elements.

Signup and view all the flashcards

What is a Relation?

A relation is a connection or association between entities.

Signup and view all the flashcards

What is ERM?

ERM is a conceptual data model used in database design

Signup and view all the flashcards

What is ERD?

ERD is a visual representation of the structure of a database.

Signup and view all the flashcards

What is the purpose of ER Diagrams?

ER diagrams serve as blueprints for databases, showing relationships between entities.

Signup and view all the flashcards

Conceptual Database Design?

A high-level database design phase where the scope and requirements are defined.

Signup and view all the flashcards

Logical Database Design?

A detailed database design phase including relationships and constraints.

Signup and view all the flashcards

Physical Database Design?

Implementation that creates database objects, tables, and indexes.

Signup and view all the flashcards

What is Chen Notation?

Chen notation is a diagramming tool used in conceptual database modeling.

Signup and view all the flashcards

How are Entity Types represented in ERD?

Entity types are represented by rectangles.

Signup and view all the flashcards

How are Attributes represented in ERD?

Attributes are represented by ovals.

Signup and view all the flashcards

What is a composite Attribute?

Describes values that can be further divided.

Signup and view all the flashcards

What is a derived Attribute?

Values are derived from other attributes

Signup and view all the flashcards

How are Relations represented in ERD?

Relationships are represented by diamonds.

Signup and view all the flashcards

What is a Primary Key?

Primary Keys are unique identifiers for each entity.

Signup and view all the flashcards

Study Notes

Databases and SQL

  • Databases and SQL are part of week 1, day 1.

Agenda

  • The agenda includes topics about basic terms and the Entity-Relationship Model/Diagram.

Basic Terms

  • Data refers to the information.
  • Database/databasesystem is a collection of data.
  • Entity and entity Type is the object.
  • Attribute is a property.
  • A record is a data record.
  • Relationship is a relation.

Data

  • Data is a term used to describe a date in colloquial language.
  • The term is broader in technical language and means information.
  • Data of very different types can be addressed: Number, text, audio file or graphic/video file.

Database / Database System

  • A database is generally understood to be a collection of data.
  • There are 3 further requirements for databases from an IT point of view: New data added, data corrected/deleted, and data queried.
  • The term "database system" can be used instead of "database" to clarify within IT.
  • Both terms are synonymous.

Entity/Entity Type

  • Data is used to address information that describes something
  • This "something" can be a person, an object, an event, etc.
  • Instead of a "something", the term "entity" will be used
  • A database usually contains data for several entities.
  • Each individual, specific person (and each individual car) represents an independent entity.
  • However, all people have in common that they can be counted as the same entity type "person".

Attribute

  • Data in a database describes properties of entities.
  • Instead of "properties" the term "attributes" will be used in the future
  • Several entities that belong to the same entity type are also described by the same attributes.
  • These attributes assigned to the common entity types do not need to be repeated for each entity.

Data Set

  • An entity type usually has several attributes assigned
  • This means that several data are required to describe a specific entity
  • A group of pieces of data belong together as they describe the same entity; this is called record in technical language.

Relationship

  • Different entity types (or their entities) can be related to each other.
  • The term "relation" can also be used for "relationship" in this case.

ERM

  • ERM is the entity relationship model.
  • ERD is an entity relationship diagram.

ERM/ERD Definition

  • An entity-relationship model is a conceptual summary of all elements that are important for building a planned database.
  • An entity-relationship diagram is the graphic representation of these elements.
  • The diagrams consist essentially of showing entity types and relations.
  • ER diagrams can be considered as a rough blueprint of a blank database.
  • ER diagrams can be noted in different ways, the Chen notation will be used.

ERM/ERD Motivation

  • Databases can be clearly presented with the help of ER diagrams.
  • Peter Chen presented an initial example of graphical software development with his notation of the same name.
  • This modelling or their diagrams are also used as the first step in a database design process.

ERM/ERD Short Excursion to the Database Design Process

  • When commissioned to develop a database, the client usually has only an unspecific idea of ​​the structure of the desired database.
  • The development of a database should therefore be divided into the following 3 sub-steps: Conceptual database design, logical database design, and physical database design.

ERD Symbols -> Entity Types

  • Entity Types are displayed in a rectangle, for example person or auto (car).

ERD Symbols -> Attributes

  • Attributes are displayed as oval.

ERD Symbols -> Composite Attributes

  • A composite attribute consists of multiple other attributes.

ERD Symbols -> Derived Attributes

  • Derived attributes are derived from constant sizes.

EDD Symbols -> Composite or derived Attributes

  • During the conceptual database design these two aspects may be disregarded because it is only to determine all elements of the database structure requested by the client.

ERD Symbols -> Relation

  • Relationships between Entities are displayed as a diamond.

END Symbols -> ID

  • Always assign an ID attribute to each entity type identified by an underscore.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Database Systems Quiz
5 questions

Database Systems Quiz

HeartwarmingFantasy avatar
HeartwarmingFantasy
Bases de Datos A - Videotutorial 6
5 questions

Bases de Datos A - Videotutorial 6

CostEffectiveRationality3754 avatar
CostEffectiveRationality3754
Use Quizgecko on...
Browser
Browser