udaykamble
Programmer
Projects (table1) in database, have a number of project code classifications. These are stored in a table with project-code-value combinations (table2).
How do we convert this to have a separate column for each code? (project-code1-code2-…-codeN)
Right now as per my data model my results shows like this
Project Code1 Code2
======================
P1 V1 blank
P1 blank v2
I am expecting to get just one row per project. I dont want to include multiple copies of same table for each project code in the model (I know that is one solution, but not good solution)
How do we convert this to have a separate column for each code? (project-code1-code2-…-codeN)
Right now as per my data model my results shows like this
Project Code1 Code2
======================
P1 V1 blank
P1 blank v2
I am expecting to get just one row per project. I dont want to include multiple copies of same table for each project code in the model (I know that is one solution, but not good solution)