Is there a way to do the following query? It would save me having to go out of SQL to do post-processing of the query:
SELECT date, RANDOM('CA', 'DE', 'AZ') FROM table LIMIT 3
And the result would be something like:
2014-01-01,"CA"
2014-01-02,"CA"
2014-01-03,"DE"
Is there a way to do the RANDOM
operation in SQL?