Data Mining and Statistical Analysis Using SQL