The effects of DISTINCT in a SQL query
Earlier today, I had a great Twitter conversation with Tim Mitchell (@Tim_Mitchell), Jorge Segarra (@SQLChicken), and Jack Corbett (@unclebiguns) about...
2009-07-24
2,129 reads
Earlier today, I had a great Twitter conversation with Tim Mitchell (@Tim_Mitchell), Jorge Segarra (@SQLChicken), and Jack Corbett (@unclebiguns) about...
2009-07-24
2,129 reads
Found The Candy Bombers: The Untold Story of the Berlin Airlift and America's Finest Hour by Andrei Cherny ($20 @ Amazon) ...
2009-07-23
545 reads
I'm searching for a new laptop bag. After getting a backpack from Microsoft and using it on a few trips,...
2009-07-23
867 reads
They rarely happen, just a few in my lifetime, and I saw a portion of one years ago in a...
2009-07-23
628 reads
Going to the PASS Summit this November? Let's fast forward and pretend it's November 2. You've made it to Seattle...
2009-07-23
515 reads
For those that are new to SSIS, using expressions may seem very foreign and unpleasant. Not only is it a...
2009-07-23
864 reads
There have been so many reports and debates about the Kindle debacle in the news. I saw an interesting one...
2009-07-23
1,227 reads
Apparently PC repair people have learned a few things from auto mechanics of the past. A news group in the...
2009-07-23
622 reads
When I first heard about database mirroring in 2004, I was excited. Here was a great new feature that would...
2009-07-22
4,382 reads
This month I’m featuring Glenn Berry, a Denver based MVP that writes Glenn Berry's SQL Server Performance blog. He blogs...
2009-07-22
726 reads
It's time for T-SQL Tuesday #198! This month's topic is change detection. The post T-SQL...
By James Serra
Model Context Protocol, or MCP, is one of those technical ideas that sounds more...
When starting with AWS RDS Aurora for managing relational databases in the cloud, many...
Jl. Boulevard Raya No.14 Blok RA-1, RW.15, Klp. Gading Tim., Kec. Klp. Gading, Jkt...
Jl. Plumpang Semper No. 02 RT 010/002, Daerah Khusus Ibukota Jakarta 14260
Gg. 21 dan 22 No.1, Pademangan Tim., Kec. Pademangan, Jkt Utara, Daerah Khusus Ibukota...
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 TOP 2
json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;
See possible answers