Welcome Guest, Not a member yet? Register   Sign In
MySQL 3 Table join question...
#4

[eluser]port22[/eluser]
It changes the query, but just use the join table (artists_cds) as the starting point.

So, you would do a join much like this:

select * from
artists_cds join artists
join catalogue
join format

Which will produce a detailed table of everything. If you want a specific artist, catalogue or format, you can just throw in where clauses as necessary.


Messages In This Thread
MySQL 3 Table join question... - by El Forum - 03-04-2010, 06:41 PM
MySQL 3 Table join question... - by El Forum - 03-04-2010, 08:50 PM
MySQL 3 Table join question... - by El Forum - 03-04-2010, 09:05 PM
MySQL 3 Table join question... - by El Forum - 03-05-2010, 02:47 AM
MySQL 3 Table join question... - by El Forum - 03-05-2010, 10:54 PM
MySQL 3 Table join question... - by El Forum - 03-06-2010, 02:05 PM
MySQL 3 Table join question... - by El Forum - 03-06-2010, 05:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB