SELECT ast.company_id, ast.job_title, ast.job_location, ast.bundesland_id, ast.gender, ast.id, uc.company_name, uc.user_id, ast.timestamp_start, ast.timestamp_position FROM adv_standart AS ast LEFT JOIN user_company AS uc ON uc.id = ast.company_id WHERE uc.delete_status = 'f' AND uc.blocked = 'f' AND ast.timestamp_end >= '1337265094'AND ast.timestamp_start <= '1337265094'AND ast.status='active' AND ast.job_location LIKE '%Stuttgart%' AND ast.delete_status = 'f' ORDER BY GREATEST(powerup_timestamp,timestamp_position) DESC
|