Provided is a novel composition for a fungicide or a bactericide. A composition for a fungicide or bactericide, containing: an active ingredient A comprising an oxime-substituted amide compound represented by formula (I), an N-oxide thereof, or a salt thereof; and an active ingredient B comprising a fungicidal or bactericidal compound. [G1 represents a structure such as G1-1; G2 represents a structure such as G2-1; W represents an oxygen atom, etc.; X1 represents difluoromethyl, etc.; X2, X3, X4, and X5 independently represent a hydrogen atom, etc.; Y1 represents a halogen atom, etc.; Y2 represents a hydrogen atom, etc.; Y3 represents a halogen atom, etc.; Y4 represents a hydrogen atom, etc.; R1 represents a C1-C6 alkyl, etc.; R2 and R3 independently represent a hydrogen atom, etc.; R4 represents a hydrogen atom, etc.; and R5 represents a methyl].