Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write SQL query to create a view match_vendor_name, containing vendor_id, vendor first name, vendor last name. For those vendors that their last name matches the

Write SQL query to create a view match_vendor_name, containing vendor_id, vendor first name, vendor last name. For those vendors that their last name matches the last name in vendor_contacts table.

image text in transcribed

0 COLUMN_NAME 0 DATA_TYPEO NULLABLE DATA_DEFAULT 4 COLUMN_ID 4 COMMENTS 1 VENDOR_ID NUMBER No (null) 1 (null) 2 LAST_NAME VARCHAR2 (50 BYTE) No (null) 2 (null) 3 FIRST_NAME VARCHAR2 (50 BYTE) No (null) 3 (null) 4 COLUMN_NAME 10 DATA_TYPE & NULLABLE DATA_DEFAULT 4 COLUMN_ID 0 COMMENTS 1 VENDOR_ID NUMBER No (null) 1 (null) 2 VENDOR_NAME VARCHAR2 (50 BYTE) No (null) 2 (null) 3 VENDOR_ADDRESS1 VARCHAR2(50 BYTE) Yes (null) 3 (null) 4 VENDOR_ADDRESS2 VARCHAR2 (50 BYTE) Yes (null) 4 (null) 5 VENDOR_CITY VARCHAR2(50 BYTE) No (null) 5 (null) 6 VENDOR_STATE CHAR (2 BYTE) No (null) 6 (null) 7 VENDOR_ZIP_CODE VARCHAR2 (20 BYTE) No (null) 7 (null) 8 VENDOR_PHONE VARCHAR2 (50 BYTE) Yes (null) 8 (null) 9 VENDOR_CONTACT_LAST_NAME VARCHAR2 (50 BYTE) Yes (null) 9 (null) 10 VENDOR_CONTACT_FIRST_NAME VARCHAR2(50 BYTE) Yes (null) 10 (null) 11 DEFAULT_TERMS_ID NUMBER No (null) 11 (null) 12 DEFAULT_ACCOUNT_NUMBER NUMBER No (null). 12 (null)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Autonomous Database In Enterprise Architecture

Authors: Bal Mukund Sharma, Krishnakumar KM, Rashmi Panda

1st Edition

1801072248, 978-1801072243

Students also viewed these Databases questions