Consider the following tables: team_table team rank country Alpha 1 USA Bravo 2 KOR Charlie 3 MEX
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider the following tables:
team_table
team | rank | country |
Alpha | 1 | USA |
Bravo | 2 | KOR |
Charlie | 3 | MEX |
country_table
country_code | country_name | language |
USA | United States of America | English |
KOR | Republic of Korea | Korean |
MEX | Mexico | Spanish |
language_table
number | language | cardinal | ordinal |
1 | English | One | First |
2 | English | Two | Second |
3 | English | Three | Third |
1 | Korean | Hana | Il |
2 | Korean | Dul | Yi |
3 | Korean | Set | Sam |
1 | Spanish | Uno | Primero |
2 | Spanish | Dos | Segundo |
3 | Spanish | Tres | Tercero |
Show the Hive Data Manipulation Language (DML) command to query the data in the tables to produce the following output:
Team | Country | Ranking |
Alpha | United States of America | First |
Bravo | Republic of Korea | Yi |
Charlie | Mexico | Tercero |
This can be done in a single query statement.
Related Book For
Complete Business Statistics
ISBN: 9780077239695
7th Edition
Authors: Amir Aczel, Jayavel Sounderpandian
Posted Date: