Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003?
CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR)
SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR) Question: Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003? [/INST] SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003 </s>