Task: Text to Code
Input (English): SQL: SELECT Code2 FROM country WHERE Continent = "Beatrix"
Feedback: Substitute code 2 with language , country with countrylanguage , continent with country's head of state , Ensure is official equals T .
Output (English): SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.HeadOfState  =  "Beatrix" AND T2.IsOfficial  =  "T"