Desired output-
Emp_name|Hobbies|age|DOB
______________________________
LOPEZ |Football , Swimming , Fishing |19| 1999-05-11
Here in the question, the Hobbies column is having multiple records with comma separate, BUT I want in a SINGLE line (Vertically). All the records for hobbies should be a single record, like multiple values in single record. And, last display in one row.
Please help me creating a table and way to insert and fetch the record in postgres DB.