--Section 4.4 Dotted Solutions for Informix

--[4.6]   (a) 
select p, count(*) as ct from points p, rects r
    where inside(r,p)
    group by p
    having count(*)>3
    order by count(*);

--(c)
select p from points p, rects r
    where inside(r,p) and area(r)=
        (select max(area(r)) from rects r);

