牛客519743588号
牛客519743588号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客519743588号的博客
全部文章
(共22篇)
题解 | 返回顾客名称和相关订单号以及每个订单的总价
select c.cust_name,o.order_num,sum(item_price*quantity) as OrderTotal from Customers c join Orders o on c.cust_id=o.cust_id join OrderItems oi on o.or...
2025-09-26
0
8
题解 | 单组_二维数组
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in =...
2025-09-25
0
11
题解 | 记数问题
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in =...
2025-09-24
0
12
题解 | 淘宝店铺的实际销售额与客单价
select round(sum(s.sales_num * g.goods_price), 3) as sales_total, round(sum(s.sales_num * g.goods_price), 3) / count(distinct s.user_id) as pe...
2025-09-23
0
11
题解 | 统计各等级会员用户下订单总额
select ut.vip,sum(case when order_price is not null then order_price else 0 end) as order_total from uservip_tb ut left join order_tb ot on ot.user...
2025-09-22
0
9
题解 | 数位之和
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in =...
2025-09-22
0
10
题解 | 最大的差
import java.util.Scanner;public class Main {public static void main(String[] args) {Scanner scanner = new Scanner(System.in); int n = scanner.next...
2025-09-22
0
14
题解 | 最大的差
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2025-09-22
0
13
题解 | 牛牛学数列
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in =...
2025-09-18
0
19
题解 | 多组数据a+b III
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in =...
2025-09-18
0
16
首页
上一页
1
2
3
下一页
末页