Radar panel with postgresql

Hi All,

I am using radar panel with datasource postgres. In postgres, my data sits in TABLE with below columns:

ID AREA NAME VALUE TIME_COLUMN
1 A test1 21 current time stamp
2 A test2 30 current time stamp
3 A test3 56 current time stamp
4 B test1 47 current time stamp
5 B test2 89 current time stamp
6 B test3 20 current time stamp

Edge of my dashboard should be name.

Can anyone let me know what SQL I need to write to show data of A and B for edge test1, test2 and test3?