title: mysql function return multiple value in 1 string
body: <p>can Mysql return multiple cell in 1 string ??<br/></p>
  
  <p>in sqlserver I can make function like this</p>
  
  <pre><code>CREATE FUNCTION [dbo].[getTribunByOrder]
  (
      @idtrorder varchar(10)
  )
  RETURNS varchar(1000)
  AS
  BEGIN
      declare @trtribun varchar(1000)
      set @trtribun = ''
      select  @trtribun = @trtribun + nametribun +'='+ convert(varchar(3),jumlah) + ','
              from trtribun b
              where idtrorder = @idtrorder
      set @trtribun = substring(@trtribun, 0, len(@trtribun))
      RETURN @trtribun
  END
  </code></pre>
  
  <p>return of this function = "name1=1,name2=3,name3=2"<br/>
  can mysql create function like this ??</p>