Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sql command for reading a particular sheet, column

This is probably a very stupid question for SQL stalwarts, but I just want one SQL command.

Details,

I am using a data analysis tool called R, this tool uses ODBC to read data from XLS. I am now trying to read data from an XLS file. The ODBC tool in R accepts SQL commands.

Question,

Can someone give me an SQL command that will read data from an XLS file's - Specified sheet - Specified column [by name] - Specified row [Specified just by Row Index]

Thanks ...

like image 644
Alphaneo Avatar asked Jun 01 '26 13:06

Alphaneo


1 Answers

With the query below you can read the data from row 61 of cloumn A, & G is supposed to read all columns till G.

SELECT * FROM [Sheet1$a61:G]
like image 123
Rashid Avatar answered Jun 03 '26 01:06

Rashid



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!