Quantcast
Viewing all articles
Browse latest Browse all 10045

Dataset Question

Hi

I have a few dataset columns, all the same columns returned, the difference being the WHERE clause, which has different values set. So for example;

Dataset A is WHERE Location = London

Dataset B is WHERE Location = Newcastle

Other than the WHERE clause, they are exactly the same.

Being new on the SQL front, can I write ONE sql query to achieve this? So look at Location, and basically create a field called London to put in my SSRS table, and a field called Newcastle as well. Almost like this;

Select location where london AS LONDON BASE

Select location where newcastle AS NEWCASTLE BASE

in one query....???

Prob simples - I just cant work out how.


Viewing all articles
Browse latest Browse all 10045

Trending Articles