| От | |
|---|---|
| Тема | Re: help with query: advanced ORDER BY... |
| Дата | |
| Msg-id | 021501c619c1$dce426c0$6402a8c0@iwing обсуждение исходный текст |
| Ответ на | help with query: advanced ORDER BY... (<me@alternize.com>) |
| Ответы |
Re: help with query: advanced ORDER BY...
Re: help with query: advanced ORDER BY... |
| Список | pgsql-novice |
> Something you may consider doing is creating a view that masks the > screen_number in those cases, something like > > create view schedule_public_view as > select theater_id > , screen_date > , screen_time > , case when no_screen_number then 0 else screen_number end as > screen_number > , movie_name > from schedules; wouldn't this be the same problem: pgsql not using the index for screen_number anymore? - thomas
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера