Good thing there exists no middle ground between solving quantum physics and optimizing a SQL statement.