我在MySQL [items, orderList]中创建了两个表,orderlist中的外键id引用了items中的主键id。现在我想从Java语言中的两个表中获取所有columns{id, name, price (in Items), and quantity (in orderList)},我如何才能只显示一次id,因为当我查询数据时,它会同时显示两个表中的id?
https://stackoverflow.com/questions/51335618
复制相似问题