
August 2nd, 2012, 11:21 AM
|
|
Registered User
|
|
Join Date: Aug 2012
Posts: 2
Time spent in forums: 33 m 50 sec
Reputation Power: 0
|
|
Selecting fields between 2 tables
Hello All,
I am unsure how to approach this complicated dilemma
I have 2 tables that I constructed through sub selects. I want to pull all the fields in one table if the user input is a specific number and ignore the other table fields, and vice versa for the other table. Can this be done and if so how?
so far I have tried With statements, Unions I know will not work, and integrating the one query into the other won't make sense in the way that it is built...unless someone else can clarify.
Thanks in advance for any suggestions.
|