How could i get the column name of an empty record from a table ? For example:
SELECT column.name FROM table WHERE id='1111' AND column_name=''
It should return every title of an empty column from table.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i would do it with php for simplicity’s sake, however there might be a sophisticated mysql approach to do this at dbms level
in PseudoCode:
as i mentioned before, this seems ugly and looks like a bad data structure design.