Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:

Convert text to sql: What are the average, maximum and total revenues of all companies? | manufacturers : code , name , headquarter , founder , revenue | products : code , name , price , manufacturer | products.manufacturer = manufacturers.code | 

### Response:

select avg ( _ ) , max ( _ ) , sum ( _ ) from _ | select avg ( revenue ) , max ( revenue ) , sum ( revenue ) from manufacturers