ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel SQL Query (https://www.excelbanter.com/excel-discussion-misc-queries/65931-excel-sql-query.html)

baaul

Excel SQL Query
 

I need help with the Excel query below. I'd like my query to "ONLY"
SELECT from sheet1$ all rows where the `code` column contains data.

Thanks in advance!

===============

SELECT `code`,`description` from `sheet1$`WHERE `code` IS NOT NULL


--
baaul
------------------------------------------------------------------------
baaul's Profile: http://www.excelforum.com/member.php...fo&userid=1314
View this thread: http://www.excelforum.com/showthread...hreadid=502630


Andrew Houghton

Excel SQL Query
 
Try adding " OR 'code' <""

"baaul" wrote in
message ...

I need help with the Excel query below. I'd like my query to "ONLY"
SELECT from sheet1$ all rows where the `code` column contains data.

Thanks in advance!

===============

SELECT `code`,`description` from `sheet1$`WHERE `code` IS NOT NULL


--
baaul
------------------------------------------------------------------------
baaul's Profile:
http://www.excelforum.com/member.php...fo&userid=1314
View this thread: http://www.excelforum.com/showthread...hreadid=502630





All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com