Added sql insert for series.