SELECT * from marks where act=1 and showinhead=1 and id not in (7,8,9,10,11,21,30,31,45,46,48,51,52,53,54,56,68,69,72,73,74,75,91,93,97,102,103,104,105,106,107,108,110,113,115,120,121,122,127,136,138,141,147,151,158,159,170,173,174,175,176,179,182,185,186,187,188,195,200,202,211,212,219,2227,2232,2233,2235,2237,2238,2239,2243,2245,2247,2249,2250,2251,2253,2254,2256,2257,2260,2261,2264,2267,2268,2269,2270,2272,2275,2279,2280,2281,2282,2283,2286,2287,2288,2289,2291,2292,2293,2294,2295,2296,2298,2299,2300,2301,2302,2303,2304,2305,2306,2307,2308,2310,2311,2312,2313,2314,2315,2316,2319,2320,2321,2322,2323,2324,2325,2326,2327,2328,2329,2330,2331,2332,2333,2334,2335,2337,2338,2340,2341,2343,2344,2345,2346,2348,2349,2350,2351,2352,2354,2355,2356,2357,2359,2360,2361,2362,2363,2365,2366,2367,2368,2369,2370,2371,2374,2375,2376,2377,2380,2382,2385) order by name