Database Creation using Create Database command
In SQL Server, database can be created by 2 ways:- Using Create Database command Using SQL Sever Management Studio (SSMS). […]
This category contains all SQL related articles
In SQL Server, database can be created by 2 ways:- Using Create Database command Using SQL Sever Management Studio (SSMS). […]
With IN clause, we can specify multiple values in a WHERE clause. For example, in case of “IN”, one can
UPPER():- This function is used to convert the value of a column to upper case. Syntax: SELECT UPPER(string) OR
Avg():- This function is used to get the average value of a numeric column Syntax:- SELECT AVG(column_name) FROM table_name
LOWER():- This function is used to convert the value of a column to lower case Syntax:- Select LOWER (string)
LEN():- This function is used to get the length of the given string value. Syntax:- Select len (stringvalue)
Substring():- This function is used to return the specified number (third argument “len”) of characters from a given string(first argument)
LTRIM ():- This function is used to get the string after the removal of leading blank spaces. Syntax:- LTRIM (
Max():- This function gives the maximum value of the selected column Syntax:- Select Max (col1) from table_name In this article,
RTRIM():-This function is used to get the string after the removal of all trailing blanks. Syntax:- RTRIM ( character_expression )
And & Or:- These Operators are used to further filter the recordset return by SQL queries when more than one
Sum():- This function is used to get the sum of values of the specified numeric column. Syntax:- Select Sum (column_name)
Round():-This function is used to round a numeric field to the number of decimals specified. Syntax:- ROUND ( numeric_expression
Except command in SQL Server returns the distinct values from the left query that are not also found on the
Like:- This operator is used in a WHERE clause to search for a specific pattern in the values of the