Advertisement

07.19.2008 at 04:56AM PDT, ID: 23578974
[x]
Attachment Details

WHAT IS SYNTAX FOR A SUBQUERY IN PERVASIVE SQL 2000

Asked by BIAPRO in SQL Query Syntax, Btrieve 4GL Database

Tags: pervasise, sql2000, syntax for a subquery

I have 2 tables, one contains orders one contains items,
in items I have a key  SUPPLIER  in  orders I have key ITEMNUMBER and CUSTOMERID

so every record in items has the keys  ITEMNUMBER and SUPPLIER active
and every record in orders has the keys  ITEMNUMBER and CUSTOMERID active

my needed query is to get in one call as sample
return all records from orders based on  key  'SUPPLIER=   'SONY' in items,  
and only for CUSTOMERID=  'JACK'

How to get this from the tables in one call?

    Start Free Trial
 
Loading Advertisement...
 
[+][-]07.19.2008 at 05:00AM PDT, ID: 22042252

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Query Syntax, Btrieve 4GL Database
Tags: pervasise, sql2000, syntax for a subquery
Sign Up Now!
Solution Provided By: TKorhan
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628