S(供货商)           SP             P(部件)
S# SNAME CITY       S# P# QTY      P# NAME  COLOR CITY
S7 Lowen Berlin     S7 P1 300      P1 Bolt  Blue  Berlin
S8 Jeter N.Y.       S7 P3 400      P2 Nut   Red   Paris
S9 Kling Berlin     S8 P2 300      P3 Cog   Red   Rome
                    S9 P2 500      P4 Screw Green Paris
                    S9 P3 300  
1,哪个供货商S#可以交付蓝色和红色部件?
2,哪个供货商S#来自柏林并且交付的部件也来自柏林?我这样写对么:
1.select s# from s,sp,p where
  s.s#=sp.s# and
  sp.p#=p.p# and 
  p.COLOR='Blue' and
  p.COLOR='Red';2.select s# from s,sp,p where
  s.s#=sp.s# and
  sp.p#=p.p# and 
  p.CITY='Berlin' and
  p.CITY='Berlin';
10分满分的话这样大概可以拿几分啊对不对啊?谢谢。