我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何计算12轮的前7名成绩

earlier I asked how to get the best 3 results (which OTARIKI and Raging Bull answered)

for a static system that works great. ok my question.

how can I get the top 7 rounds out of 12 rounds (code below is static best 3 rounds out of 4)

SELECT RacerID ,  round1 + round2 + round3 + round4 - LEAST(round1, round2, round3, round4) AS Top3Rounds

FROM tablename

any ideas? many thanks again :)

近期文章

  • PHP:无法获得组合框的选定值
  • php-如何使用PHP构建和签署apk文件?
  • Eclipse PHP不正确的颜色格式/突出显示
  • 从PHP MySql中的不同目录中读取文件
  • mysql查询选择不同记录的百分比
  • Ajax调用DB保存仅在Wordpress中偶尔使用
  • 是否有更适合从SQL过滤的方法?
  • 如何使用MySQL中的预准备语句动态地转动表
  • 使用http post将位图上传到服务器android。 在PHP脚本中需要帮助
  • PHP Medoo - num行
  • 根据相关模型中方法的结果对Eloquent ORM结果集进行排序
  • 在主页和类别wordpress页面的每7个帖子之间插入广告
  • 在会话中存储时间
  • mysql中的PHP数组选择查询
  • 无法实施长轮询
  • 安装PEAR时出错(错误的目录)
  • PHP mail()函数没有发送
  • PHP和MySQL中的查询计数主题标签
  • 如何从github安装holiday api
  • 如何加载动态联系表单,该表单在我的wordpress网站的每个页面中都有链接

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华