问题
the query that i tried is this i try to use a inner join
Select l.model,l.price,p.model,p.price
from LAPTOP l Inner Join PRINTER p ON (l.model = p.model)
Where Price IN (Select Max (Price) from Product)
i got this output
column ambiguously defined
so my tables are this
*Laptop*
SERIAL_NUMBER MODEL PRICE SPEED RAM HD SCREEN
*Printer*
PRICE MODEL COLOR TYPE
*Product*
MODEL MAKER TYPE
来源:https://stackoverflow.com/questions/64638066/i-need-a-query-to-select-most-expensive-product-for-every-maker