总共有三个表
1、stitle是测试的题目
2、card是一个题目下面的许多标题
3、option是一个标题下面的选项
sql语句如下
select * from (stitle s LEFT JOIN card c ON c.tid=s.tid) LEFT JOIN `option` o ON o.mid=c.mid where title='测试你成功的方向'
查询结果如下
1、stitle是测试的题目
2、card是一个题目下面的许多标题
3、option是一个标题下面的选项
select * from (stitle s LEFT JOIN card c ON c.tid=s.tid) LEFT JOIN `option` o ON o.mid=c.mid where title='测试你成功的方向'