If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back  dBforums > Database Server Software > MySQL > Could you simplify this query?

LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Registered User
Join Date: Feb 2013
Posts: 1
Question Could you simplify this query?

I have the following table and query: See it in SqlFiddle.

Here I get all the ids that have cm_min and cm_max within the range, in this case 13 and 66.

Would you know how to improve or/and simplify my query?

Thanks in advance.

Last edited by joan2; 02-15-13 at 06:29.
Reply With Quote

mysql, query, sql

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On