povezao sam se iz Jdeva na mysql, ali mi ne prolazi sledeci upit:
select * from prodajnacena p where p.bi in (select r.bi from racun r where r.storno=1)
greska je: You have an error in your SQL syntax near 'select r.bi from racun r where r.storno=1)' at line 1
u tabeli racun bi:INT i storno:BIT, a u tabeli prodajnaCena bi:INT
oba upita prolaze posebno, a ovako nece
select * from prodajnacena p where p.bi in (select r.bi from racun r where r.storno=1)
greska je: You have an error in your SQL syntax near 'select r.bi from racun r where r.storno=1)' at line 1
u tabeli racun bi:INT i storno:BIT, a u tabeli prodajnaCena bi:INT
oba upita prolaze posebno, a ovako nece