Re: understand basics - multiple cars in a database - selection of one

From: avpro avpro <avprowebeden(at)gmail(dot)com>
To:
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: understand basics - multiple cars in a database - selection of one
Date: 2014-02-06 18:43:16
Message-ID: CAAQdDn=MJw=ExxpfD2PDTVyL=9gAAa0cH1QZ5pUjcXDh7mDjDA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

hi all,

thanks for your feedback. I owe you some answers:
I'm beginner in programming both databases and applications. I'm using
PostgreSql and Qt / C++ for my application and I'm trying to learn.
next time I'll come up with a better question. in the end this is a novice
list. or am I on a wrong list?

On 5 February 2014 10:15, Luca Ferrari <fluca1978(at)infinito(dot)it> wrote:

> On Tue, Feb 4, 2014 at 10:34 PM, avpro avpro <avprowebeden(at)gmail(dot)com>
> wrote:
> > let me write it differently:
> > "when the application is lunched, I would like to select one car and then
> > every property, option, transaction (applicable to this car) should be
> > recorded by the application automatically. "
> >
> > the property, option, transaction should be recorded by the application
> >
> > hope this helps. thanks
>
> Oh yes, line feeds definitely made it a lot more understandable!
> I suppose what you need here is a good mapper for your application
> (e.g., hibernate, but hey, you did not mention your application
> language).
> I suspect you are asking for a lazy master-child table lookup but hey,
> you did not mention your tables.
> This could help: http://qt-project.org/doc/qt-4.8/sql-masterdetail.html
> but I recommend you getting either a better knowledge of your aim or a
> good SQL/relational theory book.
>
> Luca
>

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David Johnston 2014-02-06 18:53:14 Re: understand basics - multiple cars in a database - selection of one
Previous Message James David Smith 2014-02-06 10:11:13 Re: Update with last known location?