View Single Post
  #4 (permalink)  
Old 09-02-10, 14:18
ozzii ozzii is offline
Registered User
 
Join Date: Mar 2007
Posts: 194
Quote:
Originally Posted by blindman View Post
What constitutes a distinct record? You have a surrogate ID, so there should not be any duplicates. What is the natural key for your table?
Natural key is id but i want to work out average on the ticket_id of which there can be duplicates.
Reply With Quote