I can't seem to see what is wrong with this query.  I added the WHERE 
line and it comes up with no records returned.  Without the WHERE, it 
comes up with two records, but one of them has publication_type as an 
empty field.  I know there are records that aren't empty.  Here's the 
query:

<CFQUERY NAME="the_type" DATASOURCE="dpch">
    select publication_type
    from publications
    where publication_type !=''
    group by publication_type
</CFQuery>

Here's a dump of the db:
http://hhp.umd.edu/dbf/publications/db_display.cfm


thanks!

-- 
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219486
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to