Select from multiple tables - One to Many relation
问题 I have such tables: Table Product [ Id | Name ] Table Images [ Product_Id | Url | Ordernumber] Table Prices [ Product_Id | Combination | Currency | Price] Table Quantites [ Product_Id | Combination | Quantity] Table Product is in relation one-to-many with other tables. I need to query the table and result something like this (pseudo-array): [ ProductId: 1, Name: 'Sample product', Images: [ [url, 1], [url, 2] ], Prices: [ [aaa, USD, 50.00], [aaa, EUR, 50.00], [bbb, USD, 59.00], [bbb, EUR, 59