当前位置:网站首页>Data analysis exercises
Data analysis exercises
2022-07-03 08:17:00 【Refuse to put a rotten countdown for 60 days】
SQL piece
One 、 The picture shows the live broadcast form 
(1) Use sql Query that the number of gifts given in the live broadcast room is greater than or equal to 3 User number of .
select DISTINCT(Uid) from dataanalysis GROUP BY Uid having sum(Num)>=3

(2) Use sql Query that the same number of gifts sent by the live broadcasting room is greater than or equal to 2 User number of .
select DISTINCT(Uid) from dataanalysis GROUP BY GiftName having sum(Num)>=2

Two 、 As the code shows , analysis myfunc Function function .
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int myfunc(int n){
int i=0;
int x=0;
while(i<n){
i+=1;
if(i%3==0)
continue;
x+=i;
printf("%d\n",x);
}
return x;
}
int main(){
int t=myfunc(6);
printf("%d",t);
return 0;
}
myfunc5 The function is : Will not be 3 The divisible is greater than or equal to 1 Less than or equal to n Integer sum of .
边栏推荐
- P2704 [noi2001] artillery position (shape pressure DP)
- 使用 FileChannel 进行文件的复制拷贝
- Solution détaillée de toutes les formules de fonction de transfert (fonction d'activation) du réseau neuronal MATLAB
- [end of 2021] National Meteorological Short Video (Kwai, Tiktok) influence list in December
- Golang的range
- I want to do large screen data visualization application feature analysis
- 简易入手《SOM神经网络》的本质与原理
- Golang's range
- swagger文档配置
- jsutlis
猜你喜欢

超限黑客认知

Easy touch plug-in

数据分析练习题
![P1596 [USACO10OCT]Lake Counting S](/img/a7/07a84c93ee476788d9443c0add808b.png)
P1596 [USACO10OCT]Lake Counting S

WPF:解决MaterialDesign:DialogHost 无法关闭问题

Un système de gestion de centre commercial pour la conception de cours de technologie d'application de base de données

Wechat applet taro learning record
![[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)](/img/df/a034032e203e7935dafaf8a71cb6c8.jpg)
[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)

Haproxy+kept build 01

MXone Pro自适应2.0影视模板西瓜视频主题苹果cmsV10模板
随机推荐
Easy touch plug-in
Haproxy+kept build 01
[global product discovery 2] the first pure cloud augmented reality (AR) platform - Israel
Kwai 20200412 recruitment
C#课程设计之员工信息管理系统
一条通往服务器所有端口的隧道
jsutlis
Unity4.3.1 engine source code compilation process
Abstract classes and interfaces
Wechat applet taro learning record
What is BFC?
梯度下降法求解BP神经网络的简单Demo
Maxcompute string splitting function -split_ PART
the installer has encountered an unexpected error installing this package
Unity2019_ Natural ambient light_ Sky box
P2704 [noi2001] artillery position (shape pressure DP)
MAE
Flex flexible box layout
Conversion between golang JSON format and structure
Zohocrm deluge function application time verification