⌘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 nations (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 ... using an ON clause with the join (clearer) or implied by the WHERE clause (old-fashioned). We use the l_regions and the l_nations tables from the TPC-H schema: CREATE TABLE l_regions ( r_regionkey INTEGER NOT NULL PRIMARY KEY , r_name CHAR ( 25 ) NOT N ... ULL , r_comment VARCHAR ( 152 ) ); CREATE TABLE l_nations ( n_nationkey INTEGER NOT NULL PRIMARY KEY , n_name CHAR ( 25 ) NOT NULL , n_regionkey INTEGER NOT NULL , n_comment VARCHA ... R ( 152 ), FOREIGN KEY ( n_regionkey ) REFERENCES l_regions ( r_regionkey ) ); Return the regions for the nations: SELECT n . * , r . * FROM l_nations n JOIN l_regions r ON ( n_regionkey = r_regionkey ); If the column names are the same ...
https://man.mtool.work/duckdb/1.3/sql/query_syntax/from.html
PREV 1 NEXT
DuckDB 1.3 Documentation / man.mtool.work