Some changes on nio

Some changes on nio
SQL practise

SQL practise