Skip to content
← Back to glossary

レコードRecord

Learn in the textbookBasic Units of Data Structure

DefinitionA record (レコード) is one entry of data that groups the related data about a single subject, and it corresponds to a horizontal row in a table.

ExplanationIn a student roster, for example, one student's number, name, and grade taken together form one record. The highlighted row in the figure is one such record for a single student. The column (or set of columns) used to tell each record in a table apart is called the primary key (主キー), and it is chosen so that its value never repeats across records.

AnalogyIt is like a single card in an address file. One card holds one person's name, address, and phone number.

Memory hookThe English word record means a written account. Think of it as one note jotted down about a person or an event, and it ties naturally to the idea of a single entry.

Related past-exam questions(12 questions)