JIYIK CN >

Current Location:Home > Learning > DATABASE >

All

MongoDB Adding Elements to an Array

Publish Date:2025/04/11 Author:JIYIK Category:MongoDB

This article will cover the various ways to add to an array in MongoDB. Adding to an array in MongoDB Use the $push operator to add values ​​to an array The $push operator is one of the various array update operators provided by MongoDB...

Full

Counting records in MongoDB

Publish Date:2025/04/11 Author:JIYIK Category:MongoDB

This article discusses operators in MongoDB, aggregation operators, and different ways to calculate the total number of records. Operations in MongoDB CRUD operations are a user interface concept that allows users to browse, search, and cha...

Full

MongoDB $Set Operator

Publish Date:2025/04/11 Author:JIYIK Category:MongoDB

With the help of this article, you will learn how to use $set the operator to partially update objects in MongoDB so that the new object overlaps/merges with the existing object. The $set operator replaces the value of a field with a given...

Full

$ne operator in MongoDB

Publish Date:2025/04/11 Author:JIYIK Category:MongoDB

This article will discuss how the $ne operator works in MongoDB. In addition, we will list its differences from the $not operator. $ne operator in MongoDB $ne is an operator in MongoDB that stands for not equal to. This will compare the val...

Full

Connect to a remote MySQL database using the command line

Publish Date:2025/04/11 Author:JIYIK Category:MySQL

Remote connectivity is required when we work in a distributed environment. This tutorial is a step-by-step guide on how to connect to a remote MySQL database using the command line. Connect to a remote MySQL database using the command line...

Full

Searching for occurrences of a string in a MySQL database

Publish Date:2025/04/11 Author:JIYIK Category:MySQL

As a database administrator, there are certain situations and circumstances where you have to search the entire database for the occurrence of a pattern or a string. For example, how many employees use Gmail accounts in your office, or you...

Full

Copying a Database in MySQL

Publish Date:2025/04/11 Author:JIYIK Category:MySQL

Creating a copy of an existing database is known as the MySQL Clone method. Cloning involves creating a copy of the table structure, constraints, functions, procedures, triggers, and all functionality associated with the table in one go. Th...

Full

Select first N rows in MySQL

Publish Date:2025/04/11 Author:JIYIK Category:MySQL

Sometimes, you have to select first N rows of MySQL database according to your project requirements. n The value of varies according to the requirement; it can be TOP 1 row or TOP 30 rows. We will learn how to select top N rows using the cl...

Full

Multiple primary keys in MySQL

Publish Date:2025/04/11 Author:JIYIK Category:MySQL

In this tutorial, our goal is to explore the concept of multiple primary keys for a table in MySQL. Many times, businesses and organizations have to assign certain columns as primary keys. This primary key has multiple uses and reasons to b...

Full

How to use the Row_Number() function in MySQL

Publish Date:2025/04/11 Author:JIYIK Category:MySQL

In this tutorial, we will explain how to use the VALUES function in MySQL ROW_NUMBER() . This is a sorting method that assigns consecutive numbers within a partition starting from 1. It is important to note that no two rows within a partiti...

Full

If ELSE in MySQL

Publish Date:2025/04/11 Author:JIYIK Category:MySQL

In this tutorial, we aim to explore how to use IF ELSE the statement in MySQL. One of the key roles of a data analyst is to gather insights from the data and produce meaningful results. It can be done with the help of several data filtering...

Full

PostgreSQL replace string

Publish Date:2025/04/11 Author:JIYIK Category:PostgreSQL

This article discusses how to use PostgreSQL replace() functions to replace strings. Use the PostgreSQL replace() function to replace strings PostgreSQL replace() functions have the following arguments, which are all text types: replace (st...

Full

Using variables in PostgreSQL

Publish Date:2025/04/11 Author:JIYIK Category:PostgreSQL

This article will demonstrate how we can declare and assign values ​​to variables in PostgreSQL. In PostgreSQL, DECLARE variables are declared using Often you will need variables in your PL/SQL scripts. In DECLARE the section called , y...

Full

Using CASE in PostgreSQL

Publish Date:2025/04/11 Author:JIYIK Category:PostgreSQL

This article shows how to use the statement in PostgreSQL CASE . CASE How to use the statement in PostgreSQL case Statements are similar to those in general-purpose programming languages if-else . But in SQL, if you want to write IF-ELSE ,...

Full

Terminate the PostgreSQL connection

Publish Date:2025/04/11 Author:JIYIK Category:PostgreSQL

In this article, we will learn how to terminate a PostgreSQL session. Any open connections are run by background processes or tasks, PSQL which may no longer exist despite exiting the user interface or command line tool. Use ps -ef or grep...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial