Add license;
Fix a little problem in sql file.