Notes-English Version

Software environment: MySQL 8.0, MySQL Workbench 8.0 

Some information may be treated as confidential, so that they have been concealed.


1. Calculating daily hot queries and producing indicators of trends developing

Notes-English Version_第1张图片
代码
Notes-English Version_第2张图片
结果-数值打码了


2. Checking the dates the GMV of which higher than a specific number to see whether the peaks have come

Notes-English Version_第3张图片
代码


Notes-English Version_第4张图片
结果


3. Getting the top3/top10 GMV-producing queries to guide marketing operation

代码


Notes-English Version_第5张图片
结果


4. Computing the median of GMV of categories

Notes-English Version_第6张图片
代码


Notes-English Version_第7张图片
结果-仅展示小数位数


5. Labeling queries with sexuality prediction and getting top5% queries from all labels according to the frequency of the queries

Notes-English Version_第8张图片
num:分类计数, percentage:num/分类count


Notes-English Version_第9张图片
结果-查询词和gmv打了马赛克


6. Calculating query-retetion-rate

Notes-English Version_第10张图片
代码


Notes-English Version_第11张图片
结果(截取部分)

你可能感兴趣的:(Notes-English Version)