Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE (141-150)

QUESTION 141 You want to display the date for the first Monday of the next month and issue the following command: SQL>SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE),’MON’), ‘dd “is the first Monday for” fmmonth rrrr’) FROM DUAL; What is the outcome? A.    It executes successfully and returns the correct result. B.    It executes successfully but does not return the […]

Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE (131-140)

QUESTION 131 In the CUSTOMERS table, the CUST_CITY column contains the value ‘Paris’ for the CUST_FIRST_NAME ‘ABIGAIL’. Evaluate the following query: SQL> SELECT INITCAP(cust_first_name || ‘ ‘ || UPPER(SUBSTR(cust_city,-LENGTH(cust_city),2))) FROM customers WHERE cust_first_name = ‘ABIGAIL’; What would be the outcome? A.    Abigail PA B.    Abigail Pa C.    Abigail IS D.    an error message Answer: B

Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE (111-120)

QUESTION 111 The CUSTOMERS table has the following structure: Name                     Null            Type ————–        ———–    ———– ———- CUST_ID                 NOT NULL       NUMBER CUST_FIRST_NAME       NOT NULL       VARCHAR2(20) CUST_LAST_NAME        NOT NULL       VARCHAR2(30) CUST_INCOME_LEVEL                     VARCHAR2(30) CUST_CREDIT_LIMIT                     NUMBER You need to write a query that does the following tasks: 1. Display the first name and tax amount of the customers. Tax […]

Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE (81-90)

QUESTION 81 You issue the following query: SQL> SELECT AVG(MAX(qty)) FROM ord_items GROUP BY item_no HAVING AVG(MAX(qty))>50; Which statement is true regarding the outcome of this query? A.    It executes successfully and gives the correct output. B.    It gives an error because the HAVING clause is not valid. C.    It executes successfully but does not […]

Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE(41-50)

QUESTION 41 View the Exhibit and examine the structure of CUSTOMERS and GRADES tables. You need to display names and grades of customers who have the highest credit limit. Which two SQL statements would accomplish the task? (Choose two.) A.    SELECT custname, grade FROM customers, grades WHERE (SELECT MAX(cust_credit_limit) FROM customers) BETWEEN startval and endval; […]

Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE(31-40)

QUESTION 31 View the Exhibit and examine the data in the EMPLOYEES table: You want to display all the employee names and their corresponding manager names. Evaluate the following query: SQL> SELECT e.employee_name “EMP NAME”, m.employee_name “MGR NAME” FROM employees e ______________ employees m ON e.manager_id = m.employee_id; Which JOIN option can be used in […]

Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE(21-30)

QUESTION 21 View the Exhibit for the structure of the STUDENT and FACULTY tables. You need to display the faculty name followed by the number of students handled by the faculty at the base location. Examine the following two SQL statements: Statement 1 SQL>SELECT faculty_name,COUNT(student_id) FROM student JOIN faculty USING (faculty_id, location_id) GROUP BY faculty_name; […]

Free Download Pass4sure and Lead2pass 1Z0-051 Exam Question with PDF & VCE(11-20)

QUESTION 11 Examine the structure of the PROGRAMS table: name              Null            Type ——           ———      ——- PROG_ID          NOT NULL       NUMBER(3) PROG_COST                        NUMBER(8,2) START_DATE      NOT NULL       DATE END_DATE DATE Which two SQL statements would execute successfully? (Choose two.) A.    SELECT NVL(ADD_MONTHS(END_DATE,1),SYSDATE) FROM programs; B.    SELECT TO_DATE(NVL(SYSDATE-END_DATE,SYSDATE)) FROM programs; C.    SELECT NVL(MONTHS_BETWEEN(start_date,end_date),’Ongoing’) FROM programs; D.    SELECT NVL(TO_CHAR(MONTHS_BETWEEN(start_date,end_date)),’Ongoing’) FROM […]