select rm_id as 'ID'
bk_branch as 'BRANCH'
br_name as 'BANK REP.'
bs_name as 'ESCORT'
dt_rep as 'DATE'
rep_time as 'TIME'
amt
inv_no
total_box
box_no
note_state
dm_state
1
2
10
20
50
100
500
1000
tp
tv
tp_ex1
tv_ex1
tp_m
tv_m
from bk_det
inner join bk_rep
on bk_det.rm_id = bk_rep.rm_id
inner join bk_sec
on bk_rep.rm_id = bk_sec.rm_id
inner join mut_det
on bk_sec.rm_id = mut_det.rm_id
inner join rm_det
on mut_det.rm_id = rm_det.rm_id
inner join soil_det
on rm_det.rm_id = soil_det.rm_id
我已经从我的表中编写了上面的代码,但没有运行它的显示错误:
消息 102,级别 15,状态 1,第 2 行
'bk_branch' 附近的语法不正确。
请帮忙..!!