Advertisement

07.21.2008 at 02:37PM PDT, ID: 23583496
[x]
Attachment Details

Including total from 3 different tables as  1 result

Asked by gfranco in SQL Query Syntax

Tags: Microsoft, Access, 2003

Hi,

I  have 3 queries which contain the total count for a specific column serial number

Select count(SN) from tbl1; result = 500
select count(SN2) from tbl2 ; result = 400
select count(SNSN2) from tbl3 ; result = 1000
I could not use one query because the execution time is taking too long, so i decided to split on 3
Those results have to be placed on a one table because i need to make some calculations

Total SN         TotalSN2         TotalSNSN2   Rate
500                  400                   300              20

500+400-300 = 600
Rate = 600/300 = 20%

What will be your suggestion to accomplish this task, thanksStart Free Trial
[+][-]07.21.2008 at 03:33PM PDT, ID: 22054972

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 03:38PM PDT, ID: 22055012

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 03:44PM PDT, ID: 22055053

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 03:45PM PDT, ID: 22055059

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 09:24AM PDT, ID: 22061023

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 10:24AM PDT, ID: 22061583

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 10:28AM PDT, ID: 22061625

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 12:20PM PDT, ID: 22062696

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 02:50PM PDT, ID: 22064038

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Query Syntax
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: FrivolousSam
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.23.2008 at 08:54AM PDT, ID: 22070573

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628