eduardop
committed
on 21 Sep 04
rework some lame SQL queries