employees 和clocks 是一對多(one-to-many) 的關係,使用 JOIN 的查詢結果則會以clocks 的資料數量取得對應的rows。 SELECT employees.id AS employees_id ...
確定! 回上一頁