expose sql on instance