Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

The database schema is as follows:
DEPT(deptno,dname,loc) -- (deptno is the primary key)
EMP(empno,ename,job,mgr,hiredate, sal,comm,deptno)
-- EMPNO is primary key and deptno is the foriegn key references dept)
BONUS(ename,job, sal, comm)
SALGRADE(grade, losal, hisal)


Create a query to display the employee name and department number of all employees in departments 10 and 30 in alphabetical order by name.
 Create a query that will display the employee name and commission amount. If the employee does not earn commission, put "No Commission." Label the column COMM.

 Create a query to display the name, job, and salary for all employees whose job is Clerk or Analyst and
their salary is not equal to $1000, $3000, or $5000.

4.  prepare a query to display the name, department number, and department name for all employees.

5.  Create a query that will display the employee name, department number, and all the employees that work in the same department as a given employee. Give each column an appropriate label.
6.  Create a query to display all employees' names and hire dates along with their manager's name and hire date for all employees who were hired before their managers. Label the columns Employee, Emp Hiredate, Manager, and Mgr Hiredate, respectively.
7.  Create a query to display the manager number and the salary of the lowest paid employee for that manager. Exclude anyone whose manager is not known. Exclude any groups where the minimum salary is less than $1000. Sort the output in descending order of salary.
8.  prepare a query to display the employee name and hire date for all employees in the same department as Blake. Exclude Blake.
 prepare a query to display the employee number, name, and salary for all employees who earn more than the average salary and who work in a department with any employee with a T in their name.
 prepare a query to display the department name, location name, number of employees, and the average salary for all employees in that department. Label the columns dname, loc, Number of People, and Salary, respectively.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9124932

Have any Question?


Related Questions in Computer Engineering

At a certain temperature 0317 mol of ch4 and 0719 mol of

At a certain temperature, 0.317 mol of CH4 and 0.719 mol of H2O is placed in a 4.00 L container. CH4(g)+2H20(g) ---, CO2 (g) +4H2 (g) At equilibrium, 4.80 g of CO2 is present. Calculate Kc.

Would be being proposed transfer scheme answer the problems

Would be being proposed transfer scheme answer the problem/s seen in the implementation of the TRAIN law? Explain why or why not in light of the ongoing 4Ps etc. What are some other tax reform in Collas-Monsod's wish lis ...

The data reflects student enrollment at a college in

The data reflects student enrollment at a college in Southern California. Traditional math pathwayAccelerated math pathwayRow totalsFemale12441161360Male1054541108Column totals22981702468 We want to determine if the prob ...

What are the best practices to follow for microsoft windows

What are the best practices to follow for Microsoft Windows network security. Which two would you start with and why?

Nfs allows the file system on one linux computer to be

NFS allows the file system on one Linux computer to be accessed over a network connection by another Linux system. Discuss the security vulnerabilities of NFS in networked Linux systems, and possible mitigation solutions ...

Find minimal dfas for the following languages in each case

Find minimal dfa's for the following languages. In each case prove that the result is minimal. (1) L = {a n bm> :n≥2,m≥1}. (2)L = {a n :n ≥ 0,n ≠ 3} (3) L = {a n :n mod 3 = 0}∪{a n : n mod 5 = 1}

Describe an ethical conundrum found in a magazine or

Describe an ethical conundrum found in a magazine or newspaper article, and please give your own thoughts. Give good citations, of course.

Listen to or read the transcript of this podcast

Listen to (or read the transcript of) this podcast (https://www.stlouisfed.org/education/economic-lowdown-podcast-series/episode-16-elasticity-of-demand) from the Federal Reserve Bank of St. Louis. Describe your experien ...

Is there any drawbacks to hashingwhat is hash value and why

Is there any drawbacks to hashing? What is hash value and why do you think that it is important

In thenbspworkspaceproject-lognbspdirectory create file

In the ~/workspace/project-log directory, create file named  changelog.txt  with the following content and format: Changelog Version: 1.0 Redirect the output of the ls command to a file named  file-list.txt  in the ~/wor ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As