How to sub query using cusrsor in sqlserver?


i want any one example