⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 1.3 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 1 of about 1 for iata (0.001 sec.)
FROM and JOIN Clauses – DuckDB 9414
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... lly incomplete, i.e., they do not have a matching pair in the other table. CREATE TABLE city_airport ( city_name VARCHAR , iata VARCHAR ); CREATE TABLE airport_names ( iata VARCHAR , airport_name VARCHAR ); INSERT INTO city_airport VALUES ( 'Amsterda ... ), ( 'RTM' , 'Rotterdam The Hague Airport' ), ( 'MST' , 'Maastricht Aachen Airport' ); To join the tables on their shared IATA attributes, run: SELECT * FROM city_airport NATURAL JOIN airport_names ; This produces the following result: city_name iat ... name Amsterdam AMS Amsterdam Airport Schiphol Rotterdam RTM Rotterdam The Hague Airport Note that only rows where the same iata attribute was present in both tables were included in the result. We can also express query using the vanilla JOIN clause ...
https://man.mtool.work/duckdb/1.3/sql/query_syntax/from.html
PREV 1 NEXT
DuckDB 1.3 Documentation / man.mtool.work