Writing an SQL query to SELECT item from the following table

后端 未结 1 1085
清酒与你
清酒与你 2020-12-12 07:20

I am having a really hard time writing a SELECT query to get a hold of the data in the following table...

Here is a picture of the table...

http://i44.tinyp

相关标签:
1条回答
  • 2020-12-12 07:35

    Have you tried:

    SELECT pname from [TableName] WHERE quantity >= 10
    

    EDIT:

    SELECT pname from Parts 
    INNER JOIN Shipments
    ON Parts.ForeignKey = Shipments.ForeignKey
    WHERE quantity >= 10
    
    0 讨论(0)
提交回复
热议问题