Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

joining 3 tables mysql

$
0
0

please help

 

i have assignment to selecting tables by joining them..

 

how do i use join, or inner join?

 

is there another option selecting 3 tables by using foreign key?

 

Here's the table

 

 

this one is user table

 

tabletuses.jpg

 

here is article category

 

tabletcategoryarticle.jpg

 

and this is content of article

 

tartikel.jpg

 

 

 

i was willing to choosing 

 

 

article_news table = 
 
article_id, category_article_id, user_type_id, user_id, judul(title), artikel, photo, tag, tanggal
 
 
tcategory_article = 
 
category_article_id, category_article
 
 
tuser = 
 
user_type_id, firstname, lastname
 
 
 
thank you

Viewing all articles
Browse latest Browse all 13200

Trending Articles