-3
I have in my project two tables that relate, but I would like to make a query Consult that brings all children entities that a field is equal to parent entity, being for all parent entities that satisfy a specific condition.
Someone could help me?
I want to take all the wheels that vehicle (parent class) is red, being that vehicles is a table, wheels is another, and color (the red) is a field. Dummy example. In this case I want all wheels only.
"bring all child entities that a field is equal to parent entity" You want a field to be the same to the whole entity? Please try to be a little clearer.
– Jéf Bueno
Sorry for the confusion, I want to take all the vehicles that contain chrome wheel, being that vehicles is a table, wheels is another, and wheel type (the chrome) is a field. Fictional example
– Andersoney Rodrigues
Young man, realize there is no absolutely no relationship between what you ask in your question and what you say in the previous comment. Please click on [Edit] and try to explain your problem better and give an example of what you want to do.
– Jéf Bueno
Sorry, I explained really confused, I corrected the explanation of what I want editing the post, is a problem that has taken my sleep.
– Andersoney Rodrigues