I want to know if there is any option to output multiple rows into a single row.
for example the regular select * from tbl_name will give a list of all records available in the table.
firstname    lastname
----------   ------------
Lepanto      Fernando
Lourdes      Brillianto
Gerald       Siluvai
Preferred output
firstname will have -> Lepanto###Lourdes###Gerald
lastname will have -> Fernando###Brillianto###Siluvai
Can we have some concatenation done to achieve the above.
 
     
    