{"id":425,"date":"2016-05-27T07:07:55","date_gmt":"2016-05-27T14:07:55","guid":{"rendered":"https:\/\/database.guide\/?p=425"},"modified":"2026-02-05T09:44:45","modified_gmt":"2026-02-04T23:44:45","slug":"what-is-a-table","status":"publish","type":"post","link":"https:\/\/database.guide\/what-is-a-table\/","title":{"rendered":"What is a Table?"},"content":{"rendered":"\n<p class=\"\">A database&nbsp;<dfn>table<\/dfn> is a structure that organises&nbsp;data into <a href=\"https:\/\/database.guide\/what-is-a-row\/\">rows<\/a> and <a href=\"https:\/\/database.guide\/what-is-a-column\/\">columns<\/a> &#8211; forming a grid.<\/p>\n\n\n\n<p class=\"\">Tables are similar to a worksheets in&nbsp;spreadsheet applications.&nbsp;The rows run horizontally and represent each record. The columns run vertically and represent a specific&nbsp;field. The rows and columns intersect, forming a grid. The intersection of the rows and columns defines&nbsp;each cell in the table.<\/p>\n\n\n\n<!--more-->\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/database.guide\/wp-content\/uploads\/2016\/05\/what_is_a_table_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"291\" src=\"https:\/\/database.guide\/wp-content\/uploads\/2016\/05\/what_is_a_table_1.png\" alt=\"Screenshot of a database table in Access 2013 \" class=\"wp-image-437\" srcset=\"https:\/\/database.guide\/wp-content\/uploads\/2016\/05\/what_is_a_table_1.png 485w, https:\/\/database.guide\/wp-content\/uploads\/2016\/05\/what_is_a_table_1-300x180.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/a><figcaption class=\"wp-element-caption\">This database table contains 4 columns, and currently has 11 rows.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"\">The header cell of a column usually displays&nbsp;the name of the column. The column is usually&nbsp;named to reflect the contents of each cell in&nbsp;that column.&nbsp;For example, a column name of FirstName could be used to reflect that the cells will contain the first name of an individual.<\/p>\n\n\n\n<p class=\"\">The rows don&#8217;t typically have a header cell as such, but often the first column will contain a unique identifier &#8211; such as an ID. This field is often assigned as the <a href=\"https:\/\/database.guide\/what-is-a-primary-key\/\">primary key<\/a>, &nbsp;as a primary key requires a unique&nbsp;identifier (i.e. the value of this field will be different for each&nbsp;record).<\/p>\n\n\n\n<p class=\"\">This means that we can identify each record by its ID (or other unique identifier). Therefore,&nbsp;tables can reference records in other tables simply by referring to the record&#8217;s primary key value. In this case, the tables have a <a href=\"https:\/\/database.guide\/what-is-a-relationship\/\">relationship<\/a>.&nbsp;This is where the&nbsp;<strong>relational<\/strong> part comes from <a href=\"https:\/\/database.guide\/what-is-an-rdbms\/\">relational database management systems<\/a>.<\/p>\n\n\n\n<p class=\"\">&nbsp;<\/p>\n\n\n\n<p class=\"\">&nbsp;<\/p>\n\n\n\n<p class=\"\">&nbsp;<\/p>\n\n\n\n<p class=\"\">&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A database&nbsp;table is a structure that organises&nbsp;data into rows and columns &#8211; forming a grid. Tables are similar to a worksheets in&nbsp;spreadsheet applications.&nbsp;The rows run horizontally and represent each record. The columns run vertically and represent a specific&nbsp;field. The rows and columns intersect, forming a grid. The intersection of the rows and columns defines&nbsp;each cell &#8230; <a title=\"What is a Table?\" class=\"read-more\" href=\"https:\/\/database.guide\/what-is-a-table\/\" aria-label=\"Read more about What is a Table?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[18,166,167,26,20],"class_list":["post-425","post","type-post","status-publish","format-standard","hentry","category-database-concepts","tag-database-terms","tag-define","tag-definition","tag-tables","tag-what-is"],"_links":{"self":[{"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/posts\/425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/comments?post=425"}],"version-history":[{"count":5,"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/posts\/425\/revisions"}],"predecessor-version":[{"id":47784,"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/posts\/425\/revisions\/47784"}],"wp:attachment":[{"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/media?parent=425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/categories?post=425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/database.guide\/wp-json\/wp\/v2\/tags?post=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}