Ok seems like my problems were solved by me creating the tables...
SO create the tables and set primary key well (remember must be something whose value can't repeat) and check ^_^
CREATE TABLE #hero_candidate (char_id INT, main_class INT, match_count INT, olympiad_point INT)
primary key: char_id
CREATE TABLE #highest_score (main_class INT, olympiad_point INT, match_count INT)
primary key: main_class
CREATE TABLE #highest_score_nobless (char_id INT, main_class INT)
primary key: char_id
CREATE TABLE #hero (char_id INT, main_class INT)
primary key: char_id
|