fixed sql create statement
made first version work