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

11 lines
326 B
MySQL
Raw Normal View History

2024-08-20 08:06:10 +00:00
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`