-
Group By
Can you select any column in a Group by query even if that column is not groupable?e.g. Select Dept, Empno, Ave(salary) From T1 Group by DeptCan we select empno in the above query?
-
-
-
-811 abend
When will occur -811 abend? how will u resolve the -811 abend?
-
DB2 Cursor Declaration
The Cursor can be Declared in Working storage sectionLinkage sectionInput-Output section.
Working storage section -
-
-
-
DB2 Indexes
i ) Unique Index can be created only on Primary Key. ii) Query will execute faster if predicates are applied on Indexed column. 1 Both are True2 i) is only True3 ii) is Only True4 Neither is True
-
-
How many rows will the query return ?
Table1 has 6 rows and Table2 has 6 SELECT * FROM Table1, Table2; a.6b.12c.36d.720e.Cannot sayrows.36
DB2 Interview Questions
Ans