15. Open SQL Extensions Flashcards

1
Q

SELECT DISTINCT

A

Option is used to return only one record for each unique occurrence of data in a column based on a field name (or combination of field names). All other records that have the same matching data, will not be included in the result set.

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

Aggregate Functions

A

MIN, MAX, AVG, SUM and COUNT

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

CONCATENATE statement

A

is a string processing statement which enables the programmer to combine the contents of one or more source fields into a single target field.

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

SEPARATED BY statement

A

is useful for embedding spaces or special characters between the multiple source fields before they are transported to the target field.

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

PACKAGE SIZE

A

Reading selected rows into an internal table in packages of a predefined size is possible using the PACKAGE SIZE option with the INTO clause.

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

CURSOR

A

is used to fetch the next row (or set of rows) from almost any SELECT statement that produces a result set of more than one row.

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

OPEN CURSOR statement

A

The CURSOR is associated with a SELECT statement in the OPEN CURSOR statement.

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

FETCH statement

A

Retrieves the rows from the CURSOR one by one until there are no more rows left

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

CLOSE CURSOR

A

is used to terminate CURSOR processing. When the statement is issued, the internal result set is destroyed and access is no longer possible unless a new OPEN CURSOR statement is executed.

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

joins

A

Are more efficient than logical databases and nested selects. They access multiple tables with one select statement.
• Joins have the advantage of accessing multiple tables with one Select statement, thereby reducing the amount of server overhead.

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

Inner joins

A

Allow access to multiple tables with a single select statement by creating a temporary table based on the conditions in the ON statement. Inner Joins are equivalent to views created in the Dictionary (see Data Dictionary part).

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

HAVING clause

A

assigns the selection criteria handling to the database instead of the application server. Similar to the subquery, the advantage of this is the reduction in the amount of data being transferred between the two layers.

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