Answer to Question #284150 in Databases | SQL | Oracle | MS Access for Lovely

Question #284150

10. Get all the distinct user_ids who liked at least one video uploaded by Android Authority Channel (channel_id = 364) but didn't like the video uploaded by Tech savvy channel with video_id=1005.



Note:



. Consider reaction_type LIKE as liked



• Sort the output in the ascending order of user_id



Expected Output Format



user Is

1
Expert's answer
2022-01-10T00:24:31-0500
SELECT DISTINCT user_id FROM video 
WHERE video.channel.id=364 AND video.video_id != 1005 AND video.reaction_type 
LIKE 'liked' ORDER BY user_id ASC;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS