Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Changed GREATEST to COALESCE, which seems to work
with both MySQL and SQLite. Also added a tablename
in a place when the column name wasn't sufficiently