PHP class for building SQL queries.