我有一张orders这样的桌子-
id | bookId
------------
1 3
2 2
3 1
而这books——
bookId | book
---------------
1 bookA
2 bookB
3 bookC
当我这样做时,他们有什么办法可以让我book列在下面bookId吗
select * from orders where id = '1'
所以结果会像 -
id | bookId
------------
1 bookC <------- bookC instead of 3