You can't refer to an alias in the condition defined in the same sql statement.
You have 3 possibility in Oracle/MariaDB/MySQL databases:
1) Rewrite calculated column and, if it's calculated by aggregation function, you have to put the condition in "HAVING" clause:
SELECT r.resortid, sum(b.adultcount+b.childcount) as "Total Guest"
FROM resort r, booking b
WHERE r.resortid = b.resortid
GROUP BY r.resortid
HAVING sum(b.adultcount+b.childcount) <= 10
ORDER BY r.resortid;
2) Using subquery:
SELECT *
FROM
(SELECT r.resortid, sum(b.adultcount+b.childcount) as TotalGuest
FROM resort r, booking b
WHERE r.resortid = b.resortid
GROUP BY r.resortid) AS totalg
WHERE TotalGuest <= 10
ORDER BY resortid;
3) Write subquery using "WITH" clause:
WITH totalg AS
(SELECT r.resortid, sum(b.adultcount+b.childcount) as TotalGuest
FROM resort r, booking b
WHERE r.resortid = b.resortid
GROUP BY r.resortid)
SELECT *
FROM totalg
WHERE TotalGuest <= 10
ORDER BY resortid;