| От | mila boldareva |
|---|---|
| Тема | Re: LEFT JOIN and missing values |
| Дата | |
| Msg-id | 167817250594.20030312214959@pierro.dds.nl обсуждение |
| Ответ на | LEFT JOIN and missing values (mila <me@pierro.dds.nl>) |
| Список | pgsql-sql |
Tomasz, > I think if you really need to remove your 0.5 values, you need another > table with all possible values of id1. This table will look like: > create table t3 > ( > id1 integer; > ); T1 contains values of id's, The T2 matrix is a matrix of some sort of "distances" between id's from T1, so original T2 is a T1 x T1. (that's what you are proposing right?) So there is no id1, id2 in T2 that don't exists in T1, I checked my test tables and this is indeed the case. In other words T1 is dense, I make a left join on it and I get wrong results! And even wrong number of tuples :-( cheers, Mila
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера