31-08-17 02:23 PM
31-08-17 03:42 PM
05-09-17 04:34 PM
21-02-19 10:26 AM
22-12-20 03:48 PM
¡Hello!
You can put:
"SELECT * FROM [Report$] INNER JOIN [OOH$] ON Report$.MPRN = OOH$.MeterPointRef WHERE Report$.MPRN = '1236405'"
I did a lot of this querys,
My problem now is when I want to do more than 1 INNER JOIN. Anyone can did this type of query in BP?
28-12-20 02:04 PM
I tried with create 3 sheets in one Excel file xlsx. Then
The OLEDB connection string is: "Provider=Microsoft.ACE.OLEDB.12.0;Data Source="&[File]&";Extended Properties=""Excel 12.0 Xml;HDR=YES"";"
Create these one connection to the file.
Query Join like this work for me.
SELECT S1.[a], S2.[bb], S3.[ccc]
FROM (
(
[Sheet1$] AS S1
INNER JOIN [Sheet2$] AS S2
ON S1.[a] = S2.[aa]
)
INNER JOIN [Sheet3$] AS S3
ON S2.[aa] = S3.[aaa]
)
WHERE S3.aaa = 3