+ Reply to Thread
Results 1 to 4 of 4

SQL Query language problem

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    Tallahassee, FL
    MS-Off Ver
    Excel 2010
    Posts
    98

    SQL Query language problem

    Ok, I am trying to figure out how to pull a query that includes all data from several different databases.

    Here is the language I have written so far:
    Please Login or Register  to view this content.
    The problem is, it is only pulling records that exist in all three databases. When I yank out the last month, it adds more records than previous. When I pull only the first month's records, it gives even more records from the July database than it did pulling all three months.

    I do not know how to write the language to tell it to pull ALL data, regardless if whether it exists in the other months. I presume I am missing something or did something wrong so I was wondering if someone would help educating me.
    Last edited by Phixer; 06-25-2014 at 02:20 PM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: SQL Query language problem

    What database are you using?

  3. #3
    Registered User
    Join Date
    04-10-2014
    Location
    Tallahassee, FL
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: SQL Query language problem

    Oracle Database

    Pulling data into Excel using Microsoft Query.

  4. #4
    Registered User
    Join Date
    04-10-2014
    Location
    Tallahassee, FL
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: SQL Query language problem

    I think I have the problem solved.

    Instead of WHERE, I should use HAVING. That seemed to fix it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Query language problem
    By Phixer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2014, 08:35 AM
  2. Language problem
    By magnum206 in forum Excel General
    Replies: 5
    Last Post: 06-04-2011, 08:11 AM
  3. Language problem
    By Molecheese in forum Excel General
    Replies: 1
    Last Post: 05-11-2009, 04:08 PM
  4. Change query dialog-box language?
    By Alexander [email protected] in forum Excel General
    Replies: 2
    Last Post: 01-11-2006, 01:40 PM
  5. Problem with Language
    By Robert57 in forum Excel General
    Replies: 10
    Last Post: 12-23-2005, 06:25 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1