Tag Archives: Query

You execute this query: SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), `MON'), `dd "Monday for" fmMonth rrrr')

You execute this query:SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), `MON’), `dd “Monday for”fmMonth rrrr’)What is the result? A. It executes successfully but does not return any result B. It returns the date for the last Monday of the current month C. It generates an error D. It returns the date for the first Monday of the next month Correct Answer: D

Examine the description of the EMPLOYEES table: (Exhibit) Which query is valid?

Examine the description of the EMPLOYEES table:Which query is valid? A. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id, join_date; B. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id; C. SELECT dept_id, AVG(MAX(salary)) FROM employees GROUP BY dept_id; D. SELECT dept_id, MAX(AVG(salary)) FROM employees GROUP BY dept_id; Correct Answer: B

Examine the description of the EMPLOYEES table: (Exhibit) Which query is valid?

Examine the description of the EMPLOYEES table:Which query is valid? A. SELECT dept_id, MAX(AVG(salary)) FROM employees GROUP BY dept_id; B. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id, join_date; C. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id; D. SELECT dept_id, AVG(MAX(salary)) FROM employees GROUP BY dept_id; Correct Answer: B

You want to write a query that prompts for two column names and the WHERE condition each time it is executed

You want to write a query that prompts for two column names and the WHERE condition each time it is executed in a session but only prompts for the table name the first time it is executed.The variables used in your query are never undefined in your session.Which query can be used? A. SELECT &col1, &col2FROM &&tableWHERE &condition;… Read More »

You want to write a query that prompts for two column names and the WHERE condition each time it is executed

You want to write a query that prompts for two column names and the WHERE condition each time it is executed in a session but only prompts for the table name the first time it is executed.The variables used in your query are never undefined in your session.Which query can be used? A. SELECT `&&col1′, `&&col2′FROM &tableWHERE `&&condition’… Read More »

The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Which statement is correct if the RESTCONF interface responds with a 204 status code?

Refer to the exhibit. The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Which statement is correct if the RESTCONF interface responds with a 204 status code? A. The query retrieved the logging severity level. B. The query updated the logging severity level or created it if not… Read More »

A Python script must delete all Cisco Catalyst 9300 Series switches that have an uptime that is greater than 90 days. The script must also query for the status of all the other devices. Drag and drop the code from the bottom onto the box where the code is missing to complete the script. Not all options are used.

Refer to the exhibit. A Python script must delete all Cisco Catalyst 9300 Series switches that have an uptime that is greater than 90 days. The script must also query for the status of all the other devices. Drag and drop the code from the bottom onto the box where the code is missing to complete the script.… Read More »

An engineer writes a Python script that uses two different API calls to query Cisco DNA Center for the number of interfaces on a device. The engineer notices that the two API calls produce different results. Why are fewer interfaces returned for the same device when the ‘get_all_interfaces’ API call is used?

Refer to the exhibit. An engineer writes a Python script that uses two different API calls to query Cisco DNA Center for the number of interfaces on a device. The engineer notices that the two API calls produce different results. Why are fewer interfaces returned for the same device when the ‘get_all_interfaces’ API call is used? A. times… Read More »