How ECS will handle multiple write groups to the same component?

Let’s say there is a component A which is an output component.
Then we have component B and C:

[WriteGroup(typeof(A))] public struct B : IComponentData {}
[WriteGroup(typeof(A))] public struct C : IComponentData {}

And BSystem is querying A and B, and CSystem is querying A and C.

If an entity has A, B and C, how is this going to work out? Do both of BSystem and CSystem can access the entity? Or should there be another system that queries A, B and C for the query to return the entity?

Neither will find the entity.

This.