文档介绍:Forpersonaluseonlyinstudyandresearch;mercialuse数据库笔试题(含参考答案)现在有个表:A(id,name,regdate)B(id,groupid)C(id,name2),把相同的查出,,A中姓名相同的ID只保留注册时间最大的数据大家帮帮忙,写一下吧1selectcount(*),to_char(regdate,'yyyymm')fromAgroupbyto_char(regdate,'yyyymm');2selectcount(*)from(selectnamefromAgroupbynamehavingcount(*)>1);3insertintoC(name2)selectnamefromAgroupbynamehavingcount(*)>1;<(selectmax(regdate)=);------redate(格式为