Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Get consecutive duplicate nos - TSQL

$
0
0

I want  TSQL statement to find the hat trick details based on run.

IDOverBallRun
101110
102121
103131
104141
105152
106162
107214
108224
109234
110241
111252
112261

Result:

102121
103131
104141
107214
108224
109234


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>