SQL Geek

Blog Post

Azure Storage Account

This blog post aims to provide an overview of Azure Storage Accounts. It will explain how to create them and use them effectively. Azure Storage Account Azure Storage Account...

2023-05-19 (first published: )

464 reads

Blog Post

Azure Resource Group

What is Azure Resource Group? Azure Resource Group is a powerful feature that enables effective organization and management of resources in the Azure cloud. A Resource Group is a...

2023-05-01

123 reads

Blog Post

What Is Azure Data Factory?

What Is Azure Data Factory? Azure Data Factory (ADF) is a cloud-based PaaS data integration solution that provides a fully managed, serverless environment for ingesting, preparing, and transforming your...

2023-05-08 (first published: )

703 reads

Blogs

The Agent Era: When “How do I…?” Replaces “Where do I click?”

By

After a year away getting to grips with AI and its application across the...

Beware of Generic SQL Server License Keys (What to Use Instead)

By

Beware of Generic SQL Server License Keys (What to Use Instead) ...

On Speaking Well

By

Professor Patrick Winston of MIT used to give a one-hour talk about how to...

Read the latest Blogs

Forums

Creating a JSON Document II

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Creating a JSON Document II

Backing Up Azure Key Vault EKM Key: Stairway to TDE Level 6

By VishnuGupthanSQLPowershellDBA

Comments posted to this topic are about the item Backing Up Azure Key Vault...

Every Database Has Problems

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Every Database Has Problems

Visit the forum

Question of the Day

Creating a JSON Document II

I want to create a JSON document that contains data from this table:

TeamID TeamNameCity         YearEstablished
1      Cowboys  Dallas       1960
2      Eagles   Philadelphia 1933
3      Packers  Green Bay    1919
4      Chiefs   Kansas City  1960
If I run this code, what document(s) is/are returned?
SELECT json_objectagg( n.city : n.TeamName)
FROM dbo.NFLTeams;

See possible answers