力扣数据库:上升的温度
发布日期:2021-05-13 22:16:02 浏览次数:15 分类:精选文章

本文共 884 字,大约阅读时间需要 2 分钟。

������������������SQL���������������������������������������������������������������������������������id���

������������ SQL ������������������������������������������������������������������������������������ id���

������������������

  • ��������� Weather ���

  • ������������������������������������������������

  • ������������������������������������������������������������������

  • ���������������

    • ���������������������datediff���timestampdiff ������ date_sub���curdate(), interval 1 day)���������������������

    • ���������������������������������������������

    ���������������������������������������������������

    ������1���������������������������

    1.1 ��������������� 1.2 ������ Weather ���

    ������2���������SQL������

    query:

    select w1.id

    ��� Weather w1

    ��������� Weather w2 
    ���w1(recordDate) = date_sub(curdate(), interval 1 day)
    ������w1.temperature > w2.temperature
    ������

    select w1.id

    上一篇:tensorflow2.0 BP神经网络 fashion MNIST图像分类
    下一篇:力扣数据库: 第N高的薪水

    发表评论

    最新留言

    很好
    [***.229.124.182]2025年04月23日 23时15分29秒