I am a bit stuggering to do this
here is my problem
I have table lets say tbl it has two columns with produciId numeric and version varcahr(40)
here is the table
tbl
productId version
1 0.0
1 1.0
1 2.0
2 2.0
3 0.0
3 1.0
I want to query out records from this table that don't have a previous version for each version.
i.e for example productid 1 has max version of 5.0 therefore it has to have versions from 0.0 to 5.0
but version 2 has max version 2.0 but doesn't have previous versions 1.0 and 0.0 there for I want to get those records with this kind, which don't have a previous version for each of there version
Thanks
here is my problem
I have table lets say tbl it has two columns with produciId numeric and version varcahr(40)
here is the table
tbl
productId version
1 0.0
1 1.0
1 2.0
2 2.0
3 0.0
3 1.0
I want to query out records from this table that don't have a previous version for each version.
i.e for example productid 1 has max version of 5.0 therefore it has to have versions from 0.0 to 5.0
but version 2 has max version 2.0 but doesn't have previous versions 1.0 and 0.0 there for I want to get those records with this kind, which don't have a previous version for each of there version
Thanks