Hi, I have a MySql query which currently looks like this
Query = "select Question,Answer1,Answer2,Answer3,CorrectAnswer,id,Duplicate from Questions where id='" + RandomN.Text + "'"
As you can see I have a table called 'Questions' which has several columns, Im using VB.NET I also have a textBox on a windows form called 'RandomN'
What this does is it takes whatever number is in my textBox called RandomN.Text and looks for that number in the id column and returns all data on that row.
What I am trying to acheive now is this, I have a column called Duplicate it will either contain the word 'True' or 'False' I would like it to only return data from the given number in the textBox if the Duplicate column in that row contains the word 'False'
If someone can shed some light I would be greatful. Thanks