SQL

How To Use the BETWEEN and IN Operators in SQL — step-by-step DevOps tutorial on Progressive Robot

How To Use the BETWEEN and IN Operators in SQL

In certain Structured Query Language (SQL) statements, WHERE clauses can be used to limit what rows the given operation will affect. SQL allows users to retrieve granular result sets by providing a variety of different types of predicates, each of which use a specific operator to evaluate rows. This guide will outline two types of predicates: range predicates which use the BETWEEN operator, and set membership predicates which use the IN operator.

Read more
SQL Expressions — step-by-step DevOps tutorial on Progressive Robot

SQL Expressions

URL: https://www.progressiverobot.com/sql-expressions/ SQL expression is a combination of one or more values, [operators](/community/tutorials/sql-operators) and SQL functions that results in to a value. These SQL EXPRESSIONs are similar to a formula and they are written in query language. You can also use them to query the database for a specific set of data. SQL Expressions !SQL […]

Read more
How To Use Comparison and IS NULL Operators in SQL — step-by-step DevOps tutorial on Progressive Robot

How To Use Comparison and IS NULL Operators in SQL

In certain Structured Query Language (SQL) statements, WHERE clauses can be used to limit what rows the given operation will affect. SQL allows users to retrieve granular result sets by providing a variety of different types of predicates, each of which use a specific operator to evaluate rows. This guide will outline two types of predicates and the operators they use: comparison operators and the IS NULL operator.

Read more
How To Work with Dates and Times in SQL — step-by-step DevOps tutorial on Progressive Robot

How To Work with Dates and Times in SQL

In this tutorial, you will learn how to use dates and times in SQL. You’ll begin by performing arithmetic and using various functions with dates and times using only the SELECT statement. Then you’ll practice by running queries on sample data, and you’ll learn how to implement the CAST function to make the output more digestible to read.

Read more
Understanding SQL Constraints — step-by-step DevOps tutorial on Progressive Robot

Understanding SQL Constraints

Relational database management systems allow you to control what data gets added to a table with constraints. A constraint is a special rule that applies to one or more columns — or to an entire table — that restricts what changes can be made to a table’s data. This article will go over in detail what constraints are and how they’re used in relational databases. It will also walk through each of the five constraints defined in the SQL standard and explain their respective functions.

Read more
How To Insert Data in SQL — step-by-step DevOps tutorial on Progressive Robot

How To Insert Data in SQL

SQL provides a great deal of flexibility in terms of how it allows you to insert data into tables. You can specify individual rows of data with the VALUES keyword, copy entire sets of data from existing tables with SELECT queries, as well as define columns in ways that will cause SQL to insert data into them automatically. In this guide, we’ll go over how to employ each of these methods to load tables with data using SQL’s INSERT INTO syntax.

Read more
How To Update Data in SQL — step-by-step DevOps tutorial on Progressive Robot

How To Update Data in SQL

When working with a database, there may be times when you need to change data that’s already been inserted into it; you may need to correct a misspelled entry, or perhaps you have information to add to an incomplete record. SQL provides the UPDATE statement which allows users to change existing data in a table. This guide outlines how you can use SQL’s UPDATE syntax to change data in one or more tables. It will also explain how SQL handles UPDATE operations that conflict with foreign keys.

Read more
SQL Between, MySQL Between Dates, Not Between — step-by-step Databases tutorial on Progressive Robot

SQL Between, MySQL Between Dates, Not Between

URL: https://www.progressiverobot.com/sql-between-mysql-between-dates-not/ The SQL BETWEEN operator is used along with [WHERE](/community/tutorials/sql-where-clause) clause for providing a range of values. The values can be the numeric value, text value, and date. SQL BETWEEN operator is almost like [SQL IN](/community/tutorials/sql-in-sql-not-in) operators used in a sequential manner. The values are defined as part of the BETWEEN range are inclusive […]

Read more
How To Use Views in SQL — step-by-step DevOps tutorial on Progressive Robot

How To Use Views in SQL

In Structured Query Language (SQL), a “view” is a virtual table whose contents are the result of a specific query to one or more tables. This guide provides an overview of what SQL views are and why they can be useful. It also highlights how you can create, query, modify, and destroy views using standard SQL syntax.

Read more
How To Use Joins in SQL — step-by-step DevOps tutorial on Progressive Robot

How To Use Joins in SQL

Many database designs separate information into different tables based on how certain data points relate to one another. Even in cases like this, it’s likely that there will be times when someone will want to retrieve information from more than one table at a time. A common way of accessing data from multiple tables in a single SQL operation is to combine the tables with a JOIN clause. This guide outlines how to retrieve data from multiple tables by joining them together.

Read more
CHAT