随笔分类 - 数据库
摘要:关键词:hour(time)获取小时,date(time)获取当天时间,curdate()获取当天时间 select * from b_get_integral where hour(get_time)=18 and date(get_time)=date(curdate())
阅读全文
摘要:select DISTINCT(DATE_FORMAT(u_dynamic_time,'%Y年%m月')) as photo_time,group_concat(u_dynamic_picture) as photo_des from b_user_dynamic where user_id =2
阅读全文
摘要:插入数据时用参数进行判断,插入哪条数据(type也是传入参数)
阅读全文
摘要:插入模拟测试数据 address longitude latitude 1 115.966291 28.684432 115.959871 28.669313 115.930901 28.700844 120.251551 30.165675 115.906261 28.666856 115.873
阅读全文

浙公网安备 33010602011771号