You are here: Re: sorting a 3d array? « PHP Programming Language « IT news, forums, messages
Re: sorting a 3d array?

Posted by Oliver Grδtz on 12/03/07 11:00

Jerry Stuckle schrieb:
> Oliver GrΓ€tz wrote:
>> If your query is "too complicated", you can always
>> work with subqueries:
>>
>> SELECT wanted_field_1,wanted_field_2
>> FROM (SELECT with your complicated query)
>> AS subtable [...]
>
> Subqueries are almost never correct. Joins are much better.

1. This was an explicit response to "my query is too complicated" and
the whole complicated query should be encapsulated as a subquery.

2. You are not stating your argument with any explanation. It reads like
"Blue is lame, red is much better."

3. Subqueries are aqn important part of SQL nad the fact that they can
often be replaced by joins does not render them incorrect. There is
always more than one way to do it.

4. Please stop full-quoting when you are in fact just anserinfg to one
sentence.

OLLi

--
According to my calculations the problem doesn't exist.

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация