*First solution.* If a+b+c≤0, the inequality is obviously satisfied, with equality occurring if and only if a=b=c=0. If a+b+c>0, then abc<0. It is not possible for all the variables to be negative (their sum would be negative), therefore one of them is negative and the other two are positive. We may assume that a<0<b,c.
Put x=−a. Then −x+b+c=xbc>0 and (a2+b2+c2)2=(x2+b2+c2)2≥(xb+xc+bc)2≥3(xb⋅xc+xc⋅bc+bc⋅xb)=3xbc(x+b+c)=3(−x+b+c)(x+b+c)≥9(−x+b+c)2.
As −x+b+c>0, the last inequality comes to x+b+c≥3(−x+b+c), i.e. to x≥2b+c. But x=1+bcb+c≥2b+c because bc≤1. In conclusion, we obtain a2+b2+c2≥3(−x+b+c)=3(a+b+c), with equality (in the case a<0<b,c) if and only if x=b=c and bc=1, i.e., if a=−1, b=c=1. To conclude, we have equality if (a,b,c)∈{(0,0,0),(−1,1,1),(1,−1,1),(1,1,−1)}.