Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DELIMITER |
- CREATE OR REPLACE PROCEDURE ConsultarProgramacao( DataConsulta DATE) DETERMINISTIC READS SQL DATA
- BEGIN
- SELECT cinema.nome, filme.nome, programacao.horario
- FROM cinema, filme, programacao
- WHERE cinema.codigo = programacao.cinema
- AND filme.codigo = programacao.filme
- AND programacao.data = DataConsulta
- ORDER BY programacao.horario;
- END |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement