I need assistance with a database question. The SQL for it needs

I need assistance with a database question. The SQL for it needs to me written out on a word doc. If it can be done before the deadline that would be great. 11:00 am would be the desired time