<div dir="ltr">Me parece bien.<div><br></div><div style>No sé de dónde la saqué, creo que me inspiré en otros ejercicios ! :)</div><div style><br></div><div style>Removida tabla Precios.</div><div style><br></div><div style>
<br></div><div style><table border="0" cellpadding="0" cellspacing="0" width="460" style="border-collapse:collapse;width:346pt">
 <colgroup><col width="64" style="width:48pt">
 <col width="25" style="width:19pt">
 <col width="122" style="width:92pt">
 <col width="31" style="width:23pt">
 <col width="109" style="width:82pt">
 <col width="31" style="width:23pt">
 <col width="78" style="width:59pt">
 </colgroup><tbody><tr height="20" style="height:15pt">
  <td height="20" class="" width="64" style="height:15pt;width:48pt"><b>Clientes</b></td>
  <td width="25" style="width:19pt"></td>
  <td class="" width="122" style="width:92pt"><b>Pedidos</b></td>
  <td width="31" style="width:23pt"></td>
  <td class="" width="109" style="width:82pt"><b>Detalle_Pedidos</b></td>
  <td width="31" style="width:23pt"></td>
  <td class="" width="78" style="width:59pt"><b>Artículos</b></td>
 </tr>
 <tr height="20" style="height:15pt">
  <td height="20" class="" style="height:15pt">id</td>
  <td></td>
  <td class="">id</td>
  <td></td>
  <td class="">id</td>
  <td></td>
  <td class="">id</td>
 </tr>
 <tr height="20" style="height:15pt">
  <td height="20" class="" style="height:15pt">apellido</td>
  <td></td>
  <td class="">id_cliente</td>
  <td></td>
  <td class="">id_pedido</td>
  <td></td>
  <td class="">código</td>
 </tr>
 <tr height="20" style="height:15pt">
  <td height="20" class="" style="height:15pt">nombre</td>
  <td></td>
  <td class="">valor</td>
  <td></td>
  <td class="">id_artículo</td>
  <td></td>
  <td class="">descripción</td>
 </tr>
 <tr height="20" style="height:15pt">
  <td height="20" class="" style="height:15pt">dirección</td>
  <td></td>
  <td class="">pagado</td>
  <td></td>
  <td class="">cantidad</td>
  <td></td>
  <td class="">precio</td>
 </tr>
 <tr height="20" style="height:15pt">
  <td height="20" class="" style="height:15pt">teléfono</td>
  <td></td>
  <td></td>
  <td></td>
  <td class="">cod_artículo</td>
  <td></td>
  <td></td>
 </tr>
 <tr height="20" style="height:15pt">
  <td height="20" class="" style="height:15pt">email</td>
  <td></td>
  <td></td>
  <td></td>
  <td class="">desc_artículo</td>
  <td></td>
  <td></td>
 </tr>
 <tr height="20" style="height:15pt">
  <td height="20" style="height:15pt"><br></td>
  <td></td>
  <td></td>
  <td></td>
  <td class="">precio_artículo</td>
  <td></td>
  <td></td>
 </tr></tbody></table></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">El 3 de julio de 2013 23:14, Leonardo Tadei - Pegasus Tech Supply <span dir="ltr"><<a href="mailto:leonardot@pegasusnet.com.ar" target="_blank">leonardot@pegasusnet.com.ar</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ariel,<br>
<br>
El mié, 03-07-2013 a las 21:28 -0300, Ariel Fernández escribió:<br>
<div class="im">> Corregido.<br>
> Había interpretado Items como Productos o Artículos.<br>
<br>
</div>        Me parece que voy a cambiar los ejercicios y especificar qué datos<br>
compone el item de un comprobante... esto pasa por dar cosas por<br>
sabidas.<br>
<div class="im"><br>
> Un ítem entonces, se compone de cantidad, código, descripción, precio<br>
> y subtotal (el subtotal se calcula precio*cantidad)<br>
<br>
<br>
</div>        Correcto... pero sobra la tabla precios.<br>
        De dónde la sacaste? Si el precio depende únicamente del artículo en<br>
este enunciado?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
> Clientes<br>
><br>
> Pedidos<br>
><br>
> Detalle_Pedidos<br>
><br>
> Artículos<br>
><br>
> Precios<br>
> id<br>
><br>
> id<br>
><br>
> id<br>
><br>
> id<br>
><br>
> id<br>
> apellido<br>
><br>
> id_cliente<br>
><br>
> id_pedido<br>
><br>
> código<br>
><br>
> id_artículo<br>
> nombre<br>
><br>
> valor<br>
><br>
> id_artículo<br>
><br>
> descripción<br>
><br>
> valor<br>
> dirección<br>
><br>
> pagado<br>
><br>
> cantidad<br>
><br>
><br>
><br>
><br>
> teléfono<br>
><br>
><br>
><br>
> cod_artículo<br>
><br>
><br>
><br>
><br>
> email<br>
><br>
><br>
><br>
> desc_artículo<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> precio_artículo<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> El 20 de junio de 2013 18:00, Leonardo Tadei - Pegasus Tech Supply<br>
> <<a href="mailto:leonardot@pegasusnet.com.ar">leonardot@pegasusnet.com.ar</a>> escribió:<br>
>         El mié, 19-06-2013 a las 22:29 -0300, Ariel Fernández<br>
>         escribió:<br>
>         > jaja, el enunciado del ejercicio 3 era:<br>
>         > Crear las tablas necesarias en tercera forma normal para<br>
>         guardar los<br>
>         > siguientes datos: Nombre, Apellido, Dirección, Teléfono,<br>
>         e-mail,<br>
>         > Pedidos, Valor del Pedido, Items del Pedido, Pago del<br>
>         pedido.<br>
><br>
><br>
>                 Lo había buscado y por eso pude responderte...<br>
><br>
>         > Y la relación no sería muchos a muchos entre pedidos e<br>
>         items?  porque<br>
>         > un pedido tiene muchos items y un item está en muchos<br>
>         pedidos...<br>
><br>
><br>
>                 No... y además queda bastante claro, porque en tu<br>
>         párrafo de arriba,<br>
>         usás "items" como sinónimo de "producto" y no lo son. El<br>
>         problema no<br>
>         pide guardar productos, pero sin dudas los datos de un<br>
>         producto no<br>
>         coinciden con los de un item.<br>
><br>
>                 El item, que es el renglón de un pedido, tiene<br>
>         cantidad, código,<br>
>         descripción, precio unitario y subtotal.<br>
><br>
><br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">--<br>
Leonardo Tadei<br>
<a href="mailto:leonardot@pegasusnet.com.ar">leonardot@pegasusnet.com.ar</a><br>
Web: <a href="http://leonardo.tadei.com.ar" target="_blank">http://leonardo.tadei.com.ar</a><br>
Firma pública: <a href="http://www.pegasusnet.com.ar/LeonardoTadei-public.key" target="_blank">http://www.pegasusnet.com.ar/LeonardoTadei-public.key</a><br>
<br>
_______________________________________________<br>
Php-avanzado mailing list<br>
<a href="mailto:Php-avanzado@pato2.fi.mdp.edu.ar">Php-avanzado@pato2.fi.mdp.edu.ar</a><br>
<a href="http://www3.fi.mdp.edu.ar/cgi-bin/mailman/listinfo/php-avanzado" target="_blank">http://www3.fi.mdp.edu.ar/cgi-bin/mailman/listinfo/php-avanzado</a><br>
</div></div></blockquote></div><br></div>