Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 2 [10 points] Evaluate the result of the following queries: 1. SELECT INITCAP('SQL Course') FROM DUAL 2. SELECT RPAD('SQL' || LPAD(123456, 10, '$'),
Question 2 [10 points] Evaluate the result of the following queries: 1. SELECT INITCAP('SQL Course') FROM DUAL 2. SELECT RPAD('SQL' || LPAD(123456, 10, '$'), 15, '#') FROM DUAL 3. SELECT TO_CHAR(sysdate, 'DD Month YYYY HH:MM:SS AM') FROM DUAL Note: sysdate return the server's current date/time. 4. SELECT NULLIF(LENGTH('Java'), LENGTH('Oracle')) result FROM DUAL 5. SELECT UPPER(CONCAT(SUBSTR ('Oracle Database', 1, 7), 'LAB')) FROM DUAL EMPLOYEES EMPLOYEEID FNAME LNAME JOB ID HIRE DATE SALARY MANAGER ID DEPT ID DEPARTMENTS DEPARTMENTID DEPARTMENT NAME MANAGER ID LOCATION ID JOBS JOBID JOB TITLE MIN SAL MAX SAL LOCATIONS LOCATIONID POSTAL CODE CITY COUNTRY ID COUNTRIES COUNTRYID COUNTRY_NAME
Step by Step Solution
★★★★★
3.30 Rating (147 Votes )
There are 3 Steps involved in it
Step: 1
Q2 Below are the answers for all the parts 1 SELECT INITCAPSQ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started