You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
361 B

5 months ago
SELECT
t1.id video_item_id,
t1.name video_name,
t1.description,
t1.averge_star,
t1.study_video_items_count,
t1.link,
t1.created_at,
t1.updated_at,
t2.cover_url,
t2.file_url,
t2.play_url,
t1.video_id
FROM
video_items t1
LEFT JOIN
`videos` t2
ON
t1.`video_id` = t2.`id`
WHERE t1.`video_id` IS NOT NULL