HighDots Forums  

Select Unique Records

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Select Unique Records in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
NEWS
 
Posts: n/a

Default Select Unique Records - 09-12-2005 , 07:16 PM






I have a table that has a bunch of fields. One of the fields is title. There
is an author field as well as others. Two authors wrote one of the titles. I
want to have a record for both the authors with the same title. The problem
I want to be able to have a page that lists Only unique titles with other
fields for the record. When I use SELECT Distinct publications.TITLE from
publications I only get the Title field to display. Is there a way to select
Distinct title, but also to display all other fields for that record.

Thanks



Reply With Quote
  #2  
Old   
bregent
 
Posts: n/a

Default Re: Select Unique Records - 09-13-2005 , 12:34 AM






In article <G%nVe.473285$5V4.354868@pd7tw3no>, NEWS says...
Quote:
I have a table that has a bunch of fields. One of the fields is title. There
is an author field as well as others. Two authors wrote one of the titles. I
want to have a record for both the authors with the same title. The problem
I want to be able to have a page that lists Only unique titles with other
fields for the record. When I use SELECT Distinct publications.TITLE from
publications I only get the Title field to display. Is there a way to select
Distinct title, but also to display all other fields for that record.
Sure, just include all of the fields you want in your select statement.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.