human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Ranking, Nationality, Name, Years, Total Appearances(league only)
###Question: What nationality has a ranking less than 7 with tony stenson as the name?
gpt
SELECT Nationality FROM table WHERE Ranking < 7 AND Name = tony stenson