Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_78340 ( "Candidate" text, "Money Raised, 2Q" text, "Loans Received, 2Q" text, "Money Spent, 2Q" text, "Total Receipts" text, "Cash On Hand" text )

### Question ###
Name the money raised when 2Q has money spent and 2Q is $874,042

### Accurate SQL ###

SELECT "Money Raised, 2Q" FROM table_78340 WHERE "Money Spent, 2Q" = '$874,042'