Skip to content
Advertisement

SQL: subquery for unary table

I’m trying to write a subquery that groups identical TickerSymbols togather as well as TickerSentiment that is between two values e.g. 0.0001 and 1

Sample Rows

Query:

Output

Desired Output

Advertisement

Answer

You sample code will not work in MySQL

But i think you are looking for

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement