String Functions In Sql Server With Subquery Example In Sql