当前位置:网站首页>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 .
边栏推荐
- Redis的数据结构
- Oracle insert single quotation mark
- Detailed explanation of all transfer function (activation function) formulas of MATLAB neural network
- oracle中的 (+)是什么意思
- Clion toolchains are not configured configure disable profile problem solving
- 璞华PLM为全场景产品生命周期管理赋能,助力产品主线的企业数字化转型
- MAE
- matlab神經網絡所有傳遞函數(激活函數)公式詳解
- Scite change background color
- Transfinite hacker cognition
猜你喜欢
Dotween plug-in
Xlua task list youyou
matlab神经网络所有传递函数(激活函数)公式详解
【云原生】微服务之Feign的介绍与使用
Unity change default editor
Solution détaillée de toutes les formules de fonction de transfert (fonction d'activation) du réseau neuronal MATLAB
[cocos creator] Click the button to switch the interface
Basic operation and process control
数据分析练习题
[global product discovery 2] the first pure cloud augmented reality (AR) platform - Israel
随机推荐
matlab神經網絡所有傳遞函數(激活函數)公式詳解
A tunnel to all ports of the server
梯度下降法求解BP神经网络的简单Demo
YOLO系列 --- xml2txt脚本
unity2019_ Input management
Flex flexible box layout
Un système de gestion de centre commercial pour la conception de cours de technologie d'application de base de données
数据的存储
Redis的数据结构
Map的实现类的顺序性
[end of 2021] National Meteorological Short Video (Kwai, Tiktok) influence list in December
Compilation error: "not in executable format: file format not recognized"“
Golang 中string和int类型相互转换
Idea unreference Display Effect
WPF:解决MaterialDesign:DialogHost 无法关闭问题
Why can void * be a general pointer
多旅行商问题——公式和求解过程概述
Multi traveling salesman problem -- overview of formula and solution process
Unity one click AssetBundle
Classes and objects