Liveblog for #SQLBits X Day 1 Keynote
Welcome to the show! I’ll be liveblogging today’s keynote here at SQLBits X in London.
There’s no need to refresh your...
2012-03-30
1,617 reads
Welcome to the show! I’ll be liveblogging today’s keynote here at SQLBits X in London.
There’s no need to refresh your...
2012-03-30
1,617 reads
To mark my 31st Birthday today(gifts are of course most welcome) here’s a SQL Server Crossword for you to enjoy. You...
2012-03-21
978 reads
Last week the internet went crazy with the news of super cool new stuff for techies to play with.
If you’re...
2012-03-13
886 reads
Most people in your organisation, never mind everyone else, have no real clue as to what it is you do.
It’s...
2012-03-05
1,653 reads
It’s that time of the month again, no not that one, it’s T-SQL Tuesday time and this weeks topic is...
2012-02-29
4,749 reads
Writing a CV that rocks is not an art. It just requires some planning and an understanding of what you...
2012-02-24 (first published: 2012-02-21)
3,613 reads
Knowing precisely how to start on your next adventure is tricky. With so many options and decisions in front of...
2012-02-17 (first published: 2012-02-13)
2,328 reads
It’s late, really late and you’ve got a mountain of work to get through to meet the deadline. To add...
2012-02-06
985 reads
Knowing precisely how to start on your next adventure is tricky. With so many options and decisions in front of...
2012-02-01
1,071 reads
Knowing precisely how to start on your next adventure is tricky. With so many options and decisions in front of...
2012-01-31
2,142 reads
If you've ever loaded a 2 GB CSV into pandas just to run a...
By James Serra
What problem is Fabric Ontology trying to solve? For years, most data conversations have...
By Steve Jones
Recently I ran across some code that used a lot of QUOTENAME() calls. A...
Comments posted to this topic are about the item The New Software Team
Comments posted to this topic are about the item Database Mail in SQL Server...
Comments posted to this topic are about the item The string_agg function
We create the following table and then insert some records in it:
create table t1 ( id int primary key, category char(1) not null, product varchar(50) ); insert into t1 values (1, 'A', 'Product 1'), (2, 'A', 'Product 2'), (3, 'A', 'Product 3'), (4, 'B', 'Product 4'), (5, 'B', 'Product 5');What happens if we execute the following query in both Sql Server and PostgreSQL?
select id,
category,
string_agg(product, ';')
over (partition by category order by id
rows between unbounded preceding and unbounded following) as stragg
from t1; See possible answers