1.根据note表的stu_id查找发note人的nam
select a._id,a.content,a.stu_id,a.addDate,b.nam from `note` as a inner join `stu_info` as b on a.stu_id = b.idx order by a.addDate desc limit 10
select a._id,a.content,a.stu_id,a.addDate,b.nam from `note` as a inner join `stu_info` as b on a.stu_id = b.idx order by a.addDate desc limit 10
Author: wangsy
Link: https://wangsy.me/2013/csdn-11930221-7924ff56/
本文采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可