sql added,please merge with lijo sql changes