473,239 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,239 software developers and data experts.

how to count two one to many relationships in one querry?

let's say i have table a which has a one to many relationship with table b and with table c
how can i make a querry to me for each element of table a both the count of elements that correspond to b and c?

for example:

table a has 3 corresponing elements in table b and 4 in table c. the result would be

a_id 3 4

I have tried 2 left joins and to group it by a_id but it returns a_id 12 12
Jun 8 '22 #1
0 9509

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Andrea | last post by:
I'm having some difficulty creating a report in Access and I need some suggestions. My company issues "Return Authorizations" when customers need to return products. A customer calls in and we...
by: Megan | last post by:
hello everybody, i know this is a very long post, but i wanted to provide as much detail as possible. quick overview- i want to create a couple of many to many relationships and am wondering...
by: Jason James | last post by:
Hi All, I have a many-to-many relationship between two tables using a third table as a joining table. I have a single dataset with all three tables loaded and the correct relationships added...
by: Robert | last post by:
I am very new to .net and asp.net. I am trying to design an intranet page that has a SQL Server 2000 database. I understand how to connect to the data but am getting very confused on how to...
by: ghbarratt | last post by:
Hi, I am new here and was hoping to get an answer to a pretty simple question. I am using ORACLE 9i. Here is my question: How can I list the rows that have a certain relationship count? In my...
by: Tazzy via AccessMonster.com | last post by:
Hi all, I'm in the process of setting up a database for a project that involves actors, shows and venues and have set up tables as follows; TblActors - Stage name(Primary key), real name, etc....
by: banderson | last post by:
Hello I'm new to developing databases in Access and using Access2003. I have a dataset with a few many to many relationships that I have created linking tables for to make multiple 1:M relationships....
Jerry Maiapu
by: Jerry Maiapu | last post by:
This is simple question but I know if solved could greatly assist many data entry clerk today, in the way they do data entry. I have about 13 tables and are married to each other with one to many...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.