Hello AllHow could I use Column for Table1 within subquery. I know this is not possible but there should be a nice way to achieve this.SELECT *FROM Table1 K1WHERE (1) = (SELECT COUNT(DISTINCT(K2.KiaId))FROM Table1 K2WHERE K2.KiaId >= K1.KiaId and K2.KiaKIID = K1.KiaKIID)Thanks in Advance
↧