skip to Main Content

MYSQL SELECT but with conditions

Is it possible within a MYSQL SELECT statement to include conditions dependent on user selection? Edited for clarity. Something that does this: IF user *does A* SELECT * FROM myTable IF user *does B* SELECT colB, colC, colD FROM myTable…

VIEW QUESTION
Back To Top
Search