Database: geo
Question: what is the capital of the state that borders the state that borders texas
SQL:
SELECT capital FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  "texas" ) );