What are the differences between databases, data warehouses, and data mining? When would you use one over another?

Is this part of your assignment? ORDER NOW