SELECTSQL = """ SELECT * FROM track WHERE last_updated >= %(start_date)s AND last_updated <= %(end_date)s LIMIT {offset}, {limit} """