|
|
|
|
|
|
![]() |
#17 |
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
|
Rather than just returning it should have given you an error.
I used a non-existant table because I accidently tried to select from just sponsors_b instead of saying "sponsors AS sponsors_b". Correct code is: Code:
SELECT DISTINCT sponsors.sponsor FROM sponsors, sponsors AS sponsors_h, sponsors AS sponsors_b WHERE sponsors.keyword='vertical' AND sponsors_h.keyword='horizontal' AND ( sponsors_b.keyword='small' OR sponsors_b.keyword='button' ) AND sponsors.sponsor=sponsors_h.sponsor AND sponsors_b.sponsor=sponsors.sponsor; |
![]() |
![]() |
|
|