distinctは結果から重複行を取り除きます。 distinct onは指定した全ての式に一致する行を取り除きます。 allでは、重複行も含め、全ての候補行を返します(これがデフォルトです。 詳しくは、後述のdistinct句を参照してください)。 A natural join can be an inner join, left join, or right join.If you do not specify a join explicitly e.g., INNER JOIN, LEFT JOIN, RIGHT JOIN, PostgreSQL will use the INNER JOIN by default. If you use the asterisk (*) in the select list, the result will contain the following columns:All the common columns, which are the columns from both tables that have the same name.join — .join(table, first, [operator], second) The join builder can be used to specify joins between tables, with the first argument being the joining table, the next three arguments being the first join column, the join operator and the second join column, respectively.