# Introduction In this challenge, we will be querying and creating a new table called `favorite` to store the favorite courses of LabEx users. The table will contain the `user_name`, `course_name`, and `study_time` for each user's favorite course. The objective is to find the courses with the longest study time for each user in the `usercourse` table and store them in the `favorite` table.
Click the virtual machine below to start practicing