ITEC36 FINALS Flashcards

1
Q

It is a computer language for storing, manipulating and retrieving data stored in a relational database.

A

SQL

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

It the standard language for Relational Database System.

A

SQL

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

It consists of the SQL commands that can be used to define the database schema.

A

DDL or Data Manipulation Language

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

Creates a new table, a view of a table, or other object in the database.

A

Create

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

Modifies an existing database object, such as a table.

A

Alter

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

Deletes an entire table, a view of a table or other objects in the database.

A

Drop

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

It deals with the manipulation of data present in the database.

A

DML or Data Manipulation Language

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

Retrieves certain records from one or more tables.

A

Select

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

Creates a record.

A

Insert

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

Modifies records.

A

Update

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

Delete records.

A

Delete

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

It deals with the rights, permissions and other controls of the database system.

A

DCL or Data Control Language

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

Gives a privilege to user.

A

Grant

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

Takes back privileges granted from user.

A

Revoke

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

It deals with the transaction within the database.

A

TCL or Transaction Control Language

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

commits a Transaction.

A

Commit

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

rollbacks a transaction in case of any error occurs.

A

Rollback

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

sets a savepoint within a transaction.

A

Savepoint

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

specify characteristics for the transaction.

A

Set Transaction

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

It is an attribute that specifies the type of data of any object.

A

Data type

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

Specifies character type data of length n where n could be any value from 0 to 255.

A

CHAR (n)

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

Specifies character type data of length ‘n’ where n could be any value from 0 to 65535

A

VARCHAR (n)

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

specifies an integer value.

A

INT

24
Q

Holds numbers with decimal points. Each _____ value occupies 4 bytes.

A

FLOAT

25
Q

is used for dates in ‘YYYY-MM-DD’ format. YYYY is the 4 digit year, MM is the 2 digit month and DD is the 2 digit date. The supported range is ‘1000-01-01’ to ‘9999-12-31’.

A

DATE

26
Q

These are the rules enforced on data columns on a table. These are used to limit the type of data that can go into a table.

A

Constraints

27
Q

Ensures that a column cannot have a NULL
value.

A

NOT NULL

28
Q

Provides a default value for a column when
none is specified.

A

DEFAULT

29
Q

Ensures that all the values in a column are
different.

A

UNIQUE

30
Q

Uniquely identifies each row/record in a
database table.

A

PRIMARY key

31
Q

Uniquely identifies a row/record in any another database table.

A

FOREIGN key

32
Q

It is used to create a new SQL database.

A

SQL CREATE DATABASE

33
Q

It is used to drop an existing database in SQL schema.

A

SQL DROP DATABASE

34
Q

is the keyword telling the database system what you want to do.

A

CREATE TABLE

35
Q

is used to remove a table definition and all the data, indexes, triggers, constraints and permission specifications for that table.

A

DROP TABLE

36
Q

These are sets of instruction written in a language that can be understood by the database system.

A

Queries

37
Q

What the purpose of the query is.

A

Action

38
Q

Which table or tables the action will be performed on.

A

Location

39
Q

What columns rows and data will be affected.

A

WHERE

40
Q

It is used to fetch the data from a database table which returns this data in the form of a result table.

A

SQL SELECT

41
Q

specifies the columns to be displayed.

A

SELECT Clause

42
Q

specifies the table containing the columns that are listed in the SELECT Clause

A

FROM Clause

43
Q

It can be used to select all the available columns and records from a table.

A

Asterisk (*)

44
Q

It is used to specify a condition while fetching the data from a single table or by joining with multiple tables.

A

SQL WHERE Clause

45
Q

It is used to modify the existing records in a table.

A

SQL UPDATE Query

46
Q

It is used to delete the existing records from a table.

A

SQL DELETE Query

47
Q

It can perform arithmetical operations on numeric operands involved.

A

Arithmetic Operators

48
Q

It is used to override the default precedence or to clarify the statement.

A

Parenthesis ()

49
Q

Renames a column heading

A

Alias

50
Q

These are used in conditions that compare one expression to another or expression.

A

Comparison Conditions

51
Q

Search for a pattern.

A

LIKE

52
Q

If you know to exact value you want to return for at least one of the columns.

A

IN

53
Q

Contain NULL value.

A

IS NULL

54
Q

Return columns with value.

A

IS NOT NULL

55
Q

It combines the result of two component conditions to produce a single result based on those conditions, or it inverts the result of a single condition.

A

Logical Conditions

56
Q

A keyword used to sort the result-set in ascending or descending order.

A

ORDER BY

57
Q

It is a database design technique that reduces data redundancy and eliminates undesirable characteristics like Insertion, Update and Deletion Anomalies.

A

Normalization