title: Query to select rows based on time minus time
body: <p>I want to build a query on oracle 11g R2 ,I have the following table :
  <a href="https://i.stack.imgur.com/j288D.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j288D.jpg" alt="enter image description here" /></a></p>
  <p>let's take the first row as an example: first row  F11 is 1 pm and T11 is 3 pm ,, the difference between 1 pm and 3 pm is 120 minute ,I have a variable X ,let's say X=10, what I want is to create a query to select rows between 1 pm and 3 pm divided by X , so I should have 12 row.</p>