⌘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 regionkey (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 ... RE 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 NULL , r_comment VARCHAR ( 152 ) ); CREATE TABLE l_nations ( n_natio ... nkey INTEGER NOT NULL PRIMARY KEY , n_name CHAR ( 25 ) NOT NULL , n_regionkey INTEGER NOT NULL , n_comment VARCHAR ( 152 ), FOREIGN KEY ( n_regionkey ) REFERENCES l_regions ( r_regionkey ) ); Return t ... he 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 and are required to be equal, then the simpler USING syntax can be used: ...
https://man.mtool.work/duckdb/1.3/sql/query_syntax/from.html
PREV 1 NEXT
DuckDB 1.3 Documentation / man.mtool.work