I am trying to pull License Types By County by having the user type the License Type and County in using @Type1, @Type2, @Type3 and @County1, @County2, and @County3 as an example and pull all of the data from the Table for a certain County and Type. I believe that a Select within a Select would be needed, but I do not know how to write the code to do this. I am new to SQL and I am knowledegeable about simple select statements from and where and having, but this is a complex view to set up because when I try to enter parameters in for Types 010, 011, 020. I get all counties. I want the user to select which county they want data for by the type 010, 011, and 020. I other words, I need data for County 01 if the user has entered 01 for County Parameter for the types entered in as @Type1, @Type2, and @Type3 and so on.
Please help.
jjc3397
Please help.
jjc3397