Compare commits
3 Commits
ab5808d1e8
...
c423116b9d
Author | SHA1 | Date | |
---|---|---|---|
c423116b9d | |||
5940300dee | |||
2bf970eb06 |
@ -1,4 +1,6 @@
|
|||||||
CREATE TABLE pricequote.lastpricedetail AS
|
REFRESH MATERIALIZED VIEW pricequote.lastpricedetail;
|
||||||
|
|
||||||
|
CREATE MATERIALIZED VIEW pricequote.lastpricedetail AS
|
||||||
WITH base AS (
|
WITH base AS (
|
||||||
SELECT
|
SELECT
|
||||||
customer,
|
customer,
|
||||||
@ -122,3 +124,5 @@ FULL OUTER JOIN seg_json s
|
|||||||
WITH DATA;
|
WITH DATA;
|
||||||
|
|
||||||
--SELECT * FROM pricequote.lastpricedetail;
|
--SELECT * FROM pricequote.lastpricedetail;
|
||||||
|
|
||||||
|
CREATE INDEX lastpricedetail_idx ON pricequote.lastpricedetail(customer, partgroup);
|
Loading…
Reference in New Issue
Block a user