我是LaTeX的新手,并使用以下脚本创建了一个表:
\begin{table}[H]
\begin{tabular}{|c|c}
\hline
Semantic Database & Relational Database \\
\hline
Meanings of information are stored & Meanings of information are lost\\
Relationships between the classes& Relationships are not supported\\
No restriction on data type/size& Restricted type/size \\
No primary/secondary keys are required& Keys are required and are static \\
A variety of queries can be run (any relation can be viewed)& Most of the queries must be anticipated (heavy joins are required)\\
\hline
\end{tabular}
\caption{A COMPARISON BETWEEN SEMANTIC DATABASE AND RELATIONAL DATABASE}\label{tab:dh}
\end{table}
并在项目中添加数字。