Take a look at pandas.read_csv(). Once you have a pandas dataframe, it is easy to write it out to a DB table.