您不能引用WHERe别名,请改用:
SELECt country_ID*2/id*3.159 as my_id FROM `state`WHERe (country_ID*2/id*3.159)>2;
或使用子查询:
SELECt t.*FROM( SELECt country_ID*2/id*3.159 as my_id FROM `state`) as tWHERe t.my_id>2

您不能引用WHERe别名,请改用:
SELECt country_ID*2/id*3.159 as my_id FROM `state`WHERe (country_ID*2/id*3.159)>2;
或使用子查询:
SELECt t.*FROM( SELECt country_ID*2/id*3.159 as my_id FROM `state`) as tWHERe t.my_id>2