D
D
dailysse2017-05-20 22:45:15
IDE
dailysse, 2017-05-20 22:45:15

How to get an array from a table in postgresql?

Let's admit there is a table test:
field
---------
1
2
3
There is a request select field from test;
How to get not every row of the table, but something like array[1,2,3]. That is one array. Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
OnYourLips, 2018-08-11
@OnYourLips

Official.
Atollic TrueSTUDIO for STM32

V
Vi Vola, 2018-08-11
@hakain

Personally, I don't use an IDE at all.
I decided for myself that there are no normal environments for STM32.
In my blog , I described for myself in the form of a memo how to deploy a workspace under Linux, I think you can do the same on Windows.
In short, then:
1. I generate a basic project with peripheral initialization in STM32CubeMX
2. I write the code in Sublime
3. I compile with the arm-none-eabi-gcc compiler
4. Well, I flash it with the st-link utility

Z
Zadavatel_Voprosov, 2018-08-10
@Zadavatel_Voprosov

Keil?

M
Melkij, 2017-05-20
@dailysse

select array_agg(field) from test
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question