Quantcast
Channel: Join one-to-many field in a single result without concatenation - Database Administrators Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Kenneth Fisher for Join one-to-many field in a single result...

One way you can do this is with a PIVOT.Here is the setup code:create table grades ( ID int, Mapped_Heading varchar(10), Source_Value varchar(10));create table students ( ID int, Name varchar(10), Age...

View Article



Join one-to-many field in a single result without concatenation

I suffer from the same problem as in Concatenate one-to-many field in single result?, but I need a result where the 'many' fields occupy their own columns and aren't concatenated in one column. Any...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images