Is it possible to run an SQL query in sqlite that displays columns only on a
condition?  For example:
select col1, (case when 1==2 then col2) from myTable

In this case, I only want to show one column (col1)

Thanks
-- 
View this message in context: 
http://old.nabble.com/selective-result-columns-tp26958131p26958131.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to