Re: Left join syntax error

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Left join syntax error
Дата
Msg-id 35e0eedd-94c-882c-c6f2-68f2b5b6331c@appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Left join syntax error  (Ray O'Donnell <ray@rodonnell.ie>)
Список pgsql-general
On Sat, 18 May 2024, Ray O'Donnell wrote:

> Look again at Shammat's example! -
>
> SELECT p.lname, p.fname, p.job_title, p.company_nbr, p.email, c.company_name
> FROM people as p
>   LEFT JOIN companies as c ON c.company_nbr = p.company_nbr
>
> NB - "... from people as p left join companies as c on ...." - i.e. the 
> companies table (or its alias c) is only specified once.

Ray,

Yes, I did mis-read that.

Many thanks,

Rich



В списке pgsql-general по дате отправления:

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: Left join syntax error
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Left join syntax error