QUESTION 27
The SET command is used in which statement
UPDATE |
||
SELECT DISTINCT |
||
DELETE FROM |
||
INSERT VALUES |
QUESTION 28
Which view would you use to see only the tables you have created
ALL_TABLES |
||
USER_TABLES |
||
USER_TABS |
||
ALL_OBJECTS |
QUESTION 29
Which command should you use to write logical units of work to disk permanently
SAVEWORK |
||
COMMIT |
||
ROLLBACK |
||
INSERT |
QUESTION 30
A Top-N Analysis is capable of ranking a top or bottom set of results.
True
False
QUESTION 31
If you are performing an UPDATE statement with a subquery, it MUST be a correlated subquery?
True
False
QUESTION 32
Given the following CREATE VIEW statement, what data will be returned?
CREATE OR REPLACE VIEW emp_dept
AS SELECT SUBSTR(e.first_name,1,1) ||' '||e.last_name emp_name, e.salary, e.hire_date, d.department_name
FROM employees e, departments d
WHERE e.department_id = d.department_id
AND d.department_id >=50;
First character from employee first_name concatenated to the last_name, the salary, the hire_date and department_id of all employees working in department number 50 or higher. |
||
First character from employee first_name concatenated to the last_name, the salary, the hire_date and department_id of all employees working in department number 50. |
||
First character from employee first_name concatenated to the last_name, the salary, the hire_date and department_name of all employees working in department number 50. |
||
First character from employee first_name concatenated to the last_name, the salary, the hire_date and department_name of all employees working in department number 50 or higher. |
///////////*********************************************************************************************************************************
Hi friend , please find the solution of above question, if you have any doubt feel free to ask.
Thank You.
**************************************************************************************************************************////////////////////////
27. A) UPDATE
28. B) USER'S TABLE
29. B) COMMIT
30. True
31. True
32. D) First character from employee first_name concatenated to the last_name, the salary, the hire_date and department_name of all employees working in department number 50 or higher.
QUESTION 27 The SET command is used in which statement UPDATE SELECT DISTINCT DELETE FROM INSERT...
QUESTION 9 You plan to query data using the TRANS_HIST_V view that was created by another user in their schema. Which statement is true? A. The Oracle Server will retrieve the view definition from the ALL_VIEWS data dictionary view. B. The Oracle Server will retrieve data, determined by the query criteria, from the TRANS_HIST_V view. C. The Oracle Server will verify whether you have been granted access privileges to the TRANS_HIST_V view. D. The Oracle Server will automatically reset the...
IN THE PREVIOUS CHAPTER WE MADE A DATABASE USING OUR LAST NAME
AS ITS NAME. QUESTION 1 STATES THIS.
PLEASE TYPE WHAT NEEDS TO BE TYPED FOR ALL STEPS. THIS USES
CODIO
a. 1. Connect to the database you created and named in Module One (for example, Jetson). Type after the prompt mysql> a. use (table you named); i. Example: mysql> use Jetson; 2. Create the Employee table using the SQL statement shown here. Press Return after each line. CREATE...
Use the HR database for all the questions in this lab. For each item in this lab, paste the SQL you used to complete the task and the number of rows retrieved. Ensure you follow the coding standards listed in the ETSU SQL standards guide found on D2L. Save this document as a PDF and name it your_name_lab7.pdf Display the employees’ first name, last name and phone number of employees with salaries greater than 10,000 dollars. SELECT first_name, last_name, phone_number,...
True or false?
True or false?
Question 63 Based on the Customer table below, which command lists all information from the table concerning customer 282? CustomerNum CustomerName --- Street City State Zip 148 Al's Appliance 28 Greenway Filmore FL 33336 282 Brookings 3827 Devon Grove FL 33321 Question 37 You have your project all set locally and on the server. You want to now make changes to your site. Which of the following is the last step of the process?...
database and sql problme
THE QUESTIONS 3, 4,5 and 6 REFER TO THE RELATIONAL TABLES LISTED BELOW CREATE TABLE Department ( DECIMAL(5) VARCHAR(30) CHAR(5) DATE NOT NULL NOT NULL NOT NULL * Department number /*Department name * Department manager number */ /Manager start date DNumber DName Manager MSDate CONSTRAINT Department_PK PRIMARY KEY(DNumber) CONSTRAINT Department_CK UNIQUE(DName) CREATE TABLE DeptLocation DECIMAL(5) VARCHAR(50) NOT NULL NOT NULL DNumber * Department number */ * Department location */ Address CONSTRAINT DeptLocation_PK PRIMARY KEY(DNumber, Address) CONSTRAINT...
In the processLineOfData method, write the code to handle case "H" of the switch statement such that: • An HourlyEmployee object is created using the firstName, lastName, rate, and hours local variables. Notice that rate and hours need to be converted from String to double. You may use parseDouble method of the Double class as follows: Double.parseDouble(rate) Call the parsePaychecks method in this class passing the Hourly Employee object created in the previous step and the checks variable. Call the...
Q.5] Answer the following questions based on the company database (based on the homework assignment 2) y database (based on the homework assignment 2) 3 IPage 1. For each department whose average employee salary is more than $30,000, write a SQL statement to retrieve the department name and the number of employees working for that department 2. Write a SQL statement to retrieve first name, last name, and address of each employee who lives in Houston, TX. 3. Write a...
Need help with Questions 6-8 specifically number
8.
Here is what I've got for question 4 which needs to be modified
to answer question 8.
This is what I got so far for questions 6-8
Please help me modify 8. Also do note that the first
statement is 6 then the second is 7 and the last statement that is
highlighted is question 8 in the following screencap:
1 List all project names and manager names in charge projects. 2...
In the processLineOfData, write the code to handle case "H" of the switch statement such that: An HourlyEmployee object is created using the firstName, lastName, rate, and hours local variables. Notice that rate and hours need to be converted from String to double. You may use parseDouble method of the Double class as follows: Double.parseDouble(rate) Call the parsePaychecks method in this class passing the HourlyEmployee object created in the previous step and the checks variable. Call the findDepartment method...
QUESTION 1 Which is the correct in-text citation for a webpage with no author? a. (“Faculty research working papers,” 2015, para. 5) b. (Faculty research working papers, 2015, para. 5) c. (“Faculty Research Working Papers,” 2015, para. 5) d. (Faculty Research Working Papers, 2015, para. 5) 1 points QUESTION 2 What would the reference page entry look like for the same web page? a. Faculty Research Working Papers (2015). Retrieved August 1, 2015, from https://research.hks.harvard.edu/publications/workingpapers/By_Number.aspx b. Faculty Research Working...