S
Shiplu
HI,
this is my query, I am using C# , OleDB, ADO.NET and CSV files.
SELECT [GATEWAY],[IPADD], SUM(MOBILE),SUM(NWD), TOTAL FROM
[rawdata.csv] where CVDate([START]) >= '7/29/2006' AND CVDate([END])
<= '8/23/2006' AND [GATEWAY] IN (SELECT [GATEWAY] FROM [gateways.csv]
WHERE [CLIENT]='MR. XXX') GROUP BY [GATEWAY],[IPADD] ORDER BY [GATEWAY]
it returnes no rows.
but I have done it in mysql with same data file and same query. it
worked.
why it's not working ?
is there any problem in subquery syntax ?
please give me a solve.
this is my query, I am using C# , OleDB, ADO.NET and CSV files.
SELECT [GATEWAY],[IPADD], SUM(MOBILE),SUM(NWD), TOTAL FROM
[rawdata.csv] where CVDate([START]) >= '7/29/2006' AND CVDate([END])
<= '8/23/2006' AND [GATEWAY] IN (SELECT [GATEWAY] FROM [gateways.csv]
WHERE [CLIENT]='MR. XXX') GROUP BY [GATEWAY],[IPADD] ORDER BY [GATEWAY]
it returnes no rows.
but I have done it in mysql with same data file and same query. it
worked.
why it's not working ?
is there any problem in subquery syntax ?
please give me a solve.