Hi,
I am finding difficulty in using where clause in inner join.
I have 3 tables
ztaxi_table which contain taxi details.
ztaxi_f_table which contain taxi fare details like price per kilometer.
ztaxi_b_table which contain taxi booking details like from date to to date.
my requirement is when user enter his taxi required to date to from date.
i have to check in taxi_b_table where for that date taxi is free or booked.
i am writing query like
select c~tid c~name f~price_per_klm into corresponding fields of i_tab from
( ( ztaxi_table as c inner join ztaxi_f_table as f on c~cid = f~cid
and f~price_per_klm between 10 and 20)
inner join ztaxi_b_table as b on c~cid = b~cid and
b~from_dt not between 15122014 and 17122014
b~to_dt not between 15122014 and 17122014).
here i am getting syntax error at not between in my abap editor.
can anyone give solution for this.
thanks in advance.
Hari.