1
update aamonday_day  
   set ONE = (select count(*) 
                from aday3import 
               where first= 1 
                 and day_of_the_week like 'MON%') 

行は更新されません

ただし、このコマンドを実行すると:

select count(*) 
  from aday3import 
  where first= 1 
    and day_of_the_week like 'MON%'

カウントは71です

aamondayテーブルフィールド ONE を 71 で更新したい

4

1 に答える 1