Added primary-key in Postgresql example-sql. Fixed query: escaping fieldnames, alternative for GROUP_CONCAT