MDX Puzzle #1
MDX Puzzle #1
Recently, I embarked on a mission to become proficient at writing MDX queries. This is a challenge, as...
2010-06-22
683 reads
MDX Puzzle #1
Recently, I embarked on a mission to become proficient at writing MDX queries. This is a challenge, as...
2010-06-22
683 reads
Register: Click Here
Submitted Sessions: Click Here
Twitter: @SQLSatBR
On August 14, 2010 at Louisiana State University SQL Saturday #28 will be held. ...
2010-06-22
503 reads
Microsoft, has published things that can be very useful, in this case for the SQL Server users. They announced the...
2010-06-22
3,721 reads
Time and time again I have run into the scenario where a developer who is moving into using databases is...
2010-06-22
711 reads
I hope you’ve seen the note from Andy Warren (Blog | Twitter) on a PASS Spring Event, and there’s another writeup...
2010-06-22
1,129 reads
I just had my second article published on June 14, 2010 at SQLServerCentral. I will be posting a follow-up to...
2010-06-22
995 reads
Recently I was installing Windows Server 2008 R2 Enterprise Edition onto a virtual machine (VM) I was setting up to...
2010-06-22
2,310 reads
The combined Microsoft BI Conference and TechEd in New Orleans last week was a great
experience. The shear magnitude of the...
2010-06-21
1,161 reads
Some of the best extensions for Integration Services (and SQL Server itself) are found in what Microsoft has released as...
2010-06-21
2,065 reads
Well the World Cup is now half way through, 32 games played, 32 games to go. The talk here in...
2010-06-21
493 reads
By Steve Jones
This month we have a new host, Meagan Longoria, who graciously agreed to help...
By Steve Jones
I’m at the UK Redgate office today, meeting with senior leaders in all areas...
Optimizing Azure SQL Database performance often begins with identifying the most resource-intensive queries. Understanding...
I’ve been learning more about the google knowledge panel and it seems like one...
I’m currently researching the best wireless credit card terminal for a growing business and...
Comments posted to this topic are about the item Creating a JSON Document IV
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