Hi Hari,
Use braces as shown below.. Also the date format is YYYYMMDD.. Kindly confirm the same.
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 '20141215' and '20141217' )
b~to_dt not between '20141215' and '20141217').
Regards
Rajkumar Narasimman