Тёмный

Combine Multiple Rows into One Cell Using SQL 

Anthony Smoak
Подписаться 24 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@raymondto1003
@raymondto1003 2 дня назад
Thanks Anthony, your video is super helpful and very clear explain. Super like! Cheers!
@AnthonySmoak
@AnthonySmoak 7 часов назад
Thank you!
@SP-fc9bx
@SP-fc9bx 6 месяцев назад
You rock. SQL is so fun. I'm always learning something new. Thank you and thank everyone for sharing.
@AnthonySmoak
@AnthonySmoak 6 месяцев назад
Thanks for the comment!
@AnthonySmoak
@AnthonySmoak 6 месяцев назад
You rock for sharing this comment!
@LovelyJordy
@LovelyJordy 2 года назад
Thank you Anthony. I’m learning SQL, Tableau, and Python right now and your videos are so helpful!❤
@AnthonySmoak
@AnthonySmoak 2 года назад
Thank you for sharing this comment Jordan!
@balogunvincent201
@balogunvincent201 6 месяцев назад
This was really a great help for me
@AnthonySmoak
@AnthonySmoak 6 месяцев назад
Glad to hear it!
@hasanmougharbel8030
@hasanmougharbel8030 2 года назад
hello there, god bless your efforts..I have a simple enquiry as new sql learner. How are CTEs different from temporary tables? Thanks for taking care of this.
@AnthonySmoak
@AnthonySmoak 2 года назад
Great question. There are many differences but the biggest difference is that the CTE has to be used in the current query scope (re-execute the CTE code everytime you want to include those results). The temp table will exist for the entire duration of your session and does not need to be re-executed everytime you want to reference its results.
@lawrancegana6639
@lawrancegana6639 Год назад
Is it work for oracle sql as well?
@AnthonySmoak
@AnthonySmoak Год назад
I believe Oracle has a string aggregate function. You may have to tweak the code a bit. Give it a try and let us know.
@aafreensultana1835
@aafreensultana1835 Год назад
Will this work if i have it in views and there are alot of inner joins ?
@AnthonySmoak
@AnthonySmoak Год назад
The function should work against a view.
@MrSparkefrostie
@MrSparkefrostie Год назад
Do you perhaps know how to reverse this, i have a row with all the emails linked to the project in one cell separated by a ; i need to have all those emails listed each in a row and the project they dealt with
@AnthonySmoak
@AnthonySmoak Год назад
Try to experiment with the PARSENAME function in TSQL. The limitation may be that you need to know the project with the max number of emails, so you can repeat the PARSENAME function that many times. www.mssqltips.com/sqlservertip/6321/split-delimited-string-into-columns-in-sql-server-with-parsename/
@MrSparkefrostie
@MrSparkefrostie Год назад
@@AnthonySmoak thank you, I managed to find string_split
@AnthonySmoak
@AnthonySmoak Год назад
Ok great. I was thinking you needed each value as a new column instead of a row. String Split should work. 👍🏽
@uc7602
@uc7602 Год назад
Great video. One suggestion... please consider either lowering or omitting the background music because I found it a bit distracting. Thank you, Anthony.
Далее
Passing Parameter Values from Excel to SQL Server
21:47
ТЕСЛА КИБЕРТРАК x WYLSACOM / РАЗГОН
1:40:47
What’s your height?🩷🙀💚
00:59
Просмотров 4,3 млн
Learn GROUP BY vs PARTITION BY in SQL
14:03
Просмотров 38 тыс.
Solving SQL Query | Rows to Column in SQL
1:13:11
Просмотров 174 тыс.
SQL Tutorial - PIVOT
13:11
Просмотров 129 тыс.
Use Excel to Connect to SQL Server Data
13:51
Просмотров 111 тыс.
SubTotals with SQL using ROLLUP
7:06
Просмотров 10 тыс.
ТЕСЛА КИБЕРТРАК x WYLSACOM / РАЗГОН
1:40:47