Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
This will produce same result ::
SELECT tutorials_tbl.tutorial_id ,
tutorials_tbl.tutorial_author ,
tcount_tbl.tutorial_co...
SELECT book_mast.book_id,
book_mast.book_name,
category.cate_descrip
FROM book_mast INNER JOIN category
ON book_mast.cate_...
SELECT book_id, book_name, cate_descrip
FROM book_mast INNER JOIN category
USING(cate_id);
My sql join
My sql join
My sql join
My sql join
My sql join
My sql join
My sql join
My sql join
My sql join
My sql join
My sql join
Upcoming SlideShare
Loading in …5
×

My sql join

346 views

Published on

simple join , sub queries, inner join

  • Be the first to comment

  • Be the first to like this

My sql join

  1. 1. This will produce same result :: SELECT tutorials_tbl.tutorial_id , tutorials_tbl.tutorial_author , tcount_tbl.tutorial_count FROM tutorials_tbl, tcount_tbl WHERE tutorials_tbl.tutorial_author = tcount_tbl. tutorial_author;
  2. 2. SELECT book_mast.book_id, book_mast.book_name, category.cate_descrip FROM book_mast INNER JOIN category ON book_mast.cate_id = category.cate_id ;
  3. 3. SELECT book_id, book_name, cate_descrip FROM book_mast INNER JOIN category USING(cate_id);

×