Data slection based on multiple conditions
hi frnds.
this is something which may seem foolish to ask, but i have been beating my head against the wall at the frustration of not being able to get over this...
anyways, what i want to do is to select some data from a single MySQl table, using a WHERE clause on multiple columns
eg. SELECT * from TABLENAME where COLUMN1 = VALUE1, COLUMN2 = VALUE2, COLUMN3 = VALUE3 ....
I have tried using (),AND as well as comma between the different conditions, but they all give an error.
please help...
cheers...
this is something which may seem foolish to ask, but i have been beating my head against the wall at the frustration of not being able to get over this...
anyways, what i want to do is to select some data from a single MySQl table, using a WHERE clause on multiple columns
eg. SELECT * from TABLENAME where COLUMN1 = VALUE1, COLUMN2 = VALUE2, COLUMN3 = VALUE3 ....
I have tried using (),AND as well as comma between the different conditions, but they all give an error.
please help...
cheers...
0