This is your assignment. You produce some code, we'll help you with it. Also, please use a subject line that reflects your problem. No one is going to search the forum for "help me plZZZZZZZZZZZZZZZZ...". You sound like a freakin' baby. Further, read the "Before you make a query" thread (see the upper right corner of this page).