Back to marketplace

Datenbank

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is a Database? / Was ist eine Datenbank?

Back (Answer)

A system for efficient, durable, and consistent storage of data. / Ein System zur effizienten, dauerhaften und konsistenten Speicherung von Daten.

#2
Front (Question)

What is a Database Management System (DBMS)? / Was ist ein Datenbank-Managementsystem (DBMS)?

Back (Answer)

Software that manages the database structure and provides a standardized interface. / Software, die die Datenbankstruktur verwaltet und eine normierte Schnittstelle bietet.

#3
Front (Question)

What are the core components of an Entity-Relationship (ER) Model? / Was sind die Hauptbestandteile eines ER-Modells?

Back (Answer)

Entities, Attributes, and Relationships. / Entitäten, Attribute und Beziehungen.

#4
Front (Question)

What is a Primary Key? / Was ist ein Primärschlüssel?

Back (Answer)

An attribute or set of attributes that uniquely identifies a row in a table. / Ein Attribut oder eine Attributmenge, die eine eindeutige Identifikation einer Entität (Zeile) ermöglicht.

#5
Front (Question)

What is a Foreign Key? / Was ist ein Fremdschlüssel?

Back (Answer)

A primary key from one table placed into another table to establish a relationship. / Ein Primärschlüssel einer Tabelle, der in eine andere Tabelle aufgenommen wird, um eine Beziehung herzustellen.

#6
Front (Question)

How is an N:M (many-to-many) relationship implemented? / Wie wird eine N:M-Beziehung implementiert?

Back (Answer)

By creating a junction (mapping) table containing foreign keys from both related tables. / Durch die Erstellung einer Zwischentabelle (Koppeltabelle), die die Fremdschlüssel beider beteiligten Tabellen enthält.

#7
Front (Question)

What are the three main sub-languages of SQL? / Was sind die drei wichtigsten SQL-Teilsprachen?

Back (Answer)

DDL (Data Definition), DML (Data Manipulation), and DQL (Data Query). / DDL (Struktur verändern), DML (Daten verändern) und DQL (Daten abfragen).

#8
Front (Question)

What is the difference between WHERE and HAVING? / Was ist der Unterschied zwischen WHERE und HAVING?

Back (Answer)

WHERE filters individual rows; HAVING filters aggregated groups after a GROUP BY. / WHERE filtert einzelne Zeilen; HAVING filtert Gruppenzeilen nach einem GROUP BY.

#9
Front (Question)

What is the First Normal Form (1NF)? / Was ist die 1. Normalform (1NF)?

Back (Answer)

A table is in 1NF if it has no multi-valued properties (all values are atomic). / Ein Modell ist in der 1NF, wenn es keine multiplen Eigenschaften gibt.

#10
Front (Question)

What is the Second Normal Form (2NF)? / Was ist die 2. Normalform (2NF)?

Back (Answer)

1NF is met, and every non-key attribute is fully functionally dependent on the entire primary key. / 1NF ist erfüllt, und jede beschreibende Eigenschaft ist vom Gesamtschlüssel und nicht nur von einem Teilschlüssel abhängig.

#11
Front (Question)

What is the Third Normal Form (3NF)? / Was ist die 3. Normalform (3NF)?

Back (Answer)

2NF is met, and there are no transitive dependencies. / 2NF ist erfüllt, und es gibt keine transitiven funktionalen Abhängigkeiten vom Gesamtschlüssel.

#12
Front (Question)

What are the ACID principles? / Was sind die ACID-Prinzipien?

Back (Answer)

Atomicity, Consistency, Isolation, and Durability. / Atomarität, Konsistenz, Isolation und Dauerhaftigkeit.

#13
Front (Question)

What is the purpose of a Database Index? / Was ist der Zweck eines Datenbank-Index?

Back (Answer)

To speed up search and sort operations while minimizing disk access. / Zur Beschleunigung von Such- und Sortieroperationen bei gleichzeitiger Minimierung von Festplattenzugriffen.

#14
Front (Question)

What is an Inner Join? / Was ist ein Inner Join?

Back (Answer)

A join that returns only rows with a matching value in both tables. / Ein Join, der nur die Zeilen zurückgibt, die in beiden Tabellen einen Partner finden.

#15
Front (Question)

What is a Left Outer Join? / Was ist ein Left Outer Join?

Back (Answer)

A join returning all rows from the left table, filling missing matches on the right with NULLs. / Ein Join, der alle Zeilen der linken Tabelle zurückgibt und fehlende Werte der rechten Tabelle mit NULL auffüllt.

#16
Front (Question)

What is a Full Outer Join? / Was ist ein Full Outer Join?

Back (Answer)

A join returning all rows from both tables, filling missing matches with NULLs. / Ein Join, der alle Zeilen aus beiden Tabellen zurückgibt und fehlende Partner mit NULL auffüllt.

#17
Front (Question)

What does the SELECT statement without a FROM clause return in PostgreSQL? / Was gibt die SELECT-Anweisung ohne FROM-Klausel in PostgreSQL zurück?

Back (Answer)

A single row containing the computed function values or constants (e.g., math results or system strings). / Eine einzelne Zeile, die die berechneten Funktionswerte oder Konstanten enthält (z. B. mathematische Ergebnisse oder System-Strings).

#18
Front (Question)

How do you concatenate two strings together in PostgreSQL? / Wie verknüpft man zwei Zeichenketten in PostgreSQL miteinander?

Back (Answer)

By using the double pipe operator (‘||’). / Durch Verwendung des Double-Pipe-Operators (‘||’).

#19
Front (Question)

What is the function to determine the number of characters in a string? / Wie lautet die Funktion zur Bestimmung der Anzahl der Zeichen in einem String?

Back (Answer)

length(). / length().

#20
Front (Question)

Which command creates a table named ‘movies’ with a primary key? / Welcher Befehl erstellt eine Tabelle namens ‘movies’ mit einem Primärschlüssel?

Back (Answer)

CREATE TABLE movies (id INTEGER PRIMARY KEY, …);

#21
Front (Question)

What does ‘CHARACTER VARYING’ represent as a data type? / Was repräsentiert ‘CHARACTER VARYING’ als Datentyp?

Back (Answer)

A variable-length character string. / Eine Zeichenkette variabler Länge.

#22
Front (Question)

What constraint forces a column to always contain a value during inserts? / Welche Einschränkung zwingt eine Spalte dazu, beim Einfügen immer einen Wert zu enthalten?

Back (Answer)

NOT NULL. / NOT NULL.

#23
Front (Question)

How are multiple literal data rows added simultaneously into a table? / Wie werden mehrere Datenzeilen gleichzeitig in eine Tabelle eingefügt?

Back (Answer)

By listing the tuples separated by commas after the VALUES keyword in an INSERT INTO statement. / Durch Auflistung der durch Kommata getrennten Tupel nach dem VALUES-Schlüsselwort in einer INSERT INTO-Anweisung.

#24
Front (Question)

How do you fetch every column and every record from the ‘movies’ table? / Wie ruft man jede Spalte und jeden Datensatz aus der Tabelle ‘movies’ ab?

Back (Answer)

SELECT * FROM movies; / SELECT * FROM movies;