Skip to main content

Posts

Showing posts from November, 2020

Group By and Having clause

 Group By and Having The GROUP BY statement groups rows that have the same values into summary rows, like "find the number of customers in each dept". The GROUP BY statement is must be used with aggregate functions (COUNT, MAX, MIN, SUM, AVG) to group the result-set by one or more columns. GROUP BY Syntax

CREATE TABLE (MSSQL SERVER)

 CREATE TABLE (MSSQL SERVER) Create Table    keyword is used to create table in SQL server database.  for creating table following syntax required to follow.