upload my SQL code, will add comment later