SELECT page.*,
    			CASE WHEN page.name = 'index' THEN
    			 0
     			ELSE
     			 1
    			END
     			 as flag
    			FROM page ORDER BY flag, node, orderby

MySQL ERROR(1146): Table 'richclub_db_tomsk.page' doesn't exist
SELECT page.*,
    			CASE WHEN page.name = 'index' THEN
    			 0
     			ELSE
     			 1
    			END
     			 as flag
    			FROM page ORDER BY flag, node, orderby