Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
I have a field with active and inactive (Yes/No)option. What SQL query can I use in step 4 next to the field name to only show the active fields.Thanks for any help.Stephan
Stephan,what field type you use for this field?If you use tinyint type use following query:
select `field1`,`field2`from `tablename`where `field2`=1
Work perfectly, thanks Jane