TAW_10_1 chapter 16, ABAP openSQL Flashcards
What table types cannot be used with the ORDER BY clause?
Cluster and Pooled tables
Where does the ORDER BY clause occur?
After the where clause
Using ORDER BY PRIMARY KEY requires that what?
All of the fields in the primary key must be in the select list
Only single tables, no views or joins
Does MANDT need to be part of the SELECT clause if ORDER BY PRIMARY KEY is used?
Yes…at least that what it says
Could I use SELECT DISTINCT on BSEG?
No, it is a cluster table
What are the 5 aggregate functions that can be used in a select clause?
MIN (same type as field) MAX (same type as field) COUNT (same type as field) AVG (float) SUM (type i)
Can DISTINCT be used with the 5 aggregate functions?
Yes, for example Select SUM( DISTINCT
What are the restrictions of using the HAVING clause?
Must either use fields from the group by cluse or an aggregate function from the select
What are the two characters used in the LIKE clause
_ and %
What is the maximum number of tables in a join
50
What is the maximum number of subqueries in a select?
50