insertion sql

incomplete, got some bugs need to fix