学习记录--让我打开另一种思路的SQL

1、显示文章、提交人和最后回复时间

select a.title,a.username,b.adddate from table a,

(select max(adddate) adddate from table where table.title=a.title) b 

 

posted @ 2019-06-11 14:47  Simona'  阅读(96)  评论(0编辑  收藏  举报