SQL question

Поиск
Список
Период
Сортировка
От Igor' Robul'
Тема SQL question
Дата
Msg-id 20001123182301.A7557@linux.rainbow
обсуждение исходный текст
Список pgsql-general
Hello,

For example:
SELECT words.id, files.id FROM words,files WHERE w=$1 and host=$2 and name=$3;

If words table has $1 and files table has $2 and $3 then I'll get
result like
id1 id2
-------
223 235

But if words or files does not have corresponding info then it will
return empty relation.

Is it possible get something like
id1 id2
--------
234 NULL

Thank you for info.

--
Igor' Robul', Unix System Administrator & Programmer @ sanatorium "Raduga",
Sochi, Russia
http://www.brainbench.com/transcript.jsp?pid=304744

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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Matrix implementation?
Следующее
От: "turing2000"
Дата:
Сообщение: ...