Elegant way to insert of some value in some tables in short instruction

From: philolilou <philolilou(at)free(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: Elegant way to insert of some value in some tables in short instruction
Date: 2019-03-13 19:03:57
Message-ID: 7c5f79b8-e04a-f031-5f3f-582f1ba86343@free.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi all,

i'm very novice in SQL and try to find an elegant way to insert some
values to some tables (that i'll later query with jointure for have a
view of only desired informations) but in short way.

All manuals i saw until now told me like:

insert into table1 values('value1','value2','value3');

insert into table2 values('value1','value2','value3');

Well, it's nice but doesn't it exists a way to make same in 1 operation?

Thanks for your answer

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David Raymond 2019-03-13 19:25:55 RE: Elegant way to insert of some value in some tables in short instruction
Previous Message Adam Lipinski 2019-03-13 01:12:41 RE: Windows Service Stops Responding