Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by Willem Renzema for Optimising some SQL to get all rows...

The documentation provides a couple ways to get what you want, which will perform well. SELECT TableA.col1, TableA.col2FROM TableAINNER JOIN ( SELECT MIN(col3) AS col3 FROM TableA WHERE col4 = 0 AND...

View Article


Optimising some SQL to get all rows corresponding to the minimum value of a...

I've worked out how to get some rows from a table where a column has the lowest possible value. Note this can return multiple rows, which is what I want. It works just fine.SELECT col1, col2FROM...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>