Oracle Group By String Functions In C