Emil Vronski
Ученик
(85),
на голосовании
4 года назад
Пишет что ошибка на 5 строке:
select ID, PREKĖS_PAVADINIMAS, KAINA, (select sum(KIEKIS) from prekiu_likutis where (SELECT COUNT(prekes_id) FROM prekiu_likutis HAVING COUNT(prekes_id) > 1)) as kiekis, SANDELIO_ID from LIKUTIS_DETAIL
select ID,
PREKĖS_PAVADINIMAS,
KAINA,
(select sum(KIEKIS) from prekiu_likutis where
(SELECT COUNT(prekes_id) FROM prekiu_likutis HAVING COUNT(prekes_id) > 1)) as kiekis,
SANDELIO_ID
from LIKUTIS_DETAIL