WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?
CREATE TABLE table_name_91 (ceased_to_be_duke_of_girona VARCHAR, heir_of VARCHAR)
SELECT ceased_to_be_duke_of_girona FROM table_name_91 WHERE heir_of = "peter iv"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (ceased_to_be_duke_of_girona VARCHAR, heir_of VARCHAR) Question: WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV? [/INST] SELECT ceased_to_be_duke_of_girona FROM table_name_91 WHERE heir_of = "peter iv" </s>