I have a database table that Stores Maximum and Minimum Price Breaks for a Product.

Does anyone know of the SQL which say if I have a break from one Max to the Min of the next item. E.g. 1-10 12-20 I would like it to return me either the numbers that are missing or at the very least a count or bool if it can detect a break from the Absolute Min and the Absolute Max by going through each range.
SQL Server (MSSQL) 2008
Something like this, giving max quantities that aren’t the overall max for the product and don’t have a min quantity following them:
This would fail on your sample data, though, because it would expect a row with MinQuantity 21, not 20.