Академический Документы
Профессиональный Документы
Культура Документы
Question 1 Which of the following query is correct which will display the
Not yet same output as shown below?
answered
Marked out of
1.00
Select one:
a. SELECT COUNT(*) FROM EMPLOYEES;
Clear my choice
Question 2
Not yet
answered
Marked out of
1.00
Answer: 9
Question 3 Which of the following query is correct which will display the
Not yet same output as shown below?
answered
Marked out of
1.00
Select one:
a. SELECT MAX(FIRSTNAME), MANAGER_ID, COUNT(SALARY),
AVG(SALARY)
FROM EMPLOYEES
WHERE SALARY BETWEEN 6000 AND 10000
GROUP BY MANAGER_ID
HAVING (SALARY) >= 5000;
Clear my choice
Question 4
Not yet
answered
Marked out of
1.00
Answer: 7
Question 5
Not yet
answered
Marked out of
1.00
Answer: 1
Question 6 Choose the letter of the correct answer based on the table
Not yet EMPLOYEES as shown below.
answered
Table 1.0 EMPLOYEES
Marked out of
1.00
Which of the following is the correct query that display the
maximum lastname concatenated to firstname and rename
the column as “Employees Name”, Job_id and apply the ff.
functions:
Count the Job_id; Apply where condition whose lastname
ends with letter ‘N’; Group the job_id; and Apply having clause
of employees having average salary that is greater than
10000.
Select one:
a. SELECT MAX(LASTNAME||FIRSTNAME) AS "EMPLOYEES NAME",
JOB_ID, COUNT(JOB_ID)
FROM EMPLOYEES
GROUP BY JOB_ID
WHERE LASTNAME LIKE '%N'
HAVING AVG(SALARY)>10000;
HAVING AVG(SALARY)>10000;
Clear my choice
Question 7
Not yet
answered
Marked out of
1.00
Answer: 6
Question 8 Which of the following query is correct which will display the
Not yet same output as shown below?
answered
Marked out of
1.00
Select one:
a. SELECT JOB_ID, COUNTDISTINCT(JOB_ID)"NO. OF JOB_ID",
SUM(SALARY), AVG(SALARY)
FROM EMPLOYEES
GROUP BY JOB_ID;
GROUP BY JOB_ID;
Clear my choice
Question 9 Which of the following query is correct which will display the
Not yet same output as shown below?
answered
Marked out of
1.00
Select one:
a. SELECT MIN(LASTNAME||FIRSTNAME) AS NAME,
DEPARTMENT_ID
FROM EMPLOYEES
HAVING MIN(DEPARTMENT_ID)<=90;
b. SELECT MIN(LASTNAME||FIRSTNAME) AS NAME,
DEPARTMENT_ID
FROM EMPLOYEES
HAVING MIN(DEPARTMENT_ID)<=90;
GROUP BY DEPARTMENT_ID
WHERE DEPARTMENT_ID IN(90,50)
HAVING MIN(DEPARTMENT_ID)<=90;
HAVING(DEPARTMENT_ID)<=90;
Clear my choice
Question 10
Not yet
answered
Marked out of
1.00
Answer: 8.22
Stay in touch
AMA EDUCATION SYSTEM
https://blended.amauonline.com/helpdesk