We help IT Professionals succeed at work.
Get Started

Access 2007 SQL Subquery help

deedub84
deedub84 asked
on
502 Views
Last Modified: 2013-11-27
I have a table of hours by month by person by project: i.e.

Person1  Project1  Month1Hrs   Month2Hrs .... Month12Hrs
Person1 Project2  Month1Hrs  Month2Hrs ... Month12Hrs
Person1 BeneLeave Month1Hrs  Month2Hrs ... Month12Hrs

I need a query that will show the percent of the total by person where the top number in the percent is the sum of all projects but one (called Beneleave) and the bottom number is the total of all the projects including Beneleave

The query results will have one line per person with a percent for each month (I'm after what percent of work time (all the projects except beneleave) is of all time recorded (which includes the leave time in Beneleave)

Help!
Comment
Watch Question
CERTIFIED EXPERT
Top Expert 2010
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE