user: Question: If the grand total is 5814, what is the total non qatar?
Columns: ['Year', 'Qatari Male', 'Qatari Female', 'Total Qatari', 'Non Qatari Male', 'Non Qatari Female', 'Total Non Qatar', 'Total Male', 'Total Female', 'Grand Total']
Types: ['real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [2001.0, 1045.0, 1035.0, 2080.0, 1878.0, 1741.0, 3619.0, 2923.0, 2776.0, 5699.0]
SQL:

assistant: SELECT "Total Non Qatar" FROM "Table" WHERE "Grand Total" = 5814.0;