当前位置:网站首页>LeetCode - Easy - 197
LeetCode - Easy - 197
2022-06-28 02:31:00 【Minsk open source】
| recordDate | date |
| temperature | int |
±--------------±--------+
id is the primary key for this table.
This table contains information about the temperature in a certain day.
Write an SQL query to find all dates’ id with higher temperature compared to its previous dates (yesterday).
Return the result table in any order.
The query result format is in the following example:
Weather
±—±-----------±------------+
| id | recordDate | Temperature |
±—±-----------±------------+
| 1 | 2015-01-01 | 10 |
| 2 | 2015-01-02 | 《 A big factory Java Analysis of interview questions + Back end development learning notes + The latest architecture explanation video + Practical project source code handout 》 Free open source Prestige search official account 【 Advanced programming 】 25 |
| 3 | 2015-01-03 | 20 |
| 4 | 2015-01-04 | 30 |
±—±-----------±------------+
Result table:
±—+
| id |
±—+
| 2 |
| 4 |
±—+
In 2015-01-02, temperature was higher than the previous day (10 -> 25).
In 2015-01-04, temperature was higher than the previous day (30 -> 20).
边栏推荐
- Cesium obtains the latitude and longitude range of the screen
- 文件傳輸協議--FTP
- Introduction to hybrid apps
- How to handle computer security certificate errors
- [Yocto RM]3 - Yocto Project Releases and the Stable Release Process
- Cesium Click to draw polygons (dynamically draw polygons)
- JS实现滑动拼图验证
- Jenkins - built in variable access
- Jenkins - data sharing and transfer between copy artifact plug-in builds
- js实现时钟
猜你喜欢

Cesium Click to draw polygons (dynamically draw polygons)

The system administrator has set the system policy to prohibit this installation. Solution

Jenkins - Pipeline concept and creation method

Jenkins - Groovy Postbuild 插件丰富 Build History 信息

Low code solution - a low code solution for digital after-sales service covering the whole process of work order, maintenance and Finance

Domain Name System

Machine learning notes - time series as features

SQL injection Bypass (2)

ShardingSphere-proxy-5.0.0建立mysql读写分离的连接(六)

Cesium 多边形(polygon)extrudedHeight 和 height 的区别
随机推荐
js实现时钟
Appium automation test foundation - Supplement: app package name and appactivity
将某数据库N多表名作为另外一张表中某一列得值(范围可以是别的数据库中得某张表)
[Yongyi XY chair] trial experience
Machine learning notes - time series as features
Jenkins - access the Jenkins user-defined parameter variable, and handle the variable value containing spaces
Cesium 获取屏幕所在经纬度范围
文件傳輸協議--FTP
CVPR22收录论文|基于标签关系树的层级残差多粒度分类网络
TD Hero online conference on July 2
File transfer protocol --ftp
OS module and os Learning of path module
General timer and interrupt of stm32
Description du format geojson (détails du format)
Locust 性能测试 - 参数化,并发循环数据采样不重复
Jenkins - 内置变量访问
Cvpr22 collected papers | hierarchical residual multi granularity classification network based on label relation tree
引用层reboot后的大体流程
205. isomorphic string
Jenkins - 邮件通知 Email Notification 插件