4 - Consultas

From Grupo2 Ahand

Revision as of 08:56, 15 December 2006 by 200.206.208.204 (Talk)
SELECIONA TODAS AS

OCORRÊNCIAS DO MOTORISTA
SELECT OM.*, M.NOME, M.ID_MOTORISTA FROM motoristas AS m, ocorrencias_motoristas AS om

WHERE m.id_motorista = om.id_motorista GROUP BY M.ID_MOTORISTA;

 </td> </tr> </table>

Personal tools