relational database
Question
Suppose that there are two tables, T1 and T2, in a relational database. T2 has
an attribute A1 served as a foreign key referencing an attribute B1 in T1. Which one of the following statements is the right way to join two tables?
A. SELECT T1.*, T2.* FROM T1 and T2 by T2.A1=T1.B1
B. SELECT T1.*, T2.* FROM T1, T2 on T2.A1=T1.B1
C. SELECT T1.*, T2.* FROM T1 JOIN T2 on T2.A1=T1.B1
D. SELECT T1.*, T2.* FROM T1 JOIN T2
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
