Sql-Serverを使用していると仮定すると、グループ化が行われていないため、クエリは機能しないはずです。
私はあなたが必要なのはTOP(1) 注文後 cmt.created_at DESCに取るということだと思います;
SELECT TOP (1) f.name, cmt.created_at AS CommentDate, cmt.comment AS LastComment
FROM families f
LEFT JOIN comments cmt ON f.id = cmt.commentable_id
WHERE f.id =12212
ORDER BY cmt.created_at DESC
LIMITmysqlの場合、代わりに使用できると思いますTOP:
SELECT f.name, cmt.created_at AS CommentDate, cmt.comment AS LastComment
FROM families f
LEFT JOIN comments cmt ON f.id = cmt.commentable_id
WHERE f.id =12212
ORDER BY cmt.created_at DESC
LIMIT 1