www.bolidesoft.com Forum Index www.bolidesoft.com
Bolide Software
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

 
 
[Bolide Software Home] [All My Movies™ page] [All My Books™ page] [Image Comparer™ page]
 


Access Database - SQL Help

 
Post new topic   Reply to topic    www.bolidesoft.com Forum Index -> All My Movies™ related
Author Message
Nynaevelan



Joined: 25 Jun 2009
Posts: 67

PostPosted: Thu Nov 12, 2009 1:18 pm    Post subject: Access Database - SQL Help Reply with quote

Hi Guys:

I need some SQL help with my movie database. I am trying to find a way to identify and remove records with duplicate genre's. I have the SQL statement that identifies the records with duplicates but I need a way for the SQL to identify the records without it showing the first record, in other words the records with the smallest GenreID. If you look at the statement can you see if it is possible to accomplish what I need? TIA

Code:
In (SELECT [MovieID] FROM [GenresLink] As Tmp GROUP BY [MovieID] HAVING Count(*)>1 )
Back to top
Nynaevelan



Joined: 25 Jun 2009
Posts: 67

PostPosted: Thu Nov 12, 2009 2:21 pm    Post subject: Reply with quote

Never mind I figured out how to do it with the Mass plugin.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    www.bolidesoft.com Forum Index -> All My Movies™ related All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group