MySQL Forums
Forum List  »  Stored Procedures

Re: Select changing variable
Posted by: Peter Brawley
Date: December 29, 2008 11:47AM

SELECT a.position, a.name, b.mat_1, b.mat_2
FROM table_1 a
JOIN table_2 b ON a.name=b.name
WHERE a.position=1;

PB
http://www.artfulsoftware.com

Options: Reply• Quote


Subject
Views
Written By
Posted
3632
December 29, 2008 10:35AM
Re: Select changing variable
1646
December 29, 2008 11:47AM


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.