Predicting the result of an inner join

A distributor stores its sales representatives and their sales in two tables.


SALESREP


RepID

Name

Region

R1

Diaz

East

R2

Okafor

West

R3

Nguyen

East

R4

Brandt

North


SALE


SaleID

RepID

Amount (CAD)

S1

R1

1200

S2

R3

450

S3

R1

900

S4

(blank)

300

S5

R2

780


Sale S4 was a walk-in sale not credited to any rep, so its RepID is blank (null). An analyst runs an inner join of SALESREP and SALE on SALESREP.RepID = SALE.RepID.


Which statement describes the result?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Relational Database Operations Questions: