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 are sql triggers used for?

722


Is sql pronounced sequel or sql?

954


how many tables will create when we create table, what are they? : Sql dba

765


What is constant in pl sql?

708


How to make a copy values from one column to another in sql?

769






What is sql partition?

753


Are left and right joins the same?

720


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

657


What is package in pl sql with an examples?

731


can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba

771


Explain the difference between sql and mysql.

754


Is pl sql a programming language?

716


How is data stored on a disk?

726


How do you clear the screen in sql?

783


Why stored procedure is better than query?

690