MIS Exam 1 Review Video: SQL and 10-step tutorial

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

What does DDL stand for?

Data Definition Language

2
New cards

What does DML stand for?

Data Manipulation Language

3
New cards

What is the purpose of DDL commands?

To define or modify the structure of a database.

4
New cards

What are the main DDL commands?

CREATE TABLE, ALTER TABLE, DROP TABLE.

5
New cards

What is the purpose of DML commands?

To manipulate data inside tables.

6
New cards

What are the main DML commands?

  1. insert into … values

  2. delete from … where

  3. select * from … where

  4. update … set … where

7
New cards

hat is the difference between INSERT TABLE and INSERT INTO?

Insert table is incorrect since table is for ddl not dml

8
New cards

What does the WHERE clause do in SQL?

Filters which records are affected by a statement.

9
New cards

Why is the WHERE clause important?

Without it, updates or deletes affect every record — irreversible error.

10
New cards

Example: UPDATE Employee SET LastName = 'Patel'; — what’s wrong?

Missing where clause

11
New cards

What happens if you forget the WHERE clause?

You change every record; there is no undo.