access a column aliases in the where clause in postgresql
问题 I understand that I may need to do grouping to accomplish this, but I can't quite get it. Postgresql 8.1 I am needing to limit my result set to Origination > 2017-01-01. Origination is set in line 11. It is being returned as a column in Excel and is a date. Currently it returns results with data going back years and we don't need that. select distribution_stop_information.customer_no, distribution_line_items.item_number, distribution_line_items.container_id, distribution_line_items.item