当前位置:网站首页>SQL语句查询字段内重复内容,并按重复次数加序号
SQL语句查询字段内重复内容,并按重复次数加序号
2022-08-05 08:19:00 【CSDN问答】
SQL语句如何实现查询字段内重复内容,并按重复次数加序号
如Users表中的UserAddress列实现如下结果:
1号楼1单元0101号 1号楼1单元0101号
1号楼1单元0102号 1号楼1单元0102号-1
1号楼1单元0102号 1号楼1单元0102号-2
1号楼1单元0102号 1号楼1单元0102号-3
1号楼1单元0103号 1号楼1单元0103号-1
1号楼1单元0103号 1号楼1单元0103号-2
运行环境:Access 2003
表结构如下图

边栏推荐
猜你喜欢
随机推荐
DNS 查询原理详解
常用的遍历map的方法
达梦数据库大表添加字段
Adb 授权过程分析
Spark cluster deployment (third bullet)
D2--FPGA SPI interface communication2022-08-03
程序设计中的感悟
[Repost] Marry a man must marry a man whose salary is at least 3571.4 yuan higher than yours
支持触屏slider轮播插件
The color of life divine
Ethernet Principle
【结构体内功修炼】枚举和联合的奥秘(三)
控制器-----controller
ps怎么拼图,自学ps软件photoshop2022,PS制作拼图效果
Thinking after writing a code with a very high CPU usage
php向mysql写入数据失败
Redis cache and existing problems--cache penetration, cache avalanche, cache breakdown and solutions
512色色谱图
链表专项之环形链表
Three solutions to solve cross-domain in egg framework









