This error is happening because there is a field in your SELECT clause that is not in your GROUP BY clause or being aggregated.
Also, using the conferencesession table and joining on the BUILDINGNO and ROOMNO fields will let you see the number of sessions.
Try this query:
SELECT
r.BUILDINGNO,
r.ROOMNO,
COUNT(s.SESSIONID) AS session_count
FROM room r
LEFT OUTER JOIN conferencesession s ON r.BUILDINGNO = s.BUILDINGNO AND r.ROOMNO = s.ROOMNO
GROUP BY r.BUILDINGNO, r.ROOMNO
ORDER BY r.BUILDINGNO, r.ROOMNO;
You can change the ORDER BY to order on any of these columns, even something like ORDER BY COUNT(*) will work.
Also, as Tim Biegeleisen has mentioned, using a LEFT OUTER JOIN will give you all room records that have no session. If you use an INNER JOIN, then any rooms with no sessions will not be shown.
SELECT COUNT(BUILDINGNO)*COUNT(ROOMNO), BUILDINGNO, ROOMNO FROM ROOM GROUP BY BUILDINGNO,ROOMNO ORDER BY ROOMNO;