SQL query ORDER BY with DESC LIMIT 1 and WHERE clause : Trying to create a query that gets the most recent record related to the user. Here's my attempt 

    "SELECT * 
     FROM (
	    SELECT *
 		FROM simplex_list
 	    ORDER BY id
	    DESC LIMIT 1)
	 WHERE userid = $userID";