Hi. First i want to say hello to everyone. I'm new here and i hope i'll find a lot of interesting things.I have a problem.I need to write a specific (for me) qvery.scenario:Two tables in 1:N relation.tblFirm 1:N tblPhonestblFirmidFirm [PK, autonumber, not null]name [nvarchar(50), null]
tblPhonesidPhone [PK, autonumber, not null]idFirm [FK, int, not null]phone
the following code:[code]SELECT tblFirm.name, tblPhones.phoneFROM tblFirm INNER JOIN tblPhones ON tblFirm.idFirm=tblPhones.idFirm/code]will return:name phone1name phone2name phone3 etc...i need to group this into one row. For example:name phone1 phone2 phone3I hope you understand what i wrote above. Thx