SQL Basics

sql-rename

SQL Table Renaming: A Guide

Introductiuon In SQL, Creating and inserting data is important but maintaining databases are also important. Sometimes user are not happy with the current name of the table and wants to rename them according to needs. CAUTION : Before committing to any change, user should double check that renaming the table will not make or break …

SQL Table Renaming: A Guide Read More »

sql-floor-ceiling

SQL FLOOR AND CEILING FUNCTIONS

FLOOR() Function: SQL FLOOR is used to return the largest integer less than or equal to the specified numeric expression. Syntax: EXAMPLE: The result is the numeric part with the same data type. CEILING() Function: SQL CIELING() is used to get the smallest integer greater than, or equal to, the specified numeric expression as return …

SQL FLOOR AND CEILING FUNCTIONS Read More »

sql-date-functions

SQL Date Functions – Important

SQL date functions are important to learn if you want to do anything related to-Forecasting.Managing historical data.There are several types of SQL Date functions but we are going to learn basics first. The Three SQL functions we are going to learn in this lesson are – DATEPART() This function returns an integer representing the specified datepart of …

SQL Date Functions – Important Read More »

sql-group-by

SQL GROUP BY- NEED and USES

What are SQL joins? SQL GROUP BY is used to group rows with similar values for aggregate functions. Without GROUP BY user cannot use aggregate functions. Syntax: Now lets use GROUP BY with HAVING Thanks For Reading! SOURCE : https://learn.microsoft.com/en-us/sql/t-sql/queries/select-group-by-transact-sql?view=sql-server-ver16 READ MORE:SQL BASICSSQL WINDOW FUNCTIONSSQL ORDER BY