SQL Basics

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Remember me

Go Back   Tutorialized ForumsDatabasesSQL Basics

Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
Unread Tutorialized Forums Sponsor:
Old December 17th, 2012, 09:58 PM
prashantvp79 prashantvp79 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
Join Date: Dec 2012
Posts: 1 prashantvp79 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 13 sec
Reputation Power: 0
SQL Join -SQLite DB

I need help, i have 2 tables (ItemRegistration and ItemClassification)

ItemRegistration - Table 1
itemClassificationId (FK)

ItemClassification - Table 2

Now i want to query result to display items under itemclassification in Table -1.

For example:

ItemNames = Apple iphone, Samsung Galaxy,LG
ItemClassification: Mobile and Gadgets

ItemNames = Samsung Smart, Sony
ItemClassification: TV

I have written bewlow query to display result in Item registration table

select DISTINCT ItemCode,ItemName,ItemClassification.[ItemClassificationName]
from ItemRegistration
left join ItemClassification on [ItemRegistration].[itemClassificationId]!=ItemClassification.[ItemClassificationCode];

Above query is not giving expected result.

Please correct me where i am missing. I am using SQLite DB and it doesn't support Full or right joins

Reply With Quote

Viewing: Tutorialized ForumsDatabasesSQL Basics > SQL Join -SQLite DB

Developer Shed Advertisers and Affiliates

Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

© 2003-2015 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap