human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Type, Zinc–carbon, Alkaline, Li-FeS 2, NiCd, NiMH
###Question: What is NiCd, when Type is "Capacity under 500mA constant Drain"?
gpt
SELECT NiCd FROM table WHERE Type = capacity under 500ma constant drain