{"id":552,"date":"2024-11-21T10:03:53","date_gmt":"2024-11-21T10:03:53","guid":{"rendered":"https:\/\/marilunatei24.thkit.ee\/wp\/?page_id=552"},"modified":"2025-04-17T14:17:03","modified_gmt":"2025-04-17T14:17:03","slug":"database-diagram","status":"publish","type":"page","link":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/","title":{"rendered":"Database Diagram"},"content":{"rendered":"\n<p><strong>A Database Diagram is a visual representation that shows how the tables in a database are related to each other.<\/strong> It helps to better understand the structure of the database and the relationships between different tables. For example, you can see which tables are connected and how data flows between them. It is a useful tool for planning and maintaining a database.<\/p>\n\n\n\n<table border=\"1\" cellpadding=\"8\" cellspacing=\"0\">\n  <thead>\n    <tr>\n      <th>Database Schema Designs<\/th>\n      <th>Andmebaasiskeemi kujundid<\/th>\n      <th>\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u0441\u0445\u0435\u043c\u044b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td><strong>Table<\/strong><br>A rectangle representing a data table with rows and columns.<\/td>\n      <td><strong>Tabel<\/strong><br>Ristk\u00fclik, mis esindab andmetabelit koos ridade ja veergudega.<\/td>\n      <td><strong>\u0422\u0430\u0431\u043b\u0438\u0446\u0430<\/strong><br>\u041f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438.<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>Key<\/strong><br>Primary Key \/ Foreign Key<\/td>\n      <td><strong>V\u00f5ti<\/strong><br>Esmane v\u00f5ti \/ V\u00f5\u00f5rv\u00f5ti<\/td>\n      <td><strong>\u041a\u043b\u044e\u0447<\/strong><br>\u041f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \/ \u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u043a\u043b\u044e\u0447<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>Field<\/strong><br>An element inside a table that holds a specific data type.<\/td>\n      <td><strong>V\u00e4li<\/strong><br>Tabeli sees olev element, mis hoiab konkreetset andmet\u00fc\u00fcpi.<\/td>\n      <td><strong>\u041f\u043e\u043b\u0435<\/strong><br>\u042d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445.<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>Relationship<\/strong><br>Shows how tables are connected to each other.<\/td>\n      <td><strong>Seos<\/strong><br>N\u00e4itab, kuidas tabelid on omavahel seotud.<\/td>\n      <td><strong>\u0421\u0432\u044f\u0437\u044c<\/strong><br>\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439.<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>Index<\/strong><br>Shows additional symbols pointing to tables for faster searching.<\/td>\n      <td><strong>Indeks<\/strong><br>N\u00e4idatakse t\u00e4iendavate s\u00fcmbolitega, mis osutavad tabelitele kiirema otsingu v\u00f5imaldamiseks.<\/td>\n      <td><strong>\u0418\u043d\u0434\u0435\u043a\u0441<\/strong><br>\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430.<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\"><strong>How to add shapes on the <a href=\"https:\/\/www.lucidchart.com\/\">Licidchart<\/a> <strong>website<\/strong>:<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/marilunatei24.thkit.ee\/wp\/wp-content\/uploads\/2024\/11\/Screenshot-2024-11-21-160124-1024x559.png\" alt=\"\" class=\"wp-image-596\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"918\" height=\"1024\" src=\"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-content\/uploads\/sites\/2\/2025\/04\/image.png\" alt=\"\" class=\"wp-image-1238\" srcset=\"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-content\/uploads\/sites\/2\/2025\/04\/image.png 918w, https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-content\/uploads\/sites\/2\/2025\/04\/image-269x300.png 269w, https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-content\/uploads\/sites\/2\/2025\/04\/image-768x857.png 768w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\"><strong>How to generate SQL code for creating a database using Lucidchart:<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/marilunatei24.thkit.ee\/wp\/wp-content\/uploads\/2024\/11\/Screenshot-2024-11-22-215517-1024x708.png\" alt=\"\" class=\"wp-image-620\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\">Create a database using Microsoft SQL Server Management Studio<\/h3>\n\n\n\n<table style=\"width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; margin: 20px 0;\">\n  <thead>\n    <tr style=\"background-color: #f2f2f2;\">\n      <th style=\"padding: 10px; border: 1px solid #ddd; text-align: left;\">Vajuta<\/th>\n      <th style=\"padding: 10px; border: 1px solid #ddd; text-align: left;\">New Query<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-weight: bold;\">Sisestage<\/td>\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-family: 'Courier New', monospace;\">\n        CREATE DATABASE PRODUCTION_OF_WINDOW_BLINDS;\n      <\/td>\n    <\/tr>\n    <tr style=\"background-color: #f9f9f9;\">\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-weight: bold;\">Vajuta<\/td>\n      <td style=\"padding: 10px; border: 1px solid #ddd;\">Execute<\/td>\n    <\/tr>\n    <tr>\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-weight: bold;\">Sisestage<\/td>\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-family: 'Courier New', monospace;\">\n        USE PRODUCTION_OF_WINDOW_BLINDS;\n      <\/td>\n    <\/tr>\n    <tr style=\"background-color: #f9f9f9;\">\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-weight: bold;\">Kopaeri<\/td>\n      <td style=\"padding: 10px; border: 1px solid #ddd;\">\n        Lucidehart-iga genererritud kaod\n      <\/td>\n    <\/tr>\n    <tr>\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-weight: bold;\">Select<\/td>\n      <td style=\"padding: 10px; border: 1px solid #ddd;\">\n        K\u0101ik kaod peale &#8220;CREATE DATABASE PRODUCTION_OF_WINDOW_BLINDS;&#8221;\n      <\/td>\n    <\/tr>\n    <tr style=\"background-color: #f9f9f9;\">\n      <td style=\"padding: 10px; border: 1px solid #ddd; font-weight: bold;\">Vajuta<\/td>\n      <td style=\"padding: 10px; border: 1px solid #ddd;\">Execute<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/marilunatei24.thkit.ee\/wp\/wp-content\/uploads\/2024\/11\/Screenshot-2024-11-22-213736.png\" alt=\"\" class=\"wp-image-617\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\">Lucidchart tutorial video: Creating diagrams<\/h3>\n\n\n\n<p class=\"has-text-align-center\"><br>Link <a href=\"https:\/\/www.youtube.com\/watch?v=QpdhBUYk7Kk\">1<\/a>, <a href=\"https:\/\/www.youtube.com\/watch?v=-CuY5ADwn24\">2<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Database Diagram is a visual representation that shows how the tables in a database are related to each other. It helps to better understand the structure of the database and the relationships between different tables. For example, you can see which tables are connected and how data flows between them. It is a useful [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-552","page","type-page","status-publish","hentry"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Database Diagram - Mari L Tei Portfolio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Database Diagram - Mari L Tei Portfolio\" \/>\n<meta property=\"og:description\" content=\"A Database Diagram is a visual representation that shows how the tables in a database are related to each other. It helps to better understand the structure of the database and the relationships between different tables. For example, you can see which tables are connected and how data flows between them. It is a useful [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/\" \/>\n<meta property=\"og:site_name\" content=\"Mari L Tei Portfolio\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-17T14:17:03+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/\",\"url\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/\",\"name\":\"Database Diagram - Mari L Tei Portfolio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Screenshot-2024-11-21-160124-1024x559.png\",\"datePublished\":\"2024-11-21T10:03:53+00:00\",\"dateModified\":\"2025-04-17T14:17:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/#primaryimage\",\"url\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Screenshot-2024-11-21-160124-1024x559.png\",\"contentUrl\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Screenshot-2024-11-21-160124-1024x559.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/database-diagram\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Database Diagram\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/#website\",\"url\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/\",\"name\":\"Mari L Tei Portfolio\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/marilunatei24.thkit.ee\\\/wp\\\/eng\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Database Diagram - Mari L Tei Portfolio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/","og_locale":"en_US","og_type":"article","og_title":"Database Diagram - Mari L Tei Portfolio","og_description":"A Database Diagram is a visual representation that shows how the tables in a database are related to each other. It helps to better understand the structure of the database and the relationships between different tables. For example, you can see which tables are connected and how data flows between them. It is a useful [&hellip;]","og_url":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/","og_site_name":"Mari L Tei Portfolio","article_modified_time":"2025-04-17T14:17:03+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/","url":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/","name":"Database Diagram - Mari L Tei Portfolio","isPartOf":{"@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/#website"},"primaryImageOfPage":{"@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/#primaryimage"},"image":{"@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/#primaryimage"},"thumbnailUrl":"https:\/\/marilunatei24.thkit.ee\/wp\/wp-content\/uploads\/2024\/11\/Screenshot-2024-11-21-160124-1024x559.png","datePublished":"2024-11-21T10:03:53+00:00","dateModified":"2025-04-17T14:17:03+00:00","breadcrumb":{"@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/#primaryimage","url":"https:\/\/marilunatei24.thkit.ee\/wp\/wp-content\/uploads\/2024\/11\/Screenshot-2024-11-21-160124-1024x559.png","contentUrl":"https:\/\/marilunatei24.thkit.ee\/wp\/wp-content\/uploads\/2024\/11\/Screenshot-2024-11-21-160124-1024x559.png"},{"@type":"BreadcrumbList","@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/database-diagram\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/"},{"@type":"ListItem","position":2,"name":"Database Diagram"}]},{"@type":"WebSite","@id":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/#website","url":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/","name":"Mari L Tei Portfolio","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/pages\/552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/comments?post=552"}],"version-history":[{"count":1,"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/pages\/552\/revisions"}],"predecessor-version":[{"id":1240,"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/pages\/552\/revisions\/1240"}],"wp:attachment":[{"href":"https:\/\/marilunatei24.thkit.ee\/wp\/eng\/wp-json\/wp\/v2\/media?parent=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}