- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
KPMG SQL Interview Question | Advanced SQL Interview Question | SQL Interview Question no 13
In this video, we have talked about the aggregate function String aggregate function in SQL server.
The STRING_AGG function in SQL Server is a powerful tool that lets you concatenate or join strings from multiple rows into a single result, making it easier to format data for reports, exports, or displays. With STRING_AGG, you can specify a separator between values, like a comma or hyphen, which is ideal for creating lists or summaries. This function is handy when dealing with large datasets and can simplify grouping data into a single, readable format. Introduced in SQL Server 2017, STRING_AGG helps streamline queries that previously required complex workarounds or XML path methods for concatenation.
.
.
.
.
#SQL #SQLInterviewQuestions #LearnSQL #DataAnalysis #SQLQuery #InterviewTips #Database #Programming
.
.
.
--------------------------CREATE TABLE SCRIPT------------------------------------------
create table support_(name varchar(20), address varchar(20), email varchar(50), floor_ int, resources varchar(20) )
insert into support_ values ('A','BANGALORE','A@GMAIL.COM',1,'CPU')
insert into support_ values ('A','BANGALORE','A1@GMAIL.COM',1,'CPU')
insert into support_ values ('A','BANGALORE','A2@GMAIL.COM',2,'DESKTOP')
insert into support_ values ('B','BANGALORE','B@GMAIL.COM',2,'DESKTOP')
insert into support_ values ('B','BANGALORE','B1@GMAIL.COM',2,'DESKTOP')
insert into support_ values ('B','BANGALORE','B2@GMAIL.COM',1,'MONITOR')
Видео KPMG SQL Interview Question | Advanced SQL Interview Question | SQL Interview Question no 13 канала The Data -Tech Club
The STRING_AGG function in SQL Server is a powerful tool that lets you concatenate or join strings from multiple rows into a single result, making it easier to format data for reports, exports, or displays. With STRING_AGG, you can specify a separator between values, like a comma or hyphen, which is ideal for creating lists or summaries. This function is handy when dealing with large datasets and can simplify grouping data into a single, readable format. Introduced in SQL Server 2017, STRING_AGG helps streamline queries that previously required complex workarounds or XML path methods for concatenation.
.
.
.
.
#SQL #SQLInterviewQuestions #LearnSQL #DataAnalysis #SQLQuery #InterviewTips #Database #Programming
.
.
.
--------------------------CREATE TABLE SCRIPT------------------------------------------
create table support_(name varchar(20), address varchar(20), email varchar(50), floor_ int, resources varchar(20) )
insert into support_ values ('A','BANGALORE','A@GMAIL.COM',1,'CPU')
insert into support_ values ('A','BANGALORE','A1@GMAIL.COM',1,'CPU')
insert into support_ values ('A','BANGALORE','A2@GMAIL.COM',2,'DESKTOP')
insert into support_ values ('B','BANGALORE','B@GMAIL.COM',2,'DESKTOP')
insert into support_ values ('B','BANGALORE','B1@GMAIL.COM',2,'DESKTOP')
insert into support_ values ('B','BANGALORE','B2@GMAIL.COM',1,'MONITOR')
Видео KPMG SQL Interview Question | Advanced SQL Interview Question | SQL Interview Question no 13 канала The Data -Tech Club
Комментарии отсутствуют
Информация о видео
26 октября 2024 г. 0:13:21
00:08:25
Другие видео канала




















