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 / rm

The question is to Fetch max(sales) from sales_data
and with this value update the sales column
in the sales_summary table.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is example of database?

612


Does pdo prevent sql injection?

607


How do I save a stored procedure?

617


What is trigger types of trigger?

626


Which software is used for pl sql programming?

608






what are the advantages and disadvantages of cascading style sheets? : Sql dba

666


Can we create view in stored procedure?

607


What is difference between left and right outer join?

624


how to drop an existing view in mysql? : Sql dba

693


write an sql query to find names of employee start with 'a'? : Sql dba

675


Explain the structure of pl/sql in brief.

696


What is delete command in sql?

646


What is on delete set null?

654


what is data control language? : Sql dba

679


How do I view a sql trace file?

648