garmoska89
Programmer
--select produse.model, produse.producator , produse.tip, max(pret) as pret_minim from produse,
select produse.model,produse.producator,produse.tip,pret from produse,
(
select model,pret from imprimante where pret=(select MAX(pret) from imprimante)
union
select model,pret from laptop_uri where pret=(select MAX(pret) from laptop_uri)
union
select model,pret from pc_uri where pret=(select MAX(pret) from pc_uri))as s2 where produse.model=s2.model
my answer is:
1233 A PC 980
1276 A imprimante 400
1288 A imprimante 400
1750 B Laptop_uri 1200
NOOOOO!! i need answer: 1 result: 1750 B Laptop_uri 1200
how i do i do