Thanks Kevin, Igor and Adrian. In MySQL with the isnull() function I get all three values RPG INV, Owner Inventory, and Builder Inventory showed up in the view while when I do the is null function in postgreSQL I only see Builder Inventory and Owner Inventory show up in the view. I don't know why the RPG_INV is not showing up. In MySQL: Owner Inventory is 4481 rows of data Builder Inventory is 1312 rows of data RPG_Inv is 374 rows of data gives the total of 6167 rows In postgreSQL: Owner Inventory is 4521 rows of data Builder inventory is 1646 rows of data gives the total of 6167 rows create view si_model as select c."DCAD_Prop_ID" as DCAD_ID, m."Address" as Address, m."Addition" as Addition, m."Block" as Block, m."Lot" as Lot, m."Lot_Size" as Lot_Size, m."Lot_Type" as Lot_Type, l."Funding_Date" as Lot_Sale_Date, h."Actual_Close_Date" as Home_Closing_Date, m."District" as District, g."nhs_builder" as Builder, g."nhs_sale_date" as NHSContractDate, '' as "Banks & Ind. Owned Lots", '' as "Repurchased", m."Reserved_Lots" as Reserved, d."Permit__" as "Permit #", d."Permit_Date" as "Permit Date", d."Foundation_Date" as "Foundation Date", d."Frame_Date" as "Frame Date", d."HCS" as HCS, '' as "Notes_Comments", l."Lot_Status" as "Lot Funding Status", '' as "Property Description", '' as "GIS Map", d."Project_ID" as Project_ID, (case when ((l."Funding_Date" = '') and ((h."Actual_Close_Date") is null or (h."Actual_Close_Date" = ''))) then 'RPG Inventory' when (((l."Funding_Date") is null or (l."Funding_Date" <> '')) and ((h."Actual_Close_Date" = '') or (h."Actual_Close_Date") is null)) then 'Builder Inventory' else 'Owner Occupied' end) AS "Lot_Status", ((case when c."DCAD_Prop_ID" = m."DCAD_Prop_ID" then 'YES' else '' end)) as "Home Sale", ((case when m."Address" = s."Address_of_Inventory_Home" then 'C Spec' else '' end)) as "Current Specs", ((case when g."nhs_address" = m."Address" and g."nhs_can" = 'false' and g."nhs_build_spec" = 'Build' then 'Build' when g."nhs_address" = m."Address" and g."nhs_can" = 'false' and g."nhs_build_spec" = 'Spec' then 'Spec' else '' end)) as "Build/Spec" from "Calculations" c left join "MasterLotList" m on ((c."DCAD_Prop_ID" = m."DCAD_Prop_ID")) left join "HomeClosings" h on ((h."Address" = m."Address")) left join "GrossNewHomeSales" g on ((g."nhs_address" = m."Address")) left join "HCSTable" d on ((d."DCAD_Prop_ID" = c."DCAD_Prop_ID")) left join "LotSales" l on ((l."DCAD_Prop_ID" = c."DCAD_Prop_ID")) left join "CurrentSpecs" s on ((s."Address_of_Inventory_Home" = m."Address")) Any help provided would be greatly appreciated. -- View this message in context: http://postgresql.nabble.com/isnull-function-in-pgAdmin3-tp5923122p5923162.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general