Add extension info view

+ extension information view
- changed SQL