Viewing 7 posts - 1 through 7 (of 7 total)
SELECT [Datetime]
FROM [mydbtemp]
WHERE [Tagvalue] = 1
AND [Datetime] > (SELECT MAX([Datetime])
FROM [mydbtemp]
WHERE [Tagvalue] = 2
AND [Datetime] BETWEEN '2023-02-01 01:00:00' AND '2023-02-05 20:00:00')
AND [Datetime] BETWEEN '2023-02-01 01:00:00' AND '2023-02-05...
March 27, 2023 at 1:47 pm
SELECT [Datetime]
FROM [mydbtemp]
WHERE [Tagvalue] = 1
AND [Datetime] > (SELECT MAX([Datetime])
FROM [mydbtemp]
WHERE [Tagvalue] = 0
AND [Datetime] BETWEEN '2023-02-01 01:00:00' AND '2023-02-05 20:00:00')...
March 26, 2023 at 3:15 pm
The Result which i ma getting is not as i required it shows the recent value after running the above-mentioned query whereas the result should be as shown in the...
March 26, 2023 at 1:11 pm
I already shared the screenshot of the table and query for the result i am expecting
March 26, 2023 at 12:52 pm
Thanks a Ton You made my day This worked Perfectly
March 8, 2023 at 3:52 pm
I wanted to display the value which are greater than 0 in just 3 columns as shown in the table2 I wrote the below query but quite doesnt work
SELECT
ITEM
, COALESCE(PWT,...
March 7, 2023 at 6:58 am
Yes You understand it correctly there will be multiple tables which are identical in both the DBs
February 11, 2023 at 5:38 am
Viewing 7 posts - 1 through 7 (of 7 total)