Add Lei's sql script