发布于2023-05-03 阅读(0)
扫一扫,手机访问
alter table novel.novelsort add unique(name);
novel是数据库 novelsort是表名 name是字段名
select a.id,a.ip,a.creationTime from myTable a right join ( select max(id) id from myTable group by ip) b on b.id = a.id where a.id is not null
或者
select a.* from myTable a right join ( select max(id) id from myTable group by ip) b on b.id = a.id where a.id is not null
表名为myTable
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店