Try this and give me ur feed back
select name,txt,max(number),substring(txt, 1,3), charindex(txt, "x") from steve_test
where (select count(*) from steve_test
group by name)
group by name
order by txt desc
Pls note: The reason for using substring and charindex is just to put...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.