Using the preferred explicit JOIN notation and GROUP BY and HAVING clauses, you should be able to use:
SELECT i.itemid, i.name, i.price
FROM Item i
JOIN ItemComment c ON i.itemid = c.itemid
GROUP BY i.itemid, i.name, i.price
HAVING MAX(c.dateCommentPosted) < (ADD_MONTHS(SYSDATE, -6));
-, WITH, FROM, , , .
, , - .
, / Max(c.dateCommentPosted) . ? select dateCommentPosted GROUP BY, ?
select, GROUP BY:
SELECT i.itemid, i.name, i.price, MAX(c.dateCommentPosted) AS dateCommentPosted
FROM Item i
JOIN ItemComment c ON i.itemid = c.itemid
GROUP BY i.itemid, i.name, i.price
HAVING MAX(c.dateCommentPosted) < (ADD_MONTHS(SYSDATE, -6));
, AS. AFAIK, Oracle AS ( ), ( ) " " .
, SQL Standard , , "" SQL- HAVING, HAVING GROUP BY. , GBH — /, .