how to Update table Sales_summary with max(sales) data from
table sales_dataTable 1. sales_data table Table 2.
Sales_summary
Region sales Region sales
N 500 N 0
N 800 W 0
N 600
W 899
W 458
W 900
I want the Sales_summary After Update like this
Region Sales
N 800
W 900
Answer Posted / keerthi
update Sales_summary
set Sales=(select max(Sales)from Sales_data where
Region=®ion) where Region=®ion;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
List and explain the different types of join clauses supported in ansi-standard sql?
What is normalization? How many normalization forms are there?
How does one load ebcdic data? : aql loader
How you can copy a file to file content and file to pl/sql table in advance pl/sql?
How do you modify a column in sql?
What is dynamic query?
How to use sql*plus built-in timers?
What is a database event trigger?
Is left join faster than inner join?
What are the benefits of pl sql?
How do I pipe the output of one isql to another?
Why having clause is used in sql?
Explain the order of sql statement execution?
What is the best partition size for windows 10?
What is pl sql architecture?