Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: Quantos cingaleses foram admitidos em 2004 quando mais de 594 nepaleses foram admitidos?
 ###Tabelas: CREATE TABLE individual_rope (individual_rope_id AUTO_INCREMENT PRIMARY KEY, Place INT, Name VARCHAR, All Around INT, Rope INT, Total INT) CREATE TABLE immigration (immigration_id AUTO_INCREMENT PRIMARY KEY, Year VARCHAR, Indians admitted INT, Pakistanis admitted INT, Sri Lankans admitted INT, Bangladeshis admitted INT, Nepalis admitted INT) CREATE TABLE racial_composition (racial_composition_id AUTO_INCREMENT PRIMARY KEY, Municipality (2010) VARCHAR, White (both Hispanic and Non-Hispanic) INT, Black (Both Hispanic and Non-Hispanic) INT, Amerindian (Both Hispanic and Non-Hispanic) INT, n Asia (Both Hispanic and Non-Hispanic) INT, Multiracial (Both Hispanic and Non-Hispanic) INT, Hispanic (Of any Race) INT) CREATE TABLE june_secondary_phase (june_secondary_phase_id AUTO_INCREMENT PRIMARY KEY, Round INT, Name VARCHAR, Position VARCHAR, School VARCHAR, Signed VARCHAR) CREATE TABLE season_2_1995 (season_2_1995_id AUTO_INCREMENT PRIMARY KEY, No. in series VARCHAR, No. in season VARCHAR, Title VARCHAR, Directed by VARCHAR, Written by VARCHAR, Original air date VARCHAR, Production code VARCHAR)  
SELECT SUM Sri Lankans admitted FROM immigration WHERE Year = 2004 AND Nepalis admitted > 594