URI SQL Solution 2737 - Lawyers

(
select name,customers_number from lawyers
order by customers_number desc
limit 1
)
union all
(select name,customers_number from lawyers
order by customers_number
limit 1)
union all
(select 'Average'as name,cast(avg(customers_number)as int)as customers_number from lawyers)
Share:

0 Comments:

Post a Comment