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,088 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,088 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
863 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
Every organization I talk to has the same problem dressed up in different clothes....
By DataOnWheels
I am delighted to host this month’s T-SQL Tuesday invitation. If you are new...
By alevyinroc
Ten years (and a couple jobs) ago, I wrote about naming default constraints to...
Comments posted to this topic are about the item The day-to-day pressures of a...
Comments posted to this topic are about the item Using OPENJSON
Comments posted to this topic are about the item Data Modeling with dbt for...
I have some data in a table that looks like this:
BeerID BeerName brewer beerdescription 1 Becks Interbrew Beck's is a German-style pilsner beer 2 Fat Tire New Belgium Toasty malt, gentle sweetness, flash of fresh hop bitterness. 3 Mac n Jacks Mac & Jack's Brewery This beer erupts with a floral, hoppy taste 4 Alaskan Amber Alaskan Brewing Alaskan Brewing Amber Ale is an "alt" style beer 8 Kirin Kirin Brewing Kirin Ichiban is a Lager-type beerIf I run this, what is returned?
select t1.key
from openjson((select t.* FROM Beer AS t for json path)) t1 See possible answers