salix/db/routines/vn/views/ediSpecie.sql

11 lines
326 B
SQL

CREATE OR REPLACE DEFINER=`vn`@`localhost`
SQL SECURITY DEFINER
VIEW `vn`.`ediSpecie`
AS SELECT `s`.`specie_id` AS `id`,
`s`.`genus_id` AS `genusFk`,
`s`.`latin_species_name` AS `latinSpeciesName`,
`s`.`entry_date` AS `entried`,
`s`.`expiry_date` AS `dued`,
`s`.`change_date_time` AS `modified`
FROM `edi`.`specie` `s`