Quantcast
Channel: Questions in topic: "distinct"
Viewing all articles
Browse latest Browse all 38

Basics question - Needs results to show distinct clients

$
0
0
V basic question I would like to ask: I have a list of clients with contract information in my 2008 express database. I am importing this information into map point but at the moment my results show all contract details for each customer where all I want to see is one result for each customer. Therefore I believe I need to use the DISTINCT function but I am not sure how to formulate the query for the following: SELECT [AccountName] ,[Postcode] ,[ContractID] ,[StartDate] ,[EndDate] ,[Telephone] ,[Contact] ,[ContactPhone] ,[Email] FROM [ClientData].[dbo].[CustomerContractData] Can anyone kindly help?

Viewing all articles
Browse latest Browse all 38

Trending Articles