On Mar 19, 10:26 am, Marco Mariani wrote:
> someone wrote:
> >> Also, for SQL, (A) why are you using nested joins?, and
>
> > inner select produce smaller set which is then joined with other
> > table, kind a optimization
>
> Did you time it?
I've did explain on both kinds of query (with nested s
On Mar 19, 10:26 am, Marco Mariani wrote:
> someone wrote:
> >> Also, for SQL, (A) why are you using nested joins?, and
>
> > inner select produce smaller set which is then joined with other
> > table, kind a optimization
>
> Did you time it?
> I've done some "kind of a optimization" that slowed q
someone wrote:
Also, for SQL, (A) why are you using nested joins?, and
inner select produce smaller set which is then joined with other
table, kind a optimization
Did you time it?
I've done some "kind of a optimization" that slowed queries by tenfold,
because postgres didn't need my advice,
Hi,
what is good :) style for multiline queries to database?
Is that one ok?
query = """ SELECT * FROM (
SELECT a.columna, a.columnb, a.iso
FROM all a
WHERE (a.name = LOWER(%s)) ) AS c
JOIN other as b on c.gid = b.id
On Mar 18, 5:56 pm, Scott David Daniels wrote:
> someone wrote:
> > what is good :) style for multiline queries to database?...
> > query = """ SELECT * FROM (
> > SELECT a.columna, a.columnb, a.iso
> > FROM all a
> > WHERE (a.name = L
Scott David Daniels wrote:
> someone wrote:
>> what is good :) style for multiline queries to database?...
>> query = """ SELECT * FROM (
>>SELECT a.columna, a.columnb, a.iso
>> FROM all a
>> WHERE (a.name = LOWER(%s)) ) AS c
>>
someone wrote:
what is good :) style for multiline queries to database?...
query = """ SELECT * FROM (
SELECT a.columna, a.columnb, a.iso
FROM all a
WHERE (a.name = LOWER(%s)) ) AS c
JOIN other as b on c.gid = b.id
On Mar 18, 4:04 pm, Tino Wildenhain wrote:
> John Machin wrote:
> > On Mar 18, 11:25 pm, someone wrote:
> >> Hi,
>
> >> what is good :) style for multiline queries to database?
> >> Is that one ok?
> >> query = """ SELECT * FROM (
> >> SELECT a.columna, a.columnb, a.iso
> >>
On Mar 18, 2:51 pm, John Machin wrote:
> On Mar 18, 11:25 pm, someone wrote:
>
> > Hi,
>
> > what is good :) style for multiline queries to database?
> > Is that one ok?
> > query = """ SELECT * FROM (
> > SELECT a.columna, a.columnb, a.iso
> > FROM all a
John Machin wrote:
On Mar 18, 11:25 pm, someone wrote:
Hi,
what is good :) style for multiline queries to database?
Is that one ok?
query = """ SELECT * FROM (
SELECT a.columna, a.columnb, a.iso
FROM all a
WHERE (a.name = LOWER(%s)
On Mar 18, 11:25 pm, someone wrote:
> Hi,
>
> what is good :) style for multiline queries to database?
> Is that one ok?
> query = """ SELECT * FROM (
> SELECT a.columna, a.columnb, a.iso
> FROM all a
> WHERE (a.name = LOWER(%s)) ) AS
11 matches
Mail list logo