1.Whowere the top50 retailemployeesthatworked for Smart-Buy?Report the city and state in which they worked, theirhourly_rate, total number...
Question:
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d1037a6523_607666d1037a2309.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d1037e18e3_607666d1037ddbb7.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d10381c449_608666d103818081.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d103851983_608666d10384d78a.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d103890c90_608666d10388c589.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d1038c0e8f_608666d1038bd11f.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d10392ccdc_609666d103928bcb.jpg)
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.
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d10397070a_609666d10396c1e9.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d1039a5b7a_609666d1039a031c.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d1039f0b72_609666d1039eca1d.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d103a4c21e_610666d103a470f8.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d103a9d9d1_610666d103a97f50.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d103aded2c_610666d103ad9beb.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/666d103b4727b_611666d103b419c2.jpg)