This is a SQL generator for large csv's for mapping for case statements