Re: Make one list from 2 unique quiries



Select Column1 as Fruit from table 1
union
Select Column2 as Fruit from table 1


(might have to try a Union ALL and look at select distinct, btu this shoudl
work)


"stickandrock" <stickandrock@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:539727CA-975C-4AFF-B5D6-00EA03137D2E@xxxxxxxxxxxxxxxx
>I have 2 columns that I want to return a single list of unique values.
>
> I'm using the query in a combobox of a form.
>
> example
>
> Table 1
> Column 1
> apple
> pear
> peach
>
> Table 1
> Column 2
> apple
> grapes
> orange
> pear
>
> I want to return one list that would be...
> apple
> grapes
> pear
> peach
> orange
>
> thank you in advance for any input....


.



Relevant Pages

  • Re: Flystrike is here
    ... tree of each variety and draw your net widely. ... pear, plums, damson, cherry, medlars and the old fruit types. ... ISTR pollination is an issue with fruit trees. ... There is a *William Lamb* apple produced by one of my forebears but I wouldn't recommend it. ...
    (uk.business.agriculture)
  • The World of Fruit Labels
    ... The web's first fruit label site. ... 4015 Cape Late Top Red [apple] ... 4173 Copefrut ROYAL GALA [apple] ... 4408 Asian Pear ...
    (rec.gardens)
  • Re: [opensuse] question about zypper dup
    ... Similar if a pear can be compared to apples.. ... Malus is a genus in the subfamily Maloideae (a subfamily of ... and apple species are so similar in shape and color of the fruit that you ...
    (SuSE)
  • Re: counting word occurances
    ... Well, assuming @foo contains the list of fruit, then ...
    (comp.lang.perl)
  • Re: 7-Foot Robot Used in Black Sea Expedition
    ... I know well that the fruit ... > involved was not an apple, yet it is called an apple, and was ... > reliefs of the Goddess of the Water Tresses, ... >> the Snake, ...
    (sci.archaeology)