tarea

Page 26

11.- Mostrar los registros de la tabla Toros ordenados por el Peso. mysql> select * from toros order by peso desc; Query OK, 0 rows affected (0.00 sec) mysql> select * from toros; +---------------+-------------+-------+-------------------+-------------------+| No | NOMBRE | COLOR | Ano_nacio | CODIGO|ORDEN |peso +---------------+-------------+-------+-------------------+-------------------+| 5 | islero | negro | 1999 | G1 | 002 |510 | | 7 | jabonero | pinto | 1998 | G2 | 004 | 505 | | 1 | el pajarito | negro | 1999 | G3 | 005 |500 | | 6 | cabatisto | pinto | 1999 | G3 | 003 |490 | | 3 | valedor | negro | 1999 | G2 | 001 |487 | | 4 | navegante | pinto | 1998 | G2 | 004 |460 | | 2 | atrevido | pinto | 1998 | G1 | 005 | 450 | +---------------+-------------+-------+-------------------+-------------------+---------------------+---------------+--------+


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.