SELECT COUNT(*),B.cause, discribe FROM failed A, cause B WHERE starttime>='2003-04-09' and stoptime<'2003-04-12'.............GROUP BY B.cause, discribe