Having 4 tables
System has columns: id, sysName
PC has has columns: id, serialNum
Mac has has columns: id, macAddr
IP has has columns: id, ipAddr
Example:
System Serial Mac IP
Sys1 Ser1 Mac1 IP1
Sys1 Ser1 Mac2 IP2
How can I make the output like
Sys1 Ser1 “Mac1; Mac2” “IP1; IP2”
Please help (using T_sql, MSSQL 2005)
Thanks
System has columns: id, sysName
PC has has columns: id, serialNum
Mac has has columns: id, macAddr
IP has has columns: id, ipAddr
Example:
System Serial Mac IP
Sys1 Ser1 Mac1 IP1
Sys1 Ser1 Mac2 IP2
How can I make the output like
Sys1 Ser1 “Mac1; Mac2” “IP1; IP2”
Please help (using T_sql, MSSQL 2005)
Thanks