Question
1.Whowere the top50 retailemployeesthatworked for Smart-Buy?Report the city and state in which they worked, theirhourly_rate, total number of hours worked, and marital status, in descending
1.Whowere the top50 retailemployeesthatworked for Smart-Buy?Report the city and state in which they worked, theirhourly_rate, total number of hours worked, and marital status, in descending order based upon the number of hours worked.
2.Several employees believe that their paychecks were calculated incorrectly. Management has asked that you produce a report that shows all employees living in Oklahoma intheexecutivedepartmentthat made more than $155,000 in the 3rdQuarter of 2018. Report theemployee_id, last name,first name,department name, total gross salary. This report should be in alphabetical order from A - Z.
3.Smart-Buy wants to understandhow many periodstheir seasonal workers worked during the busy season (4thquarter).
4.Ifsmart-buywants to relocate headquarters, where should they relocate the headquarters?HINT:It is easier touse at least 2 queries to answer this question.Take into consideration where the employees associated with headquarters (for example:accountants, IT workers,executives, and possibly others) currently live.Also consider the location of our most lucrative stores.
Figure out how to provide a heatmap of the location of the most lucrative stores, however you can be creative and use other tools if you like.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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