Project

General

Profile

« Previous | Next » 

Revision 14311

inputs/.TNRS/schema.sql: reordered derived columns in dependency order

View differences:

vegbien.my.sql
15455 15455
    `*Accepted_name_lsid` varchar(255),
15456 15456
    is_valid_match int(1) NOT NULL,
15457 15457
    scrubbed_unique_taxon_name varchar(255),
15458
    `[parsed_]morphospecies[_suffix]__@Brad__.morphosp@vegpath.org` varchar(255),
15458 15459
    `[matched_]species[_binomial]~(-Accepted_-)__@TNRS__@vegpath.org` varchar(255),
15459 15460
    `[matched_]scientificName[_with_author]__@DwC__@vegpath.org` varchar(255),
15460 15461
    matched_has_accepted int(1),
15461 15462
    `__accepted_{genus,specific_epithet}` varchar(255),
15462 15463
    `[accepted_]genus__@DwC__@vegpath.org` varchar(255),
15463 15464
    `[accepted_]specificEpithet__@DwC__@vegpath.org` varchar(255),
15465
    `[accepted_]morphospecies[_binomial]__@Brad__.TNRS@vegpath.org` varchar(255),
15464 15466
    __accepted_infraspecific_label varchar(255),
15465 15467
    `__accepted_infraspecific_{rank,epithet}` varchar(255),
15466 15468
    `[accepted_]Infraspecific_rank[_abbr]__@TNRS__@vegpath.org` varchar(255),
......
15475 15477
    `[scrubbed_]infraspecificEpithet__@DwC__@vegpath.org` varchar(255),
15476 15478
    `[scrubbed_]name[_no_author]~(-Accepted_-)__@TNRS__@vegpath.org` varchar(255),
15477 15479
    `[scrubbed_]author~(-Accepted_-)__@TNRS__@vegpath.org` varchar(255),
15478
    `[scrubbed_]scientificName[_with_author]__@DwC__@vegpath.org` varchar(255),
15479
    `[parsed_]morphospecies[_suffix]__@Brad__.morphosp@vegpath.org` varchar(255),
15480
    `[accepted_]morphospecies[_binomial]__@Brad__.TNRS@vegpath.org` varchar(255)
15480
    `[scrubbed_]scientificName[_with_author]__@DwC__@vegpath.org` varchar(255)
15481 15481
CASE
15482 15482
    WHEN (`*Accepted_name_rank` = CAST('family' AS varchar(255))) THEN concat_ws(CAST(' ' AS varchar(255)), `*Accepted_name_family`, `[parsed_]morphospecies[_suffix]__@Brad__.morphosp@vegpath.org`)
15483 15483
    WHEN (`*Accepted_name_rank` = CAST('genus' AS varchar(255))) THEN concat_ws(CAST(' ' AS varchar(255)), `*Accepted_name`, `[parsed_]morphospecies[_suffix]__@Brad__.morphosp@vegpath.org`)
......
15534 15534

  
15535 15535

  
15536 15536
--
15537
-- Name: COLUMN taxon_match.`[parsed_]morphospecies[_suffix]__@Brad__.morphosp@vegpath.org`; Type: COMMENT; Schema: TNRS; Owner: -
15538
--
15539

  
15540

  
15541

  
15542

  
15543
--
15537 15544
-- Name: COLUMN taxon_match.`[matched_]species[_binomial]~(-Accepted_-)__@TNRS__@vegpath.org`; Type: COMMENT; Schema: TNRS; Owner: -
15538 15545
--
15539 15546

  
......
15576 15583

  
15577 15584

  
15578 15585
--
15586
-- Name: COLUMN taxon_match.`[accepted_]morphospecies[_binomial]__@Brad__.TNRS@vegpath.org`; Type: COMMENT; Schema: TNRS; Owner: -
15587
--
15588

  
15589

  
15590

  
15591

  
15592
--
15579 15593
-- Name: COLUMN taxon_match.__accepted_infraspecific_label; Type: COMMENT; Schema: TNRS; Owner: -
15580 15594
--
15581 15595

  
......
15681 15695

  
15682 15696

  
15683 15697
--
15684
-- Name: COLUMN taxon_match.`[parsed_]morphospecies[_suffix]__@Brad__.morphosp@vegpath.org`; Type: COMMENT; Schema: TNRS; Owner: -
15685
--
15686

  
15687

  
15688

  
15689

  
15690
--
15691
-- Name: COLUMN taxon_match.`[accepted_]morphospecies[_binomial]__@Brad__.TNRS@vegpath.org`; Type: COMMENT; Schema: TNRS; Owner: -
15692
--
15693

  
15694

  
15695

  
15696

  
15697
--
15698 15698
-- Name: taxon_best_match; Type: VIEW; Schema: TNRS; Owner: -
15699 15699
--
15700 15700

  

Also available in: Unified diff