S
S
Steve2021-01-15 10:53:18
PostgreSQL
Steve, 2021-01-15 10:53:18

Subquery must return only one column error?

Throws subquery must return only one column error.
I want to output an array. What's wrong here?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2021-01-15
@melkij

So what is not clear in the text of the error?
do you see subquery in your query? How many columns are in its result? Well, obviously more than one, otherwise this subquery would not be needed at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question