| От | Imtiaz. S. M |
|---|---|
| Тема | SQL Problem |
| Дата | |
| Msg-id | 381829A7.67949B14@yahoo.com обсуждение исходный текст |
| Ответы |
Re: [SQL] SQL Problem
|
| Список | pgsql-sql |
I have two tables which have exactly the same structure. Both of them have one datetime column along with three other columns. But the datetime column value in the second table is NULL for all the rows. Now I want select the least date(date with the least value in the datetime column) from the first table and update all the rows in the second table with this least date value from the first table. I do not want to use any compiler or host variables. I should be able to do this only using SQL statements. Cn somebody please help me? Thanks in advance. regards Imtiaz
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера