SQL query - Asset, tags, ip -address and risk score

Hi,
im a beginner when it comes to SQL query,
i need a query that list top 10 assets with most risk score;
it should include

Asset name
Ip-address
risk score
tags

thanks in advance!

Check out the Rapid7 GitHub, might help