Have a Question ?

Home / Answered Questions / CIS365 / cis365-a6-group-nest-views-transactions-3-bonus-points-for-early-submission-insights-q-161

(Solved): CIS365 A6 - Group/Nest/Views/Transactions - 3 bonus points for early submission( insights)...


CIS365  A6

/* W6A1*/

/*Q1. (8) (Join) We're getting ready for the new season. When was the last time each condo was cleaned? Display the

Building Number, Unit, and Date Last Cleaned. Order by the unit number within the building.

(No need to check the date as 2019)

*/

 

GO

SELECT CL.Condo# ,

       BldgNum

                ,UnitNum

      ,MAX(DateCleaned) AS "LAST DATE CLEAN"

                FROM CLEANING CL JOIN condos C ON CL.Condo#=C.CondoNum

 GROUP BY CL.Condo#,BldgNum,UnitNum

------------------------------------------------------------------------



We have an Answer from Expert View Expert Answer

Expert Answer


We have an Answer from Expert
Buy This Answer $15

-- OR --

Subscribe To View Unlimited Answers
Subscribe $12 / Month