zoukankan      html  css  js  c++  java
  • 查询用户最近操作信息

    SELECT
    case_id,
    a.user_name user_name,
    dept_name,
    temperature_forenoon,
    temperature_afternoon,
    health_symptom,
    health_history,
    health_infection,
    health_suspected_infection,
    health_hospital,
    city,
    address,
    route_start,
    route_start_time,
    route_destination,
    route_end_time,
    route_cause,
    route_traffic,
    route_vehicle,
    route_person,
    city_been,
    city_contact,
    city_contact_person,
    contact_hubei,
    living_environment_hospital,
    living_environment_symptom,
    living_environment_infection,
    living_environment_suspected_infection,
    living_community_history,
    living_community_suspected_infection,
    together,
    studying,
    studying_info,
    info,
    a.create_time create_time,
    qr_table
    FROM
    t_daily_update_info a
    JOIN ( SELECT user_name, MAX( create_time ) create_time FROM t_daily_update_info WHERE user_name = 'test' ) b ON a.user_name = b.user_name
    AND a.create_time = b.create_time

  • 相关阅读:
    stark
    MySQL与JDBC
    存储过程/视图/触发器
    MyCat部署运行(Windows环境)与使用步骤详解
    常用单词总结
    表单校验---validation检验
    jQuery简介
    javascript简单介绍
    HTML&&CSS
    消息队列Java的简单实现
  • 原文地址:https://www.cnblogs.com/King-boy/p/12420373.html
Copyright © 2011-2022 走看看