INFORMATION MANAGEMENT

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 24

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

25 Terms

1

The ______ Statement is used to create a database.

CREATE DATABASE

New cards
2

The ________ Statement is used to create tables to store data.

CREATE TABLE

New cards
3

The SQL ________ command is used to modify the definition (structure) of a table by modifying the definition of its columns

ALTER TABLE

New cards
4

The SQL _____ command is used to change the name of the table or a database object.

RENAME

New cards
5

This command can delete an index, table or

view.

DROP

New cards
6

Using the ______ command, all the records in a database are deleted, but the database structure is maintained.

TRUNCATE

New cards
7

A subset of SQL used to manipulate and manage data within database tables.

Data Manipulation Language (DML)

New cards
8

A command used to insert new records (rows) into a table.

INSERT Statement

New cards
9

Used to modify existing records in a table.

UPDATE Statement

New cards
10

Removes existing rows from a table based on a condition.

DELETE Statement

New cards
11

the process of improving the efficiency of database queries to ensure they run faster and use fewer system resources.

Query Optimization

New cards
12

A query approach where the user specifies how the database should retrieve the data, not just what data is needed.

Procedural Query

New cards
13

A query approach where the user specifies what data is needed, without describing how to get it (e.g., SQL SELECT).

Declarative Query

New cards
14

What is the difference between Procedural and Declarative Queries

  • Declarative Query: Focuses on what data is needed (e.g., SQL SELECT).

  • Procedural Query: Focuses on how to retrieve data step by step (e.g., Relational Algebra).

New cards
15

A procedural query language used in relational databases. It defines a set of operations that take relations (tables) as input and return a new relation as output.

Relational Algebra

New cards
16

An operation to select rows (tuples) that satisfy a given condition.

Select/Selection (σ) sigma

New cards
17

An operation to display specific columns from a relation.

Projection (π) pi

New cards
18

A virtual table in SQL that displays data from one or more tables based on a query. They do not store data; they show results dynamically when queried.

View

New cards
19

Types of SQL Joins

  • INNER JOIN

  • LEFT JOIN (LEFT OUTER JOIN)

  • RIGHT JOIN (RIGHT OUTER JOIN)

  • FULL JOIN (FULL OUTER JOIN)

New cards
20

Ensures that relationships between tables remain consistent, typically enforced using foreign keys.

Referential Integrity

New cards
21

When a referenced record is deleted, all dependent records are automatically deleted.

ON DELETE CASCADE

New cards
22

When a referenced record is updated, all dependent records are automatically updated.

ON UPDATE CASCADE

New cards
23

When a referenced record is deleted, foreign key values are set to NULL.

SET NULL

New cards
24

Prevents deletion or update of a referenced record if dependent records exist.

RESTRICT

New cards
25

Same as RESTRICT; no change is allowed if it would break referential integrity.

NO ACTION

New cards

Explore top notes

note Note
studied byStudied by 1 person
808 days ago
5.0(1)
note Note
studied byStudied by 16 people
847 days ago
5.0(1)
note Note
studied byStudied by 30 people
704 days ago
5.0(1)
note Note
studied byStudied by 54 people
185 days ago
5.0(1)
note Note
studied byStudied by 181 people
919 days ago
5.0(2)
note Note
studied byStudied by 35 people
243 days ago
5.0(1)
note Note
studied byStudied by 3 people
51 days ago
5.0(1)
note Note
studied byStudied by 21 people
612 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (59)
studied byStudied by 3 people
147 days ago
5.0(1)
flashcards Flashcard (35)
studied byStudied by 10 people
549 days ago
5.0(1)
flashcards Flashcard (415)
studied byStudied by 6 people
631 days ago
4.0(2)
flashcards Flashcard (30)
studied byStudied by 5 people
701 days ago
5.0(1)
flashcards Flashcard (104)
studied byStudied by 117 people
371 days ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 29 people
423 days ago
5.0(2)
flashcards Flashcard (57)
studied byStudied by 17 people
707 days ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 35 people
36 minutes ago
5.0(1)
robot