Q:

How do I turn a SQL database downloaded table into a Google Sheets multi-line chart?

I want to turn this table (comes from an SQL database)

...into a line chart in Google Sheets that looks like this

A:

first you will need to pivot out series with QUERY formula and then plot the chart
=QUERY(A1:C11, "select A,C,sum(C) where A is not null group by A,C pivot B", 1)

