Question: Request 1 : Retrieve the managerid, mfname, mlname, and the sum of msalary and mbonus for each manager who receives a bonus. ( 1 )
Request
: Retrieve the managerid, mfname, mlname, and the sum of msalary and mbonus for
each manager who receives a bonus.
Provide the SQL query for the request.
Provide the corresponding result in a table format
NOT a screenshot
Identify the number of managers in the table and the full name
s
of the manager
s
with
the least and the largest sum of msalary and mbonus
Not a SQL query
Request
: For each building, retrieve the buildingid, number of apartments in the building, and
number of bedrooms in the building.
Provide the SQL query for the request.
Provide the corresponding result in a table format.
Identify the buildingid
s
with the least apartments, and the buildingid
s
with the most
bedrooms.
Request
: For each staff member, retrieve the smemberid, smembername, and number of
buildings where s
he cleans apartments.
Provide the SQL query for the request.
Provide the corresponding result in a table format.
Identify the smembername
s
with the most buildings where he
she cleans apartments,
and the smembername
s
with the least apartments that he
she cleans.
Request
: For all corporate clients that were referred by other corporate clients and that are also
renting one or more apartments from us
retrieve the name of the corporate client, the client
s
industry, location, building id
apartment number, and the name of the corporate client that
referred it Request
: Retrieve the managerid, mfname, mlname, and the sum of msalary and mbonus for
each manager who receives a bonus.
Provide the SQL query for the request.
Provide the corresponding result in a table format
NOT a screenshot
Identify the number of managers in the table and the full name
s
of the manager
s
with
the least and the largest sum of msalary and mbonus
Not a SQL query
Request
: For each building, retrieve the buildingid, number of apartments in the building, and
number of bedrooms in the building.
Provide the SQL query for the request.
Provide the corresponding result in a table format.
Identify the buildingid
s
with the least apartments, and the buildingid
s
with the most
bedrooms.
Request
: For each staff member, retrieve the smemberid, smembername, and number of
buildings where s
he cleans apartments.
Provide the SQL query for the request.
Provide the corresponding result in a table format.
Identify the smembername
s
with the most buildings where he
she cleans apartments,
and the smembername
s
with the least apartments that he
she cleans.
Request
: For all corporate clients that were referred by other corporate clients and that are also
renting one or more apartments from us
retrieve the name of the corporate client, the client
s
industry, location, building id
apartment number, and the name of the corporate client that
referred it Please please please. Thank you.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
