私はこのMySQLクエリを持っています:
$query = mysql_query("SELECT * FROM school_staff WHERE DELETED = 'NO' AND BUILDING = '$building' ORDER by
Department != 'Principal',
Department != 'Assistant Principal',
Department != 'Kindergarten',
Department != 'First Grade',
Department != 'Second Grade',
Department != 'Third Grade',
Department != 'Fourth Grade',
Department != 'Fifth Grade',
Department != 'Learning Support',
Department != 'Alternative Education',
Department != '% - Chair',
Department ASC") or die(mysql_error());
どのように行Department != '% - Chair',
を作成しますか:%任意のテキストを作成するには?