Note that there are some explanatory texts on larger screens.

plurals
  1. POGenerate a report every 10 minutes
    primarykey
    data
    text
    <p>I have two tables temperature and pressure with readings as shown below my first table generates a value every 10 minutes</p> <p>The first table contains the following data:</p> <pre><code>Temperature Time Date 28.8 1900-01-01 13:14:54.000 2011-05-25 00:00:00 29.1 1900-01-01 13:15:04.000 2011-05-25 00:00:00 29.4 1900-01-01 13:15:14.000 2011-05-25 00:00:00 29.7 1900-01-01 13:15:24.000 2011-05-25 00:00:00 30 1900-01-01 13:15:34.000 2011-05-25 00:00:00 30.3 1900-01-01 13:15:44.000 2011-05-25 00:00:00 30.6 1900-01-01 13:15:54.000 2011-05-25 00:00:00 30.9 1900-01-01 13:16:04.000 2011-05-25 00:00:00 31.2 1900-01-01 13:16:14.000 2011-05-25 00:00:00 </code></pre> <p>My second table generates a value every 20 minutes and i'm storing this value in the database i.e Sql Server</p> <p>The second table contains</p> <pre><code>Pressure Time Date 0.9 1900-01-01 13:14:04.000 2011-05-25 00:00:00 1.7 1900-01-01 13:14:24.000 2011-05-25 00:00:00 2.5 1900-01-01 13:14:44.000 2011-05-25 00:00:00 3.3 1900-01-01 13:15:04.000 2011-05-25 00:00:00 4.1 1900-01-01 13:15:24.000 2011-05-25 00:00:00 4.9 1900-01-01 13:15:44.000 2011-05-25 00:00:00 5.7 1900-01-01 13:16:04.000 2011-05-25 00:00:00 6.5 1900-01-01 13:16:24.000 2011-05-25 00:00:00 7.3 1900-01-01 13:16:44.000 2011-05-25 00:00:00 </code></pre> <p>I would like my output to return:</p> <pre><code>Date Time Temperature Pressure 25/05/2011 13:14:54 28.8 0 25/05/2011 13:15:04 29.1 3.3 25/05/2011 13:15:14 29.4 0 25/05/2011 13:15:24 29.7 4.1 </code></pre> <p>And so on and the user will select particular date on that that date what are the readings are there it should dispaly for example if he select 25/05/2011 that reading should be displayed. I have to bind this result to a gridview using C#.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload