摘要: 先用MAX(time) 和 group by item_id 查询出不同的item_id对应的最大时间,然后再在外面连表查询,查询 表中 item_id 和login_time 时间 相等于刚才的查询记录的记录具体语句如下 select a.* from reyo a join (select it 阅读全文
posted @ 2020-12-20 15:56 锐洋智能 阅读(3401) 评论(0) 推荐(0)
摘要: 一、复制表里面的一条记录并插入表里面insert into reyo(title,keywords,desc,contents) selecttitle,keywords,desc,contents from reyo where reyo_id = 100;二、复制表里的多条数据/记录,并插入到表 阅读全文
posted @ 2020-12-20 15:50 锐洋智能 阅读(2206) 评论(0) 推荐(0)