You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
234 B

select
s_suppkey,
s_name,
s_address,
s_phone,
total_revenue
from
tpch.supplier,
tpch.revenue0
where
s_suppkey = supplier_no
and total_revenue = (
select
max(total_revenue)
from
tpch.revenue0
)
order by
s_suppkey;