I can't seem to get the WITH clause to work in Toad 9. I have a lot more to do, but have cut it back to just this and still receive the error "SQL statement doesn't return rows".
WITH cust AS
(SELECT /*+ materialize */
COUNT (1) total_custs
FROM customers)
SELECT total_custs
FROM cust