Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (database programming)
My problem is that if there is nothing in the secondary table that matches the primary table, gene_id gets overwritten with undef when I call $query->fetchrow_hashref.
I am currently using a LEFT JOIN to join the tables.
Is there a way that I can solve this without renaming the column in the secondary table? I'd really like for the column names to be the same just so I can keep my database (mostly) consistent.
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I get "table.column" format from a select/join?⭐
by extremely (Priest) on Nov 11, 2000 at 16:46 UTC | |
|
Re: How do I get "table.column" format from a select/join?
by derobert (Initiate) on Jan 27, 2009 at 21:43 UTC |