Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Moving on. What if I wanted to pull a list of suppliers along with the products they supply. This data exists in multiple tables so

image text in transcribed
image text in transcribed
Moving on. What if I wanted to pull a list of suppliers along with the products they supply. This data exists in multiple tables so we'll need to write a query to pull FROM more than one table. To do this we have to "join" tables using the JOIN syntax. This allows you to join tables and pull fields from multiple tables. The syntax to do this changes only slightly from what you know. Instead of selecting FROM one table you will select from a "join" between two tables. How do we connect tables? Q7 on Google Form: What is the name for a field used to relate tables in a database? 16. Select * from the Suppliers table and note in your google form what the primary key of the table is. Q8 on Google Form: What field is the primary key field on Suppliers table? 17. Select *from the Products table and note in your google form what the primary key of the table is. Q9 on Google Form: What field is the primary key field of Products table? Q10 on Google Form: What is the foreign key field on the Products table that links you to the Suppliers table

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

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

Fundamentals of Cost Accounting

Authors: William Lanen, Shannon Anderson, Michael Maher

3rd Edition

9780078025525, 9780077517359, 77517350, 978-0077398194

Students also viewed these Accounting questions