`
mywebcode
  • 浏览: 998529 次
文章分类
社区版块
存档分类
最新评论

Oracle Sql学习笔记

 
阅读更多


select a.tag_id, a.tag_name,b.usernum,b.userscore from tagbase a right join  usertag b on b.tag_id = a.tag_id where rownum <=2 and a.tag_level=2 order by b.usernum desc;

select * from tagbase a left outer join  usertag b on a.tag_id = b.tag_id;


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics