我有这种情况:
Table A:
+----+------------+
| id | text |
+----+------------+
| 33 | str1 |
| 34 | str2 |
| 35 | str3 |
| 36 | str4 |
+----+------------+
Table B:
+----+--------+------+------------+----------+-------+
| id | title | teme | year | ed | cont |
+----+--------+------+------------+----------+-------+
| 8 | 33 | 34 | 2012-04-06 | 35 | 36 |
+----+--------+------+------------+----------+-------+
一个查询有可能得到这个结果吗?:
+----+--------+------+------------+----------+-------+
| id | title | teme | year | ed | cont |
+----+--------+------+------------+----------+-------+
| 8 | str1 | str2 | 2012-04-06 | str3 | str4 |
+----+--------+------+------------+----------+-------+
表 A 来自其他两个表之间的 JOIN。
我使用的 DBMS 是 Mysql
提前致谢