Railways set a challenging total of 194/3, but Jammu and Kashmir chased it down with 196/6, winning by four wickets.