Reference no: EM13930179
1. List all the employees in the emp table. If they work for department Accounting, then add 1200 to their salary. If they work f
ordepartment Sales, then add 100 to their salary, otherwise add nothing to their salary.
2. List all the suppliers and the foods that they supply from the l_foods table. If supplier_id ASP provides the food, add 1 dollar
to his price. If supplier_id, CBC supplies the food, add 2 dollars to his price. Otherwise, just show the price as is.
3. List the employee_id and employee_name of the employees form the l_employees table with the top 4 credit limits.
4. Change your answer from above to list those employees with the bottom 4 credit limits.
5. From the project, project_hours, and employee table, list the all the projects, the hours worked, and the date worked. (You
will need this for the project).
6. Using the Lunches database, find the total amount spent on lunches by each employee. Show first_name, last_name,
credit_limit, and total_price_spent in your results. Order your answer by total_price_spent in descending order. Only show the
employees
who spent more than their credit limit (Modify question 9 from the last homework.)
7. Using the Lunches database, count the number of foods supplied by each supplier. List all the suppliers. Show the
supplier_id, supplier_name, and number of foods from each supplier. Sort the rows on the supplier_id. Make sure you count all
suppliers, even if they don't supply foods.
8. Using the Lunches database, count the number of employees who work in each department. List all the departments. Show
the department code, department name, and the number of employees. Sort on the dept_code. Make sure you count all
employees, regardless of whether they work for departments or not.
Attachment:- data for table.docx
Share to make the two offers equally attractive
: A business executive is offered a management job at Generous Electrical Company. They offer to give him a five-year contract which calls for a salary of $62,000 per year, plus 600 shares of their stock at the end of the five years. what must the Gene..
|
Identify the event depicted in each journal entry
: Identify the event depicted in each journal entry as asset source (AS), asset use (AU), asset exchange (AE), or claims exchange (CE).
|
What are some of the advantages of using a meta-analysis
: What are some of the advantages of using a meta-analysis? Provide an example
|
Proceeds out of the insureds gross estate
: It is often desirable to keep life insurance death proceeds out of the insured’s estate for tax reasons. Which of the following describe(s) a necessary condition for keeping the proceeds out of the insured’s gross estate?
|
List all the employees in the emp table
: Change your answer from above to list those employees with the bottom 4 credit limits.
|
Concerning valuation of life insurance policies-federal tax
: Which of the following statements concerning the valuation of life insurance policies for federal gift tax purposes is (are) correct?
|
Concerning use of funded irrevocable life insurance trust
: All the following statements concerning the use of a funded irrevocable life insurance trust are correct EXCEPT:
|
Policys gift tax value-determined by government rules
: Some years ago, Y purchased a $100,000 universal life policy on his own life. Two years ago, he sold the policy to his cousin for the policy’s gift tax value of $40,000 as determined by government rules.
|
Designated the revocable beneficiary
: John purchases a life insurance policy on the life of Mary. John is the owner, and Bill is designated the revocable beneficiary. Under these circumstances, which of the following statements is correct?
|