SQL> select line_gate,line_line,line_item, line_kubun, mast_modl, mast_name
2 siot_stok, line_rqty, line_oqty, line_cqty,
3 from miline,misiot,mimast
4 where (line_item = mast_item) and
5 (line_item = siot_item) and
6 (line_kubun = siot_kubun) and
7 (line_gate >= '''+s_gate+''' )
8 order by line_gate, line_line
9 /
from miline,misiot,mimast
*
3행에 오류:
ORA-00936: 식이 없습니다.
아무리 찾아봐도 모르겠습니다..
mast_modl, mast_name
2 siot_stok, line_rqty, line_oqty, line_cqty,
3 from miline,misiot,mimast
4 where (line_item = mast_item) and
5 (line_item = siot_item) and
6 (line_kubun = siot_kubun) and
7 (line_gate >= '''+s_gate+''' )
8 order by line_gate, line_line
아무래두 2번눌의 Line_cqty 다음 컴마(,)가 문제인것 같군여..
... ,Line_cqty, from ....
select Item의 끝에는 컴마가 오면 안되는걸루 알구 있는뎅..
도움이 되었으면 하는군여...
그럼 이만...
xxx wrote:
> SQL> select line_gate,line_line,line_item, line_kubun, mast_modl, mast_name
> 2 siot_stok, line_rqty, line_oqty, line_cqty,
> 3 from miline,misiot,mimast
> 4 where (line_item = mast_item) and
> 5 (line_item = siot_item) and
> 6 (line_kubun = siot_kubun) and
> 7 (line_gate >= '''+s_gate+''' )
> 8 order by line_gate, line_line
> 9 /
> from miline,misiot,mimast
> *
> 3행에 오류:
> ORA-00936: 식이 없습니다.
>
> 아무리 찾아봐도 모르겠습니다..