fix: sql export views as tables getting ignored

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Merge pull request #1231 from D-storm/sql_views

fix: sql export views as tables getting ignored