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

11 lines
328 B
MySQL
Raw Normal View History

CREATE OR REPLACE DEFINER=`root`@`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`