select items based on 2 columns

Поиск
Список
Период
Сортировка
От Shaozhong SHI
Тема select items based on 2 columns
Дата
Msg-id CA+i5JwYCPBDcenq_godJqtjApLyOeJHxo-Joova3wrAYtM6QOA@mail.gmail.com
обсуждение исходный текст
Ответы Re: select items based on 2 columns
Re: select items based on 2 columns
Список pgsql-sql
The following is the type of data:

id  id_b   in    out
51 57     false false
51 42     true   false
51   32   false  false
51   76   false  true
51  49     true   false


How to do the following:

select id from tbl   if in is true and out is true are found?

Regards,

David

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