In this case if record exists, the query will overwrite the entry with values but if it does not exist with userid, it will enter a new entry. Method 2 ' INSERT IGNORE' :- INSERT IGNORE INTO `users` ...
前提知識の無い人が最初に触れる情報の精度はかなり大切だと思っていて、 新人教育を担当することもあり、以下のようなことを時々確認します。 ・自分の知識が古くなっていないか - 誤った情報を人に教えてしまうことがないか ・ググった時に出てくる ...