Re: Ways to deal with large amount of columns;

From: Ben Madin <ben(at)ausvet(dot)com(dot)au>
To: a <372660931(at)qq(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Ways to deal with large amount of columns;
Date: 2018-08-31 08:47:25
Message-ID: CA+weYr2mKm3kV4ZRM1S3XDMe2UspaARKHRCE=VfXf_RSc_zzdg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi - this is a spreadsheet model, not a database model, and could be
modelled with three columns.

The aggregate functions are an analytic issue, not a data issue.

cheers

Ben

On 30 August 2018 at 17:13, a <372660931(at)qq(dot)com> wrote:

> Hi all:
>
> I need to make a table contains projected monthly cashflow for multiple
> agents (10,000 around).
>
> Therefore, the column number would be 1000+.
>
> I would need to perform simple aggregate function such as count, sum or
> average on each cashflow projected.
>
> So if there is anyway of doing this? Will there be anything like define a
> macro in C that I can manipulate multiple columns by simple word that
> representing them.
>
> Thanks so much!
>
> Shore
>

--

[image: Ausvet Logo] <https://www.ausvet.com.au/>

Dr Ben Madin

BVMS MVPHMgmt PhD MANZCVS GAICD
Managing Director
Mobile:
+61 448 887 220 <+61448887220>
E-mail:
ben(at)ausvet(dot)com(dot)au
Website:
www.ausvet.com.au
Skype: benmadin
Address:
5 Shuffrey Street
Fremantle, WA 6160
Australia

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brent Wood 2018-08-31 09:31:55 Re: Ways to deal with large amount of columns;
Previous Message Tim Cross 2018-08-31 03:04:30 Re: Ways to deal with large amount of columns;