From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx]
On Behalf Of Alexander Farber Hi Igor, On Tue, Aug 23, 2016 at 8:15 PM, Igor Neyman <ineyman@xxxxxxxxxxxxxx> wrote:
you are correct, but I need to send most recent move in each game together with the other game data.
Regards Alex Or, for the last moves you could probably have the third table LAST_MOVES maintained through triggers on WORDS_MOVES table. Then, you just join WORDS_GAMES and LAST_MOVES tables. Regards, Igor |