使用groupby关键字选择方法 [英] select method using groupby keyword

查看:129
本文介绍了使用groupby关键字选择方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用带有两列名称的"groupby"从表中选择最大数目
例如,请参见下表

track_id part_id cour_id page_no course_content这些是列名

在这里,我想使用带有两个列名称的"groupby"选择上表的最大页数
part_id和course_id

i want to select maximum number from table using "groupby" with two columns name
for example ,consider the following table

track_id part_id cour_id page_no course_content these are column name

here i want select maximum page number the above table using "groupby" with two column name
part_id and course_id

推荐答案

交叉发布: http: //www.codeproject.com/Messages/3851201/database.aspx [ ^ ]


避免交叉张贴-这被认为是不礼貌的.

现在,另一件事是您的问题的框架不正确,并且您没有想知道您要做什么以及被困在哪里.下次,请详细说明要执行的操作.
Avoid cross-posts - it''s considered rude.

Now, other thing is that your question is not properly framed and one does not get what are you trying to do and where are you stuck. Next time please formulate it better with details on what are ytrying to do.


这篇关于使用groupby关键字选择方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆