I need to build a query that concatenates the values in my table as follows:
The table:
SELECT table.animal & (SELECT table.animal FROM table) FROM table;
I get an error that says that the subquery max. has 1 record
Help!!
The table:
- monkey
- horse
- pelican
- zebra
- monkeymonkey
- monkeyhorse
- monkeypelican
- monkeyzebra
- horsemonkey
- horsehorse
- horsepelican
- horsezebra
- pelicanmonkey
- pelicanhorse
- pelicanpelican
- pelicanzebra
- zebramonkey
- zebrahorse
- zebrapelican
- zebrazebra
SELECT table.animal & (SELECT table.animal FROM table) FROM table;
I get an error that says that the subquery max. has 1 record
Help!!