Category

Database Tutorials and Administration Guides

Explore database tutorials including SQL, MySQL, PostgreSQL, MongoDB, and database administration techniques for performance and scalability.

The Databases section helps you learn database management and optimization techniques.

Databases are essential for storing and managing application data efficiently. This category includes tutorials on SQL, MySQL, PostgreSQL, and NoSQL databases.

You may also explore Programming for application integration.

124 articles

Database tutorials illustration with SQL tables, server cylinders, and data connections
databases

How to alter table and add column SQL

In SQL, to add column(s) to the existing table SQL ALTER TABLE ADD statement is used, there is no statement like SQL ADD COLUMN to add the column or to modify the definition of SQL existing table, SQL ALTER TABLE …

Falguni Thakker7 min read
databases

Delete table in SQL / DROP TABLE in SQL [Practical Examples]

In this article of delete table in SQL, we have covered the delete table command DROP TABLE used to delete a table in SQL with syntax and explanation of each syntax arguments, practical examples of delete table query …

Falguni Thakker7 min read
databases

SQL INSERT INTO SELECT with Practical Examples

This article of SQL INSERT INTO SELECT, the article begins with the overview of SQL INSERT INTO SELECT with syntax, use of each syntax argument and clause, the key point to remember for SQL INSERT INTO SELECT, practical …

Falguni Thakker8 min read
databases

SQL OUTER JOIN Explained

SQL OUTER JOIN is used to preserve all of the records that have values in either the left or right table, In the SQL OUTER JOIN all the content of both tables are integrated together whether they are matched or not

Falguni Thakker12 min read
databases

SQL LIMIT Usage Explained

We have covered practical examples of SQL LIMIT starts with simple example LIMIT with number of rows , order by clause, left outer join , where clause

Falguni Thakker7 min read
databases

SQL Exists Explained in Detail

We have covered the overview of the SQL Exists operator, define the use of SQL Exists, Syntax of how to use SQL Exist with an explanation of each syntax argument, also covered the practical examples of SQL Exists starts …

Falguni Thakker9 min read
databases

SQL FULL OUTER JOIN Explained

Examples to use SQL Full Outer Join with two tables, three tables, multiple tables with Where Clause, multiple tables with Group by Clause, Using Union Clause, Using Union Clause & Where condition

Falguni Thakker8 min read
databases

SQL TOP Explained

SQL TOP clause is used to limit the records returned as the result set of SQL select query by specified number of rows or percentage of rows in SQL Server.

Falguni Thakker8 min read
databases

SQL Domain Constraints (NOT NULL, Check, UNIQUE)

Domain constraint is used to restrict the values to be inserted in the column or relation, domain constraint defines a valid set of values for a table

Falguni Thakker8 min read
databases

SQL Transactions Explained

SQL Transactions consists of a sequence of SQL statements and/or queries, the SQL standard specifies that a transaction begins implicitly when an SQL

Falguni Thakker7 min read
databases

SQL Stored Procedure Explained

SQL stored procedures are generally precompiled group of an ordered series of Transact-SQL statements stored into a single logical unit which allow for

Falguni Thakker9 min read
databases

SQL Mapping Carnality Explained with Examples

SQL mapping cardinalities define the relationship between the entities or tables of one relationship set with the entities or tables of another relationship

Falguni Thakker5 min read
databases

SQL Floor() function Explained

sql floor, floor sql, floor function in sql, floor in sql, floor sql server, sql floor function, sql server floor

Falguni Thakker3 min read
databases

SQL Drop Constraint Explained

drop constraint, drop constraint sql server, sql drop constraint, drop sql constraint, sql server drop constraint, drop foreign key sql server, alter table drop constraint

Falguni Thakker5 min read
databases

SQL add column with default value to an existing table

SQL ALTER TABLE statement is used to make changes in the existing SQL table and can be used to add column with default values

Falguni Thakker6 min read
databases

How to import SQL file using CLI in MySQL?

We are covered overview of .sql file , steps to import .sql file , how to open MySQL command line , how to change current database using USE command , and also explained two ways to import .sql files import using MySQL …

Falguni Thakker4 min read
databases

SQL NOT IN Operator Explained [8 Practical Examples]

Examples of SQL NOT IN with Numeric list of values, String list of values, Date list of values, Subquery, columns, Update statement, Delete statement, HAVING CONDITION

Falguni Thakker7 min read
databases

SQL RIGHT OUTER JOIN Explained

SQL RIGHT OUTER JOIN is one type of SQL OUTER JOIN used to retrieve all records from the right table of the join and match records from the left table side of the join, the records for which there is no matching record …

Falguni Thakker7 min read
databases

How to use pandas.Series.map() [Practical Examples]

The pandas.Series.map() performs the mapping by first matching the values of the outer Series with the index labels of the inner Series. It then returns a new Series, with the index labels of the outer Series but the …

Deepak Prasad4 min read
databases

Let's explore pandas.DataFrame.resample with Examples

In this tutorial we explain usage of pandas resample using multiple methods and examples. Frequency conversion provides basic conversion of data using the new frequency intervals and allows the filling of missing data …

Deepak Prasad12 min read
databases

5 ways you can create histogram using pandas DataFrame

In this tutorial we learned to create histogram in Pandas with following parameters, with specific size, with number of bins, Histogram with specific color, with figsize

Deepak Prasad6 min read
databases

Learn to use pandas.unique() with Series/DataFrame

unique() function is used to get the distinct / unique data from Series/DataFrames. It can be applied on the columns in the dataframe. The unique() method returns a NumPy ndarray of unique values from the Series

Deepak Prasad4 min read
databases

Pandas DataFrame.rolling() Explained

Pandas rolling() function is used to provide the window calculations for the given pandas object. By using rolling we can calculate statistical operations like mean(), min() , max() and sum() on the rolling window.

Deepak Prasad7 min read
databases

Exploring pandas melt() function [Practical Examples]

Pandas melt() function is used to unpivot a DataFrame from wide to long format, optionally leaving identifiers set. A pivot table aggregates the values in a data set.

Deepak Prasad4 min read
databases

Convert list of dictionaries to DataFrame

Pandas convert list of dictionaries to ataframe using pandas.DataFrame(), pandas.DataFrame() with index, pandas.DataFrame() with index and columns, pandas.DataFrame() with from_records() function, pandas.DataFrame() with …

Deepak Prasad6 min read
databases

Compare loc[] vs iloc[] vs at[] vs iat[] with Examples

In this article we will cover different examples to understand the difference between loc[] vs iloc[] and at[] vs iat[] in Python pandas

Deepak Prasad6 min read
databases

How to change the order of Pandas DataFrame columns

how to change the order of columns in panads dataframe using the following methods, Using reindex() function, sort_index() function, indexing or Move columns to particular position

Deepak Prasad7 min read
databases

How to count rows in a pandas DataFrame [Practical Examples]

In pandas we can count rows Using axes() function, shape() function, index Using info() method, len() function, count() function, value_counts() function

Deepak Prasad7 min read
databases

Pandas set index method explained with examples

Pandas set index is a built-in method in pandas that is used to set the list, Series or dataframe as an index of dataframe.

Bashir Alam9 min read
databases

4 ways to drop columns in pandas DataFrame

Following methods can be used to drop columns in pandas dataframe: Using drop() method, using drop() with columns method, using drop() with loc[] method, using drop() with iloc[] method

Deepak Prasad6 min read