Add some queries to view tables in text sql and dsl sql