eadam@ELA-gdal:~$ ogrinfo --version GDAL 2.1.0dev, released 2015/99/99 eadam@ELA-gdal:~$ ogrinfo Rd_list2.xls -sql "SELECT * FROM Rd_Num_tab WHERE FID<3" Had to open data source read-only. INFO: Open of `Rd_list2.xls' using driver `XLS' successful. Layer name: Rd_Num_tab Geometry: None Feature Count: 2 Layer SRS WKT: (unknown) Field1: String (0.0) Field2: String (0.0) Field3: String (0.0) Field4: String (0.0) Field5: String (0.0) Field6: String (0.0) Field7: String (0.0) Field8: String (0.0) Field9: String (0.0) Field10: String (0.0) Field11: String (0.0) Field12: String (0.0) Field13: String (0.0) Field14: String (0.0) Field15: String (0.0) Field16: String (0.0) Field17: String (0.0) OGRFeature(Rd_Num_tab):1 Field1 (String) = (null) Field2 (String) = (null) Field3 (String) = (null) Field4 (String) = (null) Field5 (String) = (null) Field6 (String) = (null) Field7 (String) = (null) Field8 (String) = (null) Field9 (String) = (null) Field10 (String) = (null) Field11 (String) = (null) Field12 (String) = (null) Field13 (String) = (null) Field14 (String) = (null) Field15 (String) = (null) Field16 (String) = (null) Field17 (String) = (null) OGRFeature(Rd_Num_tab):2 Field1 (String) = (null) Field2 (String) = (null) Field3 (String) = (null) Field4 (String) = (null) Field5 (String) = (null) Field6 (String) = (null) Field7 (String) = (null) Field8 (String) = (null) Field9 (String) = (null) Field10 (String) = (null) Field11 (String) = (null) Field12 (String) = (null) Field13 (String) = (null) Field14 (String) = (null) Field15 (String) = (null) Field16 (String) = (null) Field17 (String) = (null) eadam@ELA-gdal:~$ ogrinfo Rd_list2.xls -sql "SELECT * FROM Sheet2"Had to open data source read-only. INFO: Open of `Rd_list2.xls' using driver `XLS' successful. Layer name: Sheet2 Geometry: None Feature Count: 1 Layer SRS WKT: (unknown) Field1: String (0.0) OGRFeature(Sheet2):1 Field1 (String) = (null) eadam@ELA-gdal:~$ ogrinfo Rd_list2.xls -sql "SELECT * FROM Sheet3" Had to open data source read-only. INFO: Open of `Rd_list2.xls' using driver `XLS' successful. Layer name: Sheet3 Geometry: None Feature Count: 1 Layer SRS WKT: (unknown) Field1: String (0.0) OGRFeature(Sheet3):1 Field1 (String) = (null) eadam@ELA-gdal:~$ ogrinfo Rd_list2.xls -sql "SELECT * FROM Sheet3" --debug on GDAL: GDALOpen(Rd_list2.xls, this=0x8d13b00) succeeds as XLS. Had to open data source read-only. INFO: Open of `Rd_list2.xls' using driver `XLS' successful. Layer name: Sheet3 Geometry: None Feature Count: 1 Layer SRS WKT: (unknown) Field1: String (0.0) OGRFeature(Sheet3):1 Field1 (String) = (null) GenSQL: 1 features read on layer 'Sheet3'. OGR: GetLayerCount() = 3 GDAL: GDALClose(Rd_list2.xls, this=0x8d13b00) eadam@ELA-gdal:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty