Throw Exception when SQL compile error

- Throw exception when SQL compile error
- Convert PDO transcation nest to flat
- Throw exception when table not exist
- Throw exception when field not found