Psql připojit

Příklady kódu

3
0

psql připojit

SELECT *
    FROM weather INNER JOIN cities ON (weather.city = cities.name);
0
0

postgres připojit

-- This is in postgreSQL

-- We have tableA and tableB, x is primary key in tableA and also
-- a foreign key in tableB as y
SELECT * FROM tableA JOIN tableB ON tableA.x = tableB.y;

-- This will select all the columns from both tables that share a key

Související stránky

Související stránky s příklady

V jiných jazycích

Tato stránka je v jiných jazycích

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................