Skip navigation links

MySQL Forums :: PHP :: Able to select multiple tables with manually generated (primary) keys, but not auto-numbered ones


Advanced Search

Re: Barry Galbraith, here is some additional information
Posted by: Kurt Wayne ()
Date: March 09, 2012 06:11PM

Barry, almost there. (I'd post a link here to the output, in PHP as you said, but I'm not sure I'm supposed to.) 2 final questions:

1. The "radio" site same link is being repeated every row instead of being listed just once. (i.e. for one city there are six newspapers, 1 radio station...with six rows created for each newspaper, the same radio link is displaying on all six rows when I just want the one radio link to display once (in the first row)).

2. (And I know why this is happening...because we're joining on cities common to "brasil_newspapers" and "brasil_radio") There are a few cities in "Amapa" that don't have radio stations but do have newspaper sites. Any easy way to list those in a query like this?

Options: ReplyQuote


Subject Written By Posted
Able to select multiple tables with manually generated (primary) keys, but not auto-numbered ones Kurt Wayne 03/03/2012 11:51AM
UPDATE: I've tried "UNION SELECT" and it's getting warmer Kurt Wayne 03/03/2012 05:16PM
Re: UPDATE: I've tried "UNION SELECT" and it's getting warmer Kurt Wayne 03/05/2012 09:29AM
Re: UPDATE: I've tried "UNION SELECT" and it's getting warmer Barry Galbraith 03/05/2012 03:57PM
Re: UPDATE: I've tried "UNION SELECT" and it's getting warmer Kurt Wayne 03/07/2012 10:22AM
Re: UPDATE: I've tried "UNION SELECT" and it's getting warmer laptop alias 03/07/2012 10:24AM
Thanks, laptop alias (and Barry), here is the SHOW CREATE TABLE Kurt Wayne 03/07/2012 08:16PM
Re: Thanks, laptop alias (and Barry), here is the SHOW CREATE TABLE Barry Galbraith 03/07/2012 08:58PM
Barry Galbraith, here is some additional information Kurt Wayne 03/08/2012 12:54PM
Re: Barry Galbraith, here is some additional information Barry Galbraith 03/08/2012 05:09PM
Re: Barry Galbraith, here is some additional information Kurt Wayne 03/09/2012 06:11PM
Re: Barry Galbraith, here is some additional information Barry Galbraith 03/10/2012 12:27AM
Re: Barry Galbraith, here is some additional information Rick James 03/11/2012 03:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.