DROP VIEW "public"."vendor_candidates_with_vendor_info";--> statement-breakpoint
CREATE VIEW "public"."vendor_candidates_with_vendor_info" AS (select "vendor_candidates"."id", "vendor_candidates"."company_name", "vendor_candidates"."contact_email", "vendor_candidates"."contact_phone", "vendor_candidates"."tax_id", "vendor_candidates"."address", "vendor_candidates"."country", "vendor_candidates"."source", "vendor_candidates"."status", "vendor_candidates"."remark", "vendor_candidates"."items", "vendor_candidates"."vendor_id", "vendor_candidates"."created_at", "vendor_candidates"."updated_at", "vendors"."vendor_name", "vendors"."vendor_code", "vendors"."status", "vendors"."email", "vendors"."website", "vendors"."phone", "vendors"."country", "vendors"."created_at", "vendors"."updated_at", "vendors"."representative_name", "vendors"."representative_email", "vendors"."representative_phone", "vendors"."credit_rating", "vendors"."corporate_registration_number" from "vendor_candidates" left join "vendors" on "vendor_candidates"."vendor_id" = "vendors"."id");