<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - INNER JOIN oraz błąd składni]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=6048&amp;type=atom"/>
	<updated>2015-12-30T11:48:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=6048</id>
		<entry>
			<title type="html"><![CDATA[Odp: INNER JOIN oraz błąd składni]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=9427#p9427"/>
			<content type="html"><![CDATA[Dzięki ziomek :)]]></content>
			<author>
				<name><![CDATA[cogi94]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=2987</uri>
			</author>
			<updated>2015-12-30T11:48:58Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=9427#p9427</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: INNER JOIN oraz błąd składni]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=9396#p9396"/>
			<content type="html"><![CDATA[SELECT "FirstName","LastName","Name"
FROM "Employee" e
INNER JOIN "Departament" d ON e."DepartamentId" = d."Id"]]></content>
			<author>
				<name><![CDATA[c_michal]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=627</uri>
			</author>
			<updated>2015-12-30T07:01:48Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=9396#p9396</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[INNER JOIN oraz błąd składni]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=9346#p9346"/>
			<content type="html"><![CDATA[Witam,
Kolejne pytanie z serii "Laik w potrzebie".

Chciałbym połączyć dane z 2 tabel

SELECT "FirstName","LastName","Name"
FROM "Employee"
INNER JOIN "Departament" ON "DepartamentId" = "ManagerId"
Te zapytanie działa ok.

Potrzebuje aby przed nazwą kolumny wpisać również nazwę tabeli z której będzie pobierana. 
W kolejnych zadaniach będę łączył kolumny z niejednoznacznym nazwą (np Id)

SELECT "FirstName","LastName","Name"
FROM "Employee"
INNER JOIN "Departament" ON "Employee.DepartamentId" = "Departament.Id"
Niesety to nie jest poprawny zapis 
komunikat       kolumna "Employee.DepartamentId" nie istnieje

Dzięki ;)]]></content>
			<author>
				<name><![CDATA[cogi94]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=2987</uri>
			</author>
			<updated>2015-12-29T23:42:25Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=9346#p9346</id>
		</entry>
</feed>
