CREATE VIEW "public"."project_approved_vendors" AS (select "vendors"."id", "vendors"."vendor_name", "vendors"."vendor_code", "vendors"."tax_id", "vendors"."email", "vendors"."phone", "vendors"."status", "vendor_types"."id", "vendor_types"."code", "vendor_types"."name_ko", "vendor_types"."name_en", "projects"."id", "projects"."code", "projects"."name", "projects"."type", "vendor_project_pqs"."status", "vendor_project_pqs"."submitted_at", "vendor_project_pqs"."approved_at" from "vendors" inner join "vendor_project_pqs" on "vendor_project_pqs"."vendor_id" = "vendors"."id" inner join "projects" on "vendor_project_pqs"."project_id" = "projects"."id" left join "vendor_types" on "vendors"."vendor_type_id" = "vendor_types"."id" where "vendor_project_pqs"."status" = 'APPROVED');