Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL
Message
From
16/11/2009 20:07:39
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
SQL
Environment versions
Environment:
C# 3.0
Database:
MS SQL Server
Miscellaneous
Thread ID:
01435087
Message ID:
01435087
Views:
117
Hi All,

I have 5 tables all with the same fields, one of which is the date. I want to write a query that will return a single row for each date that contains the values of all the other fields in each table. I have tried using the distinct key word in my select statement, but it only seem to work on a single column.

What I get is multiple rows for each date, with some columns having a null value.

Does anyone have any ides how to accomplish the seeming simple task?

Thanks,

Jim
Next
Reply
Map
View

Click here to load this message in the networking platform