Consider the following table: Emp_id Emp_name Job_name Manager_id Hire_date Salary 68319 66928 67832 64989 66564 KAYLING...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following table: Emp_id Emp_name Job_name Manager_id Hire_date Salary 68319 66928 67832 64989 66564 KAYLING BLAZE CLARE ADELYN MADDEN PRESIDENT MANAGER ANALYST ANALYST SALESMAN 68319 65646 66928 66928 1991-11-18 6000.00 1991-05-01 2750.00 1997-04-19 3100.00 Commission Dep_id 1991-02-20 1700.00 400.00 1500.00 1991-09-28 1350.00 1001 3001 h. Write a query in SQL to list all the employees whose designation is CLERK i. Write a query in SQL to list the employees whose salaries are less than 3500 2001 3001 3001 Answer the following Queries a. Write a query in SQL to find the salaries of all employees b. Write a query in SQL to list the employees who does not belong to department 2001. c. Write a query in SQL to list the emp_id, salary, and commission of all the employees. d. Write a query in SQL to list the employees who joined before 1991 e. Write a query in SQL to display the average salaries of all the employees who works as ANALYST. f. Write a query in SQL to display the details of the employee BLAZE g. Write a query in SQL to display all the details of the employees whose commission is more than their salary. Consider the following table: Emp_id Emp_name Job_name Manager_id Hire_date Salary 68319 66928 67832 64989 66564 KAYLING BLAZE CLARE ADELYN MADDEN PRESIDENT MANAGER ANALYST ANALYST SALESMAN 68319 65646 66928 66928 1991-11-18 6000.00 1991-05-01 2750.00 1997-04-19 3100.00 Commission Dep_id 1991-02-20 1700.00 400.00 1500.00 1991-09-28 1350.00 1001 3001 h. Write a query in SQL to list all the employees whose designation is CLERK i. Write a query in SQL to list the employees whose salaries are less than 3500 2001 3001 3001 Answer the following Queries a. Write a query in SQL to find the salaries of all employees b. Write a query in SQL to list the employees who does not belong to department 2001. c. Write a query in SQL to list the emp_id, salary, and commission of all the employees. d. Write a query in SQL to list the employees who joined before 1991 e. Write a query in SQL to display the average salaries of all the employees who works as ANALYST. f. Write a query in SQL to display the details of the employee BLAZE g. Write a query in SQL to display all the details of the employees whose commission is more than their salary.
Expert Answer:
Related Book For
Accounting for Decision Making and Control
ISBN: 978-0078025747
8th edition
Authors: Jerold Zimmerman
Posted Date:
Students also viewed these databases questions
-
What insights can be gained from comparative genomics studies across species, shedding light on evolutionary relationships, genome evolution, and the functional significance of conserved sequences?
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Mr. Ahmed, an Omani, was relocated to work as a department manager at a leading drug company in the US. This relocation of work has caused a lot of anxiety on the part of Ahmed because it will be his...
-
Unlike other sciences, the nature and value of philosophy is derived from reflection versus testing, measuring, or examining. O True O False 4
-
A 1-lb ball A and a 2-lb ball B are mounted on a horizontal rod which rotates freely about a vertical shaft. The balls are held in the positions shown by pins. The pin holding B is suddenly removed...
-
What was the arithmetic average annual return on large-company stocks from 1926 through 2018: a. In nominal terms? b. In real terms?
-
A credit default swap requires a premium of 70 basis points per year paid semiannually. The principal is \($350\) million and the credit default swap is settled in cash. A default occurs after five...
-
Suppose you manage Outward Bound, Inc., a Vermont sporting goods store that lost money during the past year. To turn the business around, you must analyze the company and industry data for the...
-
Any two linearly independent functions y(x) and y2(a) that have continuous second derivatives satisfy a unique second order homogeneous linear ODE of the form Ly=y" + pi(x)y' + p2(x)y = 0.
-
Slopes Inc. manufactures and sells snowboards. Slopes manufactures a single model, the Pipex. In the summer of 2015, Slopes's accountant gathered the following data to prepare budgets for 2016. These...
-
Option #1: Your Portfolio Project for CSC320 will consist of three components: Program corrections: Make the appropriate corrections to all the programming assignments submitted as Critical Thinking...
-
You buy a 5-year, 6% coupon bond today with a yield to maturity of 5%.One year later, the yield on bonds rises to 7.5% and the price of your bond falls to $950.If you decide to hold the bond to...
-
Analyze risk and its measurement. Why must managers be conscious of risk and understand how to properly measure it? What could potentially happen if risk assessment did not occur?
-
CJ Lance Co. is considering two Mutually Exclusive Projects Project Alpha-1 is expected to generate cash flows of $3,250 each year of its 5 year life. The project will cost $11,000. Project Beta-2 is...
-
NPV calculations used a 9.0% discount rate for cash flows related to the store cash flows and a 4.0% discount rate for credit-card cash flows. Why does the company use different hurdle rates for the...
-
If a bad IPO has a offer price of $40 and a closing price of $30. What is its amount of overpricing on the Bad IPO?
-
5. Cost of goods sold is computed from the following equation: a. sales - cost of goods purchased + beginning inventory - ending inventory. b. beginning inventory + ending inventory-cost of goods...
-
An 8.0 kg crate is pulled 5.0 m up a 30 incline by a rope angled 18 above the incline. The tension in the rope is 120 N, and the crates coefficient of kinetic friction on the incline is 0.25. a. How...
-
Wyatts Channelview refinery can distill 60 million barrels of oil per year and feed 30 million barrels of heavy distillate a year into the cat cracker. It can process either light, sweet crude from...
-
Joon manufactures and sells to retailers a variety of home care and personal care products. Joon has a single plant that produces all four of its product lines: Stick Goods (brooms and mops), Floor...
-
Employee bonuses at American InterConnect (AI), a large communications firm, depend on meeting a number of targets, one of which is a revenue target. Some bonus is awarded to the group if it meets or...
-
Sketch and explain a simple diagram to match your exhibit.
-
a. Write out and explain the equation for volume breakeven. b. What is the difference between accounting breakeven and economic breakeven?
-
a. What is profit analysis, also known as cost-volume-profit (CVP) analysis? b. Why is profit analysis so useful to healthcare managers? c. What is a profit and loss (P&L) statement?
Study smarter with the SolutionInn App