CREATE TABLE dtvs_risk_analizine_girmeme_tanimi_t
(
id bigint NOT NULL,
aktif boolean NOT NULL,
price1 double precision,
price2 double precision,
priceoperator integer,
)
WITH (
OIDS=FALSE
);
ALTER TABLE dtvs_risk_analizine_girmeme_tanimi_t OWNER TO postgres;
hello oll my table like on the up side. I have a price and I have many rules on the price column. I want to get all the column id value for my price value.
If priceopetaror is 0 then price1 is bigger then my price else if priceopetaror is 1 then price1 is smaller then my price else if ........
How I get all the row numbers for these rows.