Browsed by
Category: SQL

Summarizing Data by Group: Mean and Standard Error with MS Azure

Summarizing Data by Group: Mean and Standard Error with MS Azure

□ Creating an Azure SQL Database: A step-by-step guide In my previous post, I introduced how to set up Azure SQL Database. Today, let’s practice some SQL coding! 1) to create data table I just created two data tables YieldData, and BiomassData. 2) to summarize data I will summarize the data tables by calculating the mean and standard error for each. How to merge two datasets? Here is one more tip. I want to merge two datasets. Here is the…

Read More Read More

Creating an Azure SQL Database: A step-by-step guide

Creating an Azure SQL Database: A step-by-step guide

When you use SQL, it’s about managing your data in the database. However, you might also expect that you can access your database from wherever you are. If you use SQL programs, you would primarily achieve the former, but it’s less relevant to the latter. SQL is a powerful language for managing data in a database; however, it is not specifically designed for remote access. What we want is both a database and a cloud platform so that I can…

Read More Read More

Azure SQL Code: Summary

Azure SQL Code: Summary

Let’s practice Azure SQL codes. The data you can practice can be downloaded below. https://github.com/agronomy4future/raw_data_practice/blob/main/micronutrients.csv If you download the data, first you can upload data to Azure SQL server. The method to upload data to Azure SQL server is explained in the below post. 1) Create database First, let’s create Database to upload external data in Azure Data Studio. and upload the data in the link I provided. The method to upload external data is explained in the below post….

Read More Read More

MySQL Queries: Selecting Specific Columns

MySQL Queries: Selecting Specific Columns

I have created a data table. If you copy and paste the code below into your MySQL window, you can obtain the same data table. □ Select all data column □ Select specific data column □ Select specific data column within specific variable

How To Calculates Different Values Based On Different Variables In MySQL?

How To Calculates Different Values Based On Different Variables In MySQL?

□ Creating Data Tables in MySQL: A Step-by-Step Guide If you followed my previous post, you can manually create a Data Table. If you copy and paste the code below into your MySQL window and then run it with Ctrl+Shift+Enter, you will see the below data table. ■ How to calculate new values? Now, I’d like to calculate new values. For example, I’ve discovered that the yield data was overestimated, and I want to subtract 20 from each value. ID…

Read More Read More

Creating Data Tables in MySQL: A Step-by-Step Guide

Creating Data Tables in MySQL: A Step-by-Step Guide

□ A Step-by-Step Guide to Importing Excel Data into MySQL If you followed my previous post, you can easily create a Data Table when importing external data. In this post, I will introduce how to create a Data Table manually. First, let’s create a database named ‘test_data.’ Within this database, I’ll create a Data Table. I aim to create a Data Table like the one shown below. ID Reps Variable Yield 1 1 Control 116.08 2 2 Control 132.85 3…

Read More Read More

A Step-by-Step Guide to Importing Excel Data into MySQL

A Step-by-Step Guide to Importing Excel Data into MySQL

[Step 1] Database Setup for Importing Excel Data into MySQL The first step is to create a database for importing external data. The code for this step is as follows: After creating a database, refresh the page to display the newly created database. [Step 2] Setting Up the Table Data In the database you created, right click on the Tables, and select Table Data Import Wizard. Then, you can choose the file pathway where your file is located. Let’s create…

Read More Read More

A Step-by-Step Guide to Installing MySQL Workbench on Your Computer

A Step-by-Step Guide to Installing MySQL Workbench on Your Computer

This is the process to install MySQL Workbench on your PC. First, please go to the link and download the latest version of MySQL. https://dev.mysql.com/downloads/workbench/ The next page will ask you to log in to your Oracle web account or sign up, or you can choose to skip this step and start the download. The choice is yours. You need to choose a Setup Type, and I’ll choose Custom. Next choose the latest both MySQL Server and MySQL Workbench From…

Read More Read More

Combining Multiple Excel Files into One Using Access

Combining Multiple Excel Files into One Using Access

□ Exploring Data Management in ACCESS: Uploading Data to the Database In the previous post, we introduced how to upload Excel files to ACCESS. Now, let’s explore how to upload multiple Excel files to ACCESS and merge them into one dataset. Let’s say you have uploaded 5 Excel files to ACCESS, as shown in the image below. We will demonstrate how to merge these 5 uploaded data tables into a single data table. In Query Design, you can click on…

Read More Read More