Отдел экономической теории

 



Руководитель: Афонцев Сергей Александрович
чл.-к., д.э.н., проф. РАН, зав. отделом
afontsev@gmail.com | +7 (499) 120-8196

 

Страницы:    1 2   → следующая  SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-10, 10' at line 12 at /home/imemon/html/site_template/cmpl_tmp/pers-podr-center.html.php line 268
Array
(
    [code] => 1064
    [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-10, 10' at line 12
    [query] => SELECT DISTINCT p.id,p.surname,p.name,p.fname,
            CONCAT(p.surname,' ',substring(p.name,1,1),'. ',substring(p.fname,1,1),'.') AS shortname,
       		d.icont_text AS dolj, r.icont_text AS chlen, s.icont_text AS us, z.icont_text AS uz,o.page_name AS otdel,p.full,p.picsmall
			  FROM persons AS p
                    INNER JOIN adm_directories_content AS d ON d.el_id=p.dolj   AND d.icont_var='text'
		LEFT OUTER JOIN adm_directories_content AS s ON s.el_id=p.us   AND s.icont_var='text'
		LEFT OUTER JOIN adm_directories_content AS z ON z.el_id=p.uz   AND z.icont_var='text'
		LEFT OUTER JOIN adm_directories_content AS r ON r.el_id=p.ran   AND r.icont_var='text'
		LEFT OUTER JOIN persons AS p2 ON p.id=p2.second_profile
		INNER JOIN adm_pages AS o ON o.page_id=p.otdel
WHERE p.full<>1 AND (p.otdel=573 OR p.otdel2=573 OR p.otdel3=573 OR p.otdel=574 OR p.otdel2=574 OR p.otdel3=574 OR p.otdel=575 OR p.otdel2=575 OR p.otdel3=575) AND  p.id<>32 AND p.id<>0 AND p2.id IS NULL ORDER BY p.surname,p.name,p.fname
LIMIT -10, 10
    [context] => /home/imemon/html/site_template/cmpl_tmp/pers-podr-center.html.php line 268
)