Functions(Char,Concat,Substr etc) Date Functions Numeric Functions(Sum,Avg etc) Usage of group by and Having with aggregate functions Use of IFNull and Coalease functions Case expression
Select count(*) from Department_Table
Select count(distinct DepartmentNumber) from Department_Table having distinct DepartmentNumber
Select count(distinct DepartmentNumber) from Department_Table
Select distinct departmentNumber from Department_Table
Rate this question:
-99.9999
-99
99.9999
99
Rate this question:
12
0
-1
Error
Rate this question:
4500
1
Null
Error
Rate this question:
Select date(‘2012-07-31’) – curdate() from sysibm/sysdummy1
Select ‘2012-07-31’ – date(curdate()) from sysibm/sysdummy1
Select ‘2012-07-31’ – curdate() from sysibm/sysdummy1
Select date(‘2012-07-31’) – date(curdate()) from sysibm/sysdummy1
Rate this question:
55Dollor55Dollor55
Dollor55Dollor55
Dollor55Dollor
DollorDollor
Rate this question:
Test Yourselfwhen$you have problem
Test Yourself when you have problem
Test Yourself$when you have problem
Test Yourself$when$you have problem
Rate this question:
NULL NULL 01 01
10 10 11 11
NULL 11 01 01
None of the above
Rate this question:
Substr(YYYY-MM-DD,6,2) || Substr(YYYY-MM-DD,9,2) || Substr(YYYY-MM-DD,1,4)
Concat(Substr(YYYY-MM-DD,9,2) , Substr(YYYY-MM-DD,6,2) , Substr(YYYY-MM-DD,1,4))
Substr(YYYY-MM-DD,9,2) || Substr(YYYY-MM-DD,6,2) || Substr(YYYY-MM-DD,1,4)
None of the above
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.