Re: hi sir urgent..required a Query

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: hi sir urgent..required a Query
Дата
Msg-id 200404100816.40650.josh@agliodbs.com
обсуждение исходный текст
Ответ на hi sir urgent..required a Query  ("Rajeev Chaudhary, Noida" <rajeevc@noida.hcltech.com>)
Список pgsql-sql
Rajeev,

> I am attaching a document with this file showing two table.. <<table_for_
> you.doc>>
>
> It consist of two table VALUE AND VALUE_TYPE..
>
> when i have value_type_id=1 i must get Value_varchar column value
>
> when i have value_type_id=2 i must get Value_int column value
> Please send a SQL query for this...

Please re-post this with your table design in the body of your e-mail, and NO 
doc attachment.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


В списке pgsql-sql по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Counting rows from two tables in one query
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: setting a non-standard date format for the duration of a session