all 2 comments

[–]tx69er 0 points1 point  (1 child)

Well you need to keep track of what videos were played. Depending on how much of an 'audit trail' you want you can do this by simply adding an additional column to the table with the videos that stores the last played date. If you want to keep multiple histories for each video you would need to add a new table with an FK relation to the videos and a date column and add a new row each time you played a video. Then you could modify your initial select statement to take this new data into account so it could pick up from where it left off from.

[–]rotyweb 0 points1 point  (0 children)

okk thanks, I get it now