Re: Help with SQL query.... I'm sure there is a way! -
06-20-2006
, 10:36 PM
Please post DDL, so that people do not have to guess what the keys,
constraints, Declarative Referential Integrity, data types, etc. in
your schema are. Sample data is also a good idea, along with clear
specifications. It is very hard to debug code when you do not let us
see it.
You have a useless, vague, non-relational, universal magical "id" in
this narrative pseudo-code. That cannot exist in an RDBMS, so if
they were ignorant to do that, we have to start over with a proper
design. |