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

Go Back   Tutorialized ForumsDatabasesMsSQL

Add This Thread To:   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
Unread Tutorialized Forums Sponsor:
Old March 13th, 2014, 02:45 AM
kristinat kristinat is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
Join Date: Mar 2014
Posts: 1 kristinat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 53 sec
Reputation Power: 0
Smile Sql Query Help!!!

List the order details where the quantity is between 65 and 70. Display the order id and quantity from the OrderDetails table, the product id and reorder level from the Products table, and the supplier id from the Suppliers table. Order the result set by the order id.

This is what I have got so far but ProductID, ReorderLevel and Supplier ID values are all NULL. the other two columns are fine.


FROM OrderDetails o
LEFT OUTER JOIN Products p ON o.OrderID = p.ProductID
LEFT OUTER JOIN Suppliers s ON p.SupplierID = s.SupplierID
WHERE Quantity BETWEEN 65 AND 70

Last edited by kristinat : March 13th, 2014 at 11:47 AM.

Reply With Quote

Viewing: Tutorialized ForumsDatabasesMsSQL > Sql Query Help!!!

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 - 2019, Jelsoft Enterprises Ltd.

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