Created
May 11, 2022 03:51
-
-
Save juliarose/247bf705836a0218aa0a5275044a9389 to your computer and use it in GitHub Desktop.
Sort paints by highest to lowest value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT paints.rgb1 | |
FROM paints | |
INNER JOIN bptf_prices | |
ON bptf_prices.defindex = paints.defindex | |
WHERE | |
bptf_prices.craftable = true | |
ORDER BY | |
bptf_prices.currency ASC, | |
bptf_prices.value DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment