List/Tuple bug or feature?
Dennis Lee Bieber
wlfraed at ix.netcom.com
Tue Sep 24 21:55:02 EDT 2002
sismex01 at hebmex.com fed this fish to the penguins on Tuesday 24
September 2002 03:12 pm:
> It's one of python's features :-)
>
> For when you wanna write a long string, SQL for example:
>
> Query = "SELECT what, when, where, why "
> "FROM t1, t2, t2 "
> "WHERE t1.id = t2.id_t1 and t3.id_t2 = t2.id and t1.id_t2 =
> t3.id " "AND t1.answer = 'OK'"
>
What's wrong with...
query = """select what, when, where, why
from t1, t2, t3
where t1.id = t2.id_t1
and t3_id2 = t2.id ...etc """
--
> ============================================================== <
> wlfraed at ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
> wulfraed at dm.net | Bestiaria Support Staff <
> ============================================================== <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <
More information about the Python-list
mailing list