Added SQL_BIG_SELECTS to totplot SQL