human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Monarch, Heir, Status, Relationship to Monarch, Became heir; reason, Ceased to be heir; reason, Next in succession
###Question: What was the relationship to monarch of the heir Minyekyawswa?
gpt
SELECT Relationship to Monarch FROM table WHERE Heir = Minyekyawswa