Computers and Technology, 15.08.2020 21:01 ayoismeisalex
SQL Query
Display the trade id stock i and total price for the secondary market trade with the highest total price. Convert prices to U. S dollars
select tr. trade_id, tr. stock_id, round(tr. price_total * con. exchange_rate,2) as "US Dollars"
from stock_exchange se
join trade tr
on se. STOCK_EX_ID = tr. STOCK_EX_ID
join currency curr
on curr. CURRENCY_ID = se. currency_id
join conversion con
on con. from_CURRENCY_ID = curr. CURRENCY_ID
Where (tr. PRICE_TOTAL) = (Select Max(price_total) from trade) and curr. name = 'Dollar'
group by tr. trade_id, tr. stock_id, round(tr. price_total);
tried but i keep getting errors about it not being a group by function
Answers: 2
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
Computers and Technology, 24.06.2019 00:30
Setting up a home network using wireless connections is creating a a. vpn b. lan c. wan d. mini-internet
Answers: 2
SQL Query
Display the trade id stock i and total price for the secondary market trade with the high...
Social Studies, 22.07.2019 00:32
Advanced Placement (AP), 22.07.2019 00:32
Mathematics, 22.07.2019 00:32
Mathematics, 22.07.2019 00:32
Biology, 22.07.2019 00:32
Social Studies, 22.07.2019 00:32
English, 22.07.2019 00:32
Biology, 22.07.2019 00:32