I need to put
order by tabB.id desc limit 1
in a subquery because the subquery must return a single value.
Long filter= Lo