SELECT * from marks where act=1 and showinhead=1 and id not in (9,10,21,30,31,45,51,52,54,72,73,74,75,91,93,97,102,103,104,106,107,108,113,120,121,122,127,136,138,141,147,151,158,159,176,179,182,185,186,188,192,201,211,212,219,2233,2235,2238,2239,2243,2247,2249,2250,2251,2253,2254,2257,2260,2261,2264,2268,2269,2275,2280,2282,2283,2286,2287,2288,2291,2292,2293,2294,2295,2296,2299,2301,2302,2303,2308,2310,2311,2313,2316,2319,2320,2324) order by name