작성
·
116
0
vuejs를 이용해서, server와 client를 vscode에서 만들어서 웹페이지를 열었는데, server쪽 터미널을 보니 아래 에러가 뜨는데, 어떤게 문제인지 아시는 고수분들 계신가요?
error: undefined {"text":"Column 'pgm_id' in where clause is ambiguous","sql":"\n with menu as (\n SELECT\n a.menu_id as top_menu_id,\n a.menu_key as top_menu_key,\n a.menu_icon as top_menu_icon,\n a.menu_nm as top_menu_nm,\n a.menu_sort_seq as top_menu_seq,\n b.menu_id as dtl_menu_id,\n b.pgm_id,\n b.menu_key as dtl_menu_key,\n
b.menu_icon as dtl_menu_icon,\n b.menu_sort_seq as dtl_menu_seq\n from TB_VOC_MENU_BAS a, TB_VOC_MENU_BAS b\n where a.menu_level = 1\n and a.menu_id = b.parent_menu_id\n
and a.use_yn in ('Y')\n and b.use_yn in ('Y')\n and pgm_id != 'pgm_108'\n and pgm_id != 'pgm_501'\n \n )\n select\n top_menu_id,\n top_menu_key,\n top_menu_icon,\n
답변