Question: Identify the statement that correctly utilizes aliases. a . ) SELECT t . track _ id , track.name, genre.name FROM track AS t JOIN genre

Identify the statement that correctly utilizes aliases.
a.)
SELECT t.track_id, track.name, genre.name
FROM track AS t
JOIN genre AS g
USING (genre_id);
b.)
SELECT t.track_id, t.name, g.name
FROM track AS t
JOIN genre AS g
USING (genre_id);
c.)
SELECT t.track_id, name
FROM track AS t
JOIN genre AS g
USING (genre_id);
d.)
SELECT t.track_id, name as track_name, name as genre_name
FROM track AS t
JOIN genre AS g
USING (genre_id);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!