Build a Database from Scratch In Minutes
Tags: database, mysql, sql, sqlserver
Published: 2023-12-05 22:02:16

<!-- wp:paragraph -->
<p>There are a lot of different ways to build a database from scratch. Here we explore the <em>easy </em>way, using Five, a database application builder that replaces traditional, more coder-heavy database administration tools, such as MySQL Workbench or phpMyAdmin with a more user-friendly interface. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In addition to letting users create a database from scratch, Five also offers many other application development features, from creating forms on top of a database to generating charts, dashboards, or reports. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you are a first-time user of Five, the platform, just like any new development environment, might seem a little intimidating at first. So, let's review some of the core concepts to make your first experience in Five successful and fun!</p>
<!-- /wp:paragraph -->

<!-- wp:rank-math/toc-block {"headings":[{"key":"dae50b44-c87f-409d-97c3-ded00b9b9a41","content":"Here's How to Build a Database from Scratch With Five","level":2,"link":"#heres-how-to-build-a-database-from-scratch-with-five","disable":false,"isUpdated":false,"isGeneratedLink":true},{"key":"f4d9f471-656d-42f6-986b-11b112e5a64b","content":"Step 1: Downloading \u0026 Installing Five","level":3,"link":"#step-1-downloading-installing-five","disable":false,"isUpdated":false,"isGeneratedLink":true},{"key":"b911f285-f5e6-48a2-aba9-82cf6d9f8bc4","content":"Step 2: Start Developing","level":3,"link":"#step-2-start-developing","disable":false,"isUpdated":false,"isGeneratedLink":true},{"key":"60790c99-f0e7-4261-95d4-cd77208af606","content":"Step 3: Where to Find Help","level":3,"link":"#step-3-where-to-find-help","disable":false,"isUpdated":false,"isGeneratedLink":true},{"key":"0da0c9f2-6d1e-4600-8e39-3a5fd094026b","content":"Step 4: Launching Your Application","level":3,"link":"#step-4-launching-your-application","disable":false,"isUpdated":false,"isGeneratedLink":true},{"key":"1b781333-395e-4c15-bd9a-17f3135062a1","content":"Step 5: Working With Templates and Getting Inspiration","level":3,"link":"#step-5-working-with-templates-and-getting-inspiration","disable":false,"isUpdated":false,"isGeneratedLink":true}],"listStyle":"ul"} -->
<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><nav><ul><li class=""><a href="#heres-how-to-build-a-database-from-scratch-with-five">Here's How to Build a Database from Scratch With Five</a><ul><li class=""><a href="#step-1-downloading-installing-five">Step 1: Downloading &amp; Installing Five</a></li><li class=""><a href="#step-2-start-developing">Step 2: Start Developing</a></li><li class=""><a href="#step-3-where-to-find-help">Step 3: Where to Find Help</a></li><li class=""><a href="#step-4-launching-your-application">Step 4: Launching Your Application</a></li><li class=""><a href="#step-5-working-with-templates-and-getting-inspiration">Step 5: Working With Templates and Getting Inspiration</a></li></ul></li></ul></nav></div>
<!-- /wp:rank-math/toc-block -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="step-1-downloading-installing-five">Step 1: Downloading &amp; Installing Five</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>First things first: make sure to have Five installed on your computer. To access our free download, <a href="https://five.co/sign-up" data-type="URL" data-id="https://five.co/sign-up" target="_blank" rel="noreferrer noopener">sign up</a> and follow the installation. The download can take a bit of time, as Five is a large file, so sit back and check in again every few minutes to see if it is complete. </p>
<!-- /wp:paragraph -->

<!-- wp:tadv/classic-paragraph -->
<div style="background-color: #001524;"><hr style="height: 5px;" />
<pre style="text-align: center; overflow: hidden; white-space: pre-line;"><span style="color: #f1ebda; background-color: #4588d8; font-size: calc(18px + 0.390625vw);"><strong>Build A Database from Scratch</strong>
<span style="font-size: 14pt;">Download Five for Free and Start Developing</span></span></pre>
<p style="text-align: center;"><a href="https://five.co/sign-up/" target="_blank" rel="noopener"><button style="background-color: #f8b92b; border: none; color: black; padding: 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 18px; cursor: pointer; margin: 4px 2px; border-radius: 5px;"><strong>Sign Up</strong></button><br /></a></p>
<hr style="height: 5px;" /></div>
<!-- /wp:tadv/classic-paragraph -->

<!-- wp:paragraph -->
<p><strong>Remember, you don't have to pay anything to develop database applications with Five.</strong> You only have to subscribe to one of our paid plans if you decide to host your application on Five's managed cloud, which gives you a custom URL to access your application or share it with your application users. This makes Five a great tool for learners or those who simply want to explore a database software. </p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":952,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://five.co/wp-content/uploads/2023/01/Five.Co-Start-Developing.-Free-Download..png" alt="Five.Co - Start Developing. Free Download." class="wp-image-952"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>After signing up for our free download, make sure to check your email box (including your spam folder) for an email from noreply@five.co. This email contains your personal serial number required to activate your free download.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Once installed, launch Five. Now you are up and running and it's time to start building!</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2085,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/08/Five.Co-Landing-Page-1024x649.png" alt="Five.Co - Landing Page" class="wp-image-2085"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center"><strong>TIP</strong>:<strong> Our User Community</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If at any point you are hitting a roadblock or don't know how to continue, <a href="https://five.org">check out our user community.</a> Here you can find answers to the most common questions that people have when using Five. And, of course, you can get advice from our experts on how to build applications with Five.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="step-2-start-developing">Step 2: Start Developing</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Five is running on your machine and you're ready to delve into your first app development project! What's the best place to get started? </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Follow our YouTube tutorial on how to build a membership application! This seven-step tutorial will take you through the entire process of building an app with Five, from database modeling to previewing your finished application locally.</p>
<!-- /wp:paragraph -->

<!-- wp:embed {"url":"https://www.youtube.com/watch?v=jcRAhyw9rmI\u0026list=PLerqEA4wsHa2vY5vW3fK1Nkl4Npxn5MKQ","type":"video","providerNameSlug":"youtube","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
https://www.youtube.com/watch?v=jcRAhyw9rmI&amp;list=PLerqEA4wsHa2vY5vW3fK1Nkl4Npxn5MKQ
</div></figure>
<!-- /wp:embed -->

<!-- wp:paragraph -->
<p>Step 1 of our YouTube tutorial explains how to create a database table in Five. So if your primary goal is creating a database from scratch, then watching this four-and-a-half-minute video is time well spent! </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The video also shows how to assign different <strong>SQL data types</strong> to your table fields, as well as how to inspect your <strong>database schema visually</strong> using Five's database modeler. It also explains how Five automatically adds <strong>primary keys</strong> to all your tables. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Last, by watching the video series, you'll gain a better understanding of how Five <strong>translates your database into an intuitive, auto-generated front-end</strong>. This makes Five a great tool for all those who want to build a database from scratch, and then build a graphical user interface-end on top of it. Five's auto-generated front-end comes with a search bar, forms, filters, and edit buttons. </p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center"><strong>A Note on Primary Keys and Foreign Keys in Five</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The primary keys that Five adds to your tables are Globally Unique Identifiers (GUIDs), 128-bit text strings that represent an identification. GUIDs are great primary keys because the odds of two GUIDs colliding are <strong>one in 2¹²²</strong>, which is a phenomenally small number. So don't worry about creating your own primary keys. Five manages this part for you.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you would like to create related tables, then Five can also be used to add a Foreign Key to another table. Simply use Five's <strong>Table Wizard</strong> to do so. </p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="step-3-where-to-find-help">Step 3: Where to Find Help</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Any new tool comes with a learning curve and so does Five. For those already familiar with SQL, Five is quite intuitive. Five heavily relies on standard SQL concepts, such as relationships, primary and foreign keys, data views and queries. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For those new to relational databases or those who are creating their <em>very first</em> database from scratch, the learning curve can be a bit steep at the start. So, where can we find help if we don't know how to continue?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We have already mentioned our <a href="https://five.org">user community</a> and our<a href="https://www.youtube.com/@five_co"> YouTube channel</a> as two places with many helpful resources. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On top of this, there is a lot of <strong>in-product help in Five</strong>. To access the help and documentation, simply click on the Help icon in the top right corner. You may not find an answer to your every question, but the help is quite comprehensive and covers a lot of the most commonly asked questions.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On top of that, many of Five's fields are documented and have a little help text that can be accessed when hovering on a field, and then clicking View help. Check out the image below to see where the <strong>Help</strong> buttons are located in Five.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2135,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/11/Five.Co-Finding-Help-1024x372.png" alt="" class="wp-image-2135"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="step-4-launching-your-application">Step 4: Launching Your Application</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>If you are only using Five to create a database from scratch, then you will primarily use Five's <strong>Data</strong> features, which let you create your database, add tables and fields, and inspect your database schema visually. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But this is just one of Five's features: you can build entire database-driven applications with Five.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For example, use Five to build a <a href="https://five.co/blog/how-to-create-a-front-end-for-a-mysql-database/" data-type="post" data-id="721">front-end on top of your MySQL database</a> and turn your database into a modern web app. Or convert an <a href="https://five.co/blog/excel-to-web-app/" data-type="post" data-id="1452">Excel sheet into a web app</a> using Five's <strong>Import Data</strong> feature. There are plenty of features in Five that let you add more and more features to your database. To follow along, keep watching the YouTube playlist linked at the top! </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Last but not least, there are two more important things to know about Five.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>1. You can always <strong>preview your application</strong> by clicking the <strong>Run </strong>button in the top right corner of Five. </p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":742,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://five.co/wp-content/uploads/2023/01/Five.Co-Run-Your-Application.png" alt="Five.Co-Run-Your-Application" class="wp-image-742"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>2. You have used Five to create a database from scratch <em>and </em>have developed an application on top of it? Then it's time to launch your application to the web! </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To do so, sign up for one of our hosted plans, starting from as little as <a href="https://five.co/pricing" target="_blank" rel="noreferrer noopener">US$27.49 per application and month</a>, and get a hosted, fully-provisioned database and a custom URL for your web app.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="step-5-working-with-templates-and-getting-inspiration">Step 5: Working With Templates and Getting Inspiration</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>If you are building a database from scratch, thinking of your database schema is probably the hardest part. As a wise developer once said: there is no good application without a good database. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To provide some inspiration, check out our <a href="https://five.co/use-cases/" data-type="page" data-id="1070" target="_blank" rel="noreferrer noopener">use cases</a>, some of which come with template applications (and we're adding more and more templates weekly). By importing one of our template applications into Five, you can take a shortcut to your development and build on top of what the template already provides. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We also provide <a href="https://five.co/themes">free themes</a> which can be used to customize the way your application looks.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Five can be used to build any kind of data-driven web app: from inspection checklists to complex custom-built inventory systems.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Share your use case with us on the forum, and we're happy to guide you in your development journey!</p>
<!-- /wp:paragraph -->