INSERT INTO users (userid,displayName,isFollower,isSubscriber) VALUES (001,'TestUser',false,false), (002,'TestFollower',true,false), (003,'TestSubscriber',true,true), (004,'TestSubNonFollower',false,true); CALL add_request('https://www.youtube.com/watch?v=dQw4w9WgXcQ',001); CALL add_request('https://www.youtube.com/watch?v=C5oeWHngDS4',002); CALL add_request('https://www.youtube.com/watch?v=vXaJGBLRA_o',003); UPDATE requests SET state = 'Rejected' WHERE url = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'; INSERT INTO votes (requestUrl,userid) VALUES ('https://www.youtube.com/watch?v=C5oeWHngDS4',001), ('https://www.youtube.com/watch?v=C5oeWHngDS4',003); CALL update_scores();