.append(getScopeClause(scope, "where"));
.append(getScopeClause(scope, "where")) .append(" ORDER BY date_accessioned DESC");
    private static String getLastSubmittedQuery(BrowseScope scope)    {        String table = getLastSubmittedTable(scope);        StringBuffer buffer = new StringBuffer("select * from ")            .append(table)            .append(getScopeClause(scope, "where"));        // NOTE: Postgres-specific function        if (! scope.hasNoLimit())            buffer.append(" LIMIT ").append(scope.getTotal());        return buffer.toString();    }