sql_query("select * from aaa where ~~~~")
에서요.. while 문으로 리스트를 출력할때요....
필드명 mb_id와 stu_id 값이 서로 다른 것만 추출 하여 리스트로 출력하려면 어케 where절을 줘야 하는지요?
|
답변 1개
채택된 답변
+20 포인트
SKPLAN
2018-09-01 (토) 13:22:57
mb_id 와 stu_id 가 같지 않은것
sql_query("select * from aaa where mb_id != stu_id ");
또는
sql_query("select * from aaa where mb_id <> stu_id ");
답변을 작성하려면 로그인이 필요합니다.