\listfiles
\documentclass{jarticle}
\usepackage{datatool}

\begin{document}

\DTLloaddb{scores}{studentscores.csv}

\begin{table}[htbp]
\caption{学生評価}\label{tab:scores}
\centering
\begin{tabular}{|l|l|r|}
\hline
\multicolumn{1}{|c}{\textbf{姓}}&
\multicolumn{1}{|c}{\textbf{名}}&
\multicolumn{1}{|c|}{\textbf{評点}}
\DTLforeach{scores}{\surname=Surname,\firstname=FirstName,\score=Score}
{\\ \hline \surname & \firstname &  \score}
\\
\hline
\end{tabular}
\end{table}

\end{document}
