I am looking to create two temp tables - both pull in values from a codeset table - 1 temp table is for all references with Codeset ID 11 and the other is for all references with Codeset ID 24. Within these two temp tables, I am exctracting the Code Num and Description for all references under the appropriate Codeset ID.
Ex
Codesets
1 10 a
1 20 b
1 30 c
11 19 test
11 20 test2
11 21 test3
24 19 apple
24 20 orange
24 21 banana
Temp Table 1 (codeset 11)
19 test
20 test2
21 test3
Temp Table 2 (codeset 24)
19 apple
20 orange
21 banana
based on my knowledge of SQL, I have to create these temp tables to pull back descritpions for each reference to codeset 11 and 24 that are stored in a single table.
ie - product, productID, codeset11, codeset24, price, datein, dateout