As Sean pointed out, this is a really bad idea. However, if you need help, please post DDL, sample data in the form of INSERT statements, expected results and what you have tried so far. This will give us a better idea of what you need and an environment on which we can work.