franciscog354
IS-IT--Management
Hi,
I'm trying to build a questionnaire where depending on the first question (SELL or BUY) different questions will be asked. To make it simple (now I think I was wrong) I created two tables:
Table1
RowId | Q00 | Q01 | Q02 | Q03 | ...
1 SELL YES KY HOUSE
2 BUY LOFT 90000$ 120
Table2
QId | SELL | BUY
Q01 Only owner? Type of good
Q02 Address? Budget
Q03 Type of good Square meters
...
In this way I thought I could query both tables replacing the column names in Table1 (Q01, Q02,...) with the values from Table2 ([Only owner?], [Address?],...) assuming in this case Q00 was 'SELL'.
Is this possible? Did googled quite much but not luck at all...
Thanks in advance,
Fran
I'm trying to build a questionnaire where depending on the first question (SELL or BUY) different questions will be asked. To make it simple (now I think I was wrong) I created two tables:
Table1
RowId | Q00 | Q01 | Q02 | Q03 | ...
1 SELL YES KY HOUSE
2 BUY LOFT 90000$ 120
Table2
QId | SELL | BUY
Q01 Only owner? Type of good
Q02 Address? Budget
Q03 Type of good Square meters
...
In this way I thought I could query both tables replacing the column names in Table1 (Q01, Q02,...) with the values from Table2 ([Only owner?], [Address?],...) assuming in this case Q00 was 'SELL'.
Is this possible? Did googled quite much but not luck at all...
Thanks in advance,
Fran