select
    id course_id,
    name course_name,
    created_at,
    updated_at,
    description,
    status,
    attachmenttype,
    visits,
    is_end,
    end_date,
    members_count,
    identifier,
    homework_commons_count,
    course_groups_count,
    exercises_count
from
    courses
    