I'm not sure if you saw my update with a "piece of paper" from a crime scene analogy?
I used the Url as the link between tables because it was easily available and guaranteed unique.
So why have 2 tables? Answer: I didn't want to set or declare a maximum number of columns in the main ScoreCard table.
Each entry in the ScoreCard table can have an unlimited number of Participants. Why use integer id instead of Url? Answer: because it would save space. I didn't do it or need to do it in this case. Could a situation arise where a human shouldn't be required to enter a unique field for a row and where number of columns is not fixed? Answer:Absolutely.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|