human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Gain, Loss, Long, Avg/g
###Question: What is the average Loss, when Avg/g is 0, and when Long is less than 0?
gpt
SELECT AVG Loss FROM table WHERE Avg/g = 0 AND Long < 0