mzza
Board Regular
- Joined
- Nov 8, 2006
- Messages
- 55
Hi,
I am trying to write a query which will select only records from a table where "USER_ID" = "21", but I want the results of this query to display "Birmingham" instead of "21". Is there a way to do this (without a lookup table)? I have tried the following:
<tbody>
</tbody>
... but it returns no data (presumably because it is evaluating for "21" AFTER applying the AS clause to show all USER_IDs as "Birmingham" (??)
I'm probably doing something really noobish here...
I am trying to write a query which will select only records from a table where "USER_ID" = "21", but I want the results of this query to display "Birmingham" instead of "21". Is there a way to do this (without a lookup table)? I have tried the following:
Field: | USER_ID: "Birmingham" |
Table: | tbl_Sales |
Total: | Group By |
Sort: | |
Show: | Y |
Criteria: | "21" |
<tbody>
</tbody>
... but it returns no data (presumably because it is evaluating for "21" AFTER applying the AS clause to show all USER_IDs as "Birmingham" (??)
I'm probably doing something really noobish here...