T
torbeing
I am trying to compare answers from 3 different firms in a table.
All the answers is collected in on table with the firmID, answer
(Yes/no) and a comment to the answer.
I wonder if its possible to extract the answer and rename them?
Here is a SQL (that dont work..) but hopefully explain what I am
looking for
SELECT firm1Answar,firm2Answar,firm3Answar
FROM (SELECT cmsAnswar as firm1Answar FROM CMS WHERE
CMS.firmID=MMfirm1),(SELECT cmsAnswar as firm2Answar FROM CMS WHERE
CMS.firmID=MMfirm2 ),(SELECT cmsAswar as firm3Answar FROM CMS WHERE
CMS.firmID=MMfirm3)
MMfirmID is the ID I have given the firm that is returned from the page
where i select which firms to compare
(asp?firm1ID=1&firm2ID=2&firm3ID=3).
All the answers is collected in on table with the firmID, answer
(Yes/no) and a comment to the answer.
I wonder if its possible to extract the answer and rename them?
Here is a SQL (that dont work..) but hopefully explain what I am
looking for
SELECT firm1Answar,firm2Answar,firm3Answar
FROM (SELECT cmsAnswar as firm1Answar FROM CMS WHERE
CMS.firmID=MMfirm1),(SELECT cmsAnswar as firm2Answar FROM CMS WHERE
CMS.firmID=MMfirm2 ),(SELECT cmsAswar as firm3Answar FROM CMS WHERE
CMS.firmID=MMfirm3)
MMfirmID is the ID I have given the firm that is returned from the page
where i select which firms to compare
(asp?firm1ID=1&firm2ID=2&firm3ID=3).