troubleshooting Question

Select Query Needed

Avatar of an_and
an_andFlag for India asked on
DatabasesSQL
6 Comments1 Solution239 ViewsLast Modified:
Hi there,

i have 3 tables in my database (MS Access) namly  i)EmpReg ii) EmpDate iii)cmpDetails
the tables has the following columns.

i)EmpReg
emp_code (int)
emp_Fname (varchar)
emp_Lname (varchar)
cmp_code  (int)    

ii) EmpDate
emp_code (int)
emp_date (datetime)
emp_status (double)      --> only  0 [OR]  0.5  [OR] 1 will be stored in this column

iii)cmpDetails
cmp_code (int)          
cmp_name (varchar)

so i need a query to  select sum of emp_status   i.e. sum(emp_status)   from  EmpDate  on emp_date  date range given and along with emp_code, emp_Fname, emp_Lname from EmpReg   and cmp_name  from cmp_name

Best regards,
an_and








Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros