T-SQL Tuesday #35 – Soylent Green
This month’s host is Nick Haslam (b | t) and he bases his question on the movie Soylent Green, which I...
2012-10-09
970 reads
This month’s host is Nick Haslam (b | t) and he bases his question on the movie Soylent Green, which I...
2012-10-09
970 reads
Colorado Springs SQL Server Chapter
Date: October 17 at 5:30 pm
Location: Hyatt Place - Garden of the Gods, 503 West Garden of...
2012-10-08
694 reads
My friend Richard Salogub is heading up this years Give Camp Orlando, an effort to link developers and IT professionals...
2012-10-08
771 reads
Throughout the week, I like to tweet links to the things that I’ve been reading. Since they all come out...
2012-10-08
734 reads
I was approached with a unique problem to solve; find out who has what permissions on my Database Servers. This...
2012-10-08
453 reads
Come and join me live in London this coming December where I will be presenting Learning Tree’s2109 SQL Server Virtualization...
2012-10-08
835 reads
I was just answering an email and realized I’m behind on posting on a few topics, one of them the...
2012-10-08
929 reads
Last week I received this comment/question from one of my fabulous First Timers:
I have a good natured question coming from...
2012-10-08
734 reads
Tonight, October 8th at 6:30pm I am virtually speaking at the OKC SQL Server User Group. I had a blast...
2012-10-08
546 reads
The Omaha SQL Server Users Group meeting for October is coming up this Tuesday, and the coordinators have prepared a...
2012-10-08
444 reads
By Vinay Thakur
In previous posts, we looked at the SQL Server engine. for us DBAs, the...
By Arun Sirpal
You have used Claude. But which Claude? The Claude app (claude.ai, the desktop and...
By Steve Jones
This month we have a new host, Meagan Longoria, who graciously agreed to help...
WhatsApp:0817866887 Jl. Muara Karang Timur, Blok B VIII No.116-117, Daerah Khusus Ibukota Jakarta 14450
WhatsApp:0817866887 Gedung Taman Melati Margonda Jl. Margonda No.525 A, Pondok Cina, Kecamatan Beji, Kota...
WhatsApp:0817866887 Jl. Margonda Raya No.182, Kemiri Muka, Kecamatan Beji, Kota Depok, Jawa Barat 16423
I have this data in a table called dbo.NFLTeams
TeamID TeamName City YearEstablished ------ -------- ---- --------------- 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960 5 49ers San Francisco 1946 6 Broncos Denver 1960 7 Seahawks Seattle 1976 8 Patriots New England 1960If I run this code, how many rows are returned?
SELECT YearEstablished, json_objectagg(city : TeamName) FROM dbo.NFLTeams GROUP BY YearEstablished;See possible answers