Reference no: EM133882572
Problem
Find the name of employee who opened the account that has the most total amount of dollars of transactions
I. List all employees whose last name matches the following: last name should not start with b or g, the 2nd character of the last name should be i, and the second to last character should be e
II. List all employees and his/her supervisor pairs, the join date of employee is earlier than that of his/her supervisor
III. Gorup employees based on the 1st character of their last na,e into 2 sets (a-r) and (s-z) show the number of open accounts associated with each set. Get the instant assignment help.
IV. We segment individual customers into groups based on the tes digit of their age (30s, 40s, 50s, 60s, 70s, 80s, ...) write a sql query to show how many individual customers in each group
V. The employment period of an employee can be calculated using the date diff () function on her/his start date and the current date. Show in which department the employee has the highest average employment period
VI. Amoung all customers who have more than one account, find customer with the maximal time gap in days between his/her accounts open dates.