COMMON FUNCTIONS IN SQL Flashcards

1
Q

USED TO EXECUTE TASKS SUCH AS INSERTING DELETING OR UPDATING RECORDS

A

ACTION QUERIES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A QUERY THAT MAKES A NUMBER OF CHANGES TO VARIOUS RECORDS USING A SINGLE OPERATION

A

ACTION QUERY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

WHAT ARE THE 4 TYPES OF ACTION QUERIES

A

DELETE,APPEND,UPDATE AND MAKE-TABLE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

IS USED TO DELETE A GROUP OF RECORDS IN ONE OR MORE TABLES

A

ACTION QUERY FOR DELETE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DELETED USING THE DELETE QUERY IT CANNOT BE UNDONE, THUS CAUTION SHOULD BE EXERCISED ALL THE TIME.

A

-ONCE A RECORD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ENSURE THAT YOU HAVE A FALLBACK IF YOU DELETE THE WRONG RECORDS

A

ALWAYS MAKE A BACKUP COPY OF YOUR DATA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

PERFORMING A DELETE QUERY MAY DELETE RECORDS IN RELATED TABLES

A

CHECK THE DEPENDENCIES OF YOUR TABLES BEFORE USING THE DELETE QUERY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

APPENDS A GROUP OF RECORDS TO THE END OF THE TABLE FOR EXAMPLE IF WE WANT TO ADD NEW STUDENT NAMED “AND BROWN” WE USE THE ACTION QUERY FOR INSERT

A

ACTION QUERY FOR INSERT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

MAKES AN UPDATE TO A GROUP OF RECORDS IN THE EXISTING SINGLE OR MULTIPLE TIMES

A

ACTION QUERY FOR UPDATE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ONCE AN UPDATE ACTION QUERY IS EXECUTED YOU WILL NOT BE ABLE TO RETRIEVE THE PREVIOUS DATA

A

ACTION QUERY FOR UPDATE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

TO BUILDS A NEW TABLE FROM ALL OR SOME OF THE DATA IN OTHER TABLES

A

ACTION QUERY FOR MAKE-TABLE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly