Subject | Re: [ib-support] Help |
---|---|
Author | Arno Brinkman |
Post date | 2002-07-25T21:13:13Z |
Hi,
and a field Description varchar(35).
Fill this table with :
SELECT
o.OrderNumber,
st.Description
FROM
Orders o
JOIN StatusTypes st ON (st.StatusType = o.Status)
Regards,
Arno
> I have other problem.Create for example a table StatusTypes with Primary Key StatusType Char(1)
>
> In a table I have a column named status type char(1).
>
> I need a statement to show the records based on this table:
and a field Description varchar(35).
Fill this table with :
> 0 - No CheckedJOIN this table in your SQL statement like :
> 1 - Checked
> 3 - Returned
> 4 - Cancelled
> ....9
SELECT
o.OrderNumber,
st.Description
FROM
Orders o
JOIN StatusTypes st ON (st.StatusType = o.Status)
Regards,
Arno