13f69 Duplicate in query
Sign Up |  Live StatsLive Stats    Articles 37,330| Comments 177,232| Members 19,409, Newest tanu sandhu| Online 499
Home Contact
 (Forgotten?): 
    Ishmeet Singh - First Voice of India 2008 Winner
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Duplicate in query

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Query Duplicate Records & Dates sgyvln Information Technology 2 28-Jul-2006 08:32 AM
message box on duplicate value gopi Information Technology 5 28-Jul-2006 08:30 AM
No duplicate list pechoi@syr.edu Information Technology 2 28-Jul-2006 08:29 AM
Duplicate entries tanhus Information Technology 7 28-Jul-2006 08:15 AM
Duplicate records in a subform Barry Information Technology 10 10-Nov-2005 21:08 PM


Tags
duplicate, query
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:17 AM
Levans digital's Avatar Levans digital
Guest
 
Posts: n/a
   
   
Duplicate in query

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Hello,

I joined two query by autonumber ID's

One query has 4 record and the other has 6 records. However on joining them
I get 24 records this amount is due to duplicates what might be causing this.
All that I want is the related fields from that query.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10927-duplicate-in-query.html
I tried to groups the records in the query with the hope of only getting the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10927
six records from the primary query with related fields from the secondary
query the the "group by" does not work.

help?

*







Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:17 AM
MH's Avatar MH
Guest
 
Posts: n/a
   
   
Re: Duplicate in query

4 * 6 = 24

What you have there is a cartesian product! i.e. all records from one table
joined to all the records in the other table.

Specify some kind of join in your query, are you using the design grid to
produce your query? Drag the Primary Key from one table to the Foriegn Key
in the other table and then run the query.

MH

"Levans digital" wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10927
news:B1E31BBD-0CD8-4FA6-AFE3-C0B64393C9D7@microsoft.com...
> Hello,
>
> I joined two query by autonumber ID's
>
> One query has 4 record and the other has 6 records. However on joining
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10927
> them
> I get 24 records this amount is due to duplicates what might be causing
> this.
> All that I want is the related fields from that query.
>
> I tried to groups the records in the query with the hope of only getting
> the
> six records from the primary query with related fields from the secondary
> query the the "group by" does not work.
>
> help?



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:17 AM
Jerry Whittle's Avatar Jerry Whittle
Guest
 
Posts: n/a
   
   
RE: Duplicate in query

  Donate Today!  
There's only one practical way for us to know: Show us the SQL. Open the
query in SQL view and copy and past it here. Information on primary keys and
relationships would be a nice touch too.

However since 4 * 6 = 24, it sure looks like a Cartesian join. Are you sure
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10927
that the two tables are joined? Is there a black line between the two tables
in the QBE grid?
--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Levans digital" wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10927

> Hello,
>
> I joined two query by autonumber ID's
>
> One query has 4 record and the other has 6 records. However on joining them
> I get 24 records this amount is due to duplicates what might be causing this.
> All that I want is the related fields from that query.
>
> I tried to groups the records in the query with the hope of only getting the
> six records from the primary query with related fields from the secondary
> query the the "group by" does not work.
>
> help?

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Man Driving Without...
Today 00:28 AM
3 Replies, 70 Views
Do you believe in...
Today 00:25 AM
192 Replies, 4,006 Views
Keeping Amrit Vela
Yesterday 23:38 PM
10 Replies, 850 Views
How does Sikhi help you...
Yesterday 22:54 PM
22 Replies, 875 Views
Losing My Religion: Why...
Yesterday 22:18 PM
12 Replies, 278 Views
Request for assistance...
Yesterday 21:53 PM
5 Replies, 48 Views
Panjabi
By Ishna
Yesterday 17:56 PM
12 Replies, 260 Views
Parkash Guru Amar Das ji...
Yesterday 17:07 PM
3 Replies, 33 Views
Serious challenges to...
Yesterday 16:49 PM
0 Replies, 66 Views
Sikh man fights for his...
Yesterday 16:46 PM
0 Replies, 62 Views
Sikhs Rights Group to...
Yesterday 16:44 PM
0 Replies, 39 Views
Haryana Sikh body bans...
Yesterday 16:39 PM
0 Replies, 42 Views
Health Exercise And...
Yesterday 13:30 PM
0 Replies, 55 Views
SSGS with English...
Yesterday 12:55 PM
9 Replies, 120 Views
Rozana Reports (ਪੰਜਾਬੀ...
Yesterday 01:44 AM
310 Replies, 7,560 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 01:21 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.69011 seconds with 32 queries
0