My query is how you would pull the data from your current table into one that looks like this. Vendor Type1 PPG1 A 1 2
Your also could append the data using multiple queries, one for each type/ppg column combination.
"Ravenmike via AccessMonster.com" wrote:
[Quoted Text] > Karl, > Thanks for the info. I had not thought of a Union query... > But one question. Your SQL statement looks like it is pulling from one table. > The sets of Type-PPG are all on a single table. > Do I need to seperate the Type-PPG sets into seperate tables, with > relationships to the vendors? > > > KARL DEWEY wrote: > >Use a union query to normalize you data into a new table. > > > >SELECT Ravenmike.Vendor, Ravenmike.Type1, Ravenmike.PPG1 > >FROM Ravenmike > >UNION SELECT Ravenmike_1.Vendor, Ravenmike_1.Type2, Ravenmike_1.PPG2 > >FROM Ravenmike AS Ravenmike_1; > > > >> I have a problem trying to normalize data that has been imported from an > >> Excel spreadsheet. I am hoping someone can point me in the right direction. > >[quoted text clipped - 23 lines] > >> relationship... > >> Any help would be much appreciated. > > -- > Message posted via AccessMonster.com > http://www.accessmonster.com/Uwe/Forums.aspx/access-tablesdbdesign/200609/1> >
|