Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
How soon do you need these SQL queries done, please?
As for privacy, I can post the answer in the form of a posted file, that will not be permanently readable. If you would prefer that, please mention it.
Is the SQL style for this query, of any specific database system, like MS SQL, or MySQL, or other ?