[Fixed] Add Sql for main.js