Skip to content
Joining Data in SQL
Joining Data with SQL
Here you can access every table used in the course. To access each table, you will need to specify the world schema in your queries (e.g., world.countries for the countries table, and world.languages for the languages table).
Note: When using sample integrations such as those that contain course data, you have read-only access. You can run queries, but cannot make any changes such as adding, deleting, or modifying the data (e.g., creating tables, views, etc.).
Take Notes
Add notes about the concepts you've learned and SQL cells with queries you want to keep.
Add your notes here
DataFrameas
world_info
variable
-- Add your own queries here
SELECT *
FROM world.languages 
LIMIT 5Explore Datasets
Use the tables to explore the data and practice your skills!
- Combine the statesandcountriestables into one table.- The final result should have a namecolumn, acontinentcolumn, and anindep_yearcolumn. Use thelocal_namecolumn from thecountriestable as the name.
- The final result should not include duplicate rows.
 
- The final result should have a 
- Return the country_code,fertility_rate, andlife_expectancyfrom thepopulationstable.- Only return countries which are categorized as 'large' in the countries_plustable.
- Filter for data from 2015.
 
- Only return countries which are categorized as 'large' in the 
- Return the local_namealiased ascountry_name,continent,surface_area, the number of official languages,gdp_percapita, andunemployment_ratefrom thecountries,economies, andlanguagestables.- Ensure that all records from the countriestable are preserved, regardless whether a match is present in theeconomiesorlanguagestables.
- Only include economy data from 2015.
- Sort your results by gdp_percapitain descending order.
 
- Ensure that all records from the