help with Sql -distinct

Results 1 to 2 of 2

Thread: help with Sql -distinct

  1. #1
    Join Date
    Dec 1969

    Default help with Sql -distinct

    i wish to use the DISTINCT option with 2 fields using a single query.i&#039ve 2 fields "category"& "subcategory". i need to find out the distinct elements in each. Is that possible at all...<BR><BR>thanx in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: help with Sql -distinct

    try this:<BR><BR>Select DISTINCT category, subcategory from tablename<BR><BR>the result will eliminated the duplicate information with same category and subcategory.<BR><BR>good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts