You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selectlecturer.api_idas lecturer_api_id,
comment.api_uuidas comment_api_uuid,
max(lecturer.first_name||lecturer.last_name||lecturer.middle_name) as lecturer_full_name,
max(lecturer.first_name) as first_name,
max(lecturer.last_name) as last_name,
max(lecturer.middle_name) as middle_name,
max(lecturer.timetable_id) as timetable_id,
(max(lecturer.timetable_id) is distinct fromnull) as has_timetable_id,
coalesce(max(lecturer.subject), 'No subject') as lecturer_sublect,
coalesce(max(comment.subject), 'No subject') as comment_subject,
substring(max(comment.text) for 80) as comment_shortened_text,
max(comment.text) as comment_full_text,
max(comment.create_ts) as comment_create_ts,
max(comment.update_ts) as comment_update_ts,
max(link_user_comment.user_id) as user_id,
max(user_info.full_name) as user_full_name,
max(user_info.email) as user_email
from"DWH_RATING".comment as comment
left join"DWH_RATING".lecturer as lecturer
oncomment.lecturer_id=lecturer.api_idleft join"ODS_RATING".lecturer_user_comment as link_user_comment
onlink_user_comment.lecturer_id=lecturer.api_idleft join"DWH_USER_INFO".info as user_info
onlink_user_comment.user_id=user_info.user_idwherelecturer.valid_to_dt is nullandcomment.valid_to_dt is nullgroup bycomment.api_uuid, lecturer.api_id;
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: