Author Topic: Multiple select operation  (Read 499 times)

0 Members and 1 Guest are viewing this topic.

syntencoist

  • Member
  • Posts: 7
    • View Profile
Multiple select operation
« on: September 01, 2010, 02:26:37 PM »
I just need a real simple command that looks up multiple tables/files using a sort/select operation (-v parameter)

the mysql equivalent would be
select a.id, b.id
from tablea a, tableb b
where a.id = b.id

Ray_Scheel

  • Member
  • Posts: 3
    • View Profile
    • Scheel Media Solutions
Re: Multiple select operation
« Reply #1 on: October 06, 2010, 11:18:14 AM »
Presuming that you are running the -v on table.a and that tableb:index.A is based on tableb:id:

   :If:
Then: id=[tablea:field number of id]
   :If:
Then: lookup table_b = tableb k=id i=A -nx
   :If: not table_b
Then: end   '/# id not found in tableb