Parameter | Data Type | Description |
|---|---|---|
1 | Any | The name of a column. |
2 | Any | The name of a lookup table |
3 | Boolean | The boolean expression over columns in a lookup table. |
Expression | Result |
|---|---|
SELECT ClientName | all client names taken from the first lookup table containing the column ClientName |
SELECT ClientName WHERE 'Head Office Country' Is "USA" | names of clients located in USA taken from the first lookup table containing the columns ClientName and 'Head Office Country' |
SELECT ClientName FROM LOOKUP Customer WHERE 'Head Office Country' Is "USA" And 'Customer Type' Is ClientType | names of clients located in USA taken from the Customer lookup table that match the value of the ClientType variable |
Parameter | Data Type | Description |
|---|---|---|
1 | Any* | The names of a list of columns. |
2 | Any | The name of the lookup table |
3 | Boolean | The boolean expression over columns in a lookup table. |
Expression | Result |
|---|---|
SELECT ClientID, ClientName | all client ids and names taken from the first lookup table containing the columns ClientID and ClientName |
SELECT ClientID, ClientName WHERE 'Head Office Country' Is "USA" | ids and names of clients located in USA taken from the first lookup table containing the columns ClientID, ClientName and 'Head Office Country' |
SELECT ClientID, ClientName FROM LOOKUP Customer WHERE 'Head Office Country' Is "USA" And 'Customer Type' Is ClientType | ids and names of clients located in USA taken from the Customer lookup table that match the value of the ClientType variable |