ANSI SQL

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • customers in 2003, not 2004 (was "Help with (probably) simple query")

    1 answers - 330 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I have 2 tables showing customers from 2003 and 2004.
    They show customer number, customer name, and date attended.
    I need to show what customers came in 2003, but not in 2004 by name. Problem with the customer number is that some times the customers lose their cards and get new numbers.

    Any help is appreciated.
  • No.1 | | 156 bytes | |

    You will still have difference if also the name changed!
    But you could try:
    SELECT NAME FROM TAB2003
    MINUS
    SELECT NAME FROM TAB2004;
    ;)

Re: customers in 2003, not 2004 (was "Help with (probably) simple query")


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "ANSI SQL"

DATABASE TECH