Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 830333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:01:39+00:00 2026-05-15T04:01:39+00:00

I wrote the following query, I think it’s correct but I have a missing

  • 0

I wrote the following query, I think it’s correct but I have a “missing operator” error.

SELECT * FROM results,Types WHERE results.a=Types.b  
INTERSECT  SELECT * FROM results,Types WHERE results.c=Types.b

Could somebody help me please?

Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:01:39+00:00Added an answer on May 15, 2026 at 4:01 am

    What database are you using? Are you sure that intersect is supported? I tried your query on Oracle (changing the table names to something corresponding to my DB) and it worked ok.

    EDIT:
    Since you confirmed you are using MS-Access, then it’s clear that INTERSECT is the problem since it’s not supported with MS-Access: http://www.access-programmers.co.uk/forums/archive/index.php/t-86531.html

    EDIT2:
    This is untested, but the basic idea is that you need to find all rows in your first query that exist in your second query. To do that, you will have to compare every column between the 2 queries for a match, as all the columns must match for it to be an “intersected” row.

    There may be some syntax issues, but hopefully this gets you started.

    SELECT r.col1
         , t.col1
         /* list all other columns here */
      FROM results r
         , types t
     WHERE r.a = t.b
     AND EXISTS (
         SELECT *
           FROM results r2
              , types   t2
          WHERE r2.c = t2.b
            AND NZ(r.col1,0) = NZ(r2.col1,0)
            AND NZ(t.col1,0) = NZ(t2.col1,0)
            /* list other columns here, they all need to match so intersection will work */
     )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following query: SELECT `pokemon_moves`.`pokemon_move_method_id`, `pokemon_moves`.`level`, `move`.`id`, `move`.`name` FROM `pokemon_moves` LEFT OUTER
having major issues with my query processing time :( i think it is because
Let's say I have the following data in a decimal (18,9) identity column in
We have a table with 6 million records, and then we have a SQL
If I load an SWF with a query string at the end, like: object.swf?this=that
I've just had a massive *blonde moment** , but it's highlighted an annoyance I
I think my question is best explained via an example: Suppose I want to
So imagine you have multiple tables in your database each with it's own structure
Im learning Spring (2 and 3) and i got this method in a ClientDao
I am attempting to dynamically build up an expression tree so that I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.