我有两个数据库表:
Definitions
表具有以下列:
Id, Category
样本数据:
1, What is capital of USA ?
2, Who broke my glass ?
Options
表具有以下列:
Id, DefinitionId, Value
样本数据:
1, 1, New York
2, 1, Melbourne
3, 1, Lahore
4, 2, Boss
5, 2, My brother
6, 2, Your girlfriend
请指导我如何使用所有选项查询所有问题,我需要如下数据:
"", 1, What is capital of USA ?
1,1, New York
2,1, Melbourne
3, 1, Lahore
"", 2,Who broke my glass ?
4, 2, Boss
5, 2, My brother
6, 2, Your girlfriend
请指导