INSERT Rows where userid=(SELECT id FROM userinfo)
View Single Post
09-24-2012, 09:12 PM
Supreme Master coder!
Join Date: Feb 2009
Thanked 3,996 Times in 3,965 Posts
You can't use WHERE in INSERT.
Show us what fields you have in the VotingSite table.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
View Public Profile
Find More Posts by Old Pedant